Commit Graph

1034 Commits

Author SHA1 Message Date
Kevin Cozens 1035b7fab4 use RUN-NONINTERACTIVE for the run-mode where 0 was used instead.
2007-10-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: use RUN-NONINTERACTIVE
	for the run-mode where 0 was used instead.

svn path=/trunk/; revision=23712
2007-10-01 20:31:12 +00:00
Sven Neumann 1a75b7258e use RUN-NONINTERACTIVE for the run-mode where 1 was used instead.
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: use RUN-NONINTERACTIVE for 
the
	run-mode where 1 was used instead.


svn path=/trunk/; revision=23707
2007-10-01 19:44:23 +00:00
Sven Neumann 3b930bb1a8 plug-ins/script-fu/scripts/rendermap.scm
2007-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/distress-selection.scm
	* plug-ins/script-fu/scripts/old-photo.scm
	* plug-ins/script-fu/scripts/unsharp-mask.scm
	* plug-ins/script-fu/scripts/tileblur.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/camo.scm: use RUN-NONINTERACTIVE for
	the run-mode instead of TRUE.

svn path=/trunk/; revision=23700
2007-10-01 08:42:48 +00:00
Sven Neumann 4c0b47c34d allocate the ConsoleInterface struct on the stack.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: allocate the
	ConsoleInterface struct on the stack.


svn path=/trunk/; revision=23685
2007-09-28 17:26:15 +00:00
Kevin Cozens 14eb770a4c Made all the functions defined in the file local instead of global to
2007-09-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/addborder.scm: Made all the functions
	defined in the file local instead of global to avoid possible
	conflicts with other scripts.

svn path=/trunk/; revision=23684
2007-09-28 16:13:58 +00:00
Sven Neumann 4d77d9a2d1 plugged memory leaks.
2007-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c: plugged memory leaks.

	* libgimpbase/gimpprotocol.c (gp_params_destroy): formatting.

svn path=/trunk/; revision=23683
2007-09-28 14:20:35 +00:00
Kevin Cozens 0cb80bdcd8 Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.
2007-09-27  Kevin Cozens  <kcozens@cvs.gnome.org>

	Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Added set_run_mode_constant()
	which creates a new constant called SF-RUN-MODE. This constant can
	be used by Script-Fu scripts when calling a plug-in that needs to
	know the current run mode.

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-server.c: Added calls to create the
	new SF-RUN-MODE constant.

	* plug-ins/script-fu/scripts/difference-clouds.scm: Pass SF-RUN-MODE
	to the solid noise plug-in instead of always using RUN-INTERACTIVE.

svn path=/trunk/; revision=23674
2007-09-27 19:54:28 +00:00
Sven Neumann c2020bf56d fixed GimpImageType parameter passed to gimp-layer-new. Do not register
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: fixed GimpImageType
	parameter passed to gimp-layer-new. Do not register the script for
	grayscale images, it doesn't handle them properly.

svn path=/trunk/; revision=23667
2007-09-27 10:45:03 +00:00
Sven Neumann b774625eee unified error messages, removed trailing newlines.
2007-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c: unified error
	messages, removed trailing newlines.

svn path=/trunk/; revision=23666
2007-09-27 10:27:46 +00:00
Kevin Cozens 0bd67f281f Applied patch from Ulf-D. Ehlert which pushes and pops a context to
2007-09-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/fuzzyborder.scm: Applied patch from
	Ulf-D. Ehlert which pushes and pops a context to prevent
	changing background colour in the UI. Fixes bug #479974.

