Commit graph

378 commits

Author SHA1 Message Date
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
0e4b388ec9 add implicitconv support and cosmetics for cast rank
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:06:26 +00:00
Marcelo Matus
1657c18b67 add the label for use inside typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:41:03 +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
7ceec6f458 add support for __slot__ case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:02 +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
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
984ecc3d4f move iterator classes to pyiterator and add/test std_carray.i class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:43:26 +00:00
Marcelo Matus
007b7688ce add SWIG_STD_PAIR_ASVAL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:14:23 +00:00
Marcelo Matus
52dd82bb66 replace Py_None with safer SWIG_Py_None()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 00:10:54 +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
56a0905b18 add faster pair typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 18:38:19 +00:00
Marcelo Matus
18da886c6a fix memory leaks for module init/end and kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:24:39 +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
0400788e92 fix missing tmp object, detected by Udo Tremel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-15 18:03:27 +00:00
Marcelo Matus
45d7395f09 add check for weakref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 22:58:15 +00:00
Marcelo Matus
b9f8d2fbc7 SWIG_Python_GetSwigThis now uses PyWeakref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-14 09:34:59 +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
32cbb57ab6 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/SWIG@7980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:46:37 +00:00
Marcelo Matus
a849510dfa add fast parse infrastructure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:45:27 +00:00
Marcelo Matus
c7ec64951d more old __THREADS__ fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:55:46 +00:00
Marcelo Matus
1ededbc0cf fix the use of the old __THREAD__ macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 23:39:50 +00:00
Marcelo Matus
f7efce9b3e fix inline warning, and cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 07:32:23 +00:00
Marcelo Matus
f9a3ea5c0d oops, use XDECREF instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:22:08 +00:00
Marcelo Matus
ef728b932e add missing Py_DECREF for _delete_ result (Py_None), plus minor cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-12 00:13:39 +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
abbf8b406a more on the TypeQuery fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 23:53:53 +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
3b3d3118f1 add missing %s
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-10 00:40: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
efcc7aeacf fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
f956577226 add back SWIG_Python_ConvertPtr macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 09:23:06 +00:00
Marcelo Matus
ca7f770ac1 fix type definition for old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 20:24:20 +00:00
Marcelo Matus
e55c3596b6 oops, fix previous commit with <<< conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:54:59 +00:00
Marcelo Matus
6e77a6ba25 fixes for swigrun example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 23:50:38 +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
41b66ae54a fix runtimes for subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:40:42 +00:00
Marcelo Matus
07c115102a more portability tricks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 20:14:55 +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
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
50ae3fe87e add C++ operator aliases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:08:50 +00:00
Marcelo Matus
a5d45ae01f try to fix borland error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:07:57 +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
63fdb3d2a0 fix for older python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 19:36:13 +00:00
Marcelo Matus
7c1b632af4 fix borland warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 19:35:53 +00:00
Marcelo Matus
6d57482864 add SWIGUNUSEDPARM
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:42:41 +00:00