1. 07 Oct, 2010 1 commit
    • Michael Natterer's avatar
      app: remove gimp_display_shell_draw_vectors() · 55f01bf6
      Michael Natterer authored
      which is the last bit of non-item drawing of stuff that is not
      somehow the image itself... wheee!
      
      This involves reverting commit
      6bce0641 and adding back all the
      vectors handlers that were in gimpdisplayshell-callbacks.c before.
      Change the callbacks to manage proxy items for all the image's
      vectors.
      55f01bf6
  2. 01 Oct, 2010 3 commits
  3. 17 Sep, 2010 1 commit
  4. 08 Jul, 2010 1 commit
  5. 07 Mar, 2010 1 commit
  6. 09 Feb, 2010 1 commit
  7. 06 Feb, 2010 1 commit
  8. 05 Feb, 2010 1 commit
  9. 04 Feb, 2010 4 commits
  10. 03 Feb, 2010 10 commits
  11. 31 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Remove gimp_image_layer_boundary() · 39156015
      Michael Natterer authored
      Having a function that only abstracts whether there is an active
      layer or not is pretty useless. This also doesn't make the code in
      selection_generate_segs() more complex but rather more obvious.
      39156015
  12. 26 Aug, 2009 1 commit
  13. 25 Aug, 2009 1 commit
  14. 19 Aug, 2009 1 commit
  15. 09 Aug, 2009 1 commit
  16. 06 Aug, 2009 1 commit
    • Michael Natterer's avatar
      Make reordering items between groups work in the core and the UI · d059f239
      Michael Natterer authored
      * app/core/gimpimage.[ch]: rename all gimp_image_reposition_foo() to
        gimp_image_reorder_foo() and added "new_parent" parameters. Factor
        out calculating of the item's new container and index to a utility
        function.
      
      * app/core/core-enums.[ch]: rename the REPOSITION undos to REORDER.
      
      * app/core/gimpimage-undo-push.[ch]
      * app/core/gimpchannelpropundo.[ch]
      * app/core/gimplayerpropundo.[ch]
      * app/vectors/gimpvectorspropundo.[ch]: change accordingly. Remember
        the old parent item in all item reorder undos.
      
      * app/widgets/gimpitemtreeview.h: change GimpReorderItemFunc prototype
        accordingly.
      
      * app/widgets/gimpchanneltreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpvectorstreeview.c (class_init): follow image API
        name changes.
      
      * app/widgets/gimpitemtreeview.c (gimp_item_tree_view_drop_viewable):
        implement reordering of items between groups.
      
      * app/widgets/gimpcontainertreeview.c
        (gimp_container_tree_view_reorder_item): fix to reorder the item
        within its level of the tree (unrelated to above changes, but needed
        to make them work).
      d059f239
  17. 03 Aug, 2009 2 commits
    • Michael Natterer's avatar
      Add infrastructure to add items to the active item's parent container · a3b4b595
      Michael Natterer authored
      * app/core/gimpimage.h: add define GIMP_IMAGE_ACTIVE_PARENT for magic
        the value ((gpointer) 1) which can be passed as parent item to
        add_layer(), add_channel() and add_vectors().
      
      * app/core/gimpimage.c: add utility function
        gimp_image_get_insert_pos() which honors above new special value and
        figures all of parent container, parent item and insert position.
        Remove lots of duplicated code from add_layer(), add_channel() and
        add_vectors().
      a3b4b595
    • 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
  18. 02 Aug, 2009 3 commits
  19. 01 Aug, 2009 2 commits
  20. 05 Jul, 2009 1 commit
    • Martin Nordholts's avatar
      app: Keep track of GimpImage export dirtiness · 1662ff25
      Martin Nordholts authored
      Since save and export are separate activities we need to keep track of
      image dirtiness for both of them. For this purpose, add a
      'export_dirty' member to GimpImage which has the same semantics as
      'dirty', but for export. Set it to clean whenever a document is
      exported by whatever means. Do this with a new function
      gimp_image_export_clean_all(). Also add gimp_image_is_export_dirty().
      1662ff25
  21. 03 Jul, 2009 1 commit
  22. 16 May, 2009 1 commit