Commit graph

50 commits

Author SHA1 Message Date
William S Fulton
bc28240f48 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 20:15:26 +00:00
William S Fulton
5fa2399106 Fix for JDK1.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:58 +00:00
William S Fulton
2252e3bb13 Proper enum test added. Needs JDK1.5 beta 2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-15 19:51:18 +00:00
Marcelo Matus
eea53dbb48 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 18:11:38 +00:00
William S Fulton
1b1dadc9de New default Java enum wrapping approach which uses the type safe enum pattern
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 19:58:10 +00:00
William S Fulton
d3d9210bd0 Replace ; with && where appropriate. This fixes the makefiles so that Make correctly errors out rather than blindly carrying on when some error occurs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
William S Fulton
f4a2470325 overloading when SWIG cannot disambiguate parameters tests added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:45:11 +00:00
Marcelo Matus
05d6e6b04f also, change the module name to director_frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:52:06 +00:00
Marcelo Matus
e524a03a55 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
William S Fulton
c4d49d6c2a Improved runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 21:23:31 +00:00
Marcelo Matus
9cfb9a490b fixes for the nodirector feature and the '0' director member case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 00:46:08 +00:00
Marcelo Matus
ac011192ae added a reference polymorphic return type case, and
some extra test for the Java side.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-24 06:53:47 +00:00
William S Fulton
a7844fd600 Downcast not needed for narrow() call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:59:40 +00:00
William S Fulton
c81661122e Fix test by using downcasts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:51:19 +00:00
Marcelo Matus
394aacb890 using static narrow methods instead of %extended ones.
now it looks more natural and similar to the CORBA downcasting mechanism.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 10:10:04 +00:00
Marcelo Matus
8c7824b76e fix bad variable name in example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:32:02 +00:00
Marcelo Matus
c85521c002 Added a simple example where the current universal
Java wrapping mechanism doesn't work, showing the
need to use a different way to wrap polymorphic classes.

They are two runtime examples: one for java, which is
failing, and one for python, which works fine.

Detailed description of the case can be found
in the three files committed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 06:26:44 +00:00
William S Fulton
6bd65bba28 Test typemaps are being found for templated classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:17:22 +00:00
William S Fulton
feae681f4e arrays of structures runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-14 00:02:33 +00:00
William S Fulton
fc6bdd5217 Director protected method wrapping tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:21:17 +00:00
William S Fulton
0116de6769 Added %javamethodmodifiers check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-13 00:20:42 +00:00
William S Fulton
76e67c8cee *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-11 21:44:56 +00:00
William S Fulton
e1fd92428f Added STRING_OUT typemap test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 23:03:30 +00:00
William S Fulton
930a6922c5 test non-public destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-29 00:31:24 +00:00
William S Fulton
b7b24a1e11 contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
c1fa548d3d added check that pure virtual method is handled by throwing an exception if Java derived class does not provide an implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
William S Fulton
3a6d631b08 Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
57b8d0ea70 Enhanced to check typedef'd parameters in directors - Scott Michel contribution.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 20:06:09 +00:00
William S Fulton
dc8dc4f78e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +00:00
William S Fulton
842055ed5d Oops forgot the wombat runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 08:42:37 +00:00
William S Fulton
a447520c9a Some director runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:54:14 +00:00
William S Fulton
00be114696 test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:50:41 +00:00
William S Fulton
b80ad6e7a9 std::string runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:17:13 +00:00
William S Fulton
b0520285d1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:58:14 +00:00
William S Fulton
59087eb57c director basic runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:36:14 +00:00
William S Fulton
5206dd0912 Multiple build directory support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 15:15:50 +00:00
William S Fulton
976d6e5a2b Makefile replaced with Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-31 16:22:43 +00:00
William S Fulton
ebffad0ba2 Added javain, javout and newfree throws attributes tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:17:20 +00:00
William S Fulton
08e31b4765 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:22:06 +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
52c7e41496 Fixed bug in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 21:52:19 +00:00
William S Fulton
61f06a81f5 Test fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-07 18:56:21 +00:00
William S Fulton
f4dd14e179 DYLD_LIBRARY_PATH added for Mac OS X
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 20:43:07 +00:00
William S Fulton
399e9f5504 Modifications to testcase to test the enums and constants in a separate Java interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:30:26 +00:00
William S Fulton
b39ab0aa29 varargs runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:50:05 +00:00
William S Fulton
3903284ef6 SHLIB_PATH environment variable added for HPUX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-26 23:20:21 +00:00
William S Fulton
b08b359444 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:29:09 +00:00
William S Fulton
3f2ca63453 enum runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:20:16 +00:00
William S Fulton
19daf19bfa %javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 22:58:37 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00