William S Fulton
558ded2ceb
Add 3.0.4 release information
2015-01-13 23:06:03 +00:00
Olly Betts
aa5d916e4d
Fix typo
2015-01-14 11:04:09 +13:00
Olly Betts
a98bda01cb
Note 1.8 as the oldest supported version
2015-01-14 11:04:02 +13:00
Olly Betts
ea5be4e508
Fix PHP backend for default_args testcase
2015-01-14 10:44:54 +13:00
William S Fulton
a9f8128094
Merge pull request #305 from kkaempf/ruby_2.2
...
Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.
2015-01-13 19:51:57 +00:00
William S Fulton
055e96da09
Update html
2015-01-13 07:58:33 +00:00
William S Fulton
944fbfb426
Python 3 default args fix
...
Fix 0U and 0L as default args for Python 3 (tests committed in
previously commit of default_args.i).
Relates to issue #294 .
2015-01-13 07:55:31 +00:00
William S Fulton
9d87b9f099
Revert introduction of python:defaultargs feature
...
See issue #294
2015-01-12 21:35:47 +00: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
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
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
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
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