1. 24 Jul, 2018 2 commits
    • Ell's avatar
      app: in prop-GUI, use "direction" UI-meta of angle props for dial · 6976e87d
      Ell authored
      When constructing a prop-GUI widget for an angle property with a
      dial, use the the property's "direction" UI-meta, if exists, to set
      the direction of the dial.  Together with GEGL commit
      7b0578073a0f20334b5a8a8fe57b649d9f302454, this fixes wrong dial
      direction in certain ops that use clockwise angles.
    • Ell's avatar
      app: in GimpDial, add "clockwise-angles" property ... · 0c477564
      Ell authored
      ... and rename "clockwise" to "clockwise-delta"
      Add a boolean "clockwise-angles" property to GimpDial, which, when
      set, causes the dial legs' angles to be measured clockwise, rather
      than counter-clockwise.  The property is FALSE by default.
      Rename the "clockwise" property, which controls the direction of
      the measured delta between the two angles, to "clockwise-delta", to
      avoid confusion, and adapt the rest of the code.
  2. 11 Jul, 2018 1 commit
  3. 17 Jun, 2018 2 commits
  4. 05 Jun, 2018 2 commits
    • Ell's avatar
      app: add custom GUI for gegl:recursive-transform-plus · 99828a69
      Ell authored
      gegl:recursive-transform-plus is an extension of
      gegl:recursive-transform, allowing multiple transformations to be
      applied simultaneously; it will eventually be merged back into
      gegl:recursive-transform.  See GEGL commit
      The GUI uses the new TRANSFORM_GRIDS controller, allowing adding,
      duplicating, and removing transformations, and controlling them
      through on-canvas transform grids.
    • Ell's avatar
      app: add TRANSFORM_GRIDS propgui controller · 5e953ece
      Ell authored
      ... which is similar to the TRANSFORM_GRID controller, supporting
      multiple transformation matrices.
      Implement the TRANSFORM_GRIDS controller in GimpFilterTool, using
      the new GimpToolWidgetGroup to display multiple transform grids.
  5. 20 May, 2018 3 commits
  6. 04 May, 2018 1 commit
    • Ell's avatar
      app: fix propgui random seed generation · 07c81abf
      Ell authored
      After the switch of random-seed properties from INT to UINT, their
      upper bound results in a negative value when converted to a
      gint32, causing a CRITICAL in the call to g_random_int_range().
      Use g_random_double_range() instead, which has enough precision to
      accurately represent all values in the range, and round the result.
  7. 11 Apr, 2018 1 commit
  8. 10 Apr, 2018 2 commits
  9. 18 Mar, 2018 1 commit
    • Massimo Valentini's avatar
      Bug 791315: Using the Gaussian Blur filter twice (Re-Show)... · 16b0110f
      Massimo Valentini authored
      ...only remembers horizontal radius, duplicates it for vertical
      Keep a list of the GUI's chain buttons around. When changing the
      entire config object like on reset or selecting saved settings, unlik
      them all after remembering their "active" state, and after changing
      the settings activate the ones that were active before, but only if
      the values they link are still the same.
  10. 08 Mar, 2018 1 commit
  11. 03 Mar, 2018 1 commit
    • Jehan's avatar
      Bug 794023 - Bad/Double free bugs found by scan-build. · c9d9b553
      Jehan authored
      In case of error in gimp_prop_eval_parse_reference(), we were obviously
      freeing the string which had just been allocated by g_strdup(), not the
      pointer to this string.
      Thanks to Massimo for raising this issue.
  12. 01 Mar, 2018 2 commits
    • Ell's avatar
      app: add custom GUI for gegl:recursive-transform · 8039582d
      Ell authored
      gegl:recursive-transform applies a transformation recursively to
      an image.  The custom GUI allows controlling the transformation
      matrix using a transform-grid controller, added in the previous
    • Ell's avatar
      app: add transform-grid controller to prop-gui · 3985651d
      Ell authored
      ... which allows ops to create a transform-grid widget, similar to
      the unified-transform tool, which can be used to control a
      transformation matrix.
      Implement the transform-grid controller in GimpFilterTool.
  13. 21 Feb, 2018 1 commit
  14. 15 Feb, 2018 1 commit
    • Ell's avatar
      app: enable gegl:color-to-alpha custom GUI · 4190f400
      Ell authored
      gegl:color-to-alpha-plus was merged back to gegl:color-to-alpha in
      GEGL, so we can change the custom propgui constructor to refer to
      Remove the threshold-range compression toggle and logic, since the
      corresponding property was removed in GEGL.
  15. 05 Jan, 2018 2 commits
  16. 02 Jan, 2018 1 commit
  17. 02 Nov, 2017 1 commit
  18. 22 Oct, 2017 1 commit
    • Ell's avatar
      app: add compress-threshold-range prop to color-to-alpha-plus gui · 78aff4dd
      Ell authored
      When set, the opacity and transparenct threshold range is compressed
      to the minimal extent that would produce different results.
      When the property is toggled, update the opacity and transparency
      thresholds, such that the result remains the same.
  19. 16 Oct, 2017 2 commits
    • Ell's avatar
      app: add custom gui for gegl:color-to-alpha(-plus) · d4d8dbbc
      Ell authored
      Add a specialized propgui constructor for gegl:color-to-alpha-plus.
      This op is currently in the workshop, but is set to be merged with
      the existing gegl:color-to-alpha, so we omit the '-plus' from file-
      and function-names.
      The new op adds a pair of properties to control the radii, relative
      to the selected color, below which colors become fully transparent,
      and above which colors remain fully opaque.  Allow these properties
      to be set by picking a color from the image, and calculating the
      radius accordingly.
    • Ell's avatar
      app: allow specifying a callback function for propgui pickers · c5b88702
      Ell authored
      Allow propgui constructors to specify an (optional) callback function
      when creating pickers, to be called when a color/coordinate is picked,
      similarly to controller callbacks.
      Implement picker callback support in GimpFilterTool.  When the active
      picker has an associated callback function, call it instead of the
      class's color_picked() function.
      Add lots of "#include <gegl.h>" to .c files that miss it, which is
      now necessary, since this commit adds a Babl* parameter in
  20. 15 Oct, 2017 1 commit
  21. 09 Oct, 2017 1 commit
    • Ell's avatar
      app: add misc. parameters to GimpControllerSlider · dad521e3
      Ell authored
      Add parameters, controlling the behavior and appearance of sliders,
      to GimpControllerSlider.  The macro GIMP_CONTROLLER_SLIDER_DEFAULT
      expands to a nonmodifiable lvalue of type GimpControllerSlider,
      whose members are initialized with the most common default values.
      Handle the new parameters in GimpToolLine.  A slider using the new
      "autohide" mode is only visible when selected, or when the cursor
      is close enough to the line, between the slider's min and max
      values, and no other handle is grabbed or hovered-over.
  22. 30 Jul, 2017 2 commits
  23. 17 Jul, 2017 1 commit
  24. 16 Jul, 2017 2 commits
  25. 09 Jul, 2017 2 commits
  26. 04 Jul, 2017 1 commit
  27. 03 Jul, 2017 2 commits