Commit graph

17,465 commits

Author SHA1 Message Date
Olly Betts
e4326229b6 Fix typo 2015-01-07 12:40:31 +13:00
Ian Lance Taylor
aa4d034e8e Merge pull request #288 from michael-schaller/go-doc
[Go] Updated Go documentation (examples, runtime.SetFinalizer, object ow...
2014-12-31 10:33:37 -08:00
William S Fulton
73222a1cd1 Bump version to 3.0.4 2014-12-31 01:22:16 +00:00
William S Fulton
30537089ca HTML tweaks 2014-12-29 21:54:58 +00:00
William S Fulton
5ec7fe578b Add 3.0.3 release information 2014-12-29 21:35:28 +00:00
William S Fulton
926c9d3200 Minor tweaks to the changes file 2014-12-29 21:35:23 +00:00
William S Fulton
cb4d0dbba5 %constant and structs support for Lua 2014-12-29 17:36:56 +00:00
William S Fulton
3aab2df371 Fix D examples when run 'in-source' 2014-12-29 17:17:25 +00:00
William S Fulton
2d340efe0d Fix D examples clean
Was not working if run out of source without previously running D examples
2014-12-28 19:54:46 +00:00
William S Fulton
063aa9e3c5 Revert "Fix D examples clean"
This reverts commit c26010eb01.
2014-12-28 19:14:25 +00:00
William S Fulton
1610ca86dd Fix javascript clean 2014-12-28 19:07:32 +00:00
William S Fulton
df4a219564 Let Octave 3.8 fail in Travis
Too many internal compiler errors in gcc are failing the builds
2014-12-28 17:40:12 +00:00
William S Fulton
c26010eb01 Fix D examples clean 2014-12-28 17:35:18 +00:00
William S Fulton
8b9d68582d Fix javascript clean
Regression introduced a couple of commits ago
2014-12-28 17:35:18 +00:00
William S Fulton
427a937173 Merge branch 'michael-schaller-gitignore'
* michael-schaller-gitignore:
  Added auto-generated 'Examples/d/example.mk' to '.gitignore'.
2014-12-28 16:35:47 +00:00
William S Fulton
2b04d37b94 Tidy up Javascript build system 2014-12-28 16:13:22 +00:00
William S Fulton
d79f11501d Don't delete checked in files with 'make distclean'
Occurs when ruby is not detected.
Fixes #290.
2014-12-28 15:26:27 +00:00
William S Fulton
ad5890bb46 Reduce scope of template_default_class_parms testcase
%template is not working for all languages yet - remove it until fixed
2014-12-28 13:05:30 +00:00
William S Fulton
ee35389d22 Fix abort using template default parameters
Closes #280
2014-12-28 10:39:53 +00:00
William S Fulton
eec306c228 Test suite warning fixes 2014-12-28 10:38:12 +00:00
Robert Stone
03570f85f2 [Perl] tidy "warning: duplicate 'extern' declaration specifier" when building generated code under clang 2014-12-27 20:45:11 -08:00
Robert Stone
1c47cc7289 Merge pull request #292 from talby-/perl-archlibexp
Issue #282 perl5 archlib vs archlibexp
2014-12-27 15:55:37 -08:00
Robert Stone
c432073626 Issue #282 perl5 archlib vs archlibexp 2014-12-27 12:48:58 -08:00
Michael Schaller
9a0fbef431 [Go] Changed link 'https://github.com/golang/go/tree/master/misc/swig' to 'https://golang.org/misc/swig' in the Go documentation. 2014-12-25 09:48:59 +01:00
Michael Schaller
0a3fb69a27 [Go] Updated Go documentation (examples, runtime.SetFinalizer, object ownership).
* Fixes swig/swig#266.
* Added links to working examples.
* Added link to runtime.SetFinalizer documentation.
* Added recommendation to read the runtime.SetFinalizer documentation before using it.
* Clarified that C++ objects ownership is not tracked and thus objects need to be freed manually.
2014-12-24 11:03:17 +01:00
Michael Schaller
631c3b18d7 Added auto-generated 'Examples/d/example.mk' to '.gitignore'. 2014-12-24 08:52:27 +01:00
William S Fulton
5c57a8c877 Warning suppressions in tests 2014-12-22 20:35:13 +00:00
William S Fulton
31df3077b3 nested_scope test fixes for clang 2014-12-21 20:41:31 +00:00
William S Fulton
93d58cd3ed Fix use of preprocessor null directive
This was broken recently in commit 255c929c56
for issue #217
2014-12-20 17:05:13 +00:00
William S Fulton
68a936a638 Add testcase for nested inner class deriving from a templated base class and defined outside of the outer class.
For languages that don't support nested class support, use flatnested.
See issue #270
2014-12-19 19:35:38 +00:00
William S Fulton
70a04c9ffe Add in missing constant_directive.i test 2014-12-18 07:06:52 +00:00
William S Fulton
1db561cf08 Improve Python builtin and %constant structs
Tweak to previous commit from issue #250 for C compatibility.
Set self to zero too.
2014-12-18 07:01:08 +00:00
Paweł Tomulik
0ad384bb28 fixed python global object constants
Fix for Python and -builtin
Fix from Github issue #250
2014-12-18 07:01:08 +00:00
William S Fulton
2e01533b23 Partial support for %constant and structs
Test case is slightly modified from the test case in issue #250

Use of constant objects does not seem to work in Python - the type is
SwigPyObject instead of constant_directive.Type1.
2014-12-18 07:01:08 +00:00
Olly Betts
c915583bf9 Merge pull request #276 from vadz/pep8
Ignore another pep8 error.
2014-12-17 09:41:01 +13:00
Vadim Zeitlin
e12a1d7671 Ignore E402 (import not on top of file) PEP8 error.
Travis uses the latest pep8 sources from Git and since

f3a12babd4

this error is given for all Python files generated by SWIG with -builtin
option.
2014-12-16 17:28:27 +01:00
Vadim Zeitlin
cb53e3063b Add PEP8_FLAGS variable to the test suite Python makefile.
Put pep8 options into this variable to avoid repeating them twice.

No real changes.
2014-12-16 17:28:25 +01:00
William S Fulton
ae555c2339 Fix templated constructors regression
Templated constructors were incorrectly ignored because SWIG thought they were
methods without a return type.
Regression introduced in swig-3.0.0
Closes #245.
2014-12-09 23:48:37 +00:00
William S Fulton
9cbdf69fdc Correctly detect Go1 during configure 2014-12-07 21:53:17 +00:00
William S Fulton
7f8bb02d78 Fix regression in introduced in merge of C++11 strongly typed enums support
- Guile constants bad casts generated
- Go non-public enum value wrappers assert failure

Also cosmetic test comment correction
2014-12-07 21:31:14 +00:00
William S Fulton
b9b9b3cd21 Merge master and C++11 strongly typed enum support
Merging from master:
* 'master' of github.com:/swig/swig:
  Add more docs about _global_ prefix in typemap temporary variables
  Add clarification on _global_ prefix.
  fix for nested template defined out of class (issue #265)
  using an unknown constant emits a notice, not a warning
  Fix typo
  Consistently put whitespace outside of <tt>...</tt> and not inside
  wording tweak
  Go: Document memory management of C++ classes allocated in Go.  Fixes #266.
  revert unrelated file
  Fix #224
  Fixes for clang -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error
  delete unmeaningful macro
  Go: fix overload functions with polymorphic issue
  del tmp files
  GoLang:fix overload functions with polymorphic issue
2014-12-07 17:33:16 +00:00
William S Fulton
8c77d4be89 Document new C++11 strongly typed enumerations support. 2014-12-07 17:10:07 +00:00
William S Fulton
427c5112e7 Add more docs about _global_ prefix in typemap temporary variables 2014-12-06 21:49:42 +00:00
Alexey Neyman
1509d6c9e0 Add clarification on _global_ prefix. 2014-12-06 21:38:58 +00:00
William S Fulton
5b480847dd Improve Javascript Webkit detection
pkg-config detection was missing. Use pkg-config for the link flags.
2014-12-04 06:23:43 +00:00
William S Fulton
3d85dfba9a Add c++11 strongly typed enums runtime test for Javascript 2014-12-02 19:59:59 +00:00
William S Fulton
a798699e09 Add c++11 strongly typed enums runtime test for Octave 2014-11-29 00:00:32 +00:00
William S Fulton
cf3be359cf Add c++11 strongly typed enum support for Guile 2014-11-28 23:27:22 +00:00
William S Fulton
713d3d5973 Add c++11 strongly typed enum support for Go 2014-11-28 20:40:37 +00:00
William S Fulton
b45c3737c8 Add c++11 strongly typed enum support for D 2014-11-28 08:13:27 +00:00