Commit graph

34802 commits

Author SHA1 Message Date
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
Simon Sapin
b3b67ef5ee Strip command whitespace 2018-09-24 16:59:40 +02:00
Simon Sapin
726ccf3a39 Each sub-task needs IRC notification individually 2018-09-24 16:54:35 +02:00
Simon Sapin
45ab69b996 Document Taskcluster config locations 2018-09-24 16:32:03 +02:00
Simon Sapin
117cb65b76 Document daily tasks 2018-09-24 16:30:08 +02:00
Fernando Jiménez Moreno
991fdbe5d4 Declare libgstreamer_android as prebuilt library 2018-09-24 15:50:45 +02:00
Fernando Jiménez Moreno
e3c98802eb Move GStreamer initialization to a path shared by ServoSurface and ServoView 2018-09-24 15:50:06 +02:00
Simon Sapin
947c01ea25 Add support for daily builds
https://tools.taskcluster.net/hooks/project-servo/daily
2018-09-24 15:35:50 +02:00
Simon Sapin
67794b6146 Add link on role expansion 2018-09-24 15:35:50 +02:00
Simon Sapin
000b8dd954 Taskcluster README 2018-09-24 15:35:50 +02:00
Simon Sapin
f5430df60e Disable WPT on Taskcluster for now 2018-09-24 15:35:50 +02:00
Simon Sapin
ffd94e2849 Add decision task mocking 2018-09-24 15:35:49 +02:00
Fernando Jiménez Moreno
a4789defc4 Use simpler way to build gst lib name 2018-09-24 15:14:47 +02:00
Fernando Jiménez Moreno
2854847c13 Do not copy gstreamer fonts or certs on Android 2018-09-24 15:14:47 +02:00
Fernando Jiménez Moreno
b27881523c Enable GStreamer support on Android 2018-09-24 15:14:46 +02:00
sumit0190
8148b1b46f Add framebuffer check for mark_as_dirty, #21691 2018-09-24 08:59:00 -04:00
bors-servo
5603ebfa56
Auto merge of #21793 - servo-wpt-sync:wpt_update_23-09-2018, r=jdm
Sync WPT with upstream (23-09-2018)

Automated downstream sync of changes from upstream as of 23-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/21793)
<!-- Reviewable:end -->
2018-09-24 08:48:03 -04:00
bors-servo
c576412f83
Auto merge of #21794 - paulrouget:jni-update, r=nox
jni-rs update

<!-- 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 #21656 (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/21794)
<!-- Reviewable:end -->
2018-09-24 04:31:37 -04:00
Paul Rouget
95d660e077 jni-rs update 2018-09-24 16:24:50 +08:00
bors-servo
c5708ce801
Auto merge of #21774 - paulrouget:pixel-density-android, r=jdm
Get the right pixel density on Android

Fix #21605 and fix #21504

---
<!-- 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
- [ ] 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/21774)
<!-- Reviewable:end -->
2018-09-24 01:46:29 -04:00
Paul Rouget
96cf1e2da3 Get the right pixel density on Android 2018-09-24 07:45:15 +02:00
WPT Sync Bot
20a08918d9 Update web-platform-tests to revision 3d117ae1266e6bd039a3a1ab92b27e82c3ccc92d 2018-09-23 23:26:42 -04:00
codehag
86b78629c3 Bug 1172897 - Rename Tab Actor to BrowsingContextActor
As part of [Bug 1172987](https://bugzilla.mozilla.org/show_bug.cgi?id=1172897) we renamed TabActor, as the actor does not represent tabs (as in a browser tab), it instead represents a browsing context as defined by the the [HTML standard](https://html.spec.whatwg.org/multipage/browsers.html#windows). In a later PR I will mirror the structure we have on devtools to have a targets folder, which contains all target types. At the moment it looks like servo only represents workers and browsing contexts.
2018-09-23 22:16:53 +02:00
bors-servo
647796ede6
Auto merge of #21784 - servo:jdm-patch-33, r=nox
Use standard buffer format for DEPTH_STENCIL

This makes the Going Home title display for me on my Pixel 2.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21763
- [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/21784)
<!-- Reviewable:end -->
2018-09-23 06:38:27 -04:00
bors-servo
196bec2b87
Auto merge of #21789 - mbrubeck:deps, r=nox
Upgrade to uluru 0.3

- [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/21789)
<!-- Reviewable:end -->
2018-09-23 05:32:17 -04:00
Matt Brubeck
7f4efd4b71 Upgrade to uluru 0.3 2018-09-22 17:24:47 -07:00
bors-servo
d2a79b39c5
Auto merge of #21787 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

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

<!-- 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/21787)
<!-- Reviewable:end -->
2018-09-22 15:11:25 -04:00
bors-servo
7287ea4c85
Auto merge of #21788 - emilio:smallvec-union-not-quite-there-yet, r=asajeffrey
Partially revert #21746.

This reverts the relevant bits from #21746 so that style and dependencies can
build with stable.

This is important because:

 * `selectors` is a published crate.

 * Gecko compiles with stable (more or less).

I reviewed that PR under the assumption that the union feature was stable, since
untagged unions are stable since 1.19, but turns out that smallvec uses non-Copy
types in unions, which are still unstable.

This leaves the union feature used on Servo, so that it gets testing, taking
advantage of features being additive.

<!-- 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/21788)
<!-- Reviewable:end -->
2018-09-22 13:35:15 -04:00