Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 230 → Rev 231

/trunk/CHANGELOG.md
1,6 → 1,6
# Changelog
 
## 1.7.0.2 [18-Jul-2021]
## 1.7.0.2 [19-Jul-2021]
- Project was forked by Daniel Marschall and released on GitHub. For now, only the Windows version is supported.
- Bugfix: If a plugin is called from a recorded Action, a dialog was shown at the first start, even if dialogs were disabled.
- Bugfix: Variable `d` now works like FilterFactory/FilterFoundy1.6 again. (Bug introduced in FilterFoundry 1.7b1 due to the change of the `c2d()` function)
/trunk/Hosts.md
7,9 → 7,10
| Serif PhotoPlus 6 | '8BIM'(!) | Kilobytes (!) | Not in use | Yes |
| PluginCommander 1.62 | '8BIM'(!) | Bytes | Not in use | No (!) |
| Corel Paint Shop Pro X | 'PSP9' | Bytes | Not in use | Yes |
| GIMP (using PSPI) | 'PMIG' | Bytes, 100MB (!) | Not in use | No (!) |
| GIMP (using PSPI) | 'PMIG' | Bytes, 100MB | Not in use | No (!) |
| IrfanView 4.53 (32+64) | 'UP20' | Kilobytes (!) | Not in use | No (!) |
| Paint.Net PSFilterPdn | 'NDP.' | Bytes, 1 GB (!) | Not in use | Yes |
| Paint.Net PSFilterPdn | 'NDP.' | Bytes, 1 GB | Not in use | Yes |
| Adobe Premiere 5 | '8B)M'(sic) | Bytes, 2000000 | Not in use | ??? |
 
Note:
- MaxSpace32: Bytes = Good
/trunk/TODO.md
5,7 → 5,7
Important/Bugs
--------------
 
* Publish 1.7.0.2
(Nothing here)
 
 
Minor priority stuff or ideas
85,7 → 85,13
 
* If you load an AFS file which has multi-line expressions, then the first expression (R) is scrolled down (because it has the focus)
 
* Unsure regarding AppleScript !
https://developer.apple.com/library/archive/documentation/mac/pdf/Interapplication_Communication/AE_Term_Resources.pdf
1. Do we need an 'auet' resource?
2. Does our implementation work with AppleScript?
3. Must the human-language term REALLY be unique?! So only one plugin on the whole system may use the word "ctl(0)" or "red" or "size"??? Why do we have unique keys if the human language needs to be unique too?! (see "Important" section at page 8-14)
 
 
Regarding Macintosh
-------------------
 
/trunk/ff.h
42,6 → 42,7
#define HOSTSIG_SERIF_PHOTOPLUS '8BIM' // meh.
#define HOSTSIG_JASC_PAINTSHOP_PRO_X 'PSP9'
#define HOSTSIG_PAINT_NET 'NDP.'
#define HOSTSIG_ADOBE_PREMIERE '8B)M'/*sic*/
 
enum{
TAB = 011,
/trunk/main.c
59,8 → 59,16
DLLEXPORT MACPASCAL
void ENTRYPOINT(short selector, FilterRecordPtr pb, intptr_t *data, short *result){
static Boolean wantdialog = false;
static Boolean premiereWarnedOnce = false;
OSErr e = noErr;
char *reason;
#ifdef WIN_ENV
// For Windows, we use an activation context to enforce that our Manifest resource will
// be used. This allows us to use Visual Styles, even if the host application does not
// support it.
ManifestActivationCtx manifestVars;
BOOL activationContextUsed;
#endif
 
/*
char* s = (char*)malloc(512);
68,13 → 76,20
simplealert(s);
*/
 
if (pb->hostSig == HOSTSIG_ADOBE_PREMIERE) {
// DM 19.07.2021 : Tried running the 8BF file in Adobe Premiere 5 (yes, that's possible,
// and there is even a FilterFactory for Premeire!),
// but it crashes in evalpixel() where there is write-access to the "outp".
// Probably the canvas structure is different (maybe it contains frames to achieve transitions?)
if (!premiereWarnedOnce) {
simplealert("This version of Filter Foundry is not compatible with Adobe Premiere!");
}
premiereWarnedOnce = true;
*result = filterBadParameters;
return;
}
 
#ifdef WIN_ENV
// For Windows, we use an activation context to enforce that our Manifest resource will
// be used. This allows us to use Visual Styles, even if the host application does not
// support it.
ManifestActivationCtx manifestVars;
BOOL activationContextUsed;
 
activationContextUsed = ActivateManifest((HMODULE)hDllInstance, 1, &manifestVars);
#endif
 
/trunk/photoshop_sdk/DOWNLOAD.txt
1,8 → 1,29
 
Please download "Adobe Photoshop SDK" here:
https://www.adobe.com/devnet/photoshop/sdk.html (*)
Please download the Adobe Photoshop SDK here:
https://www.adobe.com/devnet/photoshop/sdk.html
Note: The download of SDK 2017 at the end of the EULA page
won't work on some browsers due to security settings:
"adobe.com" uses HTTPS, while the download target "macromedia.com" uses HTTP.
Therefore, the download does not work.
Direct download of SDK 2017 here:
http://download.macromedia.com/pub/developer/photoshop/sdk/adobe_photoshop_sdk_cc_2017_win.zip
 
Then extract its contents in this directory:
 
 
Important:
Please carefully read the SDK EULA before processing!
The SDK contents are NOT part of this plugin source code,
and they are not subject to the plugin's license!
The SDK contents may not be distributed together with the plugin
or the plugin source code, and must stay on the computer of the developer.
 
If you do not agree to the EULA of the latest SDK,
you could try to obtain an older version of the SDK which
might have different license terms. This plugin should be
compatible with older versions of the SDK too.
 
 
Once you have obtained the SDK, extract the SDK contents in this directory:
- connectionsdk/
- images/
- pluginsdk/
9,11 → 30,14
- license.html
- ReadMe.html
 
These folders are excluded in SVN and GIT to avoid that they
are accidentally uploaded somewhere.
 
 
Note: The download of SDK 2017 at the end of the EULA page
won't work on some browsers due to security settings:
"adobe.com" uses HTTPS, while the download target "macromedia.com" uses HTTP.
Therefore, the download does not work.
Direct download of SDK 2017 here:
http://download.macromedia.com/pub/developer/photoshop/sdk/adobe_photoshop_sdk_cc_2017_win.zip
Additional notes:
- Adobe's stand in regards to using SDK to write OpenSource plugins:
https://web.archive.org/web/20070203075622/http://blogs.adobe.com/notesfrommnr/2006/04/using_adobe_sdk.html
So it should be fine if the SDK contents are not included in the plugin's source code and not part of the license.
- The GPL license has some problems with this:
https://www.gnu.org/licenses/gpl-faq.en.html#FSWithNFLibs
- Unfortunately, the fork of ViaThinkSoft is bound to the license that has been set in the original project of Toby Thain.