Marcelo Matus
|
842bf095b5
|
fix memory leaking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-21 20:58:31 +00:00 |
|
Marcelo Matus
|
c34a4386e0
|
put the swig::PyObject_var and swig::PyObject_ptr in the pyclass.swg file, to use them in more places
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-08 15:58:08 +00:00 |
|
Marcelo Matus
|
99bd599704
|
add code to properly 'unload' the module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-08 15:57:39 +00:00 |
|
Marcelo Matus
|
42277fcfd7
|
add support for multi-inheritance at the python side and performance tunings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-07 12:40:16 +00:00 |
|
Marcelo Matus
|
723c997050
|
fix bool AsVal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-07 11:13:16 +00:00 |
|
Marcelo Matus
|
f79186adfd
|
add missing INCREF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-05 15:45:57 +00:00 |
|
Marcelo Matus
|
88fd92b46d
|
avoid to write the pointer on failure
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-05 15:45:28 +00:00 |
|
Marcelo Matus
|
5b7bc793cd
|
add missing check and sort the code around
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 15:11:17 +00:00 |
|
Marcelo Matus
|
143d7c1f53
|
clean PyItem and use it in OutputIterator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 15:00:38 +00:00 |
|
Marcelo Matus
|
d4af01f225
|
remove unused label
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 14:59:56 +00:00 |
|
Marcelo Matus
|
04113db0e7
|
add swig::PyItem and all the helper code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 14:24:36 +00:00 |
|
Marcelo Matus
|
b301617976
|
adding more missing typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 11:11:21 +00:00 |
|
Marcelo Matus
|
d450751daf
|
add fast get/set for the this attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-03 10:02:34 +00:00 |
|
Marcelo Matus
|
51796ebcce
|
add 'iterator'(sequences) and 'key_iterator'(maps). The first returns allways the C++ iterator. In sequences __iter__ returns 'iterator()', in maps, __iter__ returns 'key_iterator()'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-02 15:58:58 +00:00 |
|
Marcelo Matus
|
6508e06af8
|
add the PyObject **PYTHON_SELF typemap(in)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-11-02 15:55:17 +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
|
2de402b05a
|
add iterator support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-31 09:56:13 +00:00 |
|
Marcelo Matus
|
bb4946d2fe
|
add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-31 09:51:11 +00:00 |
|
Marcelo Matus
|
9ff4da9d4a
|
add std_except typemaps to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-31 09:43:02 +00:00 |
|
Marcelo Matus
|
e0b5446e4b
|
recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-27 15:02:56 +00:00 |
|
Marcelo Matus
|
bb5205a0c6
|
adding backward compatibility macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-26 07:55:41 +00:00 |
|
Marcelo Matus
|
1c529aa802
|
move attribute.i to the typemap library, now is usable from all the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-25 13:20:50 +00:00 |
|
Marcelo Matus
|
029ff00d77
|
eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-25 09:31:15 +00:00 |
|
Marcelo Matus
|
f2f1b9889f
|
Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-24 14:59:05 +00:00 |
|
Marcelo Matus
|
cacea2c73d
|
include the user's fragment file in the same place
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-20 09:58:19 +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
|
3aac30b168
|
more typemaps unification and fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-19 10:52:50 +00:00 |
|
Marcelo Matus
|
ae6714aff3
|
cosmetic change, remove repeated docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-18 13:54:54 +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
|
fe00d5cb85
|
fixes for new flag attribute convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-07 13:19:06 +00:00 |
|
William S Fulton
|
517e48f697
|
remove %pythondynamic - it didn't work properly - use %pythonnondynamic instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-10-04 20:14:34 +00:00 |
|
Marcelo Matus
|
2b44057526
|
cosmetic change, remove comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-29 13:05:33 +00:00 |
|
Marcelo Matus
|
33a752b0bd
|
add %exceptionclass and %noexceptionclass directives and manage the feature:exceptionclass in a consistent way
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-29 13:04:42 +00:00 |
|
Marcelo Matus
|
1a8b5611e5
|
add missing const ptr case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-26 14:53:39 +00:00 |
|
Marcelo Matus
|
05ceecefc4
|
add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-14 14:38:46 +00:00 |
|
Marcelo Matus
|
474752667e
|
add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-14 14:36:57 +00:00 |
|
Marcelo Matus
|
60913495ba
|
cosmetic and docs changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-10 23:28:36 +00:00 |
|
Marcelo Matus
|
c74fd4442a
|
allow to use %define inside a %define macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-06 07:33:17 +00:00 |
|
Marcelo Matus
|
99ed184f95
|
adding test for binary buffer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-06 06:31:25 +00:00 |
|
Marcelo Matus
|
2e2617edce
|
normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-09-06 06:22:10 +00:00 |
|
Marcelo Matus
|
2ae026aa6f
|
fix #endif position bug #1249878
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-08-23 10:55:05 +00:00 |
|
William S Fulton
|
49639577e0
|
use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-07-27 20:09:42 +00:00 |
|
Marcelo Matus
|
c9f4d68f96
|
add set __getitem__ method, this allows python iterator syntax to work, as in 'for i in a_set:...'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-07-19 09:36:08 +00:00 |
|
Marcelo Matus
|
9148f0cb38
|
fix for #1233773
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-07-15 21:23:40 +00:00 |
|
Marcelo Matus
|
c66b71417c
|
add Scott's patches for directors: void return, directormap register, better error messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-07-06 21:02:22 +00:00 |
|
Marcelo Matus
|
bba18606ea
|
change the Int/Long check order, just in case since 'int' could be too permissive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-06-21 18:55:43 +00:00 |
|
Marcelo Matus
|
a663b62852
|
remove the _AS_XX macros, just in case the Check methods are too permissive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-06-21 18:52:04 +00:00 |
|
Marcelo Matus
|
a5b1fde294
|
more fixes for python 1.5.2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2005-06-17 19:23:16 +00:00 |
|