Commit graph

4,225 commits

Author SHA1 Message Date
William S Fulton
51dfcbb31e added csharp_features.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:50:24 +00:00
William S Fulton
559d68b852 test %csmethodmodifiers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:54 +00:00
William S Fulton
56bd6e048b %csmethodmodifiers can be applied to variables as well as methods now.
%csmethodmodifiers will replace the virtual/new/override modifiers that SWIG thinks is
appropriate in addition to the default 'public'. This is necessary for some obscure cases
where SWIG might get the modifiers incorrect, for example with private inheritance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:03 +00:00
William S Fulton
3903ff4339 remove python keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:43 +00:00
Marcelo Matus
44af5819fd fix #1188207 and uniform the error/null/none handling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:33 +00:00
Marcelo Matus
7f31cd5d0f fix #1207803
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:42:24 +00:00
William S Fulton
660b1965ce *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:39:24 +00:00
William S Fulton
12a32d84c4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:37:47 +00:00
William S Fulton
6f21f0d74a added missing constructors for std::pair
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:34:39 +00:00
William S Fulton
7d1e70ab8c Added std::pair wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:53 +00:00
William S Fulton
d10583144d Added std::map wrappers for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:14 +00:00
William S Fulton
4ff2deed13 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@7218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:31:33 +00:00
William S Fulton
896c26bf80 Fix incorrect access for methods added via the 'using' declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:24:00 +00:00
William S Fulton
474161aca5 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@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton
cb7aaf7406 remove for now this test that causes stack overflow due to recursive calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:18:18 +00:00
William S Fulton
4453747c6b test using declaration for methods with an exception specification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:17:17 +00:00
William S Fulton
4ada2f88af test class hierarchies where the access changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:15:01 +00:00
William S Fulton
f7e511ddd4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:10:10 +00:00
William S Fulton
0fc42f05c6 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@7211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:09:39 +00:00
William S Fulton
92e67c9d69 %extend in class hierarchy tests (for C# override and new method modifiers)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:05:52 +00:00
William S Fulton
96c3123156 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@7209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:03:50 +00:00
William S Fulton
fd1061968e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-23 21:02:31 +00:00
William S Fulton
2248e74a46 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:45:10 +00:00
William S Fulton
9d14ce782e more STL support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:43:46 +00:00
William S Fulton
57b965c3f9 wstring typemaps moved from std_string.i std_wstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:27:51 +00:00
William S Fulton
1f9ca483c9 Fix for crash in DohStrstr, bug #1190921
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:31:30 +00:00
William S Fulton
2ba3b19c02 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@7203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 00:09:18 +00:00
William S Fulton
c5b8ac0fc7 tcl long long overloading fix - bug #1191835, patch from Jeroen Dobbelaere
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:51:31 +00:00
William S Fulton
4474d13cd1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:25:36 +00:00
William S Fulton
893ce3f5ca remove debug (bug #1196755)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 23:24:13 +00:00
William S Fulton
a4729b150d function comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:41:21 +00:00
William S Fulton
bd7b79c691 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:40:23 +00:00
William S Fulton
377c757a06 More covariant tests and polymorphic methods tests to test C# override keyword.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:36:43 +00:00
William S Fulton
79ee75daf4 covariant and override attributes better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:32:34 +00:00
William S Fulton
20a2a120c9 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@7195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-20 22:31:41 +00:00
Marcelo Matus
bcc417e5f6 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@7194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-16 01:18:47 +00:00
William S Fulton
815f9f0265 more fixes for gcc -fstrict-aliasing -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:51:16 +00:00
William S Fulton
09a0062404 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@7192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 23:14:35 +00:00
William S Fulton
d2c036b5e7 whitespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:40:55 +00:00
William S Fulton
01a7281ad1 more pesky warnings removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:39:09 +00:00
William S Fulton
61168282b6 minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:36:58 +00:00
William S Fulton
e44cb4979d tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 21:07:22 +00:00
William S Fulton
fd73133790 fix for undefined reference on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:46:20 +00:00
William S Fulton
53def140aa enum attribute check added in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:40:38 +00:00
William S Fulton
a3d9903d5f 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@7185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:21:48 +00:00
William S Fulton
43a6363856 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@7184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:19:47 +00:00
William S Fulton
10a65c833c no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-12 20:12:02 +00:00
William S Fulton
fcc79874bc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-09 20:16:19 +00:00
William S Fulton
88853360b7 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@7181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-09 19:37:41 +00:00
William S Fulton
940f8e3325 Ruby warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:48:36 +00:00