Haoyu Bai
875d1668b6
fix merge problem: remove USE_VALGRIND because it is already moved to common.mk
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 11:38:10 +00:00
Haoyu Bai
3d8ddfc442
Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
...
This is the (incomplemete) log produced by svnmerge.py:
Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
Richard Boulton
761ef2b98f
[Python] Commit patch #2089149 : Director exception handling mangles
...
returned exception. Exceptions raised by Python code in directors
are now passed through to the caller without change. Also, remove
the ": " prefix which used to be added to other director exceptions
(eg, those due to incorrect return types).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-10 10:08:21 +00:00
William S Fulton
044895ef6e
Add new terminator attribute for the csin typemap for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-02 20:56:52 +00:00
William S Fulton
f396ecc619
fix runtime problem in Ruby std_vector example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:34:49 +00:00
Robert Stone
2ee3d98d79
rollback 10737:10749, this work is better left on a branch until it is
...
in support a significant feature enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-19 07:09:29 +00:00
Robert Stone
2728e5a606
initial steps to clean up perl5 class methods (primarily constructors).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-08-08 03:10:55 +00:00
William S Fulton
bbadd70330
Fix building of Tcl examples/test-suite on Mac OSX
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-19 22:45:54 +00:00
William S Fulton
4887e7be7c
Fix director typemaps for pointers so that NULL pointers are correctly marshalled to C#/Java null in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-14 21:09:23 +00:00
Olly Betts
70ff1c3005
[PHP] The deprecated command line option "-make" has been removed.
...
Searches on Google codesearch suggest that nobody is using it now
anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-04 01:02:22 +00:00
Olly Betts
3d6dcc3ce6
The operator& trick in allowexcept.i doesn't work for SWIG/PHP because the
...
generated code takes the address of the variable in the code in the "vinit"
section. So comment out the private operator& for PHP.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 22:00:01 +00:00
Olly Betts
a172b1d4b0
Fix check::classname() to compare case-insensitively and not try to interpolate objects into strings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 09:12:16 +00:00
Olly Betts
3d3bc01a2f
Rename php4*.swg to php*.swg.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:37:38 +00:00
Olly Betts
7dfd9aae31
WARN_* constants are user visible, so keep existing WARN_PHP4_* for
...
backward compatibility, but add preferred forms WARN_PHP_* and use
these ourselves.
Rename Lib/php4 to Lib/php, Source/Modules/php4.cxx to Source/Modules/php.cxx.
Add typemaps for const reference so Examples/test-suite/apply_signed_char.i
works.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-07-03 00:09:56 +00:00
Robert Stone
d5f16a867c
Hopefully this provides more portable values for Infinity and NaN in Perl.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-30 23:41:27 +00:00
William S Fulton
f8ae12fe4d
variable name changes to remove php keywords
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 20:11:46 +00:00
Olly Betts
8c287a1678
Fix cosmetic typo in string constant.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:42:29 +00:00
Olly Betts
5ea3e69bef
[PHP] Fix typemap_namespace.i to not try to copy a non-existent typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 00:33:08 +00:00
William S Fulton
67f0d42dfc
correct message display when running the partialcheck-test-suite make target
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:39:41 +00:00
William S Fulton
1d2856d820
fix partialcheck-test-suite and parallel make for r, chicken, tcl and php
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-23 20:26:07 +00:00
William S Fulton
3463ced917
various warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
William S Fulton
4bb0e64213
Fix virtual destructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 22:26:35 +00:00
William S Fulton
600deef43d
Fix Ruby C++ example dependencies in dsp files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 21:07:49 +00:00
William S Fulton
d798adbbb7
'byte' is already used in Ruby on windows, so use another keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 19:07:51 +00:00
William S Fulton
979ad76153
minor vc++ /W4 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 16:04:55 +00:00
William S Fulton
7a68c5c003
Lua example warning removal fixes for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:21:29 +00:00
William S Fulton
a1e23610d6
remove raise as keyword test- it conflicts with _raise in LIBCMT on windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 11:42:48 +00:00
William S Fulton
9c323f4a70
Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
Mark Gossage
de6d6ccaa8
[lua] bugfix 1938142 (bool& and bool* support)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-17 02:57:15 +00:00
Haoyu Bai
32617f7804
fixed keyword_rename.ctest tese case, caused by a mistake in Swig/naming.c
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 13:40:51 +00:00
Haoyu Bai
aec1473a6e
Added a test case for keyword renaming.
...
Now it works for Python in SWIG's -c++ mode,
but in C mode it doesn't work! (you can try with make keyword_rename.ctest)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-07 11:20:07 +00:00
William S Fulton
e6d50f5d65
Fix samename testcase for c# and java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-02 20:10:40 +00:00
Robert Stone
e64d75f280
The perl5 minherit runtime test will work better if the classes are
...
actually built under SWIGPERL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 21:04:06 +00:00
Robert Stone
072ee51942
run test cases in the Perl set by the --with-perl5 configure option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-26 20:09:56 +00:00
William S Fulton
f06222b993
Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
e9a621ca5e
Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:25:10 +00:00
William S Fulton
d51100da4f
Use checked exceptions in director typemaps throws attribute as it tests more
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 20:56:48 +00:00
William S Fulton
7d4916b938
fix macro clash with %mangle in swigmacros.swig so that test can run in c++ mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 21:06:13 +00:00
Olly Betts
b094149eb8
Fix more comment typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-19 20:36:00 +00:00
William S Fulton
b18861a374
Correct checked exceptions specified in the throws typemap for javadirectorin and javadirectorout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:09:08 +00:00
William S Fulton
528ea7a313
Fix SF #1943608 - substitution in %contract.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-11 20:25:12 +00:00
Olly Betts
182debe39a
Fix case of more class checks.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:56:45 +00:00
Olly Betts
32db1a5eb8
Fix comment typo.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:01:42 +00:00
Olly Betts
cdda73830b
Fix case of class names in more check::classes() calls.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 17:01:16 +00:00
William S Fulton
0df0a87981
rename package testcase to packageoption as package is a Java keyword
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-10 10:36:35 +00:00
William S Fulton
efa0db04c6
Fix wrapping of char * member variables (or any types with a memberin typemap) when using allprotected mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 21:41:46 +00:00
Olly Betts
d967ef74bd
Fix testsuite checks to match PHP5 wrapping.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 12:46:40 +00:00
Olly Betts
136f2c7041
SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4 is
...
essentially obsolete now, so we care much more about solid PHP5
support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-09 11:26:37 +00:00
William S Fulton
b0ecf14e31
Fix wrapping of overloaded protected methods when using allprotected mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-07 20:59:00 +00:00
William S Fulton
d67d79e0dc
shadow->proxy change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:42:38 +00:00