Commit graph

6,291 commits

Author SHA1 Message Date
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
William S Fulton
54350ea797 Fix buffer overrun reported by M Edward Borasky
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-08 21:55:42 +00:00
Olly Betts
007af64690 Define WARN_PHP4_UNKNOWN_PRAGMA.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-08 18:14:52 +00:00
William S Fulton
ab42b7092b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:04:57 +00:00
William S Fulton
d102ce79b2 fix include within a structure - #1162194
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 23:02:45 +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
01ede93b1c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:51:52 +00:00
William S Fulton
3ab253b850 Fix #1450661. String_seek truncating strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:48:00 +00:00
William S Fulton
6d2a2b630d fix declaration to match implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 21:39:51 +00:00
Olly Betts
61b1372996 Covert a stderr message to a proper SWIG warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 11:08:28 +00:00
Olly Betts
110a537445 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/SWIG@9417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 10:30:44 +00:00
Mark Gossage
f9826a8046 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:59 +00:00
Mark Gossage
0ef981882d [Lua] Fix #1569587. The name is now correct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-06 03:22:21 +00:00
William S Fulton
dedd667655 Hash and List examples added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-05 21:14:49 +00:00
William S Fulton
de3f93598f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:35:04 +00:00
William S Fulton
d0c2731764 Test virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:45 +00:00
William S Fulton
be89441352 Fix virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
1137bf3ec8 Fix some bugs since change of vtable to use List instead of Hash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:32:47 +00:00
Olly Betts
2788a39211 Eliminate $ext in the generated php wrapper (namespace pollution bad!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 15:53:07 +00:00
Olly Betts
122b0cbd04 The wrapper function filtering should only happen for -php4 without -noproxy.
Further simplify the property getter/setter code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:54:39 +00:00
Olly Betts
fa8bf1b870 Make the char we use to instantiate single character constants static, as
PHP doesn't appear to take a copy.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:25:38 +00:00