Commit graph

36942 commits

Author SHA1 Message Date
bors-servo
670a32c9e9
Auto merge of #23292 - Manishearth:input, r=asajeffrey
Add support for XRInputSource and target ray spaces

Untested, but compiles.

r? @jdm or @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/23292)
<!-- Reviewable:end -->
2019-05-07 19:23:55 -04:00
bors-servo
28028a618e
Auto merge of #23338 - jdm:mac-daily, r=SimonSapin
Fix mac nightly 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/23338)
<!-- Reviewable:end -->
2019-05-07 17:52:21 -04:00
bors-servo
cd06c3450e
Auto merge of #23229 - georgeroman:implement_htmlmediaelement_canplaytype, r=ferjm
Finish the implementation of the HTMLMediaElement canPlayType method

<!-- 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
- [X] These changes fix #22299

<!-- 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/23229)
<!-- Reviewable:end -->
2019-05-07 13:57:46 -04:00
Josh Matthews
594a0eaf15 Use correct variable when fetching taskcluster secret. 2019-05-07 11:11:10 -04:00
Josh Matthews
a5b5bab322 Install jq when performing WPT sync job. 2019-05-07 11:09:23 -04:00
Josh Matthews
0e1c641ebb Remove unnecessary secret. 2019-05-07 10:59:32 -04:00
bors-servo
90dfeab0f0
Auto merge of #23327 - servo:daily, r=jdm
Fix Servo Nightly uploads

CC https://github.com/servo/servo/issues/23320.
Closes https://github.com/servo/servo/pull/23326.

Tasks running with this configuration, all green except the last which is still running as of this writing:

* Windows: https://tools.taskcluster.net/groups/dZvq6KJpQVSTzrnKwA5JQg/tasks/RaEwj-wWRSm1qmNytjAG8A/details
* Linux: https://tools.taskcluster.net/groups/JU6A3xS2TTq4dTL3LY39QQ/tasks/YDbSZr9wTHq6U3obG3ZstQ/details
* Android: https://tools.taskcluster.net/groups/FkLah26vSIyKDUwfADUkGw/tasks/JNokEsu2SCmAGL3ZK2Uj7g/details
* macOS: https://tools.taskcluster.net/groups/CtheiEigRYinJjqYlDMuZQ/tasks/XPqUzikPQnybmc6wP8AL-w/details
* WPT update: https://tools.taskcluster.net/groups/JU6A3xS2TTq4dTL3LY39QQ/tasks/MNutIoMWT9KvB19TS2FsXA/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/23327)
<!-- Reviewable:end -->
2019-05-07 09:39:54 -04:00
Manish Goregaokar
f17f066495 Fix orientation getter in XRRigidTransform 2019-05-07 13:21:42 +02:00
bors-servo
7e8e3fe4de
Auto merge of #23333 - Manishearth:mach-module, r=jdm
Explicitly provide module names to mach so it doesn't try to autogenerate them

This works around https://bugzilla.mozilla.org/show_bug.cgi?id=1549636

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/23333)
<!-- Reviewable:end -->
2019-05-06 21:25:59 -04:00
Manish Goregaokar
36da6dfe98 Explicitly provide module names to mach so it doesn't try to autogenerate them
This works around https://bugzilla.mozilla.org/show_bug.cgi?id=1549636
2019-05-06 18:00:07 -07:00
Simon Sapin
fbc9275f63 Merge tasks for Android Nightly builds
`./mach upload-nightly maven` wants to upload both x86 and ARMv7
2019-05-06 18:46:09 +02:00
bors-servo
64c848950c
Auto merge of #23299 - jdm:minimize-mozjs-deps, r=Manishearth
Remove mozjs dep from malloc_size_of.

