Commit graph

38119 commits

Author SHA1 Message Date
Josh Matthews
32ed2c7bf3 Update tokio-timer. 2019-07-18 09:25:57 -04:00
bors-servo
dc1da02aa4
Auto merge of #23792 - hikerpig:master, r=Manishearth
Update README about local gstreamer copy path

Fix readme error about local gst path

---
- [x] These changes do not require tests because it's just doc

<!-- 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/23792)
<!-- Reviewable:end -->
2019-07-18 08:55:42 -04:00
bors-servo
d9ea7ae178
Auto merge of #23784 - asajeffrey:webxr-glwindow-share-contexts, r=Manishearth
Get the glwindow test XR device to share a GL context with WebGL

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

Get glutin windows able to open new windows which share GL textures. This is used by the webxr glwindow test device.

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

<!-- 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/23784)
<!-- Reviewable:end -->
2019-07-18 03:56:45 -04:00
bors-servo
6942694e4a
Auto merge of #23791 - servo-wpt-sync:wpt_update_17-07-2019, r=servo-wpt-sync
Sync WPT with upstream (17-07-2019)

Automated downstream sync of changes from upstream as of 17-07-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/23791)
<!-- Reviewable:end -->
2019-07-18 02:09:47 -04:00
Gregory Terzian
571beec179 clean-up navigation
security: check target and source origin before executing JS url

implement replacement-enabled flag as a HistoryEntryReplacement enum

add source origin string on loaddata

add LoadOrigin

iframe: remove optional load-data

auxiliaries: add load-data into info

constellation: remove url from Pipeline::new

check load origin: link to whatwg issue

switch loadorigin toplevel to constellation
2019-07-18 12:03:45 +08:00
bors-servo
91d12669e4
Auto merge of #23630 - Eijebong:dedupe-epoch, r=jdm
Update rayon to dedupe crossbeam-epoch

As a bonus this also removes one version of crossbeam-utils

<!-- 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/23630)
<!-- Reviewable:end -->
2019-07-17 20:01:07 -04:00
Angel
1547620469 Include source module in UWP logging output. 2019-07-17 12:12:49 -05:00
hikerpig
fb40760c19 Update README about local gstreamer copy path 2019-07-17 22:56:57 +08:00
WPT Sync Bot
effeb278b6 Update web-platform-tests to revision 9a4d479ed1347eb9184abc70d628a6da2297657a 2019-07-17 14:50:17 +00:00
Alan Jeffrey
b19e7d1cbf Get the glwindow test XR device to share a GL context with WebGL 2019-07-17 09:49:49 -05:00
bors-servo
25d8a6999b
Auto merge of #23726 - servo:rustup, r=emilio
Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15)

<del>This uses `MaybeUninit` in Stylo. `MaybeUninit` is stable in Rust 1.36.0, which Firefox [plans](https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox) to require on 2019-06-18.</del>

Update: `MaybeUninit` in Stylo removed from this PR, after https://github.com/rust-lang/rust/pull/62599.

<!-- 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/23726)
<!-- Reviewable:end -->
2019-07-17 08:56:27 -04:00
Simon Sapin
0f5bc8b20d Remove rustdoc work-around from 43a75011be 2019-07-17 10:48:54 +02:00
Simon Sapin
d3718823ba Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15) 2019-07-17 10:48:54 +02:00
Simon Sapin
b6bd2d7302 Remove uses of mem::uninitialized 2019-07-17 10:48:54 +02:00
Simon Sapin
0677704953 Update cssparser
Pick up a behavior fix https://github.com/servo/rust-cssparser/pull/251
2019-07-17 10:47:58 +02:00
bors-servo
b6cc0f60a9
Auto merge of #23786 - Manishearth:xr-wpt, r=asajeffrey
Enable XR WPT tests

This enables the tests. Most still fail, I plan to go through the
failures more soon.

xrFrame_getPose's failure seems to indicate we have broken matrix math.
I'm not sure what, the bug seems to not come from a simple matrix
inversion/ordering mishap.

