Commit graph

3,071 commits

Author SHA1 Message Date
William S Fulton
16c7ef3142 Fix lost code in branch merge 2013-09-17 20:31:21 +01:00
William S Fulton
f994bc481d Better workaround for Scilab name problem with 'Error' 2013-09-17 20:25:19 +01:00
Sylvestre Ledru
9c5bac9887 Merge remote-tracking branch 'origin/master' into gsoc2012-scilab 2013-09-13 09:18:06 +02:00
Artem Serebriyskiy
c3f3880d0c Lua static member access improvements.
1) Static members and static functions inside class can be accessed as ModuleName.ClassName.FunctionName (MemberName respectively). Old way aka ModuleName.ClassName_FunctionName still works.
2) Same goes for enums inside classes: ModuleName.ClassName.EnumValue1 etc.
3) More 'runme' tests for lua + modifications to existing tests to test new changes.

Code is loosely based upon python implemenation of the same thing.

Patch #62.
2013-09-12 21:32:26 +01:00
William S Fulton
a91cd0bc5c Infinity is now by default an acceptable value for type 'float'.
This fix makes the handling of type 'float' and 'double' the same. The implementation requires the
C99 isfinite() macro, or otherwise some platform dependent equivalents, to be available.
2013-09-12 07:28:12 +01:00
Simon Marchetto
7436b03a50 Python: fix li_std_set_as_argument test 2013-09-09 12:14:17 +02:00
Simon Marchetto
47868bcbfe Scilab: remove build & link verbose messages in examples 2013-09-09 12:05:57 +02:00
Simon Marchetto
d91a25357b Add li_std_vector_as_argument & li_std_set_as_argument to common tests 2013-09-09 11:25:59 +02:00
Simon Marchetto
3abb810cc1 Scilab: std_set example converted to test 2013-09-09 11:13:36 +02:00
Simon Marchetto
f95e581dc5 Scilab: fix check list 2013-09-09 10:23:05 +02:00
Simon Marchetto
a7181c3c93 Scilab: move std_vector to upper directory 2013-09-09 10:22:54 +02:00
Simon Marchetto
84f1e3d3e2 Scilab: std_vector_as_argument example converted to test 2013-09-06 18:34:57 +02:00
Simon Marchetto
1a9c86673b Scilab: test-case calls module init + fix exit code on errors 2013-09-06 17:31:37 +02:00
Simon Marchetto
91e4114827 Scilab: enum example is consistent with other languages 2013-09-06 15:42:31 +02:00
Simon Marchetto
06617dbd0b Scilab: constants example consistent with other languages 2013-09-06 15:33:58 +02:00
Simon Marchetto
1d19663efd Scilab: fix test suite copy file error 2013-09-06 14:46:51 +02:00
Simon Marchetto
c0cc7be2e6 Scilab: remove test verbose messages 2013-09-06 10:34:53 +02:00
Simon Marchetto
74cd6281de Scilab: ignore test ignore_template_constructor (no support of vector<class> yet) 2013-09-06 10:20:33 +02:00
Simon Marchetto
ffc20033be Scilab: fix test cases compilation error (header not found) 2013-09-04 17:38:36 +02:00
Simon Marchetto
b4ed5625ee Scilab: parallelization of test-suite, remove configure cache 2013-09-04 15:25:53 +02:00
Simon Marchetto
7a81f55ac9 Scilab: take in account TARGET in example makefile, fix target in examples sub makefiles 2013-09-04 14:53:14 +02:00
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