Commit graph

4,060 commits

Author SHA1 Message Date
Marcelo Matus
a2f5af9ddd fix #1188207 and uniform the error/null/none handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:33 +00:00
Marcelo Matus
645c1698fa fix #1207803
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:42:24 +00:00
William S Fulton
e00f6e07af *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:39:24 +00:00
William S Fulton
95a412b8e8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:37:47 +00:00
William S Fulton
4c4e3f47ad added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
b7ff842e59 Added std::pair wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:53 +00:00
William S Fulton
1f6afbffa6 Added std::map wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:14 +00:00
William S Fulton
628a069239 Apply same treatment to methods added to a class via the 'using' declaration as normally declared and %extend declared methods
Fixes for virtual method detection (for methods with non-public access)
Better detection of 'hidden' methods - a non-virtual identical method in the base, (needed for C# 'new' method modifiers)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:31:33 +00:00
William S Fulton
05dcdca824 Fix incorrect access for methods added via the 'using' declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +00:00
William S Fulton
c697a7368a Fix incorrect access for methods added via the 'using' declaration
Exception specifications were not being added to methods added via the 'using' declaration


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton
8131f53e11 remove for now this test that causes stack overflow due to recursive calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:18:18 +00:00
William S Fulton
fcf2afc3a9 test using declaration for methods with an exception specification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:17:17 +00:00
William S Fulton
ad46f2ef3e test class hierarchies where the access changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:15:01 +00:00
William S Fulton
c307af0127 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:10:10 +00:00
William S Fulton
4ecb8a906b More extensive covariant return types tests
More tests for virtual and non virtual methods in a class hierarchy (for C# new and override method modifiers)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:09:39 +00:00
William S Fulton
fd219b7107 %extend in class hierarchy tests (for C# override and new method modifiers)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:05:52 +00:00
William S Fulton
d00a8ee60f Covariant return types fixes
Any method which hides a base method is marked (for C# 'new' method modifier)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:03:50 +00:00
William S Fulton
d8c140e82a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:02:31 +00:00
William S Fulton
33f5d4aff7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:45:10 +00:00
William S Fulton
7984c13d4b more STL support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:43:46 +00:00
William S Fulton
e00fede3f9 wstring typemaps moved from std_string.i std_wstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:27:51 +00:00
William S Fulton
a10cfa80dd Fix for crash in DohStrstr, bug #1190921
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:31:30 +00:00
William S Fulton
89e581e19c Fix for methods with similar names when showing list of names on error - bug #1191828. Patch from Jeroen Dobbelaere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:09:18 +00:00
William S Fulton
b417ef575e tcl long long overloading fix - bug #1191835, patch from Jeroen Dobbelaere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:51:31 +00:00
William S Fulton
6e4f04b393 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:25:36 +00:00
William S Fulton
6ac7bd813b remove debug (bug #1196755)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:24:13 +00:00
William S Fulton
326949ffe9 function comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:41:21 +00:00
William S Fulton
f491e1416d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:40:23 +00:00
William S Fulton
0757a8f634 More covariant tests and polymorphic methods tests to test C# override keyword.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:36:43 +00:00
William S Fulton
7a72389977 covariant and override attributes better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:32:34 +00:00
William S Fulton
88f2cdc5bd Fix bugs in detection of polymorphic methods
- when %ignore used on class
- when typedefs involved


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:31:41 +00:00
Marcelo Matus
61c97d7943 add template + typedef + fnc case reported by Carlos Pita. Broken in 1.3.24, but works in CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-16 01:18:47 +00:00
William S Fulton
71646dcd81 more fixes for gcc -fstrict-aliasing -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:51:16 +00:00
William S Fulton
94e6c86d06 Fixes to remove "dereferencing type-punned pointer will break strict-aliasing rules" warnings in C wrappers when compiling C code with 'gcc -Wall -fstrict-aliasing'. Patch from Michael Cahill.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
9bd7f1ec9a whitespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:40:55 +00:00
William S Fulton
2efc803b8e more pesky warnings removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:39:09 +00:00
William S Fulton
07019d1a97 minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:36:58 +00:00
William S Fulton
1ab2aa5ba5 tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 21:07:22 +00:00
William S Fulton
2a8a9fc72e fix for undefined reference on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:46:20 +00:00
William S Fulton
39b2764e6d enum attribute check added in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:40:38 +00:00
William S Fulton
2d989e2f6d C# attribute support added - %csattributes feature, %csattributes typemap
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.
Links to external documentation on interop added.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:21:48 +00:00
William S Fulton
a0712b227f C# attribute support added - %csattributes feature, %csattributes typemap
and inattributes & outattributes typemap attributes for the imtype and cstype typemaps.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00
William S Fulton
05b188441c no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:12:02 +00:00
William S Fulton
54a5b99e3b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-09 20:16:19 +00:00
William S Fulton
d2e8563699 fixes for gcc-4.0 interpretation of the C++ standard - anonymous declarations cannot have external C++ linkage.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-09 19:37:41 +00:00
William S Fulton
25ff27a147 Ruby warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:48:36 +00:00
William S Fulton
015c75b224 Mods to remove warnings that mono-1.1.7 produces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:47:32 +00:00
Jason Stewart
b2382ca506 dummy commit - testing dev commit privs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-05 06:56:26 +00:00
William S Fulton
4ce3b7acaf --without-maximum-compile-warnings option added so that these compiler options can be completely removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-30 06:48:14 +00:00
William S Fulton
6e9d0e52ca *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-30 06:46:35 +00:00