Gimp/app/tools
Michael Natterer f1b5e1ae47 namespace cleanups.
1999-06-21  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/context_manager.c: namespace cleanups.

	* app/commands.[ch]
	* app/menus.c: moved the "Toggle Selection" menu entry to "View",
	sprinkled some separators and made the layers/channels/paths popup
	menus consistent with Tigert's last ops buttons change.

	* app/fileops.c
	* app/plug_in.c: check for gdisplay_active() returning NULL in
	some more places.

	* app/[all tool related files]:

	- Turned the ToolAction and ToolState #define's into typedef'ed
	  enums, so the compiler can do some more sanity checking.
	- Removed one more unused global variable "active_tool_layer".
	- Removed some #include's from tools.c.
	- Standardized the individual tools' structure names.
	- Moved showing/hiding the tool options to separate functions.
	- Stuff...

	* app/commands.c
	* app/disp_callbacks.c
	* app/gdisplay.c
	* app/tools.c: fixed the segfaults which happened when the image
	of one of the tools which have dialogs (levels/posterize/...) was
	deleted. My approach was to do stricter sanity checking and to set
	some gdisplay pointers correctly where appropriate, so I can't
	tell exactly where the bug was.
	The curves tool now(??) updates on every _second_ display change
	only, which is really obscure.
	Finding/changing the display to operate on should definitely be
	done by connecting to the user context's "display_changed"
	signal.

	* app/gimpset.c: emit the "remove" signal _after_ removing the
	pointer from the set. If this was not a bug but a feature, please
	let me know, we'll need two signals then.
