Commit graph

1,632 commits

Author SHA1 Message Date
Logan Johnson
184da7430f A little more work on the Ruby support for C++ polymorphism. Exception
handling almost works...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
Logan Johnson
c6f231f597 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 15:28:05 +00:00
William S Fulton
2db232b1b8 Build changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 12:00:59 +00:00
William S Fulton
65411ffaad removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 11:11:15 +00:00
William S Fulton
669bd3ddc8 imports runtime test name change - this must have got left out when imports was renamed from import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4740 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 11:03:15 +00:00
William S Fulton
af943d9973 Added mzscheme runtime library to build (it doesn't and never has used libtool)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 11:01:02 +00:00
William S Fulton
9e50dda2c3 LD_LIBRARY_PATH fix for finding shared objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 10:58:50 +00:00
William S Fulton
9b53fde3a4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 10:55:30 +00:00
William S Fulton
824171c7e3 RUNTIMEDIR fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 23:39:14 +00:00
Logan Johnson
ca6eae96a3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 23:12:36 +00:00
William S Fulton
416d00c541 Fixes the runtime library examples to link with the runtime library. Required for Cygwin.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:57:26 +00:00
William S Fulton
a44a0231ac Corrected some comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:56:04 +00:00
William S Fulton
2ec2f570ac Fix for RUNTIMEDIR and tidy up some junk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:53:24 +00:00
William S Fulton
acbe60eaac Multiple build directories fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:51:15 +00:00
William S Fulton
4134d8ba1b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:50:30 +00:00
William S Fulton
ec060d9e62 These autoconf generated files should not be in CVS.
The approach is not to have any autotool generated files checked into cvs.
Anyone using CVS must have the autotools installed and so all the required files will be generated during bootstrapping (running autogen.sh)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:49:29 +00:00
William S Fulton
5018ce706d These autoconf and libtool files are no longer used and have been replaced by libtool being used in the top level configure script.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:46:31 +00:00
William S Fulton
6e9839f370 Automake is now used to build the runtime libraries in conjunction with libtool.
These files are now redundant.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:42:58 +00:00
William S Fulton
96b4db6f2d Automake is now used to build the runtime libraries in conjunction with libtool.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:42:27 +00:00
Logan Johnson
e3d1ba9eb0 Initial implementation of polymorphism stuff for Ruby; still under
construction.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:37:27 +00:00
William S Fulton
abb2acc08a Libtool added.
Removed last remaining subdirectory configure script (Tools directory)
Decision to skip a language has moved from the top level makefile into this configure.in


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:36:44 +00:00
Logan Johnson
c205647410 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:36:11 +00:00
Logan Johnson
ddbdf26508 Renamed Language::SetNoneComparison() to setSubclassInstanceCheck(),
because that name better reflects what the function's trying to accomplish
(test whether the object for which the constructor's being called is an
instance of the class, or an instance of one of its subclasses).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:35:52 +00:00
William S Fulton
f1980cd629 Libtool bootstrap
Single autoconf invocation instead of two


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:33:57 +00:00
William S Fulton
c08fdef46d The decision whether to skip a language is decided by configure now
Runtime library mods to use Automake


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:28:35 +00:00
Dave Beazley
bfb3ea8998 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 19:30:08 +00:00
Dave Beazley
77b5b6623e Fixed [ 723471 ] Wrapper_print() fails with preprocessor directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 19:29:49 +00:00
Dave Beazley
b8a16a73da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 18:49:41 +00:00
Dave Beazley
9cdf7fb493 Strengthened test for const static members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 18:49:38 +00:00
William S Fulton
199b38f39e Fix for push_back as suggested by Gualtiero Chiaia
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 12:54:52 +00:00
Logan Johnson
c0a9e0d223 Add inv and outv Ruby typemaps for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 00:00:19 +00:00
Logan Johnson
f60b413181 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 21:24:44 +00:00
Logan Johnson
5d5262799c Expanded the section on "C++ Inheritance" in the Ruby chapter of the
manual, to talk about the new support for multiple inheritance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 21:20:10 +00:00
Logan Johnson
0391c0033b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:30:06 +00:00
Logan Johnson
e3eadfdc7b Add options for the %module directive to enable Ruby-specific features
(same as the -globalmodule and -minherit command-line flags).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:20:45 +00:00
Logan Johnson
d35dcb10fb Also run the multiple inheritance test case (minherit.i) for Ruby, now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:19:40 +00:00
Logan Johnson
3e7037351a Made a change to the type-checking code in SWIG_ConvertPtr() for the Ruby
module, so that the new multiple-inheritance support code will work.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:00:46 +00:00
Logan Johnson
183be41892 Initial changes for limited MI support in Ruby (still under construction!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 17:38:42 +00:00
Logan Johnson
0805ba938d Added the -globalmodule command-line option for the Ruby module, which
allows the user to wrap all classes, methods and constants directly into
the global module (i.e. the Kernel module) instead of a named, nested
module.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 16:03:50 +00:00
Logan Johnson
31dd4ae3b5 Removed some of the cruft related to keyword argument support for Ruby
until this can be developed further.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 15:37:52 +00:00
Logan Johnson
ffc8f29ee1 Fixed a few typos in the Ruby docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 15:34:02 +00:00
Logan Johnson
74056cb11b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 15:03:40 +00:00
Mark Rose
7b5e723389 Director fixes for operator method names and destructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 23:11:53 +00:00
Dave Beazley
ebaf865b54 new tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 18:00:17 +00:00
Dave Beazley
e883360f9b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 17:59:09 +00:00
Dave Beazley
540c265eb4 Fixed nested namespace resolution problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 17:59:06 +00:00
Art Yerkes
75cf98911d Small fix of accidental breakage during some recent editing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-21 04:31:45 +00:00
Dave Beazley
990a64e274 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-21 01:34:32 +00:00
Art Yerkes
1b3f5da0c2 Fix for C++ tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 02:54:41 +00:00
Art Yerkes
41eaa3854d Added name_runme.ml
Proves solution to rename and %constant.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-19 00:34:26 +00:00