Luigi Ballabio
31d299384e
Alternate fix for bug #1578346 (the previous one broke Python properties in modern classes)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 17:26:25 +00:00
William S Fulton
fd3ee92b41
Path #1578346 - Python exceptions fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 01:21:22 +00:00
William S Fulton
8c2b66a11d
Fix director operator pointer casts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-09 22:32:28 +00:00
William S Fulton
d5ecc29a4e
Fix Wrapper delete as reported by Michel Marek
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-08 23:17:41 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
7d7a9a387e
%ignore and virtual director methods fix - problem reported by Roy Sutton
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
37a08a2b03
remove unused variable in generated director code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-19 22:49:44 +00:00
William S Fulton
9bcdb69ab3
better English in messages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:47:52 +00:00
William S Fulton
aa47311a53
Fix #1505594 director objects not returned as director objects in %extend methods.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 19:42:21 +00:00
Olly Betts
1578c8cb88
Fix "_swig_property" fix to work with Python 2.1 as well.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 23:32:28 +00:00
William S Fulton
be89441352
Fix virtual conversion operators for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
8d333d90f0
director error message fixes to correctly generate templated class names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +00:00
Marcelo Matus
5dc2ce0c73
Fix 'property' issue reported in #1471039
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-03 03:37:13 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
da079c2d2b
Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:47:08 +00:00
Olly Betts
93d3c4b6d2
Use the DOH String instead of a static char array.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-19 18:13:53 +00:00
William S Fulton
f0d1d772fa
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
Marcelo Matus
dd8f4aa003
fix seg fault with -noproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 22:16:43 +00:00
Marcelo Matus
003804a4c0
better error message for overloading, as suggested by Tijs Michels, and doc fixes, provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:42:10 +00:00
Marcelo Matus
ff9efe7418
fix misplaced code, reported by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:46:50 +00:00
William S Fulton
797317163a
cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:02:54 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus
260504f464
split tabs for C and Python. In python the indentation goes back to 4, in C stays at 2
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 20:10:01 +00:00
Marcelo Matus
a9bbfd2b72
fix _swig_repr, as reported by Robin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 18:17:06 +00:00
Marcelo Matus
0395de6a20
fix fastinit option initial value, ie, it should be disabled(0)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 04:08:44 +00:00
Marcelo Matus
36c067836e
add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
William S Fulton
a86a9b3fb6
split string, it is too big for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:23:37 +00:00
Marcelo Matus
9e952010b9
add -fastinit option after issue reported by Robin Dunn
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
Marcelo Matus
b15a7a75d7
add the -olddefs flag for python, I am sure someone will ask for it...
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-28 00:39:25 +00:00
Marcelo Matus
be930bb0e3
fix duplicate method definitions when using -fastproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:47:21 +00:00
Marcelo Matus
49796f8ab7
fix for directors + empty vtables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:49:34 +00:00
Marcelo Matus
28e84adf61
fix fastproxy for methods using kwargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +00:00
Marcelo Matus
cf3d3edba9
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
742a65ce66
add swigregister proxy method and move __repr__ to a single global module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
Marcelo Matus
d911afe543
generate warning for old python versions if the -classic option is not been used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 20:14:01 +00:00
Marcelo Matus
b920c8438c
minor cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 08:09:17 +00:00
Marcelo Matus
f772fe7752
add -fastproxy and keep 'def' methods in class definitions for back. comp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 10:20:48 +00:00
Marcelo Matus
403e9ebc9e
fix unused 'fail:' label warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 04:08:56 +00:00
Marcelo Matus
888d6e947a
add missing check for noargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-03 09:08:27 +00:00
Marcelo Matus
41beef4aba
add fail: label for the get methods always, just in case someone write a 'varout' typemap that need it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 22:56:15 +00:00
Marcelo Matus
d311988106
add extranative option to keep old copy mode for std containers as the default behavior
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 06:00:37 +00:00
Marcelo Matus
0f7b502a3b
fix -external-runtime and warning arounds in subversion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
0d6baa85ef
fix -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
f8407dd07b
fix missing static member access methods, discovered with li_std_string test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
Marcelo Matus
506cece240
use hidden attr instead of self, is more general
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 03:42:22 +00:00
Marcelo Matus
2624e7c08b
Use append instead of printf
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
68f61c7c12
implement the 'allowexcept' feature for global variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
120184f1be
fix kwargs + -O and use Swig_name_make for parameter names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 09:06:49 +00:00
Marcelo Matus
56c682d6f9
fix missing freeargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 07:43:53 +00:00
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