Commit graph

4,985 commits

Author SHA1 Message Date
Marcelo Matus
aa3e2ea2d3 add faster pair typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 18:38:19 +00:00
Marcelo Matus
1f2953ccdd fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
b67cb4e9a0 add valgrind supp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 08:02:28 +00:00
Marcelo Matus
3665385cb5 fix memory leaks for module init/end and kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:24:39 +00:00
Marcelo Matus
e439095816 fix memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:21:59 +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
dfca3b285f fix missing tmp object, detected by Udo Tremel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 18:03:27 +00:00
Marcelo Matus
7eb69ee8a5 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:59:05 +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
300092ce5e add check for weakref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:58:15 +00:00
Marcelo Matus
59913ebc6e SWIG_Python_GetSwigThis now uses PyWeakref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 09:34:59 +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
d7a6140c7a fix confusion with --/++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:27:02 +00:00
Marcelo Matus
8c5cc36c49 add 'self' attribute for later use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 07:26:37 +00:00
Marcelo Matus
dc26b91c35 keep old typemap code in place, but disable, for readers to look around, and rescue other lost typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:46:37 +00:00
Marcelo Matus
2d3d60716d add fast parse infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:45:27 +00:00
Marcelo Matus
f24e2fe3a1 add missing typecheck typemap, reported by Charlie Savage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 22:37:29 +00:00
Marcelo Matus
9ff58e4997 more old __THREADS__ fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:55:46 +00:00
Marcelo Matus
587e14033f fix the use of the old __THREAD__ macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:39:50 +00:00
Marcelo Matus
57a593c37a fix inline warning, and cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 07:32:23 +00:00
Marcelo Matus
e0a14ef5da oops, use XDECREF instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:22:08 +00:00
Marcelo Matus
2d66d2c6be add missing Py_DECREF for _delete_ result (Py_None), plus minor cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:13:39 +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
ea47af15fe more on the TypeQuery fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:53:53 +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
Marcelo Matus
3eb3effff9 fix warning for unused _e
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 10:09:54 +00:00
Marcelo Matus
fa93e11666 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@7965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 08:10:42 +00:00
Marcelo Matus
b7d49b3ae3 add missing %s
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 00:40:42 +00:00
Marcelo Matus
5d36d0409e 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@7963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 00:36:12 +00:00
Marcelo Matus
2173101af6 fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
fdf4d72b4b fix for templates to avoid using the templatereduce mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:25:28 +00:00
Marcelo Matus
b5fc607731 use old import order to prevent error with circular importings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:24:14 +00:00
Marcelo Matus
b2f07041e1 add back SWIG_Python_ConvertPtr macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:23:06 +00:00
Marcelo Matus
51d3cb4c9a add the destructor even when -nodefault is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:20:43 +00:00
Marcelo Matus
d7c67aecfe add the -classptr option to generate the old ClassPtr classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:41:19 +00:00
Marcelo Matus
5480a83e79 add support for accessing 'self.thisown'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:12:26 +00:00
Marcelo Matus
51c4655249 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 23:36:02 +00:00
Marcelo Matus
b63127c555 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 23:35:14 +00:00
Marcelo Matus
3db0e56b49 'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
bf862c9495 fix type definition for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 20:24:20 +00:00
Marcelo Matus
21f11849c0 add thread support in the dispatch function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 09:54:41 +00:00
Marcelo Matus
20d29ae781 add the fast dispatch option/feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:54:05 +00:00
Marcelo Matus
1da8860e86 adding several docs patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:52:39 +00:00
Marcelo Matus
5ad5a61989 fix for ruby -w
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:46:04 +00:00
Marcelo Matus
801f09ee92 fix director warnings for non-void return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:55:41 +00:00
Marcelo Matus
cdf847e79c oops, fix previous commit with <<< conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:54:59 +00:00
Marcelo Matus
e52708c27f fixes for swigrun example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:50:38 +00:00