William S Fulton
afba5b755a
Fix Python default args when using kwargs
...
Recent default arg handling fixes didn't fix the case when kwargs is turned on
2015-01-15 07:54:36 +00:00
William S Fulton
bedff70793
Bump version to 3.0.5
2015-01-14 23:58:49 +00:00
Olly Betts
ecf3ab5605
Disable director_thread_runme.php
...
This fails in a ZTS build of PHP.
2015-01-15 09:32:34 +13:00
Ahti Legonkov
6a7250d71b
Fix #307 .
2015-01-14 18:59:53 +02:00
Simon Marchetto
388d8fd007
change 'Module' section to 'Builder modes' and other fixes
2015-01-14 15:44:28 +01:00
Simon Marchetto
b11f4d8e62
reduce slightly the gateway source
2015-01-14 15:43:46 +01:00
Olly Betts
4fed2e6690
Use -rrbconfig rather than -rmkmf to load rbconfig
...
Both seem to work, but it's better to ask for the module we actually
want rather than rely on it being pulled in indirectly. See #305 .
2015-01-14 09:31:41 +00:00
Olly Betts
be4065531e
Add suggestion to check block delimiter
...
The fix for #217 means that blocks of target code delimited by { } with
'#' comments in now give errors (previously these lines were quietly
discarded).
The fix is generally to use %{ %} delimiters instead, so suggest this
might be the issue in the error message to help users hitting this issue
with wrappers which were apparently working before.
2015-01-14 16:08:08 +13:00
Olly Betts
a2f803bb5a
Add explanatory comment to pp_unknowndirective2.i
2015-01-14 16:00:40 +13:00
Olly Betts
0dd685bad2
Fix PHP crash in director_finalizer
2015-01-14 15:38:55 +13:00
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
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