git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
145 lines
5.9 KiB
Text
145 lines
5.9 KiB
Text
Version 1.3.36 (in progress)
|
|
=============================
|
|
|
|
06/22/2008: wsfulton
|
|
[Java] Add a way to use AttachCurrentThreadAsDaemon instead of AttachCurrentThread
|
|
in director code. Define the SWIG_JAVA_ATTACH_CURRENT_THREAD_AS_DAEMON macro, see
|
|
Lib/java/director.swg.
|
|
|
|
06/21/2008: wsfulton
|
|
[Ruby] Fix crashing in the STL wrappers (reject! and delete_if methods)
|
|
|
|
06/19/2008: wsfulton
|
|
[Java, C#] C# and Java keywords will be renamed instead of just issuing a warning
|
|
and then generating uncompileable code. Warning 314 gives the new name when a
|
|
keyword is found.
|
|
|
|
06/19/2008: wsfulton
|
|
[R] Keyword handling added. R Keywords will be renamed as necessary.
|
|
Warning 314 gives the new name when a keyword is found.
|
|
|
|
06/17/2008: mgossage
|
|
[Lua] Added missing support for bool& and bool*. Added runtest for li_typemaps testcase.
|
|
(Bug #1938142)
|
|
|
|
06/07/2008: bhy
|
|
Added test case keyword_rename, then made the keyword renaming works properly
|
|
by fixing Swig_name_make() for a incomplete condition checking.
|
|
|
|
06/02/2008: wsfulton
|
|
[Java, C#] Fix enum wrappers when using -noproxy.
|
|
|
|
05/30/2008: bhy
|
|
Added std::wstring into Lib/typemaps/primtypes.swg, since it is also a primitive
|
|
type in SWIG - fixed SF #1976978.
|
|
|
|
05/29/2008: wsfulton
|
|
[Java, C#] Fix variable wrappers when using -noproxy.
|
|
|
|
05/29/2008: bhy
|
|
[Python] Fixed a typo of %#ifdef in Lib/python/pycontainer.swg, which is related
|
|
to -extranative SWIG option - SF #1971977.
|
|
|
|
05/20/2008: wsfulton
|
|
New partialcheck makefile targets for partial testing of the test-suite. These
|
|
just invoke SWIG, ie no compilation and no runtime testing. It can be faster
|
|
when developing by just doing a directory diff of the files SWIG generates
|
|
against those from a previous run. Example usage from the top level directory:
|
|
|
|
make partialcheck-test-suite
|
|
make partialcheck-java-test-suite
|
|
|
|
This change also encompasses more flexibility in running the test-suite, eg
|
|
it is possible to prefix the command line which runs any target language test
|
|
with a tool. See the RUNTOOL, COMPILETOOL and SWIGTOOL targets in the common.mk
|
|
file and makefiles in the test-suite directory. For example it is possible to
|
|
run the runtime tests through valgrind using:
|
|
|
|
make check RUNTOOL="valgrind --leak-check=full"
|
|
|
|
or invoke SWIG under valgrind using:
|
|
|
|
make check SWIGTOOL="valgrind --tool=memcheck"
|
|
|
|
05/19/2008: drjoe
|
|
[R] Fixed define that was breaking pre-2.7. Checked in
|
|
patch from Soren Sonnenburg that creates strings in
|
|
version independent way
|
|
|
|
05/15/2008: wsfulton
|
|
[Java] Fix variable name clash in directors - SF #1963316 reported by Tristan.
|
|
|
|
05/14/2008: wsfulton
|
|
Add an optimisation for functions that return objects by value, reducing
|
|
the number of copies of the object that are made. Implemented using an
|
|
optional attribute in the "out" typemap called "optimal". Details in
|
|
Typemaps.html.
|
|
|
|
05/11/2008: olly
|
|
[PHP] Check for %feature("notabstract") when generating PHP5 class
|
|
wrapper.
|
|
|
|
05/11/2008: wsfulton
|
|
Fix SF #1943608 - $self substitution in %contract, patch submitted by
|
|
Toon Verstraelen.
|
|
|
|
05/09/2008: olly
|
|
[PHP] Fix char * typemaps to work when applied to signed char * and
|
|
unsigned char * (uncovered by testcase apply_strings).
|
|
|
|
05/09/2008: wsfulton
|
|
Fix wrapping of char * member variables when using allprotected mode.
|
|
Bug reported by Warren Wang.
|
|
|
|
05/09/2008: olly
|
|
[PHP] Fix bad PHP code generated when wrapping an enum in a
|
|
namespace (uncovered by testcase arrays_scope).
|
|
|
|
05/09/2008: olly
|
|
[PHP] SWIG now runs the PHP testsuite using PHP5, not PHP4. PHP4
|
|
is essentially obsolete now, so we care much more about solid PHP5
|
|
support.
|
|
|
|
05/07/2008: wsfulton
|
|
STL fixes when using %import rather than %include and the Solaris Workshop
|
|
compiler and the Roguewave STL.
|
|
|
|
05/07/2008: wsfulton
|
|
Fix wrapping of overloaded protected methods when using allprotected mode.
|
|
Bug reported by Warren Wang.
|
|
|
|
05/03/2008: wsfulton
|
|
Commit patch #1956607 to add -MT support from Richard Boulton.
|
|
This patch mirrors the gcc -MT option which allows one to change the default
|
|
Makefile target being generated when generating makefiles with the -M family
|
|
of options. For example:
|
|
|
|
$ swig -java -MM -MT overiddenname -c++ example.i
|
|
overiddenname: \
|
|
example.i \
|
|
example.h
|
|
|
|
04/30/2008: mgossage
|
|
[Lua] Removed generation of _wrap_delete_XXXXX (wrappered destructor)
|
|
which was unused and causing warning with g++ -Wall.
|
|
Removed other unused warning in typemaps.i and other places.
|
|
Added Examples/lua/embed3, and run tests a few test cases.
|
|
|
|
04/24/2008: olly
|
|
[Python] Fix generated code for IBM's C++ compiler on AIX (patch
|
|
from Goeran Uddeborg in SF#1928048).
|
|
|
|
04/24/2008: olly
|
|
Rename BSIZE in Examples/test-suite/arrays_scope.i to BBSIZE to
|
|
avoid a clash with BSIZE defined by headers on AIX with Perl
|
|
(reported in SF#1928048).
|
|
|
|
04/20/2008: wsfulton
|
|
Add the ability to wrap all protected members when using directors.
|
|
Previously only the virtual methods were available to the target language.
|
|
Now all protected members, (static and non-static variables, non-virtual methods
|
|
and static methods) are wrapped when using the allprotected mode. The allprotected
|
|
mode is turned on in the module declaration:
|
|
|
|
%module(directors="1", allprotected="1") modulename
|
|
|