Skip to content

Commit

Permalink
Merge pull request #30 from marco-calautti/v3.1-preparation
Browse files Browse the repository at this point in the history
Preparation for new version v3.1
  • Loading branch information
marco-calautti authored Dec 28, 2023
2 parents 477b24a + 6b612f0 commit a8097dd
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 47 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
35 changes: 12 additions & 23 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---------------------------------------------
Delta Patcher 3.0.2
---------------------------------------------
(C) 2010+ Phoenix <[email protected]>

-----------------------------------------------
Delta Patcher
-----------------------------------------------
<https:/github.com/marco-calautti/DeltaPatcher>

-------------------------
1. What is this?
Expand All @@ -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.
Expand All @@ -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;
Expand All @@ -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;

Expand All @@ -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
[email protected], 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
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion app/include/DPApp.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions app/include/common/common.h
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -22,14 +22,14 @@
#include <common/COPYING.h>

#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<[email protected]>")
#define __DP_COPYRIGHT__ wxT("(C) 2010+ Phoenix\n<[email protected]>")
#endif
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherAboutDialog.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherDecodePanel.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherDropHandler.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherDropTarget.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherEncodePanel.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/DeltaPatcherMainDialog.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/gui/Logger.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/include/patcher/XDeltaPatch.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions app/mac_stuff/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.0.1</string>
<string>3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.0.1</string>
<string>3.1</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.developer-tools</string>
<key>NSHumanReadableCopyright</key>
<string>2022+ Phoenix (SadNES cITy Translations)</string>
<string>2010+ Phoenix (SadNES cITy Translations)</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
Expand Down
10 changes: 5 additions & 5 deletions app/win_stuff/resource.rc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ mondrian ICON "icon.ico" //exe icon (Windows only)
#include <wx/msw/wx.rc> //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
Expand All @@ -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"
Expand Down

0 comments on commit a8097dd

Please sign in to comment.