1. 11 Feb, 2018 1 commit
  2. 22 Jan, 2018 1 commit
  3. 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
  4. 12 Nov, 2012 1 commit
  5. 30 Jan, 2011 1 commit
  6. 12 Jan, 2011 1 commit
  7. 07 Feb, 2010 1 commit
  8. 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
  9. 01 Aug, 2009 1 commit
  10. 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
  11. 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
  12. 31 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h app/core/gimpchannelundo.[ch] · d388d584
      Michael Natterer authored
      2007-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpchannelundo.[ch]
      	* app/core/gimplayerundo.[ch]
      	* app/core/gimplayermaskundo.[ch]: new undo classes implementing
      	channel, layer and layer mask add and remove undos.
      
      	* app/vectors/Makefile.am
      	* app/vectors/vectors-types.h
      	* app/vectors/gimpvectorsundo.[ch]: vectors add and remove undos.
      
      	* app/core/gimpimage-undo-push.[ch]: use the new undo classes.
      	Removed "position" parameter from all "add" functions because
      	it's useless.
      
      	* app/core/gimpimage.c: changed accordingly.
      
      
      svn path=/trunk/; revision=21822
      d388d584
  13. 30 Jan, 2007 2 commits
    • Michael Natterer's avatar
      renamed these files... · 9020afcf
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannelundo.[ch]: renamed these files...
      
      	* app/core/gimpmaskundo.[ch]: ...to these. We'll need the name
      	GimpChannelUndo for something else later.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimage-undo-push.c: changed accordingly.
      
      
      svn path=/trunk/; revision=21819
      9020afcf
    • Michael Natterer's avatar
      app/core/gimpguideundo.c app/core/gimpimageundo.c · e5419559
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpguideundo.c
      	* app/core/gimpimageundo.c
      	* app/core/gimplayerpropundo.c
      	* app/core/gimpsamplepointundo.c
      	* app/core/gimpdrawableundo.c
      	* app/core/gimpitempropundo.c
      	* app/core/gimpchannelpropundo.c
      	* app/core/gimpchannelundo.c
      	* app/core/gimpitemundo.c: chain up last in GimpUndo::free(), use
      	switch() in place of if/else when there is more than one undo type
      	implemented in one file, g_assert_not_reached() in default:, some
      	minor cleanups.
      
      
      svn path=/trunk/; revision=21817
      e5419559
  14. 28 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new GimpItemUndo subclass which · 14fa7e3a
      Michael Natterer authored
      2007-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpchannelundo.[ch]: new GimpItemUndo subclass which
      	handles all the channel undo stuff itself.
      
      	* app/core/gimpimage-undo-push.c: removed all channel undo code
      	here and simply create a GimpChannelUndo instance.
      
      
      svn path=/trunk/; revision=21786
      14fa7e3a