William S Fulton
54716583f2
test typemap matching rules for variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:31:56 +00:00
William S Fulton
1c776bd850
more c# exception tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:29:44 +00:00
William S Fulton
4d0e968154
const warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:28:43 +00:00
William S Fulton
faac32387d
revert to original typemap matching rules for now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:27:09 +00:00
William S Fulton
04d96a8f14
Fix for typemap matching rules when wrapping variables for languages that wrap them via getter/setter functions (C# and Java)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:26:04 +00:00
William S Fulton
fd1a2bcba0
%exception fixes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:23:59 +00:00
William S Fulton
edd9bb98e5
revert last %exception changes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:10:13 +00:00
William S Fulton
0706a82932
Fixes to SWIG_exception for C# and Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:09:06 +00:00
William S Fulton
0f8569d076
Latest exception fixes for properties
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:02:22 +00:00
William S Fulton
eb7b7dfd20
pending exception assertion makeover
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:59:46 +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
5d657e01ae
const warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:00:52 +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
Matthias Köppe
4bbc9c18b3
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:50:07 +00:00
Matthias Köppe
7c80d895b9
Merge patch from Torsten Landschoff <torsten@debian.org>
...
for improving Pike configuration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:48:41 +00:00
Matthias Köppe
5753fdb420
Remove %apply for size_t; add %typecheck for size_t and ptrdiff_t
...
directly. This fixes warnings in test case wrapmacro.
Add %typecheck for SWIGTYPE. This fixes warnings in test cases
director_basic, extend_placement, overload_template,
template_default_arg, valuewrapper_opaque.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:30:39 +00:00
Matthias Köppe
41265040fc
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-12 16:51:44 +00:00
Matthias Köppe
c7c9fca4c7
New configure switches --without-tcl, --without-python etc. allow to
...
disable the search for installed languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-12 16:51:16 +00:00
William S Fulton
9769504890
added info about searching the mailing lists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-08 22:41:56 +00:00
William S Fulton
cca585acc8
New C# exceptions test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:49:22 +00:00
William S Fulton
e439980660
exceptions runtime test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:46: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
William S Fulton
d5faf4d89c
minor name change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:28:21 +00:00
John Lenz
3af4b2bea0
Add __attribute__ ((unsued)) to runtime functions for gcc compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 18:58:47 +00:00
John Lenz
f414641526
- whups, fix up path to Guile.html in Changelog
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:28:48 +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
John Lenz
58cd593dae
hide swig-initialize-return symbol in chicken exported scheme code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:14:38 +00:00
John Lenz
5ee9c3b717
Cast guile enum in typemap corretly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:01:09 +00:00
William S Fulton
346dc4fb11
better error message when mcs is not the Mono C# compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-12 22:46:20 +00:00
William S Fulton
61ae82b5eb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-11 22:56:48 +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
7ddc22dd99
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@6924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:59:08 +00:00
William S Fulton
2394fc2d86
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@6923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:58:39 +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
William S Fulton
2cb0382899
C# and Java construct typemap additions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:27:11 +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
d13e837d8e
more smart pointers + extend fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-04 09:41:05 +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
00138c0efb
fix for multiple name warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:48 +00:00
Marcelo Matus
983bb8f35d
fix for 'staticmethod' kw name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:31 +00:00
Marcelo Matus
9c9985bd6f
fix %ignore *::Bar::foo case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 21:21:58 +00:00
Marcelo Matus
a80aa7fe40
fix varin for ptr types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 20:07:16 +00:00