Commit graph

4,600 commits

Author SHA1 Message Date
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
Marcelo Matus
ac23dc3279 fix ifdefs for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:09:58 +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
728bb9282e add iadd and constants tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:18:30 +00:00
Marcelo Matus
29e402fedf add iadd test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:10:59 +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
62a5b933fc documenting attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:48:56 +00:00
Marcelo Matus
f9c692276a add missing %newpointer_flags option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:49 +00:00
Marcelo Matus
16bd77e9d6 more perl cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:14 +00:00
Marcelo Matus
88e8275dc2 add attribute.i for other languages that don't use the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:14:49 +00:00
Marcelo Matus
61530811bb add the swig version to the proxy file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:12:29 +00:00