Olly Betts
fe4b1da5dc
Fix a typo.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:56:46 +00:00
Marcelo Matus
dbdcf4462c
fix -external-runtime and warning arounds in subversion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Charlie Savage
e5a3bdad7d
Changed rename rules to include functions and change Enums to only capitalize the first letter.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 04:54:48 +00:00
Marcelo Matus
d27d74c79c
change the %rename predicates to use the prefix %$ and avoid clashings with other rename directives
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 23:27:11 +00:00
Charlie Savage
2b9b6d9732
Updated renaming rules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:08 +00:00
Marcelo Matus
2621785fb0
add at least %not support for rename predicates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:34:43 +00:00
Marcelo Matus
a0fb6ab916
add rename for member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:19:22 +00:00
Marcelo Matus
0b2d6ed0ce
add more predicates for rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:21:26 +00:00
Marcelo Matus
faec0c12fb
long rule to match exactly const static variable with a value in the declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 17:44:40 +00:00
Charlie Savage
de0b9ba295
Changed rename check for constants to use %hasconsttype
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:49:54 +00:00
Marcelo Matus
137ab96746
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
Charlie Savage
8a3351d794
Fixed up checking for constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:49:29 +00:00
Charlie Savage
03aa663f5a
Use new camelcase,undercase,lowercase aliases.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:56:29 +00:00
Charlie Savage
62cb2b8e90
Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Charlie Savage
032bf49f28
Added %rename to change function and method names from CamelCase to lower_case_with_underscores.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:35:46 +00:00
Marcelo Matus
bf2fef6438
add space for rename rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:54 +00:00
Marcelo Matus
029ff00d77
eliminate compilation warnings, add docs, and centralize the access to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-25 09:31:15 +00:00
Marcelo Matus
cacea2c73d
include the user's fragment file in the same place
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:58:19 +00:00
Marcelo Matus
bd7b3fcb1d
finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
Marcelo Matus
1c7c9e44f7
massive typemap unification
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
Charlie Savage
5de04ac495
Support for object tracking. Includes new reference to "rubytracking.swg" and defines a new feature called "trackobjects"
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 18:01:57 +00:00
John Lenz
f6964f285f
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
Marcelo Matus
0baa17ec05
allow to include the swig runtime code into external user libraries
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:37:33 +00:00
John Lenz
4645346381
Removed ability to share type information by C linking
...
All type sharing happens through a global variable in the target language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
John Lenz
9dead7a11d
New way of sharing type information between modules for chicken, mzscheme,
...
ruby, tcl, and perl.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
Lyle Johnson
89859f2e70
Break the standard Ruby typemaps out into a number of smaller files
...
which are included by ruby.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 12:28:07 +00:00
Lyle Johnson
47b80a2945
Corrected some of the "throws" typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 01:07:05 +00:00
Lyle Johnson
de8c669c88
Minor fix for the cpp_enum.i test case, which was broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-17 00:38:52 +00:00
Lyle Johnson
3bbf2a57df
Added a varin typemap for char[] (Ruby). Fixes broken test case
...
arrays_global.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-14 17:33:18 +00:00
Marcelo Matus
ea0f636eae
- Uniform the definition of the keyword warnings through
...
the supported languages.
- Added keyword list for most of the languages that didn't
have one.
- "All keywords" warning support, through the -DSWIG_ALLKW
option.
Read the Changes.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-12 02:23:52 +00:00
Matthias Köppe
02110ce67b
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 13:48:17 +00:00
William S Fulton
b9df93083f
Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
...
__get_self()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +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
6e052aeb1d
First round of director mods
...
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +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
6db7df0733
Fixed array typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 22:13:52 +00:00
William S Fulton
c3b517df76
Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
...
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
Luigi Ballabio
418ed3416b
Added correct (I hope) typechecking for native scripting objects
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +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
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
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
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
e87f381b3a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 18:37:04 +00:00
William S Fulton
9f8a23ca5a
long long typemap mods for use with %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 23:28:01 +00:00
William S Fulton
079829c86a
SWIGTYPE & varin typemap fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-11 21:24:40 +00:00
Dave Beazley
516036631c
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Masaki Fukushima
feb39b0fd2
Many bug fixes to Ruby module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Masaki Fukushima
a116b4b292
Ruby module changed to use pointer object instead of mangled string.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 15:43:59 +00:00
Thien-Thi Nguyen
4d989f6796
Add Ruby support contributed by Masaki Fukushima.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 18:58:49 +00:00