Gimp/app/tools
Michael Natterer a4395cead9 added "gboolean clip_result" to GimpItem::flip().
2003-05-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.[ch]: added "gboolean clip_result" to
	GimpItem::flip().

	* app/vectors/gimpvectors.c
	* app/tools/gimpfliptool.c: changed accordingly.

	* app/core/gimpdrawable.c: implement GimpItem::flip() and
	GimpItem::transform().

	* app/core/gimpchannel.c
	* app/core/gimplayer.c: chain up in flip() and transform() and do
	only the layer/channel specific stuff here.

	* app/core/gimpdrawable-transform.[ch]: fixed indentation.
	(gimp_drawable_transform_tiles_flip): added "gboolean clip_result"
	and warn that it is not yet implemented.
	(gimp_drawable_transform_tiles_affine): when transforming a
	channel set bg_color to transparent. Clip channels (but not layer
	masks) only if the passed tiles have bpp == 1 (the channel is
	unfloated).
	(gimp_drawable_transform_affine): clip all unfloated channels.

	* app/core/gimpitem-linked.[ch]: added gimp_item_linked_get_list()
	utility function to avoind iterating all layers/channels/vectors
	in all functions.

	* app/tools/gimptransformtool.c: clip all unfloated channels.

	The clipping fixes above together fix bug #112858.
