aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
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.
2015-01-06Modes; also fix #1415 for <Enter> and the like.Stephen Blott
2015-01-06Modes; fix PostFindMode for contentEditable.Stephen Blott
2015-01-06Modes; simplify PostFindMode.Stephen Blott
2015-01-06Modes; fix non-vimium keys in PostFindMode.Stephen Blott
2015-01-06Modes; minor tweeks.Stephen Blott
2015-01-06Mode; simplify InsertModeBlocker logic.Stephen Blott
2015-01-06Modes; yet more minor tweeks.Stephen Blott
2015-01-06Modes; rework insert blocker.Stephen Blott
Fix bug whereby clicking on the focused element does not activate insert mode. This bug is also present (though harder to fix) in master.
2015-01-06On find, possibly .blur() active element.Stephen Blott
Fixes #1412.
2015-01-06Merge remote-tracking branch 'upstream/master' into modes-devStephen Blott
2015-01-06Modes; simplify focusInput.Stephen Blott
2015-01-05Modes; more minor tweeks.Stephen Blott
2015-01-05Modes; minor tweeks.Stephen Blott
2015-01-05Modes; simplify badge logic.Stephen Blott
2015-01-05Modes; fix findFocus.Stephen Blott
2015-01-05Modes; revise InsertMode as two classes.Stephen Blott
2015-01-04Revise handler stack implementation.Stephen Blott
The old implementation: - Wasn't actually checking whether handlers had been removed before calling them. - Could end up calling the same handler twice (if a handler was removed further down the stack, and the stack elements moved due the resulting splice. Solution: - Mark elements as removed and check. Set their ids to null. - Don't splice stack. Also, optimisation: - Removing the element at the top of the stack is still O(1). - In Modes, reverse handlers before removing (so, more likely to hit the optimisation above). For the record, the stable stack length at the moment seems to be about 10-12 elements.
2015-01-04Modes; fix move of find to its own file.Stephen Blott
2015-01-04Modes; various improvements.Stephen Blott
- Add StateMode. - PasskeysMode is a StateMode. - BadgeUpdateMode is a StateMode. - Improve badge handling. - Add push method to Mode. - Document how modes work. - Cache badge on background page to reduce the number of updates. - Remove badge restriction on document.body?.tagName.toLowerCase() == "frameset". - Add ExitOnEscape mode, use it for ConstrainedMode and FindMode. - Move PostFindMode to its own file.
2015-01-04Modes; update badge on focus change.Stephen Blott
2015-01-04Catch undefined reference to handledKeydownEvents.Stephen Blott
2015-01-03Modes; comment out some unused code.Stephen Blott
2015-01-03Modes; PostFindMode documents its event.Stephen Blott
2015-01-03Modes; add ConstrainedMode.Stephen Blott
2015-01-03Modes; fix SingletonMode..Stephen Blott
2015-01-03Modes; visual-mode, add comment.Stephen Blott
2015-01-03Modes; visual-mode template.Stephen Blott
Visual mode command has been create: bound to `v`, of course. The template is in mode_visual.coffee. It shouldn't really be necessary to make changes outside of there. Let me know if you have any issues.
2015-01-03Modes; add template for visual mode.Stephen Blott
2015-01-03Modes; simplify PostFindMode.Stephen Blott
2015-01-03Modes; Fix various mode changes.Stephen Blott
2015-01-03Modes; add SingletonMode.Stephen Blott
2015-01-03Modes; fix #1410.Stephen Blott
2015-01-03Modes; more renaming and refactoring.Stephen Blott
2015-01-03Modes; refactor insert mode.Stephen Blott
2015-01-03Modes; tidy up find mode.Stephen Blott
2015-01-03Modes; better constant naming.Stephen Blott
2015-01-02Modes; incorporate find mode.Stephen Blott
2015-01-02Modes; simplify badge handling.Stephen Blott
2015-01-02Modes; show keyqueue in badge.Stephen Blott
2015-01-02Modes; better frame handling.Stephen Blott