aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts
AgeCommit message (Collapse)Author
2015-02-12Grab back focus...Stephen Blott
- add new option "GrabBackFocus" - use chrome.storage.sync.get() to get option value - avoid race conditions on load - fix tests
2015-02-09Simplify removing find-mode history for incognito mode.Stephen Blott
2015-02-09Actually fix the conflicts in the previous merge.Stephen Blott
Fix conflicts from 9f20c33adf75e2e78b35e2cd16f2a0925a72c577.
2015-02-09Merge branch 'find-mode-history-for-incognito-mode'Stephen Blott
Conflicts: background_scripts/main.coffee
2015-02-09Fix long-standing bug in sync.coffee.Stephen Blott
This is wrong: if not key of Settings.defaults It parses as: if (not key) of Settings.defaults and is always false, so we never return here!
2015-02-09Merge branch 'visual-and-edit-modes'Stephen Blott
Conflicts: background_scripts/main.coffee content_scripts/vimium_frontend.coffee lib/keyboard_utils.coffee
2015-02-09Visual/edit modes: disable edit mode for merge to master.Stephen Blott
2015-02-09Fix syncing bug.Stephen Blott
This fixes a second dumb error I made in #1456.
2015-02-09Propagate queries to incognito-mode tabs.Stephen Blott
2015-02-09Initial find-mode history via chrome.storage.Stephen Blott
2015-02-08Proper find-mode history for incognito mode.Stephen Blott
Approach: - We never save the find mode history from an incognito tab in the settings, instead they are saved in the tabMapInfo for each currently-active incognito tab. - When a new incognito tab (or page, after navigation) starts, we scan the tabMapInfo looking for the find-mode history of any active tab. In this way, the history is shared between incognito tabs, but discarded once the last incognito tab closes.
2015-02-08Push fond-mode queries from incognito-mode tabs to other incognito tabs.Stephen Blott
2015-02-08Find-mode history now incorporates ingognito mode.Stephen Blott
2015-02-08Fix background-page error on "yy".Stephen Blott
The return value from copyToClipboard is passed to sendResponse by the chrome.runtime.onMessage.addListener listener. This was using the (somewhat arbitrary) value returned by Clipboard.copy, which turns out to be circular, causing an error. This fixes that.
2015-02-08Fix background-page error on "yy".Stephen Blott
The return value from copyToClipboard is passed to sendResponse by the chrome.runtime.onMessage.addListener listener. This was using the (somewhat arbitrary) value returned by Clipboard.copy, which turns out to be circular, causing an error. This fixes that.
2015-02-08Incognito mode for find history.Stephen Blott
- This commit is incomplete because, to progress, we need bc7db7473456713c8c84f324e71da93145ffa2a0.
2015-02-08Refactor migration code for find-mode history.Stephen Blott
Doing the migration in a content script is dumb. Now we do it on the background page.
2015-02-06Merge branch 'fix-custom-search-engine-selection'Stephen Blott
2015-02-06Fix search-engine auto selection.Stephen Blott
In #1389/c52c0ea57f86c1c5a132819fe85e763db84ce712 we added descriptions to search engines. We (I) omitted to realise that the "type" of a selection (in particular, the constant "search") is also used to determine whether the suggestion is automatically selected by the vomnibar. This fixes that, such that custom search engines with descriptions are now automatically selected in the vomnibar.
2015-02-03Visual/edit modes: remove "e" binding for edit mode.Stephen Blott
The "e" binding for edit mode is super convenient. However, it clashes with "e" bindings on Gmail and Google's Inbox. If you get too used to it, then you keep archiving messages unintentionally. So, let's try just the "gv" binding for now.
2015-02-02Strip unreachable code post #1413.Stephen Blott
The stripped code is all relocated in #1413.
2015-01-29Fix parsing of command mappings.Stephen Blott
Fixes #1443.
2015-01-26Visual/edit modes: minor changes.Stephen Blott
2015-01-25Visual/edit modes: visual line mode.Stephen Blott
2015-01-24Visual/edit modes: more edit-mode commands.Stephen Blott
- "dw", "3dw", "d3w" - "dc", "3dc", "d3c" - "D" - "C" Also refactor enterInsertMode. Also major refactor of interface between edit and visual modes.
2015-01-23Visual/edit modes: more (and better) commands.Stephen Blott
2015-01-23Visual/edit modes: develop edit mode.Stephen Blott
- implement "i", "a". - fix "w" for edit mode. - try out "e" for enter edit mode. - initial implementation "o", "O" - Suppress backspace and delete. - Scroll in text areas.
2015-01-21Edit mode: initial framework.Stephen Blott
2015-01-18Modes; pre-merge clean up.Stephen Blott
2015-01-16Modes; clean up.Stephen Blott
2015-01-08Modes; incorporate small changes from #1413.Stephen Blott
Slightly more significant: Move several utilities to dome_utils.
2015-01-06Modes; Note visual mode not yet implemented.Stephen Blott
2015-01-04Modes; various improvements.Stephen Blott
- Add StateMode. - PasskeysMode is a StateMode. - BadgeUpdateMode is a StateMode. - Improve badge handling. - Add push method to Mode. - Document how modes work. - Cache badge on background page to reduce the number of updates. - Remove badge restriction on document.body?.tagName.toLowerCase() == "frameset". - Add ExitOnEscape mode, use it for ConstrainedMode and FindMode. - Move PostFindMode to its own file.
2015-01-03Modes; visual-mode template.Stephen Blott
Visual mode command has been create: bound to `v`, of course. The template is in mode_visual.coffee. It shouldn't really be necessary to make changes outside of there. Let me know if you have any issues.
2015-01-02Modes; incorporate find mode.Stephen Blott
2015-01-02Modes; simplify badge handling.Stephen Blott
2015-01-02Modes; fix badges.Stephen Blott
2015-01-02Modes; rework badge handling and fix passkeys mode.Stephen Blott
2015-01-01Modes; incorporate three test modes.Stephen Blott
As a proof of concept, this incorporates normal mode, passkeys mode and insert mode.
2014-12-31Simplify search engine logic.Stephen Blott
2014-12-30Delay recognising query as search-engine query.Stephen Blott
2014-12-30Merge branch 'search-engine-descriptions' of ↵Stephen Blott
https://github.com/smblott-github/vimium into smblott-github-search-engine-descriptions
2014-12-30Merge branch 'master' into post-1.46Stephen Blott
2014-12-30Merge branch 'passkeys---union-of-rules' of ↵Stephen Blott
https://github.com/smblott-github/vimium into smblott-github-passkeys---union-of-rules
2014-12-30Exclusions; use querySelector to find sub-elements.Stephen Blott
As @philc pointed out in #1366, this is less brittle.
2014-12-30Add description to default search engines settings.Stephen Blott
2014-12-30Minor changes to vomnibar-in-iframe.Stephen Blott
From top to bottom on the diff: - The echo handler on the background page is no longer required. - Simplify/refactor vomnibarUI message handler. - Initialise vomnibar query to "" (rather than null) and simplify. - No need to focus parent window when vomnibar closes; that's handled by the iframe framework. Also no need to blur.
2014-12-29Remove UI component demo.Stephen Blott
2014-12-29Merge branch 'smblott-uicomponent-iframe' into post-1.46-with-uicomponent-iframeStephen Blott
Conflicts: content_scripts/vimium_frontend.coffee manifest.json
2014-12-29Descriptions for custom search engines.Stephen Blott