Commit graph

5,006 commits

Author SHA1 Message Date
Marcelo Matus
dd9243c57b fix unused for 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-20 21:18:44 +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
da674069e9 remove prints, add more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:53:07 +00:00
Marcelo Matus
a4d5b788a6 fix %extend(%typemaps + %fragments) before class declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:46:41 +00:00
Marcelo Matus
67dafc531d move iterator classes to pyiterator and add/test std_carray.i class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:43:26 +00:00
Marcelo Matus
c8977f2dbb fix last fix, error visible with 1.875b, reported by Susendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 19:54:38 +00:00
Marcelo Matus
f35a5a423c fix reference/pointers op. in pointer assgiments, reported by Surendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 06:49:54 +00:00
Marcelo Matus
0d28216551 add missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:31 +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
1b1df4c208 we don't need SWIGVERSION in the interface, SWIG_VERSION is already there
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:09:24 +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
bbd2e60f3b add SWIGVERSION to both the interface and the code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:35:56 +00:00
Marcelo Matus
556e699baa add SWIG_STD_PAIR_ASVAL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:14:23 +00:00
Marcelo Matus
f073fc2c36 replace Py_None with safer SWIG_Py_None()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:10:54 +00:00
Marcelo Matus
7e26be584a export SWIG version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:09:53 +00:00
Marcelo Matus
2618f91c95 fix error in char typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:09:26 +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
William S Fulton
707f9d6f78 Add in note about supporting different languages with the same typemap name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 22:26:35 +00:00
William S Fulton
cb8b4932e1 add missing language preprocessor macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 22:22:22 +00:00
William S Fulton
adef4fffe3 Remove old style typemap declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7995 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 21:43:22 +00:00
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