Commit graph

173 commits

Author SHA1 Message Date
Matthias Köppe
eb66a55aae Compute output file name correctly in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 18:34:48 +00:00
Matthias Köppe
e23afc1982 Handle the case of more than one "argout" typemap per function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 17:00:04 +00:00
William S Fulton
b03c08d211 New typemap attribute which specifies the destructor wrapper method name thus making the wrapper method name configurable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
c89e7d9923 throws attribute working for javain, javaout (Java), csout, csin (C#) and newfree typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:14:08 +00:00
Mark Rose
61e87af65e multiargument director typemap segfault fix (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
William S Fulton
e81b4cd86c warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:36:59 +00:00
Matthias Köppe
9d97007973 From felix@proxima-mt.de:
The module for generating wrappers for the Chicken
Scheme system contains a small bug: the wrappers
should not contain calls to "C_check_for_interrupt",
which may result in an endless loop.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:24:02 +00:00
William S Fulton
1e2e0d140c Java output formatting change and tweak to protected/private destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:46:27 +00:00
William S Fulton
11395c5a82 C# typemap name change twiddle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:32:08 +00:00
William S Fulton
4d713d89ac More generic variable names matching the C# module, so that next time the module is copied it will making porting more easy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:47:01 +00:00
William S Fulton
ffcf1342db Update so that the module doesn't look like it is wrapping Java! Variable name changes, comments etc modified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:45:04 +00:00
William S Fulton
3c2f9d8057 A number of the C# features, pragmas and typemaps have had their names changed.
They no longer have java or jni in their names. CHANGES file has complete list.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 19:52:27 +00:00
William S Fulton
5d4984f150 Tweak for protected and private destructor wrapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:15:06 +00:00
William S Fulton
f15e005915 New typemaps csinterfaces_base and csinterfaces_derived replace
the javainterfaces typemap. Also fixes the peculiarity of all classes
in an inheritance chain individually deriving from the IDisposable
interface.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 23:09:47 +00:00
Matthias Köppe
241eeec6ba Merged MzScheme changes contributed by John Lenz.
Minor build changes to fix MzScheme/C++ test cases.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:58:02 +00:00
William S Fulton
b643048800 cildispose and cildisposeoverride typemaps replaced by
csdestruct_base and csdestruct_derived typemaps. The delete()
method has been removed and its functionality put into these
typemaps designed for the Dispose method.
New typemaps: csfinalize for finalizers.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:43:58 +00:00
William S Fulton
9352654318 New typemaps: javadestruct_base and javadestruct_derived
for the C++ destructor wrapper. The _base version gets used by
classes at the top of an inheritance chain and the _derived
version gets used by other classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
Tiger Feng
dde9afd927 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:12:35 +00:00
Art Yerkes
586224247e Small correction to templating support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 04:32:52 +00:00
Art Yerkes
310751dc48 Added class template support (removes text of ocaml class definition from swig
executable).  Now, changes to the implementation of classes can be made without
affecting SWIG itself.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 03:49:09 +00:00
Logan Johnson
615ff6cc1b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Matthias Köppe
34ea7f03ef Merged first chunk of Guile changes contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:12:50 +00:00
Logan Johnson
f0990f47e5 Corrected an error for exception handling in Ruby's director implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:53:24 +00:00
Logan Johnson
c5619a494b Whoops, use rb_exc_raise() instead of rb_raise() to re-raise a "live"
exception.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:46:56 +00:00
Logan Johnson
da5a15c730 Fixed a bug in the Ruby director code for the handling of deeply nested
exceptions; now they should just be re-raised until they percolate to the
top.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:41:34 +00:00
William S Fulton
5e89be947a Matched the text for warnings 462 and 463 to that shown in the docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
William S Fulton
4e364b0007 Re-introduces warning for missing globalin and memberin typemaps. Same warning as missing varin typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:52:28 +00:00
William S Fulton
c6321fbf08 Re-instated warning about except typemap deprecation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 18:09:41 +00:00
Dave Beazley
d639484260 Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:29:01 +00:00
Dave Beazley
693edf6836 Minor cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:46 +00:00
Tiger Feng
24b8d3cb49 wrap by contract work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:29:11 +00:00
Tiger Feng
9203f8a00c wrap by contract work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:18:44 +00:00
Tiger Feng
5a9a3b5d56 Experimental contract work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 17:43:05 +00:00
Art Yerkes
baa333b1ed Removed unused variables from constantWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-20 14:40:37 +00:00
William S Fulton
387e1ecc9c I forgot the -ldflags showing up in swig -ocaml -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 22:22:41 +00:00
William S Fulton
06f51044c7 -ldflags runtime library switch removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 22:02:39 +00:00
William S Fulton
eec969f4cd 'swig -version' prints target platform after compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 14:09:55 +00:00
William S Fulton
be92467534 Fix for proxy class typemaps so that they use the C++ type and not the proxy class name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 21:37:52 +00:00
William S Fulton
fc09393e6a Minor tweak to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-07 18:58:36 +00:00
Dave Beazley
2db98790da Very subtle change to handling of unnamed enums and typedef (an
incorrect entry was being placed in the internal typedef tables).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:48:14 +00:00
Dave Beazley
d2d9855c8a Fixed const-SwigValueWrapper<> bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:23:46 +00:00
Logan Johnson
cd52abf93d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:04:35 +00:00
Logan Johnson
840719b9ee Various and sundry updates for the Pike module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 22:22:11 +00:00
Logan Johnson
bf517cf7df Retracted broken code for overridden PIKE::variableWrapper() function until
further investigation can be made.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 19:59:08 +00:00
Logan Johnson
184da7430f A little more work on the Ruby support for C++ polymorphism. Exception
handling almost works...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
Logan Johnson
ca6eae96a3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 23:12:36 +00:00
Logan Johnson
e3d1ba9eb0 Initial implementation of polymorphism stuff for Ruby; still under
construction.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:37:27 +00:00
Logan Johnson
ddbdf26508 Renamed Language::SetNoneComparison() to setSubclassInstanceCheck(),
because that name better reflects what the function's trying to accomplish
(test whether the object for which the constructor's being called is an
instance of the class, or an instance of one of its subclasses).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:35:52 +00:00
Dave Beazley
9cdf7fb493 Strengthened test for const static members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 18:49:38 +00:00
Logan Johnson
0391c0033b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:30:06 +00:00