Commit Graph

11276 Commits

Author SHA1 Message Date
Xidorn Quan
7365796c4a servo: Merge #20302 - Include some traversal statistics in style tracing marker (from upsuper:traversal-stats); r=bholley
This is the Servo side changes of [bug 1444296](https://bugzilla.mozilla.org/show_bug.cgi?id=1444296).

Source-Repo: https://github.com/servo/servo
Source-Revision: 8e6cfbca47a259f20ba1c0d09e599169372d4930

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6ff5ab1fc0e8bf5c182e1bcbd65433b93ed069b1
2018-03-14 21:01:08 -04:00
Igor Gutorov
40faacf899 servo: Merge #20300 - Update gleam to 0.4.24 (from gootorov:update-gleam); r=mbrubeck
<!-- Please describe your changes on the following line: -->
Needed to expose `get_framebuffer_attachment_parameter_iv()`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 863f8477ed4766ffcff3b8fcf16c0d90bd179eb4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ca198e4124e606fb6196c0c2377fd3dd3e485457
2018-03-14 19:26:13 -04:00
Igor Matuszewski
9d70c36480 servo: Merge #20267 - Support JS typed arrays as arguments and in WebIDL unions (from Xanewok:typed-arrays-stack-heap-variants); r=Xanewok
<!-- Please describe your changes on the following line: -->
Supersedes #20205.
This brings support to receiving typed arrays as function arguments (those are stack-rooted with CustomAutoRooter) and also being a member of a union (which is basically heap-rooted? similarly to other webidl unions).

This is based on my other PR #20265 (which means it has to pull an external rust-mozjs branch and contains some also slightly unrelated changes here) since it shares `RootedTraceableBox::from_box` here and some other additional changes at rust-mozjs, but it can be easily separated if needed.

I tried adding support to nullable typed arrays but couldn't work around an issue of codegen always sticking a "OrNull" at the end of my type (presumably because of [this](https://github.com/servo/servo/blob/master/components/script/dom/bindings/codegen/parser/WebIDL.py#L2241)?). How would I go about avoiding the suffix with nullable arguments?

If we were to add also support for nullable typed arrays then I think we wouldn't be blocked anymore on this in WebGL 1.0.

r? @jdm

---
<!-- 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 _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: f7ee1befc51276f82375c0e366118172682c91b0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 89ff5570ac8571a72e8db6fc7475db1f6a9c9445
2018-03-14 15:43:18 -04:00
Emilio Cobos Álvarez
4de3433bd6 servo: Merge #20224 - Fix counter() and counters() serialization (from emilio:counter-serialization); r=nox
See https://github.com/w3c/csswg-drafts/issues/670 and https://github.com/w3c/web-platform-tests/pull/9862.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7b326529db64ac27f0b956880b3b63dd12cd0c1a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f14cab2e020a7dfcb494721a5f04426cc54637a3
2018-03-14 13:26:00 -04:00
Igor Matuszewski
df394dbc4b servo: Merge #20265 - Fix JS object conversion in unions (from Xanewok:fix-js-objects-in-unions); r=jdm
<!-- Please describe your changes on the following line: -->
Requires safe `Heap::boxed` constructor from https://github.com/servo/rust-mozjs/pull/395 (more info on it is in the PR).

Since unions currently assume that their respective members root themselves and can be stored on heap, I modified the union member object conversion branch to convert to a `RootedTraceableBox<Heap<*mut JSObject>>` (which is the currently generated type for objects in said unions).

I did it only for Unions and not dictionaries, since some dictionaries had bare `*mut JSObject` members - is this a mistake and something that needs further fixing?

Does this need a test, e.g. passing a union with object to a function that returns said object, and comparing the results for equality?

r? @jdm

Generated code with this patch (for `StringOrObject`):
```rust
impl FromJSValConvertible for StringOrObject {
    type Config = ();
    unsafe fn from_jsval(cx: *mut JSContext,
                         value: HandleValue,
                         _option: ())
                         -> Result<ConversionResult<StringOrObject>, ()> {
        if value.get().is_object() {
            match StringOrObject::TryConvertToObject(cx, value) {
                Err(_) => return Err(()),
                Ok(Some(value)) => return Ok(ConversionResult::Success(StringOrObject::Object(value))),
                Ok(None) => (),
            }

        }
        // (...)
    }
}

impl StringOrObject {
    // (...)
    unsafe fn TryConvertToObject(cx: *mut JSContext, value: HandleValue) -> Result<Option<RootedTraceableBox<Heap<*mut JSObject>>>, ()> {
        Ok(Some(RootedTraceableBox::from_box(Heap::boxed(value.get().to_object()))))
    }
}
```

---
<!-- 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 #17011 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: e597cd9e1adc23ae30587ff6bffc05119ac33fb9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b38e013f207e5abf4b18fd57055a5c9713cf85c2
2018-03-14 12:04:23 -04:00
Emilio Cobos Álvarez
fb715e3c6d servo: Merge #20243 - style: add infrastructure to match the :host selector (from emilio:host-selector-on-the-way); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 148beb4ea5f8f1680e694ac48045a632da58269c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e9d1c9e4dd54d3c9d5bd1f0a2805858456981598
2018-03-14 10:38:45 -04:00
Glenn Watson
ebdce99f09 servo: Merge #20294 - Update WR (port blurs and blits to brush_image) (from glennw:update-wr-blend-brush); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: daaee046b3a5a949a22b69a7ba42d2d741914645

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d047f11de899567adbdb2947ab792f71ff8fa46
2018-03-14 08:52:20 -04:00
OJ Kwon
5d87f4bb06 servo: Merge #20290 - build(cmake): detect python binary for specified version (from kwonoj:build-python-version); r=jdm
<!-- Please describe your changes on the following line: -->
This PR aims to address #20268, by updating cmake definition to lookup python binary to use. Instead of directly asking `python` binary, this PR uses `${PYTHON_EXECUTABLE}` to lookup desired python binary where applicable.

This PR was locally tested on win32 / mac / arch linux via `mach build --dev`, so far local testing shows no build failure regressions, not sure if this is sufficient test.

---
<!-- 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 #20268 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _it's build script update_

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 9a6c96808b314a3dfaffa23803df73ee904e4dbe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0686403bf4187261225e95c91d9cc557dbcc48e7
2018-03-13 16:29:19 -04:00
Bastien Orivel
9961471184 servo: Merge #20288 - Update libloading to 0.5 (from Eijebong:libloading); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b051e9eb6ce0d188c760aee287e4e554dc5abfc3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b273760b28121dc15676af4e4ecd1867e3c4081f
2018-03-13 07:38:06 -04:00
Igor Gutorov
15fe722937 servo: Merge #20282 - style: Fix some dead links in style.md (from gootorov:fix-stylemd-links); r=emilio
<!-- Please describe your changes on the following line: -->
Part of https://github.com/servo/servo/issues/20126

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] These changes do not require tests because: documentation

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: d78478f9bda8a9706684e01101f40a8ff718fedd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e441d2b22e80e6dfb0706f94d399483f4c597400
2018-03-13 06:36:21 -04:00
Bastien Orivel
b15fe4e2fa servo: Merge #20204 - Rebump toml and error-chain (from Eijebong:bump); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 7e0f45b1c7047d9e1b16f39c005de7f92e462df7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8e76963de90ff4e01c9788f2b1572354173be1c
2018-03-13 05:36:44 -04:00
Igor Gutorov
5cede92964 servo: Merge #20283 - style: Fix a typo in Integer struct docs (from gootorov:patch-1); r=jdm
<!-- Please describe your changes on the following line: -->
Fix a typo in `Integer` struct documentation.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] These changes fix #__ (github issue number if applicable).
- [x] These changes do not require tests because: documentation

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: ac71266987ff39483faebd58d4359eef956ae5cf

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f8b3c353ac9fe754a652fbbceee8de2d8b677cf7
2018-03-12 20:26:53 -04:00
Emilio Cobos Álvarez
4a320a47a3 servo: Merge #20223 - style: Allow to share style across elements with similar XBL bindings (from emilio:share-xbl); r=xidorn,bholley
Also move the checks so that the tag name checks (presumably cheaper) come earlier.

