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
History
File Mode Size
basecurve
introspection
lua_doc
noise
regression_tests
authors_h.sh -rwxr-xr-x 1.5 KB
beautify_style.sh -rwxr-xr-x 709 bytes
check_camera_support -rwxr-xr-x 10.5 KB
common.sh -rwxr-xr-x 945 bytes
create_control_svg.sh -rwxr-xr-x 4.1 KB
create_metadata.sh -rwxr-xr-x 1.2 KB
create_release.sh -rwxr-xr-x 2.6 KB
create_version_c.sh -rwxr-xr-x 867 bytes
diff_lua_api.lua -rwxr-xr-x 4.2 KB
dngmeta.rb -rwxr-xr-x 5.8 KB
dngmeta.sh -rwxr-xr-x 8.1 KB
extract_wb -rwxr-xr-x 6.9 KB
generate_authors.rb -rwxr-xr-x 3.3 KB
generate_darktablerc.xsl -rw-r--r-- 493 bytes
generate_darktablerc_doc.xsl -rw-r--r-- 3.9 KB
generate_prefs.xsl -rw-r--r-- 18.9 KB
get_git_version_string.sh -rwxr-xr-x 325 bytes
iop_dependencies.py -rwxr-xr-x 20.0 KB
keybinding2docbook.awk -rw-r--r-- 2.8 KB
keybinding2docbook.sh -rwxr-xr-x 385 bytes
listcams.sh -rwxr-xr-x 315 bytes
makeman.sh -rwxr-xr-x 405 bytes
metadata.txt -rw-r--r-- 126 bytes
parse_version_c.sh -rwxr-xr-x 200 bytes
purge_non_existing_images.sh -rwxr-xr-x 1.4 KB
purge_unused_tags.sh -rwxr-xr-x 917 bytes
rawspeed-check-canon.rb -rwxr-xr-x 2.2 KB
rawspeed-check-nikon-modes.rb -rwxr-xr-x 7.5 KB
rawspeed-diff-cameras-xml.rb -rwxr-xr-x 4.1 KB
rawspeed_common.rb -rwxr-xr-x 2.6 KB
show_icons_in_paint_c.pl -rwxr-xr-x 4.3 KB
sync_wb_presets_with_ufraw -rwxr-xr-x 2.0 KB
sync_wb_presets_with_ufraw-deepdiff -rwxr-xr-x 3.8 KB
update_modelines.sh -rwxr-xr-x 1.7 KB
update_wb_presets_from_ufraw.sh -rwxr-xr-x 1.2 KB
update_web_usermanual.sh -rwxr-xr-x 153 bytes
wb_presets_common.rb -rw-r--r-- 2.0 KB

back to top