Simon Marchetto
c064e076bd
update doc
2015-01-12 17:47:56 +01:00
Simon Marchetto
0b07622a11
fix failing unit tests with Scilab V6
2015-01-12 16:20:27 +01:00
Simon Marchetto
18832e938c
fix buildermode error with Scilab V6
2015-01-12 16:20:03 +01:00
Simon Marchetto
66f150b853
fix Scilab V6 support after merge of gateway & wrapper sources
2015-01-12 16:19:35 +01:00
Klaus Kämpf
112499eb39
Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.ac
...
The Config namespace was deprecated for a long time and Ruby 2.2
finally removed it. Adapt configure.ac accordingly.
This fixes issue #304
2015-01-12 15:17:10 +01:00
Olly Betts
02b10195fc
Add regression test for #217
2015-01-12 22:33:15 +13:00
Olly Betts
682b4dd843
[PHP] Fix segfault in director upcall check
...
Manifest only when using PHP built with ZTS enabled.
2015-01-12 13:53:01 +13:00
Olly Betts
f6b84f414b
Merge pull request #303 from dertom95/master
...
[lua/luarun] change return type to void on functions not returning anything
2015-01-12 08:28:49 +13:00
William S Fulton
06e361dbf2
Fix linux gcc warnings and strtol corrections
2015-01-11 17:30:25 +00:00
William S Fulton
679f9395bc
Tests for Python default arguments and %pythondefaultargs.
...
Tests changes in previous commit (see patch #294 )
2015-01-11 16:45:53 +00:00
Vadim Zeitlin
adbe3f2e77
Python default arg improvements
...
Merge the code fixes from patch #294 to more reliably generate
default argument values into the python layer.
2015-01-11 16:42:21 +00:00
Thomas Trocha
4e7af7db80
[lua/luarun] change return type from int to void on functions not returning anything
...
Using emscripten compiler to crosscompile to javascript lead to "traps" on this functions which results in a crash
2015-01-11 15:34:07 +01:00
Jeremy
2696a6e0ff
Updated usage string for -cppcast/-nocppcast in octave.cxx
2015-01-09 14:51:44 -05:00
Olly Betts
4b5ed45d50
Add note about delimiting blocks of Python code
...
Using { and } to delimit means Python comments will cause errors with
SWIG 3.0.3 and later. With older SWIG it usually just meant such
comments failed to appear in the generated output. See issue #221 .
2015-01-09 14:52:46 +13:00
William S Fulton
efb8784c8b
Fix python default_args testcase for Python 3
...
Changes for the default_args testcase to run under Python 3 when called
from python_default_args testcase
2015-01-09 00:37:23 +00:00
William S Fulton
38ba81811e
Fix Python default argument handing broken since swig-3.0.3
...
Default values are no longer generated as Python code by default.
They must be explicitly turned on using the "python:defaultargs" feature.
Closes #294
Closes #296
The problems in these two issues when "python:defaultargs" is turned
on still need to be fixed and should be addressed in separate patches.
The important thing is the default code generation is now fixed.
2015-01-09 00:34:17 +00:00
Vadim Zeitlin
34787ab98e
Python default argument test cases from issue #294
2015-01-09 00:33:57 +00:00
William S Fulton
af43f90484
Wording change for missing semicolon error
2015-01-08 23:37:52 +00:00
Olly Betts
bfa570e404
Handle "constexpr explicit" and "constexpr static"
2015-01-09 11:47:40 +13:00
Simon Marchetto
9c5003b022
do no generate builder by default
2015-01-08 14:06:04 +01:00
Olly Betts
87bdaa3910
Allow C++11 "explicit constexpr"
2015-01-08 15:56:50 +13:00
Olly Betts
62670e756e
Improve errors for missing ; and unexpected )
2015-01-08 15:27:57 +13:00
Olly Betts
d315187a1c
Fix typo in old entry
2015-01-08 14:15:46 +13:00
Olly Betts
8fbdd75a0b
Add test coverage for unterminated %{ ... %} block
2015-01-08 13:26:39 +13:00
Olly Betts
ce90ff6a77
When reporting an error for a construct which hasn't been terminated
...
when the end of the file is reached, report it at the start line rather
than "EOF" as then tools like editors and IDEs will take you to a
generally more useful place for fixing the problem.
2015-01-08 13:19:17 +13:00
Olly Betts
51487c1acc
Improve error message for extraneous '%}'.
2015-01-08 12:47:12 +13:00
Olly Betts
19961d7135
Add .gitignore for Examples/test-suite/errors/
2015-01-08 12:25:47 +13:00
Olly Betts
809ebef1f8
Fix testcase name in expected output
2015-01-08 12:21:23 +13:00
Olly Betts
04715f74e2
Improve error message when an unknown SWIG directive is used
...
This previously gave the cryptic "Error: Syntax error in input(1).", but
now gives "Error: Unknown directive '%foo'."
2015-01-08 12:07:54 +13:00
Olly Betts
9ca6f78b07
Update link to point to 3.0 docs
2015-01-08 11:16:48 +13:00
Olly Betts
70280970d6
Fix links to the online 1.3 docs to instead be relative
2015-01-08 11:16:19 +13:00
Olly Betts
fc60a97ebe
Drop deprecated warnings for ancient options
...
Support for -stat was removed in SWIG 1.3 Alpha 1 nearly 15 years ago,
and the documentation options were removed prior to that, so issuing a
warning that they are deprecated and ignoring them serves no useful
purpose now.
2015-01-08 10:55:58 +13:00
Olly Betts
4912920416
Fix tab to space in HTML preformatted block
2015-01-08 10:55:35 +13:00
Olly Betts
cd16059c66
Provide -cppext as a general command line option
...
Provide -cppext as a general command line option for setting the
extension used for generated C++ files (previously it was specific
to the PHP backend). Deprecate the equivalent -suffix option
provided by the Ocaml backend, but continue to support that for
now.
2015-01-08 10:54:37 +13:00
Olly Betts
0acebe2289
Split -help output into 4 chunks instead of 3
...
I believe the aim is to keep these below 2KB to avoid string literal
length limits on some compiler, but they slowly creep up in size, so
split into more chunks and rebalance the contents.
2015-01-08 10:14:18 +13:00
William S Fulton
bfccd9c441
More on Go examples
...
[skip ci]
2015-01-07 20:46:25 +00:00
Simon Marchetto
78705a5175
gateway source is moved into wrapper source
2015-01-07 18:04:29 +01:00
Olly Betts
430fe58a24
Properly quote parameters in preinst-swig wrapper.
...
$* is subject to word-splitting and pathname expansion, whereas "$@"
expands to each parameter as a separate quoted word.
Some ancient shells expand "$@" to "" if there are no parameters, but
that isn't really a concern here as running swig without arguments isn't
useful.
2015-01-07 18:14:44 +13:00
Olly Betts
e4326229b6
Fix typo
2015-01-07 12:40:31 +13:00
Jeremy
e301457a43
Attempting fixes for Octave shared_ptr support
2015-01-05 10:53:06 -05:00
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