47c713eb1e64f9fb05465ffcb851f0c6b4ca0a3f: servo: Merge #14872 - stylo: Map more Gecko state bits to Servo state bits (from upsuper:bug1328806); r=bholley
Xidorn Quan <me@upsuper.org> - Fri, 06 Jan 2017 00:09:32 -0800 - rev 478661
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14872 - stylo: Map more Gecko state bits to Servo state bits (from upsuper:bug1328806); r=bholley This is the servo part of [bug 1328806](https://bugzilla.mozilla.org/show_bug.cgi?id=1328806) which has been reviewed by @bholley on Bugzilla. r? @bholley Source-Repo: https://github.com/servo/servo Source-Revision: 83428ecef703e4bea9814b7969252d3d3c441885
06f00f7c9adb01e2229bc31eb85ddea8e5564a21: servo: Merge #14871 - Use tinyfiledialogs from crates.io (from shssoichiro:14862-tinyfiledialogs-from-crates-io); r=jdm
Josh Holmer <joshua.holmer@nextgearcapital.com> - Thu, 05 Jan 2017 22:49:19 -0800 - rev 478660
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14871 - Use tinyfiledialogs from crates.io (from shssoichiro:14862-tinyfiledialogs-from-crates-io); r=jdm Use the crates.io version of tinyfiledialogs instead of pulling directly from the git repository. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14862 (github issue number if applicable). <!-- Either: --> - [X] These changes do not require tests because no code was changed <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 94d62a2afbbbb08d0225dd45fd8a8480d4bdf98d
493586530b24d991ebdccc0e1003e0de123e2943: servo: Merge #14877 - Package: Create ZIP on Windows and fix MacOS nightlies (from UK992:mach-package); r=Wafflespeanut
UK992 <urbankrajnc92@gmail.com> - Thu, 05 Jan 2017 21:45:31 -0800 - rev 478659
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14877 - Package: Create ZIP on Windows and fix MacOS nightlies (from UK992:mach-package); r=Wafflespeanut Fix https://github.com/servo/servo/issues/14852 r? @Wafflespeanut Source-Repo: https://github.com/servo/servo Source-Revision: 698491b8872d9f364e47b4e249851ad35f552a4b
168b57b0e5500a14c68e8040c0ff57f8df9b711f: servo: Merge #14403 - Fix brew formula update (from paulrouget:fixBrew); r=aneeshusa
Paul Rouget <me@paulrouget.com> - Thu, 05 Jan 2017 19:59:18 -0800 - rev 478658
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14403 - Fix brew formula update (from paulrouget:fixBrew); r=aneeshusa Fix https://github.com/servo/saltfs/issues/535 I decided to merge update_brew within upload_nightly. I hope this will fix the brew formula upadte. Source-Repo: https://github.com/servo/servo Source-Revision: 207f9a5d3bb59cfc20b4455531325a3eb5a5ccf3
edba63f9322e5c20f710646d6f82ae74b7fbf012: servo: Merge #14559 - Implement browsing context discarding (from asajeffrey:script-track-document-and-bc-discarding); r=cbrewster
Alan Jeffrey <ajeffrey@mozilla.com> - Thu, 05 Jan 2017 18:20:12 -0800 - rev 478657
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14559 - Implement browsing context discarding (from asajeffrey:script-track-document-and-bc-discarding); r=cbrewster <!-- Please describe your changes on the following line: --> Implement browsing context discarding (https://html.spec.whatwg.org/multipage/browsers.html#discard-a-document). * When a pipeline is closed, inform the script thread whether the browsing context is to be discarded. * In script threads, synchronously discard any similar-origin documents and browsing contexts. * When a browsing context is discarded, it loses the reference to the active document, but the window keeps it, so we need to move the `Document` pointer from `BrowsingContext` to `Window`. * Fix the webIDL for Window to make parent and top optional (the spec says they can return null when the browsing context is discarded). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14411 - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 8b274f25d3fcbd92dddb83cd96b59a6d51c69d1b
2795be09f6fc34f5b74411e0f7b3e90c9e536863: servo: Merge #14866 - Stylo: Disable regex feature of env_logger (from mbrubeck:stylo-env-logger); r=bholley
Matt Brubeck <mbrubeck@limpet.net> - Thu, 05 Jan 2017 15:54:10 -0800 - rev 478656
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14866 - Stylo: Disable regex feature of env_logger (from mbrubeck:stylo-env-logger); r=bholley To reduce binary size. See [bug 1328497](https://bugzilla.mozilla.org/show_bug.cgi?id=1328497) for details. r? @bholley Source-Repo: https://github.com/servo/servo Source-Revision: f8389443323805481f753ab4b10762b72d56dcd4
0842b69a955de37b565d2ddb8d6f2c6f74938db8: servo: Merge #14864 - Remove some unsound JSVal handling in JsTimerTask::invoke (from servo:timers); r=jdm
Ms2ger <Ms2ger@gmail.com> - Thu, 05 Jan 2017 14:00:50 -0800 - rev 478655
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14864 - Remove some unsound JSVal handling in JsTimerTask::invoke (from servo:timers); r=jdm We were using Handles to *copies* of the traced values, rather than the originals. Source-Repo: https://github.com/servo/servo Source-Revision: c3cf4386b04dd3609ada0824c32b0517f840d185
411f484eea2e4eba6570ae4d9d2471770e2bc85b: servo: Merge #14863 - Allow cli prefs to have numerical value (from charlesvdv:prefs); r=jdm
charlesvdv <charles.vandevoorde@hotmail.be> - Thu, 05 Jan 2017 12:09:01 -0800 - rev 478654
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14863 - Allow cli prefs to have numerical value (from charlesvdv:prefs); r=jdm I'm not sure as I'm new with servo but shouldn't the new function ```parse_opt_prefs``` be in ```prefs.rs``` instead of ```opts.rs``` ? <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14842 <!-- Either: --> - [X] There are tests for these changes OR <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 42e28bf7e59e0c7fab7163326d7374d1c4e268d1
aca6309384dde13c7958ca16326c066ece19c61f: servo: Merge #14859 - Simplify CallSetup (from servo:CallSetup); r=nox
Ms2ger <Ms2ger@gmail.com> - Thu, 05 Jan 2017 07:33:46 -0800 - rev 478653
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14859 - Simplify CallSetup (from servo:CallSetup); r=nox Source-Repo: https://github.com/servo/servo Source-Revision: 839b7fe8ef57501ec876d66728e8d6ea9c1757f6
742e507590d2fa2f747e66531bffc0136ec94862: servo: Merge #14351 - An in-memory RNG that shares its file descriptor (from asajeffrey:servo-rand-share-fds); r=emilio
Alan Jeffrey <ajeffrey@mozilla.com> - Thu, 05 Jan 2017 06:32:23 -0800 - rev 478652
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14351 - An in-memory RNG that shares its file descriptor (from asajeffrey:servo-rand-share-fds); r=emilio <!-- Please describe your changes on the following line: --> This PR implements an in-memory random number generator that only uses an OS RNG for (re)seeding. The OS RNG is shared, so there's only one file descriptor for `/dev/urandom` being used. The PR also implements a tidy check that we don't accidentally introduce an RNG. Rather annoyingly, there are a lot of transitive dependencies on `rand`, notably hash maps in `std`. This PR makes it possible to use uuids for identifiers such as pipeline and frame ids. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because it's fixing a resource issue <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 36ddf763f66b1b971db07649ff5c69b2e9fd5f91
0951b0e0964a92574ddcbe371ff0e52926e8d441: servo: Merge #14857 - Add support for -moz-top-layer (from upsuper:moz-top-layer); r=emilio
Xidorn Quan <me@upsuper.org> - Thu, 05 Jan 2017 04:45:40 -0800 - rev 478651
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14857 - Add support for -moz-top-layer (from upsuper:moz-top-layer); r=emilio <!-- Please describe your changes on the following line: --> r? @Manishearth --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 65497b493ae011d4787f5ca9a7e178d3e17fde8a
f8efa65177f569d09e3f2ab8ea5cc97622cae7f6: servo: Merge #14851 - animation-iteration-count property is a number instead of integer (from hiikezoe:float-iteration-count-rebased); r=emilio
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Thu, 05 Jan 2017 03:44:20 -0800 - rev 478650
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14851 - animation-iteration-count property is a number instead of integer (from hiikezoe:float-iteration-count-rebased); r=emilio <!-- Please describe your changes on the following line: --> This is a revised PR for #14732. @emilio? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 1d9bbfa07b5aef22a318808e3796872ee12e665c
92687a59268d009dcf60d1718887514832f1bd08: servo: Merge #14847 - webgl: implement bufferData (from anholt:webgl-bufferdata); r=emilio
Eric Anholt <eric@anholt.net> - Thu, 05 Jan 2017 02:11:29 -0800 - rev 478649
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14847 - webgl: implement bufferData (from anholt:webgl-bufferdata); r=emilio <!-- Please describe your changes on the following line: --> Adds support for the other overload of bufferData, fixing many conformance tests. In the process I had to fix the webidl codegen in the overload-distinguished-by-an-object case. Also includes a little fix for glEnable() validation. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 4216c16879efb6e87b3ba3b7b4d5c2aeb8e2739d
e5f7d79b9ae5378ea7f3b1916a711d6ad5388f06: servo: Merge #14848 - Stop using global initial styles for stylo; the initial styles need to be per-document (from bzbarsky:initial-styles); r=bholley
Boris Zbarsky <bzbarsky@mit.edu> - Wed, 04 Jan 2017 21:01:38 -0800 - rev 478648
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14848 - Stop using global initial styles for stylo; the initial styles need to be per-document (from bzbarsky:initial-styles); r=bholley <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix https://bugzilla.mozilla.org/show_bug.cgi?id=1298588 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests on the servo side because behavior is unchanged. Gecko-side tests probably exist. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 143dfc879e609603839502d61bc064fba96cc80f
d3dffc6efd074f4861dc87ebefe749782f77299b: servo: Merge #14312 - Implement discarding Document objects to reclaim space (from asajeffrey:script-discard-documents); r=cbrewster
Alan Jeffrey <ajeffrey@mozilla.com> - Wed, 04 Jan 2017 13:58:57 -0800 - rev 478647
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14312 - Implement discarding Document objects to reclaim space (from asajeffrey:script-discard-documents); r=cbrewster <!-- Please describe your changes on the following line: --> This PR implements document discarding. Active documents are kept alive strongly, but inactive documents are only kept alive weakly. When a document is GCd, it is marked as discarded, and if it is every reactivated, a reload of the URL is triggered. Note that this PR is pretty aggressive about discarding, and can any inactive document (other than those being kept alive by other same-origin pipelines). We might want to damp it down a bit. Also note that this interacts with browser.html in that the reloading triggered by reactivating a document triggers mozbrowser events. To test this, I added a `-Zdiscard-inactive-documents` debug flag, which discards all inactive documents, even ones which are reachable through other same-origin pipelines. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14262. - [X] These changes do not require tests because we should be able to use the existing tests with `-Zdiscard-inactive-documents`. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: 16b0da5004fd730de87883daa35a78b6af01f042
d2f29018b20a1e142ddde65f75d6b503c10a1a8e: servo: Merge #14845 - Avoid restyling elements that aren't in a document (from jdm:restyle-ood); r=emilio
Josh Matthews <josh@joshmatthews.net> - Wed, 04 Jan 2017 12:19:00 -0800 - rev 478646
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14845 - Avoid restyling elements that aren't in a document (from jdm:restyle-ood); r=emilio - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14480 - [X] There are tests for these changes Source-Repo: https://github.com/servo/servo Source-Revision: 2fe914e2fa68f44db903bc3de55d9823a44cdf0d
ae08b9a03d9b36e2980cc9bbf9ff210bb2c9943c: servo: Merge #14738 - Properly dispatch keypress event (from Wafflespeanut:keypress); r=jdm
Ravi Shankar <wafflespeanut@gmail.com> - Wed, 04 Jan 2017 10:52:06 -0800 - rev 478645
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14738 - Properly dispatch keypress event (from Wafflespeanut:keypress); r=jdm <!-- Please describe your changes on the following line: --> This was an attempt to fix #14659. It turned out that the problem wasn't what I thought it was. So, I didn't fix that. On the brighter side, this fixes two related issues. - Previously, we were unable to launch `keypress` events from `input` and `textarea` elements, because [we'd been cancelling](https://github.com/servo/servo/blob/1327ebd52f53f5f6637a12fab6cf0cad0aa0be6f/components/script/dom/htmlinputelement.rs#L1120-L1124) the key events, so that they don't trigger window navigation - #8400). I've introduced an enum to represent an additional state to an event's cancellation. - [According to the spec](https://w3c.github.io/uievents/#keypress-event-order), `keypress` (if available) should be dispatched immediately after `keydown`, and it should be followed by `input`. Canceling `keypress` should also cancel `input`. But, we'd been dispatching `input` before `keypress`. We now dispatch `input` once the `keypress` event is on the respective elements. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] These changes do not require tests because it's a refactor? <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @jdm or anyone interested Source-Repo: https://github.com/servo/servo Source-Revision: 6f9ff7b8bf66cbeb7d539c6728db05f05aa8f85c
1b1e46d4caf041497cb905cc3bf5e72b7fab6317: servo: Merge #14844 - style: Simplify Debug impl for PropertyDeclaration reusing to_css (from emilio:to-css-simplification); r=SimonSapin
Emilio Cobos Álvarez <emilio@crisal.io> - Wed, 04 Jan 2017 09:37:48 -0800 - rev 478644
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14844 - style: Simplify Debug impl for PropertyDeclaration reusing to_css (from emilio:to-css-simplification); r=SimonSapin These two functions appear in the data from bug 1328497, and the second part of one is identical to the other. I think the way to fix this is another one (either using static arrays to get the interesting data, or making rust generate the equivalent code). Source-Repo: https://github.com/servo/servo Source-Revision: 96fd0837d3de70b1f0d8f2bff0253b0220e7e5ce
7f309d03fd4baedaba5206e7ab537a11b33a450f: servo: Merge #14841 - Track stylesheet load's document instead of using element's current document (from jdm:stylesheet_document); r=emilio
Josh Matthews <josh@joshmatthews.net> - Wed, 04 Jan 2017 07:26:04 -0800 - rev 478643
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14841 - Track stylesheet load's document instead of using element's current document (from jdm:stylesheet_document); r=emilio For cases where a stylesheet load finishes in a different document than it started, we need to be more careful about which document we report the completion to. In this case we actually have separate requests for each document involved, but they previously used the same element to determine which document to interact with. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14641 - [X] There are tests for these changes OR Source-Repo: https://github.com/servo/servo Source-Revision: 384e905be23cd10e7bc352da1171b9af9e6eaddc
b2a4b1399cd6402faae03468bfc64a56b333071f: servo: Merge #14835 - Switch to crates.io for atomic_refcell (from bholley:external_atomic_refcell); r=Manishearth
Bobby Holley <bobbyholley@gmail.com> - Tue, 03 Jan 2017 19:20:59 -0800 - rev 478642
Push 44079 by bmo:gps@mozilla.com at Sat, 04 Feb 2017 00:14:49 +0000
servo: Merge #14835 - Switch to crates.io for atomic_refcell (from bholley:external_atomic_refcell); r=Manishearth r? @Manishearth See #14828 for backstory. Source-Repo: https://github.com/servo/servo Source-Revision: 1e927ca88bf6622d5a87db75863f76976a1df56c
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 +300000 tip