Commit graph

4,610 commits

Author SHA1 Message Date
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
c655b7d1be fix SWIG_Object const & typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 14:23:18 +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
b20da5456b CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:26:14 +00:00
Marcelo Matus
78ebd8e393 more docs for fragments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:58 +00:00
Marcelo Matus
b630cd6340 full fn call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:24 +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
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
b8449ebb72 add missing typecheck typemap for function ptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:00:51 +00:00
Marcelo Matus
516450c27a CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:29:53 +00:00
Marcelo Matus
9429e982ad fix cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:11:08 +00:00
Marcelo Matus
2c0a759ac5 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:08:35 +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
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
20bfe5fede add SWIG_STATIC_POINTER helper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:52 +00:00
Marcelo Matus
1a6bf2d120 add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:05 +00:00
Marcelo Matus
6d9dfbf259 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:38:17 +00:00
Marcelo Matus
535ac34ba3 fixes and more cases, as usual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:11:29 +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
8bc8a0f621 add missing iterator decls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:55:33 +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
8f56375166 include the language specific codes first since they can contain typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:47:41 +00:00
Marcelo Matus
427e8a73c9 docs and cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:46:18 +00:00
Marcelo Matus
b94ede0b8a add missing directors typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:51 +00:00
Marcelo Matus
a8f7d6ba25 use shorter SWIG_exception for errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:21 +00:00
Marcelo Matus
64a35df9d6 add iterator category
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:42 +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
1d6f737ab1 prevents ConvertPtr to modified the result when fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:41:43 +00:00
Marcelo Matus
535b8e7520 add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:40:51 +00:00
Marcelo Matus
efe4250b18 all the SwigType_add/delete methods now return the pointer of the modified type, so, we can reduce temporal variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:37:51 +00:00
Marcelo Matus
2cbcd0abc6 manage the labels as fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
0c33167c26 disown the 'self' pointer when deleting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
1ac74dac03 fix warning about non-initialized result, and add missing deletes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:34:27 +00:00
Matthias Köppe
5a94a4c385 Moved 1.3.27 changes to CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:49:51 +00:00
Matthias Köppe
e590914422 Moved 1.3.27 changes here from CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:46:57 +00:00
Matthias Köppe
94a0484ab7 Make declared and defined linkage of SWIG_init consistent.
Reported by Steven G. Johnson.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:40:20 +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
3bc3d41eea recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
4bbdb28c98 add && and ||
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 12:49:09 +00:00
Marcelo Matus
6bb15233ce added methods for size_t and more freearg typemaps around, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 11:30:14 +00:00
Marcelo Matus
b1b8fc9b31 be sure we use #if defined(...) instead of the fragil #ifdef everywhere, fix missing director typemaps and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 10:35:38 +00:00
Marcelo Matus
e10a02cb68 adding more broken cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 09:14:20 +00:00
Marcelo Matus
b20983d11c add another nested case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:12:11 +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