Commit Graph

3732 Commits

Author SHA1 Message Date
Michael Natterer d4ebac156c undeprecated by using a GtkUIManager for creating the toolbar. Some
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/uniteditor.c: undeprecated by using a
	GtkUIManager for creating the toolbar. Some cleanup and code
	reordering.
2004-11-04 15:52:06 +00:00
Michael Natterer 0c68b40fa5 some undeprecation and cleanup. Still uses GtkItemFactory.
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: some undeprecation and
	cleanup. Still uses GtkItemFactory.
2004-11-04 15:24:55 +00:00
Michael Natterer 04f914f1a6 #undef GTK_DISABLE_DEPRECATED.
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/ifscompose/ifscompose.c: #undef GTK_DISABLE_DEPRECATED.
2004-11-04 12:35:38 +00:00
Michael Natterer de592c4e00 plug-ins/common/ccanalyze.c plug-ins/common/uniteditor.c
2004-11-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/ccanalyze.c
	* plug-ins/common/uniteditor.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_misc.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/imagemap/imap_toolbar.c
	* plug-ins/imagemap/imap_tools.c
	* plug-ins/print/gimp_color_window.c: stop using deprecated
	functions, added some #undef GTK_DISABLE_DEPRECATED where needed.
2004-11-04 10:06:22 +00:00
Michael Natterer ba92c24d79 app/dialogs/module-dialog.c plug-ins/dbbrowser/gimpprocbrowser.c use
2004-11-03  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/module-dialog.c
	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: use
	gtk_tree_model_get_iter_first() instead of the deprecated
	_get_iter_root().

	* app/display/gimpdisplayshell-callbacks.c: don't include
	"widgets/gimpitemfactory.h".
2004-11-03 17:13:43 +00:00
Michael Natterer 4ae376f386 don't silently return when there is already a script running but show a
2004-11-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	don't silently return when there is already a script running but
	show a message instead. Unfortunately introduces two new strings,
	but bugs are bugs. Fixes bug #123882.
2004-11-02 21:40:10 +00:00
Michael Natterer 8ba89c7746 deprecated all functions.
2004-11-02  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/transform_tools.pdb: deprecated all functions.

	* app/pdb/transform_tools_cmds.c
	* libgimp/gimptransformtools_pdb.[ch]: regenerated.

	* plug-ins/common/tiff.c
	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/perspective-shadow.scm
	* plug-ins/script-fu/scripts/text-circle.scm
	* plug-ins/script-fu/scripts/truchet.scm: use the new transform API.
2004-11-02 13:44:13 +00:00
Michael Natterer 0bbba79f0c added missing bzip2 command lines for Win32.
2004-11-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compressor.c (compressors): added missing bzip2
	command lines for Win32.
2004-11-02 12:37:25 +00:00
Michael Natterer 3d8e4d1224 plug-ins/bmp/bmpread.c plug-ins/bmp/bmpwrite.c plug-ins/common/CEL.c
2004-11-02  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/CEL.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/animoptimize.c
	* plug-ins/common/autostretch_hsv.c
	* plug-ins/common/c_astretch.c
	* plug-ins/common/ccanalyze.c
	* plug-ins/common/color_enhance.c
	* plug-ins/common/film.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/grid.c
	* plug-ins/common/header.c
	* plug-ins/common/mng.c
	* plug-ins/common/normalize.c
	* plug-ins/common/pcx.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/vinvert.c
	* plug-ins/common/winclipboard.c
	* plug-ins/common/winprint.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/winicon/main.c: use the new "colormap" functions
	instead of the deprecated "cmap" ones.
