John Lenz
fb51964d01
Fix a bunch of minor bugs found by Coverity scanner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
William S Fulton
aa32a6b094
Add support for in the out typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 22:17:12 +00:00
William S Fulton
6a13675c16
Fix smart pointers and member methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-01 00:07:23 +00:00
Surendra Singhi
43fe81ce1a
changed package name clos to cl
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:18:27 +00:00
Surendra Singhi
3aaa08c856
fixed memory freeing bug, removed tabs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:08:12 +00:00
William S Fulton
1160c80a01
dead code fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-17 22:31:57 +00:00
William S Fulton
67f9ff66c9
dead code fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-17 22:29:48 +00:00
Mark Gossage
f87371fe8c
[lua] extras compability for lua 5.1, fixed a static link name conflict
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-10 09:30:49 +00:00
Mark Gossage
c3ec8fdce3
[lua] Fix a bug in SWIG_ALLOC_ARRAY()
...
improved the error messages for incorrect arguments.
Changed the output of swig_type() to use the human readable form of the type, rather than the raw swig type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-05 01:31:51 +00:00
William S Fulton
d269f9cd16
Fix directors for some overloaded methods where the imtype resulted in identical methods being generated in the C# director class
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-03 22:39:35 +00:00
Mikel Bancroft
e0449d3d16
[allegrocl] see CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-07 23:23:21 +00:00
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