1999-06-21 22:12:07 +00:00
..
airbrush.c set the fg or bg color if ctrl or alt is held. use the new dropper cursor. 1999-05-13 11:12:32 +00:00
airbrush.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
bezier_select.c namespace cleanups. 1999-06-21 22:12:07 +00:00
bezier_select.h Changed:- 1999-04-13 21:50:28 +00:00
bezier_selectP.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00
blend.c namespace cleanups. 1999-06-21 22:12:07 +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 First batch of changes to merge the Win32 version. This will be 1999-02-20 23:20:54 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
brightness_contrast.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
bucket_fill.c namespace cleanups. 1999-06-21 22:12:07 +00:00
bucket_fill.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
by_color_select.c namespace cleanups. 1999-06-21 22:12:07 +00:00
by_color_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
clone.c namespace cleanups. 1999-06-21 22:12:07 +00:00
clone.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
color_balance.c namespace cleanups. 1999-06-21 22:12:07 +00:00
color_balance.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
color_picker.c namespace cleanups. 1999-06-21 22:12:07 +00:00
color_picker.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
convolve.c Overworked the line preview. Sorry for the inconvenience, but it has always 1999-06-07 22:38:20 +00:00
convolve.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
crop.c namespace cleanups. 1999-06-21 22:12:07 +00:00
crop.h Toggable tools! 1999-04-27 02:09:03 +00:00
curves.c namespace cleanups. 1999-06-21 22:12:07 +00:00
curves.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
edit_selection.c namespace cleanups. 1999-06-21 22:12:07 +00:00
edit_selection.h namespace cleanups. 1999-06-21 22:12:07 +00:00
ellipse_select.c app/channel.[ch] app/commands.c app/gimage_mask.[ch] 1999-05-06 23:10:29 +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 First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
eraser.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
flip_tool.c Don't use FLIP (enum of 11) in place of FLIP_INFO 1999-06-19 03:41:02 +00:00
flip_tool.h Toggable tools! 1999-04-27 02:09:03 +00:00
free_select.c namespace cleanups. 1999-06-21 22:12:07 +00:00
free_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
fuzzy_select.c namespace cleanups. 1999-06-21 22:12:07 +00:00
fuzzy_select.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpairbrushtool.c set the fg or bg color if ctrl or alt is held. use the new dropper cursor. 1999-05-13 11:12:32 +00:00
gimpairbrushtool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpblendtool.c namespace cleanups. 1999-06-21 22:12:07 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpbrightnesscontrasttool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpbucketfilltool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpbucketfilltool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpbycolorselecttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpbycolorselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpclonetool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpclonetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpcolorbalancetool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpcolorbalancetool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpconvolvetool.c Overworked the line preview. Sorry for the inconvenience, but it has always 1999-06-07 22:38:20 +00:00
gimpconvolvetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpcroptool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpcroptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpcurvestool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpcurvestool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpeditselectiontool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpeditselectiontool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpellipseselecttool.c app/channel.[ch] app/commands.c app/gimage_mask.[ch] 1999-05-06 23:10:29 +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 First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimperasertool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfliptool.c Don't use FLIP (enum of 11) in place of FLIP_INFO 1999-06-19 03:41:02 +00:00
gimpfliptool.h Toggable tools! 1999-04-27 02:09:03 +00:00
gimpfreeselecttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpfreeselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpfuzzyselecttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpfuzzyselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimphistogramtool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimphistogramtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimphuesaturationtool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimphuesaturationtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpinktool-blob.c First batch of changes to merge the Win32 version. This will be 1999-02-20 23:20:54 +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 namespace cleanups. 1999-06-21 22:12:07 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpiscissorstool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimplevelstool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimplevelstool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimpmagnifytool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpmagnifytool.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
gimpmovetool.c namespace cleanups. 1999-06-21 22:12:07 +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 First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
gimppenciltool.c use the new color picking feature of paint_core. 1999-05-14 00:37:58 +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 new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpperspectivetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpposterizetool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpposterizetool.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
gimprectselecttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimprectselecttool.h namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpregionselecttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpregionselecttool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimprotatetool.c app/info_dialog.c app/rotate_tool.c fixed some very strange grid redraw 1999-05-31 21:46:43 +00:00
gimprotatetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpscaletool.c Implemented horizontal and vertical lines for the paint_tools using CTRL 1999-06-17 20:34:50 +00:00
gimpscaletool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpselectionoptions.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpsheartool.c app/commands.c app/crop.c app/file_new_dialog.c app/info_dialog.[ch] 1999-05-31 14:11:10 +00:00
gimpsheartool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimpsourcetool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpsourcetool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
gimptexttool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimptexttool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
gimpthresholdtool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
gimpthresholdtool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
histogram_tool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
histogram_tool.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
hue_saturation.c namespace cleanups. 1999-06-21 22:12:07 +00:00
hue_saturation.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
ink.c namespace cleanups. 1999-06-21 22:12:07 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
iscissors.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
levels.c namespace cleanups. 1999-06-21 22:12:07 +00:00
levels.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
magnify.c namespace cleanups. 1999-06-21 22:12:07 +00:00
magnify.h Have fun recompiling gimp everyone. It's the great FSF address change! 1998-04-13 05:44:11 +00:00
move.c namespace cleanups. 1999-06-21 22:12:07 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
paint_core.h namespace cleanups. 1999-06-21 22:12:07 +00:00
paint_options.h First version of per-tool paint options. No PDB interface yet. The tool 1999-04-22 14:34:00 +00:00
paintbrush.c namespace cleanups. 1999-06-21 22:12:07 +00:00
paintbrush.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
pencil.c use the new color picking feature of paint_core. 1999-05-14 00:37:58 +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 new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
perspective_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
posterize.c namespace cleanups. 1999-06-21 22:12:07 +00:00
posterize.h build color_cmds, lut_funcs, and pixel_processor feedback in the splash 1999-04-09 06:00:11 +00:00
rect_select.c namespace cleanups. 1999-06-21 22:12:07 +00:00
rect_select.h namespace cleanups. 1999-06-21 22:12:07 +00:00
rect_selectP.h namespace cleanups. 1999-06-21 22:12:07 +00:00
rotate_tool.c app/info_dialog.c app/rotate_tool.c fixed some very strange grid redraw 1999-05-31 21:46:43 +00:00
rotate_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
scale_tool.c Implemented horizontal and vertical lines for the paint_tools using CTRL 1999-06-17 20:34:50 +00:00
scale_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
selection_options.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
shear_tool.c app/commands.c app/crop.c app/file_new_dialog.c app/info_dialog.[ch] 1999-05-31 14:11:10 +00:00
shear_tool.h new file, containes the PDB stuff for most of the tools 1999-04-18 21:22:41 +00:00
text_tool.c namespace cleanups. 1999-06-21 22:12:07 +00:00
text_tool.h new file (from pdbgen) 1999-04-10 04:54:34 +00:00
threshold.c namespace cleanups. 1999-06-21 22:12:07 +00:00
threshold.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
tool_options.c Misc l10n fixes 1999-06-06 19:44:36 +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 namespace cleanups. 1999-06-21 22:12:07 +00:00
tools.h namespace cleanups. 1999-06-21 22:12:07 +00:00
transform_core.c namespace cleanups. 1999-06-21 22:12:07 +00:00
transform_core.h namespace cleanups. 1999-06-21 22:12:07 +00:00
transform_tool.c app/bucket_fill.c app/color_picker.c app/commands.c app/convolve.c 1999-06-07 02:21:31 +00:00
transform_tool.h app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c 1999-05-26 20:36:33 +00:00