This does add empty stubs for session ending since the test infra relies on these existing for almost every test (https://github.com/servo/servo/issues/23788). We will need to add support for this from the webxr repo side. We also need to add support for user activation (https://github.com/servo/servo/issues/23787).

r? @asajeffrey

<!-- 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/23786)
<!-- Reviewable:end -->
2019-07-17 01:18:51 -04:00
Manish Goregaokar
5b960a7fdc Enable webxr wpt 2019-07-16 22:17:22 -07:00
Manish Goregaokar
4e7a59e872 Unset active bool on XRFrame 2019-07-16 22:17:22 -07:00
Manish Goregaokar
37d758dae1 Use correct w value in xrFrame_getPose
Values other than 1 are supposed to throw
2019-07-16 22:17:22 -07:00
Manish Goregaokar
7ccc7b3b49 add XREye.none 2019-07-16 22:17:22 -07:00
Manish Goregaokar
ffc943fec7 Add stubs for session start/end 2019-07-16 22:17:22 -07:00
Manish Goregaokar
df1f865cb2 Update xr.requestSession() arguments 2019-07-16 22:17:05 -07:00
Manish Goregaokar
73f1bdac06 Add simulateUserActivation 2019-07-16 22:17:05 -07:00
bors-servo
cef98d2e51
Auto merge of #23785 - asajeffrey:script-webxr-dirty-canvas, r=Manishearth
Dirty the canvas when WebXR draws to its GL context

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

When webxr draws to a WebGL rendering context backed by a canvas that's attached to the DOM, we should repaint the DOM. (At least that's my reading of the spec!)

---
<!-- 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 I'm not sure how we'd test this

<!-- 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/23785)
<!-- Reviewable:end -->
2019-07-16 19:10:47 -04:00
Alan Jeffrey
10f3c2230b Dirty the canvas when WebXR draws to its GL context 2019-07-16 17:52:49 -05:00
bors-servo
bd730e7c16
Auto merge of #23781 - servo-wpt-sync:wpt_update_16-07-2019, r=servo-wpt-sync
Sync WPT with upstream (16-07-2019)

Automated downstream sync of changes from upstream as of 16-07-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/23781)
<!-- Reviewable:end -->
2019-07-16 13:00:45 -04:00
WPT Sync Bot
40ef4e9705 Update web-platform-tests to revision 63459a30a61cda53c8c8ab4dc645b142cd2f85ea 2019-07-16 14:33:08 +00:00
Simon Sapin
17ec774a49 Stylo: replace uses of mem::uninitialized with MaybeUninit
MozReview-Commit-ID: KGhYL6DJRaR
2019-07-16 08:03:54 +02:00
Simon Sapin
00b3fb49c4 Add UniqueArc::new_uninit, UniqueArc::assume_init
MozReview-Commit-ID: DoNcSsKpRn
2019-07-16 08:03:54 +02:00
bors-servo
005320c08c
Auto merge of #23203 - iulianR:22828, r=jdm
Implement PerformanceNavigation interface

<!-- Please describe your changes on the following line: -->
This is my first attempt. Please let me know if I should change anything.

---
<!-- 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 #22828 (GitHub issue number if applicable)

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

<!-- 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/23203)
<!-- Reviewable:end -->
2019-07-15 13:55:33 -04:00
bors-servo
b867e25dfb
Auto merge of #23776 - servo-wpt-sync:wpt_update_15-07-2019, r=servo-wpt-sync
Sync WPT with upstream (15-07-2019)

Automated downstream sync of changes from upstream as of 15-07-2019.
[no-wpt-sync]
2019-07-15 09:49:53 -04:00
WPT Sync Bot
1ac5a35ed6 Update web-platform-tests to revision 3b6ba59adc411f6dd433171f3f5ab71b83c01c12 2019-07-15 13:49:38 +00:00
bors-servo
c57e9bb938
Auto merge of #23770 - matharumanpreet00:update_cursor_on_scroll, r=paulrouget
track and update cursor while scrolling

<!-- Please describe your changes on the following line: -->
This PR follows PR #23313 to fix the issue #12604 by adding a field `cursor_pos: DevicePoint` to `IOCompositor` and adding a `update_cursor()` method. This is based on the improvements suggested by @paulrouget in this [feedback](https://github.com/servo/servo/pull/23313#issuecomment-489017975) comment.

This is my first time contributing to open source, i would love any feedback.

---
<!-- 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 #12604 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they aren't testable, as discussed in the comments on #12604

<!-- 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/23770)
<!-- Reviewable:end -->
2019-07-15 02:42:49 -04:00
bors-servo
95b304b786
Auto merge of #23500 - sreeise:exposed_binding_gen, r=jdm
Make bindings aware of exposed members/partial interfaces

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

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

