Commit graph

33989 commits

Author SHA1 Message Date
Simon Sapin
5d416e6600 Refactor run_in_headless_android_emulator.py out of mach test-androi-startup
… and make it more careful about not leaving zombie processes behind.
2018-07-18 18:23:50 +02:00
bors-servo
d25bd95d6f
Auto merge of #21185 - servo:bootstrapped-android, r=paulrouget
Stop using Salt-installed Android SDK on CI

<!-- 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/21185)
<!-- Reviewable:end -->
2018-07-18 08:38:37 -04:00
bors-servo
c45192614c
Auto merge of #21195 - servo:rustup, r=nox
Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)

<!-- 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/21195)
<!-- Reviewable:end -->
2018-07-18 05:37:08 -04:00
Simon Sapin
3509bcb531 Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
Simon Sapin
e397ca06d8 Avoid use of deprecated (and buggy) std::env::home_dir 2018-07-18 11:25:30 +02:00
bors-servo
a4c93bcc8c
Auto merge of #21196 - Eijebong:euclid, r=nox
Update euclid to 0.18

<!-- 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/21196)
<!-- Reviewable:end -->
2018-07-18 03:34:56 -04:00
Bastien Orivel
9e446971a8 Update euclid to 0.18 2018-07-18 09:27:24 +02:00
bors-servo
88664912ed
Auto merge of #21193 - servo:jdm-patch-17, r=asajeffrey
Recreate virtualenv from scratch when syncing WPT

This fixes #21180 and attempts to work around #21145.

<!-- 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/21193)
<!-- Reviewable:end -->
2018-07-17 13:07:16 -04:00
Josh Matthews
8084cf882d
Revert f37699d682 to fix perf test. 2018-07-17 12:03:13 -04:00
Josh Matthews
e1f4604e66
Recreate virtualenv from scratch when syncing WPT 2018-07-17 11:58:36 -04:00
bors-servo
a55cbc6687
Auto merge of #21190 - jdm:lets-get-physical, r=gw3583
Fix hittesting on HiDPI screens

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21168
- [x] These changes do not require tests because we do not have the ability to test embedding input 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/21190)
<!-- Reviewable:end -->
2018-07-17 08:56:18 -04:00
Josh Matthews
b260052753 Convert logical glutin coordinates to physical coordinates for input events. 2018-07-16 22:55:45 -04:00
bors-servo
a69c117da2
Auto merge of #21187 - tigercosmos:fetch, r=jdm
Make fetch() API use same-origin credentials by default

<!-- 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 #21146 (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/21187)
<!-- Reviewable:end -->
2018-07-16 22:46:30 -04:00
tigercosmos
af3741ab26 Make fetch() API use same-origin credentials by default 2018-07-17 10:28:24 +08:00
bors-servo
3003e6f897
Auto merge of #21184 - servo:webgl, r=jdm
Use active uniforms data to implement gl.uniform* checks

<!-- 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/21184)
<!-- Reviewable:end -->
2018-07-16 19:46:05 -04:00
Anthony Ramine
476640c3ab Use active uniforms data to implement gl.uniform* checks 2018-07-17 01:26:44 +02:00
bors-servo
1fabd10f7e
Auto merge of #21183 - servo:build-package, r=paulrouget
Android: run ./mach package implicitly after ./mach build

The result of `./mach build` for Android is a `.so` file that cannot be used on its own, so running build without package is presumably never useful.

<!-- 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/21183)
<!-- Reviewable:end -->
2018-07-16 16:37:12 -04:00
bors-servo
bd6f3cb5ee
Auto merge of #21188 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

https://bugzilla.mozilla.org/show_bug.cgi?id=1476054

See each individual commit for details. I skipped the import of bug 1467277, which can't be done until euclid is updated everywhere.
2018-07-16 14:01:41 -04:00
Emilio Cobos Álvarez
5227c7572e
style: Gecko build fix for Servo PR #21156.
MozReview-Commit-ID: FbN0hiUGzYa
2018-07-16 19:44:31 +02:00
Emilio Cobos Álvarez
bad4f7d729
style: Gecko build fix for Servo PR #21139.
MozReview-Commit-ID: 3ocJrRB3jeO
2018-07-16 19:44:23 +02:00
Emilio Cobos Álvarez
fde93a60fe
style: Fix build and unit tests. 2018-07-16 19:44:19 +02:00
Dan Glastonbury
96e812e732
style: Correct background/foreground ratio mixing.
Bug: 1467622
Reviewed-by: xidorn
MozReview-Commit-ID: InAZVcH2Vkt
2018-07-16 19:44:04 +02:00
Dan Glastonbury
a76f5393d4
style: Change nscolor to StyleComplexColor.
Bug: 1467622
Reviewed-by: xidorn
MozReview-Commit-ID: 1bbQzOoOuBe
2018-07-16 19:43:50 +02:00
Emilio Cobos Álvarez
6f9b47be25
style: Cleanup push_applicable_declarations. r=xidorn
This patch changes the behavior to skipping XBL rules for
getDefaultComputedStyle.

