Commit graph

1,664 commits

Author SHA1 Message Date
Marcelo Matus
97cceb10d2 fix for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:36:55 +00:00
Marcelo Matus
b260d10247 delete extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:35:57 +00:00
William S Fulton
c772286a5d remove sprintf deprecated message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 00:38:54 +00:00
William S Fulton
e15082fb4b remove extra void * cast which hides type punned aliasing gcc warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 23:51:56 +00:00
William S Fulton
0ff03f4aab Fix compilation error in test case (gcc).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 23:35:57 +00:00
William S Fulton
1e57c7ed6d add missing virtual destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:35:23 +00:00
Marcelo Matus
9d1cab9dee add test case for bug #1439898
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:17:54 +00:00
Marcelo Matus
9044d078be temporal fix since TCL has no std::vector<T*> specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 06:14:48 +00:00
Marcelo Matus
dd1e7cd0b4 fix builtin names warnings, so they ony apply to functions, as reported by James Bigler and the 'max' name issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 05:16:16 +00:00
William S Fulton
98d8be6bd1 Add inner exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:19:56 +00:00
Marcelo Matus
660dcb58a5 add std::vector<T*> specialization to fix #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 17:58:47 +00:00
Marcelo Matus
64d89d4b80 add test case for #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:28:31 +00:00
Marcelo Matus
8eff9ca6dd add SWIG_TYPECHECK_SWIGOBJECT to resolve simple overload functions as Graph(int i)/Graph(PyObject* p)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 06:13:13 +00:00
Mikel Bancroft
4aabff8208 02/27/2006: mutandiz
[allegrocl]
	    Add support for INPUT, OUTPUT, and INOUT typemaps.
	    For OUTPUT variables, the lisp wrapper returns multiple
	    values.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
e574834505 add typedef pointer case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 17:57:43 +00:00
Marcelo Matus
c3bb0f609c fix std_map such that is not necessary to use %template() std::pair<xx,yy> everytime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 16:28:38 +00:00
Marcelo Matus
4c8421164f add missing typecheck typemap for argc,argv
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 03:00:26 +00:00
Marcelo Matus
fd5bc10c14 remove extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 23:54:29 +00:00
Marcelo Matus
4ba7f6c2a2 fix bug #1158178
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 08:34:03 +00:00
Marcelo Matus
72fd0c51ab fix bug #1060789
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 02:39:24 +00:00
Marcelo Matus
46318e8766 fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Marcelo Matus
220a0ad055 fix char *& typemap, reported by Geoff Hutchison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:26:36 +00:00
Marcelo Matus
6d067170dc fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:13:16 +00:00
Marcelo Matus
26d42ec95d fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:08:49 +00:00
Marcelo Matus
f77b1da32e add option to use valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:17:49 +00:00
Marcelo Matus
9a711d866f add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:16:26 +00:00
Marcelo Matus
f670bea448 add missing virtual destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:08:11 +00:00
Marcelo Matus
4b0030d3e8 add the hugemod example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:38:46 +00:00
Marcelo Matus
04c6f733b7 update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:17:44 +00:00
Marcelo Matus
201c965c70 move ignore_template_constructor to std since it requires std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 04:14:32 +00:00
Marcelo Matus
347f2683fa add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 21:54:19 +00:00
Marcelo Matus
44264e5544 add the factory library for UTL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:42:20 +00:00
Marcelo Matus
79927c9b19 fix nested namespace issue reported by Charlie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 17:55:13 +00:00
Charlie Savage
e66f81f904 Fixed a bug in Ruby's object tracking functionality. Previously, an object could be returned even if it did not have the correct type. This could occur if a factory class' creation method had a signature returning a base type (like geometry) but in reality a subclass (like Point) was returned. In that case, it would then be impossible to implement a "downcast" method and get back a Ruby object of type Point. Also updated the test-suite to test this situation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 08:20:48 +00:00
Marcelo Matus
e99a8a707f fix using + extend as reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 01:21:43 +00:00
Marcelo Matus
51d327f8a0 fix bug #1435090
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 18:04:59 +00:00
Marcelo Matus
3d6ad6e78d fix for directors, now the test-suite runs again using -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
60fca08fd8 fix previous overload +protected member issue, as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:09:05 +00:00
Marcelo Matus
ae8e5fbe73 fix for ruby,perl and others with no std::vector class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:09:58 +00:00
Marcelo Matus
0e217ce9fb fix overload + protected member issue reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 16:52:28 +00:00
William S Fulton
4bfc884b6d define Flow as in the original bug report and add in usual C# workaround for vectors of classes in a namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:53:15 +00:00
Matthias Köppe
b63f275984 [MzScheme] Typemaps for all integral types now accept the full range
of integral values, and they signal an error when a value outside the
valid range is passed.

[Guile] Typemaps for all integral types now signal an error when a
value outside the valid range is passed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:42 +00:00
Marcelo Matus
c222ef7cee fix gcc warning reported by R. Bernstein
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:29:15 +00:00
Marcelo Matus
f641130612 fix premature object deletion reported by Paul in tcl3d
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
William S Fulton
d9a0d047cb virtual method hiding fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:41:57 +00:00
William S Fulton
e76b140baa solaris warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:36:39 +00:00
Marcelo Matus
07d4ca1013 add missing delete that valgrind misses
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 20:46:46 +00:00
Marcelo Matus
c430141dcd add test for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 20:46:13 +00:00
Marcelo Matus
5236d3ddf3 fix [ 1432152 ] %rename friend operators in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 06:59:06 +00:00
Marcelo Matus
30e5b5b666 fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 06:00:08 +00:00