Commit graph

38557 commits

Author SHA1 Message Date
bors-servo
d75b7fd8cb
Auto merge of #24134 - paulrouget:webxr-up, r=jdm
Upgrade webxr

<!-- 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/24134)
<!-- Reviewable:end -->
2019-09-18 10:43:35 -04:00
bors-servo
4159f01feb
Auto merge of #24229 - servo:jdm-patch-55, r=paulrouget
Fix python precedence issue.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24228
- [x] These changes do not require tests because nightly builds are tricky to trigger manually

<!-- 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/24229)
<!-- Reviewable:end -->
2019-09-18 05:27:16 -04:00
Paul Rouget
adc6fe7d1e webxr update 2019-09-18 07:31:23 +02:00
bors-servo
745857066c
Auto merge of #24220 - rasviitanen:domstringlist, r=jdm
add webidl bindings for DOMStringList

<!-- Please describe your changes on the following line: -->
To prepare for the implementation of `IndexedDB` a DOM interface for `DOMStringList` is added.

This change:
* Adds a new IDL file for `DOMStringList`
* Lists `domstringlist.rs` in `mod.rs`
* Defines a new DOMStruct `DOMStringList`
* Changes some test expectations related to `DOMStringList`
---
<!-- 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 #24208

- [X] These changes do not require tests because:
We are not yet able to fully test the functions of `DOMStringList` in the WPT, because it is not possible to create an object of the type `DOMStringList` until e.g. `indexeddb` or `location.ancestorOrigins` is implemented.

<!-- 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/24220)
<!-- Reviewable:end -->
2019-09-17 23:53:08 -04:00
Rasmus Viitanen
7e4e48c351 add webidl bindings for DOMStringList 2019-09-18 01:22:22 +02:00
bors-servo
41d1a94f1a
Auto merge of #24227 - servo-wpt-sync:wpt_update_17-09-2019, r=servo-wpt-sync
Sync WPT with upstream (17-09-2019)

Automated downstream sync of changes from upstream as of 17-09-2019.
[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/24227)
<!-- Reviewable:end -->
2019-09-17 16:41:36 -04:00
Josh Matthews
f3a8b66a0f
Fix python precedence issue. 2019-09-17 15:50:27 -04:00
bors-servo
e431a7baf7
Auto merge of #24201 - pylbrecht:raqote, r=jdm
Implement raqote backend for 2D canvas rendering

<!-- 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 (part of) #23431

<!-- Either: -->
- [ ] There are tests for these changes

<!-- 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/24201)
<!-- Reviewable:end -->
2019-09-17 12:04:20 -04:00
pylbrecht
308908ed40 Implement LinearGradient and RadialGradient 2019-09-17 16:58:13 +02:00
bors-servo
540a73ed29
Auto merge of #24226 - paulrouget:openxrup, r=jdm
OpenXR loader update

Fix #24181

<!-- 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/24226)
<!-- Reviewable:end -->
2019-09-17 10:22:41 -04:00
WPT Sync Bot
57465056e7 Update web-platform-tests to revision e9f2d000237d43f74136cfd40e5a3454f5b54b70 2019-09-17 13:46:30 +00:00
pylbrecht
b8f92937b3 Implement ColorBurn 2019-09-17 11:54:39 +02:00
pylbrecht
430fad8b13 Update raqote 2019-09-17 11:54:39 +02:00
pylbrecht
818b5d4150 Add naive implementation for ellipse()
rust-azure's ellipse() C++ implementation copy/pasted and kind of ported
to Rust. Obviously needs refactor to turn it into idiomatic Rust.
2019-09-17 11:48:44 +02:00
bors-servo
8bc8981ae5
Auto merge of #24149 - jdm:opt-in-msbuild, r=paulrouget
Add explicit packaging step for UWP apps

<!-- 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/24149)
<!-- Reviewable:end -->
2019-09-17 02:44:18 -04:00
Paul Rouget
94eeea3664 "mach clean" cleans uwp artifacts 2019-09-17 07:47:01 +02:00
Paul Rouget
c90c32238c Update OpenXRLoader Nuget package 2019-09-17 07:46:03 +02:00
bors-servo
119cb894cd
Auto merge of #24224 - asajeffrey:magicleap-rime-of-the-ancient-debugger, r=jdm
Added description of debugging gstreamer in magicleap

<!-- Please describe your changes on the following line: -->

A description of the steps needed to debug gstreamer on magicleap.

---
<!-- 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 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/24224)
<!-- Reviewable:end -->
2019-09-16 15:46:56 -04:00
Alan Jeffrey
b711d12344 Added description of debugging gstreamer in magicleap 2019-09-16 14:42:44 -05:00
bors-servo
636e82108d
Auto merge of #24111 - jdm:mac-vao-fix, r=nox
webgl: Support vertex array objects on macOS.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23960 and fix #12644

<!-- 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/24111)
<!-- Reviewable:end -->
2019-09-16 13:15:40 -04:00
bors-servo
06a07909c1
Auto merge of #24222 - servo-wpt-sync:wpt_update_16-09-2019, r=servo-wpt-sync
Sync WPT with upstream (16-09-2019)

Automated downstream sync of changes from upstream as of 16-09-2019.
[no-wpt-sync]
2019-09-16 09:25:20 -04:00
WPT Sync Bot
6a79d6ee64 Update web-platform-tests to revision 0bfde9f6a8bfde0fde4dba73d7172a8eed6e946e 2019-09-16 13:25:06 +00:00
bors-servo
5d4dac8cf2
Auto merge of #24216 - servo:jdm-patch-54, r=nox
Skip timing out test directories for unimplemented features

Based on an analysis of the logs of a recent WPT test run on CI, these are some of the biggest offenders for timing out tests and we get no value from continuing to run them.

<!-- 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/24216)
<!-- Reviewable:end -->
2019-09-15 15:01:30 -04:00
Josh Matthews
7fb11bdaac
Skip unimplemented worker modules tests. 2019-09-15 11:32:49 -04:00
Josh Matthews
b7f378d37d
Skip tests for unimplemented JSON module script. 2019-09-15 11:16:37 -04:00
Josh Matthews
f5ce68eca5
Skip tests for unimplemented http-equiv-refresh attribute. 2019-09-15 11:15:18 -04:00
Josh Matthews
09f987651e
Skip tests for unimplemented Cross-Origin-Opener/Embedder-Policy. 2019-09-15 11:13:38 -04:00
Josh Matthews
39de335956
Skip unimplemented media track element URL fetching tests. 2019-09-15 11:10:27 -04:00
Josh Matthews
2ac5ef6bd9
Skip unimplemented srcdoc referrer-policy WPT tests. 2019-09-15 10:57:55 -04:00
bors-servo
4295581792
Auto merge of #24215 - servo-wpt-sync:wpt_update_15-09-2019, r=servo-wpt-sync
Sync WPT with upstream (15-09-2019)

Automated downstream sync of changes from upstream as of 15-09-2019.
[no-wpt-sync]
2019-09-15 10:38:04 -04:00
WPT Sync Bot
20dd815dd0 Update web-platform-tests to revision c850921dd5b241913a97b99b05cecbbb1242755c 2019-09-15 14:37:50 +00:00
bors-servo
6cb7126471
Auto merge of #24214 - servo-wpt-sync:wpt_update_14-09-2019, r=servo-wpt-sync
Sync WPT with upstream (14-09-2019)

Automated downstream sync of changes from upstream as of 14-09-2019.
[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/24214)
<!-- Reviewable:end -->
2019-09-14 10:48:31 -04:00
WPT Sync Bot
20e57b5c74 Update web-platform-tests to revision bf42dca1ce568ce559d5a4cad507239035b91dcb 2019-09-14 14:35:59 +00:00
bors-servo
91d2bd3d64
Auto merge of #24212 - jdm:sparkleup, r=asajeffrey
Update sparkle for GLES fix.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24206
- [x] These changes do not require tests because no GLES tests on CI.

<!-- 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/24212)
<!-- Reviewable:end -->
2019-09-13 18:42:26 -04:00
Josh Matthews
0d88c13186 webgl: Support vertex array objects on macOS. 2019-09-13 16:20:41 -04:00
Josh Matthews
8f7fa5bfc7 Update sparkle for GLES fix. 2019-09-13 15:30:49 -04:00
bors-servo
75bc72b29f
Auto merge of #24204 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- 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/24204)
<!-- Reviewable:end -->
2019-09-13 09:25:22 -04:00
Josh Matthews
c1f9dfda25 Make APPX build part of package command. Add nightly build for UWP. 2019-09-12 23:27:38 -04:00
bors-servo
9138d1dfed
Auto merge of #24202 - servo-wpt-sync:wpt_update_12-09-2019, r=servo-wpt-sync
Sync WPT with upstream (12-09-2019)

