gimp/app/tools
Michael Natterer 3ef20cd842 major cleanup. After being finished, I decided that it needs to be
2001-06-18  Michael Natterer  <mitch@gimp.org>

	* app/nav_window.[ch]: major cleanup. After being finished, I
	decided that it needs to be factored out to a widget (see below),
	so like 90% of this file will go away soon.

	* app/apptypes.h: added opaque NavigationDialog typedef.

	* app/gdisplay.[ch]: Added gdisplay_selection_visibility() which
	is called from gdisplays_selection_visibility(). Capitalized the
	SelectionControl enum values. Cleaned up the GDisplay struct and
	it's initialisation while i was on it.

	* app/gimage.c: gimage_size_changed_handler(): removed stuff which
	is now done by GimpImage itself.

	* app/scale.c
	* app/scroll.c: also update the navigation popup, not only the
	dialog.

	* app/selection.[ch]: major indentation & cleanup attack. Maybe
	found the "Selection vanishes" bug (the timeout id was assinged to
	a gint, not a _guint_).

	* app/undo.c: s/gimp_image_size_changed/gimp_viweable_size_changed/

	* app/core/gimpdrawable.c: invalidate the image's preview from our
	"invalidate_preview" implementation. This means that the image's
	preview is invalidated way too often currently, which cries for
	some general freeze/thaw mechanism on the GimpViewable level.
	(Note that previews are rendered in the idle loop, so this is not
	really a major performance impact, it's just ugly).

	* app/core/gimpimage.[ch]: removed the "size_changed" signal...

	* app/core/gimpviewable.[ch]: ...and added it here.

	* app/core/gimplayer.c: invalidate_preview(): always chain up,
	also if it's a floating selection.

	* app/gui/info-dialog.[ch]
	* app/gui/info-window.c: minor cleanups.

	* app/gui/preferences-dialog.c: no need to invalidate the image
	after we have invalidated all it's layers.

	* app/core/gimpimage-mask.c
	* app/gui/commands.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c: capitalized the SelectionCommand enum
	values.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpnavigationpreview.[ch]: new widget.

	* app/widgets/gimppreview.[ch]: added a non-working
	non-dot-for-dot mode. Added xres/yres params to the
	gimp_preview_calc_size() helper function.

	Cache the "size" value which was passed to the simple function
	variants (gimp_preview_new() and gimp_preview_set_size()) so we
	can re-calculate the preview's extents on the underlying
	viewable's "size_changed" signal and on gimp_preview_set_viewable().

	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpimagepreview.c: changed accordingly.
2001-06-18 13:10:03 +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 added zh_TW.Big5 to ALL_LINGUAS. Added the STRIP_BEGIN and STRIP_END 2001-06-07 17:20:50 +00:00
airbrush_blob.c Makefile.am configure.in added stuff for the new library below. 2001-01-23 23:56:18 +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
gimpairbrushtool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpairbrushtool.h app/tools/Makefile.am back again. 2001-03-31 23:04:29 +00:00
gimpbezierselecttool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpbezierselecttool.h Bring back the beziers. 2001-03-26 05:31:47 +00:00
gimpblendtool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpblendtool.h minor cleanups. 2001-03-11 20:01:14 +00:00
gimpbrightnesscontrasttool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpbrightnesscontrasttool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpbrushtool.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpbrushtool.h made undo_pop_paint() work again. 2001-03-31 17:46:59 +00:00
gimpbucketfilltool.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpbucketfilltool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpbycolorselecttool.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpbycolorselecttool.h app/core/gimpimage.[ch] app/core/gimpimage-mask.c 2001-05-31 19:53:13 +00:00
gimpclonetool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpclonetool.h app/tools/Makefile.am app/tools/gimpclonetool.[ch] 2001-04-19 13:01:44 +00:00
gimpcolorbalancetool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpcolorbalancetool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpcolorpickertool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpcolorpickertool.h Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimpconvolvetool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpconvolvetool.h app/tools/Makefile.am app/tools/gimpclonetool.[ch] 2001-04-19 13:01:44 +00:00
gimpcroptool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpcroptool.h app/apptypes.h app/channel_ops.c app/commands.c app/convert.[ch] 2001-03-08 02:01:52 +00:00
gimpcurvestool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpcurvestool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpdodgeburntool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.c app/tools/gimpdodgeburntool.[ch] 2001-04-07 11:01:22 +00:00
gimpdrawtool.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
gimpdrawtool.h app/Makefile.am app/apptypes.h app/path_bezier.[ch] app/path_curves.[ch] 2001-04-07 14:55:39 +00:00
gimpeditselectiontool.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpeditselectiontool.h app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in 2001-05-13 21:51:20 +00:00
gimpellipseselecttool.c app/Makefile.am removed this file ... 2001-05-14 00:04:29 +00:00
gimpellipseselecttool.h app/tools/Makefile.am app/tools/gimpellipseselecttool.[ch] new objects 2001-03-08 04:15:32 +00:00
gimperasertool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimperasertool.h added some help_data and tooltips. 2001-03-12 04:40:17 +00:00
gimpfliptool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpfliptool.h app/tools/Makefile.am applied a patch from Dave Neary which re-activates 2001-03-31 17:08:55 +00:00
gimpfreeselecttool.c app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
gimpfreeselecttool.h app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
gimpfuzzyselecttool.c new directory app/base/ 2001-05-15 11:25:25 +00:00
gimpfuzzyselecttool.h app/tools/Makefile.am removed. 2001-03-09 17:39:18 +00:00
gimphistogramtool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimphistogramtool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimphuesaturationtool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimphuesaturationtool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpimagemaptool.c All tools are back :) 2001-05-24 23:57:08 +00:00
gimpimagemaptool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpinktool-blob.c app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] 2001-03-08 01:07:03 +00:00
gimpinktool-blob.h app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] 2001-03-08 01:07:03 +00:00
gimpinktool.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpinktool.h app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] 2001-03-08 01:07:03 +00:00
gimpiscissorstool.c app/Makefile.am removed. 2001-05-25 18:10:38 +00:00
gimpiscissorstool.h app/tools/Makefile.am no. 15 is alive. 2001-03-11 22:19:06 +00:00
gimplevelstool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimplevelstool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimpmagnifytool.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpmagnifytool.h renamed ZoomType to GimpZoomZype and added it here. 2001-03-03 16:22:18 +00:00
gimpmeasuretool.c fixed typo, closes bug #56200. 2001-06-14 16:28:06 +00:00
gimpmeasuretool.h build the measure tool again. 2001-02-27 19:18:01 +00:00
gimpmovetool.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimpmovetool.h removed (was not used). 2001-05-15 19:10:57 +00:00
gimppaintbrushtool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.c app/tools/gimpdodgeburntool.[ch] 2001-04-07 11:01:22 +00:00
gimppaintoptions-gui.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimppaintoptions-gui.h app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimppainttool.c major cleanup. After being finished, I decided that it needs to be 2001-06-18 13:10:03 +00:00
gimppainttool.h made undo_pop_paint() work again. 2001-03-31 17:46:59 +00:00
gimppainttool_kernels.h Introduced GimpPaintTool and GimpDrawTool 2001-02-27 05:21:12 +00:00
gimppathtool.c app/Makefile.am removed this file ... 2001-05-14 00:04:29 +00:00
gimppathtool.h app/tools/gimppathtool.[ch] app/tools/path_tool.[ch] 2001-04-11 15:25:49 +00:00
gimppenciltool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimppenciltool.h added some help_data and tooltips. 2001-03-12 04:40:17 +00:00
gimpperspectivetool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpperspectivetool.h Enabled the rest of the transform tools and changed some of the options 2001-04-24 18:43:31 +00:00
gimpposterizetool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpposterizetool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimprectselecttool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimprectselecttool.h app/tools/Makefile.am app/tools/gimpellipseselecttool.[ch] new objects 2001-03-08 04:15:32 +00:00
gimpregionselecttool.c new directory app/base/ 2001-05-15 11:25:25 +00:00
gimpregionselecttool.h app/tools/Makefile.am removed. 2001-03-09 17:39:18 +00:00
gimprotatetool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimprotatetool.h Enabled the rest of the transform tools and changed some of the options 2001-04-24 18:43:31 +00:00
gimpscaletool.c Makefile.am configure.in added new directory libgimpbase/ 2001-05-21 13:58:46 +00:00
gimpscaletool.h app/tools/bezier_select.[ch] app/tools/bezier_selectP.h 2001-03-31 15:45:05 +00:00
gimpselectionoptions.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
gimpselectionoptions.h app/apptypes.h pass the ToolOptions to the ToolOptionsResetFunc instead of 2001-03-31 20:41:39 +00:00
gimpselectiontool.c app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in 2001-05-13 21:51:20 +00:00
gimpselectiontool.h app/tools/Makefile.am new files ported by Dave Neary <dneary@eircom.net>. 2001-03-02 15:24:12 +00:00
gimpsheartool.c removed search_in_path() and the unused xstrsep(). 2001-05-16 18:09:45 +00:00
gimpsheartool.h Enabled the rest of the transform tools and changed some of the options 2001-04-24 18:43:31 +00:00
gimpsmudgetool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpsmudgetool.h app/tools/Makefile.am app/tools/gimpsmudgetool.[ch] 2001-04-11 17:20:34 +00:00
gimpsourcetool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpsourcetool.h app/tools/Makefile.am app/tools/gimpclonetool.[ch] 2001-04-19 13:01:44 +00:00
gimptexttool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimptexttool.h app/tools/Makefile.am lots of files renamed to gimp*tool.[ch] 2001-03-08 01:07:03 +00:00
gimpthresholdtool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimpthresholdtool.h All tools are back :) 2001-05-24 23:57:08 +00:00
gimptool.c All tools are back :) 2001-05-24 23:57:08 +00:00
gimptool.h Activate "Select by color" tool. 2001-05-10 08:10:25 +00:00
gimptransformoptions.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
gimptransformoptions.h Separated the transform options stuff from the gimptransformtool files so 2001-04-28 20:14:32 +00:00
gimptransformtool.c app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
gimptransformtool.h app/tools/Makefile.am applied a patch from Dave Neary which re-activates 2001-03-31 17:08:55 +00:00
icons.h app/Makefile.am removed this file ... 2001-05-14 00:04:29 +00:00
paint_options.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
paint_options.h app/Makefile.am removed. 2001-05-25 16:04:54 +00:00
path_tool.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
path_tool.h app/tools/gimppathtool.[ch] app/tools/path_tool.[ch] 2001-04-11 15:25:49 +00:00
path_toolP.h app/path_curves.[ch] app/tools/gimpdrawtool.c app/tools/gimppathtool.[ch] 2001-04-11 13:28:53 +00:00
selection_options.c Made all the global options members of one struct, gimprc. 2001-06-03 20:40:50 +00:00
selection_options.h app/apptypes.h pass the ToolOptions to the ToolOptionsResetFunc instead of 2001-03-31 20:41:39 +00:00
tool_manager.c some s/0/FALSE/ 2001-06-04 23:11:31 +00:00
tool_manager.h app/gdisplay.c app/gimage.c. #include "tools/tool.h" 2001-02-28 02:53:27 +00:00
tool_options.c removed some forgotten tools types. 2001-05-13 11:35:20 +00:00
tool_options.h configure.in added new directory app/core/ for the core object system. 2001-05-09 02:32:03 +00:00
tools-types.h app/Makefile.am removed. Stuff now lives in app_procs.[ch] and in 2001-05-13 21:51:20 +00:00
tools.c app/tools/Makefile.am removed. new file 2001-05-25 01:24:12 +00:00
tools.h app/tools/Makefile.am removed. new file 2001-05-25 01:24:12 +00:00
transform_options.c app/Makefile.am removed. 2001-05-09 22:34:59 +00:00
transform_options.h Separated the transform options stuff from the gimptransformtool files so 2001-04-28 20:14:32 +00:00
xinput_airbrush.c allocate the tool's paint_core with g_new0. This prevents us from having 2000-06-23 00:14:07 +00:00
xinput_airbrush.h Okay I have committed the ugly airbrush now 1999-09-07 01:33:44 +00:00