1. 06 Nov, 2007 1 commit
    • 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. 31 Jan, 2007 1 commit
  5. 11 Jan, 2007 1 commit
    • Kevin Cozens's avatar
      From various changes made to Script-Fu in GIMP · 16a8573a
      Kevin Cozens authored
      2007-01-11  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	From various changes made to Script-Fu in GIMP
      
      	* tinyscheme/scheme.c: Don't include malloc.h file. Fixes bug #391195.
      
      	* scripts/Makefile.am
      	* scripts/difference-clouds.scm: Added new script "Difference Clouds"
      	written by Martin Nordholts (bug #363458).
      
      	* scripts/drop-shadow.scm: Removed hyphen from menu entry and
      	description.
      
      	* scripts/old-photo.scm: Fixed crash when Mottle option is selected
      	(mLayer was incorrectly declared).
      
      	* scripts/*.scm: Changed "The GIMP" to just "GIMP" in headers.
      
      svn path=/trunk/; revision=345
      16a8573a
  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. 21 Nov, 2006 1 commit
    • Kevin Cozens's avatar
      Start lines with tabs instead of spaces. · b4761763
      Kevin Cozens authored
      2006-11-21  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* Makefile.am: Start lines with tabs instead of spaces.
      
      	* tinyscheme/Makefile.am: Removed setting of USE_STRCASECMP.
      
      	* tinyscheme/scheme-private.h: Added some function prototypes. Don't
      	use USE_MACRO.
      
      	* tinyscheme/scheme.h: Removed references to USE_STRCASECMP. Added
      	SCHEME_EXPORT to prototype for scheme_set_input_port_file().
      
      	* tinyscheme/scheme.c: Open files in binary mode. Added SCHEME_EXPORT
      	to scheme_set_input_port_file() and scheme_set_output_port_file()
      	declarations. Removed references to USE_STRCASECMP. Renamed stricmp()
      	to utf8_stricmp and updated it to call g_utf8_strcasefold instead of
      	g_utf8_strdown. Added #define to map stricmp to utf8_stricmp.
      
      	* scripts/Makefile.am: Fixed ordering in lists.
      
      	* scripts/grid-system.scm: Don't register in the menus since the
      	script duplicates functionality of a better plug-in.
      
      	* scripts/paste-as-brush.scm: Moved set! to let* block.
      	* scripts/paste-as-pattern.scm: Added let* block to defined variables.
      	* scripts/tiny-fu.init: Don't load script-fu-compat.init here.
      	* scripts/ts-helloworld.scm: Don't translate strings in test scripts.
      b4761763
  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. 13 Oct, 2006 1 commit
  10. 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
  11. 05 Oct, 2006 1 commit
  12. 19 Sep, 2006 1 commit
  13. 18 May, 2006 1 commit
    • Kevin Cozens's avatar
      tinyscheme/CHANGES tinyscheme/scheme.c Updated to version 1.37 of · 9c098c52
      Kevin Cozens authored
      2006-05-18  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	* tinyscheme/CHANGES
      	* tinyscheme/scheme.c
      	* tinyscheme/scheme.h: Updated to version 1.37 of TinyScheme. Adds
      	'reserve_cells' to TinyScheme interface, moves the comment handling
      	which fixes an obscure bug, and a patch for the allocator.
      9c098c52
  14. 17 Apr, 2005 1 commit
    • Kevin Cozens's avatar
      Made readstr_upto() stop reading input when it hits a NUL byte. Fixes · 506b7591
      Kevin Cozens authored
      2005-04-17  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* tinyscheme/scheme.c: Made readstr_upto() stop reading input when it
      	hits a NUL byte. Fixes problem reported by Sam Phillips. Added check
      	for an EOF character in is_one_of() as was in the original version of
      	TinyScheme. Also removed some #if'ed code.
      506b7591
  15. 18 Mar, 2005 1 commit
  16. 17 Mar, 2005 1 commit
    • Kevin Cozens's avatar
      tinyscheme/README · 6aee5e25
      Kevin Cozens authored
      2005-03-17  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* tinyscheme/README
      	* tinyscheme/scheme.h:
      	* tinyscheme/scheme-private.h:
      	* tinyscheme/scheme.c: Added support for UTF-8 coded strings.
      
      	* MAINTAINERS: Added Michael Schumacher as maintainer of Windows
      	Installer for Tiny-Fu.
      
      	* configure.in: Bumped version number to 0.9.8
      6aee5e25
  17. 24 Feb, 2005 1 commit
  18. 19 Nov, 2004 1 commit
    • Kevin Cozens's avatar
      tiny-fu/tiny-fu.c tiny-fu/tiny-fu-scripts.c Added support for · d7a9155e
      Kevin Cozens authored
      2004-11-18  Kevin Cozens  <kcozens@cvs.gimp.org>
      
      	* tiny-fu/tiny-fu.c
      	* tiny-fu/tiny-fu-scripts.c
      	* tiny-fu/tiny-fu-scripts.h: Added support for (tiny-fu-menu-register)
      	to allow scripts to register their menu_paths the same undeprecated
      	way as plug-ins. Fixes bug #158117. Renamed tiny_fu_find_scripts() to
      	tiny_fu_load_all_scripts(). Added calls to gettext() since TinyScheme
      	no longer translates marked strings. In tiny_fu_script_proc() changed
      	some uses of params variable that should have been param.
      
      	* tiny-fu/tiny-fu-interface.c: Added a utility function to reduce
      	code duplication.
      
      	* tiny-fu/ts-wrapper.c: Added support for (tiny-fu-menu-register).
      
      	* tinyscheme/scheme.c: Don't call gettext() on strings marked for
      	translation. De-tabified file.
      
      	* scripts/test-sphere.sct: Example use of new API for scripts.
      d7a9155e
  19. 29 Oct, 2004 1 commit
  20. 25 Oct, 2004 1 commit
  21. 09 Oct, 2004 1 commit
    • Kevin Cozens's avatar
      ftx/Makefile.am re/Makefile.am scripts/Makefile.am · 76544a09
      Kevin Cozens authored
      2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
      
          * ftx/Makefile.am
          * re/Makefile.am
          * scripts/Makefile.am
          * scripts/images/Makefile.am
          * tiny-fu/Makefile.am
          * tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
          list of files to include in a distribution. Fixed typo in filename
          in the re/Makefile.am file.
      76544a09
  22. 07 Oct, 2004 1 commit
  23. 06 Oct, 2004 1 commit