Commit graph

1,011 commits

Author SHA1 Message Date
Olly Betts
b2375fd6e6 [Python] Apply GCC 4.3 warnings patch from Philipp Thomas (SF#1925122).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-26 08:52:57 +00:00
William S Fulton
a1100e9964 Thread safety patch for Python STL iterators from Abhinandan Jain
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-21 23:11:24 +00:00
Mark Gossage
e543cd9040 [lua] added %luacode feature, documentation & examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 08:50:59 +00:00
Olly Betts
39ad0f01f6 Fix nonportable sed usage which failed on Mac OS X (and probably
other platforms).  Fixes SF#1903612.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 00:54:46 +00:00
Olly Betts
f881f98daf Fix memory leak in SWIG's parser (based on patch from Russell
Bryant in SF#1914023).`


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-17 00:36:35 +00:00
William S Fulton
6f497c2807 Fix bug #1878285 - unnecessary cast for C struct creation wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-12 22:15:00 +00:00
William S Fulton
77cd446a53 remove debugging info from shared_ptr typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-12 16:48:37 +00:00
Mark Gossage
8350c724f5 [lua] updated docs for exceptions
added new examples (exception,embed2)
update typmaps

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-06 09:44:48 +00:00
William S Fulton
2cf3cb3dc9 char *& typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-04 21:35:22 +00:00
William S Fulton
30c4214ece Fix #1904537 Swig causes a Perl warning 'x used only once' in Perl 5.10 reported by Ari Jolma
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-29 23:42:52 +00:00
William S Fulton
1a560e3866 global variables test and shared_ptr varin/varout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-29 23:23:35 +00:00
William S Fulton
63fb043af3 bump version number
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-28 23:12:16 +00:00
William S Fulton
7f0f0e8f44 readying 1.3.34
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 15:35:20 +00:00
William S Fulton
9c5610a8e9 R function pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:09:52 +00:00
Joseph Wang
731180ac3e Add item about fix to R 2.6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 05:04:53 +00:00
Olly Betts
f787f5bfba Fix year in dates of recent changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-14 00:30:06 +00:00
William S Fulton
61cc1dd334 Add support function for displaying the declaration of a methods. Add special variables for use in \%exception:
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-13 23:43:34 +00:00
Mark Gossage
9441b672cd [Lua] Added a patch by Torsten Landschoff to fix the unary minus issue
Ran 'astyle --style=kr -2' across lua.cxx to neaten it up

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-11 03:11:18 +00:00
William S Fulton
cf8ecb3d8e add some more info about the runtime api change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 21:50:10 +00:00
William S Fulton
c6d76a5965 Bump SWIG_RUNTIME_VERSION due to change in the conversion functions, ie change in definition of swig_converter_func
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 21:44:18 +00:00
William S Fulton
fa03e21139 fix merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:27:22 +00:00
William S Fulton
f39242fa92 Complete the Python support for shared_ptr mainly for derived classes. This includes the smartptr feature for overriding the class registration function and shared_ptr typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-09 12:25:41 +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
629aae375c Additions to %types so that a user can specify the code to go into the casting / conversion function
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-31 22:45:59 +00:00
Mark Gossage
560b18eb3f Small update to documentation in Typemaps.html, to warn about use of local variables in typemaps for multiple types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-30 03:40:37 +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
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
William S Fulton
bc94eeb6a0 Add 'directorinattributes' and 'directoroutattributes' typemap attributes for the imtype typemap. These should contain C# attributes which will be generated into the C# director delegates methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-18 23:35:49 +00:00
Olly Betts
ddb7c73411 Fix handling of byte value 255 in input files on platforms where
char is signed (it was getting mapped to EOF).  Fixes SF#1518219.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-18 19:51:46 +00:00
William S Fulton
b79e9a7d7e Fix template member variables wrapped by a smart pointer bug reported by Robert Lupton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-01-17 00:29:02 +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
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
da509bd641 Fix 1832613 - template function pointer typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10195 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-16 20:55:43 +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
262561ac53 Fix #1798728 - numbers can be passed to functions taking char *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 20:39:05 +00:00
William S Fulton
b79ebf39fa Fix #1819847 %template with just one default template parameter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 19:00:15 +00:00
Mark Gossage
a84f3dfa68 [lua] update lua.html
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-12 01:14:44 +00:00
William S Fulton
4c477d5e09 Apply patch #1838248 from Monty Taylor for vpath builds of SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-09 12:34:25 +00:00
William S Fulton
211ee3b2ca Fix gcc-4.2 warnings for Lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-08 00:29:13 +00:00
William S Fulton
8f09d00bb0 Fix template template parameters with default arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-06 22:35:43 +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
575efcdd53 Fix using statements for overloaded methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-30 22:34:50 +00:00
William S Fulton
efad1012c9 bump version to 1.3.34
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-23 22:31:25 +00:00
William S Fulton
6acc26ce6e 1.3.33 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-22 23:59:10 +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
Olly Betts
28c6d07e17 Correct the list which that patch was posted to.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 17:02:51 +00:00
Olly Betts
1b1e222169 [Python] Fill in Python Dictionary functions list (patch from
Jelmer Vernooij posted to swig-user).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 17:01:21 +00:00
Dave Beazley
d36cb38243 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 16:38:05 +00:00
William S Fulton
373e85a713 Fix static extern C compilation errors for Perl C++ wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-19 21:30:57 +00:00