aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
AgeCommit message (Collapse)Author
2014-12-16Add a little more context to a commentPhil Crosby
2014-12-16Do not use Math.sign().Stephen Blott
2014-12-16Add comments to nextFrame logic.Stephen Blott
2014-12-16Merge branch 'skip-tiny-frames' of https://github.com/mrmr1993/vimium into ↵Stephen Blott
mrmr1993-skip-tiny-frames
2014-12-16Fix smooth scrolling, all cases.Stephen Blott
2014-12-16Use a tolerance when checking scrolling to fix zoomed scrollsmrmr1993
2014-12-15Skip over tiny frames when calling focusThisFramemrmr1993
GMail and Google Inbox both use a large number of small (typically 0x0 or 1x1 frames) which we have to pass over with nextFrame to get to the frames we want. We avoid this issue by ignoring all frames with height or width < 3, since these will be essentially invisible to the user anyway.
2014-12-15Fix typoPhil Crosby
2014-12-15Fix second memory leak in KeydownEvents.Stephen Blott
2014-12-15Rework KeydownEvents as an abject.Stephen Blott
2014-12-15Merge branch 'stop-memory-leak-for-keydown-repeats' of ↵Stephen Blott
https://github.com/mrmr1993/vimium into mrmr1993-stop-memory-leak-for-keydown-repeats
2014-12-14Only register events as handled oncemrmr1993
2014-12-14FRAMESET frames should not be registered.Stephen Blott
Somewhere along the road, this got goofed up. This reverts to the intended behaviour.
2014-12-13Remove insert mode check for keyup handlingmrmr1993
If we have handled a keydown then we should always handle its corresponding keyup, regardless of what mode we're in. This prevents us from passing the keyup event for `i` to the page when we enter insert mode.
2014-12-13Make keyup event suppression more readablemrmr1993
2014-12-13Fix flipped viewSize properties in scroller.Stephen Blott
2014-12-05Make the z-indices a little bit smallerPhil Crosby
2014-12-04Increase the z-index of all components to close to Number.MAX_VALUEmrmr1993
2014-11-30Merge pull request #1238 from ↵Phil Crosby
smblott-github/smooth-scrolling-requestAnimationFrame-repeat Smooth scrolling via requestAnimationFrame, with keyboard repeat
2014-11-28Clear all keydown events that correspond to a keyup eventmrmr1993
2014-11-23Merge branch 'contentEditable-fix' of github.com:smblott-github/vimiumStephen Blott
2014-11-23Frames; more cleanup and simplification.Stephen Blott
2014-11-23Don't record frameIds for frames only containing a framesetmrmr1993
Frameset frames have no content of their own -- they only embed other pages in sub-frames. The user can't perform any actions (of ours or the browsers) with a frameset focused, so we might as well just not focus it.
2014-11-23Remove redundant code, add a new listener to be more consistentmrmr1993
2014-11-23Fix frame switching after frame redirect/creationmrmr1993
2014-11-22Revert 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2.Stephen Blott
On reflection, 3f3f256e1abe2a7795ba89ff6b84d4b81fb0a7e2 seems like a bad idea. It's unnecessary, and risks unforeseen consequences.
2014-11-20Fix isValidFirstKey for eg. function keysmrmr1993
2014-11-20Ensure we suppress events for all keys we handlemrmr1993
2014-11-20 Do not handle keystrokes for contentEditable (check find mode).Stephen Blott
It is not strictly necessary to check find mode here. However, if we don't do so, then we leave a booby trap for future developers. So we do the extra check. This, hopefully, means that we don't suddenly find ourselves dropping into insert mode just because somebody reorders the code elsewhere.
2014-11-20Do not handle keystrokes for contentEditable (refactor).Stephen Blott
2014-11-18Do not handle keystrokes for contentEditable.Stephen Blott
2014-11-16Smooth scroll; fix-ups requested by @philc.Stephen Blott
2014-11-15Smooth scroll; optimization and more tidy up.Stephen Blott
2014-11-14Smooth scroller; move calibration constants out of init.Stephen Blott
2014-11-14Smooth scroll; better documentation for calibration.Stephen Blott
2014-11-14Smooth scroll; move doScrollBy to it's own object.Stephen Blott
The main reason for doing this is so that we can add the (now) CoreScroller callbacks to the handler stack earlier, and therefore track @keyIsDown correctly at startup, while also keeping local state local.
2014-11-14Smooth scroll; partial fix to race condition.Stephen Blott
2014-11-14Smooth scroll; incororate feedback from @mrmr1993.Stephen Blott
2014-11-13Smooth scroll; admit count prefixes.Stephen Blott
2014-11-13Smooth scroll; yet more refactoring.Stephen Blott
2014-11-13Smooth scroll; fix displacement and calibrate.Stephen Blott
2014-11-13Smooth scrolling; note incorrect calibration; MUST BE FIXED!Stephen Blott
2014-11-13Smooth scrolling; tidy up, better comments.Stephen Blott
2014-11-12Favicons in the vomnibar; remove support.Stephen Blott
There are security issues with favicons as implemented previously. This commit removes favicon support entirely.
2014-11-11Smooth scroll; comments and more minor tidy up.Stephen Blott
2014-11-11Smooth scroll; add comment and remove unused variable.Stephen Blott
2014-11-11Smooth scroll; tidy up.Stephen Blott
2014-11-11Smooth scroll; eliminate race condition.Stephen Blott
2014-11-11Smooth scroll; tune key-repeat code.Stephen Blott
2014-11-11Smooth scroll; initial handle keyboard repeat.Stephen Blott