Commit graph

6,466 commits

Author SHA1 Message Date
William S Fulton
2cf3de20ce Add premature garbage collection prevention parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:05:23 +00:00
William S Fulton
c7f8fca82e perl warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:49:11 +00:00
William S Fulton
5415b1da20 Fix %ignore director constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:42:40 +00:00
William S Fulton
700068ac17 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:52:00 +00:00
William S Fulton
9d73713604 new test to test smart pointers with virtual methods and hidden methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:50:38 +00:00
William S Fulton
a62ada604b Fix for some older jdks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:47:36 +00:00
William S Fulton
3da03c575b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:45:37 +00:00
William S Fulton
352bcb7d64 new test to test smart pointers with virtual methods and hidden methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:34:37 +00:00
William S Fulton
98ba2f78c5 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:33:38 +00:00
William S Fulton
95b1b6b71d no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:29:53 +00:00
William S Fulton
5864291722 Fix smart pointer wrappers. The virtual/override/new keyword is not generated for each method as the smart pointer class does not mirror the underlying pointer class inheritance hierarchy. SF #1496535
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:29:27 +00:00
William S Fulton
1fdb993704 add in missing return values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:16:29 +00:00
William S Fulton
3b8e86948d Fix make install when using Solaris make
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:15:26 +00:00
Mark Gossage
fec2f8f9b7 added support for native methods & member function pointers.
fixed test cases arrays_dimensionless & cpp_basic. Added new example (functor).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 06:26:48 +00:00
William S Fulton
8d2830b228 %ignore and virtual director methods fix - problem reported by Roy Sutton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
45cf275d9b $result expansion in directorout typemaps for consistent behaviour across all director languages
$result expands to c_result now instead of result like other typemap languages


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:57:38 +00:00
William S Fulton
ff45b91502 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:55:11 +00:00
William S Fulton
74c8c6db4d document directorout typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:49 +00:00
William S Fulton
3c24cacfbd consistent directout typemaps for all languages - $result used instead of $1 in C# and Java now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
e4c0410ebc remove test - explicitcall feature was removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:51:15 +00:00
William S Fulton
ed1eaefee4 remove unused variable in generated director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:49:44 +00:00
William S Fulton
892536949a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:27:54 +00:00
William S Fulton
4e8fddcea2 test %apply char *, char[], char[ANY] unsigned char pointer/arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:27:37 +00:00
William S Fulton
1247cd7cc5 Fixes for %apply char *, char[], char[ANY] to other types, like unsigned char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:35:19 +00:00
William S Fulton
243edfa202 Remove -Wdeclaration-after-statement warning that new versions of perl (5.8.8) emit for c++ compilation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:08:49 +00:00
Mark Gossage
c42329ae63 Removed #include <string> & <iostream> which stopped compilation under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-18 02:37:48 +00:00
William S Fulton
1ad224a461 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:49:22 +00:00
William S Fulton
fd9fd64647 better English in messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:47:52 +00:00
William S Fulton
45956b1728 const size_t& typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:43:40 +00:00
William S Fulton
a425e7dc62 const ref size_t added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:42:11 +00:00
William S Fulton
d871aff8df size_t tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:41:39 +00:00
William S Fulton
cc56520503 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@9454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:11:30 +00:00
William S Fulton
4a3624203f replace attribute in javabase typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:05:49 +00:00
Surendra Singhi
c9a9af9c9c Patch 1560983.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-15 12:04:39 +00:00
John Lenz
a315c315fb - 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@9451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 08:19:27 +00:00
Mark Gossage
f073625488 fixed several test cases
added long long support
changed typemaps to use SWIG_ConvertPtr rather than SWIG_MustGetPointer
started spliting lua.swg into smaller parts to make it neater


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 07:15:52 +00:00
William S Fulton
7e1a4d39be *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:49:34 +00:00
William S Fulton
5bc3f4b940 clarify nested namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:47:51 +00:00
William S Fulton
dcd38c5f02 Better control on what the C# base class is (overriding the real C++ base class with the csbase 'replace' typemap attribute)
Reorganise the code that implements namespaces


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:47:01 +00:00
William S Fulton
8583eafef9 Better control on what the java base class is (overriding the real C++ base class with the javabase 'replace' typemap attribute)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:44:32 +00:00
William S Fulton
fe4454192c Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:12:36 +00:00
William S Fulton
ea6f44edd2 Avoid potential race conditions on the Dispose() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:10:18 +00:00
William S Fulton
2780b5ee3b Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
William S Fulton
32a59010e4 fix parentnode for %extend methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:47:24 +00:00
William S Fulton
bcfab911bd Fix #1505594 director objects not returned as director objects in %extend methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:42:21 +00:00
Olly Betts
e92b336fc5 Reapply the valid half of my previous patch (which fixes the case I
just added to the testsuite and doesn't break anything else).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:04:41 +00:00
Olly Betts
12ccbb065d Add testcase which fails with C# directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:00:13 +00:00
Olly Betts
5090f60fa8 Fix "_swig_property" fix to work with Python 2.1 as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 23:32:28 +00:00
William S Fulton
fa25ee685c Revert last change, it breaks the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:47 +00:00
William S Fulton
5fed507b72 Fix #1238798 - Directors using unsigned long long or any other type
marshalled across the JNI boundary using a Java class (where the jni typemap
contains jobject).
Fix variable name clash in unsigned long long directorin typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:25 +00:00