summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ANNOUNCE8
-rw-r--r--CHANGES145
-rw-r--r--CHANGES.current145
-rw-r--r--Doc/Manual/Sections.html2
-rw-r--r--README2
-rw-r--r--configure.ac2
6 files changed, 154 insertions, 150 deletions
diff --git a/ANNOUNCE b/ANNOUNCE
index b99c0c386..e50bcd463 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,8 +1,8 @@
-*** ANNOUNCE: SWIG 4.0.2 (8 Jun 2020) ***
+*** ANNOUNCE: SWIG 4.1.0 (in progress) ***
http://www.swig.org
-We're pleased to announce SWIG-4.0.2, the latest SWIG release.
+We're pleased to announce SWIG-4.1.0, the latest SWIG release.
What is SWIG?
=============
@@ -25,11 +25,11 @@ Availability
============
The release is available for download on Sourceforge at
- http://prdownloads.sourceforge.net/swig/swig-4.0.2.tar.gz
+ http://prdownloads.sourceforge.net/swig/swig-4.1.0.tar.gz
A Windows version is also available at
- http://prdownloads.sourceforge.net/swig/swigwin-4.0.2.zip
+ http://prdownloads.sourceforge.net/swig/swigwin-4.1.0.zip
Please report problems with this release to the swig-devel mailing list,
details at http://www.swig.org/mail.html.
diff --git a/CHANGES b/CHANGES
index fe8696760..05834910a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,151 @@ See the RELEASENOTES file for a summary of changes in each release.
Issue # numbers mentioned below can be found on Github. For more details, add
the issue number to the end of the URL: https://github.com/swig/swig/issues/
+Version 4.0.2 (8 Jun 2020)
+==========================
+
+2020-06-07 vigsterkr
+ [Ruby] #1717 Nil fix mangling strings
+
+2020-06-07 vadz
+ #1748 Fix doxygen comments quoting issue
+
+2020-06-07 munoah
+ #1800 Escape spaces in file paths for dependencies (-M -MM etc)
+
+2020-06-06 andreas-schwab
+ [Ruby] #1801 Fix encoding on big endian systems when wrapping std::wstring.
+
+2020-05-31 kwwette
+ [Octave] #1789 error handling improvements and return error code on exit for SWIG wrapped modules.
+
+2020-05-30 msteinbeck
+ [D] #1593 Replace broken imports when using newer versions of D.
+
+2020-05-29: ZackerySpytz
+ [Python] #1716 Performance improvements converting strings when using Python >= 3.3.
+
+2020-05-28: ZackerySpytz
+ #1776 Quite dramatically decrease run times when generating very large interface files by changing
+ some internal memory pool sizes.
+
+2020-05-28: mcfarljm
+ #1788 Fix handling of Doxygen \endlink command.
+
+2020-05-24: vapier
+ [Javascript] #1796 Fix pkg-config invocation in configure.
+
+2020-04-30: kwwette
+ [Octave] Fix exception raising for newer Octave versions
+ Since (at least) Octave 5.1.0, the Octave error() function now raises a C++ exception,
+ which if uncaught immediately exits a SWIG wrapper function, bypassing any cleanup code
+ that may appear after a "fail:" label. This patch adds a "try { ... } catch(...) { }"
+ block around the contents of SWIG wrapper functions to first execute the cleanup code
+ before rethrowing any exception raised. It is backward compatible with earlier versions
+ of Octave where error() does not raise an exception, which will still branch to the
+ "fail:" block to execute cleanup code if an error is encountered.
+
+ Note that the new "try { ... } catch(...) { }" block will localise any local variables
+ used in typemaps that were NOT declared through SWIG's %typemap(...) syntax, so it's
+ possible this could break existing SWIG wrappers which were implicitly sharing local
+ variables between typemaps. This can be fixed, however, by declaring local variables
+ which need to be shared between typemaps through SWIG's %typemap(...) syntax.
+
+2020-02-18: ryannevell
+ [Lua] #1728 Add support for LUA lightuserdata to SWIG_Lua_ConvertPtr.
+
+2020-02-18: dmach
+ [Ruby] #1725 Fix gcc -Wcatch-value warnings.
+
+2020-02-14: treitmayr
+ #1724 Fix wrapping of abstract user-defined conversion operators.
+
+2020-02-13: ddurham2
+ [Python] #1512 Fix memleak when using STL containers of shared_ptr objects.
+
+2020-02-06: wsfulton
+ [Python] #1673 #1674 Fix setting 'this' when extending a proxy class with __slots__.
+
+2020-01-31: vadz
+ [Ruby] #1651 Add std::auto_ptr<> typemaps.
+
+2020-01-31: ZackerySpytz
+ [Python] #1700 More robust error checking for failures in calls to Python C API:
+ PyBytes_AsStringAndSize() and PyString_AsStringAndSize().
+
+2020-01-31: vadz
+ [Python] #1710 Fix crash parsing empty docstrings.
+
+2020-01-30: Alzathar
+ [R] #910 #914 Fix R memory leak on exception.
+
+2020-01-30: richardbeare
+ [R] #1511 Fix bug wrapping functions. These were previously incorrectly wrapped as if
+ they were variables. This happened when 'get' or 'set' was in the name of the function
+ or method, but sometimes also in some other circumstances. If you were using R
+ attribute syntax to access these methods, you'll need to switch to calling them as R
+ methods.
+
+ *** POTENTIAL INCOMPATIBILITY ***
+
+2020-01-24: etse-dignitas, wsfulton
+ [C#, D, Java] #1533 Fix upcasting for shared_ptr's of templated types.
+
+2020-01-16: mcfarljm
+ #1643 #1654 When using -doxygen, fix segfault when nameless parameters or vararg parameters
+ are used.
+
+2020-01-16: mcfarljm
+ #1632 #1659 Fix newline handling for doxygen "///" comments.
+
+2020-01-14: mcfarljm
+ #1647 #1656 Fix crash handling empty doxygen comments.
+
+2020-01-14: mcfarljm
+ #1608 Improve doxygen support.
+ - Add support for \param[] commands such as: \param[in].
+ - Optional arguments are marked as 'optional' in pydoc.
+ - Improve support for \code commands so that other languages are supported as code blocks.
+ Support added for java, c and py. For example Python: \code{.py} ... \endcode
+ - Fix doxygen handling of \em and \p tags for Python.
+
+2020-01-13: wsfulton
+ [Python] #1595 Python -builtin constructors silently ignored keyword arguments.
+ Instead of silenty ignoring them, now a "TypeError: f() takes no keyword arguments"
+ exception is thrown if keyword arguments are used. Hence constructors and normal methods/
+ functions behave in the same way. Note, -keyword should be used with -builtin to obtain
+ keyword argument support.
+
+2020-01-05: jschueller shadchin
+ [Python] #1670 #1696 Add missing field initializers introduced in python 3.8:
+ tp_vectorcall and tp_print.
+
+2020-01-05: friedrichatgc
+ [Octave] #1688 Change swig_this() to use size_t instead of long for compatibility
+ with Windows 64 bit.
+
+2020-01-05: treitmayr
+ [Ruby] #1692 #1689 Add support for Ruby 2.7
+
+2019-12-30: treitmayr
+ [Ruby] #1653 #1668 Fix code generated when using -globalmodule option.
+
+2019-12-29: ZackerySpytz
+ [OCaml] #1686 Fix compilation errors with OCaml 4.09.0.
+
+2019-12-10: wsfulton
+ #1679 Fix parsing of C++11 identifiers with special meaning (final and override) when
+ they are used as part of the scope name of an identifier, such as a namespace name.
+
+2019-11-26: wsfulton
+ [C#] #1628 'out' or 'ref' used in a cstype typemap was not always stripped out in parts
+ of director code generation.
+
+2019-11-01: wsfulton
+ [Python] #1595 Fix bug in support for keyword arguments (kwargs feature or -keyword)
+ when using -builtin. The fix is in the argument error checking when wrapping zero
+ argument constructors only.
+
Version 4.0.1 (21 Aug 2019)
===========================
diff --git a/CHANGES.current b/CHANGES.current
index ba71d5556..a82db8b04 100644
--- a/CHANGES.current
+++ b/CHANGES.current
@@ -4,147 +4,6 @@ See the RELEASENOTES file for a summary of changes in each release.
Issue # numbers mentioned below can be found on Github. For more details, add
the issue number to the end of the URL: https://github.com/swig/swig/issues/
-Version 4.0.2 (8 Jun 2020)
-==========================
+Version 4.1.0 (in progress)
+===========================
-2020-06-07 vigsterkr
- [Ruby] #1717 Nil fix mangling strings
-
-2020-06-07 vadz
- #1748 Fix doxygen comments quoting issue
-
-2020-06-07 munoah
- #1800 Escape spaces in file paths for dependencies (-M -MM etc)
-
-2020-06-06 andreas-schwab
- [Ruby] #1801 Fix encoding on big endian systems when wrapping std::wstring.
-
-2020-05-31 kwwette
- [Octave] #1789 error handling improvements and return error code on exit for SWIG wrapped modules.
-
-2020-05-30 msteinbeck
- [D] #1593 Replace broken imports when using newer versions of D.
-
-2020-05-29: ZackerySpytz
- [Python] #1716 Performance improvements converting strings when using Python >= 3.3.
-
-2020-05-28: ZackerySpytz
- #1776 Quite dramatically decrease run times when generating very large interface files by changing
- some internal memory pool sizes.
-
-2020-05-28: mcfarljm
- #1788 Fix handling of Doxygen \endlink command.
-
-2020-05-24: vapier
- [Javascript] #1796 Fix pkg-config invocation in configure.
-
-2020-04-30: kwwette
- [Octave] Fix exception raising for newer Octave versions
- Since (at least) Octave 5.1.0, the Octave error() function now raises a C++ exception,
- which if uncaught immediately exits a SWIG wrapper function, bypassing any cleanup code
- that may appear after a "fail:" label. This patch adds a "try { ... } catch(...) { }"
- block around the contents of SWIG wrapper functions to first execute the cleanup code
- before rethrowing any exception raised. It is backward compatible with earlier versions
- of Octave where error() does not raise an exception, which will still branch to the
- "fail:" block to execute cleanup code if an error is encountered.
-
- Note that the new "try { ... } catch(...) { }" block will localise any local variables
- used in typemaps that were NOT declared through SWIG's %typemap(...) syntax, so it's
- possible this could break existing SWIG wrappers which were implicitly sharing local
- variables between typemaps. This can be fixed, however, by declaring local variables
- which need to be shared between typemaps through SWIG's %typemap(...) syntax.
-
-2020-02-18: ryannevell
- [Lua] #1728 Add support for LUA lightuserdata to SWIG_Lua_ConvertPtr.
-
-2020-02-18: dmach
- [Ruby] #1725 Fix gcc -Wcatch-value warnings.
-
-2020-02-14: treitmayr
- #1724 Fix wrapping of abstract user-defined conversion operators.
-
-2020-02-13: ddurham2
- [Python] #1512 Fix memleak when using STL containers of shared_ptr objects.
-
-2020-02-06: wsfulton
- [Python] #1673 #1674 Fix setting 'this' when extending a proxy class with __slots__.
-
-2020-01-31: vadz
- [Ruby] #1651 Add std::auto_ptr<> typemaps.
-
-2020-01-31: ZackerySpytz
- [Python] #1700 More robust error checking for failures in calls to Python C API:
- PyBytes_AsStringAndSize() and PyString_AsStringAndSize().
-
-2020-01-31: vadz
- [Python] #1710 Fix crash parsing empty docstrings.
-
-2020-01-30: Alzathar
- [R] #910 #914 Fix R memory leak on exception.
-
-2020-01-30: richardbeare
- [R] #1511 Fix bug wrapping functions. These were previously incorrectly wrapped as if
- they were variables. This happened when 'get' or 'set' was in the name of the function
- or method, but sometimes also in some other circumstances. If you were using R
- attribute syntax to access these methods, you'll need to switch to calling them as R
- methods.
-
- *** POTENTIAL INCOMPATIBILITY ***
-
-2020-01-24: etse-dignitas, wsfulton
- [C#, D, Java] #1533 Fix upcasting for shared_ptr's of templated types.
-
-2020-01-16: mcfarljm
- #1643 #1654 When using -doxygen, fix segfault when nameless parameters or vararg parameters
- are used.
-
-2020-01-16: mcfarljm
- #1632 #1659 Fix newline handling for doxygen "///" comments.
-
-2020-01-14: mcfarljm
- #1647 #1656 Fix crash handling empty doxygen comments.
-
-2020-01-14: mcfarljm
- #1608 Improve doxygen support.
- - Add support for \param[] commands such as: \param[in].
- - Optional arguments are marked as 'optional' in pydoc.
- - Improve support for \code commands so that other languages are supported as code blocks.
- Support added for java, c and py. For example Python: \code{.py} ... \endcode
- - Fix doxygen handling of \em and \p tags for Python.
-
-2020-01-13: wsfulton
- [Python] #1595 Python -builtin constructors silently ignored keyword arguments.
- Instead of silenty ignoring them, now a "TypeError: f() takes no keyword arguments"
- exception is thrown if keyword arguments are used. Hence constructors and normal methods/
- functions behave in the same way. Note, -keyword should be used with -builtin to obtain
- keyword argument support.
-
-2020-01-05: jschueller shadchin
- [Python] #1670 #1696 Add missing field initializers introduced in python 3.8:
- tp_vectorcall and tp_print.
-
-2020-01-05: friedrichatgc
- [Octave] #1688 Change swig_this() to use size_t instead of long for compatibility
- with Windows 64 bit.
-
-2020-01-05: treitmayr
- [Ruby] #1692 #1689 Add support for Ruby 2.7
-
-2019-12-30: treitmayr
- [Ruby] #1653 #1668 Fix code generated when using -globalmodule option.
-
-2019-12-29: ZackerySpytz
- [OCaml] #1686 Fix compilation errors with OCaml 4.09.0.
-
-2019-12-10: wsfulton
- #1679 Fix parsing of C++11 identifiers with special meaning (final and override) when
- they are used as part of the scope name of an identifier, such as a namespace name.
-
-2019-11-26: wsfulton
- [C#] #1628 'out' or 'ref' used in a cstype typemap was not always stripped out in parts
- of director code generation.
-
-2019-11-01: wsfulton
- [Python] #1595 Fix bug in support for keyword arguments (kwargs feature or -keyword)
- when using -builtin. The fix is in the argument error checking when wrapping zero
- argument constructors only.
diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html
index c851b0847..f02754a7e 100644
--- a/Doc/Manual/Sections.html
+++ b/Doc/Manual/Sections.html
@@ -8,7 +8,7 @@
<H1><a name="Sections">SWIG-4.0 Documentation</a></H1>
<p>
-Last update : SWIG-4.0.2 (8 Jun 2020)
+Last update : SWIG-4.1.0 (in progress)
</p>
<H2><a name="Sections_Sections">Sections</a></H2>
diff --git a/README b/README
index 24a0de3e8..ba8ded0d5 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
SWIG (Simplified Wrapper and Interface Generator)
-Version: 4.0.2 (8 Jun 2020)
+Version: 4.1.0 (in progress)
Tagline: SWIG is a compiler that integrates C and C++ with languages
including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua,
diff --git a/configure.ac b/configure.ac
index 22e3672c3..23c59deea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 Tools/config directory in .m4 files.
-AC_INIT([swig],[4.0.2],[http://www.swig.org])
+AC_INIT([swig],[4.1.0],[http://www.swig.org])
AC_PREREQ(2.60)
AC_CONFIG_SRCDIR([Source/Swig/swig.h])