ef385b16fa53ae2d4c569f1ee8ed870218b92a73: servo: Merge #5217 - localStorage shim, fixes #5195 (from zslayton:master); r=jdm
Zack Slayton <zack.slayton@gmail.com> - Mon, 16 Mar 2015 14:48:51 -0600 - rev 335921
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5217 - localStorage shim, fixes #5195 (from zslayton:master); r=jdm @jdm This initial version has a few outstanding issues that I wanted to invite input on. Specifically: 1. I had some difficulty finding a home for the `StorageType` enum. Structs defined outside of the `script` module don't seem to be able to use the `#[jstraceable]` annotation and the `net` module (where `StorageTask` lives) doesn't have access to `script`. Per Simon Sapin's suggestion, I worked around this temporarily by creating a `TraceableStorageType` stand-in struct that was traceable and which could be translated into a regular `StorageType` when being sent to the `StorageTask`. Unsure of the best way to resolve this hack. Thoughts? 2. Apart from the `Storage` constructor used in `Window::SessionStorage` and the new `Window::LocalStorage`, there's also a method called `Storage::Constructor`. I'm unclear on what (if anything) will actually invoke this, so I'm not sure which variant of `StorageType` to use here. I've temporarily created an `Unknown` variant of `StorageType` as a placeholder. 3. I discovered that the web platform tests directory's localStorage tests. Many of them now pass despite the configured expectation that they fail. However, several do not pass. Is there a good way for me to add debug logging or otherwise get a sense of which assertion failed / what went wrong? Thanks for your continued help! Source-Repo: https://github.com/servo/servo Source-Revision: b8e87ea020879090c931421cf3cec73d8cd1156f
54d1b4665848229b485e9822b6c12e18d5d2b711: servo: Merge #5228 - Fix memory leak in flow tree by adding weak refs (from metajack:memory-debug); r=pcwalton
Jack Moffitt <jack@metajack.im> - Mon, 16 Mar 2015 13:16:03 -0600 - rev 335920
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5228 - Fix memory leak in flow tree by adding weak refs (from metajack:memory-debug); r=pcwalton Cycles were being created in the flow tree since absolutely positioned descendants had pointers to their containing blocks. This adds WeakFlowRef (based on Weak<T>) and makes these backpointers weak references. This also harmonizes our custom Arc<T>, FlowRef, to be consistent with the upstream implementation. Fixes #4915. Source-Repo: https://github.com/servo/servo Source-Revision: f5ddbcf19fcd477dee61d6c03434ef7cfca188bf
9f905a3504dedcc9c0a8c6a4872853f33735d24e: servo: Merge #5210 - Add HOST_FILE environment variable for test-wpt (from GreenRecycleBin:#4968); r=jdm
Daniel Le <greenrecyclebin@gmail.com> - Mon, 16 Mar 2015 11:42:59 -0600 - rev 335919
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5210 - Add HOST_FILE environment variable for test-wpt (from GreenRecycleBin:#4968); r=jdm `./mach test tests/wpt/web-platform-tests/html/browsers/history/the-location-interface/security_location_0.sub.htm` is still failing with the same message as reported in #3219. Source-Repo: https://github.com/servo/servo Source-Revision: cf39c672b66640ab28d12ab9e6c97c0af9344212
cbba1a0772dc6fe190484884f4f7333a22641207: servo: Merge #5169 - Refactored optional argument "last_modified" for Document (from mschroeder:issue-4981); r=saneyuki
Martin Schröder <mschroeder@github.x-home.org> - Mon, 16 Mar 2015 11:03:58 -0600 - rev 335918
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5169 - Refactored optional argument "last_modified" for Document (from mschroeder:issue-4981); r=saneyuki Fixes #4981 Source-Repo: https://github.com/servo/servo Source-Revision: ccc6faa14787765485dae7ccd0976cd7e1764185
89fe3fe79dd13248f73771cd727fd0652c5cb9b1: servo: Merge #5173 - Consider media attribute on link and style tags (from cyndis:media-attr); r=jdm
Mikko Perttunen <cyndis@kapsi.fi> - Mon, 16 Mar 2015 09:54:56 -0600 - rev 335917
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5173 - Consider media attribute on link and style tags (from cyndis:media-attr); r=jdm Don't add a stylesheet if the current device does not match the media query specified in a link or style tag. Cheers, cyndis Source-Repo: https://github.com/servo/servo Source-Revision: 660ea05ddb3b17b0bb914cb09968cbcf7c6b1aec
ab8e0d45c0b188c5161a684c268f2ec2204cfa13: servo: Merge #5220 - Fixes the problem with canvas not being rendered when displayed as block level elements (from dmarcos:issue4595); r=jdm
Diego Marcos <diego.marcos@gmail.com> - Mon, 16 Mar 2015 06:57:53 -0600 - rev 335916
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5220 - Fixes the problem with canvas not being rendered when displayed as block level elements (from dmarcos:issue4595); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 1e1c97adb3cb44351df913daf8265de2edc74704
2fcdb33a3fad55aed53a355eb482d6c09ffd979d: servo: Merge #5222 - Retain buffer for CGDataProviderCreateWithData. Fixes #5084 (from cojennin:mac-font-face); r=metajack
Connor Jennings <cojennin@gmail.com> - Sun, 15 Mar 2015 13:30:56 -0600 - rev 335915
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5222 - Retain buffer for CGDataProviderCreateWithData. Fixes #5084 (from cojennin:mac-font-face); r=metajack CGDataProviderCreateWithData just wraps the underlying buffer. The underlying buffer needs to be kept around until the data provider is freed. Adding the buffer to the FontTemplateData struct ensures it sticks around. Source-Repo: https://github.com/servo/servo Source-Revision: 4f32596cc65ee75b700089ebe4c6c5a9789559f6
d5ddefd32317fa4fdf3a95d4f14957931fc15bb1: servo: Merge #5221 - Ensure wpt is bootstrapped before running (from andreastt:ato/wpt-bootstrap); r=Manishearth
Andreas Tolfsen <ato@mozilla.com> - Sun, 15 Mar 2015 12:12:54 -0600 - rev 335914
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5221 - Ensure wpt is bootstrapped before running (from andreastt:ato/wpt-bootstrap); r=Manishearth `./mach test-wpt` will fail in non-obvious ways unless all wpt submodules have recursively been checked out first. This ensure they have been when running the command in a checkout of Servo that hasn't been bootstrapped yet. Source-Repo: https://github.com/servo/servo Source-Revision: 7a299913824ad51897338ba32250a7c100b3f1e4
6f2056a5926c5595dadb4fdd4e061a8ed0080f03: servo: Merge #5218 - make MouseEvent::new() and UIEvent::new() take enums for the bubbles and (from ajnirp:enums-for-mouse-ui-event-constructors); r=Ms2ger
Rohan Prinja <rohan.prinja@gmail.com> - Sun, 15 Mar 2015 03:18:49 -0600 - rev 335913
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5218 - make MouseEvent::new() and UIEvent::new() take enums for the bubbles and (from ajnirp:enums-for-mouse-ui-event-constructors); r=Ms2ger ... cancelable arguments for #4807 Source-Repo: https://github.com/servo/servo Source-Revision: f30faeadd09b7ef553df9d270abeb3c242c4ce3a
51d24aa5f604889a47e9a1c43d9abcc864ca3744: servo: Merge #5212 - Add --no-ssl flag for bypassing SSL checking (from Manishearth:ssl-off); r=larsbergstrom
Manish Goregaokar <manishsmail@gmail.com> - Sat, 14 Mar 2015 08:39:48 -0600 - rev 335912
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5212 - Add --no-ssl flag for bypassing SSL checking (from Manishearth:ssl-off); r=larsbergstrom SSL is broken-ish (eg tw.yahoo.com, html.spec.whatwg.org don't work since we don't verify SAN properly), this flag can let devs bypass the protection for testing purposes. Source-Repo: https://github.com/servo/servo Source-Revision: 389338c28f75808e68cd635211687718362f8e7d
0f8637b75dae9577e915abae95db35951ab6f77c: servo: Merge #5211 - Use qitem rather than QualityItem::new in XHR (from Ms2ger:qitem); r=Manishearth
Ms2ger <ms2ger@gmail.com> - Sat, 14 Mar 2015 07:54:49 -0600 - rev 335911
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5211 - Use qitem rather than QualityItem::new in XHR (from Ms2ger:qitem); r=Manishearth This is more future-proof. Source-Repo: https://github.com/servo/servo Source-Revision: 2fb5eb8747fb4189ca577cc93b056f1290876980
ff99bb4ca28731bcde8b15fa6c5522e8626e7f9c: servo: Merge #5213 - Check tidy in Travis file (from servo:tidy-travis); r=Ms2ger
Manish Goregaokar <manishsmail@gmail.com> - Sat, 14 Mar 2015 06:54:48 -0600 - rev 335910
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5213 - Check tidy in Travis file (from servo:tidy-travis); r=Ms2ger Source-Repo: https://github.com/servo/servo Source-Revision: a2ff1aae824d736922616cd8a592fd7d93361fa7
4369d5eff639f619dbcb5ff3615fbbcb7b97660f: servo: Merge #5208 - Implement USVString (from Ms2ger:USVString); r=jdm
Ms2ger <ms2ger@gmail.com> - Fri, 13 Mar 2015 14:30:49 -0600 - rev 335909
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5208 - Implement USVString (from Ms2ger:USVString); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 19cd87aefc24fa153fa013b5f96ae46de9a427fd
00d1dfceef692da4fc39fbc52699e41197230b71: servo: Merge #5180 - Fix broken viewport percentage length units after a viewport resize (from luniv:viewport-length-cached-values-invalidation); r=SimonSapin
James Gilbertson <james.gilbertson@luniv.ca> - Fri, 13 Mar 2015 09:36:50 -0600 - rev 335908
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5180 - Fix broken viewport percentage length units after a viewport resize (from luniv:viewport-length-cached-values-invalidation); r=SimonSapin When a viewport is resized, the computed values for a style containing viewport percentage length units become stale. However, there's no way for those styles to be invalidated after a resize. As a solution, this commit invalidates the computed values cache after a resize has occurred, which is probably over-kill. A better solution would probably be to track under what conditions computed values remain valid, and invalidate them as indicated. Source-Repo: https://github.com/servo/servo Source-Revision: a50807051b0ff9a46ce6f76189617534b8294276
de1293c434d402c2eb250b141d8d10aad10f77fc: servo: Merge #5206 - Pre rustup codegen cleanup (from Ms2ger:pre-rustup-codegen-cleanup); r=jdm,SimonSapin
Ms2ger <ms2ger@gmail.com> - Fri, 13 Mar 2015 08:42:49 -0600 - rev 335907
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5206 - Pre rustup codegen cleanup (from Ms2ger:pre-rustup-codegen-cleanup); r=jdm,SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: c05de08630c50446cb15e42f4948fae6039e7271
1bc10530916cac070351796ff95e98699d5a2954: servo: Merge #5204 - Further squelch warnings from contenttest.rs (from ehegnes:squelch_contenttest); r=jdm
Eric Hegnes <eric.hegnes@gmail.com> - Thu, 12 Mar 2015 20:48:47 -0600 - rev 335906
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5204 - Further squelch warnings from contenttest.rs (from ehegnes:squelch_contenttest); r=jdm This actually fixes 5159. Source-Repo: https://github.com/servo/servo Source-Revision: 5f439e7eaa02245f64d5041d3d4e6dec51dfb993
734c10d5503cac812528c340e9b58d05d523cbe8: servo: Merge #5177 - Fix warnings in tests/reftest.rs (from PeterReid:issue5158); r=jdm
Peter Reid <peter.d.reid@gmail.com> - Thu, 12 Mar 2015 18:03:46 -0600 - rev 335905
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5177 - Fix warnings in tests/reftest.rs (from PeterReid:issue5158); r=jdm Fixes #5158 Part of this involved switching to OsStrings for process arguments. Those now interface awkwardly with some remaining use old_io, but that will only be needed until rustc is newer. Source-Repo: https://github.com/servo/servo Source-Revision: 1a9679857a324f08337215bddad16f4667770997
472e688c7dd05a9c07358c2a3527d59b4edf58a5: servo: Merge #4417 - layout: Implement `border-spacing` per CSS 2.1 § 17.6.1 and the legacy `cellspacing` attribute per HTML5 § 14.3.9 (from pcwalton:border-spacing); r=larsbergstrom
Patrick Walton <pcwalton@mimiga.net> - Thu, 12 Mar 2015 13:03:49 -0600 - rev 335904
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #4417 - layout: Implement `border-spacing` per CSS 2.1 § 17.6.1 and the legacy `cellspacing` attribute per HTML5 § 14.3.9 (from pcwalton:border-spacing); r=larsbergstrom Table layout code has been refactored to push the spacing down to rowgroups and rows; this will aid the implementation of `border-collapse` as well. r? @SimonSapin Source-Repo: https://github.com/servo/servo Source-Revision: 8e811229bae6b338fabcd7df602079730c942889
59eddd3a722682a1e235f268127edaad43f85ec6: servo: Merge #5194 - Fix #5176 by premultiplying the alpha channel to the color channels (from hirschenberger:gif_alpha_background); r=larsbergstrom
hirschenberger <falco.hirschenberger@gmail.com> - Thu, 12 Mar 2015 05:51:48 -0600 - rev 335903
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5194 - Fix #5176 by premultiplying the alpha channel to the color channels (from hirschenberger:gif_alpha_background); r=larsbergstrom This is GIF specific. It's also done when the image is PNG but PNG is handled separately with the PNG crate, whereas GIFs are handled by the stb-image crate and the distinction between alpha and non-alpha-supporting images was missing. Source-Repo: https://github.com/servo/servo Source-Revision: 6593cf9ec498160c2b5bc096cc7ec3ff3a7479ee
30c4a05021a0a40d5571120d3c3405407b292873: servo: Merge #5202 - Fix #2108 by renaming unwrap functions to native_from_reflector (from doublec:rename_unwrap); r=Ms2ger
Chris Double <chris.double@double.co.nz> - Thu, 12 Mar 2015 01:51:49 -0600 - rev 335902
Push 31307 by gszorc@mozilla.com at Sat, 04 Feb 2017 00:59:06 +0000
servo: Merge #5202 - Fix #2108 by renaming unwrap functions to native_from_reflector (from doublec:rename_unwrap); r=Ms2ger Fix for issue #2108. That issue mentions an `unwrap_object` which doesn't seem to exist so I renamed `unwrap` to `native_from_reflector` and `unwrap_jsmanaged` to `native_from_reflector_jsmanaged`. The latter is a bit unweildy - maybe a shorter name might be better? Source-Repo: https://github.com/servo/servo Source-Revision: d7e9b8b96b77377fa37fd59cdb8c44fa866b5b2e
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip