Commit Graph

3432 Commits

Author SHA1 Message Date
David Odin 17272d76c8 Use a GimpAspectPreview here, so the preview is resizable.
* plug-ins/common/snoise.c: Use a GimpAspectPreview here, so the preview is
  resizable.
2004-09-29 12:31:52 +00:00
David Odin a001920ead libgimpwidgets/gimppreview.c split this widget into itself (more abstract
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: split this widget into itself (more
  abstract now) and ...

* libgimpwidgets/gimpscrolledpreview.c
* libgimpwidgets/gimpscrolledpreview.h: this widget which also have
  some scrollbars and a nagivation preview.

* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

* libgimp/gimpaspectpreview.c
* libgimp/gimpaspectpreview.h: Added this widget, derived from
  GimpPreview, which has always the same ratio has the given drawable.
  This widget has almost the same api as GimpDrawablePreview, and is
  useful for plug-ins that show the whole (scaled) drawable in their
  preview.

* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
  from GimpScrolledPreview.

* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h: changed accordingly.

* plug-ins/common/plasma.c: use a GimpAspectPreview.

* plug-ins/common/bumpmap.c
* plug-ins/common/cartoon.c
* plug-ins/common/deinterlace.c
* plug-ins/common/despeckle.c
* plug-ins/common/dog.c
* plug-ins/common/edge.c
* plug-ins/common/engrave.c
* plug-ins/common/exchange.c
* plug-ins/common/gauss.c
* plug-ins/common/grid.c
* plug-ins/common/mblur.c
* plug-ins/common/neon.c
* plug-ins/common/noisify.c
* plug-ins/common/oilify.c
* plug-ins/common/photocopy.c
* plug-ins/common/sel_gauss.c
* plug-ins/common/sharpen.c
* plug-ins/common/shift.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/struc.c
* plug-ins/common/unsharp.c
* plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
  instead of gimp_preview_get_position.
2004-09-28 23:23:09 +00:00
Michael Natterer a8f621fe9e renamed the "run_mode" parameters to "unused" and remode the rum_mode
2004-09-29  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpregioniterator.[ch]: renamed the "run_mode"
	parameters to "unused" and remode the rum_mode member from the
	private GimpRgbIterator struct.

	* plug-ins/common/AlienMap2.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/gradmap.c
	* plug-ins/common/mapcolor.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/noisify.c
	* plug-ins/common/normalize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/semiflatten.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/vinvert.c
	* plug-ins/fp/fp.c: made "run_mode" a private variable of run()
	and pass 0 to gimp_rgn_iterate*(). Minor cleanups.
2004-09-28 23:08:17 +00:00
Michael Natterer 3004cb1bd0 tools/pdbgen/Makefile.am renamed group "gradient_edit" to "gradient" and
2004-09-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/groups.pl: renamed group "gradient_edit" to
	"gradient" and added "brush", "palette" and "pattern" groups.

	* tools/pdbgen/pdb/gradient_edit.pdb: removed.

	* tools/pdbgen/pdb/brush.pdb
	* tools/pdbgen/pdb/gradient.pdb
	* tools/pdbgen/pdb/palette.pdb
	* tools/pdbgen/pdb/pattern.pdb: new files containing functions
	which create, duplicate, rename, delete, query and manipulate
	a single brush, pattern etc.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
	now and simply removed the procedures that were added after 2.0.

	* app/pdb/gradient_edit_cmds.c
	* libgimp/gimpgradientedit_pdb.[ch]: removed.

	* app/pdb/brush_cmds.c
	* app/pdb/gradient_cmds.c
	* app/pdb/palette_cmds.c
	* app/pdb/pattern_cmds.c
	* libgimp/gimpbrush_pdb.[ch]
	* libgimp/gimpgradient_pdb.[ch]
	* libgimp/gimppalette_pdb.[ch]
	* libgimp/gimppattern_pdb.[ch]: new files.

	* app/pdb/brushes_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* app/pdb/Makefile.am
	* libgimp/Makefile.am
	* plug-ins/gfig/gfig-style.c: changed accordingly.
2004-09-28 22:01:21 +00:00
Maurits Rijk d4d092a8eb plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-09-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_circle.c:
	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_polygon.c
	* plug-ins/imagemap/imap_rectangle.c
	* plug-ins/imagemap/imap_settings.c: first set of changes to make
	imagemap fully HIG compliant. More to come.
2004-09-28 19:54:31 +00:00
Maurits Rijk 39f06f450c added size entry. Fixes #143156 (Use size entry widget in Borderaverage
2004-09-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/borderaverage.c: added size entry. Fixes #143156
	(Use size entry widget in Borderaverage plug-in)
2004-09-28 18:48:12 +00:00
David Odin 5c6e0c8e40 use the same preview as in all other plug-ins.
* plug-ins/common/exchange.c: use the same preview as in all other plug-ins.
2004-09-26 11:50:03 +00:00
Sven Neumann dac7b80df1 removed C++ style comment.
2004-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_stock.c: removed C++ style comment.
2004-09-25 21:16:14 +00:00
Sven Neumann ceadeff618 shut up CVS 2004-09-25 20:56:07 +00:00
Maurits Rijk dc6d00fe93 plug-ins/imagemap/imap_stock.[ch] plug-ins/imagemap/Makefile.am get rid of
2004-09-25  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_stock.[ch]
	* plug-ins/imagemap/Makefile.am
	* plug-ins/imagemap/*.xpm: get rid of all .xpm images

	* configure.in
	* plug-ins/imagemap/images/*: and add them as .png here

	* plug-ins/imagemap/imap_browse.c: remove unused include.
2004-09-25 20:18:04 +00:00
David Odin b1f789d6f0 Added a preview and #if'ed out some unreachable code.
* plug-ins/common/engrave.c: Added a preview and #if'ed out some
  unreachable code.
2004-09-25 14:06:11 +00:00
David Odin b97fa2eaa6 made the preview behave like in all other plug-ins by using a
* plug-ins/common/dog.c: made the preview behave like in all other plug-ins
  by using a GimpDrawablePreview.  This allowed to remove a bunch of
  complicated code.
2004-09-25 10:42:12 +00:00
David Odin eb01510ec9 Added a preview and made some small cleanups.
* plug-ins/common/oilify.c: Added a preview and made some small cleanups.
2004-09-24 23:16:19 +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 46989bc717 tools/pdbgen/pdb/brushes.pdb tools/pdbgen/pdb/gradients.pdb
2004-09-23  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: removed the foos_set_foo()
	procedures and marked the foos_set_foo() ones as deprecated. For
	brushes, patterns and palettes, added foos_get_foo_info()
	procedures which work like foos_get_foo_data() but return just the
	properties, not the actual data. Allow NULL or "" to be passed
	as name to all functions (use the current brush, pattern etc.
	in this case).

	* tools/pdbgen/pdb/fonts.pdb: cleanup.

	* app/pdb/procedural_db.c: added the removed ones to the compat
	hash table.

	* libgimp/Makefile.am
	* libgimp/gimpbrushes.[ch]
	* libgimp/gimpgradients.[ch]
	* libgimp/gimppalettes.[ch]
	* libgimp/gimppatterns.[ch]: new files with compat functions
	wich call the resp. gimp_context_*() functions.

	* libgimp/gimp.h: changed accordingly.

	* app/pdb/brushes_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-style.[ch]
	* plug-ins/gflare/gflare.c: changed accordingly.
2004-09-23 15:05:48 +00:00
Michael Natterer 4009cb1a6e added a GtkPaned for packing preview and controls so the controls are
2004-09-23  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/bumpmap.c (bumpmap_dialog): added a GtkPaned for
	packing preview and controls so the controls are resizable again.
2004-09-23 11:45:53 +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
Sven Neumann 0e91274ef4 cosmetics.
2004-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c (bumpmap_dialog): cosmetics.
2004-09-22 22:56:56 +00:00
Kevin Turner 4e6bb34252 plug-ins/pygimp/gimpfu.py (register): clean up errors in parameter checking.
Fixes "TypeError: cannot concatenate 'str' and 'int' objects"
2004-09-22 22:08:50 +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 531935c762 moved the preview to the left.
2004-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: moved the preview to the left.
2004-09-22 00:16:45 +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
Sven Neumann 12bbec374b let the dialog collapse with the expander by making it not resizable.
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c (save_dialog): let the dialog collapse
	with the expander by making it not resizable.
2004-09-21 10:42:55 +00:00
Dave Neary ddb73eb8cc Correctly set overlay, hard light and soft light modes from .psd files.
2004-09-21  Dave Neary  <bolsh@gimp.org>

	* plug-ins/common/psd.c: Correctly set overlay, hard light and
	soft light modes from .psd files. Fixes bug #153229.
2004-09-21 09:00:55 +00:00
Sven Neumann 331b1330c4 set to 90dpi as a workaround for bug #143300.
2004-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c (SVG_DEFAULT_RESOLUTION): set to 90dpi as
	a workaround for bug #143300.
2004-09-20 23:33:35 +00:00
Maurits Rijk c975f6c994 plug-ins/imagemap/imap_cmd_guides.c
2004-09-20  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_default_dialog.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_tools.c: disabled functionality that doesn't
	fully work yet. #136713 now becomes an enhancement request.
2004-09-20 21:14:09 +00:00
Sven Neumann bb9c250eec added tooltips, enabled "Compensate for darkening" by default, some minor
2004-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: added tooltips, enabled "Compensate
	for darkening" by default, some minor cleanups.
2004-09-20 14:58:52 +00:00
David Odin bc68cf107e added a preview. Not sure if it is really useful...
* plug-ins/common/deinterlace.c: added a preview. Not sure if it is
  really useful...
2004-09-20 13:36:20 +00:00
David Odin 2b41574f66 added a preview.
* plug-ins/common/shift.c: added a preview.
2004-09-20 11:47:13 +00:00
Sven Neumann a6150e02ca some tweaks to the dialog layout.
2004-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c: some tweaks to the dialog layout.
2004-09-19 21:49:58 +00:00
David Odin 790d91a684 use a GimpDrawablePreview instead of a very complicated homemade preview.
* plug-ins/common/bumpmap.c: use a GimpDrawablePreview instead of a
  very complicated homemade preview.  Many small changes in the code
  too, and some cleanups. I hope I didn't break anything.
2004-09-19 20:53:34 +00:00
Sven Neumann 8e8fa93c25 applied a patch by Peter Kirchgessner that solves a problem with the
2004-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (ps_open): applied a patch by Peter
	Kirchgessner that solves a problem with the recognition of the
	bounding box. Fixes bug #152829.
2004-09-19 10:54:48 +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
David Odin a971903384 fix the preview for the zoom blur mode.
* plug-ins/common/mblur.c: fix the preview for the zoom blur mode.
2004-09-15 21:08:58 +00:00
Sven Neumann 5f1373436c fixed code that handles drawing outside of the preview area.
2004-09-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.c
	(gimp_preview_area_[draw|blend|mask]): fixed code that handles
	drawing outside of the preview area.

	* plug-ins/common/unsharp.c (preview_update): draw the preview
	directly from the pixel region.
2004-09-15 20:51:00 +00:00
Sven Neumann bfa352bae0 libgimp/gimpdrawablepreview.[ch] renamed gimp_drawable_preview_draw() to
2004-09-15  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimp/gimpui.def: renamed gimp_drawable_preview_draw() to
	gimp_drawable_preview_draw_buffer() and added a rowstride
	parameter. Added new functions gimp_drawable_preview_get_drawable()
	and gimp_drawable_preview_draw_region().

	* plug-ins/common/mblur.c: added a preview that uses the
	shadow tiles as the preview buffer and draws using the new
	gimp_drawable_preview_draw_region() API.

	* plug-ins/common/photocopy.c
	* plug-ins/common/softglow.c: use gimp_drawable_preview_draw_region().

	* plug-ins/common/cartoon.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/edge.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/sobel.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/wind.c: use gimp_drawable_preview_draw_buffer().
2004-09-15 19:56:01 +00:00
Sven Neumann 6d02719401 plug-ins/common/flarefx.c embed the preview into a sunken frame and put it
2004-09-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/flarefx.c
	* plug-ins/common/nova.c: embed the preview into a sunken frame
	and put it into the upper left corner of the dialog.
2004-09-14 11:43:02 +00:00
Sven Neumann e2d8f7e48d make the "Save EXIF data" toggle insensitive when no EXIF data is present
2004-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c (save_dialog): make the "Save EXIF data"
	toggle insensitive when no EXIF data is present (bug #140042).

	* app/display/gimpdisplayshell-close.c: as suggested by the HIG,
	ask the user to save the image when the last display is being
	closed. Addresses some issues raised in bug #106726.
2004-09-13 21:58:27 +00:00
Sven Neumann 2449510d5b some code cleanup.
2004-09-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: some code cleanup.
2004-09-13 16:29:59 +00:00
Sven Neumann 6c2aa00188 use a combo box for format selection.
2004-09-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/aa.c (aa_dialog): use a combo box for format
	selection.
2004-09-12 21:29:46 +00:00
David Odin 35cb43787b added a default value (TRUE) for the update_preview toggle.
* plug-ins/common/edge.c: added a default value (TRUE) for the
  update_preview toggle.

* plug-ins/common/wind.c: ported to GimpPreviewArea, so the preview is
  much more useful now.
2004-09-11 21:39:36 +00:00
David Odin 004a5e0cd8 ported to GimpPreviewArea. 100 less lines of code and much more features!
* plug-ins/common/edge.c: ported to GimpPreviewArea. 100 less lines of
  code and much more features!
2004-09-11 19:11:04 +00:00
David Odin 9f0842f021 some code cleanup and small optimisations.
* plug-ins/common/oilify.c: some code cleanup and small optimisations.
2004-09-11 15:29:30 +00:00
Sven Neumann 94d0dfb6b3 fixed spelling.
2004-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c (query): fixed spelling.
2004-09-10 17:00:28 +00:00
Sven Neumann 8f3ea939a8 improved PDB blurb and help. Very loosely based on a patch attached to bug
2004-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c: improved PDB blurb and help. Very loosely
	based on a patch attached to bug #151912.
2004-09-10 12:05:00 +00:00
Michael Natterer 094909cd8a plug-ins/common/cartoon.c plug-ins/common/despeckle.c
2004-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/cartoon.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/grid.c
	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/unsharp.c: pack all drawable previews expanding.
	Also did some general cleanups like consistently naming the dialog
	variable "dialog" and the main vbox "main_vbox".
2004-09-09 16:08:56 +00:00
Sven Neumann a514ce7db1 allow to set a maximum size and center the preview area if its allocation
2004-09-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreviewarea.[ch]: allow to set a maximum size
	and center the preview area if its allocation extends the maximum.

	* libgimpwidgets/gimppreview.[ch]: derive from GtkVBox, moved the
	toggle button out of the table and put the table into an aspect
	frame. Added an API to set the preview boundaries. Set the maximum
	size of the GimpPreviewArea from that function.

	* libgimpwidgets/gimpwidgets.def: added new entries.

	* libgimp/gimpdrawablepreview.c: use gimp_preview_set_bounds().

	* plug-ins/common/gauss.c: pack the preview widget so that it
	resizes with the dialog.
2004-09-09 14:47:39 +00:00
Michael Natterer a2a6572519 indentation and whitespace cleanup.
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/edge.c: indentation and whitespace cleanup.

	* plug-ins/common/struc.c: minor coding style issues.
2004-09-07 12:13:29 +00:00
Michael Natterer 6d86a4da42 applied patch from Alan Horkan which improves the blurb and help texts.
2004-09-07  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xwd.c (query): applied patch from Alan Horkan
	which improves the blurb and help texts. Fixes bug #151912.

	Unrelated: did coding style / indentation cleanup in the whole file.
2004-09-07 12:08:03 +00:00
David Odin e1673aa84d added a preview.
* plug-ins/common/struc.c: added a preview.
2004-09-06 20:12:32 +00:00
David Odin d44e08aed7 use gimp_preview_invalidate() where appropriate.
* plug-ins/common/cartoon.c: use gimp_preview_invalidate() where
  appropriate.

* plug-ins/common/photocopy.c: Added a preview.
2004-09-05 21:54:34 +00:00
David Odin 7cc418aab4 Added a preview.
* plug-ins/common/cartoon.c: Added a preview.
2004-09-05 19:59:12 +00:00
Simon Budig 096e059a00 fix handling of layers with an offset. Resize the image before cropping
2004-09-05  Simon Budig  <simon@gimp.org>

	* plug-ins/common/autocrop.c: fix handling of layers with an
	offset. Resize the image before cropping when the covered area
	of a layer is partially outside the image area. Make math more
	comprehensible.
2004-09-05 15:06:53 +00:00
Sven Neumann c8f8500220 plug-ins/common/convmatrix.c plug-ins/common/smooth_palette.c renamed
2004-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/flame/flame.c: renamed functions from doit() to
	something less silly.
2004-09-05 08:08:36 +00:00
David Odin 967bac104d ported to GimpDrawablePreview.
* plug-ins/common/noisify.c: ported to GimpDrawablePreview.
2004-09-04 20:31:41 +00:00
David Odin a53b847ac8 ported to GimpDrawablePreview.
* plug-ins/common/sel_gauss.c: ported to GimpDrawablePreview.
2004-09-03 23:22:31 +00:00
David Odin 4525c29f66 ported to GimpDrawablePreview.
* plug-ins/common/sharpen.c: ported to GimpDrawablePreview.
2004-09-03 22:32:37 +00:00
Sven Neumann 414c19762f ported to GimpDrawablePreview.
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: ported to GimpDrawablePreview.
2004-09-03 16:37:53 +00:00
Sven Neumann dd9cc198f5 left-align the preview.
2004-09-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plasma.c (plasma_dialog): left-align the preview.

	* plug-ins/common/grid.c (dialog): pack the preview as in other
	plug-in dialogs and embed it into a GtkFrame.
2004-09-03 14:41:31 +00:00
David Odin dfa47f2736 made the code much more readable by applying the gimp's coding standard
* plug-ins/gimpressionist/*.c: made the code much more readable by
  applying the gimp's coding standard (intentation, space, etc.), and
  remove the GTK_DISABLE_DEPRECATED warnings, since these files don't use
  any deprecated stuff anymore.
2004-09-02 23:28:44 +00:00
Michael Natterer 67f7f1dbea plug-ins/common/neon.c plug-ins/common/noisify.c plug-ins/common/sobel.c
2004-09-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: fixed various coding style and naming
	issues and added some missing signal connections to update the new
	previews.
2004-09-02 18:55:20 +00:00
David Odin 6d69fae5d8 don't assume the preview has always the same size, and do the memory
* plug-ins/common/despeckle.c: don't assume the preview has always the
  same size, and do the memory allocation in preview_update(). As a side
  effect, this fix a segfault :-).  Also save the preview toggle state
  between invocations.
2004-09-02 17:49:51 +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
Sven Neumann 50627802d0 made gimp_preview_draw() public, added some gtk-doc comments.
2004-09-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: made gimp_preview_draw() public,
	added some gtk-doc comments.
	(gimp_preview_toggle_callback): immidiately invalidate the preview.

	* plug-ins/common/gauss.c (gauss): fixed (and simplified) handling
	of zero radii by using the new GimpPreview API.
2004-09-02 10:23:52 +00:00
Sven Neumann 8959450c2f plug-ins/common/borderaverage.c plug-ins/common/checkerboard.c
2004-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/borderaverage.c
	* plug-ins/common/checkerboard.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/illusion.c
	* plug-ins/common/polar.c
	* plug-ins/common/ripple.c
	* plug-ins/common/spread.c
	* plug-ins/common/video.c: don't pass run_mode to
	gimp_rgn_iterator_new(), it's unused. Removes the need for ir being
	a global variable.
2004-09-02 01:23:09 +00:00
Sven Neumann 3155d682a5 libgimp/gimpdrawablepreview.[ch] always show the "Preview" check button.
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpdrawablepreview.[ch]
	* libgimpwidgets/gimppreview.[ch]: always show the "Preview" check
	button. Simplified the preview APIs, moved the "size" style
	property to the GimpPreview class.

	* etc/gtkrc: changed the example accordingly.

	* plug-ins/common/despeckle.c
	* plug-ins/common/gauss.c
	* plug-ins/common/neon.c
	* plug-ins/common/sobel.c
	* plug-ins/common/softglow.c
	* plug-ins/common/spread.c
	* plug-ins/common/unsharp.c: follow change in GimpDrawablePreview API.
2004-09-01 14:01:10 +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
Manish Singh 2c82c9fca0 plug-ins/pygimp/gimpfu.py Hacked up support for the new progress
2004-09-01  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpmodule.c: Hacked up support for the new
        progress interface. Emphasis on hacked.

        * plug-ins/pygimp/gimpmodule.c: Wrapped gimp_extension_enable(). Minor
        cleanups.

        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-tile.c: Minor cleanups.
2004-09-01 07:57:15 +00:00
Manish Singh a0aa2e5c2a plug-ins/pygimp/plug-ins/gimpcons.py remove deprecated mainloop calls.
2004-08-31  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: remove deprecated mainloop
        calls.
2004-09-01 05:30:47 +00:00
Sven Neumann 6f7adcf985 delay the emission of the "invalidated" signal using a timeout. Removed
2004-09-01  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]: delay the emission of the
	"invalidated" signal using a timeout. Removed hack that used to
	invalidate the preview on button-release.

	* plug-ins/common/unsharp.c: no need to fiddle with the slider
	update policies any longer.
2004-08-31 23:37:04 +00:00
Michael Natterer 3239f670c3 removed the GUI code... Also did some minor cleanups.
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.[ch]: removed the GUI code...
	Also did some minor cleanups.

	* plug-ins/script-fu/script-fu-interface.[ch]: ...and added it here.

	* plug-ins/script-fu/script-fu-types.h: new file keeping the
	various struct defs needed by both the above files.

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/siod-wrapper.c: changed accordingly.
2004-08-31 17:54:46 +00:00
David Odin 06c4f31bb7 libgimpwidgets/gimppreview.c renamed the "updated" signal to "invalidated"
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: renamed the "updated" signal to
  "invalidated" and the confusing "update" virtual function to "draw".

Renamed the property with saner names, too.

Removed _get_width and _get_height functions in favor of a _get_size on.

Added a gimp_preview_invalidate function that emit the "invalidated"
signal if needed.

* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: modified accordingly and fixed the
  scrollbar range.

* plug-ins/common/despeckle.c
* plug-ins/common/gauss.c
* plug-ins/common/neon.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/unsharp.c: modified accordingly.
2004-08-31 14:29:25 +00:00
Michael Natterer 111c6af7bc removed the script title label and moved the "About" button to the
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c: removed the script title
	label and moved the "About" button to the action_area. Minor
	cleanups.
2004-08-31 14:20:38 +00:00
Sven Neumann 0586ac0ba6 don't use GDK_TOP_LEFT_ARROW to restore the default cursor, simply pass
2004-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: don't use GDK_TOP_LEFT_ARROW
	to restore the default cursor, simply pass NULL to
	gdk_window_set_cursor().
2004-08-31 14:02:10 +00:00
Michael Natterer e64450b3c1 added "..." to the progress text.
2004-08-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/cubism.c: added "..." to the progress text.
2004-08-31 11:45:16 +00:00
Sven Neumann e80ba517ba update the preview when the blur radius is being changed.
2004-08-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c (gauss_dialog): update the preview when
	the blur radius is being changed. gimp_coordinates_new() seems to
	be broken though; there shouldn't be two signal connections needed
	here.
2004-08-30 23:50:04 +00:00
David Odin 18139487f9 libgimpwidgets/gimppreview.c added a GimpPreview widget, abstract base for
* libgimpwidgets/gimppreview.c
* libgimpwidgets/gimppreview.h: added a GimpPreview widget, abstract
  base for a GimpDrawablePreview.

* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgetstypes.h: modified accordingly.

* libgimp/gimpdrawablepreview.c
* libgimp/gimpdrawablepreview.h: added a GimpDrawablePreview widget
  to ease	the use of previews by plug-ins.

* libgimp/Makefile.am
* libgimp/gimpui.h: Changed accordingly.

* plug-ins/common/despeckle.c
* plug-ins/common/gauss.c
* plug-ins/common/neon.c
* plug-ins/common/sobel.c
* plug-ins/common/softglow.c
* plug-ins/common/spread.c
* plug-ins/common/unsharp.c: use a GimpDrawablePreview with these plug-ins.
2004-08-30 22:10:26 +00:00
Michael Natterer 997db5f556 add "..." to the progress text.
2004-08-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gauss.c: add "..." to the progress text.
2004-08-30 20:02:31 +00:00
Sven Neumann aeb5f302d5 plug-ins/common/colortoalpha.c plug-ins/common/compose.c
2004-08-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/film.c
	* plug-ins/fits/fits.c: always use the progress API, not doing it
	in non-interactive mode has always been wrong.
2004-08-30 19:01:41 +00:00
Michael Natterer 509b88e815 Brought the PDB progress into a working state. Fixes bug #6010, addressed
2004-08-30  Michael Natterer  <mitch@gimp.org>

	Brought the PDB progress into a working state. Fixes bug #6010,
	addressed bugs #97266 and #135185 and unfortunately reopens bug
	#150194 (will fix that later).

	* libgimpbase/gimpbaseenums.h: added enum GimpProgressCommand.

	* app/core/gimppdbprogress.c
	* libgimp/gimpprogress.c: use the enum instead of integer
	constants for the different progress commands. Cleanup.

	* app/plug-in/plug-in-progress.c
	* app/plug-in/plug-in-run.c
	* app/plug-in/plug-in.c: switch bach to real refcouting for
	plug_in->progress (reopens bug #150194) and enabled the PDB
	progress code.

	* plug-ins/script-fu/script-fu-scripts.c: cleaned up the
	progress stuff and the script-fu interface a bit.

	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-08-30 14:57:24 +00:00
Michael Natterer 065db21d0a Added an API to allow plug-ins to embed the progress for the actions they
2004-08-29  Michael Natterer  <mitch@gimp.org>

	Added an API to allow plug-ins to embed the progress for the
	actions they trigger into their own GUI (attention: half-done and
	broken code ahead...)

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimppdbprogress.[ch]: new object implementing dispatching
	progress calls to a temporary PDB procedure in a plug-in.

	* app/Makefile.am: force to link gimppdbprogress.o, bah!

	* app/plug-in/plug-in-progress.[ch]: added API to install,
	uninstall and cancel a PDB progress for this plug-in, but disabled
	the implementation because it doesn't work yet.

	* tools/pdbgen/pdb/progress.pdb: added pdb wrappers for the new
	install, uninstall and cancel functions.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpprogress.[ch]: added an API around the PDB progress
	stuff.

	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* plug-ins/script-fu/script-fu-scripts.c: use the new API to show
	the progress in the script-fu dialog.
2004-08-29 18:36:30 +00:00
Sven Neumann d230b2289b fixed confusion about which mode to use when being run with last values
2004-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/vpropagate.c (run): fixed confusion about which
	mode to use when being run with last values (bug #151308).
2004-08-28 21:16:42 +00:00
Simon Budig 6fd46ff232 workaround to avoid a warning by gcc about the use of "%c" in the format
2004-08-28  Simon Budig  <simon@gimp.org>

	* plug-ins/common/plugindetails.c: workaround to avoid a warning
	by gcc about the use of "%c" in the format string.
2004-08-28 18:56:46 +00:00
Sven Neumann 32b019ffa9 applied patch from Markus Triska that improves which layers are choosen by
2004-08-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c (compose_dialog): applied patch from
	Markus Triska that improves which layers are choosen by
	default (bug #148172).
2004-08-28 12:10:48 +00:00
Sven Neumann 804788c120 applied a patch from Eric Cheung that changes the function to use a GQueue
2004-08-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-contiguous-region.c
	(find_contiguous_region_helper): applied a patch from Eric Cheung
	that changes the function to use a GQueue to implement recursion
	instead of recursive function calls. Fixes bug #151124.

	* plug-ins/common/noisify.c (noisify_dialog): left-align the
	preview.
2004-08-28 11:48:00 +00:00
Manish Singh b6d3a912fd Guard against bogus logical screen dimensions. Fixes bug #151053.
2004-08-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gifload.c: Guard against bogus logical screen
        dimensions. Fixes bug #151053.
2004-08-25 22:32:54 +00:00
Simon Budig 5dd10c748d Fix some GUI issues. Make the relation between the dimension parameter and
2004-08-21  Simon Budig  <simon@gimp.org>

	* plug-ins/common/gih.c: Fix some GUI issues. Make the relation
	between the dimension parameter and the rank thingies more clear
	also changed to a nicer layout.
2004-08-21 10:38:38 +00:00
Sven Neumann 96b762a53d fixed some minor issues (compiler warnings) with schumaml's change 2004-08-19 14:37:35 +00:00
Michael Schumacher 38153309eb modified the coordinate insertion into the file name to leave the file
2004-08-19  Michael Schumacher <schumaml@cvs.gnome.org>

	* plug-ins/common/guillotine.c: modified the coordinate insertion
	into the file name to leave the file extension intact, changed the
	format of the coordinates. Fixes bug #101901.
2004-08-19 14:26:24 +00:00