1. 20 Sep, 2017 2 commits
  2. 19 Sep, 2017 11 commits
  3. 18 Sep, 2017 6 commits
  4. 17 Sep, 2017 2 commits
  5. 16 Sep, 2017 2 commits
  6. 15 Sep, 2017 2 commits
  7. 14 Sep, 2017 2 commits
    • Halla Rempt's avatar
      Fix build · c2da0cf5
      Halla Rempt authored
      c2da0cf5
    • Dmitry Kazakov's avatar
      Fix two update bugs in KisFileLayer · 70dfc342
      Dmitry Kazakov authored
      1) When two cloned images access the same file, destroying one
         of the images should not disconnect the file from the file watcher
      2) When using QSaveFile the file is not written into, but overwritten
         by copying into. Therefore we should try to reconnect the watcher
         on each change.
      70dfc342
  8. 12 Sep, 2017 3 commits
    • Wolthera van Hövell's avatar
      BUG:378147 Fix reloading file layers twice. · ce183f50
      Wolthera van Hövell authored
      Basically, this was caused by the backups.
      Krita handles backups by saying "ok, you, old file, rename to backup,
      and new file, you become the url of old file". This renaming is what
      signals QFileSystemWatcher, and because it is a rename, it removes it
      from the list of watched files.
      
      So what we do is that when we get our change in, we check if the file
      exists and is still being watched, and if so we readd it.
      ce183f50
    • Alvin Wong's avatar
      Merge branch 'alvin/T6976-angle-3.3' into krita/3.3 · 5bcb3b2d
      Alvin Wong authored
      This adds canvas rendering with Direct3D11 via ANGLE on Windows.
      
      ANGLE is a library which translates OpenGL ES rendering functions to
      other hardware rendering APIs, including Direct3D. It is supported by
      the Windows build of Qt.
      
      This aims to improve the compatibility of the OpenGL canvas with buggy
      Windows Intel drivers by allowing the use of the Direct3D11 rendering
      backend of ANGLE.
      
      Krita can still be used with a Qt build without dynamic OpenGL support,
      but it will only be able to use native desktop OpenGL. To enable ANGLE,
      `ext_qt` will need to be rebuilt. `ext_qt` target on Windows is also
      upgraded to Qt 5.9.1, and to build it with ANGLE properly one would need
      to use mingw-w64 7.1 and have Windows 10 SDK installed.
      
      CCMAIL: kimageshop@kde.org
      CCBUG: 360601
      Maniphest Tasks: T5883, T6696, T6728, T6976
      5bcb3b2d
    • Alvin Wong's avatar
      Fix the canvas popup palette under WinInk for real · 17e2cf0b
      Alvin Wong authored
      I don't really know what is accepting the tablet event but this does
      work.
      
      Maniphest Tasks: T6807
      17e2cf0b
  9. 11 Sep, 2017 3 commits
  10. 10 Sep, 2017 7 commits
    • Alvin Wong's avatar
      Add Qt ANGLE notes to 3rdparty/README.md · 7c74566f
      Alvin Wong authored
      7c74566f
    • Alvin Wong's avatar
    • Alvin Wong's avatar
      Make ANGLE optional in ext_qt (Windows) · 8d4e0387
      Alvin Wong authored
      (cherry picked from commit 079e5e15)
      8d4e0387
    • Alvin Wong's avatar
      Backport ANGLE support from 'alvin/T6696-opengl-angle' · 19b5a72d
      Alvin Wong authored
      Squashed commit of the following:
      
      commit a90fb13b
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Sep 10 22:13:45 2017 +0800
      
          Fix build outside of Windows again
      
      commit 950ef85b
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Sep 10 22:04:22 2017 +0800
      
          Fix build outside of Windows
      
      commit 932a2515
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Sep 10 21:51:23 2017 +0800
      
          Enable ANGLE and add config options (Windows)
      
      commit 1808e90e
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Sep 10 01:58:41 2017 +0800
      
          Add additional Windows OpenGL checking
      
      commit bc059b74
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sat Sep 9 22:10:33 2017 +0800
      
          Refactor OpenGL checking code
      
      commit 58033f21
      Merge: 0ee46367 91be0979
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Fri Sep 8 22:51:44 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 0ee46367
      Author: Boudewijn Rempt <boud@valdyas.org>
      Date:   Thu Aug 24 15:11:20 2017 +0200
      
          Fix check for opengl
      
      commit a3e07836
      Merge: ba26bfb3 6ddc5109
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sat Aug 19 17:57:06 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit ba26bfb3
      Merge: b761e0ec cb324d59
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 20:57:04 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit b761e0ec
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 20:23:44 2017 +0800
      
          Add comment explaining OpenGLES-specific code
      
      commit 81687795
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 19:23:31 2017 +0800
      
          Add call to GL_BLEND after use
      
      commit d3056322
      Merge: f89ad0a2 dbbbb67f
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 19:21:03 2017 +0800
      
          Merge branch 'alvin/logging-capture' into alvin/T6696-opengl-angle
      
      commit dbbbb67f
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 19:09:31 2017 +0800
      
          Change foreach to Q_FOREACH
      
      commit f89ad0a2
      Merge: 8133eb46 19de1d3f
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 00:54:19 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 8133eb46
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 00:41:53 2017 +0800
      
          Force ANGLE to use D3D11
      
          We need OpenGL ES 3 so D3D9 is unsupported. WARP weirdly get crashes on
          my environment so it'll be disabled for now until we decide to update
          the version of ANGLE used with Qt 5.9.x.
      
          Maniphest Tasks: T6696
      
      commit 6f0b9df3
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 15 00:23:10 2017 +0800
      
          Add log capturing of QPA OpenGL check for diag on Windows
      
          We want to log the checking done by the OpenGL testing, buglist
          application, and the GpuDescription detail for adding to buglist if
          needed. The captured log is also available in the system info dialog.
      
          Maniphest Tasks: T6760, T6696
      
      commit 56647b4f
      Merge: e3b45ab7 9ae556ff
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Aug 14 03:03:28 2017 +0800
      
          Merge branch 'alvin/logging-capture' into alvin/T6696-opengl-angle
      
      commit 9ae556ff
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Aug 14 00:57:08 2017 +0800
      
          Add missing license headers
      
      commit e3b45ab7
      Merge: fda0af0e 26e43cd8
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Aug 14 00:45:12 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 278cc34f
      Merge: 221f6415 26e43cd8
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Aug 14 00:36:12 2017 +0800
      
          Merge branch 'master' into alvin/logging-capture
      
      commit 221f6415
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Aug 14 00:11:15 2017 +0800
      
          Add KisLoggingManager for capturing log messages
      
          This class is mainly for capturing log messages from the Qt logging
          infrastructure (QLoggingCategory and qDebug etc.) for providing
          diagnostics information for use in bug report and showing them in the UI
          for convenience. For its limited use at the moment, this class is not
          made to be thread-safe in any sense.
      
          It can be extended in the future for more use, though it should be made
          thread-safe for any more complex tasks.
      
      commit fda0af0e
      Merge: 8a3f6805 2d1edd4e
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Fri Aug 11 23:13:21 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 8a3f6805
      Merge: 6f077eed 281c44b3
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Fri Aug 11 03:10:12 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 6f077eed
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Fri Aug 11 03:03:29 2017 +0800
      
          Add texture format fallback for OpenGL ES 3
      
          This uses texture swizzle mask to swap the red and blue channels if the
          implementation does not support GL_EXT_texture_format_BGRA8888.
      
      commit 8c2d0478
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Thu Aug 10 01:02:25 2017 +0800
      
          Change texture formats used with OpenGL ES 3
      
          This removes the use of certain formats that could crash when OpenEXR is
          not present. The modified code also does not work with OpenGL ES 3
          implementations without GL_EXT_texture_format_BGRA8888 support with
          certain image formats. Instead, a safe assert will trigger and the image
          will be rendered with the red and blue channels swapped.
      
          Maniphest Tasks: T6696
      
      commit 1452ed52
      Merge: 7be63a5b dc6cd471
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Wed Aug 9 16:39:17 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 7be63a5b
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Aug 6 22:33:21 2017 +0800
      
          Enable qt.qpa.gl logging on Windows
      
          Maniphest Tasks: T6696
      
      commit 82ef9261
      Merge: 5a6dd916 30353b4d
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sun Aug 6 00:49:08 2017 +0800
      
          Merge branch 'master' into alvin/T6696-opengl-angle
      
      commit 5a6dd916
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Sat Aug 5 04:25:58 2017 +0800
      
          Use blending to paint brush outline on OpenGL ES 3
      
          Maniphest Tasks: T6696
      
      commit 63ceca75
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Thu Aug 3 23:04:13 2017 +0800
      
          Call QSurfaceFormat::setDefaultFormat only once
      
          In theory, as long as it's set before QApplication is created and not
          changed after that there should be no problem. However Qt outputs a
          warning even if it's called with the same arguments. We should reduce
          logging noise.
      
      commit c8b2d7a2
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Thu Aug 3 12:00:09 2017 +0800
      
          Patch Qt for building ANGLE with mingw-w64 7.1 and Windows 10 SDK
      
          Maniphest Tasks: T6696
      
      commit f7a46a46
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 1 21:44:45 2017 +0800
      
          Patch Qt qopengldebug.cpp to fix crash with ANGLE
      
          Maniphest Tasks: T6696
      
      commit 5b2cc36b
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Wed Aug 2 16:41:29 2017 +0800
      
          Use texture formats supported by OpenGL ES 3
      
          Maniphest Tasks: T6696
      
      commit d7180793
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 1 03:41:22 2017 +0800
      
          Disable unsupported functions on OpenGL ES 3
      
          Maniphest Tasks: T6696
      
      commit a19df1a8
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Tue Aug 1 01:21:02 2017 +0800
      
          Support OpenGL ES 3 shaders
      
          Maniphest Tasks: T6696
      
      commit f8585d24
      Author: Alvin Wong <alvinhochun@gmail.com>
      Date:   Mon Jul 31 02:04:51 2017 +0800
      
          Enable dynamic OpenGL for Windows Qt and build ANGLE
      
          Maniphest Tasks: T6696
      19b5a72d
    • Alvin Wong's avatar
      Set logging default severity to avoid calling QLoggingCategory::setFilterRules · 8a31ece5
      Alvin Wong authored
      (cherry picked from commit acdc2d01)
      8a31ece5
    • Alvin Wong's avatar
      Update Windows build steps to use mingw-w64 7.1 · 46ea9a43
      Alvin Wong authored
      Also removed the obsolete dlltool steps for the Windows build.
      
      (cherry picked from commit d9f8f53a)
      46ea9a43
    • Alvin Wong's avatar
      Add option to build Qt with debug info · da71d243
      Alvin Wong authored
      (cherry picked from commit 207791f3)
      da71d243