Commit graph

36918 commits

Author SHA1 Message Date
Josh Matthews
a690d6ffa7 Add smoketest command. 2019-05-09 15:24:18 -04:00
Josh Matthews
79938affb3 Upgrade mozangle to 0.2 for libEGL.dll. 2019-05-09 15:24:18 -04:00
Josh Matthews
3bfbfa79d9 Add ANGLE support to default embedding. 2019-05-09 15:24:18 -04: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
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
d0e9acf1eb Redirect stdout to ML logging. 2019-05-01 18:57:44 -04:00
Josh Matthews
daabda7fe1 Support launching Servo2d with a URI. 2019-05-01 18:57:40 -04:00
bors-servo
834d3193a2
Auto merge of #21780 - jdm:ndk15upgrade, r=asajeffrey
Upgrade NDK to v15c.

This upgrades us to a more recent NDK to address that outstanding technical debt.

<!-- 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/21780)
<!-- Reviewable:end -->
2019-05-01 15:15:32 -04:00
Josh Matthews
7a95cbcf91 Upgrade NDK to v15c. 2019-05-01 15:08:37 -04:00
bors-servo
aa63d60717
Auto merge of #23281 - josephhutch:StereoPannerNode, r=Manishearth
StereoPannerNode DOM

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

This is the DOM implementation for StereoPannerNode. Backend implemented in https://github.com/servo/media/pull/243.

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- 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/23281)
<!-- Reviewable:end -->
2019-04-30 21:14:24 -04:00
Maria Sable
58f027468c StereoPannerNode DOM 2019-04-30 16:54:52 -07:00
bors-servo
0a5aab6cc2
Auto merge of #23293 - servo-wpt-sync:wpt_update_30-04-2019, r=servo-wpt-sync
Sync WPT with upstream (30-04-2019)

Automated downstream sync of changes from upstream as of 30-04-2019.
[no-wpt-sync]
2019-04-30 01:17:30 -04:00
WPT Sync Bot
7776ed79d7 Update web-platform-tests to revision d73b07b850fa51f23e846518bb6e8c59c58eef19 2019-04-30 01:17:08 -04:00
Manish Goregaokar
549d320167 Update servo-media 2019-04-29 19:44:08 -07:00
bors-servo
62031e3cb0
Auto merge of #23289 - CYBAI:regex-1.1, r=jdm
Update regex to 1.1

I just found the `aho-corasick` dependency is still `0.6.9` and then I found `regex` depends on it.

I remember there's a rewrite of `aho-corasick` at BurntSushi/aho-corasick@e8493baf54 to improve itself.

---

- [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 just updates `regex` crate

<!-- 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/23289)
<!-- Reviewable:end -->
2019-04-29 15:37:25 -04:00
bors-servo
852223b08a
Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdm
Refactor promise compartment

<!-- Please describe your changes on the following line: -->
This PR adds a mechanism to verify that certain code is executed inside a ```JSAutoCompartment```, and applies this to the ```Promise::new_in_current_compartment``` constructor.

r? @jdm

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

<!-- Either: -->
- [x] These changes do not require tests because they do not change existing functionality.

<!-- 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/23253)
<!-- Reviewable:end -->
2019-04-29 13:59:04 -04:00
bors-servo
67beaa46e2
Auto merge of #23236 - swarnimarun:loop_patch, r=ferjm
Implement HTMLMediaElement.loop Attribute

<!-- Please describe your changes on the following line: -->
Work done for Implementing HTMLMediaElement.loop Attribute,
- Uncomment `loop` attribute from webidl
- Add make_bool macros for Loop and SetLoop functions
- Update the required tests

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

<!-- Either: -->
- [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/23236)
<!-- Reviewable:end -->
2019-04-29 12:20:43 -04:00
bors-servo
a9f7b13230
Auto merge of #23233 - paulrouget:glutin-port-refactoring, r=jdm
Glutin port refactoring

Glutin port refactoring in preparation for the compositor and libservo refactoring.

In theory, the only behavior change is for headless mode. The headless event loop now uses winit's event loop (but still headless).

Notes:
- headless and glutin window implementations are now separated
- I split the methods of the embedder in 2: window specific and general methods. In the future, we still want the app to run even without a window or with multiple 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/23233)
<!-- Reviewable:end -->
2019-04-29 10:45:29 -04:00
CYBAI
5b9f151f03 Update regex to 1.1 2019-04-29 22:25:12 +09:00
bors-servo
799490a02e
Auto merge of #22743 - ferjm:shadowdom, r=emilio
Partial ShadowDOM support

This is just an early WIP, not to take it very seriously yet.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes fix #22719
- [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/22743)
<!-- Reviewable:end -->
2019-04-29 08:38:50 -04:00
Fernando Jiménez Moreno
37e88e77cd Set self as containing_shadow_root for shadow roots 2019-04-29 12:15:16 +02:00
Fernando Jiménez Moreno
68bee1c771 Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
Clarify special case for containing_shadow_root and add it to layout
accessor
2019-04-29 12:02:04 +02:00
Aron Zwaan
3229af509f Create new compartment in Promise constructor 2019-04-29 11:36:43 +02:00
Paul Rouget
21ed7653f4 Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
bors-servo
d58ea974ba
Auto merge of #23285 - servo-wpt-sync:wpt_update_29-04-2019, r=servo-wpt-sync
Sync WPT with upstream (29-04-2019)

Automated downstream sync of changes from upstream as of 29-04-2019.
[no-wpt-sync]
2019-04-29 00:58:07 -04:00
WPT Sync Bot
c084436da7 Update web-platform-tests to revision 3b0853b41cdb88c713f2ac3636f5b69c14b31d49 2019-04-29 00:57:48 -04:00
bors-servo
c58f91ec1f
Auto merge of #23284 - servo-wpt-sync:wpt_update_28-04-2019, r=servo-wpt-sync
Sync WPT with upstream (28-04-2019)

Automated downstream sync of changes from upstream as of 28-04-2019.
[no-wpt-sync]
2019-04-28 01:39:42 -04:00
WPT Sync Bot
fc1d662be8 Update web-platform-tests to revision 301ce26e6c4fdc9c7b04dc86e009835662519c37 2019-04-28 01:39:16 -04:00
bors-servo
ffd9441a3d
Auto merge of #23279 - snarasi6:master, r=jdm
Implement deprecated setPosition and setOrientation methods for AudioListener #22898

<!-- Please describe your changes on the following line: -->
I have uncommented the two methods SetPosition and SetOrientation in AudioListener.webidl and have included the two methods in the AudioListener.rs file. I have some errors while handling the NotSupported error for the methods. Can you please review the code and help me out with the errors?

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- 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/23279)
<!-- Reviewable:end -->
2019-04-27 20:47:11 -04:00
snarasi6
feeb89149d Implemented SetOrientation and SetPosition functions but still have errors in throwing NotSupported error message 2019-04-27 18:38:15 -04:00