Commit graph

1,761 commits

Author SHA1 Message Date
William S Fulton
9cccf88afa 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/SWIG@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
Tiger Feng
3a8c2f2a94 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:12:35 +00:00
Matthias Köppe
76841f5c1b [Guile] Only build runtime libraries for the flavors of the Guile
module that work with the chosen version of Guile.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 18:39:45 +00:00
Art Yerkes
e52692df6f Small correction to templating support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 04:32:52 +00:00
Art Yerkes
dd64ccf0ae 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/SWIG@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 03:49:09 +00:00
Art Yerkes
f45fd1a36e Typedef_mptr test (with runme).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 16:19:28 +00:00
Art Yerkes
7f9f4144ce Added minherit test + runme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 15:16:32 +00:00
Art Yerkes
bcde82d45c Added defines to enable possibly-conflicting extras provided by ocaml module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:34:27 +00:00
Art Yerkes
0f445779b9 All test cases work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:29:38 +00:00
Art Yerkes
f31bcd2a0e Three test cases remaining. Gotta fix em all!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:01:56 +00:00
Art Yerkes
e50fa50772 Four failed test cases remaining.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 02:04:00 +00:00
Art Yerkes
10af7694d7 Fixed two test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 01:42:57 +00:00
Logan Johnson
bd35c8a679 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-05 17:02:45 +00:00
Logan Johnson
0081cb26ef *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Logan Johnson
22d7c12c26 Broke up Swig_typemap_attach_parms() a bit for readability.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:29:12 +00:00
Matthias Köppe
f0ef13929d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 17:50:26 +00:00
William S Fulton
82b482869b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 09:01:11 +00:00
Matthias Köppe
33f7ee3eb4 Fix tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:13:23 +00:00
Matthias Köppe
e5ac3696bc Merged first chunk of Guile changes contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:12:50 +00:00
Dave Beazley
131f153f70 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 19:08:09 +00:00
Logan Johnson
8ee20885b1 Modified how the SWIG_DIRECTOR_EXCEPTION class (and its subclasses) are
implemented for the Ruby module. Now the SWIG_DIRECTOR_EXCEPTION object
stores a reference to the Ruby exception instance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:54:53 +00:00
Logan Johnson
e59742f9c6 Corrected an error for exception handling in Ruby's director implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:53:24 +00:00
Logan Johnson
7a7708e602 Added some initial docs to the Ruby chapter about directors. Mainly
differences from the Python implementation.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:51:56 +00:00
Logan Johnson
9858ba5910 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:40:32 +00:00
Logan Johnson
eb65ec03d8 Corrected a few typos in the directors documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 16:09:36 +00:00
Logan Johnson
bcdd12ce69 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 22:21:54 +00:00
Logan Johnson
97f74f2b48 Fixed array typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 22:13:52 +00:00
Logan Johnson
543608147d 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/SWIG@4849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:46:56 +00:00
Logan Johnson
60ded6c0c2 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/SWIG@4848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:41:34 +00:00
Logan Johnson
1e59adf5c7 Added include of <assert.h> for Ruby's director.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 19:35:15 +00:00
William S Fulton
43d3c001c2 pnet bug workaround removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 17:01:13 +00:00
Art Yerkes
3d43e16dc2 Added <assert.h>. I forgot it and GCC-3.3 no longer includes it from
any other header I use.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 02:36:46 +00:00
William S Fulton
1a5f449090 New testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 23:11:11 +00:00
William S Fulton
a951a86659 Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
William S Fulton
06267e8a55 Removed globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:54:53 +00:00
William S Fulton
1258f2e703 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/SWIG@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
William S Fulton
da34e63066 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/SWIG@4840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:52:28 +00:00
William S Fulton
58323cb4e8 Removed reference to deprecated except typemap with compatibility note for %exception.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 21:29:16 +00:00
William S Fulton
2273c21b57 Re-instated warning about except typemap deprecation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 18:09:41 +00:00
William S Fulton
83911fdaf8 Array member runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 13:56:02 +00:00
William S Fulton
558602a355 globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 13:54:59 +00:00
Dave Beazley
53ef3e4ac7 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:30:10 +00:00
Dave Beazley
1d590457ba Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:29:01 +00:00
Dave Beazley
fcc42fa5a6 Fixes to default typemap handling of arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:28:46 +00:00
Dave Beazley
6c5a5ac719 Changes to default type handling to disambiguate dimensionless [] and
dimensioned arrays [ANY].


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:28:31 +00:00
Dave Beazley
e7793fb51c Added setter for global arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:57 +00:00
Dave Beazley
fc66bde4c1 Minor cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:46 +00:00
Dave Beazley
ae537a5b9a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:32 +00:00
Dave Beazley
fac1366c66 Fixed to array typemaps (memberin, globalin).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:28 +00:00
Dave Beazley
7c56de80f3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4826 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-28 21:35:12 +00:00