1. 06 Nov, 2007 2 commits
    • Kevin Cozens's avatar
      Completes basic structure for initializing Tiny-Fu to run scripts. · 431a3554
      Kevin Cozens authored
      2007-11-06  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Completes basic structure for initializing Tiny-Fu to run scripts.
      
      	* tiny-fu/tiny-fu.c: Removed some printf()'s used during initial
      	tests. Passed command line is converted back to argc/argv style.
      	Call gimp_main() to complete initialization. Commented out all
      	code in script_fu_query() for now.
      
      svn path=/trunk/; revision=395
      431a3554
    • Kevin Cozens's avatar
      Updated. · de1e6ee7
      Kevin Cozens authored
      2007-11-06  Kevin Cozens  <kcozens@pc.localdomain>
      
      	* TODO: Updated.
      
      	* scripts/script-fu.init: Trivial wording change in a comment block.
      
      	* tiny-fu/tiny-fu.c (tiny_fu_main_init): Get list of command line
      	args which are passed inside a list.
      
      	* tinyscheme/scheme.c: Added command line parsing routine for when
      	TinyScheme is invoked by GIMP. Open script files in binary mode now
      	that UTF-8 coding can be used.
      
      svn path=/trunk/; revision=394
      de1e6ee7
  2. 04 Nov, 2007 1 commit
    • Kevin Cozens's avatar
      This commit breaks Tiny-Fu. It sets up the basic structure needed to run · 1ff78e15
      Kevin Cozens authored
      2007-11-04  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	This commit breaks Tiny-Fu. It sets up the basic structure needed
      	to run Scheme scripts as plug-ins. The TinyScheme interpreter gets
      	called but the tiny-fu extension which ties Scheme and GIMP together
      	needs work.
      
      	* TODO: Added notes about version 2.0 of Tiny-Fu.
      
      	* autogen.sh: Added LIBTOOL support needed to build extensions for
      	TinyScheme.
      
      	* configure.in: Added setting of GIMP_PLUGINDIR. Display a summary
      	of enable/disabled features, and GIMP directories when the script
      	finishes.
      
      	* Makefile.am: Added targets to create and install the tiny-fu.env
      	and tiny-fu.interp files.
      
      	* ftx/Makefile.am:
      	* re/Makefile.am:
      	* tiny-fu/Makefile.am: Build ftx, re, and tiny-fu as run-time
      	loadable extensions for TinyScheme.
      
      	* tiny-fu/tiny-fu.c: Added init_tiny_fu() and tiny_fu_main_init()
      	as first steps of making this a TinyScheme extension.
      
      	* tinyscheme/Makefile.am: Updated to build as standalone Scheme
      	interpreter. Now installs under GIMP_LIBDIR/tiny-fu.
      
      	* scripts/Makefile.am: During testing, only installs test scripts.
      	Install init scripts under GIMP_LIBDIR/tiny-fu. Install regular
      	scripts to the plug-ins directory.
      
      	* scripts/images/Makefile.am: Install under plug-ins directory.
      
      	* tinyscheme/scheme.c: Change to directory specified by TINYFUPATH
      	to find init scripts and loadable extensions. Updated program usage
      	information. Check for "-gimp" when parsing command line arguments.
      
      	* scripts/script-fu.init: Added calls to load script-fu-compat.init
      	and the tiny_fu extension.
      
      svn path=/trunk/; revision=391
      1ff78e15
  3. 29 Oct, 2007 1 commit
    • Kevin Cozens's avatar
      This update brings Tiny-Fu in sync with the Script-Fu plug-in in the 2.4.0 · 59e94b10
      Kevin Cozens authored
      2007-10-29  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	This update brings Tiny-Fu in sync with the Script-Fu plug-in
      	in the 2.4.0 version of GIMP.
      
      	* autogen.sh: Added support for automake 1.10.
      
      	* configure.in: Updated glib/gtk2 needed to match GIMP requirements.
      
      	* ftx/ftx.c:
      	* re/split.c
      	* re/re.c
      	* re/main.c
      	* scripts/*.scm
      	* tiny-fu/*.[ch]
      	* tinyscheme/CHANGES
      	* tinyscheme/Manual.txt
      	* tinyscheme/*.[ch]
      	* tinyscheme/init.scm: Copied files from Script-Fu plug-in of GIMP.
      
      	* tiny-fu/Makefile.am: Added -DSTANDALONE=0 needed by updated code.
      
      	* po/Makefile.in.in: Copied file from Script-Fu plug-in of GIMP.
      
      	* po/POTFILES.in: Updated list of files.
      
      svn path=/trunk/; revision=374
      59e94b10
  4. 16 Mar, 2007 1 commit
    • Kevin Cozens's avatar
      Updated URL for Tiny-Fu. · 08381903
      Kevin Cozens authored
      2007-03-15  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* MAINTAINERS: Updated URL for Tiny-Fu.
      
      	* TODO: Updated.
      
      	* scripts/script-fu-set-cmap.scm: Change location of menu entry to
      	something that makes a bit more sense.
      
      	The following is from changes made to Script-Fu by Michael Natterer.
      
      	* scripts/difference-clouds.scm: use RUN-INTERACTVE instead of 0,
      	added (gimp-displays-flush)
      
      	* scripts/spyrogimp.scm: update the progress to avoid looking like
      	the script hangs. Fixes bug #356677.
      
      	* tiny-fu/script-fu-interface.c (script_fu_interface_report_cc): if
      	the command starts with "gimp-progress-", the script is obviously
      	showing a progress bar for itself, so clear the text instead of
      	showing an endless number of "gimp-progress-update" messages. Also
      	fixed manual main loop iteration.
      
      svn path=/trunk/; revision=350
      08381903
  5. 31 Jan, 2007 1 commit
  6. 10 Dec, 2006 2 commits
    • Kevin Cozens's avatar
      This completes syncing of Tiny-Fu with the Script-Fu plug-in of GIMP. Also · c8673ae9
      Kevin Cozens authored
      2006-12-09  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	This completes syncing of Tiny-Fu with the Script-Fu plug-in of GIMP.
      	Also switches handling of GIMP PDB ARRAY types to using vectors in
      	Scheme instead of using the previously hacked on array type.
      
      	* tiny-fu/tiny-fu-console.c
      	* tiny-fu/tiny-fu-console.h
      	* tiny-fu/tiny-fu-enums.h
      	* tiny-fu/tiny-fu-interface.c
      	* tiny-fu/tiny-fu-interface.h
      	* tiny-fu/tiny-fu-intl.h
      	* tiny-fu/tiny-fu-scripts.c
      	* tiny-fu/tiny-fu-scripts.h
      	* tiny-fu/tiny-fu-server.c
      	* tiny-fu/tiny-fu-server.h
      	* tiny-fu/tiny-fu-text-console.c
      	* tiny-fu/tiny-fu-text-console.h
      	* tiny-fu/tiny-fu-types.h
      	* tiny-fu/tiny-fu.c
      	* tiny-fu/ts-wrapper.c
      	* tiny-fu/ts-wrapper.h: Copied files from Script-Fu plug-in of GIMP.
      	Renamed files as appropriate for Tiny-Fu. Updated #include statements
      	to refer to correct file name as used in Tiny-Fu.
      
      	* tinyscheme/opdefines.h
      	* tinyscheme/scheme-private.h: Completed the removal of the hacked
      	on array type.
      c8673ae9
    • Kevin Cozens's avatar
      This big patch brings Tiny-Fu in sync with the Script-Fu plug-in of GIMP. · 9dc429e4
      Kevin Cozens authored
      2006-12-09  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	This big patch brings Tiny-Fu in sync with the Script-Fu plug-in
      	of GIMP. This will make it easier to it in sync with Script-Fu.
      
      	* tiny-fu/Makefile.am: Removed USE_STRCASECMP. Use the setting for
      	USE_STRLWR that is used in TinyScheme.
      
      	* tiny-fu/tiny-fu-console.c:
      	* tiny-fu/tiny-fu-console.h:
      	* tiny-fu/tiny-fu-interface.c:
      	* tiny-fu/tiny-fu-interface.h:
      	* tiny-fu/tiny-fu-scripts.c:
      	* tiny-fu/tiny-fu-scripts.h:
      	* tiny-fu/tiny-fu-text-console.c:
      	* tiny-fu/tiny-fu-types.h:
      	* tiny-fu/tiny-fu.c:
      	* tiny-fu/ts-wrapper.c:
      	* tiny-fu/ts-wrapper.h: Updated with the latest copy of these files
      	from the Script-Fu plug-in in the CVS version of GIMP. This includes
      	the change to the use of vectors instead of the hacked on array data
      	type to handle GIMP's PDB ARRAY argument types.
      
      	* tinyscheme/CHANGES: Updated to 1.38 version in TinyScheme.
      
      	* tinyscheme/scheme.c: Added some changes from the 1.38 version of
      	TinyScheme. Added fix for bug #1589701 (reported on SourceForge.net).
      
      	* tinyscheme/scheme.h: Added a prototype to quiet the compiler. Added
      	one change from the 1.38 version of TinyScheme.
      
      	* scripts/script-fu-compat.init: Added delq, make-list, prin1, and
      	print. Corrected name of unstrbreakup to unbreakupstr and fixed bug
      	in it. Fixed butlast to handle lists with one entry. Changes to use
      	native vector data type in aref, aset!, and cons-array.
      
      	* scripts/erase-rows.scm
      	* scripts/hsv-graph.scm: don't ever use the term "drawable" in
      	user-visible strings.
      
      	* scripts/3d-outline.scm:
      	* scripts/paste-as-pattern.scm: Formatting changes.
      
      	* scripts/test-sphere.scm: Show how to use named constants in register
      	block. Added SF-VECTORS entry to register block.
      9dc429e4
  7. 18 Nov, 2006 1 commit
  8. 16 Oct, 2006 1 commit
    • Kevin Cozens's avatar
      Updated. · 2efad8a9
      Kevin Cozens authored
      2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* TODO: Updated.
      
      	* tiny-fu/tiny-fu-console.c
      	* tiny-fu/tiny-fu-console.h: Fixed some minor user interface and
      	coding style issues. From a change made by Sven Neumann to Script-Fu.
      
      	* tinyscheme/scheme.c: Eliminated compiler warnings.
      
      	* scripts/script-fu-compat.init: Added 'nil'.
      2efad8a9
  9. 12 Oct, 2006 1 commit
    • Kevin Cozens's avatar
      The changes below (except for init.scm) were found during the work of · c52e3386
      Kevin Cozens authored
      2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	The changes below (except for init.scm) were found during the work
      	of updating the GIMP Script-Fu plug-in to become Tiny-Fu.
      
      	* tiny-fu/tiny-fu-console.c
      	* tiny-fu/tiny-fu-interface.c
      	* tiny-fu/tiny-fu-scripts.c
      	* tiny-fu/tiny-fu-server.c
      	* tiny-fu/tiny-fu-text-console.c
      	* tiny-fu/tiny-fu.c: Various minor bug fixes and changes to bring
      	Tiny-Fu up-to-date with changes made in Script-Fu.
      
      	* scripts/*.scm: Applied patch from Saul Goode with review and
      	localisation of Script-Fu procedure blurbs (bug #351283). Also
      	some formatting changes.
      
      	* tinyscheme/init.scm: Updated based on version 1.38 of TinyScheme.
      c52e3386
  10. 05 Oct, 2006 2 commits
  11. 29 Sep, 2006 1 commit
    • Kevin Cozens's avatar
      Changes for increased compatability with Script-Fu scripts. · bd5f19dd
      Kevin Cozens authored
      2006-09-29  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Changes for increased compatability with Script-Fu scripts.
      
      	* tiny-fu/tiny-fu-scripts.c:
      	* tiny-fu/ts-wrapper.c: Changed references of tiny-fu*-register to
      	script-fu*-register, tiny-fu-path to script-fu-path, and tiny-fu-quit
      	to script-fu-quit.
      
      	* scripts/*.scm: All scripts changed to use script-fu-... instead
      	of tiny-fu-... in function names and in the register call.
      bd5f19dd
  12. 26 Sep, 2006 1 commit
    • Kevin Cozens's avatar
      Changes to use the same filename ending for scripts as Script-Fu. · 16dbb762
      Kevin Cozens authored
      2006-09-25  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Changes to use the same filename ending for scripts as Script-Fu.
      
      	* tiny-fu/tiny-fu-scripts.c: Look for scripts with .scm extension.
      
      	* TODO
      	* po/POTFILES.in
      	* scripts/Makefile.am
      	* scripts/*.scm: All script files now have .scm extension.
      16dbb762
  13. 19 Sep, 2006 1 commit
  14. 11 Aug, 2006 1 commit
  15. 07 Aug, 2006 1 commit
  16. 20 Jul, 2006 1 commit
  17. 02 Jul, 2006 1 commit
    • Kevin Cozens's avatar
      Added reverse-layers.sct. Moved ts-helloworld.sct to the list of test · dc8ebb6d
      Kevin Cozens authored
      2006-07-02  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* scripts/Makefile.am: Added reverse-layers.sct. Moved
      	ts-helloworld.sct to the list of test scripts.
      
      	* scripts/reverse-layers.sct: new script from Akkana Peck which
      	reverses the layers in an image.
      
      	* tiny-fu/tiny-fu.c
      	* scripts/3d-outline.sct
      	* scripts/3dTruchet.sct
      	* scripts/alien-glow-arrow.sct
      	* scripts/alien-glow-bar.sct
      	* scripts/alien-glow-bullet.sct
      	* scripts/alien-glow-button.sct
      	* scripts/alien-glow-logo.sct
      	* scripts/alien-neon-logo.sct
      	* scripts/basic1-logo.sct
      	* scripts/basic2-logo.sct
      	* scripts/beveled-button.sct
      	* scripts/beveled-pattern-arrow.sct
      	* scripts/beveled-pattern-bullet.sct
      	* scripts/beveled-pattern-button.sct
      	* scripts/beveled-pattern-heading.sct
      	* scripts/beveled-pattern-hrule.sct
      	* scripts/blended-logo.sct
      	* scripts/bovinated-logo.sct
      	* scripts/camo.sct
      	* scripts/carved-logo.sct
      	* scripts/chalk.sct
      	* scripts/chip-away.sct
      	* scripts/chrome-logo.sct
      	* scripts/comic-logo.sct
      	* scripts/contactsheet.sct
      	* scripts/coolmetal-logo.sct
      	* scripts/crystal-logo.sct
      	* scripts/flatland.sct
      	* scripts/frosty-logo.sct
      	* scripts/gimp-headers.sct
      	* scripts/gimp-labels.sct
      	* scripts/glossy.sct
      	* scripts/glowing-logo.sct
      	* scripts/gradient-bevel-logo.sct
      	* scripts/guides-new.sct
      	* scripts/i26-gunya2.sct
      	* scripts/land.sct
      	* scripts/neon-logo.sct
      	* scripts/news-text.sct
      	* scripts/pupi-button.sct
      	* scripts/rendermap.sct
      	* scripts/sota-chrome-logo.sct
      	* scripts/speed-text.sct
      	* scripts/sphere.sct
      	* scripts/starburst-logo.sct
      	* scripts/starscape-logo.sct
      	* scripts/swirltile.sct
      	* scripts/swirly-pattern.sct
      	* scripts/t-o-p-logo.sct
      	* scripts/test-sphere.sct
      	* scripts/text-circle.sct
      	* scripts/textured-logo.sct
      	* scripts/title-header.sct
      	* scripts/truchet.sct
      	* scripts/ts-helloworld.sct: Move the script categories that were
      	in Xtns->Tiny-Fu directly into Xtns. Language specific tools (e.g.
      	Refresh, Console) remain in language-specific menus. Bug #145507.
      	Based on changes made by Akkana Peck to Script-Fu.
      dc8ebb6d
  18. 30 Jun, 2006 1 commit
  19. 27 Jun, 2006 1 commit
    • Kevin Cozens's avatar
      Updated due to change in API CVS version of GIMP. Use replacements for · d8d2dcbf
      Kevin Cozens authored
      2006-06-27  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/tiny-fu-interface.c: Updated due to change in API CVS
      	version of GIMP. Use replacements for gimp_foo_select widgets,
      	akin to GimpFontSelectButton. Based on changes made by Manish
      	Singh to Script-Fu.
      
      	* tiny-fu/ts-wrapper.c: Updated now that INT8 is an unsigned data
      	type. Moved 'success' test when parsing arguments to 'for' loop.
      
      	* configure.in: Updated to require version 2.3.10 of GIMP.
      
      	* autogen.sh: Updated to require newer versions of build tools.
      d8d2dcbf
  20. 23 Jun, 2006 2 commits
  21. 21 Jun, 2006 1 commit
  22. 17 Jun, 2006 3 commits
    • Kevin Cozens's avatar
      When cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS. From · f9c69699
      Kevin Cozens authored
      2006-06-17  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/tiny-fu-interface.c (script_fu_interface): When cutting
      	away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS. From a
      	change made to Script-Fu by Sven Neumann.
      f9c69699
    • Kevin Cozens's avatar
      Removed the About dialog. That information is available from the Procedure · 0f288d8b
      Kevin Cozens authored
      2006-06-17  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/tiny-fu-interface.c: Removed the About dialog. That
      	information is available from the Procedure Browser and scripts
      	should look and feel as much like plug-ins as possible. From a
      	change made to Script-Fu by Sven Neumann.
      0f288d8b
    • Kevin Cozens's avatar
      Based on changes made to Script-Fu by Sven Neumann. · c06b7415
      Kevin Cozens authored
      2006-06-16  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Based on changes made to Script-Fu by Sven Neumann.
      
      	* tiny-fu/tiny-fu-types.h (struct SFScript): Renamed member "help"
      	to "blurb" since that's what it is being used for when the script
      	procedure is registered.
      
      	* tiny-fu/tiny-fu-interface.c
      	* tiny-fu/tiny-fu-scripts.c: Changed accordingly.
      
      	* tiny-fu/tiny-fu-scripts.c (tiny_fu_add_script): Use a canonical
      	name for the automatically added run-mode parameter.
      c06b7415
  23. 10 Jun, 2006 2 commits
    • Kevin Cozens's avatar
      Reduced redundant code by using the same code for all INT32 PDB types. · 15c39ca3
      Kevin Cozens authored
      2006-06-09  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/ts-wrapper.c (marshall_proc_db_call): Reduced redundant
      	code by using the same code for all INT32 PDB types. Based in part
      	on changes made in Script-Fu by Sven Neumann. Wrong member name was
      	being used for INT16 and INT8 return types.
      
      	* tiny-fu/tiny-fu-scripts.c: Missed 'sc' in one call to my_err().
      15c39ca3
    • Kevin Cozens's avatar
      Based on changes made to Script-Fu by Sven Neumann. · 93b490e3
      Kevin Cozens authored
      2006-06-09  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Based on changes made to Script-Fu by Sven Neumann.
      
      	* tiny-fu/tiny-fu-scripts.c
      	* tiny-fu/ts-wrapper.c: Allow CSS color keywords to be used in
      	place of the '(r g b) color notation.
      
      	* scripts/test-sphere.sct: Documented this new feature.
      93b490e3
  24. 07 Jun, 2006 1 commit
  25. 05 Jun, 2006 2 commits
    • Kevin Cozens's avatar
      Oops...the tiny_fu_find_scripts() routine was renamed to · 33c6fcb1
      Kevin Cozens authored
      2006-06-05  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/tiny-fu.c: Oops...the tiny_fu_find_scripts() routine was
      	renamed to tiny_fu_load_all_scripts().
      
      	* scripts/Makefile.am: Moved the .init files in to EXTRA_DIST.
      33c6fcb1
    • Kevin Cozens's avatar
      tiny-fu/tiny-fu.c tiny-fu/tiny-fu-interface.c Display a message if user · 3f0278b0
      Kevin Cozens authored
      2006-06-05  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tiny-fu/tiny-fu.c
      	* tiny-fu/tiny-fu-interface.c
      	* tiny-fu/tiny-fu-interface.h: Display a message if user tries to use
      	"Refresh Scripts" menu entry when a Tiny-Fu script has already opened
      	a dialog box. Fixes bug #330981.
      
      	* tiny-fu/tiny-fu.c: Moved the language specific tools
      	(e.g. Refresh, Console) into Xtns->Tiny-Fu.
      
      	* tiny-fu/ts-wrapper.c (init_procedures): The gimp-proc-db-call
      	symbol was not being marked as immutable.
      3f0278b0
  26. 02 Jun, 2006 1 commit
  27. 30 May, 2006 1 commit
  28. 27 May, 2006 1 commit
    • Kevin Cozens's avatar
      Based on changes made to Script-Fu by Sven Neumann. · 271bb17b
      Kevin Cozens authored
      2006-05-27  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Based on changes made to Script-Fu by Sven Neumann.
      
      	* tiny-fu/tiny-fu-interface.c
      	* tiny-fu/tiny-fu-scripts.c
      	* tiny-fu/tiny-fu-types.h: Use GtkFileChooserButton for SF_FILENAME
      	and SF_DIRNAME parameters.
      271bb17b
  29. 18 May, 2006 2 commits
  30. 18 Feb, 2006 2 commits