Commit graph

6,278 commits

Author SHA1 Message Date
William S Fulton
01cc0b2bd8 Fix %csmethodmodifiers for smart pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 21:59:33 +00:00
William S Fulton
3f0d00a5d3 - pgcpp fix for const methods
- DeleteLocalRef removed from end of director methods - it causes crashes on Solaris


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 21:58:23 +00:00
John Lenz
206e5c64af Patch from Chris Shoemaker to clean up some warnings in the guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-30 04:44:46 +00:00
William S Fulton
5167d7f3ec -nopgcpp commandline option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:36:24 +00:00
William S Fulton
a1a8cda04e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:35:24 +00:00
William S Fulton
4a7ab5a881 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:09:16 +00:00
William S Fulton
304239f16b Add premature garbage collection prevention parameter for Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:08:26 +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
eb142ad08a Add premature garbage collection prevention parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:05:23 +00:00
William S Fulton
079c7b4be1 perl warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:49:11 +00:00
William S Fulton
d668f54a14 Fix %ignore director constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:42:40 +00:00
William S Fulton
98de16a6d5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:52:00 +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
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
87094853d9 new test to test smart pointers with virtual methods and hidden methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:34:37 +00:00
William S Fulton
845d50939c warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:33:38 +00:00
William S Fulton
99bb3e07b7 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:29:53 +00:00
William S Fulton
016db92c82 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/SWIG@9475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:29:27 +00:00
William S Fulton
b0f01fbc6c add in missing return values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:16:29 +00:00
William S Fulton
605ac2432f Fix make install when using Solaris make
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 20:15:26 +00:00
Mark Gossage
2af7e4b447 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/SWIG@9472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-24 06:26:48 +00:00
William S Fulton
7d7a9a387e %ignore and virtual director methods fix - problem reported by Roy Sutton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
091efa9b7c $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/SWIG@9470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:57:38 +00:00
William S Fulton
e7e1be0362 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:55:11 +00:00
William S Fulton
7938160f31 document directorout typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:49 +00:00
William S Fulton
24af2d1b11 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/SWIG@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
4f85aa29de remove test - explicitcall feature was removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:51:15 +00:00
William S Fulton
37a08a2b03 remove unused variable in generated director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:49:44 +00:00
William S Fulton
835546c4e5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:27:54 +00:00
William S Fulton
dd6a9bd27f test %apply char *, char[], char[ANY] unsigned char pointer/arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:27:37 +00:00
William S Fulton
cff71a3716 Fixes for %apply char *, char[], char[ANY] to other types, like unsigned char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:35:19 +00:00
William S Fulton
83456a1e65 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/SWIG@9461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 21:08:49 +00:00
Mark Gossage
eedf0d5469 Removed #include <string> & <iostream> which stopped compilation under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-18 02:37:48 +00:00
William S Fulton
9b6234d946 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:49:22 +00:00
William S Fulton
9bcdb69ab3 better English in messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:47:52 +00:00
William S Fulton
ff75eef478 const size_t& typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:43:40 +00:00
William S Fulton
88ade814f2 const ref size_t added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:42:11 +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
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
William S Fulton
a49c872579 replace attribute in javabase typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:05:49 +00:00
Surendra Singhi
dc46fc0cc0 Patch 1560983.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-15 12:04:39 +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
Mark Gossage
5149b7b4f3 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/SWIG@9450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-14 07:15:52 +00:00
William S Fulton
eb6d0b5c02 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:49:34 +00:00
William S Fulton
9255314967 clarify nested namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:47:51 +00:00
William S Fulton
923df5c408 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/SWIG@9447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:47:01 +00:00
William S Fulton
9a1bd4a9e0 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/SWIG@9446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:44:32 +00:00
William S Fulton
271885b0e5 Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:12:36 +00:00
William S Fulton
1be9e42787 Avoid potential race conditions on the Dispose() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 23:10:18 +00:00