Commit graph

3,191 commits

Author SHA1 Message Date
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
William S Fulton
ff38a4e4ef mods to use "default" typemap instead of default arguments for new default argument wrapping approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:08:25 +00:00
William S Fulton
5b33b2f08f default arguments added to overloaded methods
Fix so that the test uses the correct module!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:05:59 +00:00
William S Fulton
571292260e minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:04:22 +00:00
William S Fulton
c9258ba752 default typemap test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:03:00 +00:00
William S Fulton
bc2722fc09 fix so that swig wraps what is actually used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:00:51 +00:00
Marcelo Matus
8dbc3dd369 added another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:32:00 +00:00
Marcelo Matus
2e9ef019df fix %extend+overload error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:18:57 +00:00
Marcelo Matus
a81bce4fd7 add autodoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:59:18 +00:00
Marcelo Matus
12e6cdc4f0 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:57:45 +00:00
Marcelo Matus
f4b9b5cd02 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:51:11 +00:00
Marcelo Matus
fc489a59de *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:16:50 +00:00
Marcelo Matus
ff794345fe added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:11:07 +00:00
Marcelo Matus
7bba14e197 fix minor problem when defining __cplusplus as 1, empty definition is ok.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:09:29 +00:00
Marcelo Matus
124253d698 added the highly expected Robin's docstring [atch, plus some fixes and extensions. see autodoc.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
e46c80edf8 replacing SWIGSTATIC(a) by SWIGINTERN a
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 20:15:46 +00:00
Marcelo Matus
2c962d36f2 isolating the pure 'runtime' code in pyrun.swg, the API declarations are now in pyapi.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 18:44:48 +00:00
Marcelo Matus
983d4abe42 add John Lenz patch for avoiding the runtime library, but allowing the old approach to coexist
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 17:54:38 +00:00