Subversion Repositories filter_foundry

Rev

Rev 2 | Rev 11 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /*
  2.         This file is part of "Filter Foundry", a filter plugin for Adobe Photoshop
  3.     Copyright (C) 2003-5 Toby Thain, toby@telegraphics.com.au
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by  
  7.     the Free Software Foundation; either version 2 of the License, or
  8.     (at your option) any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License  
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  18. */
  19.  
  20. /*
  21. 22-Feb-2003: started 0.1b1
  22. 23-Feb-2003: released 0.1b1,0.2b1
  23. 24-Feb-2003: 0.3b1,b2
  24. 25-Feb-2003: 0.3b3,b4
  25. 27-Feb-2003: 0.4b1 - with preview
  26. 01-Mar-2003: 0.4b4,5,6 - finally! live sliders
  27. 02-Mar-2003: 0.4b7,8,9,10
  28. 04-Mar-2003: 0.5b1 - first Windows beta released
  29. 08-Mar-2003: 0.5b4 - first Mac 68K build (CW1)
  30. 13-Mar-2003: 0.5b6 - finally caught divide-by-zero in Win version
  31. 15-Mar-2003: 0.5b7 - Mac version uses edit controls, theme, is movable
  32. 16-Mar-2003: 0.6b1,2 - zoomable preview
  33. 16-Mar-2003: 0.6b3 - Windows preview pannable
  34. 16-Mar-2003: 0.6b4 - fix map()
  35. 16-Mar-2003: 0.7b1 - read Mac PARM resources
  36. 18-Mar-2003: 0.7b2 - check for direct host callbacks before using them (preview)
  37. 23-Mar-2003: 0.8b1 - can now make standalone filters (Mac only)
  38. 26-Mar-2003: 0.8b3 - switch to "universal" PowerPC build in one file (inspired by Harald Heim)
  39. 28-Mar-2003: 0.8b4 - Windows version can load PARM resource
  40. 31-Mar-2003: 0.8b5 - Windows version can create standalone (?) NT platform only
  41. 16-May-2003: 0.9b1 - added cnv() function, dmin, mmin
  42. 17-May-2003: 0.9b2 - fix dmin/mmin crash
  43. 17-May-2003: 0.9b3 - add Harry's suggestions: skip comments; other bugfixes
  44. 19-May-2003: 0.9b4 - fix Make... suggested file name bug
  45. 21-Jul-2003: 0.9b5 - fix crash on About box (!!)
  46. 28-Jan-2004: 0.9b6 - fix problems with making standalone on Mac (thanks Chris Greene)
  47. 31-Jan-2004: 1.0b1 - finally fix Win32 standalone filters - building and running
  48. 06-Feb-2004: 1.0b2 - fix bufferSpace computation (Prepare call)
  49. 21-Feb-2004: 1.0f1 - GPL source release
  50. 20-Mar-2004: 1.0f2 - fix code to blank margins of preview... hunting David Owen's crash
  51. 21-Mar-2004: 1.0f3 - alert when pb->inData is NULL - temporary workaround for crash bug
  52. 23-May-2004: 1.0f4 - include missing license(!)
  53. 25-Sep-2004: 1.0f5 - remove debug calls in Win build (!!) - thanks Shiro Akaishi;
  54.                                          fix RC EDITTEXT syntax
  55. 20-Dec-2004: 1.0f6 - fix bug in rad(d,m,z) -- wasn't relative to centre of image!
  56.                                          also ff_c2d, needed to negate x and y arguments to atan2()
  57. 02-Feb-2005: add Win VERSIONINFO
  58. 06-Feb-2005: 1.1a1 - scripting support
  59. 09-Feb-2005: 1.1b1 - incl aete for Windows
  60.                          1.1b2 - oops, forgot scripting.r (aete resource) in 68K build
  61. 10-Feb-2005: 1.1b3 - various mostly cosmetic cleanups; switch to GNU flex and bison in Makefile
  62.                                    - use monospaced font in Win expr text controls
  63.                          1.1b4 - fix crash blooper in make.c (fixpipl)
  64. 11-Feb-2005: 1.1b5 - cosmetic fixes in Mac dialog (right justify slider text, etc)
  65.                          1.1b6 - fix key (hash) calculation for standalones to obey Adobe's stated rules
  66.                          1.1b7 - aaaargh fix stupid hex handling bug in lexer
  67.                          1.1b8 - remove dbg call in lexer (it's late :( )
  68. 24-Jun-2005: 1.1b9 - Mach-O build for CS2/Mac
  69. */
  70.  
  71. #define plugInName "FilterFoundry"
  72. #define VERSION_STR "1.1b9"
  73. #define VERSION_NUM 1,0x10,beta,9
  74. #define VERS_RSRC VERSION_NUM,verAustralia,VERSION_STR,"Filter Foundry " VERSION_STR
  75.  
  76. /* formatted for Win32 VERSIONINFO resource */
  77. #define VI_VERS_NUM 1,1,0,9
  78. #define VI_FLAGS        VS_FF_PRERELEASE /* 0 for final, or any of VS_FF_DEBUG,VS_FF_PATCHED,VS_FF_PRERELEASE,VS_FF_PRIVATEBUILD,VS_FF_SPECIALBUILD */
  79. #define VI_COMMENTS     "Beta of scripting support.\r\n\r\nPlease contact support@telegraphics.com.au with any bug reports, suggestions or comments.\0" /* null terminated Comments field */
  80.  
  81. /* wildcard signature in resources */
  82. #define ANY '    '
  83.