Commit graph

275 commits

Author SHA1 Message Date
William S Fulton
6b4e57245d Fix STL wrappers to not generate <: digraphs.
For example std::vector<::X::Y> was sometimes generated, now
corrected to std::vector< ::X::Y >.
2015-12-12 14:05:46 +00:00
William S Fulton
fcb383b46b shared_ptr typemap error message fix for global variables
$argnum was not being expanded in the generated code
Correct to use the error message from the standard typemaps
2015-09-25 22:57:59 +01:00
Simon Marchetto
078ad6cb86 simplify SWIG_SciString_AsChar() 2015-06-23 16:24:35 +02:00
Simon Marchetto
b05f0057ca improve support of varargs 2015-06-23 16:24:35 +02:00
Simon Marchetto
05cfa06dbb scilab: use freeAllocatedSingleString() after getAllocatedSingleTree() 2015-06-23 16:24:35 +02:00
Simon Marchetto
64e5215f29 scilab: fix memory leak 2015-06-23 16:24:35 +02:00
Simon Marchetto
4c6f29b778 scilab: fix possible crash by using consistent allocation/free methods (use SWIG macros) 2015-03-24 16:52:18 +01:00
Simon Marchetto
4b2ccd2892 scilab: fix compilation error on Windows 2015-02-13 12:07:27 +01:00
William S Fulton
4e86210e74 Scilab typecheck typemaps fix for C90
Fix mix of mixed declarations and code.
Also redo these typemaps so that the SWIG preprocessor comments don't appear
in the generated code.
2015-02-11 23:32:45 +00:00
William S Fulton
0236435c48 Scilab typemap fixes for C89 2015-02-11 23:24:40 +00:00
Simon Marchetto
78705a5175 gateway source is moved into wrapper source 2015-01-07 18:04:29 +01:00
Simon Marchetto
aba56486fe scilab: fix std::string length issue 2014-10-23 11:08:34 +02:00
Simon Marchetto
06614ebb79 scilab: fix compilation warnings in primitive_types test 2014-10-21 10:03:29 +02:00
Simon Marchetto
f93e23b32f scilab: fix matrix2 example compilation warnings 2014-10-20 17:44:46 +02:00
Simon Marchetto
d3afd65698 scilab: fix compilation error in scilab 5.3.3 2014-10-20 17:03:17 +02:00
Simon Marchetto
20fc167624 scilab: support typed constants (U UL L) in scilabconst(1) 2014-10-16 16:00:51 +02:00
Simon Marchetto
6791e3ac7a scilab: fix SWIG_SciString_FromChar compilation error on some compilers 2014-10-14 09:26:12 +02:00
Simon Marchetto
3997b03f4c scilab: fix int typemaps (functions and fragment names) 2014-09-29 14:56:28 +02:00
Simon Marchetto
2bfb473b6f scilab: fix li_std_string_extra test, missing std_char_traits.i 2014-09-26 11:11:44 +02:00
Simon Marchetto
95c842a9c0 scilab: fix li_std_string_extra, missing lib std_basic_string.i 2014-09-26 09:03:09 +02:00
Simon Marchetto
0567a9765d scilab: remove useless SWIG_Scilab_GetOutputPositionAndReset() 2014-09-11 14:53:28 +02:00
Simon Marchetto
f58be33005 scilab: rename function name management routines 2014-09-11 14:46:44 +02:00
Simon Marchetto
d8dd9e5484 scilab: fix li_std_vector test 2014-09-11 12:33:49 +02:00
Simon Marchetto
7289fa7e75 scilab: rename wrapper global variable fname to SwigFuncName 2014-09-11 12:14:11 +02:00
Simon Marchetto
4bb8c90101 Revert "scilab: remove useless SWIG_Scilab_SetOutput() second parameter"
This reverts commit 99c82bffa5.
2014-09-11 11:44:38 +02:00
Simon Marchetto
429af4052f Revert "scilab: fix compilation error (extra parenthesis)"
This reverts commit 7249cd6a97.
2014-09-11 11:44:15 +02:00
Simon Marchetto
c5cf834f3e Revert "scilab: fix compilation error (too many args in SWIG_Scilab_SetOutput)"
This reverts commit af822c640c.
2014-09-11 11:43:50 +02:00
Simon Marchetto
af822c640c scilab: fix compilation error (too many args in SWIG_Scilab_SetOutput) 2014-09-10 15:32:34 +02:00
Simon Marchetto
7249cd6a97 scilab: fix compilation error (extra parenthesis) 2014-09-10 15:26:14 +02:00
Simon Marchetto
99c82bffa5 scilab: remove useless SWIG_Scilab_SetOutput() second parameter 2014-09-09 15:05:12 +02:00
William S Fulton
1f6b71b47b Scilab parameter name changes
Remove _ prefix in parameter names
2014-09-04 20:14:35 +01:00
William S Fulton
ffbaf424ca Fix previous commit.
li_std_vector testcase was failing. This needs diagnosing.
2014-09-04 20:14:35 +01:00
William S Fulton
53aa3ec5fc Correct global variable name in Scilab wrappers 2014-09-03 20:07:51 +01:00
Simon Marchetto
29f45d91ad scilab: apply K&R coding style for typemaps 2014-08-12 17:31:47 +02:00
Simon Marchetto
460e737df1 scilab: use SWIG_Scilab_Raise() for exceptions 2014-08-08 16:30:00 +02:00
Simon Marchetto
caeaf7dc7e scilab: macro SWIG_SCILAB_ERROR (value 999 by default) for SWIG errors 2014-08-08 16:23:24 +02:00
Simon Marchetto
d89c2f15a0 scilab: use a macro instead of 999 for error code 2014-08-08 15:24:35 +02:00
Simon Marchetto
f665649658 scilab: apply boost_shared_ptr fix 2014-07-21 14:39:16 +02:00
Simon Marchetto
67f0f71f19 scilab: no need to use prefix "g_" for global names 2014-07-21 10:46:29 +02:00
Simon Marchetto
f365f8e820 scilab: coding style remove "_" from parameter names 2014-07-21 10:18:50 +02:00
Simon Marchetto
81879c0da8 scilab: coding style: remove "_" from parameter names 2014-07-10 15:13:27 +02:00
Simon Marchetto
bf5f761229 scilab: coding style: remove "_" from parameter names 2014-07-10 12:18:41 +02:00
Simon Marchetto
79e9421f29 scilab: fix typo error 2014-07-10 10:30:28 +02:00
Simon Marchetto
34db2b83c5 scilab: library stl.i include same libraries as in other languages 2014-07-10 09:22:32 +02:00
Simon Marchetto
540973ee1d scilab: code style: remove underscore in parameters (first part) 2014-07-09 18:32:52 +02:00
William S Fulton
f784d9feaa Remove author names - they are in the COPYRIGHT file 2014-06-26 20:30:25 +01:00
Simon Marchetto
27b5f47d7d scilab: fix commit fragment stdint 2014-06-26 10:04:29 +02:00
Simon Marchetto
821118de9b scilab: rename swig_this(), swig_ptr() to SWIG_this(), SWIG_ptr() 2014-06-26 09:44:49 +02:00
Simon Marchetto
89d9cdb1cd scilab: rename fragment 2014-06-26 09:27:25 +02:00
Simon Marchetto
8a2472c649 scilab: unsigned ints typemaps behave same as ints (2nd commit: arrays) 2014-06-16 16:25:49 +02:00