Commit graph

16,361 commits

Author SHA1 Message Date
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
Sylvestre Ledru
4fa29e95ca Merge pull request #74 from smarchetto/gsoc2012-scilab
Scilab: Fix test-suite crashes, fix configure log, and display Scilab version
2013-08-09 04:16:03 -07:00
Simon Marchetto
66edc244b9 Scilab: add Scilab in makefile check version targets 2013-08-09 12:16:00 +02:00
Simon Marchetto
2f910faebb Scilab: fix debug infos in config.log
display scilab executable, version and startup options, remove cc options
2013-08-09 12:11:38 +02:00
Simon Marchetto
2026078a49 Scilab: fix seg fault on tests naturalvar, li_std_string 2013-08-09 11:45:40 +02:00
Kris Thielemans
a495b5a985 Remove SwigPyObject_print and SwigPyObject_str, and make the generated wrapper use the default python implementations, which will fall back to repr (for -builtin option).
Advantages:
- it avoids the swig user having to jump through hoops to get print to
  work as expected when redefining repr/str slots.
- typing the name of a variable on the python prompt now prints the
  result of a (possibly redefined) repr, without the swig user having to
do any extra work.
- when redefining repr, the swig user doesn't necessarily have to
  redefine str as it will call the redefined repr
- the behaviour is exactly the same as without the -builtin option while
  requiring no extra work by the user (aside from adding the
%feature("python:slot...) statements of course)
- the patch simplifies pyrun.swg a tiny bit.

Disadvantage:
- default str() will give different (but clearer?) output on swigged
  classes compared to unpatched swig

SF Bug #326
2013-08-07 20:22:03 +01:00
Sylvestre Ledru
7791756673 Merge pull request #72 from smarchetto/gsoc2012-scilab
Scilab: support of Scilab 5.3.3
2013-08-07 09:26:49 -07:00
Simon Marchetto
d6eb7323b6 Scilab: support of Scilab 5.3.3
Fix: for test suite and examples, run Scilab with -noatomsautoload if Scilab version >=5.4 only
2013-08-07 18:21:18 +02:00
Sylvestre Ledru
9a71a7ae9a Merge pull request #71 from smarchetto/gsoc2012-scilab
Merge, fix makefiles, and add build verbosity level
2013-08-07 05:28:31 -07:00
Simon Marchetto
7a3428d912 Scilab: fix test case clean 2013-08-07 14:14:41 +02:00
Simon Marchetto
9dc203e7dd Scilab: Example makefile accepts Scilab specific options 2013-08-07 14:03:14 +02:00
Simon Marchetto
021cb99b4c Scilab: add build verbosity level (ilib_verbose) option 2013-08-07 12:27:43 +02:00
William S Fulton
a0af86811d Travis builds - add in apt-get update
php tests were failing. Travis suggest running this before any install - http://about.travis-ci.org/docs/user/build-configuration/#Installing-Packages-Using-apt
2013-08-06 21:16:11 +01:00
William S Fulton
f899164cc5 Update .travis.yml
Add gsoc2012-scilab branch to Travis builds. Remove other languages for building on Travis except for Python as a sanity check.
2013-08-06 13:47:39 +01: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
William S Fulton
80f8d1d922 Fix for missing C++ code in std::multimap wrappers.
%template for a std::multimap generated uncompilable code unless a
%template for a std::map of the same template types was also coded up.

This patch is needed in conjunction with previous commit - 5f1fff1849

Closes #64
Closes #65
2013-08-06 07:02:49 +01: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
Andrew Simmons
5f1fff1849 Copied std::pair<> fragment from Lib/std/std_map.i into Lib/std/std_multimap.i. This fixes an error when a std::multimap template is wrapped by itself. 2013-07-25 18:23:45 +01: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