aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-01-14Modes; more reworking.Stephen Blott
2015-01-14Modes; fix tests.Stephen Blott
2015-01-14Modes; rework PostFindMode (again).Stephen Blott
2015-01-14Modes; substantial reworking of insert mode (and friends).Stephen Blott
2015-01-13Modes; temporary commit.Stephen Blott
2015-01-13Modes; temporary commit.Stephen Blott
2015-01-13Modes; enter insert mode if the selection changes.Stephen Blott
See discussion in #1415.
2015-01-13Modes; block all printable keyboard events.Stephen Blott
2015-01-12Modes; hint mode should be an insert-mode blocker...Stephen Blott
Also: - visual-mode template should block insert. - hint mode should exit on click.
2015-01-12Modes; (slightly) nicer badge.Stephen Blott
2015-01-12Modes; re-work key suppression for PostFindMode.Stephen Blott
2015-01-11Modes; incorporate link hints.Stephen Blott
2015-01-11Modes; yet more tweaks, yet more tests.Stephen Blott
2015-01-11Modes; tweaks, including more tests.Stephen Blott
2015-01-11Modes; tweek tests.Stephen Blott
2015-01-11Modes; rework debugging support.Stephen Blott
2015-01-11Modes; add DOM tests.Stephen Blott
2015-01-11Modes; add DOM tests.Stephen Blott
2015-01-11Modes; various tweeks.Stephen Blott
2015-01-10Merge branch 'modes-dev' into modesStephen Blott
2015-01-10Modes; re-architect key suppression and passkeys.Stephen Blott
2015-01-10Modes; better printable detection, move to keyboard_utils.Stephen Blott
2015-01-10Modes; reinstate key blockers:Stephen Blott
- when the selection is contentEditable - in PostFindMode Restricted to printable characters.
2015-01-10Modes; minor changes.Stephen Blott
2015-01-10Modes; revert to master's handling of #1415.Stephen Blott
The behaviour in the situations described in #1415 require more thought and discussion.
2015-01-10Modes; instrument for debugging...Stephen Blott
- Set Mode.debug to true to see mode activation/deactivation on the console. - Use Mode.log() to see a list of currently-active modes. - Use handlerStack.debugOn() to enable debugging of the handler stack.
2015-01-10Modes; more changes...Stephen Blott
- Better comments. - Strip unnecessary handlers for leaving post-find mode. - Simplify passKeys. - focusInput now re-bubbles its triggering keydown event.
2015-01-09Modes; fix focus return value for InsertModeTrigger.Stephen Blott
2015-01-09Modes; fix focus return value for InsertModeTrigger.Stephen Blott
2015-01-09Modes; block unmapped keys with contentEditable.Stephen Blott
2015-01-09Modes; handle normal mode return values.Stephen Blott
Up until this point in the development of modes, we've just let the normal mode handlers return whatever they previously would have returned. This allowed keyboard events to continue bubbling down the stack, but didn't matter, because normal mode is the last keyboard handler on the stack. This changes that. Now, normal-mode key handlers return the right value to have the handler stack stop or continue bubbling, as appropriate.
2015-01-09Modes; rework blocker for contentEditable.Stephen Blott
2015-01-09Modes; always choose insert mode for click.Stephen Blott
2015-01-09Modes; various changes...Stephen Blott
- Refactor insert-mode constructor. - Gneralise focusInput.
2015-01-09Modes; allow click on focusInput overlays.Stephen Blott
This is @mrmr1993's trick from #1258. See: https://github.com/philc/vimium/pull/1258/files
2015-01-09Merge branch 'modes-dev' into modesStephen Blott
2015-01-09Modes; fix click handling for all "overlay" modes.Stephen Blott
From #1413... Go here: http://jsfiddle.net/smblott/9u7geasd/ In the result window: Type /Fish (do not press enter). Click in one of the text areas. Press Esc. Type aaa - you're in insert mode. Type jk - hmm, where did they go? Type o - oops, you're also in normal mode.
2015-01-09Install utils package in TravisCImrmr1993
2015-01-09Install utils package in TravisCImrmr1993
2015-01-08Modes; fix for tests.Stephen Blott
2015-01-08Modes; incorporate small changes from #1413.Stephen Blott
Slightly more significant: Move several utilities to dome_utils.
2015-01-08Modes; more changes...Stephen Blott
- Simplify InsertMode Trigger/Blocker (yet again). - Reduce badge flicker for singletons.
2015-01-08Modes; refactor and simplify.Stephen Blott
- Insert mode trigger and blocker. - Better comments for PostFindMode. - Better comments for FocusSelector. - Make insert mode consistent with master.
2015-01-08Modes; refactor PostFindMode key handling.Stephen Blott
In particular, this refactors the handling of non-vimium key events in PostFindMode. This implements option 2 from #1415. However, #1415 is not resolved, and option 3 remains a viable option.
2015-01-07Modes; minor changes.Stephen Blott
2015-01-07Modes; Continue incorporation of comments in #1413.Stephen Blott
- Slight rework of HandlerStack. - Remove classs ExitOnEscape and ExitOnBlur - Rework InsertMode, plus trigger and blocker. - Remove StateMode. - Do no mixin options. - Lots of tidy up (including set a debug variable to Mode).
2015-01-07Modes; rework Singletons, InsertModeBlocker and HandlerStack.Stephen Blott
This begins work on addressing @philc's comments in #1413. That work is nevertheless not yet complete.
2015-01-07Modes; rename ConstrainedMode as ExitOnBlur.Stephen Blott
2015-01-06Modes; when exiting on Escape, also grab keyup event.Stephen Blott
Also fix post insert.
2015-01-06Modes; when exiting on Escape, also grab keyup event.Stephen Blott
Fixes #1416.