This makes making local changes to mozjs_sys much more frustrating than it should be, and blocks merging #22130.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any 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/23299)
<!-- Reviewable:end -->
2019-05-06 12:46:09 -04:00
Simon Sapin
f49376e766 Install taskcluster-proxy in the Windows AMI 2019-05-06 18:12:23 +02:00
Simon Sapin
dbbfa74e79 Split WPT update into its own task with a 4 hours timeout 2019-05-06 18:12:22 +02:00
Simon Sapin
599c015b23 Fallback to docker-worker’s URL when $TASKCLUSTER_PROXY_URL is missing 2019-05-06 16:00:47 +02:00
Manish Goregaokar
0756923e52 Make viewerSpace [SameObject] 2019-05-03 18:46:31 -07:00
Manish Goregaokar
d4a6a4987d Add XRInputSource.targetRaySpace 2019-05-03 18:46:31 -07:00
Manish Goregaokar
e5716624d4 Add XRInputSource.handedness 2019-05-03 14:37:41 -07:00
Manish Goregaokar
b693af6a54 Sync input source data every frame if necessary 2019-05-03 14:37:41 -07:00
Manish Goregaokar
5c8132c379 Use initialized input sources in getInputSources() 2019-05-03 14:37:41 -07:00
Manish Goregaokar
3a08e917e0 Write method for initializing input sources 2019-05-03 14:37:41 -07:00
Manish Goregaokar
f98143d60b Add GetGamepadsForDisplay message for initializing inputs 2019-05-03 14:37:41 -07:00
Manish Goregaokar
0f952c7ff8 Add blank XRInputSource 2019-05-03 14:37:41 -07:00
Manish Goregaokar
c1a8605c3d Allow webvr thread consumers to request input data 2019-05-03 14:37:41 -07:00
Manish Goregaokar
623507187b Update webvr 2019-05-03 14:37:41 -07:00
bors-servo
af077f8cf7
Auto merge of #23319 - servo:gwup, r=jdm
Bug 1548573 - Upgrade macOS workers to generic-worker 14.1.0

Also follow-up on #23304 to (hopefully) fix use of `taskcluster-proxy` in daily tasks.

<!-- 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/23319)
<!-- Reviewable:end -->
2019-05-03 14:42:42 -04:00
Pete Moore
bc286c9ee3
Fix missing concatenation operator
Co-Authored-By: SimonSapin <simon.sapin@exyr.org>
2019-05-03 20:32:09 +02:00
bors-servo
1409c767e4
Auto merge of #23315 - servo-wpt-sync:wpt_update_03-05-2019, r=jdm
Sync WPT with upstream (03-05-2019)

Automated downstream sync of changes from upstream as of 03-05-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/23315)
<!-- Reviewable:end -->
2019-05-03 12:41:21 -04:00
Simon Sapin
75b67a63e6 Use the Taskcluster proxy URL provided by the worker 2019-05-03 18:37:13 +02:00
Simon Sapin
e89fddf3f0 Install taskcluster-proxy on macOS workers
Follow-up on https://github.com/servo/servo/pull/23304
2019-05-03 18:34:43 +02:00
Simon Sapin
ec944d001d Bug 1548573 - Upgrade macOS workers to generic-worker 14.1.0 2019-05-03 18:34:43 +02:00
Josh Matthews
6a5afbfd7e
Fix linux test result. 2019-05-03 09:37:21 -04:00
bors-servo
dd5ab9eaeb
Auto merge of #23316 - servo:scope, r=SimonSapin
Give the correct scopes to daily tasks

Follow up to https://github.com/servo/servo/pull/23304
Example of failing tasks: https://tools.taskcluster.net/groups/GsqivaANRMyJJ3qA1ycvhg

<!-- 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/23316)
<!-- Reviewable:end -->
2019-05-03 09:09:19 -04:00
Simon Sapin
e4d05c1c24 Give the correct scopes to daily tasks
Follow up to https://github.com/servo/servo/pull/23304
Example of failing tasks: https://tools.taskcluster.net/groups/GsqivaANRMyJJ3qA1ycvhg
2019-05-03 14:13:45 +02:00
bors-servo
60c7266e18
Auto merge of #23300 - jdm:helpful-ml, r=asajeffrey
Magic Leap developer ergonomic improvements

These changes allow passing in command line arguments for Servo via a SERVO_ARGS from the mldb terminal when launching the activity, as well as passing in a launch URL as an argument. It also redirects stdout to the ML log, which allows observing the built-in profiler output.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23041
- [x] These changes do not require tests because no magic leap testing.

