Commit graph

138 commits

Author SHA1 Message Date
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
Art Yerkes
f7d59cab5d All but four test cases work. I'm going to leave these for afterward.
I've moved completely away from the "value" type to "caml_value_t".  Although
a bit painful, this will make things easier for me.  I seem to be seeing
quite a few things that use the word value as a function, type, etc, and
wanted to get something that doesn't collide.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 20:51:05 +00:00
Dave Beazley
878e7735cf Incorporated [ 696516 ] Enabling exception processing for data member access.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:13:52 +00:00
Dave Beazley
7f26e39937 Added patch 701860.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
William S Fulton
93b9d5e23f Reserved word checking removed - a #define can be used in interface instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:02:51 +00:00
William S Fulton
9b1383e1a6 cosmetic change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:44 +00:00
William S Fulton
c201cb7376 vararg support for Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Art Yerkes
4b2da49eb3 Added:
Type registration.  Correct support for casting.  Proper type safety.
Changed:
ocaml.swg: Correct casts, declaration order for C
ocamldec.swg: Removed problematic forward declarations without array index.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Mark Rose
ebbc33f90b director method tagging simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Dave Beazley
6ec42cda59 Minor tweak to earlier const-smart-pointer fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 00:28:47 +00:00
Dave Beazley
34a220f341 Fixed function argument bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00
Logan Johnson
a31ec93aa7 Comment out Ruby code for "fail" tag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 16:52:37 +00:00
Mark Rose
7c3af222a3 void director method fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
f162c1b644 compiler warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Dave Beazley
64354c5b3b smart-pointer const fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:57:07 +00:00
William S Fulton
f63476e473 Tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00