Commit graph

4,102 commits

Author SHA1 Message Date
Matthias Köppe
cffd866faa Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:13:02 +00:00
Matthias Köppe
92d96bdd65 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:45:46 +00:00
Matthias Köppe
c0c0689298 Fix typecheck for SWIGTYPE.
This fixes the following bug:

Luigi Ballabio wrote:

> The following interface produces Guile wrappers which
> do not compile:
>
> %module Foo
> class Foo {};
> class Bar : public Foo {};
> void baz(Foo f);
>
> The reason seems to be the function baz() taking a Foo by value, which
> causes functions to be emitted in the CONVERSIONS section such as:
>
> static void *_BarTo_Foo(void *x) {
>      return (void *)((Foo)  ((Bar) x));
> }
> static void *_p_BarTo_p_Foo(void *x) {
>      return (void *)((Foo *)  ((Bar *) x));
> }
>
> of which the former doesn't compile; on the other hand, only the second
> function is emitted if baz() takes a Foo by const reference.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:31:18 +00:00
William S Fulton
5b766d6fc0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:52:32 +00:00
William S Fulton
c4fcaf6e05 test symbol with same name but different purpose in inheritance hierarchy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:48:11 +00:00
William S Fulton
8a9f37eb53 missing return added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:43:56 +00:00
William S Fulton
f3b30bcfac More tests when a method's access changes through inheritance hierarchy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:42:59 +00:00
William S Fulton
cf56fd2c77 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
2d53bf6463 Bug fix for when a base class has the same name as a method in a derived class.
Fixes for when access changes from protected to public (-fvirtual and override/hides attributes)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
0a8e2111d3 html validation fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 23:06:56 +00:00
William S Fulton
8205ca9de8 Update for 1.3.25 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:59:50 +00:00
William S Fulton
c09b7fa897 Various fixes for VC++7.1 and Sun Studio 10
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
b6b35e2e71 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:53:08 +00:00
William S Fulton
4fea1d827a Various fixes for Visual C++ 7.1 and Sun Studio 10
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:52:16 +00:00
William S Fulton
7f149959c9 Sun Studio 10 can handle templates properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:50:26 +00:00
William S Fulton
e2e829dfc6 copyright year update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
28859e6894 minor correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:47:29 +00:00
William S Fulton
dc633df912 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:58:13 +00:00
William S Fulton
99db8318db Fix #1066363 - directory name matches tarball name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:56:35 +00:00
William S Fulton
9c9764d962 test bug #1211353 for -ve enum values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:52 +00:00
William S Fulton
388fbad517 Fix #1211353 for -ve enum values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:08 +00:00
William S Fulton
a0cb27e998 html error fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:44:57 +00:00
Dave Beazley
dac6d7d0c7 Changed my contact email. Wiki location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:58:45 +00:00
William S Fulton
0b1a6606f1 test virtual methods in private inheritance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:56:23 +00:00
William S Fulton
b891717ad8 Fix detection of virtual/overridden methods when derived class has private or protected inheritance from base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
98325f88a7 test strings in a multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:42:50 +00:00
William S Fulton
ae38d0ff23 A testcase for testing multi-thread issues
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:40:45 +00:00
William S Fulton
ef46614102 multithread fixes for Cygwin g++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:38:48 +00:00
William S Fulton
267182d60c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:54:45 +00:00
William S Fulton
3a4dabadac %csmethodmodifiers workaround for C# wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:49:06 +00:00
William S Fulton
3f6944f4a9 minor fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:48:20 +00:00
William S Fulton
1998da94ed %csmethodmodifiers update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:47:38 +00:00
William S Fulton
6a3a6e8219 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:47:10 +00:00
William S Fulton
815355b964 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
0870b84abc Uniform handling of SWIGEXPORT across SWIG (was DllExport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:40 +00:00
William S Fulton
de35943f2f Uniform SWIGEXPORT handling across SWIG (was DllExport in C# module)
SWIGSTDCALL moved to swiglabels.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:37:29 +00:00
William S Fulton
2c68f72234 Uniform SWIGEXPORT handling, reverting back to SWIG-1.3.24 approach, plus changes which remove unnecessary Borland specific handling.
SWIGSTDCALL available for all languages and can be overidden by users.
General tidy up.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:35:41 +00:00
William S Fulton
e728c09704 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:51:14 +00:00
William S Fulton
5e7afa2a6c added csharp_features.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:50:24 +00:00
William S Fulton
7fd7642237 test %csmethodmodifiers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:54 +00:00
William S Fulton
b29514ffcf %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/SWIG@7227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:49:03 +00:00
William S Fulton
3b45bd4946 remove python keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:43:43 +00:00
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