2004-11-02 12:00:25 +00:00
David Odin 015c640322 plug-ins/gfig/gfig-dobject.c plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: some more cleanups. The current_style bug is
  still there :(
2004-11-01 23:58:43 +00:00
Sven Neumann 8526b48371 fixed typo.
2004-11-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff.c (query): fixed typo.
2004-11-01 14:29:29 +00:00
David Odin e681ca8061 new file to hold the types gfig uses. This makes the sources easier to
* plug-ins/gfig/gfig-types.h: new file to hold the types gfig uses.
  This makes the sources easier to read.

* plug-ins/gfig/Makefile.am: added gfig-types.h

* plug-ins/gfig/gfig.h: removed some types definitions and put them
  in gfig-types.h and ...

* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-style.h: ...into these files.
2004-11-01 12:03:32 +00:00
Simon Budig 7f48c61e10 Fixed handling of 1x1 selection and selection out of drawable.
2004-11-01  Simon Budig  <simon@gimp.org>

	* plug-ins/common/plasma.c: Fixed handling of 1x1 selection and
	selection out of drawable.
2004-10-31 23:44:12 +00:00
Sven Neumann b7371f6418 removed pix-data.h.
2004-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/Makefile.am (EXTRA_DIST): removed pix-data.h.
2004-10-31 22:41:45 +00:00
Sven Neumann 850601c2c7 removed an unused variable.
2004-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/newsprint.c: removed an unused variable.
2004-10-31 19:40:11 +00:00
David Odin 1e2ff31c87 plug-ins/gfig/gfig-dialog.c some more UI improvements.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c: some more UI improvements.
2004-10-31 01:07:57 +00:00
David Odin eea7561ac8 plug-ins/gfig/gfig-dobject.c fixed some annoying popup messages at the
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-style.c: fixed some annoying popup messages at
  the price of a smallish mem-leak that I will fix later.
2004-10-30 21:31:18 +00:00
David Odin 8b5dc9ff8a Moved the preview to the left, as suggested by Joao S. O. Bueno.
* plug-ins/common/newsprint.c: Moved the preview to the left, as
  suggested by Joao S. O. Bueno.
2004-10-30 15:53:06 +00:00
David Odin 5ff8bc3c6b plug-ins/gfig/gfig-dialog.c plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h: some more cleanups and UI tweaks. Still
  work in progress.

* plug-ins/gfig/pix-data.h: removed this empty, unused file.
2004-10-30 15:25:07 +00:00
Sven Neumann 6eea7ef5a7 applied a patch from Geert Jordaens that improves the Despeckle algorithm.
2004-10-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c: applied a patch from Geert Jordaens
	that improves the Despeckle algorithm. See bug #72862.
2004-10-30 12:57:03 +00:00
Kevin Cozens 12ee2a82f4 Updated to use convert_string() to change name of constant to Scheme
2004-10-29  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (init_constants): Updated to
	use convert_string() to change name of constant to Scheme format.
2004-10-30 03:38:46 +00:00
Sven Neumann 1df5bacb91 applied patch by Joao S. O. Bueno that implements the opacity parameters
2004-10-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c (run): applied patch by Joao S. O. Bueno
	that implements the opacity parameters the way it is documented.
	Fixes bug #156750.
2004-10-29 23:54:17 +00:00
Sven Neumann 1b62ed2e42 applied patch from Yeti, updated by Kevin Cozens and modified by me. Fixes
2004-10-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/glasstile.c: applied patch from Yeti, updated by
	Kevin Cozens and modified by me. Fixes bug #85261.
2004-10-29 23:05:24 +00:00
Kevin Cozens 4e8a8be40d Removed some items from here... tinyscheme/scheme-private.h ... and added
2004-10-29  Kevin Cozens  <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Removed some items from here...
	* tinyscheme/scheme-private.h ... and added them here so they
	could be used in the ts-wrapper.c file.
2004-10-29 19:28:29 +00:00
Kevin Cozens fad244f743 Removed three lines no longer needed.
2004-10-29  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/carve-it.sct: Removed three lines no longer needed.

	* scripts/contactsheet.sct: Use gimp-drawable-fill instead of
	gimp-edit-fill.

	* scripts/hsv-graph.sct: Backed out some changes made during first
	attempts to get the script working. Fixed text for one toggle.
	Reformatted the file.

	* scripts/test-sphere.sct: Added note about use of SF_PALETTE
2004-10-29 17:59:10 +00:00
Kevin Cozens 882ad0ded4 Added notes about use of SF-PALETTE.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: Added notes about
	use of SF-PALETTE.
2004-10-29 17:38:42 +00:00
Sven Neumann ff2391a695 pass the name to filesystem encoding to gimp_image_set_filename(). Fixes
2004-10-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/jpeg.c: pass the name to filesystem encoding to
	gimp_image_set_filename(). Fixes bug #153751 for the JPEG plug-in.
2004-10-29 15:15:25 +00:00
Michael Natterer c20ddeba68 plug-ins/dbbrowser/gimpprocbrowser.c don't say "1 Procedures" or "1
2004-10-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: don't say "1 Procedures" or
	"1 Plug-In Interfaces" but use the singular form instead.
2004-10-29 10:47:59 +00:00
Michael Natterer c17967721f plug-ins/common/flarefx.c changed preview cursors to GDK_CROSSHAIR.
2004-10-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c
	* plug-ins/common/nova.c: changed preview cursors to GDK_CROSSHAIR.

	* plug-ins/common/iwarp.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c: added GDK_CROSSHAIR preview
	cursors. Not quite perfect for IfsCompose (actually needs tool-
	and constext-sensitive cursors) but definitely better than
	before. Fixes bug #90519.
2004-10-29 10:36:16 +00:00
David Odin 4bf377caf7 typo
* plug-ins/gfig/gfig.c: typo
2004-10-28 21:28:51 +00:00
David Odin 84a02963ef plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-grid.c
* plug-ins/gfig/gfig-grid.h
* plug-ins/gfig/gfig.c: small cleanups
2004-10-28 21:09:33 +00:00
Sven Neumann 9f45c0c074 fixed a long-standing cut'n'paste bug which caused the intersection color
2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/grid.c: fixed a long-standing cut'n'paste bug
	which caused the intersection color to be drawn with the wrong
	shade of gray when drawing on a grayscale drawable.
2004-10-28 20:49:07 +00:00
Sven Neumann 1c2ad2bad1 *** empty log message *** 2004-10-28 18:27:04 +00:00
Sven Neumann 180d384536 only create a "Document not found" error page if the requested URL was a
2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: only create a "Document not
	found" error page if the requested URL was a page to load, not a
	supplementary URL like an image. Fixes bug #138275.
2004-10-28 18:13:24 +00:00
Sven Neumann 8a46ff87ae plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c
2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmp.c
	* plug-ins/common/CEL.c
	* plug-ins/common/aa.c
	* plug-ins/common/compressor.c
	* plug-ins/common/csource.c
	* plug-ins/common/dicom.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/header.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/pix.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c
	* plug-ins/common/psp.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/url.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/common/xwd.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/main.c
	* plug-ins/xjt/xjt.c: removed the calls to gimp_plugin_menu_register()
	from all plug-ins. File plug-ins don't register into a menu any longer.
2004-10-28 12:12:52 +00:00
Sven Neumann 934734af70 do not install an extension for the raw plug-in to avoid confusion with
2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (query): do not install an extension for
	the raw plug-in to avoid confusion with the dcraw formats.
2004-10-28 11:43:32 +00:00
Sven Neumann 6b2243f12d use gimp_int_combo_box_connect() so that the initial selection causes the
2004-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	use gimp_int_combo_box_connect() so that the initial selection
	causes the "changed" callback to be run. Should fix bug #156659.
2004-10-28 09:31:44 +00:00
David Odin a542ceed87 added a notebook page for the bezier tool options instead of yet another
* plug-ins/gfig/gfig-bezier.[ch]: added a notebook page for the
  bezier tool options instead of yet another popup window.

* plug-ins/gfig/gfig-dialog.c: modified accordingly and HIGed a bit.
2004-10-27 21:13:46 +00:00
David Odin ae73a6d440 plug-ins/gfig/gfig-dialog.[ch] plug-ins/gfig/gfig-poly.[ch]
* plug-ins/gfig/gfig-dialog.[ch]
* plug-ins/gfig/gfig-poly.[ch]
* plug-ins/gfig/gfig-spiral.[ch]
* plug-ins/gfig/gfig-star.[ch]
* plug-ins/gfig/gfig.h: first step of moving all the hidden popup
  dialogs for the tool options in a GtkNotebook showing the options
  within one page for each tool.
2004-10-27 18:47:08 +00:00
David Odin 48470a093f really use the second parameter of gimp_aspect_preview_new (), so plug-ins
* libgimp/gimpaspectpreview.c: really use the second parameter of
  gimp_aspect_preview_new (), so plug-ins can now really remember the
  state of the preview between invocations.

* libgimpwidgets/gimpscrolledpreview.c: fix a little typo

* plug-ins/common/channel_mixer.c: fix a warning by using TRUE for a
  boolean value (initial state of the preview) instead of a weird NULL.
2004-10-27 11:38:15 +00:00
David Odin 60a9853c16 preliminary cleanups: removed all trailing spaces.
* plug-ins/gfig/*[ch]: preliminary cleanups: removed all trailing spaces.
2004-10-27 06:43:52 +00:00
Sven Neumann 2524ba60da applied patch by Geert Jordaens that lets Retinex deal with RGBA
2004-10-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/retinex.c: applied patch by Geert Jordaens that
	lets Retinex deal with RGBA drawables. Closes bug #135594 again.
2004-10-26 18:06:43 +00:00
Sven Neumann 57eec590ae Added new drawable transform API to the PDB. Largely based on patches from
2004-10-26  Sven Neumann  <sven@gimp.org>

	Added new drawable transform API to the PDB. Largely based on
	patches from Joao S. O. Bueno. Fixes bug #137053.

	* app/core/gimpdrawable-transform.[ch]: added missing parameters
	to gimp_drawable_transform_flip().

	* tools/pdbgen/pdb/transform_tools.pdb: changed accordinly.

	* app/base/base-enums.h
	* app/core/core-enums.h: removed pdp-skip for GimpInterpolationType
	and GimpTransformDirection enums.

	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl
	* tools/pdbgen/groups.pl: regenerated.

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/drawable_transform.pdb: added new file defining
	the new PDB calls.

	* app/pdb/Makefile.am
	* app/pdb/drawable_transform_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
2004-10-26 17:50:52 +00:00
Michael Natterer 6044378d98 cleaned up the GUI and GIMP-specific code a bit. Use
2004-10-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/retinex.c: cleaned up the GUI and GIMP-specific
	code a bit. Use gimp_drawable_mask_intersect().
2004-10-26 11:03:23 +00:00
Michael Natterer dfcdaedb61 my last change removed the sanity check for array_length >= 0. Put it
2004-10-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	my last change removed the sanity check for array_length >= 0.
	Put it back.
2004-10-25 23:30:50 +00:00
David Odin 5e1581d804 added this new plug-in. Addresses bug #135594
* plug-ins/common/retinex.c: added this new plug-in.
  Addresses bug #135594

* plug-ins/common/plugin-defs.pl: modified accordingly.

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

* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-arc.h
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-circle.h
* plug-ins/gfig/gfig-dialog.c: smallish style cleanups
2004-10-25 22:02:32 +00:00
Michael Natterer 0bff77801a silently accept arrays which are longer than specified. Nothing bad can
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
	silently accept arrays which are longer than specified. Nothing
	bad can happen and it's common practice to resize arrays in fixed
	size chunks so avoid frequent resizing. Fixes bug #155359.
2004-10-25 20:42:06 +00:00
Michael Natterer 286eb01535 removed debugging output i forgot.
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c (init_constants): removed
	debugging output i forgot.
2004-10-25 20:22:33 +00:00
Michael Natterer b030530936 register some missing enums.
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch]: register some missing enums.

	* tools/pdbgen/enumcode.pl: removed code to generate
	plug-ins/script-fu/script-fu-constants.c, generate code to
	explicitely initialize and query all of libgimp*'s enums
	and write it to libgimp/gimpenums.c.tail

	* libgimp/gimpenums.h: regenerated.

	* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c

	* libgimp/gimp.c (gimp_main): call g_type_init() and
	_gimp_enums_init().

	* libgimp/gimp.def: added gimp_enums_get_type_names().

	* plug-ins/script-fu/Makefile.am
	* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.

	* plug-ins/script-fu/siod-wrapper.c: dynamically register all
	constants using gimp_enums_get_type_names() and introspection.
	Also register the built-in unit types.

	* plug-ins/script-fu/script-fu.c: changed accordingly.
2004-10-25 19:29:00 +00:00
Kevin Cozens b20396f75f Changed gimp-data-dir to gimp-data-directory.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* scripts/tiny-fu.init: Changed gimp-data-dir to gimp-data-directory.
2004-10-25 17:12:55 +00:00
Sven Neumann 4762ab0a05 plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.[ch]
	* plug-ins/imagemap/imap_menu_funcs.[ch]
	* plug-ins/imagemap/imap_misc.c
	* plug-ins/imagemap/imap_settings.c
	* plug-ins/imagemap/imap_source.c: added a menu entry for Help.
	Did more minor layout adjustments for HIG compliance.
2004-10-25 16:11:40 +00:00
Kevin Cozens 865f4d8b21 Applied patch from Dimitrios Souflis which fixes error when parsing two or
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* tinyscheme/scheme.c: Applied patch from Dimitrios Souflis which
	fixes error when parsing two or more consecutive comment lines.
2004-10-25 16:05:12 +00:00
David Odin af42b25372 removed debugging g_print and remove my memory fix, since it was buggy and
* plug-ins/common/newsprint.c: removed debugging g_print and
  remove my memory fix, since it was buggy and shouldn't be done.
  My fix just broke this plug-in (reported by Joao S. O. Bueno
  Calligaris)
2004-10-25 13:45:58 +00:00
Sven Neumann 537890aacb plug-ins/imagemap/imap_circle.c plug-ins/imagemap/imap_cmd_gimp_guides.c
2004-10-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_circle.c
	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_default_dialog.[ch]
	* plug-ins/imagemap/imap_edit_area_info.c
	* plug-ins/imagemap/imap_grid.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_misc.c
	* plug-ins/imagemap/imap_polygon.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/imagemap/imap_rectangle.c
	* plug-ins/imagemap/imap_selection.c
	* plug-ins/imagemap/imap_source.c
	* plug-ins/imagemap/imap_toolbar.c
	* plug-ins/imagemap/imap_tools.c: reviewed for HIG
	compliance. Various other minor fixes. Closes bug #150004.
2004-10-25 12:10:13 +00:00
Kevin Cozens 1cea494214 Added parameter missing from argument list.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/test-sphere.scm: Added parameter
	missing from argument list.
2004-10-25 05:28:46 +00:00
David Odin c44f008737 cleaned it up, fixed a (documented) memory leak and the weird behaviour of
* plug-ins/common/newsprint.c: cleaned it up, fixed a (documented) memory
  leak and the weird behaviour of the resolution scales.
2004-10-23 21:29:56 +00:00
David Odin e4202235f0 added a preview.
* plug-ins/common/newsprint.c: added a preview.
2004-10-23 20:01:45 +00:00
Sven Neumann 0b43e493dd fixed non-interactive call with default values.
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: fixed non-interactive call with default
	values.
2004-10-22 15:26:50 +00:00
Sven Neumann 9fdf9b4a59 applied a patch by Karine Proot that adds a preview to the load dialog and
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: applied a patch by Karine Proot that adds
	a preview to the load dialog and a similar UI as the SVG loader.
	Fixes bug #133519 and bug #133521.
2004-10-22 13:41:15 +00:00
Kevin Cozens b21c41f80b Removed _() tag from two strings that should not have been marked for
2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/script-fu.c: Removed _() tag from two strings
	that should not have been marked for translation.
2004-10-21 15:42:05 +00:00
Kevin Cozens c0ecc3c6ca Fixed spelling error.
2004-10-21  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts-fu.c: Fixed spelling error.
2004-10-21 15:07:26 +00:00
Michael Natterer 560c82156a ported to GimpPreviewArea.
2004-10-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/raw.c: ported to GimpPreviewArea.
2004-10-20 19:25:08 +00:00
Michael Natterer f469155dcb new plug-in from Tim Copperfield, made work with the GIMP 2.1 API by
2004-10-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/raw.c: new plug-in from Tim Copperfield, made
	work with the GIMP 2.1 API by Philipp Gühring, then heavily
	cleaned up and undeprecated by myself. Fixes bug #144943.

	(still uses GtkPreview, but i wanted a sane state in cvs to diff
	 against before replacing it)

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/Makefile.am: regenerated.
2004-10-20 18:18:26 +00:00
Michael Natterer c6094affa5 don't forget to set the mnemonic widgets for the labels. Fixes bug
2004-10-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): don't forget to set
	the mnemonic widgets for the labels. Fixes bug #155811.
2004-10-19 12:34:30 +00:00
jaycox 165cf42ed9 don't try to save psd files that are larger than 30000 pixels in either
* plug-ins/common/psd_save.c: don't try to save psd files that are
        larger than 30000 pixels in either direction.  Fixed the rle code
        to compress more compactly.  Fixed a memmory leak in
        save_channel_data.
2004-10-19 08:22:33 +00:00
David Odin 79ae8509c4 Added a preview.
* plug-ins/common/colortoalpha.c: Added a preview.
2004-10-17 16:03:56 +00:00
David Odin 56b19e74e4 use a GimpDrawablePreview.
* plug-ins/common/glasstile.c: use a GimpDrawablePreview.
2004-10-17 14:37:45 +00:00
David Odin 41c1c53caf smallish cleanups.
* plug-ins/common/borderaverage.c: smallish cleanups.
2004-10-16 23:42:02 +00:00
David Odin 48d2f01f22 Added a preview and minor cleanups. Can someone provide useful testcases
* plug-ins/common/displace.c: Added a preview and minor cleanups.
  Can someone provide useful testcases for this plug-in?
2004-10-16 22:43:56 +00:00
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
David Odin 6f1d8b6be6 ported to GimpDrawablePreview, and removed many lines of codes.
* plug-ins/common/scatter_hsv.c: ported to GimpDrawablePreview, and
  removed many lines of codes.
2004-10-14 22:07:52 +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
David Odin 917bc93b7d fixed the handling of drawable with alpha.
* plug-ins/common/neon.c: fixed the handling of drawable with alpha.
2004-10-14 20:55:08 +00:00
David Odin a9fb47a132 Ported to GimpDrawablePreview, the previous preview was absolutely
* plug-ins/common/nlfilt.c: Ported to GimpDrawablePreview, the
  previous preview was absolutely useless. Done some cleanups, too.

* plug-ins/common/spread.c: remember the preview state between
  invocations.
2004-10-14 20:37:04 +00:00
David Odin 68547148e3 use a GimpDrawablePreview instead of a GimpAspectPreview, since this
* plug-ins/common/emboss.c: use a GimpDrawablePreview instead of a
  GimpAspectPreview, since this plug-in is somewhat edge-oriented and
  this makes the code simpler ;)
2004-10-14 18:11:43 +00:00
Manish Singh 95b4758bc5 Make sure we have a bpp value we can handle, and fail gracefully if not.
2004-10-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/bmpread.c: Make sure we have a bpp value we can
        handle, and fail gracefully if not. Fixes bug #155401.
2004-10-14 17:16:38 +00:00
Sven Neumann ca5ccbd235 changed "Home" button to "Index". "Home" is misleading and leads to
2004-10-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: changed "Home" button to "Index".
	"Home" is misleading and leads to problems in some locales (see
	bug #148120).
2004-10-14 13:40:37 +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
David Odin fe6045b9e5 Added a preview.
* plug-ins/common/colorify.c: Added a preview.
2004-10-13 21:21:48 +00:00
David Odin 3eb00e0350 added a new function to set the default cursor on preview:
* libgimpwidgets/gimppreview.[ch]: added a new function to set the
  default cursor on preview: gimp_preview_set_default_cursor().

* libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.

* plug-ins/common/flarefx.c:
* plug-ins/common/nova.c: use this function.

This addresses bug #90519.
2004-10-13 18:56:28 +00:00
David Odin e31b8f6a41 Added a preview and done some cleanups.
* plug-ins/common/cubism.c: Added a preview and done some cleanups.
2004-10-13 16:58:43 +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
Michael Natterer c94147a16c cleaned up and simplified the FlareCenter code even more.
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c: cleaned up and simplified the
	FlareCenter code even more.

	* plug-ins/common/nova.c: did the same changes for the NovaCenter
	stuff.

	Also added code which sets an appropriate cursor on "realize" to
	fix bug #90519, but GimpPreview currently prevents this from
	working correctly...
2004-10-13 12:52:09 +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
Michael Natterer b921c14b33 forgot to remove N_() from gimp_plugin_menu_register().
2004-10-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pagecurl/pagecurl.c: forgot to remove N_() from
	gimp_plugin_menu_register().
2004-10-12 23:17:49 +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
Michael Natterer 8e15676423 all plug-ins except script-fu: removed the translation marks from the menu
2004-10-12  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: all plug-ins except script-fu: removed the
	translation marks from the menu paths passed to
	gimp_plugin_menu_register(). All default menu branches used by
	included plug-ins are created and translated by the core now.
2004-10-12 21:48:39 +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
Sven Neumann 69d11635c4 shut up CVS 2004-10-12 08:37:32 +00:00
Manish Singh c8ca369b47 Moved from here...
2004-10-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/fp/fp.c: Moved from here...

        * plug-ins/common/fp.c: ... to here.

        * plug-ins/common/plugin-defs.pl: changed accordingly.

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

        * configure.in
        * plug-ins/Makefile.am
        * plug-ins/fp: Removed directory.
2004-10-11 21:34:43 +00:00
David Odin 88a7bf6391 ported to GimpAspectPreview.
* plug-ins/common/jigsaw.c: ported to GimpAspectPreview.
2004-10-11 20:39:20 +00:00
Michael Natterer 0fa8317ed5 use a GimpSizeEntry for specifying the flare center. Fixed flare center
2004-10-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/flarefx.c: use a GimpSizeEntry for specifying
	the flare center. Fixed flare center dragging. Lots of cleanup.
2004-10-11 19:27:23 +00:00
Sven Neumann 9203906065 libgimpthumb/gimpthumb-utils.[ch] added an API to delete thumbnails.
2004-10-11  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumb.def: added an API to delete thumbnails.

	* app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnail):
	when recreating a thumbnail on user request, delete all existing
	thumbnails for it.

	* plug-ins/common/AlienMap2.c: removed unused variable.
2004-10-10 23:02:34 +00:00
David Odin cbfc867db0 ported to GimpAspectPreview, and some minor cleanups.
* plug-ins/common/AlienMap2.c: ported to GimpAspectPreview, and some minor
  cleanups.
2004-10-10 21:32:31 +00:00
David Odin e4e6bc4944 added a preview.
* plug-ins/common/vpropagate.c: added a preview.
2004-10-10 20:46:16 +00:00
David Odin f9ae0b1fa8 plug-ins/common/flarefx.c cleanups and ported to GimpDrawablePreview.
* plug-ins/common/flarefx.c
* plug-ins/common/waves.c: cleanups and ported to GimpDrawablePreview.
2004-10-10 18:15:46 +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
Sven Neumann cc87c4c2f3 handle the tile parameter identically for preview and final result. Set
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/ripple.c: handle the tile parameter identically
	for preview and final result. Set Edges options insensitive when
	"Retain tileability" is checked. Reported by Olivier.
2004-10-08 18:29:42 +00:00
Sven Neumann 299dad1de3 invalidate the preview when the toggle buttons are used. Reported by
2004-10-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/apply_lens.c (lens_dialog): invalidate the
	preview when the toggle buttons are used. Reported by Olivier.

	* app/widgets/gimpview.c: minor cleanup.
2004-10-08 18:09:41 +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
Michael Natterer 270c033695 Merged the gz and bz2 plug-ins into one generic compression handler that
2004-10-07  Michael Natterer  <mitch@gimp.org>

	Merged the gz and bz2 plug-ins into one generic compression
	handler that can be extended by adding entries to a table of
	compressor definitions:

	* configure.in: removed bz2 special casing for win32.

	* plug-ins/common/bz2.c
	* plug-ins/common/gz.c: removed.

	* plug-ins/common/compressor.c: new plug-in.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/.cvsignore
	* plug-ins/common/Makefile.am: regenerated.
2004-10-07 16:51:06 +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
Sven Neumann aed634d0c5 tweaed error message.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/postscript.c (ps_open): tweaed error message.
2004-10-06 13:18:37 +00:00
Michael Natterer 7ed9a2885c return the mask's bpp and the brush's pixmap data if it has one.
2004-10-06  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
	brush's pixmap data if it has one.

	* tools/pdbgen/pdb/pattern.pdb: cleaned up.

	* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
	functions even if they are not exported to libgimp any more.

	* app/pdb/procedural_db.h (struct ProcRecord): added member
	"gboolean deprecated".

	* tools/pdbgen/app.pl
	* app/xcf/xcf.c: fill it accordingly.

	* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
	not only for deprecated procedured which are in the compat hach
	table, but also for procedures with deprecated flag set to TRUE.

	* app/pdb/*_cmds.c
	* libgimp/gimpbrush_pdb.[ch]
	* libgimp/gimppattern_pdb.[ch]: regenerated.

	* libgimp/gimpbrushmenu.c
	* plug-ins/gfig/gfig-style.c: changed accordingly.
2004-10-06 03:23:09 +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 c7e1f32a29 improved the dialog a bit, needs more work.
2004-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: improved the dialog a bit,
	needs more work.
2004-10-05 22:35:28 +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 de178a211f added a close button. Launch the browser with the HTML focused.
2004-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added a close button. Launch the
	browser with the HTML focused.
2004-10-04 23:25:38 +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 d858e7abac removed pix-data.h.
2004-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/Makefile.am (imagemap_SOURCES): removed pix-data.h.
2004-10-04 21:00:45 +00:00
David Odin 97005f180f Ported to GimpAspectPreview. This addresses but not totally fixes bug
* plug-ins/common/channel_mixer.c: Ported to GimpAspectPreview. This
  addresses but not totally fixes bug #132194.
2004-10-04 17:05:52 +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
David Odin ae14240862 ported to GimpAspectPreview.
* plug-ins/common/destripe.c: ported to GimpAspectPreview.
2004-10-03 21:40:16 +00:00
David Odin fd0bf4c022 ported to GimpAspectPreview.
* plug-ins/common/nova.c: ported to GimpAspectPreview.
2004-10-03 20:26:45 +00:00
David Odin 7bba8619a0 ported to GimpAspectPreview.
* plug-ins/common/max_rgb.c: ported to GimpAspectPreview.
2004-10-03 18:25:14 +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
David Odin 02f46efdcd ported to GimpAspectPreview and made some cleanups so this plug-in now use
* plug-ins/common/emboss.c: ported to GimpAspectPreview and made some
  cleanups so this plug-in now use the same naming scheme as other
  plug-ins do.
2004-10-03 15:11:43 +00:00
David Odin 2a19991fc2 ported to GimpAspectPreview.
* plug-ins/common/whirlpinch.c: ported to GimpAspectPreview.
2004-10-03 13:14:03 +00:00
David Odin cf9a815d1b use a GimpAspectPreview to make the preview resizable.
* plug-ins/common/blinds.c: use a GimpAspectPreview to make the preview
  resizable.
2004-10-03 12:06:14 +00:00
David Odin ac1fd86ec7 Added a preview.
* plug-ins/common/ripple.c: Added a preview.
2004-10-03 10:53:52 +00:00
David Odin d8d3c97cd7 use a GimpAspectPreview.
* plug-ins/common/polar.c: use a GimpAspectPreview.
2004-10-02 22:00:29 +00:00
David Odin 1305e89ef8 use a GimpAspectPreview and made the code much simpler.
* plug-ins/common/mapcolor.c: use a GimpAspectPreview and made the code
  much simpler.
2004-10-02 21:12:07 +00:00
David Odin 13f0c8349f use a GimpAspectPreview so the preview is now resizable.
* plug-ins/common/illusion.c: use a GimpAspectPreview so the preview is now
  resizable.
2004-10-02 18:26:41 +00:00
David Odin 589ea7e026 added a preview. This plug-in still need some work.
* plug-ins/common/apply_lens.c: added a preview.  This plug-in still need
  some work.
2004-10-02 11:34:25 +00:00
Sven Neumann 9925247a9e it's Plug-In, not Plugin.
2004-10-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/plugin-browser.c: it's Plug-In, not Plugin.
2004-10-01 15:08:15 +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 662559ee88 don't include "libgimp/stdplugins-intl.h".
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/gimpprocbox.c: don't include
	"libgimp/stdplugins-intl.h".

	* plug-ins/dbbrowser/gimpprocbrowser.c
	* plug-ins/dbbrowser/plugin-browser.c: use gimp_destroy_paramdefs()
	so we don't leak all param names and descriptions.

	* plug-ins/dbbrowser/gimpprocview.c: don't show empty rows or
	redundant information (help == blurb for deprecated procedures).
2004-09-30 12:02:44 +00:00
Michael Natterer 9ba57069e6 plug-ins/dbbrowser/Makefile.am new files holding more common code from the
2004-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/dbbrowser/gimpprocbox.c: new files holding more common
	code from the two browsers.

	* plug-ins/dbbrowser/gimpprocbrowser.c: use it.

	* plug-ins/dbbrowser/plugin-browser.c: ditto. Re-enabled sorting
	by all columns in both views. More cleanup.
2004-09-30 10:57:57 +00:00
Sven Neumann c09661c287 added missing linebreak.
2004-09-30  Sven Neumann  <sven@gimp.org>

	* README: added missing linebreak.

	* plug-ins/imagemap/imap_about.c (do_about_dialog): should not
	mark email address for translation.
2004-09-30 10:35:53 +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
Manish Singh 6387c6a38f applied slightly tweaked patch from Joao S. O. Bueno, which adds a
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gimpfu.py: applied slightly tweaked patch
        from Joao S. O. Bueno, which adds a mutliline text field (PF_TEXT) and
        untabbifies things. Closes bug #153921.

        * plug-ins/pygimp/plug-ins/gimpplugin.py
        * plug-ins/pygimp/plug-ins/gimpshelf.py
        * plug-ins/pygimp/plug-ins/gimpui.py: Untabbify.
2004-09-29 23:09:30 +00:00
Manish Singh c1f29141ec minor tweak to history behavior.
2004-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py: minor tweak to history
        behavior.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/gtkcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py
        * plug-ins/pygimp/plug-ins/shadow_bevel.py
        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: Untabbify
2004-09-29 23:04:31 +00:00
Sven Neumann b41bb55d15 some issues I've overseen in my last commit 2004-09-29 15:48:08 +00:00
Sven Neumann de37bbb7f8 libgimpwidgets/gimppreview.[ch] added gimp_preview_draw_buffer().
2004-09-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]
	* libgimpwidgets/gimpwidgets.def: added gimp_preview_draw_buffer().

	* libgimp/gimpaspectpreview.[ch]
	* libgimp/gimpdrawablepreview.[ch]
	* libgimp/gimpui.def: removed the public draw_buffer API.
	Implement the virtual GimpPreview::draw_buffer method instead.

	* 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/neon.c
	* plug-ins/common/noisify.c
	* plug-ins/common/oilify.c
	* plug-ins/common/photocopy.c
	* plug-ins/common/plasma.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c: changed accordingly. Don't pass the
	preview around as GimpDrawablePreview or GimpAspectPreview. It
	should whenever possible be accessed as GimpPreview.
2004-09-29 15:33:02 +00:00
Sven Neumann c4bf786cc2 libgimpwidgets/gimppreview.[ch] libgimpwidgets/gimpscrolledpreview.[ch]
2004-09-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppreview.[ch]
	* libgimpwidgets/gimpscrolledpreview.[ch]
	* libgimpwidgets/gimpwidgets.def: moved the offsets and the
	draw_thumb method back to the GimpPreview class.

	* libgimp/gimpdrawablepreview.c: changed accordingly.

	* 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: back to using gimp_preview_get_position().

	* libgimp/gimpregioniterator.c (gimp_rgn_iterator_new): corrected
	gtk-doc comment.
2004-09-29 13:39:23 +00:00
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