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
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
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
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
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
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
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
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
William S Fulton
d6169061d6
constants and enums are wrapped as C# constants rather than variables now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:31:19 +00:00
William S Fulton
9cc7fb5a1e
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@4661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:28:39 +00:00
Dave Beazley
9f47936dd0
Memory diagnostics. Huge memory leak cleanup related to templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 23:17:27 +00:00
William S Fulton
310616de42
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:33:41 +00:00
Dave Beazley
d41ab208df
Compiler warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 20:44:52 +00:00
Dave Beazley
4ca8280821
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@4618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-23 14:13:34 +00:00
Jonah Beckford
5a0c97a984
Fixed extremely silly mistake that causes intermittent failures when
...
overloading methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4616 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-22 12:54:33 +00:00
William S Fulton
757911abd7
Warning tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00
Art Yerkes
9ac1568443
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@4593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 20:51:05 +00:00
Dave Beazley
b59d8e4db2
Incorporated [ 696516 ] Enabling exception processing for data member access.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 19:13:52 +00:00
Dave Beazley
fd5f885380
Added patch 701860.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
William S Fulton
4d0e36332f
Reserved word checking removed - a #define can be used in interface instead
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 23:02:51 +00:00
William S Fulton
bd5ed41597
cosmetic change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:44 +00:00
William S Fulton
53f8457aa6
vararg support for Java and C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
Art Yerkes
39f415aa47
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@4573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 16:24:47 +00:00
Mark Rose
4132afb727
director method tagging simplification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Dave Beazley
58f7e0808d
Minor tweak to earlier const-smart-pointer fix.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 00:28:47 +00:00
Dave Beazley
481ec5deef
Fixed function argument bug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00
Logan Johnson
94d41ca55a
Comment out Ruby code for "fail" tag.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 16:52:37 +00:00
Mark Rose
a1abd6a471
void director method fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
66a2cc62f0
compiler warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Dave Beazley
6f1e04f7bb
smart-pointer const fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-16 03:57:07 +00:00
William S Fulton
072552a37a
Tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00
William S Fulton
cc0b2585f3
Global variables use properties instead of get and set functions.
...
All member variables working as properties.
pragma used for module class and pinvoke class import statements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4539 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 22:47:28 +00:00
Jonah Beckford
8bbb5d2f77
Changed %module xx_yy_zz to generate xx-yy-zz.scm and
...
xx-yy-zz_wrap.c[xx] (and xx-yy-zz-clos.scm and xx-yy-zz-generic.scm if
using TinyCLOS). Consistent with the "namifying" of other C
identifiers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 15:19:00 +00:00
Mark Rose
d0f9431db8
partial fix for abstract director classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
William S Fulton
1645ab51b0
Missing using System; statement in the module class, needed by mono compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 23:09:39 +00:00
William S Fulton
8bb8521a46
Virtual methods in C# proxy classes now use the appropriate keyword, virtual or override.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:42:52 +00:00
William S Fulton
6abbf36a8f
Use the code written for -fvirtual to gather information about virtual methods needed for C#.
...
The code written for -fvirtual is largely replicated in the code for directors and ought to be consolidated; they both are constructing vtables of sorts.
Both approaches also need fixing for when the virtual keyword is not used, eg
class Base {
virtual void foo();
virtual void bar();
};
class Derived : public Base {
virtual void foo();
void bar();
};
Neither currently detects bar as a virtual method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:40:28 +00:00
Dave Beazley
2b921f2986
Fixed bizarre template default constructor + SwigValueWrapper() bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 19:24:39 +00:00
Dave Beazley
e6cb11e9ba
Added $descriptor() support to code supplied to methods in %extend sections.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:37:51 +00:00
Dave Beazley
485e5f8cae
Fixed minor VC compilation problems.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 13:27:07 +00:00
William S Fulton
3d030619ba
Java module enhancements/bug fixes since the C# module was derived off the Java one.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 19:47:38 +00:00
Logan Johnson
0812b18bea
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 18:34:23 +00:00
Dave Beazley
09d047285c
Fix to constant handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 14:01:42 +00:00
Art Yerkes
69cbf4251c
Working example. See Examples/ocaml/shapes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4489 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-10 04:14:04 +00:00
Art Yerkes
c2a610092a
typemaps.i: $descriptor usage correction.
...
ocaml.cxx: director classes (needs more testing, but my Qt example works).
director.swg: Core director class for Ocaml.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 17:11:19 +00:00