diff --git a/.appveyor.yml b/.appveyor.yml index 9f3ad1f5..478febe3 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -4,7 +4,7 @@ branches: except: - coverity_scan -version: 1.5.26+build.{build} +version: 1.5.27+build.{build} cache: - C:\cygwin-setup-cache diff --git a/.ci/travis_after_success.sh b/.ci/travis_after_success.sh index 4a456d86..f00c2ed7 100755 --- a/.ci/travis_after_success.sh +++ b/.ci/travis_after_success.sh @@ -19,4 +19,4 @@ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]] || [[ "$TRAVIS_BRANCH" != "master" ]] exit 0 fi -curl -X POST -H "Authorization: Bearer $BBTOKEN" https://api.bitbucket.org/2.0/repositories/tbeu/downloads/downloads -F files=@./documentation/matio_user_guide.html -F files=@./documentation/matio_user_guide.pdf -F files=@./matio-1.5.26.tar.gz +curl -X POST -H "Authorization: Bearer $BBTOKEN" https://api.bitbucket.org/2.0/repositories/tbeu/downloads/downloads -F files=@./documentation/matio_user_guide.html -F files=@./documentation/matio_user_guide.pdf -F files=@./matio-1.5.27.tar.gz diff --git a/CMakeLists.txt b/CMakeLists.txt index a99f4047..a1e52f95 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ if(POLICY CMP0074) endif() project(matio - VERSION 1.5.26 + VERSION 1.5.27 LANGUAGES C CXX ) diff --git a/NEWS b/NEWS index 12a9e04e..fe856bdb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,17 @@ +Changes in 1.5.27 (20 April 2024) +* Fixed const-correctness of input arguments of API functions +* Fixed const-correctness of return type of Mat_GetDir +* Fixed bug duplicating function class (with deep copy) in Mat_VarDuplicate +* Fixed little endian detection for __aarch64__ +* Fixed LFS support on MinGW 64-bit builds +* Fixed support of Unicode filenames on Windows +* Fixed detection of HDF5 version for UTF-8 based file name of HDF5 MAT file +* Fixed stack-based buffer overflow when reading (crafted) HDF5 MAT file +* Fixed build on Solaris +* Fixed build with Rust bindings and LLVM >= 16 +* CMake: Fixed MinGW linker error with libc (regression of v1.5.24) +* CMake: Enabled static analysis with Cppcheck + Changes in 1.5.26 (12 November 2023) * Fixed testsuite (regression of v1.5.25) diff --git a/configure.ac b/configure.ac index b2fb1b38..08c9d8bd 100644 --- a/configure.ac +++ b/configure.ac @@ -27,7 +27,7 @@ dnl CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY dnl OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE dnl OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -AC_INIT([MATIO],[1.5.26],[t-beu@users.sourceforge.net],[],[https://sourceforge.net/projects/matio]) +AC_INIT([MATIO],[1.5.27],[t-beu@users.sourceforge.net],[],[https://sourceforge.net/projects/matio]) AC_CONFIG_SRCDIR([src/matio.h]) AC_CONFIG_AUX_DIR([config]) AC_CONFIG_MACRO_DIR([config]) @@ -39,10 +39,10 @@ AC_CANONICAL_HOST AC_DEFINE_UNQUOTED([MATIO_PLATFORM],"${host}",[Platform]) AC_DEFINE_UNQUOTED([MATIO_MAJOR_VERSION],1,[Matio major version number]) AC_DEFINE_UNQUOTED([MATIO_MINOR_VERSION],5,[Matio minor version number]) -AC_DEFINE_UNQUOTED([MATIO_RELEASE_LEVEL],26,[Matio release level number]) -AC_DEFINE_UNQUOTED([MATIO_VERSION],1526,[Matio version number]) -PACKAGE_RELEASE_DATE="12 November 2023" -AC_DEFINE_UNQUOTED([MATIO_VERSION_STR],"1.5.26",[Matio version number]) +AC_DEFINE_UNQUOTED([MATIO_RELEASE_LEVEL],27,[Matio release level number]) +AC_DEFINE_UNQUOTED([MATIO_VERSION],1527,[Matio version number]) +PACKAGE_RELEASE_DATE="20 April 2024" +AC_DEFINE_UNQUOTED([MATIO_VERSION_STR],"1.5.27",[Matio version number]) AC_SUBST(PACKAGE_RELEASE_DATE) AC_ARG_VAR([FCLDFLAGS],[Fortran compiler-specific flags at link time]) diff --git a/documentation/matio_user_guide.texi b/documentation/matio_user_guide.texi index 672e6821..4b292064 100644 --- a/documentation/matio_user_guide.texi +++ b/documentation/matio_user_guide.texi @@ -37,14 +37,14 @@ @sp 0 @title @subtitle User Manual -@subtitle for version 1.5.26 -@subtitle November 2023 +@subtitle for version 1.5.27 +@subtitle April 2024 @author Christopher C. Hulbert @page @vskip 0pt plus 1filll @smallexample @group - Copyright (c) @var{2015-2023}, @var{The matio contributors}. + Copyright (c) @var{2015-2024}, @var{The matio contributors}. Copyright (c) @var{2011-2014}, @var{Christopher C. Hulbert}. All rights reserved. diff --git a/visual_studio/matio.rc b/visual_studio/matio.rc index e6e59af1..d0e9579d 100644 --- a/visual_studio/matio.rc +++ b/visual_studio/matio.rc @@ -1,8 +1,8 @@ #include VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,5,26,0 - PRODUCTVERSION 1,5,26,0 + FILEVERSION 1,5,27,0 + PRODUCTVERSION 1,5,27,0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #ifdef _DEBUG FILEFLAGS 1 @@ -19,12 +19,12 @@ BEGIN //language ID = U.S. English, char set = Windows, Multilingual BEGIN VALUE "FileDescription", "MATLAB MAT file I/O library\0" - VALUE "FileVersion", "1.5.26\0" + VALUE "FileVersion", "1.5.27\0" VALUE "InternalName", "libmatio.dll\0" VALUE "LegalCopyright", "(C) 2005-2024, Christopher C. Hulbert and the matio contributors\0" VALUE "OriginalFilename", "libmatio.dll\0" VALUE "ProductName", "libmatio\0" - VALUE "ProductVersion", "1.5.26\0" + VALUE "ProductVersion", "1.5.27\0" VALUE "Comments", "\0" END END diff --git a/visual_studio/matioConfig.h b/visual_studio/matioConfig.h index 1a5a846c..1a55a2c0 100644 --- a/visual_studio/matioConfig.h +++ b/visual_studio/matioConfig.h @@ -271,7 +271,7 @@ #define PACKAGE_NAME "MATIO" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "MATIO 1.5.26" +#define PACKAGE_STRING "MATIO 1.5.27" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "matio" @@ -280,7 +280,7 @@ #define PACKAGE_URL "https://sourceforge.net/projects/matio" /* Define to the version of this package. */ -#define PACKAGE_VERSION "1.5.26" +#define PACKAGE_VERSION "1.5.27" /* The size of `char', as computed by sizeof. */ #define SIZEOF_CHAR 1 @@ -319,7 +319,7 @@ #undef STDC_HEADERS /* Version number of package */ -#define VERSION "1.5.26" +#define VERSION "1.5.27" /* Z prefix */ #undef Z_PREFIX diff --git a/visual_studio/matio_pubconf.h b/visual_studio/matio_pubconf.h index 746b07c3..8d45d6ee 100644 --- a/visual_studio/matio_pubconf.h +++ b/visual_studio/matio_pubconf.h @@ -35,13 +35,13 @@ #define MATIO_MINOR_VERSION 5 /* Matio release level number */ -#define MATIO_RELEASE_LEVEL 26 +#define MATIO_RELEASE_LEVEL 27 /* Matio version number */ -#define MATIO_VERSION 1526 +#define MATIO_VERSION 1527 /* Matio version string */ -#define MATIO_VERSION_STR "1.5.26" +#define MATIO_VERSION_STR "1.5.27" /* Default file format */ #define MAT_FT_DEFAULT MAT_FT_MAT5