Commit graph

4,263 commits

Author SHA1 Message Date
Matthias Köppe
d2cbe488c8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:45:46 +00:00
Matthias Köppe
21f3f0e81b 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@7266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 10:31:18 +00:00
William S Fulton
179c5710af *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:52:32 +00:00
William S Fulton
c4aed59a48 test symbol with same name but different purpose in inheritance hierarchy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:48:11 +00:00
William S Fulton
668381afe4 missing return added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:43:56 +00:00
William S Fulton
990c38e797 More tests when a method's access changes through inheritance hierarchy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:42:59 +00:00
William S Fulton
c4352f8bb7 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
3ed206ebd0 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@7260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:38:52 +00:00
William S Fulton
479697a677 html validation fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 23:06:56 +00:00
William S Fulton
d3c73fe48b Update for 1.3.25 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:59:50 +00:00
William S Fulton
b707684fec Various fixes for VC++7.1 and Sun Studio 10
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 21:25:00 +00:00
William S Fulton
c12129c0a8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:53:08 +00:00
William S Fulton
15a791cfb8 Various fixes for Visual C++ 7.1 and Sun Studio 10
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:52:16 +00:00
William S Fulton
a67f27efeb Sun Studio 10 can handle templates properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:50:26 +00:00
William S Fulton
385eef2af5 copyright year update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
40eb42cf6e minor correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:47:29 +00:00
William S Fulton
2c797c1ac4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:58:13 +00:00
William S Fulton
bd43f20540 Fix #1066363 - directory name matches tarball name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:56:35 +00:00
William S Fulton
c922efdfcd test bug #1211353 for -ve enum values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:52 +00:00
William S Fulton
ad57e978d4 Fix #1211353 for -ve enum values
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:46:08 +00:00
William S Fulton
3a23e98a13 html error fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 21:44:57 +00:00
Dave Beazley
7c9e7a7e6d Changed wiki location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:59:48 +00:00
Dave Beazley
7ade73ff78 Changed my contact email. Wiki location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-02 00:58:45 +00:00
William S Fulton
dd6d53d082 test virtual methods in private inheritance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:56:23 +00:00
William S Fulton
e8d738ab42 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@7243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:51:20 +00:00
William S Fulton
7fca0c8649 test strings in a multithreaded environment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:42:50 +00:00
William S Fulton
1bdec68f87 A testcase for testing multi-thread issues
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:40:45 +00:00
William S Fulton
f49efb2197 multithread fixes for Cygwin g++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:38:48 +00:00
William S Fulton
9f5d2e0648 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:54:45 +00:00
William S Fulton
eff90cf3ee %csmethodmodifiers workaround for C# wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:49:06 +00:00
William S Fulton
e3dbbd6ba5 minor fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:48:20 +00:00
William S Fulton
7470a5a0a2 %csmethodmodifiers update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:47:38 +00:00
William S Fulton
d7575bca78 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:47:10 +00:00
William S Fulton
c25d1c8e35 Uniform handling of SWIGEXPORT across SWIG.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:58 +00:00
William S Fulton
27270d050d Uniform handling of SWIGEXPORT across SWIG (was DllExport)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:40:40 +00:00
William S Fulton
ebd95c4189 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@7232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:37:29 +00:00
William S Fulton
d6d5cc11e9 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@7231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:35:41 +00:00
William S Fulton
8428f13c58 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-26 20:51:14 +00:00
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