Commit graph

4,271 commits

Author SHA1 Message Date
William S Fulton
3f71da7050 Fix early garbage collection for alternative char * typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 23:29:58 +00:00
William S Fulton
4a34bca24d typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 21:20:49 +00:00
William S Fulton
701abd0058 typo in example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 21:20:17 +00:00
Matthias Köppe
624cb6e892 Fix for global "const char *" variables.
Fix testcases arrays_dimensionless, arrays_global.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:43:46 +00:00
Matthias Köppe
f4aaf0f5f0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:42:16 +00:00
Matthias Köppe
dceec58881 Define swig_and_compile_multi_cpp here, don't inherit from guile-gh,
which does -runtime.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:35:45 +00:00
Matthias Köppe
b86d0e3905 Fix Bash-ism.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:30:32 +00:00
Matthias Köppe
5c04ab5d23 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-10 11:13:02 +00:00
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