Commit graph

81 commits

Author SHA1 Message Date
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
Marcelo Matus
bbeeed588b added the ruby runtime case and more comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-22 10:41:33 +00:00
Marcelo Matus
708021a809 These is the current tests for the friend function support.
They will give you and idea of what is currently working.

If you have another case you think we need to test, please
send me an email to add it and trying it here.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-20 07:46:27 +00:00
Marcelo Matus
f7e02f46fc fixed the problem with 'using' and protected mebers. now it seems to be safe to generate the protected members as protected again. all the test are running and the director_protected_runme.rb now test for the right access control
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 23:46:39 +00:00
Logan Johnson
97f6d6a50d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 18:49:26 +00:00
Logan Johnson
91a3f9fc4f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 18:39:19 +00:00
Marcelo Matus
ae75ec65dd emitting and testing protected methods for director protected members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:38:34 +00:00
Marcelo Matus
833b2f7f0a detecting polymorphic virtual methods properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 10:36:15 +00:00
Marcelo Matus
634b973f31 The dirprot feature is now disabled by default. Added dirprot option and ruby runtime examples.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-09 02:52:08 +00:00
Logan Johnson
28209b817e Added a runtime test case for aggregate.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:22:33 +00:00