svn path=/trunk/; revision=23648
2007-09-25 05:17:35 +00:00
Sven Neumann 6e412c1e42 applied patch from Ulf-D. Ehlert which fixes a bug which may shrink the
2007-09-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/drop-shadow.scm: applied patch from
	Ulf-D. Ehlert which fixes a bug which may shrink the image instead
	of enlarging it (bug #478385).

svn path=/trunk/; revision=23636
2007-09-24 08:00:14 +00:00
Simon Budig 24f9ed8446 further simplifications.
2007-09-22  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: further simplifications.


svn path=/trunk/; revision=23614
2007-09-22 18:03:39 +00:00
Kevin Cozens 9a5e22bdf5 Applied modified patch from Simon Budig. Any bytes read from a file which
2007-09-21  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Applied
	modified patch from Simon Budig. Any bytes read from a file which
	are not valid UTF-8 characters will be ignored. Fixes bug #476356.

svn path=/trunk/; revision=23613
2007-09-21 23:53:03 +00:00
Kevin Cozens df8ba63817 Removed 'from-selection'. Reset active layer after calling
2007-09-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/lava.scm: Removed 'from-selection'.
	Reset active layer after calling gimp-selection-save. Modified
	version of patch from Jakub Friedl which fixes bug #476672. Don't
	add alpha if drawable already has alpha. Minor format changes.

svn path=/trunk/; revision=23534
2007-09-13 20:37:17 +00:00
Sven Neumann 5554d0b1d6 plug-ins/script-fu/scripts/burn-in-anim.scm removed newlines from
2007-09-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm: removed newlines from
	translatable strings. Fixes bug #475553.


svn path=/trunk/; revision=23496
2007-09-11 06:13:21 +00:00
Michael Natterer 9112c91dfb applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS. On
2007-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS.
	On top of that, factored out script_fu_collect_standard_args()
	which collects DISPLAY,IMAGE,[DRAWABLE|LAYER|...] from the passed
	parameters according to the new calling conventions (the old code
	for INTERACTIVE was broken). Also cleaned up the function a bit.
	Fixes bug #472493.


svn path=/trunk/; revision=23474
2007-09-07 14:43:26 +00:00
Kevin Cozens c3ec9e82e9 Preserve aspect ratio of original images. Center thumbnails in space above
2007-09-06  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/contactsheet.scm: Preserve aspect ratio
	of original images. Center thumbnails in space above filename label.
	Added new sheet size of 1600x1200 pixels. Changed a dialog label.

svn path=/trunk/; revision=23470
2007-09-06 19:50:00 +00:00
Simon Budig 2048979560 quick fix: raise the cell segment size as well as the number of possible
2007-09-06  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: quick fix:
	raise the cell segment size as well as the number of possible
	segments to reduce the likelihood of a failing (make-vector)

	(yes, this is a hack and no proper fix)


svn path=/trunk/; revision=23465
2007-09-05 23:18:10 +00:00
Simon Budig 8d42d089ca plug-ins/script-fu/tinyscheme/scheme.[ch] make it possible for foreign
2007-08-31  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/tinyscheme/scheme-private.h: make it possible
	for foreign functions to return an error.

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/scheme-wrapper.c: Make use of this.
	Fixes bug #472026.


svn path=/trunk/; revision=23432
2007-08-31 19:35:26 +00:00
Simon Budig a333d6c660 plug-ins/script-fu/scheme-wrapper.c
2007-08-30  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/scheme-wrapper.h: Shuffeled some
	code around to have scheme.c not include scheme-wrapper.h.


svn path=/trunk/; revision=23411
2007-08-30 12:52:42 +00:00
Kevin Cozens 667d6eac9b Applied the change suggested in SourceForge bug #1593861 that fixes the
2007-08-29  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Applied the change suggested
	in SourceForge bug #1593861 that fixes the case where integer? thinks
	non-numbers are sometimes integers.

svn path=/trunk/; revision=23402
2007-08-30 00:33:50 +00:00
Simon Budig 0928a32a21 plug-ins/script-fu/tinyscheme/scheme.[ch] small changes to tinyscheme -
2007-08-30  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.[ch]
	* plug-ins/script-fu/tinyscheme/scheme-private.h: small changes
	to tinyscheme - mostly removing workarounds for message output.

	* plug-ins/script-fu/scheme-wrapper.[ch]: try to channel the
	output through a central function, have various output functions
	to handle the messages. Remove some hacks.

	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu-console.[ch]: use the new
	infrastructure. Remove more hacks.

	* plug-ins/script-fu/servertest.py: small script to test the
	communication with the script-fu-server.


svn path=/trunk/; revision=23400
2007-08-30 00:21:20 +00:00
Sven Neumann e05f208e62 plug-ins/script-fu/scripts/Makefile.am removed fade-outline script. Fixes
2007-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/fade-outline.scm: removed
	fade-outline script. Fixes bug #466382.


svn path=/trunk/; revision=23262
2007-08-14 22:40:16 +00:00
Kevin Cozens 2dfb1e5193 Use the string length in bytes passed in instead of recalculating it.
2007-08-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Use the
	string length in bytes passed in instead of recalculating it.

	* plug-ins/script-fu/tinyscheme/scheme.c: Added comment.

svn path=/trunk/; revision=23239
2007-08-13 16:39:16 +00:00
Sven Neumann 24a2252a9a removed now unneeded _skey member from union. Part of the revert of bug
2007-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: removed now
	unneeded _skey member from union. Part of the revert of bug 
#374854.


svn path=/trunk/; revision=23209
2007-08-11 15:29:40 +00:00
Kevin Cozens ef3bce7b6b Commited patch from Sven Neumann that reverts the optimization patch which
2007-08-11  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Commited patch from
	Sven Neumann that reverts the optimization patch which stored
	collation keys. See bug #374854.

svn path=/trunk/; revision=23207
2007-08-11 14:51:04 +00:00
Sven Neumann 60ea36beb6 added more mappings from old to new Script-Fu menu locations.
2007-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
	added more mappings from old to new Script-Fu menu locations.


svn path=/trunk/; revision=23128
2007-08-06 22:54:03 +00:00
Sven Neumann 589edd0251 added a map from old to new Script-Fu submenus (to be extended).
2007-08-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
	added a map from old to new Script-Fu submenus (to be extended).


svn path=/trunk/; revision=23111
2007-08-03 19:39:41 +00:00
Sven Neumann c487e62e89 moved contactsheet.scm to test_SCRIPTS. We should look at it again after
2007-07-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am: moved contactsheet.scm
	to test_SCRIPTS. We should look at it again after the 2.4 release.


svn path=/trunk/; revision=23010
2007-07-26 09:26:50 +00:00
Sven Neumann c9f3acfcf4 plug-ins/script-fu/scripts/chrome-it.scm
2007-07-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/selection-round.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/swirltile.scm
	* plug-ins/script-fu/scripts/waves-anim.scm: added leading zero to
	floating point numbers.

svn path=/trunk/; revision=22910
2007-07-11 09:07:45 +00:00
Kevin Cozens a9e36ed3b0 TinyScheme doesn't like inexact numbers to start with a decimal point.
2007-07-10  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/3dTruchet.scm: TinyScheme doesn't like
        inexact numbers to start with a decimal point. Added leading '0' to
        two instances of '.2'.

svn path=/trunk/; revision=22908
2007-07-10 21:45:28 +00:00
Sven Neumann 1140960d35 hardcode the built-in units. Dynamically constructing the constants using
2007-06-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c (init_constants): hardcode
	the built-in units. Dynamically constructing the constants using
	gimp_unit_get_singular() doesn't work because it returns a
	translated string.

svn path=/trunk/; revision=22804
2007-06-20 10:54:28 +00:00
Sven Neumann c622b604d7 applied patch from Eric Lamarque with some minor modifications. Fixes the
2007-06-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
	applied patch from Eric Lamarque with some minor modifications.
	Fixes the remaining aspect of bug #438997.

svn path=/trunk/; revision=22803
2007-06-20 10:23:32 +00:00
Kevin Cozens 182b2e27f8 Update "cursor" after writing characters to a string buffer. Fixes bug
2007-06-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (putchars): Update "cursor"
	after writing characters to a string buffer. Fixes bug #446884.

svn path=/trunk/; revision=22774
2007-06-13 15:47:01 +00:00
Kevin Cozens dabf16b162 Applied patch from Daniel Richard G. that defines SCHEME_EXPORT as extern
2007-06-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.h: Applied patch from Daniel
	Richard G. that defines SCHEME_EXPORT as extern for non-Windows
	systems. Fixes bug #444964.

svn path=/trunk/; revision=22747
2007-06-08 15:32:23 +00:00
Mukund Sivaraman c2d1214551 Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.
2007-06-06  Mukund Sivaraman  <muks@mukund.org>

        Changed "The GIMP" to "GIMP" everywhere, where it's used as a name.


svn path=/trunk/; revision=22715
2007-06-06 08:44:52 +00:00
Sven Neumann 6ebc273959 applied patch from Saul Goode that enables Distress Selection for
2007-06-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: applied patch
	from Saul Goode that enables Distress Selection for grayscale images.

svn path=/trunk/; revision=22706
2007-06-04 16:18:32 +00:00
Kevin Cozens ca3c9634a4 Removed spurious call to 'gimp-image-undo-disable'. From a patch by Saul
2007-06-03  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/round-corners.scm: Removed spurious
	call to 'gimp-image-undo-disable'. From a patch by Saul Goode.

svn path=/trunk/; revision=22697
2007-06-04 00:43:19 +00:00
Mukund Sivaraman eedd56c67a plug-ins/script-fu/re/split.c plug-ins/script-fu/re/split.h
2007-05-30  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/script-fu/re/split.c
        * plug-ins/script-fu/re/split.h
        * plug-ins/script-fu/re/main.c
        * plug-ins/script-fu/re/Makefile.am: Created a header file (split.h)
        and added a prototype for split().


svn path=/trunk/; revision=22661
2007-05-30 12:02:11 +00:00
Mukund Sivaraman f67306c1d3 Added missing include.
2007-05-30  Mukund Sivaraman  <muks@mukund.org>

        * app/tools/gimpdrawtool.c: Added missing include.

        * app/tools/gimpbycolorselecttool.c: Removed unused variable.

        * app/plug-in/gimpenvirontable.c: Added cast for callback function.

        * plug-ins/script-fu/tinyscheme/scheme.c: Correctly cast pointer to
        an long integer type.


svn path=/trunk/; revision=22659
2007-05-30 11:49:14 +00:00
Kevin Cozens 0ce5d22b3b plug-ins/script-fu/script-fu-text-console.c plug-ins/script-fu/script-fu.c
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Applied slightly modified
	patch from Eric Lamarque that makes use of TinyScheme's interactive
	mode for the text console in Script-Fu. Fixes bug #440674.

svn path=/trunk/; revision=22622
2007-05-25 17:45:49 +00:00
Kevin Cozens 32259b03dc Missed commit of this file.
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/Makefile.am: Missed commit of this file.

	* plug-ins/script-fu/scheme-wrapper.h:
	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): Updated
	to expect a 'const char *' and an int but no file pointer.

	* plug-ins/script-fu/tinyscheme/scheme.c:
	* plug-ins/script-fu/tinyscheme/scheme.h: Changes due to use of
	'const char *' for ts_output_routine.

svn path=/trunk/; revision=22620
2007-05-25 16:26:46 +00:00
Kevin Cozens c87485d1bf This is the first part of fixing bugs #438997 and #440674.
2007-05-25  Kevin Cozens  <kcozens@cvs.gnome.org>

	This is the first part of fixing bugs #438997 and #440674. 

	* plug-ins/script-fu/scheme-wrapper.c: Removed ts_output_routine
	declaration from here...

	* plug-ins/script-fu/tinyscheme/scheme.h: and added it here.

	* plug-ins/script-fu/tinyscheme/scheme.c (putchars): Updated to be
	smarter about where it's output needs to be sent.

svn path=/trunk/; revision=22619
2007-05-25 15:58:09 +00:00
Sven Neumann 017ff2e06d plug-ins/script-fu/script-fu-scripts.c use GSlice to allocate structs.
2007-05-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-interface.c: use GSlice to allocate
	structs.

svn path=/trunk/; revision=22568
2007-05-22 14:20:08 +00:00
Kevin Cozens a479f0da28 Applied patch from Eric Lamarque that optimizes backchar() use. See bug
2007-05-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Applied patch from
	Eric Lamarque that optimizes backchar() use. See bug #374854.

svn path=/trunk/; revision=22528
2007-05-17 20:24:49 +00:00
Michael Natterer 8de797e0fa app/widgets/gimpthumbbox.c libgimp/gimpprogressbar.c use Gtk functions to
2007-05-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpthumbbox.c
	* libgimp/gimpprogressbar.c
	* plug-ins/script-fu/script-fu-interface.c: use Gtk functions to
	manually iterate the main loop because they release the Gdk lock
	correctly around calling the GLib main loop functions.


svn path=/trunk/; revision=22516
2007-05-16 20:19:31 +00:00
Sven Neumann 8444fb1ecb readded (better) code to deal with full menu paths.
2007-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c 
(script_fu_interface):
	readded (better) code to deal with full menu paths.


svn path=/trunk/; revision=22515
2007-05-16 20:14:35 +00:00
Sven Neumann 8684b3267c removed code that used to deal with full menu paths. All our scripts use
2007-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	removed code that used to deal with full menu paths. All our
	scripts use script-fu-menu-register now.

svn path=/trunk/; revision=22512
2007-05-16 16:34:48 +00:00
Sven Neumann 147cb67322 plug-ins/script-fu/scripts/selection-round.scm unmarked strings for
2007-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm
	* plug-ins/script-fu/scripts/copy-visible.scm: unmarked strings for
	translation.

2007-05-16  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: removed copy-visible.scm.

	* de.po: fixed incorrect translation.

