Commit graph

90 commits

Author SHA1 Message Date
Marcelo Matus
eab4722ec0 fix MSC problem with def. constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:03:09 +00:00
Marcelo Matus
e1712b982e fix runtest to match new rule for enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8483 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:19 +00:00
Charlie Savage
bc1629d3ed Updated test case for naming rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:25 +00:00
Charlie Savage
01597d58c1 Updated tests for constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:02:54 +00:00
Charlie Savage
ca4e7fc8df New Ruby test case for checking renames, predicate methods, bang methods and constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
0f30bdd690 Changed -norename to -noautorename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:32:43 +00:00
Charlie Savage
a17805ce3e 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@8438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:12:40 +00:00
Charlie Savage
5dd84412c3 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@8082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 18:02:51 +00:00
William S Fulton
4c6301be2c Get clean target working again
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:36:21 +00:00
Marcelo Matus
3ebece429c add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
0ef79194be add interpreter variable, so it can be used with valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 14:51:41 +00:00
Marcelo Matus
1c529aa802 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@7717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 13:20:50 +00:00
Marcelo Matus
f2f1b9889f 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@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
8bcc0bf8eb fix warnings/errors for gcc4.0, icc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-19 14:26:13 +00:00
Marcelo Matus
1c7c9e44f7 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
c58bc59e5f 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@7632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 07:58:43 +00:00
Charlie Savage
0ecce01d8f New test case for char_constant test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:53:07 +00:00
Charlie Savage
5818b97ffa Test case for object tracking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 19:48:39 +00:00
Charlie Savage
f27debaef2 Remove dependency on Ruby unit test framework.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-25 07:13:41 +00:00
Charlie Savage
81b636db7a Added track_objects_directors test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:36:36 +00:00
Charlie Savage
56fd079163 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@7524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 22:30:30 +00:00
William S Fulton
52447c9810 correct last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:48:22 +00:00
William S Fulton
0081153f8c move ruby only test to ruby directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +00:00
Charlie Savage
13b0e65ae6 New test objects test suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:46:33 +00:00
Charlie Savage
bcdd94acd3 Updates to examples so that they run correctly under Ruby 1.8
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 17:36:37 +00:00
Marcelo Matus
4dd078b834 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 22:12:48 +00:00
Marcelo Matus
cca7ef61ea 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@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
eef4efb2eb add test case using 'super'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:40:18 +00:00
William S Fulton
6c5b430226 simple const enum SWIGTYPE & typemap test and enum by value runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:43:39 +00:00
Marcelo Matus
464c01da12 fix def args + director + constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
6a01101fc8 new cases that show problem when mixing directors + constructor + def. args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:07:13 +00:00
William S Fulton
80c1b147c7 lib_xxx to li_xxx name change fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:31:12 +00:00
Marcelo Matus
e9b1bdbb13 fixes for new file names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 01:09:48 +00:00
William S Fulton
ba9ff9c7a0 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@6594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 23:18:22 +00:00
William S Fulton
c611933db3 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@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
William S Fulton
ba09ead729 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@6584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:03:04 +00:00
Marcelo Matus
df9fa977a8 fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
William S Fulton
53446db5bd fixes for changes in the test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 21:04:28 +00:00
William S Fulton
c187e14eb5 default args added to runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:49:46 +00:00
Lyle Johnson
9c3ce7e9d9 Ignore .bundle files in Examples/test-suite/ruby (for Mac OS X).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 13:39:36 +00:00
Lyle Johnson
f72d9e1cd4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:06:03 +00:00
William S Fulton
aa07e2c4d5 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@6022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-10 16:36:19 +00:00
Marcelo Matus
2ae6c092a8 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00
William S Fulton
197b15b0ec 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@5731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-20 22:57:23 +00:00
Marcelo Matus
55e0ea52bd 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@5667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 06:26:17 +00:00
Marcelo Matus
baf05fd515 added test for simple virtual derivation, where ruby fails
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 06:23:57 +00:00
Marcelo Matus
e63a259672 also, change the module name to director_frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:52:06 +00:00
Marcelo Matus
f7a318c637 using better names for frob
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 00:41:37 +00:00
Marcelo Matus
6b0485b6b5 fixes for the nodirector feature and the '0' director member case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-21 00:46:08 +00:00
Marcelo Matus
a152fd46a8 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@5587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 10:10:04 +00:00