Commit graph

35029 commits

Author SHA1 Message Date
WPT Sync Bot
7ba3376dde Update web-platform-tests to revision 2df7f9ff620cbdaa2928464892fb1dfb880fd6c6 2018-09-28 22:54:30 -04:00
bors-servo
97e3c5f3a9
Auto merge of #21608 - pyfisch:border-gradients, r=emilio
Improve border images

Respect CSS border-image-width.
Properly support gradients as a border-image-source.

Add a new test and mark two more as passing.

<!-- 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/21608)
<!-- Reviewable:end -->
2018-09-28 16:36:53 -04:00
Pyfisch
60d0c8cd76 Layout: stylistic changes
Additionally if an image border can't be displayed show solid border.
Introduce build_display_list_for_border_image to display border images.
2018-09-28 22:33:02 +02:00
bors-servo
58039c10b0
Auto merge of #21835 - servo:tc-android-arm32, r=jdm
Taskcluster: add Android build

[Example green build](https://tools.taskcluster.net/groups/FyF53cdfSKC39eqB3OAZVQ/tasks/ff23qoM3TzSCHrinmzU7gQ/details), with `servoapp.apk` in public artifacts.

This installs some dependencies within the task for now. I’ll follow up with moving some things like the NDK download to a Docker image, but even as it is the task completes in 17 minutes.

<!-- 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/21835)
<!-- Reviewable:end -->
2018-09-28 12:14:54 -04:00
Simon Sapin
2968572187 Taskcluster: add Android build 2018-09-28 17:26:57 +02:00
Josh Matthews
48a16ac058
Don't use mach wrappers for rustc/cargo smoketests on Windows. 2018-09-28 09:27:53 -04:00
bors-servo
25cc45eec2
Auto merge of #21829 - servo-wpt-sync:wpt_update_27-09-2018, r=jdm
Sync WPT with upstream (27-09-2018)

Automated downstream sync of changes from upstream as of 27-09-2018.
[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/21829)
<!-- Reviewable:end -->
2018-09-28 09:02:37 -04:00
Josh Matthews
1d988cae8f
Remove intermittent timeout result. 2018-09-28 09:02:22 -04:00
mandreyel
dab49a217f Update Constellation to track focused BrowsingContext instead of Pipeline 2018-09-28 15:01:21 +02:00
bors-servo
80379c8f93
Auto merge of #21827 - ferjm:update.gst.binaries.travis, r=Manishearth
Update gstreamer binaries for Travis. With plugins-base now

<!-- 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/21827)
<!-- Reviewable:end -->
2018-09-28 02:15:02 -04:00
WPT Sync Bot
7295abcc2a Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f 2018-09-27 23:48:13 -04:00
Josh Matthews
e5892989ca
Warn when using slow WebGL code path. 2018-09-27 18:44:02 -04:00
Fernando Jiménez Moreno
fb29a625f4 Update gstreamer binaries for Travis. With plugins-base now 2018-09-27 23:08:06 +02:00
bors-servo
0964d055cd
Auto merge of #21809 - servo:features, r=SimonSapin
Only build ports/servo by default (except Android), add `./mach build --libsimpleservo`

Fixes #21314

<!-- 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/21809)
<!-- Reviewable:end -->
2018-09-27 13:35:09 -04:00
bors-servo
de415e35fc
Auto merge of #21821 - servo:up, r=SimonSapin
Move etc/ci/taskcluster one level up
2018-09-27 12:25:28 -04:00
Simon Sapin
5a48669e90 Move etc/ci/taskcluster one level up 2018-09-27 18:23:37 +02:00
bors-servo
515afac456
Auto merge of #21812 - jdm:useful-output, r=SimonSapin
Provide useful defaults for Android logcat output

These changes integrate the stdout/stderr redirection from 0e80cfbcee/cargo-apk/injected-glue/lib.rs (L240-L303), and set up the default RUST_LOG filters so that useful JS errors and GL errors appear in the logcat output. I have verified that thread panics appear in output as well (without backtraces, sadly) by visiting https://acid3.acidtests.org.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21637 and fix #21783
- [x] These changes do not require tests because no tests for logcat.

<!-- 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/21812)
<!-- Reviewable:end -->
2018-09-26 12:09:12 -04:00
Josh Matthews
b11f071976 Rewrite android logging to use checked slices. 2018-09-26 11:42:48 -04:00
Josh Matthews
f402dd9ecf Use Rust stdlib threads for android logging. 2018-09-26 11:05:00 -04:00
Josh Matthews
38d3f59170 Add useful logging defaults for debugging web content on android. 2018-09-26 11:04:36 -04:00
Simon Sapin
deeb79669f Only add --manifest-path if not already present 2018-09-26 08:18:58 +02:00
Josh Matthews
854a4bdbf4 Redirect stdout/stderr to logcat. 2018-09-25 15:25:16 -04:00
bors-servo
391d67fa1d
Auto merge of #21759 - jdm:ndkgdb, r=paulrouget
Add mach command to setup remote debugging on Android devices.

This removes any need to fiddle with search paths for source files and makes the experience of remote debugging much less frustrating. I've tried this on a Pixel, Pixel 2, and emulator and successfully set breakpoints and investigated variables on all of them. The APP_ABI changes are necessary to prevent ndk-gdb from thinking that the build is arm64 when it's not.

