1. 07 Oct, 2018 1 commit
    • Michael Natterer's avatar
      app: remove the image's "Enable Color Management" toggle · c399b894
      Michael Natterer authored
      It was not doing anything right since space invasion. We now treat the
      built-in sRGB profile like any other profile and never bypass
      conversions based on some weird toggle.
      
      Instead, introduce a "Use sRGB Profile" toggle which, when enabled,
      hides whatever profile away so the image actually uses the built-in
      sRGB profile.
      
      This is different from discarding and then re-assigning the same
      profile only by being faster and more convenient.
      c399b894
  2. 11 Jul, 2018 1 commit
  3. 20 May, 2016 1 commit
  4. 08 May, 2016 1 commit
  5. 26 Oct, 2013 1 commit
    • Hartmut Kuhse's avatar
      Completely rewrite metadata handling using gexiv2 · 21bed1e2
      Hartmut Kuhse authored
      Based on original patches from Hartmut Kuhse and modified
      by Michael Natterer. Changes include:
      
      - remove libexif dependency and add a hard dependency on gexiv2
      - typedef GExiv2Metadata to GimpMetadata to avoid having to
        include gexiv2 globally
      - add basic GimpMetadata handling functions to libgimpbase
      - add image and image file specific metadata functions to libgimp,
        including the exif orientation image rotate dialog
      - port plug-ins to use the new APIs
      - port file-tiff-save's UI to GtkBuilder
      - add new plug-in "metadata" to view the image's metadata
      - keep metadata around as GimpImage member in the core
      - update the image's metadata on image size, resolution and precision
        changes
      - obsolete the old metadata parasites
      - migrate the old parasites to new GimpMetadata object on XCF load
      21bed1e2
  6. 02 May, 2012 1 commit
  7. 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
  8. 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
  9. 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
  10. 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
  11. 02 Feb, 2007 1 commit
    • Michael Natterer's avatar
      app/core/gimpimageundo.[ch] implement image and item parasite attach and · 3c6912c5
      Michael Natterer authored
      2007-02-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimageundo.[ch]
      	* app/core/gimpitempropundo.[ch]: implement image and item
      	parasite attach and remove undos. They are image/item properties
      	after all.
      
      	* app/core/gimpimage-undo-push.[ch]: use them here and move the
      	undo functions to the resp. image and item property sections.
      
      
      svn path=/trunk/; revision=21835
      3c6912c5
  12. 29 Jan, 2007 1 commit
    • Michael Natterer's avatar
      add support for IMAGE_GRID and IMAGE_COLORMAP undos. · c757ac15
      Michael Natterer authored
      2007-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimageundo.[ch]: add support for IMAGE_GRID and
      	IMAGE_COLORMAP undos.
      
      	* app/core/gimpimage-undo-push.c: use GimpImageUndo for grid and
      	colormap undos.
      
      
      svn path=/trunk/; revision=21801
      c757ac15
  13. 28 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new undo class which handles · 11a43d6a
      Michael Natterer authored
      2007-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimageundo.[ch]: new undo class which handles
      	GIMP_UNDO_IMAGE_TYPE, GIMP_UNDO_IMAGE_SIZE and
      	GIMP_UNDO_IMAGE_RESOLUTION.
      
      	* app/core/gimpimage-undo-push.c: use the new undo class and
      	remove the resp. code here.
      
      	* app/core/gimpimage-undo.h: changed include guards to not
      	conflict with gimpimageundo.h
      
      
      svn path=/trunk/; revision=21789
      11a43d6a