gimp/app/tools
Michael Natterer 3e64ff6a1b new global variable "gimp_busy" which gets set/unset whenever busy cursors
2000-03-25  Michael Natterer  <mitch@gimp.org>

	* app/cursorutil.[ch]: new global variable "gimp_busy" which gets
	set/unset whenever busy cursors are added/removed.

	* app/info_dialog.c: register the info dialogs with the dialog
	handler.

	* app/fuzzy_select.[ch]: cleanups.

	Here starts the ugly workaround which simulates something like
	locking. If it works, it will close lots of bugs, if not, it's
	easy to remove again.

	So far, I didn't find strange side effects but Gimp is told to be
	a complex program :-) Please test this.

	* app/context_manager.c: don't allow tool changes if gimp_busy
	is TRUE.

	* app/disp_callbacks.c: don't allow mouse and key events in the
	display_canvas if gimp_busy is TRUE.
	(except if the current tool is FUZZY_SELECT and it is ACTIVE,
	 which is very ugly)
	Also block other stuff like dropping colors/patterns etc.

	* app/gdisplay_ops.c: don't close any display while Gimp is
	busy. This is not really what we want but at least it prevents
	crashes.
2000-03-25 18:17:01 +00:00
..
airbrush.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
airbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
airbrush_blob.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
airbrush_blob.h Update of the Xinput airbrush, fixed some bugs. It's a bit closer to a 1999-11-14 20:49:14 +00:00
bezier_select.c Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
bezier_select.h Cleaned up the Path header mess. 2000-02-16 13:52:33 +00:00
bezier_selectP.h Cleaned up the Path header mess. 2000-02-16 13:52:33 +00:00
blend.c renamed "Custom from Editor" to "Custom Gradient" and added the 2000-03-10 01:57:10 +00:00
blend.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
brightness_contrast.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
brightness_contrast.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
bucket_fill.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
bucket_fill.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
by_color_select.c immediate cursor_update feedback on modifier events. 2000-03-07 20:00:07 +00:00
by_color_select.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
clone.c removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and 2000-01-25 23:06:12 +00:00
clone.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
color_balance.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
color_balance.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
color_picker.c for indexed images set Index in the info_window to N/A if sample_merged or 2000-03-09 13:02:11 +00:00
color_picker.h set the "preserve" flag to FALSE. This way the tool doesn't have to detect 1999-07-24 15:37:03 +00:00
convolve.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
convolve.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
crop.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
crop.h Toggable tools! 1999-04-27 02:09:03 +00:00
curves.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
curves.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
dodgeburn.c removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and 2000-01-25 23:06:12 +00:00
dodgeburn.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
edit_selection.c app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get 2000-03-08 18:32:31 +00:00
edit_selection.h namespace cleanups. 1999-06-21 22:12:07 +00:00
ellipse_select.c added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
ellipse_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
eraser.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
eraser.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
flip_tool.c really cleaning up this time 2000-03-21 17:47:32 +00:00
flip_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
free_select.c added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
free_select.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
fuzzy_select.c new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
fuzzy_select.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimpairbrushtool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpairbrushtool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpblendtool.c renamed "Custom from Editor" to "Custom Gradient" and added the 2000-03-10 01:57:10 +00:00
gimpblendtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbrightnesscontrasttool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpbrightnesscontrasttool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpbucketfilltool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpbucketfilltool.h export bucket_fill_region(). 1999-08-23 14:19:26 +00:00
gimpbycolorselecttool.c immediate cursor_update feedback on modifier events. 2000-03-07 20:00:07 +00:00
gimpbycolorselecttool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpclonetool.c removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and 2000-01-25 23:06:12 +00:00
gimpclonetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpcolorbalancetool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpcolorbalancetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpconvolvetool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpconvolvetool.h add sample_colorize and curve_bend defs 1999-07-28 23:00:08 +00:00
gimpcroptool.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
gimpcroptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpcurvestool.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
gimpcurvestool.h laod and save for the curves tool 2000-01-20 12:22:54 +00:00
gimpdodgeburntool.c removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and 2000-01-25 23:06:12 +00:00
gimpdodgeburntool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpeditselectiontool.c app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get 2000-03-08 18:32:31 +00:00
gimpeditselectiontool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpellipseselecttool.c added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
gimpellipseselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimperasertool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimperasertool.h app/airbrush.c app/paintbrush.c app/pencil.c app/pixmapbrush.c 1999-08-13 20:50:30 +00:00
gimpfliptool.c really cleaning up this time 2000-03-21 17:47:32 +00:00
gimpfliptool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
gimpfreeselecttool.c added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
gimpfreeselecttool.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimpfuzzyselecttool.c new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimpfuzzyselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimphistogramtool.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
gimphistogramtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimphuesaturationtool.c i18n fix 2000-03-25 13:12:01 +00:00
gimphuesaturationtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpinktool-blob.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
gimpinktool-blob.h Let the user choose between elliptical, square, and diamond shaped brushes 1999-02-03 04:29:08 +00:00
gimpinktool.c forgot to exclude airbrush_blob.[ch] from the build 2000-02-18 18:20:04 +00:00
gimpinktool.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
gimpiscissorstool.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
gimpiscissorstool.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimplevelstool.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
gimplevelstool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimpmagnifytool.c Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
gimpmagnifytool.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
gimpmeasuretool.c fixed my latest "fix" 2000-03-02 00:03:28 +00:00
gimpmeasuretool.h Added new measure tool. 1999-08-15 15:59:06 +00:00
gimpmovetool.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
gimpmovetool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimppaintoptions-gui.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
gimppenciltool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimppenciltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpperspectivetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpposterizetool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpposterizetool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
gimprectselecttool.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
gimprectselecttool.h added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
gimpregionselecttool.c new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimpregionselecttool.h new global variable "gimp_busy" which gets set/unset whenever busy cursors 2000-03-25 18:17:01 +00:00
gimprotatetool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimprotatetool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpscaletool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpscaletool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpselectionoptions.h app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and 2000-02-07 20:35:13 +00:00
gimpsheartool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
gimpsheartool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
gimpsmudgetool.c unref gdk_pixmaps and gdk_bitmaps 2000-02-08 20:48:48 +00:00
gimpsmudgetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimpsourcetool.c removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and 2000-01-25 23:06:12 +00:00
gimpsourcetool.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
gimptexttool.c added missing argument for error message. 2000-03-16 10:03:01 +00:00
gimptexttool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
gimpthresholdtool.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpthresholdtool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
histogram_tool.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
histogram_tool.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
hue_saturation.c i18n fix 2000-03-25 13:12:01 +00:00
hue_saturation.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
ink.c forgot to exclude airbrush_blob.[ch] from the build 2000-02-18 18:20:04 +00:00
ink.h Added new files for handling scan-converted convex polygons. (From gsumi) 1998-06-14 22:42:36 +00:00
iscissors.c s/"Only"/"only"/ 2000-03-04 00:24:39 +00:00
iscissors.h added a G_PI_2 1999-08-16 03:43:48 +00:00
levels.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
levels.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
magnify.c Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
magnify.h Makefile.am a proper naming scheme for all cursor files. Added zoom_in and 2000-03-01 19:32:41 +00:00
measure.c fixed my latest "fix" 2000-03-02 00:03:28 +00:00
measure.h Added new measure tool. 1999-08-15 15:59:06 +00:00
move.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
move.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
paint_core.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
paint_core.h fixed bug #5176 (smudge tool crash) 2000-01-14 18:45:36 +00:00
paint_options.h app/paint_options.h put the pointer to tool's private context to the 2000-02-18 21:22:13 +00:00
paintbrush.c po/POTFILES.in app/Makefile.am removed. 2000-02-13 22:26:41 +00:00
paintbrush.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
path_tool.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
path_tool.h app/path_tool.h app/path_tool.c app/path_toolP.h app/path_curves.h 1999-10-06 23:24:22 +00:00
path_toolP.h a patch to the path tool from Simon Budig 1999-10-08 10:22:39 +00:00
pencil.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
pencil.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
perspective_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
posterize.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
posterize.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
rect_select.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
rect_select.h added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
rect_selectP.h added a modifier_key_func which gives immediate cursor_update feedback on 2000-03-01 23:22:43 +00:00
rotate_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
rotate_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
scale_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
scale_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
selection_options.h app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and 2000-02-07 20:35:13 +00:00
shear_tool.c app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c 2000-02-21 11:54:33 +00:00
shear_tool.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
smudge.c unref gdk_pixmaps and gdk_bitmaps 2000-02-08 20:48:48 +00:00
smudge.h app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +00:00
text_tool.c added missing argument for error message. 2000-03-16 10:03:01 +00:00
text_tool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
threshold.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
threshold.h app/brightness_contrast.[ch] app/by_color_select.[ch] 1999-11-22 11:14:29 +00:00
tool_options.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
tool_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
tools.c I lied. Real 1.1.18 stuff 2000-03-04 03:39:19 +00:00
tools.h do not ignore the mask of the tool icons 2000-02-20 02:46:53 +00:00
transform_core.c fixed off-by-one error for the x coordinate fixed scaling without 2000-02-28 22:56:06 +00:00
transform_core.h plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h 2000-02-14 16:29:41 +00:00
transform_tool.c it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
transform_tool.h I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) 2000-01-05 11:18:38 +00:00
xinput_airbrush.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00