Commit graph

4,573 commits

Author SHA1 Message Date
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
Marcelo Matus
f9a28cdec7 documenting attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:48:56 +00:00
Marcelo Matus
1b811fc2b9 add missing %newpointer_flags option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:49 +00:00
Marcelo Matus
2f1217145a more perl cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:15:14 +00:00
Marcelo Matus
db4f2f71a1 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/SWIG@7730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:14:49 +00:00
Marcelo Matus
a503a53533 add the swig version to the proxy file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:12:29 +00:00
Marcelo Matus
7b2f15669b use SWIGINTERN instead of static
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:11:43 +00:00
Marcelo Matus
520148071b fix compiler warnings and finishing transition to the option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:10:39 +00:00
Marcelo Matus
1fa14f74a7 add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
46c43c51cd add pointer test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 16:44:21 +00:00
Marcelo Matus
0fdc165aa7 test the 'only one ref method' case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 16:17:05 +00:00
Marcelo Matus
97874a090a use macros by default and cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:51:16 +00:00
Marcelo Matus
ead70adb56 more fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 15:15:42 +00:00
Marcelo Matus
07df4a57db fixes for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:52:30 +00:00
Marcelo Matus
3428bf10a6 add interpreter variable, so it can be used with valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:51:41 +00:00
Marcelo Matus
a7091f135b more fixes for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:49:09 +00:00
Marcelo Matus
f4dc42589e CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:41:48 +00:00
Marcelo Matus
8be1b7a07c 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/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
25e3e4dee8 uniform the name_get/name_set names and fix for DISOWN
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:19:06 +00:00
Marcelo Matus
61e61a35ed uniform the name_get/name_set names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:18:43 +00:00
Marcelo Matus
e8535abc5b implement DISOWN, please test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 10:57:33 +00:00
Marcelo Matus
f66e70d525 fix kw warning for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:35:13 +00:00
Marcelo Matus
4ae7998d58 make base director class virtual and eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:33:42 +00:00
Marcelo Matus
6ccb7738f4 eliminate compilation warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:32:05 +00:00
Marcelo Matus
e7eeff806a 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/SWIG@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +00:00
Marcelo Matus
b52bcbb2df perl use the proper library directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:45:53 +00:00
Marcelo Matus
66170edbb9 fix for multiple inheretance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 15:21:03 +00:00
Marcelo Matus
3c65cea431 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/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
733d338862 remove extra info printed for %define, but not #define, it makes very hard to find an error since swig reports it from where the macro was defined, not used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:38:09 +00:00
John Lenz
48f1da1bfc + finally fix pointers to member functions in chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 03:42:32 +00:00
Marcelo Matus
57344bfb9a more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:26:18 +00:00
Marcelo Matus
773f592ad2 fix non-wanted warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 12:19:02 +00:00
Marcelo Matus
072446f34f add the runtime case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 11:01:40 +00:00