1. 04 Sep, 2019 1 commit
    • Ell's avatar
      app: add "clip" parameter to gimp_display_shell_untransform_viewport() · 788b136b
      Ell authored
      ... which specifies whether to clip the viewport to the canvas
      (previously, it would always be clipped).  Use the appropriate
      value in all callers, depending on the shell's "show all" mode.  In
      particular, this commit avoids clipping the image projection's
      priority rect to the canvas in "show all" mode.
      788b136b
  2. 12 Apr, 2019 1 commit
    • Jehan's avatar
      app: allow core file procedure which don't return an image. · 5c9114ae
      Jehan authored
      This is useful to be able to support file formats other than image
      formats. In particular I will use this in the next commit to support a
      "GIMP extension" format. When GIMP will open such file, it will
      install an extension (not open an image on canvas).
      
      This is an internal flag only, i.e. only usable from core GIMP. File
      formats which a plug-in can register are still only image file formats.
      5c9114ae
  3. 03 Jan, 2019 1 commit
  4. 11 Jul, 2018 1 commit
  5. 20 May, 2018 1 commit
  6. 18 Apr, 2018 1 commit
  7. 21 Aug, 2017 1 commit
    • Michael Natterer's avatar
      Move the new "default_new_layer_mode" APIs to the image... · e16c8a23
      Michael Natterer authored
      ...in both the core and libgimp.
      
      Images now know what the default mode for new layers is:
      
      - NORMAL for empty images
      - NORMAL for images with any non-legacy layer
      - NORMAL_LEGAVY for images with only legacy layers
      
      This changes behavior when layers are created from the UI, but *also*
      when created by plug-ins (yes there is a compat issue here):
      
      - Most (all?) single-layer file importers now create NORMAL layers
      - Screenshot, Webpage etc also create NORMAL layers
      
      Scripts that create images from scratch (logos etc) should not be
      affected because they usually have NORMAL_LEGACY hardcoded.
      
      3rd party plug-ins and scripts will also behave old-style unless they
      get ported to gimp_image_get_default_new_layer_mode().
      e16c8a23
  8. 20 Aug, 2017 1 commit
  9. 01 May, 2017 2 commits
  10. 26 Feb, 2017 1 commit
  11. 08 Jan, 2017 1 commit
  12. 19 Sep, 2016 1 commit
    • 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
  13. 18 Apr, 2016 1 commit
  14. 15 Mar, 2016 1 commit
  15. 13 Mar, 2016 1 commit
  16. 11 Mar, 2016 2 commits
  17. 17 Jun, 2015 1 commit
  18. 06 May, 2015 1 commit
    • Michael Natterer's avatar
      libgimpwidgets: add gimpwidgetsutils.[ch] · 6b0b7743
      Michael Natterer authored
      Move some functions from libgimpwidgets/gimpwidgets.[ch]
      and from app/widgets/gimpwidgets-utils.[ch]. Newly add
      gimp_widget_get_color_profile() which is extracted from
      modules/display-filter-lcms.c.
      6b0b7743
  19. 07 Jul, 2014 2 commits
  20. 02 May, 2014 1 commit
  21. 28 Apr, 2014 1 commit
  22. 14 Sep, 2013 1 commit
  23. 08 Jan, 2013 1 commit
  24. 05 Sep, 2012 1 commit
  25. 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
  26. 02 May, 2012 4 commits
  27. 16 Feb, 2012 1 commit
  28. 10 Jun, 2011 1 commit
    • Nils Philippsen's avatar
      app: guard against crash due to quitting while DND is processed · b1a2c736
      Nils Philippsen authored
      In gimp_display_shell_drop_uri_list(), shell->display is dereferenced in
      some places without checking that it's still there. It can be set to
      NULL if the user quits the application while a drag and drop action is
      being processed and the main loop is iterated during execution of this
      function. (Bug #652280)
      b1a2c736
  29. 27 Apr, 2011 2 commits
  30. 29 Nov, 2010 1 commit
  31. 27 Nov, 2010 1 commit
  32. 05 Oct, 2010 2 commits