Automated downstream sync of changes from upstream as of 12-09-2019.
[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/24202)
<!-- Reviewable:end -->
2019-09-12 22:00:26 -04:00
Emilio Cobos Álvarez
cd3b0c23fa
style: Fix Servo build, and rustfmt recent changes. 2019-09-12 23:04:56 +02:00
bors-servo
e6376ab322
Auto merge of #24197 - Manishearth:vs-crt, r=jdm
Pull in CRT runtime on VS 2019 as well

Building for x64 UWP leads to the build system complaining about this DLL not being in the target/ folder.

I think these three VS versions are the only ones we support, perhaps we should remove this check entirely and unconditionally include this DLL?

r? @jdm

<!-- 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/24197)
<!-- Reviewable:end -->
2019-09-12 16:57:18 -04:00
Emilio Cobos Álvarez
9eaadc6860 style: Shutdown Servo's thread-pool in leak-checking builds, leak the atom table elsewhere.
Differential Revision: https://phabricator.services.mozilla.com/D44217
2019-09-12 22:34:16 +02:00
Michael Woerister
d54d1bcb17 style: Remove duplicated logic from stylo's Gecko wrapper.
Stylo's Gecko wrapper duplicated some logic from the C++ side so
that the Rust compiler would be able to optimize better. Now that
we have xLTO, this kind of manual inlining should not be neccessary
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D43765
2019-09-12 22:34:16 +02:00
Boris Chiou
eb8195dfa4 style: Tweak the serialization of text-decoration.
We are trying to not serialize `text-decoration-line: none` if there are other
non-default values for the longhands.

Differential Revision: https://phabricator.services.mozilla.com/D44908
2019-09-12 22:34:16 +02:00
Cameron McCormack
3c2e4d1e98 style: Align the Rust and C++ representations of WritingMode.
Differential Revision: https://phabricator.services.mozilla.com/D44412
2019-09-12 22:34:16 +02:00
Emilio Cobos Álvarez
987a1eeb62 style: Use cbindgen for counters.
Differential Revision: https://phabricator.services.mozilla.com/D44403
2019-09-12 22:34:16 +02:00
Emilio Cobos Álvarez
3fcd23dcdf style: Add a comment about a Send bound that may look confusing. 2019-09-12 22:34:16 +02:00
Emilio Cobos Álvarez
c7add81517 style: Account for user stylesheets for Shadow DOM invalidation.
Differential Revision: https://phabricator.services.mozilla.com/D43992
2019-09-12 22:34:16 +02:00
Boris Chiou
c3a3bd48d7 style: Support css use counters for unimplemented properties.
For developing properties, we will handle them in an other bug.

Besides, I use an iframe for the test because we create a use counter in
the constructor of Document, which use the prefs to decide what kind of
properties we want to record. So, in the test, we have to reload iframe
to make sure we re-create the document, so does the use counter, to make
sure the prefs work properly.

The two prefs affect the css use counters:
1. layout.css.use-counters.enabled: Allocate use counters, and record
   non-custom properties.
2. layout.css.use-counters-unimplemented.enabled: Record all unimplmented
   properties into the use counters.

If we disable layout.css.use-counters.enblaed, we don't create use counters
object, so layout.css.use-counters-unimplemented.enabled doesn't work,
either.

Differential Revision: https://phabricator.services.mozilla.com/D43860
2019-09-12 22:34:16 +02:00
Mats Palmgren
f7a87c49b1 style: [css-lists-3] Make 'none' invalid as a <counter-style> in counter()/counters().
CSSWG resolution:
https://github.com/w3c/csswg-drafts/issues/4163#issuecomment-521331100

Spec:
https://drafts.csswg.org/css-lists-3/#counter-functions

Differential Revision: https://phabricator.services.mozilla.com/D43893
2019-09-12 22:34:16 +02:00