William S Fulton
2cd181ba5f
Common director support functions moved to new file directors.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
William S Fulton
3f15089fe9
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
...
Numerous symbols in the generated director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:04 +00:00
William S Fulton
108bb7aeb0
Director code mods:
...
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +00:00
William S Fulton
f569dd135d
__DIRECTOR__ renamed Swig::Director
...
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674
typemap name changes:
...
inv => directorin
outv => directorout
argoutv => directorargout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
c858b73832
First round of director mods
...
- Removed asserts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +00:00
Logan Johnson
c5d7f53309
Fixed a bug in RUBY::classDirectorConstructor().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 20:31:30 +00:00
Logan Johnson
c73588914e
Fixed a typo in RUBY::constructorHandler.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:19:03 +00:00
Dave Beazley
4cf4dad108
Major refactoring of DOH List/Hash iterators. See CHANGES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
William S Fulton
f87e2f574a
Java directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +00:00
William S Fulton
06ed231b7d
-outdir commandline option support => directory for proxy class and other language specific files
...
-help tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Logan Johnson
615ff6cc1b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Logan Johnson
f0990f47e5
Corrected an error for exception handling in Ruby's director implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:53:24 +00:00
Logan Johnson
c5619a494b
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@4849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:46:56 +00:00
Logan Johnson
da5a15c730
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@4848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 21:41:34 +00:00
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
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
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
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
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
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
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
Logan Johnson
e3d8bf0d68
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 23:33:12 +00:00
Logan Johnson
afe67308c6
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 22:41:20 +00:00
Logan Johnson
ee1f66921c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 16:33:46 +00:00
Dave Beazley
d060c1b248
Enhancement to Swig_require(), Swig_save(), Swig_restore()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
William S Fulton
44fde93b5a
Improved support for native Windows compilers.
...
It is no longer necessary to explicitly export the SWIG_init DLL function by passing flags to the linker.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 20:18:54 +00:00
Logan Johnson
28e7de397b
Yet more refactoring in the Ruby module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:18:57 +00:00
Logan Johnson
3e7faf2ad0
Moved the code for defining Ruby method aliases out into a separate function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:07:20 +00:00
Logan Johnson
21718b73da
Moved module initialization code for defining Ruby module(s) out into
...
a separate function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-28 15:03:47 +00:00
Dave Beazley
ed29aec0bc
Fixed [ 649022 ] Compilation problems with KAI/KCC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-06 20:10:56 +00:00
Dave Beazley
951fff2c7a
File move
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00