gimp/app/core
Michael Natterer 5735b2adcd add an "add_alpha" parameter to allow selected regions to be extracted
2000-03-26  Michael Natterer  <mitch@gimp.org>

	* app/gimage_mask.[ch] (gimage_mask_extract): add an "add_alpha"
	parameter to allow selected regions to be extracted without having
	an alpha channel added.

	* app/global_edit.c: pass add_alpha = TRUE.

	* app/transform_core.[ch]: made the transform core work on
	non-layer drawables even if no selection is present. Fixes #7485
	and #7555.

	- transform_core_cut(): extract the mask without alpha if
	  operating on a non-layer without having a selection.
	- transform_core_paste(): return a boolean indicating success
	  instead of a layer and handle channels correctly.
	- transform_core_do(): if the "floating_tiles" passed to the
	  function are from an un-floated non-layer, treat the whole
	  non-layer as alpha channel and never enter the loop which
	  transforms the (not present) color channels.
	  Also clip the result to ensure that the channel never grows
	  larger then the image.

	* app/tools_cmds.c
	* tools/pdbgen/pdb/tools.pdb: transform_core_paste() returns a
	gboolean now.
2000-03-26 18:39:03 +00:00
..
gimp-edit.c add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimp-edit.h applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0 2000-03-24 14:54:59 +00:00
gimp-parasites.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimp-parasites.h made parasites use g* types and documented gimpchainbutton 2000-02-12 02:16:59 +00:00
gimpbrush-header.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimpbrush-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrush.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrush.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated-save.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpchannel-combine.c gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c 2000-02-15 23:49:03 +00:00
gimpchannel-combine.h gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c 2000-02-15 23:49:03 +00:00
gimpchannel.c gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c 2000-02-15 23:49:03 +00:00
gimpchannel.h gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c 2000-02-15 23:49:03 +00:00
gimpcontext.c it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
gimpcontext.h it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
gimpdatafiles.c fixed a memleak. 2000-02-24 01:52:31 +00:00
gimpdatafiles.h app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the 2000-02-22 15:14:54 +00:00
gimpdrawable-blend.c renamed "Custom from Editor" to "Custom Gradient" and added the 2000-03-10 01:57:10 +00:00
gimpdrawable-desaturate.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpdrawable-desaturate.h app/commands.c app/desaturate.[ch] no need to pass the image as a void 1999-07-27 02:41:34 +00:00
gimpdrawable-equalize.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpdrawable-equalize.h app/commands.c app/desaturate.[ch] no need to pass the image as a void 1999-07-27 02:41:34 +00:00
gimpdrawable-invert.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpdrawable-invert.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpdrawable-offset.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimpdrawable-offset.h get rid of remaining (invisible) layers after merging visible layers 1999-10-24 13:26:30 +00:00
gimpdrawable.c gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpdrawable.h added 2000 to the copyrights 2000-02-17 11:44:27 +00:00
gimpedit.c add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimpedit.h applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0 2000-03-24 14:54:59 +00:00
gimpimage-convert-fsdither.h ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org> 1999-09-01 20:41:10 +00:00
gimpimage-convert.c reverted Martin's changes. 2000-03-25 23:44:38 +00:00
gimpimage-convert.h More context & dnd stuff... 1999-10-28 15:05:49 +00:00
gimpimage-duplicate.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimpimage-duplicate.h get rid of remaining (invisible) layers after merging visible layers 1999-10-24 13:26:30 +00:00
gimpimage-guides.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage-guides.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-mask.c add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimpimage-mask.h add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimpimage-merge.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage-merge.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-projection.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage-projection.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-qmask.c Implemented the "removed" signal for channels and connected qmask to it 2000-01-20 17:10:49 +00:00
gimpimage-quick-mask.c Implemented the "removed" signal for channels and connected qmask to it 2000-01-20 17:10:49 +00:00
gimpimage-resize.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage-resize.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-scale.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage-scale.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-undo-push.c Cleaned up the Path header mess. 2000-02-16 13:52:33 +00:00
gimpimage-undo-push.h app/undo.h app/undo.c app/undo_history.c pixmaps/question.xpm 1999-11-02 23:05:55 +00:00
gimpimage.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpimage.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimagemap.c gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimagemap.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimplayer-floating-sel.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimplayer-floating-sel.h Header file tweaks. Now changing tile.h doesn't force about_dialog to 1998-08-16 00:34:20 +00:00
gimplayer.c removed warnings, cleaned up the source, unmarked 2000-02-27 12:09:29 +00:00
gimplayer.h app/commands.c app/gimpimage.c app/layer.c app/layer.h app/resize.c 2000-02-26 18:46:08 +00:00
gimplist.c fixed a memleak. 2000-02-24 01:52:31 +00:00
gimplist.h ---------------------------------------------------------------------- 1998-07-12 11:40:43 +00:00
gimpobject.c plugged more memleaks 1999-11-06 18:19:41 +00:00
gimpobject.h Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c 1998-07-09 05:31:06 +00:00
gimpparasite.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimpparasite.h made parasites use g* types and documented gimpchainbutton 2000-02-12 02:16:59 +00:00
gimpparasitelist.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
gimpparasitelist.h *** empty log message *** 1999-04-13 00:46:11 +00:00
gimppattern-header.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimppreviewcache.c version number bump; add check for standalone gtkxmhtml from Sesse 1999-11-24 23:58:46 +00:00
gimppreviewcache.h app/nav_window.c app/nav_window.h app/gimppreviewcache.h app/layer.c 1999-08-27 19:07:21 +00:00
gimpprojection-construct.c Thu Mar 9 22:29:14 GMT 2000 2000-03-09 22:41:19 +00:00
gimpprojection-construct.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpprojection.c applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0 2000-03-24 14:54:59 +00:00
gimpprojection.h app/fileops.c when reverting an image, reconnect all affected views to the 2000-03-21 03:19:11 +00:00
gimpscanconvert.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
gimpscanconvert.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimptooloptions.c Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new 2000-03-05 00:06:11 +00:00
gimptooloptions.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpunit.c app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and 2000-02-07 20:35:13 +00:00
gimpunit.h This implements the rest of the unit system (unitrc loading and saving and 1999-03-16 20:14:07 +00:00