Permalink
Switch branches/tags
Commits on Feb 3, 2010
Commits on Jan 12, 2010
  1. Pass null argument to kill-buffer call in undo-tree-visualizer-quit,

    since the argument's not optional in Emacs 22.
    tsc25 committed Jan 12, 2010
Commits on Jan 6, 2010
  1. Updated commentary to include register commands,

    and expanded description of undo-tree visualizer.
    tsc25 committed Jan 6, 2010
Commits on Jan 5, 2010
  1. Added undo-tree-save/restore-state-to/from-register commands and keyb…

    …indings
    
    for saving/restoring buffer states using registers.
    tsc25 committed Jan 5, 2010
  2. Added undo-tree-mode-lighter customization option

    to allow the mode-line lighter to be customized.
    tsc25 committed Jan 5, 2010
Commits on Jan 4, 2010
  1. Improved undo-tree-visualizer-quit behaviour

    by making visualizer window soft-dedicated, and just using kill-buffer to
    remove it. That way the window is deleted along with the buffer if the
    visualizer buffer was displayed in a new window, but not if it was displayed
    in an existing window. (This is akin to the mechanism used for the
    *Completions* buffer).
    tsc25 committed Jan 3, 2010
Commits on Dec 28, 2009
Commits on Dec 9, 2009
  1. Remap undo-only to undo-tree-undo in undo-tree-map.

    Remap all motion commands to undo commands in visualizer.
    tsc25 committed Dec 9, 2009
Commits on Dec 6, 2009
  1. Modified undo-tree-undo/redo to always replace redo/undo entries

    with new ones generated by primitive-undo, as the new changesets will restore
    the point more reliably.
    tsc25 committed Dec 6, 2009
Commits on Dec 5, 2009
  1. Fixed undo-tree-visualizer-quit to make it remove kill visualizer hook

    from parent buffer on quit.
    tsc25 committed Dec 5, 2009
Commits on Nov 29, 2009
  1. Modified undo-tree-visualizer-active-branch-face

    to ensure the active branch is visible against light backgrounds as well as
    dark.
    
    Added comment about Emacs version compatibility to installation instructions.
    tsc25 committed Nov 29, 2009
  2. Fixed keybindings.

    Renamed undo-tree-visualizer-switch-[previous/next]-branch to
    undo-tree-visualizer-switch-branch-[left/right].
    tsc25 committed Nov 29, 2009
  3. Prevented undo-tree-kill-visualizer from killing visualizer when undo…

    …ing/redoing
    
    from the visualizer, which completely broke the visualizer!
    
    Changed C-+ redo binding to M-_, so that at least one set of undo/redo
    bindings works in a terminal.
    
    Bound vertical scrolling commands in undo-tree-visualizer-map, in case they
    aren't bound globally.
    
    Added missing :group argument to defface's.
    tsc25 committed Nov 29, 2009
Commits on Nov 28, 2009
  1. Add new undo-tree-kill-visualizer to before-change-functions hook

    to kill visualizer as soon as original buffer is modified.
    tsc25 committed Nov 28, 2009
  2. Added installation instructions to commentary, and keybinding documen…

    …tation
    
    to undo-tree-mode docstring.
    
    In order to document scroll-left and scroll-right commands, had to replace
    anonymous lambda keybindings in undo-tree-visualizer-map with new
    undo-tree-visualizer-scroll-left and undo-tree-visualizer-scroll-right
    commands.
    tsc25 committed Nov 28, 2009
Commits on Nov 24, 2009
Commits on Nov 23, 2009
  1. Discard marker adjustment undo entries.

    In buffer-undo-list, these entries are treated specially by Emacs'
    garbage-collection code in alloc.c (they don't count during the mark phase,
    and the sweep phase deletes entries for garbage-collected markers). But we
    can't emulate this behaviour from Elisp.
    
    Discarding these entries at least prevents dead markers being resurrected by
    undo-tree-mode, and allows them to be garbage-collected. Standard Emacs undo
    fails to restore markers correctly anyway (byg#4803), so the impact should
    hopefully be small.
    tsc25 committed Nov 23, 2009
Commits on Nov 22, 2009
  1. Added lighter to undo-tree-mode.

    tsc25 committed Nov 22, 2009
  2. Tweaked commentary.

    tsc25 committed Nov 22, 2009
  3. Implemented undo history discarding so as to remain within memory usa…

    …ge limits
    
    set by undo-limit, undo-strong-limit and undo-outer-limit.
    tsc25 committed Nov 22, 2009
Commits on Nov 21, 2009
  1. Added "canary" to detect and deal with undo history being discarded

    before it could be transferred to tree.
    tsc25 committed Nov 20, 2009
Commits on Nov 15, 2009
  1. Reuse node markers in undo-tree-draw-tree and undo-tree-draw-subtree,

    instead of creating new ones for recording positions at which to draw
    subtrees.
    tsc25 committed Nov 4, 2009
  2. Rewrote undo-tree-draw-tree and undo-tree-draw-subtree

    to use a stack rather than recursion, to avoid hitting recursion depth limits
    on large undo trees.
    
    Display current node in visualizer using a "x" rather than "o", for the
    benefit of non-colour terminals.
    tsc25 committed Nov 4, 2009
  3. Rewrote undo-tree-compute-widths and undo-tree-clear-visualizer-data

    to use a stack rather than recursion, to avoid hitting recursion depth limits
    on large undo trees.
    
    Locally increase max-lisp-eval-depth max-specpdl-size when calling
    undo-tree-draw-subtree, also to avoid hitting recursion depth limits on large
    undo trees.
    tsc25 committed Nov 4, 2009
Commits on Nov 3, 2009
  1. Centre undo-tree in visualizer.

    tsc25 committed Nov 2, 2009