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
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
Olly Betts
be55009965
Start a new CHANGES.current
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-16 16:01:17 +00:00
William S Fulton
d9f667c984
readying for 1.3.32 release
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:52:36 +00:00
William S Fulton
1ca1a3ec4c
Add Windows support for R
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 23:00:50 +00:00
Olly Betts
ece41d9c9f
[php] Fix makefile generated by -make (SF#1633679). Update
...
documentation to mark "-make" as deprecated (none of the other
SWIG backends seem to offer such a feature, it can't realistically
generate a fully portable makefile, and the commands to build an
extension are easy enough to write for the user's preferred build
tool). Also recommend against the use of "-phpfull" (it's only
really useful when static linking, and a dynamically loadable
module is virtually always the better approach).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 00:59:02 +00:00
Olly Betts
9abc24813b
Fix --help output to note that `export SWIG_FEATURES' is required.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-09 08:59:44 +00:00
William S Fulton
6fb54c3f63
R improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:41:59 +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
Olly Betts
70759b3e16
[guile] Fix the configure test to put GUILELINK in LIBS not LDFLAGS
...
(SF#1822430).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:20:45 +00:00
Olly Betts
97ce2ae61a
[guile] Fix the guile examples on 64-bit platforms.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-30 01:08:24 +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
Olly Betts
cc879f7c29
[lua] Fix swig_lua_class instances to be static to allow multiple
...
SWIG wrappers to be compiled into the same executable statically.
Patch from Andreas Fredriksson (posted to the swig mailing list).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-29 00:02:20 +00:00
Olly Betts
df8b78dbea
[lua] Fix Examples/lua to pass SRCS for C tests rather than CXXSRCS.
...
The code as it was happened to work on x86, but broke on x86_64 (and
probably any other platforms which require -fPIC).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:55:26 +00:00
William S Fulton
b6f9def156
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@10064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:46 +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
John Lenz
4ace915a56
Chicken test suite now runs with no errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 23:08:34 +00:00
Olly Betts
d1dabb7231
Fix UTL typecheck macro for a function taking char[] or const
...
char[] (SF#1820132).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 23:05:32 +00:00
Matthias Köppe
cab796d49e
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 22:02:32 +00:00
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