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. 17 Dec, 2017 5 commits
  3. 19 Aug, 2017 1 commit
  4. 01 May, 2017 2 commits
  5. 19 Apr, 2017 1 commit
  6. 09 Jan, 2017 1 commit
  7. 08 Jan, 2017 1 commit
  8. 20 Sep, 2016 2 commits
  9. 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
  10. 17 Sep, 2016 1 commit
  11. 15 Mar, 2016 1 commit
  12. 11 Mar, 2016 3 commits
  13. 08 Mar, 2016 2 commits
  14. 16 Jan, 2016 1 commit
    • Ell's avatar
      app: Add "Diagonal neighbors" option to the bucket fill tool · 350c7ca3
      Ell authored
      When checked, diagonally neighboring pixels are considered connected
      when calculating the affected area.
      
      This commit also adds a corresponding diagonal_neighbors parameter to
      gimp_drawable_bucket_fill(), and modifies the callers, other than the
      bucket fill tool, to pass FALSE for this parameter, to retain the
      current behavior.
      350c7ca3
  15. 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
  16. 08 Nov, 2015 1 commit
  17. 29 Apr, 2015 1 commit
    • Michael Natterer's avatar
      Bug 673501 - Issue with Overlay · bc4cf991
      Michael Natterer authored
      GIMP's OVERLAY mode was identical to SOFTLIGHT. This commit fixes the
      issue and introduces a NEW_OVERLAY mode and enum value.
      
      - change gimp:overlay-mode to be a real (svg-ish) overlay mode
      - when compositing, map OVERLAY to gimp:softlight-mode
      - when compisiting, map NEW_OVERLAY to gimp:overlay-mode
      - bump the XCF version when NEW_OVERLAY is used
      - map OVERLAY to SOFTLIGHT when loading and saving XCF
      - map OVERLAY to softlight in all PDB setters
      - map OVERLAY to softlight when deserializing a GimpContext
      - change all paint mode menus to show an entry for NEW_OVERLAY
        instead of OVERLAY
      - change PSP, PSD and OpenRaster to use NEW_OVERLAY
      
      These changes should (redundantly) make sure that no OVERLAY enum
      value is used in the core any longer because it gets mapped to
      SOFTLIGHT at all entry points, with the downside of introducing a
      setter/getter asymmetry when OVERLAY was set in a PDB api.
      bc4cf991
  18. 12 Jul, 2014 1 commit
    • Michael Natterer's avatar
      app: some GimpProgress cleanup · a6601d56
      Michael Natterer authored
      - change start() and set_text() to use "format" and "..." instead of
        "message", allowing to format progress messages in place
      - s/cancelable/cancellable/
      - move "cancellable" to be the second argument of start()
      a6601d56
  19. 03 Jun, 2014 1 commit
  20. 02 Jun, 2014 2 commits
  21. 30 Apr, 2014 1 commit
  22. 29 Apr, 2014 1 commit
    • Michael Natterer's avatar
      libgimpbase,*: clean up enum values in gimpbaseenums.h · 22c22229
      Michael Natterer authored
      GIMP_ADD_foo_MASK -> GIMP_ADD_MASK_foo
      GIMP_foo_MODE -> GIMP_BLEND_foo
      GIMP_foo_CLONE -> GIMP_CLONE_foo
      GIMP_foo -> GIMP_DODGE_BURN_TYPE_foo
      GIMP_foo -> GIMP_TRANSFER_foo
      
      Add compat values for the old names and compat code to script-fu
      and pygimp.
      22c22229
  23. 06 Feb, 2014 1 commit
    • Michael Natterer's avatar
      Bug 721249 - pdb.gimp_context_set_brush_size() dont't work · 4d6640ff
      Michael Natterer authored
      Port selection/path stroking to using the PDB-controllable
      paint options that live in GimpPDBContext.
      
      Change gimp_item_stroke()'s "use_default_values" boolean which was
      introduced at a time where we had no better way by a GimpPaintOptions
      parameter. If a non-NULL paint_options is passed (when called from the
      PDB), use it for stroking; if NULL is passed, use the actual paint
      tool options from the GUI (when called from the menus or the stroke
      dialog). In the PDB wrappers, get the right paint options object from
      the PDB context associated with the calling plug-in.
      4d6640ff
  24. 08 Nov, 2012 1 commit
  25. 04 Aug, 2012 1 commit
  26. 17 May, 2012 1 commit
  27. 02 May, 2012 3 commits
  28. 08 Jul, 2010 1 commit