1. 20 Sep, 2016 2 commits
  2. 19 Sep, 2016 2 commits
    • Michael Natterer's avatar
      Bug 637313 - Should be possible to copy/paste whole layers in a single step · 67863dab
      Michael Natterer authored
      Use the newly added clipboard for entire images to copy/paste layers
      (we only create single-layer clipboard images, and use only the first
      layer of any recieved image, the layers can be arbitrarily complex
      though):
      
      - change gimp_edit_copy,cut,paste() to return/take a GimpObject
        that can be a GimpImage or GimpBuffer
      - cut/copy the whole layer if there is no selection
      - always paste layers as new layers, not floating selections
      - always paste news layers on top of the active layer, where
        we would attach a floating selection
      - add enum GimpPasteType { FLOATING, FLOATING_INTO, NEW_LAYER }
      - add GimpPasteType parameter to gimp_edit_paste() and handle all
        three cases there because there is now a lot of common code
        involved
      - change all callers accordingly, use only legacy buffer pasting
        from the PDB for now
      67863dab
    • Michael Natterer's avatar
      app: factor gimp_edit_get_paste_offset() out of gimp_edit_paste() · f0acb330
      Michael Natterer authored
      and also use it for "paste as new layer", so we get the same
      positioning logic for both paste variants.
      f0acb330
  3. 17 Sep, 2016 1 commit
  4. 29 May, 2016 2 commits
  5. 20 May, 2016 1 commit
  6. 19 May, 2016 1 commit
  7. 15 Mar, 2016 1 commit
  8. 11 Mar, 2016 2 commits
  9. 02 Sep, 2015 1 commit
  10. 16 Aug, 2015 1 commit
  11. 15 Aug, 2015 1 commit
  12. 14 Aug, 2015 1 commit
  13. 19 Jun, 2015 1 commit
  14. 17 Jun, 2015 1 commit
  15. 16 Jun, 2015 1 commit
  16. 03 Jun, 2014 1 commit
  17. 02 Jun, 2014 1 commit
  18. 13 May, 2014 1 commit
  19. 13 Sep, 2013 1 commit
  20. 27 Jan, 2013 1 commit
  21. 30 Jul, 2012 1 commit
    • Michael Natterer's avatar
      Bug 586462 - Layer inserts misplaced · eda6fa1c
      Michael Natterer authored
      Another attempt to fix paste/drop positions for good.
      
      Paste/drop target is either the selected area of a drawable, the
      drawable itself, or the image:
      
      - if the paste is larger than the target, center on the target
      - if there is a viewport, and the viewport intersects with the
        target, center on the intersection
      - otherwise, center on the target
      
      Finally, if we did viewport-centered pasting, make sure the paste is
      as completely within image bounds as possible.
      eda6fa1c
  22. 20 May, 2012 2 commits
  23. 18 May, 2012 1 commit
  24. 03 May, 2012 1 commit
  25. 02 May, 2012 11 commits