aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/main.coffee
AgeCommit message (Collapse)Author
2015-01-04Modes; various improvements.Stephen Blott
- Add StateMode. - PasskeysMode is a StateMode. - BadgeUpdateMode is a StateMode. - Improve badge handling. - Add push method to Mode. - Document how modes work. - Cache badge on background page to reduce the number of updates. - Remove badge restriction on document.body?.tagName.toLowerCase() == "frameset". - Add ExitOnEscape mode, use it for ConstrainedMode and FindMode. - Move PostFindMode to its own file.
2015-01-02Modes; incorporate find mode.Stephen Blott
2015-01-02Modes; simplify badge handling.Stephen Blott
2015-01-02Modes; fix badges.Stephen Blott
2015-01-02Modes; rework badge handling and fix passkeys mode.Stephen Blott
2015-01-01Modes; incorporate three test modes.Stephen Blott
As a proof of concept, this incorporates normal mode, passkeys mode and insert mode.
2014-12-30Merge branch 'master' into post-1.46Stephen Blott
2014-12-30Minor changes to vomnibar-in-iframe.Stephen Blott
From top to bottom on the diff: - The echo handler on the background page is no longer required. - Simplify/refactor vomnibarUI message handler. - Initialise vomnibar query to "" (rather than null) and simplify. - No need to focus parent window when vomnibar closes; that's handled by the iframe framework. Also no need to blur.
2014-12-29Merge branch 'smblott-uicomponent-iframe' into post-1.46-with-uicomponent-iframeStephen Blott
Conflicts: content_scripts/vimium_frontend.coffee manifest.json
2014-12-29Refactor UIComponent, etc., and demo.Stephen Blott
- Simplify component API. - Iframe flashes on re-focus. - Probably some other stuff which I've forgotten.
2014-12-21Exclusion; multi-rule matching.Stephen Blott
2014-12-16Merge branch 'master' into post-1.46Stephen Blott
Conflicts: background_scripts/main.coffee
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-14Merge branch 'vomnibarToPage' of https://github.com/smblott-github/vimium ↵Stephen Blott
into smblott-github-vomnibarToPage Conflicts: background_scripts/main.coffee content_scripts/vimium.css content_scripts/vomnibar.coffee lib/utils.coffee
2014-11-24Frames; eliminate Array::rotate (and support large counts).Stephen Blott
2014-11-24Frames; eliminate Array::rotate.Stephen Blott
Array::rotate extends the array object, polluting its name space; so, instead, we just rotate the array manually.
2014-11-23Frames; more cleanup and simplification.Stephen Blott
2014-11-23Frames; just add new frames to the end.Stephen Blott
We don't need to worry where frames are added, nextFrame will find the right frame to start from anyway.
2014-11-23Frames; always start rotation from the current frame.Stephen Blott
2014-11-23Frames; remove unnecessary comments.Stephen Blott
2014-11-23Frames; do not guess frame on unregisterFrame.Stephen Blott
2014-11-23Frames; more tidy up; fix typo.Stephen Blott
2014-11-23Frames; more tidy up.Stephen Blott
2014-11-23Frames; tidy up.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-23Store frameIds directly in background pagemrmr1993
2014-11-23Small cosmetic changesmrmr1993
2014-11-23Monitor a tab's frames as a list with the current frame at its headmrmr1993
2014-11-23Fix frame switching after frame redirect/creationmrmr1993
2014-11-02Merge branch 'master' into customNewTabPageStephen Blott
2014-11-02Fix refresh open tabs and state.Stephen Blott
Fixes refresh of state bug introduced in 046650ba22ac12ebb18d1eb109fe694016eb77c0.
2014-11-02Optional custom new tab URLmrmr1993
This resolves #979.
2014-10-31Merge vomnibarToPage from @mrmr1993.Stephen Blott
2014-10-31Add comments about moving the Vomnibar to an iframemrmr1993
2014-10-26Limit repeats, minor refactoring.Stephen Blott
2014-10-26Merge branch 'limitedRepeats' of github.com:mrmr1993/vimium into ↵Stephen Blott
mrmr1993-limitedRepeats
2014-10-26Merge branch 'fix-tab-restore' of github.com:mrmr1993/vimium into ↵Stephen Blott
mrmr1993-fix-tab-restore
2014-10-26Refactor CSS injection.Stephen Blott
2014-10-26Merge branch 'fix-insertCSS-error' of github.com:mrmr1993/vimium into ↵Stephen Blott
mrmr1993-fix-insertCSS-error
2014-10-26Change registerFrameIfSizeAvailable to registerFrame, stop sending sizemrmr1993
We were never using the area property, and it was causing an infinite setTimeout loop on frames with height == 0 or width == 0 (often caused by AdBlockPlus etc.).
2014-10-25Fence off unnecessary tabQueue code when chrome.sessions is definedmrmr1993
2014-10-25Fail gracefully in restoreTab when runtime.lastError is setmrmr1993
This brings behaviour of the chrome.sessions codepath in line with the legacy code.
2014-10-25Prompt for confirmation when executing large numbers of repeatsmrmr1993
Implement `repeatLimit`, to prompt for confirmation before repeating a command a large number of times, and apply it to tab creation/deletion commands.
2014-10-25Add noRepeat to relevent frontend commandsmrmr1993
The use of Vomnibar commands with a numerical prefix > 1 is broken and non-trivial to fix. This patch introduces the `noRepeat` property for frontend commands, applying it to all Vomnibar commands and several others.
2014-10-25Check chrome.runtime.lastError to fix error in chrome.runtime.lastErrormrmr1993
2014-09-17Move the vomnibar to an iframemrmr1993
2014-09-06Structured passkeys; changes following code review; major rewrite of options.Stephen Blott
2014-09-02Structured exclusion rules: Simplify isEnabledForUrl.Stephen Blott
2014-09-02Structured exclusion rules: Fix typos and minor issues.Stephen Blott
2014-09-02Structured passkeys, internally and on the options and popup pages.Stephen Blott