Commit graph

227 commits

Author SHA1 Message Date
William S Fulton
a604f46593 Add the strip encoder patch from Anatoly Techtonik #2130016
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 22:52:26 +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
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
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
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
Jason Stewart
bea5f1d47b package option for perl5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 13:12:45 +00:00
William S Fulton
9976dc9d75 Add allprotected mode for wrapping protected members when using directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
Xavier Delacour
b0921513e0 Move null_pointer.i to common.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 15:48:56 +00:00
Xavier Delacour
2ad4024977 Move samename test to common.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-12 13:49:01 +00:00
Jason Stewart
5d625e950d committed patch for bug SWIG-1937031 ; moved operator_overload_break back to working tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-08 04:04:37 +00:00
William S Fulton
929f68b069 Add Lua pointer reference typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-07 20:06:37 +00:00
William S Fulton
69d6ce4f33 Fix shared_ptr typemaps for use with %pythonnondynamic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-04 23:29:59 +00:00
Jason Stewart
ad93f971ca new operator overload tests to locate bugs in pre- increment/decrement operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-03 11:48:41 +00:00
William S Fulton
f0a4145cb3 Add shared_ptr test to regular test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 23:07:30 +00:00
William S Fulton
9029bae5e0 Move funcptr.i from being an R only test to a test for all languages. Modify the test to test function pointers with no arguments, which is a problem for R.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 22:41:34 +00:00
William S Fulton
22e3a7b009 Additions to %types so that a user can specify the code to go into the casting / conversion function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-31 22:48:24 +00:00
William S Fulton
da509bd641 Fix 1832613 - template function pointer typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-16 20:55:43 +00:00
William S Fulton
b79ebf39fa Fix #1819847 %template with just one default template parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 19:00:15 +00:00
William S Fulton
8f09d00bb0 Fix template template parameters with default arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-06 22:35:43 +00:00
William S Fulton
d953b70751 add missing testcase to test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:46:57 +00:00
William S Fulton
b772aa2e24 test exception_partial_info only in Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 21:36:43 +00:00
John Lenz
4ace915a56 Chicken test suite now runs with no errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +00:00
William S Fulton
a43e50ac07 fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
ede8b8c87a Remove cvs $Header$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +00:00
John Lenz
a33151a48f Added test suite entry for Bug #1735931
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 17:04:24 +00:00
William S Fulton
9b79e76d93 Fix ignore on implicit constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-07 22:10:03 +00:00
William S Fulton
28713a5da4 correct template_methods testname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:43:37 +00:00
William S Fulton
3fd28bf45c Correct behaviour for templated methods used with %rename or %ignore and %template()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:42:19 +00:00
William S Fulton
f5bdd056f7 Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
6a13675c16 Fix smart pointers and member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-01 00:07:23 +00:00
William S Fulton
394eb13737 extend_variable is broken for most languages - move to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:28:14 +00:00
William S Fulton
ec8d13b467 more thorough %rename tests including conversion operator %rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 00:05:32 +00:00
Olly Betts
07ae5a2aca Don't treat `restrict' as a reserved identifier in C++ mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 16:42:00 +00:00
William S Fulton
fc311a4235 More %extend tests - especially derived classes and $self tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-13 22:32:42 +00:00
William S Fulton
9d06b43af1 new test to test smart pointers with virtual methods and hidden methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:50:38 +00:00
William S Fulton
e1eb8a266c javabase/csbase typemaps mods to support morphing C++ abstract base classes into Java/C# interfaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:11:30 +00:00
John Lenz
56904f30d0 - Fix SF bug 1573892
- Minor change to chicken to make it work with version 2.5rc1
- add externaltest to chicken and guile modules


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
William S Fulton
ccf9423225 Ruby director overload and director:except testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:29:37 +00:00
William S Fulton
ebffa5213f testcase for -fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-28 21:53:23 +00:00
William S Fulton
97e9f07120 #1506840 testcase - directors with virtual extended methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 00:00:58 +00:00
William S Fulton
05556f43b8 Director %ignore test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:39:50 +00:00
William S Fulton
e5bb501b19 explicitcall feature removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:34:05 +00:00
William S Fulton
a8bbf12c75 director_thread added to common.mk and removed from python/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:11:24 +00:00
William S Fulton
18715d1471 %apply signed char test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:22:12 +00:00
William S Fulton
7c2c142a68 new director test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-12 20:18:08 +00:00
William S Fulton
b70861ebdd test directors with 2 same name classes in different namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:08:45 +00:00
William S Fulton
b775891bc6 $symname test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:24:36 +00:00
William S Fulton
4104f46255 explicitcall tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:10:34 +00:00
Joseph Wang
ef80a4f59a Committing R-SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00
William S Fulton
def1d35411 test for partial exception class information as reported by Michael Kaplan
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 21:14:21 +00:00