From afbb1dfc61a83b9e87666d4504ee063dcd90f2be Mon Sep 17 00:00:00 2001 From: Stian Skjelstad Date: Sun, 29 Dec 2024 21:39:02 +0100 Subject: [PATCH] Prepare v3.0.1 --- Changelog | 69 ++++++++++++++++++++++++++++++++-------------------- configure | 24 +++++++++--------- configure.ac | 2 +- ocp.spec | 42 +++++++++++--------------------- 4 files changed, 70 insertions(+), 67 deletions(-) diff --git a/Changelog b/Changelog index 9abe0179..7697e33d 100644 --- a/Changelog +++ b/Changelog @@ -1,33 +1,50 @@ +Version 3.0.1 +============= +Bugfix release, with the exception of adplug adding support for "Palladix" files. + + * Not all systems provide memrchr, example are some MacOS/OSX variants. + * [adplug] Update to latest master + * This adds support for "Palladix" files. + * HERAD files were not working as expected. + * [sidplay] Update libsidplayfp to latest git version. + * [modland.com] If waitpid() returns a fatal error, give up waiting. + * [HVL] multiple updates: + * files with size below 4096 were not able to be detected on modland.com virtual drive. + * instrument-viewer must fetch the instruments from index 1, not 0. + * track-viewer must fetch global commands from the actual number of channels in use. + * reset the channel-information-cache on file-load, else we might try to dereference pointers from the previous song played. + * [MDL] In loader, the calculation of two buffer-sizes were missing parentheses, causing incorrect calculation. + Version 3.0.0 ============= First major release. We skip version series 1.x.y and 2.x.y to avoid reusing version numbers from the original DOS version. -* Update external libraries for mingw build to latest versions. -* Add more magic numbers for up and comming version of ancient (decompression library for solid files). -* SetMode() did not have paremeters defined in the prototype, not all users had parameters defined. Caused crashes one some combination of mode changes. -* Update to latest version of libsidplayfp -* Update to latest version of adplug -* Add modland.com support directly from the file browser using a local copy of the file-list provided by modland.com. -* Speed up filebrowser if an earlier scanned .tar.gz now has unscanned modules. The archive is not persistent open due to caching. -* XM files would smash the stack on big-endian due to to loops had counter-limits in reverse order in endian-reversal code. -* MacOS/CoreAudio: Add missing mutex locking in two API functions. -* SDL/SDL2 audio: Add missing mutex locking in two API functions. -* SDL2 audio: Use SDL_LockAudioDevice, SDL_UnlockAudioDevice and SDL_CloseAudioDevice SDL 2.x functions instead of legacy 1.x functions. -* Do not attempt to divide by zero, if a song is reported as zero long. -* Logic for buffersize in playtimidity (MIDI files) was not working as expected, especially on Windows. -* If a file was unable to be accessed, pressing ENTER on it would cause a NULL-pointer dereference (Problem introduced in v0.2.102, adding support for ancient) -* Attempting to load a defective S3M file could trigger two different issues. Do not cal mcpSet(), since we have not initialized the mcp device yet, and the que variable was no reset on to NULL after free causing a double free in this special use case. -* When adding a directory-tree to the playlist, group the files by their owning directory, and sort each group of files alphabetically (strcasecmp). -* Detect Sidplayer files as playable. -* modland.com stores "Atari Digi-Mix" as *.mix instead of *.ym, so add that file-extension. -* Add FEST as a valid 4-channel signature -* Add "Atari STe/Falcon, Octalyser" CD61 and CD81 signatures -* Add "M&K!" as a valid MOD signature. These files are likely "His Master's Noise" -* Add support for Atari Falcon, Digital Tracker (MOD) files. -* Avoid double free(), could occure if trying to load an invalid MOD file -* Adjust MIME database, multiple of the magic searches were too aggressive. -* detecting .BAM files with .[0-9][0-9][0-9] filenames -* Remove adplugdb->wipe() call, it is not for freeing memory + * Update external libraries for mingw build to latest versions. + * Add more magic numbers for up and comming version of ancient (decompression library for solid files). + * SetMode() did not have paremeters defined in the prototype, not all users had parameters defined. Caused crashes one some combination of mode changes. + * Update to latest version of libsidplayfp + * Update to latest version of adplug + * Add modland.com support directly from the file browser using a local copy of the file-list provided by modland.com. + * Speed up filebrowser if an earlier scanned .tar.gz now has unscanned modules. The archive is not persistent open due to caching. + * XM files would smash the stack on big-endian due to to loops had counter-limits in reverse order in endian-reversal code. + * MacOS/CoreAudio: Add missing mutex locking in two API functions. + * SDL/SDL2 audio: Add missing mutex locking in two API functions. + * SDL2 audio: Use SDL_LockAudioDevice, SDL_UnlockAudioDevice and SDL_CloseAudioDevice SDL 2.x functions instead of legacy 1.x functions. + * Do not attempt to divide by zero, if a song is reported as zero long. + * Logic for buffersize in playtimidity (MIDI files) was not working as expected, especially on Windows. + * If a file was unable to be accessed, pressing ENTER on it would cause a NULL-pointer dereference (Problem introduced in v0.2.102, adding support for ancient) + * Attempting to load a defective S3M file could trigger two different issues. Do not cal mcpSet(), since we have not initialized the mcp device yet, and the que variable was no reset on to NULL after free causing a double free in this special use case. + * When adding a directory-tree to the playlist, group the files by their owning directory, and sort each group of files alphabetically (strcasecmp). + * Detect Sidplayer files as playable. + * modland.com stores "Atari Digi-Mix" as *.mix instead of *.ym, so add that file-extension. + * Add FEST as a valid 4-channel signature + * Add "Atari STe/Falcon, Octalyser" CD61 and CD81 signatures + * Add "M&K!" as a valid MOD signature. These files are likely "His Master's Noise" + * Add support for Atari Falcon, Digital Tracker (MOD) files. + * Avoid double free(), could occure if trying to load an invalid MOD file + * Adjust MIME database, multiple of the magic searches were too aggressive. + * detecting .BAM files with .[0-9][0-9][0-9] filenames + * Remove adplugdb->wipe() call, it is not for freeing memory Version 0.2.109 =============== diff --git a/configure b/configure index ba09cfc4..26d90542 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for ocp 3.0.0. +# Generated by GNU Autoconf 2.71 for ocp 3.0.1. # # Report bugs to . # @@ -611,8 +611,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ocp' PACKAGE_TARNAME='ocp' -PACKAGE_VERSION='3.0.0' -PACKAGE_STRING='ocp 3.0.0' +PACKAGE_VERSION='3.0.1' +PACKAGE_STRING='ocp 3.0.1' PACKAGE_BUGREPORT='stian.skjelstad@gmail.com' PACKAGE_URL='' @@ -1496,7 +1496,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ocp 3.0.0 to adapt to many kinds of systems. +\`configure' configures ocp 3.0.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1562,7 +1562,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ocp 3.0.0:";; + short | recursive ) echo "Configuration of ocp 3.0.1:";; esac cat <<\_ACEOF @@ -1797,7 +1797,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ocp configure 3.0.0 +ocp configure 3.0.1 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2683,7 +2683,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ocp $as_me 3.0.0, which was +It was created by ocp $as_me 3.0.1, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3656,20 +3656,20 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu cat >>confdefs.h <<_ACEOF -#define DLLVERSION `printf 0x%04x%02x%02x 3 0 0` +#define DLLVERSION `printf 0x%04x%02x%02x 3 0 1` _ACEOF MAJOR_VERSION=3 MINOR_VERSION=0 -PATCH_VERSION=0 +PATCH_VERSION=1 printf "%s\n" "#define OCP_MAJOR_VERSION 3" >>confdefs.h printf "%s\n" "#define OCP_MINOR_VERSION 0" >>confdefs.h -printf "%s\n" "#define OCP_PATCH_VERSION 0" >>confdefs.h +printf "%s\n" "#define OCP_PATCH_VERSION 1" >>confdefs.h @@ -19420,7 +19420,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ocp $as_me 3.0.0, which was +This file was extended by ocp $as_me 3.0.1, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19484,7 +19484,7 @@ ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -ocp config.status 3.0.0 +ocp config.status 3.0.1 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 0dc8cd56..dd19c17f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ m4_define([MAJOR_VERSION], [3]) m4_define([MINOR_VERSION], [0]) -m4_define([PATCH_VERSION], [0]) +m4_define([PATCH_VERSION], [1]) AC_INIT([ocp],[MAJOR_VERSION.MINOR_VERSION.PATCH_VERSION],[stian.skjelstad@gmail.com]) AC_DEFINE_UNQUOTED(DLLVERSION, `printf 0x%04x%02x%02x MAJOR_VERSION MINOR_VERSION PATCH_VERSION`) AC_SUBST([MAJOR_VERSION], [MAJOR_VERSION]) diff --git a/ocp.spec b/ocp.spec index 4f3f699c..2353f1c4 100644 --- a/ocp.spec +++ b/ocp.spec @@ -1,7 +1,7 @@ # rpm spec file for RedHat / Fedora linux %define name ocp -%define version 3.0.0 +%define version 3.0.1 Name: %{name} Version: %{version} @@ -33,34 +33,20 @@ frontend, with some few optional features in graphical. Plays modules, sids, wave and mp3 %changelog - Changes from version 0.2.109 to 3.0.0: +Changes from version 3.0.0 to 3.0.1: - * Update external libraries for mingw build to latest versions. - * Add more magic numbers for up and comming version of ancient (decompression library for solid files). - * SetMode() did not have paremeters defined in the prototype, not all users had parameters defined. Caused crashes one some combination of mode changes. - * Update to latest version of libsidplayfp - * Update to latest version of adplug - * Add modland.com support directly from the file browser using a local copy of the file-list provided by modland.com. - * Speed up filebrowser if an earlier scanned .tar.gz now has unscanned modules. The archive is not persistent open due to caching. - * XM files would smash the stack on big-endian due to to loops had counter-limits in reverse order in endian-reversal code. - * MacOS/CoreAudio: Add missing mutex locking in two API functions. - * SDL/SDL2 audio: Add missing mutex locking in two API functions. - * SDL2 audio: Use SDL_LockAudioDevice, SDL_UnlockAudioDevice and SDL_CloseAudioDevice SDL 2.x functions instead of legacy 1.x functions. - * Do not attempt to divide by zero, if a song is reported as zero long. - * Logic for buffersize in playtimidity (MIDI files) was not working as expected, especially on Windows. - * If a file was unable to be accessed, pressing ENTER on it would cause a NULL-pointer dereference (Problem introduced in v0.2.102, adding support for ancient) - * Attempting to load a defective S3M file could trigger two different issues. Do not cal mcpSet(), since we have not initialized the mcp device yet, and the que variable was no reset on to NULL after free causing a double free in this special use case. - * When adding a directory-tree to the playlist, group the files by their owning directory, and sort each group of files alphabetically (strcasecmp). - * Detect Sidplayer files as playable. - * modland.com stores "Atari Digi-Mix" as *.mix instead of *.ym, so add that file-extension. - * Add FEST as a valid 4-channel signature - * Add "Atari STe/Falcon, Octalyser" CD61 and CD81 signatures - * Add "M&K!" as a valid MOD signature. These files are likely "His Master's Noise" - * Add support for Atari Falcon, Digital Tracker (MOD) files. - * Avoid double free(), could occure if trying to load an invalid MOD file - * Adjust MIME database, multiple of the magic searches were too aggressive. - * detecting .BAM files with .[0-9][0-9][0-9] filenames - * Remove adplugdb->wipe() call, it is not for freeing memory + * Not all systems provide memrchr, example are some MacOS/OSX variants. + * [adplug] Update to latest master + * This adds support for "Palladix" files. + * HERAD files were not working as expected. + * [sidplay] Update libsidplayfp to latest git version. + * [modland.com] If waitpid() returns a fatal error, give up waiting. + * [HVL] multiple updates: + * files with size below 4096 were not able to be detected on modland.com virtual drive. + * instrument-viewer must fetch the instruments from index 1, not 0. + * track-viewer must fetch global commands from the actual number of channels in use. + * reset the channel-information-cache on file-load, else we might try to dereference pointers from the previous song played. + * [MDL] In loader, the calculation of two buffer-sizes were missing parentheses, causing incorrect calculation. %prep %setup -q -n %{name}-%{version}