From eb9c409185835a8f8684cbbb48e47fa8a59ec148 Mon Sep 17 00:00:00 2001 From: marco-calautti Date: Thu, 28 Dec 2023 11:10:01 +0100 Subject: [PATCH 1/2] updated info on new version --- CHANGELOG.txt | 35 ++++++++--------------- README.md | 5 ++-- app/include/DPApp.h | 2 +- app/include/common/common.h | 8 +++--- app/include/gui/DeltaPatcherAboutDialog.h | 2 +- app/include/gui/DeltaPatcherDecodePanel.h | 2 +- app/include/gui/DeltaPatcherDropHandler.h | 2 +- app/include/gui/DeltaPatcherDropTarget.h | 2 +- app/include/gui/DeltaPatcherEncodePanel.h | 2 +- app/include/gui/DeltaPatcherMainDialog.h | 2 +- app/include/gui/Logger.h | 2 +- app/include/patcher/XDeltaPatch.h | 2 +- app/mac_stuff/Info.plist | 6 ++-- app/win_stuff/resource.rc | 10 +++---- 14 files changed, 35 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8fd3d5e..d54a40c 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,8 +1,7 @@ ---------------------------------------------- - Delta Patcher 3.0.2 ---------------------------------------------- - (C) 2010+ Phoenix - +----------------------------------------------- + Delta Patcher +----------------------------------------------- + ------------------------- 1. What is this? @@ -14,15 +13,15 @@ Delta Patcher is a GUI software that is able to create and apply xdelta patches. 2. Changelog ------------------------- -3.0.2: +v3.1: - Added support for dark mode on Windows 10 or higher. On older versions of Windows, this feature is just disabled. - Delta Patcher no longer supports Windows XP, and now requires Windows 7 or higher to run. - The Windows binary is now 64 bits only. -3.0.1: +v3.0.1: - Fixed memory leak when applying patches without a description -3.0.0: +v3.0.0: - Modernized the build system using cmake. - xdelta has now finally been embedded as a library rather than an exe that needs to be extracted on the fly. This should finally avoid false positives from some antiviruses. In this process, xdelta has then also been updated to the latest stable version (3.0.11) which now supports secondary compressions. @@ -32,10 +31,10 @@ Delta Patcher is a GUI software that is able to create and apply xdelta patches. - The Windows exe is still fully self-contained and compatible with Windows XP or above. - To avoid further false positive from anti virus software, the windows exe is not compressed anymore, so it is a bit larger than version 2. -2.0.1: +v2.0.1: -Added drag and drop functionality in patch creation mode. -2.0: +v2.0: -No xdelta.exe is needed. Starting from version 2.0, it has been embedded in the delta patcher executable; -More intuitive GUI design; @@ -48,7 +47,7 @@ Delta Patcher is a GUI software that is able to create and apply xdelta patches. source window size checksum *custom UTF8 description for patches* -> patches created with delta patcher will show this - description if opened with delta patcher (a là PPF-O-MATIC3); + description if opened with delta patcher (a l� PPF-O-MATIC3); -Associate xdelta patch files to be opened with delta patcher; @@ -64,16 +63,6 @@ Delta Patcher is a GUI software that is able to create and apply xdelta patches. to place the "resource" directory along with this tool (see source code for the pot file). +v1.0: +- Initial release ------------------------ -3. Contacts and sources ------------------------ - -You can contact me by email at -phoenix_87_c@hotmail.com, at the SadNES cITy -board at http://lnx.sadnescity.it/forum/ or on github. -The full source code can be found at -github.com/marco-calautti/DeltaPatcher. - - -Phoenix diff --git a/README.md b/README.md index 1f735ba..4b1cf80 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Delta Patcher is a GUI software that is able to create and apply xdelta patches as the ones supported by the xdelta tool developed by Joshua McDonald. - Delta patcher is fully self-contained and does not depend on the xdelta3 tool at all. This sets Delta Patcher apart from all other tools out there that are just frontends to the xdelta3 binary. Moreover, such frontends do not support some options of the encoder/decoder at all, like main and secondary compression level for encoding and checksum checking for decoding/encoding. Also, they are all written in .NET (0_0). So, this tool was designed to be self-contained (for Windows, MacOS and GTK-based Linux systems). It's written in C++ using wxWidgets for the GUI components and all the needed libraries are statically linked to the executable (except for GTK for linux builds). Last, but not the least, Delta Patcher is GPL2'd and cross-platform: it runs fine on Windows, Linux and MacOS. @@ -21,8 +20,8 @@ Delta Patcher has been successfully built on Windows 10, Ubuntu 22.04, Fedora 36 - cmake -B build -DCMAKE_BUILD_TYPE=Release -DwxBUILD_SHARED=OFF -DwxBUILD_USE_STATIC_RUNTIME=ON - cmake --build build --config Release -For an x86 (32bit) build on Windows supporting also Windows XP, then you need Visual Studio 2019 and the v141_xp tool set. Then do: -- cmake -B build -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=Release -DwxBUILD_SHARED=OFF -DwxBUILD_USE_STATIC_RUNTIME=ON +~~For an x86 (32bit) build on Windows supporting also Windows XP, then you need Visual Studio 2019 and the v141_xp tool set. Then do:~~ +~~- cmake -B build -G "Visual Studio 16 2019" -A Win32 -T v141_xp -DCMAKE_BUILD_TYPE=Release -DwxBUILD_SHARED=OFF -DwxBUILD_USE_STATIC_RUNTIME=ON~~ The executable should be found in build/app/Release/ on Windows and in build/app on MacOS diff --git a/app/include/DPApp.h b/app/include/DPApp.h index 3d518ef..b8d81d2 100644 --- a/app/include/DPApp.h +++ b/app/include/DPApp.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/common/common.h b/app/include/common/common.h index e1f3a22..4b8d0b8 100644 --- a/app/include/common/common.h +++ b/app/include/common/common.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by @@ -22,14 +22,14 @@ #include #ifdef __DP_DECODE_ONLY__ - #define __DP_VERSION__ wxT("3.0.1 Lite") + #define __DP_VERSION__ wxT("3.1 Lite") #else - #define __DP_VERSION__ wxT("3.0.1") + #define __DP_VERSION__ wxT("3.1") #endif #define __DP_DISCLAIMER__ _("This program is free software: you can redistribute it\nand/or modify it under the terms of the GNU General\nPublic License as published by the Free Software Foundation,\nversion 2.0.") static const wxString __DP_LICENSE__(rawLicense); #define __DP_NAME__ wxT("Delta Patcher") #define __DP_WEBSITE__ wxT("https://github.com/marco-calautti") -#define __DP_COPYRIGHT__ wxT("(C) 2022+ Phoenix\n") +#define __DP_COPYRIGHT__ wxT("(C) 2010+ Phoenix\n") #endif diff --git a/app/include/gui/DeltaPatcherAboutDialog.h b/app/include/gui/DeltaPatcherAboutDialog.h index a1fecb8..7848495 100644 --- a/app/include/gui/DeltaPatcherAboutDialog.h +++ b/app/include/gui/DeltaPatcherAboutDialog.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/DeltaPatcherDecodePanel.h b/app/include/gui/DeltaPatcherDecodePanel.h index 8d7c241..3cbe166 100644 --- a/app/include/gui/DeltaPatcherDecodePanel.h +++ b/app/include/gui/DeltaPatcherDecodePanel.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/DeltaPatcherDropHandler.h b/app/include/gui/DeltaPatcherDropHandler.h index bbbca55..f27d050 100644 --- a/app/include/gui/DeltaPatcherDropHandler.h +++ b/app/include/gui/DeltaPatcherDropHandler.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/DeltaPatcherDropTarget.h b/app/include/gui/DeltaPatcherDropTarget.h index f1d21f6..b64aa1d 100644 --- a/app/include/gui/DeltaPatcherDropTarget.h +++ b/app/include/gui/DeltaPatcherDropTarget.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/DeltaPatcherEncodePanel.h b/app/include/gui/DeltaPatcherEncodePanel.h index fe5a6df..619d7a3 100644 --- a/app/include/gui/DeltaPatcherEncodePanel.h +++ b/app/include/gui/DeltaPatcherEncodePanel.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/DeltaPatcherMainDialog.h b/app/include/gui/DeltaPatcherMainDialog.h index 1cf75e9..40823f9 100644 --- a/app/include/gui/DeltaPatcherMainDialog.h +++ b/app/include/gui/DeltaPatcherMainDialog.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/gui/Logger.h b/app/include/gui/Logger.h index e932e95..b6b2f7e 100644 --- a/app/include/gui/Logger.h +++ b/app/include/gui/Logger.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/include/patcher/XDeltaPatch.h b/app/include/patcher/XDeltaPatch.h index c6f3da3..c0058e0 100644 --- a/app/include/patcher/XDeltaPatch.h +++ b/app/include/patcher/XDeltaPatch.h @@ -1,4 +1,4 @@ -//Copyright (C) 2017 Phoenix. +//Copyright (C) 2010+ Phoenix. //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/app/mac_stuff/Info.plist b/app/mac_stuff/Info.plist index 34ff12b..e0b486e 100644 --- a/app/mac_stuff/Info.plist +++ b/app/mac_stuff/Info.plist @@ -15,15 +15,15 @@ CFBundlePackageType APPL CFBundleShortVersionString - 3.0.1 + 3.1 CFBundleSignature ???? CFBundleVersion - 3.0.1 + 3.1 LSApplicationCategoryType public.app-category.developer-tools NSHumanReadableCopyright - 2022+ Phoenix (SadNES cITy Translations) + 2010+ Phoenix (SadNES cITy Translations) NSPrincipalClass NSApplication CFBundleIconFile diff --git a/app/win_stuff/resource.rc b/app/win_stuff/resource.rc index b93f903..33b507e 100644 --- a/app/win_stuff/resource.rc +++ b/app/win_stuff/resource.rc @@ -3,8 +3,8 @@ mondrian ICON "icon.ico" //exe icon (Windows only) #include //Enables Windows Styles VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,0,1,0 - PRODUCTVERSION 3,0,1,0 + FILEVERSION 3,1,0,0 + PRODUCTVERSION 3,1,0,0 FILEFLAGSMASK 0x17L #ifdef _DEBUG FILEFLAGS 0x1L @@ -20,12 +20,12 @@ BEGIN BLOCK "000004b0" BEGIN VALUE "FileDescription", "XDelta patching Utility" - VALUE "FileVersion", "3, 0, 1, 0" + VALUE "FileVersion", "3, 1, 0, 0" VALUE "InternalName", "DeltaPatcher" - VALUE "LegalCopyright", "Copyright (C) 2022+ Phoenix" + VALUE "LegalCopyright", "Copyright (C) 2010+ Phoenix" VALUE "OriginalFilename", "DeltaPatcher.exe" VALUE "ProductName", "Delta Patcher" - VALUE "ProductVersion", "3, 0, 1, 0" + VALUE "ProductVersion", "3, 1, 0, 0" END END BLOCK "VarFileInfo" From 6b612f036d69654dd11a5445621aa6dcb4d19888 Mon Sep 17 00:00:00 2001 From: marco-calautti Date: Thu, 28 Dec 2023 11:47:42 +0100 Subject: [PATCH 2/2] Strip linux elf --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b7445f..5af9188 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,6 +96,7 @@ jobs: run: | cp ${{github.workspace}}/CHANGELOG.txt ${{github.workspace}}/build/app/ cd ${{github.workspace}}/build/app/ + strip -s DeltaPatcher zip ${{ matrix.release_package }}.zip DeltaPatcher CHANGELOG.txt - if: startsWith(matrix.os, 'macOS')