aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-10-02Add post-1.57 notes.Stephen Blott
2016-10-02Merge pull request #2284 from smblott-github/silent-releasesStephen Blott
Enable silent/patch releases.
2016-10-02Merge pull request #2289 from smblott-github/rework-key-parsingStephen Blott
Rework key-sequence parsing.
2016-10-02Add tests for compareVersions().Stephen Blott
2016-10-02Better regexp (to match legacy behaviour for '<c->>'.Stephen Blott
2016-10-02Single quotes are clearer here.Stephen Blott
2016-10-02Rename normalizeKey to parseKeySequence.Stephen Blott
The new name better describes which the function does.
2016-10-02Add comment giving example key parsing.Stephen Blott
2016-10-02Rework key-sequence parsing.Stephen Blott
This reworks the parsing of key sequences like `<c-a-Z>x`: Advantages over the status quo: - Parses key sequences in one only place (previously two), - Removes two hideous regular expression. - Admits multi-modifier bindings (like `<c-a-Z>`). - Adds more (and better) tests. - (And it should be easier to maintain.) Replaces #2210 (this also simplifies key parsing substantially).
2016-10-01Merge pull request #2285 from smblott-github/content-loader-via-importStephen Blott
Use HTML5 import to load content scripts.
2016-10-01Remove legacy migrations.Stephen Blott
2016-10-01Use full-path URLs for Vimium resources.Stephen Blott
2016-10-01Use HTML5 import to load content scripts.Stephen Blott
This is one approach to fixing #2277 properly. (Currently there's a temporary fix in place.) This uses HTML5 imports in place of the content-script loader. This is better than the current "fix" because content scripts are only listed in one place two places (as opposed to six). It's worse than the previous content-script loader, though, in that content scripts must be listed in two places, instead of one. Fixes #2277.
2016-10-01v1.57 releasev1.571.57Stephen Blott
2016-10-01Enable silent/patch releases.Stephen Blott
Currently, all new releases trigger a notification. This changes that behaviour such that if the previous and current releases have the same major and minor release numbers, then no notification is shown. This allows us to push bug-fix and minor releases without bugging the user.
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