Commit graph

90 commits

Author SHA1 Message Date
Marcelo Matus
6a4cf00db3 fix MSC problem with def. constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:03:09 +00:00
Marcelo Matus
12eff10b64 fix runtest to match new rule for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:19 +00:00
Charlie Savage
5949320325 Updated test case for naming rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:25 +00:00
Charlie Savage
29a4b0aca4 Updated tests for constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:02:54 +00:00
Charlie Savage
e33f9e9b62 New Ruby test case for checking renames, predicate methods, bang methods and constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
46bb25e661 Changed -norename to -noautorename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:32:43 +00:00
Charlie Savage
9a15da5790 Added option to send to SWIG that controls whether the new rename mechanism for Ruby is used. By default it is turned off.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:12:40 +00:00
Charlie Savage
6c8dd53ee8 Reimplementation of tracking objects in Ruby. Instead of passing the $track flag to
the methods SWIG_Ruby_ConvertPtrAndOwn and SWIG_Ruby_NewPointerObj,
now tracking information is held on swig_class.  This change reduces
significantly reduces the amount of code needed in ruby.cxx, is more robust, and is
more cohesive.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
f736ec91c2 Get clean target working again
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:36:21 +00:00
Marcelo Matus
1fa14f74a7 add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
3428bf10a6 add interpreter variable, so it can be used with valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:51:41 +00:00
Marcelo Matus
8be1b7a07c move attribute.i to the typemap library, now is usable from all the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
3c65cea431 Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
7564088646 fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
d2f5672abb fix runtime error (Ruby 1.8.1 doesn't seem to parse this special character)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 07:58:43 +00:00
Charlie Savage
b7743e64af New test case for char_constant test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:53:07 +00:00
Charlie Savage
10c00d74b0 Test case for object tracking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:48:39 +00:00
Charlie Savage
db123cc55f Remove dependency on Ruby unit test framework.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 07:13:41 +00:00
Charlie Savage
ed80d73e73 Added track_objects_directors test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:36:36 +00:00
Charlie Savage
c8a76f8587 Added test case for Ruby using track objects and directors at the same time.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:30:30 +00:00
William S Fulton
ea310550fa correct last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:48:22 +00:00
William S Fulton
a6ac0941e7 move ruby only test to ruby directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +00:00
Charlie Savage
84ec697807 New test objects test suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:46:33 +00:00
Charlie Savage
5cff7abd73 Updates to examples so that they run correctly under Ruby 1.8
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:36:37 +00:00
Marcelo Matus
3658b9adb9 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:12:48 +00:00
Marcelo Matus
c98340f0a7 fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
256dcda5f8 add test case using 'super'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:40:18 +00:00
William S Fulton
0ff8f64262 simple const enum SWIGTYPE & typemap test and enum by value runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:43:39 +00:00
Marcelo Matus
41a0b2dd59 fix def args + director + constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
37974faf9a new cases that show problem when mixing directors + constructor + def. args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:07:13 +00:00
William S Fulton
d174b1b231 lib_xxx to li_xxx name change fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:31:12 +00:00
Marcelo Matus
8c72fe206d fixes for new file names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 01:09:48 +00:00
William S Fulton
89782ca04e lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
dc903c677a lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
40c6de5b56 lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses which won't load libraries starting with lib.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
Marcelo Matus
114c703acd fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
William S Fulton
6cdc20d8e6 fixes for changes in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:04:28 +00:00
William S Fulton
f4f077c5fd default args added to runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:49:46 +00:00
Lyle Johnson
f65bccde1f Ignore .bundle files in Examples/test-suite/ruby (for Mac OS X).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:39:36 +00:00
Lyle Johnson
b4a7b09ea9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:06:03 +00:00
William S Fulton
6e570eda85 Testcases that used the prebuilt runtime library generate their own runtime library DLL/so and use that instead now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +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
Marcelo Matus
308387b7a3 added refcount example using the old macro way and the proposed ref/unref features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 06:26:17 +00:00
Marcelo Matus
c92d8c7cf7 added test for simple virtual derivation, where ruby fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 06:23:57 +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
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
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