Gonzalo Garramuno
d4eec2670b
Fixed renames of std_* containers to a safer
...
%rename directive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-16 21:27:08 +00:00
Gonzalo Garramuno
50c035fb07
Ruby complex was broken for one of its constructors.
...
Fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-16 21:24:41 +00:00
Olly Betts
0cde0bcd2d
Add "set -e" so that the script fails if any command fails.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-12 15:50:09 +00:00
Olly Betts
3c359c3e2e
Allow particular versions of aclocal, autoheader, automake, and autoconf to
...
be specified by setting environmental variables ACLOCAL, etc. The default
is to just use "aclocal", etc as before.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-12 15:48:16 +00:00
Olly Betts
4aaf48d650
swig -python -threads now generates C/C++ code which uses Python's
...
own threading abstraction (from pythread.h) rather than OS specific
code. The old code failed to compile on MS Windows. (See SF patch
tracker #1710341 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-12 13:55:19 +00:00
Gonzalo Garramuno
1c3fec7f2a
Updated Iterator documentation to include defines.
...
Updated Ruby<->C++ tables to also include SWIG
conversion functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 06:07:13 +00:00
Olly Betts
53d0c60892
Escape literal `%' in Printf() calls ("%typemap" and similar).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 03:02:31 +00:00
Olly Betts
1a4232e12b
Removed unused extra parameter in call to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 02:38:23 +00:00
Olly Betts
02d382d880
Removed unused extra arguments from calls to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:25:57 +00:00
Olly Betts
19247953b8
Fix unescaped literal % (in "%varargs") in call to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:13:04 +00:00
Olly Betts
097ad60911
Re-add missing \n to deprecation warning for -feature, which got reverted
...
somehow.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:11:10 +00:00
Olly Betts
baf892ed8f
Fix unused parameters passed to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:08:53 +00:00
Gonzalo Garramuno
cc123a7d6d
Changed -init_name to -initname per William's
...
request.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 01:03:31 +00:00
Olly Betts
85d7de4efe
Remove unused trailing NIL parameter in call to Printf(), presumably left
...
over from it being a call to Printv() at one point.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:40:24 +00:00
Olly Betts
8094f2c86f
Remove unused trailing `0' parameter in call to Printf.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:37:21 +00:00
Olly Betts
91f0fcb0ba
Fix bad output in "unsupported" message for -perl -package and -perl -interface
...
caused by unescaped "%module" in Printf format string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:36:42 +00:00
Olly Betts
8505bb9d6b
Remove accidental extra parameter in call to Printf().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:33:56 +00:00
Olly Betts
cecb0ff03b
Add missing \n to deprecation warning for -feature, and fix terminology
...
"option" not "directive".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 18:09:39 +00:00
Gonzalo Garramuno
6acae8cb76
Applied Olly's patch for protoTypes, which could
...
previously segfault due to a wrong Printf.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 10:27:02 +00:00
Gonzalo Garramuno
6fbc5e58a6
Removed printing from test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 10:13:20 +00:00
Gonzalo Garramuno
d162646475
Fixed swig::ConstIterator to use a GC_VALUE
...
instead of a normal value.
Fixed container iterator typemaps to pass self
in as sequence (this makes iterator print itself ok)
Fixed typo in rubycomplex comment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 10:11:41 +00:00
Gonzalo Garramuno
6b68617166
Removed debugging printf.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-07 20:05:20 +00:00
Gonzalo Garramuno
9ced69968f
Fixed ruby's complex conversion.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-07 20:03:37 +00:00
Gonzalo Garramuno
315bd2da6e
Added new iterator changes to std.
...
This change does not break backwards compatability
with python, so all works.
The python stuff, however, will still not do all
that ruby can now do.
Updated manual to reflect the change and improve
typemap documentation on the ruby side.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-07 05:00:46 +00:00
Olly Betts
6f332a6e02
Fix time-travelling datestamp!
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 18:09:28 +00:00
Gonzalo Garramuno
8742036cbd
Removed macro stuff titles of author, copyright,
...
etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 18:02:24 +00:00
Gonzalo Garramuno
c18feb2af3
Fixed type_name of some std classes.
...
Remove cmp_id from GC_VALUE.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 12:46:40 +00:00
Gonzalo Garramuno
949b6238e8
Fixed small typo in comment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 07:43:36 +00:00
Gonzalo Garramuno
ddbce633fd
Removed std::less functor and redefined all operators
...
for GC_VALUE instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 07:38:38 +00:00
Gonzalo Garramuno
4ead0ce7b2
Removed python crap from std/std_common.i
...
and moved it to python/std_common.i
Consolidated ruby code to use std/std_common.i
Added missing include to rubystdfunctors.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 06:28:23 +00:00
Gonzalo Garramuno
8622de7595
Removed allocator from constructors.
...
Added copy constructors to stack/queue.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 05:54:48 +00:00
Gonzalo Garramuno
a7aa62ce68
Added an implementation of std_queue with tests.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 05:25:58 +00:00
Gonzalo Garramuno
5e27a6828a
Added an implementation of std_stack.i with
...
proper tests.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 05:13:17 +00:00
Gonzalo Garramuno
ac5915d675
Added new section to STL documentation to
...
document the use of functors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 04:31:10 +00:00
Gonzalo Garramuno
0f15d298da
Modified ruby functors to remove ruby prefix.
...
Added new test for functors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 04:08:55 +00:00
Gonzalo Garramuno
1cf8fd332b
Added constructor that can take functors to all
...
containers that can use one.
Created file rubystdfunctors.swg to allow passing in
Ruby procs as functors to STL functions (swig-user list
suggestion for Python).
Fixed a bug in type_info() always failing for std::set.
Fixed a bug in type_info() always accepting any failed
conversion which could lead to overloaded functions to
fail when input wrong parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-06 03:56:33 +00:00
Gonzalo Garramuno
f92ebdbe07
remove std::set from new extended functions, as
...
it was failing due to non-assignable iterator.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-05 11:19:54 +00:00
Gonzalo Garramuno
1c46a18c50
Added new rubycontainer_extended.swg file.
...
This file contains standard ruby algorithms but
which place some restriction on the class inside
the STL container.
Fixed GC_VALUE so that it cannot be instantiated
from the language manually.
Fixed delete autodoc.
Started documenting each portion of the SWIG
templates/macros so it makes sense to people.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-05 10:26:59 +00:00
Gonzalo Garramuno
c361c83aea
Removed a printing of vector from test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-05 03:00:35 +00:00
Gonzalo Garramuno
81c84b7e8c
Rename fixes to STL.
...
Removed object reporting in non-verbose from
newobject demos.
Made wstring treat them as normal strings as
advertised.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-05 00:46:20 +00:00
Gonzalo Garramuno
4cd98d3865
Improved algorithm of renaming of methods with numbers at the end.
...
Fixed some const issues.
Improved report on overloaded function error.
Fixed some minor iterator potential problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 13:12:31 +00:00
Gonzalo Garramuno
e90e28acfc
Removed some bloat from repeated autodoc comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9769 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 00:37:08 +00:00
Gonzalo Garramuno
86258412fb
Overloaded parameters printed for static functions
...
was incorrect. Fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:55:38 +00:00
Gonzalo Garramuno
8e630bd57d
Refactored the overloaded method error into
...
a simple auxiliary function in a .swg file.
This makes the resulting .cxx files a little
bit less bloated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:45:13 +00:00
Gonzalo Garramuno
f6f61e8328
Changed name of variable msg to swigMsg to avoid
...
potential name conflicts.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:20:13 +00:00
Gonzalo Garramuno
0e4b239b3e
Fixed a minor issue in the test-suite regarding
...
trying to compile overloaded functions under C.
Fixed refcount test crashing due to autodoc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 22:08:32 +00:00
Gonzalo Garramuno
a87644dc12
Updated CHANGES file.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 21:08:41 +00:00
Gonzalo Garramuno
3d51df15be
Improved overload method mismatch error with
...
printing of all available prototypes. Similar
to a patch to python recently.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 21:01:19 +00:00
Gonzalo Garramuno
71e89af326
Documented the two ways that support for ruby blocks
...
can be added to classes' constructors and methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 11:52:45 +00:00
Gonzalo Garramuno
95a3ecf285
Made rdoc documentation spit the full name of
...
class/methods to avoid name clashes.
rdoc, unfortunately, needs patching to recognize
this properly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 10:48:17 +00:00