Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 449 → Rev 450

/trunk/CHANGELOG.md
1,8 → 1,8
# Changelog
 
## 1.7.0.14 [Work-In-Progress]
- Made an Unicode variant of Filter Foundry which is able to read and write files with Unicode directory names. Note that the Plugin and Parameter structure of Photoshop/FilterFactory is not Unicode ready, so please use ANSI or better ASCII for them.
- Windows NT 3.x: Preview is now showed when the dialog is opened.
- Made a Unicode variant of Filter Foundry which is able to read and write files with Unicode directory names. Note that the Plugin and Parameter structure of Photoshop/FilterFactory is not Unicode ready, so please use ANSI or better ASCII for them.
- Windows NT 3.x: Preview is now showing instantly when the dialog is opened.
 
## 1.7.0.13 [04-Dec-2021]
- Internal change: PARM resource inside memory works now with C-Strings instead of Pascal-Strings.
/trunk/Makefile.win
39,6 → 39,7
 
CFLAGS += -O2 -W -Wall -Wno-main -Wno-unused-parameter -Wno-multichar -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-function
CPPFLAGS += -DYY_SKIP_YYWRAP -DWIN_ENV \
-DUNICODE -D_UNICODE \
-I$(PSAPI)\pica_sp -I$(PSAPI)\photoshop -I$(PSAPI)\general \
-Itelegraphics_common\adobeplugin -Itelegraphics_common\tt
 
/trunk/TODO.md
5,14 → 5,36
ToDo for the next release
-------------------------
 
* Test UNICODE very intense.
(None)
 
 
Known bugs
----------
Known problems
--------------
 
* The preview will show the manipulation on the whole rectangle. It does not accurately exclude areas which aren't in a polygon selection area!
see wishlist\bug_rectangle.png
 
* In Comparison to Filter Factory, our filter is super super super slow!!!!
 
Example:
Picture 5412x3962 pixels RGBA without transparency
R: put(rnd(i,255),0),get(0)>255-i+val(0,-128,128)?255:0
G: get(0)>255-i+val(0,-128,128)?255:0
B: get(0)>255-i+val(0,-128,128)?255:0
A: a
Filter Factory: 1,8 seconds
Foundry VC++ Debug: 20 seconds
Foundry WPJ Optimized: 18 seconds
Foundry Vc++ Release: 2,8 seconds
Foundry WingW Release: 2,8 seconds
MSVC++ 32 bit needs at least Windows XP (tested with SP3)
MingW 32 bit build needs a newer version of the MSVCRT
=> We probably need to publish the MSVC++ 32 bit version. It is faster and has Unicode. But this means, we cannot be compatible with Win95..2000 again
 
 
Minor priority stuff or ideas
-----------------------------
 
26,8 → 48,6
 
* Add functionality to save to FFX (Filters Unlimited) filters. But we must use the "Make" dialog, because it contains title/category/author/copyright?
 
* Filter Factory is much faster than Filter Foundry (example rad.afs). Why?! Test if it is also the case if optimized with "-O2" (release configuration).
 
* When a filter is created obfuscated and you click "Make" again, or if you loaded an old obfuscated filter (without protection), should then be the "obfuscate" checkbox be checked again?
 
* The filter `r*(y&1)` looks horrible when you zoom out!
85,17 → 105,6
It is set if we use rgbaiuvc or `cnv()`
But why isn't it set if we use `src()` or `rad()`. Is that OK???
 
* Why does everybody write that the Filter Factory `tan(x)` function is bounded?
The Filter Factory manual writes that it is bounded, and the Filter Factory Programming Guide
does also mention it (including a graphic).
Is it a bug that it goes infinity? Do we need to fix it in Filter Foundry???
Following examples of Filter Factory show that it is going off-bound! (Also tested with PS 3.0.5)
tan(255) == 167761 ? 255 : 0
tan(256) == -167772 ? 255 : 0
tan(-768) == 167772 ? 255 : 0
 
* Is `D` is supposed to be a synonym `dmax` (then `D` should stay 512),
or is `D` supposed to be `dmax-dmin` (then `D` should be 1024 and `dmin` should be 512)?
 
/trunk/visual_studio/nmake.mak
47,6 → 47,7
 
# C compiler flags
CPPFLAGS = -DWIN32 -DWIN_ENV -DYY_SKIP_YYWRAP \
-DUNICODE -D_UNICODE \
-I$(PSAPI)\Pica_sp -I$(PSAPI)\Photoshop -I$(PSAPI)\General \
-I..\telegraphics_common\adobeplugin -I..\telegraphics_common\tt -I..
# /O2 = Max optimization (prefer performance). /O2 implies /Ot
56,7 → 57,7
LDFLAGS = /LD /MT user32.lib gdi32.lib comdlg32.lib shell32.lib
 
# resource compiler flags
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN32 -d_X86_
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN32 -d_X86_ -dUNICODE -d_UNICODE
 
# Path to flex and bison (you can download them at https://sourceforge.net/projects/winflexbison/ )
FLEX = win_flex_bison\win_flex
/trunk/visual_studio/nmake64.mak
47,6 → 47,7
 
# C compiler flags
CPPFLAGS = -DWIN32 -DWIN_ENV -DYY_SKIP_YYWRAP \
-DUNICODE -D_UNICODE \
-I$(PSAPI)\Pica_sp -I$(PSAPI)\Photoshop -I$(PSAPI)\General \
-I..\telegraphics_common\adobeplugin -I..\telegraphics_common\tt -I..
# /O2 = Max optimization (prefer performance). /O2 implies /Ot
56,7 → 57,7
LDFLAGS = /LD /MT user32.lib gdi32.lib comdlg32.lib shell32.lib
 
# resource compiler flags
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN64 -d_AMD64_
RFLAGS = -i$(PSAPI)\Photoshop -d_WIN64 -d_AMD64_ -dUNICODE -d_UNICODE
 
# Path to flex and bison (you can download them at https://sourceforge.net/projects/winflexbison/ )
FLEX = win_flex_bison\win_flex