Commit graph

1,712 commits

Author SHA1 Message Date
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
Dave Beazley
bc3ecaef70 Minor fix to SwigType_isclass()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-18 21:03:06 +00:00
Logan Johnson
d9d068ca1a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +00:00
William S Fulton
b4f472d951 DYLD_LIBRARY_PATH added for Mac OS X
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 20:43:07 +00:00
William S Fulton
af1b45fa03 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:49:13 +00:00
William S Fulton
b895d31781 Mods for Java examples to run on Mac OS X
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:47:33 +00:00
Logan Johnson
0af3e7f14f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00
Logan Johnson
432bd404c6 Additional fixes for Ruby 1.8 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:35:50 +00:00
Art Yerkes
bd44e0bb58 Strings test, tests in, out, inout string and char * types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 05:18:57 +00:00
Dave Beazley
380d1bf82a A simpler preprocessor fix (for John's problem).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 22:10:18 +00:00
Logan Johnson
0548a0794f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 19:17:30 +00:00
Logan Johnson
c621aa6c27 Incorporated Nobu's patches for the Ruby module, to handle the new
allocation framework from Ruby 1.8. Also updated the TODO list to
indicate that this task has been completed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 18:51:00 +00:00
Logan Johnson
d0332deb00 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:21:27 +00:00
Logan Johnson
961b144d29 Replaced all occurrences of the deprecated STR2CSTR() in Ruby code with
the new StringValuePtr().


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:14:18 +00:00
Logan Johnson
e0cd3cc7fa *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 17:03:22 +00:00
Dave Beazley
5bad01da3f preassert-postassert patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 18:23:03 +00:00
Dave Beazley
67b82a4091 Added %contract directive. (Experimental)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:45:06 +00:00
Dave Beazley
bff9d5f313 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:43:59 +00:00
Dave Beazley
cd780b84a6 patch to macros with no arguments (again).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:33:17 +00:00
Dave Beazley
07e923c024 Added extra test-case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 16:26:10 +00:00
Dave Beazley
544c455e4c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 15:43:39 +00:00
Dave Beazley
881e79e042 Fixed meta-leak.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 19:20:09 +00:00
William S Fulton
856dcad35d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:34:20 +00:00
William S Fulton
f572bc096a Throw exception if Java array passed in is not the same size as the C array.
Was using C free when array created with C++ new.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:32:45 +00:00
William S Fulton
2e7e5e060e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-10 17:28:38 +00:00
William S Fulton
6db060e6ef *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:33:04 +00:00
William S Fulton
ce5c416e9d Patch #715531
Patch to remove GCC3 warning:

cc1plus: warning: changing search order for system directory "/usr/include"
cc1plus: warning: as it has already been specified as a non-system directory

I've used this patch for Guile and Tcl only as these seem to be the only 2 languages that actually use system include directories.

Older versions of Perl (pre 5.8 I think) also use -I for system include directories, but the -I part is obtained from the perl configuration file, so I've added a sed to modify it.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-07 09:22:27 +00:00
Dave Beazley
c25cbb1fda Added section on typemaps and overloading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-05 01:44:57 +00:00
Dave Beazley
c490d3d2e9 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 18:35:44 +00:00
Dave Beazley
0bd9a9d8ce Filled in missing section on proxies.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-04 04:14:27 +00:00
Dave Beazley
cf60b23cf5 Some type system cleanup. A modest performance improvement as well.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 19:22:57 +00:00
William S Fulton
4a8c2c1fe1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:32:42 +00:00