aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-04-29Merge pull request #1619 from smblott-github/fix-text-link-hintsStephen Blott
Fix matching text for text link hints
2015-04-29Fix text matching/exclusion; repair tests (again).Stephen Blott
We should also take a look at these tests and the assumptions they're making. They're difficult to follow as is.
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-28Add a test to confirm that issue #1554 is fixedmrmr1993
2015-04-28Recognise inline child elements of height=0 elements caused by font-sizemrmr1993
If an element with style="display: inline; font-size: 0px;" surrounds another element with style="display: inline; font-size: apx;", where a is non-zero, then the inner element and its contents will be visible. However, the outer element will register height=0 in its clientRects, which previously caused us to reject these elements. This changes the behaviour to handle this case correctly.
2015-04-28Refactor word-movement.Stephen Blott
Since we don't use this huge regexp on most pages, lets just compile it when we need it.
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-28Make content_script/vimium.css web accessible (for UIComponent)mrmr1993
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-28Add not-yet-released notes to RELEASE.md.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-28Fix up #1604.Stephen Blott
2015-04-28Merge branch 'no-reorder-frameIds' of https://github.com/mrmr1993/vimium ↵Stephen Blott
into mrmr1993-no-reorder-frameIds
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-28Fix word movement for non-English characters.Stephen Blott
Fixes #1592.
2015-04-28Only grab focus after link transition.Stephen Blott
2015-04-28Merge pull request #1608 from smblott-github/grab-back-focus-only-if-enabledStephen Blott
Do not grab back focus if Vimium is disabled.
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-28Remove redundant testmrmr1993
Elements with css `display: none;` never have client rects.
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-28Don't re-order frameIds in the background page when manually focusingmrmr1993
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-27Better explanation of p/P in visual mode.Stephen Blott
See #1593.
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-27Merge pull request #1591 from smblott-github/fix-passkeys-inner-trimStephen Blott
Do not remove inner whitespace from passkeys configuration
2015-04-27Merge pull request #1590 from mrmr1993/transparent-iframeStephen Blott
Ensure that the Vomnibar iframe background is transparent
2015-04-27Do not remove inner whitespace from passkeys.Stephen Blott
Fixes #1585.
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.