aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2016-02-20hideHUD option applies to insert mode only.Stephen Blott
This makes the `hideHud` option apply only to insert mode (when entered with `i`). Fixes #1953. Fixes #487. We could rename the option itself and add migration code, but that seems overkill. An alternative would be to remove this option entirely.
2016-02-18Wait-for-enter: hold flash in typing protector.Stephen Blott
2016-02-18Wait-for-enter: for filtered hints.Stephen Blott
This affects filtered hints only. If a hint is triggered because the user typed the link text, then: - highlight the link - but wait until the user types `Enter` before activating the link.
2016-02-18PassNextKey; fix tests.Stephen Blott
Oversight from 116ac2c2a279f8497ffd5396f43ac4fd7fd5de67.
2016-02-18PassNextKey; allow multiple mappings.Stephen Blott
This allows: map a passNextKey map b passNextKey (Previously, we only picked up the first mapping.)
2016-02-18PassNextKey; handle pass-next-key in insert mode.Stephen Blott
(First "fully" functional version.)
2016-02-18PassNextKey; move key parsing to keyboard_utils.coffee.Stephen Blott
Previously, key event parsing was embedded in the normal-mode key handlers. Here, we move it to a new function (getKeyCharString) in KeyboardUtils so that it can also be used from elsewhere... In particular for detecting the pass-next-key key in insertmode.
2016-02-18PassNextKey; initial implementation.Stephen Blott
This implements a passNextKey command (initially for normal mode only), as discussed in #1955.
2016-02-16Use `for own ... of` instead of `for ... of`mrmr1993
2016-02-14Split filtered hints on non-word and hint characters.Stephen Blott
This affects the scoring system for filtered link hits, and therefore affects their usability. Example link text: "We open all day", say 7Eleven Previously: "We open all day", say 7Eleven With this PR: we open all day say Eleven Previously: the typed text `we` and `day` would receive poor scores (not the start of a word, and not a whole word. Now, these get high scores, so are more likely to be selected as the active link. Also, `7Eleven` cannot be typed (because `7` is a hint character). With this PR, the typed text `we` `day` now get high scores, as they should.
2016-02-11Change HelpDialog. to @ for methods inside the HelpDialog objectmrmr1993
2016-02-11Only load help dialog iframe when the dialog is to be shownmrmr1993
2016-02-11Show vomnibar above the help dialog, remove an unnecessary CSS rulemrmr1993
2016-02-03Fix closing the help dialogmrmr1993
2016-02-03Prevent nested help dialog iframesmrmr1993
2016-02-03Move help dialog into an iframemrmr1993
2016-02-03Move toggleHelpDialog to HelpDialog.togglemrmr1993
2016-02-03Move frameId check from toggleHelpDialog to its message listenermrmr1993
2016-02-03Move isShowingHelpDialog to HelpDialog.showingmrmr1993
2016-02-03Rename VimiumHelpDialog to HelpDialogmrmr1993
2016-02-03Remove redundant functions show/hideHelpDialogmrmr1993
2016-02-03Show/hide advanced commands with CSS class, other tidyingmrmr1993
2016-02-03Update only help dialog contents when showingmrmr1993
2016-02-03Restructure VimiumHelpDialog so show and init have appropriate codemrmr1993
2016-02-03Move help dialog hide code into VimiumHelpDialog.hidemrmr1993
2016-02-03Move remaining help dialog show code into VimiumHelpDialog.showmrmr1993
2016-02-03Move help dialog setup to VimiumHelpDialog.initmrmr1993
2016-02-03Simple cosmetic changes to VimiumHelpDialogmrmr1993
2016-02-03Move VimiumHelpDialog out of showHelpDialogmrmr1993
2016-02-01Merge pull request #1963 from smblott-github/link-hints-with-countStephen Blott
Link hints with count
2016-02-01Use a count with link hints; better comment.Stephen Blott
2016-02-01Use a count with link hints; exit on Backspace.Stephen Blott
Normally, `Backspace` exits hints mode. It should exit hint mode with a count too.
2016-02-01Focus input: use Rect.copy element.getBoundingClientRect().Stephen Blott
2016-01-31Use a count with link hints; working w/ Escape.Stephen Blott
With a count, link hints now exit on `Escape`.
2016-01-31Pass arguments to modes' onExit handlers.Stephen Blott
2016-01-31Fix visual indicator for `focusInput()`.Stephen Blott
Currently, if an input is only partially in the view port, then the page may scroll when it is focused and the overlays for `focusInput()` are wonky. See #1257. Here, we draw the overlay around the *entire* input, instead of just around the visible part. Being partially visible therefore is no longer relevant. Fixes #1257. Closes #1258.
2016-01-31Remove code omitted from 68a39707817ab8693e1ddd9381611c0bfb46ebaa.Stephen Blott
2016-01-31Use a count with link hints.Stephen Blott
Pass a count to link-hint commands, and the link-hint mode is started that many times (except "with queue"). This resolves the same issue as #1291. However, this: - does not require re-basing (which is no biggie), and - keeps all of the count-handling logic (apart from plumbing) in one place, in `LinkHints.activateMode()`. The link-hints mode itself does not know anything about count handling. Serious bug: - Using `Escape` to exit does not cancel the repeat! Fixes #1289. Closes #1291.
2016-01-31Merge branch 'goToLine'Stephen Blott
2016-01-31Fix oversight in 7f3ae1ffcf3185392cf30a62f4b83474b68f66cc.Stephen Blott
One line was unintentionally deleted.
2016-01-31Wholly remove edit-mode code.Stephen Blott
I am now of the opinion that we should not do this within Vimium, as: - better solutions exist externally, and - it's better to not have to maintain this.
2016-01-31Better scoring for filtered hints.Stephen Blott
It is often the case that an encosing element (parent) and a child are both clickable, and both contain the same text. In this case, it is usually better to pick the child. So, here, we dampen down the score of elements with longer texts.
2016-01-31Merge pull request #1819 from mrmr1993/unhover-links-when-clicking-link-hintStephen Blott
Emit mouseout for the last link when clicking a new link with link hints
2016-01-30Merge pull request #1954 from smblott-github/link-hints-need-linksStephen Blott
Exit link hints if there are no links.
2016-01-30Rework unhovering to occur automatically for all simulated hoversmrmr1993
2016-01-30Exit link hints if there are no links.Stephen Blott
If there are no links on a page, then link-hints mode should exit immediately. Fixes #1395.
2016-01-30Emit mouseout when clicking a new element link hintsmrmr1993
2016-01-30Merge pull request #1952 from smblott-github/link-hints-ignore-scrollStephen Blott
Do not exit link-hints mode on scroll.
2016-01-30Do not enter link-hints mode on scroll.Stephen Blott
Fixes #1918.
2016-01-30Remove CursorHidermrmr1993