Michael Schaller
007a75480a
Updated C++ template documentation with respect to using a nested class as template parameter.
...
Fixes issue swig/swig#270 .
2015-01-05 16:43:49 +01:00
Paweł Tomulik
2f6dee3adb
constant_directive_runme.py and classic classes
2015-01-02 18:50:49 +01:00
Paweł Tomulik
cfaf2f97fd
additional fixes to %constant directive
2015-01-02 18:50:49 +01:00
Paweł Tomulik
c21e2423a0
make %constant directive to work with structs/classes
2015-01-02 18:50:49 +01: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
Ivan Shvedunov
21ef7bc243
CFFI: handle array struct/union members.
2014-12-20 17:12:39 +03: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
Vadim Zeitlin
b7160d92c9
Remove any whitespace before ignored Doxygen commands.
...
This is done mainly to avoid problems with trailing whitespace in the
generated Python code as this provokes pep8 problems, but is also, arguably,
more logical, as if a command which is on its own on a line is ignored, we
shouldn't leave any whitespace neither (and perhaps should even suppress the
line entirely, in fact).
2014-12-17 04:57:17 +01: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
ad67f4ab4d
Remove trailing space from one of Doxygen tests.
...
This resulted in a warning (treated as error) from pep8 1.5.7 when running
Doxygen test suite for Python.
2014-12-16 17:29:10 +01: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
Vadim Zeitlin
fd47e6870e
Fix autodoc strings generated in Python builtin case and the test.
...
Use the proper AUTODOC_METHOD for autodoc strings generation when using
"-builtin", there is no reason to use AUTODOC_FUNC here when AUTODOC_METHOD is
used by default (i.e. without "-builtin").
This allows to (almost) stop differentiating between the two cases in the
autodoc unit test, allowing to simplify it significantly.
Also fix this test to pass after the recent changes removing docstring
indentation in the generated code.
2014-12-15 20:27:46 +01:00
Vadim Zeitlin
8316f08aec
Fix Doxygen unit test in Python "-builtin" case.
...
Unfortunately there doesn't seem to be any way to use docstrings for __init__
methods when using "-builtin", so just disable this particular test then.
2014-12-15 14:11:53 +01:00
Vadim Zeitlin
d5c5cd4521
Use class docstrings in "-builtin" Python case.
...
Put the docstring into tp_doc slot which exists exactly for this purpose.
2014-12-15 13:59:17 +01:00
Vadim Zeitlin
410b508e9a
Don't indent Doxygen doc strings in generated Python code.
...
This is unnecessary and inconsistent with "builtin" case in which the
docstrings are not indented in the generated C++ code, thus making it
impossible to write tests working in both cases.
Most of the changes in this commit simply remove the extra whitespace from the
expected values in the tests.
2014-12-15 13:59:17 +01:00
Vadim Zeitlin
9b857e6cf1
Merge latest master into doxygen branch.
2014-12-15 02:55:26 +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