svn path=/trunk/; revision=22511
2007-05-16 16:28:04 +00:00
Sven Neumann 7f97073527 renamed "Utils" to "Utilities".
2007-05-15  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/script-fu.c (script_fu_extension_init):
        renamed "Utils" to "Utilities".


svn path=/trunk/; revision=22498
2007-05-15 19:18:29 +00:00
Kevin Cozens 656a6d8639 Use 'img' and not 'new-img' in make-thumbnail-size routine. Moved menu
2007-05-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/contactsheet.scm: Use 'img' and not
	'new-img' in make-thumbnail-size routine. Moved menu entry from
	Xtns/Utils to Xtns/Utilities. See bug #132532.

svn path=/trunk/; revision=22497
2007-05-15 18:53:36 +00:00
Kevin Cozens 4b2000bd1d Allow any number type in a vector to be passed in PDB call as an
2007-05-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Allow
	any number type in a vector to be passed in PDB call as an INT*ARRAY.
	Updated error messages accordingly. Fixes bug #435640.

svn path=/trunk/; revision=22495
2007-05-15 16:45:51 +00:00
Sven Neumann 936324adfe focus the console entry, set the cursor position to the first parameter
2007-05-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c 
(script_fu_browse_response):
	focus the console entry, set the cursor position to the first
	parameter and present the console window.


svn path=/trunk/; revision=22460
2007-05-09 12:29:19 +00:00
Simon Budig 196dda778e make gimp-edit-paste-as-new not fail at an empty clipboard, but return -1
2007-05-05  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/edit.pdb: make gimp-edit-paste-as-new not fail
	at an empty clipboard, but return -1 as image id.

	* app/pdb/edit_cmds.c
	* libgimp/gimpedit_pdb.c: regenerated.

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Changed
	accordingly, fixes bug #357059.

	* modules/controller_linux_input.c: changed some axis names to
	make more sense.


svn path=/trunk/; revision=22429
2007-05-06 04:42:51 +00:00
Sven Neumann 32d6d421c6 added missing ellipsis to menu label and fixed default fonts.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/contactsheet.scm: added missing
	ellipsis to menu label and fixed default fonts.


svn path=/trunk/; revision=22415
2007-05-04 14:42:27 +00:00
Sven Neumann 7473d7e505 added missing ellipsis to menu label and corrected menu location.
2007-05-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: added missing
	ellipsis to menu label and corrected menu location.

svn path=/trunk/; revision=22414
2007-05-04 14:29:19 +00:00
Sven Neumann 5dc6e7ed2a applied patch from Eric Lamarque that fixes Script-Fu server output (bug
2007-05-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c (ts_get_error_msg): applied
	patch from Eric Lamarque that fixes Script-Fu server output
	(bug #431623).

svn path=/trunk/; revision=22378
2007-05-02 12:23:12 +00:00
Sven Neumann 25e1872f78 fixed typo in procedure name (bug #433772).
2007-04-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/truchet.scm: fixed typo in 
procedure
	name (bug #433772).


svn path=/trunk/; revision=22352
2007-04-27 06:24:15 +00:00
Sven Neumann 04dfa6366a enable word-wrapping in the Script-Fu console.
2007-04-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: enable word-wrapping 
in
	the Script-Fu console.


svn path=/trunk/; revision=22291
2007-04-20 11:14:27 +00:00
Sven Neumann ef339861d7 applied slightly modified patch from Aurimas Ju?ka which fixes bug #167260
2007-04-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/neon-logo.scm: applied slightly
	modified patch from Aurimas Ju?ka which fixes bug #167260 by not
	allowing the selection to shrink too much.


svn path=/trunk/; revision=22263
2007-04-17 15:15:07 +00:00
Sven Neumann 65f2809545 if a plug-in or script registered with a DISPLAY argument after the
2007-04-12  Sven Neumann  <sven@gimp.org>

	* app/actions/plug-in-commands.c: if a plug-in or script
	registered with a DISPLAY argument after the run-mode argument,
	then pass the ID of the active display to the script, optionally
	followed by image and drawable IDs.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: added SF-DISPLAY parameter.

svn path=/trunk/; revision=22241
2007-04-12 15:56:57 +00:00
Kevin Cozens 16251836ac Fixed syntax error in string-trim-left function (spotted by Saul Goode).
2007-03-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed syntax
	error in string-trim-left function (spotted by Saul Goode). Added
	compatability routine for 'verbose'.

svn path=/trunk/; revision=22136
2007-03-17 16:32:17 +00:00
Michael Natterer 11f0125257 remove N_() from calls to gimp_plugin_menu_register().
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu.c: remove N_() from calls to
	gimp_plugin_menu_register().


svn path=/trunk/; revision=22133
2007-03-16 13:21:42 +00:00
Michael Natterer 1a9cfa406e update the progress to avoid looking like the script hangs. Fixes bug
2007-03-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/spyrogimp.scm: update the progress
	to avoid looking like the script hangs. Fixes bug #356677.

	* plug-ins/script-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=22132
2007-03-16 00:26:34 +00:00
Michael Natterer dd4042df85 Fix stuck progress bars (bug #393832):
2007-03-16  Michael Natterer  <mitch@gimp.org>

	Fix stuck progress bars (bug #393832):

	* app/plug-in/gimpplugin-progress.[ch] (gimp_plug_in_progress_end):
	added PlugInProcFrame parameter instead of blindly using the topmost
	in the procedure stack...

	* app/plug-in/gimppluginprocframe.c
	(gimp_plug_in_proc_frame_dispose): ...because we call it from here,
	when the proc_frame is already removed from the procedure stack.

	Unrelated:

	* plug-ins/script-fu/scripts/difference-clouds.scm: use
	RUN-INTERACTVE instead of 0, added (gimp-displays-flush)

	* plug-ins/common/snoise.c (solid_noide): update the progress to
	1.0 after rendering.


svn path=/trunk/; revision=22131
2007-03-15 23:39:32 +00:00
Raphael Quinet 66ac1db77c Fix for bug #417467 based on modified patch by Eric Lamarque and suggested
2007-03-13  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: Fix for bug #417467
	based on modified patch by Eric Lamarque and suggested by Mitch.
	Allows build without warnings and correct localization for Solaris
	and other platforms.

svn path=/trunk/; revision=22109
2007-03-13 09:55:18 +00:00
Kevin Cozens 44e6637d3b Removed erroneous comment block.
2007-03-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm: Removed
	erroneous comment block.

	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm: Use only
	American (USA) spelling in translatable strings.

svn path=/trunk/; revision=22085
2007-03-09 15:58:01 +00:00
Sven Neumann acdabd3923 plug-ins/pygimp/plug-ins/Makefile.am stop installing any test scripts.
2007-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/Makefile.am
	* plug-ins/script-fu/scripts/Makefile.am: stop installing any test
	scripts.


svn path=/trunk/; revision=21973
2007-02-22 08:08:09 +00:00
Sven Neumann 99f1d0e6dd use locale-independent function to convert a float value to a string.
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (atom2str): use
	locale-independent function to convert a float value to a 
string.


svn path=/trunk/; revision=21948
2007-02-19 11:05:21 +00:00
Sven Neumann b99f99f16c plug-ins/common/curve_bend.c plug-ins/common/depthmerge.c
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/neon.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/pix.c
	* plug-ins/common/psd.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/metadata/interface.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/xjt/xjpeg.c
	* plug-ins/xjt/xjt.c: use g_printerr() instead of fprintf().


svn path=/trunk/; revision=21947
2007-02-19 10:37:33 +00:00
Sven Neumann d232d24ebc plug-ins/script-fu/script-fu-scripts.c use g_printerr() instead of
2007-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/scheme-wrapper.c: use g_printerr() instead 
of
	fprintf().


svn path=/trunk/; revision=21946
2007-02-19 10:04:20 +00:00
Michael Natterer ab239c3d63 app/text/gimptext-parasite.c use g_strtod() instead of atof() because
2007-02-18  Michael Natterer  <mitch@gimp.org>

	* app/text/gimptext-parasite.c
	* plug-ins/flame/libifs.c: use g_strtod() instead of atof()
	because these files have to parse strings that never had a clearly
	specified format.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/imagemap/imap_cern.l
	* plug-ins/imagemap/imap_csim.l
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_ncsa.l: use g_ascii_strtod() instead of
	atof() because scheme code and imagemap files with wrong decimal
	separators are clearly broken and should be rejected.

	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_csim_parse.c
	* plug-ins/imagemap/imap_ncsa_lex.c: regenerated.

	* plug-ins/common/sample_colorize.c: round numbers using sane code
	instead of sprintf() and atod().

	* plug-ins/Lighting/lighting_ui.c: removed some dead code.


svn path=/trunk/; revision=21942
2007-02-18 20:01:48 +00:00
Kevin Cozens 4107f0faf8 Add define for symkey() to quiet the compiler.
2007-02-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Add define for
	symkey() to quiet the compiler.

	* plug-ins/script-fu/tinyscheme/scheme.c (basic_inchar): Return
	blank when invalid UTF-8 character is encountered while reading
	from memory. Point to start of next valid character on error.

svn path=/trunk/; revision=21934
2007-02-18 03:46:50 +00:00
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
Michael Schumacher 8fdf10dbb2 replaced license statement according to bug #119667.
2007-01-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
	license statement according to bug #119667.

svn path=/trunk/; revision=21750
2007-01-21 23:45:16 +00:00
Hans Breuer b2ebab0b29 to make it compile with msvc redefine stricmp after including <string.h>
2007-01-14  Hans Breuer  <hans@breuer.org>

        * plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
        msvc redefine stricmp after including <string.h> and protect gccism
        #warning with #ifdef __GNUC__, also some more exports
	* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
	to get variables across modules boundaries for msvc, use SCHEME_EXPORT
	Together fixes bug #396268


svn path=/trunk/; revision=21707
2007-01-14 13:57:59 +00:00
Sven Neumann 64510e99bc plug-ins/common/displace.c plug-ins/common/tileit.c fixed typos (bug
2007-01-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/displace.c
	* plug-ins/common/tileit.c
	* plug-ins/script-fu/scripts/news-text.scm: fixed typos (bug 
#396169).


svn path=/trunk/; revision=21703
2007-01-13 17:29:54 +00:00
Sven Neumann 787c6bcb50 removed wrong and useless call to gimp-drawable-update.
2007-01-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/difference-clouds.scm: removed wrong
	and useless call to gimp-drawable-update.

	* plug-ins/script-fu/scripts/drop-shadow.scm: removed hyphen from
	menu entry and description.


svn path=/trunk/; revision=21670
2007-01-08 11:27:51 +00:00
Raphael Quinet 9b6ca68c86 fixed crash when Mottle option is selected (mLayer was incorrectly
2007-01-04  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/script-fu/scripts/old-photo.scm: fixed crash when
	Mottle option is selected (mLayer was incorrectly declared).

svn path=/trunk/; revision=21645
2007-01-04 13:45:02 +00:00
Kevin Cozens 478654039e Don't include malloc.h file. Fixes bug #391195.
2006-12-31  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Don't include malloc.h
	file. Fixes bug #391195.

svn path=/trunk/; revision=21617
2006-12-31 07:32:58 +00:00
Sven Neumann 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Kevin Cozens 14ddf98d14 plug-ins/script-fu/tinyscheme/scheme-private.h Optimizations for string
2006-12-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.c: Optimizations for string
	comparisons. Time spent in oblist_find_by_name() reduced by ~50%
	during startup by use of stored collation keys. Fixes bug #374854.
2006-12-13 22:01:09 +00:00
Kevin Cozens f32e98e6af Don't allow one of the two layers to be a floating selection. Fixes bug
2006-12-12  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/scripts/burn-in-anim.scm: Don't allow one of the
        two layers to be a floating selection. Fixes bug #384096.
2006-12-12 16:52:25 +00:00
Kevin Cozens 7ad6a43360 Removed duplicate variable declaration from let block.
2006-12-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: Removed duplicate
	variable declaration from let block.
2006-12-09 22:49:07 +00:00
Sven Neumann 41237259c9 In all files, changed the standard copyright notice to say "GIMP - The GNU
2006-12-09  Sven Neumann  <sven@gimp.org>

        * In all files, changed the standard copyright notice to say
        "GIMP - The GNU Image Manipulation Program".
2006-12-09 21:33:38 +00:00
Kevin Cozens 04a45e41dc Minor changes to quiet the compiler.
* plug-ins/script-fu/re/re.c: Minor changes to quiet the compiler.

	* plug-ins/script-fu/tinyscheme/CHANGES: Updated to version from
	the 1.38 version of TinyScheme.

	* plug-ins/script-fu/tinyscheme/scheme.c: Added some changes from the
	1.38 version of TinyScheme. Added fix for bug #1589701 (reported on
	SourceForge.net).

	* plug-ins/script-fu/tinyscheme/scheme.h: Added a prototype to quiet
	the compiler. Added one change from the 1.38 version of TinyScheme.
2006-12-07 18:57:10 +00:00
Kevin Cozens 36c8bf2622 Fix revealed bug in TinyScheme initialization which results in a seg
2006-11-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Fix revealed
	bug in TinyScheme initialization which results in a seg fault.
	Removing fix for now.
2006-11-26 21:06:33 +00:00
Kevin Cozens 1dead8dfb2 Check cell type for T_NUMBER in addition to checking if it is an integer.
2006-11-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (is_integer): Check cell
	type for T_NUMBER in addition to checking if it is an integer.
	Fixes TinyScheme bug #1593861 reported on SourceForge. Fixed
	prototype for dump_mark_stack(). Quieted compiler warnings.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added delq,
	prin1, and print.
2006-11-26 19:50:21 +00:00
Kevin Cozens 3c7cca9faf Fix for minor typo in error message.
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* app/pdb/gimpprocedure.c: Fix for minor typo in error message.

	* plug-ins/Lighting/lighting_main.c (check_drawables): Only validate
	ID's for drawables that will be used. Disable use of env map (and not
	bump map) if env drawable is of wrong type.

	* plug-ins/script-fu/ftx/ftx.c: Eliminated some compiler warnings.
2006-11-25 07:27:57 +00:00
Kevin Cozens 9ca0f90fe4 Fixed cut and paste error in the fix for unbreakupstr.
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Fixed cut and
	paste error in the fix for unbreakupstr.
2006-11-24 18:48:07 +00:00
Kevin Cozens 92d2de9785 Added make-list. Corrected name of unstrbreakup to unbreakupstr and fixed
2006-11-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added make-list.
	Corrected name of unstrbreakup to unbreakupstr and fixed bug in it.
	Fixed butlast to handle lists with one entry.
2006-11-24 05:25:52 +00:00
Sven Neumann a4423dc1ba plug-ins/script-fu/ftx/Makefile.am plug-ins/script-fu/re/Makefile.am
2006-11-23  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/ftx/Makefile.am
        * plug-ins/script-fu/re/Makefile.am
        * plug-ins/script-fu/tinyscheme/Makefile.am: cleaned up Makefiles.
        Fixed for srcdir != builddir.
2006-11-23 21:55:35 +00:00
Simon Budig dce782a6b8 plug-ins/script-fu/tinyscheme/scheme-private.h Changed tinyscheme to
2006-11-23  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.[ch]: Changed tinyscheme
	to provide a safe spot to protect intermediate values from the
	garbage collector. Fixes some really ugly problems with arrays.

	Most likely not the best solution, we need to discuss this with
	the tinyscheme maintainers.

	* plug-ins/script-fu/scheme-wrapper.c: changed accordingly, plus
	reordering some stuff to protect it from the eager GC.
2006-11-23 21:14:01 +00:00
Kevin Cozens f50adb011a Set return_val before destroying values[] as it may still be needed.
2006-11-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Set
	return_val before destroying values[] as it may still be needed.
2006-11-18 22:30:23 +00:00
Simon Budig 0b33ffc674 Properly handle PDB_LAYERs and PDB_CHANNELs when passed by the menus in
2006-11-18  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: Properly handle PDB_LAYERs
	and PDB_CHANNELs when passed by the menus in the resp. dialogs
2006-11-18 01:59:14 +00:00
Kevin Cozens 59ee708f7f A minor optimization. Don't bother to store normalized string.
2006-11-17  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (store_string): A minor
	optimization. Don't bother to store normalized string.
2006-11-17 05:43:50 +00:00
Simon Budig 4255e608e6 plug-ins/script-fu/script-fu-enums.h plug-ins/script-fu/scheme-wrapper.c
2006-11-16  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-types.h
	* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
	script-fu.

	* plug-ins/script-fu/script-fu-interface.c: use a vectors
	combobox for the GUI.

	* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
2006-11-16 01:29:49 +00:00
Simon Budig e2b4690f74 don't register in the menus. The script duplicates functionality of the
2006-11-14  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/scripts/grid-system.scm: don't register in the
	menus. The script duplicates functionality of the better plugin,
	has a very obscure UI and registers under the same name as the plugin.
2006-11-14 15:48:01 +00:00
Kevin Cozens dc2d31c9d7 Use vectors instead of the non-standard array structure. Also made some
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c (marshall_proc_db_call): Use
	vectors instead of the non-standard array structure. Also made some
	minor coding style changes in the file.

	* plug-ins/script-fu/tinyscheme/opdefines.h
	* plug-ins/script-fu/tinyscheme/scheme-private.h
	* plug-ins/script-fu/tinyscheme/scheme.h
	* plug-ins/script-fu/tinyscheme/scheme.c: Removed all code related
	to the handling of the non-standard array structure. Added one small
	change to scheme.c to fix problems compiling with MSVC in Windows.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Changed array
	references to use vector references.
2006-11-09 23:03:55 +00:00
Kevin Cozens b3404e6b6f Moved too much. Move some array declarations out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Moved too much. Move some
	array declarations out of here...

	* plug-ins/script-fu/tinyscheme/scheme-private.h: and back to here.
2006-11-09 17:36:32 +00:00
Kevin Cozens 481100144b Moved various declarations and defines out of here...
2006-11-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Moved various
	declarations and defines out of here...

	* plug-ins/script-fu/tinyscheme/scheme.c: and added them here in
	keeping with the original 1.38 version of TinyScheme. Only include
	unistd.h if it exists.

	* plug-ins/script-fu/ftx/ftx.c: Only include unistd.h if it exists.
2006-11-09 16:57:49 +00:00
Michael Natterer 5ff69df6d0 don't include <malloc.h> Fixes the build on OSX (or maybe BSD in general).
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: don't include <malloc.h>
	Fixes the build on OSX (or maybe BSD in general).
2006-11-09 10:40:59 +00:00
Kevin Cozens 8c0ac5f367 plug-ins/script-fu/scheme-wrapper.c plug-ins/script-fu/scheme-wrapper.h
2006-11-08  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-text-console.c: Removed obsolete
	verbose level code.

	* plug-ins/FractalExplorer/FractalExplorer.c: Added missing default
	value to wvals structure.
2006-11-08 20:08:29 +00:00
Sven Neumann 9891ed83dd test scripts aren't localized, but should still follow the menu
2006-11-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/ts-helloworld.scm: test scripts
	aren't localized, but should still follow the menu guidelines.
2006-11-07 11:10:49 +00:00
Sven Neumann 798c6b924a use g_utf8_casefold() to implement case insensitive sorting.
2006-11-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/tinyscheme/scheme.c (utf8_stricmp): use
	g_utf8_casefold() to implement case insensitive sorting.
2006-11-03 09:07:43 +00:00
Kevin Cozens 144dc15c0b Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

        * plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
        setting for USE_STRLWR that is used in TinyScheme.

        * plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

        * plug-ins/script-fu/tinyscheme/scheme.c
        * plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
        to a couple of function declarations. Eliminated USE_STRCASECMP by
        using internal UTF8 string comparison routine.

        * plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
        warnings.
2006-11-03 01:57:40 +00:00
Kevin Cozens 0620eaf303 Removed USE_STRCASECMP. Use the setting for USE_STRLWR that is used in
2006-11-02  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/Makefile.am: Removed USE_STRCASECMP. Use the
	setting for USE_STRLWR that is used in TinyScheme.

	* plug-ins/script-fu/tinyscheme/Makefile.am: Removed USE_STRCASECMP.

	* plug-ins/script-fu/tinyscheme/scheme.c
	* plug-ins/script-fu/tinyscheme/scheme.h: Added missing SCHEME_EXPORT
	to a couple of function declarations. Eliminated USE_STRCASECMP by
	using internal UTF8 string comparison routine.

	* plug-ins/script-fu/tinyscheme/scheme-private.h: Stop some compiler
	warnings.
2006-11-02 21:08:12 +00:00
Kevin Cozens d3bf82ae7a Added two missing deprecated constants. Updated some comments and removed
2006-11-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Added two missing deprecated
	constants. Updated some comments and removed one obsolete comment.

	* plug-ins/script-fu/scripts/test-sphere.scm: Fixed example of how
	to use named constants in a list by using the 'list' function.
2006-11-01 17:14:17 +00:00
Michael Natterer bf36c38796 include our own header file. Minor cosmetics.
2006-10-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-text-console.c: include our own
	header file. Minor cosmetics.
2006-10-30 20:14:00 +00:00
Kevin Cozens 3e691c6999 plug-ins/script-fu/scripts/paste-as-brush.scm Some variables were not
2006-10-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Some variables
	were not being declared before first use. Spotted by Saul Goode.
2006-10-29 05:18:44 +00:00
Sven Neumann 6fb3b16091 don't hardcode font sizes, moved newlines out of translatable strings.
2006-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: don't hardcode font sizes,
	moved newlines out of translatable strings.
2006-10-27 13:18:38 +00:00
Kevin Cozens ce957a3cc4 Return empty string if sep is at end of string in strbreakup.
2006-10-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Return empty
	string if sep is at end of string in strbreakup.
2006-10-27 02:48:52 +00:00
Kevin Cozens 897ed62182 Added strbreakup, strcat, strcmp, string-trim, string-trim-left,
2006-10-26  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added strbreakup,
	strcat, strcmp, string-trim, string-trim-left, string-trim-right, and
	unstrbreakup.
2006-10-27 02:10:10 +00:00
Sven Neumann ec43fe20d6 plug-ins/script-fu/scripts/Makefile.am added new script "Difference
2006-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/difference-clouds.scm: added new script
	"Difference Clouds" written by Martin Nordholts (bug #363458).
2006-10-25 13:30:41 +00:00
Sven Neumann 51b4be9d34 plug-ins/script-fu/scripts/erase-rows.scm don't ever use the term
2006-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/erase-rows.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm: don't ever use the term
	"drawable" in user-visible strings.
2006-10-25 12:27:26 +00:00
Kevin Cozens 57ff74c240 Reworded two error messages. Break out of for loop before i gets updated
2006-10-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Reworded two error messages.
	Break out of for loop before i gets updated when error was detected
	to make sure error message reports correct parameter number.
2006-10-24 18:55:09 +00:00
Sven Neumann 31282ecc27 reverted Kevin's change. This script should not register a menu entry and
2006-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: reverted Kevin's
	change. This script should not register a menu entry and it
	doesn't need to be translated. It only exists for backward
	compatibility.
2006-10-23 09:05:58 +00:00
Kevin Cozens 51caeda1c3 Moved an out of order entry.
2006-10-23  Kevin Cozens  <kcozens@cvs.gnome.org>

	* Makefile.am: Moved an out of order entry.

	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/fuzzyborder.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: Formatting changes.

	* plug-ins/script-fu/scripts/coolmetal-logo.scm: Changed two colours
	to named colour.

	* plug-ins/script-fu/scripts/gimp-labels.scm: Moved a double quote.

	* plug-ins/script-fu/scripts/spinning-globe.scm: Fixed duplicate
	variable reference in let block.

	* plug-ins/script-fu/scripts/tileblur.scm: Wrong version got commited.

	* plug-ins/script-fu/scripts/unsharp-mask.scm: Added missing menu
	register block.
2006-10-23 05:15:40 +00:00
Kevin Cozens 590c4d0b9f Moved the MIN and MAX entries for image size and resolution to
2006-10-20  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scheme-wrapper.c: Moved the MIN and MAX entries
	for image size and resolution to script_constants structureas they
	are not deprecated constants.

	* plug-ins/script-fu/scripts/script-fu.init: Removed CR in line endings.

	* plug-ins/script-fu/scripts/*.scm: Fixed a number of regressions that
	snuck in during the last big update of the scripts. This update
	reduces the number of differences to the original scripts (other than
	formatting). Some additional formatting changes in a few scripts.
	Updates to use colour names in register block where possible. Fixed a
	bug in burn-in-anim.scm. Minor cleanup of font-map.scm. Simplified
	the bug fix in tile-blur.scm.
2006-10-20 17:55:14 +00:00
Sven Neumann e9f80d1a86 plug-ins/script-fu/script-fu-scripts.c minor cleanups.
2006-10-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c (init_constants):
	* plug-ins/script-fu/script-fu-scripts.c minor cleanups.
2006-10-20 09:54:05 +00:00
Sven Neumann a92d405849 don't load script-fu-compat.init here.
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/script-fu.init: don't load
	script-fu-compat.init here.

	* plug-ins/script-fu/scheme-wrapper.c (tinyscheme_init): load it
	here, from the same place where script-fu.init was found.

	* plug-ins/script-fu/script-fu-interface.c: made the code more
	robust against invalid adjustment types.
2006-10-19 15:25:02 +00:00
Sven Neumann c97fc7a7a5 plug-ins/script-fu/script-fu-interface.[ch]
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.[ch]
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: don't look at the menu path
	to see if a script is image-based. Instead check the passed and the
	expected parameter types.

	* plug-ins/script-fu/scripts/tileblur.scm: global variables won't
	work with tiny-scheme.
2006-10-19 14:50:47 +00:00
Tor Lillqvist f2a2afaf5d Open files in binary mode.
2006-10-19  Tor Lillqvist  <tml@novell.com>

	* plug-ins/script-fu/tinyscheme/scheme.c
	(file_push, port_rep_from_filename): Open files in binary mode.
2006-10-19 14:25:01 +00:00
Sven Neumann 676b6cc015 search script-fu.init in the scripts search path instead of looking for it
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.[ch]: search script-fu.init in
	the scripts search path instead of looking for it in a hardcoded
	directory.

	* plug-ins/script-fu/script-fu-scripts.[ch]
	* plug-ins/script-fu/script-fu.c: changes needed for above change.
2006-10-19 13:51:42 +00:00
Sven Neumann 558deac406 plug-ins/script-fu/scheme-wrapper.c use g_fopen() from gstdio.h.
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-console.c: use g_fopen() from gstdio.h.

	* plug-ins/script-fu/script-fu-scripts.c: removed unused defines.
2006-10-19 13:08:47 +00:00
Sven Neumann 21556b83e6 changed range for Smoothness value as suggested in bug #363381. Also fixed
2006-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: changed
range
	for Smoothness value as suggested in bug #363381. Also fixed a
typo
	in the menu label.
2006-10-19 12:09:52 +00:00
Sven Neumann 9699f30d62 this script should not register in the menus. Also unmarked strings for
2006-10-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/unsharp-mask.scm: this script should
	not register in the menus. Also unmarked strings for translation.
2006-10-18 12:34:52 +00:00
Sven Neumann 3054a3a2b8 reviewed blurbs and marked them for translation.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/web-browser.scm: reviewed blurbs and
	marked them for translation.
2006-10-17 15:13:25 +00:00
Sven Neumann 8d6b5e158e added a length parameter to avoid needless string duplication.
2006-10-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.[ch]
	(script_fu_output_to_console): added a length parameter to avoid
	needless string duplication.

	* plug-ins/script-fu/scheme-wrapper.c (ts_output_string): changed
	accordingly.
	(my_err): in console mode, send error messages to the console.
2006-10-17 09:22:48 +00:00
Kevin Cozens 6bad3b042a Eliminated compiler warnings.
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Eliminated compiler warnings.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added 'nil'.
2006-10-16 23:28:38 +00:00
Kevin Cozens 51d54e2333 Trivial format change (moved a closing }). 2006-10-16 23:24:43 +00:00
Kevin Cozens 349a0d7094 Set enable_python to yes if it wasn't set to no. Fixes display of Python
2006-10-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* configure.in: Set enable_python to yes if it wasn't set to no.
	Fixes display of Python status in "Optional Plug-Ins" section.

	* plug-ins/script-fu/scripts/script-fu-compat.init: Added
	'the-environment'.
2006-10-16 15:56:50 +00:00
Sven Neumann 2fd52b690e fixed some minor user interface and coding style issues.
2006-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c: fixed some minor user
	interface and coding style issues.
2006-10-16 09:24:59 +00:00
Kevin Cozens 6239dddda3 With this commit we finally say goodbye to SIOD. This large set of changes
2006-10-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	With this commit we finally say goodbye to SIOD. This large set of
	changes updates the Script-Fu plug-in to use the TinyScheme Scheme
	interpreter. These changes originated with changes originally made
	to Script-Fu which created Tiny-Fu (aka. the gimp-tiny-fu module).

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-scripts.h
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/script-fu/script-fu-text-console.c
	* plug-ins/script-fu/script-fu.c: Updated with the changes made to
	these files as part of the work on the Tiny-Fu project.

	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/scheme-wrapper.h: Renamed from siod-wrapper.[ch]
	and updated based on differences to ts-wrapper.[ch] from gimp-tiny-fu.

	* plug-ins/script-fu/ftx/*
	* plug-ins/script-fu/re/*
	* plug-ins/script-fu/tinyscheme/*
	* plug-ins/script-fu/scripts/script-fu.init
	* plug-ins/script-fu/scripts/script-fu-compat.init
	* plug-ins/script-fu/scripts/contactsheet.scm
	* plug-ins/script-fu/scripts/script-fu-set-cmap.scm
	* plug-ins/script-fu/scripts/script-fu-util-setpt.scm
	* plug-ins/script-fu/scripts/ts-helloworld.scm: Added all of these
	files and directories from Tiny-Fu. Updated the Makefile.am files
	of ftx, re, and tinyscheme now they are in the GIMP source tree.

	* plug-ins/script-fu/scripts/*.scm: All scripts have been updated as
	needed to ensure they will work with the TinyScheme interpreter. Most
	of the files have been reformatted making it easier to see the syntax
	of Scheme and making them easier to read.

	* plug-ins/script-fu/scripts/Makefile.am: Updated script file lists.

	* plug-ins/script-fu/siod-wrapper.c
	* plug-ins/script-fu/siod-wrapper.h
	* plug-ins/script-fu/siod/*: Removed obsolete files.

	* configure.in: Updated list of files in AC_CONFIG_FILES. Changed
	--disable-script-fu to --without-script-fu which it should have
	been when originally added.

	* INSTALL: Updated to show change to --without-script-fu.
2006-10-16 01:08:54 +00:00
Kevin Cozens 9314c3ea8e Files to ignore during CVS operations. 2006-10-15 23:44:51 +00:00
Kevin Cozens e81a5a9647 Use more descriptive message when display a result which returns an array
2006-10-13  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tinyscheme/scheme.c: Use more descriptive message when display a
	result which returns an array instead of using the form #<ARRAYn>.
2006-10-13 20:36:28 +00:00
Kevin Cozens 1bb7bbb3bb Missed closing quotes in previous update.
2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/gimp-labels.scm: Missed closing quotes in previous update.

	* scripts/sota-chrome-logo.scm: Fixed a finger fumble.

	* scripts/tiny-fu-set-cmap.scm: Added keyboard short cut. Moved to
	better location in menus.
2006-10-12 21:50:06 +00:00
Kevin Cozens ffef8df73b The changes below (except for init.scm) were found during the work of
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.
2006-10-12 20:31:33 +00:00
Kevin Cozens a2f1f3741c Added 'butlast' and 'last'.
2006-06-09  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Added 'butlast' and 'last'.
2006-10-10 03:05:51 +00:00
Sven Neumann 5b021fc255 applied patch from Saul Goode with review and localisation of Script-Fu
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/*.scm: applied patch from Saul
Goode
	with review and localisation of Script-Fu procedure blurbs
	(bug #351283).
2006-10-05 18:09:29 +00:00
Kevin Cozens 815148c2a6 scripts/tiny-fu.init tiny-fu/ts-wrapper.c tinyscheme/Manual.txt Updates to
2006-10-05  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/tiny-fu.init
	* tiny-fu/ts-wrapper.c
	* tinyscheme/Manual.txt
	* tinyscheme/scheme.c: Updates to reflect that TinyScheme interpreter
	is based on the 1.38 version.
2006-10-05 17:39:54 +00:00
Sven Neumann b5fbef8a81 reverted change for bug #356901.
2006-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: reverted change for bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: removed superfluous
	comment.
2006-10-05 14:25:25 +00:00
Kevin Cozens 124c9d5648 Minor formatting changes.
2006-09-30  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/*.scm: Minor formatting changes.
2006-09-30 05:06:28 +00:00
Kevin Cozens cb4f30cab9 Changes for increased compatability with Script-Fu scripts.
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.
2006-09-29 06:01:39 +00:00
William Skaggs 29b9f61217 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts/line-nova.scm: Change min for randomness
	from 0 to 1, should fix bug #357433.
2006-09-24 15:46:54 +00:00
Sven Neumann b69be084b1 pass correct parameters to gimp_brush_select_button_new(). Fixes bug
2006-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c: pass correct parameters to
	gimp_brush_select_button_new(). Fixes bug #356901.

	* plug-ins/script-fu/scripts/test-sphere.scm: use 100.0 as the
	default opacity for SF-BRUSH.
2006-09-21 10:20:53 +00:00
Kevin Cozens 46fd26d0eb tiny-fu/ts-wrapper.c Minor update since INT8 and INT8_ARRAY types are
2006-09-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tiny-fu/ts-wrapper.c
	* tinyscheme/scheme.c: Minor update since INT8 and INT8_ARRAY types
	are unsigned 8-bit values.
2006-09-19 22:16:55 +00:00
Michael Natterer 4233734b86 pop the context before rendering the gradient so we draw the gradient with
2006-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/gradient-example.scm: pop the context
	before rendering the gradient so we draw the gradient with the
	user's colors, not with the ones the script uses temporarily.
2006-09-01 21:27:42 +00:00
Sven Neumann d1b2b655b8 when accessing members of tc_byte_array, cast them to guint8.
2006-08-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/sliba.c (aref1): when accessing
members
	of tc_byte_array, cast them to guint8.
2006-08-17 06:49:24 +00:00
Sven Neumann 0b74a671fc pack the main vbox expanding so that the progress bar sticks to the bottom
2006-08-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: pack the main vbox
	expanding so that the progress bar sticks to the bottom of the
	dialog.

	* plug-ins/pygimp/gimpfu.py: moved blurb label to the top, use
	italic style for it. Add a progress bar unconditionally and use a
	GimpProgressBar for it. Commented out the progress label until it
	is actually used.
2006-08-11 08:36:45 +00:00
Sven Neumann 442c66484f added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	added missing call to gimp_window_set_transient(). Fixes bug #348249.
2006-08-07 12:02:45 +00:00
Jakub Friedl c66f09311e updated web URL
2006-07-27  Jakub Friedl  <jfriedl@suse.cz>

  * plug-ins/script-fu/scripts/spyrogimp.scm: updated web URL
2006-07-27 17:17:58 +00:00
Kevin Cozens 15f00f294c Added reverse-layers.sct. Moved ts-helloworld.sct to the list of test
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.
2006-07-02 16:35:49 +00:00
Sven Neumann a9bd28e458 libgimp/gimpfontselectbutton.[ch] libgimp/gimpgradientselectbutton.[ch]
2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpfontselectbutton.[ch]
	* libgimp/gimpgradientselectbutton.[ch]
	* libgimp/gimppaletteselectbutton.[ch]
	* libgimp/gimppatternselectbutton.[ch]: for consistency with
	GimpBrushSelectButton dropped the _name suffix from the getter
	and setter API.

	* libgimp/gimpfontmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppalettemenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpbrushselectbutton.[ch]
	* libgimp/gimpselectbutton.c: cleanup for consistency.

2006-06-28  Sven Neumann  <sven@gimp.org>

	* libgimp/tmpl/gimpbrushselectbutton.sgml
	* libgimp/tmpl/gimpgradientselectbutton.sgml
	* libgimp/tmpl/gimppaletteselectbutton.sgml
	* libgimp/tmpl/gimppatternselectbutton.sgml
	* libgimp/tmpl/gimpselectbutton.sgml: new files.

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types: added docs for GimpSelectButton widgets.

	* libgimp/tmpl/gimpfontselectbutton.sgml: regenerated.

	* libgimpcolor/libgimpcolor-sections.txt: added docs for GValue API.

	* libgimpcolor/tmpl/gimprgb.sgml: regenerated.

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimppropwidgets.sgml
	* libgimpwidgets/tmpl/gimpstock.sgml: regenerated.
2006-06-28 10:35:22 +00:00
Sven Neumann eaaaa8dbd2 plug-ins/FractalExplorer/FractalExplorer.c plug-ins/common/colortoalpha.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/illusion.c
	* plug-ins/script-fu/script-fu.c some more canonical procedure
	names that we missed earlier.
2006-06-27 13:08:28 +00:00
Sven Neumann 6be54f9b20 plug-ins/common/CML_explorer.c plug-ins/common/curve_bend.c
2006-06-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/fractaltrace.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/png.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiler.c
	* plug-ins/common/unsharp.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: use canonical parameter names.
2006-06-27 12:38:45 +00:00
Sven Neumann 7b1327dd86 I18n improvements based on a patch from Zbigniew Chyla:
2006-06-27  Sven Neumann  <sven@gimp.org>

	I18n improvements based on a patch from Zbigniew Chyla:

	* app/main.c:
	* modules/controller_midi.c
	* plug-ins/script-fu/scripts/guides-new.scm: marked strings for
	translation.

	* app/widgets/gimpdock.c
	* libgimpwidgets/gimppageselector.c
	* plug-ins/common/plugin-browser.c: use ngettext() for plural
forms.
2006-06-27 07:49:14 +00:00
Manish Singh 68dfb3f223 libgimp/gimpuitypes.h abstract class for resource selection buttons.
2006-06-25  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpselectbutton.[ch]: abstract class for resource selection
        buttons.

        * libgimp/gimpfontselectbutton.[ch]: derive from GimpSelectButton.

        * libgimp/gimpbrushselectbutton.[ch]
        * libgimp/gimpgradientselectbutton.[ch]
        * libgimp/gimppaletteselectbutton.[ch]
        * libgimp/gimppatternselectbutton.[ch]: replacements for
        gimp_foo_select widgets, akin to GimpFontSelectButton.

        * libgimp/gimpbrushmenu.[ch]
        * libgimp/gimpgradientmenu.[ch]
        * libgimp/gimppalettemenu.[ch]
        * libgimp/gimppatternmenu.[ch]: deprecate old API, and reimplement
        in terms of GimpFooSelectButton.

        * libgimp/gimpfontmenu.[ch]: change to use the GimpSelectButton API.

        * libgimp/gimpuimarshal.list: new marshallers for the above new
        widgets.

        * libgimp/gimpui.h: add new headers.

        * libgimp/Makefile.am: add new files.

        * plug-ins/FractalExplorer/Dialogs.c
        * plug-ins/gfig/gfig-dialog.c
        * plug-ins/gfig/gfig-style.[ch]
        * plug-ins/script-fu/script-fu-interface.c: use new API.
2006-06-26 01:47:22 +00:00
Manish Singh f1e54be89d app/plug-in/plug-in-params.c libgimp/gimp.[ch]
2006-06-25  Manish Singh  <yosh@gimp.org>

        * app/plug-in/plug-in-params.c
        * libgimp/gimp.[ch]
        * libgimpbase/gimpprotocol.[ch]
        * plug-ins/common/colormap-remap.c
        * plug-ins/common/curve_bend.c
        * plug-ins/common/grid.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/script-fu/siod-wrapper.c
        * tools/pdbgen/pdb.pl: turn d_int8 and d_int8array into guint8.
        Fixes bug #344431.
2006-06-25 23:30:15 +00:00
Sven Neumann bc8a335a7f use PANGO_ELLIPSIZE_MIDDLE instead of TRUE (spotted by Kevin) 2006-06-23 15:21:04 +00:00
Sven Neumann 09bbb551d3 ellipsize the progress label to avoid dialog resizing.
2006-06-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	ellipsize the progress label to avoid dialog resizing.
2006-06-23 12:31:17 +00:00
Sven Neumann bee8fb744c when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16  Sven Neumann  <neumann@jpk.com>

	* app/pdb/gimppluginprocedure.c (gimp_plug_in_procedure_get_label):
	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	when cutting away ellipsis, also look for U+2026 HORIZONTAL ELLIPSIS.
2006-06-16 12:25:02 +00:00
Sven Neumann a5d9a516b2 removed; it's barely useful nowadays.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/convert-script: removed; it's barely useful
	nowadays.
2006-06-16 10:52:49 +00:00
Sven Neumann 6b6640ba20 removed the About dialog. That information is available from the Procedure
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-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.
2006-06-16 10:42:06 +00:00
Sven Neumann 0439dbd2b9 renamed member "help" to "blurb" since that's what it is being used for
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-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.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly.
2006-06-16 10:19:24 +00:00
Sven Neumann e3a54e111b use a canonical name for the automatically added run-mode parameter.
2006-06-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	use a canonical name for the automatically added run-mode parameter.
	Untabbified.
2006-06-16 09:55:13 +00:00
Sven Neumann 67531dd6b6 removed check for success again; it is being checked in the for() loop
2006-06-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	removed check for success again; it is being checked in the for()
	loop already.
2006-06-12 10:25:29 +00:00
Kevin Cozens e2d373d817 Additional simplifications for return values by using the same code for
2006-06-10  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	Additional simplifications for return values by using the same
	code for all INT32 PDB types. Wrong member name was being used
	for INT16 and INT8 return types. Added back if statement that
	was removed but is needed.
2006-06-10 04:03:55 +00:00
Sven Neumann 1ef506b77c simplified quite a bit by using the same code for all INT32 PDB types.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	simplified quite a bit by using the same code for all INT32 PDB
	types.
2006-06-08 15:14:16 +00:00
Sven Neumann 07e246c6ba in case of an error, output the SIOD error message to stderr.
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_eval_run):
	in case of an error, output the SIOD error message to stderr.

	* plug-ins/script-fu/siod-wrapper.c: minor cleanup.
2006-06-08 14:45:56 +00:00
Sven Neumann 0e42a8161f plug-ins/script-fu/script-fu-scripts.c allow CSS color keywords to be used
2006-06-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/siod-wrapper.c: allow CSS color keywords to
	be used in place of the '(r g b) color notation.

	* plug-ins/script-fu/scripts/test-sphere.scm: documented this new
	feature.

	* plug-ins/script-fu/scripts/*.scm: replaced some colors with
	color names.
2006-06-08 14:09:44 +00:00
Sven Neumann 789d18863c minor cleanup, plugged a tiny memleak in script_fu_find_scripts().
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: minor cleanup, plugged
a
	tiny memleak in script_fu_find_scripts().
2006-06-06 18:50:21 +00:00
Sven Neumann aafaa7def1 plug-ins/script-fu/script-fu-interface.[ch] applied a modified patch from
2006-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.[ch]
	* plug-ins/script-fu/script-fu.c (script_fu_refresh_proc):
applied
	a modified patch from Kevin Cozens.  Fixes bug #330981.
2006-06-06 17:49:56 +00:00
Kevin Cozens 5c5ddcf9ed Fixed the definition of fmod for real this time. Previous commit fixed the
2006-06-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Fixed the definition of fmod for
	real this time. Previous commit fixed the definition of truncate.
2006-06-02 02:34:44 +00:00
Kevin Cozens ddea9b01e8 Fixed the definition of fmod.
2006-06-01  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/script-fu-compat.init: Fixed the definition of fmod.
2006-06-02 01:47:19 +00:00
Sven Neumann 8e39085306 suppress progress popups by installing progress handlers that do nothing
2006-05-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-server.c: suppress progress popups
	by installing progress handlers that do nothing (bug #317498).

	* plug-ins/script-fu/script-fu-interface.c: formatting.
2006-05-29 12:06:37 +00:00
Akkana Peck fa71c34b22 revert previous change: allow layers without alpha to be moved up.
* plug-ins/script-fu/scripts/reverse-layers.scm: revert
	previous change: allow layers without alpha to be moved up.
2006-05-28 17:20:30 +00:00
Akkana Peck 01ec1abfc6 if any layers are opaque, make them transparent when reversing. Current
* plug-ins/script-fu/scripts/reverse-layers.scm: if any layers
        are opaque, make them transparent when reversing. Current CVS
        allows moving opaque layers above the bottom, but that might change.
2006-05-28 05:13:14 +00:00
Michael Natterer 90fb8dfad7 new script from Akkana Peck which reverses the layers in an image.
2006-05-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/reverse-layers.scm: new script from
	Akkana Peck which reverses the layers in an image.
2006-05-26 21:40:24 +00:00
Michael Natterer 6416b18a65 use canonical procedure names in the help string.
2006-05-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/copy-visible.scm: use canonical
	procedure names in the help string.
2006-05-24 19:44:09 +00:00
Sven Neumann c03e117e48 use a GtkFileChooserButton instead of a GimpFileEntry widget.
2006-05-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (load_dialog): use a GtkFileChooserButton
	instead of a GimpFileEntry widget.

	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-types.h: use GtkFileChooserButton
	for SF_FILENAME and SF_DIRNAME parameters.
2006-05-24 14:53:40 +00:00
Kevin Cozens bddb97797a tinyscheme/CHANGES tinyscheme/scheme.c Updated to version 1.37 of
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.
2006-05-18 21:32:28 +00:00
Sven Neumann 847131f12e reverted one aspect of the last change and always load the scripts again.
2006-05-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c (script_fu_run): reverted one
	aspect of the last change and always load the scripts again.
2006-05-18 17:35:24 +00:00
Sven Neumann 055617ac6f removed empty quit() method. Only load scripts when extension-script-fu is
2006-05-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c: removed empty quit() method.
	Only load scripts when extension-script-fu is started.

	* plug-ins/script-fu/script-fu-scripts.c: minor cleanup.
2006-05-16 12:05:30 +00:00
Simon Budig 7b3cd7d9f7 Insert a missing break that was responsible for a weird output of integer
2006-05-08  Simon Budig  <simon@gimp.org>

	* plug-ins/script-fu/siod/sliba.c: Insert a missing break that
	was responsible for a weird output of integer arrays.
	Untabbified.
2006-05-08 20:01:14 +00:00
Simon Budig e6c52afb6e Make the hue angle behave mathematically correct. Fixes bug #141922
2006-05-07  Simon Budig  <simon@gimp.org>

	* modules/colorsel_triangle.c: Make the hue angle behave
	mathematically correct. Fixes bug #141922

	* plug-ins/script-fu/scripts/circuit.scm: Fix multi line description.

	* docs/Wilber.svg: Add xmlns attribute to the svg element, so
	firefox renders it when reading it from disk.
2006-05-07 20:47:10 +00:00
Sven Neumann f37bf86b03 simplified blurb.
2006-03-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/fade-outline.scm: simplified blurb.
2006-03-27 09:02:49 +00:00
Sven Neumann 6bfd90acae register menu branches for the web-browser script.
2006-02-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu.c: register menu branches for the
	web-browser script.
2006-02-08 15:01:56 +00:00
Sven Neumann 342c78d7a1 string review.
2006-02-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/web-browser.scm: string review.
2006-02-08 10:10:52 +00:00
Roman Joost 0392774036 adds eight bookmarks to the user manual (Basics, Dialogs and Docks,
2006-01-29  Roman Joost	 <romanofski@gimp.org>

	* plug-ins/script-fu/scripts/web-browser.scm: adds eight
	bookmarks to the user manual (Basics, Dialogs and Docks, Drawing
	Simple Objects, Fileformats, Photography, Preparing for the Web,
	Using Paths). It also adds a new link to http://docs.gimp.org.
2006-01-29 10:01:10 +00:00
Michael Natterer d2ff272f1d plug-ins/script-fu/scripts/guides-new.scm allow guides at the right and
2006-01-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm: allow guides
	at the right and bottom edges of the canvas. Fixes bug #328320.
2006-01-23 23:18:02 +00:00
Raphael Quinet 7d8998a99c automatically removed trailing whitespace from 3460 lines.
2006-01-17  Raphael Quinet  <raphael@gimp.org>

	* (about 130 *.[ch] files): automatically removed trailing
	whitespace from 3460 lines.
2006-01-17 12:43:50 +00:00
Michael Natterer a0d231b33c renamed GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
2005-12-29  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): renamed
	GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
	for the latter.

	* libgimp/gimp.h (union _GimpParamData): added back d_path member
	to maintian source compatibility.

	* tools/pdbgen/pdb.pl
	* libgimp/gimp.c
	* app/pdb/procedural_db.c
	* app/plug-in/plug-in-params.c
	* libgimpbase/gimpprotocol.[ch]
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/siod-wrapper.c: s/GIMP_PDB_PATH/GIMP_PDB_VECTORS/

	* app/pdb/image_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpvectors_pdb.c
	* tools/pdbgen/enums.pl: regenerated.
2005-12-29 01:07:02 +00:00
Manish Singh b5044904b9 Finish the reverting here.
2005-12-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/siod-wrapper.c: Finish the reverting here.
2005-12-18 19:27:21 +00:00
Kevin Cozens 4c36751144 plug-ins/script-fu/siod/siod.h Reverted changes to handling of string
2005-12-16  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/sliba.c: Reverted changes to handling
	of string arrays to stay backward compatible (see bug #168290 and
	bug #317634). These files were not reverted when other files were.
2005-12-17 00:37:52 +00:00
Michael Schumacher c3ad5bdb84 added a fix for the script-fu crash in chinese (and maybe other) locales.
2005-12-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/siod/slib.c: added a fix for the script-fu
	crash in chinese (and maybe other) locales. Applied to both
	branches. Fixes bug #163212.
2005-12-12 23:08:48 +00:00
Sven Neumann 8a1fb12656 added "Animators" placeholder.
2005-11-21  Sven Neumann  <sven@gimp.org>

	* menus/image-menu.xml.in: added "Animators" placeholder.

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed registration of "Animators" submenu.
2005-11-21 17:14:52 +00:00
Michael Natterer 80c44102c1 plug-ins/script-fu/scripts/guides-new.scm look at the image's
2005-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm: look at the
	image's width/height, not the drawable's. Fixes bug #320933.
2005-11-08 09:06:59 +00:00
Sven Neumann 1bd793f329 removed run-mode check.
2005-10-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_console_run):
	removed run-mode check.
2005-10-26 16:45:56 +00:00
Sven Neumann a5e35eabcd always call the batch interpreter in NON-INTERACTIVE mode (see bug
2005-10-20  Sven Neumann  <sven@gimp.org>

	* app/batch.c (batch_run): always call the batch interpreter in
	NON-INTERACTIVE mode (see bug #167964).

	* plug-ins/script-fu/script-fu-text-console.c: removed the run-mode
	check.
2005-10-20 10:44:22 +00:00