Simon Marchetto
013b9f9769
Merge branch 'master' into gsoc2012-scilab
2014-03-11 10:24:09 +01:00
Simon Marchetto
9a8b1207ca
scilab: fix scilab_enums test: enum returned as double, and enum value computing
2014-02-11 16:28:57 +01:00
Simon Marchetto
92afbf08dc
Scilab: support of multiple -addldflag
2013-10-09 15:46:59 +02:00
Simon Marchetto
00d8f9efba
Scilab: fix -addsrc option reading
2013-10-09 15:18:36 +02:00
Simon Marchetto
5e1590cd9c
Scilab: fix swig help on options
2013-10-09 15:16:57 +02:00
Simon Marchetto
13db0e874a
Scilab: support of multiple -addcflag
2013-10-09 15:14:13 +02:00
William S Fulton
3fcbb40af9
Remove incorrectly and newly introduced assert
...
Was failing in li_boost_shared_ptr.i for some languages. A similar
testcase has been added into naturalvar_more.i.
2013-10-05 02:16:02 +01:00
William S Fulton
f6b264cb1c
Cosmetic code formatting fixes
2013-10-04 23:14:02 +01:00
William S Fulton
e186d2176a
Fix %naturalvar and templated methods using enums
...
%naturalvar was not being picked up - use the symbol table instead for
looking up the feature.
use_naturalvar_mode() has been moved to Language class (not strictly necessary though)
2013-10-04 23:08:33 +01:00
William S Fulton
c4d40c7b64
PHP directors - generate call_user_function on one line
2013-10-01 22:13:57 +01:00
Olly Betts
12708c9241
Fix typos
2013-09-25 17:29:33 +12:00
Simon Marchetto
caf2db6b8d
Scilab: fix dynamic_cast test error
2013-09-24 11:39:55 +02:00
Simon Marchetto
3ebd3da30e
Scilab: if -Wextra, warning at generation for too long identifier names
2013-09-23 13:48:50 +02:00
Simon Marchetto
40a5fe1224
Scilab: remove generated code typemap comments
2013-09-23 10:22:36 +02:00
Simon Marchetto
6318290a3b
Scilab: add SWIG banner in builder.sce
2013-09-23 09:49:13 +02:00
Simon Marchetto
77da84f549
Scilab: init function name SWIG_Init() changed to <module>_Init()
2013-09-18 10:24:47 +02:00
Simon Marchetto
e59e2ad0c2
Scilab: rename option -flagscript to -buildflags + fix spacing
2013-09-18 09:25:59 +02:00
Sylvestre Ledru
424b20635f
remove trailing space in Scilab generated code
2013-09-13 09:50:51 +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
Simon Marchetto
f55c3d283a
Scilab: new option -nobuilder (if used, builder.sce is not generated)
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
Simon Marchetto
a95a6d623a
Scilab: fix bug og generated line too long
2013-09-09 18:07:59 +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
38750fd4ec
Merge remote-tracking branch 'upstream/gsoc2012-scilab' into gsoc2012-scilab
...
Conflicts:
Source/Modules/scilab.cxx
2013-09-06 11:17:27 +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
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
b4ed5625ee
Scilab: parallelization of test-suite, remove configure cache
2013-09-04 15:25:53 +02:00
William S Fulton
67659773cc
Remove some Java references from C# module
2013-09-02 19:14:20 +01: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
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
d4df5fb07b
Code style fixes.
...
Output after running 'make beautify-file' on scilab file
2013-08-30 19:51:58 +01:00
Miles Bader
c746ae7a0f
Include Lua error locus in SWIG error messages
...
This is standard information in Lua error messages, and makes it much
easier to find bugs.
2013-08-30 06:56:33 +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
Olly Betts
628b4710e5
[Python] Fix clang++ warning in generated wrapper code.
2013-08-24 08:40:08 +12:00
Olly Betts
b477cb66be
Use offsetof() rather than icky homemade equivalent
2013-08-24 08:34:50 +12: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
2026078a49
Scilab: fix seg fault on tests naturalvar, li_std_string
2013-08-09 11:45:40 +02:00
Simon Marchetto
021cb99b4c
Scilab: add build verbosity level (ilib_verbose) option
2013-08-07 12:27:43 +02:00
Simon Marchetto
89f6510fc4
Scilab: fix usage text
2013-08-06 10:48:56 +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
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
d85cc8b796
Scilab: SWIG_Init() used in C++ mode only
2013-07-22 17:57:30 +02:00