William S Fulton
87577ab5e6
new -Werror option and fixes for turning on warnings which are normally turned off
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:20:21 +00:00
William S Fulton
d9b34d6112
add new debug commandline options for displaying the parse tree at different stages of processing and deprecate old equivalents
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:19:14 +00:00
William S Fulton
b0c537e4c6
fix alphabetical order
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:17:08 +00:00
Olly Betts
f66899a3bd
Can't use (double) cast in PHP default value, so rework.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 16:03:24 +00:00
Olly Betts
437bc4d61e
[PHP5] Fix handling of double or float parameters with an integer default value.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:53:27 +00:00
Olly Betts
e59dbf74f2
[PHP5] Generate __isset() methods for setters for PHP 5.1 and later.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:11:25 +00:00
Olly Betts
9b851f3f55
Eliminate unused parameters on calls to Printf()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 13:05:44 +00:00
Olly Betts
8f4f895651
Fix comment typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-23 15:21:11 +00:00
Olly Betts
c1b5afa09b
Remove bogus unused parameter from Printf call.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-23 15:15:24 +00:00
William S Fulton
2824efe6ba
Fix bug #1776651 - bug when the director class name is similar to other symbols being used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:48:45 +00:00
William S Fulton
3fd28bf45c
Correct behaviour for templated methods used with %rename or %ignore and %template()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-17 20:42:19 +00:00
Mikel Bancroft
3cedba5291
[allegrocl] see CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 18:39:50 +00:00
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