aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-08-29use documentReady instead of setTimeout to init focusThisFramegdh1995
2015-08-29Minor tweaks (clipboard).Stephen Blott
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.
2015-08-28a better way to detect document typesgdh1995
On a XML view page, createElement will create an "Element" object Otherwise, createElement('div') will get an object : HTMLDivElement >> HTMLElement >> Element
2015-08-28fix a new typogdh1995
oh my god
2015-08-28remove `.bind` imported in da8653f because dom tests fail if bind existsgdh1995
2015-08-28fix a typo in PR #1798gdh1995
2015-08-28clean codegdh1995
2015-08-28fix a bug that Clipboard fails without DomUtilsgdh1995
2015-08-28fix a bug that Utils using DomUtilsgdh1995
remove Utils.createElementFromHtml since it's not in use
2015-08-28fix the bug that XML view page may change itself into RSS documentgdh1995
2015-08-26Use createElementNS for XML documents and remove XML specific codepathsmrmr1993
This implements @gdh1995's idea from #1796.
2015-08-22Merge pull request #1794 from smblott-github/fix-perpetual-scrollStephen Blott
Prevent perpetual scroll.
2015-08-22Merge pull request #1771 from mrmr1993/detect-fixed-position-elements-linkhintsStephen Blott
Treat css position 'fixed' like 'absolute' for link hints on children 0-width/height parents
2015-08-22Prevent perpetual scroll.Stephen Blott
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.
2015-08-22Merge pull request #1745 from poacher2k/patch-1Stephen Blott
Add support for ngClick to link hints
2015-08-22Merge pull request #1772 from gdh1995/focus-end-for-inputStephen Blott
Move the caret to end in `focusInput`
2015-08-20MergeDaniel Skogly
2015-08-13Remove an unused function, restructure to be like the execSync codemrmr1993
2015-08-13Use spawnSync rather than spawn to provide synchronous processesmrmr1993
2015-07-29fix bugs in KeydownEvents so that correct keyup events will be handledgdh1995
2015-07-26Only apply passkeys to single character keys explicitlymrmr1993
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.
2015-07-20move the caret to end in `focusInput`gdh1995
2015-07-20Treat links with fixed position children like absolutely positionedmrmr1993
This fixes #1770.
2015-07-13Use spawn instead of exec-sync for cake packagemrmr1993
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.
2015-07-02Better angularJS detection.Stephen Blott
See @mrmr1993's comment in 2cc7dc1d2164b5dbb27bcc1d4bc0517402dd7581.
2015-07-01Re-work angularJS checks.Stephen Blott
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.
2015-06-30Merge pull request #1751 from smblott-github/set-new-tab-parentStephen Blott
Set the parent tab when creating tabs.
2015-06-26Fix oversight from #1693.Stephen Blott
(We need to use "this" inside this function.)
2015-06-26Fix oversight from #1693.Stephen Blott
(We need to use "this" inside this function.)
2015-06-25Make global marks consistent with other tab creation operations.Stephen Blott
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.
2015-06-25Set the parent tab when creating tabs.Stephen Blott
If the tab is subsequently deleted, then we return to the original tab (as opposed to the one on its right).
2015-06-25Merge branch 'hud-iframe-input-with-store-all-settings'Stephen Blott
2015-06-25Merge branch 'store-all-settings' into hud-iframe-input-with-store-all-settingsStephen Blott
2015-06-23*Always* collapse selection on yank.Stephen Blott
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.)
2015-06-22Merge pull request #1747 from gdh1995/masterStephen Blott
fix a bug that `pasteFromClipboard` does not return text from clipboard
2015-06-22fix a bug that `pasteFromClipboard` does not return text from clipboardgdh1995
2015-06-20TweaksDaniel Skogly
In regards to https://github.com/philc/vimium/commit/9475c51932fc3331e515886b0495c5b86a1a9e65
2015-06-20The second part of b09822eb349ec88a573d4f450e9b57e8fa3c6473 is incorrect.Stephen Blott
Revert it.
2015-06-20Fix SimpleCache bugs.Stephen Blott
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().
2015-06-20Adding debugging infrastructure for settings.Stephen Blott
2015-06-20Document options/settings data model.Stephen Blott
2015-06-20Document options/settings data model.Stephen Blott
2015-06-20Add test that every option has a default value.Stephen Blott
This prevents issues like #1731 and is an (better) alternative to #1732.
2015-06-20Merge pull request #1736 from ↵Stephen Blott
smblott-github/remember-show-advanced-options-state Make "Show Advanced Options" state persistent.
2015-06-19More concise commentDaniel Skogly
Because I apparently can't read docs properly!
2015-06-19Clarifications to ngClick checkDaniel Skogly
2015-06-18Proper function callDaniel Skogly
CoffeeScript is not my native tongue.
2015-06-18Proper function definitionDaniel Skogly
Changed from : to =
2015-06-18Added hasNgClick-check in getVisibleClickableDaniel Skogly
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.
2015-06-17Merge pull request #1740 from smblott-github/synchronise-initialisationStephen Blott
Initialise modes and install listeners at the same time.