Commit graph

37862 commits

Author SHA1 Message Date
bors-servo
df73c71fb1
Auto merge of #23516 - pcwalton:webrenderup, r=pcwalton,jdm
Upgrade WebRender

This is against an old Servo because I can't build current Servo due to compile errors in RNG crates. I verified that it starts 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 #23516
- [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/23516)
<!-- Reviewable:end -->
2019-07-12 08:10:31 -04:00
Josh Matthews
30ea282720 Fix mlservo. 2019-07-12 08:10:17 -04:00
Josh Matthews
921d91f731 Fix simpleservo. 2019-07-12 08:10:16 -04:00
Josh Matthews
4de93a145a Update dwrote. 2019-07-12 08:10:16 -04:00
Josh Matthews
6adf2cac87 Update webrender. 2019-07-12 08:10:16 -04:00
Josh Matthews
179c825e59 Fix unit test. 2019-07-12 08:10:16 -04:00
Josh Matthews
bb01d495db Mark underline rendering expected failure on linux. 2019-07-12 08:10:16 -04:00
bors-servo
026e550d35
Auto merge of #23748 - saschanaz:default-dict, r=Manishearth
Sync WebIDL.py with gecko

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

The new change requires default dictionary value for optional dictionary-type arguments.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23703

<!-- Either: -->
- [x] 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/23748)
<!-- Reviewable:end -->
2019-07-12 04:35:46 -04:00
Kagami Sascha Rosylight
01151274f1 Require default dictionary value for optional dicts 2019-07-12 12:16:09 +09:00
Kagami Sascha Rosylight
56f31c85ef Sync WebIDL.py with gecko 2019-07-12 12:14:06 +09:00
bors-servo
5fdc7c0d2c
Auto merge of #23731 - Manishearth:webxr-script, r=asajeffrey
Use new WebXR API in script

Todo:
 - [x] Hook new `Frame` information into `XRFrame`
 - [x] Make spaces use new transform info
 - [x] Hook up session view metadata correctly
 - [x] Get mocking working again
 - [x] Get inputs working

Optional todos:
 - [x] Add support for active and animationFrame bool on XRFrame
 - [x] Correctly handle viewer and offset spaces instead of casting
 - [x] Error on zero-length quaternions

<s>Not really ready for review yet, but you can go ahead and review what I have so far. It doesn't do anything yet, aside from crash horribly. I'm opening this PR early so i have a place to track progress.</s>

<!-- 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/23731)
<!-- Reviewable:end -->
2019-07-11 18:31:21 -04:00
bors-servo
677f26dcbe
Auto merge of #23751 - servo-wpt-sync:wpt_update_11-07-2019, r=servo-wpt-sync
Sync WPT with upstream (11-07-2019)

Automated downstream sync of changes from upstream as of 11-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/23751)
<!-- Reviewable:end -->
2019-07-11 15:51:18 -04:00
Manish Goregaokar
c5a0fc56ea Use separate IPC-only locking mechanism when locking from webxr 2019-07-11 11:12:59 -07:00
Manish Goregaokar
036b495cb2 Error on invalid rotation values in XRRigidTransform constructor 2019-07-11 11:12:59 -07:00
Manish Goregaokar
0b88c565c5 Add active and animationFrame flags to XRFrame 2019-07-11 11:12:59 -07:00
Manish Goregaokar
7a8640ec1e Remove session deactivation 2019-07-11 11:12:59 -07:00
Manish Goregaokar
b654b6007a Hook input code into new webxr crate 2019-07-11 11:12:59 -07:00
Manish Goregaokar
0d5d1a3dc4 Update test API, hook it up to webxr mocking 2019-07-11 11:12:59 -07:00
Manish Goregaokar
b818af794a Add a viewer typed reference space 2019-07-11 11:12:59 -07:00
Manish Goregaokar
57c85361be Clean up vrdisplay, set active immersive session correctly 2019-07-11 11:12:59 -07:00
Manish Goregaokar
8780edb165 Hook webxr data into XRFrame/XRView/XRSpace 2019-07-11 11:12:59 -07:00
Manish Goregaokar
104a712a28 Remove old RAF code 2019-07-11 11:12:59 -07:00
Manish Goregaokar
877b6c67a1 Trigger callbacks in RAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
33421e8ee0 Apply pending render states in RAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
cf53cf6cc5 Add actual frame request in rAF 2019-07-11 11:12:59 -07:00
Manish Goregaokar
84014ffc54 Add basic rAF and cAF functions that do nothing with the callbacks 2019-07-11 11:12:59 -07:00
Manish Goregaokar
c7ed4379e8 Fill in updateRenderState() stubs 2019-07-11 11:12:59 -07:00
Manish Goregaokar
d55ed4240c Hook requestSession() into new XR crate 2019-07-11 11:12:59 -07:00
Manish Goregaokar
fb105d9ff2 Hook supportsSession() into new xr crate 2019-07-11 11:12:59 -07:00
Manish Goregaokar
b7eacebd10 Update webxr dependencies 2019-07-11 11:12:59 -07:00
WPT Sync Bot
4499a0fbb6 Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
bors-servo
d52692241e
Auto merge of #23741 - jdm:win-servoapp-debug, r=paulrouget
Support media playback in ServoApp debug builds.