---
- [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/21759)
<!-- Reviewable:end -->
2018-09-25 14:22:13 -04:00
Simon Sapin
4e85f9c186 Build libsimpleservo on CI 2018-09-25 19:21:59 +02:00
Simon Sapin
39079cff8b Only build ports/servo by default (except Android), add ./mach build --libsimpleservo
Fixes #21314
2018-09-25 19:21:59 +02:00
Simon Sapin
6842553923 Fix default-except-unstable build 2018-09-25 19:21:59 +02:00
bors-servo
9ee8890a72
Auto merge of #21506 - ferjm:webaudio.wpts, r=Manishearth
Fix some WebAudio WPTs

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [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/21506)
<!-- Reviewable:end -->
2018-09-25 13:21:37 -04:00
Josh Matthews
5edf4e163e Set android toolchain version correctly. 2018-09-25 12:14:50 -04:00
Josh Matthews
4fe41c69d3 Add mach command to setup remote debugging on Android devices. 2018-09-25 12:14:18 -04:00
bors-servo
81fe52bd9a
Auto merge of #21757 - ferjm:offlineaudiocontext.constructor, r=jdm
Check constraints in both overloaded OfflineAudioContext constructors

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are WPTs tests for these changes and this should fix the remaining OfflineAudioContext failures.

<!-- 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/21757)
<!-- Reviewable:end -->
2018-09-25 12:02:36 -04:00
Fernando Jiménez Moreno
c1705842df Regenerate test expectations 2018-09-25 17:36:59 +02:00
Fernando Jiménez Moreno
bc6586a9d0 Throw if time given to AudioScheduledSourceNode.stop is negative 2018-09-25 17:16:17 +02:00
Fernando Jiménez Moreno
bbc3565900 Use buffer_set flag for AudioBufferSourceNode buffer setter 2018-09-25 17:16:17 +02:00
bors-servo
6e844f2278
Auto merge of #21730 - ferjm:android.gstreamer, r=paulrouget
Enable WebAudio on Android

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [X] These changes fix #21619

<!-- 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/21730)
<!-- Reviewable:end -->
2018-09-25 09:45:32 -04:00
bors-servo
ea2ca7ed4a
Auto merge of #21805 - jdm:jsup, r=jdm
Upgrade mozjs.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21469
- [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/21805)
<!-- Reviewable:end -->
2018-09-25 08:34:16 -04:00
Fernando Jiménez Moreno
879e3917b8 Update servo-media 2018-09-25 13:33:11 +02:00
Fernando Jiménez Moreno
c7d11b9a1e Remove duplicated context param from Servo constructor 2018-09-25 11:53:27 +02:00
bors-servo
10cf425069
Auto merge of #21776 - servo:taskcluster, r=Manishearth
Rewrite Taskcluster integration

This rewrites this repository’s integration with Taskcluster to have a decision task that runs an in-tree Python script to schedule a graph of other tasks with inter-dependencies, saved build artifacts, Docker images built from in-tree `Dockerfile`s, etc. This also adds support fail daily tasks, run automatically every 24 hours. See `etc/ci/taskcluster/README.md` for more details.

Example of a green build with web-platform-tests enabled: https://tools.taskcluster.net/groups/aDL0pUBkSmuhezT1OF80_g

For now this PR only enables one task, equivalent to Buildbot’s `linux-dev` job. (Running Tidy and other linting tools, compiling in debug mode, and running unit tests.) At this time Homu does **not** yet block PRs from merging on a successful result from Taskcluster, but I plan to do this soon after this PR lands.

<!-- 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/21776)
<!-- Reviewable:end -->
2018-09-25 03:26:09 -04:00
Simon Sapin
c33f5cc3a9 Docstrings for decisionlib 2018-09-25 09:25:30 +02:00
Josh Matthews
89dd750631
Don't unset ndk/sdk variables for android-mac. 2018-09-24 23:58:14 -04:00
Josh Matthews
52287bbc7f Upgrade mozjs. 2018-09-24 23:56:43 -04:00
bors-servo
7abc9acf6e
Auto merge of #21779 - servo:jdm-patch-30, r=Manishearth
Create build steps for android-mac

This will ensure that cross-compiling from mac->android does not regress in the future.

<!-- 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/21779)
<!-- Reviewable:end -->
2018-09-24 16:16:45 -04:00
Josh Matthews
f53ac35088
Fix trailing whitespace. 2018-09-24 16:16:31 -04:00
bors-servo
483010ec8b
Auto merge of #21777 - servo:jdm-patch-29, r=asajeffrey
Fix a mac cross-compilation problem

This fixes one of two problems that prevents cross-compiling for Android on Mac.

<!-- 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/21777)
<!-- Reviewable:end -->
2018-09-24 14:15:11 -04:00
Simon Sapin
a79be41623 Document daily task indexing 2018-09-24 18:02:32 +02:00
Simon Sapin
59a875e3e4 Move daily_tasks_setup() out of the way 2018-09-24 18:00:02 +02:00
Simon Sapin
efd62ea677 Mock both kinds of decision tasks 2018-09-24 18:00:01 +02:00
Simon Sapin
ed55b8c1e6 Index daily decision tasks even if they fail 2018-09-24 17:55:38 +02:00
Simon Sapin
8bed0cb044 Clarify index v.s. route terminology 2018-09-24 17:47:34 +02:00
Simon Sapin
62822fb103 Link to Taskcluster IRC notifications docs 2018-09-24 17:12:05 +02:00