Commit graph

4496 commits

Author SHA1 Message Date
Sven Neumann bf647a159e added accelerators for "close" and "quit" actions.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: added accelerators for "close"
	and "quit" actions.

	* plug-ins/helpbrowser/dialog.c: added "close" to the popup menu.
2006-03-09 11:02:47 +00:00
Sven Neumann f775a9c825 return FALSE, not NULL from boolean function 2006-03-09 10:49:17 +00:00
Sven Neumann 51cd51f76e do not attempt to use a NULL function pointer.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_main.c (button_press): do not attempt to
	use a NULL function pointer.

	* plug-ins/imagemap/imap_preview.c: added some sanity checks.
2006-03-09 10:47:53 +00:00
Sven Neumann 1c2a472f92 also add the popup menu to the standard playback window, not only to the
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: also add the popup menu to the
	standard playback window, not only to the detached one.
2006-03-09 09:50:03 +00:00
Sven Neumann d655228bb7 register an icon, improved tooltips, some minor cleanups.
2006-03-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: register an icon, improved
	tooltips, some minor cleanups.
2006-03-09 08:08:13 +00:00
Manish Singh 20b4e771f0 use proper sentinel type for gtk_dialog_set_alternative_button_order.
2006-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/jpeg/jpeg-exif.c (jpeg_query): use proper sentinel type
        for gtk_dialog_set_alternative_button_order. Fixes bug #330800.
2006-03-03 01:14:45 +00:00
Manish Singh 901654a6c7 plug-ins/pygimp/Makefile.am New file, provides only an initialization
2006-02-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am
        * plug-ins/pygimp/pygimp-util.h: New file, provides only an
        initialization wrapper for now (pygimp_init_pygobject).

        * plug-ins/pygimp/gimpcolormodule.c
        * plug-ins/pygimp/gimpenumsmodule.c: Use pygimp_init_pygobject here.
        Closes bug #332622.
2006-03-01 01:08:57 +00:00
Sven Neumann 5f5865757b use U+00D7 MULTIPLICATION SIGN instead of x when displaying sizes. 2006-02-28 12:31:04 +00:00
Sven Neumann 5e7ce540c1 app/core/gimpbrush.c app/core/gimpbuffer.c app/core/gimpimagefile.c
2006-02-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpimagefile.c
	* app/core/gimppattern.c
	* app/dialogs/preferences-dialog.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimprectangletool.c
	* app/tools/gimprectselecttool.c
	* app/widgets/gimpimagepropview.c
	* app/widgets/gimpsizebox.c
	* app/widgets/gimptemplateeditor.c
	* plug-ins/imagemap/imap_statusbar.c: use U+00D7 MULTIPLICATION SIGN
	instead of x when displaying sizes.
2006-02-28 12:15:51 +00:00
Sven Neumann b4cae3a79d coding style cleanup.
2006-02-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: coding style cleanup.
2006-02-28 08:25:34 +00:00
Sven Neumann 348a438bc3 show the shape window with a small offset.
2006-02-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (detach_callback): show the
	shape window with a small offset.
2006-02-27 11:50:57 +00:00
Simon Budig 9f3f8e3f8f properly round the resolution entry. Fixes bug #332501.
2006-02-26  Simon Budig  <simon@gimp.org>

	* plug-ins/bmp/bmpwrite.c: properly round the resolution entry.
	Fixes bug #332501.
2006-02-26 21:55:40 +00:00
Sven Neumann b705f1b98f use a toggle action for play 2006-02-25 23:18:59 +00:00
Sven Neumann 267c23c372 use a normal toplevel window for the plug-in dialog. Moved the Help button
2006-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: use a normal toplevel window for
	the plug-in dialog. Moved the Help button to the toolbar.
2006-02-25 22:40:52 +00:00
Sven Neumann ea8f0aeb14 added a define for GIMP_STOCK_DETACH to the list of missing icons.
2006-02-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpstock.h: added a define for GIMP_STOCK_DETACH
	to the list of missing icons.

	* app/actions/dockable-actions.c: use GIMP_STOCK_DETACH instead of
	GTK_STOCK_CONVERT.

	* plug-ins/common/animationplay.c: unveiled a long-standing secret
	feature of the Animation Playback plug-in by. Needs more love.
2006-02-25 22:04:19 +00:00
Sven Neumann ee0ba472da use a check button instead of a toggle button.
2006-02-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: use a check button instead of a
	toggle button.
2006-02-20 09:33:07 +00:00
Sven Neumann 46c2d5fcd3 use a combo-box to select the tiling primitives.
2006-02-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mosaic.c: use a combo-box to select the tiling
	primitives.
2006-02-20 08:08:54 +00:00
David Odin 67df51d49c applied a (slightly modified) patch from Esben Mose Hansen which add
* plug-ins/common/mosaic.c: applied a (slightly modified) patch from
  Esben Mose Hansen which add triangles as a tile type.
2006-02-19 19:59:50 +00:00
Sven Neumann 1b01b29548 removed warning when reusing a color index for transparency. Shouldn't
2006-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif.c (save_image): removed warning when reusing
	a color index for transparency. Shouldn't pose a problem for any
	GIF viewer and only confuses our users.
2006-02-19 17:17:03 +00:00
Sven Neumann 3ded19dea8 added some const qualifiers and other minor cleanups.
2006-02-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: added some const qualifiers and other
	minor cleanups.
