William S Fulton
e1673bb613
fix visual c++ warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-03 21:33:47 +00:00
William S Fulton
71c669def4
fix visual c++ warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-03 21:17:08 +00:00
William S Fulton
df83cef573
Visual C++ 8 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-02 00:52:14 +00:00
Olly Betts
9a74c3a918
[Python] Fix format string bug (SF#1882220).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-01 16:45:11 +00:00
William S Fulton
87394a2daf
Fix ARRAYSOFCLASSES bug reported by Kevin Mills where the changes made to an array element in the C layer are not reflected back into Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-25 22:01:55 +00:00
Mark Gossage
09113cc0bf
[lua] updated configure script yet again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-24 06:16:45 +00:00
William S Fulton
76229dbab8
Restore containers accepting NULL pointers when used in overloaded methods - problem reported by Josh Cherry
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-22 23:33:59 +00:00
William S Fulton
cb9d191276
Remove conversion from one STL container to another
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-21 21:59:02 +00:00
Gonzalo Garramuno
c7ec8c691d
Made set_err false by default, as that gives a better overloaded
...
message. Unfortunately, in ruby we cannot concatenate exception
messages as in python.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-19 04:41:46 +00:00
Mark Gossage
a60c3ca8ca
Substantial changes to configure script for detecting lua.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-14 01:23:36 +00:00
William S Fulton
d3daec2b16
More SWIG_NO_DELETER macros for Python / UTL languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-13 22:14:41 +00:00
William S Fulton
4c335c9422
fix possible null pointer deref - bug 1863647
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-12 23:06:06 +00:00
William S Fulton
a91c3e9120
minor typo in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-12 22:39:39 +00:00
Gonzalo Garramuno
b673832720
Added more backwards compatibility macros from ruby1.9.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-04 03:47:55 +00:00
Gonzalo Garramuno
6120c93fc6
Added a couple of new macros used in ruby1.9.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-02 21:41:50 +00:00
William S Fulton
54e6571299
Backed out #1798728 due to regression pointed out by Josh Cherry on swig-user
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-16 21:51:10 +00:00
William S Fulton
07bdd8bd18
Fix #1632625 - Compilation errors on Visual C++ 6 when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 20:42:14 +00:00
William S Fulton
0d799435b8
Fix #1798728 - numbers can be passed to functions taking char *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 19:26:22 +00:00
William S Fulton
521059242c
gcc-4.2 warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-09 22:27:38 +00:00
William S Fulton
7c9ece71ad
Fix gcc-4.2 warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-08 00:22:03 +00:00
Mark Gossage
89c3acea19
[lua] Fix a bug in the class hierachy code, where the methods were not propagated,
...
if the name ordering was in a certain order.
Added new example programs (dual, embed) and runtime tests for test-suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-04 09:25:58 +00:00
William S Fulton
e659f506f1
Fix fragments in Ruby for old typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-23 00:00:39 +00:00
Mikel Bancroft
ca9c273546
[allegrocl] multiple small fixes to interface. have const std::string *'s automacitally marshalled to lisp strings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-21 21:33:42 +00:00
William S Fulton
cd77efc220
fragment fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:46:01 +00:00
William S Fulton
5bbdad6a30
fix comments about fragments - noticed by Josh Cherry
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:45:06 +00:00
William S Fulton
c66c3dd632
Fix confusion of filenaming in comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-19 21:32:01 +00:00
William S Fulton
6ac7bcba31
Fix static extern C compilation errors for Perl C++ wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-19 21:31:18 +00:00
Olly Betts
bc9c671d84
[Python] Don't pass Py_ssize_t for a %d printf-like format as
...
that's undefined behaviour when sizeof(Py_ssize_t) != sizeof(int).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-16 16:05:10 +00:00
William S Fulton
22126ca549
Fix off by 1 memory allocation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:30:01 +00:00
William S Fulton
06e014fdbe
Fix C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:47:44 +00:00
William S Fulton
68f9f87e8d
Fix C errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:47:11 +00:00
William S Fulton
7b82429333
Use STRICT_R_HEADERS to remove macro conflicts with windows header files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 21:46:16 +00:00
William S Fulton
0362693bd2
Go back to extern C around R headers as per recommendation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:21:11 +00:00
William S Fulton
9bc992c0e4
Replace strdup - it is not portable. VC++ warning fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:14:51 +00:00
William S Fulton
39ff2511cb
replace strdup - it is not portable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-12 22:14:22 +00:00
William S Fulton
a80c41bef5
Dont use the global namespace polluting methods in the R headers - provides Visual C++ support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:26:58 +00:00
William S Fulton
6e88a9778f
Fix C code compilation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:12:01 +00:00
William S Fulton
92b6b2f8c0
Clean up warnings compiling on Solaris
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 00:28:25 +00:00
William S Fulton
79eea19382
string handling mods to keep gcc-4.2 happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-04 20:35:59 +00:00
William S Fulton
ed2bc825bd
minor member pointer fixes for last commit
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 22:21:19 +00:00
Mark Gossage
0c2bbb25a3
[lua] fixed bug in template classes which cases template_default2 and template_specialization_defarg to fail.
...
Added several warning filters into the overload's test cases.
Added runtime tests for several codes.
You can now make check-lua-test-suite with no errors and only a few warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 06:10:04 +00:00
William S Fulton
3acd5c2d94
Fix member pointers on 64 bit platforms
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 23:07:01 +00:00
Gonzalo Garramuno
f2f29c9ba5
Moved the std::pair< iterator, bool > typemap to std_set.i
...
where it belongs.
This solves the problem with swig conflicts (at least for now).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 22:12:56 +00:00
Gonzalo Garramuno
169a953991
Added fix for std::pair< iterator, bool >.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 16:39:05 +00:00
John Lenz
b8629b298c
Fix list_vector.i in the guilescm test suite to work on amd64
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 02:12:13 +00:00
William S Fulton
421eb7ae60
New templated method SwigValueInit to initialise all types - used initially for return types in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:33 +00:00
William S Fulton
08a45afc1b
Correct methods that were not as per the standard
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 22:33:20 +00:00
Joseph Wang
3b9574953c
Fix so that it works for 2.6 and 2.5
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 18:21:44 +00:00
William S Fulton
c5fae8d592
Use more efficient SvPV_nolen(x) instead of SvPV(x,PL_na)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 16:52:49 +00:00
Gonzalo Garramuno
c568d170dc
Added an additional fix to std_set to handle erase
...
properly (sigh).
Fixed a comment in rubyiterators.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-27 21:58:36 +00:00