Commit graph

1,640 commits

Author SHA1 Message Date
Marcelo Matus
9398e533f7 add 'init' method plus keys to use with Getattr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:57:03 +00:00
Marcelo Matus
631303638b use new native StringEqual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:55:00 +00:00
Marcelo Matus
bc6339d844 add the Equal method to the DOH objects and other speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:38:44 +00:00
Marcelo Matus
c332d8e833 fix for bug #1174705
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 23:21:43 +00:00
Marcelo Matus
f3acf52370 last performance improvements, and typemaps fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 09:20:24 +00:00
Marcelo Matus
cb4a1ff465 more speed ups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +00:00
Marcelo Matus
c12e955b0e fix for perl + multiple modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:10 +00:00
Marcelo Matus
dd523372b9 improve cpp performance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-23 03:10:00 +00:00
Marcelo Matus
f3c24eff33 fixes for directors + pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 21:01:35 +00:00
William S Fulton
fb94cfadc1 Add in support for non standard integral types used on Windows - Bug #872013
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:21:04 +00:00
William S Fulton
8c8a47c03d fix and make publicly available the upper case and lower case conversion functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:59:01 +00:00
William S Fulton
8394fb8dff Portability warning for files which will overwrite each other on case insensitive file systems such as FAT32/NTFS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:57:57 +00:00
William S Fulton
8c397aaa13 Portability warning for files which will overwrite each other on case
insensitive file systems such as FAT32/NTFS.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:57:09 +00:00
Ahmon Dancy
4098a01b68 Huge update to the Allegrocl module. Better C support. C++ support
added. Documentation! Makes use of typemaps for better interface
tuning. Improved type support. Wrapping of foreign pointers in
CLOS objects; hopefully a step toward being able to extend C++
classes from Lisp.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 20:44:22 +00:00
Marcelo Matus
e8b323e020 Use swig::PyObject_var for directors, to resolve memory leaks, plus use the faster CallFunctionObjArgs when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 16:00:31 +00:00
Marcelo Matus
f2d1e94900 add owndata field to swig_type_info, so clientdata can be properly delete if needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-08 15:53:30 +00:00
Marcelo Matus
b7a257a090 add support for multi-inheritance at the python side, and use PyArgs_UnpackTuple instead of PyArgs_ParseTuple when possible
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-07 12:38:14 +00:00
Marcelo Matus
c50b5284e2 fix name_set extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:30 +00:00
Marcelo Matus
e1534a90e0 add more support for operators + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:26:37 +00:00
Marcelo Matus
d34532e249 make all the suffix/prefix operations aware of operators, as in 'Foo::operator ns2::Bar()', where the prefix is 'Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:25:18 +00:00
Marcelo Matus
edf21ab130 fix extra mangling that confuses chicken
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 10:22:42 +00:00
John Lenz
f83457423d Make chicken module correctly calculate the get/set functions by using Swig_name_get
Fix a few compiler warnings in chickenrun.swg


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 19:23:19 +00:00
Marcelo Matus
bf2dac0672 fix bug #1347853 and better and/or/not operator management
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:47:07 +00:00
Marcelo Matus
1a4b7561d3 fix problem with operator < + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 16:45:20 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
a442049b77 exit properly when getting wrong number of args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:45:32 +00:00