Commit graph

35201 commits

Author SHA1 Message Date
Simon Sapin
fe0e1ae7d3 generic-worker on macOS: read-only config 2018-11-15 17:38:13 +01:00
Simon Sapin
ff1e2c2394 generic-worker on macOS: configure livelog 2018-11-15 17:38:13 +01:00
Simon Sapin
a5089885ac generic-worker on macOS: restart service on config change 2018-11-15 17:38:13 +01:00
Simon Sapin
70f507879f generic-worker on macOS: run as unprivileged user, start as a service 2018-11-15 17:38:13 +01:00
Simon Sapin
889d479935 Initial generic-worker config file 2018-11-15 17:38:13 +01:00
Simon Sapin
11b9391e90 Initial agentless SaltStack config for generic-worker on macOS 2018-11-15 17:38:13 +01:00
bors-servo
359ec7a76f
Auto merge of #22201 - servo:jdm-patch-24, r=simonsapin
Remove android emulator tests from buildbot CI.

This works around #22187 on CI, since I have not been able to figure out what changed yet. I can reproduce the problem locally, so I can keep poking at it without holding up all the other work going on.

<!-- 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/22201)
<!-- Reviewable:end -->
2018-11-15 09:58:01 -05:00
Josh Matthews
cf998d5c58
Mock android x86 task instead of commenting it. 2018-11-15 09:57:39 -05:00
Josh Matthews
cdb5b60202
Remove android emulator tests from taskcluster. 2018-11-15 09:26:07 -05:00
Josh Matthews
0780f8c37e
Remove android emulator tests from buildbot CI. 2018-11-15 09:24:22 -05:00
bors-servo
b1a2b6b5bf
Auto merge of #22173 - pyfisch:webdriver-keys, r=paulrouget
Use keyboard-types::webdriver::send_keys

This improves the quality of KeyboardEvents sent by WebDriver. Now key, code, location and modifiers are set according to spec. CompositionEvents are discarded as servo does not handle them at all.

CompositionEvent support can be added later.

Is there a good way to automatically test this?

<!-- 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/22173)
<!-- Reviewable:end -->
2018-11-12 07:51:56 -05:00
bors-servo
baa2a96c2c
Auto merge of #22166 - topecongiro:arch-linux-dependencies, r=ferjm
Add gstreamer and gstreamer-vaapi to Arch Linux dependencies

Running `./mach build --dev` on Arch Linux fails with error messages about missing gstreamer.

<!-- 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/22166)
<!-- Reviewable:end -->
2018-11-12 00:36:33 -05:00
Pyfisch
2143657e03 Use keyboard-types::webdriver::send_keys
This improves the quality of KeyboardEvents
sent by WebDriver. Now key, code, location and
modifiers are set according to spec.
CompositionEvents are discarded as servo
does not handle them at all.
2018-11-11 21:57:45 +01:00
bors-servo
e94d1c44ab
Auto merge of #22172 - CYBAI:update-spec-link, r=emilio
Fix wrong spec link in align specified value

---
- [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 fixes wrong spec link.

<!-- 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/22172)
<!-- Reviewable:end -->
2018-11-11 09:40:00 -05:00
CYBAI
db008b9393 Fix wrong spec link 2018-11-11 14:26:06 +08:00
bors-servo
19b4f35de1
Auto merge of #22167 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for 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/22167)
<!-- Reviewable:end -->
2018-11-10 15:43:20 -05:00
Emilio Cobos Álvarez
bd9c53c5da
style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
Emilio Cobos Álvarez
212b3e1311
style: Revert try -> r#try change.
Since we're in an inconsistent state because mako files weren't updated, and
it's really really ugly.
2018-11-10 21:42:17 +01:00
Emilio Cobos Álvarez
155caba595
style: Cargo fix + ./mach fmt. 2018-11-10 21:11:47 +01:00
Emilio Cobos Álvarez
48ce20b6fe
layout: Fix servo build.
TextAlign now implements FromPrimitive instead of an ad-hoc method.
2018-11-10 21:11:47 +01:00
Boris Chiou
c6ead1dc0e
style: Percentage values of translate are serialized as percent for computed values.
Basically, we rewrite the type of generics::transform::Translate and its
ToCss to match the spec. Besides, we always serialize Translate by servo,
so we could drop a lot of duplicated code.

Differential Revision: https://phabricator.services.mozilla.com/D11206
2018-11-10 21:11:36 +01:00
Emilio Cobos Álvarez
d9453bc0ea
style: Remove dynamic HTML5 atoms.
Co-authored-by: Nicholas Nethercote <nnethercote@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D11035
2018-11-10 21:11:19 +01:00
Mats Palmgren
35c061179a
style: Add -webkit-appearance:progress-bar and make that the default for <progress> for compatibility with other UAs.
Keep our old 'progressbar' as an alias for now, but unship
'progresschunk' by restricting it to UA/chrome sheets only.
Unship 'progresschunk-vertical' by removing it since it's
not used internally for anything.

Bug: 1501506
Reviewed-by: jwatt
2018-11-10 21:11:01 +01:00
Mats Palmgren
c194f42596
style: Add -webkit-appearance:meter and make that the default for <meter> for compatibility with other UAs.
Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk'
by restricting it to UA/chrome sheets only.

Bug: 1501483
Reviewed-by: jwatt
2018-11-10 21:10:42 +01:00
Emilio Cobos Álvarez
667457a16c
style: Split up push_applicable_declarations.
Introduce RuleCollector, which contains all the state we need during the
cascade, and allows to reuse a bit of code.

