Commit graph

6,261 commits

Author SHA1 Message Date
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
William S Fulton
4ad8d458d2 Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
William S Fulton
b7057f7ae8 fix parentnode for %extend methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:47:24 +00:00
William S Fulton
aa47311a53 Fix #1505594 director objects not returned as director objects in %extend methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:42:21 +00:00
Olly Betts
ba768a2ecc 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/SWIG@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:04:41 +00:00
Olly Betts
3c48c3a7d3 Add testcase which fails with C# directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:00:13 +00:00
Olly Betts
1578c8cb88 Fix "_swig_property" fix to work with Python 2.1 as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 23:32:28 +00:00
William S Fulton
ddec395582 Revert last change, it breaks the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:47 +00:00
William S Fulton
51662d55f3 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/SWIG@9436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:25 +00:00
William S Fulton
b520e14991 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:40:07 +00:00
William S Fulton
dc788cd55b 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).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:39:54 +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
e11d78b88e jobject test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:35:17 +00:00
William S Fulton
85d52c2bff Remove confusing comments and add in extra clarification - Bug #1534931
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:32:15 +00:00
William S Fulton
7a1a57381e remove unnecessary check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:30:26 +00:00
William S Fulton
13e51400d5 gc terminology corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:29:56 +00:00
Olly Betts
d02caa7a28 Fix bug which effectively double-Delete()-ed a String *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 19:32:33 +00:00
Olly Betts
74f4fc0b40 Need to use .c_str() not ->c_str() with "const std::string &".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 11:44:08 +00:00