<!-- 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/23741)
<!-- Reviewable:end -->
2019-07-11 08:38:24 -04:00
bors-servo
5bc34e3e4d
Auto merge of #23740 - servo:jdm-patch-36, r=ferjm
Load GST videofilter plugins.

The video playback tries to create a videobalance element and can't find it without this plugin.

<!-- 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/23740)
<!-- Reviewable:end -->
2019-07-11 06:48:36 -04:00
Manish Goregaokar
5f69a9e66a Expose webxr registry to window 2019-07-10 23:12:34 -07:00
bors-servo
305312e93b
Auto merge of #23746 - asajeffrey:webgl-lies-damn-lies-and-serialization, r=Manishearth
WebGLSender doesn't really implement Serializable

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

Add an API which turns a `WebGLSender` into something that is actually serializable.

---
<!-- 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 this is fixing a panic

<!-- 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/23746)
<!-- Reviewable:end -->
2019-07-11 01:07:13 -04:00
Alan Jeffrey
1b05ad4bb3 WebGLSender doesn't really implement Serializable 2019-07-10 19:06:51 -05:00
bors-servo
67d38b429b
Auto merge of #23738 - mmiecz:clipboard-cut, r=jdm
Add clipboard cut functionality

<!-- Please describe your changes on the following line: -->
This PR adds clipboard cut functionality. #23735

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because manually testing whether cutting works is enough.

<!-- 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/23738)
<!-- Reviewable:end -->
2019-07-10 19:22:24 -04:00
Josh Matthews
1cec249b3d Update media crates for Windows fixes. 2019-07-10 14:19:41 -04:00
bors-servo
15be654868
Auto merge of #23737 - servo-wpt-sync:wpt_update_10-07-2019, r=servo-wpt-sync
Sync WPT with upstream (10-07-2019)

Automated downstream sync of changes from upstream as of 10-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/23737)
<!-- Reviewable:end -->
2019-07-10 14:03:54 -04:00
Josh Matthews
c04078598b Fix inclusion of simpleservo.dll in ServoApp debug builds. 2019-07-10 13:49:56 -04:00
Josh Matthews
0314b2cdd5
Load GST videofilter plugins. 2019-07-10 13:36:56 -04:00
Michal Mieczkowski
4c27e680e0 Add clipboard cut functionality 2019-07-10 18:44:43 +02:00
bors-servo
5ba743b0cf
Auto merge of #23736 - servo:jdm-patch-35, r=asajeffrey
Enable uwp feature when building with --uwp.

This removes some dependencies that trigger WACK errors.

<!-- 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/23736)
<!-- Reviewable:end -->
2019-07-10 11:56:40 -04:00
WPT Sync Bot
b81cdc75ce Update web-platform-tests to revision 84af6c875d378944b39d895acdcfc170736b2d3d 2019-07-10 14:54:55 +00:00
Josh Matthews
1a9300a29d
Enable uwp feature when building with --uwp. 2019-07-10 10:36:45 -04:00
bors-servo
a1441d537c
Auto merge of #23715 - paulrouget:docup, r=jdm
Update hololens doc

<!-- 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/23715)
<!-- Reviewable:end -->
2019-07-10 09:57:20 -04:00
Josh Matthews
20450500ed Mark test with tiny AA difference from reference as fuzzy match. 2019-07-09 10:52:44 -04:00
Josh Matthews
089823ae20 Remove sometimes-unused bounds field from base display item to prevent confusion. 2019-07-09 10:52:43 -04:00
Josh Matthews
f1b10393c2 rustfmt 2019-07-09 10:52:43 -04:00
Josh Matthews
644addd159 WebRender rectangles items are sized based on their clipping rectangles. 2019-07-09 10:51:57 -04:00