1. 18 Mar, 2018 1 commit
    • Jehan's avatar
      app, libgimp, pdb: add "distance-metric" property to GimpPDBContext. · e164aee7
      Jehan authored
      This property is currently only used for gimp_edit_blend() to control
      how are computed distances. In the future, it could be used for more
      functions making use of "gegl:distance-transform" operation, or even for
      other algorithms, if relevant.
      This new property obviously comes with 2 new PDB calls:
      gimp_context_get_distance_metric() & gimp_context_set_distance_metric()
      e164aee7
  2. 19 Jan, 2018 1 commit
    • Jehan's avatar
      libgimp: add gimp_get_pdb_status() to return the status of last... · 2e18c80c
      Jehan authored
      ... procedure call.
      This is needed for plug-ins which depends on other plug-in's procedures.
      If for instance, the second-level plug-in is interrupted interactively,
      we don't want to process this as an error but as a cancellation.
      Therefore we need to know the returned value of the plug-in. Currently
      only way was to use gimp_get_pdb_error() but that was returning a
      human-readable error, not a computer-processable error.
      2e18c80c
  3. 11 Jan, 2018 1 commit
  4. 22 Oct, 2017 1 commit
  5. 03 Sep, 2017 1 commit
  6. 30 Aug, 2017 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. 04 May, 2017 1 commit
    • Michael Natterer's avatar
      app, pdb, libgimp: make the raw image importer configurable · 560340e8
      Michael Natterer authored
      Add "import-raw-plug-in" to gimprc, and a new procedure
      gimp_register_file_handler_raw(). On startup, remove all load
      procedures that are marked as "handles raw" but are not implemented by
      the configured plug-in. Add the list of available plug-ins to prefs ->
      import/export. Register all file-darktable procedures as handling raw.
      560340e8
  10. 06 Apr, 2017 1 commit
  11. 20 Feb, 2017 1 commit
  12. 01 Feb, 2017 1 commit
  13. 08 Jan, 2017 1 commit
  14. 03 Jan, 2017 2 commits
  15. 29 Oct, 2016 1 commit
    • Michael Natterer's avatar
      Bug 769738 - Add color tags/labels for layers/channels/paths · 31fcd79d
      Michael Natterer authored
      Add property "color-tag" of type enum GimpColorTag to GimpItem so all
      layers, channels and paths can be tagged with a color.
      
      For interoperability, use the color list from Krita which is a
      superset of Photoshop's colors.
      
      Features a "Color Tag" submenu in the layers, channels and paths
      menus, a row of color radio buttons in the properties dialogs,
      undo and PDB API.
      
      As a side effect, some common code is now factores out into
      items-actions.[ch] and items-commands.[ch] which adds visible, linked
      and lock actions for layers and channels.
      31fcd79d
  16. 20 Sep, 2016 2 commits
  17. 25 Jan, 2016 1 commit
  18. 17 Jan, 2016 2 commits
  19. 16 Jan, 2016 2 commits
  20. 04 Jan, 2016 1 commit
  21. 02 Jan, 2016 1 commit
  22. 09 Dec, 2015 1 commit
  23. 10 Nov, 2015 1 commit
  24. 09 Nov, 2015 1 commit
    • Michael Natterer's avatar
      Bug 314379 - Allow stroking as outline (not with a paint tool) via the PDB · 8fa7bc36
      Michael Natterer authored
      Add new PDB procedures gimp-context-get/set-stroke-method and honor
      the new setting in gimp-edit-stroke and gimp-edit-stroke-vectors.
      
      Internally, keep a GimpStrokeOptions around in GimpPDBContext to keep
      track of the newly added PDB state, and use it for the stroke
      operations instead of creating a scratch GimpStrokeOptions.
      8fa7bc36
  25. 28 Jul, 2015 2 commits
  26. 09 Jun, 2015 1 commit
  27. 06 Jun, 2015 1 commit
  28. 05 Jun, 2015 1 commit
  29. 07 Dec, 2014 1 commit
  30. 17 Nov, 2014 1 commit
  31. 13 May, 2014 1 commit
  32. 12 May, 2014 1 commit
  33. 29 Apr, 2014 2 commits
  34. 12 Jan, 2014 1 commit