bump version to 1.3.37
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ac5b951a57
commit
a49edfb2b5
4 changed files with 159 additions and 156 deletions
156
CHANGES
156
CHANGES
|
|
@ -2,6 +2,162 @@ SWIG (Simplified Wrapper and Interface Generator)
|
||||||
|
|
||||||
See CHANGES.current for current version.
|
See CHANGES.current for current version.
|
||||||
|
|
||||||
|
Version 1.3.36 (24 June 2008)
|
||||||
|
=============================
|
||||||
|
|
||||||
|
06/24/2008: wsfulton
|
||||||
|
Remove deprecated -c commandline option (runtime library generation).
|
||||||
|
|
||||||
|
06/24/2008: olly
|
||||||
|
[PHP] Fix assertion failure when handling %typemap(in,numinputs=0)
|
||||||
|
(testcase ignore_parameter).
|
||||||
|
|
||||||
|
06/24/2008: olly
|
||||||
|
[PHP] Fix segfault when wrapping a non-class function marked with
|
||||||
|
%newobject (testcase char_strings).
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
Version 1.3.35 (7 April 2008)
|
Version 1.3.35 (7 April 2008)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
|
|
||||||
155
CHANGES.current
155
CHANGES.current
|
|
@ -1,156 +1,3 @@
|
||||||
Version 1.3.36 (24 June 2008)
|
Version 1.3.36 (in progress)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
06/24/2008: wsfulton
|
|
||||||
Remove deprecated -c commandline option (runtime library generation).
|
|
||||||
|
|
||||||
06/24/2008: olly
|
|
||||||
[PHP] Fix assertion failure when handling %typemap(in,numinputs=0)
|
|
||||||
(testcase ignore_parameter).
|
|
||||||
|
|
||||||
06/24/2008: olly
|
|
||||||
[PHP] Fix segfault when wrapping a non-class function marked with
|
|
||||||
%newobject (testcase char_strings).
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<body bgcolor="#ffffff">
|
<body bgcolor="#ffffff">
|
||||||
<H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1>
|
<H1><a name="Sections"></a>SWIG-1.3 Development Documentation</H1>
|
||||||
|
|
||||||
Last update : SWIG-1.3.36 (24 June 2008)
|
Last update : SWIG-1.3.37 (in progress)
|
||||||
|
|
||||||
<H2>Sections</H2>
|
<H2>Sections</H2>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||||
dnl The macros which aren't shipped with the autotools are stored in the
|
dnl The macros which aren't shipped with the autotools are stored in the
|
||||||
dnl Tools/config directory in .m4 files.
|
dnl Tools/config directory in .m4 files.
|
||||||
|
|
||||||
AC_INIT([swig],[1.3.36],[http://www.swig.org])
|
AC_INIT([swig],[1.3.37],[http://www.swig.org])
|
||||||
AC_PREREQ(2.58)
|
AC_PREREQ(2.58)
|
||||||
AC_CONFIG_SRCDIR([Source/Swig/swig.h])
|
AC_CONFIG_SRCDIR([Source/Swig/swig.h])
|
||||||
AC_CONFIG_AUX_DIR([Tools/config])
|
AC_CONFIG_AUX_DIR([Tools/config])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue