Commit graph

16,610 commits

Author SHA1 Message Date
William S Fulton
d7f6167e02 Remove duplicate declarations of strtoimax and strtoumax in inttypes.i 2014-04-08 23:47:22 +01:00
William S Fulton
dc8428889e Ignored enum fixes.
C#/Java - Enums which have been ignored via %ignore and are subsequently
used are handled slightly differently. Type wrapper classes are now generated
which are effectively a wrapper of an empty enum. Previously in Java uncompilable
code was generated and in C# an int was used.
2014-04-08 23:25:27 +01:00
William S Fulton
7bec7c1b60 Further shift operator regression fixes 2014-04-08 19:19:44 +01:00
William S Fulton
0be33b1900 Fix use of shift operators in expressions regression since 3.0.0 2014-04-08 19:19:44 +01:00
William S Fulton
aa4b14a3d2 Fix seg fault with extra ) brackets and >> 2014-04-08 19:19:44 +01:00
William S Fulton
5feaa79176 More efficient end of template bracket (>>) handling 2014-04-08 19:19:44 +01:00
William S Fulton
9959860235 beautify scanner.c 2014-04-08 19:19:43 +01:00
William S Fulton
6cbf059fb8 Tidy up scanner.c
Make local functions static and rename them accordingly
2014-04-08 19:19:43 +01:00
William S Fulton
b86a171e43 DOH readme correction 2014-04-08 19:19:43 +01:00
Olly Betts
559128e14e Fix typo in -lua -help output 2014-04-07 23:00:49 +12:00
Olly Betts
fb19cbcd42 Remove extra </div> 2014-04-06 16:58:19 +12:00
Olly Betts
4959957c18 Update documentation for deprecation and removal of Close() 2014-04-06 06:00:49 +12:00
William S Fulton
e442903fde Fix segfault when there are too many closing round brackets in parsed code 2014-04-05 00:18:30 +01:00
William S Fulton
e64d388957 Refix operator<< definition giving a syntax error 2014-04-05 00:17:06 +01:00
William S Fulton
1d857beb9d Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
SF Bug #1365.
2014-04-04 08:31:59 +01:00
Olly Betts
b0e809d94b Remove unnecessary block from PHP version of SWIG_exception macro 2014-04-03 11:23:57 +13:00
Olly Betts
f563069e7b [PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP. 2014-04-03 10:38:19 +13:00
William S Fulton
4928eaf662 Merge branch 'master' of github.com:/swig/swig
* 'master' of github.com:/swig/swig:
  Eliminate unused parameter from SWIG_Php_GetModule()
  Fix comment typo
  Fix compiler warnings in generated Lua code
  [PHP] Pass the ZTS context we already have to avoid needing to call TSRMLS_FETCH, which is relatively expensive.
  [PHP] Pass ZTS context through to t_output_helper() so it works with a ZTS-enabled build of PHP.  Reported by Pierre Labastie in github PR#155.
2014-04-02 22:10:47 +01:00
William S Fulton
dcbd6e39e3 Fix potential bugs found by Coverity analysis 2014-04-02 22:08:32 +01:00
Olly Betts
191e625983 Eliminate unused parameter from SWIG_Php_GetModule() 2014-04-02 23:46:44 +13:00
Olly Betts
90e6d6c012 Fix comment typo 2014-04-02 23:45:58 +13:00
Olly Betts
72305ceec8 Fix compiler warnings in generated Lua code 2014-04-02 23:44:35 +13:00
Olly Betts
2a3981289d [PHP] Pass the ZTS context we already have to avoid needing to
call TSRMLS_FETCH, which is relatively expensive.
2014-04-02 23:35:59 +13:00
Olly Betts
18c00e20bc [PHP] Pass ZTS context through to t_output_helper() so it works
with a ZTS-enabled build of PHP.  Reported by Pierre Labastie in
github PR#155.
2014-04-02 23:28:56 +13:00
William S Fulton
2071b7d157 Lua test-suite can now be run out of source 2014-04-01 19:33:20 +01:00
Karl Wette
16039ce426 Fix out of source test-suite runs for Octave 2014-03-31 22:41:55 +01:00
William S Fulton
0fdfa3b6ce Add runtime test for commit 7a96fba836 2014-03-31 19:29:19 +01:00
William S Fulton
50a9c5fbec Add C++11 constexpr runtime test 2014-03-31 19:29:19 +01:00
William S Fulton
df2c9d366d Remove some useless code 2014-03-28 08:04:01 +00:00
William S Fulton
cd2085aae7 Fixes for C enums used in an API and the definition of the enum has not been parsed.
For D, this fixes a segfault in SWIG.

Java, C#, D, Go now produce code that compiles, although the definition of the
enum is needed in order to use the enum properly from the target language.
2014-03-28 07:54:03 +00:00
William S Fulton
15f4b3b19d Correct messages displayed when running Java test-suite 2014-03-28 07:48:40 +00:00
William S Fulton
f01c84cd8b Java enums - remove redundant typemaps 2014-03-28 07:45:23 +00:00
William S Fulton
7f8c1e192d CHANGES file for previous commit for Lua 2014-03-23 12:55:26 +00:00
William S Fulton
7adc528aa6 Merge pull request #153 from v-for-vandal/issue_152
Lua Visual Studio runtime fix using snprintf
closes #152
2014-03-23 12:53:34 +00:00
Artem Serebriyskiy
f2c410a8c0 Fixing issue 152 2014-03-23 14:05:05 +04:00
William S Fulton
9df37fa15a Revert "Set up coverity builds on Travis"
This reverts commit f8d3a1c1b6.
2014-03-22 14:59:40 +00:00
William S Fulton
f8d3a1c1b6 Set up coverity builds on Travis
On master for the moment, but needs moving to a branch
2014-03-22 14:29:11 +00:00
William S Fulton
91c817b475 Fix C++11 extern template test 2014-03-21 18:36:21 +00:00
William S Fulton
45256e0e9e Lua code refactor
Remove the internal api code for -no-old-metatable-bindings.
The code needs to be properly based on features, not api levels.
The code/variable names now reflect the command line option controlling
it.
2014-03-20 19:51:30 +00:00
William S Fulton
57ef0099d3 Add Travis testing for Python 2.4 2.5 2.6 3.4 2014-03-20 19:20:29 +00:00
William S Fulton
bbd8f85de4 Forward null fix for Coverity analysis 2014-03-20 19:14:53 +00:00
William S Fulton
abd31397fa Always use debug flags for Mono to get decent stacktraces on error. 2014-03-20 19:12:44 +00:00
William S Fulton
b0afd857e5 Bump version to 3.0.1 2014-03-17 06:54:00 +00:00
William S Fulton
ade79e2e94 SWIG 3 doc updates 2014-03-16 21:49:54 +00:00
William S Fulton
08b783113d Add release date 2014-03-16 21:11:03 +00:00
William S Fulton
e1b649998b Add changes notes for Lua changes 2014-03-16 21:11:03 +00:00
William S Fulton
778aed5a08 CHANGES file updates 2014-03-16 21:11:03 +00:00
William S Fulton
f3593a4d35 Add release note summary 2014-03-16 21:11:03 +00:00
William S Fulton
98a5569e1b Few tweaks to Lua html docs 2014-03-16 21:11:03 +00:00
William S Fulton
f999c4864e Fix errors test-suite on Mac OSX 2014-03-16 15:20:13 +00:00