Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 519 → Rev 520

/trunk/CHANGELOG.md
1,6 → 1,6
# Changelog
 
## 1.7.0.17 [Work-In-Progress]
## 1.7.0.17 [14-May-2022]
- Fixed theoretical bug that can crash a Photoshop application if PLUGIN.DLL exists but is not loaded.
- Added translation for German systems (*)
- `map(i,n)` now works like in Filter Factory and not like GIMP User Filter v0.8.
10,8 → 10,10
- Introduced obfuscation version 7, which is more secure.
- Support for "Filter layers" added (not fully tested; PiPL attribute `'flly'`) (*)
- FilterFoundry can now work correctly with Duotone and Lab color spaces (PiPL `'mode'` entry was wrong)
- "Indexed Color" mode removed, since it seems to have never worked.
- Internal change: PiPL resource now contains `'8BIM':'cmpt'` (Component) (*)
- Internal change: PiPL resource now contains `'ViaT':'ObId'` (Object Identifier) (*)
- Internal change: PiPL resource now contains `prty` (Priority)
 
(*) This bug/solution was tested on Windows but needs to be verified and/or implemented on Mac.
 
/trunk/PiPL_carbon.r
32,10 → 32,14
{
Category { "Telegraphics" },
Name { "Filter FoundryÉ" },
Component { MainComponentVersion, "Filter Foundry" },
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
 
CodeCarbonPowerPC { 0, 0, "" },
#include "pipl_common.r"
CodeCarbonPowerPC { 0, 0, "" },
 
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
// TODO: How to do that?
//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
}
};
 
43,8 → 47,8
resource 'tpLT' (16000, purgeable)
{
{
CodeCarbonPowerPC { 0, 0, "" },
#include "pipl_common.r"
CodeCarbonPowerPC { 0, 0, "" },
}
};
 
/trunk/PiPL_classic.r
32,13 → 32,17
{
Category { "Telegraphics" },
Name { "Filter FoundryÉ" },
#include "pipl_common.r"
Component { MainComponentVersion, "Filter Foundry" },
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
 
CodePowerPC { 0, 0, "" },
#ifdef BUILD68K
Code68K { Filter, 16000 },
#endif
#include "pipl_common.r"
 
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
// TODO: How to do that?
//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
}
};
 
46,11 → 50,11
resource 'tpLT' (16000, purgeable)
{
{
#include "pipl_common.r"
CodePowerPC { 0, 0, "" },
#ifdef BUILD68K
Code68K { Filter, 16000 },
#endif
#include "pipl_common.r"
}
};
 
/trunk/PiPL_macho.r
33,9 → 33,9
{
Category { "Telegraphics" },
Name { "Filter FoundryÉ" },
Component { MainComponentVersion, "Filter Foundry" },
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
 
#include "PiPL_common.r"
 
#if (defined(__x86_64__))
CodeMacIntel64 { "PluginMain" },
#endif
45,8 → 45,10
#if (defined(__ppc__))
CodeMachOPowerPC { 0, 0, "PluginMain" },
#endif
#include "PiPL_common.r"
 
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
// TODO: How to do that?
//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
}
};
 
54,8 → 56,6
resource 'tpLT' (16000, purgeable)
{
{
#include "pipl_common.r"
 
#if (defined(__x86_64__))
CodeMacIntel64 { "PluginMain" },
#endif
65,6 → 65,7
#if (defined(__ppc__))
CodeMachOPowerPC { 0, 0, "PluginMain" },
#endif
#include "pipl_common.r"
}
};
 
/trunk/PiPL_universal.r
32,10 → 32,15
{
Category { "Telegraphics" },
Name { "Filter FoundryÉ" },
#include "pipl_common.r"
Component { MainComponentVersion, "Filter Foundry" },
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
 
CodeCarbonPowerPC { 0, CARBON_LENGTH, "" },
CodePowerPC { CARBON_LENGTH, CLASSIC_LENGTH, "" },
HasTerminology { plugInClassID, plugInEventID, AETE_ID, /*vendorName " " plugInName*/ ""/*Empty scope enabled AppleScript*/ },
#include "pipl_common.r"
// TODO: How to do that?
//ObjectIdentifier { "1.3.6.1.4.1.37476.2.72" }
}
};
 
