Commit Graph

2556 Commits

Author SHA1 Message Date
Michael Natterer f63a7153ef Remove the toolbox menu:
2008-03-21  Michael Natterer  <mitch@gimp.org>

	Remove the toolbox menu:

	* configure.in: remove --enable-toolbox-menu option.

	* menus/Makefile.am
	* menus/toolbox-menu.xml.in: removed.

	* menus/image-menu.xml.in: add the debug menu here.

	* menus/menus.xsl: remove transformations depending on whether
	there is a toolbox menu or not.

	* app/menus/Makefile.am
	* app/menus/toolbox-menu.[ch]: removed.

	* app/menus/menus.c: remove the toolbox menu but keep the
	<Toolbox> UI manager around so we can configure its actions
	separate from normal docks.

	* app/actions/image-actions.c (image_actions): remove the action
	for the toolbox menubar.

	* app/widgets/gimptoolbox.c: remove all menu code.

	* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
	menu items to their new location in the image menu
	unconditionally.

	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/web-browser.scm
	* plug-ins/twain/twain.c
	* plug-ins/winsnap/winsnap.c: remove menu registrations under
	<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
	<Toolbox>/Xtns untouched until its final location and name are
	decided.


svn path=/trunk/; revision=25156
2008-03-21 17:55:32 +00:00
Sven Neumann 6c722dff53 added a sanity check and abort when the image is too large.
2008-03-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gif-save.c: added a sanity check and abort when
	the image is too large.

svn path=/trunk/; revision=25136
2008-03-20 09:29:04 +00:00
Sven Neumann 6c5c1ccdfe formatting.
2008-03-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: formatting.

svn path=/trunk/; revision=25106
2008-03-17 14:44:23 +00:00
Michael Natterer 8955dffc24 set the original filename only if all pages were loaded as layers; if a
2008-03-13  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set the original
	filename only if all pages were loaded as layers; if a subset was
	loaded, set the filename to "<filename>.tiff-n-of-m-pages" so a
	simple "save" won't overwrite the original file without the user
	changing the filename explicitely.


