Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 528 → Rev 529

/trunk/3264_mixer/README.MD
0,0 → 1,5
# Filter Foundry 32/64 bit mixer
 
This is an internal tool used in the post-build process of Filter Foundry 1.7.
 
Besides a some cosmetics, its main purpose is to add the 32-bit DLL to the 64-bit 8BF (as resource) and vice-versa. This is required so that Filter Foundry can create 32 and 64 bit standalone filters at the same time.
/trunk/3264_mixer/foundry_3264_mixer.cpp
1,7 → 1,7
/*
This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
Copyright (C) 2003-2009 Toby Thain, toby@telegraphics.com.au
Copyright (C) 2018-2021 Daniel Marschall, ViaThinkSoft
Copyright (C) 2018-2022 Daniel Marschall, ViaThinkSoft
 
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
155,7 → 155,7
// It is not required for DLLs, but everybody does it, and I think it is cosmetics to fill these fields, even if not required.
_set_pe_int32(fptr, /*0x0060*/offsetof(PE32, optHeader.SizeOfStackReserve), 0x00100000);
_set_pe_int32(fptr, /*0x0064*/offsetof(PE32, optHeader.SizeOfStackCommit), 0x00001000);
// Heap reserved can be changed with linker option "OPTION HEAP=1m"
// Heap reserved can be changed with linker option "OPTION HEAP=1m" before beta 21 Dec 2021
_set_pe_int32(fptr, /*0x0068*/offsetof(PE32, optHeader.SizeOfHeapReserve), 0x00100000);
_set_pe_int32(fptr, /*0x006C*/offsetof(PE32, optHeader.SizeOfHeapCommit), 0x00001000);
 
/trunk/WinNT31Compat.md
50,10 → 50,13
 
Note: msctls_trackbar32 seems to be defined in COMCTL32.DLL, but Win NT 3.1 has no REGSVR32.EXE, so there can't be any controls added??
Windows NT 3.51 has COMCTL32.DLL and works perfectly with the trackbars!
 
Fixed in SVN Revision 422: We are now using the sliders of Photoshop using PLUGIN.DLL (like Filter Factory 3.0.4 does).
 
If PLUGIN.DLL is not existing (e.g. non-Photoshop host) and msctls_trackbar32 is not available (Windows NT 3.1),
then we will simply remove the sliders completely by subclassing them from a static control,
and let the user enter the control values via keyboard only (SVN Revision 419).
 
Note that you can copy PLUGIN.DLL to any host application. It is not bound to Photoshop. However, it is copyrighted by Adobe!
 
- WinNT311+WinNT351: The preview image is not drawn at dialog box opening. You need to enter something first.
/trunk/main.c
166,7 → 166,7
// 2. The recommended buffer suite (kPSBufferSuite),
// It does not work, since it causes memory corruption when the filter is invoked a second time.
// Probably the BufferSuite cannot be used to share data between filter invocations?
// Also, the buffer suite is only available in a Adobe Photoshop host.
// Also, the buffer suite is only available on the Adobe Photoshop host application.
/*
FFBuffer buf;
newBuffer(&buf, sizeof(globals_t));
268,12 → 268,13
#endif
 
if (pb->hostSig == HOSTSIG_ADOBE_PREMIERE) {
// DM 19.07.2021 : Tried running the 8BF file in Adobe Premiere 5 + Win98 (yes, that's possible,
// and there is even a FilterFactory for Premiere!),
// DM 19.07.2021 : Tried running the 8BF file in Adobe Premiere 5 + Win98
// (yes, that's possible, and there is even a FilterFactory for Premiere!),
// but it crashes in evalpixel() where there is write-access to the "outp".
// DM 24.04.2022 : On Adobe Premiere 6 + Win10, the filter opens sometimes (and sometimes crashes inside DialogBoxParam),
// but the filter is not applied when you click "OK" (because it crashes internally; only the debugger sees it)...
// Probably the canvas structure is different (maybe it contains frames to achieve transitions?)
// Maybe the canvas structure is different (maybe it contains frames to achieve transitions?)
// TODO: make Filter Foundry compatible with Premiere!
if (!premiereWarnedOnce) {
simplealert_id(MSG_PREMIERE_COMPAT_ID);
}