Commit graph

14,024 commits

Author SHA1 Message Date
Marcelo Matus
8e29e828be fix for Py_NotImplemented as reported by Olly and Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 16:59:00 +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
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
51537af05a fix bug #1094964
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 06:27:47 +00:00
Marcelo Matus
cd9f060153 fix bug #1094964
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 06:27:47 +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
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
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
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
096ccb2c02 fix for friend operator and Visual studio and bug 1432152
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 15:59:22 +00:00
Marcelo Matus
883e73915f fix for friend operator and Visual studio and bug 1432152
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-21 15:59:22 +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
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
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
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
95815dd5a2 allow director protected members by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 18:18:44 +00:00
Marcelo Matus
3ffbfc43ef allow director protected members by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 18:18:44 +00:00
Marcelo Matus
50c10593e6 fix seterrormsg as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:42:54 +00:00
Marcelo Matus
ae83eaab01 fix seterrormsg as reported by Colin McDonald
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:42:54 +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
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
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
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
Marcelo Matus
a66fa50a8c cosmetic for generated python code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:33:18 +00:00
Marcelo Matus
c58c487181 cosmetic for generated python code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:33:18 +00:00
Marcelo Matus
28e84adf61 fix fastproxy for methods using kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +00:00
Marcelo Matus
62ba3024e2 fix fastproxy for methods using kwargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 07:30:38 +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
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
William S Fulton
6b6147f03b Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones in Visual Studio 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:16:56 +00:00
William S Fulton
b06e1b642e Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones in Visual Studio 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:16:56 +00:00
William S Fulton
f4428ffab0 Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:15:23 +00:00
William S Fulton
e960842b55 Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:15:23 +00:00
Matthias Köppe
af6cf00a55 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:58 +00:00
Matthias Köppe
67fb9d9649 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:58 +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
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
4f7aeb6bdb add std::wstring doc for tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 05:00:32 +00:00
Marcelo Matus
570a3bf514 add std::wstring doc for tcl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 05:00:32 +00:00
Marcelo Matus
5b98331c41 fix for python 2.3 and gc_refs issue reported by Luigi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 20:54:17 +00:00
Marcelo Matus
027e8561ae fix for python 2.3 and gc_refs issue reported by Luigi
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 20:54:17 +00:00
Marcelo Matus
cf3d3edba9 add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
640aaf8f3a add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 10:31:57 +00:00
Marcelo Matus
742a65ce66 add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
Marcelo Matus
ce2aa74c36 add swigregister proxy method and move __repr__ to a single global module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 09:23:55 +00:00
Marcelo Matus
b9c30d7738 more fixes for old Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 08:17:23 +00:00
Marcelo Matus
f1a00ddf25 more fixes for old Solaris compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 08:17:23 +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
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
555ffa5fb4 fix warning reported by Nitro in VC7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:27:30 +00:00