aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2015-05-05Merge remote-tracking branch 'mrmr1993/fix-insert-mode-for-shadow-dom' into ↵Stephen Blott
search-engine-completion-v2
2015-05-01Merge pull request #1622 from mrmr1993/reenable-grabBackFocus-on-js-transitionsStephen Blott
Make GrabBackFocus work for javascript page transitions from links
2015-05-01Enter insert mode if an input inside a shadow DOM is focusedmrmr1993
This fixes issue #853.
2015-05-01Don't try and enter GrabBackFocus mode if the last click introduced focusmrmr1993
2015-05-01Add extra information to GrabBackFocus' pushState helpermrmr1993
2015-05-01Rename UIComponent class to match the one used in the stylesheetmrmr1993
2015-04-30Make GrabBackFocus work for javascript page transitions from linksmrmr1993
2015-04-29Revert "Enable grab-back-focus after web navigation."Stephen Blott
This reverts commit 061e99f895e5655d351ad1585af028a12abf3ec0.
2015-04-29Revert "Only grab focus after link transition."Stephen Blott
This reverts commit f1e46d8145c834a712f6be7c1e5bd590c72da749.
2015-04-29Merge pull request #1614 from mrmr1993/shadowDom-UIComponentsStephen Blott
Use a shadowDom for the Vomnibar (and all UIComponents)
2015-04-29Use innerHTML instead of contentText.Stephen Blott
If we use contentText, then it is possible for a child and its to have exactly the same content text, in which case it is arbitrary as to which is sorted first, hence which we choose (where we should be choosing the child). Using innerHTML instead, we guess that even if the contentText lengths are the same, the innerHTML of the parent will be longer (since it contains that of the child).
2015-04-29Fix text matching/exclusion; repair tests.Stephen Blott
2015-04-29Fix text matching/exclusion for text link hints.Stephen Blott
We need to sort elements by their text length. This allows us to exclude the text of descendants from the hint text generated for their ancestors. Note: Tests not yet fixed.
2015-04-29Ignore keyboard repeats in link hint key handlermrmr1993
2015-04-28Revert "Fix over-riding of vomnibar display CSS."mrmr1993
This reverts commit 6e7b04692aceeed6544510f853eb58cdad564f9e.
2015-04-28Load stylesheet via XHR to fix styles in UIComponent Shadow DOMmrmr1993
Shadow DOM doesn't support <link>s, so we have to load the stylesheet manually and inject it into a <style> element.
2015-04-28Simplify 8975229fd637ca1a91d7c52beb5969fe2b5e4d27.Stephen Blott
2015-04-28Fix mode indicator for "gi".Stephen Blott
2015-04-28Revert "Ensure that the Vomnibar iframe background is transparent"mrmr1993
This reverts commit 26cbeba9b9301652d15e01ad4dac9248637ba3eb.
2015-04-28Load the Vomnibar (and all UIComponents) in a shadow DOMmrmr1993
This insulates them from page CSS, so we don't have to compete to style elements correctly.
2015-04-28Merge pull request #1613 from smblott-github/fix-vomnibar-permanent-visibilityStephen Blott
Fix over-riding of vomnibar display CSS.
2015-04-28Activate grab-back-focus only if enabled.Stephen Blott
This turned out to be trickier than expected. It turns out there's a period after document.body is defined but before the DOM is ready when we can't use the HUD (but previously thought we could, ie. HUD.isReady returned true).
2015-04-28Fix vomnibar start-up messages.Stephen Blott
2015-04-28Revert "Do not grab back focus if Vimium is disabled."Stephen Blott
This reverts commit cfb137d515e6f214322538fdd9a8e236445b63b0. Conflicts: content_scripts/vimium_frontend.coffee There are HUD initialization issues with this.
2015-04-28Follow on from 6073cafed845cd31f88c5b51aafacc44278245fb.Stephen Blott
2015-04-28Fix over-riding of vomnibar display CSS.Stephen Blott
Fixes #1594.
2015-04-28Temporary fix for tests.Stephen Blott
The tests are passing, but they are triggering an exception in the initialization of the HUD. It's proving difficult to get the initialization in the right order for both the tests and live. This is a temporary fix...
2015-04-28Revert "Temporary fix for tests."Stephen Blott
This reverts commit ed7533b48f2f0c7cdd0272f9c6c61c44cfc5c463. This was somehow(?) causing the HUD to not be displayed. Need to come back and look at the tests issue. The tests are passing, they just generate an exception.
2015-04-28Merge pull request #1609 from ↵Stephen Blott
smblott-github/fix-grab-back-focus-after-web-navigation Fix grab back focus after web navigation
2015-04-28Merge pull request #1607 from mrmr1993/make-getVisibleClientRect-safeStephen Blott
Make getVisibleClientRect behave as expected by default
2015-04-28Temporary fix for tests.Stephen Blott
2015-04-28Only grab focus after link transition.Stephen Blott
2015-04-28Do not grab back focus if Vimium is disabled.Stephen Blott
2015-04-28Make DomUtils.getVisibleClientRects default to expected behaviourmrmr1993
This requires passing of an extra truthy argument in order to access the (generally) unexpected behaviour of sometimes returning the rects of child elements. All locations in the code that *actually* wanted this behaviour have been updated to continue using it. Also add a comment about the unexpected behaviour in the function description.
2015-04-28Merge pull request #1601 from mrmr1993/fix-scrollIntoViewStephen Blott
Fix bounds and amounts in Scroller.scrollIntoView
2015-04-28Ensure keydown handler returns a truthy value.Stephen Blott
2015-04-28Merge pull request #1595 from mrmr1993/no-focus-submitStephen Blott
Don't focus <input type="submit" /> elements from link hints
2015-04-28Fix bounds and amounts in scrollIntoViewmrmr1993
2015-04-27Always cancel scrolling after additional (non-repeat) keydownsmrmr1993
This fixes #1596.
2015-04-27Don't focus <input type="submit" /> elements from link hintsmrmr1993
2015-04-27Enable grab-back-focus after web navigation.Stephen Blott
Fixes #1588. (??)
2015-04-27Merge pull request #1589 from smblott-github/fix-alt-passkeysStephen Blott
Keys aren't passkeys with Ctrl, Alt or Meta.
2015-04-27Ensure that the Vomnibar iframe background is transparentmrmr1993
Some extensions (eg. Hacker Vision) override the background colour of iframes to make the screen dark, even when the frame is already set to transparent. This gives our rule higher priority, so that the frame is still rendered as transparent, and doesn't obscure the content beneath.
2015-04-27It's not a passkey with Ctrl, Alt or Meta.Stephen Blott
Fixes #1586.
2015-04-26Disable frame flash after Vomnibar closes.Stephen Blott
The UX around this is not quite right yet. It's better to disable it for now.
2015-04-26Remove (overlooked) debugging code.Stephen Blott
2015-04-25Guard against there being no load handler.Stephen Blott
2015-04-25Minor tweak of front-end settings.Stephen Blott
2015-04-25Simplify front-end settings logic.Stephen Blott
- Simplify the settings logic. - Send a single request for all required settings (instead of 12 inidividual requests for the 12 settings values we need in the front end).
2015-04-25Remove unused code.Stephen Blott