Matthias Köppe
226f9e2698
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:52:10 +00:00
William S Fulton
30964be253
Fix uninitialised variable usage on error in director methods. Minor formatting change for director methods variable declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:30:19 +00:00
William S Fulton
9c43ddd675
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:20 +00:00
Olly Betts
87e64a237b
[perl5] Clear errno before calls to strtol(), strtoul(), strtoll()
...
and strtoull() which we check errno after to avoid seeing a junk
value of errno if there isn't an error in the call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 03:35:49 +00:00
William S Fulton
2a89d09add
attribute tidy up. %attributeref replaces %attribute_ref
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:27:21 +00:00
Olly Betts
551fac1f06
Note that the PHP + GCC 4.2 warning fix only works for PHP >= 5.2.1.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:36:39 +00:00
Olly Betts
10c6e1064d
[Tcl] Fix several ocurrences of "warning: deprecated conversion
...
from string constant to 'char*'" from GCC 4.2 in generated C/C++
code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 22:12:44 +00:00
Olly Betts
1b1334815c
[PHP] Fix many occurrences of "warning: deprecated conversion from
...
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:39:37 +00:00
William S Fulton
acb5bde28c
Patch #1797133 from David Piepgrass fixes %attribute when the getter has the same name as the attribute name and no longer generate non-functional setter for read-only attributes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9990 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 21:57:51 +00:00
Olly Betts
6fdeeafb88
[Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.
...
Add Examples/tcl/std_vector/ which this change fixes. Patch
is from "Cliff C" in SF#1809819.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 02:02:47 +00:00
John Lenz
a33151a48f
Added test suite entry for Bug #1735931
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 17:04:24 +00:00
William S Fulton
4075a16d70
correct contributor name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-10 08:18:31 +00:00
Olly Betts
611e41e04b
Automatically rerun autogen.sh if configure.in is modified.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 20:07:26 +00:00
Olly Betts
f20d0b7946
Enhance check-%-test-suite rule and friends to give a more helpful
...
error message if you try them for a language which doesn't exist
(e.g. "make check-php-test-suite" rather than the correct
"make check-php4-test-suite").
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9970 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 18:16:09 +00:00
Olly Betts
2fffdd118a
[php] Fix long-standing memory leak in wrapped constructors and
...
wrapped functions/methods which return an object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 18:12:42 +00:00
Olly Betts
32504a9c37
Fix Makefile.in to read check.list files correctly in a VPATH
...
build.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9965 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 11:44:20 +00:00
William S Fulton
12919429ad
shared_ptr typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 00:28:11 +00:00
Mark Gossage
6a70b4adc7
[lua] move verbose error checks, more test cases, reorg of luatypemaps.swg
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-27 05:36:25 +00:00
William S Fulton
23f8a0464c
throws typemaps for std::wstring using C# patch #1799064 from David Piepgrass
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-25 21:35:24 +00:00
Olly Betts
4f8dbd15b6
Commit changelog entry for recent Java tweak
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-23 21:39:16 +00:00
William S Fulton
e46f6ed050
summary of last few commits
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-21 23:59:14 +00:00
William S Fulton
7199cf2ef0
Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +00:00
Olly Betts
83e0e787b7
[php] Add typemaps for handling parameters of type std::string &
...
which are modified by the wrapped function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 03:08:06 +00:00
Olly Betts
cb4c23fde1
[python] Split potentially long string literals to avoid hitting
...
MSVC's low fixed limit on string literal length - patch from
SF#1723770, also reported as SF#1630855.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 00:50:20 +00:00
Olly Betts
b8c6a5c0d2
[ocaml] Fix renaming of overloaded methods in the method_table -
...
my patch from SF#940399.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9939 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-18 00:18:39 +00:00
Olly Betts
8178898960
[python] Simpler code for SWIG_AsVal_bool() which fixes a "strict
...
aliasing" warning from GCC - patch from SF#1724581 by Andrew
Baumann.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 23:52:16 +00:00
Olly Betts
e2d7f303b8
[perl5] Use sv_setpvn() to set a scalar from a pointer and length
...
- patch from SF#174460 by "matsubaray".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 23:24:11 +00:00
Olly Betts
c836c81acb
When wrapping C++ code, generate code which uses
...
std::string::assign(PTR, LEN) rather than assigning
std::string(PTR, LEN). Using assign generates more efficient code
(tested with GCC 4.1.2).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 20:10:57 +00:00
Olly Betts
ef4ca158de
[PHP] Use std::string::assign(PTR, LEN) rather than assigning
...
std::string(PTR, LEN). Using assign generates more efficient code
(tested with GCC 4.1.2).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 18:39:12 +00:00
William S Fulton
9b79e76d93
Fix ignore on implicit constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-07 22:10:03 +00:00
John Lenz
38f6ca7f15
Modify r_ltype in typesys.c to store a hashtable instead of a single value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-05 05:40:35 +00:00
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
Olly Betts
2ff3276e5f
Fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-25 14:05:22 +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
William S Fulton
91f9cb84c7
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@9909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 20:20:55 +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
7711a116d8
[allegrocl] Fix naming convention for generated cl file. Automatically include :fat and :fat-le external formats when generating interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-16 21:02:41 +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
Surendra Singhi
e33435c4cc
aplied patch 1766076
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-15 05:09:02 +00:00
William S Fulton
6b412b1e86
Add documentation patch #1743573 from Jeffrey Sorensen about better memory management by the JVM of C++ allocated memory
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 23:35:12 +00:00
William S Fulton
a122368370
Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:54:42 +00:00
William S Fulton
7797ae82aa
const enum reference typemaps fixed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:30:03 +00:00
William S Fulton
64ca4638ab
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 01:07:34 +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
a9f69c075d
cffi changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:19:16 +00:00
William S Fulton
e4bade15f3
fixes to use parallel make when running the examples and test-suite
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:26:54 +00:00
Mark Gossage
513147b70b
applied dos2unix on configure.in (fixed configure for mingw)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-19 07:13:25 +00:00