diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2017-01-28 00:23:59 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2017-01-28 00:23:59 +0000 |
commit | 2ab08e493f166e2c83e0e6faaeedfa1a222a6b79 (patch) | |
tree | b2c8d1ab405aadcc21667f3890cec8958cdd0509 | |
parent | fbeb566014a1d320df972aef965daf042db7db36 (diff) | |
download | swig-2ab08e493f166e2c83e0e6faaeedfa1a222a6b79.tar.gz |
Bump version to 3.0.13
[skip ci]
-rw-r--r-- | ANNOUNCE | 8 | ||||
-rw-r--r-- | CHANGES | 128 | ||||
-rw-r--r-- | CHANGES.current | 126 | ||||
-rw-r--r-- | Doc/Manual/Sections.html | 2 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
6 files changed, 136 insertions, 132 deletions
@@ -1,8 +1,8 @@ -*** ANNOUNCE: SWIG 3.0.12 (27 Jan 2017) *** +*** ANNOUNCE: SWIG 3.0.13 (in progress) *** http://www.swig.org -We're pleased to announce SWIG-3.0.12, the latest SWIG release. +We're pleased to announce SWIG-3.0.13, the latest SWIG release. What is SWIG? ============= @@ -27,11 +27,11 @@ Availability ============ The release is available for download on Sourceforge at - http://prdownloads.sourceforge.net/swig/swig-3.0.12.tar.gz + http://prdownloads.sourceforge.net/swig/swig-3.0.13.tar.gz A Windows version is also available at - http://prdownloads.sourceforge.net/swig/swigwin-3.0.12.zip + http://prdownloads.sourceforge.net/swig/swigwin-3.0.13.zip Please report problems with this release to the swig-devel mailing list, details at http://www.swig.org/mail.html. @@ -5,6 +5,134 @@ 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 3.0.13 (27 Jan 2017) +============================ + +2017-01-27: wsfulton + [C#] #882 Fix missing filename in error messages when there is a problem + writing out C# files. + +2017-01-27: briancaine + [Guile] #744 Fix compilation errors in Guile wrappers - regression + introduced in swig-3.0.11. + +2017-01-24: andrey-starodubtsev + [Java] Apply #704 - director typemap improvements. + Memory leak fixes, add support for "directorargout" typemap and + add director support to typemaps.i. + +2017-01-24: wsfulton + Enhance %extend to extend a class with template constructors, eg: + + struct Foo { + %extend { + template<typename T> + Foo(int a, T b) { + ... + } + } + }; + %template(Foo) Foo::Foo<double>; + +2017-01-22: wsfulton + Issue #876 Enhance %extend to extend a class with template methods, eg: + + struct Foo { + %extend { + template<typename T> + void do_stuff(int a, T b) { + ... + } + } + }; + %template(do_stuff_inst) Foo::do_stuff<double>; + + Similarly for static template methods. + +2017-01-22: kwwette + [Octave] add support for version 4.2 + - The Octave API now uses some C++11 features. It is recommended to use + the mkoctfile program supplied by Octave to compile the SWIG-generated + wrapper code, as mkoctfile will ensure the correct C++ compiler/options + are used. Otherwise, the value of `mkoctfile -p CXX` should be parsed + for any -std=* flags which might be present. + - Octave has dropped support for << and >> operators, so SWIG now + ignores them. + - The Octave error() function now raises C++ exceptions to propagate + Octave errors, so %exception directives may need to be modified. + For convenience the SWIG_RETHROW_OCTAVE_EXCEPTIONS macro can be used + to rethrow any Octave exceptions for Octave itself to handle, e.g.: + + try { + $action // may call error() + } + SWIG_RETHROW_OCTAVE_EXCEPTIONS // error() exceptions are rethrown + catch(...) { + ... // all other exceptions + } + + *** POTENTIAL INCOMPATIBILITY *** + +2017-01-16: wkalinin + [C#] Fix #733 regression introduced in swig-3.0.9. + Missing virtual function override in C# layer when using %import. + +2017-01-16: fschlimb + Fix #813 template symbol name lookup bug when typedef names are the same but in different + namespaces. + +2017-01-15: wsfulton + [C# D Java] + The SWIG library no longer uses the javatype, dtype or cstype typemaps, thereby + completely freeing them up for users to use without having to replicate the library + code that they previously added. The code previously generated by these typemaps + has been replaced by the new %proxycode directive. Their use in the library code + was fairly minimal: + + C# cstype: std_array.i std_map.i std_vector.i + D dtype: std_vector.i + Java javatype: arrays_java.i + +2017-01-14: wsfulton + The %extend directive can now optionally support one of the 'class', 'struct' or 'union' + keywords before the identifier name, for example: + + struct X { ... }; + %extend struct X { ... } + + Previously this had to specified as: + + struct X { ... }; + %extend X { ... } + +2017-01-13: wsfulton + [C# D Java] Add new %proxycode directive which is a macro for %insert("proxycode"). + This is a way of adding pure C#/D/Java code into the appropriate proxy class, eg: + + %extend Proxy2 { + %proxycode %{ + public int proxycode2(int i) { + return i+2; + } + %} + } + + %inline %{ + struct Proxy2 {}; + %} + + There will then be a pure Java/C#/D method called proxycode2 in the Proxy2 class. + +2016-12-31: ajrheading1 + Issue #860 - Remove use of std::unary_function and std::binary_function + which is deprecated in C++11. + +2016-12-30: olly + [PHP7] Register internal 'swig_runtime_data_type_pointer' constant + as "CONST_PERSISTENT" to avoid segmentation fault on module unload. + Fixes #859 reported by Timotheus Pokorra. Thanks also to Javier Torres + for a minimal reproducer. + Version 3.0.11 (29 Dec 2016) ============================ diff --git a/CHANGES.current b/CHANGES.current index 197ec7731..16cbf043f 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -4,130 +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 3.0.12 (27 Jan 2017) +Version 3.0.13 (in progress) ============================ -2017-01-27: wsfulton - [C#] #882 Fix missing filename in error messages when there is a problem - writing out C# files. - -2017-01-27: briancaine - [Guile] #744 Fix compilation errors in Guile wrappers - regression - introduced in swig-3.0.11. - -2017-01-24: andrey-starodubtsev - [Java] Apply #704 - director typemap improvements. - Memory leak fixes, add support for "directorargout" typemap and - add director support to typemaps.i. - -2017-01-24: wsfulton - Enhance %extend to extend a class with template constructors, eg: - - struct Foo { - %extend { - template<typename T> - Foo(int a, T b) { - ... - } - } - }; - %template(Foo) Foo::Foo<double>; - -2017-01-22: wsfulton - Issue #876 Enhance %extend to extend a class with template methods, eg: - - struct Foo { - %extend { - template<typename T> - void do_stuff(int a, T b) { - ... - } - } - }; - %template(do_stuff_inst) Foo::do_stuff<double>; - - Similarly for static template methods. - -2017-01-22: kwwette - [Octave] add support for version 4.2 - - The Octave API now uses some C++11 features. It is recommended to use - the mkoctfile program supplied by Octave to compile the SWIG-generated - wrapper code, as mkoctfile will ensure the correct C++ compiler/options - are used. Otherwise, the value of `mkoctfile -p CXX` should be parsed - for any -std=* flags which might be present. - - Octave has dropped support for << and >> operators, so SWIG now - ignores them. - - The Octave error() function now raises C++ exceptions to propagate - Octave errors, so %exception directives may need to be modified. - For convenience the SWIG_RETHROW_OCTAVE_EXCEPTIONS macro can be used - to rethrow any Octave exceptions for Octave itself to handle, e.g.: - - try { - $action // may call error() - } - SWIG_RETHROW_OCTAVE_EXCEPTIONS // error() exceptions are rethrown - catch(...) { - ... // all other exceptions - } - - *** POTENTIAL INCOMPATIBILITY *** - -2017-01-16: wkalinin - [C#] Fix #733 regression introduced in swig-3.0.9. - Missing virtual function override in C# layer when using %import. - -2017-01-16: fschlimb - Fix #813 template symbol name lookup bug when typedef names are the same but in different - namespaces. - -2017-01-15: wsfulton - [C# D Java] - The SWIG library no longer uses the javatype, dtype or cstype typemaps, thereby - completely freeing them up for users to use without having to replicate the library - code that they previously added. The code previously generated by these typemaps - has been replaced by the new %proxycode directive. Their use in the library code - was fairly minimal: - - C# cstype: std_array.i std_map.i std_vector.i - D dtype: std_vector.i - Java javatype: arrays_java.i - -2017-01-14: wsfulton - The %extend directive can now optionally support one of the 'class', 'struct' or 'union' - keywords before the identifier name, for example: - - struct X { ... }; - %extend struct X { ... } - - Previously this had to specified as: - - struct X { ... }; - %extend X { ... } - -2017-01-13: wsfulton - [C# D Java] Add new %proxycode directive which is a macro for %insert("proxycode"). - This is a way of adding pure C#/D/Java code into the appropriate proxy class, eg: - - %extend Proxy2 { - %proxycode %{ - public int proxycode2(int i) { - return i+2; - } - %} - } - - %inline %{ - struct Proxy2 {}; - %} - - There will then be a pure Java/C#/D method called proxycode2 in the Proxy2 class. - -2016-12-31: ajrheading1 - Issue #860 - Remove use of std::unary_function and std::binary_function - which is deprecated in C++11. - -2016-12-30: olly - [PHP7] Register internal 'swig_runtime_data_type_pointer' constant - as "CONST_PERSISTENT" to avoid segmentation fault on module unload. - Fixes #859 reported by Timotheus Pokorra. Thanks also to Javier Torres - for a minimal reproducer. diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html index 368f306b5..bdf590ac9 100644 --- a/Doc/Manual/Sections.html +++ b/Doc/Manual/Sections.html @@ -8,7 +8,7 @@ <H1><a name="Sections">SWIG-3.0 Documentation</a></H1> <p> -Last update : SWIG-3.0.12 (27 Jan 2017) +Last update : SWIG-3.0.13 (in progress) </p> <H2><a name="Sections_Sections">Sections</a></H2> @@ -1,6 +1,6 @@ SWIG (Simplified Wrapper and Interface Generator) -Version: 3.0.12 (27 Jan 2017) +Version: 3.0.13 (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 4e8abde5f..3b836efe7 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],[3.0.12],[http://www.swig.org]) +AC_INIT([swig],[3.0.13],[http://www.swig.org]) dnl NB: When this requirement is increased to 2.60 or later, AC_PROG_SED dnl definition below can be removed |