1. 15 Jul, 2017 1 commit
  2. 24 Nov, 2016 1 commit
    • Jehan's avatar
      Bug 774906 - Replace File>New default ppi of 72... · 39190807
      Jehan authored
      ... with something more suitable.
      72 PPI is from a time where people thought this was a common screen
      resolution. This is not the case nowadays, and anyway images targetted
      for screen display should not bother with PPI resolution at all, only
      with actual pixel dimensions.
      PPI resolution is more useful for printing. And for this case, 300 is
      quite an accepted OK value for most cases. So this is likely a better
      default for GIMP.
      39190807
  3. 16 Nov, 2016 1 commit
  4. 09 Nov, 2016 1 commit
  5. 12 Oct, 2016 1 commit
  6. 16 May, 2016 1 commit
  7. 08 May, 2016 1 commit
    • Michael Natterer's avatar
      app: add basic support for creating images with color profiles · 54c0b047
      Michael Natterer authored
      Add "gboolean color_managed" and "GFile *color_profile" to
      GimpTemplate. Add a toggle and profile combo to GimpTemplateEditor.
      Honor the new template properties in gimp_image_new_from_template().
      
      Using a GFile property instead of a GIMP_TYPE_CONFIG_PATH is
      preliminary, see the previous commit. I'd like to use GFile more
      directly when dealing with config files, this is for testing that.
      54c0b047
  8. 11 Feb, 2016 1 commit
  9. 15 Jun, 2014 1 commit
  10. 14 Jun, 2014 1 commit
  11. 02 Jun, 2014 1 commit
  12. 14 May, 2014 1 commit
  13. 13 May, 2014 1 commit
  14. 06 May, 2014 1 commit
  15. 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
  16. 23 Jun, 2013 1 commit
    • Michael Natterer's avatar
      Add support for both gamma-corrected and linear for all bit depths · caf73f5f
      Michael Natterer authored
      - Add new enum GimpComponentType which contains u8, u16, u32 etc.
      - Change GimpPrecision to be u8-linear, u8-gamma, u16-linear etc.
      - Add all the needed formats to gimp-babl.c
      - Bump the XCF version to 5 and make sure version 4 with the old
        GimpPrecision enum values is loaded correctly
      
      This change blows up the precision enums in "New Image" and
      Image->Precision so we can test all this stuff. It is undecided what
      format will be user-visible options in 2.10.
      caf73f5f
  17. 24 Aug, 2012 1 commit
  18. 07 May, 2012 1 commit
  19. 02 May, 2012 3 commits
  20. 02 Mar, 2011 1 commit
  21. 07 Feb, 2011 1 commit
  22. 05 Jun, 2010 1 commit
  23. 09 Feb, 2010 1 commit
  24. 03 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Bring parent items to the public API in the core · c4075975
      Michael Natterer authored
      * app/core/gimpimage.[ch]: make the parent parameter public in
      add_layer(), add_layers(), add_channel() and add_vectors().
      
      * app/vectors/gimpvectors-import.[ch]: add parent parameters to
        the vectors import functions.
      
      * app/core/gimpchannelundo.[ch]
      * app/core/gimplayerundo.[ch]
      * app/vectors/gimpvectorsundo.[ch]
      * app/core/gimpimage-undo-push.[ch]: remember the parent item when
        removing layers, channels and vectors.
      
      * app/actions/channels-commands.c
      * app/actions/debug-commands.c
      * app/actions/edit-commands.c
      * app/actions/layers-commands.c
      * app/actions/vectors-commands.c
      * app/core/gimp-edit.c
      * app/core/gimpimage-duplicate.c
      * app/core/gimpimage-merge.c
      * app/core/gimpimage-quick-mask.c
      * app/core/gimplayer-floating-sel.c
      * app/core/gimpselection.c
      * app/core/gimptemplate.c
      * app/dialogs/file-open-dialog.c
      * app/display/gimpdisplayshell-dnd.c
      * app/text/gimptext-compat.c
      * app/tools/gimptexttool.c
      * app/tools/gimpvectortool.c
      * app/widgets/gimptoolbox-dnd.c
      * app/xcf/xcf-load.c
      * tools/pdbgen/pdb/image.pdb
      * tools/pdbgen/pdb/paths.pdb
      * tools/pdbgen/pdb/vectors.pdb: pass NULL as parent item to above
        functions and add FIXMEs all over the place because there is some
        more hacking needed to make adding with index = -1 (on top of the
        current item) work again.
      
      * app/pdb/image-cmds.c
      * app/pdb/paths-cmds.c
      * app/pdb/vectors-cmds.c: regenerated.
      
      * app/core/gimpimage-duplicate.c: duplicate the original image's
        tree structure in the copy.
      
      * app/widgets/gimpitemtreeview.[ch]: add parent to GimpAddItemFunc,
        add utility function gimp_item_tree_view_get_drop_index() which
        figures where to add something dropped to an item tree.
      
      * app/widgets/gimpchanneltreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpvectorstreeview.c: changed accordingly, using above
        new GimpItemTreeView API.
      c4075975
  25. 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
  26. 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
  27. 30 Sep, 2008 1 commit
    • Michael Natterer's avatar
      Bug 546924 – "New Image" misscalculating dimensions for non-pixel sized · 6865bb9e
      Michael Natterer authored
      2008-09-30  Michael Natterer  <mitch@gimp.org>
      
      	Bug 546924 – "New Image" misscalculating dimensions for non-pixel
      	sized templates
      
      	* app/core/gimptemplate.h: added private param flag
      	GIMP_TEMPLATE_PARAM_COPY_FIRST.
      
      	* app/core/gimptemplate.c (gimp_template_class_init): set the flag
      	on the resolution properties.
      
      	* app/dialogs/image-new-dialog.c (image_new_template_changed):
      	make sure the resolution properties are copied first.
      
      	* libgimpconfig/gimpconfig-utils.c (gimp_config_sync): remove
      	comment about fixing the template editor. That's not true any
      	more.
      
      
      svn path=/trunk/; revision=27091
      6865bb9e
  28. 17 Sep, 2008 2 commits
    • Michael Natterer's avatar
      Revert the change which adds GError parameters to · 68c21b49
      Michael Natterer authored
      2008-09-17  Michael Natterer  <mitch@gimp.org>
      
      	Revert the change which adds GError parameters to
      	gimp_image_add_{channel,layer,vectors}():
      
      	* 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/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer-floating-sel.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/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: revert.
      
      	Instead, fix it at the PDB level:
      
      	* app/core/gimpimage.c: turn the "added to wrong image" warning
      	into a g_return_val_if_fail() assertion.
      
      	* app/pdb/gimppdb-utils.[ch] (gimp_pdb_item_is_floating): add a
      	"dest_image" parameter and fail if the passed item is not for this
      	image.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/paths.pdb: pass the dest image to
      	gimp_pdb_item_is_floating().
      
      	* app/pdb/image-cmds.c
      	* app/pdb/layer-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=26970
      68c21b49
    • Michael Natterer's avatar
      add GError parameter to gimp_image_add_{channel,layer,vectors}() and · b0dab70d
      Michael Natterer authored
      2008-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add GError parameter to
      	gimp_image_add_{channel,layer,vectors}() and remove calls to
      	g_warning(). Changed checks to be possible failures at all.
      
      	* app/widgets/gimpitemtreeview.h (GimpAddItemFunc): add the GError
      	here too.
      
      	* 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/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimplayer-floating-sel.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/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/xcf/xcf-load.c: pass a NULL error.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/paths.pdb: pass the error.
      
      	* app/pdb/image-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=26963
      b0dab70d
  29. 21 Mar, 2008 2 commits
  30. 06 Jun, 2007 2 commits
  31. 21 May, 2007 1 commit
  32. 09 Dec, 2006 1 commit
  33. 27 Oct, 2006 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpcolorconfig-enums.[ch] libgimpconfig/gimpcolorconfig.c · 63da8bb8
      Sven Neumann authored
      2006-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpcolorconfig-enums.[ch]
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpconfig/gimpconfig.def: removed unused enum
      	GimpColorFileOpenBehaviour.
      
      	* app/core/core-enums.[ch]: added enum GimpColorProfilePolicy.
      
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: added property
      "color-profile-policy".
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-icc-profile.[ch]: new files that wrap
      usage
      	of the lcms plug-in.
      
      	* app/file/file-open.c: implement the user-configured policy for
      	embedded color profiles.
      
      	* app/widgets/gimpimageprofileview.c: use the wrapper to call
      the
      	plug-in-icc-profile-info procedure.
      
      	* app/widgets/gimptoolbox-dnd.c: pass TRUE for "attach_comment"
      	parameter to gimp_create_image().
      
      	* app/core/gimptemplate.c
      	* app/file/Makefile.am: cosmetic changes.
      
      	* app/Makefile.am: some resorting to make the beast link again.
      63da8bb8
  34. 15 May, 2006 1 commit