Bug: 1475220
Reviewed-by: xidorn
MozReview-Commit-ID: 52cwDyBAXO
2018-07-16 19:43:39 +02:00
Xidorn Quan
db74d0c579
style: Remove unused parent parameter in ComputedValues::new.
Bug: 1475229
MozReview-Commit-ID: EBG0TS7tI4P
2018-07-16 19:43:30 +02:00
Cameron McCormack
a41127152b
style: Measure heap allocations hanging off selector components.
Bug: 1475191
Reviewed-by: emilio
MozReview-Commit-ID: D7vZQ7v8owS
2018-07-16 19:43:15 +02:00
Xidorn Quan
dd277be487
style: Remove a unused line to fix a warning.
Bug: 1461285
2018-07-16 19:43:08 +02:00
Xidorn Quan
d4ea70fd34
style: Have the CSSOM appending behavior behind a pref and only enable it on Nightly.
Bug: 1461285
Reviewed-by: emilio
MozReview-Commit-ID: 6BzPTNjXjyA
2018-07-16 19:42:53 +02:00
Xidorn Quan
2be1375745
style: Add a declaration iterator to AllShorthand for simplify code.
Bug: 1461285
Reviewed-by: emilio
MozReview-Commit-ID: 9w2B3SpdkQo
2018-07-16 19:42:42 +02:00
Xidorn Quan
36038869aa
style: Rename DeclarationSource to DeclarationPushMode.
Bug: 1461285
Reviewed-by: emilio
MozReview-Commit-ID: Iyv9JrXrpzl
2018-07-16 19:42:27 +02:00
Cameron McCormack
f526af7f01
style: Remove angle values from image-orientation.
Bug: 1473450
Reviewed-by: emilio
MozReview-Commit-ID: FB74ILJM6Fm
2018-07-16 19:42:12 +02:00
Oriol Brufau
4e8d3fce38
style: Honor logical border colors in visited links.
Bug: 1472567
Reviewed-by: emilio
MozReview-Commit-ID: IF8yvkFmPc4
2018-07-16 19:41:58 +02:00
Emilio Cobos Álvarez
1c799dd296
style: Make writing-mode and direction non-animatable.
Per https://github.com/w3c/csswg-drafts/issues/2751

Bug: 1473779
Reviewed-by: heycam
MozReview-Commit-ID: GCG3vJWNPfC
2018-07-16 19:41:46 +02:00
Emilio Cobos Álvarez
4d005cb90e
style: Reformat most of inherited_box.mako.rs.
image-orientation is being changed as we speak, so I left it there to avoid
bitrot.

Bug: 1473779
Reviewed-by: heycam
MozReview-Commit-ID: IwpA5HEuVU
2018-07-16 19:41:28 +02:00
Simon Sapin
6ef56dac2b Android: run ./mach package implicitly after ./mach build by default
The result of `./mach build` for Android is a `.so` file
that cannot be used on its own, so running build without package
is presumably never useful.
2018-07-16 17:08:28 +02:00
Simon Sapin
e38a45bdaa Stop using Salt-installed Android SDK on CI 2018-07-16 15:10:21 +02:00
Anthony Ramine
e7631cea61 Move ANGLE name shenanigans to WebGL thread 2018-07-16 10:16:30 +02:00
Anthony Ramine
cbac5d05be Store active uniforms on the DOM side 2018-07-16 10:16:29 +02:00
bors-servo
a6f403c5f2
Auto merge of #21182 - gw3583:update-wr-more, r=jdm
Update WR for gradient API changes, and various dependencies.

<!-- 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/21182)
<!-- Reviewable:end -->
2018-07-15 23:51:56 -04:00
Glenn Watson
1881a06c40 Updates for WR gradient API change. 2018-07-16 10:57:10 +10:00
Bastien Orivel
6354cd9a5e WIP: Dedupe dependencies 2018-07-16 08:59:15 +10:00
bors-servo
8eb2a53e20
Auto merge of #21170 - gterzian:use_remote_event_task_source_for_eventsource, r=jdm
Use remote-event task source in EventSource

<!-- Please describe your changes on the following line: -->
Follow up on https://github.com/servo/servo/pull/21126, this again 'changes nothing', but will be useful for https://github.com/servo/servo/issues/21114 in the context of https://github.com/servo/servo/pull/21111.

Trying to break up work into smaller PR's ;)

---
<!-- 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 #21112 (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/21170)
<!-- Reviewable:end -->
2018-07-13 21:41:41 -04:00
bors-servo
3961e8d1eb
Auto merge of #19184 - bobthekingofegypt:fix/18706-abs-image-with-padding, r=mbrubeck
fix block size for absolute replaced element

Absolutely replaced elements with padding were incorrectly setting their
block size to include twice the padding values.  This attempts to stop
that extra padding for replaced elements but leave the working flow for
non replaced elements

<!-- 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 #18706 (github issue number if applicable).

<!-- Either: -->
- [X] 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/19184)
<!-- Reviewable:end -->
2018-07-13 20:18:27 -04:00
Gregory Terzian
baef63becd use remote-event task source in EventSource 2018-07-13 13:56:46 +08:00
bors-servo
f01f6ae6bf
Auto merge of #21167 - servo:jdm-patch-13, r=asajeffrey
Avoid virtualenv conflicts when running nightly jobs

To avoid the errors that appear in http://build.servo.org/builders/linux-nightly/builds/750, I'm trying to keep the regular mach virtualenv and the one used for test-perf separate.

<!-- 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/21167)
<!-- Reviewable:end -->
2018-07-12 19:26:32 -04:00
bors-servo
8af9409339
Auto merge of #21166 - servo:android-x86, r=jdm
Test Android x86 on CI

Fixes https://github.com/servo/servo/issues/21124

<!-- 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/21166)
<!-- Reviewable:end -->
2018-07-12 16:47:26 -04:00
Simon Sapin
bfb3f2f66d Exiting on broken pipe is expected operation for the 'yes' program 2018-07-12 22:47:02 +02:00
Simon Sapin
abb2ac6d20 Test Android x86 on CI 2018-07-12 20:30:32 +02:00
Simon Sapin
8dc2457931 Remove unused --update parameter to ./mach bootstrap-android 2018-07-12 16:01:28 +02:00
Josh Matthews
f37699d682
Use an explicit virtualenv name when running perf tests. 2018-07-12 09:41:43 -04:00