1. 10 Jul, 2019 1 commit
  2. 06 Jul, 2019 1 commit
  3. 23 Jan, 2019 1 commit
  4. 14 Oct, 2018 1 commit
  5. 20 Aug, 2018 1 commit
  6. 05 Aug, 2018 2 commits
  7. 26 Jul, 2018 2 commits
  8. 24 Jul, 2018 1 commit
  9. 12 May, 2018 3 commits
  10. 26 Apr, 2018 1 commit
  11. 04 Apr, 2018 1 commit
  12. 09 Feb, 2018 2 commits
    • Dmitry Kazakov's avatar
      Fix lockness of the shapes when the layer is locked/invisible · 76e0300e
      Dmitry Kazakov authored
      When the layer is locked, the shapes should be selectable, but
      not editable. When the layer is invisible, the shapes should also
      be invisible (thanks, cap!)
      
      BUG:388336
      76e0300e
    • Dmitry Kazakov's avatar
      Fix z-index on shape grouping/ungrouping · 84500c38
      Dmitry Kazakov authored
      When grouping, the command should change z-index as little as possible.
      If the new shape was above the group, it should be appended, if it was
      below the group, it should be prepended.
      
      The same should happen on ungrouping: the ungrouped shapes should be
      added right above their previous parent.
      
      This patch also rewrites TestShapeGroupCommand
      
      BUG:381344
      84500c38
  13. 10 Jan, 2018 3 commits
    • Dmitry Kazakov's avatar
      Move max and min values of z-index into KoShape itself · 8dc80756
      Dmitry Kazakov authored
      It fixes linking on some strict compilers.
      
      The patch also fixes the return value of zIndex methods. Now it
      is more difficult to misuse it by setting overflowing values.
      8dc80756
    • Dmitry Kazakov's avatar
      Fix selection of the multiline text with a mouse click · 7eef8881
      Dmitry Kazakov authored
      After the SVG refactoring there is no more guarantee that the top
      left corner of the shape is always placed at 0,0 point of the local
      coordinate system. It might be places anywhere. Please consult with
      outline() and outlineRect() methods for retrieving the bounding
      rect of the shape in a local coordinate system.
      7eef8881
    • Dmitry Kazakov's avatar
      Fix safe-assert crash when saving the text shape · d90a2c28
      Dmitry Kazakov authored
      We should **never** **ever** delete a shape when it is still linked
      to some parent or a shape manager. Both of them use RTTI information,
      which is not available in d-tor context.
      d90a2c28
  14. 02 Jan, 2018 1 commit
  15. 21 Nov, 2017 1 commit
  16. 13 Sep, 2017 1 commit
  17. 27 Jul, 2017 1 commit
  18. 16 Jun, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement KoShape::updateAbsolute() for complex transformation updates · 6f51599f
      Dmitry Kazakov authored
      Historically, transformation code uses extremely weird method of shape
      updates that rely on the event loop. This patch implements a framework
      for moving away from this strategy.
      
      The problem:
      
      When one transforms a shape he needs to update both areas: bounding
      rect of the shape *before* the transform and a bounding rect of the shape
      *after* the transform. Before the patch, the transformation code used the
      system like that:
      
      shape->update();
      shape->setTransformation(newTransform);
      shape->update();
      
      That works only with assumption that the first update() call will *not*
      be executed before setTransform() call. That should be true atm, but it
      is not guaranteed to be so in the future. Therefore, now the update happens
      like that:
      
      const QRectF oldDirtyRect = shape->boundingRect();
      shape->setTransformation(newTransform);
      shape->updateAbsolute(oldDirtyRect | shape->boundingRect());
      6f51599f
  19. 02 Jun, 2017 3 commits
  20. 23 May, 2017 1 commit
  21. 23 Mar, 2017 1 commit
  22. 17 Mar, 2017 1 commit
  23. 16 Mar, 2017 1 commit
  24. 15 Mar, 2017 1 commit
  25. 14 Mar, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement copy-pasting of shapes! · 1189dccb
      Dmitry Kazakov authored
      This patch implements the following:
      
      1) The shapes can be copy/pasted inside Krita
      2) The shapes can be copy/pasted Krita->Inkscape
         (reverse does not yet work)
      3) There are two shortcuts (reverse to Inkscape :( )
         Ctrl+V paste at original position
         Ctrl+Alt+V paste at cursor position
      
      CC:kimageshop@kde.org
      1189dccb
  26. 09 Mar, 2017 1 commit
    • Dmitry Kazakov's avatar
      Fixed a lot of double-rendering problems in Flake · 36a4a477
      Dmitry Kazakov authored
      The access to the shapes RTree was not consistent. Some shapes were
      **never** officially added to the tree and resulted in being added
      using the spontaneous update calls. It resulted them in being added
      to the tree multiple times, which called the double rendering with all
      the consequences.
      
      This patch also adds two sanity checks to KoRTree to catch such
      problems automatically in the future.
      36a4a477
  27. 17 Feb, 2017 1 commit
    • Dmitry Kazakov's avatar
      Implement centralized painting of handles · 7a35b3b2
      Dmitry Kazakov authored
      Now every (vector) tool in Krita uses KisHandlePainterHelper to
      paint the handles. The helper supports styling, that is you
      can set any predefined object of type KisHandleStyle to get
      needed effect.
      7a35b3b2
  28. 07 Jan, 2017 1 commit
  29. 05 Jan, 2017 1 commit
  30. 29 Dec, 2016 1 commit
  31. 23 Dec, 2016 1 commit