aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2016-02-04Revert "Tweaks to #1966."Stephen Blott
This reverts commit 4874362d8f14d2cdf712a4c01ac756f2dd6f6e4c.
2016-02-04Tweaks to #1966.Stephen Blott
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
2016-01-30Add number modifier to `gg' scrollToTop commandmrmr1993
2016-01-30Merge pull request #1949 from smblott-github/simpler-hint-stringStephen Blott
Simplify hint string generation
2016-01-29Simplify hint-string generation; tweaks.Stephen Blott
2016-01-29Simplify hint-string generation; filtered hints.Stephen Blott
2016-01-28Simplify hint-string generation; simplification.Stephen Blott
2016-01-28Simplify hint-string generation; tweaks.Stephen Blott
2016-01-28Simplify hint-string generationStephen Blott
2016-01-26Collapse selection on exiting visual mode.Stephen Blott
This applies only to the case where visual mode is run under edit mode. Previously, we were leaving the selection in place ... which is weird and not vim-like.
2016-01-18Spelling fixesGeorge Millo
2016-01-09Ensure hint handler is always removed.Stephen Blott
For some (unknown) reason, we do not receive the keyup event for Shift when activating link hints. Consequently, we are not correctly removing the keyup handler. And that handler is blocking subsequent keyup events, which has the effect of endless scrolling (because the scroller relies on keyup events to stop scrolling). Here, we correcttly remove the keyup handler when link-hints mode exits. Fixes #1911.
2015-10-23Properly check whether the selection is visible in the current viewportmrmr1993
2015-10-10Merge pull request #1845 from ↵Stephen Blott
smblott-github/better-delay-for-filtered-link-hints Block keyboard events when a filtered hint matches.
2015-10-10Merge pull request #1849 from smblott-github/suppress-trailing-key-eventsStephen Blott
Suppress trailing key events (after link hints).
2015-10-04Make mode.exit() idempotent.Stephen Blott
We've been calling hintMode.exit() twice: once explicitly, and once as a side effect of the simulated click event. Since there are so many code paths through link hints, it seems better to simply explicitly make mode.exit() idempotent for all modes. Which is what this commit does.