Commit graph

37200 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
09d497db3d style: Refactor the selector parser to make implementing ::part() easier.
::slotted() is already weird in the sense that it supports a pseudo-element
afterwards (so ::slotted(*)::before is valid for example).

::part() is weirder because you are supposed to allow stuff like
::part(foo):hover, ::part(foo):hover::before, etc.

In order to avoid making the already-complex parse_compound_selector more
complex, shuffle stuff so that we pass the progress of our current compound
selector around, and is the parsing code for each selector which decides whether
it's ok to parse at the given point.

Differential Revision: https://phabricator.services.mozilla.com/D27158
2019-05-07 12:55:23 +02:00
Emilio Cobos Álvarez
498a163cdf style: The counters code should use atoms rather than strings.
Servo already atomizes the counter names, it makes no sense to copy the string
rather than bumping the refcount.

Differential Revision: https://phabricator.services.mozilla.com/D27061
2019-05-07 12:55:22 +02:00
Jonathan Kew
a9e473c6e8 style: Allow full-width and/or full-size-kana values of text-transform to be combined with a case transformation.
Differential Revision: https://phabricator.services.mozilla.com/D27402
2019-05-07 12:55:21 +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
Alan Jeffrey
8100832f62 Get ./mach build --magicleap --debugmozjs to build 2019-05-06 16:24:42 -05:00
Alan Jeffrey
5d7f238794 Fix debugmozjs build #23074 2019-05-06 16:24:42 -05:00
Marcin Wiącek
fcbba1df6d Improvement inside bootstrap.py after review 2019-05-06 20:21:12 +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
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
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
Marcin Wiącek
d077fb7244 Fix typo for last change in bootstrap.py 2019-05-05 21:16:32 +02:00
Marcin Wiącek
cc919b8039 Changes for Ubuntu 19.04 2019-05-05 20:46:50 +02:00
Tomek LECOCQ
445faa1061 Modify tests for connectStart 2019-05-05 13:38:02 +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
Tomek LECOCQ
a11684460d Add connectStart in PerformanceResourceTiming 2019-05-03 21:47:00 +02: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