Commit graph

4,605 commits

Author SHA1 Message Date
Marcelo Matus
ea0c2ca342 adding more missing typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 11:11:21 +00:00
Marcelo Matus
1a29563037 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:26:14 +00:00
Marcelo Matus
85db6ee607 more docs for fragments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:58 +00:00
Marcelo Matus
99edd219d2 full fn call
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:25:24 +00:00
Marcelo Matus
888e9e82c4 add -nomodern option and makes -modern the default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:03:48 +00:00
Marcelo Matus
5ab4595d76 add fast get/set for the this attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:02:34 +00:00
Marcelo Matus
c529327196 add missing typecheck typemap for function ptrs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-03 10:00:51 +00:00
Marcelo Matus
c8acd49fb2 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:29:53 +00:00
Marcelo Matus
e60b07b285 fix cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:11:08 +00:00
Marcelo Matus
1a6245e5f2 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 16:08:35 +00:00
Marcelo Matus
a3424e36e1 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/SWIG@7775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:58:58 +00:00
Marcelo Matus
9b9aee8eca add the PyObject **PYTHON_SELF typemap(in)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:55:17 +00:00
Marcelo Matus
a0d0861413 add python_header section
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 15:54:41 +00:00
Marcelo Matus
c28010f762 safer direct creation of a new instance avoiding the __init__ method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:52:01 +00:00
Marcelo Matus
b59c0b0da2 add SWIG_STATIC_POINTER helper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:52 +00:00
Marcelo Matus
5da979283b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-02 12:50:05 +00:00
Marcelo Matus
4cda422fe3 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:38:17 +00:00
Marcelo Matus
1799ddf592 fixes and more cases, as usual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:11:29 +00:00
Marcelo Matus
985adc13fb remove 'thisown' and ClassPtr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:58:24 +00:00
Marcelo Matus
cda225ea32 add iterator support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:56:13 +00:00
Marcelo Matus
f1c9638b6a add missing iterator decls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:55:33 +00:00
Marcelo Matus
22a35668b0 add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:51:11 +00:00
Marcelo Matus
f88acef831 include the language specific codes first since they can contain typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:47:41 +00:00
Marcelo Matus
564be509ea docs and cosmetic fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:46:18 +00:00
Marcelo Matus
9c5b888299 add missing directors typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:51 +00:00
Marcelo Matus
68c269bdcd use shorter SWIG_exception for errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:45:21 +00:00
Marcelo Matus
fc78c9460e add iterator category
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:42 +00:00
Marcelo Matus
71df9fc8b6 add std_except typemaps to the unified typemap library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00
Marcelo Matus
536621e82b prevents ConvertPtr to modified the result when fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:41:43 +00:00
Marcelo Matus
f8c9bee335 add missing SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:40:51 +00:00
Marcelo Matus
b3f0c0f60c 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/SWIG@7755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:37:51 +00:00
Marcelo Matus
33fed0883b manage the labels as fail:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:36:01 +00:00
Marcelo Matus
d2a6728430 disown the 'self' pointer when deleting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:35:14 +00:00
Marcelo Matus
008f5c5bb7 fix warning about non-initialized result, and add missing deletes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:34:27 +00:00
Matthias Köppe
25e6c3060f Moved 1.3.27 changes to CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:49:51 +00:00
Matthias Köppe
b2dd788fc5 Moved 1.3.27 changes here from CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:46:57 +00:00
Matthias Köppe
220210c3b3 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/SWIG@7749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-30 16:40:20 +00:00
Marcelo Matus
307f0104c6 recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 15:02:56 +00:00
Marcelo Matus
dbc13bb676 recognize the and/not/or keywords and operator names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 14:44:27 +00:00
Marcelo Matus
8f8f465f3e add && and ||
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 12:49:09 +00:00
Marcelo Matus
a8fe5247e2 added methods for size_t and more freearg typemaps around, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 11:30:14 +00:00
Marcelo Matus
05c529eedc 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/SWIG@7742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 10:35:38 +00:00
Marcelo Matus
a04ecfbfe3 adding more broken cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 09:14:20 +00:00
Marcelo Matus
4756a8628c add another nested case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:12:11 +00:00
Marcelo Matus
14e50ff653 change director order back, bad fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:11:28 +00:00
Marcelo Matus
3c5c038e86 fix ifdefs for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 14:09:58 +00:00
Marcelo Matus
96c646da15 replace by SWIG_POINTER_OWN instead of '1'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:40:29 +00:00
Marcelo Matus
bd5892b0f4 add iadd and constants tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:18:30 +00:00
Marcelo Matus
757c27826a add iadd test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 09:10:59 +00:00
Marcelo Matus
65c6cd4a4c adding backward compatibility macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:55:41 +00:00