Skip to content

Commit

Permalink
1.7.0.22 Release Candidate. Added code signature to build process
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.viathinksoft.com/svn/filter_foundry/trunk@563 1b5a0048-3058-4200-831f-25aa9e3a14b9
  • Loading branch information
danielmarschall committed May 22, 2024
1 parent 77b860e commit ed461f3
Show file tree
Hide file tree
Showing 10 changed files with 51 additions and 11 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changelog

## 1.7.0.22 [Work-In-Progress]
## 1.7.0.22 [??-May-2024]
- Simplified source code: Expressions, slider names, etc. are now loaded directly in the PARM resource).
- Simplified source code: Load-methods and Save-methods don't return boolean and a reason string. Instead they return 0 (success) or a error message ID otherwise.
- The slider positions will be preserved when a filter is made
- Code signed by HickelSOFT Huth GmbH

## 1.7.0.21 [23-Nov-2023]
- Read FFX file: Fixed buffer overflow when some strings (Title,Category,Author,Copyright,SliderNames) are too long
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Initially written by Toby Thain ([Telegraphics](https://www.telegraphics.net/sw/
![A simple filter](screenshots/MainDialog.png)


### Windows version 1.7.0.21
### Windows version 1.7.0.22

Filter Foundry 1.7 comes with a 32-Bit Windows plugin (FilterFoundry.8bf) and a 64-Bit Windows plugin (FilterFoundry64.8bf) which can both be downloaded at [ViaThinkSoft](https://www.viathinksoft.com/download/249/FilterFoundry.zip) or from the [Releases folder](https://github.com/danielmarschall/filter_foundry/tree/master/releases).

Expand Down
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ ViaThinkSoft release procedure
(This step is done because we want Win9x compatibility and therefore, the 32-bit 8BF must be built with OpenWatcom 2.0.
MSVC++ 32bit needs at least Windows XP (tested with SP3). MingW 32bit build needs a newer version of the MSVCRT which implements `___mb_cur_max_func`.
To build for Windows NT 3.1, we need OpenWatcom 2.0, becauase OpenWatcom 1.9 is not compatible with it)
- Code sign the 8BF files
- Build a zip with following contents by running **make_zip.bat** :
- wpj/FilterFoundry.8bf => FilterFoundry.8bf
- visual_studio/FilterFoundry64.8bf => FilterFoundry64.8bf
Expand Down
25 changes: 25 additions & 0 deletions authenticode_sign.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
@echo off

if "%~1"=="" goto :done

echo Sign %1 ...

>NUL 2>&1 "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" verify /pa %1 && (
echo File %1 is already signed, skipping
exit /b 0
) || (
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /a /tr http://timestamp.globalsign.com/tsa/r6advanced1 /td SHA256 /fd SHA256 /n "HickelSOFT" /v %1
>NUL 2>&1 "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" verify /pa %1 && (
echo File %1 is sucessfully signed!
exit /b 0
) || (
echo ERROR while signing file %1 !
echo.
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x64\signtool.exe" sign /a /tr http://timestamp.globalsign.com/tsa/r6advanced1 /td SHA256 /fd SHA256 /n "HickelSOFT" /v %1
echo.
pause.
exit /b 1
)
)

:done
2 changes: 1 addition & 1 deletion manifest32.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<assemblyIdentity
name="Telegraphics.FilterFoundry"
processorArchitecture="x86"
version="1.7.0.21"
version="1.7.0.22"
type="win32"/>
<description>Filter Foundry</description>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion manifest64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<assemblyIdentity
name="Telegraphics.FilterFoundry"
processorArchitecture="amd64"
version="1.7.0.21"
version="1.7.0.22"
type="win32"/>
<description>Filter Foundry</description>
<dependency>
Expand Down
10 changes: 10 additions & 0 deletions release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,15 @@ call visual_studio/vc_make_3264.bat
cd /d "%~dp0"
call wpj/make_watcom.bat

cd /d "%~dp0"
call authenticode_sign.bat wpj\FilterFoundry.8bf
call authenticode_sign.bat visual_studio\FilterFoundry.8bf
call authenticode_sign.bat visual_studio\FilterFoundry64.8bf
echo.
echo.
echo.
echo Finished signing files. Please check console output.
pause.

cd /d "%~dp0"
call make_zip.bat
10 changes: 5 additions & 5 deletions version.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ For a NEW VERSION, please change:

#define plugInName "FilterFoundry"

#define VERSION_STR "1.7.0.21"
#define VERSION_NUM 1,7,0,21
#define VERSION_STR "1.7.0.22"
#define VERSION_NUM 1,7,0,22

#define VERS_RSRC VERSION_NUM,verUS,VERSION_STR,"Filter Foundry " VERSION_STR

#define RELEASE_YEAR "2023"
#define RELEASE_YEAR "2024"

#define PROJECT_URL "https://github.com/danielmarschall/filter_foundry"

/* For the 'cmpt' PIPL attribute */
#define MainComponentVersion 0x01070015L // 1.7.0.21
#define MainComponentVersion 0x01070016L // 1.7.0.22

/* formatted for Win32 VERSIONINFO resource */
#define VI_VERS_NUM 1,7,0,21
#define VI_VERS_NUM 1,7,0,22
#define VI_FLAGS 0 /* 0 for final, or any of VS_FF_DEBUG,VS_FF_PATCHED,VS_FF_PRERELEASE,VS_FF_PRIVATEBUILD,VS_FF_SPECIALBUILD */
#define VI_COMMENTS "Download the latest version here: " PROJECT_URL "\0" /* null terminated Comments field */
#define VI_COMPANY_NAME "ViaThinkSoft, Telegraphics Pty Ltd\0"
Expand Down
2 changes: 1 addition & 1 deletion visual_studio/vc_make_3264.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ call foundry_3264_mixer.bat
cd /d "%~dp0"
rem dir *.8bf

echo Finished. Please check console output.
echo Finished compiling 32+64bit using VISUAL STUDIO. Please check console output.
pause.
5 changes: 4 additions & 1 deletion wpj/make_watcom.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
echo off

setlocal
set PATH=%PATH%;c:\watcom\binnt

cd /d "%~dp0"

rem Call before.bat now, otherwise we might get the error message that y.tab.h is missing
Expand All @@ -20,5 +23,5 @@ rem dir *.8bf
echo.
echo.
echo.
echo Finished. Please check console output.
echo Finished compiling 32bit using WATCOM. Please check console output.
pause.

0 comments on commit ed461f3

Please sign in to comment.