Commit graph

4,682 commits

Author SHA1 Message Date
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
Marcelo Matus
a89d51a5e7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:43:49 +00:00
Marcelo Matus
a661f62a05 .cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:26:01 +00:00
Marcelo Matus
967049636c add test case for bug #1071279
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 08:03:49 +00:00
Marcelo Matus
d14dfc9606 adding more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 07:10:54 +00:00
Marcelo Matus
456649a242 fix template_deftype to work with functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 21:23:10 +00:00
Marcelo Matus
201b47ae3c fix template_deftype to work with functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 21:16:13 +00:00
Marcelo Matus
f64047eb5c fix typecheck for INPUT* type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 10:19:54 +00:00
Marcelo Matus
eb78df9899 fix typecheck for INPUT* type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 09:50:55 +00:00
Marcelo Matus
1875a3d44b fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 23:03:14 +00:00
Marcelo Matus
26655216ab fix typemap search, now you can add a typemap like %typemap(out) int *Foo::foo(int bar);
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:54:40 +00:00
Marcelo Matus
f41a1ba089 fix *INPUT typemaps for ptr types, now a null value is ok
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:48:33 +00:00
Marcelo Matus
c57d081dfb fix *INPUT typemaps for ptr types, now a null value is ok
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:36:45 +00:00
Marcelo Matus
e7b400bc7d fix varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
Marcelo Matus
aa048182d7 avoid using of temporal value for wrapping type user + const reference argument
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-18 05:57:08 +00:00
Marcelo Matus
e67b13b202 solve possible seg. faults and directors #1080075
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 10:40:01 +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
Marcelo Matus
6487df4031 fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:54:38 +00:00
Marcelo Matus
d9e31764a8 fix warning(error?) with jlong + x86_64
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:37:38 +00:00
Marcelo Matus
8cdd2ddb5e using new template resolution for def args, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:35:52 +00:00
Marcelo Matus
176d86f1d0 better warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:58:24 +00:00
Marcelo Matus
e7c1108ed1 fix directorout + cosmetic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:57:39 +00:00