Commit graph

16,350 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
228b7d9a6c Merge remote-tracking branch 'origin/master' into gsoc2012-scilab 2013-09-13 10:03:56 +02:00
Sylvestre Ledru
7a88729c87 Remove trailing spaces in the generated code.
No functional changes
2013-09-13 10:02:39 +02:00
Sylvestre Ledru
424b20635f remove trailing space in Scilab generated code 2013-09-13 09:50:51 +02:00
Sylvestre Ledru
2374ff914d Remove trailing spaces in the generated code 2013-09-13 09:50:21 +02: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
f55c3d283a Scilab: new option -nobuilder (if used, builder.sce is not generated) 2013-09-11 19:19:29 +02:00
Simon Marchetto
5c5528981e Scilab: remove generated code compilation errors & warnings 2013-09-11 19:19:29 +02:00
Simon Marchetto
565dd5661e Scilab: new option to use a script to set build flags 2013-09-11 19:19:28 +02:00
Sylvestre Ledru
0314bc99fd add of the Scilab developers 2013-09-10 19:48:45 +02:00
Simon Marchetto
a95a6d623a Scilab: fix bug og generated line too long 2013-09-09 18:07:59 +02: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
9f259e0ee8 Scilab: addsrc option uses comma for file name separation (instead of space) 2013-09-09 11:51:49 +02:00
Simon Marchetto
3a10c9a7cd Scilab: configure check version is 5.3 minimum 2013-09-09 11:43:20 +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
25cb1f2094 Merge pull request #86 from smarchetto/gsoc2012-scilab
Scilab: fix test-suite (errors, status, verbosity)
2013-09-06 06:15:14 -07:00
Simon Marchetto
1d19663efd Scilab: fix test suite copy file error 2013-09-06 14:46:51 +02:00
Simon Marchetto
38750fd4ec Merge remote-tracking branch 'upstream/gsoc2012-scilab' into gsoc2012-scilab
Conflicts:
	Source/Modules/scilab.cxx
2013-09-06 11:17:27 +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
William S Fulton
4f663489fb Correct Scilab output file handling
Fix seg fault when builder file cannot be written.
Correct locations of output files when using -outdir - only language
specific files are output into the direrctory specified by -outdir.
2013-09-06 07:12:38 +01:00
William S Fulton
3ee711d1f4 Slight coding improvement 2013-09-06 06:55:03 +01:00
William S Fulton
6e36208928 Scilab command line options
Document the options.
Make scilab -help consistent with the other target languages.
2013-09-05 19:15:51 +01:00
William S Fulton
cf077090d3 Scilab documentation tweaks.
Minor grammar fixes.
Fix HTML.
HTML formatting changes.
2013-09-05 18:20:38 +01:00
Simon Marchetto
08b779aee2 Scilab: return exit code 1 from Scilab when module build fails (for Travis test-suite status) 2013-09-04 17:42:19 +02:00
Simon Marchetto
ffc20033be Scilab: fix test cases compilation error (header not found) 2013-09-04 17:38:36 +02:00
Sylvestre Ledru
213d67943a Merge pull request #83 from smarchetto/gsoc2012-scilab
Scilab const & enums improvements, parallelization of test-suite
2013-09-04 07:09:03 -07: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
Sylvestre Ledru
62d512b387 Update of the documentation regarding the Scilab change 2013-09-04 09:15:46 +02:00
William S Fulton
f47075ec99 Smart pointer documentation improvement 2013-09-03 23:58:05 +01:00
Simon Marchetto
360a565f7c Scilab: refactor & clean make command lines 2013-09-03 14:11:45 +02:00
William S Fulton
67659773cc Remove some Java references from C# module 2013-09-02 19:14:20 +01:00
Simon Marchetto
0980ff901f Merge branch 'gsoc2012-scilab' of https://github.com/smarchetto/swig into gsoc2012-scilab
Conflicts:
	Examples/Makefile.in
	Source/Modules/scilab.cxx
	configure.ac
2013-09-02 15:40:58 +02:00
Simon Marchetto
9e5c351176 Scilab: clean enum management code (no need to force enum type) 2013-09-02 11:06:01 +02:00
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