<!-- 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/23500)
<!-- Reviewable:end -->
2019-07-14 12:53:14 -04:00
bors-servo
3ba2243af4
Auto merge of #23771 - servo-wpt-sync:wpt_update_14-07-2019, r=servo-wpt-sync
Sync WPT with upstream (14-07-2019)

Automated downstream sync of changes from upstream as of 14-07-2019.
[no-wpt-sync]
2019-07-14 10:53:09 -04:00
WPT Sync Bot
bc8af9cf87 Update web-platform-tests to revision 719721f655102bcd24d45eba91339eb2d7dbc591 2019-07-14 14:52:54 +00:00
sreeise
871239a3e3 Change bindings generation to make Exposed annotation aware of members/partial interfaces 2019-07-14 09:24:43 -04:00
bors-servo
2b84348372
Auto merge of #23768 - jdm:unbreak-angle, r=asajeffrey
Unbreak angle

This updates our ANGLE integration to a working version that allows nightly builds to run with `--angle` once more.

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

<!-- 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/23768)
<!-- Reviewable:end -->
2019-07-13 12:37:49 -04:00
Josh Matthews
02797a346e Add ANGLE smoketest to Windows CI. 2019-07-13 11:54:23 -04:00
Josh Matthews
e53fc93e7f Update ANGLE to a version with working GLES loading. 2019-07-13 11:54:23 -04:00
Manpreet Singh Matharu
83ebb85dbd use update_cursor() in dispatch_mouse_window_move_event_class() method 2019-07-13 11:33:14 -04:00
bors-servo
8328763ff2
Auto merge of #23764 - jdm:hl-startup, r=paulrouget
Adjust gstreamer plugins for UWP.

This excludes a set of plugins and dependencies that are currently built with MinGW and will therefore cause WACK errors. The resulting set of plugins loaded by the UWP app are still not UWP-clean, but this makes it much easier to switch over to UWP-clean binaries in the future.

These changes also allow the HoloLens 2 app to start and load again after #23712.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23757
- [x] These changes do not require tests because no tests for windows or UWP.

<!-- 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/23764)
<!-- Reviewable:end -->
2019-07-13 11:31:26 -04:00
bors-servo
938a920b86
Auto merge of #23767 - servo-wpt-sync:wpt_update_12-07-2019, r=servo-wpt-sync
Sync WPT with upstream (12-07-2019)

Automated downstream sync of changes from upstream as of 12-07-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/23767)
<!-- Reviewable:end -->
2019-07-13 00:05:30 -04:00
bors-servo
30ca50ae98
Auto merge of #23765 - UK992:appveyor, r=jdm
Appveyor: Fix missing gstreamer dlls

This changes will execute complete installation of gstreamer. And should fix https://github.com/servo/servo/issues/23749

<!-- 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/23765)
<!-- Reviewable:end -->
2019-07-12 22:11:09 -04:00
bors-servo
650f90b271
Auto merge of #23763 - servo:jdm-patch-40, r=Manishearth
Don't enable azure canvas feature by default.

This caused problems when I was trying to do a UWP build.

<!-- 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/23763)
<!-- Reviewable:end -->
2019-07-12 19:42:02 -04:00
bors-servo
7a0c126c1b
Auto merge of #23762 - servo:jdm-patch-39, r=SimonSapin
Support no_wgl feature in desktop builds.

This makes it possible to test WebGL in ANGLE on desktop.

<!-- 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/23762)
<!-- Reviewable:end -->
2019-07-12 16:55:31 -04:00
Manpreet Singh Matharu
a44f795845 track and update cursor while scrolling 2019-07-12 15:52:26 -04:00
bors-servo
2f1e822de8
Auto merge of #23744 - jdm:gles-fixes, r=asajeffrey
Make GL/GLES decisions based on the API in use

These changes remove a number of assumptions about whether GL/GLES is in use, improving the support for running WebGL in Servo under ANGLE.

---
- [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 no tests on Windows.

<!-- 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/23744)
<!-- Reviewable:end -->
2019-07-12 15:03:00 -04:00
Bastien Orivel
28fa0f8009 Update rayon to dedupe crossbeam-epoch
As a bonus this also removes one version of crossbeam-utils
2019-07-12 21:01:33 +02:00
Josh Matthews
dbaed5ed92 Make GL/GLES decisions based on the API in use. 2019-07-12 13:36:44 -04:00