gimp/app/tools
Michael Natterer 1d2c795f2b when trying to activate the previously selected layer after a layer
2003-11-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_layer): when trying to
	activate the previously selected layer after a layer removal, also
	look at gimage->layer_stack, just as gimp_image_remove_layer()
	does. Should fix regression from 1.2 when there was no avtive
	layer after certain undo operations. Fixes bug #126781.
	Reordered instructions to match gimp_image_remove_layer().

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: although the crash triggering bug
	is fixed, the image_map tools should not crash when invoked
	without active drawable: changed all _initialize() functions to
	silently return if there is no active drawable.

	Changed "drawable" to "layer" in all user visible warnings about
	indexed or non-RGB drawables. Cleanup.
2003-11-13 11:23:01 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +00:00
Makefile.am Replaced the histogram tool by a histogram dialog: 2003-11-01 02:39:34 +00:00
gimp-tools.c Replaced the histogram tool by a histogram dialog: 2003-11-01 02:39:34 +00:00
gimp-tools.h app/paint/Makefile.am removed... ...and added. 2003-09-18 13:51:10 +00:00
gimpairbrushtool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +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 use GIMP_GRADIENT as prefix for the GimpGradientType enum. 2003-08-26 18:12:42 +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/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c app/display/gimpdisplayshell-callbacks.c 2003-10-29 20:57:21 +00:00
gimpbrushtool.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpbucketfilloptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpbucketfilloptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpbucketfilltool.c removed the _clear() wrapper. 2003-09-03 14:22:38 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorizetool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpcolorizetool.h fixed to work like gimp_hls_to_rgb_int() (does the right thing now for the 2003-05-19 14:21:03 +00:00
gimpcoloroptions.c app/tools/Makefile.am new tool options class GimpHistogramOptions, derived 2003-10-24 08:12:21 +00:00
gimpcoloroptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpcolorpickeroptions.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolorpickeroptions.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolorpickertool.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:32:38 +00:00
gimpcolorpickertool.h new enum GimpColorFrameMode. 2003-10-15 15:16:50 +00:00
gimpcolortool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpcolortool.h Cleaned up all places which pick colors to work consistently: the concept 2003-09-26 13:33:54 +00:00
gimpconvolvetool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c app/tools/gimpcropoptions.c revert back to "Current". 2003-10-19 16:04:01 +00:00
gimpcropoptions.h don't scan "app/tools/tools-enums.h" for PDB types since the PDB doesn't 2003-09-26 16:20:05 +00:00
gimpcroptool.c app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpcurvestool.h themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpdodgeburntool.c made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. 2003-08-30 16:41:35 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +00:00
gimpdrawtool.h app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +00:00
gimpeditselectiontool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpeditselectiontool.h changed "gboolean move_mask" to "GimpTransformType move_type" and added an 2003-09-16 16:23:38 +00:00
gimpellipseselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpflipoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpfliptool.c should actually call gimp_item_flip() on the path to transform. Fixes bug 2003-10-31 09:38:04 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +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 app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +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 make it a two-way connection and added a property_name parameter so it can 2003-10-25 17:25:34 +00:00
gimphistogramoptions.h app/tools/Makefile.am new tool options class GimpHistogramOptions, derived 2003-10-24 08:12:21 +00:00
gimphuesaturationtool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c update shell->popup_factory only if this is the active display or we will 2003-11-11 13:09:50 +00:00
gimpimagemaptool.h app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpinkoptions-gui.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpinkoptions-gui.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinkoptions.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimpinkoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpinktool-blob.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00
gimpinktool-blob.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpinktool.c added new virtual functions GimpDrawable::get_active_components(), 2003-10-06 14:40:12 +00:00
gimpinktool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpiscissorstool.c added GimpScanConvert typedef. 2003-10-09 11:30:49 +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 when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimplevelstool.h added the API for level correction using black, gray and white point. 2002-10-15 13:36:28 +00:00
gimpmagnifyoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpmagnifyoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmagnifytool.c app/display/gimpdisplayshell.c app/gui/brush-select.c 2003-08-22 01:42:57 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasureoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpmeasuretool.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:32:38 +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/tools/gimpcropoptions.c revert back to "Current". 2003-10-19 16:04:01 +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 some cleanup. 2003-10-31 11:51:47 +00:00
gimpmovetool.h call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimppaintbrushtool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c Argh, this should have gone with my last checkin... 2003-07-22 14:29:06 +00:00
gimppaintoptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimppainttool.c app/display/gimpdisplayshell-callbacks.c 2003-10-29 20:57:21 +00:00
gimppainttool.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimppenciltool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +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 app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c Treat changes to the selection like changes to any other drawable: 2003-10-06 12:17:11 +00:00
gimprectselecttool.h app/tools/gimpfreeselecttool.[ch] added the possibility to <alt>+drag the 2003-05-27 11:52:03 +00:00
gimpregionselecttool.c app/display/gimpcanvas.[ch] moved GC from the the draw tool to GimpCanvas. 2003-11-10 19:35:56 +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 app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c added "gboolean allow_percent" to gimp_param_spec_unit() and to the 2003-07-17 15:22:21 +00:00
gimpselectionoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimpselectiontool.c added "GimpVectorMode saved_mode" to the GimpVectorTool struct. 2003-09-17 11:16:55 +00:00
gimpselectiontool.h bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. 2001-11-22 23:46:13 +00:00
gimpsheartool.c app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c Ctrl only sets the clone source when Shift isn't pressed at the same time 2003-09-03 16:41:30 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c use GTK_STOCK_SELECT_FONT stock icon instead of text tool icon. 2003-11-05 01:07:56 +00:00
gimptextoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptexttool.c register a log handler for the Gimp-Text domain. 2003-11-04 23:59:58 +00:00
gimptexttool.h set the vectors offset from the text layer's offset. 2003-07-24 16:40:22 +00:00
gimpthresholdtool.c when trying to activate the previously selected layer after a layer 2003-11-13 11:23:01 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
gimptool.h Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
gimptoolcontrol.c removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptoolcontrol.h removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptooloptions-gui.c Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptooloptions-gui.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformoptions.c it's GIMP_INTERPOLATION_LINEAR, not just GIMP_LINEAR, argh. Fixes part 1 2003-08-26 17:33:25 +00:00
gimptransformoptions.h Getting rid of some legacy filenames: 2003-06-29 20:40:45 +00:00
gimptransformtool-undo.c added "gint ref_count" to the TileManager struct. 2003-05-26 17:02:06 +00:00
gimptransformtool-undo.h app/tools/gimptransformtool.c removed old path undo stuff. 2003-05-18 10:44:09 +00:00
gimptransformtool.c To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:32:38 +00:00
gimptransformtool.h app/widgets/Makefile.am added a simple utility function 2003-10-20 21:27:34 +00:00
gimpvectoroptions.c Renamed the modes of the vector tools: - Design (creative stuff: placing 2003-09-18 14:54:54 +00:00
gimpvectoroptions.h Added enum for vector tool operation mode 2003-08-20 22:19:37 +00:00
gimpvectortool.c Changed the priority of ALT vs. CTRL. Resolves an small issue with 2003-10-22 20:55:45 +00:00
gimpvectortool.h Show a little help in the status bar. Maybe the functions I implemented to 2003-09-18 23:58:37 +00:00
makefile.msc renamed GimpOrientationType with Compat postfix to avoid name clashing 2003-07-26 17:37:32 +00:00
tool_manager.c Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
tool_manager.h Refactored modifier handling of displays and tools. Hopefully finally 2003-10-14 11:14:28 +00:00
tools-enums.c added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
tools-enums.h added GIMP_COLOR_PICK_MODE_NONE to the GimpColorPickMode enum. 2003-10-25 19:00:49 +00:00
tools-types.h app/display/display-types.h app/tools/tools-types.h 2003-09-07 10:29:10 +00:00