aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-07-20move the caret to end in `focusInput`gdh1995
2015-07-02Better angularJS detection.Stephen Blott
See @mrmr1993's comment in 2cc7dc1d2164b5dbb27bcc1d4bc0517402dd7581.
2015-07-01Re-work angularJS checks.Stephen Blott
Re-working of @poacher2k's ideas from #1745. - check whether AngularJS is being used. - avoid building the AngularJS attribute strings multiple times. - avoid building them *at all* if AngularJS is not being used.
2015-06-26Fix oversight from #1693.Stephen Blott
(We need to use "this" inside this function.)
2015-06-25Merge branch 'hud-iframe-input-with-store-all-settings'Stephen Blott
2015-06-25Merge branch 'store-all-settings' into hud-iframe-input-with-store-all-settingsStephen Blott
2015-06-23*Always* collapse selection on yank.Stephen Blott
This only affects the transition from visual mode back to edit mode. Previously, we were incorrectly leaving the selection in place. (The comment above was correct, but the implementation wasn't.)
2015-06-19More concise commentDaniel Skogly
Because I apparently can't read docs properly!
2015-06-19Clarifications to ngClick checkDaniel Skogly
2015-06-18Proper function callDaniel Skogly
CoffeeScript is not my native tongue.
2015-06-18Proper function definitionDaniel Skogly
Changed from : to =
2015-06-18Added hasNgClick-check in getVisibleClickableDaniel Skogly
There's a fair amount of angular-sites running around, so including ngClick (with all its valid variations) seems like a good idea. I added a hasNgClick-check in the if block that checks if an element is clickable regardless of tagName.
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-13Clean up code after mergemrmr1993
2015-06-13Refactor duplicate code.Stephen Blott
2015-06-13Fix returnToViewport.Stephen Blott
The super-class's constructor sets @options, so we can't set it here; instead, we pass the options along.
2015-06-13Refactor findInPlace.Stephen Blott
This code belongs together, so we put it together.
2015-06-11Make exiting FindMode with <esc> work as it should againmrmr1993
This undoes the effect of the breaking refactor in 73f66f25e6b8e5b5b8456074ad4fa79ba1d3ca4d, where PostFindMode was entered whenever FindMode was exited, instead of only when it was exited with <enter>.
2015-06-11Revert "Make "a-z" characters work in filter hints mode."Stephen Blott
This reverts commit 53d131700e5f33cb9476f00a905c238b0083f3dc. (This needs more thought.)
2015-06-11Make "a-z" characters work in filter hints mode.Stephen Blott
When we read hint characters, we read them lower case. When we generate hint markers, we generate them upper case. So they never match. (Exactly why anyone would want to use "abcde" for filtered link hints isn't clear, but at least we should behave correctly.)
2015-06-10Update rawQuery directly from FindMode.updateQuerymrmr1993
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-10Inline HUD.findModeKeydown at its sole callsitemrmr1993
2015-06-10Remove redundancy in HUD.findModeKeydownmrmr1993
2015-06-10Move findModeQueryHasResults to findModeQuery.hasResultsmrmr1993
2015-06-10Remove global findMode and pass new FindMode instances direct to the HUDmrmr1993
2015-06-10Remove unused argument to HUD.showFindModemrmr1993
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 HUD.updateMatchesCount at its sole callsitemrmr1993
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 finding the element at a selection's focus to a library functionmrmr1993
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