Commit graph

269 commits

Author SHA1 Message Date
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
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
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
Vincent Couvert
eb64659740 Start vector management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-03-22 11:10:34 +00:00
Vincent Couvert
e6c064e209 Make li_std_*.cpptest work, thanks to Tcl example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-30 14:00:48 +00:00
Vincent Couvert
b64c8e753e Make dynamic_cast.cpptest work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-30 13:46:03 +00:00
Vincent Couvert
2535e9ae2f Rename function: SwigScilabDoubleFromDouble -> SWIG_SciDouble_FromDouble
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-26 09:15:08 +00:00
Vincent Couvert
f7107bfea8 Vectors ...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:48:02 +00:00
Vincent Couvert
d986076564 Better alloc management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:47:40 +00:00
Vincent Couvert
90390d80d7 Add missing typecheck for boolean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:46:53 +00:00
Vincent Couvert
082e751178 Use temp int value to read boolean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-23 12:46:03 +00:00
Vincent Couvert
8c5a1ac5f9 Back to previous version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 09:14:14 +00:00
Vincent Couvert
a8b8b6c5d4 * New version for Scilab module using fragments
* A C and CPP tests generate and compile except tests using vectors (to be done)



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-05-20 08:34:46 +00:00
Vincent Couvert
dca46d044f New test for strings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-31 12:30:12 +00:00
Vincent Couvert
f209d5a409 Implement SWIG_From_long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-24 09:57:21 +00:00
Vincent Couvert
5cd249c330 Change mapping for C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:38:11 +00:00
Vincent Couvert
ba4a32e059 Implement SWIG_AsVal_long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:37:30 +00:00
Vincent Couvert
454b1c8ab6 Add tests + small modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 13:14:32 +00:00
Vincent Couvert
f961981748 Make abstract_access test work and clean functionWrapper in scilab.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 08:59:37 +00:00
Vincent Couvert
ee812c1c86 Many modifications needed to make allprotected test work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 16:00:08 +00:00
Vincent Couvert
adcb79c680 Needed by some tests and avoid the use of obsolete exception.i file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:58:53 +00:00
Vincent Couvert
7c0ef6b047 Wrong macro end
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 15:31:15 +00:00
Vincent Couvert
b37103d50c Factorization & cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 12:29:09 +00:00
Vincent Couvert
fe0f1a5331 Factorize code + add Scilab typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:44:24 +00:00
Vincent Couvert
cab6722925 Missing iPrec variable declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-23 16:15:12 +00:00
Vincent Couvert
95bb883090 Factorize code with macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-23 16:13:42 +00:00
Sylvestre Ledru
d5e7f909fd add a comment to not forget these bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-22 16:06:16 +00:00
Vincent Couvert
64bb416577 Add new test and make it work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 12:38:34 +00:00
Vincent Couvert
875d4b927f Replace scilabArgNumber variable by $input.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 09:18:23 +00:00
Baozeng Ding
2233f73dd4 fix memory leak problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-17 13:31:05 +00:00
Baozeng Ding
e16a959732 fix matrix input issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-15 11:57:06 +00:00
Baozeng Ding
38f4edcdac fix some small thing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-04 02:20:29 +00:00
Baozeng Ding
57c3d28aaf some missing features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-02 07:55:17 +00:00
William S Fulton
183429f384 Branch specific SWIG license update to match those done recently on trunk - BSD license restrictions removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 01:32:07 +00:00
Baozeng Ding
613d1a1a8d add matrix.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-03 11:39:17 +00:00
Baozeng Ding
c31100860e add the missing file of matrix2 example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-28 02:32:14 +00:00
Baozeng Ding
215a9c649b change the format of error (add SciErr)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-26 09:34:30 +00:00
Baozeng Ding
b9305497c2 some small fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-10 09:20:42 +00:00
Baozeng Ding
bec56c9cb2 some fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-24 06:27:02 +00:00
Sylvestre Ledru
162e831e68 Change of Scilab API profiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-10-23 05:33:28 +00:00
Baozeng Ding
ca48f10aa7 add arrays_dimensionless testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-20 15:31:33 +00:00
Baozeng Ding
394e632d6c add arrays_global_twodim testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-09-17 13:25:47 +00:00