Gimp/app/tools
Michael Natterer c49df22eef Action code review and pre-release consistency cleanup:
2004-10-18  Michael Natterer  <mitch@gimp.org>

	Action code review and pre-release consistency cleanup:

	* app/actions/*-actions.c: added some missing and resolved
	conflicting mnemonics, added missing help IDs. Cleaned up the
	*_actions_update() functions.

	* app/actions/channels-actions.c
	* app/actions/layers-actions.c
	* app/actions/vectors-actions.c (*_actions_update): simplified
	the code that figures the prev and next channel,layer,vectors.

	* app/actions/qmask-actions.c: use the same accelerator for
	"qmask-active" and "qmask-toggle". Fixed action sensitivity.

	* app/actions/channels-commands.c
	* app/actions/dockable-commands.c
	* app/actions/documents-commands.c
	* app/actions/gradients-commands.c
	* app/actions/layers-commands.c
	* app/actions/palettes-commands.c
	* app/actions/image-commands.c
	* app/actions/select-commands.c
	* app/actions/vectors-commands.c: folded tons of private utility
	functions into their only callers (they used to be public and
	called from outside before the switch to action based menus).
	Renamed functions and variables saying "query" or "qbox" to
	"dialog". Moved static functions to the end of the files. Misc
	minor cleanups.

	* app/actions/drawable-actions.c
	* app/actions/drawable-commands.c: made the "drawable-visible" and
	"drawable-linked" actions affect the layer if the active drawable
	is a layer mask.

	* app/actions/select-commands.c: added action to stroke with the
	last values used in an attempt to address bug #135746 but #if 0'ed
	it because the approach is too ugly.

	* app/tools/gimpiscissorstool.c: changed mnemonic from I to S.

	* menus/image-menu-xml.in: added more stuff to the (commented out)
	"context" menu.
2004-10-18 11:29:58 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
gimp-tools.c reset the tool options before deserializing so they have the correct 2004-10-06 17:21:22 +00:00
gimp-tools.h Started making the toolbox configurable. Addresses bug #105764. Not 2004-05-10 00:41:57 +00:00
gimpairbrushtool.c app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register) add 2004-09-23 21:04:39 +00:00
gimpairbrushtool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpblendoptions.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimpblendoptions.h added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients 2003-07-22 14:24:11 +00:00
gimpblendtool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpblendtool.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpbrightnesscontrasttool.c stripped the menu paths from the "menu_path". Will be renamed to 2004-04-29 13:19:28 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimpbrushtool.h cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpbucketfilloptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpbucketfilloptions.h Re-enabled filling the whole selection using the bucket fill tool. Fixes 2004-01-27 15:26:11 +00:00
gimpbucketfilltool.c *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) don't 2004-07-28 16:21:00 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorizetool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcolorizetool.h changed the range of the "lightness" parameter to [-100..+100], where -100 2003-11-18 16:06:47 +00:00
gimpcoloroptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcoloroptions.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
gimpcolorpickeroptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpcolorpickeroptions.h Fixed a 1.2 -> 2.0 regression that was forgotten: 2004-06-30 12:10:08 +00:00
gimpcolorpickertool.c app/tools/gimpbycolorselecttool.c (gimp_by_color_select_tool_init) don't 2004-07-28 16:21:00 +00:00
gimpcolorpickertool.h new enum GimpColorFrameMode. 2003-10-15 15:16:50 +00:00
gimpcolortool.c libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def 2004-07-27 16:39:00 +00:00
gimpcolortool.h Fixed a 1.2 -> 2.0 regression that was forgotten: 2004-06-30 12:10:08 +00:00
gimpconvolvetool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c plugged a tiny memleak spotted by Olivier. 2004-09-29 15:40:29 +00:00
gimpcropoptions.h app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows 2004-04-15 15:17:36 +00:00
gimpcroptool.c dispatch GDK_Escape to GimpTool::key_press(). 2004-10-01 15:15:14 +00:00
gimpcroptool.h app/tools/gimpcropoptions.[ch] applied a patch from Jordi Gay that allows 2004-04-15 15:17:36 +00:00
gimpcurvestool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpcurvestool.h app/tools/gimpcurvestool.[ch] removed obsoleted variables. 2004-02-25 12:31:18 +00:00
gimpdodgeburntool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimpdodgeburntool.h app/actions/qmask-actions.c prepared qmask_actions_update() and the qmask 2004-04-21 10:55:45 +00:00
gimpdrawtool.c app/config/gimpconfig-deserialize.c app/config/gimpscanner.c 2004-05-12 08:13:33 +00:00
gimpdrawtool.h added "use_offsets" parameter to gimp_draw_tool_draw_boundary() for 2004-02-21 16:06:56 +00:00
gimpeditselectiontool.c added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpeditselectiontool.h added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpellipseselecttool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c added new function gimp_get_mod_string() which takes a GdkModifierType and 2004-06-28 23:30:57 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpflipoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpfliptool.c *** empty log message *** 2004-07-13 16:36:29 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpfreeselecttool.h app/tools/gimpfreeselecttool.[ch] added the possibility to <alt>+drag the 2003-05-27 11:52:03 +00:00
gimpfuzzyselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpfuzzyselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimphistogramoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimphistogramoptions.h call gimp_image_colormap_changed() after installing the colormap. 2004-02-12 14:09:35 +00:00
gimphuesaturationtool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemapoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpimagemapoptions.h app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch] 2004-02-25 10:23:43 +00:00
gimpimagemaptool.c dispatch GDK_Escape to GimpTool::key_press(). 2004-10-01 15:15:14 +00:00
gimpimagemaptool.h moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and 2004-02-25 13:55:45 +00:00
gimpinkoptions-gui.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpinkoptions-gui.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpinktool.c removed enum GimpPaintCoreState. 2004-07-19 14:37:40 +00:00
gimpinktool.h app/paint/Makefile.am app/paint/gimpink-blob.[ch] app/paint/gimpink.[ch] 2004-05-26 15:34:45 +00:00
gimpiscissorstool.c Action code review and pre-release consistency cleanup: 2004-10-18 11:29:58 +00:00
gimpiscissorstool.h app/gui/edit-commands.c added "Fill with Pattern" menu entry as suggested 2003-07-02 18:01:19 +00:00
gimplevelstool.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimplevelstool.h app/tools/gimpcurvestool.[ch] removed obsoleted variables. 2004-02-25 12:31:18 +00:00
gimpmagnifyoptions.c reset the tool options before deserializing so they have the correct 2004-10-06 17:21:22 +00:00
gimpmagnifyoptions.h app/tools/gimpmagnifyoptions.[ch] applied a patch from William Skaggs that 2004-05-10 17:02:20 +00:00
gimpmagnifytool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpmeasureoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasuretool.c implement GimpTool::key_press() and cancel the tool on GDK_Escape. Come 2004-10-08 15:32:30 +00:00
gimpmeasuretool.h don't use InfoDialog; always display pixels and real-world units in the 2003-10-20 17:36:18 +00:00
gimpmoveoptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpmoveoptions.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpmovetool.c added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpmovetool.h added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimppaintbrushtool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimppaintoptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimppainttool.c app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
gimppainttool.h cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimppenciltool.c app/tools/gimpairbrushtool.c (gimp_airbrush_tool_register) add 2004-09-23 21:04:39 +00:00
gimppenciltool.h took the fade options out of GimpGradientOptions and added them to the new 2003-07-15 15:38:24 +00:00
gimpperspectivetool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpperspectivetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpposterizetool.c Bill Skaggs <weskaggs@primate.ucdavis.edu> 2004-06-23 20:29:46 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimprectselecttool.h Sanitize rectangle and ellipse selection handling (bug #138237 and bug 2004-04-05 08:08:23 +00:00
gimpregionselecttool.c renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpregionselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimprotatetool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimprotatetool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpscaletool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpscaletool.h removed the recently added "gdouble aspect_ratio"... 2004-08-06 16:39:11 +00:00
gimpselectionoptions.c libgimpwidgets/gimpwidgets.c app/widgets/gimpenumwidgets.[ch] 2004-10-14 15:44:13 +00:00
gimpselectionoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpselectiontool.c added new parameter "gboolean propagate_release" to 2004-10-06 21:04:13 +00:00
gimpselectiontool.h renamed init_edit_selection() to gimp_edit_selection_tool_start(). Removed 2004-07-26 14:50:51 +00:00
gimpsheartool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpsheartool.h Transform tool cleanup: 2004-08-06 16:27:13 +00:00
gimpsmudgetool.c cursors/Makefile.am cursors/cursor-none.png new empty cursor images. 2004-06-04 23:08:29 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptextoptions.h app/tools/gimptextoptions.[ch] introduced a proxy GimpText object that is 2004-03-14 17:54:23 +00:00
gimptexttool.c new function which checks if undo compression is possible: 2004-08-03 14:09:49 +00:00
gimptexttool.h preserve the text tool on image changes. Instead connect to the text 2004-03-22 14:32:47 +00:00
gimpthresholdtool.c removed the label between the spinbuttons, it looks silly. Converted tabs 2004-06-20 22:04:10 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c app/tools/gimptool.[ch] added boolean return value to 2004-06-24 10:16:08 +00:00
gimptool.h app/tools/gimptool.[ch] added boolean return value to 2004-06-24 10:16:08 +00:00
gimptoolcontrol.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimptoolcontrol.h Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
gimptooloptions-gui.c removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptooloptions-gui.h removed the recently added utility functions again. 2004-10-12 12:06:50 +00:00
gimptransformoptions.c removed the "Density" label. It wasn't helpful and caused the transform 2004-10-14 22:55:18 +00:00
gimptransformoptions.h Replaced "Preview" checkbutton with a combobox with options "Outline", 2004-07-02 21:56:30 +00:00
gimptransformtool-undo.c app/core/gimpundo.[ch] app/core/gimpitemundo.[ch] removed all _new() 2004-07-12 16:59:36 +00:00
gimptransformtool-undo.h app/tools/gimptransformtool.c removed old path undo stuff. 2003-05-18 10:44:09 +00:00
gimptransformtool.c dispatch GDK_Escape to GimpTool::key_press(). 2004-10-01 15:15:14 +00:00
gimptransformtool.h configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpvectoroptions.c app/paint/gimpairbrushoptions.c app/paint/gimpcloneoptions.c 2004-09-24 12:01:35 +00:00
gimpvectoroptions.h Since GimpVectorTool is no GimpSelectionTool, it does not make sense to 2003-11-14 23:10:24 +00:00
gimpvectortool.c configure.in added new directory app/dialogs and link libappdialogs.c into 2004-09-13 15:15:23 +00:00
gimpvectortool.h avoid excessive use of strdup() and strcmp(). The strings are all constant 2004-08-30 15:08:02 +00:00
Makefile.am app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00
makefile.msc updated app/actions/makefile.msc app/menus/makefile.msc : (new files) 2004-07-11 21:53:17 +00:00
tool_manager.c Replaced the concept of having a boolean indicating if an undo step 2004-07-29 14:16:21 +00:00
tool_manager.h app/tools/gimptool.[ch] added boolean return value to 2004-06-24 10:16:08 +00:00
tools-enums.c added still unused flags type GimpDirtyMask. 2004-07-28 11:50:20 +00:00
tools-enums.h Applied a bunch of AIX portability fixes (bug #148813): 2004-07-30 00:57:22 +00:00
tools-types.h Let all GimpImageMap tools remember the state of the preview toggle (bug 2004-02-22 14:28:53 +00:00
tools-utils.c fixed a typo that broke the build. 2004-08-23 00:45:40 +00:00
tools-utils.h app/tools/Makefile.am added gimp_tool_motion_constrain(), 2004-08-22 21:48:50 +00:00