Commit graph

3,342 commits

Author SHA1 Message Date
Marcelo Matus
c29b0dfc7d add more simple cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:54:33 +00:00
Marcelo Matus
c75fc74e1c add __cplusplus case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:37:55 +00:00
Marcelo Matus
b3cbaae1cc add Bill's case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:34:28 +00:00
Marcelo Matus
3aba853aa0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:28:38 +00:00
Marcelo Matus
6f5b5d3b7c strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
a105903188 add patch 903150
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:35:28 +00:00
Marcelo Matus
5fc322f0b6 fix vector slice/del problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:31:31 +00:00
Marcelo Matus
4d599f988e make type methods template safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 02:29:18 +00:00
Marcelo Matus
e9c0244097 added overriding test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:52:01 +00:00
Marcelo Matus
e4e9a5e61b LookupTypePointer now as pyrun
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:20:34 +00:00
Marcelo Matus
085e7a8329 fix extend_placement.i case, ie extend overloding + member overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:17:40 +00:00
Marcelo Matus
ad892098e8 fix small problem with smart_ptr + protected +fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:49:02 +00:00
John Lenz
9dead7a11d 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@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
William S Fulton
9a8f7b5c44 features for constructor fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:33:28 +00:00
William S Fulton
f0de62548a redundant comment removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:32:27 +00:00
William S Fulton
e80495a29a 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@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
William S Fulton
41b4b2f033 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@6328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:15:45 +00:00
William S Fulton
f55ef1fa5f %extend and default args tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:01:23 +00:00
William S Fulton
e6d24a0ae4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:55:27 +00:00
Marcelo Matus
d9ffb83b6c fix bug report 1039688
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:43:34 +00:00
Marcelo Matus
5b5d8218f8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:10:47 +00:00
Marcelo Matus
29a01808ac fix test to work with old and new repr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:07:42 +00:00
Marcelo Matus
eb9cb5f591 fix empty throw() + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:06:56 +00:00
Marcelo Matus
677116eaa4 add new -features option, fix SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:02:50 +00:00
Marcelo Matus
d92387b42f remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:59:13 +00:00
Marcelo Matus
e16136ee00 add support for empty throw(), needed by director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:57:08 +00:00
Marcelo Matus
1c3c433c1c better documented autodoc levels
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 03:33:56 +00:00
Marcelo Matus
2792ac8752 several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00
William S Fulton
ee22931573 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 21:23:45 +00:00
William S Fulton
ef52cd2d79 new default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:58 +00:00
William S Fulton
dcb1861516 default args runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:53:11 +00:00
William S Fulton
9f35a1ddb4 default_args added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:50:50 +00:00
William S Fulton
0470907ec1 default argument tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:49:43 +00:00
William S Fulton
a7491d0ba3 code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:36:23 +00:00
William S Fulton
491a90c21b 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@6310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:32:28 +00:00
William S Fulton
0cd6151c77 code comment added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:29:45 +00:00
William S Fulton
e26dfd5f6a not a lot has changed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:28:39 +00:00
William S Fulton
ebc7b406dd 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@6307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:27:55 +00:00
William S Fulton
861773b4b2 New default arg wrapping support method added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:22:35 +00:00
William S Fulton
ad39b124c8 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@6305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:19:31 +00:00
William S Fulton
1535e5506e 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@6304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:08:25 +00:00
William S Fulton
73215c5558 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@6303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:05:59 +00:00
William S Fulton
88c0b425e2 minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:04:22 +00:00
William S Fulton
0e0bc56563 default typemap test added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:03:00 +00:00
William S Fulton
633b882ef7 fix so that swig wraps what is actually used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 20:00:51 +00:00
Marcelo Matus
a44038b71f added another case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:32:00 +00:00
Marcelo Matus
7757e31139 fix %extend+overload error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-04 03:18:57 +00:00
Marcelo Matus
391869c600 add autodoc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:59:18 +00:00
Marcelo Matus
5887fe6363 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:57:45 +00:00
Marcelo Matus
ed7f9ea925 modify test to show problem with %extend+overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 19:51:11 +00:00