Gonzalo Garramuno
b6a08f9ec7
Added support to avoid swig director type mismatch errors
...
on embedded ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 19:39:52 +00:00
Gonzalo Garramuno
3b2294bf2f
Added rubystdcommon.swg.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 19:38:24 +00:00
Gonzalo Garramuno
bbc118c076
Improved new ruby docs a little bit.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 18:49:01 +00:00
Gonzalo Garramuno
18f614364f
Improved ruby trackings across DSOs, removing the
...
need for -DSWIG_EXTERN.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 18:48:22 +00:00
Gonzalo Garramuno
15393d5ead
Updated "asvoid" to become "numoutputs" as documented.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 08:59:32 +00:00
Gonzalo Garramuno
b3b883f382
Added Ruby changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 08:58:31 +00:00
Gonzalo Garramuno
522403958e
Added new tests.
...
Updated swig_gc interface to make it simpler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 17:45:32 +00:00
Gonzalo Garramuno
fd79f15521
Added new swig_gc.rb file to obtain easy stats
...
from ruby's GC.
Updated newobject1_* tests to use it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 17:29:11 +00:00
Gonzalo Garramuno
bbee2e374c
Updated some tests to use swig_assert.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 15:54:50 +00:00
Gonzalo Garramuno
5be075f16f
Added some runtime tests for ruby.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 15:52:50 +00:00
Gonzalo Garramuno
928f12bd44
Updated swig_assert to optionally be more verbose
...
and report stack traces nicelly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 15:50:35 +00:00
Gonzalo Garramuno
4b8d11d0e2
Fixed ruby's newobject1 and newobject2 demos.
...
Added swig_assert.rb and started using it in some tests.
Added my patches to ruby.cxx, rubyrun.swg, rubystrings.swg
and rubytracking.swg [see: sourceforge]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-28 04:20:28 +00:00
William S Fulton
4f984a5f82
Change class name for Ruby
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-27 21:12:36 +00:00
Surendra Singhi
0ee9f91eb8
fixed closing paren
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-21 19:10:14 +00:00
Olly Betts
660d1c8a55
Fix parsing of float constants with an exponent (e.g. 1e-02f) (bug #1699646 ).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-21 16:00:02 +00:00
Surendra Singhi
4beedd3f04
Fixed a bug with clos method, and generating constructors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-21 09:26:31 +00:00
William S Fulton
8c989f8fe3
better director error message formatting
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 22:00:21 +00:00
Olly Betts
8dd64805b9
Fix a couple of repeated typos:
...
"Creatng" -> "Creating"
"visa versa" -> "vice versa"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:22:46 +00:00
Olly Betts
898e5f7f3d
[Python] Fix lack of generation of docstrings when -O is used.
...
Also, fix generation of docstrings containing a double quote
character. Patch from Richard Boulton in bug#1700146.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-20 01:16:31 +00:00
Olly Betts
2d962ac1f2
SWIG does now support use of some constant expressions as template parameters
...
so update the documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-18 16:24:46 +00:00
William S Fulton
da6027a918
add missing c# tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-18 09:47:01 +00:00
William S Fulton
ca43827077
Minor html updates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:59:08 +00:00
William S Fulton
6010fcf9d6
csin and javain typemap improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:51:24 +00:00
William S Fulton
fd03218011
pre, post, cshin, pgcppname attribute tests for javain/csin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:48:38 +00:00
William S Fulton
0090cac1d0
Add in pre, post and cshin attributes for the csin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:45:17 +00:00
William S Fulton
f63d3ad5ad
Add in pre, post and pgcppname attributes for the javain typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:44:33 +00:00
William S Fulton
57b20069d9
comment fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:34:49 +00:00
Olly Betts
e891cd8393
Note the SF bug #
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 16:43:08 +00:00
Olly Betts
07ae5a2aca
Don't treat `restrict' as a reserved identifier in C++ mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 16:42:00 +00:00
Olly Betts
e6611209f6
[PHP5] Fix how zend_throw_exception() is called (bug #1700785 ).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-16 15:13:45 +00:00
Olly Betts
2632bd0c3c
Stop passing unused argument to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-15 23:22:29 +00:00
Olly Betts
fb2e4b580d
Define SWIGTEMPLATEDISAMBIGUATOR to template for aCC (reported on
...
swig-user that this is needed).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-10 14:14:52 +00:00
Olly Betts
8b9af6389b
[PHP5] If ZTS is enabled, release <module>_globals_id in MSHUTDOWN
...
to avoid PHP interpreter crash on shutdown. This solution was
suggested here: http://bugs.php.net/bug.php?id=40985
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-04 09:40:55 +00:00
Olly Betts
a5ac23e6d2
[PHP4] Add missing ZTS annotations to generated C++ wrapper code
...
to fix compilation failures when using ZTS enabled SWIG (Linux
distributions tend to disable ZTS, but notably the Windows build
uses it by default).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-03 15:56:36 +00:00
William S Fulton
6efec03cda
add in global array variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-02 21:37:13 +00:00
William S Fulton
1f76e733a9
test %array_class and %array_functions of non primitive type added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-02 21:26:47 +00:00
Surendra Singhi
85a3666f7c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-01 13:22:36 +00:00
Olly Betts
e90a095e77
Avoid generating '<:' token when using SwigValueWrapper<> on a type
...
which starts with '::' (patch #1690948 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-30 02:34:38 +00:00
Olly Betts
cf6e9f2743
Escape unescape < > & in HTML
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:26:44 +00:00
Olly Betts
a317f22ab2
Fix duplicate section anchor
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:17:48 +00:00
Olly Betts
8d304ae602
Escape < and > in HTML since unescaped instances confuse htmldoc and cause it
...
to mangle the "one HTML page" version of the manual.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:12:09 +00:00
Olly Betts
4f605e12e2
Fix link to be relative, not to some cache file: url which won't exist on
...
arbitrary machines!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:10:07 +00:00
Olly Betts
e78eec9309
Automatic updates to section anchors from the Makefile
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:08:34 +00:00
Olly Betts
85a1fdfe1b
Fix a couple of minor typos
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-26 01:06:35 +00:00
John Lenz
1396dffb68
add SWIG_fail to SWIG_expcetion macro
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-25 17:40:56 +00:00
William S Fulton
4fe414504f
String copying patch from Josh Cherry reducing memory consumption by about 25%.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-23 22:12:10 +00:00
William S Fulton
74aa9cef17
Apply patch 1631987 - Java typemap for bool INOUT fails on big-endian machines
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-21 21:00:21 +00:00
William S Fulton
936b1b25ad
test %apply pointer to ARRAYSOFCLASSES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-19 21:29:48 +00:00
William S Fulton
f486588124
correction to last commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-19 21:28:16 +00:00
William S Fulton
337f63fd28
seg fault fix when parsing incorrect C++ namespace code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-16 23:39:28 +00:00