Commit graph

2,384 commits

Author SHA1 Message Date
Simon Marchetto
e9437fe400 Scilab: fix test case li_boost_shared_ptr 2013-06-12 12:14:53 +02:00
Simon Marchetto
7c9163e48a Scilab: fix test case import_stl_b 2013-06-12 11:02:59 +02:00
Simon Marchetto
af03df97c4 Scilab: C++ operators not wrapped in Scilab yet, remove warnings 2013-06-12 11:01:46 +02:00
Simon Marchetto
4f2715a9ec Scilab: fix test case li_std_vector 2013-06-12 10:59:11 +02:00
Simon Marchetto
ffc1d1221a Scilab: fix test case autodoc 2013-06-11 18:01:16 +02:00
Simon Marchetto
45dbdb2776 Scilab: fix test case constructor_copy (and others)
Signed-off-by: Simon Marchetto <simon.marchetto@scilab-enterprises.com>
2013-06-11 16:46:38 +02:00
Simon Marchetto
96ba677aa2 Add typemaps for STL sets (supports set<int>) 2013-06-03 17:20:09 +02:00
Simon Marchetto
c61f9b233d Fix STL vector typemaps (supports vector<int> and vector<double>) 2013-06-03 17:20:08 +02:00
Simon Marchetto
cf88d6a109 Add int matrix typemaps 2013-06-03 17:20:07 +02:00
Simon Marchetto
0531f30fea Fix double matrix typemaps (add some typemaps) + move code in separate file 2013-06-03 17:20:07 +02:00
Simon Marchetto
2847765ddf Fix int matrix typemap (accept empty matrix as input) 2013-06-03 17:20:06 +02:00
Simon Marchetto
46a234ed8f Fix int scalar typemap (do not base on double typemap) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e667d59ed9 Fix enum typemaps (now base on int conversion) 2013-06-03 17:20:06 +02:00
Simon Marchetto
e2cc98ffc1 Add typemap for returning enum from function 2013-06-03 17:20:05 +02:00
Simon Marchetto
f48e95cb47 Fix compilation error 2013-06-03 17:20:05 +02:00
Yung Lee
dc852580d1 Fix bug in scilab\matrix.i 2013-04-29 20:22:12 +08:00
Yung Lee
604ebe8ad3 Add C++ conditional macro in scirun.swg 2013-04-29 20:20:19 +08:00
Yung Lee
680374f251 Redefine SWIG_Error and add testing code in examples\scilab\contract 2013-04-29 20:16:36 +08:00
Yung Lee
e22184553a Replace MALLOC/FREE to malloc/free fot fix heap memory leak error on Win/VC++ 2013-04-29 20:13:22 +08:00
Vincent Couvert
6138b43d7b Better vector/C++ containers support for Scilab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-24 15:06:40 +00:00
Vincent Couvert
28565a5b65 Better management of containers based on Octave one
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 16:17:10 +00:00
Vincent Couvert
53b2b4405d Update tests & examples after Scilab API modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 11:31:47 +00:00
Sylvestre Ledru
1d19873227 Update previous syntax to the latest. LhsVar => AssignOutputVariable + Rhs => nbInputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:07:08 +00:00
Vincent Couvert
7444913fda Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@13053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-09 14:28:04 +00:00
William S Fulton
a0e21e82ca char **STRING_ARRAY typemaps fixed to handle null pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:29:23 +00:00
William S Fulton
52fe61820a More for Mac OSX STL fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 14:27:55 +00:00
William S Fulton
c13131986e Warning fix in python STL wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 11:39:13 +00:00
William S Fulton
e39322cd01 Fix STL wrapper compilation errors on Mac OSX 64bit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 11:18:10 +00:00
William S Fulton
60b9635c79 Fix uninitialised variable in Lua SWIGTYPE **OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-25 05:53:14 +00:00
William S Fulton
dc7818db81 Add missing Lua factory.i for patch #3219676
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-24 18:37:53 +00:00
William S Fulton
56965adb05 warning fix using vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 06:35:00 +00:00
Robert Stone
121086fb77 * revert perl5 li_typemaps run tests due to Windows regressions.
* stricter casting to sidestep compiler warnings on Windows.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-18 21:49:32 +00:00
David Nadlinger
7615b099d1 [D] Reverted part of #3502431 mistakenly applied in r12948.
(The changes only concerned D2, and were already present in trunk.)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 12:17:42 +00:00
William S Fulton
1fbcafc0ea Go back to using free/malloc rather than realloc as may be slower
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 07:02:15 +00:00
William S Fulton
a6219a855e signed unsigned fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-16 19:55:33 +00:00
Karl Wette
35b2270f84 Make octave_dim tests pass for octave version != 3.2.4
- see SourceForge #3516652

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:38 +00:00
Karl Wette
70e0cf60f7 Fixed segfault-on-exit in octave 3.2.4
- see SourceForge #3516652

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 22:47:19 +00:00
Joseph Wang
068358da2f remove spurtious printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 12:25:50 +00:00
William S Fulton
c3fdc9fc5e Add back in %traits_enum removed in rev 12961 and probably fix iterating through std::vector wrappers of enumerations for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 23:30:22 +00:00
William S Fulton
ac688f9ccb Apply patch #3517435 from Miles Bader - prefer to use Lua_pushglobaltable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 20:37:39 +00:00
William S Fulton
68a135860d Revert rev 12835 as it introduces a failure in the test-suite (primitive_types test)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 17:30:03 +00:00
William S Fulton
5effbc386c Apply patch #3517769 from Robin Stocker to fix compile error on MacRuby using RSTRING_PTR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-14 16:18:04 +00:00
William S Fulton
478496bcae Apply patch #3511009 from Leif Middelschulte for slightly optimised char * variable wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 19:29:33 +00:00
William S Fulton
5c8e5542ef Apply #3219676 from Shane Liesegang which adds: - support for %factory - a __tostring method - a __disown method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-13 18:28:37 +00:00
Vincent Couvert
02d58e0125 Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-11 20:46:17 +00:00
Vincent Couvert
f21628914a One more step to make 'vector' example work for Scilab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-10 19:39:54 +00:00
Olly Betts
e3eb54594e [Lua] Add support for Lua 5.2 (patch SF#3514593 from Miles Bader)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-05 04:29:11 +00:00
Joseph Wang
800e00c9be check in R-swig changes that implement vector conversions to and
from std::vector


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-29 16:32:51 +00:00
Vincent Couvert
b5d0f09255 Remove old deprecated include file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 15:26:53 +00:00
Olly Betts
7e6638ab61 Fix comment typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-27 03:56:19 +00:00