"Fossies" - the Fresh Open Source Software Archive

Member "swig-4.1.1/CHANGES.current" (30 Nov 2022, 3487 Bytes) of package /linux/misc/swig-4.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CHANGES.current": 4.1.0_vs_4.1.1.

    1 Below are the changes for the current release.
    2 See the CHANGES file for changes in older releases.
    3 See the RELEASENOTES file for a summary of changes in each release.
    4 Issue # numbers mentioned below can be found on Github. For more details, add
    5 the issue number to the end of the URL: https://github.com/swig/swig/issues/
    6 
    7 Version 4.1.1 (30 Nov 2022)
    8 ===========================
    9 
   10 2022-11-29: bero
   11             Fix mismatch between #pragma GCC diagnostic push and pop statements
   12 
   13 2022-11-26: wsfulton
   14             #2449 Fix undefined behaviour in ccache-swig calculating md4 hashes and possibly
   15             also handling errors when CCACHE_CPP2 is set.
   16 
   17 2022-11-25: wsfulton
   18             #961 Fix syntax error parsing unnamed template parameters with a default value.
   19 
   20 2022-11-25: olly
   21 	    #2447 Fix undefined behaviour in swig's parser when handling
   22 	    default parameter expressions containing method calls.
   23 
   24 2022-11-13: olly
   25 	    [PHP] #2419 Update the documentation to reflect that SWIG 4.1.0
   26 	    dropped support for -noproxy when generating PHP wrappers.
   27 
   28 2022-11-05: wsfulton
   29             #2417 Fix -swiglib for Windows when building with CMake.
   30 
   31 2022-11-02: wsfulton
   32             #2418 Fix infinite loop handling non-type template parameters.
   33 
   34             Fixes infinite loop due to () brackets in a non-type template
   35             parameter containing an expression.
   36 
   37 2022-10-28: wsfulton
   38             [R] R rtypecheck typemaps
   39 
   40             Further switch to use rtypecheck typemaps instead of hard coded logic.
   41             The full switch to typemaps is deferred until swig-4.2 as it can't be fully
   42             backwards compatible. For now a warning is provided to help the
   43             transition. It provides the full typemap that should be placed into
   44             a user's interface file, for example:
   45 
   46             %typemap("rtype") int32_t * "integer"
   47             void testmethod(int32_t * i);
   48             void testmethod();
   49 
   50             If there is no rtypecheck typemap for int32_t *, the warning shown is:
   51 
   52               example.i:7: Warning 750: Optional rtypecheck code is deprecated. Add the
   53               following typemap to fix as the next version of SWIG will not work without it:
   54               %typemap("rtypecheck") int32_t * %{ (is.integer($arg) || is.numeric($arg)) %}
   55 
   56             The warning is shown for any code that previously used "numeric", "integer" or
   57             "character" for the rtype typemap. Copying the rtypecheck typemap as
   58             shown into the user interface file will provide the appropriate fix and
   59             the warning will disappear. This is important to do as swig-4.2 will
   60             not be able to provide this helpful warning.
   61 
   62 2022-10-27: wsfulton
   63             [R] Allow NULL to be used in overloaded functions taking shared_ptr.
   64             Also fixes special variable $argtype expansion in rtypecheck typemaps.
   65 
   66 2022-10-26: wsfulton
   67             [R] Improve R wrapper error message when calling overloaded methods
   68             when incorrect types passed are passed to the overloaded methods.
   69 
   70             Old unhelpful error message:
   71               Error in f(...) : could not find function "f"
   72 
   73             Example of new improved error message:
   74               Error in use_count(k) :
   75                 cannot find overloaded function for use_count with argtypes (NULL)
   76 
   77 2022-10-26: wsfulton
   78             [R] #2386 Fix memory leak in R shared_ptr wrappers.
   79             Fix leak when a cast up a class inheritance chain is required.