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()
  2. 17 Mar, 2018 3 commits
  3. 15 Mar, 2018 1 commit
  4. 14 Mar, 2018 3 commits
  5. 12 Feb, 2018 1 commit
    • Jehan's avatar
      app: keep track of number of errors and traces in GimpCriticalDialog. · 34fe992f
      Jehan authored
      We don't want an infinite number of traces because it takes some time to
      get. Until now I was keeping track of traces in app/errors.c, but that
      was very sucky because then I was limiting traces per session. Instead
      save them as a variable of a GimpCriticalDialog instance. Therefore only
      generate the traces for WARNING/CRITICAL at the last second, when
      calling the dialog.
      When too many traces are displayed, just fallback to just add error
      messages only. But then even errors without traces can be time-consuming
      (if you have dozens of thousands of errors in a few seconds, as I had
      the other day, updating the dialog for all of them would just freeze the
      whole application for a long time).
      So also keep track of errors as well and as last fallback, just send the
      remaining errors to the stderr.
  6. 11 Feb, 2018 1 commit
  7. 05 Feb, 2018 2 commits
  8. 28 Jan, 2018 1 commit
  9. 11 Jan, 2018 1 commit
  10. 02 Jan, 2018 1 commit
    • Michael Natterer's avatar
      Bug 762443 - Levels tool Output Level sliders works incorrectly · dce93c7d
      Michael Natterer authored
      Add "clamp-input" (which clamps the input values to [0..1])
      and "clamp-output" (which clips the final result to [0..1]),
      properties, parameters and GUI to:
      - GimpLevelsConfig
      - GimpOperationLevels
      - The levels tool dialog
      - The gimp_drawable_levels() PDB API
      The old deprecated gimp_levels() PDB API now sets both clamping
      options to TRUE which restores the 2.8 behavior.
      Also reorder some stuff in GimpLevelsConfig and elsewhere so the
      levels parameters are always in the same order.
  11. 17 Dec, 2017 7 commits