1. 25 Nov, 2016 1 commit
  2. 07 Nov, 2016 1 commit
  3. 03 Oct, 2016 1 commit
  4. 19 May, 2016 1 commit
  5. 30 Apr, 2016 1 commit
    • Michael Natterer's avatar
      app: change GimpDrawable::convert_type() to take a target profile · ef4ab94a
      Michael Natterer authored
      instead of just a boolean "convert_profile". This takes the logic to
      figure the right target profile out of gimp_layer_convert_type(), it
      can't possibly know everything about how to convert anyway, and having
      the logic in the callers conveniently splits it up and distributes its
      parts to the places they belong.
      
      This commit should cause no behavor change and is just preparation for
      fixing bug 765176.
      ef4ab94a
  6. 21 Oct, 2015 1 commit
  7. 16 Aug, 2015 1 commit
    • Michael Natterer's avatar
      app: add "gboolean convert_profile" to GimpDrawable::convert_type() · 76782e62
      Michael Natterer authored
      also add "GType old_type" to GimpItem::convert() so implementations
      can do things depending on the type of the original item.
      
      In gimp_layer_convert(), if the original item is also a layer, and
      color management is not off (with a FIXME because this is the wrong
      check), pass convert_profile = TRUE to gimp_drawable_convert_type().
      
      There is no color profile conversion anywhere behind this, this is
      just an API change commit.
      76782e62
  8. 24 May, 2015 1 commit
  9. 06 May, 2014 1 commit
  10. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  11. 07 May, 2013 1 commit
  12. 09 Nov, 2012 1 commit
    • Michael Natterer's avatar
      Bug 674160 - Redesign of "Lock panel" · d4933b30
      Michael Natterer authored
      Apply and heavily modify patch from remyDev which adds "lock position"
      to GimpItem, similar to "lock content". Lock position disables all
      sorts of translation and transform, from the GUI and the PDB.
      
      Cleaned up some aspects of the lock content code as well because a
      second instance of similar code always shows what went wrong the first
      time.
      d4933b30
  13. 13 Oct, 2012 1 commit
  14. 02 May, 2012 3 commits
  15. 01 Feb, 2011 2 commits
  16. 09 Jan, 2011 1 commit
  17. 02 Oct, 2010 1 commit
    • Michael Natterer's avatar
      app: add a layer boundary canvas item class · 3e69ae00
      Michael Natterer authored
      and use it to draw the layer boundary. Remove a lot of stuff
      that was there only to draw the boundary before:
      
      - remvoe all layer boundary stuff from the selection code
      - remove gimp_display_shell_draw_layer()
      - remove enum values GIMP_SELECTION_LAYER_ON,OFF from core-enums.h
      - remove all lines calling gimp_image_selection_control() with
        the removed enum values
      - remove gimp_layer_boundary()
      3e69ae00
  18. 20 Jul, 2010 1 commit
    • Michael Natterer's avatar
      app: introduce GimpItem::to_selection() · 3184c440
      Michael Natterer authored
      Which replaces all the deparate functions to turn layers, channels,
      layer masks and vectors into selections. Use the new virtual function
      all over the place instead of calling the functions in
      gimpchannel-select.c manually.
      3184c440
  19. 09 Jun, 2010 1 commit
    • Barak Itkin's avatar
      app: add context to all undo descriptions · 5930b130
      Barak Itkin authored
      Description of undo actions should be marked as action descriptions,
      and not as commands. This is required for translation for some
      language (like Hebrew) that require a different grammatical tense for
      describing actions
      5930b130
  20. 06 Feb, 2010 1 commit
  21. 31 Aug, 2009 1 commit
  22. 29 Aug, 2009 2 commits
  23. 01 Aug, 2009 2 commits
    • Michael Natterer's avatar
    • Michael Natterer's avatar
      Add gimp_item_get_container() and gimp_item_get_index() · 297c2f00
      Michael Natterer authored
      * app/core/gimpitem.[ch]: add virtual function ::get_container() plus
        pubic API wrapper which returns the children of the item's parent
        viewable, or the right toplevel container of its image.
        Add utility function get_index() which returns the item's index
        within its container.
      
      * app/core/gimpchannel.c
      * app/vectors/gimpvectors.c: implement get_container() and return
        the right image container.
      
      * app/core/gimplayer.[ch]: same here, and remove previously added
        public get_container() API.
      
      * app/core/gimplayermask.c
      * app/core/gimpselection.c: implement get_container() for these GimpChannel
        subclasses and return NULL.
      297c2f00
  24. 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
  25. 28 Dec, 2008 1 commit
    • Martin Nordholts's avatar
      Use gimp_item_set/get_image() instead of accessing the instance · d37193fe
      Martin Nordholts authored
      member directly.
      
      * app/core/gimpchannel.c
      * app/core/gimpdrawable-brightness-contrast.c
      * app/core/gimpdrawable-color-balance.c
      * app/core/gimpdrawable-colorize.c
      * app/core/gimpdrawable-curves.c
      * app/core/gimpdrawable-desaturate.c
      * app/core/gimpdrawable-hue-saturation.c
      * app/core/gimpdrawable-invert.c
      * app/core/gimpdrawable-levels.c
      * app/core/gimpdrawable-posterize.c
      * app/core/gimpdrawable-threshold.c
      * app/core/gimplayer.c
      * app/core/gimplayermask.c
      * app/core/gimpselection.c
      * app/dialogs/layer-add-mask-dialog.c
      * app/text/gimptextlayer-xcf.c
      * app/tools/gimprectangletool.c
      * app/tools/gimptexttool.c
      * app/tools/gimpvectortool.c
      * app/vectors/gimpvectors-preview.c
      * app/vectors/gimpvectors.c
      * tools/pdbgen/pdb/layer.pdb
      
      * app/pdb/layer-cmds.c: Regenerated.
      
      svn path=/trunk/; revision=27840
      d37193fe
  26. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
  27. 03 Nov, 2008 2 commits
    • Michael Natterer's avatar
      app/core/gimp-edit.c app/core/gimpchannel.c · b994ab72
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/text/gimptext-compat.c
      	* app/text/gimptextlayer-xcf.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb: use accessors for item->offset_x,y.
      	Some minor unrelated cleanups.
      
      	* app/pdb/layer-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27537
      b994ab72
    • Michael Natterer's avatar
      renamed gimp_item_width() to gimp_item_get_width() and gimp_item_height() · 740ab5e6
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_width() to gimp_item_get_width() and
      	gimp_item_height() to gimp_item_get_height().
      
      	* app/actions/channels-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/dialogs/offset-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/scale-dialog.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsmudge.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpregionselecttool.c
      	* app/tools/gimptexttool.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/drawable.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27531
      740ab5e6
  28. 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
  29. 08 Jan, 2008 1 commit
    • Sven Neumann's avatar
      removed "add_alpha" parameter from gimp_item_duplicate() and · 4aa7e67c
      Sven Neumann authored
      2008-01-08  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpitem.[ch]: removed "add_alpha" parameter from
      	gimp_item_duplicate() and gimp_item_convert(). This is a relict
      	from the time when only the bottom layer was allowed to have no
      	alpha channel.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/file/file-open.c
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: changed accordingly.
      
      svn path=/trunk/; revision=24570
      4aa7e67c
  30. 03 Jan, 2008 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.udavis.edu> · 2ba3e595
      William Skaggs authored
      	committing patch by Simon Budig to give an indication
      	when working on a layer mask, updated to fix staleness
      	and respond to "edit-changed".  Might fix bug #132204.
      	
      	* app/core/core-enums.[ch]: add GIMP_SELECTION_LAYER_ON.
      
      	* app/core/gimplayermask.c: add handler for "edit-changed".
      
      	* app/core/gimpcanvas.[ch]:  add new style
      	GIMP_CANVAS_STYLE_LAYER_MASK_ACTIVE.
      
      	* app/display/gimpdisplayshell-selection.c: use new style
      	when layer mask is active.
      
      svn path=/trunk/; revision=24520
      2ba3e595
  31. 23 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/layers-commands.c app/core/gimpchannel-combine.c · ecb2c46d
      Michael Natterer authored
      2007-12-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-commands.c
      	* app/core/gimpchannel-combine.c
      	* app/core/gimpchannel-select.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-convert.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpdrawablemodundo.c
      	* app/core/gimpfloatingselundo.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimplayerundo.c
      	* app/core/gimpmaskundo.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpselection.c
      	* app/dialogs/offset-dialog.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors.c
      	* app/vectors/gimpvectorsmodundo.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderervectors.c: use accessors for item,
      	layer, channel and mask attributes.
      
      
      svn path=/trunk/; revision=24429
      ecb2c46d
  32. 12 Dec, 2007 1 commit
    • Michael Natterer's avatar
      added GError to GimpItem::rename(). · dfaf761d
      Michael Natterer authored
      2007-12-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: added GError to GimpItem::rename().
      
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c: set errors when renaming is impossible.
      
      	* app/text/gimptextlayer.c
      	* app/core/gimpimage-quick-mask.c: changed accordingly.
      
      	* app/actions/channels-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/widgets/gimpitemtreeview.c: handle the returned errors.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/vectors.pdb: pass the error.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/vectors_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24338
      dfaf761d
  33. 09 Dec, 2006 1 commit
  34. 15 May, 2006 1 commit