Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 512 → Rev 513

/trunk/CHANGELOG.md
8,6 → 8,7
- Windows: Standalone filters containing a `&` in Name or Category now have the correct "Visual Themes", as the Manifest XML is not broken anymore.
- Introduced obfuscation version 7, which is more secure.
- Windows: Handling of ampersand characters ("&") in Title, Category, Author, Copyright, and Controller/Map labels fixed.
- Support for "Filter layers" added (not fully tested).
 
(*) This bug/solution was tested on Windows but needs to be verified and/or implemented on Mac.
 
/trunk/PiPL.rc
38,7 → 38,7
BEGIN
0x0001, /* Reserved (for Photoshop) */
0L, /* kCurrentPiPLVersion */
9L, /* Property Count */
11L, /* Property Count */
 
VENDORID, LC(c,a,t,g), NULLID, 16L, "\014Telegraphics\0\0\0", /* PString */
VENDORID, LC(n,a,m,e), NULLID, 20L, "\021Filter Foundry...\0\0", /* PString */
70,7 → 70,7
BEGIN
0x0001, /* Reserved (for Photoshop) */
0L, /* kCurrentPiPLVersion */
6L, /* Property Count */
8L, /* Property Count */
VENDORID, LC(w,x,8,6), NULLID, 12L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */
#include "PiPL_body.rc"
END
80,7 → 80,7
BEGIN
0x0001, /* Reserved (for Photoshop) */
0L, /* kCurrentPiPLVersion */
6L, /* Property Count */
8L, /* Property Count */
VENDORID, LC(8,6,6,4), NULLID, 12L, "PluginMain\0\0", /* Entrypoint Name (Long Word padded C String) */
#include "PiPL_body.rc"
END
/trunk/PiPL_body.rc
24,16 → 24,61
// Attention: This file may only contain 5 properties. If this number changes,
// please also change PiPL.rc
 
VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,F,M), /* Filter module */
VENDORID, LC(v,e,r,s), NULLID, 4L, latestFilterSubVersion,latestFilterVersion, /* Version Number */
/* Filter module */
VENDORID, LC(k,i,n,d), NULLID, 4L, LC(8,B,F,M),
 
VENDORID, LC(m,o,d,e), NULLID, 4L, /* first 2 bytes: */ flagSupportsGrayScale|flagSupportsIndexedColor|flagSupportsRGBColor|flagSupportsCMYKColor|flagSupportsHSLColor|flagSupportsHSBColor|flagSupportsMultichannel,
/* second 2 bytes: */ flagSupportsDuotone|flagSupportsLABColor,
/* Version Number */
VENDORID, LC(v,e,r,s), NULLID, 4L, latestFilterSubVersion, latestFilterVersion,
 
 
 
#define doesSupportsBitmap flagSupportsBitmap
#define doesSupportsGrayScale flagSupportsGrayScale
#define doesSupportsIndexedColor flagSupportsIndexedColor
#define doesSupportsRGBColor flagSupportsRGBColor
#define doesSupportsCMYKColor flagSupportsCMYKColor
#define doesSupportsHSLColor flagSupportsHSLColor
#define doesSupportsHSBColor flagSupportsHSBColor
#define doesSupportsMultichannel flagSupportsMultichannel
#define doesSupportsDuotone 32768 // (flagSupportsDuotone << 8) RC doesn't know <<8, nor *256 !
#define doesSupportsLABColor 16384 // (flagSupportsLABColor << 8) RC doesn't know <<8, nor *256 !
 
/* Supported modes */
/* Second byte: */
VENDORID, LC(m,o,d,e), NULLID, 4L, /* First byte: */ /*doesSupportsBitmap|*/
doesSupportsGrayScale|
doesSupportsIndexedColor|
doesSupportsRGBColor|
doesSupportsCMYKColor|
doesSupportsHSLColor|
doesSupportsHSBColor|
doesSupportsMultichannel|
/* Second byte: */ doesSupportsDuotone|
doesSupportsLABColor,
/* 3rd & 4th byte: */ 0,
 
/* We need this to enable the plugin for BigDocuments */
VENDORID, LC(m,s,3,2), 0L, 8L, 2000000L, 2000000L,
VENDORID, LC(m,s,3,2), NULLID, 8L, 2000000L, 2000000L,
 
/* Required host (' ' = any) */
/* Commented out, because there is a risk that a badly programmed host will think that ' '!='8BIM' and doesn't load the plugin then?!*/
//VENDORID, LC(h,o,s,t), NULLID, 4L, 0x20202020L,
 
/* "FilterLayerSupport" (Allows smart filters) */
/* TODO: It seems to work, but are we really fully supporting Smart Filters?! */
VENDORID, LC(f,l,l,y), NULLID, 4L, 0x80L,
 
/* Enable info */
VENDORID, LC(e,n,b,l), NULLID, 4L, 134L, "in (PSHOP_ImageMode, GrayScaleMode, IndexedColorMode, RGBMode, CMYKMode, HSLMode, HSBMode, MultichannelMode, DuotoneMode, LabMode)\0\0\0\0"
 
/* "Component". Values taken from Clouds.8BF */
/* TODO: What is this? Commented out to be sure */
//VENDORID, LC(c,m,p,t), NULLID, 4L, 18L, 0x00170301L, "FilterFoundry\0"
 
/* MonitorScalingAware */
/* TODO: Do we support it? For now, commented out */
//VENDORID, LC(p,m,s,a), NULLID, 4L, 1L,
 
/* FilterCaseInfo - in all cases:
inStraightData,
outStraightData,
/trunk/TODO.md
81,7 → 81,9
 
* Should the compiler flags in `funcs.h` as well as settings like `use_plugin_dll_sliders` be placed as resource (binary bits), so that the behavior can be changed if required?
 
* Implement MonitorScalingAware ('pmsa')? What is 'cmpt'? Do we fully support 'flly'?
 
 
Big ideas
---------