Marcelo Matus
841b1e15bc
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/SWIG@8461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:01:11 +00:00
Marcelo Matus
cf431d3b47
add buildnone option and cosmetics, including sorting options by name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 06:58:49 +00:00
Marcelo Matus
5c5ca16bfc
disable kwargs in more cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 17:16:25 +00:00
Marcelo Matus
f3cd3bfe21
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/SWIG@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
Marcelo Matus
eb04de02af
split options info for old compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 11:09:48 +00:00
Marcelo Matus
06835c7b3d
avoid label warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 17:45:11 +00:00
Marcelo Matus
716317c25d
fix seg fault with feature:callback
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 09:50:50 +00:00
Marcelo Matus
55005e98ee
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/SWIG@8170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:33:19 +00:00
Marcelo Matus
b034e6c266
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/SWIG@8150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:41:54 +00:00
Marcelo Matus
f383985d2d
fix rename constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 00:01:48 +00:00
Marcelo Matus
88e6edcac3
fix for the typemap match option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 07:52:55 +00:00
Marcelo Matus
a8198abc92
fix extra ';'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 02:31:30 +00:00
Marcelo Matus
c83deb8343
add implicitconv support and cosmetics for cast rank
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:40:35 +00:00
Marcelo Matus
6bf5187168
add castmode in python and cleaning the castdispatch mechanism
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
723281a823
generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
Marcelo Matus
c09006dbdd
Use safe Py_None in Windows or when using -DSWIG_PYTHON_SAFE_NONE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 02:09:13 +00:00
Marcelo Matus
8748a2b6c6
fix bad replace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 01:32:01 +00:00
Marcelo Matus
c805e48d35
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/SWIG@8013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 00:35:03 +00:00
Marcelo Matus
862bb7ef49
use better names aliasobj0/noaliasobj0
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:09 +00:00
Marcelo Matus
fdb6cefd91
add option keepobj0/nokeepobj0 for old users typemaps + -O option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:08:49 +00:00
Marcelo Matus
c2b306d72a
avoid name clashing obj->swig_obj and add PYTHON to python macros
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:07:44 +00:00
Marcelo Matus
174c1f84a5
fix various missing INCREF/DECREF and other to run clean with fpectl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 23:29:10 +00:00
Marcelo Matus
773af988fd
add missing SWIGINTER/SWIGINTERINLINE
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:58:44 +00:00
Marcelo Matus
95214810ab
add the -fastunpack/-nofastunpack options to avoid using python native UnpackTuple
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:28:30 +00:00
Marcelo Matus
268cc4fb97
add -proxydel/-noproxydel plus minor improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-11 10:44:57 +00:00
Marcelo Matus
ee6f1efd83
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/SWIG@7970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:52:09 +00:00
Marcelo Matus
0811bb8220
make the old nodirvtable the default, plus fix seg fault for threads
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:48:56 +00:00
Marcelo Matus
ae761ca3ba
fix extra calls to TypeQuery for 'char *' and 'wchar_t *'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 20:20:19 +00:00
Marcelo Matus
76415ec9a8
minor fix for threads
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 10:11:14 +00:00
Marcelo Matus
49e6084d66
add the dirvtable/nodirvtable options to enable/disable the new pseudo virtual table for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 08:10:42 +00:00
Marcelo Matus
e0eea5f625
add safecstrings option and leave the default of string conversions as in older version, ie, return the pointer not a copy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 00:36:12 +00:00
Marcelo Matus
658add5760
use old import order to prevent error with circular importings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:24:14 +00:00
Marcelo Matus
d58d18d7bf
add the -classptr option to generate the old ClassPtr classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:41:19 +00:00
Marcelo Matus
2a172ffc8a
add support for accessing 'self.thisown'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:12:26 +00:00
Marcelo Matus
02451df798
add thread support in the dispatch function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 09:54:41 +00:00
Marcelo Matus
563a0d6388
fix director warnings for non-void return types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:55:41 +00:00
Marcelo Matus
8b7fb37a59
more threads cleaning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 22:25:05 +00:00
Marcelo Matus
28df9d1049
fixes for 'typedef unsigned long size_t'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:38:09 +00:00
Marcelo Matus
0a4c104f50
avoid extra block
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 23:11:28 +00:00
Marcelo Matus
2eeef5275d
simplify the thread implementation, use feature 'nothread' to disable threads instead of 'thread' to enable them, plus other fixes around threads
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 19:35:03 +00:00
Marcelo Matus
082813bad8
remove unused vars
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 08:21:15 +00:00
Marcelo Matus
1c7071040a
more threads code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 07:20:13 +00:00
Marcelo Matus
0fd2fe23cf
add thread support based in proposal #398495 by Joseph Winston
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 06:39:24 +00:00
Marcelo Matus
922d58ac19
don't use Py_None directly nor &PyType_Type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 08:50:00 +00:00
Marcelo Matus
3955965739
more memory leaks fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
645f95d633
fix many/many memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
f714a2615d
remove many memory leaks and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
c332d8e833
fix for bug #1174705
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 23:21:43 +00:00
Marcelo Matus
f3c24eff33
fixes for directors + pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
e8b323e020
Use swig::PyObject_var for directors, to resolve memory leaks, plus use the faster CallFunctionObjArgs when possible
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:00:31 +00:00
Marcelo Matus
b7a257a090
add support for multi-inheritance at the python side, and use PyArgs_UnpackTuple instead of PyArgs_ParseTuple when possible
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:38:14 +00:00
Marcelo Matus
888e9e82c4
add -nomodern option and makes -modern the default
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:03:48 +00:00
Marcelo Matus
a0d0861413
add python_header section
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:54:41 +00:00
Marcelo Matus
c28010f762
safer direct creation of a new instance avoiding the __init__ method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
985adc13fb
remove 'thisown' and ClassPtr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
14e50ff653
change director order back, bad fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:11:28 +00:00
Marcelo Matus
96c646da15
replace by SWIG_POINTER_OWN instead of '1'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:40:29 +00:00
Marcelo Matus
7b2f15669b
use SWIGINTERN instead of static
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:11:43 +00:00
Marcelo Matus
61e61a35ed
uniform the name_get/name_set names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
4ae7998d58
make base director class virtual and eliminate compilation warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:33:42 +00:00
Marcelo Matus
773f592ad2
fix non-wanted warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:19:02 +00:00
Marcelo Matus
a4c0114c6a
replace bad parameter names when neccessary
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
ba3efb0917
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
7564088646
fix warnings/errors for gcc4.0, icc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
e5f50bd942
fix cleanup for ruby and make the process similar in python and tcl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:53:45 +00:00
Marcelo Matus
7e5e4fd1f9
massive typemap unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Marcelo Matus
bab11e11f4
fixes for the except/callback attributes to follow new flag feature convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
William S Fulton
7ad869e745
Modify following features to work as flags, so that they can be truely set and unset: noautodoc, python:maybecall, classic, modern, python:nondynamic
...
Removed the nokwargs feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:28:15 +00:00
William S Fulton
4e3bc83ad5
Modify following features to work as flags, so that they can be truely set and unset:
...
exceptionclass
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:21:59 +00:00
William S Fulton
656cb7ab06
Modify following features to work as flags, so that they can be truely set and unset:
...
new
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton
4ec01af9dd
Modify following features to work as flags, so that they can be truely set and unset:
...
java:const
java:downcast
compactdefaultargs
ignore
valuewrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
Marcelo Matus
78735a4ec8
add %exceptionclass and %noexceptionclass directives and manage the feature:exceptionclass in a consistent way
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-29 13:04:42 +00:00
Marcelo Matus
285ecebd14
Add -nocppcast. Now the default is to use the cppcast operator. If this seems to break your code... your welcome\!, it means it was broken before and you never notice. Use -nocppcast only for very old C++ compilers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +00:00
William S Fulton
bed81d66d3
Better error message displayed when file cannot be opened
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Marcelo Matus
55202477fb
fix for bug #1245591 , related to __class__ attribute in Ptr classes + -nomodern (or exceptions)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-28 07:13:02 +00:00
Marcelo Matus
a3c934c92c
avoid importing several times the same module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 08:32:16 +00:00
Marcelo Matus
889662c81d
fix import order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:41:29 +00:00
Marcelo Matus
83ef5241ee
add Scott's patches for directors: void return, directormap register, better error messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-06 21:02:22 +00:00
Marcelo Matus
327bbc06ac
more fixes for python 1.5 +gcc2.96
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
William S Fulton
c09b7fa897
Various fixes for VC++7.1 and Sun Studio 10
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
ddd9f11c81
template ext mode on for all languages, not just Python now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
f77bbe7be8
corrected directorout warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:52:53 +00:00
Marcelo Matus
45248bda6b
add more missing Deletes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:32:31 +00:00
Marcelo Matus
ca7159f7e7
add better director+exception support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:47:55 +00:00
Marcelo Matus
5394efadec
add more details for director when __init__ is not call
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 00:09:07 +00:00
Marcelo Matus
3c93d884c7
fix more VC7.1 warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:51 +00:00
Marcelo Matus
4c873ffb8d
finishing change from 'static' to 'SWIGINTERN'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:40:41 +00:00
Marcelo Matus
ffc93a4bbd
add robust -nortti implementation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:18:42 +00:00
Marcelo Matus
02a61719bd
add -nortti option in python, to avoid using RTTI, mainly with directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 00:47:10 +00:00
John Lenz
67b49825cb
Add support for the -external-runtime argument and update all language modules to use it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
f149a9f3d1
swig -help prints to stdout not stderr now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
Marcelo Matus
3e64c5b3c2
reenable autodoc for static methods + cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:34:15 +00:00
Marcelo Matus
3658b9adb9
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:12:48 +00:00
Marcelo Matus
0b53cb5242
more on the template_extmode, plus using apply when using -classic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:51:44 +00:00
Marcelo Matus
7ab02d3a54
support/ignore multi-inheritance directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:52:38 +00:00
William S Fulton
265ea0bec7
warning fixes for using generated code in VC++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:06 +00:00
Marcelo Matus
34f7412326
disabling autodoc/prepend/append + static members since it doesn't wiht default_args.i test case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 00:51:52 +00:00
Marcelo Matus
b19d0dc05e
fix serious bug with def args + static methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 10:22:15 +00:00
Marcelo Matus
cf415b0c64
fix for bug 888167
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:18:36 +00:00
William S Fulton
dc12af75b6
various fixes to remove warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:10:06 +00:00
Marcelo Matus
545b20712e
split declaration and definition of Director
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
Marcelo Matus
0ccbf425ab
add Robin true/false patch for docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
cbf875576d
add Robin true/false patch for docs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
aec02530ce
add nodirprot mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:49:38 +00:00
Marcelo Matus
2df5b6a736
fix -oh/-o/-noh, tested before in the wrong directory
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00
Marcelo Matus
114c703acd
fix director + abstract + constructors, reported by Brian Kelley
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Marcelo Matus
39e2f975cc
Add flag to enabla new C++ casting operators
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:39 +00:00
William S Fulton
cd22d76972
fixes for directors and default arguments in the constructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
Marcelo Matus
335d752a7e
rearregment for gcc-2.96 internal error, fix header generation, add -new_vwm and -noh options
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:01 +00:00
Marcelo Matus
b953de63be
Oops, fix lost '!'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:59:54 +00:00
William S Fulton
88fcd40d53
removed some stray debug messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:39:13 +00:00
William S Fulton
74f9ab820b
compact default arguments feature (original default argument wrapping mode)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
Marcelo Matus
b1481bfddc
disabling the new value wrapper mode until we find more time to document it and adding a flag to switch it on/off
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:33:34 +00:00
Marcelo Matus
01bde715f4
ix variable wrapping with private assign operator + fix SwigValueWrapper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:31:40 +00:00
Marcelo Matus
c7982bbdc8
make %callback more uniform and usable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
5daaf9781b
fix callback
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:37:23 +00:00
John Lenz
75e462baa8
Removed ability to share type information by C linking
...
All type sharing happens through a global variable in the target language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
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
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
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
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
625985875d
fix %callback and add %pythoncallback
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-01 21:44:26 +00:00
Marcelo Matus
31838af4c5
Change attribute cplus:exceptionclass to feature:exceptionclass. Add python:nondynamic feature. Fix -modern + exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-26 00:49:41 +00:00
William S Fulton
3f1111377d
Various warning fixes for Sun Workshop compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-01 22:25:56 +00:00
William S Fulton
bd9e48e922
-ldflags option removed for removed prebuilt runtime library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:42:54 +00:00
Marcelo Matus
08718830bf
fixes for const char[]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-27 11:29:39 +00:00
Marcelo Matus
405a7335a7
fix java reg. tests and add -directors flag
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 05:55:35 +00:00
Marcelo Matus
c55acbc20f
fix director call for the single container argument case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-18 20:32:14 +00:00
Marcelo Matus
cf8a1c311c
Allowing the empty %template directive, such as
...
%template() std::vector<int>;
to process the class "typedef"s and "typemap"s. Before
only the internal "typedef"s were processed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:18:17 +00:00
Logan Johnson
8f7e15900e
Omit unused parameter names for C++ code only; this is illegal in C.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-09 23:08:54 +00:00
Logan Johnson
acbb784a50
Be sure to initialize all of the fields of a PyMethodDef struct to some
...
value, to avoid numerous compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-06 17:46:50 +00:00
Marcelo Matus
81a30d97f9
cosmetic fix to avoid warnings in the generated code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-28 01:47:19 +00:00
Marcelo Matus
3fdd06e3bd
fix memory leak with director and NewPointerObjects
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-26 10:20:06 +00:00
Marcelo Matus
8f2056b4d6
add support for 'throw' declarations in director classes and some fixes to compile the primitive_types.i test file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-24 00:25:31 +00:00
William S Fulton
11561b2499
Eric Sunshine patch - Mods to work on NextStep
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00
Marcelo Matus
e9ee50827d
fix the generation of spurious temps, and an exception call
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 01:33:07 +00:00
Marcelo Matus
b44aafbe68
eliminate spurious temporal variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-14 06:46:20 +00:00
Marcelo Matus
2dfcd1a562
fixed repeated file inclusion for dirprot mode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:19:48 +00:00
William S Fulton
71e1ac56cc
remove SWIG_exception for director protected methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 23:52:31 +00:00
Marcelo Matus
72984676ca
Lateral change to add runtime "reprotection" at the python
...
side for protected director members.
Lib/python/director.swg: added needed code for runtime checking
Source/Modules/python.cxx: added needed code for runtime checking
director_protected_runme.py: checks now that the runtime protection is working
The extra runtime checking is only done for protected members,
so, the old public directors members don't feel any overhead.
This finished the director protected support for the python language.
Java and Ocalm will need to add the "reprotection" mechanism latter.
But as in the python case, the changes will be localized in the
languages files, and there will be no need to touch the core
files anymore.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5532 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 01:59:12 +00:00
Marcelo Matus
634b973f31
The dirprot feature is now disabled by default. Added dirprot option and ruby runtime examples.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 02:52:08 +00:00
Marcelo Matus
bbde8dafa9
Moving the director protected member support to the top level. Now it should works in all the languages. Test it.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
Marcelo Matus
7e7da85e84
Added help for -nodirprot flag
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 22:51:54 +00:00
Marcelo Matus
0f19564193
Fixes to support protected members with director, proper virtual member recognition and support of the nodirector feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
William S Fulton
ed5a4bbb63
Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335 .
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
William S Fulton
d85b463e0b
Common director support functions moved to new file directors.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
Dave Beazley
2539fdc5fc
Code generation improvements. Order of automatically generated methods is different.
...
Added special variable $action to python code fragments included with feature:shadow.
This expands to the name of the low-level C wrapper function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:14:00 +00:00
Dave Beazley
a958fc1be8
[ 829325 ] new Python Module options and features
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:55:38 +00:00
William S Fulton
2704ffe81f
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
Numerous symbols in the generated director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:04 +00:00
William S Fulton
89b91e44f0
Director code mods:
...
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +00:00