1. 19 Jul, 2019 1 commit
  2. 09 Jul, 2019 1 commit
  3. 24 Jun, 2019 1 commit
  4. 12 Jun, 2019 2 commits
  5. 21 May, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fix popup palette in WinInk mode · ae31080a
      Dmitry Kazakov authored
      We should eat synthesized events more carefully in the popup
      palette. The events may come either to the triangle widget or
      to its parent widget, depending on the implementaiton. Therefore
      we use a special event filter for that (KisMouseClickEater).
      
      CCBUG:406668
      Ref T10935
      ae31080a
  6. 17 May, 2019 1 commit
    • Agata Cacko's avatar
      Fix saving to readonly location · aab493c1
      Agata Cacko authored
      This commit contains fixes that ensures that whatever the format
      the user is saving into, if the location they want to save to
      is readonly, the user will see an appropriate error message.
      aab493c1
  7. 16 May, 2019 1 commit
    • Tusooa Zhu's avatar
      Add a dialog to change the source of clone layers · e0dec404
      Tusooa Zhu authored
      This commit adds an action named `Set Copy From' to the context menu
      of the Layers Docker, if one or more clone layers are selected. The
      action pops up a dialog that can change the `Copy From' property of
      selected clone layers.
      
      The dialog previews the changes to these layers.
      If there is any change to the document when the dialog is open, the
      changes in the dialog will be applied and the dialog closed.
      e0dec404
  8. 03 May, 2019 1 commit
    • Boudewijn Rempt's avatar
      Remove the histogram dialog · e7ac33be
      Boudewijn Rempt authored
      The histogram dialog shows incorrect histograms, compared to the
      histogram docker. The histogram docker is also prettier and more
      clear.
      
      We do lose the ability to show histograms in diffrent colorspaces
      than the layer's colorspace, but that seems to be even more broken.
      
      We also cannot scale histograms for floating point colorspaces
      anymore, but that also seemed to be broken.
      e7ac33be
  9. 29 Apr, 2019 2 commits
  10. 24 Apr, 2019 1 commit
    • Kuntal  Majumder's avatar
      Add pixel snap mode to canvas · 6ed77027
      Kuntal Majumder authored
      This patch adds a Pixel snap mode to the global snapping menu.
      Pixel snapping is just snapping to every next pixel, think of it
      as Grid Snapping with a Grid of 1px width and 0px offset.
      
      BUG:390952
      
      Reviewed By: @dkazakov
      Reference : kde/krita!9
      6ed77027
  11. 17 Apr, 2019 2 commits
  12. 16 Apr, 2019 1 commit
    • Dmitry Kazakov's avatar
      Implement a dialog passing Qt forced tablet mapping · 71371bbc
      Dmitry Kazakov authored
      Go to Preferences->Tablet Settings->Wintab->Advanced...
      
      In the dialog one can select between modes:
      
      * Use information provided by tablet ---  we fetch the mapping
        from the tablet driver
      
      * Map to entire virtual screen --- default way how Qt handled it
        before
      
      * Map to custom area --- just map to the custom area of the screen
        in **hardware** (that is, unscaled) pixels.
      71371bbc
  13. 15 Mar, 2019 2 commits
  14. 11 Mar, 2019 1 commit
  15. 27 Feb, 2019 1 commit
    • Boudewijn Rempt's avatar
      Clean up the defaultdockers plugin · 6da7d1dd
      Boudewijn Rempt authored
      It only contained the layers docker, so rename it. This means that
      you need to remove the old defaultdockers plugin:
      
      ./lib/x86_64-linux-gnu/kritaplugins/kritadefaultdockers.so
      
      A number of classes that were only used by the layers docker are now
      moved into this plugin, out of libs/ui
      6da7d1dd
  16. 22 Feb, 2019 1 commit
    • Anna Medonosová's avatar
      Saving Mirror Tool state to KRA · 54d3dc15
      Anna Medonosová authored
      Summary:
      Saving Mirror Tool state to KRA file, wished for in bug 339515.
      
      BUG:339515
      
      Test Plan:
        - Set up mirror lines. Save, close and reopen. Expected result: the mirror lines and options should be automatically set and activated.
        - Open multiple files, with and without mirror lines. Expected result: Every open document should have separate configuration. Toolbar actions should affect only the currently active view.
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D18254
      54d3dc15
  17. 20 Feb, 2019 1 commit
    • Wolthera van Hövell's avatar
      Add a visual indicator to memory reporting. · 2baeb789
      Wolthera van Hövell authored
      This turns the memory reporting button into a slider that fills up with color
      as the memory usage increases.
      
      * From 0% to 20% it'll be the themes' highlight color.
      * From 20 to 40% it'll mix to turn towards a dark yellow.
      * From 40% to 80% it'll mix to turn towards a darker red.
      * From 80% onwards it'll be red.
      
      This should help less technical users determine whether their computer can handle what
      they're requesting it to do.
      
      CCMAIL:kimageshop@kde.org
      Differential Revision: https://phabricator.kde.org/D19167
      Ref T10368
      2baeb789
  18. 26 Jan, 2019 1 commit
    • Dmitry Kazakov's avatar
      Imeplemented automatic selection of a renderer and/or surface format · 6384d4aa
      Dmitry Kazakov authored
      This patch generalizes the thing previously implemented in kis_opengl_win
      by Alvin Wong long ago.
      
      The algorithm is based on two finctions: KisOpenGL::selectSurfaceFormat()
      and KisOpenGLModeProber::probeFormat(). The former one generates the full
      list of all possible renderer/format combinations, then sorts it according
      to user's preferences and HDR necessity, then probes every resulting format
      with the latter function. As soon as it finds a format that fits the
      requirements, it makes this format default for the root surface of the
      application.
      6384d4aa
  19. 28 Dec, 2018 1 commit
    • Andreas Sturmlechner's avatar
      Fix building against exiv2-0.27 · 6b6758bb
      Andreas Sturmlechner authored
      Summary:
      Copied FindLibExiv2.cmake from ECM 5.53.0 until we raise min version.
      
      Thanks-to: Boudewijn Rempt <boud@valdyas.org>
      for final fix to kis_xmp_io.cpp.
      
      CCBUG: 402566
      
      Test Plan: Built fine against exiv2-0.26 and exiv2-0.27.
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: pino
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D17810
      6b6758bb
  20. 21 Dec, 2018 2 commits
    • Dmitry Kazakov's avatar
      Save OCIO settings to the Krita configuration file · 9fdf930a
      Dmitry Kazakov authored
      The OCIO options usually describe user's display, so he is not
      expected to change it too often. The only exception is Input Color
      Space. Ideally, it should be saved somewhere in the document itself,
      but we are not going to implemnt it right now.
      9fdf930a
    • Dmitry Kazakov's avatar
      Implemented switching of the root surface color color space · be922ce0
      Dmitry Kazakov authored
      Notes:
      1) It is configured in Settings->Display->Root Surface Format
      2) Rec. 2020 surface doesn't fully work because the we cannot do ICC
         conversions with it
      3) One needs to restart Krita to get the surface type activated
      4) One can also get the properties of the current display in the
         tooltip of the display label in the preferences dialog.
      be922ce0
  21. 11 Dec, 2018 1 commit
    • Anna Medonosová's avatar
      Layer Styles UI: fix for angle selection, small UI tweaks · c099ae3e
      Anna Medonosová authored
      Summary:
      1, Fix for Bug 372169 - GUI angular control for Shadow light source shows incorrect angle (spinbox is correct)
      
      Adobe’s angle selection dial widget differs from QDial by 90 degrees. That creates the inconsistency between settings dialogs and layer effects. In this diff, angle selection is moved into dedicated widget, KisLayerStyleAngleSelector, which solves this problem for all layer style settings dialogs. Also lessens code duplication in this area.
      
      2, Label alignment unification with proper use of QFormLayout
      
      BUG: 372169
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D17134
      c099ae3e
  22. 29 Nov, 2018 1 commit
    • Boudewijn Rempt's avatar
      add a createActions method to KoToolFactoryBase · 5f91230f
      Boudewijn Rempt authored
      Actions created by a tool instance only exist if there's an open
      document, which means they cannot be configured or placed in
      toolbars. We should only have per-window actions, not per-action
      actions.
      
      Creating the actions in the toolfactory instead of the tool when
      the window is created fixes that: now the tools will retrieve
      the actions from the global action collection on activations
      and de-activation, like the freehand tool already did for increase
      and decrease brush size.
      
      Note: this commit breaks the following tools because it's not
      worth porting hidden tools in any case:
      
      * artistic text tool
      * odf text tool
      * connection tool
      
      BUG:365222
      
      CMAIL:kimageshop@kde.org
      5f91230f
  23. 14 Oct, 2018 1 commit
    • Emmet O'Neill's avatar
      Restored ability to pick colors from the Text Editor. · e9b382d7
      Emmet O'Neill authored
      Since the merging of the new palette branch, users lost the ability to
      pick colors from within the SVG Text Editor. This has been fixed.
      
      Also, a new parameter was added to the KisScreenColorPicker's
      constructor which allows the owning widget to control whether "color
      info labels" are shown or hidden.
      
      Finally, I did some minor cleanup of unused code and formatting.
      
      BUG:399586
      e9b382d7
  24. 12 Oct, 2018 1 commit
    • Boudewijn Rempt's avatar
      Remove the KIO dependency · c7133578
      Boudewijn Rempt authored
      I'm just sick and tired of people complaining krita needs "all of
      KDE" because some distributions pull in kwallet just because we
      use KIO for registering recently used files with the desktop.
      c7133578
  25. 10 Oct, 2018 1 commit
    • Eoin O'Neill's avatar
      Global Kinetic Scrolling Added · 49da9070
      Eoin O'Neill authored
      This patch takes the concept of Kinetic Scrolling and
      exapands it, applying it uniformly across Krita's UI.
      It also adds middle click as a kinetic scroll option
      which is set as default, to keep consistency with the
      canvas view (middle click pan.) Also added more
      configuration file settings for extra kinetic scrolling
      feel modifications.
      49da9070
  26. 05 Oct, 2018 2 commits
  27. 03 Oct, 2018 1 commit
  28. 02 Oct, 2018 1 commit
    • Anna Medonosová's avatar
      Gamut masking: mask rotation, advanced selector, tweaks · 5120b702
      Anna Medonosová authored
      Summary:
      This diff includes:
        - implementation for the advanced color selector (T9643),
        - common gamut masking toolbar for both advanced and artistic selectors (M135, M136),
        - mask rotation (as defined in T9642).
      
      There are also some minor tweaks:
        - adaptive highlight of selected swatches - dark when the selected color is light, light when the selected color is dark;
        - gamut mask preview while editing is always on;
        - the blip in the artistic color selector is always on;
        - the text size of the comparative gray scale in the artistic selector is computed so it fits inside the rectangles.
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt, kamathraghavendra, lsegovia, scottpetrovic
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D15860
      5120b702
  29. 17 Sep, 2018 2 commits
  30. 13 Sep, 2018 1 commit
  31. 09 Sep, 2018 1 commit
    • Dmitry Kazakov's avatar
      FEATURE: actions for rotate/scale/mirror/shear selection · 3014d62c
      Dmitry Kazakov authored
      Now Rotate/Scale/Mirror/Shear Layer actions also support
      handling a selection. If there is a selection active, then
      the action will transform selected content only.
      
      Now there are also 8 new actions, that will rotate/scale/
      mirror/shear *all* layers without resizing the image. These
      actions can also handle selections.
      
      Animation Note:
      
      * when no selection present, the actions transform *all*
        the frames of the layers in question
      
      * when there is a selection active, only current frame
        is transformed
      
      BUG:365595
      Ref T3920
      CC:kimageshop@kde.org
      3014d62c
  32. 07 Sep, 2018 1 commit
  33. 03 Sep, 2018 1 commit