Revision 5e3703dc3b0292695d1dfeca6dd74bedaef0f5b5 authored by Pascal Obry on 30 December 2016, 09:41:58 UTC, committed by Pascal Obry on 16 January 2017, 21:54:23 UTC
The implementation of the undo/redo was simple but was letting the complexity in the hand of the API users. In fact there was a need to keep a prev state and and a current state, and to record only previous states and not the current one. This was mostly working (except for a redo bug discoverred while working on this new implementation) but was tedious. The new undo implementation is more complex but makes it far easier to use. That is, modules can just record the current state and they don't need to keep a previous state at all. The undo history and map support has been reimplemented with this new semantics and have been cleaned-up as a consequence. This work has been highly motivated by the fact that we want to support undo/redo for masks and that it was far too complex to do right with the previous implementation.
1 parent d8e7d14
File | Mode | Size |
---|---|---|
cmake | ||
data | ||
doc | ||
packaging | ||
po | ||
src | ||
tools | ||
.clang-format | -rw-r--r-- | 1.5 KB |
.dir-locals.el | -rw-r--r-- | 94 bytes |
.dockerignore | -rw-r--r-- | 19 bytes |
.gitattributes | -rw-r--r-- | 29 bytes |
.gitignore | -rw-r--r-- | 137 bytes |
.gitmodules | -rw-r--r-- | 137 bytes |
.mailmap | -rw-r--r-- | 7.1 KB |
.travis.yml | -rw-r--r-- | 3.0 KB |
AUTHORS | -rw-r--r-- | 921 bytes |
Brewfile | -rw-r--r-- | 1.1 KB |
CMakeLists.txt | -rw-r--r-- | 20.5 KB |
CONTRIBUTING.md | -rw-r--r-- | 2.5 KB |
Dockerfile | -rw-r--r-- | 3.9 KB |
LICENSE | -rw-r--r-- | 34.3 KB |
README.md | -rw-r--r-- | 3.0 KB |
RELEASE_NOTES | -rw-r--r-- | 75 bytes |
build.sh | -rwxr-xr-x | 7.2 KB |
ci-script.sh | -rwxr-xr-x | 2.3 KB |
iwyu.imp | -rw-r--r-- | 6.5 KB |
Computing file changes ...