Commit Graph

539 Commits

Author SHA1 Message Date
Kevin Cozens 0e15d4f689 Added 'pow' used in hsv-graph.sct
2004-10-16  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/script-fu-compat.init: Added 'pow' used in hsv-graph.sct
2004-10-16 06:00:00 +00:00
Kevin Cozens b36de3b8c9 Fixed minor error in script. (Related to bug #153900 and compatability
2004-10-14  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
	(Related to bug #153900 and compatability with Tiny-Fu)
2004-10-14 21:09:11 +00:00
Kevin Cozens 5307a10af7 Fixed to allow use of script on original layer. (bug #155358) Fixed
2004-10-14  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/circuit.scm: Fixed to allow use of
	script on original layer.  (bug #155358)  Fixed spelling error.
2004-10-14 06:22:31 +00:00
Kevin Cozens ff38758d5a two variables were not defined before first use (bug #153900).
2004-10-13  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm: two variables were
	not defined before first use (bug #153900).
2004-10-13 22:02:26 +00:00
Michael Natterer c85906af87 app/actions/image-actions.c added menu branch "<Image>/Image/Guides".
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c
	* menus/image-menu.xml.in: added menu branch "<Image>/Image/Guides".

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/guides-from-selection.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm
	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-remove-all.scm: added new
	scripts from Alan Horkan. Fixes bug #119667.
2004-10-13 12:58:51 +00:00
Kevin Cozens ef19aeb3ec Fixed error in name of script used in second register line.
2004-10-12  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/asc2img.scm: Fixed error in name of
	script used in second register line.
2004-10-13 02:01:23 +00:00
Sven Neumann 6076ecb234 moved out of the "Modify" placeholder. Using placeholders from Script-Fu
2004-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: moved out of the
	"Modify" placeholder. Using placeholders from Script-Fu breaks
	i18n.  We will need to change menu registration for scripts but
	this will have to wait..
2004-10-12 21:53:53 +00:00
Sven Neumann 1fca86a66d set "layers-crop" insensitive if the selection is empty.
2004-10-12  Sven Neumann  <sven@gimp.org>

	* app/actions/layers-actions.c (layers_actions_update): set
	"layers-crop" insensitive if the selection is empty.

	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
	Bold" instead of "Futura_Poster". The underscore in the font name
	used to confuse intltool (bug #137029) and the freefont package
	isn't that widely used any longer anyway.
2004-10-12 15:51:43 +00:00
Kevin Cozens 7086d9dfa8 Added more files missing from the distribution. re/debug.c re/main.c
2004-10-09 Kevin Cozens <kcozens@cvs.gimp.org>

    * re/Makefile.am: Added more files missing from the distribution.
    * re/debug.c
    * re/main.c
    * re/regcomp.c
    * re/regerror.c
    * re/regexec.c: Changed <regex.h> to "regex.h" to emphasize local
    header is being used rather than standard libc header file.
2004-10-09 15:21:04 +00:00
Kevin Cozens af2eb68c70 ftx/Makefile.am re/Makefile.am scripts/Makefile.am
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.
2004-10-09 04:23:59 +00:00
Kevin Cozens cb8cb6e4f8 Changed deprecated constant ADD to CHANNEL-OP-ADD.
2004-10-07  Kevin Cozens  <kcozens@cvs.gimp.org>

    * plug-ins/script-fu/scripts/selection-round.scm: Changed deprecated
    constant ADD to CHANNEL-OP-ADD.
2004-10-07 20:03:23 +00:00
Kevin Cozens 7fa8c1519e Added directory name for location of scheme-private.h in include statement. 2004-10-07 05:54:42 +00:00
Kevin Cozens fcf69f02d6 Added extra files temporarily lost during the autoconf process. 2004-10-07 05:45:51 +00:00
Kevin Cozens 8431d5f219 Forgot to change the caddr to car after the API call was changed. 2004-10-06 22:09:23 +00:00
Kevin Cozens 5a420188ad Initial revision 2004-10-06 21:47:36 +00:00
Michael Natterer dc3e9ec8e4 use a scale_entry instead of a spinbutton, changed mnemonic from "R" to
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: use a
	scale_entry instead of a spinbutton, changed mnemonic from "R" to
	"E", indentation.

	* plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
	in a comment.
2004-10-06 15:20:29 +00:00
Sven Neumann bd218b2582 applied patch by Alan Horkan that improves usability and usefulness of
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/selection-round.scm: applied patch by
	Alan Horkan that improves usability and usefulness of this script.
	Did some code cleanup and added the old procedure for backward
	compatibility. Fixes bug #145147.

	* menus/image-menu.xml.in: renamed placeholder in Image->Select
	from "Outline" to "Modify".
2004-10-06 14:03:30 +00:00
Michael Natterer caf4786993 tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
	* tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
	(gradients_sample_custom) (gradients_get_gradient_data)
	* tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
	deprecated.

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/pattern.pdb: added replacements for the
	deprecated functions. Removed the silly feature that passing NULL
	as name operates on the current brush, pattern etc.

	* app/pdb/brush_cmds.c
	* app/pdb/brushes_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* app/pdb/pattern_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrush_pdb.[ch]
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpgradient_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalette_pdb.c
	* libgimp/gimppattern_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* libgimp/gimpbrushmenu.c
	* libgimp/gimpgradientmenu.c
	* libgimp/gimppatternmenu.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
2004-10-05 23:28:17 +00:00
Sven Neumann 045aeed7b9 simple change to make the script work on all image types, not only RGB.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/addborder.scm: simple change to make
	the script work on all image types, not only RGB.
2004-10-05 20:47:15 +00:00
Sven Neumann 2284ab06cc left-justify the label.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
	left-justify the label.

	* libgimpwidgets/gimpdialog.c: if a button with GTK_RESPONSE_HELP
	is being added, hide the automatically added help button.

	* plug-ins/script-fu/script-fu-interface.c: five buttons are too
	much for the action area. Renamed the About button to Help and
	resurrected the help button in the about dialog as a way to get to
	the actual help pages (pressing F1 will get you there as well).
2004-10-04 22:59:13 +00:00
Michael Natterer 59766a4e14 - check the number of elements of array parameters against the actually
2004-10-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	- check the number of elements of array parameters against
	  the actually passed array and spit a proper error message
	  instead of trashing the wire. Fixes bug #154266.
	- g_strdup()/g_free() the proc_name so it doesn't get mungled
	  by convert_string().
	- added missing implementation of INT16ARRAY return values.
	- cleaned up STRINGARRAY value implementations to work like
	  all other array values.
2004-10-04 22:00:16 +00:00
Sven Neumann 779473f292 fixed reset for SF_TEXT values.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_reset):
	fixed reset for SF_TEXT values.
2004-10-04 21:53:04 +00:00
Sven Neumann b42b519a54 oops, didn't meant to remove that line.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	oops, didn't meant to remove that line.
2004-10-04 21:35:27 +00:00
Sven Neumann 4872d236ca set the help_func again (but not the help_id).
2004-10-04  Sven Neumann  <sven@gimp.org>

        * plug-ins/script-fu/script-fu-interface.c (script_fu_about): set
        the help_func again (but not the help_id).
2004-10-04 15:33:28 +00:00
Sven Neumann 6a5b30156c enabled line wrapping on labels. (script_fu_interface): substitute
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_about):
	enabled line wrapping on labels.
	(script_fu_interface): substitute underscores by hyphens to
	generate the help_id from the procedure name.
2004-10-04 14:05:04 +00:00
Sven Neumann c6579be8d4 set a minimum width for the color button again. (script_fu_about): don't
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	set a minimum width for the color button again.
	(script_fu_about): don't set help_func and help_id on the about
	dialog.
2004-10-04 13:06:00 +00:00
Sven Neumann 97b6636472 a cleaned up version of the script contributed by Kevin Cozens (see bug
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/asc2img.scm: a cleaned up version of
	the script contributed by Kevin Cozens (see bug #153900).

	* plug-ins/script-fu/scripts/predator.scm: applied patch by Kevin
	Cozens that fixes use of the script on original layer (bug #152678).
2004-10-04 09:02:00 +00:00
Sven Neumann 2119f890d4 plug-ins/script-fu/scripts/3d-outline.scm
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/camo.scm
	* plug-ins/script-fu/scripts/clothify.scm
	* plug-ins/script-fu/scripts/flatland.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/predator.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/spinning-globe.scm: applied patches
	from Kevin Cozens that define variables before first use (bug
	#153900).
2004-10-03 22:50:50 +00:00
Sven Neumann 224633fef3 handle allocation > requisition for the gradient preview.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpgradientmenu.c: handle allocation > requisition for
	the gradient preview.

	* plug-ins/script-fu/script-fu-interface.c: added a horizontal
	size group for the left-aligned controls.
2004-10-03 22:28:32 +00:00
Michael Schumacher d270b23a32 plug-ins/dbbrowser/Makefile.am moved the libgimpprocbrowser to the
2004-10-03  Michael Schumacher <schumaml@gmx.de>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/script-fu/Makefile.am: moved the libgimpprocbrowser to
	the beginning of LDADD
2004-10-03 17:49:18 +00:00
Michael Natterer 18af15ee94 renamed member "decription" to "menu_path".
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
	member "decription" to "menu_path".

	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

	* plug-ins/script-fu/script-fu-scripts.c: ditto. Don't pass the
	menu_path as "blurb" to gimp_install_temp_proc(). Instead,
	pass "help" as "blurb" and nothing as "help".

	* plug-ins/script-fu/scripts/test-sphere.scm: shortened overly
	long and useless help text.
2004-09-30 12:37:42 +00:00
Michael Natterer 95c903ec8b Cleaned up the DB Browser and Plugin Details code and GUI. It's not
2004-09-30  Michael Natterer  <mitch@gimp.org>

	Cleaned up the DB Browser and Plugin Details code and GUI.  It's
	not perfect yet but at least they don't look like crap any more.
	Fixes bug #131490.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/plugindetails.c: removed this plugin.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am: regenerated.

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/dbbrowser/dbbrowser_utils.[ch]: removed these files.

	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
	* plug-ins/dbbrowser/gimpprocview.[ch]: new cleaned up files.

	* plug-ins/dbbrowser/plugin-browser.c: the former plugindetails.
	* plug-ins/dbbrowser/procedure-browser.c: the former dbbrowser.

	* plug-ins/script-fu/Makefile.am: link against the new library
	libgimpprocbrowser.a

	* plug-ins/script-fu/script-fu-console.c: changed #includes
	accordingly. Monir cleanup.

	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): fixed menu_path
	return value. Was broken since the plug-in menu registering
	changes.

	* app/pdb/plug_in_cmds.c: regenerated.
2004-09-30 00:33:34 +00:00
Sven Neumann 58b08f867a put the text view into a scrolled window. Removed "changed" callbacks for
2004-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: put the text view into
	a scrolled window. Removed "changed" callbacks for GtkEntry and
	GtkTextView. Instead retrieve the final string when the dialog is
	confirmed.

	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: use
	gimp-data-directory instead of the deprecated constant
	gimp-data-dir.

	* plug-ins/script-fu/scripts/mkbrush.scm: unmarked strings for
	translation that I marked yesterday. Won't work unfortunately.
2004-09-23 19:22:04 +00:00
Sven Neumann 803b797a47 fixed context push/pop.
2004-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/blended-logo.scm: fixed context
	push/pop.
2004-09-23 18:51:02 +00:00
Sven Neumann b36cb4f0b4 plug-ins/script-fu/script-fu-enums.h
2004-09-23  Sven Neumann  <sven@gimp.org>

	* 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/siod-wrapper.c: applied a patch by Kevin
	Cozens, based on a patch by Dov Grobgeld. Implements multi-line
	text input in Script-Fu (bug #124394).

	* plug-ins/script-fu/scripts/test-sphere.scm: test the new SF-TEXT
	parameter.
2004-09-23 18:19:24 +00:00
Michael Natterer fc8241a0eb plug-ins/script-fu/scripts/3d-outline.scm
2004-09-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
	* plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
	* plug-ins/script-fu/scripts/beveled-pattern-heading.scm
	* plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/mkbrush.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/spyrogimp.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: use the new
	opacity, paint_mode, brush, pattern, gradient, palette and font
	accessors.
2004-09-23 11:44:32 +00:00
Sven Neumann 748021dda5 Converted the last bunch of scripts to the new context API:
2004-09-23  Sven Neumann  <sven@gimp.org>

	Converted the last bunch of scripts to the new context API:

	* plug-ins/script-fu/scripts/[s-z]*.scm
2004-09-23 11:16:23 +00:00
Sven Neumann cf221a14c1 Converted more scripts to the new context API:
2004-09-23  Sven Neumann  <sven@gimp.org>

	Converted more scripts to the new context API:

	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/hsv-graph.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm
2004-09-23 01:44:56 +00:00
Sven Neumann ce1ee9875d oops, should probably pop, not push a context in gimp_context_pop().
2004-09-23  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/context.pdb: oops, should probably pop, not
	push a context in gimp_context_pop().

	* app/pdb/context_cmds.c: regenerated.

	* plug-ins/script-fu/scripts/mkbrush.scm: don't fiddle with the
	brush description, simply use the name choosen by the user.
2004-09-23 00:11:13 +00:00
Sven Neumann 617c7c07c7 Converted the next bunch of scripts to the new context API:
2004-09-23  Sven Neumann  <sven@gimp.org>

	Converted the next bunch of scripts to the new context API:

	* plug-ins/script-fu/scripts/[d-n]*.scm: push and pop a context.
	Removed code that used to restore the context values changed by
	the scripts.
2004-09-22 23:33:29 +00:00
Michael Natterer 35b372ea08 tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb
2004-09-22  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl
	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...

	* tools/pdbgen/pdb/context.pdb: and added its functions to the
	"Context" namespace instead.

	* app/pdb/Makefile.am
	* app/pdb/palette_cmds.c: removed.

	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.

	* libgimp/Makefile.am
	* libgimp/gimppalette_pdb.[ch]: removed.

	* libgimp/gimppalette.[ch]: new files holding compat functions
	which call gimp_context_*() functions.

	* libgimp/gimp.h
	* libgimp/gimpui.c: changed accordingly.

	* app/pdb/context_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpcontext_pdb.[ch]: regenerated.

	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/common/apply_lens.c
	* plug-ins/common/blinds.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/cubism.c
	* plug-ins/common/exchange.c
	* plug-ins/common/film.c
	* plug-ins/common/gif.c
	* plug-ins/common/grid.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/papertile.c
	* plug-ins/common/png.c
	* plug-ins/common/polar.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/vpropagate.c
	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/gfig/gfig-style.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/maze/handy.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
2004-09-22 18:43:09 +00:00
Sven Neumann 6dafb0c60b plug-ins/script-fu/siod-wrapper.c plug-ins/script-fu/scripts/mkbrush.scm
2004-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c
	* plug-ins/script-fu/scripts/mkbrush.scm
	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: applied a
	patch from Kevin Cozens that adds constants for the directory
	names exposed by libgimpbase. Fixes bug #153327.
2004-09-22 17:31:44 +00:00
Sven Neumann 0ef809d6d4 Converted the first bunch of Script-Fu to the new context API:
2004-09-22  Sven Neumann  <sven@gimp.org>

	Converted the first bunch of Script-Fu to the new context API:

	* plug-ins/script-fu/scripts/[3a-c]*.scm: push and pop a context.
	Removed code that used to restore the context values changed by
	the scripts.
2004-09-22 17:27:20 +00:00
Michael Natterer 2dffdbeb60 removed assertion about proc_rec != NULL because that happens when
2004-09-22  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-proc-frame.[ch] (plug_in_proc_frame_init):
	removed assertion about proc_rec != NULL because that happens
	when query()ing and init()int plug-ins.

	Replaced "context" by "main_context" plus "context_stack".

	* app/plug-in/plug-in-context.c: implement plug_in_context_push()
	and plug_in_context_pop().

	* app/plug-in/plug-in-message.c
	* app/plug-in/plug-in-progress.c: changed accordingly.

	* tools/pdbgen/pdb/context.pdb: use the return values of
	plug_in_context_push() and _pop().

	* app/pdb/context_cmds.c: regenerated.

	* plug-ins/script-fu/scripts/test-sphere.scm: use
	gimp-context-push and gimp-context-pop instead of remembering the
	old values for FG, BG etc.
2004-09-22 16:22:43 +00:00
Sven Neumann b58d54bc93 got rid of two the global file descriptor sets. Use the client hash-table
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-server.c: got rid of two the global
	file descriptor sets. Use the client hash-table instead.
2004-09-21 16:06:50 +00:00
Sven Neumann 0d2455acbb enabled build of the Script-Fu server for the Win32 platform using the
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-server.c: enabled build of the
	Script-Fu server for the Win32 platform using the winsock API.

	* plug-ins/script-fu/Makefile.am: link with -lwsock32 on Win32.

	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/siod-wrapper.c: removed Win32 specific code
	that isn't needed any longer.
2004-09-21 15:18:49 +00:00
Dave Neary 2ade3b8a6e patch from Kevin Cozens which reinstates corona. Fixes bug #142282.
2004-09-16  Dave Neary  <bolsh@gimp.org>

	* plug-ins/script-fu/scripts/burn-in-anim.scm: patch from Kevin
	Cozens which reinstates corona. Fixes bug #142282.
2004-09-16 14:55:30 +00:00
Michael Natterer dc572fc9e6 plug-ins/script-fu/script-fu-interface.c (script_fu_ok) use a GString for
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok)
	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
	use a GString for assembling the commands string instead of
	g_sprintf()ing into a buffer. Removes the need for a separate loop
	over all args to determine the buffer's length and makes the
	remaining code smaller and more readable.
2004-09-02 13:04:47 +00:00
Michael Natterer aeb2888657 changed "guint history" to "gint history".
2004-09-01  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-types.h (struct SFOptions): changed
	"guint history" to "gint history".

	* plug-ins/script-fu/script-fu-interface.c: added callbacks for
	string entries and combo boxes and connect *all* widgets to callbacks.

	(script_fu_ok): don't touch the widgets at all but get the values
	directly now that the callbacks correctly write them to their
	structs.

	(script_fu_reset): don't copy the default values manually but
	simply set the default values on the widgets; their callbacks will
	do the rest.

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	added some line breaks and spaces to make it more readable.
2004-09-01 13:51:51 +00:00
Michael Natterer 527f33bb65 libgimp/Makefile.am libgimp/gimpui.h libgimp/gimpuitypes.h new widget
2004-09-01  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am
	* libgimp/gimpui.h
	* libgimp/gimpuitypes.h
	* libgimp/gimpprogressbar.[ch]: new widget GimpProgressBar which
	automatically redirects any progress calls to itself while
	it exists.

	* plug-ins/script-fu/script-fu-interface.c: removed all progress
	callback and simply use a GimpProgressBar.
2004-09-01 12:38:41 +00:00