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
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
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
e6ceb122a6
Scott Michel director patch, typemap consolidation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
5b0b80a964
support for asymmetric type marshalling - added out attribute for ctype, imtype and cstype typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 21:59:17 +00:00
William S Fulton
f9ca6ab4c0
gcc-4.0 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-24 20:34:51 +00:00
Matthias Köppe
0e719c5eb3
Fix "define-method" generation for methods of classes with a
...
constructor. Reported by Luigi Ballabio.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-22 12:28:51 +00:00
John Lenz
33fda759d4
Chicken: Minor optimization to the exported constructor functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-16 21:42:42 +00:00
John Lenz
cee86ee739
SWIG chicken module now returns multiple values instead of returning a list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 22:38:09 +00:00
John Lenz
420ba48099
Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
William S Fulton
419ae77b1a
Fix typemap matching when wrapping variables (global, member and static member variables).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-14 20:19:59 +00:00
William S Fulton
6dbb138a49
remove some unnecessary code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-14 20:14:05 +00:00
John Lenz
c5f25b9168
Add some chicken test-suite entries for overloaded functions
...
(which now work correctly) and update the chicken documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-07 00:39:28 +00:00
John Lenz
c70b62fee2
Some chicken bug fixes for overloaded -proxy methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 20:39:57 +00:00
John Lenz
9203328908
Chicken: a few bug fixes, a new example and some new test suite runme, and some doc updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-05 17:48:31 +00:00
William S Fulton
34a035e3f1
template ext mode on for all languages, not just Python now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
William S Fulton
b173c87231
Fixes to correctly display file and line number when a warning originates from a typemap.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 22:36:52 +00:00
John Lenz
b3eb733c32
Improvements to the chicken module: tinyclos works with overloaded methods and some other changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-30 06:33:16 +00:00
William S Fulton
e683b3c7f7
directorout typemaps added (patch from Scott Michel)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:53:36 +00:00
William S Fulton
441efdb411
corrected directorout warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:52:53 +00:00
William S Fulton
c5a6351bff
fix %varargs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
William S Fulton
99310ae64c
warning change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-20 22:11:11 +00:00
John Lenz
92df04c40b
Lots more bug fixes for the chicken module: almost the entire test-sutie now runs
...
The only tests that are failing are ones that depend on std_vector.i and similar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 07:28:19 +00:00
Marcelo Matus
40d483208a
adding -notemplatereduce option + docs for -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 06:02:29 +00:00
John Lenz
3c8513346d
Fix a few more chicken bugs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-16 06:51:03 +00:00
John Lenz
99db8b33b2
Fix a few bugs in the chicken module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 23:02:58 +00:00
William S Fulton
47e471fc7e
Modifications to the typemaps giving users fine control over memory ownership and lifetime of director classes. Patch from Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:31:31 +00:00
John Lenz
827fa350ab
Add garbage collection support to the chicken module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-15 21:15:47 +00:00
Marcelo Matus
d75313afe0
add more missing Deletes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-14 23:32:31 +00:00
Marcelo Matus
bdf5a07d91
fix memory leak
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:44:06 +00:00
Marcelo Matus
fd947483fa
fix seg fault when using bad runtime file, such as a dir
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:42:16 +00:00
William S Fulton
5fdad83539
Fix for Perl incorrectly taking memory ownership for return types that are typedefs to a struct/class pointer
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-08 21:55:08 +00:00
Marcelo Matus
75b86293fd
add better director+exception support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 20:47:55 +00:00
Marcelo Matus
1ab25e9512
add more details for director when __init__ is not call
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-05 00:09:07 +00:00
Marcelo Matus
09636e03f4
adding missing virtual destructor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-02 17:51:58 +00:00
Marcelo Matus
006097c0a9
fix more VC7.1 warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:51 +00:00
Marcelo Matus
42381e5888
following Bill's labels patch, we add swiglabels.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
William S Fulton
c7198b8192
Fix broken build when using Visual C++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 22:31:59 +00:00
Marcelo Matus
cc21f3219a
finishing change from 'static' to 'SWIGINTERN'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:40:41 +00:00
Marcelo Matus
1a129db676
add robust -nortti implementation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 07:18:42 +00:00
Marcelo Matus
58db22803e
add -nortti option in python, to avoid using RTTI, mainly with directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-25 00:47:10 +00:00
John Lenz
ef58056ffd
Add support for the -external-runtime argument and update all language modules to use it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
2906fc959e
swig -help prints to stdout not stderr now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:04:10 +00:00
William S Fulton
e0b0628804
swig -version prints to stdout not stderr now (won't affect the autoconf macro version detection)
...
swig -help prints to stdout not stderr now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:02:44 +00:00
William S Fulton
5f49d9db1a
Code using SWIG_exception macro will now correctly return immediately back to managed code.
...
When wrapping member variables, the PInvoke code is emitted before the C# code - fixes subtle bugs in typemap matching rules.
More fixes to ensure typemap matching rules work for member variable and global variable properties.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:57:15 +00:00
William S Fulton
012866444a
Code using SWIG_exception macro will now correctly return immediately back to the JVM.
...
When wrapping member variables, the JNI code is emitted before the Java code - fixes subtle bugs in typemap matching rules.
More fixes to ensure typemap matching rules work for member variable and global variable setters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:48:59 +00:00
William S Fulton
bd3baa1ec4
attribute node change for a future planned mod
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:03:59 +00:00