Commit graph

38669 commits

Author SHA1 Message Date
Anthony Ramine
9cef3eee65 Uncomment more stuff related to box construction 2019-09-19 11:58:07 +02:00
Anthony Ramine
c08cfbb5f3 Cheat the system and use an Arc in BoxSlot
Ideally we want to be able to borrow from the DOM during box construction
but that's not playing very well at the moment with the current bridge
between script and layout.
2019-09-19 11:24:50 +02:00
bors-servo
7b653cad7b
Auto merge of #24236 - asajeffrey:mediaup, r=jdm
Update servo-media

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

Update the servo-media crate and its dependencies.

---
<!-- 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 updating a dependency

<!-- 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/24236)
<!-- Reviewable:end -->
2019-09-18 20:09:00 -04:00
Alan Jeffrey
0384e150ba Update servo-media 2019-09-18 17:28:34 -05:00
bors-servo
67cb378835
Auto merge of #24235 - asajeffrey:magicleap-init-egl-context-display, r=jdm
Use EGL context and display parameters when initializing magicleap servo

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

Initialize magicleap servo using the provided EGL context and display, not the current ones. (This was causing problems for gstreamer getting the wrong display id).

---
<!-- 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 embedding initialization

<!-- 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/24235)
<!-- Reviewable:end -->
2019-09-18 16:58:19 -04:00
Alan Jeffrey
d1c3ddddd3 Use EGL context and display parameters when initializing magicleap servo 2019-09-18 12:48:07 -05:00
Javed Nissar
7596c36959 Move ResourceFetchTiming into Arc
The purpose of this commit is to ensure that the Response object has
access to Timing updates as previously the Response object simply
stored a ResourceFetchTiming struct so updates on ResourceFetchTiming
that were not explicitly done on the Response would not be passed down.
The references to ServoArc are added because Response uses
servo_arc::Arc rather than std::sync::Arc as is used elsewhere. So,
we've switched those other places to servo_arc::Arc instead of switching
Response to std::sync::Arc.
2019-09-18 11:54:28 -04:00
Javed Nissar
bb8166bb97 Add PerformanceResourceTiming: TimingAllowCheck
The purpose of this commit is to implement https://w3c.github.io/resource-timing/#dfn-timing-allow-check
2019-09-18 11:54:28 -04:00
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
Josh Matthews
51353c60ff Use fork of rand_os that is UWP compatible. 2019-09-16 13:04:12 -04:00
Josh Matthews
dcbec3e404 Build native dependencies with UWP compatibility. 2019-09-16 13:03:08 -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