GSoC/2019/StatusReports/tusooa: Difference between revisions

From KDE Community Wiki
< GSoC‎ | 2019‎ | StatusReports
(Add links)
No edit summary
Line 23: Line 23:


* Create undo commands that switch between states of vector layers
* Create undo commands that switch between states of vector layers
** [x] Stroke & interaction strategies for vector layer interactions
** Port interaction strategies to the new system
** Refactor out old undo commands
   
   
=== Todo ===
=== Todo ===

Revision as of 03:26, 26 July 2019

Better undo/redo for krita

This project is divided into two parts.

Snapshot Docker

Implement a docker to allow users create snapshots (shallow copies) of the current state of documents and switch back to them at a later time.

Copy-on-Write Vector Layers

Make vector layers copy-on-write so that the undo/redo system for them can be implemented by replacing the layer with another, rather than store the undo information for each command.

Progress

Done

  • Research into solutions for copy-on-write mechanism
  • Snapshot Docker
  • COW vector layers
    • Make members of KoShapePrivate implicitly-sharable
    • Make KoShape hierarchy implicitly-sharable

Doing

  • Create undo commands that switch between states of vector layers
    • [x] Stroke & interaction strategies for vector layer interactions
    • Port interaction strategies to the new system
    • Refactor out old undo commands

Todo

Links

Blog posts: