Commit graph

6,422 commits

Author SHA1 Message Date
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
William S Fulton
36a5852252 Hash and List examples added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-05 21:14:49 +00:00
William S Fulton
1c69920257 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:35:04 +00:00
William S Fulton
19492c7833 Test virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:45 +00:00
William S Fulton
f62ef6242d Fix virtual conversion operators for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
055978442b Fix some bugs since change of vtable to use List instead of Hash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:32:47 +00:00
Olly Betts
7c64a5ccaa Eliminate $ext in the generated php wrapper (namespace pollution bad!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 15:53:07 +00:00
Olly Betts
a85443f0cc 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@9407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:54:39 +00:00
Olly Betts
a908d9d50b 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@9406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 13:25:38 +00:00
Olly Betts
e66bd43f1c Remove some superfluous semicolons from after function definitions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:43:35 +00:00
Olly Betts
adf46e4378 Fix #1569587 for PHP. Don't use sizeof() except with string literals. Change
some "//" comments to "/* */" for portability.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 12:40:04 +00:00
William S Fulton
5c3a3b0e28 dos2unix to remove ctrl-M chars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:06:34 +00:00
William S Fulton
bc981a68ae ignores on templated class methods added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:04:35 +00:00
William S Fulton
efb1892b33 director error message fixes to correctly generate templated class names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +00:00
Mark Gossage
8db9c9a820 updated to changes file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:22:17 +00:00
Mark Gossage
628bc386cc Partial Fix #1569587. The type is now correct, but the name is still not correct.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 05:21:02 +00:00
Olly Betts
767e625599 Back out fix for #1474463 since the problems the fix causes are worse than
the problem fixed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:57:12 +00:00
Olly Betts
a0800f4af7 Remove some dead code; tidy up some formatting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 04:52:51 +00:00
Marcelo Matus
a8d7866a36 Fix %ignore + %copyctor as reported in #1486281
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 03:29:33 +00:00
William S Fulton
bd2055c3b6 remove last checkin which isn't used anywhere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:27:34 +00:00
William S Fulton
7652a81cf5 remove unused code which won't work after the director vtable mods to use a List instead of a Hash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 23:00:12 +00:00
William S Fulton
761373ad42 Directors are output in the order in which they are declared in the C++ class rather than in some pseudo-random order.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:52:31 +00:00
William S Fulton
1596cf1753 Fix uncompileable code when overloaded methods are used with the director:except feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 22:52:15 +00:00