Commit graph

1,656 commits

Author SHA1 Message Date
Marcelo Matus
d4163acbc2 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@8938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 05:16:16 +00:00
William S Fulton
f35ca61913 Add inner exception tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:19:56 +00:00
Marcelo Matus
7475a6b25e add std::vector<T*> specialization to fix #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 17:58:47 +00:00
Marcelo Matus
3dd67204e0 add test case for #1386582
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 15:28:31 +00:00
Marcelo Matus
22d022c7de 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@8925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 06:13:13 +00:00
Mikel Bancroft
6ee4d72a10 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@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
297bd8ae1e add typedef pointer case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 17:57:43 +00:00
Marcelo Matus
b672cccec3 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@8907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 16:28:38 +00:00
Marcelo Matus
eb3369a76b add missing typecheck typemap for argc,argv
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 03:00:26 +00:00
Marcelo Matus
ddd9cbf3c7 remove extra ;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 23:54:29 +00:00
Marcelo Matus
535eae8a41 fix bug #1158178
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 08:34:03 +00:00
Marcelo Matus
03fd3dca48 fix bug #1060789
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 02:39:24 +00:00
Marcelo Matus
c41f10fd9c fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Marcelo Matus
da1a23a6a2 fix char *& typemap, reported by Geoff Hutchison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 21:26:36 +00:00
Marcelo Matus
499588e51b fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:13:16 +00:00
Marcelo Matus
31b6e161eb fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:08:49 +00:00
Marcelo Matus
8086b62374 add option to use valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:17:49 +00:00
Marcelo Matus
ad5009e76f add new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:16:26 +00:00
Marcelo Matus
3a27443cd8 add missing virtual destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:08:11 +00:00
Marcelo Matus
f9ac40e613 add the hugemod example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:38:46 +00:00
Marcelo Matus
988e3eaae3 update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 06:17:44 +00:00
Marcelo Matus
99586801f7 move ignore_template_constructor to std since it requires std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 04:14:32 +00:00
Marcelo Matus
e640d5f4a3 add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 21:54:19 +00:00
Marcelo Matus
52ca5dcdf6 add the factory library for UTL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:42:20 +00:00
Marcelo Matus
3db62d3c27 fix nested namespace issue reported by Charlie
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 17:55:13 +00:00
Charlie Savage
aff76328a7 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@8861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 08:20:48 +00:00
Marcelo Matus
0b268dccf4 fix using + extend as reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 01:21:43 +00:00
Marcelo Matus
fdb5c5ccd5 fix bug #1435090
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 18:04:59 +00:00
Marcelo Matus
d388046661 fix for directors, now the test-suite runs again using -directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:20:09 +00:00
Marcelo Matus
50ac99c2cc fix previous overload +protected member issue, as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 11:09:05 +00:00
Marcelo Matus
b55b987adf fix for ruby,perl and others with no std::vector class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:09:58 +00:00
Marcelo Matus
a437930f4d fix overload + protected member issue reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 16:52:28 +00:00
William S Fulton
155e080024 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@8848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:53:15 +00:00
Matthias Köppe
bf1f3e4c09 [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@8844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:42 +00:00
Marcelo Matus
8d3ff53be8 fix gcc warning reported by R. Bernstein
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:29:15 +00:00
Marcelo Matus
609c14457d fix premature object deletion reported by Paul in tcl3d
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
William S Fulton
fbb04095a1 virtual method hiding fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:41:57 +00:00
William S Fulton
926bc01380 solaris warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:36:39 +00:00
Marcelo Matus
3da03c36d2 add missing delete that valgrind misses
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 20:46:46 +00:00
Marcelo Matus
d36c154169 add test for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 20:46:13 +00:00
Marcelo Matus
e26e9d9b6d fix [ 1432152 ] %rename friend operators in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 06:59:06 +00:00
Marcelo Matus
76089cb45d fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8824 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 06:00:08 +00:00
Marcelo Matus
ca911e8167 fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:48:35 +00:00
Marcelo Matus
9f2e2f2fb0 fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:44:50 +00:00
Marcelo Matus
88023f8b82 fix copyctor + template bug #1432125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-16 05:30:26 +00:00
Marcelo Matus
88cf71c939 fix typemap issue reported by Bob Marinier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-15 22:55:56 +00:00
Matthias Köppe
3c2bc16ff4 New test case integers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-14 19:03:55 +00:00
Matthias Köppe
e87a7dbbf0 New test case integers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-14 18:25:16 +00:00
Marcelo Matus
5072447b47 fix macro expansion issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 08:56:55 +00:00
Marcelo Matus
0ac2846b70 fix macro expansion issue reported by Andreas Held
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 08:55:06 +00:00