Commit graph

15,576 commits

Author SHA1 Message Date
Yung Lee
604ebe8ad3 Add C++ conditional macro in scirun.swg 2013-04-29 20:20:19 +08:00
Yung Lee
0a66805e7a Add cleanup code (copy and modify from tcl.cxx) 2013-04-29 20:18:32 +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
Yung Lee
100e46d95b Remove non-ascii characters at a comment line in d.cxx that trouble VC++ 2013-04-29 20:00:21 +08:00
Yung Lee
9ce0acb085 Update Visual Studio Solution 2013-04-29 19:59:58 +08:00
Yung Lee
a7405588c1 Create parser.c,parser.h (by bison) and copy swigconfig.h from swigwin (only for Windows/VC++) 2013-04-29 19:58:43 +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
0d7be20f79 New version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-06 16:17:36 +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
Wolfgang Frisch
62dbc87460 scilab: fix recent C API regression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-05 14:44:27 +00:00
Wolfgang Frisch
15d5d89b2f scilab: Make the build process non-interactive.
When Scilab encounters an error in builder.sce, it leaves the user with
an interactive scilab-cli shell. This is undesirable when executing test
cases.

This patch makes Scilab exit with an error code instead.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:45:30 +00:00
Wolfgang Frisch
264eedebd6 Merge commit 'e010feb054e21872ba5e315c52e4e990fe354a9f' into local/gsoc2012-scilab
Conflicts:
	Examples/Makefile.in

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 07:20:23 +00:00
Sylvestre Ledru
a59b4e13b2 Make sure no atoms module are loaded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:40:26 +00:00
Sylvestre Ledru
4db1f7564e api_scilab.h is now enough
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:36:32 +00:00
Sylvestre Ledru
859738571f Update the detection of Scilab (new header)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:34:46 +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
Sylvestre Ledru
efcb2aebed CheckRhs => CheckInputArgument + CheckLhs => CheckOutputArgument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2012-scilab@13098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-22 07:02:14 +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
8aeb72ef3b swig-2.0.6 release date and summary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-29 21:52:27 +00:00
William S Fulton
8bf1347354 Warning fixes using clang
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-29 21:51:18 +00:00
William S Fulton
127e772693 HTML doc section update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 15:33:58 +00:00
William S Fulton
88fa632715 Fix %fragment error in docs and improve preprocessing and delimiters section - SF bug 3519394
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-28 15:30:19 +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
1bc105bd72 Add missing Lua factory.i test for patch #3219676
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-24 18:56:16 +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
Olly Betts
2f5fc8dd2d Fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-20 23:32:48 +00:00
William S Fulton
e464aa021b Bump version to 2.0.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 21:30:06 +00:00
William S Fulton
399b4e120b html corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 18:31:46 +00:00
William S Fulton
63a6a0e214 Fix symbol name clash under windows in testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 07:13:55 +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
William S Fulton
40c6b36614 Add 2.0.5 release date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-19 06:16:07 +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
William S Fulton
4b1fdf5c55 Add release notes summary for 2.0.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 22:11:38 +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
cc5b232021 testcase fix for vc++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-17 05:52:25 +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
William S Fulton
f9e85bb27f Some test-suite fixes for visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-16 18:45: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
William S Fulton
117cb9b74a Fix a few warnings/errors in the test-suite using Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 21:56:38 +00:00
William S Fulton
bee885dfe0 Rename r_base_test to overload_method as it is a useful test for all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 18:10:58 +00:00
William S Fulton
4e3428ff66 One test per line in Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 17:44:09 +00:00
Joseph Wang
d12e7ecd9e add test to confirm fix to sourceforge 3478922
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-15 12:54:42 +00:00