aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/vimium_frontend.coffee
AgeCommit message (Collapse)Author
2015-09-06Merge branch 'gdh1995-better-KeydownEvents'Stephen Blott
2015-09-06Rename stringify to getEventCode.Stephen Blott
2015-08-29use documentReady instead of setTimeout to init focusThisFramegdh1995
2015-08-28clean codegdh1995
2015-08-28fix the bug that XML view page may change itself into RSS documentgdh1995
2015-08-26Use createElementNS for XML documents and remove XML specific codepathsmrmr1993
This implements @gdh1995's idea from #1796.
2015-07-29fix bugs in KeydownEvents so that correct keyup events will be handledgdh1995
2015-07-20move the caret to end in `focusInput`gdh1995
2015-06-25Merge branch 'hud-iframe-input-with-store-all-settings'Stephen Blott
2015-06-17Initialise modes and install listeners at the same time.Stephen Blott
Previously, we initialised modes early, but then installed our listeners only after DOM ready, and then only after we'd heard back from the background page in `checkIfEnabledForUrl`. This creates a gap during which modes are installed, but they're not receiving events. If an input is focused during that gap, then we don't pick it up when the modes are installed, and we don't pick it up when the input is focussed (because we're not listening). This commit moves these two initialisation steps together, so they happen at the same time and there is no gap. Fixes #1738.
2015-06-10Integrate executeFind into FindMode as FindMode.executemrmr1993
2015-06-10Move findModeQuery to FindMode.querymrmr1993
2015-06-10Make find from visual mode behave the same as a normal findmrmr1993
2015-06-10Coffee-ify strings, fix no match regexp search message in visual modemrmr1993
2015-06-10Simplify executeFind by hardcoding default argumentsmrmr1993
2015-06-10Add FindMode.saveQuery to avoid addressing findModeQuery directlymrmr1993
2015-06-10Remove redundant conditionalmrmr1993
2015-06-10Integrate functions exposed on window into FindModemrmr1993
2015-06-10Move getNextQueryFromFindModeMatches and getFindModeQuery into mode_findmrmr1993
2015-06-10Move updateFindModeQuery to FindMode.updateQuerymrmr1993
2015-06-10Move updateFindModeQuery to mode_find.coffeemrmr1993
2015-06-10Move findModeQueryHasResults to findModeQuery.hasResultsmrmr1993
2015-06-10Remove global findMode and pass new FindMode instances direct to the HUDmrmr1993
2015-06-10Move FindMode from vimium_frontend to mode_findmrmr1993
2015-06-10Expose executeFind on windowmrmr1993
2015-06-10Expose getNextQueryFromRegexMatches on windowmrmr1993
2015-06-10Inline showFindModeHUDForQuery at its sole callsitemrmr1993
2015-06-10Integrate performFindInPlace into FindMode as findInPlacemrmr1993
2015-06-10Remove global findModeAnchorNode and false comments justifying itmrmr1993
2015-06-10Move findModeRestoreSelection to FindMode::restoreSelectionmrmr1993
2015-06-10Inline findModeSaveSelection, store initialRange in FindMode instancemrmr1993
2015-06-10Use FindMode constructor directly in visual/edit modesmrmr1993
2015-06-10Move code from enterFindMode into the FindMode constructormrmr1993
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-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-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-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-04Unwind passing key and registry entry for marks.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.