Commit graph

3,208 commits

Author SHA1 Message Date
William S Fulton
bbb97f8e6d fixes for the new default argument wrapping in director constructors and virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:10:24 +00:00
William S Fulton
37863d349b test for default argument in director virtual methods and constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:06:29 +00:00
Marcelo Matus
963a72613b add destructor reprotected/desprotected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 19:07:40 +00:00
Marcelo Matus
0dd9bbc587 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:35:19 +00:00
Marcelo Matus
331ace4bf8 fix comment to work with old C compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:34:51 +00:00
Marcelo Matus
200111d52d more cases, and C/C++ compatibility
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:32:03 +00:00
Marcelo Matus
2feaa15679 add basic overloading test + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 17:07:30 +00:00
Marcelo Matus
d84772ce6f fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
e0d84d4be9 check again large typequery
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:47:46 +00:00
Marcelo Matus
1db15cece4 support C/C++ cases, using __cplusplus
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 09:33:28 +00:00
Marcelo Matus
11a45c751d add more simple cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:54:33 +00:00
Marcelo Matus
97f01d158f add __cplusplus case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:37:55 +00:00
Marcelo Matus
9742e2ecca add Bill's case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:34:28 +00:00
Marcelo Matus
66a8f6d05c fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:28:38 +00:00
Marcelo Matus
c3b41dd959 strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
9303e3af22 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
c6f20f2306 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
a0dd20b4b7 make type methods template safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:29:18 +00:00
Marcelo Matus
d9de0f4d36 added overriding test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:52:01 +00:00
Marcelo Matus
0b3f8bf2ce LookupTypePointer now as pyrun
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:20:34 +00:00
Marcelo Matus
ed25a4df08 fix extend_placement.i case, ie extend overloding + member overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:17:40 +00:00
Marcelo Matus
d4add71b60 fix small problem with smart_ptr + protected +fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:49:02 +00:00
John Lenz
6ed2f7e90e New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
William S Fulton
19ea3b5242 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
ff32791e3d redundant comment removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:32:27 +00:00
William S Fulton
60d5d3c855 remove symbol fix for when the symbol/function is overloaded. Fixes some obscure %extend bugs when the methods are overloaded or have default arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
William S Fulton
06989d7a7b revoke previous %extend+overload fix.
It might need to come back to fix templates. Not sure yet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:15:45 +00:00
William S Fulton
2b742879a0 %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
William S Fulton
8c081cbd4b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:55:27 +00:00
Marcelo Matus
78293bbeee fix bug report 1039688
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:43:34 +00:00
Marcelo Matus
55662e3706 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:10:47 +00:00
Marcelo Matus
dfe230354c fix test to work with old and new repr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:07:42 +00:00
Marcelo Matus
48d1b19bb7 fix empty throw() + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:06:56 +00:00
Marcelo Matus
a3cea612fe add new -features option, fix SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:02:50 +00:00
Marcelo Matus
e84e28b276 remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:59:13 +00:00
Marcelo Matus
398b4d6f77 add support for empty throw(), needed by director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:57:08 +00:00
Marcelo Matus
9455a03257 better documented autodoc levels
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 03:33:56 +00:00
Marcelo Matus
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
46dfd88e25 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 21:23:45 +00:00
William S Fulton
9f3ab6c671 new default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:58 +00:00
William S Fulton
ef4a61258a default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:11 +00:00
William S Fulton
59a4f48e9e default_args added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:50:50 +00:00
William S Fulton
7a339354ea default argument tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:49:43 +00:00
William S Fulton
0b11a02ddf code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:36:23 +00:00
William S Fulton
c4757bbbd4 New default argument wrapping approach. This adds default argument support for statically typed languages, fixes wrapping of default arguments that are non-public plus fixes other bugs where SWIG could not or failed to correctly lookup up the default value in the symbol table.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:32:28 +00:00
William S Fulton
dddf810a71 code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:29:45 +00:00
William S Fulton
dce86404a1 not a lot has changed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:28:39 +00:00
William S Fulton
656e5c61f3 mods to use "default" typemap instead of default arguments for new default argument wrapping approach. Mainly %extend mods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:27:55 +00:00
William S Fulton
10c00a9e45 New default arg wrapping support method added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:22:35 +00:00
William S Fulton
fa2a384f71 New default argument wrapping approach. This adds default argument support for statically typed languages, fixes wrapping of default arguments that are non-public plus fixes other bugs where SWIG could not or failed to correctly lookup up the default value in the symbol table.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:19:31 +00:00