1. 05 Jul, 2019 7 commits
    • Boudewijn Rempt's avatar
      Also fix the timeline_model_test · c1981cf4
      Boudewijn Rempt authored
      c1981cf4
    • Boudewijn Rempt's avatar
      "Fix" kisNodeModelTest · 90a2de3c
      Boudewijn Rempt authored
      The KisNodeModelTest didn't set the image it was testing with on
      the document. This broke in KisShapeController::setImage(KisImageWSP image),
      which cleared all connections, then didn't use the image parameter
      but the local doc's image object (which is 0) to reconnect the signals/slots,
      and which then crashed in KisShapeController::slotUpdateDocumentResolution(),
      where the image would still be 0.
      
      Howewever, the question is: should this function even have this parameter?
      If so, should the image then be set on the doc? Should this function even
      exist since it makes it possible to have a local m_doc->image() that is
      different from the image parameter?
      
      There are still a bunch of warnings, too.
      
      boud@boud-ThinkPad-T470p:~/dev/b-krita/libs/ui/tests$ ./kis_node_model_test
      ********* Start testing of KisNodeModelTest *********
      Config: Using QtTest library 5.12.3, Qt 5.12.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.4.0)
      PASS   : KisNodeModelTest::initTestCase()
      QWARN  : KisNodeModelTest::testSetImage() KoColor debug runtime checks are active.
      PASS   : KisNodeModelTest::testSetImage()
      QWARN  : KisNodeModelTest::testAddNode() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testAddNode() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testAddNode() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testAddNode() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testAddNode() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      PASS   : KisNodeModelTest::testAddNode()
      QWARN  : KisNodeModelTest::testRemoveAllNodes() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveAllNodes() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveAllNodes() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveAllNodes() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveAllNodes() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      PASS   : KisNodeModelTest::testRemoveAllNodes()
      QWARN  : KisNodeModelTest::testRemoveIncludingRoot() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveIncludingRoot() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveIncludingRoot() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveIncludingRoot() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      QWARN  : KisNodeModelTest::testRemoveIncludingRoot() SAFE ASSERT (krita): "!newNode->parent()" in file /home/boud/dev/krita/libs/image/kis_node.cpp, line 500
      PASS   : KisNodeModelTest::testRemoveIncludingRoot()
      PASS   : KisNodeModelTest::cleanupTestCase()
      Totals: 6 passed, 0 failed, 0 skipped, 0 blacklisted, 1597ms
      ********* Finished testing of KisNodeModelTest *********
      90a2de3c
    • Dmitry Kazakov's avatar
    • Dmitry Kazakov's avatar
    • Wolthera van Hövell's avatar
      Fix assert with palettize filter and multi-group palettes. · 847af4a6
      Wolthera van Hövell authored
      This was not a good use of an assert, especially as there was no
      way to check if the swatch is there without having access to the group,
      which is also what this function searches for...
      847af4a6
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · 9a4294b9
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      9a4294b9
    • Script Kiddy's avatar
      GIT_SILENT made messages (after extraction) · c01d3caa
      Script Kiddy authored
      c01d3caa
  2. 04 Jul, 2019 4 commits
  3. 03 Jul, 2019 1 commit
    • Dmitry Kazakov's avatar
      Implement "Software Renderer" option for OpenGL engine · b3484aa8
      Dmitry Kazakov authored
      On old GPUs that support D3D<=10.0 we cannot use Angle for emulating
      openGL, therefore we should use some software implementation (or try
      using D3D9 with its openGLES 2.0). This patch adds an option to select
      software rasterizer WARP, created by Microsoft, which is a part of
      DirectX 11 and should be avaailable on all system with Windows 7 and
      newer.
      
      CCBUG:408872
      b3484aa8
  4. 02 Jul, 2019 2 commits
  5. 01 Jul, 2019 1 commit
  6. 28 Jun, 2019 8 commits
  7. 27 Jun, 2019 1 commit
  8. 26 Jun, 2019 6 commits
  9. 25 Jun, 2019 8 commits
  10. 24 Jun, 2019 2 commits