| Age | Commit message (Collapse) | Author |
|
I'm seeing an intermitent issue whereby the browser icon is showing as
disabled, when vimium is in fact enabled. It's intermitent, so
difficult to track down.
I went back to look at the old code for setting the browser icon, and
reset this code to look more like the old code. I suspect the problem
may be that we disabling the icon because we're getting no response from
one frame (or something like that).
|
|
It seems this was probably used at some point before the introduction of
settings.set() in the front end. It isn't used at all, now.
|
|
- Fix incorrect camel case in option name.
- Better text on options page.
- Loud comments re. using option directly from chrome.storage.sync.
|
|
- add new option "GrabBackFocus"
- use chrome.storage.sync.get() to get option value
- avoid race conditions on load
- fix tests
|
|
|
|
|
|
Fix conflicts from 9f20c33adf75e2e78b35e2cd16f2a0925a72c577.
|
|
Conflicts:
background_scripts/main.coffee
|
|
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!
|
|
Conflicts:
background_scripts/main.coffee
content_scripts/vimium_frontend.coffee
lib/keyboard_utils.coffee
|
|
|
|
This fixes a second dumb error I made in #1456.
|
|
|
|
|
|
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.
|
|
|
|
|
|
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.
|
|
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.
|
|
- This commit is incomplete because, to progress, we need bc7db7473456713c8c84f324e71da93145ffa2a0.
|
|
Doing the migration in a content script is dumb. Now we do it on the
background page.
|
|
|
|
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.
|
|
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.
|
|
The stripped code is all relocated in #1413.
|
|
Fixes #1443.
|
|
|
|
|
|
- "dw", "3dw", "d3w"
- "dc", "3dc", "d3c"
- "D"
- "C"
Also refactor enterInsertMode.
Also major refactor of interface between edit and visual modes.
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
Slightly more significant:
Move several utilities to dome_utils.
|
|
|
|
- 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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
As a proof of concept, this incorporates normal mode, passkeys mode and
insert mode.
|
|
|
|
|
|
https://github.com/smblott-github/vimium into smblott-github-search-engine-descriptions
|
|
|
|
https://github.com/smblott-github/vimium into smblott-github-passkeys---union-of-rules
|
|
As @philc pointed out in #1366, this is less brittle.
|
|
|