Commit graph

19,037 commits

Author SHA1 Message Date
Simon Marchetto
51c9ee4b45 scilab: use overrided SWIG_exception macro 2014-04-09 10:31:16 +02:00
Simon Marchetto
eb62899fac scilab: document STL exceptions 2014-04-09 10:30:36 +02:00
Simon Marchetto
ee139271d3 scilab: fix throw_exception test 2014-04-09 10:21:52 +02:00
Simon Marchetto
9642b3257f scilab: begin error message with 'SWIG/Scilab' 2014-04-09 10:21:28 +02:00
Simon Marchetto
67963e975e scilab: implement li_std_except test 2014-04-09 10:20:40 +02:00
Simon Marchetto
8685b03297 scilab: remove ending period in error message 2014-04-09 10:04:46 +02:00
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
Simon Marchetto
b21afc2128 scilab: fix SwigScilabRaise compilation error on examples 2014-04-07 18:03:25 +02:00
Simon Marchetto
e53f1488a7 scilab: fix li_std_string test regression 2014-04-07 17:10:52 +02:00
Simon Marchetto
7f989a968b scilab: fix throw_exception test 2014-04-07 17:10:32 +02:00
Simon Marchetto
9432da4b34 scilab: fix primitive_types test regression 2014-04-07 15:36:37 +02:00
Olly Betts
559128e14e Fix typo in -lua -help output 2014-04-07 23:00:49 +12:00
Simon Marchetto
542abaf846 scilab: document namespaces 2014-04-07 12:44:52 +02:00
Simon Marchetto
01aec38ae9 scilab: add missing lib sciexception.swg 2014-04-07 11:40:31 +02:00
Simon Marchetto
7bc8201719 scilab: implement & fix throw_exception test 2014-04-07 11:36:11 +02:00
Simon Marchetto
1c207f76d0 scilab: document C++ exceptions 2014-04-07 11:33:39 +02: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
Simon Marchetto
51e2bcb1fd scilab: fix comments 2014-04-04 11:47:44 +02:00
Simon Marchetto
7af4bc72c6 scilab: clean error management code, remove useless macros 2014-04-04 11:29:46 +02:00
Simon Marchetto
a87c6f9bf2 scilab: in doc add chapter "pointers, references, values, arrays" 2014-04-04 09:34:29 +02: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
Simon Marchetto
cf2158d861 scilab: fix comment 2014-04-03 17:26:11 +02:00
Simon Marchetto
8b6e111cb8 scilab: no block (iterators, typechecks) 2014-04-03 17:26:02 +02:00
Simon Marchetto
cbf4a9e583 scilab: document C++ operators 2014-04-03 17:24:08 +02:00
Simon Marchetto
460326949b scilab: implement operator_overload test 2014-04-03 12:26:44 +02:00
Simon Marchetto
9fbcc0cee4 scilab: some fixes in doc 2014-04-03 09:59:02 +02: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
Simon Marchetto
a9397c3b49 scilab: rewrite doc on templates 2014-04-02 18:05:26 +02:00
Simon Marchetto
65fe133e2d scilab: document argument passing 2014-04-02 16:39:26 +02: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
Simon Marchetto
ca69e5e405 scilab: add a delete in struct example 2014-04-02 11:26:56 +02:00
Simon Marchetto
29a1762149 scilab: fix doc pointers section 2014-04-02 11:25:07 +02:00