Bump version to 2.0.8
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1b4e328046
commit
3a55dd3df1
6 changed files with 99 additions and 97 deletions
8
ANNOUNCE
8
ANNOUNCE
|
|
@ -1,8 +1,8 @@
|
||||||
*** ANNOUNCE: SWIG 2.0.7 (26 May 2012) ***
|
*** ANNOUNCE: SWIG 2.0.8 (in progress) ***
|
||||||
|
|
||||||
http://www.swig.org
|
http://www.swig.org
|
||||||
|
|
||||||
We're pleased to announce SWIG-2.0.7, the latest SWIG release.
|
We're pleased to announce SWIG-2.0.8, the latest SWIG release.
|
||||||
|
|
||||||
What is SWIG?
|
What is SWIG?
|
||||||
=============
|
=============
|
||||||
|
|
@ -21,11 +21,11 @@ Availability
|
||||||
============
|
============
|
||||||
The release is available for download on Sourceforge at
|
The release is available for download on Sourceforge at
|
||||||
|
|
||||||
http://prdownloads.sourceforge.net/swig/swig-2.0.7.tar.gz
|
http://prdownloads.sourceforge.net/swig/swig-2.0.8.tar.gz
|
||||||
|
|
||||||
A Windows version is also available at
|
A Windows version is also available at
|
||||||
|
|
||||||
http://prdownloads.sourceforge.net/swig/swigwin-2.0.7.zip
|
http://prdownloads.sourceforge.net/swig/swigwin-2.0.8.zip
|
||||||
|
|
||||||
Please report problems with this release to the swig-devel mailing list,
|
Please report problems with this release to the swig-devel mailing list,
|
||||||
details at http://www.swig.org/mail.html.
|
details at http://www.swig.org/mail.html.
|
||||||
|
|
|
||||||
91
CHANGES
91
CHANGES
|
|
@ -3,6 +3,97 @@ SWIG (Simplified Wrapper and Interface Generator)
|
||||||
See the CHANGES.current file for changes in the current version.
|
See the CHANGES.current file for changes in the current version.
|
||||||
See the RELEASENOTES file for a summary of changes in each release.
|
See the RELEASENOTES file for a summary of changes in each release.
|
||||||
|
|
||||||
|
Version 2.0.7 (26 May 2012)
|
||||||
|
===========================
|
||||||
|
2012-05-26: wsfulton
|
||||||
|
std::string typemap modifications so they can be used with %apply for other string
|
||||||
|
classes.
|
||||||
|
|
||||||
|
2012-05-25: wsfulton
|
||||||
|
[Lua] Fixes for -external-runtime to work again.
|
||||||
|
|
||||||
|
2012-05-22: szager
|
||||||
|
[python] Disambiguate SWIG_From_unsigned_SS_int and SWIG_From_unsigned_SS_long.
|
||||||
|
|
||||||
|
2012-05-18: olly
|
||||||
|
[PHP] Fix getters for template members. (SF#3428833, SF#3528035)
|
||||||
|
|
||||||
|
2012-05-14: wsfulton
|
||||||
|
Fix some language's std::map wrappers to recognise difference_type, size_type, key_type
|
||||||
|
and mapped_type.
|
||||||
|
|
||||||
|
2012-05-14: kwwette (signed off by xavier98)
|
||||||
|
[Octave] Prevent Octave from seg-faulting at exit when SWIG
|
||||||
|
modules are loaded, due to bugs in Octave's cleanup code:
|
||||||
|
* Wrapping functions now declared with Octave DEFUN_DLD macro,
|
||||||
|
and loaded through Octave's dynamic module loader
|
||||||
|
* Global variables of swigref type are now assigned a new()
|
||||||
|
copy of the swigref class, to prevent double-free errors
|
||||||
|
* SWIG module at-exit cleanup function now created in Octave
|
||||||
|
through eval(), so not dependent on loaded .oct library
|
||||||
|
* For Octave versions 3.1.* to 3.3.*, register C-level at-exit
|
||||||
|
function which terminates Octave immediately (with correct
|
||||||
|
status code) without performing memory cleanup. This function
|
||||||
|
can be controlled with macros in Lib/octave/octruntime.swg
|
||||||
|
|
||||||
|
[Octave] New syntax for determing whether SWIG module should be
|
||||||
|
loaded globally or non-globally. To load module "example" globally,
|
||||||
|
type the module name
|
||||||
|
$ example;
|
||||||
|
as before; to load module non-globally, assign it to a variable:
|
||||||
|
$ example = example;
|
||||||
|
or
|
||||||
|
$ ex = example;
|
||||||
|
for a shorter (local) module name. -global/-noglobal command-line
|
||||||
|
options and module command line are deprecated. Added usage info
|
||||||
|
to module, so typing
|
||||||
|
$ help example
|
||||||
|
or incorrect usage should display proper usage, with examples.
|
||||||
|
|
||||||
|
*** POTENTIAL INCOMPATIBILITY ***
|
||||||
|
|
||||||
|
2012-05-12: olly
|
||||||
|
[PHP] Fix memory leak in code generated for a callback. Patch from
|
||||||
|
SF bug #3510806.
|
||||||
|
|
||||||
|
2012-05-12: olly
|
||||||
|
[PHP] Avoid using zend_error_noreturn() as it doesn't work with all
|
||||||
|
builds of PHP (SF bug #3166423). Instead we now wrap it in a
|
||||||
|
SWIG_FAIL() function which we annotate as "noreturn" for GCC to
|
||||||
|
avoids warnings. This also reduces the size of the compiled
|
||||||
|
wrapper (e.g. the stripped size is reduced by 6% for Xapian's PHP
|
||||||
|
bindings).
|
||||||
|
|
||||||
|
2012-05-11: wsfulton
|
||||||
|
[Java] SF patch #3522855 Fix unintended uninitialised memory access in OUTPUT typemaps.
|
||||||
|
|
||||||
|
2012-05-11: wsfulton
|
||||||
|
[Java] SF patch #3522674 Fix possible uninitialised memory access in char **STRING_OUT
|
||||||
|
typemap.
|
||||||
|
|
||||||
|
2012-05-11: wsfulton
|
||||||
|
[Java] SF patch #3522611 Fix uninitialised size regression in char **STRING_ARRAY
|
||||||
|
introduced in swig-2.0.6.
|
||||||
|
|
||||||
|
2012-05-11: wsfulton
|
||||||
|
SF bug #3525050 - Fix regression introduced in swig-2.0.5 whereby defining one typemap
|
||||||
|
method such as an 'out' typemap may hide another typemap method such as an 'in' typemap -
|
||||||
|
only occurs when the type is a template type where the template parameters are the same
|
||||||
|
via a typedef.
|
||||||
|
|
||||||
|
2012-05-10: olly
|
||||||
|
[PHP] Fix the constant typemaps for SWIGTYPE, etc - previously
|
||||||
|
these used the wrong name for renamed constants. Add
|
||||||
|
autodoc_runme.php to the testsuite as a regression test for this.
|
||||||
|
|
||||||
|
2012-05-02: ianlancetaylor
|
||||||
|
[Go] Remove compatibility support for gccgo 4.6. Using
|
||||||
|
SWIG with gccgo will now require gccgo 4.7. Using SWIG
|
||||||
|
with the more commonly used gc compiler is unaffected.
|
||||||
|
|
||||||
|
2012-05-01: wsfulton
|
||||||
|
Fix generated code for C forward enum declarations in some languages.
|
||||||
|
|
||||||
Version 2.0.6 (30 April 2012)
|
Version 2.0.6 (30 April 2012)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,94 +2,5 @@ Below are the changes for the current release.
|
||||||
See the CHANGES file for changes in older releases.
|
See the CHANGES file for changes in older releases.
|
||||||
See the RELEASENOTES file for a summary of changes in each release.
|
See the RELEASENOTES file for a summary of changes in each release.
|
||||||
|
|
||||||
Version 2.0.7 (26 May 2012)
|
Version 2.0.8 (in progress)
|
||||||
===========================
|
===========================
|
||||||
2012-05-26: wsfulton
|
|
||||||
std::string typemap modifications so they can be used with %apply for other string
|
|
||||||
classes.
|
|
||||||
|
|
||||||
2012-05-25: wsfulton
|
|
||||||
[Lua] Fixes for -external-runtime to work again.
|
|
||||||
|
|
||||||
2012-05-22: szager
|
|
||||||
[python] Disambiguate SWIG_From_unsigned_SS_int and SWIG_From_unsigned_SS_long.
|
|
||||||
|
|
||||||
2012-05-18: olly
|
|
||||||
[PHP] Fix getters for template members. (SF#3428833, SF#3528035)
|
|
||||||
|
|
||||||
2012-05-14: wsfulton
|
|
||||||
Fix some language's std::map wrappers to recognise difference_type, size_type, key_type
|
|
||||||
and mapped_type.
|
|
||||||
|
|
||||||
2012-05-14: kwwette (signed off by xavier98)
|
|
||||||
[Octave] Prevent Octave from seg-faulting at exit when SWIG
|
|
||||||
modules are loaded, due to bugs in Octave's cleanup code:
|
|
||||||
* Wrapping functions now declared with Octave DEFUN_DLD macro,
|
|
||||||
and loaded through Octave's dynamic module loader
|
|
||||||
* Global variables of swigref type are now assigned a new()
|
|
||||||
copy of the swigref class, to prevent double-free errors
|
|
||||||
* SWIG module at-exit cleanup function now created in Octave
|
|
||||||
through eval(), so not dependent on loaded .oct library
|
|
||||||
* For Octave versions 3.1.* to 3.3.*, register C-level at-exit
|
|
||||||
function which terminates Octave immediately (with correct
|
|
||||||
status code) without performing memory cleanup. This function
|
|
||||||
can be controlled with macros in Lib/octave/octruntime.swg
|
|
||||||
|
|
||||||
[Octave] New syntax for determing whether SWIG module should be
|
|
||||||
loaded globally or non-globally. To load module "example" globally,
|
|
||||||
type the module name
|
|
||||||
$ example;
|
|
||||||
as before; to load module non-globally, assign it to a variable:
|
|
||||||
$ example = example;
|
|
||||||
or
|
|
||||||
$ ex = example;
|
|
||||||
for a shorter (local) module name. -global/-noglobal command-line
|
|
||||||
options and module command line are deprecated. Added usage info
|
|
||||||
to module, so typing
|
|
||||||
$ help example
|
|
||||||
or incorrect usage should display proper usage, with examples.
|
|
||||||
|
|
||||||
*** POTENTIAL INCOMPATIBILITY ***
|
|
||||||
|
|
||||||
2012-05-12: olly
|
|
||||||
[PHP] Fix memory leak in code generated for a callback. Patch from
|
|
||||||
SF bug #3510806.
|
|
||||||
|
|
||||||
2012-05-12: olly
|
|
||||||
[PHP] Avoid using zend_error_noreturn() as it doesn't work with all
|
|
||||||
builds of PHP (SF bug #3166423). Instead we now wrap it in a
|
|
||||||
SWIG_FAIL() function which we annotate as "noreturn" for GCC to
|
|
||||||
avoids warnings. This also reduces the size of the compiled
|
|
||||||
wrapper (e.g. the stripped size is reduced by 6% for Xapian's PHP
|
|
||||||
bindings).
|
|
||||||
|
|
||||||
2012-05-11: wsfulton
|
|
||||||
[Java] SF patch #3522855 Fix unintended uninitialised memory access in OUTPUT typemaps.
|
|
||||||
|
|
||||||
2012-05-11: wsfulton
|
|
||||||
[Java] SF patch #3522674 Fix possible uninitialised memory access in char **STRING_OUT
|
|
||||||
typemap.
|
|
||||||
|
|
||||||
2012-05-11: wsfulton
|
|
||||||
[Java] SF patch #3522611 Fix uninitialised size regression in char **STRING_ARRAY
|
|
||||||
introduced in swig-2.0.6.
|
|
||||||
|
|
||||||
2012-05-11: wsfulton
|
|
||||||
SF bug #3525050 - Fix regression introduced in swig-2.0.5 whereby defining one typemap
|
|
||||||
method such as an 'out' typemap may hide another typemap method such as an 'in' typemap -
|
|
||||||
only occurs when the type is a template type where the template parameters are the same
|
|
||||||
via a typedef.
|
|
||||||
|
|
||||||
2012-05-10: olly
|
|
||||||
[PHP] Fix the constant typemaps for SWIGTYPE, etc - previously
|
|
||||||
these used the wrong name for renamed constants. Add
|
|
||||||
autodoc_runme.php to the testsuite as a regression test for this.
|
|
||||||
|
|
||||||
2012-05-02: ianlancetaylor
|
|
||||||
[Go] Remove compatibility support for gccgo 4.6. Using
|
|
||||||
SWIG with gccgo will now require gccgo 4.7. Using SWIG
|
|
||||||
with the more commonly used gc compiler is unaffected.
|
|
||||||
|
|
||||||
2012-05-01: wsfulton
|
|
||||||
Fix generated code for C forward enum declarations in some languages.
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
<body bgcolor="#ffffff">
|
<body bgcolor="#ffffff">
|
||||||
<H1><a name="Sections"></a>SWIG-2.0 Documentation</H1>
|
<H1><a name="Sections"></a>SWIG-2.0 Documentation</H1>
|
||||||
|
|
||||||
Last update : SWIG-2.0.7 (26 May 2012)
|
Last update : SWIG-2.0.8 (in progress)
|
||||||
|
|
||||||
<H2>Sections</H2>
|
<H2>Sections</H2>
|
||||||
|
|
||||||
|
|
|
||||||
2
README
2
README
|
|
@ -1,6 +1,6 @@
|
||||||
SWIG (Simplified Wrapper and Interface Generator)
|
SWIG (Simplified Wrapper and Interface Generator)
|
||||||
|
|
||||||
Version: 2.0.7 (26 May 2012)
|
Version: 2.0.8 (in progress)
|
||||||
|
|
||||||
Tagline: SWIG is a compiler that integrates C and C++ with languages
|
Tagline: SWIG is a compiler that integrates C and C++ with languages
|
||||||
including Perl, Python, Tcl, Ruby, PHP, Java, Ocaml, Lua,
|
including Perl, Python, Tcl, Ruby, PHP, Java, Ocaml, Lua,
|
||||||
|
|
|
||||||
|
|
@ -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],[2.0.7],[http://www.swig.org])
|
AC_INIT([swig],[2.0.8],[http://www.swig.org])
|
||||||
|
|
||||||
dnl NB: When this requirement is increased to 2.60 or later, AC_PROG_SED
|
dnl NB: When this requirement is increased to 2.60 or later, AC_PROG_SED
|
||||||
dnl definition below can be removed
|
dnl definition below can be removed
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue