Commit graph

1,351 commits

Author SHA1 Message Date
Marcelo Matus
c5dd9cfe0b add more time for slow machines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:41 +00:00
Marcelo Matus
2ea2a973f3 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:38:07 +00:00
Marcelo Matus
eae6be789b add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 23:37:40 +00:00
Marcelo Matus
70bb5455a6 add more cases and flag for valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:38:27 +00:00
Marcelo Matus
c23dd13d92 silence warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:37:15 +00:00
Marcelo Matus
a5566df2ef add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 22:35:54 +00:00
Marcelo Matus
f804cc18ab add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Charlie Savage
5dd84412c3 Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class.  This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
b98cd3362a test vectors of primitive types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:51:32 +00:00
William S Fulton
94170dd0b0 vector wrapper runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:31:28 +00:00
William S Fulton
012212b651 Add vectors of pointers runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:30:12 +00:00
William S Fulton
d5dbb5e2d1 remove SWIG bug workaround
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:28:17 +00:00
William S Fulton
b5acc30241 Add in vectors of pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:25:54 +00:00
William S Fulton
33a81636be pointer reference runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:13:27 +00:00
William S Fulton
1822bbc20e Add pointer reference for runtime testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:11:39 +00:00
Marcelo Matus
a92239d201 fix def_arg case broken with last &/* fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 18:21:18 +00:00
Marcelo Matus
d81c62a80d always disable the castmode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:23:22 +00:00
Marcelo Matus
5a76bc68fc add castmode in python and cleaning the castdispatch mechanism
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 09:22:17 +00:00
Marcelo Matus
cd5224c0b1 add more dispatch cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 01:44:36 +00:00
Marcelo Matus
7edc2e0a91 implement the rank-cast dispatch mechanism, which is now the default behavior in perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:07:49 +00:00
Marcelo Matus
2fd91965c3 fix name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 23:47:08 +00:00
Marcelo Matus
a20458731e more cleanups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:43:11 +00:00
Marcelo Matus
858453b1cf disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Marcelo Matus
4e6bc30270 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:32:49 +00:00
Marcelo Matus
f023a22575 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
William S Fulton
e0c406fd56 test changing the intermediary classname from default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:50:08 +00:00
William S Fulton
dd324dd2a1 add intermediary_classname.i for testing changing the intermediary classname from default (Java/C#)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:48:32 +00:00
Marcelo Matus
da674069e9 remove prints, add more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:53:07 +00:00
Marcelo Matus
67dafc531d move iterator classes to pyiterator and add/test std_carray.i class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-19 10:43:26 +00:00
Marcelo Matus
f35a5a423c fix reference/pointers op. in pointer assgiments, reported by Surendra Singhi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 06:49:54 +00:00
Marcelo Matus
0d28216551 add missing virtual destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-18 02:30:31 +00:00
Marcelo Matus
1f2953ccdd fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
b67cb4e9a0 add valgrind supp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 08:02:28 +00:00
Marcelo Matus
e439095816 fix memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 01:21:59 +00:00
Marcelo Matus
2173101af6 fixes for the examples and tcl to use the old Tcl_SetResult()... methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
5480a83e79 add support for accessing 'self.thisown'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 01:12:26 +00:00
Marcelo Matus
3db0e56b49 'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
b74f51e7fe add test for 'typedef unsigned long size_t'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:35:11 +00:00
Marcelo Matus
04027ce2f1 simplify the thread implementation, use feature 'nothread' to disable threads instead of 'thread' to enable them, plus other fixes around threads
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 19:35:03 +00:00
Marcelo Matus
8839f3dfb0 add thread support based in proposal #398495 by Joseph Winston
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-06 06:39:24 +00:00
Marcelo Matus
0067241a84 don't use Py_None directly nor &PyType_Type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 08:50:00 +00:00
Marcelo Matus
3b139f6d7c shorter sleep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-04 05:06:53 +00:00
Matthias Köppe
5d1d9bb513 Enable test suite for Allegro CL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-01 17:41:50 +00:00
Marcelo Matus
bf6ea0c7ba force examples to use preinst-swig, as is done in the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:17:20 +00:00
Marcelo Matus
93677b27f2 fix bug #1174705
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:15:26 +00:00
Marcelo Matus
8e37a7bc71 fix kw in perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:13:49 +00:00
Marcelo Matus
4693d09680 fix examples to use preinst-swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-27 02:05:49 +00:00
William S Fulton
4c6301be2c Get clean target working again
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:36:21 +00:00
William S Fulton
79aedd92d7 c# keyword clash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:39:05 +00:00
William S Fulton
3d786499d0 php keyword fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:38:49 +00:00