Commit graph

6,444 commits

Author SHA1 Message Date
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
William S Fulton
6a946e6dc4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:40:07 +00:00
William S Fulton
e4e5063d3c 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@9434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:39:54 +00:00
William S Fulton
66e0877ead unsigned long long test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:36:15 +00:00
William S Fulton
985f6ba47c jobject test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:35:17 +00:00
William S Fulton
26548e47fc Remove confusing comments and add in extra clarification - Bug #1534931
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:32:15 +00:00
William S Fulton
ded2c8f599 remove unnecessary check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:30:26 +00:00
William S Fulton
b8f58b1707 gc terminology corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:29:56 +00:00
Olly Betts
385eb1d1f5 Fix bug which effectively double-Delete()-ed a String *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 19:32:33 +00:00
Olly Betts
1842ced9b5 Need to use .c_str() not ->c_str() with "const std::string &".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 11:44:08 +00:00
William S Fulton
eb415e97db Fix buffer overrun reported by M Edward Borasky
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-08 21:55:42 +00:00
Olly Betts
a3efb5c4f7 Define WARN_PHP4_UNKNOWN_PRAGMA.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-08 18:14:52 +00:00
William S Fulton
ef0e803611 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:04:57 +00:00
William S Fulton
5b549281be fix include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:02:45 +00:00
William S Fulton
507961cfab test include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 22:59:22 +00:00
William S Fulton
bdd66b813e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:51:52 +00:00
William S Fulton
cda4931255 Fix #1450661. String_seek truncating strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:48:00 +00:00
William S Fulton
9b9c0cf972 fix declaration to match implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:39:51 +00:00
Olly Betts
f42f9ce303 Covert a stderr message to a proper SWIG warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 11:08:28 +00:00
Olly Betts
63a673050a Clean up the old disabled "script accessible destructor" code. I don't think
we'll want it again, but if we do we can retrieve it from CVS.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 10:30:44 +00:00
Surendra Singhi
0a6497b482 added names of contributors of cffi module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 06:39:34 +00:00
Mark Gossage
4619eb44ac updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:59 +00:00
Mark Gossage
be9aaba2b2 [Lua] Fix #1569587. The name is now correct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:21 +00:00