| Age | Commit message (Collapse) | Author |
|
|
|
1. We're not using Clipboard in the the content scripts, so don't import it.
2. Use consistent syntax for method calls.
This commit is a no-op.
|
|
On a XML view page, createElement will create an "Element" object
Otherwise, createElement('div') will get an object
: HTMLDivElement >> HTMLElement >> Element
|
|
oh my god
|
|
|
|
|
|
|
|
|
|
remove Utils.createElementFromHtml since it's not in use
|
|
|
|
This implements @gdh1995's idea from #1796.
|
|
Prevent perpetual scroll.
|
|
Treat css position 'fixed' like 'absolute' for link hints on children 0-width/height parents
|
|
If we miss the keyup event while a smooth scroll is active (because the
focus changes), then we scroll forever. This stops scrolling on blur.
Fixes #1788.
|
|
Add support for ngClick to link hints
|
|
Move the caret to end in `focusInput`
|
|
|
|
|
|
|
|
|
|
Before this change, a string in KeyboardUtils.keyNames could have the
key it represents disabled if
* its letters were in alphabetical order, and
* the user has set all of its letters as passkeys, with none in between.
For example, imagining that "del" (for delete) was in
KeyboardUtils.keyNames, the passkeys "dpyl0e" would cause the delete key
to be a passkey too.
This commit fixes the issue by only applying passkeys when keyChar is a
single character.
|
|
|
|
This fixes #1770.
|
|
exec-sync fails to build for some environments and architectures
(including mine). As spawn is already necessary for building, we know
it will be available, and so can use that via a callback chain to run
the packaging tasks.
|
|
See @mrmr1993's comment in 2cc7dc1d2164b5dbb27bcc1d4bc0517402dd7581.
|
|
Re-working of @poacher2k's ideas from #1745.
- check whether AngularJS is being used.
- avoid building the AngularJS attribute strings multiple times.
- avoid building them *at all* if AngularJS is not being used.
|
|
Set the parent tab when creating tabs.
|
|
(We need to use "this" inside this function.)
|
|
(We need to use "this" inside this function.)
|
|
This makes global marks use the same code for opening new tabs as other
operations. Thus, the new tab appears in the same position as it would
if it were created, for example, via the vomnibar.
To do this properly, we move the three tab-creating functions into an
object which can be (and is) exported (TabOperations).
Also fixes these three operations such that they all take the same
arguments; that is (request, callback). Not all of these callbacks are
being used. But we should be consistent.
|
|
If the tab is subsequently deleted, then we return to the original tab
(as opposed to the one on its right).
|
|
|
|
|
|
This only affects the transition from visual mode back to edit mode.
Previously, we were incorrectly leaving the selection in place.
(The comment above was correct, but the implementation wasn't.)
|
|
fix a bug that `pasteFromClipboard` does not return text from clipboard
|
|
|
|
In regards to https://github.com/philc/vimium/commit/9475c51932fc3331e515886b0495c5b86a1a9e65
|
|
Revert it.
|
|
This fixes two bugs in SimpleCache.
1. Rotate the cache on the next tick. There is a marginally small
chance that the cache will rotate between calls to .has() and .get().
So, we do the rotation ansynchronously. This guarantees that these
two functions will always see the same cache state.
2. The implementation of .clear() (which is unused, I think) has at some
point become out of date (and incorrect) w.r.t. the implementation of
.rotate().
|
|
|
|
|
|
|
|
This prevents issues like #1731 and is an (better) alternative to #1732.
|
|
smblott-github/remember-show-advanced-options-state
Make "Show Advanced Options" state persistent.
|
|
Because I apparently can't read docs properly!
|
|
|
|
CoffeeScript is not my native tongue.
|
|
Changed from : to =
|
|
There's a fair amount of angular-sites running around, so including ngClick (with all its valid variations) seems like a good idea.
I added a hasNgClick-check in the if block that checks if an element is clickable regardless of tagName.
|
|
Initialise modes and install listeners at the same time.
|