1. 28 Dec, 2019 4 commits
  2. 22 Dec, 2019 1 commit
  3. 19 Dec, 2019 1 commit
  4. 24 Nov, 2019 1 commit
    • Tusooa Zhu's avatar
      Add KoShapeReducer and KoShapeRenderer · 12034d3d
      Tusooa Zhu authored
      I here propose to replace KoShapeManager and other controller classes with
      the classes KoShapeReducer and KoShapeRenderer.
      KoShapeReducer will perform the work of the original KoShapeController and
      part of the work of the original KoShapeManager. It should be the only
      entry to accessing shapes for tools and widgets. It should be able to:
      (0) Store all shapes of a layer in KoShapeForest
      (1) Add shapes to a layer
      (2) Manage selection
      (3) Delete shapes from a layer
      (4) Modify shapes in a layer
      (5) After modification, emit a signal to show that there is some change
          and update the canvas via KoShapeRenderer
      KoShapeRenderer will perform the painting task of the original
      KoShapeManager. It should be only used by KoShapeReducer (so it would not
      be exported). It should be able to *diff* the changes whenever it is told
      that the shapes have been changed, and update the relevant parts of the
      Phabricator: T10901
  5. 12 Nov, 2019 1 commit
  6. 11 Nov, 2019 1 commit
  7. 03 Nov, 2019 1 commit
    • Tusooa Zhu's avatar
      Fix a crash when undoing with DefaultTool active · 10653411
      Tusooa Zhu authored
      DefaultTool::updateActions() might be executed in the
      gui thread when the layer has gone through changes in
      the image thread. Old shapes might have already be
      deleted, which causes use-after-free. We fixed this by
      locking the shape layer canvas in updateActions().
  8. 26 Oct, 2019 1 commit
  9. 24 Oct, 2019 1 commit
    • Tusooa Zhu's avatar
      Get rid of startTimer() warning when changing vec layer 1st time · 2e2f3837
      Tusooa Zhu authored
      There is some updateCanvas() call from the image thread in
      MoveShapeStrategy, but KisCanvas2::updateCanvas() will start
      a KisSignalCompressor, which does not support starting from
      image threads. We refactor it into a KisThreadSafeSignalCompressor
  10. 23 Oct, 2019 5 commits
  11. 21 Oct, 2019 1 commit
    • Boudewijn Rempt's avatar
      Try to clarify which scrollbar setting is for what · 9e6c91fe
      Boudewijn Rempt authored
      The scrollbar setting in the Tools tab isn't about the canvas
      scrollbar, but about the scrollbars in dockers and popups that
      have a resource selector.
      The scrollbar setting in the Display Page, misc tab is about the
      canvas scrollbars.
  12. 20 Oct, 2019 5 commits
  13. 18 Oct, 2019 1 commit
  14. 17 Oct, 2019 2 commits
  15. 16 Oct, 2019 8 commits
  16. 15 Oct, 2019 1 commit
  17. 14 Oct, 2019 5 commits