Commit graph

14,892 commits

Author SHA1 Message Date
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
247a179807 Add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-24 09:18:25 +00:00
Vincent Couvert
6a4221ce6d First version for this test but needs improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-23 15:39:00 +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
3ca167ca82 Add aggregate_runme.sci test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-28 14:37:32 +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
c48e483fca New test file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 16:18:47 +00:00
Vincent Couvert
a189fa861d Create log file to avoid unnecessary verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 16:18:20 +00:00
Vincent Couvert
b3220fe33f Bad name for searched library + less verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 10:32:48 +00:00
Vincent Couvert
6307ae94e7 Also remove cxx wrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-10 10:31:04 +00:00
Vincent Couvert
efcc9e97c9 Enable cpp tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 16:06:40 +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
998e2249f5 Add new rumne file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:54:29 +00:00
Vincent Couvert
fcde55e4d9 Use new swigtest files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:52:56 +00:00
Vincent Couvert
9a0ac2fa59 Add a test for library existence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-04 15:52:24 +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
8febd3e62b Update example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-01-03 12:31:21 +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
a8452f0a1a Add test for Scilab typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:46:00 +00:00
Vincent Couvert
c786f2f980 Add test for Scilab typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:44:59 +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
002a35fab3 Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:43:29 +00:00
Vincent Couvert
8814075a59 Fix typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-26 16:42:54 +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
Sylvestre Ledru
2aa7a9fbc9 Fix a mistake in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-15 08:18:40 +00:00
Sylvestre Ledru
5bd8d9c134 Test arrays_global added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-15 08:01:54 +00:00
Sylvestre Ledru
f603ac10db Do not build 64 bits wrapping if Scilab is not able to manage it (will be the case with Scilab 6)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 16:26:41 +00:00
Sylvestre Ledru
909ad27a72 Fix a problem with a missing carriage return
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 16:11:27 +00:00
Sylvestre Ledru
8d0ceb287d Reindent Scilab sources
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:59:20 +00:00
Vincent Couvert
6da4c4d006 Nested structs test added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:45:49 +00:00
Vincent Couvert
5001e6e479 Exit from Scilab when the loader fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:45:16 +00:00
Sylvestre Ledru
43b91f43ca The empty test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:18:32 +00:00
Vincent Couvert
35cd4a1023 Update since .i has changed (merged from trunk)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:11:52 +00:00
Vincent Couvert
57a14d7459 New Scilab tests/examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 15:10:21 +00:00
Sylvestre Ledru
2e69d7a7d1 When failing, returns the name of the script
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 14:57:56 +00:00
Sylvestre Ledru
1842244c93 Merge from trunk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 14:15:42 +00:00
Sylvestre Ledru
2453aee4e7 2010-10-14: Sylvestre Ledru
Fails the configure if cannot find a yacc implementation
            (like bison)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 12:43:15 +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
Vincent Couvert
f7d5a8cccc Improve Scilab test suite with start/quit scripts + remove useless display.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 09:15:59 +00:00
Olly Betts
9eaf5ba1be [PHP] Allow compilation on non-conforming Microsoft C++ compilers
which don't accept: return function_returning_void();
Reported by Frank Vanden Berghen on the SWIG mailing list.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-14 05:13:09 +00:00
William S Fulton
c9ede7e622 Fix unary scope operator (::) (global scope) regression introduced in 2.0.0. The mangled symbol names were incorrect, sometimes resulting in types being incorrectly treated as opaque types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-13 05:48:59 +00:00
Vincent Couvert
2625a29a96 Add lines(0) to avoid execution stopped by Scilab (Do you want to continue?)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-12 15:29:47 +00:00
Vincent Couvert
d33006076f Fix typo + test write access
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-12 06:50:15 +00:00