Commit graph

32355 commits

Author SHA1 Message Date
bors-servo
7e0f45b1c7
Auto merge of #20204 - Eijebong:bump, r=nox
Rebump toml and error-chain

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20204)
<!-- Reviewable:end -->
2018-03-13 05:36:44 -04:00
Bastien Orivel
fcc64e659d Update error-chain to 0.11 2018-03-13 10:24:15 +01:00
Bastien Orivel
2bd99317fb Update toml to 0.4 2018-03-13 10:24:11 +01:00
WPT Sync Bot
aa8de380cc Update web-platform-tests to revision 28300a0874230d668f0b02cfddfd994f2a735a56 2018-03-12 23:08:35 -04:00
bors-servo
ac71266987
Auto merge of #20283 - gootorov:patch-1, r=jdm
style: Fix a typo in Integer struct docs

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20283)
<!-- Reviewable:end -->
2018-03-12 20:26:53 -04:00
Igor Gutorov
217c4be2bf style: Fix a typo in Integer struct docs 2018-03-13 02:02:38 +02:00
Igor Gutorov
de0e33a743 style: Fix some dead links in style.md 2018-03-13 01:39:17 +02:00
bors-servo
087cf21d79
Auto merge of #20223 - emilio:share-xbl, r=xidorn,bholley
style: Allow to share style across elements with similar XBL bindings.

Also move the checks so that the tag name checks (presumably cheaper) come earlier.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20223)
<!-- Reviewable:end -->
2018-03-12 16:48:36 -04:00
Emilio Cobos Álvarez
9364cd21b8
style: Don't share style with an element that has a different proto binding than us.
See the lengthy comment about why... XBL sucks.

MozReview-Commit-ID: 8UgeJAVkj6a
2018-03-12 21:47:47 +01:00
Emilio Cobos Álvarez
c338745b17
style: Allow to share style across elements with similar XBL bindings. 2018-03-12 21:47:46 +01:00
bors-servo
af12284b6a
Auto merge of #20273 - servo:jdm-patch-13, r=nox
Unbreak the docs build.

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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20273)
<!-- Reviewable:end -->
2018-03-12 13:26:55 -04:00
bors-servo
466da7febb
Auto merge of #20276 - glennw:update-wr-opts, r=jdm
Update WR (various small optimizations and driver fixes).

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20276)
<!-- Reviewable:end -->
2018-03-12 11:30:52 -04:00
bors-servo
5feb13ac66
Auto merge of #20277 - servo:test-webvr, r=jdm
Enable /webvr/ tests

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20277)
<!-- Reviewable:end -->
2018-03-12 10:32:52 -04:00
Anthony Ramine
9af2082b2d Fix the expectation for wbr-element.html 2018-03-12 15:32:02 +01:00
Anthony Ramine
7a09b2fe40 Properly enable WebVR when running WebVR tests 2018-03-12 15:32:01 +01:00
Anthony Ramine
887367e2e6 Enable /webvr/ tests 2018-03-12 15:32:00 +01:00
Anthony Ramine
8013e7801e Properly pref-gate the VR WebIDL interface 2018-03-12 15:32:00 +01:00
Anthony Ramine
e5ba3dfd43 Fix expectation for parser-sets-attributes-and-children.html
It now always crashes consistently on Linux.
2018-03-12 15:31:59 +01:00
Anthony Ramine
4fe554cb73 Fix expectation for transition_calc_implicit.html.ini (#17417) 2018-03-12 15:31:55 +01:00
Anthony Ramine
48a55af2cf Fix expectation for border_radius_elliptical_a.html (#14229, #19271) 2018-03-12 15:31:52 +01:00
bors-servo
345c373192
Auto merge of #20216 - servo:mozangle, r=emilio
Switch from servo/angle to the mozangle crate

https://github.com/servo/mozangle

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20216)
<!-- Reviewable:end -->
2018-03-12 09:23:52 -04:00
Simon Sapin
67d983cb12 Switch from servo/angle to the mozangle crate
https://github.com/servo/mozangle
2018-03-12 14:23:20 +01:00
bors-servo
cdaa36df2d
Auto merge of #20274 - emilio:moz-src, r=xidorn
style: Make the generated bindings really be formatted.

TOOLTOOL_DIR isn't passed down to the rust scripts it seems, per:

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20274)
<!-- Reviewable:end -->
2018-03-12 07:12:13 -04:00
bors-servo
9d4cdfcfc3
Auto merge of #20275 - servo:derive-all-the-things, r=emilio
Finish cleaning up trait bounds generation in style_derive

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20275)
<!-- Reviewable:end -->
2018-03-12 04:52:02 -04:00
Anthony Ramine
a6aac0ed5f Document #[animation(no_bound(…))] and #[distance(field_bound)] 2018-03-12 09:51:15 +01:00
Anthony Ramine
dcae5860a8 Share a single #[animation(no_bound(…))] for the animation traits 2018-03-12 09:48:25 +01:00
Anthony Ramine
ba12a344c6 Opt out of bounds on type params for #[derive(ToAnimatedZero)] 2018-03-12 09:48:25 +01:00
Anthony Ramine
6f7425059c Opt out of bounds on type params for #[derive(ComputeSquaredDistance)] 2018-03-12 09:48:24 +01:00
Anthony Ramine
5cc2d7c4b3 Opt out of trait bounds on type params for #[derive(Animate)]
This allows us to not generate trait bounds for field types anymore,
by excluding bounds for type parameters used only in fields annotated
with `#[animation(error)]`.

