1. 05 Mar, 2017 1 commit
  2. 24 Aug, 2015 1 commit
    • Michael Natterer's avatar
      Bug 748749 - picked colors don't match image colors... · 8c80ee14
      Michael Natterer authored
      ...when a color profile is active
      
      This commit doesn't fix anything, but it prepares the code to do the
      right thing:
      
      It passes the actual raw image pixels through the entire color picking
      mechanism to the widgets which display colors, particularly
      GimpColorFrame.
      
      This is needed for GimpColorFrame's "Pixel" mode (as opposed to its
      RGB, HSV etc. modes) which is supposed to show the raw pixel values
      from the image.
      
      Before this commit, it was recreating the raw pixel values from the
      GimpRGB value it knows, which will become impossible when we correctly
      pick color managed GimpRGB values soon.
      8c80ee14
  3. 12 Nov, 2012 1 commit
  4. 06 Oct, 2011 1 commit
  5. 05 Oct, 2011 1 commit
  6. 14 Jan, 2011 1 commit
  7. 20 Jul, 2009 1 commit
  8. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  9. 21 Nov, 2008 1 commit
  10. 09 Oct, 2008 1 commit
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
  11. 09 Mar, 2008 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am app/tools/gimpiscissorsoptions.[ch] new options · 32a1de91
      Michael Natterer authored
      2008-03-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpiscissorsoptions.[ch]
      	* app/tools/gimpregionselectoptions.[ch]: new options classes.
      
      	* app/tools/gimpselectionoptions.[ch]: remove the options here.
      	Also remove some leftover rectangle options cruft that is in its
      	own files since long ago.
      
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.[ch]
      	* app/tools/gimpregionselecttool.[ch]
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
      
      
      svn path=/trunk/; revision=25071
      32a1de91
  12. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/channels-commands.c app/actions/colormap-actions.c · 75061fcc
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-commands.c
      	* app/actions/colormap-actions.c
      	* app/actions/colormap-commands.c
      	* app/actions/image-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-colorhash.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpprojection.c
      	* app/core/gimpselection.c
      	* app/core/gimpundo.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/print-size-dialog.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectors.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24432
      75061fcc
  13. 19 Jul, 2007 1 commit
  14. 09 Dec, 2006 1 commit
  15. 17 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Got rid of the word "editor" were it was good for nothing but exposing an · 02de3076
      Michael Natterer authored
      2006-11-17  Michael Natterer  <mitch@gimp.org>
      
      	Got rid of the word "editor" were it was good for nothing but
      	exposing an implementation detail in public API and installed
      	files.  Fixes bug #345251:
      
      	* app/actions/colormap-editor-actions.[ch]
      	* app/actions/colormap-editor-commands.[ch]
      	* app/actions/sample-point-editor-actions.[ch]
      	* app/actions/sample-point-editor-commands.[ch]
      	* menus/colormap-editor-menu.xml
      	* menus/sample-point-editor-menu.xml
      	* menus/selection-editor-menu.xml
      	* menus/undo-editor-menu.xml: removed.
      
      	* app/actions/colormap-actions.[ch]
      	* app/actions/colormap-commands.[ch]
      	* app/actions/sample-points-actions.[ch]
      	* app/actions/sample-points-commands.[ch]
      	* menus/colormap-menu.xml
      	* menus/sample-points-menu.xml
      	* menus/selection-menu.xml
      	* menus/undo-menu.xml: added.
      
      	* app/actions/Makefile.am
      	* menus/Makefile.am
      	* app/actions/actions.c
      	* app/menus/menus.c
      	* app/menus/plug-in-menus.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpundoeditor.c
      	* plug-ins/common/colormap-remap.c: changed accordingly.
      02de3076
  16. 17 Oct, 2006 1 commit
  17. 08 Sep, 2006 1 commit
    • Sven Neumann's avatar
      added function gimp_get_tool_info(). · 2426755b
      Sven Neumann authored
      2006-09-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp.[ch]: added function gimp_get_tool_info().
      
      	* app/actions/tools-commands.c
      	* app/actions/vectors-commands.c
      	* app/tools/gimppainttool.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox.c: use the new function instead of poking
      	into gimp->tool_info_list.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]: moved code that deals with
      	the space key into separate functions. Added space_shaded_tool
      	to GimpDisplayShell instead of using a static variable for it.
      
      	* app/tools/tool_manager.c: removed unused include.
      2426755b
  18. 29 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Changed GimpViewable preview rendering to have a context to get · b53aa45a
      Michael Natterer authored
      2006-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Changed GimpViewable preview rendering to have a context to get
      	FG/BG/whatever from. Use the context to enable dynamic FG/BG
      	colors in gradients. Fixes bug #127676 and bug #352214. Addresses
      	bug #128367 (doesn't fix it because there's no loading/saving and
      	no GUI yet).
      
      	* app/core/core-enums.[ch]: added enum GimpGradientColor to enable
      	specifying gradient colors in terms of foreground and background.
      
      	* app/core/gimpgradient.[ch]: added color_type members to the
      	GimpGradientSegment struct and honor them in
      	gimp_gradient_get_color_at(). Added GimpContext parameters to all
      	functions which finally call get_color_at().
      
      	* app/core/gimp-gradients.c: use the new method to implement the
      	builtin gradients.
      
      	* app/core/gimpviewable.[ch]: added GimpContext parameters to all
      	get_preview() and get_pixbuf() functions.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-preview.[ch]
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/text/gimpfont.c
      	* app/vectors/gimpvectors-preview.[ch]: changed ::get_preview()
      	and ::get_pixbuf() implementations accordingly.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.[ch]
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpclipboard.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerentry.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.[ch]
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpview-popup.[ch]
      	* app/widgets/gimpview.[ch]
      	* app/widgets/gimpviewablebutton.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb: added tons of GimpContext members
      	and parameters, implement GimpDocked::set_context() in many
      	widgets. Pass these locally remembered contexts to GimpViewable
      	functions. Did some minor cleanups on the way. There are still
      	some minor FIXMEs around where the code uses a NULL context (which
      	is allowed by the APIs)
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b53aa45a
  19. 05 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Applied (modified and enhanced) patch from Chris Moller which allows tools · 9dabd23e
      Michael Natterer authored
      2006-08-05  Michael Natterer  <mitch@gimp.org>
      
      	Applied (modified and enhanced) patch from Chris Moller which allows
      	tools to distinguish similar colors not only by composite, but also
      	by R, G, B, H, S and V. Fixes bug #348291.
      
      	* app/core/core-enums.[ch]: added new enum GimpSelectCriterion
      	which can be one of { COMPOSITE, R, G, B, H, S, V }.
      
      	* app/core/gimpimage-contiguous-region.[ch]: added
      	select_criterion params and create the region based on difference
      	by the selected criterion.
      
      	* app/core/gimpchannel-select.[ch]
      	* app/core/gimpdrawable-bucket-fill.[ch]: take criterion params and
      	pass them through to the contiguous region functions.
      
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpselectionoptions.[ch]: added criterion properties
      	and GUI to select it.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: pass the selected criterion to
      	the resp. core functions.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/display/gimpdisplayshell-dnd.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly
      	(simply pass GIMP_SELECT_CRITERION_COMPOSITE in most cases).
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      9dabd23e
  20. 15 May, 2006 1 commit
  21. 28 Mar, 2006 1 commit
  22. 17 Jan, 2006 1 commit
    • Michael Natterer's avatar
      app/actions/dockable-actions.c app/actions/dockable-commands.[ch] · 5236dc6f
      Michael Natterer authored
      2006-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dockable-actions.c
      	* app/actions/dockable-commands.[ch]
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcomponenteditor.[ch]
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerentry.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainerpopup.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdialogfactory.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpfontview.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimppatternfactoryview.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpsessioninfo.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimptoolview.[ch]
      	* app/widgets/gimpundoeditor.[ch]
      	* app/widgets/gimpviewablebox.c
      	* app/widgets/gimpviewablebutton.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/widgets/gimpviewrenderer.c: change the word "preview" to
      	"view" whereever we talk about GimpView or GimpViewRenderer
      	objects or their sizes. Ther were renamed from "Preview" a long
      	time ago and we had a preview/view naming mess ever since.
      5236dc6f
  23. 19 Dec, 2005 1 commit
  24. 27 May, 2005 1 commit
  25. 31 Dec, 2004 1 commit
    • Michael Natterer's avatar
      Applied modified patch from Ben Campbell which adds drop coordinates to · e0f25134
      Michael Natterer authored
      2004-12-31  Michael Natterer  <mitch@gimp.org>
      
      	Applied modified patch from Ben Campbell which adds drop
      	coordinates to the color drop callback and uses it to insert
      	colors in the palette editor. Extended the patch to add drop
      	coordinates to all drop callbacks.
      
      	* app/core/gimppalette.[ch]: added gimp_palette_insert_entry().
      
      	* app/display/gimpdisplayshell-dnd.[ch]: added drop coordinates
      	to all drop callbacks.
      
      	* app/dialogs/palette-import-dialog.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* libgimpwidgets/gimpcolorselect.c: changed accordingly. The passed
      	drop coordiantes are so far unused.
      
      	* app/widgets/gimppaletteeditor.c: use the drop coordinates to
      	insert the new color into the palette at the right place instead
      	of always appending. Fixes bug #150030.
      e0f25134
  26. 23 Oct, 2004 1 commit
    • Michael Natterer's avatar
      When there are variants of actions with and without dialog, let the · fd6d30fd
      Michael Natterer authored
      2004-10-23  Michael Natterer  <mitch@gimp.org>
      
      	When there are variants of actions with and without dialog, let
      	the dialog-less actions try to use the values from the last dialog
      	invocation:
      
      	* app/actions/channels-actions.c
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: renamed the foo-new-defaults
      	actions to foo-new-last-values and use the last values entered in
      	the dialogs.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpvectorstreeview.c: changed accordingly. Show
      	the dialog on clicking "New" and call the last-values action on
      	<shift>+click.
      
      	* app/actions/select-actions.c
      	* app/actions/vectors-commands.c: renamed the foo-stroke-last-vals
      	to -last-values.
      
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c: stroke with last values on
      	<shift> clicking the stroke buttons.
      fd6d30fd
  27. 16 Oct, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/channels-actions.c app/actions/colormap-editor-actions.c · f4d7260c
      Michael Natterer authored
      2004-10-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-actions.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/documents-actions.c
      	* app/actions/tool-options-actions.c
      	* app/actions/vectors-actions.c: added more tooltips for actions
      	which are used as extended dialog button callbacks.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): keep
      	the list of extended actions in reverse order.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: don't set the tooltips
      	manually. Removes another bunch of insane translatable multiline
      	format strings. Pass the extended actions in the right order
      	to gimp_editor_add_action_button().
      f4d7260c
  28. 25 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcolormapeditor.[ch] app/widgets/gimphistogrameditor.[ch] · 28f7c94d
      Michael Natterer authored
      2004-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimphistogrameditor.[ch]
      	* app/widgets/gimpselectioneditor.[ch]: removed redundant "gimage"
      	parameters from public constructors. They are all GimpImageEditor
      	widgets which get their image via gimp_docked_set_context() and
      	gimp_image_editor_set_image() later anyway. Fixes uglyness as well
      	as problems where the editors had an image but no context, causing
      	strange behavior in their foo_actions_update() functions.
      
      	* app/dialogs/dialogs-constructors.c: changed accordingly. Removed
      	redundant calls to gimp_dockable_set_context() on newly created
      	dockables because they will get a context when added to their
      	containers.
      28f7c94d
  29. 29 Aug, 2004 1 commit
    • David Odin's avatar
      Renamed GimpPreviewSize to GimpViewSize. · b7f58e16
      David Odin authored
      * app/core/core-enums.h: Renamed GimpPreviewSize to GimpViewSize.
      
      * app/core/core-enums.c: Regenerated.
      
      * app/actions/dockable-actions.c
      
      * app/config/gimpcoreconfig.c
      * app/config/gimpcoreconfig.h
      * app/config/gimpdisplayconfig.c
      * app/config/gimpdisplayconfig.h
      
      * app/core/gimpundo.c
      
      * app/display/gimpnavigationeditor.c
      
      * app/gui/dialogs.c
      * app/gui/file-open-location-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      * app/tools/gimptextoptions.c
      
      * app/widgets/gimpbrushselect.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpfontselect.c
      * app/widgets/gimpgradientselect.c
      * app/widgets/gimppaletteselect.c
      * app/widgets/gimppatternselect.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpsessioninfo.c
      * app/widgets/gimptemplateeditor.c
      * app/widgets/gimpundoeditor.c
      * app/widgets/gimpundoeditor.h
      * app/widgets/gimpviewablebutton.c: Changed accordingly.
      b7f58e16
  30. 25 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview-popup.c renamed these files... · e91187ae
      David Odin authored
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppreview-popup.h: renamed these files...
      
      * app/widgets/gimpview-popup.c
      * app/widgets/gimpview-popup.h: .. to these files, and changed the
        GimpPreviewPopup type to GimpViewPopup.
      
      * app/widgets/gimppreviewrenderer.c
      * app/widgets/gimppreviewrenderer.h: renamed these files...
      
      * app/widgets/gimpviewrenderer.c
      * app/widgets/gimpviewrenderer.h: .. to these files, and changed
        GimpPreviewRenderer to GimpViewRenderer.
      
      This is the second step of the great Preview->View renaming process.
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationeditor.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpbrushfactoryview.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcellrendererviewable.c
      * app/widgets/gimpcellrendererviewable.h
      * app/widgets/gimpcomponenteditor.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainercombobox.c
      * app/widgets/gimpcontainereditor.c
      * app/widgets/gimpcontainerentry.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainertreeview-dnd.c
      * app/widgets/gimpcontainertreeview.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpitemtreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimppatternfactoryview.c
      * app/widgets/gimppreviewrenderer-utils.c
      * app/widgets/gimppreviewrendererbrush.c
      * app/widgets/gimppreviewrendererbrush.h
      * app/widgets/gimppreviewrendererdrawable.c
      * app/widgets/gimppreviewrendererdrawable.h
      * app/widgets/gimppreviewrenderergradient.c
      * app/widgets/gimppreviewrenderergradient.h
      * app/widgets/gimppreviewrendererimage.c
      * app/widgets/gimppreviewrendererimage.h
      * app/widgets/gimppreviewrendererimagefile.c
      * app/widgets/gimppreviewrendererimagefile.h
      * app/widgets/gimppreviewrendererlayer.c
      * app/widgets/gimppreviewrenderervectors.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimptemplateview.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimptoolview.c
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h
      * app/widgets/gimpviewablebutton.c
      * app/widgets/widgets-enums.h
      * app/widgets/widgets-types.h: Modified accordingly.
      e91187ae
  31. 24 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview.c renamed these two files to... · cddf61a3
      David Odin authored
      * app/widgets/gimppreview.c
      * app/widgets/gimppreview.h: renamed these two files to...
      
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h: ... these files.
      
      Also renamed GimpPreview to GimpView.
      This is the first step of the great Preview->View renaming process.
      
      * app/actions/palettes-commands.c
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationview.c
      
      * app/gui/palette-import-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpaction.c
      * app/widgets/gimpactiongroup.c
      * app/widgets/gimpbrusheditor.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainergridview.h
      * app/widgets/gimpdevicestatus.c
      * app/widgets/gimpdnd.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpfiledialog.c
      * app/widgets/gimpgradienteditor.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimpnavigationpreview.h
      * app/widgets/gimppaletteeditor.c
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppropwidgets.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpthumbbox.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimpviewabledialog.c
      * app/widgets/widgets-types.h: changed accordingly.
      cddf61a3
  32. 14 Jul, 2004 1 commit
    • Michael Natterer's avatar
      Code review & cleanup: · fe9d9be6
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	Code review & cleanup:
      
      	* app/config/gimpguiconfig.[ch]: removed transparency-size,
      	transparency-type and snap-distance properties...
      
      	* app/config/gimpdisplayconfig.[ch]: ...and added them here.
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpmovetool.c: changed accordingly.
      
      	* app/core/gimpimage-scale.[ch] (gimp_layer_scale_check): added a
      	"max_memsize" parameter instead of looking it up in GimpGuiConfig.
      
      	* app/actions/image-commands.c: changed accordingly.
      
      	* app/core/gimparea.c
      	* app/core/gimpdrawable.c: converted tabs to spaces, cleanup.
      
      	* app/core/gimpprojection.[ch]: renamed IdleRenderStruct to
      	GimpProjectionIdleRender, reordered functions, cleanup.
      
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplay.c: removed unused #includes.
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/display/gimpdisplayshell-close.c: renamed
      	shell->warning_dialog to shell->close_dialog, some random
      	cleanups.
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/widgets/gimpselectioneditor.c: minor coding style cleanup.
      fe9d9be6
  33. 13 Jul, 2004 2 commits
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new interface which has · 54cc251b
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppickable.[ch]: new interface which has
      	get_image_type(), get_tiles() and get_color_at() methods.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimpprojection.[ch]: implement GimpPickableInterface
      	and removed public get_colot_at() functions.
      
      	* app/core/gimpimage-pick-color.[ch]: removed typedef
      	GimpImagePickColorFunc and gimp_image_pick_color_by_func(). Use
      	gimp_pickable_pick_color() instead.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-crop.c
      	* app/gui/info-window.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimpselectioneditor.c: use GimpPickable functions
      	instead of the various get_color_at() functions. Simplifies code
      	which has a "sample_merged" boolean. Various cleanups.
      54cc251b
    • Michael Natterer's avatar
      *** empty log message *** · c5ec0d4f
      Michael Natterer authored
      c5ec0d4f
  34. 28 Jun, 2004 1 commit
    • Michael Natterer's avatar
      added new function gimp_get_mod_string() which takes a GdkModifierType and · 6cd57372
      Michael Natterer authored
      2004-06-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added new function
      	gimp_get_mod_string() which takes a GdkModifierType and returns
      	correctly formated strings for all shift,control,alt combinations.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c: use the new function instead
      	of gimp_get_mod_name_shift(),control(),alt(),separator(). This
      	kindof addresses the issue of configurable modifier keys but is
      	actually indended to ease translation of format strings ("%s" is
      	easier to get right than "%s%s%s").
      6cd57372
  35. 12 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.c · 2632cd8f
      Michael Natterer authored
      2004-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/documents-actions.c
      	* app/actions/documents-commands.c
      	* app/actions/edit-actions.c
      	* app/actions/edit-commands.[ch]
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.c
      	* app/actions/select-actions.c
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-actions.c
      	* app/actions/vectors-commands.[ch]: added tooltips for actions
      	which are now used for dialog buttons, added callback
      	implementations which formerly lived in various widgets, moved
      	some actions around and did some general cleanups.
      
      	* menus/image-menu.xml.in: s/edit-stroke/select-stroke/
      
      	* menus/Makefile.am
      	* menus/selection-editor-menu.xml: new popup menu.
      
      	* app/menus/menus.c: register <SelectionEditor> and <UndoEditor>
      	UI managers.
      
      	* app/widgets/gimpeditor.[ch]: added construct properties
      	"menu-factory", "menu-identifier", "ui-path" and "popup-data".
      	Implement GObject::constructor() and create the UI manager
      	if all needed properties were set. Enables creating action
      	buttons at widget construction time because they need a
      	UI manager.
      
      	(gimp_editor_add_action_button): changed to take a va_list of
      	"extended" actions which are invoked if the resp. button emits
      	"extended_clicked". Store the actions and their modifier masks in
      	a list attached to the button.
      
      	* app/widgets/gimpcontainerview.c
      	(gimp_container_view_item_selected): if the view has container
      	*and* context, simply change the context and return.
      
      	(gimp_container_view_context_changed): don't emit "select_item"
      	manually but simply call gimp_container_view_select_item().
      
      	(gimp_container_view_viewable_dropped): use
      	gimp_container_view_item_selected() instead of changing the
      	context directly.
      
      	* app/widgets/gimpcontainereditor.c
      	(gimp_container_editor_select_item): update the UI manager.
      
      	* app/widgets/gimpdockable.c: don't try to fiddle with the
      	dialog's menu if it doesn't have a ui_path (happens if the UI
      	manager is just a collection of actions for the dialog buttons and
      	has no menu registered).
      
      	* app/widgets/gimpimageeditor.c: connect to the image's "flush"
      	signal and update the UI manager in the callback.
      
      	* app/widgets/gimpitemtreeview.c: use GimpEditor's construct
      	properties to create the UI manager so GimpItemTreeView subclasses
      	can have action buttons. Update the UI manager in
      	gimp_item_tree_view_select_item().
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpfontview.c
      	* app/widgets/gimpimageview.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptoolview.c: changed calls to
      	gimp_editor_add_action_button() accordingly and removed some
      	unneeded select_item() implementations.
      
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpvectorstreeview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.[ch]
      	* app/widgets/gimpundoeditor.[ch]: use action buttons and removed
      	lots of callbacks which went to the resp. action callbacks.
      
      	* app/widgets/widgets-types.h: removed some now unneeded function
      	prototypes.
      
      	* app/gui/dialogs-constructors.c: changed (simplified) many dialog
      	constructors accordingly.
      2632cd8f
  36. 18 Feb, 2004 1 commit
    • Michael Natterer's avatar
      Some code review: · 4d24bdbf
      Michael Natterer authored
      2004-02-18  Michael Natterer  <mitch@gimp.org>
      
      	Some code review:
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c: removed obsolete code which
      	made sure serialize_property()/deserialize_property() are only
      	called for properties of the correct class. We do it the right way
      	for quite a while now and clear the inherited function pointers in
      	gimp_config_iface_base_init().
      
      	* app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up.
      
      	* app/base/gimplut.c
      	* app/base/lut-funcs.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig-types.c
      	* app/config/gimprc.c
      	* app/core/gimp-modules.c
      	* app/core/gimpbrush.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpitem.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/gui.c
      	* app/gui/tips-dialog.c
      	* app/paint/gimppaintcore.c
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpselectioneditor.c: removed I/O includes from
      	files which don't use lowlevel APIs any more. Also removes
      	a whole bunch of G_OS_WIN32 special casing. Removed trailing
      	whitespace. Misc tiny cleanups.
      4d24bdbf
  37. 18 Nov, 2003 1 commit
    • Michael Natterer's avatar
      use GIMP_STOCK_SELECTION as the viewable class' default stock ID. · c78386aa
      Michael Natterer authored
      2003-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpselection.c (gimp_selection_class_init): use
      	GIMP_STOCK_SELECTION as the viewable class' default stock ID.
      
      	* app/widgets/gimpselectioneditor.c (gimp_selection_editor_init):
      	create the preview for GIMP_TYPE_SELECTION, not just
      	GIMP_TYPE_DRAWABLE so the selection icon is used if the editor is
      	empty.
      c78386aa
  38. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · b62f8e9a
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	To be multihead safe, each new window or menu needs to be
      	associated with a GdkScreen or it will pop up on the default
      	screen.
      
      	* libgimpwidgets/gimpquerybox.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/edit-commands.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/templates-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
      	paramaters to all functions which create menus, popups or windows
      	and pass "parent" to gimp_dialog_new() or one of the various
      	wrappers around it. As a side effect, this fixes bug #61092.
      
      	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
      	instead of "parent" here since there are no possible parent
      	windows on startup.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_button_press): added a quick hack to
      	send a display to another screen: click the origin button with the
      	middle mouse button.
      
      	* app/display/gimpdisplayshell.c
      	(gimp_display_shell_screen_changed): don't chain up
      	undonditionally (don't crash).
      
      	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
      	dialog's screen from a non-GtkWidget parent widget. The rest of
      	non-window parent widget handling is still unimplemented.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/module-browser.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      b62f8e9a
  39. 06 Oct, 2003 1 commit
    • Michael Natterer's avatar
      Treat changes to the selection like changes to any other drawable: · f0372cad
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	Treat changes to the selection like changes to any other drawable:
      
      	* app/core/gimpchannel.c
      	* app/core/gimpchannel-combine.c: call gimp_drawable_update() after
      	changing the channel.
      
      	* app/core/gimpimage.[ch]: added struct GimpImageFlushAccumulator
      	with one member "gboolean mask_changed". Connect to "update" of
      	the selection and set accum.mask_changed to TRUE in the callback.
      	Added default implementation for GimpImage::flush() and emit
      	"mask_changed" there.
      
      	Unrelated:
      	* app/core/gimpimage.h: removed GimpGuide struct...
      	* app/core/gimpimage-guides.h: ...and added it here.
      
      	* app/core/gimpimage-undo-push.c (undo_pop_mask)
      	(undo_pop_channel_mod): don't distinguish between selection and
      	non-selection channels and just call gimp_drawable_update().
      
      	* app/core/gimpundo.h
      	* app/core/gimpimage-undo.c: removed "gboolean mask_changed" from
      	the GimpUndoAccumulator struct since we don't have to care about
      	that signal explicitly any more.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed gimp_displays_flush().
      
      	* tools/pdbgen/pdb/display.pdb (displays_flush_invoker): call
      	gimp_image_flush() on all images so the flush accumulator is
      	honored.
      
      	This generalization enables the removal of more special purpose
      	code which was needed to treat the selection different:
      
      	* app/core/gimpimage-mask-select.[ch]: removed...
      
      	* app/core/gimpchannel-select.[ch]: ...and added under a new name
      	because it's not selection specific any more.
      
      	* app/core/gimpimage-mask.[ch]: removed...
      
      	* app/core/gimpselection.[ch]: ...added the two remaining
      	functions here. Removed all calls to gimp_image_mask_changed().
      
      	* app/core/Makefile.am
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/select-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/paths.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/gui/image-menu.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpvectortool.c: removed useless and/or obsolete
      	#includes.
      
      	* app/pdb/display_cmds.c
      	* app/pdb/paths_cmds.c
      	* app/pdb/selection_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      f0372cad