aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-04-22Update README for focusMainFrame.Stephen Blott
2015-04-21mainFrame; simplify logic.Stephen Blott
2015-04-21Implement mainFrame command.Stephen Blott
Fixes #426.
2015-04-19Remove logging code accidentally committed.Stephen Blott
2015-04-19Fix merge oversight.Stephen Blott
2015-04-19Merge branch 'remove-badges'Stephen Blott
Conflicts: content_scripts/vimium_frontend.coffee
2015-04-18Mode indicator: fix insert mode within edit mode.Stephen Blott
2015-04-18Mode indicator: more fix HUD messages for caret mode.Stephen Blott
2015-04-18Merge pull request #1572 from smblott-github/return-to-viewportStephen Blott
Return to the original viewport (when no find matches)
2015-04-18Merge pull request #1571 from ↵Stephen Blott
smblott-github/selection-handling-on-exit-from-visual-mode Tweak selection handling on exiting visual mode.
2015-04-18Merge pull request #1556 from smblott-github/what-is-newStephen Blott
Add a "What's New?" link on help page.
2015-04-18Mode indicator: more fix for link hints.Stephen Blott
2015-04-18Mode indicator: fix for link hints.Stephen Blott
2015-04-18Only return to viewport from visual mode.Stephen Blott
When there is no find-mode match, return to the original viewport. This is a better UX in visual mode, because the text the user is searching for is often on within the viewport. (This is also more vim like. We could consider *always* working this way.)
2015-04-18Selection handling on exiting visual mode.Stephen Blott
Previously, we removed the selection on exiting visual mode. This collapses the selection instead. My own experience with visual mode suggests that this is better. In particular, if we remove the selection, then when the user re-enters visual mode, they're dropped into caret mode. It is unlikely that the default caret position selected by caret mode is better than the last text selected by the user in either caret mode or visual mode.
2015-04-18Fix #1569.Stephen Blott
2015-04-18Mode indicator: initial move to HUD.Stephen Blott
2015-04-18Mode indicator: strip all references to badges.Stephen Blott
2015-04-14Merge pull request #1563 from deslee/patch-1Stephen Blott
Update README.md (backtick).
2015-04-13Update README.mdDesmond Lee
Added a backtick literal to the section about section marks. Before there was no backtick, which gave misleading instructions for returning to a mark.
2015-04-12Simplify 9ac435e2791eaccb03e3dc0b6156060f413666d9.Stephen Blott
2015-04-12Update CREDITS file.Utkarsh Upadhyay
2015-04-12Do not domain complete zero length queries.Utkarsh Upadhyay
2015-04-12Add failing test case.Utkarsh Upadhyay
2015-04-11(Whoops, remove unintended new line.)Stephen Blott
2015-04-11Add "What's New?" on help page.Stephen Blott
2015-04-05Note scrolling issue #1549.Stephen Blott
2015-04-03Merge branch 'upgrade-notification'Stephen Blott
2015-04-03Simplify upgrade notification.Stephen Blott
2015-03-29Move the search-engine logic out of settings.coffee.Stephen Blott
This logic should never have been in settings.coffee. This moves it to completion.coffee, where it belongs.
2015-03-25Check isEnabledForURL on hash change.Stephen Blott
If an exclusion rule depends on the hash/anchor, then we're not picking it up. Here's a concrete example of this: - https?://ca*.computing.dcu.ie/[0-9]*-*#* (which matches slides prepared via "slidy"). The initial URL does not include the anchor/hash, so we miss the exclusion rule. The page is bounced immediately to an anchor/hash for which the rule should apply, and we miss it. (There may be other ways in which the URL can change (WebNavigation?), we need to look into this.)
2015-03-22Upgrade notification. Add full-stop to message.Stephen Blott
2015-03-22Upgrade message; show after permission accepted.Stephen Blott
We're asking for the "notifications" permission. I'm not sure what happens. If the user is asked to accept the permission, then we wouldn't show the notification until the next time Vimium starts. Instead, we check more frequently. So the notification will show the next time a tab is created (or changes page).
2015-03-22Use chrome.notifications for upgrade notifications.Stephen Blott
2015-03-17Merge branch 'rework-exclusion-rules'Stephen Blott
Conflicts: content_scripts/vimium_frontend.coffee
2015-03-15Fall back to "chrome://newtab" in incognito mode.Stephen Blott
2015-03-15Note that createTab/pages/blank.html doesn't work in incognito mode.Stephen Blott
2015-03-15Fill in "pages/blank.html" is an absolute URL.Stephen Blott
"pages/blank.html" was being sent to the default search engine by chrome.tabs.create(). Not fully functional. New tabs created from incognito mode are created in a non-incognito mode window.
2015-03-15Tidy up exclusion rules/propagation.Stephen Blott
2015-03-15Rework page icon handling.Stephen Blott
Setting the page icon is now driven from the corrently-active frame. - Eliminates a race condition. - Icon matches actual frame state (not tab URL state). - Exclusion-rule changes propagate to all frames.
2015-03-15Propagate exclusion rules to all frames.Stephen Blott
When the active tab changes, we call updateActiveState to update the icon and propagate any changed exclusion-rule state to the tab. All frames received the request. However, only one response is received by the background page. Therefore, new exclusion rules are only propagated to one frame. Here's what can go wrong... On gmail, open the hangouts frame. Add an exclusion rule sepcific to the hangouts frame. Save it. The update is propagated only to the main frame. The new exclusion rule is not in effect in the hangouts frame. That's wierd and obviously wrong. In this commit, every frame receiving the getActiveState request also calls checkIfEnabledForUrl to ensure that any new exclusion-rule state is propagated. This is overkill, to some extent. We should really move settings to chrome.storage and have each frame check locally for changes affecting it.
2015-03-15Populate popup with frame's URL.Stephen Blott
Previously, we have been populating the suggested exclusion URL in the page popup with the tab's URL. This uses the active frame's URL instead: - because this is the URL which will affect the current frame (without this, a user can naively add an exclusion rule and it has no effect), and - because, without this, the user has no reasonable way to add exclusion rules for frames such as the hangouts frame on gmail (for which, the URL is not displayed in the address bar).
2015-03-15Fix frame-focus detection.Stephen Blott
In b05276ed8264e5a71f20a7068690ba2a414ee6d8, I inadvertently moved the focus handler from window to document. As a consequence, detectFocus (now registerFocus) wasn't being called when expected.
2015-03-15Fix frame-focus detection.Stephen Blott
In b05276ed8264e5a71f20a7068690ba2a414ee6d8, I inadvertently moved the focus handler from window to document. As a consequence, detectFocus (now registerFocus) wasn't being called when expected.
2015-03-11Merge pull request #1527 from smblott-github/fix-scrollingStephen Blott
Move Scroller.init() up the handler stack.
2015-03-11Move Scroller.init() up the handler stack.Stephen Blott
Move scroller initialisation so that its key handlers are above insert mode in the handler stack. This ensures that the scroller sees keyup events if we enter insert mode while continuous scrolling. Fixes #1526.
2015-03-09Inject content scripts on install/upgrade only.Stephen Blott
We should not inject content scripts on chrome upgrades.
2015-03-09Pass keyup events after entering link-hint mode.Stephen Blott
The page (or another extension) sees keydown events (such as shift) before entering link-hint mode. So we need to also pass the corresponding keyup events. Fixes #1522.
2015-03-08Merge branch 'mrmr1993-loadScriptsOnUpdate'Stephen Blott
2015-03-08Reload content scripts: document why changes are needed in tests.Stephen Blott