2003-05-13 13:57:11 +00:00
..
.cvsignore configure.in app/Makefile.am moved all tool sources to app/tools 2001-01-22 01:46:28 +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 check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpairbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbezierselecttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpbezierselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpblendoptions.c added paint_options_container_scrolled() utility function which 2003-04-08 22:43:20 +00:00
gimpblendoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpblendtool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpblendtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpbrightnesscontrasttool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpbrightnesscontrasttool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpbrushtool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpbrushtool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimpbucketfilloptions.c removed the pattern preview... 2003-04-08 20:08:37 +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 gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpbucketfilltool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpbycolorselecttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpbycolorselecttool.h bumped version number to 1.3.9 2002-08-22 12:49:01 +00:00
gimpclonetool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpclonetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcolorbalancetool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpcolorbalancetool.h More color correction stuff cleanup: 2002-09-04 15:25:15 +00:00
gimpcolorpickeroptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpcolorpickeroptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpcolorpickertool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpcolorpickertool.h Made GimpToolOptions a GimpContext subclass and objectified all tool 2003-02-05 14:39:40 +00:00
gimpconvolvetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpconvolvetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpcropoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpcropoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpcroptool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpcroptool.h GimpViewableDialogs everywhere, cleanup: 2002-09-01 08:44:57 +00:00
gimpcurvestool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpcurvestool.h themes/Default/images/Makefile.am 2003-03-14 23:24:37 +00:00
gimpdodgeburntool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpdodgeburntool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpdrawtool.c Cleanups. (gradient_calc_linear_factor): Apply the gradient to both sides 2003-05-05 18:45:58 +00:00
gimpdrawtool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpeditselectiontool.c added "gboolean push_undo" to GimpItem::translate() and don't push and 2003-05-09 13:05:37 +00:00
gimpeditselectiontool.h added enum GimpMotionMode which can be one of { EXACT, HINT, COMPRESS }. 2002-03-19 13:14:25 +00:00
gimpellipseselecttool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpellipseselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimperasertool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimperasertool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpflipoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpflipoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpfliptool.c added "gboolean clip_result" to GimpItem::flip(). 2003-05-13 13:57:11 +00:00
gimpfliptool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfreeselecttool.c added g_return_if_fail (gimp_tool_control_is_active (tool->control)) since 2003-05-06 10:30:34 +00:00
gimpfreeselecttool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpfuzzyselecttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpfuzzyselecttool.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
gimphistogramtool.c removed gimp_drawable_width,height(). 2003-05-08 13:12:46 +00:00
gimphistogramtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimphuesaturationtool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimphuesaturationtool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimpimagemaptool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpimagemaptool.h added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpinkoptions-gui.c Makefile.am removed this header file. 2003-03-25 16:38:19 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +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 removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpinktool.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
gimpiscissorstool.c added g_return_if_fail (gimp_tool_control_is_active (tool->control)) since 2003-05-06 10:30:34 +00:00
gimpiscissorstool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimplevelstool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +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 Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmagnifyoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmagnifytool.c initialize scale to please the compiler. 2003-05-09 19:57:38 +00:00
gimpmagnifytool.h new utility function which takes GimpZoomType and zooms "scalesrc" and 2003-05-05 14:48:15 +00:00
gimpmeasureoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmeasureoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmeasuretool.c app/gui/dialogs.c app/tools/gimphistogramtool.c register their dialogs 2003-05-03 09:56:25 +00:00
gimpmeasuretool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpmoveoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpmoveoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpmovetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpmovetool.h added "position" and "push_undo" parameters to gimp_image_add_[vh]guide(). 2003-03-28 13:52:01 +00:00
gimppaintbrushtool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimppaintbrushtool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimppaintoptions-gui.c use a smaller preview size for the gradient popup than for the button. 2003-04-15 11:11:25 +00:00
gimppaintoptions-gui.h added gimp_context_type_to_prop_name(). 2003-04-10 10:34:56 +00:00
gimppainttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimppainttool.h added back the handler which invalidates the display_title on dirty/clean. 2002-02-15 17:44:05 +00:00
gimppenciltool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimppenciltool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpperspectivetool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpperspectivetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpposterizetool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpposterizetool.h Color correction tool chopping: 2002-08-26 11:35:56 +00:00
gimprectselecttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimprectselecttool.h added enum GimpRectSelectMode which can be one of "free", "fixed-size" and 2003-01-06 16:25:04 +00:00
gimpregionselecttool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +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 added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimprotatetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpscaletool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpscaletool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpselectionoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpselectionoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpselectiontool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +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 added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpsheartool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsmudgetool.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimpsmudgetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimpsourcetool.c removed gimp_drawable_offsets(). 2003-05-08 14:06:03 +00:00
gimpsourcetool.h app/tools/gimpairbrushtool.[ch] app/tools/gimpbezierselecttool.[ch] 2002-05-03 11:31:08 +00:00
gimptextoptions.c app/widgets/gimpcontainerpopup.[ch] added "preview_size" and 2003-04-12 20:02:16 +00:00
gimptextoptions.h themes/Default/images/Makefile.am 2003-03-31 15:10:15 +00:00
gimptexttool.c More transform virtualization preparation: 2003-05-08 11:52:31 +00:00
gimptexttool.h app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.[ch] 2003-03-11 01:22:57 +00:00
gimpthresholdtool.c added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpthresholdtool.h Histogram cleanup: 2002-09-07 17:27:32 +00:00
gimptool.c removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
gimptool.h check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +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
gimptransformoptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimptransformoptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimptransformtool-undo.c check for GIMP_IS_DISPLAY(gdisp) again. 2003-04-15 16:05:52 +00:00
gimptransformtool-undo.h Moved the undo step implementations to the core and pass around lots of 2003-02-14 14:14:29 +00:00
gimptransformtool.c added "gboolean clip_result" to GimpItem::flip(). 2003-05-13 13:57:11 +00:00
gimptransformtool.h added new function gimp_dialog_factory_add_foreign() which adds a dialog 2003-05-02 18:43:15 +00:00
gimpvectoroptions.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpvectoroptions.h simplified everything a lot by merging the public GimpContextPropType enum 2003-02-09 17:32:52 +00:00
gimpvectortool.c added default implementations for scale() and resize() which just set the 2003-05-09 00:38:51 +00:00
gimpvectortool.h made gimp_vector_tool_clear_vectors() private. Connect to the vector's 2003-04-14 14:52:00 +00:00
Makefile.am app/tools/Makefile.am app/tools/gimptoolgui.[ch] removed unused files. 2003-04-15 14:24:03 +00:00
makefile.msc app/text/makefile.msc (new file) */makefile.msc */*/makefile.msc : updated 2003-03-03 18:14:31 +00:00
paint_options.c use a smaller preview size for the gradient popup than for the button. 2003-04-15 11:11:25 +00:00
paint_options.h added gimp_context_type_to_prop_name(). 2003-04-10 10:34:56 +00:00
tool_manager.c make sure that active_tool->tool_info is non-NULL before dereferencing it. 2003-05-12 14:11:37 +00:00
tool_manager.h added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
tool_options.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
tool_options.h added a "const gchar *extension" parameter to 2003-02-10 11:46:10 +00:00
tools-enums.c removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
tools-enums.h removed GimpToolState (ACTIVE, INACTIVE). 2003-05-06 11:11:15 +00:00
tools-types.h Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools.c Removed support for pluggable tools: 2003-04-15 14:20:19 +00:00
tools.h app/Makefile.am removed. 2001-07-07 12:17:23 +00:00