svn path=/trunk/; revision=25103
2008-03-13 17:11:06 +00:00
Sven Neumann 671cdc17db set a filename on the image, even when not all images are imported as
2008-03-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): set a filename on the
	image, even when not all images are imported as layers (bug #521436).

svn path=/trunk/; revision=25100
2008-03-13 13:03:32 +00:00
Michael Natterer bc9424a2b5 app/actions/data-commands.c app/actions/debug-commands.c
2008-03-12  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c
	* app/actions/debug-commands.c
	* app/actions/dockable-commands.c
	* app/dialogs/stroke-dialog.c
	* app/display/gimpdisplayshell-handlers.c
	* app/gui/gui-message.c
	* app/gui/gui.c
	* app/tools/gimpforegroundselectoptions.c
	* app/tools/gimpinkoptions-gui.c
	* app/widgets/gimpcolordialog.c
	* app/widgets/gimpcontainerpopup.c
	* app/widgets/gimpcontainerview-utils.c
	* app/widgets/gimpdock.c
	* app/widgets/gimpdockable.c
	* app/widgets/gimpsessioninfo-book.c
	* app/widgets/gimpsessioninfo-dock.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimpunitcombobox.c
	* app/widgets/gimpviewablebox.c
	* libgimp/gimpexport.c
	* libgimpmodule/gimpmodule.h
	* libgimpwidgets/gimpenumwidgets.c
	* libgimpwidgets/gimpframe.c
	* libgimpwidgets/gimpoldwidgets.c
	* libgimpwidgets/gimpwidgets.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/common/papertile.c
	* plug-ins/common/sinus.c
	* plug-ins/flame/flame.c
	* plug-ins/helpbrowser/gimpthrobber.c
	* plug-ins/script-fu/scheme-wrapper.c
	* plug-ins/script-fu/script-fu-console.c: use accessors instead of
	accessing GtkBin.child and GtkPaned.child1,2 directly.


svn path=/trunk/; revision=25095
2008-03-12 16:58:28 +00:00
Sven Neumann 1463ee4de2 plug-ins/common/tileit.c plug-ins/common/warp.c fixed the same problem as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c
	* plug-ins/common/warp.c
	* plug-ins/common/struc.c: fixed the same problem as in the Wind
	plug-in here as well (see bug #516369).

svn path=/trunk/; revision=24944
2008-02-22 09:39:50 +00:00
Sven Neumann c2af4a13fd fixed the same bug in another place
svn path=/trunk/; revision=24939
2008-02-22 07:43:21 +00:00
Sven Neumann 5c5d221cf5 fixed call to gimp_drawable_mask_intersect() which was causing a crash as
2008-02-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wind.c (render_wind): fixed call to
	gimp_drawable_mask_intersect() which was causing a crash as
	reported in bug #516369.


svn path=/trunk/; revision=24937
2008-02-22 07:38:38 +00:00
William Skaggs a936d0384d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/vpropagate.c:  change "darker" to "lighter"
	in tooltips, in response to comment #24 in bug #156545.

svn path=/trunk/; revision=24882
2008-02-14 03:01:39 +00:00
William Skaggs 3219763d6d Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/ripple.c:  add a "phase shift" control,
	for interactive use only.  Fixes bug #515144.

svn path=/trunk/; revision=24845
2008-02-10 04:29:46 +00:00
Sven Neumann 91774c8ce1 simplified code and user interface by removing the uuencode option and the
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: simplified code and user interface by
	removing the uuencode option and the comment field which only
	duplicated the message body.
	(to64): fixed a bug in the base64 encoding.

svn path=/trunk/; revision=24804
2008-02-05 09:42:34 +00:00
Sven Neumann 464fd313e8 changed menu label and dialog title to "Send by Email".
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: changed menu label and dialog title to
	"Send by Email".


svn path=/trunk/; revision=24803
2008-02-05 07:57:09 +00:00
Sven Neumann 7a206d629b check if drawable is a layer before trying to access the layer mask.
2008-02-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-save.c (write_pixel_data): check if 
drawable
	is a layer before trying to access the layer mask.


svn path=/trunk/; revision=24797
2008-02-04 23:25:27 +00:00
Sven Neumann 1844caedb2 string change.
2008-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mail.c: string change.


svn path=/trunk/; revision=24764
2008-01-31 21:13:07 +00:00
Sven Neumann bb43c6c3c6 choose a better tile cache size.
2008-01-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/iwarp.c: choose a better tile cache size.

svn path=/trunk/; revision=24760
2008-01-31 16:00:27 +00:00
Sven Neumann ce0734c83a fixed crash on missing profile (bug #512529).
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_dialog): fixed crash on missing
	profile (bug #512529).

svn path=/trunk/; revision=24733
2008-01-28 17:27:50 +00:00
Sven Neumann 9c4ec2ec2f plug-ins/common/lcms.c (lcms_load_profile) fixed error messages.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_load_profile)
	* plug-ins/common/wmf.c (load_image): fixed error messages.

svn path=/trunk/; revision=24732
2008-01-28 17:04:46 +00:00
Sven Neumann d3e1c997c9 minor cleanups.
2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/cubism.c: minor cleanups.

svn path=/trunk/; revision=24729
2008-01-28 15:39:55 +00:00
Michael Natterer 31a5214fd5 app/base/tile-manager.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28  Michael Natterer  <mitch@gimp.org>

	* app/base/tile-manager.c
	* plug-ins/common/lcms.c: use G_STRLOC instead of
	G_GNUC_FUNCTION (which is now deprecated).


svn path=/trunk/; revision=24727
2008-01-28 13:19:42 +00:00
Sven Neumann 39db00b89e corrected check of the bytesperline field which caused monochrome PCX
2008-01-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pcx.c: corrected check of the bytesperline field
	which caused monochrome PCX images to be rejected (bug #510658).

svn path=/trunk/; revision=24670
2008-01-22 13:15:55 +00:00
Sven Neumann 03342ad774 plug-ins/common/bumpmap.c applied patch from Ulf-D. Ehlert that catches a
2008-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/bumpmap.c
	* plug-ins/script-fu/scripts/swirltile.scm: applied patch from
	Ulf-D. Ehlert that catches a potential division by zero in the
	Bumpmap plug-in and adjusts the range of the Depth parameter in
	the Swirl-Tile script (bug #509608).

svn path=/trunk/; revision=24616
2008-01-15 12:26:03 +00:00
Sven Neumann c7b188b90b round the result of the convolution. Fixes bug #508114.
2008-01-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): round the result
	of the convolution. Fixes bug #508114.

svn path=/trunk/; revision=24575
2008-01-09 10:37:18 +00:00
Sven Neumann a01a055c01 fixed out-of-bounds array access.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/convmatrix.c (convolve_image): fixed 
out-of-bounds
	array access.


svn path=/trunk/; revision=24544
2008-01-06 01:59:26 +00:00
Sven Neumann d55d95877e update the progress less often.
2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): update the progress less often.


svn path=/trunk/; revision=24541
2008-01-06 00:50:40 +00:00
Bill Skaggs 6ca147e61b added previews for hurl, pick, and slur.
2008-01-03  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* plug-ins/common/randomize.c: added previews for hurl,
	pick, and slur.
	


svn path=/trunk/; revision=24511
2008-01-03 16:53:33 +00:00
Sven Neumann 4e8df6af94 configure.in plug-ins/Makefile.am added new PSD load plug-in written by
2007-12-20  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/psd: added new PSD load plug-in written by John Marshall.
	This plug-in adds a couple of features. See bug #448181 for details.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/psd-load.c: removed old psd-load plug-in.

svn path=/trunk/; revision=24408
2007-12-20 11:12:05 +00:00
Sven Neumann 8ce82f2415 applied patch from John Marshall that fixes handling of PSD files with
2007-12-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd-load.c: applied patch from John Marshall
	that fixes handling of PSD files with blank layer names (bug 
#504149).


svn path=/trunk/; revision=24401
2007-12-18 20:33:32 +00:00
William Skaggs 50f65eb1b4 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: reverted to state pre-12/16.

svn path=/trunk/; revision=24386
2007-12-17 23:25:07 +00:00
William Skaggs 12859122c6 Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: name reverted to "Edge",
	label in combo reverted to "Prewitt", other changes kept.

svn path=/trunk/; revision=24380
2007-12-17 04:59:35 +00:00
William Skaggs 5b13d23b4e Bill Skaggs <weskaggs@primate.udavis.edu>
* plug-ins/common/edge.c: renamed to "Sharp Edges",
	added "invert" option, other usability tweaks.

svn path=/trunk/; revision=24378
2007-12-16 20:38:02 +00:00
Sven Neumann 65bbd5f9d3 plug-ins/common/plugin-defs.pl re-added psd-load. Looks like Bill
2007-12-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: re-added psd-load. Looks like 
Bill
	accidentally removed it.


svn path=/trunk/; revision=24375
2007-12-16 14:58:25 +00:00
William Skaggs 52735b8ea8 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/mapcolor.c: removed
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: updated accordingly

svn path=/trunk/; revision=24369
2007-12-15 18:41:09 +00:00
Sven Neumann 182c263a11 extended the range allowed for the whirl angle (bug #499398).
2007-12-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/whirlpinch.c: extended the range allowed for the
	whirl angle (bug #499398).

svn path=/trunk/; revision=24335
2007-12-12 12:27:02 +00:00
Sven Neumann b43c095cab removed pointless and untranslated warning.
2007-12-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (load_image): removed pointless 
and
	untranslated warning.


svn path=/trunk/; revision=24253
2007-12-02 14:47:47 +00:00
Sven Neumann 91720dc950 improved error reporting.
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c	(load_image): improved error reporting.

svn path=/trunk/; revision=24234
2007-11-26 16:46:04 +00:00
Sven Neumann 6d8cc31116 avoid filename encoding problems by not using wmf_file_open() but mapping
2007-11-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: avoid filename encoding problems by not
	using wmf_file_open() but mapping the file into memory with
	GMappedFile. Fixes bug #499329.

svn path=/trunk/; revision=24232
2007-11-26 16:40:17 +00:00
Sven Neumann 1107d5a20b don't call gimp_edit_clear() if the selection mask is empty after
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: don't call gimp_edit_clear() if
	the selection mask is empty after selecting the window shape and
	inverting that selection. Fixes bug #493182.


svn path=/trunk/; revision=24167
2007-11-15 19:31:12 +00:00
Sven Neumann e35f701b65 fixed bug in colormap handling (bug #497103).
2007-11-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-save.c (save_image): fixed bug in 
colormap
	handling (bug #497103).


svn path=/trunk/; revision=24165
2007-11-15 19:15:10 +00:00
Sven Neumann af237c2246 return GIMP_UNIT_MM in case that we can't query the locale.
2007-11-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimp-utils.c (gimp_get_default_unit): return
	GIMP_UNIT_MM in case that we can't query the locale.

	* plug-ins/common/postscript.c: use gboolean for boolean 
variables.


svn path=/trunk/; revision=24139
2007-11-12 20:52:17 +00:00
Sven Neumann a8252d27d6 properly handle a failure of TIFFFdOpen() instead of crashing on TIFF
2007-11-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tiff-load.c (run): properly handle a failure of
	TIFFFdOpen() instead of crashing on TIFF files we can't handle.

svn path=/trunk/; revision=24130
2007-11-12 10:16:55 +00:00
Michael Natterer a446f3d7fb use the new tooltip API instead of the old deprecated one. Removed
2007-11-09  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimphelpui.[ch]: use the new tooltip API instead
	of the old deprecated one. Removed _gimp_help_init(). Remember
	whether tooltips are enabled or not in a local variable that can
	only be altered at startup time and not after. The API now expects
	markup instead of plain text which might cause warnings and
	perhaps needs to be changed.

	* libgimpwidgets/gimpwidgets-private.c: don't call _gimp_help_init().

	* app/config/gimpguiconfig.c: made show-tooltips a
	GIMP_CONFIG_PARAM_RESTART property.

	* app/widgets/gimptoolbox-color-area.c: don't add the tooltip here...

	* app/widgets/gimptoolbox.c: ...but here (as for all other
	indicators). Also escape '&' properly because we now use markup.

	* app/tools/gimpselectionoptions.c
	* app/widgets/gimpeditor.c
	* app/widgets/gimpwidgets-utils.c: print modifiers and
	shortcuts in bold instead of in ().

	* app/widgets/gimpcontainertreeview.c: show tooltips on rows if
	gimp_viewable_get_description() returns a tip.

	* app/dialogs/preferences-dialog.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/animationplay.c
	* plug-ins/common/warp.c: no need to add event boxes just to have
	tooltips, the new ones work on all widgets.


svn path=/trunk/; revision=24093
2007-11-09 11:17:00 +00:00
Sven Neumann 694c7d188e use a combo-box instead of radio buttons (bug #484838).
2007-10-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/retinex.c: use a combo-box instead of radio
	buttons (bug #484838).

svn path=/trunk/; revision=24012
2007-10-31 10:44:14 +00:00
Sven Neumann 5a8f89999c check for the XFIXES extension.
2007-10-31  Sven Neumann  <sven@gimp.org>

	* configure.in: check for the XFIXES extension.

	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/Makefile.am: use XFIXES_CFLAGS for compiling the
	screenshot plug-in.

	* plug-ins/common/screenshot.c: optionally add the mouse cursor
	image on an extra layer. Work in progress... (bug #490779).

svn path=/trunk/; revision=24008
2007-10-31 10:34:42 +00:00
Sven Neumann 21c8209c52 fixed handling of truncated ascii files.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c (pnm_load_ascii): fixed handling of
	truncated ascii files.


svn path=/trunk/; revision=23968
2007-10-27 17:05:55 +00:00
Sven Neumann 3ef1a3cdb4 formatting.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/pnm.c: formatting.


svn path=/trunk/; revision=23967
2007-10-27 16:50:55 +00:00
Sven Neumann dc6c91fd65 set the svn:ignore property instead of writing a .cvsignore file.
2007-10-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mkgen.pl: set the svn:ignore property instead 
of
	writing a .cvsignore file.


svn path=/trunk/; revision=23966
2007-10-27 14:17:47 +00:00
Manish Singh af49ba3737 plug-ins/common/compose.c generate PDB docs from the same source as the
2007-10-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/compose.c
        * plug-ins/common/decompose.c: generate PDB docs from the same
        source as the UI.

svn path=/trunk/; revision=23940
2007-10-25 03:32:18 +00:00
Sven Neumann 1ed2d6528b fixed handling of the empty selection mask (bug #489410).
2007-10-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/fp.c: fixed handling of the empty selection
	mask (bug #489410).


svn path=/trunk/; revision=23926
2007-10-23 19:15:22 +00:00
Sven Neumann 1d58e18dc5 ooops
svn path=/trunk/; revision=23925
2007-10-23 18:29:16 +00:00