Commit graph

3,320 commits

Author SHA1 Message Date
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
Marcelo Matus
c48d9ff200 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:16:50 +00:00
Marcelo Matus
3b006a74c0 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@6293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:11:07 +00:00
Marcelo Matus
0ca860773f fix minor problem when defining __cplusplus as 1, empty definition is ok.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:09:29 +00:00
Marcelo Matus
415420c4c4 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@6291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:01:17 +00:00
Marcelo Matus
b501fb8521 replacing SWIGSTATIC(a) by SWIGINTERN a
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 20:15:46 +00:00
Marcelo Matus
5edce7c150 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@6289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 18:44:48 +00:00
Marcelo Matus
afed1d4126 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@6288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 17:54:38 +00:00
Marcelo Matus
6c80ef2f7b add runme test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:31:30 +00:00
Marcelo Matus
a59ceff827 fix bitfield with expr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 02:11:40 +00:00
Marcelo Matus
eb387c59fc CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:44:24 +00:00
Marcelo Matus
3ae15c245c better error messages, more comments, clean up for the next major modifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:43:17 +00:00
Marcelo Matus
ff5136e3a4 in/out fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:42:01 +00:00
Marcelo Matus
d3534ecc5a added more elements from std
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:39:15 +00:00
Marcelo Matus
9ae33f3c4d add callback and inout tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-02 01:33:38 +00:00
Marcelo Matus
6b9fdc6c86 fix fnc_ptr wrap for functions with ref,enums,etc
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-01 21:45:28 +00:00
Marcelo Matus
3023f3aad7 fix %callback and add %pythoncallback
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-01 21:44:26 +00:00
William S Fulton
9f158cbd5d Just fixed comment (strncmp is ANSI C so will be present on all systems as SWIG requires an ANSI compiler)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 20:17:36 +00:00
William S Fulton
80affed98f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:55:19 +00:00
William S Fulton
5d9631bf20 oops, SWIGIMPORT changed to SWIGIMPORTED
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:53:33 +00:00
William S Fulton
a4c26ef742 SWIGIMPORT macro documented
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:39:40 +00:00
William S Fulton
4f439bfe7c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:36:53 +00:00
William S Fulton
bddf02154e Bill Clarke patch: fix to ensure SWIGIMPORT always defined for %import and new warning when using -importall and -includeall together
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:35:05 +00:00