Commit graph

160 commits

Author SHA1 Message Date
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
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
William S Fulton
26c0f42887 Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:41:27 +00:00
William S Fulton
fd851b9380 Add DetachCurrentThread back in for directors. The problems occuring on Solaris look like they were jdk bugs (1.4.2 and older)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:40:01 +00:00
William S Fulton
54200cc7e8 shared_ptr memory leak testing. Make increment and decrement counts thread safe. Fix template test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:56:31 +00:00
William S Fulton
12919429ad shared_ptr typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 00:28:11 +00:00
William S Fulton
7199cf2ef0 Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +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
e4bade15f3 fixes to use parallel make when running the examples and test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:26:54 +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
William S Fulton
fd03218011 pre, post, cshin, pgcppname attribute tests for javain/csin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:48:38 +00:00
William S Fulton
6efec03cda add in global array variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-02 21:37:13 +00:00
William S Fulton
1f76e733a9 test %array_class and %array_functions of non primitive type added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-02 21:26:47 +00:00
William S Fulton
936b1b25ad test %apply pointer to ARRAYSOFCLASSES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-19 21:29:48 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
William S Fulton
970eef034b disable this test case for now - it doesn't work as the fix in director.swg breaks directors on some machines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-13 22:14:54 +00:00
William S Fulton
3883cb262d test multiple calls for const string& return values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 21:55:24 +00:00
William S Fulton
9f2e36214d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 22:31:42 +00:00
William S Fulton
290dd7e956 runtime test for turning multiple inherited classes into Java interfaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 22:10:34 +00:00
William S Fulton
ef0b9a8ba2 Add premature garbage collection prevention parameter test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:06:35 +00:00
William S Fulton
d06e64c468 Fix for some older jdks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:47:36 +00:00
William S Fulton
7d31be5880 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:45:37 +00:00
William S Fulton
191e40d4f9 size_t tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:41:39 +00:00
William S Fulton
127e793e99 unsigned long long test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:36:15 +00:00
William S Fulton
d277c06bdc test include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 22:59:22 +00:00
William S Fulton
eae32a8da7 test virtual operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 20:15:24 +00:00
William S Fulton
d096cc1613 %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
7d2ce752ac *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:19:00 +00:00
William S Fulton
fadfebf367 - explicitcall feature removed.
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 21:16:34 +00:00
William S Fulton
0dcd061841 director base method call tests to check recursive director method problem has gone away
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:58:09 +00:00
William S Fulton
b4c0229545 same Java class names used in different tests breaking the test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:56:46 +00:00
William S Fulton
425faf1666 director thread runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:32:19 +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
8ffbfcc9bc More comprehensive test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-27 22:25:25 +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
514c5b04e5 comprehensive director runtime tests based on C# version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:09:46 +00:00
William S Fulton
37005baff5 explicitcall tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 20:55:10 +00:00
William S Fulton
a3a7b4df66 update to use proxy terminology
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 21:17:30 +00:00
William S Fulton
e037db38fd Fixes for autoconf-2.59d (2.60 beta)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:15 +00:00
William S Fulton
2d24918a97 ensure %apply with char*, unsigned char* and signed char* works
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
Marcelo Matus
9a711d866f add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:16:26 +00:00
Marcelo Matus
51ff0cf264 add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-10 07:25:21 +00:00
William S Fulton
2df53312a3 add in const std::string variable tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 14:47:38 +00:00
William S Fulton
8629d7f513 add in check for array inputs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 22:18:44 +00:00
William S Fulton
e7859d3bbd More robust BigInteger runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 23:11:17 +00:00
William S Fulton
8e762154b8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 00:59:46 +00:00
William S Fulton
e0907e37a3 Specify classpath which is needed should the CLASSPATH env variable be set
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 19:54:27 +00:00
William S Fulton
278d0f91f7 call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:09:33 +00:00