1. 11 Jul, 2018 1 commit
  2. 09 Oct, 2016 1 commit
    • Michael Natterer's avatar
      Bug 764024 - Allow to choose fill color when resizing layers and images · 997ae1e2
      Michael Natterer authored
      Add a GimpFillType argument to GimpItem::resize() and fill type
      widgets to the canvas and layer resize dialogs. Fill the new parts of
      the drawable according to fill type in gimp_drawable_resize(). Make
      sure places that need the old behavior get GIMP_FILL_TRANSPARENT
      passed by hardcoding it in the GimpItem::resize() implemetations of
      channel, mask, selection etc.
      997ae1e2
  3. 04 Jan, 2016 1 commit
  4. 03 Jul, 2015 1 commit
  5. 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
  6. 22 Sep, 2012 3 commits
  7. 02 May, 2012 6 commits
  8. 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
  9. 03 Feb, 2010 1 commit
  10. 27 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Mostly revert to the state before group layers · 19a168cb
      Michael Natterer authored
      Now that group layers properly implement GimpItem::resize(), ::flip(),
      ::rotate() and ::scale(), we can go back to just transforming the
      toplevel container of layers in the image. Left in and/or added some
      special cases anyway, like when resizing sets of layers along with the
      image is requested.
      19a168cb
  11. 26 Aug, 2009 1 commit
  12. 25 Aug, 2009 1 commit
  13. 20 Aug, 2009 1 commit
  14. 02 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Iterate over all an image's items recursively · 87d463ae
      Michael Natterer authored
      Use gimp_image_get_layer,channel,vectors_list() instead of
      gimp_image_get_layer,channel,vectors_iter(). As a side-effect,
      simplified some code that was making sure we don't modify the list
      returned by the old functions (the new functions return newly
      allocated lists so we can safely remove items from the image while
      iterating it). Some places will need adjusting once we really have
      item trees.
      87d463ae
  15. 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
  16. 03 Nov, 2008 1 commit
    • 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
  17. 02 Nov, 2008 2 commits
    • Michael Natterer's avatar
      renamed gimp_item_offsets() to gimp_item_get_offset() and · 5b68a1d0
      Michael Natterer authored
      2008-11-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpitem.[ch]: renamed
      	gimp_item_offsets() to gimp_item_get_offset() and
      	gimp_item_set_offsets() to gimp_item_set_offset().
      
      	* app/actions/drawable-commands.c
      	* app/actions/layers-commands.c
      	* app/core/<many>.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-preview.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimpsourcecore.c
      	* app/text/gimptextlayer-xcf.c
      	* app/tools/<many>.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb
      	* tools/pdbgen/pdb/vectors.pdb: changed accordingly.
      
      	* app/pdb/drawable-cmds.c
      	* app/pdb/drawable-transform-cmds.c
      	* app/pdb/selection-cmds.c
      	* app/pdb/vectors-cmds.c
      	* app/pdb/transform-tools-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27529
      5b68a1d0
    • Michael Natterer's avatar
      add new functions gimp_image_get_layer_iter(), channel_iter() and · d1ca165b
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add new functions
      	gimp_image_get_layer_iter(), channel_iter() and vectors_iter()
      	which return the GList inside the resp. GimpList.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-item-list.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/file/file-open.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpdrawtool.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use the new functions instead of
      	peeking both into the image and the list. Remove inclusions of
      	"gimplist.h" or change them into "gimpcontainer.h" if needed.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27524
      d1ca165b
  18. 09 Oct, 2008 2 commits
    • 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
    • Michael Natterer's avatar
      Remove the last code duplication from the undo system (or if not the last · 0e4a35a2
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Remove the last code duplication from the undo system (or if not
      	the last then at least the most ugly):
      
      	* app/core/gimpimage.[ch] (gimp_image_add_layer,channel,vectors):
      	add "gboolean push_undo" parameter and add the item without
      	touching undo if it's TRUE. Changed assertions from
      	g_object_is_floating() to !gimp_item_is_attached() so they also
      	take items from the undo stack and not only newly created ones.
      
      	(gimp_image_remove_layer,channel,vectors): add "push_undo"
      	parameter here too. Also add a "new_active" parameter where an
      	optional new active item can be passed.
      
      	(gimp_image_remove_layer,channel): these functions must not be
      	called with push_undo=FALSE and a floating selection attached to
      	the layer/channel. This can't currently happen; added warnings in
      	case other code is changed and makes it happen anyway.
      
      	* app/core/gimpchannelundo.c
      	* app/core/gimplayerundo.c
      	* app/vectors/gimpvectorsundo.c: use above functions to add/remove
      	items instead of duplicating (parts of) their code. Pass
      	push_undo=FALSE and the previously active item to the remove()
      	functions.
      
      	* app/actions/channels-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpchannelundo.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayerundo.c
      	* app/core/gimpselection.c
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectorsundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly (pass TRUE
      	unless it's a new image like when loading and XCF file).
      
      	* app/pdb/image-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27200
      0e4a35a2
  19. 28 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      Make the size-changed-detailed signal also contain previous image size. · 2975f815
      Martin Nordholts authored
      2008-08-28  Martin Nordholts  <martinn@svn.gnome.org>
      
      	* app/core/gimpimage.[ch]: Make the size-changed-detailed signal
      	also contain previous image size.
      
      	* app/display/gimpdisplayshell-handlers.c
      	(gimp_display_shell_size_changed_detailed_handler): Take the
      	previous image size into account and center the image if it starts
      	to fit (axis indepentently) in the viewport due to the resize.
      
      	* app/core/gimpundo.h
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimageundo.[ch]
      	* app/core/gimpimage-undo-push.[ch]: Manage the
      	previous-size-information.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-resize.c: Propagate previous size to the
      	size-changed-detailed signal emission and the undo-system.
      
      svn path=/trunk/; revision=26804
      2975f815
  20. 04 Aug, 2008 1 commit
    • Michael Natterer's avatar
      :size-changed-detailed): change double to int in signal parameters. · 26c2c6af
      Michael Natterer authored
      2008-08-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch] (GimpImage::size-changed-detailed):
      	change double to int in signal parameters.
      
      	Remove gimp_image_emit_size_changed_signals() and call
      	gimp_viewable_size_changed() in size-changed-detailed's default
      	handler.
      
      	* app/core/gimpimageundo.[ch]
      	* app/core/gimpimage-undo-push.[ch]: change double to int in
      	previous-origin related code.
      
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-resize.c: call gimp_image_size_changed_detailed()
      	instead of the removed gimp_image_emit_size_changed_signals()
      
      	* app/display/gimpdisplayshell-scroll.[ch]: remove
      	gimp_display_shell_handle_size_changed_detailed() because it
      	handles both scrolling and scaling and doesn't belong here.
      
      	* app/display/gimpdisplayshell-handlers.c: moved its code back to
      	gimp_display_shell_size_changed_detailed_handler() and follow the
      	double -> int change above.
      
      
      svn path=/trunk/; revision=26367
      26c2c6af
  21. 03 Aug, 2008 1 commit
    • Martin Nordholts's avatar
      Further work for completing bug #362915 that makes changes to the image · 6c48f2b6
      Martin Nordholts authored
      2008-08-03  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Further work for completing bug #362915 that makes changes to the
      	image size (e.g when cropping) be much more nicely handled by
      	display shell.
      
      	* app/core/gimpimage.[ch]: Add new signal
      	GimpImage::size-changed-detailed that is emited whenever
      	GimpViewable::size-changed is. The new signal provides additional
      	information, namely the previous origin relative to the current
      	origin. Cliens choose what specific signal to listen to depending
      	on how much info they need.
      
      	* app/display/gimpdisplayshell-handlers.c: Connect to
      	GimpImage::size-changed-detailed instead of
      	GimpViewable::size-changed since the shell wants information about
      	the previous image origin.
      	(gimp_display_shell_resolution_changed_handler): Use
      	gimp_display_shell_scale_resize() instead to avoid display
      	garbage.
      
      	* app/display/gimpdisplayshell-scale.[ch]: Add new utility
      	function gimp_display_shell_center_image_on_next_size_allocate().
      
      	* app/display/gimpdisplayshell-scroll.[ch]
      	(gimp_display_shell_handle_size_changed_detailed): New function
      	that replaces logic in gimp_display_shell_handle_size_changed and
      	that takes previous-origin of the image into account and adjusts
      	the offset so that the image content that remains doesn't move. If
      	the window is resized on image resize, just center the image
      	afterwards.
      
      	* app/core/gimpimage-undo-push.[ch]
      	(gimp_image_undo_push_image_size): Add previous-origin paremeters.
      
      	* app/core/gimpimageundo.[ch]: Add and manage previous-origin
      	properties so that the display shell offset can be appropriately
      	adjusted also when undoing.
      
      	* app/core/gimpundo.h
      	* app/core/gimpimage-undo.c: Add previous_origin members to the
      	undo accumulator and emit that information when the size of the
      	image changes due to the undo.
      
      	* app/core/gimpimage-crop.c (gimp_image_crop)
      	* app/core/gimpimage-scale.c (gimp_image_scale)
      	* app/core/gimpimage-rotate.c (gimp_image_rotate)
      	* app/core/gimpimage-resize.c (gimp_image_resize_with_layers):
      	Supply information about the previous-origin of the image to the
      	size-changed signals and the undo system.
      
      svn path=/trunk/; revision=26354
      6c48f2b6
  22. 23 May, 2008 1 commit
    • Sven Neumann's avatar
      app/core/gimpchannel-select.c app/core/gimpdrawable-bucket-fill.c · 5aa59b3b
      Sven Neumann authored
      2008-05-23  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpchannel-select.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-crop.c
      	* app/dialogs/image-scale-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimppolygonselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* libgimpwidgets/gimpcolorprofilestore.c
      	* plug-ins/gfig/gfig-dialog.c: use C_() instead of Q_() for
      	translations with context.
      
      svn path=/trunk/; revision=25777
      5aa59b3b
  23. 25 Dec, 2007 2 commits
    • Michael Natterer's avatar
      app/core/gimpimage-guides.[ch] add accessors for the lists of guides and · 6074f7e2
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-sample-points.[ch]: add accessors for the lists
      	of guides and sample points.
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: use the new accessors.
      
      
      svn path=/trunk/; revision=24434
      6074f7e2
    • 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
  24. 19 Jul, 2007 1 commit
  25. 04 May, 2007 1 commit
    • Sven Neumann's avatar
      special case fully transparent regions, just as we do in · 0bcf615e
      Sven Neumann authored
      2007-05-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/autocrop.c (guess_bgcolor): special case fully
      	transparent regions, just as we do in app/core/gimpimage-crop.c.
      	Fixes bug #357554.
      
      	* app/core/gimpimage-crop.c: cosmetics.
      
      svn path=/trunk/; revision=22412
      0bcf615e
  26. 27 Apr, 2007 1 commit
    • Sven Neumann's avatar
      added get_pixel_at() method to the GimpPickable interface. This gives · 7c1fc759
      Sven Neumann authored
      2007-04-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimppickable.[ch]: added get_pixel_at() method to the
      	GimpPickable interface. This gives direct access to the pixel
      	without converting it to an RGB color.
      
      	* app/core/gimpdrawable.c
      	* app/core/gimpimagemap.c
      	* app/core/gimpprojection.c: implement the new method and also use
      	it to reimplement get_color_at().
      
      	* app/core/gimpimage-crop.c (gimp_image_crop_guess_bgcolor): use
      	gimp_pickable_get_pixel_at(). Fixes auto-shrink on indexed and
      	grayscale images.
      
      svn path=/trunk/; revision=22359
      7c1fc759
  27. 30 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files implementing new(), ref() and unref() and · 11b1d24a
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpsamplepoint.[ch]: new files implementing new(),
      	ref() and unref() and the new GIMP_TYPE_SAMPLE_TYPE boxed type.
      
      	* app/core/gimpimage-sample-points.[ch]: removed ref() and unref()
      	functions here.
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: changed accordingly.
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate_sample_points):
      	added missing call to gimp_image_undo_push_sample_point().
      
      
      svn path=/trunk/; revision=21812
      11b1d24a
  28. 09 Dec, 2006 1 commit
  29. 27 Jun, 2006 1 commit
    • Sven Neumann's avatar
      app/core/gimpchannel-select.c app/core/gimpdrawable-bucket-fill.c · 12e0bf90
      Sven Neumann authored
      2006-06-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpchannel-select.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpimage-crop.c
      	* app/dialogs/image-scale-dialog.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmovetool.c
      	* plug-ins/gfig/gfig-dialog.c: applied patch from Zbigniew Chyla
      	that adds translation context to some problematic strings
      	(bug #345982).
      12e0bf90
  30. 07 Jun, 2006 1 commit
    • Michael Natterer's avatar
      added gimp_guide_get_ID(). · 7499fc89
      Michael Natterer authored
      2006-06-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpguide.[ch]: added gimp_guide_get_ID().
      
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage-undo-push.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpmovetool.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/guides.pdb: use accessors instead of accessing
      	GimpGuide's struct members directly.
      
      	* app/pdb/guides_cmds.c: regenerated.
      7499fc89