The syntax is `#[animation(no_bound(Foo, Bar))]` where `Foo` is a type
parameter for the type on which we derive things. Ideally this should
be an attribute on the type parameter but this isn't stable yet.
2018-03-12 09:47:18 +01:00
Glenn Watson
e93d849831 Update WR (various small optimizations and driver fixes). 2018-03-12 16:32:31 +10:00
bors-servo
17d7a12ab4
Auto merge of #20278 - servo-wpt-sync:wpt_update_11-03-2018, r=jdm
Sync WPT with upstream (11-03-2018)

Automated downstream sync of changes from upstream as of 11-03-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20278)
<!-- Reviewable:end -->
2018-03-11 23:15:55 -04:00
WPT Sync Bot
235bcddf5a Update web-platform-tests to revision 9c9d8f24b19b9a8b432c76db4ade468be8a50250 2018-03-11 22:46:44 -04:00
Emilio Cobos Álvarez
4295bef063
style: Make the generated bindings really be formatted.
TOOLTOOL_DIR isn't passed down to the rust scripts it seems, per:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=46854db239166ab3a43d36c7a954debb56968eab
2018-03-11 20:14:47 +01:00
Josh Matthews
34d14a092c
Unbreak the docs build. 2018-03-11 13:45:44 -04:00
Jeremy Lempereur
a132a9bd99 Add Windows support to the --nightly | -n flag. 2018-03-11 17:50:24 +01:00
bors-servo
29e10d4f88
Auto merge of #20185 - Beta-Alf:master, r=emilio
Make KeyframesPercentage::parse faster

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20185)
<!-- Reviewable:end -->
2018-03-11 07:47:21 -04:00
Florian Wagner
85bb94be9c Refactor KeyframePercentage::parse. This adresses #20179 2018-03-11 11:41:52 +01:00
bors-servo
e3c78808c5
Auto merge of #20270 - servo-wpt-sync:wpt_update_10-03-2018, r=jdm
Sync WPT with upstream (10-03-2018)

Automated downstream sync of changes from upstream as of 10-03-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20270)
<!-- Reviewable:end -->
2018-03-10 23:15:55 -05:00
WPT Sync Bot
53868fcf1b Update web-platform-tests to revision 5e377e222095625488698633a435d6c19e4d611d 2018-03-10 21:46:15 -05:00
bors-servo
53d9ca1bcd
Auto merge of #20263 - servo-wpt-sync:wpt_update_09-03-2018, r=jdm
Sync WPT with upstream (09-03-2018)

Automated downstream sync of changes from upstream as of 09-03-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20263)
<!-- Reviewable:end -->
2018-03-09 23:39:19 -05:00
WPT Sync Bot
3f33c72bb4 Update web-platform-tests to revision 83b0a62af874eaf20e9d97d2fb9e15e91f3d109f 2018-03-09 21:45:04 -05:00
bors-servo
aa8fb3a204
Auto merge of #20252 - NeverHappened:extract_text_emphasis_style, r=upsuper
Extract text emphasis style

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20252)
<!-- Reviewable:end -->
2018-03-09 19:20:10 -05:00
bors-servo
95f9e14e67
Auto merge of #20262 - emilio:webgl-fallible, r=jdm
constellation: Make setting up the WebGL state fallible.

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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20262)
<!-- Reviewable:end -->
2018-03-09 18:24:56 -05:00
bors-servo
909ebff184
Auto merge of #20258 - servo:derive-all-the-things, r=emilio
Continue to improve style_derive

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20258)
<!-- Reviewable:end -->
2018-03-09 17:29:05 -05:00
Emilio Cobos Álvarez
21df4014db
constellation: Make setting up the WebGL state fallible.
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.
2018-03-09 23:27:29 +01:00
Josh Matthews
fcd7399ad1
Move the TravisCI test to the quick group. 2018-03-09 15:05:16 -05:00
Josh Matthews
ec5daacaa9
Run memory charting test on CI. 2018-03-09 14:47:06 -05:00
Josh Matthews
905f94abe3
Run automated test for memory report charter. 2018-03-09 14:45:30 -05:00
Dmitry
a1dd888c23 Rename entities that belong to text-emphasis-style value. Fix order of imports 2018-03-09 20:55:26 +03:00
Anthony Ramine
68be1aae8c Kill fmap_output_type 2018-03-09 18:55:26 +01:00