- 24 Mar, 2021 1 commit
-
-
Toby S. Cubitt authored
-
- 10 Mar, 2021 1 commit
-
-
Toby S. Cubitt authored
-
- 17 Feb, 2021 1 commit
-
-
Toby S. Cubitt authored
-
- 16 Feb, 2021 1 commit
-
-
Toby S. Cubitt authored
-
- 30 Jan, 2021 2 commits
-
-
Toby S. Cubitt authored
Major-mode fundctions call `kill-all-local-variables' at start, so these need to be made buffer-local *after* setting the major-mode to undo-tree-visualizer-mode, not before. We now set them buffer-local in undo-tree-visualizer-mode, which seems the appropriate place. (Thanks to Martin Joerg for flagging this.)
-
Toby S. Cubitt authored
-
- 27 Jan, 2021 1 commit
-
-
Toby S. Cubitt authored
Works around Emacs bug #27779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27779 New save format serialises the undo-tree, instead of directly writing out the Elisp object. This avoids triggering a stack overflow in the Emacs Lisp reader when loading large undo-tree history files, due to the Elisp reader not coping with deeply nested Elisp objects.
-
- 28 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
-
- 13 Jan, 2020 2 commits
-
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
- 12 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
-
- 10 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
-
- 09 Jan, 2020 3 commits
-
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
- 08 Jan, 2020 3 commits
-
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
Previous fix didn't copy current node correctly.
-
- 07 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
Fixes broken undo-tree history saving in recent Emacsen that implement native defstruct types. (Better solution would be to implement bespoke undo-tree copier, rather than relying on copy-tree.)
-
- 04 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
-
- 02 Jan, 2020 1 commit
-
-
Toby S. Cubitt authored
-
- 27 Dec, 2019 3 commits
-
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
By default, these are larger than Emacs default values, to avoid history being discarded as aggressively by Emacs.
-
Toby S. Cubitt authored
- Add undo-tree-canary to buffer-undo-list after loading history, otherwise loaded history immediately gets discarded if any new edits are made before using undo-tree. - Recreate undo-tree object pool after loading (discarded when saving). - Don't auto-save undo history for buffers not associated with any file.
-
- 19 Dec, 2019 2 commits
-
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
Repeatedly try to copy buffer-undo-list until we succeed without GC occurring, in an attempt to avoid truncating undo history if some buffer-undo-list cdr is temporarily null whilst copying due to GC.
-
- 13 Oct, 2019 1 commit
-
-
Toby S. Cubitt authored
Now undo-list-transfer-to-tree first garbage-collects to try to avoid GC of buffer-undo-list during processing, then deep-copies buffer-undo-list and operates on the copy to minimise window for GC races. Not clear if GC races can cause undo history corruption, but mitigating the chances seems worth a shot.
-
- 21 Jun, 2019 9 commits
-
-
Toby S. Cubitt authored
Simplify undo-list-pop-changeset.
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
-
Toby S. Cubitt authored
Should be cleared by killing the visualizer, but it writes unreadable data to file if something goes wrong and for some reason it isn't. So clearing unconditionally makes things marginally more robust (at the risk of masking bugs).
-
- 20 Jun, 2019 1 commit
-
-
Toby S. Cubitt authored
-
- 06 Jul, 2017 1 commit
-
-
Toby S. Cubitt authored
-
- 12 Oct, 2016 1 commit
-
-
Toby S. Cubitt authored
-
- 22 Sep, 2016 1 commit
-
-
Toby S. Cubitt authored
-