Differential Revision: https://phabricator.services.mozilla.com/D11233
2018-11-10 21:10:34 +01:00
Emilio Cobos Álvarez
b7cefa5814
style: Cleanup text-align.
Use derive(FromPrimitive) instead.

Differential Revision: https://phabricator.services.mozilla.com/D11332
2018-11-10 21:10:25 +01:00
Emilio Cobos Álvarez
fa764fc8e9
style: Implement overflow-wrap: anywhere.
Per https://github.com/w3c/csswg-drafts/issues/2682

Differential Revision: https://phabricator.services.mozilla.com/D11328
2018-11-10 21:10:19 +01:00
Ting-Yu Lin
087ac72f73
style: Enable CSS column-span in UA stylesheet, and update test expectations.
We use "column-span: all" in ua.css in Part 3. To be able to flip the pref
in individual wpt tests, we need column-span to be always enabled
in UA stylesheets.

Differential Revision: https://phabricator.services.mozilla.com/D5212
2018-11-10 21:10:11 +01:00
Emilio Cobos Álvarez
9845a857ce
style: Allow ::slotted()::placeholder.
Differential Revision: https://phabricator.services.mozilla.com/D11132
2018-11-10 21:10:03 +01:00
bors-servo
696816622c
Auto merge of #22164 - pyfisch:into-stops, r=emilio
Use GradientBuilder::into_stops

Avoid cloning gradient stops.

<!-- 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/22164)
<!-- Reviewable:end -->
2018-11-10 14:03:54 -05:00
bors-servo
3b1078b58d
Auto merge of #22083 - servo:2018, r=emilio
Prepare stylo crates for switching to the 2018 edition

This can land when [Gecko requires Rust 1.30](https://bugzilla.mozilla.org/show_bug.cgi?id=1504031). This does not switch the crates yet because the new edition is not yet stable in 1.30.

<!-- 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/22083)
<!-- Reviewable:end -->
2018-11-10 11:48:09 -05:00
Simon Sapin
b0d13cc254 Always build Docker images on AWS 2018-11-10 17:47:28 +01:00
Simon Sapin
b1822a39fa cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
Simon Sapin
a15d33a10e cargo fix --edition 2018-11-10 17:47:28 +01:00
Simon Sapin
e1fcffb336 Use 2018-style paths in code generated by Mako 2018-11-10 17:47:28 +01:00
Simon Sapin
ede79a6a5d Use 2018-style paths in code generated by style_derive 2018-11-10 17:47:28 +01:00
Simon Sapin
7eb8544759 Revert "Initial agentless SaltStack config for generic-worker on macOS"
This reverts commit f4c11ad7b9.
2018-11-10 17:44:02 +01:00
Simon Sapin
4cfbd57b93 Revert "Initial generic-worker config file"
This reverts commit c28fa07a98.
2018-11-10 17:44:00 +01:00
Simon Sapin
fa1981ecbb Revert "Always build Docker images on AWS"
This reverts commit 6b47ffc03a.
2018-11-10 17:43:58 +01:00
Simon Sapin
6b47ffc03a Always build Docker images on AWS 2018-11-10 17:39:18 +01:00
Simon Sapin
c28fa07a98 Initial generic-worker config file 2018-11-10 17:33:43 +01:00
Simon Sapin
f4c11ad7b9 Initial agentless SaltStack config for generic-worker on macOS 2018-11-10 17:33:43 +01:00
Seiichi Uchida
bf823bdc5e Add gstreamer and gstreamer-vaapi to Arch Linux dependencies 2018-11-10 21:27:12 +09:00
Pyfisch
0e4c4971be Use GradientBuilder::into_stops
Avoid cloning gradient stops.
2018-11-10 12:43:18 +01:00
bors-servo
b60006ae11
Auto merge of #22156 - jdm:wr-scroll, r=pcwalton
Add a transparent hit-testing rectangle for scrollable block content.

This implements the strategy described at https://github.com/servo/webrender/issues/3261#issuecomment-435106998 and which Gecko uses as well. Adding a transparent rectangle below the content and above the background ensures that hit testing correctly associates the background area with the right scrolling node.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22073
- [x] These changes do not require tests because the affected codepath requires user input, and we don't support webdriver tests yet.

<!-- 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/22156)
<!-- Reviewable:end -->
2018-11-09 20:27:22 -05:00
bors-servo
fa56fec21b
Auto merge of #22150 - asajeffrey:magicleap-fix-ci-build, r=jdm
Fix the magicleap CI build

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

This is a WIP PR to diagnose and fix the magicleap build in CI.

---
<!-- 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 fixing the build

<!-- 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/22150)
<!-- Reviewable:end -->
2018-11-09 17:53:53 -05:00
Alan Jeffrey
08270f07fc Get the magicleap build to work in CI 2018-11-09 16:24:09 -06:00
bors-servo
ed0e6e1bb2
Auto merge of #22098 - Eijebong:uuidup, r=jdm
Update uuid

<!-- 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/22098)
<!-- Reviewable:end -->
2018-11-09 15:22:27 -05:00
Bastien Orivel
36c4208f22 Update uuid 2018-11-09 21:04:31 +01:00
Josh Matthews
1eee3c73eb Add a transparent hit-testing rectangle for scrollable block content. 2018-11-09 14:08:46 -05:00