Source-Repo: https://github.com/servo/servo
Source-Revision: 087cf21d79cb090c2a8b55b441e6004921b540aa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4dd2eb2330026ccf2c498898b75a1f7648f378ec
2018-03-12 16:48:36 -04:00
Josh Matthews
cd11ddd950 servo: Merge #20273 - Unbreak the docs build (from servo:jdm-patch-13); r=nox
I added this to avoid the problem with doc builds leaving around large build artifacts while also working around #17243, but it appears to break the doc build entirely. This won't end up executing on servo-linux1 or servo-linux2 because of #17243, but I'm looking into the correct solution for that simultaneously.

Source-Repo: https://github.com/servo/servo
Source-Revision: af12284b6a89b288b61298d64df215f6d6225c83

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dbfaf3a754684db00fc2e246383e10dc2a1b2797
2018-03-12 13:26:55 -04:00
Glenn Watson
7bae227f16 servo: Merge #20276 - Update WR (various small optimizations and driver fixes) (from glennw:update-wr-opts); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 466da7febbbe092c41a1bce0dffa977d87fa01af

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6e44ddfc0186bc3ed3dcfbd8bbde552dfbf67e61
2018-03-12 11:30:52 -04:00
Anthony Ramine
6976f22495 servo: Merge #20277 - Enable /webvr/ tests (from servo:test-webvr); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5feb13ac66eb256db8ef41d75ddf9c6c4e0ecd54

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6012f487e04de9e484147daa05702650a8ff36ce
2018-03-12 10:32:52 -04:00
Simon Sapin
54fa5bc374 servo: Merge #20216 - Switch from servo/angle to the mozangle crate (from servo:mozangle); r=emilio
https://github.com/servo/mozangle

Source-Repo: https://github.com/servo/servo
Source-Revision: 345c373192a30329c2c4f70631ab0792fc348f7d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 231fb02d47d97c6a8b437eeb36121fc78570a0ef
2018-03-12 09:23:52 -04:00
Emilio Cobos Álvarez
630a574ba4 servo: Merge #20274 - style: Make the generated bindings really be formatted (from emilio:moz-src); r=xidorn
TOOLTOOL_DIR isn't passed down to the rust scripts it seems, per:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=46854db239166ab3a43d36c7a954debb56968eab

Source-Repo: https://github.com/servo/servo
Source-Revision: cdaa36df2d3113c44ed30a01d8e839ed23251d92

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 14597fa7341df9a16ab6a3fdc17a5ecd00ca6e6a
2018-03-12 07:12:13 -04:00
Anthony Ramine
2f3c2434f4 servo: Merge #20275 - Finish cleaning up trait bounds generation in style_derive (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 9d4cdfcfc31e4d3fca16e074c7481211f880be9f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d9b39c62cbcc55b8ae6297c250a12cab2fb2f046
2018-03-12 04:52:02 -04:00
Florian Wagner
22de401622 servo: Merge #20185 - Make KeyframesPercentage::parse faster (from Beta-Alf:master); r=emilio
Minor refactoring of the parsing of keyframes.

---
<!-- 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  #20179 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it is a minor refactor so tests are already in place. The original Issue explicitly says so.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 29e10d4f88a7564f4d6a4496d3d1be5949962f8a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cf1ac3eb68cdf37d44f5c1e0a9e478f2a23bc3d8
2018-03-11 07:47:21 -04:00
Dmitry
8beab7f02b servo: Merge #20252 - Extract text emphasis style (from NeverHappened:extract_text_emphasis_style); r=upsuper
<!-- Please describe your changes on the following line: -->
Extracted the text-emphasis-style property out of the inherited_text.mako.rs.
This is a part of #19015

---
<!-- 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] `./mach cargo-geckolib check` does not report any errors
- [X] These changes fix #19940 (github issue number if applicable).

<!-- Either: -->
- [X] These changes do not require tests because it's a refactoring

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: aa8fb3a2044c03301e23aa9ffbee1161b9bd092c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6a5f107261e45aabaa20bdf3e50d603e6f002ea0
2018-03-09 19:20:10 -05:00
Emilio Cobos Álvarez
bef3768170 servo: Merge #20262 - constellation: Make setting up the WebGL state fallible (from emilio:webgl-fallible); r=jdm
This fixes a regression caused by the glutin update.

We now are creating EGL contexts in Linux Wayland, instead of X context, so the
GLContextFactory assumption of one GL back-end per platform is broken.

This just works around it, for now, but in general I think not relying on
available WebGL state is a good thing, and we do that already for WebVR anyway.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95f9e14e67766b36a8b72e62925a34b1818be2c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0029f2ac9735f2645084e572e5f560f4348fa577
2018-03-09 18:24:56 -05:00
Anthony Ramine
df890b716d servo: Merge #20258 - Continue to improve style_derive (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 909ebff1844c3fcf95ea3b479b61077ff5a552e2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d30b36aaf39309022b604f5ab75c51838a671a96
2018-03-09 17:29:05 -05:00
Emilio Cobos Álvarez
dc90c4a5d0 servo: Merge #20255 - style: Fix serialization of place-items (from emilio:place-items); r=xidorn
If the justify-items / align-items value has the `legacy` bit or anything like
that we shouldn't serialize it, just as we don't parse it.

