Marcelo Matus
7ae01e08ac
add the -olddefs flag for python, I am sure someone will ask for it...
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 00:39:25 +00:00
Marcelo Matus
bb5827efba
fix duplicate method definitions when using -fastproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:47:21 +00:00
Marcelo Matus
9078778009
fix for directors + empty vtables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:49:34 +00:00
Marcelo Matus
62ba3024e2
fix fastproxy for methods using kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +00:00
Marcelo Matus
640aaf8f3a
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
ce2aa74c36
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
Marcelo Matus
65e58e8ed9
generate warning for old python versions if the -classic option is not been used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:14:01 +00:00
Marcelo Matus
358c35bf35
minor cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 08:09:17 +00:00
Marcelo Matus
69195cfb37
add -fastproxy and keep 'def' methods in class definitions for back. comp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
a61686b243
fix unused 'fail:' label warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00
Marcelo Matus
214dfb6b8e
add missing check for noargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 09:08:27 +00:00
Marcelo Matus
6c6d16529e
add fail: label for the get methods always, just in case someone write a 'varout' typemap that need it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 22:56:15 +00:00
Marcelo Matus
e05f7cfffc
add extranative option to keep old copy mode for std containers as the default behavior
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
dbdcf4462c
fix -external-runtime and warning arounds in subversion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
36ab776a61
fix -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
7b2dbbc3ce
fix missing static member access methods, discovered with li_std_string test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
Marcelo Matus
c98cffe7a6
use hidden attr instead of self, is more general
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:42:22 +00:00
Marcelo Matus
43a5a07593
Use append instead of printf
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
1bb180523b
implement the 'allowexcept' feature for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
88350eb73a
fix kwargs + -O and use Swig_name_make for parameter names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:49 +00:00
Marcelo Matus
a40126abe2
fix missing freeargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
Marcelo Matus
e1d78b0dec
allow to apply freearg ven when no in typemap is in place when numimputs=0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Marcelo Matus
165b0032e9
add buildnone option and cosmetics, including sorting options by name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
9e20f53808
disable kwargs in more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 17:16:25 +00:00
Marcelo Matus
68396be600
flag the memberget/memberset methods and use it to deactivate kwargs, reported by amaury
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
Marcelo Matus
96d2cfa17d
split options info for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 11:09:48 +00:00
Marcelo Matus
e8f9094b4b
avoid label warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:45:11 +00:00
Marcelo Matus
41ea394b6e
fix seg fault with feature:callback
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:50:50 +00:00
Marcelo Matus
a9ab040ef5
Move rename/namewarn engine from parser.y to naming.c. The code was getting
...
too large to be in the parser.
Centralize the swig keys to avoid replication and wrong spellings.
Use more HashGetAttr where possible and other speed improvements
to compensate for the extra work introduced by the new rename/namewarn
mechanism.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
2bdd8b07c0
add support for options in rename/namewarn and central methods to access the rename/warning hashs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:41:54 +00:00
Marcelo Matus
4cf6ff94cd
fix rename constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:01:48 +00:00
Marcelo Matus
fd0d08fead
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
d480e004ff
fix extra ';'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:31:30 +00:00
Marcelo Matus
218adfa960
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:40:35 +00:00
Marcelo Matus
5a76bc68fc
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
f023a22575
generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
Marcelo Matus
00a87c0980
Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00
Marcelo Matus
8f0d0e363a
fix bad replace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 01:32:01 +00:00
Marcelo Matus
c0a1c6c382
add the -modernargs/-nomodernargs options and code to deal with old python 1.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 00:35:03 +00:00
Marcelo Matus
3177fe8f2b
use better names aliasobj0/noaliasobj0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:09 +00:00
Marcelo Matus
c553404480
add option keepobj0/nokeepobj0 for old users typemaps + -O option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:08:49 +00:00
Marcelo Matus
871ae62370
avoid name clashing obj->swig_obj and add PYTHON to python macros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:07:44 +00:00
Marcelo Matus
24f109f8ca
fix various missing INCREF/DECREF and other to run clean with fpectl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 23:29:10 +00:00
Marcelo Matus
aac4aaa0a0
add missing SWIGINTER/SWIGINTERINLINE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:58:44 +00:00
Marcelo Matus
6b6f8b1e30
add the -fastunpack/-nofastunpack options to avoid using python native UnpackTuple
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:28:30 +00:00
Marcelo Matus
72b1667a58
add -proxydel/-noproxydel plus minor improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-11 10:44:57 +00:00
Marcelo Matus
c8a506dcf1
add option -O, use CallMethodObjArgs, no modern back to default as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:52:09 +00:00
Marcelo Matus
09b969bb1c
make the old nodirvtable the default, plus fix seg fault for threads
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:48:56 +00:00
Marcelo Matus
3ead254d42
fix extra calls to TypeQuery for 'char *' and 'wchar_t *'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:20:19 +00:00
Marcelo Matus
cdff8ff3e2
minor fix for threads
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 10:11:14 +00:00