aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-06-10Handle up and down keys directly in the HUDmrmr1993
2015-06-10Move FindModeHistory to its own file to be used by the HUD iframe toomrmr1993
2015-06-10Make FindModeHistory independent of the rest of vimium_frontendmrmr1993
2015-06-10Move FindMode's keydown to the HUDmrmr1993
2015-06-10Fix returnToViewport support for FindModemrmr1993
This was broken by the move to taking input in an iframe, since the frontend was no longer getting keydown events for text changes, and so the viewport wasn't being scrolled back to its original position until the mode was exiting.
2015-06-10Stop FindMode's keydown handler from using FindMode's scope and thismrmr1993
2015-06-10Move key-only code from FindMode.exit to its keydown handlermrmr1993
2015-06-10Handle esc explicitly in the FindMode keydown handler, not by optionsmrmr1993
2015-06-10Remove redundant code from FindMode keydown handler, inline delete codemrmr1993
2015-06-10Remove unused function handleKeyCharForFindModemrmr1993
2015-06-10Remove unused event listeners in FindModemrmr1993
2015-06-10Remove unused code in handleDeleteForFindModemrmr1993
2015-06-10Ensure focus is called on the appropriate element when closing the HUDmrmr1993
2015-06-10Accept input in the HUD iframemrmr1993
2015-06-10Make all find mode updates go via the HUD in preparation to use an inputmrmr1993
2015-06-10Decide find mode text in the HUD iframe, not in frontendmrmr1993
2015-06-10Merge branch 'link-hints-keypress' (#1722).Stephen Blott
2015-06-10Remove legacy (broken and unnecessary) calls.Stephen Blott
2015-06-10Simplify activate-on-enter logic.Stephen Blott
2015-06-09Minor touch ups.Stephen Blott
2015-06-09Make LinkHints a class (LinkHintsMode).Stephen Blott
Functionality wise, this is a no-op. However, since we now create a new LinkHintsMode object on every "f", we don't need to be so careful about resetting the state on exit.
2015-06-09Use tab to select filetered link hints.Stephen Blott
2015-06-09Tweak comments re. keydown versus keypress.Stephen Blott
2015-06-09Only look up linkHintNumbers once.Stephen Blott
2015-06-09Alphabet hints, use keydown for defaults.Stephen Blott
See #1722. When Settings.get("linkHintCharacters") is its default value, this preserves the legacy behaviour of using the keyChar from keydown events for link-hint matching. This admits users using either Latin or non-Latin characters for link hints.
2015-06-08Remove "experimental" comment.Stephen Blott
I think we can safely remove this comment now, @mrmr1993. This is working out very nicely.
2015-06-08Make hint filters classes.Stephen Blott
2015-06-08Refactor to keydown, as required.Stephen Blott
2015-06-07Exit link-hint mode on click or scroll.Stephen Blott
Exit on click because, if the user is clicking stuff, then they're probably no longer interested in selecting links. Exit on scroll because, if the user is scrolling, then the link hints can all go out of the viewport.
2015-06-05Global marks; always treat ` and ' as local marks.Stephen Blott
On some keyboards (who knows?) "`" or "'" could be shift keys. In this case, with the previous implementation, these would be treated as global marks and `` would be unusable. This commit fixes that problem.
2015-06-05Global marks; global marks are always recorded for the top frame only.Stephen Blott
With global marks, we may later create a new tab when the mark is used. When doing so, we should always be using the URL and scroll position of the top frame within the tab. For example, if a global mark is created from within the Hangouts frame of Google's Inbox and the mark is later used, then we should create a new tab for Inbox's URL and scroll position, not for the Hangout's URL and scroll position.
2015-06-05Global marks; fix indentation.Stephen Blott
2015-06-05Use keypress (instead of keydown) for link hint characters.Stephen Blott
This should make link hints usable on non-Latin keyboards (e.g. Russian keyboards). Fixes #1387. (Maybe - because it's not clear from the discussion there exactly what users want.)
2015-06-05Fix event suppression for Marks keyboard events.Stephen Blott
2015-06-04Unwind passing key and registry entry for marks.Stephen Blott
As suggested by @mrmr1993 in #1716.
2015-06-04Use only ' and ` for jumping to previous position.Stephen Blott
As suggested by @mrmr1993 in #1716.
2015-06-04Global marks; only handle messages in main frame.Stephen Blott
On sites with several frames (e.g. Facebook), if we allow all of the frames to handle the setScrollPosition and showHudForDuration messages, then the focus ends up in an arbitrary frame. And, on Facebook, say, Vimium ends up broken until the focus is returned to the main frame. So, we only handle these messages in the main frame.
2015-06-04Global marks; focus and only scroll in the main frame.Stephen Blott
2015-06-04Exit marks modes on escape.Stephen Blott
2015-06-03Modes, better comments.Stephen Blott
2015-06-03Add mark commands to README, more simple refactoring.Stephen Blott
2015-06-03Add mark commands to README, simple refactoring.Stephen Blott
2015-06-03Refactor (to setPreviousPosition) to clarify Marks logic.Stephen Blott
2015-06-03Also set previous position for before global mark movement.Stephen Blott
2015-06-03Re-implement Marks, incl `` binding.Stephen Blott
2015-06-03Fix tests for #1713...Stephen Blott
... which is weird, because the tests are passing here. Let's see what Travis makes of this.
2015-06-03Refactor to avoid having to cover all keyboard event cases.Stephen Blott
It's pretty common that we want to suppress all keyboard events, so let's support that in modes.coffee, thereby simplifying handlers elsewhere.
2015-06-03Fix marks (incl. global marks)...Stephen Blott
Fixes #1712: - Make global marks work. - Add mode indicator. - Don't fail for global marks on background page if mark is not set. - Give HUD warning for global marks if global mark is not set. (The diff is big but, which the exception of infrastructure refactoring, the main change is to not exit on <Shift>, thereby fixing #1712).
2015-06-01Merge branch 'unified-settings-implementation'Stephen Blott
2015-06-01Remove LinkHints.init()...Stephen Blott
LinkHints.init() isn't doing anything.