/trunk/RELEASE.md |
---|
7,13 → 7,12 |
- manifest32.xml and manifest64.xml |
- README.md |
- CHANGELOG.md |
2. Run **visual_studio\vc_make_3264.bat** . This creates a 32-bit DLL and a 64-bit DLL and mixes them together (required for 32/64 bit creating of standalone filters). |
3. Compile with OpenWatcom 2.0. This creates a 32-bit DLL only, and then mix Watcom-32-bit and VisualC-64-bit together. |
2. Run **release.bat** . This script will do: |
- Compile with Visual C++ by running **visual_studio\vc_make_3264.bat** . This creates a 32-bit DLL and a 64-bit DLL and mixes them together (required for 32/64 bit creating of standalone filters). |
- Compile with OpenWatcom 2.0 by running **wpj\make_watcom.bat** . This creates a 32-bit DLL only, and then mix Watcom-32-bit and VisualC-64-bit together. |
(This step is done because we want Win9x compatibility and therefore, the 32-bit 8BF must be built with OpenWatcom 2.0. |
To build for Windows NT 3.1, we need OpenWatcom 2.0, becauase OpenWatcom 1.9 is not compatible with it) |
4. Commit to SVN with commit message `=== RELEASE 1.7.0.x ===` |
5. Sync SVN with GitHub |
6. Release a ZIP to [ViaThinkSoft](https://www.viathinksoft.com/projects/filter_foundry) with following contents: |
- Build a zip with following contents by running **make_zip.bat** : |
- wpj/FilterFoundry.8bf => FilterFoundry.8bf |
- visual_studio/FilterFoundry64.8bf => FilterFoundry64.8bf |
- README.md => README.txt (sic) |
22,3 → 21,6 |
- examples\ => examples\ |
- LICENSE_GPLv2.txt => LICENSE_GPLv2.txt |
- LICENSE_GPLv3.html => LICENSE_GPLv3.html |
3. Commit to SVN with commit message `=== RELEASE 1.7.0.x ===` |
4. Sync SVN with GitHub |
5. Release a ZIP to [ViaThinkSoft](https://www.viathinksoft.com/projects/filter_foundry) |
/trunk/make_zip.bat |
---|
0,0 → 1,27 |
@echo off |
cd /d "%~dp0" |
if exist release.zip del release.zip |
copy README.md README.txt |
copy CHANGELOG.md CHANGELOG.txt |
"c:\Program Files\7-Zip\7z.exe" a -tzip "release.zip" README.txt CHANGELOG.txt LICENSE_*.* examples |
del README.txt |
del CHANGELOG.txt |
cd doc |
"c:\Program Files\7-Zip\7z.exe" a -tzip "..\release.zip" *.pdf |
cd .. |
cd wpj |
"c:\Program Files\7-Zip\7z.exe" a -tzip "..\release.zip" FilterFoundry.8bf |
cd .. |
cd visual_studio |
"c:\Program Files\7-Zip\7z.exe" a -tzip "..\release.zip" FilterFoundry64.8bf |
cd .. |
explorer /select,release.zip |
pause. |
/trunk/release.bat |
---|
0,0 → 1,10 |
@echo off |
cd /d "%~dp0" |
call visual_studio/vc_make_3264.bat |
cd /d "%~dp0" |
call wpj/make_watcom.bat |
cd /d "%~dp0" |
call make_zip.bat |
/trunk/visual_studio/vc_make_3264.bat |
---|
42,6 → 42,7 |
call foundry_3264_mixer.bat |
cd /d "%~dp0" |
rem dir *.8bf |
echo Finished. Please check console output. |
pause. |
/trunk/wpj/README.md |
---|
2,7 → 2,7 |
Building FilterFoundry with OpenWatcom |
====================================== |
Most recently tested with OpenWatcom 1.9 and Adobe Photoshop SDK 2021. |
Tested with OpenWatcom 1.9 and OpenWatcom 2.0 together with Adobe Photoshop SDK 2021. |
Prerequisites |
26,8 → 26,10 |
----------- |
There is no special build setup required. |
Just open wpj\filterfoundry.wpj in Watcom's IDE and click "Make target". |
Just open **wpj\filterfoundry.wpj** in Watcom's IDE and click "Make target". |
Alternatively, run **wpj\make_watcom.bat** which should do the same. |
IMPORTANT: Your path must not contain whitespaces! |
For example, you must not use "C:\Users\John Doe\SVN\Filter Foundry\". |
47,6 → 49,7 |
The error message has the error code E062. |
Creating an empty sdkddkver.h does not work anymore. |
You need to comment out the line in PITypes.h. |
(Bug will be fixed: https://github.com/open-watcom/open-watcom-v2/issues/770 ) |
- It is important that the correct calling convention is used. |
The calling convention needs to be set in |
61,18 → 64,31 |
- The path to the Photoshop SDK and to Win Flex/Bison (PreBuild event) |
is already set in the project file. Please note that changing these |
paths is a bit complicated. There are several bugs in OpenWatcom |
paths is a bit complicated. There are several bugs in older versions of OpenWatcom |
where you can only make the pre-build-events shorter, but not longer). |
You have to edit the WPJ file with a text editor. |
Remember how many characters you have added or deleted, |
and subtract or add them to the number written above the before-instructions |
(currently 367). This is the number of bytes of the commands. |
and subtract or add them to the number written above the before-instructions. |
This is the number of bytes of the commands. |
- In the code, it is important that all variables are declared at the |
top of the scope (curly brackets) and that there is no executable code or |
assignments in between. |
Wrong: |
int a; |
int b = GetXYZ(); |
int c; |
Correct: |
int a; |
int b; |
int c; |
b = GetXYZ(); |
Attention! Some optimizations break the code |
-------------------------------------------- |
/trunk/wpj/after.bat |
---|
0,0 → 1,4 |
copy filterfoundry.dll FilterFoundry.8bf |
cd ..\3264_mixer |
call foundry_3264_mixer.bat |
cd ..\wpj |
/trunk/wpj/before.bat |
---|
0,0 → 1,11 |
cd .. |
if exist y_tab.c del y_tab.c |
if exist lex_yy.c del lex_yy.c |
win_flex_bison\win_bison.exe parser.y -d -y |
win_flex_bison\win_flex.exe --never-interactive lexer.l y.tab.c |
rem IDE doesnt like multiple dots in filenames |
ren y.tab.c y_tab.c |
ren lex.yy.c lex_yy.c |
cd wpj |
echo xx > betabeta |
/trunk/wpj/filterfoundry.tgt |
---|
18,15 → 18,12 |
1 |
4 |
MCommand |
17 |
cd .. |
cd wpj |
15 |
call before.bat |
5 |
MCommand |
42 |
copy filterfoundry.dll FilterFoundry.8bf |
16 |
call after.bat |
6 |
MItem |
/trunk/wpj/filterfoundry.wpj |
---|
4,32 → 4,20 |
VpeMain |
1 |
WRect |
1077 |
711 |
10704 |
436 |
7392 |
8722 |
8704 |
2 |
MProject |
3 |
MCommand |
367 |
87 |
set PSSDK=..\photoshop_sdk\pluginsdk |
set PSAPI=..\photoshop_sdk\pluginsdk\photoshopapi |
cd .. |
if exist y_tab.c del y_tab.c |
if exist lex_yy.c del lex_yy.c |
win_flex_bison\win_bison.exe parser.y -d -y |
win_flex_bison\win_flex.exe --never-interactive lexer.l y.tab.c |
rem IDE doesnt like multiple dots in filenames |
ren y.tab.c y_tab.c |
ren lex.yy.c lex_yy.c |
cd wpj |
4 |
MCommand |
56 |
cd ..\3264_mixer |
call foundry_3264_mixer.bat |
cd ..\wpj |
1 |
5 |
WFileName |
42,10 → 30,10 |
VComponent |
8 |
WRect |
69 |
142 |
6661 |
6722 |
64 |
113 |
6656 |
6693 |
9 |
/trunk/wpj/make_watcom.bat |
---|
0,0 → 1,20 |
echo off |
cd /d "%~dp0" |
del *.mk *.mk1 *.obj *.lib *.map *.dll *.8bf *.err *.lk1 *.res |
ide2make filterfoundry.tgt |
set PSSDK=..\photoshop_sdk\pluginsdk |
set PSAPI=..\photoshop_sdk\pluginsdk\photoshopapi |
wmake -f project.mk |
cd /d "%~dp0" |
rem dir *.8bf |
echo. |
echo. |
echo. |
echo Finished. Please check console output. |
pause. |
/trunk/. |
---|
Property changes: |
Modified: svn:ignore |
y.tab.c |
y_tab.c |
*.8bf |
+release.zip |