<!-- 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/23300)
<!-- Reviewable:end -->
2019-05-03 02:58:51 -04:00
WPT Sync Bot
5fcf52d946 Update web-platform-tests to revision e45156b5e558c062a609356905c83a0258c516e3 2019-05-03 00:33:04 -04:00
bors-servo
8402b98160
Auto merge of #23312 - servo:gwup, r=jdm
Bug 1546777 - Upgrade generic-worker to 14.1.0 in Windows AMI

I’ve also tweaked the configuration at https://tools.taskcluster.net/aws-provisioner/servo-win2016-staging/edit according to the release notes https://github.com/taskcluster/generic-worker/releases/tag/v14.1.0

https://tools.taskcluster.net/groups/L2T4S2-2RL6aV3L1WzqhKA shows a push to the `try-taskcluster` branch configured to run the `windows_unit` job.

<!-- 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/23312)
<!-- Reviewable:end -->
2019-05-02 22:01:44 -04:00
Josh Matthews
a207574b4c Support passing in arguments from embedding. Read arguments for Magic Leap from SERVO_ARGS env var. 2019-05-02 19:20:02 -04:00
bors-servo
38e60136b8
Auto merge of #23304 - jdm:nightly-taskcluster, r=SimonSapin
Transfer mac/windows/android nightly builds to Taskcluster

Fixes #23303.

<!-- 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/23304)
<!-- Reviewable:end -->
2019-05-02 19:11:32 -04:00
bors-servo
9f6005be16
Auto merge of #23294 - ceyusa:playerglcontext, r=ferjm,jdm
Update Player instantiator API

Now servo/media player requires a new parameter for its creator, which is a trait object that provides the GL parameters needed for setup the generation of frames as GL textures.

This patch provides a dummy GL context trait object where the code path will go to the default of raw frames.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because there are no functional changes, only comply with the new API.

<!-- 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/23294)
<!-- Reviewable:end -->
2019-05-02 17:07:45 -04:00
Simon Sapin
9becc88a9c Bug 1546777 - Upgrade generic-worker to 14.1.0 in Windows AMI
I’ve also tweaked the configuration at
https://tools.taskcluster.net/aws-provisioner/servo-win2016-staging/edit
according to the release notes
https://github.com/taskcluster/generic-worker/releases/tag/v14.1.0

https://tools.taskcluster.net/groups/L2T4S2-2RL6aV3L1WzqhKA
shows a push to the `try-taskcluster` branch
configured to run the `windows_unit` job.
2019-05-02 21:32:29 +02:00
Víctor Manuel Jáquez Leal
f9bee36b71 Update Player instantiator API
Now servo/media player requires a new parameter for its creator, which
is a trait object that provides the GL parameters needed for setup the
generation of frames as GL textures.

This patch provides a dummy GL context trait object where the code
path will go to the default of raw frames.

Webaudio test expectation also were changed, adding two new failing
tests.
2019-05-02 17:27:12 +02:00
Josh Matthews
e2d994b354 Support features in generic-worker tasks. 2019-05-02 10:49:24 -04:00
Josh Matthews
7e139db97d Use taskcluster secret directly in WPT sync script. 2019-05-02 10:49:24 -04:00
Josh Matthews
dbdbbeb132 Move taskcluster secrets into appropriate mach commands. 2019-05-02 10:49:24 -04:00
George Roman
5eb691c4d2 Finish the implementation of the HTMLMediaElement canPlayType method 2019-05-02 17:27:18 +03:00
Josh Matthews
e0e8f64f54 Move windows and mac nightly builds to taskcluster. 2019-05-02 10:22:05 -04:00
Josh Matthews
6ded5c9707 Move android nightly build to taskcluster. 2019-05-02 10:21:49 -04:00
Josh Matthews
57d2b5a92d Remove mozjs dep from malloc_size_of. 2019-05-02 09:30:03 -04:00
Josh Matthews
d0e9acf1eb Redirect stdout to ML logging. 2019-05-01 18:57:44 -04:00