William S Fulton
fa72166164
warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:31:09 +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
William S Fulton
a43e50ac07
fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
a1052bab4f
html fixes and toc update
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:47:08 +00:00
William S Fulton
5f1ac9567b
Docs updated to suggest using distutils. Patch #1796681 from Christopher Barker.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:37:56 +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
John Lenz
b884b76fda
Add doc improvements from the wiki http://www.dabeaz.com/cgi-bin/wiki.pl?SwigWikiDocs/Module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 01:59:28 +00:00
William S Fulton
532cb45882
eol-style set to CRLF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:20:27 +00:00
William S Fulton
03d766a7ce
eol-style set to CRLF
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 21:19:24 +00:00
Olly Betts
29d932886e
Fix wrapping of constants, broken by warning suppression change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-18 15:52:06 +00:00
William S Fulton
955a50ce7a
Update notes on cvs $Header$ to use $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 22:10:32 +00:00
William S Fulton
ede8b8c87a
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:56:11 +00:00
William S Fulton
925adeb175
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:54:31 +00:00
William S Fulton
92bceacc38
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:47:25 +00:00
William S Fulton
9c65c6b044
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:43:55 +00:00
William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
William S Fulton
21533f53e3
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:37:03 +00:00
William S Fulton
0041ebc4bd
Replace cvs $ with svn $
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:33:57 +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
William S Fulton
4513953e96
Replace cvs header with svn id
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:26:25 +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
a1ae35b43f
Revert this fix unless ZEND_RAW_FENTRY is defined (it was added in
...
PHP 5.2.<something>):
[PHP] Fix many occurrences of "warning: deprecated conversion from
string constant to 'char*'" from GCC 4.2 in generated C/C++ code.
Use zend_function_entry rather than function_entry in generated code.
The later only exists for compatibility with PHP3!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 17:25:15 +00:00
Olly Betts
c166ffc10d
Release our mutex rather than free-ing it, since we want it around to reuse.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 23:01:23 +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
Olly Betts
0f5c628cfb
Fix mixed declarations and code so this file is valid C89.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:27:14 +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
Olly Betts
b1b889059d
Another place which can use std::string::assign() which I failed to check in
...
with the others. Also use std::string::data() instead of std::string::c_str()
where we don't need the trailing '\0'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 01:40:52 +00:00
William S Fulton
32acb4c43e
Fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 22:13:41 +00:00
William S Fulton
ad1a72f834
Remove incorrect license in generated code. See swig-devel mailing 'licence issue' thread
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:44:18 +00:00
William S Fulton
927049cf9b
minor comment changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:42:20 +00:00
William S Fulton
26c0f42887
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:41:27 +00:00
William S Fulton
fd851b9380
Add DetachCurrentThread back in for directors. The problems occuring on Solaris look like they were jdk bugs (1.4.2 and older)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9983 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:40:01 +00:00
William S Fulton
2c46b7832c
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:31:22 +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
Olly Betts
2982a37ad5
Adjust brackets on typemaps to eliminate superfluous {} blocks in generated
...
C/C++ wrapper code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-11 03:32:30 +00:00
Olly Betts
41af8afda1
Fix for new typemaps for handling parameters of type std::string & - add a
...
specialised form for const std::string & which does nothing to avoid leaking
memory whenever we pass a string by const reference.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-10 14:35:44 +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
William S Fulton
54200cc7e8
shared_ptr memory leak testing. Make increment and decrement counts thread safe. Fix template test.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:56:31 +00:00
William S Fulton
035cdf6f1a
Fix compilation problem for const methods and memory leak for plain member variables
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9976 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:51:03 +00:00
William S Fulton
142b57a241
Fix compilation problem for const methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:50:33 +00:00
William S Fulton
76fdf15ff8
comment fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:24:07 +00:00
William S Fulton
5fc509af43
minor edit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 23:23:30 +00:00
Olly Betts
d264fd1a1a
Fix typo.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-09 21:21:42 +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
3a04a34333
CVS -> SVN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 14:30:29 +00:00