1. 06 Jun, 2019 1 commit
  2. 27 May, 2019 2 commits
  3. 17 May, 2019 2 commits
  4. 16 May, 2019 2 commits
  5. 11 May, 2019 1 commit
  6. 06 May, 2019 1 commit
  7. 19 Apr, 2019 1 commit
  8. 18 Apr, 2019 1 commit
    • Alvin Wong's avatar
      Fix fullscreen mode on Windows with OpenGL · e83e8779
      Alvin Wong authored
      A previous attempt was made in D1977 [1] but it didn't work properly.
      The patch `0003-Hack-for-fullscreen-workaround.patch` only partly hid
      the issue and the issue has resurfaced since this patch was removed.
      
      This commit actually enables Qt's workaround with an additional patch
      from Qt 5.13 [2]. The workaround adds a 1px border around the window. An
      additional hack is added to hide three of the borders, though we can't
      hide all four borders since the bug will return. This currently leaves
      the bottom border visible as a compromise.
      
      This workaround is not active when ANGLE is being used. If anyone is
      annoyed by the 1px border, they may consider switching to ANGLE.
      
      [1]: https://phabricator.kde.org/D1977
      [2]: https://codereview.qt-project.org/246155
      
      Differential Revision: https://phabricator.kde.org/D20657
      e83e8779
  9. 04 Apr, 2019 2 commits
    • Dmitry Kazakov's avatar
    • Alvin Wong's avatar
      Make Windows build create thin archives when linking · f3858d11
      Alvin Wong authored
      This makes the Windows build create thin archives when linking the
      binaries to reduce the amount of redundant writes to disk when building.
      
      With a normal clean build, the size of the build directory has reduced
      by 2GB.
      
      When I tested building on a RAM-based filesystem, the clean build time
      is reduced from 52 minutes to 50. The result could be more significant
      on SSD/HDD.
      
      (Above data does not include building the deps.)
      
      Note: If you encountered build errors, you may need to do a clean
      rebuild. This is only for Windows.
      
      CCMAIL: kimageshop@kde.org
      f3858d11
  10. 03 Apr, 2019 1 commit
  11. 30 Mar, 2019 1 commit
  12. 20 Mar, 2019 1 commit
  13. 18 Mar, 2019 1 commit
  14. 16 Mar, 2019 1 commit
  15. 15 Mar, 2019 1 commit
  16. 11 Mar, 2019 1 commit
  17. 05 Mar, 2019 1 commit
  18. 21 Feb, 2019 1 commit
  19. 07 Feb, 2019 1 commit
  20. 06 Feb, 2019 1 commit
  21. 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
  22. 23 Jan, 2019 2 commits
  23. 15 Jan, 2019 1 commit
  24. 09 Jan, 2019 1 commit
    • Dmitry Kazakov's avatar
      Revert "Add a CMake option for ASAN address sanitizer" · 69392e7b
      Dmitry Kazakov authored
      This reverts commit 05762b6e.
      
      Instead we should use options provided by ECMEnableSanitizers
      
      Short manual:
      ```
      cmake -DECM_ENABLE_SANITIZERS='address' .
      make -j8 install
      
      sudo apt list 'libllvm*'
      
      sudo apt install llvm-X.X # where X.X is a version of libllvm package
      
      export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-X.X # where X.X is the verison of your llvm
      export ASAN_OPTIONS=fast_unwind_on_malloc=1:symbolize=1:malloc_context_size=15
      ```
      69392e7b
  25. 07 Jan, 2019 1 commit
    • Dmitry Kazakov's avatar
      Add a CMake option for ASAN address sanitizer · 05762b6e
      Dmitry Kazakov authored
      Summary:
      To activate sanitizer you should activate three options (it will cause
      a full rebuild):
      
      -DCMAKE_BUILD_TYPE=Debug \
      -DKRITA_DEVS=ON \
      -DKRITA_DEVS_SANITIZER
      
      After that, yiou should install llvm to get pretty
      backtrace output with resolved symbols:
      
      # find out the version of llvm installed
      sudo apt list 'libllvm*'
      
      # install the corresponding llvm binaries
      sudo apt install llvm-X.X # where X.X is a version of libllvm package
      
      export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-X.X # where X.X is the verison of your llvm
      export ASAN_OPTIONS=fast_unwind_on_malloc=1:symbolize=1:malloc_context_size=15
      
      Test Plan:
      Compile Krita and try to make it crash with a memory problem. Instead
      of failing with SIGSEGV it should crash with ASAN backtrace :)
      
      Reviewers: #krita, rempt
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D17853
      05762b6e
  26. 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
  27. 21 Oct, 2018 1 commit
  28. 20 Oct, 2018 1 commit
  29. 17 Oct, 2018 1 commit
  30. 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
  31. 05 Oct, 2018 1 commit
  32. 27 Jul, 2018 2 commits
  33. 25 Jul, 2018 1 commit
    • Boudewijn Rempt's avatar
      Replace the KritaDevs build type with a cmake option · 01b24dd6
      Boudewijn Rempt authored
      Qt5's cmake scripts check the build type, and for anything other
      than Debug append -DQT_NO_DEBUG, which disables Q_ASSERT. We
      want to build with optimizations (-O3 -g) and without QT_NO_DEBUG
      when developing Krita, so we catch the asserts and still have
      a realistic performance.
      
      CCMAIL:kimageshop@kde.org
      01b24dd6
  34. 17 Jul, 2018 1 commit