43,9 → 48,9
resource 'tpLT' (16000, purgeable)
{
{
#include "pipl_common.r"
CodeCarbonPowerPC { 0, CARBON_LENGTH, "" },
CodePowerPC { CARBON_LENGTH, CLASSIC_LENGTH, "" },
#include "pipl_common.r"
}
};
 
/trunk/README.md
6,7 → 6,7
Initially written by Toby Thain ([Telegraphics](https://www.telegraphics.com.au/sw/)) in 2003 - 2009, the development has been continued by [Daniel Marschall](https://www.daniel-marschall.de/) ([ViaThinkSoft](https://www.viathinksoft.com/)) since 2018. Several advancements and improvements have been made, and a 64-bit Windows version was created.
 
 
### Windows version 1.7.0.16
### Windows version 1.7.0.17
 
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).
 
/trunk/TODO.md
5,13 → 5,7
ToDo for the next release
-------------------------
 
* In regards color modes...
"Bitmap" => what is this mode and why isn't it supported?
"IndexedColor" => enabled in PiPL 'mode' and 'enbl', but is still not enabled?!
"HSL" => how do you set this color space in Photoshop?!
"HSB" => how do you set this color space in Photoshop?!
"Duotone" => The preview background is white (TODO)
"Lab" => The preview background is red (TODO)
(None)
 
 
Known problems
22,7 → 16,15
 
* When you receive the error "Could not build preview at chosen zoom level..." because you zoomed out too far, you cannot recover from it, even if you zoom in again!
 
* In regards color modes...
"Bitmap" => what is this mode and why isn't it supported?
"IndexedColor" => enabled in PiPL 'mode' and 'enbl', but is still not enabled. disabled in 1.7.0.17, as it makes no sense.
"HSL" => how do you set this color space in Photoshop?! It is a sub-space of RGB, so why is it a thing in the PiPL `mode` resource?
"HSB" => how do you set this color space in Photoshop?! It is a sub-space of RGB, so why is it a thing in the PiPL `mode` resource?
"Duotone" => The preview background is white (TODO)
"Lab" => The preview background is red (TODO)
 
 
Minor priority stuff or ideas
-----------------------------
 
/trunk/pipl_common.r
20,11 → 20,12
 
Kind { Filter },
Version { (latestFilterVersion << 16) | latestFilterSubVersion },
Priority { 0 }, /* default */
 
SupportedModes {
noBitmap,
doesSupportGrayScale,
doesSupportIndexedColor,
noIndexedColor, /* changed in 1.7.0.17, since it probably never worked */
doesSupportRGBColor,
doesSupportCMYKColor,
doesSupportHSLColor,
34,6 → 35,24
doesSupportLABColor
},
 
/* We need this to enable the plugin for BigDocuments */
PlugInMaxSize { 2000000L, 2000000L },
 
/* Commented out, because there is a risk that a badly programmed host will think that ' '!='8BIM' and does not load the plugin then?! */
//RequiredHost { ANY },
 
/* "FilterLayerSupport" (Allows smart filters) */
/* TODO: It seems to work, but are we really fully supporting Smart Filters?! */
FilterLayerSupport { 0x80L },
 
/* Enable info */
/* "Plug-in Resource Guide.pdf", pages 61-62 */
EnableInfo { "in (PSHOP_ImageMode, GrayScaleMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)" },
 
/* MonitorScalingAware */
/* TODO: Do we support it? For now, commented out */
//MonitorScalingAware { 1 },
 
FilterCaseInfo {
{
/* filterCaseFlatImageNoSelection */