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
William S Fulton
8a22867e9a
Fix so the following produces compileable code like it does in other language modules:
...
struct XYZ{};
%{ struct XYZ{}; %}
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 20:59:43 +00:00
William S Fulton
1462927909
More of the new C# exceptions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:45:57 +00:00
William S Fulton
a78579ec3f
C# exception handling improvements - they are robust and don't leak anymore. Requires typemap modifications using attribute canthrow in any unmanaged code typemaps that throw an exception and excode attribute in csout and csconstruct typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:44:32 +00:00
John Lenz
f6964f285f
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
William S Fulton
0f88f19531
Remove unnecessary protected default constructor when there is no default proxy constructor.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-11 22:56:19 +00:00
William S Fulton
74cf6ee4c2
new typemap: csconstruct. This typemap contains the code that goes into the proxy constructor.
...
The generated code is slightly different. A method called swigSetup is called during construction of the proxy object.
This is for a future change where a try finally block needs to be put around an unmanaged call during construction (for a new c++ to c# exception conversion handling mechanism)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:35:37 +00:00
William S Fulton
408a7ca9d3
new typemap: javaconstruct. This typemap contains the code that goes into the proxy constructor.
...
The javaconstruct_director typemap is used instead when directors are enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:32:33 +00:00
Marcelo Matus
70d3bde16b
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 20:42:28 +00:00
Marcelo Matus
533b36c15d
more fixes and cases for smart pointers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 08:56:27 +00:00
Marcelo Matus
d6802c75ba
avoid using reference value for static members, since it can generate unresolved symbols for static const
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 07:38:55 +00:00
Marcelo Matus
417e339ba3
more smart_pointer + static methods fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-23 01:12:07 +00:00
Marcelo Matus
bc65d87973
fix for smart_pointers + friends, fix for errant Delete
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 22:48:50 +00:00
Marcelo Matus
6e0f299006
reenable autodoc for static methods + cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:34:15 +00:00
Marcelo Matus
7ae82d1c51
fixes for templates and template default args, cosmetics, and other fixes for OSS
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
William S Fulton
2cbd22194b
More improved warnings for duff base classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 21:25:12 +00:00
Marcelo Matus
9345106eda
fix warning for forward base class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 06:47:19 +00:00
William S Fulton
215dc951af
Sun Workshop compiler fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:41:13 +00:00
Marcelo Matus
4dd078b834
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:12:48 +00:00
John Lenz
3e93078f74
Chicken: Export proxy function for constants (enums, defines)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 02:01:26 +00:00
John Lenz
71e40846b0
Chicken: Fix bug when exporting non-class variables using -proxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:50:42 +00:00
John Lenz
e73a098774
Added a -nounit argument, which does not export the (declare (unit ...))
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:38:20 +00:00
John Lenz
b59e4a85a4
- static class member functions now get exported with -proxy.
...
- member variables of other classes now works properly in goops.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 08:11:02 +00:00
Marcelo Matus
d6760d4889
more smart_pointer fixes + cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:32:11 +00:00
William S Fulton
f91144e004
small tweak to canonicalizeJNIDescriptor()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:24:13 +00:00
William S Fulton
35b1c77401
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +00:00