Commit graph

153 commits

Author SHA1 Message Date
Logan Johnson
0081cb26ef *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Matthias Köppe
e5ac3696bc Merged first chunk of Guile changes contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:12:50 +00:00
Logan Johnson
e59742f9c6 Corrected an error for exception handling in Ruby's director implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:53:24 +00:00
Logan Johnson
543608147d Whoops, use rb_exc_raise() instead of rb_raise() to re-raise a "live"
exception.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:46:56 +00:00
Logan Johnson
60ded6c0c2 Fixed a bug in the Ruby director code for the handling of deeply nested
exceptions; now they should just be re-raised until they percolate to the
top.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:41:34 +00:00
William S Fulton
1258f2e703 Matched the text for warnings 462 and 463 to that shown in the docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
William S Fulton
da34e63066 Re-introduces warning for missing globalin and memberin typemaps. Same warning as missing varin typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:52:28 +00:00
William S Fulton
2273c21b57 Re-instated warning about except typemap deprecation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 18:09:41 +00:00
Dave Beazley
1d590457ba Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:29:01 +00:00
Dave Beazley
fc66bde4c1 Minor cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4830 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:46 +00:00
Tiger Feng
e0b67e7b60 wrap by contract work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:29:11 +00:00
Tiger Feng
0ad9c70442 wrap by contract work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:18:44 +00:00
Tiger Feng
de0ac1f10b Experimental contract work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 17:43:05 +00:00
Art Yerkes
751f5b3095 Removed unused variables from constantWrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-20 14:40:37 +00:00
William S Fulton
377fd94242 I forgot the -ldflags showing up in swig -ocaml -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 22:22:41 +00:00
William S Fulton
f9bfd4b579 -ldflags runtime library switch removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 22:02:39 +00:00
William S Fulton
c3a17e73b9 'swig -version' prints target platform after compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 14:09:55 +00:00
William S Fulton
da8d51c30b Fix for proxy class typemaps so that they use the C++ type and not the proxy class name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 21:37:52 +00:00
William S Fulton
3e2ff820a4 Minor tweak to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-07 18:58:36 +00:00
Dave Beazley
97c0e312d2 Very subtle change to handling of unnamed enums and typedef (an
incorrect entry was being placed in the internal typedef tables).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:48:14 +00:00
Dave Beazley
19034d545f Fixed const-SwigValueWrapper<> bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:23:46 +00:00
Logan Johnson
0b4f3c499c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:04:35 +00:00
Logan Johnson
c478c13cf0 Various and sundry updates for the Pike module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 22:22:11 +00:00
Logan Johnson
862f55f4e6 Retracted broken code for overridden PIKE::variableWrapper() function until
further investigation can be made.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-30 19:59:08 +00:00
Logan Johnson
3fd12995c7 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/SWIG@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
Logan Johnson
13cf7ae4b6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 23:12:36 +00:00
Logan Johnson
fa05d8f3d7 Initial implementation of polymorphism stuff for Ruby; still under
construction.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:37:27 +00:00
Logan Johnson
bb521ec9b2 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/SWIG@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:35:52 +00:00
Dave Beazley
cab5d37641 Strengthened test for const static members.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 18:49:38 +00:00
Logan Johnson
d873fdf701 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:30:06 +00:00
Logan Johnson
937236000a 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/SWIG@4710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:20:45 +00:00
Logan Johnson
8fb4c9fceb Initial changes for limited MI support in Ruby (still under construction!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 17:38:42 +00:00
Logan Johnson
efd8f86d89 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/SWIG@4706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 16:03:50 +00:00
Logan Johnson
43cb4323ce 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/SWIG@4705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 15:37:52 +00:00
Mark Rose
4b7e5fdffe Director fixes for operator method names and destructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 23:11:53 +00:00
Art Yerkes
2a4c46aec1 Small fix of accidental breakage during some recent editing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-21 04:31:45 +00:00
Logan Johnson
b718237c82 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +00:00
Logan Johnson
afd3a339f1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00
Logan Johnson
7cfddcffc7 Additional fixes for Ruby 1.8 compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:35:50 +00:00
Logan Johnson
e4e9fea91b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 19:17:30 +00:00
Logan Johnson
79321cb7a7 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/SWIG@4684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-15 18:51:00 +00:00
Dave Beazley
a29456369d preassert-postassert patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-11 18:23:03 +00:00
William S Fulton
89e0c9b214 constants and enums are wrapped as C# constants rather than variables now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:31:19 +00:00
William S Fulton
f21760e2df Enums and constants put in a Java interface.
Based on patch submitted by Dave Dribin


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:28:39 +00:00
Dave Beazley
1aefd191bf Memory diagnostics. Huge memory leak cleanup related to templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
William S Fulton
a9dd72b92d warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:33:41 +00:00
Dave Beazley
b9ef74ebb1 Compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:44:52 +00:00
Dave Beazley
3851e222d0 Fixed xml sym:name problem.
**** SPECIAL CAUTION TO DEVELOPERS ****
The strings that represent attribute key names like "name",
"sym:name", "type", and so forth are extensively shared to save
memory.  If a key name is modified for some reason (which is not
recommended), be aware that those change may affect thousands of parse
tree nodes.  Moreover, changes to a key name will break the hashing
algorithm used to perform attribute lookup.

Bottom line: don't modify hash table key strings.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 14:13:34 +00:00
Jonah Beckford
fc89bc2f9b Fixed extremely silly mistake that causes intermittent failures when
overloading methods.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-22 12:54:33 +00:00
William S Fulton
20184c76e7 Warning tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00