Bug: 1339656
Reviewed-by: xidorn
MozReview-Commit-ID: JsM4NrePEU6
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ccc58e3ae356108a1d17fa6fdaf07af663912b6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f5f6bc7c31a5011fab7de1678236761e1a263ca8
2018-03-09 09:49:57 -05:00
Anthony Ramine
6e940dc689 servo: Merge #20254 - Some random improvements to derived style code (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 664efab4a33264c07d68013a0ac3585544556b72

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66cf55f6a0082367265b9940ece86e76ce450fcc
2018-03-09 05:58:22 -05:00
Josh Matthews
f6e44e743a servo: Merge #20251 - Chart memory reports over time (from jdm:memchart); r=ajeffrey
This is a tool that can take the output of Servo when run with `-m N` and generate an HTML file that charts the behaviour of the various labels over time.

Run with `./mach run http://url >/tmp/log; python etc/memory_reports_over_time.py /tmp/log`.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes

Source-Repo: https://github.com/servo/servo
Source-Revision: 324e22db030ba73452dfc4ec455534fb144f585b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9336b7b654b3468e19b636fc2968dae96a2775b7
2018-03-08 22:47:49 -05:00
Paul Rouget
4955984079 servo: Merge #19895 - unfork glutin (from paulrouget:unfork); r=paulrouget
I'm taking over #19120.

Fix #18918.

Beside the change in the API, I had to rewrite main loop.

At this point, we should have a very similar behavior as servo-glutin.

Source-Repo: https://github.com/servo/servo
Source-Revision: c9f60c5a6778fe47cae85fcd88cb38257a220bb1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e3ef5fbc5962e96c48a1340e589054aa2086bb92
2018-03-08 21:00:13 -05:00
Emilio Cobos Álvarez
12e71ed881 servo: Merge #20248 - style: Change the order we match selectors on invalidation to match normal order (from emilio:invalidation-selectors-faster); r=bholley
This changes the order to match the normal selector-matching order, which is
usually faster.

That is, when matching div:nth-child(2), for example, before this patch we'd
first try to match :nth-child(2), and only then div.

This patch makes us walk until the end or the next combinator, and only then
match backwards, matching first div, then :nth-child.

Bug: 1443814
Reviewed-by: bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e52f8a523e2f12b2666536d0f8ff3fa40b83ef5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4b8b140e54485fb2762745f13af285c640d39254
2018-03-08 18:44:29 -05:00
Vegard Sandengen
e3246fc7c6 servo: Merge #20249 - Add mesa-libGLU-devel dependency to README.md (from veeg:dev-dependency-fedora); r=jdm
Installing all listed dependencies on fedora results in
a compilation error, due to missing mesa-libGLU-devel dependency.
This dependency is part of some of the other distributions,
with other names of course.

<!-- Please describe your changes on the following line: -->
Compiling Servo on my Fedora 26 machine after installing the developer dependencies, resulted in a failed compilation of `servo-skia-0.30000013.0` due to missing devel library.
```
/home/veeg/.cargo/registry/src/github.com-1ecc6299db9ec823/servo-skia-0.30000013.0/src/gpu/gl/unix/SkNativeGLContext_unix.cpp:10:10: fatal error: GL/glu.h: No such file or directory
 #include <GL/glu.h>
          ^~~~~~~~~~
compilation terminated.
gmake[2]: *** [CMakeFiles/skia.dir/build.make:7383: CMakeFiles/skia.dir/src/gpu/gl/unix/SkNativeGLContext_unix.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/skia.dir/all] Error 2
gmake: *** [Makefile:130: all] Error 2
thread 'main' panicked at '
command did not execute successfully, got: exit code: 2

build script failed, must exit now', /home/veeg/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.29/src/lib.rs:632:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed
```

```
$ dnf provides -q /usr/include/GL/glu.h
mesa-libGLU-devel-9.0.0-11.fc26.i686 : Development files for mesa-libGLU
Repo        : fedora
Matched from:
Filename    : /usr/include/GL/glu.h

mesa-libGLU-devel-9.0.0-11.fc26.x86_64 : Development files for mesa-libGLU
Repo        : fedora
Matched from:
Filename    : /usr/include/GL/glu.h
```

Installing `mesa-libGLU-devel` solved the issue.

---
<!-- 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 # (not applicable)

<!-- Either: -->
- [X] These changes do not require tests because only README.md is affected

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 6a2ec87b4a83ce9df98008978813d74a0d80c7aa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cf9a4e4929fdd45ab0efbc684acce72181e85fcd
2018-03-08 17:42:43 -05:00
Emilio Cobos Álvarez
f817cf6a28 servo: Merge #20250 - style: Reorder style sharing checks so that cheaper and broader ones are earlier (from emilio:style-sharing-checks-order); r=xidorn
This was reviewed by Xidorn in #20223, but that needs to wait for a few days so let's land this separately.

