Commit graph

43027 commits

Author SHA1 Message Date
Josh Matthews
adb75ba114 Revert "Revert "Update harfbuzz, freetype, unicode-script.""
This reverts commit 6b520850f3.
2020-08-10 13:30:12 -04:00
Josh Matthews
64b26a73c5 Revert "Revert "Update raqote, font-kit, fontconfig.""
This reverts commit ecfaba9304.
2020-08-10 13:30:12 -04:00
bors-servo
bd554a2a98
Auto merge of #27554 - servo:dependabot/cargo/hashbrown-0.8.2, r=jdm
Bump hashbrown from 0.8.1 to 0.8.2

Bumps [hashbrown](https://github.com/rust-lang/hashbrown) from 0.8.1 to 0.8.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md">hashbrown's changelog</a>.</em></p>
<blockquote>
<h2>[v0.8.2] - 2020-08-08</h2>
<h3>Changed</h3>
<ul>
<li>Avoid closures to improve compile times. (<a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/183">#183</a>)</li>
<li>Do not iterate to drop if empty. (<a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/182">#182</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="18ea4fe99a"><code>18ea4fe</code></a> Version 0.8.2</li>
<li><a href="4c55714885"><code>4c55714</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/184">#184</a> from Amanieu/rawiter_rules</li>
<li><a href="845b0f0a41"><code>845b0f0</code></a> Document RawIter guarantees</li>
<li><a href="09e43a8cf9"><code>09e43a8</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/183">#183</a> - nnethercote:avoid-closures, r=Amanieu</li>
<li><a href="e47bec1556"><code>e47bec1</code></a> Avoid closures to improve compile times.</li>
<li><a href="7593ec95d0"><code>7593ec9</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/182">#182</a> - jonhoo:fast-drop-empty, r=Amanieu</li>
<li><a href="284960cd74"><code>284960c</code></a> Do not iterate to drop if empty</li>
<li><a href="853d88d039"><code>853d88d</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/rust-lang/hashbrown/issues/181">#181</a> - cbarrick:iter-probe, r=Amanieu</li>
<li><a href="28fab730dd"><code>28fab73</code></a> Fix a rustfmt error</li>
<li><a href="1434cf3319"><code>1434cf3</code></a> Refactor probing logic into an external iterator</li>
<li>See full diff in <a href="https://github.com/rust-lang/hashbrown/compare/v0.8.1...v0.8.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=hashbrown&package-manager=cargo&previous-version=0.8.1&new-version=0.8.2)](https://dependabot.com/compatibility-score/?dependency-name=hashbrown&package-manager=cargo&previous-version=0.8.1&new-version=0.8.2)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
2020-08-10 12:56:58 -04:00
bors-servo
815ff0ad94
Auto merge of #27552 - servo:dependabot/cargo/tungstenite-0.11.1, r=jdm
Bump tungstenite from 0.11.0 to 0.11.1

Bumps [tungstenite](https://github.com/snapview/tungstenite-rs) from 0.11.0 to 0.11.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="9d67240cab"><code>9d67240</code></a> cargo: add author</li>
<li><a href="1de6da9a3c"><code>1de6da9</code></a> Bump version</li>
<li><a href="939c4d181c"><code>939c4d1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/snapview/tungstenite-rs/issues/132">#132</a> from sdroege/sha-1-0.9</li>
<li><a href="849f248a94"><code>849f248</code></a> Update to sha-1 0.9</li>
<li><a href="fd7de42347"><code>fd7de42</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/snapview/tungstenite-rs/issues/110">#110</a> from najamelan/doc/mib</li>
<li><a href="6791dcc0d6"><code>6791dcc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/snapview/tungstenite-rs/issues/119">#119</a> from kids300/master</li>
<li><a href="744bd87a41"><code>744bd87</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/snapview/tungstenite-rs/issues/130">#130</a> from Krisa/patch-1</li>
<li><a href="fe4d631c97"><code>fe4d631</code></a> Allow statically linking</li>
<li><a href="fb83e8c791"><code>fb83e8c</code></a> rm to_string</li>
<li><a href="16a33df195"><code>16a33df</code></a> fix ws subportocol lowercase header</li>
<li>Additional commits viewable in <a href="https://github.com/snapview/tungstenite-rs/compare/v0.11.0...v0.11.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=tungstenite&package-manager=cargo&previous-version=0.11.0&new-version=0.11.1)](https://dependabot.com/compatibility-score/?dependency-name=tungstenite&package-manager=cargo&previous-version=0.11.0&new-version=0.11.1)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
2020-08-10 10:42:58 -04:00
Josh Matthews
888ee7d633 Update duplicate crate check. 2020-08-10 10:41:59 -04:00
Josh Matthews
79b3cc2a28 Remove stub debugger server. 2020-08-10 10:37:00 -04:00
dependabot-preview[bot]
b636ad4187
Bump hashbrown from 0.8.1 to 0.8.2
Bumps [hashbrown](https://github.com/rust-lang/hashbrown) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/rust-lang/hashbrown/releases)
- [Changelog](https://github.com/rust-lang/hashbrown/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/hashbrown/compare/v0.8.1...v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 08:13:44 +00:00
dependabot-preview[bot]
0cae5fd045
Bump tungstenite from 0.11.0 to 0.11.1
Bumps [tungstenite](https://github.com/snapview/tungstenite-rs) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/snapview/tungstenite-rs/releases)
- [Commits](https://github.com/snapview/tungstenite-rs/compare/v0.11.0...v0.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 08:08:26 +00:00
bors-servo
e41c8bc2b7
Auto merge of #27549 - kunalmohan:update-cts, r=kvark
Update WebGPU CTS to main branch

<!-- Please describe your changes on the following line: -->
`main` branch in https://github.com/gpuweb/cts is closer to our implementation and it makes more sense to use that.

r?@kvark

---
<!-- 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. -->
2020-08-09 12:37:40 -04:00
Kunal Mohan
507f7e2789 disable more tests and update expectations 2020-08-09 20:18:09 +05:30
bors-servo
9ac6c542e6
Auto merge of #27551 - servo-wpt-sync:wpt_update_09-08-2020, r=jdm
Sync WPT with upstream (09-08-2020)

Automated downstream sync of changes from upstream as of 09-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-09 08:30:09 -04:00
Josh Matthews
8440bdda2e
Remove intermittent timeout. 2020-08-09 08:29:55 -04:00
WPT Sync Bot
071cb97177 Update web-platform-tests to revision edfb5824a2e35b1f428daa35277c14629392c8d4 2020-08-09 10:36:40 +00:00
Kunal Mohan
268c45fea7 update test expectations 2020-08-08 20:22:42 +05:30
Kunal Mohan
8ff00f0e9c Remove entries from error_command_buffers on drop 2020-08-08 20:20:07 +05:30
Kunal Mohan
33a4bca74d Disable tests crashing on metal 2020-08-08 19:14:46 +05:30
bors-servo
7499b0736e
Auto merge of #27550 - servo-wpt-sync:wpt_update_08-08-2020, r=servo-wpt-sync
Sync WPT with upstream (08-08-2020)

Automated downstream sync of changes from upstream as of 08-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-08 06:39:47 -04:00
WPT Sync Bot
a3410e195f Update web-platform-tests to revision 3cc9e82a7c1a53423097f3d581d4bfc185f56d18 2020-08-08 10:39:34 +00:00
Kunal Mohan
2034453fac update test expectations 2020-08-08 13:37:16 +05:30
bors-servo
589ab01be4
Auto merge of #27534 - jdm:badcert-buttons, r=asajeffrey
Move action buttons above invalid certificate details.

Since the certificate details can fill the screen and require scrolling, let's move the user's choices so they're always in view when the SSL error page first loads.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27520
2020-08-08 02:48:22 -04:00
Kunal Mohan
5f59716d41 update cts to main branch 2020-08-08 11:55:41 +05:30
bors-servo
53467b80b9
Auto merge of #27536 - kunalmohan:update-wgpu, r=kvark
Major fixes in error reporting in GPUCommandEncoder and ErrorScope Model

<!-- Please describe your changes on the following line: -->
1. Update wgpu to use the error model on wgpu-core side. Register error Ids separately.
2. ~~Record errors only in `GPUCommandEncoder.finish()`. Errors are no longer recorded in ErrorScopes in transfer commands or while recording passes. Any errors that occur are stored on the server-side in `error_command_encoders: HashMap<id::CommandEncoderId, String>` and reported on `CommandEncoderFinish`. Note: This should be reverted when the spec gets updated.~~
3. Correct a major flaw in ErrorScope Model. If multiple operations are issued inside scope and an early operation fails, the promise resolves and script execution continues. The scope, however, was not popped until the results of all its operations were received. This meant that if the user issues another operation, it was assumed to be issued in an error scope that has already been popped by the user, which led to the failure of a number of tests. This is solved by storing a `popped` boolean to check whether `popErrorScope()` has been called on a scope or not. Operation is now issued in the lastest scope for which `popped == false`.

One of the tests used to crash, but it no longer does (All subtests under it fail now). That explains the large number of failing test expectations that have been added. Most of them fail due to the tests being outdated. I'll switch to the updated branch in the next PR.

r?@kvark

---
<!-- 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

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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. -->
2020-08-07 15:38:17 -04:00
Kunal Mohan
ecb8c91446 update test expectations 2020-08-07 22:40:18 +05:30
Kunal Mohan
1d80f57aab Record errors in GPUCommandEncoder.BeginPass() and EncoderPass.endPass() 2020-08-07 22:36:05 +05:30
bors-servo
9eab0acbb6
Auto merge of #27543 - paulrouget:strup, r=Manishearth
UWP: better pref label

@Manishearth r?
2020-08-07 12:40:32 -04:00
bors-servo
8067a2fe94
Auto merge of #27537 - jdm:armmedia, r=Manishearth
Use gstreamer on UWP targets

This fixes a regression that cause our arm64 builds to use the dummy media stack by default. Oops.

Fix #27531. Fix #27532.
2020-08-07 10:29:16 -04:00
Josh Matthews
47e6430d30 Pipe GST_DEBUG output to its own log file on UWP. 2020-08-07 10:28:54 -04:00
bors-servo
5854e1500d
Auto merge of #27542 - servo-wpt-sync:wpt_update_07-08-2020, r=servo-wpt-sync
Sync WPT with upstream (07-08-2020)

Automated downstream sync of changes from upstream as of 07-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-07 07:26:26 -04:00
Paul Rouget
872a1f5390 UWP: better pref label 2020-08-07 12:52:36 +02:00
WPT Sync Bot
f99a7ba468 Update web-platform-tests to revision 688aeffbd02c1e05a159c64938ad9b43e3d8ec6e 2020-08-07 10:51:32 +00:00
bors-servo
4d1b96e605
Auto merge of #27522 - jdm:home-override, r=paulrouget
Use override value for home button when available.

Fixes #27521.
2020-08-07 06:26:59 -04:00
Kunal Mohan
78c9466fdb fix ErrorScope model 2020-08-07 11:35:50 +05:30
bors-servo
080e9dc6df
Auto merge of #27538 - asajeffrey:webxr-texture-invalidation, r=Manishearth
Make textures that come from webxr invalid outside an rAF

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

Implements "The colorTexture and depthStencilTexture objects MUST only be used during the XR animation frame of the current session and MUST be made invalid once the XR animation frame completes." from https://immersive-web.github.io/layers/#xrwebglsubimagetype

---
<!-- 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] There are no tests for these changes because we can't test this until we have projection layers

<!-- 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. -->
2020-08-06 22:57:35 -04:00
Alan Jeffrey
c1d064b626 Make textures that come from webxr invalid outside an rAF 2020-08-06 17:51:58 -05:00
Josh Matthews
261cf4f641 Enable gstreamer media stack for UWP targets. 2020-08-06 18:27:59 -04:00
bors-servo
776b564db1
Auto merge of #27530 - jdm:media, r=Manishearth
Fix crashes on video playback in UWP

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27529 and fix #27526
- [x] These changes do not require tests because there's no way to test UWP right now.
2020-08-06 16:30:04 -04:00
bors-servo
0573e9c60d
Auto merge of #27425 - jdm:preserve-draw-buffer, r=asajeffrey
Support preserveDrawingBuffer

Depends on https://github.com/asajeffrey/surfman-chains/pull/9 and https://github.com/servo/webxr/pull/190.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24604
- [x] There are tests for these changes
2020-08-06 16:11:26 -04:00
Josh Matthews
7449f42306 Move action buttons above invalid certificate details. 2020-08-06 15:08:08 -04:00
Josh Matthews
a5e488bc2c webgl: Support preserveDrawingBuffer. 2020-08-06 14:25:17 -04:00
Josh Matthews
1839f44dbb Use override value for home button when available. 2020-08-06 14:19:20 -04:00
Josh Matthews
5de6074ad8 Add missing media session callback in UWP embedding. 2020-08-06 14:17:58 -04:00
Josh Matthews
c6049eda7b Enter a realm when handling mediasession commands. 2020-08-06 14:09:38 -04:00
bors-servo
6a7e9ff438
Auto merge of #27512 - jdm:devtools-panic, r=Manishearth
Handle devtools clients disconnecting better

These changes fix many opportunities for the devtools server to panic if a client disconnects early. Now that it's easy to have multiple clients connected simultaneously, this also makes it easier for server code to distinguish between different clients and ensure that one client disconnecting doesn't affect another client that's still connected.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27509
- [x] These changes do not require tests because the devtools server is a wild west.

<!-- 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. -->
2020-08-06 14:02:17 -04:00
Josh Matthews
f4915ef6c9 devtools: Track multiple clients better, and cleanup streams when a client isn't reachable. 2020-08-06 09:55:01 -04:00
bors-servo
08328c22d6
Auto merge of #27517 - servo-wpt-sync:wpt_update_06-08-2020, r=servo-wpt-sync
Sync WPT with upstream (06-08-2020)

Automated downstream sync of changes from upstream as of 06-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-06 06:31:33 -04:00
WPT Sync Bot
92d17be4fe Update web-platform-tests to revision 5fe9625d7445a6b88640f830d90dd5489c4bda05 2020-08-06 10:31:21 +00:00
Kunal Mohan
072770dbc0 Register invalid resources separately 2020-08-06 10:48:17 +05:30
bors-servo
39c3f46375
Auto merge of #27513 - asajeffrey:webxr-layer-event, r=Manishearth
Add XRLayerEvent

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

Implement the `XRLayerEvent` spec.

---
<!-- 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] There are tests for these changes

<!-- 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. -->
2020-08-05 21:22:02 -04:00
Alan Jeffrey
c4dd171dfb Add XRLayerEvent 2020-08-05 18:07:54 -05:00
Josh Matthews
0b619bf920 devtools: Don't panic when sending to a disconnected client fails. 2020-08-05 14:55:48 -04:00