2006-02-19 16:12:32 +00:00
Sven Neumann 70c8c61029 coding style cleanup after applying the patch as attached to bug #331569 2006-02-18 15:32:52 +00:00
Sven Neumann 631478cd31 applied patch from Stephane Chauveau. Code cleanup and major performance
2006-02-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c: applied patch from Stephane Chauveau.
	Code cleanup and major performance improvements (bug #331569).


This commit is the patch as attached to bug #331569. Coding style changes
will go in with the next commit.
2006-02-18 15:31:48 +00:00
Sven Neumann a081644106 plug-ins/common/iwarp.c plug-ins/ifscompose/ifscompose.c applied patches
2006-02-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/ifscompose/ifscompose_utils.c: applied patches from
	Stephane Chauveau. Reduces number of progress updates (bug #331470).
2006-02-17 07:10:17 +00:00
Sven Neumann cbf74016c5 applied patch from Stephane Chauveau that corrects the calculation of the
2006-02-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c: applied patch from Stephane Chauveau
	that corrects the calculation of the tile cache size (bug #331344).
2006-02-16 07:52:46 +00:00
Carol Spears ec2a115e4e plug-ins/pygimp/gimpfu.py: removed the snake image from the gimp-python dialogs. 2006-02-15 21:51:01 +00:00
Sven Neumann 15182c84f0 applied patch from Michael Schumacher that fixes a potential crash in the
2006-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c (render_frame): applied patch
	from Michael Schumacher that fixes a potential crash in the
	plug-in (bug #328919).
2006-02-14 12:08:34 +00:00
Sven Neumann eaebb24ac9 fixed incorrect loop boundaries. Should fix bug #331044.
2006-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/despeckle.c (despeckle_median): fixed incorrect
	loop boundaries. Should fix bug #331044.
2006-02-14 11:27:34 +00:00
Sven Neumann 0f25da464f plug-ins/winicon/icoload.c applied patches from Felix Pahl. Fixes
2006-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/winicon/icoload.c
	* plug-ins/winicon/icosave.c: applied patches from Felix Pahl.
	Fixes incorrect bit shifts that caused scrambled transparency
	(bug #330692).
2006-02-14 10:23:54 +00:00
Sven Neumann f113420b06 renamed parameter from opacity to transparency, since that's how it is
2006-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sparkle.c: renamed parameter from opacity to
	transparency, since that's how it is being used (bug #331086,
	spotted by Joao).
2006-02-14 07:39:21 +00:00
Sven Neumann a0b3149ea5 apply multiply_alpha() on the source buffer, not the destination (bug
2006-02-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss.c (gauss): apply multiply_alpha() on the
	source buffer, not the destination (bug #331051, spotted by
	Stephane Chauveau).
2006-02-14 07:27:40 +00:00
Sven Neumann 6bfd90acae register menu branches for the web-browser script.
2006-02-08  Sven Neumann  <sven@gimp.org>

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

	* plug-ins/script-fu/scripts/web-browser.scm: string review.
2006-02-08 10:10:52 +00:00
Sven Neumann 11c0aa9c0b plug-ins/common/raw.c plug-ins/gfig/gfig-dialog.c
2006-02-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_browse.c
	* plug-ins/print/gimp_main_window.c: use canonical signal names.
2006-02-07 17:22:06 +00:00
Sven Neumann abc31b2d81 added const qualifier.
2006-02-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c: added const qualifier.
2006-02-06 12:57:04 +00:00
David Odin 573b3096b5 length should at least be 1, or the zoom mode will produce garbage.
* plug-ins/common/mblur.c: length should at least be 1, or the zoom
  mode will produce garbage. length==0 is useless in other modes.
  (reported by daelstorm on freenode/#gimp)
2006-02-06 08:06:31 +00:00
jaycox a93b458a2a plug-ins/common/ripple.c: Fixed bug #308750 (antialiasing).
plug-ins/common/ripple.c: Fixed bug #308750 (antialiasing).
2006-02-04 06:01:59 +00:00
David Odin ab405344f9 untabbified and some other small style-related fixes.
* plug-ins/common/pnm.c: untabbified and some other small
  style-related fixes.
2006-02-04 01:02:25 +00:00
Matt Wilson 7509e1a0a1 file_{gz,bz2}_save takes 5 parameters, not 4. Correct the nparams check in
2006-02-01  Matt Wilson  <msw@gimp.org>

	* plug-ins/common/compressor.c (run): file_{gz,bz2}_save takes 5
	parameters, not 4.  Correct the nparams check in non-interactive
	mode.
2006-02-02 04:40:20 +00:00
Sven Neumann 1d5bbe2f79 renamed to "Unoptimize".
2006-02-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animoptimize.c: renamed to "Unoptimize".

	* plug-ins/common/polar.c: renamed to "Polar Coordinates" and some
	other string changes.
2006-02-01 21:40:52 +00:00
Sven Neumann 8fa8854bac renamed to "Polar Coordinates" and some other string changes.
2006-02-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/polar.c: renamed to "Polar Coordinates" and some
	other string changes.
2006-02-01 21:36:47 +00:00
Sven Neumann 455ba690dc plug-ins/imagemap/imap_about.c plug-ins/imagemap/imap_file.c
2006-02-01  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_about.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c
	* plug-ins/imagemap/imap_preferences.c: renamed to "Image Map" and
	unified spelling.
2006-02-01 21:00:29 +00:00
Roman Joost 0392774036 adds eight bookmarks to the user manual (Basics, Dialogs and Docks,
2006-01-29  Roman Joost	 <romanofski@gimp.org>

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

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

	* (about 130 *.[ch] files): automatically removed trailing
	whitespace from 3460 lines.
2006-01-17 12:43:50 +00:00
Sven Neumann 5bab33a966 renamed to "Lens Flare", don't use the term "Cursor" incorrectly (bug
2006-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/flarefx.c: renamed to "Lens Flare", don't use
	the term "Cursor" incorrectly (bug #326700).

	* plug-ins/common/nova.c: renamed to "Supernova", don't use the
	term "Cursor" incorrectly (bug #326700).
2006-01-12 10:49:55 +00:00
Sven Neumann f77a5a9017 give more feedback by changing the file size label while the preview is
2006-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c (save_image): give more feedback by
	changing the file size label while the preview is being regenerated.
2006-01-06 15:14:34 +00:00
Sven Neumann 9f19fa7df6 merged a patch from Mukund that fixes handling of EXIF data when preview
2006-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c: merged a patch from Mukund that fixes
	handling of EXIF data when preview is enabled (bug #303383).
2006-01-06 14:34:03 +00:00
David Odin eef4ea03eb fixed some compiler warnings and did some cleanups.
* plug-ins/ifscompose/ifscompose_utils.c: fixed some compiler warnings
  and did some cleanups.
2005-12-30 18:18:58 +00:00
David Odin d8288f925d plug-ins/gfig/gfig-arc.c plug-ins/gfig/gfig-grid.c
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-grid.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c: fixed some compiler warnings and did some
  cleanups.
2005-12-30 17:50:19 +00:00
David Odin 9e734189f6 fixed some compiler warnings and did some cleanups.
* plug-ins/common/depthmerge.c: fixed some compiler warnings and did some
  cleanups.
2005-12-30 17:37:23 +00:00
David Odin 842a9abb7f small cleanups
* plug-ins/common/waves.c: small cleanups
2005-12-29 15:49:19 +00:00
Michael Natterer a0d231b33c renamed GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
2005-12-29  Michael Natterer  <mitch@gimp.org>

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

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

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

	* app/pdb/image_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpvectors_pdb.c
	* tools/pdbgen/enums.pl: regenerated.
2005-12-29 01:07:02 +00:00
Manish Singh 8ac30ae882 handle d_path -> d_vectors rename.
2005-12-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: handle d_path -> d_vectors rename.
2005-12-28 22:33:50 +00:00
Sven Neumann fa41465e2a added "Image/Arrange" placeholder.
2005-12-28  Sven Neumann  <sven@gimp.org>

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

        * plug-ins/common/align_layers.c: moved to the Image menu, it
        doesn't work on a single layer.
2005-12-28 21:08:26 +00:00
Sven Neumann d23fa327c8 fixed type of threshold parameter (bug #325007).
2005-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (query): fixed type of threshold
	parameter (bug #325007).
2005-12-27 18:21:11 +00:00
David Odin 91f013780e plug-ins/common/apply_lens.c revert to aspect preview until these plug-ins
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c: revert to aspect preview until these
  plug-ins fully support zoomed preview.
2005-12-23 22:35:31 +00:00
Sven Neumann b53e627eb9 fixed handling of librsvg API change, based on a patch by S. Mukund (bug
2005-12-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: fixed handling of librsvg API change,
	based on a patch by S. Mukund (bug #314400).
2005-12-19 12:36:27 +00:00
Manish Singh b5044904b9 Finish the reverting here.
2005-12-18  Manish Singh  <yosh@gimp.org>

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

	* plug-ins/script-fu/siod/siod.h
	* plug-ins/script-fu/siod/sliba.c: Reverted changes to handling
	of string arrays to stay backward compatible (see bug #168290 and
	bug #317634). These files were not reverted when other files were.
2005-12-17 00:37:52 +00:00
Michael Natterer 17d835fbc9 cleaned up the GUI.
2005-12-16  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/screenshot.c (shoot_dialog): cleaned up the GUI.
2005-12-16 17:01:44 +00:00
Michael Schumacher c3ad5bdb84 added a fix for the script-fu crash in chinese (and maybe other) locales.
2005-12-12  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/siod/slib.c: added a fix for the script-fu
	crash in chinese (and maybe other) locales. Applied to both
	branches. Fixes bug #163212.
2005-12-12 23:08:48 +00:00
Sven Neumann 6cfb343557 corrected the algorithm name as suggested in bug #323304.
2005-12-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c: corrected the algorithm name as
	suggested in bug #323304.
2005-12-06 11:53:01 +00:00
Sven Neumann 9853cd511f applied a modified version of a patch by Joao S. O. Bueno Calligaris that
2005-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c: applied a modified version of a patch
	by Joao S. O. Bueno Calligaris that makes the IWarp preview
	resizable (bug #323177).
2005-12-05 13:08:19 +00:00
Sven Neumann e71e2cee4b plug-ins/common/mkgen.pl plug-ins/faxg3/Makefile.am
2005-12-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl
	* plug-ins/faxg3/Makefile.am
	* plug-ins/help/Makefile.am
	* plug-ins/metadata/Makefile.am: workaround for libtool brokeness
	on Linux (bug #314513 and bug #323085)

	* plug-ins/common/Makefile.am: regenerated.
2005-12-05 11:54:02 +00:00
Sven Neumann 24b22c37bd added "-v" to the wget command-line options. Fixes bug #322977.
2005-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): added
	"-v" to the wget command-line options. Fixes bug #322977.
2005-12-02 10:44:15 +00:00
Manish Singh 3d045aa2d7 timeout message format string should use %d, not %s.
2005-11-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): timeout
        message format string should use %d, not %s.
2005-12-01 04:12:09 +00:00
Manish Singh 72cc37aae3 can't use gtk_main_quit as a timeout function, since it doesn't return a
2005-11-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/screenshot.c: can't use gtk_main_quit as a
        timeout function, since it doesn't return a value. Wrap it in a
        function that returns FALSE instead. Fixes bug #322343.
2005-11-30 08:01:04 +00:00
Sven Neumann d163e00ee4 applied a patch by Daniel Richard G. that greatly improves the output of
2005-11-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/oilify.c: applied a patch by Daniel Richard G.
	that greatly improves the output of the Oilify filter (bug #322258).
	Also changed the default to use the Intensity algorithm as
	suggested in bug #322296.
2005-11-24 16:02:30 +00:00
Sven Neumann b0194064f9 set a translatable name for the created path.
2005-11-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/sel2path/sel2path.[ch]: set a translatable name for the
	created path.
2005-11-23 12:28:59 +00:00
Sven Neumann 8a1fb12656 added "Animators" placeholder.
2005-11-21  Sven Neumann  <sven@gimp.org>

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

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
	removed registration of "Animators" submenu.
2005-11-21 17:14:52 +00:00
Sven Neumann 35b21c63c6 plug-ins/MapObject/mapobject_main.[ch]
2005-11-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: must not keep pointers in the
	struct that is being used to preserve data between invocations of
	the plug-in. Fixes bug #321932.
2005-11-21 12:00:56 +00:00
Manish Singh 36317eae63 use gimp_drawable_transform_rotate_default instead of deprecated
2005-11-16  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/curve_bend.c (p_gimp_rotate): use
        gimp_drawable_transform_rotate_default instead of deprecated
        gimp-rotate PDB call. Fixes bug #321692.
2005-11-17 07:28:07 +00:00
Sven Neumann 174d09d4ab fixed cut'n'paste bug that broke saving.
2005-11-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/sgi/sgi.c (run): fixed cut'n'paste bug that broke saving.
2005-11-13 21:32:46 +00:00
Manish Singh 5ee4aab1f9 wrap gimpenv directory functions.
2005-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: wrap gimpenv directory functions.
2005-11-09 23:04:48 +00:00
Michael Natterer 80c44102c1 plug-ins/script-fu/scripts/guides-new.scm look at the image's
2005-11-08  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/guides-new.scm
	* plug-ins/script-fu/scripts/guides-new-percent.scm: look at the
	image's width/height, not the drawable's. Fixes bug #320933.
2005-11-08 09:06:59 +00:00
Sven Neumann 334b900bd3 removed unused variable scriptdata.
2005-11-05  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am: removed unused variable scriptdata.

	* app/plug-in/plug-ins.c (plug_ins_init): Fixed progress value for
	plug-in query and initialization.

	* plug-ins/common/uniteditor.c (new_unit_dialog): use a
	GtkMessageDialog instead of g_message(). Some string changes.
2005-11-05 21:56:33 +00:00
Sven Neumann b7b9096c61 allocate a tile cache.
2005-11-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tga.c (save_image): allocate a tile cache.
2005-11-02 17:33:53 +00:00
Sven Neumann e59d9cd898 use g_utf8_strlen().
2005-11-02  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppropwidgets.c: use g_utf8_strlen().

	* plug-ins/uri/uri-backend-wget.c: use ngettext().
2005-11-02 15:02:06 +00:00
Michael Natterer da5426cceb libgimp/gimpprocbrowserdialog.c libgimpwidgets/gimppropwidgets.c use
2005-11-02  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpprocbrowserdialog.c
	* libgimpwidgets/gimppropwidgets.c
	* plug-ins/uri/uri-backend-wget.c: use dngettext() for plural
	forms. Fixes bug #320460, bug #320461 and bug #320462.
2005-11-02 14:45:06 +00:00
Sven Neumann 67cd47e9e2 libgimp/gimpprocbrowserdialog.c added translator comments for plural forms
2005-11-02  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.c
	* plug-ins/uri/uri-backend-wget.c: added translator comments for
	plural forms (bug #320461 and bug #320462).
2005-11-02 10:40:34 +00:00
Michael Natterer bc3bd4d63f removed "colors-transform-menu".
2005-10-28  Michael Natterer  <mitch@gimp.org>

	* app/actions/image-actions.c: removed "colors-transform-menu".

	* menus/image-menu.xml.in: revamped again: Moved desaturate and
	the invert items to the toplevel, into a separator-enclosed group.
	Changed Modify to a placeholder again. Things that have no useful
	category can't go to a sub-menu, so please don't invent one just
	for the sake of it.

	* plug-ins/common/channel_mixer.c: -> Colors/Components
	* plug-ins/common/vinvert.c: -> Colors/Invert
2005-10-28 21:51:41 +00:00
Sven Neumann 554b4947d3 renamed to "Alien Map".
2005-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/AlienMap2.c: renamed to "Alien Map".
2005-10-28 17:58:30 +00:00
Sven Neumann 82e0f99ca0 also moved into Colors/Modify.
2005-10-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/hot.c: also moved into Colors/Modify.

	* menus/image-menu.xml.in: moved Info submenu to the bottom.
2005-10-28 17:36:06 +00:00
Sven Neumann d6da6d0f88 added new signal "activate" and emit it if the user activates an item in
2005-10-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimppageselector.[ch]: added new signal "activate"
	and emit it if the user activates an item in the icon view.

	* plug-ins/common/poppler.c
	* plug-ins/common/postscript.c: activate the dialog if the page
	selector emits "activate" as suggested in bug #320080.
2005-10-28 14:57:32 +00:00
Michael Natterer 375e01b629 added comment about copied code. 2005-10-27 17:22:26 +00:00
Michael Natterer 2084dc2cf6 check for gnome-keyring.
2005-10-27  Michael Natterer  <mitch@gimp.org>

	* configure.in: check for gnome-keyring.

	* plug-ins/uri/uri-backend.h
	* plug-ins/uri/uri-backend-wget.c
	* plug-ins/uri/uri-backend-gnomevfs.c: added "plugin_name",
	boolean "run" and "run_mode" parameters to uri_backend_init().

	* plug-ins/uri/uri-backend-gnomevfs.c (uri_backend_init):
	initialize the gnome authentication manager only when called
	interactively from "run". Also call gimp_ui_init() when using the
	auth manager, since recent versions seem to require an already
	initialized GTK+. When running noninteractively and gnome-keyring
	is available, implement the needed GnomeVFS authentication
	callbacks ourselves and ask gnome-keyring directly.

	* plug-ins/uri/uri.c: pass the additional parameters to
	uri_backend_init().
2005-10-27 17:19:58 +00:00
Carol Spears ccf87313f3 added colors-info-menu and colors-modify-menu as children of colors-menu
* app/actions/image-actions.c: added colors-info-menu and colors-modify-menu as children of colors-menu
* menus/image-menu.xml.in: changed Modify placeholder to colors-modify-menu menuaction and added color-info-menu action to colors-menu
* plug-ins/common/colortoalpha.c: moved to Colors/Modify in the registration part.
2005-10-26 19:02:12 +00:00
Sven Neumann 1bd793f329 removed run-mode check.
2005-10-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c (script_fu_console_run):
	removed run-mode check.
2005-10-26 16:45:56 +00:00
Sven Neumann 02e8f588ff load and save embedded ICC profiles, based on a patch from Ture Pålsson
2005-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: load and save embedded ICC profiles, based
	on a patch from Ture Pålsson (bug #319580).

	* devel-docs/parasites.txt: document the "icc-profile-name" parasite.
2005-10-24 15:09:49 +00:00
Sven Neumann 7f1106926d renamed menu entry to "Scanner/Camera" as suggested in bug #311965.
2005-10-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/twain/twain.c: renamed menu entry to "Scanner/Camera"
	as suggested in bug #311965.
2005-10-20 12:06:11 +00:00
Sven Neumann a5e35eabcd always call the batch interpreter in NON-INTERACTIVE mode (see bug
2005-10-20  Sven Neumann  <sven@gimp.org>

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

	* plug-ins/script-fu/script-fu-text-console.c: removed the run-mode
	check.
2005-10-20 10:44:22 +00:00
Sven Neumann 2a57394375 replace newlines with spaces to avoid multiple lines in the combo box.
2005-10-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/helpbrowser/dialog.c (title_changed): replace newlines
	with spaces to avoid multiple lines in the combo box.
2005-10-20 10:12:00 +00:00
Sven Neumann 96fe801454 strip ellipsis from menu labels.
2005-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-browser.c: strip ellipsis from menu labels.
2005-10-19 20:34:20 +00:00
Sven Neumann ff70f89b85 use gimp_drawable_mask_intersect() instead of gimp_drawable_mask_bounds().
2005-10-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c: use gimp_drawable_mask_intersect()
	instead of gimp_drawable_mask_bounds().
2005-10-19 16:27:10 +00:00
Sven Neumann 092a61122c added a Save icon.
2005-10-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/presets.c: added a Save icon.
2005-10-18 18:30:34 +00:00
Akkana Peck d998515787 Move the script categories that were in Xtns->Script-Fu
directly into Xtns. Language specific tools (e.g. Refresh,
Console) remain in language-specific menus.
Bug 145507.
2005-10-16 17:57:40 +00:00
Sven Neumann 92f834b59e indentation and other cleanups.
2005-10-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/channel_mixer.c: indentation and other cleanups.
2005-10-14 12:26:38 +00:00
Sven Neumann d1dfe5f01d check that displacement maps have the same size as the target drawable,
2005-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/displace.c: check that displacement maps have
	the same size as the target drawable, return a PDB_CALLING_ERROR
	otherwise. Fixes bug #318644.
2005-10-12 17:09:09 +00:00
Sven Neumann ec52f0f237 store the installation time in the models, not only the string
2005-10-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-browser.c: store the installation time in
	the models, not only the string representation. Sort by time, not
	alphabetically. Fixes bug #318652.
2005-10-12 10:12:36 +00:00
William Skaggs 0e60632d29 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/gauss.c: always use RLE if horz or
	vert radius is less than 1.  Fixes bug #315953.
2005-10-06 19:15:21 +00:00
Sven Neumann 88cbceff01 can't use smoothing with nonstandard sampling ratios. Set the slider
2005-10-06  Sven Neumann  <sven@gimp.org>

        * plug-ins/jpeg/jpeg-save.c: can't use smoothing with nonstandard
        sampling ratios. Set the slider sensitivity accordingly (bug #318081).
2005-10-06 12:59:49 +00:00
Sven Neumann ddabf1cbbe italic label for description of preset 2005-10-06 11:20:35 +00:00
Sven Neumann ea56a8c05b removed About dialog.
2005-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimpressionist.c: removed About dialog.

	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/gimpressionist/logo.png: removed logo.
2005-10-06 11:17:15 +00:00
Sven Neumann 23ee66f7be plug-ins/gimpressionist/gimpressionist.[ch]
2005-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gimpressionist/gimpressionist.[ch]
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/orientmap.[ch]
	* plug-ins/gimpressionist/placement.c
	* plug-ins/gimpressionist/presets.c
	* plug-ins/gimpressionist/preview.c
	* plug-ins/gimpressionist/repaint.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/gimpressionist/sizemap.c: various minor improvements
	like setting all dialogs transient to the main window.
2005-10-06 11:10:34 +00:00
Sven Neumann 81a43c7529 more string changes 2005-10-06 00:57:52 +00:00
Sven Neumann 2d96170a8c minor string fixes and translation updates 2005-10-06 00:44:41 +00:00
Sven Neumann f5527875d8 capitalization and other string changes.
2005-10-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.c: capitalization and other string
	changes.

	* libgimpwidgets/gimpbrowser.c: string unification. Set the
	message label italic.

	* plug-ins/common/plugin-browser.c: use ngettext() for plural forms.
2005-10-05 23:31:49 +00:00
Sven Neumann caf18b2b80 try to improve the error message that is shown for missing help files.
2005-10-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/help/domain.c: try to improve the error message that is
	shown for missing help files.
2005-10-05 22:27:50 +00:00
Sven Neumann ec030082e2 reverted changes to handling of string arrays to stay backward compatible
2005-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod-wrapper.c: reverted changes to handling
	of string arrays to stay backward compatible (see bug #168290 and
	bug #317634).

	* plug-ins/script-fu/scripts/font-map.scm: reverted change that
	was done to adapt to above changes (see bug #308681).
2005-10-05 11:21:31 +00:00
Sven Neumann 73d324225c removed run-mode parameters again. Seems to have been fixed in pygimp.
2005-10-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/benchmark-foreground-extract.py (benchmark): removed
	run-mode parameters again.  Seems to have been fixed in pygimp.
2005-10-04 10:54:10 +00:00
David Odin 66d00503a4 added a new function: gimp_zoom_preview_get_factor(), which is a proxy to
* libgimp/gimpzoompreview.[ch]: added a new function:
  gimp_zoom_preview_get_factor(), which is a proxy to get the zoom
  factor of the zoom model used by the zoom preview.
  Also renamed the zoom field of the private data of gimpzoompreview to
  model, since it is a gimpzoommodel.

* libgimp/gimpui.def: added gimp_zoom_preview_get_factor.

* plug-ins/common/nova.c: use gimp_zoom_preview_get_factor to
  correctly handle the position of the nova at various zoom level.
  There still are problems if there is a selection before when running
  this plugin.
2005-10-02 18:00:49 +00:00
Sven Neumann ee64ca3c90 introduced variants of file_utils_uri_to_utf8_filename() and
2005-10-02  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: introduced variants of
	file_utils_uri_to_utf8_filename() and
	file_utils_uri_to_utf8_basename() that use g_filename_display_name()
	and g_filename_display_basename().

	* app/actions/data-commands.c
	* app/actions/documents-commands.c
	* app/actions/file-actions.c
	* app/actions/file-commands.c
	* app/core/gimpimage.c
	* app/core/gimpimagefile.c
	* app/dialogs/file-open-dialog.c
	* app/dialogs/file-open-location-dialog.c
	* app/dialogs/file-save-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/display/gimpdisplayshell-close.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-title.c
	* app/file/file-open.c
	* app/widgets/gimpdnd-xds.c
	* app/widgets/gimpfiledialog.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpthumbbox.c
	* app/widgets/gimptoolbox-dnd.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpviewabledialog.c: use the new functions.

	* plug-ins/help/domain.c: use g_filename_display_name().
2005-10-01 22:43:22 +00:00
Manish Singh 678de416f4 use canonical name for run-mode.
2005-09-30  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pf_call): use canonical name for
        run-mode.

        * plug-ins/pygimp/plug-ins/clothify.py
        * plug-ins/pygimp/plug-ins/foggify.py: revert the below, since
        we eat the run-mode parameter again.
2005-10-01 06:30:03 +00:00
Carol Spears 958d6837ea plug-ins/pygimp/plug-ins/clothify.py Added run_mode parameter.
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.
2005-10-01 04:55:28 +00:00
Carol Spears 9010e5dadd removed code that limited plug-in registration.
* plug-ins/pygimp/gimpfu.py: removed code that limited plug-in registration.
2005-09-30 17:10:08 +00:00
Sven Neumann 05c2278fca handle RGB drawables and implicitely add the alpha channel.
2005-09-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gbr.c (save_image): handle RGB drawables and
	implicitely add the alpha channel.
2005-09-30 10:01:14 +00:00
Michael Natterer 3f5050323f removed '...' from progress messages. They are redundant because we are
2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...
2005-09-30 08:16:10 +00:00
Manish Singh 8ef2823a06 Finish porting to new progress API (and make it build).
2005-09-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
        API (and make it build).

        * plug-ins/uri/uri-backend-gnomevfs.c: Convert a g_strdup_printf
        gimp_progress_set_text pair to gimp_progress_set_text_printf.
2005-09-30 03:21:32 +00:00
Akkana Peck aa24ce9c40 Autocrop was cropping too much, eliminating the first non-background
row/column on each edge.
2005-09-29 23:15:41 +00:00
Michael Natterer e3da6be9b5 removed the "wrap" from gimp_progress_set_text() so it shows up as libgimp
2005-09-29  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
	gimp_progress_set_text() so it shows up as libgimp function again.

	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpprogress.[ch]: changed the old
	gimp_progress_set_text() to gimp_progress_set_text_printf() and
	added gimp_progress_init_printf(). (did this because the method of
	calling init(NULL) followed by set_text("foo") caused popup
	progress windows to be resized after they were shown).

	* libgimp/gimp.def: changed accordingly.

	* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
	init(NULL) plus set_text(foo) and changed users of set_text() to
	use set_text_printf().
2005-09-29 18:34:08 +00:00
Sven Neumann eb4545886f removed the frame around the progress bar.
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed the frame
	around the progress bar.
2005-09-29 18:22:18 +00:00
Akkana Peck 7c3a0c7bbf plug-ins/common/zealouscrop.c Update every 20 steps, instead of 19 out of
* plug-ins/common/zealouscrop.c
	Update every 20 steps, instead of 19 out of every 20.
2005-09-29 16:10:59 +00:00
Sven Neumann 0fd272761f don't set the procedure browser transient to the script-fu console.
2005-09-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-console.c
	(script_fu_browse_callback): don't set the procedure browser
	transient to the script-fu console.
2005-09-29 10:59:08 +00:00
Michael Natterer 14b9312a72 app/widgets/gimpprogressbox.c made progress bars HIG compliant (with
2005-09-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpprogressbox.c
	* plug-ins/script-fu/script-fu-interface.c: made progress bars HIG
	compliant (with italic label below).

	* app/widgets/gimpfiledialog.[ch]: use a GimpProgressBox intead of
	implementing the progress bar again.
2005-09-28 21:20:05 +00:00
Kevin Cozens 9fa8b10a1f Removed extraneous - in register block left when script was renamed.
2005-08-28  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/scripts/chrome-it.scm: Removed extraneous -
	in register block left when script was renamed.

	* plug-ins/script-fu/scripts/text-circle.scm: Fixed minor errors
	in comments.
2005-09-28 16:23:18 +00:00
Sven Neumann 11b15cf106 use a single random number generator for the lifetime of the plug-in.
2005-09-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: use a single random number generator
	for the lifetime of the plug-in. Fixes bug #317355.
2005-09-28 14:29:48 +00:00
Sven Neumann 66217ce840 document how to construct an empty GimpIntComboBox using g_object_new().
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c: document how to construct an
	empty GimpIntComboBox using g_object_new().

	* plug-ins/common/aa.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/gflare/gflare.c
	* plug-ins/pagecurl/pagecurl.c: use g_object_new() to construct an
	empty GimpIntComboBox. The old way of doing it caused warnings.
2005-09-27 20:51:29 +00:00
Sven Neumann c623bf512b undeprecated.
2005-09-27  Sven Neumann  <sven@gimp.org>

	* gimpmodule.c (pygimp_progress_install): undeprecated.
2005-09-27 19:56:53 +00:00
Michael Natterer 9412ca8e23 app/actions/data-commands.c app/actions/file-commands.c
2005-09-27  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/file-commands.c
	* app/actions/templates-commands.c
	* app/dialogs/image-scale-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/tools/gimptexttool.c
	* libgimpwidgets/gimpcolorbutton.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/aa.c
	* plug-ins/gimpressionist/orientmap.c
	* plug-ins/script-fu/script-fu-interface.c
	* plug-ins/xjt/xjt.c: fixed indentation in calls to
	gtk_dialog_set_alternative_button_order().
2005-09-27 18:51:44 +00:00
Sven Neumann 7863fe6436 let gimp_proc_browser_dialog_new() take standard dialog parameters,
2005-09-27  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.[ch]: let
	gimp_proc_browser_dialog_new() take standard dialog parameters,
	similar to gimp_dialog_new().

	* plug-ins/common/procedure-browser.c
	* plug-ins/pygimp/procbrowser.c
	* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2005-09-27 16:35:48 +00:00
Sven Neumann 63b5c472c4 use GTK_STOCK_ABOUT for the About button (bug #317339).
2005-09-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	use GTK_STOCK_ABOUT for the About button (bug #317339).
2005-09-27 15:29:37 +00:00
Michael Natterer 6a29e1010c set "activates-default" on all entries.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
	set "activates-default" on all entries.
2005-09-26 12:26:21 +00:00
Sven Neumann cae33841df removed some frames from the Script-Fu dialogs.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: removed some frames
	from the Script-Fu dialogs.
2005-09-26 11:30:10 +00:00
Michael Natterer 48cdc65327 Allow plug-ins to register menu entries in the <Brushes>, <Gradients>,
2005-09-26  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register menu entries in the <Brushes>,
	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:

	* app/actions/actions.c (action_data_get_gimp): return a Gimp
	also if "data" is a GimpContainerView or GimpContainerEditor.

	* app/gui/gui-vtable.c (gui_menus_add_proc)
	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
	the new plug-in menu locations.

	* app/menus/menus.c (menus_init): add the "plug-in" action group
	to the resp. UI managers.

	* menus/brushes-menu.xml
	* menus/buffers-menu.xml
	* menus/fonts-menu.xml
	* menus/gradients-menu.xml
	* menus/palettes-menu.xml
	* menus/patterns-menu.xml: added separators at the end of the menus.

	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>

	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
	register the "Make Brush" menu branch.
2005-09-26 10:36:07 +00:00
Michael Natterer 2d0bf7d951 plug-ins/script-fu/scripts/paste-as-brush.scm cleanup.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: cleanup.
2005-09-26 01:02:47 +00:00
Michael Natterer 0c2d06f738 drop the restriction that plug-ins registered in <Image> must have
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
	restriction that plug-ins registered in <Image> must have
	RUN-MODE, IMAGE, DRAWABLE parameters because everything but
	RUN-MODE is actually treated as optional be the rest of the code.

	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
	and DRAWABLE parameters.

	* plug-ins/common/screenshot.c
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: register menu entries in
	<Image>/File/Acquire
2005-09-26 00:25:49 +00:00
Sven Neumann 2e42c8ea83 minor dialog tweak.
2005-09-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gqbist.c: minor dialog tweak.
2005-09-26 00:06:45 +00:00
Michael Natterer a0a13c8751 added Colors/Modify placeholder.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: added Colors/Modify placeholder.

	* plug-ins/common/vinvert.c: moved to Colors/Modify/Invert.
2005-09-25 23:10:28 +00:00
Michael Natterer 49a0a7a1eb plug-ins/script-fu/scripts/carve-it.scm renamed to "Stencil Carve" and
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/chrome-it.scm: renamed to "Stencil Carve"
	and "Stencil Chrome" and moved to Filters/Decor.

	* plug-ins/script-fu/script-fu.c: don't register menu branches
	"Filters/Selection" and "Filters/Decor/Stencil Ops".
2005-09-25 23:02:06 +00:00
Carol Spears 83fcea4301 plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Modify.
2005-09-25  Carol Spears  <carol@gimp.org>
	* plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/borderaverage.c moved menu entry from Colors to Colors/Info and added some vital information to the registration information.
	* plug-ins/common/channel_mixer.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/colorify.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/fp.c moved menu entry from Colors to Colors/Modify.
	* plug-ins/common/retinex.c moved menu entry from Colors to Colors/Modify.
2005-09-25 22:39:30 +00:00
Michael Natterer 569ccab84d renamed to "Fade to Layer Mask..." and moved to the Select menu.
2005-09-26  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/fade-outline.scm: renamed to
	"Fade to Layer Mask..." and moved to the Select menu.
2005-09-25 22:19:33 +00:00
Sven Neumann ef6f91eb44 moved it back, the plug-in changes the image. Renamed to "Maximum RGB".
2005-09-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/max_rgb.c: moved it back, the plug-in changes
	the image. Renamed to "Maximum RGB".
2005-09-25 21:59:19 +00:00
Carol Spears 98a11508ee plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Info.
2005-09-25  Carol Spears  <carol@gimp.org>
	* plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Info.
	* plug-ins/common/smooth_palette.c moved menu entry from Colors to Colors/Info.
	* plug-ins/common/semiflatten.c removed menu entry from Colors and added it to Filters/Web
	* plug-ins/pygimp/plug-ins/py-slice.py added the patch from Joao S. O. Bueno Calligaris that was attached to http://bugzilla.gnome.org/show_bug.cgi?id=159564
2005-09-25 21:34:22 +00:00
Michael Natterer 642c47357b app/actions/edit-actions.c added "Edit/Paste as" submenu and moved "Paste
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c
	* menus/image-menu.xml.in: added "Edit/Paste as" submenu and moved
	"Paste as new" there (renamed to "New Image").

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/paste-as-brush.scm
	* plug-ins/script-fu/scripts/paste-as-pattern.scm: new scripts
	roughly derived from select-to-brush and select-to-pattern.

	* plug-ins/script-fu/scripts/select-to-brush.scm
	* plug-ins/script-fu/scripts/select-to-image.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: don't register
	menu entries.
2005-09-25 21:31:18 +00:00
Sven Neumann 3d0adbf117 removed GimpZoomWidgetType.
2005-09-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgetsenums.[ch]: removed GimpZoomWidgetType.

	* libgimpwidgets/gimpzoommodel.[ch]: removed gimp_zoom_widget_new()
	in favor of gimp_zoom_button_new().

	* libgimp/gimpzoompreview.c: changed accordingly.

	* libgimpwidgets/gimpwidgets.def: updated.

	* plug-ins/MapObject/mapobject_main.[ch]
	* plug-ins/MapObject/mapobject_preview.c
	* plug-ins/MapObject/mapobject_ui.c: use a GimpZoomModel and let
	it create the zoom buttons.

	* plug-ins/MapObject/mapobject_apply.c
	* plug-ins/MapObject/mapobject_image.c
	* plug-ins/MapObject/mapobject_shade.c: include "gimp/gimpui.h".
2005-09-25 21:22:39 +00:00
Michael Natterer d4776ce092 link against libgimpbase now that we use gimp_data_directory().
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/help/Makefile.am (gimp_help_lookup_LDADD): link
	against libgimpbase now that we use gimp_data_directory().
2005-09-25 19:58:28 +00:00
Michael Natterer 047c2d5cbb renamed to "Distort..." and moved to Select/Modify.
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: renamed to
	"Distort..." and moved to Select/Modify.
2005-09-25 19:44:59 +00:00
Michael Natterer a288db5c9e renamed to "Distress..." and moved to Select/Modify.
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/distress-selection.scm: renamed to
	"Distress..." and moved to Select/Modify.
2005-09-25 19:38:07 +00:00
Hans Breuer 0b515bec9b updated
2005-09-24  Hans Breuer  <hans@breuer.org>

	* **makefile.msc : updated

	* app/dialogs/user-install-dialog.c : only add the migrate page if
	there is something to migrate from. Avoids on version being NULL.

	* app/dialogs/file-save-dialog.c : the g_print() output was crashing
	on the assumption that ->menu_label != NULL. It is for colorhtml.py.

	* app/widgets/gimpselectiondata.c : use HAVE_UNISTD_H and move
	* process.h definition by G_OS_WIN32 below it being defined
	* app/widgets/gimpwidgets-utils.c(gimp_window_get_native) : cast
	return value to (GdkNativeWindow) it is not necessary an int.

	* libgimpwidgets/gimpwidgets.def : added gimp_zoom_type_get_type

	* plug-ins/help/gimp-help-lookup.c : dynamic lookup of help_root
	instead of hard-coding DATADIR/GIMP_HELP_PREFIX

	* plug-ins/xjt/xjt.c : there is no pid_t with msvc, typedef one.
2005-09-25 19:30:55 +00:00
Michael Natterer 1abb01394c app/actions/plug-in-actions.c get rid of Filters/Effects because it
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* app/actions/plug-in-actions.c
	* menus/image-menu.xml.in: get rid of Filters/Effects because it
	doesn't mean anything. Added Filters/Generic and Filters/Combine
	back instead. Not perfect either but more meaningful.

	* plug-ins/common/depthmerge.c
	* plug-ins/common/film.c: -> Filters/Combine

	* plug-ins/common/convmatrix.c
	* plug-ins/common/vpropagate.c: -> Filters/Generic

	* plug-ins/script-fu/scripts/erase-rows.scm: -> Filters/Distorts

	* plug-ins/script-fu/scripts/predator.scm: -> Filters/Artistic
2005-09-25 19:14:41 +00:00
Michael Natterer 2e1bbabf4b massively indented and de-uglyfied, (not many lines unmodified). Still not
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/psd.c: massively indented and de-uglyfied,
	(not many lines unmodified). Still not the incarnation of
	beautiful code, but more readable for an eye used to Gimp code.
	No logic changes, just formatting.
2005-09-25 17:31:03 +00:00
Michael Natterer 377dc87462 set "is_ID" to TRUE, not FALSE when decoding the "compose-data" parasite.
2005-09-25  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c (run): set "is_ID" to TRUE, not FALSE
	when decoding the "compose-data" parasite. Fixes Recompose.
	Return error, not success if recomposing fails. Misc cleanups.
2005-09-25 17:25:32 +00:00
Michael Natterer 2683c3f2df fixed some brokenness caused by my last "cleanup". Should work as before
2005-09-24  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: fixed some brokenness caused by my
	last "cleanup". Should work as before now.

	* plug-ins/common/decompose.c: cleaned up GUI and code.
2005-09-24 17:34:09 +00:00
Michael Natterer c65f6907bd reordered submenus and placeholders so stuff not grouped that randomly any
2005-09-23  Michael Natterer  <mitch@gimp.org>

	* menus/image-menu.xml.in: reordered submenus and placeholders
	so stuff not grouped that randomly any longer.

	* plug-ins/script-fu/scripts/hsv-graph.scm: move it to the "Info"
	placeholder so it is next to histogram and ccanalyze.
2005-09-23 21:33:06 +00:00
Sven Neumann b19865c22d added a tooltip that explains how to obtain the file size.
2005-09-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c: added a tooltip that explains how to
	obtain the file size.
2005-09-23 12:18:27 +00:00
Sven Neumann 2e4a02a53b minor cleanup 2005-09-23 00:24:05 +00:00
Sven Neumann 732e01b7ed INSTALL added a check for libgnomeprintui.
2005-09-22  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: added a check for libgnomeprintui.

	* plug-ins/common/gnomeprint.c: added a simple Print plug-in that
	uses libgnomeprint and libgnomeprintui. Needs more work.

	* plug-ins/common/plugin-defs.pl: added the new plug-in.

	* plug-ins/common/Makefile.am: regenerated.
2005-09-22 18:32:07 +00:00
Sven Neumann c2d51a67f5 declared const strings as such 2005-09-22 14:51:56 +00:00
Sven Neumann 8ca25e1727 canonicalize procedure name and parameters.
2005-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c: canonicalize procedure name and parameters.
2005-09-22 14:46:19 +00:00
Michael Natterer 9bf1f59430 reorganized and cleaned up GUI and code.
2005-09-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: reorganized and cleaned up GUI and code.
2005-09-22 14:27:42 +00:00
Sven Neumann 06d80596ee plug-ins/common/psd.c don't hardcode unit conversion factors.
2005-09-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c
	* plug-ins/common/psd_save.c: don't hardcode unit conversion factors.
2005-09-22 08:57:48 +00:00
Jay Cox ea4ac4f94f Load the resolution properly when it is specified in px/cm. Save the
2005-09-21  Jay Cox  <jaycox@gimp.org>

        * plug-ins/common/psd.c: Load the resolution properly when it is
        specified in px/cm.
        * plug-ins/common/psd_save.c: Save the resolution of the image in
        the file.  Fixes bug #310426
2005-09-22 06:57:44 +00:00
Sven Neumann ebf9b572ea update the preview from an idle handler. Removed obsolete "Update Preview"
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: update the preview from an
	idle handler. Removed obsolete "Update Preview" button.
2005-09-21 19:51:03 +00:00
Sven Neumann 5f4739c3a0 more compact dialog layout, renamed "Textures" to "Layers" and make sure
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: more compact dialog layout,
	renamed "Textures" to "Layers" and make sure that one is always
	selected.
2005-09-21 19:06:54 +00:00
Sven Neumann 735429d3c1 initialize variables.
2005-09-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/cubism.c: initialize variables.

	* plug-ins/common/depthmerge.c: declare all functions as static.
2005-09-20 22:41:56 +00:00
David Odin 0730c66b4c make use of private data instead of struct members. Added a
* libgimp/gimpzoompreview.[ch]: make use of private data instead of struct
  members. Added a gimp_zoom_preview_get_drawable so we can still get the
  drawable from a preview in plug-ins.

  Also changed gimp_zoom_preview_get_data to gimp_zoom_preview_get_source,
  to make it more obvious what it returns.

* libgimp/gimpui.def
* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: changed accordingly.
2005-09-20 21:52:54 +00:00
Kevin Cozens c5d1298244 Don't mark menu branches for translation; the translatable branch name is
2005-09-20  Kevin Cozens  <kcozens@cvs.gnome.org>

	* scripts/*.sct: Don't mark menu branches for translation; the
	translatable branch name is registered by the Tiny-Fu extension.
	Based on a change made to Script-Fu by Sven Neumann.
2005-09-20 20:08:46 +00:00
Sven Neumann 7a3d956a97 corrected version check (bug #314400).
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: corrected version check (bug #314400).
2005-09-20 16:45:53 +00:00
Sven Neumann c7d7699bf5 fixed capitalization.
2005-09-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/raw.c (query): fixed capitalization.
2005-09-20 14:18:59 +00:00
Michael Natterer 637884e308 applied patch from Sylvain Foret which allows to use fixed greyscale
2005-09-20  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/compose.c: applied patch from Sylvain Foret
	which allows to use fixed greyscale values instead of drawables
	for color components. Fixes bug #309112.
2005-09-20 12:33:56 +00:00
David Odin 5b538db8e4 New object to handle zoom factor, and create widgets to control or view
* libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
  factor, and create widgets to control or view this value.

* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].

* libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
  This enumerate which knid of widget you can created from the zoom
  model.

* libgimpwidgets/gimpwidgetsenums.c
* libgimpwidgets/gimpwidgetstypes.h: regenerated.

* libgimpwidgets/gimppreview.c: move the update toggle to the bottom
  of the vbox.

* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h
* libgimp/gimpzoompreview.[ch]: New widget, derivated from
  GimpScrolledPreview, which offer the same functionnalities as the
  GimpAspectPreview widget plus zoom facilities.

* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
  GimpAspectPreview.
2005-09-19 22:58:16 +00:00
Sven Neumann 33fe2a19c9 moved toolbar out of main vbox.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: moved toolbar out of main vbox.
2005-09-19 16:05:52 +00:00
Sven Neumann e9443b5774 autogen.sh configure.in app/main.c app/widgets/gimptoolbox.c changed "The
2005-09-19  Sven Neumann  <sven@gimp.org>

	* autogen.sh
	* configure.in
	* app/main.c
	* app/widgets/gimptoolbox.c
	* plug-ins/script-fu/scripts/web-browser.scm: changed "The GIMP"
	to "GNU Image Manipulation Program" or just "GIMP".
2005-09-19 13:15:31 +00:00
Sven Neumann 3b28167dd2 use GTK_STOCK_FILE for File actions.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* app/actions/actions.c: use GTK_STOCK_FILE for File actions.

	* app/actions/dialogs-actions.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/print/gimp_main_window.c: use GTK_STOCK_ABOUT for About
	dialogs.

	* app/actions/actions.c
	* app/actions/brushes-actions.c
	* app/actions/channels-actions.c
	* app/actions/channels-commands.c
	* app/actions/colormap-editor-actions.c
	* app/actions/gradients-actions.c
	* app/actions/layers-actions.c
	* app/actions/layers-commands.c
	* app/actions/palette-editor-actions.c
	* app/actions/palettes-actions.c
	* app/actions/patterns-actions.c
	* app/actions/templates-actions.c
	* app/actions/templates-commands.c
	* app/actions/text-editor-actions.c
	* app/actions/tool-options-actions.c
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpcontrollereditor.c
	* app/widgets/gimpcontrollerlist.c
	* plug-ins/flame/flame.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/orientation.c
	* plug-ins/gimpressionist/size.c
	* plug-ins/metadata/interface.c: s/GIMP_STOCK_EDIT/GTK_STOCK_EDIT/
2005-09-19 13:07:24 +00:00
Sven Neumann 5b053ca00f replaced buttons with toolbar.
2005-09-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/animationplay.c: replaced buttons with toolbar.
2005-09-19 12:17:39 +00:00
Michael Natterer 099417e2f6 bail out if the action_area is insensitive. Ignores attempts to close the
2005-09-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c (script_fu_response):
	bail out if the action_area is insensitive. Ignores attempts to
	close the window while the script is running. Fixes bug #308662.
2005-09-11 01:29:45 +00:00
Michael Natterer 3291ed358e plug-ins/common/aa.c plug-ins/common/csource.c plug-ins/common/gbr.c
2005-09-09  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: actually call
	gimp_window_set_transient() on save dialogs.
	Really fixes bug #62988.
2005-09-09 18:38:00 +00:00
Michael Natterer b10adabb5e Added parent window API to the GimpProgress interface and to the libgimp
2005-09-09  Michael Natterer  <mitch@gimp.org>

	Added parent window API to the GimpProgress interface and to
	the libgimp progress stuff. Might look strange, but does
	the right thing in almost all cases (image window, file dialog,
	script-fu dialog etc). Fixes bug #62988.

	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
	which should return a toplevel window ID if the progress is in a
	window that wants to be the transient parent of plug-in dialogs.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
	function which returns the window handle of a GtkWindow's GdkWindow.

	* app/widgets/gimpfiledialog.c: implement ::get_window().

	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.

	* app/gui/gui-vtable.c: changed accordingly.

	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
	added GIMP_PROGRESS_COMMAND_GET_WINDOW.

	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
	new function. Also renamed some functions to match the
	GimpProgress interface, and not the legacy PDB procedure names.

	* tools/pdbgen/pdb/progress.pdb
	* app/core/gimppdbprogress.c: implement get_window() on both
	sides of the wire, keeping backward compatibility (hopefully).

	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
	and added gimp_progress_install_vtable() which takes a vtable with
	padding to be extensible. Added get_window() vtable entry and
	dispatch it accordingly. Also added pulse() which was implemented
	in a hackish way before. Everything is of course backward
	compatible.

	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
	so a plug-in dialog containing a progress can be the transient
	parent of another dialog in another plug-in.

	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
	which returns a foreign GdkWindow of this plug-ins progress
	window.

	Renamed gimp_window_set_transient_for_default_display() to
	gimp_window_set_transient() and make it use the progress' window
	handle instead of the display's (which is the right thing to do in
	almost all cases).

	* libgimp/gimp.def
	* libgimp/gimpui.def: add the new functions.

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/progress_cmds.c
	* libgimp/gimpprogress_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/*/*.c: follow API change.
2005-09-09 18:07:31 +00:00
Sven Neumann 428771c6b1 use g_ascii_strcasecmp() instead of strcasecmp().
2005-09-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (printrc_load): use g_ascii_strcasecmp()
	instead of strcasecmp().
2005-09-09 10:21:58 +00:00
Sven Neumann cc6f3e762f Call gimp_window_set_transient_for_default_display() for most plug-in
2005-09-05  Sven Neumann  <sven@gimp.org>

	* plug-ins: Call gimp_window_set_transient_for_default_display()
	for most plug-in dialogs. Not yet done are load and save dialogs
	and dialogs created from language bindings.
2005-09-05 21:40:29 +00:00
Sven Neumann ec56ef9d01 Address bug #307971:
2005-09-05  Sven Neumann  <sven@gimp.org>

	Address bug #307971:

	* app/core/gimp-gui.[ch]
	* app/display/gimpdisplay.[ch]
	* app/gui/gui-vtable.c
	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
	window handle on an image display.

	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpdisplay_pdb.[ch]: regenerated.

	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
	to an image display.

	* plug-ins/common/gauss.c: use the new function exemplarily.

	* libgimp/gimp.def
	* libgimp/gimpui.def: updated.
2005-09-05 20:47:12 +00:00
Sven Neumann 2a1805b3b4 plug-ins/script-fu/scripts/coffee.scm
2005-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: string fixes as
	pointed out in bug #315211.
2005-09-04 10:22:58 +00:00
Sven Neumann 1a7beee00c plug-ins/bmp/bmpwrite.c plug-ins/common/aa.c plug-ins/common/csource.c
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mail.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c
	* plug-ins/xjt/xjt.c: use verbs instead of "OK" in the
	confirmative dialog button.
2005-09-02 11:09:03 +00:00
Sven Neumann c0de2b7668 plug-ins/jpeg/jpeg-load.c (load_image) removed tile cache again, it
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image)
	* plug-ins/jpeg/jpeg-save.c (save_image): removed tile cache again,
	it doesn't help for the way the plug-in accesses the pixels.
2005-09-02 10:06:38 +00:00
Michael Natterer 3426f7a90b added toggles which allow to always use the frame delay and disposal
2005-08-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: added toggles which allow to always use
	the frame delay and disposal entered in the dialog, overriding the
	ones specified in the layer names. Fixes bug #314726. Also fixed
	missing and non-working mnemonics.
2005-08-29 18:45:02 +00:00
Sven Neumann ad8929028e retitled dialog to "Import from PDF" and changed the confirmative button
2005-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: retitled dialog to "Import from PDF"
	and changed the confirmative button label to "Import".
2005-08-29 08:16:25 +00:00
Manish Singh 5fd191b770 Remove some ancient files 2005-08-27 23:31:55 +00:00
Michael Schumacher 637def4d40 applied a patch by David Gowers, which makes palette-map behave the same
2005-08-27  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/gradmap.c: applied a patch by David Gowers,
	which makes palette-map behave the same as gradient-map. Fixes bug
	313458.
2005-08-27 18:09:20 +00:00
Sven Neumann 7d7142ab48 plug-ins/jpeg/jpeg-load.c (load_image) set tile cache.
2005-08-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image)
	* plug-ins/jpeg/jpeg-save.c (save_image): set tile cache.
2005-08-27 03:38:11 +00:00
Sven Neumann abebcde644 deal with SVG API change. This is a compile-time check and thus somewhat
2005-08-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/svg.c: deal with SVG API change. This is a
	compile-time check and thus somewhat ugly because it requires a
	recompile of the plug-in when updating librsvg. Fixes bug #314400.
2005-08-26 19:45:02 +00:00
Sven Neumann fdb6d8ab45 removed newline from description.
2005-08-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/blend-anim.scm: removed newline from
	description.
2005-08-26 01:11:24 +00:00
Sven Neumann 92b2257ef7 plug-ins/sel2path/curve.c (new_curve_list) plug-ins/sel2path/fit.c
2005-08-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/sel2path/curve.c (new_curve_list)
	* plug-ins/sel2path/fit.c (split_at_corners)
	* plug-ins/winicon/icosave.c (ico_init_data): initialize variables.
2005-08-25 21:30:32 +00:00
Michael Natterer 911923df17 define FOO_DISABLE_DEPRECATED for the new stable versions of GTK+ and
2005-08-25  Michael Natterer  <mitch@gimp.org>

	* configure.in: define FOO_DISABLE_DEPRECATED for the new stable
	versions of GTK+ and Pango.

	Check for poppler >= 0.4.1, they did another API change.

	* plug-ins/common/poppler.c: and some more #ifdefs to
	poppler_page_render_to_pixbuf().
2005-08-25 21:27:59 +00:00
Sven Neumann dff3e7584e plug-ins/script-fu/scripts/i26-gunya2.scm reverted the last change...
2005-08-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: reverted the last
	change...

	* plug-ins/common/displace.c: ... and fixed the plug-in instead.
	The number of parameters must not change. Provide a new procedure
	for polar mode instead.
2005-08-24 09:51:17 +00:00
Tor Lillqvist d3277fca66 plug-ins/script-fu/scripts/i26-gunya2.scm Add the new last parameter to
2005-08-24  Tor Lillqvist  <tml@novell.com>

	* plug-ins/script-fu/scripts/i26-gunya2.scm
	* plug-ins/script-fu/scripts/ripply-anim.scm: Add the new last
	parameter to plug-in-displace calls. (See entry for displace.c
	from 2005-02-10 below.)
2005-08-24 09:01:38 +00:00
Sven Neumann 447c95b301 added a hint on how to use this plug-in.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c (iwarp_dialog): added a hint on how to
	use this plug-in.
2005-08-23 14:45:42 +00:00
Sven Neumann e7a14aaa71 applied capitalization patches contributed by Stephan Binner. Fixes bug
2005-08-23  Sven Neumann  <sven@gimp.org>

	* [lots of files]: applied capitalization patches contributed by
	Stephan Binner. Fixes bug #309657.
2005-08-23 00:18:08 +00:00
Sven Neumann 1a94b2be20 app/actions/channels-commands.c app/actions/qmask-commands.c
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/actions/channels-commands.c
	* app/actions/qmask-commands.c
	* app/dialogs/channel-options-dialog.c
	* app/dialogs/layer-options-dialog.c
	* app/dialogs/module-dialog.c
	* app/dialogs/palette-import-dialog.c
	* app/dialogs/preferences-dialog.c
	* app/dialogs/resize-dialog.c
	* app/dialogs/stroke-dialog.c
	* app/dialogs/vectors-options-dialog.c
	* app/display/gimpdisplayshell-scale.c
	* app/tools/gimpaligntool.c
	* app/tools/gimpblendoptions.c
	* app/widgets/gimphistogrameditor.c
	* app/widgets/gimpstrokeeditor.c
	* libgimpwidgets/gimpcolorselection.c
	* modules/cdisplay_colorblind.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_cmyk.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/colorify.c
	* plug-ins/common/film.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/lic.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/sinus.c
	* plug-ins/common/sparkle.c
	* plug-ins/gflare/gflare.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_cmd_guides.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/metadata/interface.c
	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-server.c: applied patch from
	Stephan Binner that fixes capitalization issues (bug #309657).
2005-08-22 23:39:12 +00:00
Sven Neumann 5ea47e3126 minor optimizations.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* app/base/siox.c: minor optimizations.

	* app/actions/gradients-actions.c
	* app/actions/patterns-actions.c
	* plug-ins/metadata/interface.c: applied patch from Stephan Binner
	that fixes wrong use of ellipsis (bug #309657).
2005-08-22 23:30:23 +00:00
Sven Neumann b6af2173d1 use GTK_STOCK_APPLY and fixed capitalization in button label.
2005-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/sample_colorize.c: use GTK_STOCK_APPLY and fixed
	capitalization in button label.
2005-08-22 23:21:43 +00:00