Olly Betts
eccdf9d415
Remove unused Printf() parameters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:59:56 +00:00
Olly Betts
a6da185300
Remove unused Printf() parameters.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:58:50 +00:00
Olly Betts
e72b6e8ff0
[PHP5]
...
Fix handling of a particular case involving overloaded functions
with default parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:57:32 +00:00
Mikel Bancroft
beb9ab1031
[allegrocl] see CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:28:25 +00:00
Joseph Wang
30cf4d39eb
The code for list attributes was adding a spurtious comma, which caused
...
code breakage in newer versions of R.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-04 04:36:05 +00:00
Olly Betts
f08000de17
[Python]
...
Split docstrings into separate string literals at each newline when
generating C/C++ wrapper code (the C/C++ compiler will just combine
the back into a single string literal). This avoids MSVC
complaining that the strings are too long (problem reported by
Bo Peng on the mailing list).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-29 00:57:46 +00:00
Olly Betts
af2d15d2a5
[Python]
...
Escape backslashes in docstrings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-27 23:57:34 +00:00
Olly Betts
26e8cc0797
[Python]
...
Fix autodoc generation of enums to be more consistent with how the
enums are wrapped - patch #1697226 from Josh Cherry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9839 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 15:00:58 +00:00
Olly Betts
dc61936359
[PHP5]
...
Fix wrapping of methods and functions which return a pointer to a
class (bug#1700788) and those which have overloaded forms returning
both classes and non-classes (bug#1712717, thanks to Simon
Berthiaume for the patch).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9838 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 11:38:18 +00:00
William S Fulton
3e5f30c94f
conversion operator %rename improvements - the exact operator name must be specified now, rather than a fully qualified operator name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 00:06:45 +00:00
Olly Betts
6ffb9fa179
Remove unused Printf() parameter, and simplify resultant code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-17 22:53:50 +00:00
Olly Betts
e73b6bf62c
Remove unused Printf parameters from cut-and-pasting code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-17 22:48:59 +00:00
Olly Betts
d3dba22c2f
Fix compilation with GCC 4.3 snapshot.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-17 22:37:25 +00:00
Olly Betts
218f0f6577
Fix unused parameter in Printf.
...
Remove superfluous semicolons to fix compile failure with GCC 4.3 snapshot
which is fussier about C++ syntax than current releases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-17 22:34:29 +00:00
Mikel Bancroft
df4c2a2d5a
small allegrocl update. see CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-16 22:14:15 +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
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
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
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
Gonzalo Garramuno
7d570676f5
Better autodocs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 09:56:28 +00:00
Gonzalo Garramuno
fe6df177db
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 06:07:08 +00:00
Gonzalo Garramuno
ccf65a1e56
Added support for inheritance in class description,
...
even if not recognized by rdoc yet.
Added autodoc flag to Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-03 00:18:15 +00:00
Gonzalo Garramuno
c6ece2bb93
Made autodoc ignore numinputs=0.
...
Added more typemap(doc) for documenting STL
and standard ruby methods.
Added missing RUBY_SELF typemap.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 22:09:06 +00:00
Gonzalo Garramuno
d3945a4d40
Improved autodoc documentation for standard ruby methods
...
and for STL containers, using %feature instead of
hard-coding the stuff in ruby.cxx.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 20:37:21 +00:00
Gonzalo Garramuno
75f1af27a5
Improvements to ruby's autodocumentation.
...
GC.start was failing when ruby was run without verbose warnings. Fixed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 19:39:53 +00:00
Gonzalo Garramuno
ec4daa8b0e
Improved rdoc generation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 13:32:18 +00:00
Gonzalo Garramuno
594483bbda
STL stream support for Ruby.
...
docstring and autodoc support for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 10:00:26 +00:00
Mark Gossage
61fdde65cc
Fixed issues with C++ classes and hierachies across multiple source files.
...
Fixed imports test case & added run test.
Added Examples/imports.
Added typename for raw lua_State*
Added documentation on native functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-02 02:20:29 +00:00
Gonzalo Garramuno
1b349d4749
Fixed a bug with argout values being incorrectly
...
returned when the first argout/returned element
was an array.
Made std::pair and container returned elements be
frozen (like tuples in python).
Added the std_containers.i test from python and
created a ruby runme file for it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-01 22:40:55 +00:00
Gonzalo Garramuno
806d9040c5
Updated CHANGES.current.
...
Fixed problems with insert() and unshift() functions in std::vector for ruby.
Updated Ruby documentation.
Improved swig_assert.rb.
Added "second" singleton to std_pair in ruby.
Modified two tests to follow the new STL stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-30 09:45:10 +00:00
Gonzalo Garramuno
8931224836
Fixed incorrect outputing of free_* functions
...
when user had defined a new free function with
%freefunc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-29 19:44:23 +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
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