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
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
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
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
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
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
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
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
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
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
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
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
William S Fulton
61e9073e07
Add missing return value in testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-03 20:47:45 +00:00
William S Fulton
c7b4336a6c
add missing return to testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-03 16:47:30 +00:00
William S Fulton
378ce60b49
Lua warning fix since previous commit changed max to maximum
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-03 15:08:03 +00:00
William S Fulton
70c9dc5dcc
Fix warning running under Go
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-03 15:01:24 +00:00
William S Fulton
3219746776
Apply patch #3066958 from Mikael Johansson to fix default smart pointer handling when the smart pointer contains both a const and non-const operator->.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-10-03 13:12:00 +00:00
William S Fulton
5ff6553319
testcase warning suppression
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-28 17:37:33 +00:00
William S Fulton
31af118c41
Move Swig_locator from scanner.c to cscanner.c. Fix file and line error/warning reporting fixes where SWIG macros are used within {} braces (where the preprocessor expands macros), for example macros within %inline {...} and %fragment(...) {...} and nested structs. Basically anything that results ina call to skip_balanced() in the parser/preprocessor.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-24 22:13:13 +00:00
William S Fulton
b01277a19b
Various inherited class warning/error line number fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-18 01:14:21 +00:00
Vadim Zeitlin
f89181d4c8
Fix the rename_pcre_encoder unit test for Python.
...
Due to a bug in the way %rename() directives without a name currently work,
the second %rename in rename_pcre_encoder.i overrides the first one and the
function wxDoSomething() is not renamed to DoSomething() any more. Remove the
test for this renaming that doesn't work to at least let the rest of the test
to pass.
Also test that SetXXX() functions from the .i file really are renamed to
putXXX() as expected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-11 11:44:26 +00:00
William S Fulton
efb9090a87
Fix correct line number reporting in errors/warnings when a macro definition ends with '/' and it is not the end of a C comment - swig.swg has some of these macro definitions.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-11 11:02:18 +00:00
William S Fulton
f82811dbcd
Fix incorrect line number reporting in errors/warnings after parsing macro invocations with parameters given over more than one line.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-10 23:44:27 +00:00
William S Fulton
4435fe4f4a
Update expected error/warning results since last commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-10 23:39:03 +00:00
William S Fulton
e3092a6150
Remove java specifics from testcase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-10 06:40:42 +00:00
William S Fulton
122bc852f9
Fix #2149523 - Incorrect line number reporting in errors after parsing macros. Remove extraneous extra line in preprocessed output which would sometimes lead to error/warning messages two lines after the end of the file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-10 06:08:45 +00:00
Olly Betts
f6cd7912e3
Revert change inadvertently included in previous commit.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-08 02:45:23 +00:00
Olly Betts
52819796ca
Fix a couple of typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-08 02:43:32 +00:00
Olly Betts
a25ccbf58b
[PHP] Fix handling of OUTPUT typemaps (Patch from Ryan in SF#3058394).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-08 02:40:56 +00:00