Commit graph

3,100 commits

Author SHA1 Message Date
Simon Marchetto
360a565f7c Scilab: refactor & clean make command lines 2013-09-03 14:11:45 +02:00
Simon Marchetto
698e399717 Scilab: add %scilabconst in enum example 2013-09-02 11:06:01 +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
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
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
678058dbc7 Revert non-scilab changes: Octave modifications 2013-08-30 19:07:10 +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
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
e1264181a0 Scilab: disable configure cache at end of test-suite 2013-08-26 15:22:58 +02: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
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
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
ff25d2c536 Revert "Scilab: add Scilab in makefile check version targets"
This reverts commit 66edc244b9.
2013-08-09 14:46:39 +02:00
Simon Marchetto
66edc244b9 Scilab: add Scilab in makefile check version targets 2013-08-09 12:16:00 +02: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
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
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
255603639f Scilab: rollback, support of container<class*> only (not <class>) 2013-07-31 18:28:23 +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
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
111c1eb538 Scilab: add vector<class> in STL vector example 2013-07-22 17:39:01 +02:00
Simon Marchetto
ef48783589 Scilab: add STL list example 2013-07-19 18:01:18 +02:00
Simon Marchetto
ca282beae6 Scilab: add bool type in STL vector example 2013-07-19 17:31:59 +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
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
1b26ad8b21 Scilab: added target in Examples makefile for debugging 2013-07-18 08:56:12 +02:00
Karl Wette
479df82616 Octave: more robust configuration
- do not rely on --eval argument to find mkoctfile, instead assume it
  is in the same directory as octave itself (which it always should be)
- check Octave options to make sure they are supported, including
  --no-window-system to prevent warnings if building without an X server
- disable Octave if any vital tests fail
2013-07-16 20:59:50 +01:00
joequant
e8c6384f77 add regression tests for SEXP return values 2013-07-14 20:29:37 +08:00
William S Fulton
d0af4f50d3 Add %pythonbegin directive.
For adding code at the beginning of the generated .py file.
2013-07-05 06:30:16 +01:00
William S Fulton
1c44078751 Improve testing of %pythonprepend and %pythonappend 2013-07-02 20:00:17 +01:00
William S Fulton
ace8fcd972 SWIG_AsWCharPtrAndSize improper operation if cptr NULL
SF bug #1327

This doesn't have any noticeable effect with the usage of
SWIG_AsWCharPtrAndSize as shipped by SWIG, but could be a problem if a
user is using this function with cptr equal to zero and psize is non-zero
 - the length would be incorrectly set due to the call to PyUnicode_GetSize
failing.
2013-07-02 18:58:56 +01:00
William S Fulton
112d7aa6d0 Go examples and test-suite format fixes
Patch has the results of find . -name *.go -exec gofmt -w {} \;

SF Patch #339.
2013-07-01 20:13:36 +01:00
Simon Marchetto
d1beaef1ba Scilab: improve STL vector example (test all argument passing modes) 2013-06-20 18:21:23 +02:00
Simon Marchetto
9bdeb67312 Scilab: update STL vector example with vector<string> 2013-06-20 11:38:14 +02:00