1. 16 Apr, 2019 2 commits
    • Dmitry Kazakov's avatar
      Fix setting custom tablet mapping · 9cf5c866
      Dmitry Kazakov authored
      1) Fix support for negative offsets
      2) The setting is applied right after pressing OK in the
         configuration dialog
      3) Qt fetches this updated info after tablet proximity leave/enter
         cycle.
      9cf5c866
    • 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
  2. 10 Apr, 2019 1 commit
  3. 03 Apr, 2019 1 commit
  4. 27 Mar, 2019 1 commit
  5. 25 Mar, 2019 1 commit
  6. 17 Mar, 2019 1 commit
  7. 15 Mar, 2019 3 commits
  8. 13 Mar, 2019 2 commits
  9. 12 Mar, 2019 1 commit
  10. 11 Mar, 2019 1 commit
  11. 10 Mar, 2019 1 commit
  12. 07 Mar, 2019 1 commit
    • Wolthera van Hövell's avatar
      Restore icon for tag-dropdown in pop-up palette. · c2fbec1f
      Wolthera van Hövell authored
      While I am at it, I've replaced it with the breeze tag icon, as the
      settings icon did not much make sense since it was replaced from a wrench
      to it's current mini representation of an image window.
      
      Also chose the 16x16 version of this as it's easier to read.
      c2fbec1f
  13. 06 Mar, 2019 2 commits
    • Boudewijn Rempt's avatar
      77d6cd8e
    • Eoin O'Neill's avatar
      Feature: Simplex Noise Generator · 7be5c3c2
      Eoin O'Neill authored
      Using a fill layer, you can now generate a simplex gradient noise texture. This noise can be looped seamlessly, distorted in two dimensions, and given a string of text to use as an optional custom seed value.
      
      This new generator plugin makes use of a C port of Kurt Spencer's
      permissive, open source, and patent-free OpenSimplex noise implementation.
      
      If no custom seed string is given, a seed number will be chosen
      randomly.
      
      In order to achieve seamless looping without distortion we generate
      noise in 4-dimensions, and sample each pixel from a toroidal
      (doughnut-shaped) pattern. In order to keep the look of the noise
      consistent between looping and non-looping modes, both are sampled from
      4-dimensions.
      
      - Eoin and Emmet O'Neill.
      7be5c3c2
  14. 01 Mar, 2019 1 commit
  15. 28 Feb, 2019 1 commit
  16. 26 Feb, 2019 1 commit
    • Dmitry Kazakov's avatar
      Refactor Animation Export rendering code and HDR video support · 06bec48f
      Dmitry Kazakov authored
      1) Remove 'video' impex plugin. Now the exporting classes are built in
         into animationrenderer plugin. It allows us not to pass the options
         via untyped KisPropertiesConfiguration, but via a type-safe and
         compiler-tracked KisAnimationRenderingOptions.
      
      2) Add options for configuring HDR video encoding with HEVC (H265) codec
      
      3) When HDR video option is activated, then PNG export filter is automatically
         forced to output HDR PNG files (see a hack in DlgAnimationRenderer::
         getFrameExportFilterConfiguration())
      
      4) !!! Rendering dialog now supports relative paths for video and frame
         export locations. As a base it uses either document location, or the
         location of animation/frames, if it is present and absolute.
      06bec48f
  17. 22 Feb, 2019 1 commit
  18. 18 Feb, 2019 1 commit
    • Nate Graham's avatar
      Be the top handler for .kra files by default · 5997c73c
      Nate Graham authored
      Summary:
      Currently, if there are any other apps installed that can open .kra files, and they
      have the `InitialPreference` value set in their .desktop file, they will open .kra
      files by default instead of Krita. This is non-ideal.
      
      This patch sets the `InitialPreference` value in Krita's own .desktop file high
      enough that it will always be the default first handler for .kra files.
      
      CCBUG: 337272
      
      Test Plan:
      - Apply the patch and then this one for Gwenview: D19121
      - Rebuild and install both apps
      - Run `sudo update-desktop-database`
      - Right-click on a .kra file in Dolphin. Krita shows up as the top app to open it, with Gwenview showing up in the "Open With" menu
      
      Reviewers: #krita, rempt
      
      Reviewed By: #krita, rempt
      
      Subscribers: rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D19120
      5997c73c
  19. 15 Feb, 2019 1 commit
  20. 05 Feb, 2019 1 commit
    • Boudewijn Rempt's avatar
      Add usage logging to the buginfo dialog · caebac3e
      Boudewijn Rempt authored
      We can now log important events to a krita.log file. It is completely
      independent of qDebug, and only meant for those actions that we know
      users often get wrong or have problems with. Right now, it logs
      creating, loading, exporting and saving a file, and switching between
      the smoothing options.
      
      The krita.log file is NOT automatically uploaded or shared or anything
      like that. The header that explains this is translated so users can
      see that for themselves.
      
      We rotate 10 sessions in the log file, so even if the user starts Krita
      a few times after having a problem, we should still be able to review
      the problematical session.
      
      The logging api is pretty simple: a static KisUsageLogger::log method
      that writes a timestamp, and a KisUsageLogger::write method that writes
      an informational line without a timestamp.
      
      Note that the logger is created and torn down in the main function:
      this means that the location is GenericDataLocation, not AppDataLocation.
      
      CCMAIL:kimageshop@kde.org
      caebac3e
  21. 04 Feb, 2019 1 commit
  22. 29 Jan, 2019 1 commit
    • Dmitry Kazakov's avatar
      Make HDR code build on systems where patched Qt is not available · 4d345627
      Dmitry Kazakov authored
      You need to add -DHAVE_HDR to enable HDR-related code. But
      you will need a patched Qt for that.
      
      The patch also makes the code behave correctly on Linux
      systems.
      
      PS:
      The patch also makes it possible to select OpenGL ES renderer
      on Linux. The renderer is selected fine, but doesn't work for
      some reason. I guess some texture format is set incorrectly.
      4d345627
  23. 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
  24. 20 Jan, 2019 1 commit
  25. 16 Jan, 2019 1 commit
  26. 15 Jan, 2019 1 commit
  27. 07 Jan, 2019 3 commits
  28. 28 Dec, 2018 1 commit
  29. 24 Dec, 2018 2 commits
  30. 21 Dec, 2018 1 commit
    • 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
  31. 07 Dec, 2018 2 commits