Commit graph

16,213 commits

Author SHA1 Message Date
Simon Marchetto
021cb99b4c Scilab: add build verbosity level (ilib_verbose) option 2013-08-07 12:27:43 +02:00
Simon Marchetto
173f83ede8 Scilab: git ignore generated files 2013-08-06 10:58:07 +02:00
Simon Marchetto
89f6510fc4 Scilab: fix usage text 2013-08-06 10:48:56 +02:00
Simon Marchetto
2bd8c0eada Merge branch 'gsoc2012-scilab' of https://github.com/swig/swig into gsoc2012-scilab 2013-08-06 10:23:07 +02:00
Sylvestre Ledru
c5b766de01 Merge branch 'gsoc2012-scilab' of github.com:swig/swig into gsoc2012-scilab 2013-08-06 10:16:28 +02:00
Sylvestre Ledru
72c80652e7 Add support of Scilab in the travis build system 2013-08-06 10:12:34 +02:00
Sylvestre Ledru
adc73b7e99 Update of the Close to reflect changes in swig (5a1e82a2f4 ?) 2013-08-06 10:12:17 +02:00
Sylvestre Ledru
21e17eaa73 Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
Conflicts:
	Examples/Makefile.in
2013-08-06 10:06:31 +02:00
Simon Marchetto
774dddca00 Scilab: fix li_std_vector & ignore_template_constructor test case
fix: return a runtime error for not supported type containers
2013-08-02 12:09:11 +02:00
Sylvestre Ledru
dde9dea5b0 Merge pull request #67 from smarchetto/gsoc2012-scilab
Scilab: generic support of STL containers
2013-08-01 04:43:34 -07:00
Simon Marchetto
6735b9727f Scilab: fix arrays_global test_case 2013-07-31 18:28:45 +02:00
Simon Marchetto
255603639f Scilab: rollback, support of container<class*> only (not <class>) 2013-07-31 18:28:23 +02:00
Simon Marchetto
077e69a851 Scilab: fix SWIT_Init() close in C mode 2013-07-31 11:57:16 +02:00
Simon Marchetto
d034386fc6 Scilab: fix usage of swig scilab program (-help) 2013-07-31 10:46:40 +02:00
Simon Marchetto
c5c684632a Scilab: fix vararg test case crash 2013-07-23 15:03:53 +02:00
Simon Marchetto
25ffa87cab Scilab: fix dynamic_cast test case
Close SWIG_Init() in Scilab executable.
2013-07-23 15:02:39 +02:00
Simon Marchetto
74243ae306 Scilab: fix constructor_copy test_case
using vector<T> needs T have default constructor
2013-07-23 14:59:01 +02:00
Simon Marchetto
16d45620ba Scilab: fix example check list 2013-07-22 17:57:30 +02:00
Simon Marchetto
d85cc8b796 Scilab: SWIG_Init() used in C++ mode only 2013-07-22 17:57:30 +02:00
Simon Marchetto
f7b67980e6 Scilab: fix some example scripts (missing exit) 2013-07-22 17:57:30 +02:00
Simon Marchetto
2ce2862472 Scilab: fix some example makefiles (restore target check) 2013-07-22 17:53:00 +02:00
Simon Marchetto
ae92e24b0c Scilab: missing delete variable in scilab program 2013-07-22 17:41:45 +02:00
Simon Marchetto
2ea501d488 Scilab: small typo fix 2013-07-22 17:39:25 +02:00
Simon Marchetto
111c1eb538 Scilab: add vector<class> in STL vector example 2013-07-22 17:39:01 +02:00
Simon Marchetto
c3992df0bb Scilab: support of containers of "complex type" values (like vector<class>) 2013-07-22 17:37:25 +02:00
Simon Marchetto
ef48783589 Scilab: add STL list example 2013-07-19 18:01:18 +02:00
Simon Marchetto
f09525bcd8 Scilab: add generic support for STL list 2013-07-19 17:59:49 +02:00
Simon Marchetto
ca282beae6 Scilab: add bool type in STL vector example 2013-07-19 17:31:59 +02:00
Simon Marchetto
bc80012e0a Scilab: add support for STL bool containers 2013-07-19 17:29:10 +02:00
Simon Marchetto
1cf1e72e72 Scilab: update STL set example
Fixes:
- use generic support of STL set
- add example for set of string
2013-07-18 08:56:53 +02:00
Simon Marchetto
c66952a3f0 Scilab: add generic support for STL set 2013-07-18 08:56:48 +02:00
Simon Marchetto
28dd6985c2 Scilab: add STL simple vector example (available also for Python, Ruby...) 2013-07-18 08:56:44 +02:00
Simon Marchetto
2472fe492a Scilab: rewrite STL vector example (vector argument passing example)
Fixes:
- use generic support of vectors
- add vector of object example
- improve example messages
- simplify cpp code
- move example code to "std_vector" folder
2013-07-18 08:56:37 +02:00
Simon Marchetto
983af237b0 Scilab: generic support for STL vector 2013-07-18 08:56:31 +02:00
Simon Marchetto
cdb6554fba Scilab: generic support for STL containers.
STL containers are mapped in Scilab as:
- for int, double, string: matrices (of int, or double, etc....)
- for other types (like pointers on objects): list of pointers
2013-07-18 08:56:24 +02:00
Simon Marchetto
1b26ad8b21 Scilab: added target in Examples makefile for debugging 2013-07-18 08:56:12 +02:00
Simon Marchetto
3dd0ebdde9 Scilab: wrap SWIG_Init() function to initialize module SWIG types (needed for STL support) 2013-07-18 08:56:05 +02:00
Simon Marchetto
627e4002fe Scilab: small fix on int matrix typemap 2013-06-21 11:30:11 +02:00
Simon Marchetto
d1beaef1ba Scilab: improve STL vector example (test all argument passing modes) 2013-06-20 18:21:23 +02:00
Simon Marchetto
87e0005276 Scilab: reference passing default mode is INPUT (here fix for vectors) 2013-06-20 18:17:20 +02:00
Simon Marchetto
9bdeb67312 Scilab: update STL vector example with vector<string> 2013-06-20 11:38:14 +02:00
Simon Marchetto
8ee91b4352 Scilab: add support of STL vector<string> 2013-06-20 11:15:13 +02:00
Simon Marchetto
8ca085b528 Scilab: update matrix2 example (with int & string matrix conversion) 2013-06-20 10:55:05 +02:00
Simon Marchetto
e6af8948ef Scilab: add string matrix typemaps 2013-06-19 16:34:12 +02:00
Simon Marchetto
9b270b9f6a Scilab: fix matrix typemap parameter names 2013-06-19 16:28:57 +02:00
Simon Marchetto
347dee5cda Scilab: refactor SwigScilabStringToCharPtrAndSize (use String API getAllocatedString) 2013-06-19 16:10:24 +02:00
Simon Marchetto
1efaa1ae67 Scilab: refactor SwigScilabStringToCharPtr (use String API getAllocatedString()) 2013-06-19 16:10:23 +02:00
Simon Marchetto
6280dd2d1a Scilab: fix SWIG_FromCharPtr error 2013-06-19 16:10:23 +02:00
Simon Marchetto
f268b0564a Scilab: remove SwigScilabStringFromCharPtrAndSize (same as SwigScilabStringFromCharPtr) 2013-06-19 16:10:22 +02:00
Simon Marchetto
e42055dcc4 Scilab: fix SWIG_NewPointerObj & SWIG_NewFunctionPtrObj error 2013-06-19 09:35:50 +02:00