1. 23 May, 2018 1 commit
    • Michael Natterer's avatar
      app: fix drawing of the canvas padding color · b33c6bc0
      Michael Natterer authored
      Remove all clipping hacks for drawing the canvas background, turns out
      they never worked and we were relying on the pattern set on the
      window, gah!
      
      Also remove deprecated attempts to get a backgroud color and simply
      don't show a color box in the menus for "from theme" cases.
      b33c6bc0
  2. 20 May, 2018 5 commits
  3. 19 May, 2018 1 commit
  4. 06 May, 2018 2 commits
  5. 01 May, 2018 1 commit
    • Jehan's avatar
      app: popup error at startup when some fonts fail to load. · e796e3a5
      Jehan authored
      As proposed on IRC. This will allow people to debug their fonts (for
      instance when there are permission issues or whatnot) by knowing the
      list of problematic fonts in an error dialog at startup (and not only on
      terminal).
      e796e3a5
  6. 25 Apr, 2018 1 commit
  7. 24 Apr, 2018 1 commit
  8. 22 Apr, 2018 1 commit
  9. 18 Apr, 2018 1 commit
  10. 13 Apr, 2018 1 commit
  11. 10 Apr, 2018 1 commit
    • Michael Natterer's avatar
      Bug 791519 - Unexpected selection from channel · 3f95dc52
      Michael Natterer authored
      Make sure a channel -> selection -> channel roundtrip never does any
      gamma conversion.
      
      In gimp_channel_duplicate(), make sure a created channel has the
      right format, and the right data. Fixes selection -> channel.
      
      When switching off quick mask, call gimp_item_to_selection() instead
      if gimp_selection_load(), the latter was implementing a shortcut which
      is now wrong.
      
      Remove gimp_selection_load() which is now unused.
      
      Unrelated: also remove gimp_selection_save(), it was an obvious
      3-liner used only twice.
      3f95dc52
  12. 08 Apr, 2018 1 commit
  13. 02 Apr, 2018 1 commit
  14. 01 Apr, 2018 2 commits
  15. 29 Mar, 2018 1 commit
    • Ell's avatar
      app: add --show-debug-menu command-line option · 53c145c0
      Ell authored
      The debug menu is currently not included in stable versions.
      
      Include the menu unconditionally, but hide it, and its associated
      actions, by default in stable versions.  Allow enabling the menu
      using a new --show-debug-menu command-line option, in the same vein
      as --show-playground.
      53c145c0
  16. 25 Mar, 2018 1 commit
    • Michael Natterer's avatar
      Bug 794469 - Shift-click to create layer/channel/path... · 1b623a99
      Michael Natterer authored
      ...should really use last values
      
      When creating a layer or channel "from last values", really use the
      values last set be the user in the respective dialogs. In particular,
      don't use properties of the active layer or channel. I have no idea
      what we were thinking when adding that obscure logic.
      1b623a99
  17. 24 Mar, 2018 1 commit
    • Ell's avatar
      app: fix paste-in-place when pasting over a layer group/locked item · 8f07d767
      Ell authored
      When pasting in place over a layer group or a content-locked item,
      change the paste type to NEW_LAYER_IN_PLACE, rather than NEW_LAYER,
      so that the new layer is still pasted in the right location.
      
      Additionally, avoid showing the "Pasted as new layer because ..."
      message when pasting over a layer group or a content-locked item,
      when the paste type is NEW_LAYER[_IN_PLACE] to begin with.
      8f07d767
  18. 23 Mar, 2018 1 commit
  19. 14 Mar, 2018 1 commit
    • Ell's avatar
      app, pdb, libgimp, plug-ins, menus: rename layer composite modes · a7f3a2dd
      Ell authored
      Our composite modes don't correspond directly to the Porter-Duff
      operators after which they're named, and these names aren't too
      descriptive anyway.
      
      Rename the composite modes as follows:
      
        Source Over       =>  Union
        Source Atop       =>  Clip to Backdrop
        Destination Atop  =>  Clip to Layer
        Source In         =>  Intersection
      
      Update relevant code, including UI text, enumerator names, function
      names, and action names.
      a7f3a2dd
  20. 05 Feb, 2018 1 commit
    • Ell's avatar
      Bug 51112 - Support layer masks on layer groups · 36dec4e6
      Ell authored
      Add layer-mask support for group layers.  Group-layer masks work
      similarly to ordinary-layer masks, with the following
      considerations:
      
      The group's mask size is the same as group's size (i.e., the
      bounding box of its children) at all times.  When the group's size
      changes, the mask is cropped to the new size -- areas of the mask
      that fall outside of the new bounds are discarded and their data is
      lost (sans undo), and newly added areas are filled with black (and
      hence are transparent by default).
      
      The new gimp_group_layer_{suspend,resume}_mask() functions can be
      used to modify this behavior.  Between the outermost pair of
      suspend/resume calls, the old mask data is remembered, and is used
      to fill the newly added areas while cropping the mask when the
      group is resized.  We override GimpItem::{start,end}_move() for
      GimpLayer, to call these functions (suspend() in start_move(), and
      resume() in end_move()) for each of the layer's ancestors.
      
      As a result, while moving a layer, or a set of layers, atomically,
      such as while dragging with the move tool, or moving linked layers,
      the ancestors' mask data is not lost, and is only discarded at the
      end of the operation.
      
      This commit also takes care of properly handling undo for group-
      layer mask crops, properly invalidating the image when the group
      layer's mask is shown, and enabling the mask actions for group
      layers (obviously :).
      36dec4e6
  21. 01 Feb, 2018 1 commit
  22. 21 Jan, 2018 1 commit
  23. 15 Jan, 2018 1 commit
  24. 14 Jan, 2018 1 commit
    • Michael Natterer's avatar
      Bug 792470 - Some filters e.g. "Levels" are not added to "Repeat last" history · b23f231a
      Michael Natterer authored
      The four remaining "classic" color tools (Brightness-Contrast, Curves,
      Levels and Threshold) are in fact just special UIs for otherwise
      completely normal filter ops.
      
      Add normal filter actions for them and invoke them like all
      other filters, which makes them show up in the filter history
      automatically.
      
      The only small hack needed is to special case them in
      gimp_gegl_procedure_execute_async() so the right tools are created
      instead of the default GimpOperationTool. Also, blacklist the
      automatically generated tools actions from action search and the
      shortcut editor.
      b23f231a
  25. 10 Jan, 2018 1 commit
  26. 05 Jan, 2018 4 commits
  27. 02 Jan, 2018 1 commit
    • Michael Natterer's avatar
      Bug 790002 - Remember last-used "Select color profile from disk" location · 135f58d3
      Michael Natterer authored
      Add "color-profile-path" to GimpDialogConfig to remember the last-used
      path in any profile chooser dialog.
      
      Whenever a GimpColorProfileChooserDialog is created, call a new
      gimpwidgets-utils helper function that connects to the dialog's "show"
      and "response" signals and makes sure "color-profile-path" is set on
      the dialog if it doesn't have a current folder already, and sets the
      property back to the config object when a profile was actually chosen
      from disk.
      135f58d3
  28. 30 Dec, 2017 1 commit
    • Ell's avatar
      app: various GimpDashboard improvements · ee418191
      Ell authored
      Refactor GimpDashboard to autogenerate the UI based on a
      description of the different variables, fields, and groups.
      
      Allow individual groups to be expanded/collapsed, and individual
      fields to be enabled/disabled.  Save the relevant state in the
      dashboard's aux-info.
      
      Add fields for the new GeglStats properties, as per GEGL commit
      25c39ce6c9bb618f06ac96d118e624be66464d74.  The new fields are not
      enabled by default.
      
      Add "reset" action, to clear the history, and reset cumulative
      data.
      ee418191
  29. 28 Dec, 2017 1 commit
  30. 27 Dec, 2017 2 commits