Commit graph

16,594 commits

Author SHA1 Message Date
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
William S Fulton
87963d2e68 Java/C# smart pointer tests: Give GC more time to collect objects 2014-03-16 00:44:30 +00:00
William S Fulton
785d93d9fb html fixes and section updates 2014-03-15 22:45:43 +00:00
William S Fulton
eab762baa2 gcc-3.4 warning fix 2014-03-15 22:45:28 +00:00
William S Fulton
b59feff9f9 Test case compiler warning fix 2014-03-15 21:00:25 +00:00
William S Fulton
e2b6de8a03 Compiler warning fixes in testcases 2014-03-15 18:24:01 +00:00
William S Fulton
13aac0dca9 Portability fixes for errors test-suite 2014-03-15 18:23:02 +00:00
William S Fulton
b0b5552c14 Fix casts for array setters broken when fixing nested C classes (c++out mode for Octave)
Introduced in 703d5b96fe
Fixes compilation errors with Visual Studio
2014-03-15 12:39:39 +00:00
William S Fulton
703d5b96fe Fix extern "C" 2014-03-15 02:20:38 +00:00
William S Fulton
d2dc7df061 Compiler fixes for Sun Workshop compiler 2014-03-15 02:02:40 +00:00
William S Fulton
300ade57e8 Add missing return statements in testcase 2014-03-15 00:23:55 +00:00
William S Fulton
9c1bd797b9 Fix missing return statements in Lua code 2014-03-14 23:58:15 +00:00
William S Fulton
8f967f3341 Add missing return for testcase 2014-03-14 23:26:23 +00:00
William S Fulton
2471e3fc3a Windows examples update for new C# project files. 2014-03-14 23:06:17 +00:00
William S Fulton
eabdb13115 Fix warning suppression in testcase 2014-03-14 16:53:09 +00:00
William S Fulton
3d230ea253 Fix Guile li_std_string testcase which requires a UTF-8 locale set
This was failing on Mac OSX and is a further fix to
43c8f2351c to fix #139
2014-03-14 14:18:42 +00:00
William S Fulton
bf8eb05dbb Merge pull request #146 from v-for-vandal/class_p1_fixes2
Class p1 fixes2 - Lua enums and NSpace

Disable old-names generation for enums in class in namespace
Getattribute->GetFlag
Partially disabling old names generation for classes with nspace
Working around some of the SWIG internal issues with enums
2014-03-14 09:01:15 +00:00