Commit graph

152 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
5aada71816 more threads cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 22:25:05 +00:00
Marcelo Matus
1eeb4ca322 fixes for 'typedef unsigned long size_t'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:38:09 +00:00
Marcelo Matus
aabd7959c5 avoid extra block
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 23:11:28 +00:00
Marcelo Matus
04027ce2f1 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@7933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 19:35:03 +00:00
Marcelo Matus
f222598d8b remove unused vars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 08:21:15 +00:00
Marcelo Matus
e052b32f9f more threads code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 07:20:13 +00:00
Marcelo Matus
8839f3dfb0 add thread support based in proposal #398495 by Joseph Winston
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 06:39:24 +00:00
Marcelo Matus
0067241a84 don't use Py_None directly nor &PyType_Type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 08:50:00 +00:00
Marcelo Matus
34e0da0d4d more memory leaks fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 01:16:57 +00:00
Marcelo Matus
b66f1e672b fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
3413b92e7a remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
40ba5aa6c0 fix for bug #1174705
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 23:21:43 +00:00
Marcelo Matus
fbdc4d8e3c fixes for directors + pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
Marcelo Matus
863964e617 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@7825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:00:31 +00:00
Marcelo Matus
253d0dd65a 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@7818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:38:14 +00:00
Marcelo Matus
f2d86b687d add -nomodern option and makes -modern the default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:03:48 +00:00
Marcelo Matus
7a5e477094 add python_header section
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:54:41 +00:00
Marcelo Matus
cb8d5b6b38 safer direct creation of a new instance avoiding the __init__ method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
39f173c12a remove 'thisown' and ClassPtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
fc6be0dba0 change director order back, bad fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:11:28 +00:00
Marcelo Matus
a8d990ca14 replace by SWIG_POINTER_OWN instead of '1'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:40:29 +00:00
Marcelo Matus
4ba7c0ac1b use SWIGINTERN instead of static
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:11:43 +00:00
Marcelo Matus
028f1e492d uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
cf9c5fb721 make base director class virtual and eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:33:42 +00:00
Marcelo Matus
0711c11154 fix non-wanted warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:19:02 +00:00
Marcelo Matus
2ff3dd0d4e replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
Marcelo Matus
bd7b3fcb1d 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@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
8bcc0bf8eb fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
5af71f22b3 fix cleanup for ruby and make the process similar in python and tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 10:53:45 +00:00
Marcelo Matus
1c7c9e44f7 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Marcelo Matus
fd9db14a98 fixes for the except/callback attributes to follow new flag feature convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:17:41 +00:00
William S Fulton
c72c6d52bd 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@7584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-04 20:28:15 +00:00
William S Fulton
de74fd79d0 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@7571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 23:21:59 +00:00
William S Fulton
75972cd1df 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@7564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 22:10:17 +00:00
William S Fulton
beebb0a8e1 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@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00