Commit graph

13,328 commits

Author SHA1 Message Date
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
Olly Betts
3777b685a6 Fix many instances of "delimeter" to "delimiter".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 12:02:56 +00:00
Olly Betts
427a4945be Fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 12:01:54 +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
Olly Betts
b19ba03ff1 Fix typo in comment (libary -> library)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-07 14:28:36 +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
William S Fulton
75b1e083cf Fix warning display of templated base classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-30 19:27:40 +00:00
Olly Betts
8e19947acc Mark configure.in as svn:eol-style LF so it will have Unix line endings even
on Windows, and remove the suggestion to use dos2unix on configure.in for
mingw as it will no longer be required.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-27 21:01:18 +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
0a83b80934 Add dos2unix comand to mingw build
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-25 21:47:52 +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
William S Fulton
3efe579453 Add more details on and special variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-25 21:24:22 +00:00
William S Fulton
ed3938e36f fix long long handling - mainly patch 1771313. Attempt to define ISO limits that should be in limits.h if gcc has not defined them. This might need refining further.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-24 21:42:05 +00:00
William S Fulton
f8142058e1 update section numbers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-24 21:25:13 +00:00
Olly Betts
cebe664854 Use push_back(wchar_t) instead of append(wchar_t) since append() is
non-standard (SF#1799992).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-23 21:40:29 +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