Source-Repo: https://github.com/servo/servo
Source-Revision: 21290276c2c85cf5dd55474ba7a641fb13f127a6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3e639e36deed30b25e3c9218fa81727365002f2
2018-03-08 16:52:43 -05:00
Bobby Holley
032f2c3282 servo: Merge #20247 - Stop unconditionally collecting traversal statistics in nightly builds (from bholley:fix_stat_collection); r=Manishearth
The current code also makes us panic when DUMP_STYLE_STATISTICS=1 is
set. :-(

Source-Repo: https://github.com/servo/servo
Source-Revision: 4c797dfb5239c5e9a4014e91ed121ef9cf641ad0

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dfb72664c3b56ed67b7d455fb82427c862cefc38
2018-03-08 15:53:11 -05:00
Josh Matthews
28345d2494 servo: Merge #20244 - Ensure readonly files can be removed on Windows (from servo:jdm-patch-10); r=SimonSapin
This is based off of https://bugs.python.org/issue19643. At worst, it makes our deletion function more robust and doesn't help with the ongoing windows CI problems.

Source-Repo: https://github.com/servo/servo
Source-Revision: f1338d3df8d76f821353686efe2d6a0a4691da02

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f0b250a7300697eda18738b772db6c4c9875cb14
2018-03-08 15:01:36 -05:00
Matt Brubeck
f0cce88058 servo: Merge #20245 - Disable logging in bindgen to reduce code size (from mbrubeck:logging); r=emilio
This disables bindgen's `logging` feature, which builds `env_logger`
with default features, including regex support.  Disabling it allows
Gecko to build `env_logger` without the `regex` crate, reducing code
size.

Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1444097

---

- [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 they only change unused build config

Source-Repo: https://github.com/servo/servo
Source-Revision: 46dfc3536472c1b68be501dc5b37ff6fdd7dba35

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 202a5a3a0f0b83dab018f0f641d88e6c9ade9f22
2018-03-08 13:36:04 -05:00
Anthony Ramine
9ceadd71bb servo: Merge #20237 - Opt into field bounds when deriving ToCss, instead of opting out (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b6de0563fbd74799060735b8452f86a533f19573

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : bdfffc19ffcbc849d5f180c1ecbac2b0de77b5cf
2018-03-08 12:25:20 -05:00
Emilio Cobos Álvarez
d1e89266c4 servo: Merge #20241 - style: Make getting the XBL binding faster (from emilio:xbl-faster); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 9b540d199e87acdbc7aea51f5b7e4370b187ce09

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7d7a93e00e905869f21e5fed3fd7d6d7a4411010
2018-03-08 11:31:35 -05:00
Emilio Cobos Álvarez
9a28c659d8 servo: Merge #20240 - style: Fix special color keywords (from emilio:special-color-fix); r=upsuper
They're -moz-activehyperlinktext and -moz-visitedhyperlinktext.

This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1444059.

Source-Repo: https://github.com/servo/servo
Source-Revision: 212c321145a516ddf3ae17a9f04563d8d736bb0d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66f76d635782935ffeee2c4e5cba213ce66c9bbe
2018-03-08 10:06:03 -05:00
Emilio Cobos Álvarez
0155352329 servo: Merge #20236 - Introduce #[css(skip_if)] (from emilio:to-css-skip-if); r=nox
This is most of #20224 but without the actual counter() fix since it's waiting on a WPT update.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8133f788cfbde23cc54032a3327303b42257b91d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f352834ab745131666c9baee1dcae46b2577ba19
2018-03-08 09:16:55 -05:00
Xidorn Quan
1f119c6d9c servo: Merge #20238 - Construct URLValue eagerly and share it between specified value and style structs (from upsuper:url-value); r=emilio
This is the Servo side change of [bug 1443046](https://bugzilla.mozilla.org/show_bug.cgi?id=1443046).

Source-Repo: https://github.com/servo/servo
Source-Revision: 1d122c250c906358a91b607b0fcc720546d04134

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c4306304c77f6feb169b335ec66f0b78b5f1763
2018-03-08 08:06:35 -05:00
Simon Sapin
355b9380ed servo: Merge #20232 - Update mozjs_sys (from servo:up); r=jdm
Pick up https://github.com/servo/mozjs/pull/132

Source-Repo: https://github.com/servo/servo
Source-Revision: 72d09202f4e5207cee606e122729dd007e6b5ac8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : adc5d3dd7e14186227285981b3f8c74158cfbafd
2018-03-07 14:12:21 -05:00
Anthony Ramine
822784f00d servo: Merge #20230 - Introduce #[css(if_empty = "…", iterable)] (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 2f4c13d27d4acf5a5a356c9168feb7203ecf2d14

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 392b2d93e1b4b97af051fe109980bbdae890318f
2018-03-07 11:06:09 -05:00
Emilio Cobos Álvarez
93ea7b41e1 servo: Merge #20229 - style: Separate the XBL and shadow dom styling bits (from emilio:finally); r=xidorn
Bug: 1441022
Reviewed-by: xidorn
MozReview-Commit-ID: 2W0BmZ8wWXg
Source-Repo: https://github.com/servo/servo
Source-Revision: 6272233c50071534ddbab118b64ecdb8fdda7c8a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ce28863b2082d97c58833aae1c092b1723e1aa9
2018-03-07 10:06:05 -05:00
Xidorn Quan
7c5d675d77 servo: Merge #20227 - Fix mach build for Servo in Firefox tree (from upsuper:in-firefox-build); r=jdm
Running `mach build` in servo directory in Firefox tree currently doesn't work due to several errors when importing modules.

First error:
```text
Traceback (most recent call last):
  File "mach", line 93, in <module>
    main(sys.argv)
  File "mach", line 23, in main
    mach = mach_bootstrap.bootstrap(topdir)
  File "servo/python/mach_bootstrap.py", line 280, in bootstrap
    mach.load_commands_from_file(os.path.join(topdir, path))
  File "servo/python/_virtualenv/Lib/site-packages/mach/main.py", line 265, in load_commands_from_file
    imp.load_source(module_name, path)
  File "servo/python/servo/testing_commands.py", line 42, in <module>
    from update import updatecommandline
  File "servo/../testing/web-platform/update/__init__.py", line 17, in <module>
    from wptrunner.update import setup_logging, WPTUpdate
  File "servo/../testing/web-platform/tests/tools/wptrunner/wptrunner/update/__init__.py", line 8, in <module>
    from update import WPTUpdate
  File "servo/../testing/web-platform/tests/tools/wptrunner/wptrunner/update/update.py", line 8, in <module>
    from .. import environment as env
  File "servo/../testing/web-platform/tests/tools/wptrunner/wptrunner/environment.py", line 12, in <module>
    from wptserve.handlers import StringHandler
ImportError: No module named wptserve.handlers
```

Second error:
```text
Traceback (most recent call last):
  File "mach", line 93, in <module>
    main(sys.argv)
  File "mach", line 23, in main
    mach = mach_bootstrap.bootstrap(topdir)
  File "servo/python/mach_bootstrap.py", line 291, in bootstrap
    mach.load_commands_from_file(os.path.join(topdir, path))
  File "servo/python/_virtualenv/Lib/site-packages/mach/main.py", line 265, in load_commands_from_file
    imp.load_source(module_name, path)
  File "servo/python/servo/testing_commands.py", line 43, in <module>
    from servo_tidy import tidy
  File "servo/python/tidy/servo_tidy/tidy.py", line 34, in <module>
    from wptmanifest import parser, node
ImportError: No module named wptmanifest
```

The two commits fix these two errors respectively.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e2f8ec8e162fe707240eff223ec225790bf29fd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd8d95aa6ee79b994cdf8a6ca6f948ac3ba725b3
2018-03-07 09:19:25 -05:00
Glenn Watson
f28a1ed092 servo: Merge #20226 - Update WR (nVidia/ANGLE workaround, vertex shader optimizations) (from glennw:update-wr-nv-clip); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 46ad9f2a30a766863632aa5d24df0e691b72275c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fa652f993c55e5e936c7086f2f2c98907e460701
2018-03-07 00:54:10 -05:00
o0Ignition0o
e162b68e01 servo: Merge #19947 - Add a --nightly | -n flag to mach run commands for linux (from o0Ignition0o:mach_run_nightly); r=jdm
First tries to download and extract a specific nightly version to run mach commands against.

<!-- Please describe your changes on the following line: -->
I chose to split the Pull requests for each platform to avoid submitting a huge one, and to make sure I get the logic right.
I'm able to download / extract a nightly version, and I keep nightly versions in the target folder.
Windows and Mac OS support will be filed in separate PRs.
This is part of step two for #19505

The mentor on the issue is jdm

---
<!-- 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
- [X] These changes do not require tests because it is part of a ./mach command.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 9eb417528b79415a9f04f337b701187ca4ffbdfd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f250de603b4e991fac6fe9147b4e59abfb8a1fa8
2018-03-06 23:47:08 -05:00
Xidorn Quan
1ea1f8f175 servo: Merge #20222 - Do not disable thread pool in the parent process (from upsuper:chrome-thread-pool); r=bholley
This is the Servo side change of [bug 1375913](https://bugzilla.mozilla.org/show_bug.cgi?id=1375913).

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b96fb2cbe8754b30646e8bd914806048c0b6db2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0adb8753d1c45b6a089f758bc9e5217aaec749cd
2018-03-06 17:54:34 -05:00
Martin Robinson
b2f0b2a107 servo: Merge #20214 - Stop using LocalClip::RoundedRect (from mrobinson:stop-using-using-localclip-roundedrect); r=glennw
We would like to remove this functionality from WebRender, so convert
its use to clip scroll nodes. This change also removes the redundant
BlocBlockStackingContextType in favor of Option<StackingContextType>,
which is just as expressive. This simplifies the code a bit.

<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they should not change behavior.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 26d2e77410f8fbc308f63282f435fbc8788c9bcc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 57683d5fd5d1ac4fc01a266fd1288f808e52a8a2
2018-03-06 15:53:11 -05:00
Nicolas Silva
8da8aa1b01 servo: Merge #20213 - Add the option in servo-tidy to not check for alphabetical ordering (from nical:tidy-alphabetical-bs); r=jdm
<!-- Please describe your changes on the following line: -->

An option to disable checking for alphabetical ordering of use/mod/extern crate statements in servo-tidy.

These checks are still enabled by default but WebRender will turn them off.

---
<!-- 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: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it doesn't affect servo.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: c8eceb90a15f0a28478bf0d26702070225d5f1c1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9849373a414fbf24ab0c19680eda4a39e0db1876
2018-03-06 13:39:59 -05:00
Martina Kollarova
2eaf293b17 servo: Merge #20212 - Regenerate all WebIDLs when one of them changes (from mkollaro:webidlcmake); r=jdm
WebIDL files have dependencies between each other, but cmake doesn't have any
information about them. This can cause it to not update all the changed bindings
when switching branches.

---
<!-- 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 #20169

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's a minor change in the build dependencies.
Switching between two of my branches was previously failing because a change in WebGL1 bindings didn't re-generate the WebGL2 bindings. I verified that it works with this patch.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 96b9000fa25ca34ad56c8e95c9eabe5636174655

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ed420f815715252b007c92a827f7757c82bae1c
2018-03-06 12:37:58 -05:00
Anthony Ramine
0e1f4ec5e7 servo: Merge #20211 - Improve #[derive(ToCss)] (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 785b7c7775ae13c02556c84a16469efc6c4d71e8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff6b80187c867e892017df07d2d44d4e2fc95ae7
2018-03-06 11:42:58 -05:00
Fabrice Desré
ba8d547365 servo: Merge #20181 - Fire the pageshow event at the end of the page load (from fabricedesre:end-load-pageshow); r=jdm
<!-- Please describe your changes on the following line: -->
This implements step 8 of https://html.spec.whatwg.org/multipage/parsing.html#the-end

---
<!-- 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
- [X] These changes do not require tests because I could not find a wpt test for that, which is strange. I likely missed it :(

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 94a6c2c429eb0415a277ff49fa19ae0eaefb0be9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 78f055ebca3bf3519342874c13f60344e96f63fc
2018-03-06 10:49:51 -05:00
Martina Kollarova
d7b1422eba servo: Merge #20144 - Add WebGL function glGetTexParameter (from mkollaro:gettexparameter); r=jdm
<!-- Please describe your changes on the following line: -->
Add WebGL function glGetTexParameter

---
<!-- 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 part of #10209

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: f5037cf6219cafbc86bfaf6483b81b4ffb3496fa

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cb9a7a270dca8cbaa1a989633b77ba854042c49
2018-03-06 09:48:56 -05:00
Emilio Cobos Álvarez
1eb8ff79cc servo: Merge #20210 - style: Add a comment about the weird setup for justify-items (from emilio:justify-items-kinda-sucks); r=Manishearth
And derive ToCss while at it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 226d9a5b0e69185b95c62e79b81044beba477654

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ec12a77c78322539584e8392b907e87a1de167ce
2018-03-06 05:29:17 -05:00
Anthony Ramine
d63cc0111f servo: Merge #20200 - Derive some more ToCss stuff again (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 17b5a8332b4309188ea7ce9c1aa5919aeb7834e6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 224a884f024caccd42d7116d7c0e1ee486ce7913
2018-03-06 03:33:18 -05:00
Simon Sapin
cb19d96892 servo: Merge #20202 - Update devices and fork blurmac (from servo:fork-blurmac); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e20d338fedfd4c319c07da40d7071c90c48d3a46

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : da51ee24c44edebd5cb719c3b46a67bb84def67e
2018-03-05 16:36:47 -08:00
shindli
df4b2c995e Backed out 2 changesets (fd805c59ae56, 270e441c3649) for servo bustage on a CLOSED TREE
Backed out changeset fd805c59ae56
Backed out changeset 270e441c3649

--HG--
extra : histedit_source : 588d462b2f2fd9e6892405637a4c8dcdabde5139
2018-03-05 18:55:45 +02:00
Bastien Orivel
13dbf2096a servo: Merge #20201 - Bump some dependencies now that metadeps is out of the way ᕕ( ᐛ )ᕗ (from Eijebong:bump); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 05dcfe2983f906ab5909843e242987f154360f6a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6e3a7ed55a384e2af21811b493d6ea53ba099884
2018-03-05 10:22:24 -05:00
Bastien Orivel
9207399645 servo: Merge #20199 - Remove metadeps from the dependency tree (from Eijebong:metadeps); r=emilio
🎉

Source-Repo: https://github.com/servo/servo
Source-Revision: 9dbb69868c0f3f04053a23cf4876ee8dd5fd8c94

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 634519f1275bf5d7df25062e67fd3737bd1529a2
2018-03-05 09:20:33 -05:00
Anthony Ramine
c8c3802cbf servo: Merge #20198 - Use darling::util::Override in #[derive(ToCss)] (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 7931df716d3f2145758b5bfc278fa345d3b3b327

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0ab3b8d0ad5d7a3dc5cc8cdd70fec5066e484019
2018-03-05 08:24:35 -05:00
Anthony Ramine
c9fb6e7946 servo: Merge #20196 - Derive some more ToCss implementations (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 266258331ee16fe90a96dffa9ec78bbe4d3e3f9f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5041071b942fcb64675d2f7bb19a8a31f20d8916
2018-03-05 06:03:53 -05:00
Seo Sanghyeon
f2ae63794b servo: Merge #20195 - Remove FreeGLUT (from sanxiyn:no-freeglut); r=jdm
Current Servo does not require FreeGLUT. Update accordingly.

Source-Repo: https://github.com/servo/servo
Source-Revision: e3f69668aefaaac36e59509bd978dfda05018486

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3bcb2fa057e7fcaaa434cac833a7ebfbb0af4bb5
2018-03-04 14:25:06 -05:00
Emilio Cobos Álvarez
6fab7c4a3e servo: Merge #20194 - style: remove unused AsciiExt imports (from emilio:ascii-ext-stuff); r=nox
eq_ignore_ascii_case is not in AsciiExt since rustc 1.23.

Source-Repo: https://github.com/servo/servo
Source-Revision: fbeb5a81a8eb3fa2f5feb4c039620158ab1f87f2

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3098c51c29fc64252934d427ac8bd3f828d508d8
2018-03-04 13:35:04 -05:00
Paul Rouget
fdb8f25cb4 servo: Merge #20182 - Prompt URL on Cmd/Ctrl-L (from paulrouget:ctrl_l); r=jdm
<!-- Please describe your changes on the following line: -->

The `sanitize_url` code is very naive. I'm sure we can do better.
This ServoShell issue describes the problem: https://github.com/paulrouget/servoshell/issues/59

I can fix that now if someone can help me figure out how to tell if a string is a valid url which is just missing a scheme. Or we can do that in a follow up.

---
<!-- 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 #20165

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: ec3aa8bd7a985b26f894a73f9b84fc53a005d453

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7c313a0358fb1b5923cad0221afdfae11ba11b03
2018-03-04 12:48:30 -05:00
Jonathan Kew
9137f16912 servo: Merge #20191 - style: Make 'font' shorthand reset 'font-variation-settings' property (from jfkthame:font-shorthand-resets-variation-settings); r=emilio
As required by the spec: https://drafts.csswg.org/css-fonts-4/#font-prop

See https://bugzilla.mozilla.org/show_bug.cgi?id=1435983

Basically, make font-variation-settings work in the same way as font-feature-settings
already does.

- [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).

- [ ] There are tests for these changes OR
- [X] These changes do not require tests because font-variation-settings isn't supported in servo; it is implemented here for gecko/stylo, and will be tested by mozilla-central mochitests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1783e41f34c75bc7dfb158b4aa2628fd945eceb3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ccc26bb6fcbce339c34504dc3c493cee879970a0
2018-03-04 11:50:56 -05:00
Emilio Cobos Álvarez
0bb1806dc2 servo: Merge #20193 - style: Remove more rustc_has_pr45225 stuff (from emilio:needless-stuff-is-needless); r=nox
Also cleans up references to a fixed issue.

Source-Repo: https://github.com/servo/servo
Source-Revision: d09ea8476e68ff131d71bc78a2c6c324679b90d5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a065c7a872724c2802092c569b93aba720eeac32
2018-03-04 10:41:54 -05:00
Anthony Ramine
1b8cb62485 servo: Merge #20192 - Derive ToCss for DeclaredValue (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: a716dfd40b091cbe94228a11e5cb75e5cc17f0e3

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 500af6e601ae62b29682fc41f0e19ce9d23b56c5
2018-03-04 09:29:01 -05:00
Anthony Ramine
4fff12589f servo: Merge #20189 - Never store a squared root in SquaredDistance (from servo:squared-distance-for-real); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 86a70100821a841fc68dc037a7b43a69c7999dfe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 36874057dcd4cc19ad5a66d9e2527c4d81837c2e
2018-03-03 20:11:41 -05:00
Emilio Cobos Álvarez
74fc47729c servo: Merge #20190 - style: Don't guard the context opacity keywords with the svg in opentype pref (from emilio:context-opacity); r=upsuper
This is effectively the stylo version of the second patch for bug 1365926, and should fix bug 1442867.

Source-Repo: https://github.com/servo/servo
Source-Revision: b59a8afd0fe922613d545fcb062d5bf4bb305980

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ff09c9431be2ef3be51061fce2d86d995e50b936
2018-03-03 19:12:18 -05:00
Emilio Cobos Álvarez
b5b8e284de servo: Merge #20188 - style: Add bindings for ShadowRoot (from emilio:moar-traits); r=nox
This adds TShadowRoot to the `dom` module.

Right now it barely adds uses of it, but this is a prerequisite to fix a bunch
of Shadow DOM bugs and separate it from the XBL mess.

Source-Repo: https://github.com/servo/servo
Source-Revision: ce562a2cc6c508a423cad07be30638e89ff13def

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17c6150f89621b67a6d92d20d62617d605f94417
2018-03-03 17:53:08 -05:00
Emilio Cobos Álvarez
583ca26396 servo: Merge #20187 - style: Add font-optical-sizing property (from emilio:font-optical-sizing); r=emilio
Patch by Jonathan Kew <jkew@mozilla.com>.

Bug: 1435692
Reviewed-by: emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: df079286c232f49c5317a3d18a1052b1a6d274cd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4755c5f994848a99e15e462aabeffa5cc7419b17
2018-03-03 15:10:30 -05:00
Anthony Ramine
4eada34789 servo: Merge #20183 - Unconditionally derive ToComputedValue as Clone for non-generic types (from servo:computed-as-clone); r=emilio
We assume that types such as `<Self as ToComputedValue>::ToComputedValue == Self`
just construct a new value that is just a clone of the original one without any
additional code.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95f81d0c394e99a43552b1f964a9bf4df90ec759

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 924a7c176f25127a29cded900d6fc0c390cdef0f
2018-03-03 14:15:17 -05:00
Emilio Cobos Álvarez
2a3a665e2b servo: Merge #20180 - style: Copy less urls for stylo (from emilio:moar-refcount-hackery); r=jdm
Bug: 1442246
Reviewed-by: jdm
MozReview-Commit-ID: NmHue1mGDq
Source-Repo: https://github.com/servo/servo
Source-Revision: 5bfd74e42deb7d519acdfe246475588c1cede367

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c8541723e6930e07da139a59b856b238037b598c
2018-03-03 13:25:15 -05:00
Emilio Cobos Álvarez
8f9683bcfb servo: Merge #20186 - style: Fix text-emphasis-style conversion (from emilio:fixup-fill); r=nox
Was accidentally broken in #20178 and is causing orange.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2425939f9fa8fe8263e3b7108c265da6d12d7409

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 59fede9cf0adeb0062b91551bef6708e259669a2
2018-03-03 12:23:52 -05:00
Anthony Ramine
c2e8bc703e servo: Merge #20178 - Derive ToCss for some more stuff (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 0c9be9f77630c30120a72e50f0865b8b6e55db00

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4df68804b49e62f9ddbf39b6f96968cc0548b928
2018-03-03 10:17:42 -05:00
Petre Tudor
c7fc85c6bd servo: Merge #20177 - removed default_data_dir() and default_cache_dir() (from petre2dor:removeUnusedCode); r=jdm
<!-- Please describe your changes on the following line: -->

I removed `default_data_dir()` and `default_cache_dir()` from `components/config/basedir.rs` because they were never called.

---
<!-- 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 they only remove untested code

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 0eb8b1f4c0736ec25dc391d119c03d1b49644d81

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 79de14ce6be480d377015a59a2d45dd99e7a5ef3
2018-03-02 15:58:04 -05:00
Andrei Cristian Petcu
1d48511773 servo: Merge #20175 - #20174 removed the option and unwrap (from andreicristianpetcu:remove_optional_from_default_config_dir); r=jdm
I removed the useless option and the need for unwrap from default_config_dir

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #20174 (github issue number if applicable).
- [X] These changes do not require tests because they are used at build time.

Source-Repo: https://github.com/servo/servo
Source-Revision: 48ff3965cc2e483a33d457e3ddaf9ad10007c275

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 35c998111a39669ae544b501ba781cdb9407e627
2018-03-02 14:39:37 -05:00
Emilio Cobos Álvarez
e855f567ff servo: Merge #20173 - style: Update bindgen to 0.33 (from emilio:formatted-style); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 7944bcbe8ddd71ec04e8f43d3da663311ba25928

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fbad75c026e5fdaa1e8b96f63ec674fd4db9aaed
2018-03-02 12:45:29 -05:00
Anthony Ramine
1c9cffdd70 servo: Merge #20171 - Make ContentItem use a CustomIdent for counter names (from servo:content-item-counters); r=emilio
See https://github.com/w3c/csswg-drafts/pull/2377.

Source-Repo: https://github.com/servo/servo
Source-Revision: 476a0764f5398675481cbaaa040ecc061ae6e579

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c3dbd3ab4fa0904e06e2ca01318b2e08c979b3a7
2018-03-02 11:18:49 -05:00
Josh Matthews
bb6d919e1d servo: Merge #20168 - Improve disk usage of doc builds (from servo:jdm-patch-16); r=emilio
Continuing the war on disk space usage, I noticed the doc builder on servo-linux4 was growing over time without bound.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1475b54f5d9ce456070d91ef65f468ecf57f4f6e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : facab0082949ecef54a22cad9705720a8f2f11c1
2018-03-02 10:32:30 -05:00
Glenn Watson
70cb9c7353 servo: Merge #20166 - Update WR (async scene building fix) (from glennw:update-wr-async); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 320c7f409dafb1629c8c5d47ba16f6d84c0770cc

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3d6170f0eefd78047f5ce3190339fc527e76458d
2018-03-02 09:41:50 -05:00
Emilio Cobos Álvarez
7d4a80005f servo: Merge #20170 - Reland #20160 since it just needed a revendor that didn't happen automatically (from emilio:formatted-style); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 679d2de4e74ecca7bd1b6d8b7d76e9bbd8821718

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6e36ef2c981984efddc6fb36a01db7c3cd2418b3
2018-03-02 08:45:09 -05:00
Andreea Pavel
42fbf254fe Backed out changeset 39a71f4c9d94 for build bustages at make[4]: *** [force-cargo-library-build] Error 101 on a CLOSED TREE 2018-03-02 14:46:04 +02:00
Emilio Cobos Álvarez
5b545e0f64 servo: Merge #20160 - style: Rustfmt bindings on automation, and locally under an env variable (from emilio:formatted-style); r=xidorn
Bug: 1432153
Reviewed-by: xidorn
MozReview-Commit-ID: HJ9J5NtYVk2
Source-Repo: https://github.com/servo/servo
Source-Revision: 0172989b6fc1304b102920b8b540273dc58fa9af

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3bcf45c730b963c3130fc5ccaf9f1e8528c0d2fb
2018-03-02 05:38:00 -05:00
Manish Goregaokar
da2f29c6ee servo: Merge #20163 - Don't panic on cells with both a rowspan and colspan in include_sizes_from_previous_rows (from Manishearth:rowspan-crash); r=mbrubeck
fixes #20162

Source-Repo: https://github.com/servo/servo
Source-Revision: e446897cf603dd2f179c361523cc82ecad6e657b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 05b6c6a71c1623160fee30993890a48faa6938bb
2018-03-01 20:36:50 -05:00
Xidorn Quan
1ddc518ca0 servo: Merge #20150 - Remove text-is-significant param from Gecko_IsSignificantChild (from upsuper:text-is-significant); r=emilio
This is Servo side change of [bug 1441729](https://bugzilla.mozilla.org/show_bug.cgi?id=1441729).

Source-Repo: https://github.com/servo/servo
Source-Revision: 90b8410b05e8aab35e3885820a37c6239252cca1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a141e4615f1d7aca05918e65536fd0ef41874495
2018-03-01 18:52:07 -05:00
Manish Goregaokar
addab37e1d servo: Merge #20152 - Support zero rowspans (from Manishearth:rowspan-zero); r=mbrubeck
This makes rowspan=0 work by storing notes on which group of rows we're in
for tables containing both rowgroups and rows, and using that to respan
cells with overlarge or zero rowspans.

This also gets rid of the largest_leftover_incoming_size business, because
now spans will always be correct and we'll never have any left over.

Based on https://github.com/servo/servo/pull/20128

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f2cd86b8ee7bbe71ff30758cf5c2174e008e9b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3b83bf4f4595778ce83854562b72e13ac07c7363
2018-03-01 13:36:43 -05:00
Josh Matthews
173e864112 servo: Merge #20153 - Update glutin, skia, and azure (from jdm:glutinup); r=SimonSapin
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19901

Source-Repo: https://github.com/servo/servo
Source-Revision: 23e95906347c4b6d0d1ccd1ce12ff5206c349a9a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 806d322a34be21e05a94e6a7cadbfb78cb0e8b9d
2018-03-01 10:20:05 -05:00
Anthony Ramine
3c52dc749b servo: Merge #20145 - Kill RUSTC_HAS_PR45225 🎉 (from servo:rm-rustc-hack); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 30f33eba9665f5ffdc0648515db7cede68778202

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f5b8fc439def43ace755a8e48d6387f2e12d7460
2018-03-01 08:49:03 -05:00
Paul Rouget
21d75cd3fe servo: Merge #20156 - euclid update (from paulrouget:euclid_up); r=jdm
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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: 1df6c979484a1a4dee35fdd3fde39951052384fd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 61dd1e49580ecf5592259ad808c47345b43f0f16
2018-03-01 02:45:26 -05:00
Glenn Watson
ea3286ac6a servo: Merge #20154 - Update WR (ipc deadlock workaround, clipped-filter fix) (from glennw:update-wr-deadlock); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f58c4fda137e7549e67be50c13b26b6319dfb084

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 783a8ba31e1ab693c841d5780867db01ec7d8943
2018-02-28 20:25:51 -05:00
Manish Goregaokar
1d9d94dd03 servo: Merge #20128 - Rowspan support for tables (from Manishearth:rowspan); r=mbrubeck
fixes #20092

This just contains the first steps.

We apply a naive algorithm: Spanning cells apply a pressure equal to `block_size / rowspan` on each row they are in. We move table row block size computation into the tables, and make it two pass. In the first pass we compute the sizes of each row, and in the
second pass we assign them, adding them up for any involved cells.

This is missing:

 - [x] Accounting for border sizes
 - [x] Applying pressure to rows that are not the row containing the cell
 - [ ] Reducing pressure on future rows if the current row is able to accomodate more of the cell
 - [x] For tables containing both rows and rowgroups, reset the rowspan info when we hit a rowgroup
 - [x] Correctly handle overflowing rowspans

cc @mbrubeck @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: e2f28140184e9124bd9e94d0b15f289ec5258822

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6c8e9a45489a8ece9f7ff81fe1485aea3105df33
2018-02-28 18:40:39 -05:00
Bastien Orivel
68043719a2 servo: Merge #20143 - Bump itertools, image, flate2 and caseless (from Eijebong:bump); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: af92c06223a65fee3037b64b29ed9f089ef87310

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9ec8912b6fe633d7fdfe02ada0b6e99234cdac29
2018-02-28 13:10:59 -05:00
Bobby Holley
cfbe8920ca servo: Merge #20146 - Stylo: Pass an explicit parent SheetLoadData for child stylesheet loads (from bholley:explicit_load_data); r=bholley
https://bugzilla.mozilla.org/show_bug.cgi?id=1441896

Source-Repo: https://github.com/servo/servo
Source-Revision: e8f77861a9af8d88ba62625838a10d63c74d22ed

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 10643d7df19b8b97d27a5081dec6816b120afa1a
2018-02-28 11:32:00 -05:00
Emilio Cobos Álvarez
1319d160ae servo: Merge #20138 - style: Only expose longhands to rust via iterators (from emilio:longhand-iterator); r=nox
The key here is that we only filter longhands if the shorthand is accessible to
content and vice-versa. This prevents the bug that prevented me to land this
patch before, which was us not expanding properly chrome-only shorthands.

Source-Repo: https://github.com/servo/servo
Source-Revision: a0be3a7fae2730bfef52db94db7f3af14b60be67

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2afb50b62cab334fcec0cdcccd793abca8fdb3ec
2018-02-28 06:28:41 -05:00
Anthony Ramine
55dc564b31 servo: Merge #20141 - Replace ColorOrAuto by CaretColor (from servo:rm-color-or-auto); r=emilio
This is its only use.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8471011e6b6bd72db68ec9ae21df58ab09f2f6d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4407223da1f18648537ad75a602434999ce3ee2f
2018-02-28 05:37:18 -05:00
Bastien Orivel
ba431a7ec0 servo: Merge #20140 - Bump euclid to 0.17 (from Eijebong:euclid); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 38298336beb4ef8873cae22919bd8bee0f6496d4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0fc60971a64e0c8fb9be4503a54298f9ecb8cf8b
2018-02-28 04:14:32 -05:00
Bastien Orivel
b792bd79f0 servo: Merge #20137 - Bump gl_generator to 0.9 (from Eijebong:gl_generator); r=SimonSapin
Fixes #20037

Source-Repo: https://github.com/servo/servo
Source-Revision: 6fbf2c1e3c8bb5243ebd7eeb432552496d0f336b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 7dd5adeb149c7f5a8b04e60834af6f31bfb3c17f
2018-02-27 15:17:09 -05:00
Emilio Cobos Álvarez
4ed9aaf6b8 servo: Merge #20136 - style: Make Servo deal with CSS property prefs more correctly (from emilio:servo-prefs); r=SimonSapin
Right now you could still set preffed-off properties from CSSStyleDeclaration.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d8363cd87cd9e94fa6ce5e1ba14123e0514a7ef

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 17a3a4ba12d73f86565e7a0fd1f95b734cb9ec40
2018-02-27 14:16:08 -05:00
Josh Matthews
9b767aaa6a servo: Merge #20135 - Clean up after some disk-space intensive builds (from servo:jdm-patch-13); r=Manishearth
This should help the ongoing disk usage problems.

Source-Repo: https://github.com/servo/servo
Source-Revision: 068c1eb9fbff43bcf089c7c27101c72ef205b0c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4fce578abe5343310c632256c10e28fe53709084
2018-02-27 13:15:02 -05:00
Anthony Ramine
776e1c02e5 servo: Merge #20131 - Replace NonNegativeLengthOrNumber by a specific type for -moz-tab-size (from servo:moz-tab-size); r=emilio
This is the only use of this type.

Source-Repo: https://github.com/servo/servo
Source-Revision: 030509e66b9d3432c112bb5639f446535749963e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4c8d312495ec20ce733a86f771c08ac6884b6c59
2018-02-27 12:17:43 -05:00
Emilio Cobos Álvarez
babe09a874 servo: Merge #20134 - style: Split out NonCustomPropertyId::enabled_for_all_content from allowed_in (from emilio:split-stuff); r=nox
This is part of a patch that was reviewed by nox in #20081, but which I reverted because that approach didn't quite work.

I think I have something that works now, but I'm waiting for a Geckotry. Landing this should be worth it in the meantime though.

Source-Repo: https://github.com/servo/servo
Source-Revision: b9e16e54aae8daa3249e2a8b4483ce302d817f56

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 34bea2135c443c55683158afa42b91f6036101f0
2018-02-27 07:12:50 -05:00