Simon Marchetto
698e399717
Scilab: add %scilabconst in enum example
2013-09-02 11:06:01 +02:00
Simon Marchetto
2610403d69
Scilab: consider int as default type for STL container of values (so it works for container of enums)
2013-09-02 11:06:00 +02:00
Simon Marchetto
ed135cb99c
Scilab: wrap enums to Scilab variables (if %feature scilab:const")
2013-09-02 11:06:00 +02:00
Simon Marchetto
2cf606c638
Scilab: add %feature scilab:const (constants are wrapped by Scilab variables)
2013-09-02 10:59:48 +02:00
Simon Marchetto
fcfb90219e
Scilab: list helper getScilabListAndSize()
2013-09-02 10:55:07 +02:00
William S Fulton
05cc859d38
Scilab example Makefiles update.
...
Make consistent with other languages.
Output is also suppressed when run from top level directory - see
RUNPIPE.
2013-08-30 23:53:57 +01:00
William S Fulton
f49ec3c2d6
Improve .gitignore for examples
2013-08-30 23:51:28 +01:00
William S Fulton
fe12f8ccd7
Scilab configure tidy up
2013-08-30 22:20:19 +01:00
William S Fulton
9b51d7d869
Example makefile tidy up
2013-08-30 22:14:21 +01:00
William S Fulton
2114c65201
Fix merge mess - restore changes as they are on master
2013-08-30 21:56:55 +01:00
William S Fulton
f8a4f8ef2a
Minor makefile tidyup
2013-08-30 19:52:11 +01:00
William S Fulton
3dd4b50da8
Tidy up .gitignore
2013-08-30 19:52:11 +01:00
William S Fulton
d4df5fb07b
Code style fixes.
...
Output after running 'make beautify-file' on scilab file
2013-08-30 19:51:58 +01:00
William S Fulton
ef02bc434e
Remove non scilab changes - swigwin
...
CMake should be used instead of a specific version of Visual Studio
project files if Visual Studio support is required.
2013-08-30 19:07:53 +01:00
William S Fulton
678058dbc7
Revert non-scilab changes: Octave modifications
2013-08-30 19:07:10 +01:00
Simon Marchetto
1ab2bd15b1
Scilab: clean enum management code (no need to force enum type)
2013-08-30 16:46:45 +02:00
Simon Marchetto
39bab12d2c
Scilab: add %scilabconst in enum example
2013-08-30 16:41:42 +02:00
Simon Marchetto
74aebf252d
Scilab: consider int as default type for STL container of values (so it works for container of enums)
2013-08-30 16:03:20 +02:00
William S Fulton
4492a3d76b
Document Include Lua error locus in SWIG error messages patches.
...
Closes #81
2013-08-30 07:11:43 +01:00
Miles Bader
c746ae7a0f
Include Lua error locus in SWIG error messages
...
This is standard information in Lua error messages, and makes it much
easier to find bugs.
2013-08-30 06:56:33 +01:00
Miles Bader
663c41e248
Add Lua runtime helper functions for error-handling
...
Add two helper functions to the Lua runtime, "SWIG_Lua_pusherrstring"
and "SWIG_Lua_pushferrstring".
These are like the standard Lua functions lua_pushstring and
lua_pushfstring respectively, except that the strings are prefixed
with the location of the innermost Lua call-point (as generated by
luaL_where).
2013-08-30 06:56:33 +01:00
William S Fulton
ada7dd92e4
Fix testcase name
2013-08-29 22:49:59 +01:00
William S Fulton
f55ff50dd5
Skip the UTF-8 BOM of including files.
...
For avoiding illegal token error when parsing include files which have the UTF-8 BOM.
Closes #75 .
2013-08-29 19:22:50 +01:00
Vadim Zeitlin
9efaf954c7
Add support for std::map<> comparator template argument for C#.
...
Allow exporting maps using non-default comparison function.
Closes #77
2013-08-29 19:08:15 +01:00
Simon Marchetto
f1d289925a
Scilab: wrap enums to Scilab variables (if %feature scilab:const")
2013-08-29 18:14:59 +02:00
Simon Marchetto
1b6fff9da5
Scilab: fix portability issue in configure.ac
2013-08-29 09:07:29 +02:00
Olly Betts
6efe3d61f2
Strip trailing whitespace
2013-08-29 11:16:58 +12:00
William S Fulton
b58dabced9
%implicitconv is improved for overloaded functions.
...
Like in C++, the methods with the actual types are considered before trying implicit conversions.
2013-08-28 20:30:46 +01:00
William S Fulton
1cc735df5e
%implicitconv will now accept None where the implicit conversion takes a C/C++ pointer.
...
Problem highlighted by Bo Peng on the swig-user mailing list. SF patch #230 .
2013-08-28 20:28:15 +01:00
Simon Marchetto
362c7e7bce
Scilab: add %feature scilab:const (constants are wrapped by Scilab variables)
2013-08-28 17:00:23 +02:00
Simon Marchetto
6346803d41
Scilab: fix debug target
2013-08-27 12:53:16 +02:00
Simon Marchetto
c4fb9f00c8
Scilab: list helper getScilabListAndSize()
2013-08-27 11:57:43 +02:00
Sylvestre Ledru
9f08e04428
Merge pull request #78 from smarchetto/gsoc2012-scilab
...
Scilab: support of Scilab 5.3.3 + improve the test suite
2013-08-26 08:32:46 -07:00
Simon Marchetto
e1264181a0
Scilab: disable configure cache at end of test-suite
2013-08-26 15:22:58 +02:00
Olly Betts
628b4710e5
[Python] Fix clang++ warning in generated wrapper code.
2013-08-24 08:40:08 +12:00
Olly Betts
b477cb66be
Use offsetof() rather than icky homemade equivalent
2013-08-24 08:34:50 +12:00
Simon Marchetto
2e30637a21
Scilab: fix clean config cache
2013-08-22 18:32:34 +02:00
Simon Marchetto
474bdcef91
Scilab: configure cache in test run dir
2013-08-22 16:10:59 +02:00
Simon Marchetto
908c9d1f14
Scilab: fix use of configure cache for multicpptest test-suite
2013-08-22 14:37:28 +02:00
Simon Marchetto
6201dec455
Scilab: use configure cache for test-suite
2013-08-22 10:49:48 +02:00
Simon Marchetto
fa166983aa
Scilab: remove unneeded examples from check list
2013-08-21 14:37:35 +02:00
Simon Marchetto
7655b6df6d
Scilab: fix arrays_global test case
2013-08-21 14:35:48 +02:00
Simon Marchetto
67d4079e1f
Scilab: fix tests failing in 5.3.3 (conflict with Scilab function Error)
2013-08-21 11:11:41 +02:00
Simon Marchetto
7a0aaa39b3
Scilab: add STL list example in check list
2013-08-20 10:26:56 +02:00
Simon Marchetto
62b61b5349
Scilab: fix examples (no paging which stops tests)
2013-08-20 10:26:08 +02:00
Simon Marchetto
0fc9e4d0a4
Scilab: support of Scilab 5.3.3 (api_scilab: Rhs, Lhs, ..)
2013-08-19 17:57:56 +02:00
Simon Marchetto
3a190fec2b
Scilab: check Scilab version & support of Scilab 5.3.3 (program arguments)
2013-08-19 17:40:31 +02:00
Simon Marchetto
f7c11a8882
Revert "Scilab: support of Scilab 5.3.3"
...
This reverts commit d6eb7323b6 .
2013-08-09 14:55:29 +02:00
Simon Marchetto
498ca722e5
Revert "Scilab: fix debug infos in config.log"
...
This reverts commit 2f910faebb .
2013-08-09 14:54:36 +02:00
Simon Marchetto
ff25d2c536
Revert "Scilab: add Scilab in makefile check version targets"
...
This reverts commit 66edc244b9 .
2013-08-09 14:46:39 +02:00