aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-10-01v1.57 releasev1.571.57Stephen Blott
2016-10-01Note hangs Vimium bug fix.Stephen Blott
2016-10-01Merge pull request #2283 from smblott-github/fix-find-mode-hangsStephen Blott
Find mode can hang Vimium (fixed).
2016-10-01Merge pull request #2282 from smblott-github/fix-coffeescript-versionStephen Blott
Remove Coffeescript 1.10 dependency.
2016-10-01Fix find-mode hangs.Stephen Blott
"/" followed immediately by "i" can hang Vimium. The problem is that launching find mode is asynchronous (we wait until the HUD is available). Because normal mode is still active, we can enter insert mode *before* the find-mode HUD receives the focus. The result is that we end up in both find mode and insert mode, the HUD has the focus, but the HUD is in insert mode, so it ignores keyboard events (including `Escape`). The only way out is to click the page's body and then type `Escape`. This commit demonstrates the problem: 7d2b00411eae3293fa4c7b1f61b384c0c495b5a2. This happens in practice, for example while a busy page is loading. This commit fixes this by ensuring that find-mode blocks keyboard events immediately (and synchronously) on launch.
2016-09-30Remove Coffeescript 1.10 dependency.Stephen Blott
Fixes #2273. Fixes #2281. This fixes the build with Coffeescript 1.11, so we can remove the hard-wired dependency and notes.
2016-09-30Note use Coffeescript 1.10.Stephen Blott
2016-09-27Reinstate loading vimium.css.Stephen Blott
Follow on from 8601edd71e74ba522e32658309cb2e7acca8aeeb.
2016-09-27Merge pull request #2278 from smblott-github/fix-travisStephen Blott
Fix Travis builds (lock down Coffeescript version)
2016-09-27Note reason for locking down Coffeescript version.Stephen Blott
2016-09-27Attempt to fix travis builds by locking coffee-script to 1.10.0David Yan
2016-09-27Disable content-script loader (temporary).Stephen Blott
Scripts loaded via the content-script loader previously were loaded synchronously. In recent versions of Chrome, they now seem to be loaded asynchrnously, which causes errors. This is a temporary commit to keep master healthy until I (or somebody) figures out properly what is going on. It is expected to be reverted in due course.
2016-09-26Use title attribute for link text.Stephen Blott
Google seems to be using a lot of "title" attributes on buttons. This makes it possible to type the text in filtered link-hints mode. (And you can often guess the text; e.g. "close"). We could also show the title text. That is very visually noisy though, in practice.
2016-09-26Tweak jsaction detection and add tests.Stephen Blott
This tweaks the jsaction detection, in particular excluding elements where the "actionName" is "_". I see a lot of these, and clicking them doesn't do anything. Also, added corresponding tests.
2016-09-26Fix comment.Stephen Blott
Thinking about it more carefully, this algorithm is always O(n^2).
2016-09-25Active hint marker may be in another frame.Stephen Blott
Do not set the style on the active hint marker if it's in another frame.
2016-09-25Reinstate highlighting of first hint.Stephen Blott
Applies to filtered hints only.
2016-09-25Do not reset tab index on modifiers.Stephen Blott
The prevents the active element from being reset when we rotate hint markers.
2016-09-25Make tab-selected hint visible.Stephen Blott
When the user selects an active hint with Tab (for filtered hints), adjust its z-index such at it is top of the stack.
2016-09-25Refactor z-index allocation to a separate function.Stephen Blott
2016-09-25Don't forget the tab count on <Space>.Stephen Blott
2016-09-25Note toggleMuteTab advanced usage.Stephen Blott
2016-09-25Note <Space> hint rotation for link hints.Stephen Blott
2016-09-25Merge pull request #2270 from smblott-github/advanced-toggleMuteTabStephen Blott
Add "all" and "other" options for toggleMuteTab.
2016-09-25Merge pull request #2272 from smblott-github/rotate-hintsStephen Blott
Space rotates hints (to make hidden hints visible).
2016-09-25Fix vomnibar z-index.Stephen Blott
2016-09-25Hint rotation, tweaks for readability.Stephen Blott
2016-09-25Space rotates hints (to make hidden hints visible).Stephen Blott
It is common for link-hint markers to be close togother, and overlapping. Here, `<Space>` rotates hint markers such that hidden markers become visible. For filtered hints we additionally require a modifier (because `<space>` on its own is already a token separator). The calculation of overlapping hints is quite expensive: O(n^2) in the best case and O(n^3) in the worst cast. The worst case is extraordinarily unlikely to arise in practice.
2016-09-24Note changed behaviour of global marks.Stephen Blott
2016-09-24Note 921429924c6b212f7d2a5d7cd15975f243cb2ed6 (handling of three-key bindings).Stephen Blott
2016-09-24Add "all" and "other" options for toggleMuteTab.Stephen Blott
This adds advanced options for toggleMuteTab. Examples: map X toggleMuteTab all map Y toggleMuteTab other In the first case, all audible, unmuted tabs are muted; otherwise all muted tabs are unmuted. The second case is the same, except that the current tab is excluded from consideration. Follow on from #2269.
2016-09-24Fix key handling for 3-key mappings.Stephen Blott
This only affects key mappings of three keys or longer. Consider: map goa something map gob something Previously, we launched the vomnibar (`o`) on the after `go`, making these mappings unusable. This commit fixes that: `go` no longer launches the Vomnibar, but waits instead to see what the next key is.
2016-09-24Merge pull request #2250 from smblott-github/better-global-marksStephen Blott
Use prefix matching for global marks.
2016-09-24Tweak #2269 (toggleMuteTab).Stephen Blott
2016-09-24Merge remote-tracking branch 'tobimensch/master'Stephen Blott
2016-09-24Merge branch 'dpogue-scrollingElement'Stephen Blott
2016-09-24Tweak #2168 (scrolling via scrollingElement).Stephen Blott
Instead of setting a property of document for `scrollingElement` (if it is not defined), just use a function and make the decision dynamically instead.
2016-09-23fixup! New feature/command: Mute/unmute tab.Tobias Gläßer
2016-09-23New feature/command: Mute/unmute tab.Tobias Gläßer
2016-09-23New feature/command: Mute/unmute tab.Tobias Gläßer
2016-09-22Use document.scrollingElement for scrollingDarryl Pogue
This fixes Vimium with the 'Experimental Web Platform Features' flag enabled, and ensures compatibility across quirks mode scrolling (via document.body) and standards-compliant scrolling (via document.documentElement).
2016-09-19Better wording of description for `gi`.Stephen Blott
2016-09-17Note <Backkspace> on README.Stephen Blott
2016-09-17Merge branch 'gdh1995-backspace-as-go-back'Stephen Blott
2016-09-17Rework #2223 (backspace).Stephen Blott
2016-09-17use keyNames to check backspace keyCodegdh1995
2016-09-17Tweaks to comments.Stephen Blott
2016-09-14Fix omission from 722cd3c40f89d93682f08e88b6d4cb46ca70991e.Stephen Blott
2016-09-14Require exact match when we will be scrolling.Stephen Blott
If the user is jumping to a scroll position within a tab, then we need an exact match on the URL (because otherwise the scroll position doesn't really have a meaning). Otherwise we only require a prefix match, a la #2250.
2016-09-14Match globa-mark URLs by length.Stephen Blott
This changes the logic for selecting an existing tab when using global marks. Previously, an exact RUL match was required. Here, we only require a prefix match. For example, if the global-mark URL is: https://inbox.google.com/u/0/ Then a tab with the URL https://inbox.google.com/u/0/sent will be selected. This is a more usable approach when the user uses global marks to visit important sites like gmail, Facebook or Twitter. On these sites, the URL changes, but the user still thinks of the tab as their "gmail tab", for example. Also, when choosing between multiple candidate tabs: - If there is at least one candidate in the current window, then only consider candidates in the current window. - If there are more than one candidates, then don't select the current tab. - Finally, select the remaining candidate with the shortest URL. Closes #2248.