| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-09-21 | Add a comment explaining the choice of XMLHttpRequest for UIComponent | mrmr1993 | |
| 2015-09-19 | Tidy up #1833. | Stephen Blott | |
| 2015-09-18 | Load UIComponent stylesheet via XMLHttpRequest, use background as needed | mrmr1993 | |
| 2015-09-13 | Don't show UIComponent <iframe>s while vimium.css loads | mrmr1993 | |
| This fixes #1817, where our stylesheet isn't loaded correctly due to a Chromium issue and the Vomnibar/HUD <iframe>s are always visible on the new tab page. | |||
| 2015-08-28 | clean code | gdh1995 | |
| 2015-08-26 | Use createElementNS for XML documents and remove XML specific codepaths | mrmr1993 | |
| This implements @gdh1995's idea from #1796. | |||
| 2015-05-29 | Also disable all externally-used functions for XML. | Stephen Blott | |
| 2015-05-29 | Disable UIComponent for XML documents | mrmr1993 | |
| If the page is an XML document, nothing we do works: * <style> elements show their contents inline, * <iframe> elements don't load any content, * document.createElement generates elements that - have Element.style == null, and - ignore CSS. This commit stops us from injecting anything into the DOM from UIComponent, fixing #1640. | |||
| 2015-05-26 | Refactor to avoid potential race condition (cont). | Stephen Blott | |
| 2015-05-26 | Refactor to avoid potential race condition. | Stephen Blott | |
| I haven't seen this happen, but... It could be possible for the iframe's contents to load before this callback is called (on nextTick), in which case the "load" callback wouldn't be called. So we delay setting the iframe's source until nextTick has elapsed. | |||
| 2015-05-26 | Add comment noting why we need AsyncDataFetcher. | Stephen Blott | |
| 2015-05-25 | Fix UI Component race condition on start up. | Stephen Blott | |
| Approach: Re-use the existing AsynDataFetcher class to "fetch" and use the iframe message port. Messages are queued until the iframe's contents have loaded and the message port is open. Fixes #1679. | |||
| 2015-05-18 | Fix vomnibar stuck open. | Stephen Blott | |
| See #1671. The problem was that we were making the vomnibar visible in the frontend, even if the vomnibar initialisation was not yet complete, and the iframe port was not yet available. (Also, @activate() is never being called without options, so we can drop that test.) Fixes #1671. | |||
| 2015-05-13 | Move the HUD to an iframe, managed by UIComponent | mrmr1993 | |
| 2015-05-11 | Use css @import rather than XMLHttpRequest for shadow DOM external style | mrmr1993 | |
| 2015-05-01 | Rename UIComponent class to match the one used in the stylesheet | mrmr1993 | |
| 2015-04-28 | Load stylesheet via XHR to fix styles in UIComponent Shadow DOM | mrmr1993 | |
| Shadow DOM doesn't support <link>s, so we have to load the stylesheet manually and inject it into a <style> element. | |||
| 2015-04-28 | Load the Vomnibar (and all UIComponents) in a shadow DOM | mrmr1993 | |
| This insulates them from page CSS, so we don't have to compete to style elements correctly. | |||
| 2015-04-28 | Fix vomnibar start-up messages. | Stephen Blott | |
| 2015-04-26 | Disable 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-26 | Remove (overlooked) debugging code. | Stephen Blott | |
| 2015-04-23 | Activate vomnibar in window.top; no flicker and tidy up. | Stephen Blott | |
| 1. Rework event handling to eliminate frame flicker (a la #1485). 2. Tidy up logic. Which should make this more robust. | |||
| 2015-03-17 | Activate vomnibar in window.top; more clean up. | Stephen Blott | |
| Clean up, and fixes following code review from @mrmr1993. | |||
| 2015-03-17 | Activate vomnibar in window.top; fix race condition on close. | Stephen Blott | |
| 2015-03-17 | Activate vomnibar in window.top; more clean up. | Stephen Blott | |
| 2015-03-17 | Activate vomnibar in window.top; hide on focus, fixed. | Stephen Blott | |
| 2015-03-17 | Activate vomnibar in window.top; hide on focus. | Stephen Blott | |
| 2015-03-17 | Activate vomnibar in window.top; simplify messaging. | Stephen Blott | |
| 2015-03-17 | Activate vomnibar in window.top; refocus original frame. | Stephen Blott | |
| 2015-03-16 | Activate vomnibar in window.top. | Stephen Blott | |
| This changes vomnibar commands to activate not in the current frame, but in window.top. Consequently, the vomnibar always appears in the same position, and we don't get odd looking vomnibars in small frames. Apart from the better UX, this seems to be the right thing to do. Vomnibar commands apply to tabs (not frames). Currently incomplete: - On exit, the focus is not returned to the frame which originally had the focus. (It's returned to window.top). - The vomnibar can lose the focus and not hide itself for various frame/click combinations. | |||
| 2015-03-06 | Correctly remove event listeners. | Stephen Blott | |
| Fix oversight from #1517. | |||
| 2015-03-05 | Hide vomnibar if host frame regains focus. | Stephen Blott | |
| Fixes #1506. This takes the opposite approach to #1511. Instead of hiding the vomnibar when it blurs, we hide it when it's host frame is focused. | |||
| 2014-12-30 | Use classes and a stylesheet for UIComponen | mrmr1993 | |
| 2014-12-30 | Reinstate UIComponent.show | mrmr1993 | |
| 2014-12-29 | Use UIComponent for Vomnibar iframe | mrmr1993 | |
| 2014-12-29 | Clearer handling of @showing in UI component. | Stephen Blott | |
| 2014-12-29 | Refactor UIComponent, etc., and demo. | Stephen Blott | |
| - Simplify component API. - Iframe flashes on re-focus. - Probably some other stuff which I've forgotten. | |||
| 2014-12-29 | Add UIComponent.active, so we can specify whether to focus the frame | mrmr1993 | |
| 2014-12-29 | Remove key handling in UIComponentServer/UIComponent code | mrmr1993 | |
| 2014-12-29 | Allow message passing directly from UIComponent.show | mrmr1993 | |
| 2014-12-29 | Small changes to UIComponent | mrmr1993 | |
| 2014-12-29 | Initialise hide/show styles for UIComponent | mrmr1993 | |
| 2014-12-29 | Close UIComponent iframes when pressing esc by default | mrmr1993 | |
| 2014-12-28 | Add UIComponent code for iframes | mrmr1993 | |
