Commit graph

42554 commits

Author SHA1 Message Date
Josh Matthews
c551ed1398
Add 2020 failure. 2020-06-11 09:45:18 -04:00
WPT Sync Bot
71a09c2c01 Update web-platform-tests to revision 59b44d7f1299fd1da23d4bf1f0ffdee3f2b7206c 2020-06-11 10:50:21 +00:00
bors-servo
a34d1573b6
Auto merge of #26846 - servo:dependabot/cargo/sha-1-0.8.2, r=jdm
build(deps): bump sha-1 from 0.8.1 to 0.8.2

Bumps [sha-1](https://github.com/RustCrypto/hashes) from 0.8.1 to 0.8.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="da2452e9de"><code>da2452e</code></a> bump sha1 and sha2 versions</li>
<li><a href="3d11a0f248"><code>3d11a0f</code></a> remove benchmarks</li>
<li><a href="9edb0a53f7"><code>9edb0a5</code></a> Enable sha1 and sha2 AArch64 extensions from asm-hashes (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/97">#97</a>)</li>
<li><a href="18a28655d5"><code>18a2865</code></a> add test vector for streebog overflow bug</li>
<li><a href="9695573914"><code>9695573</code></a> Fix an overflow in Streebog causing panic or incorrect output (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/91">#91</a>)</li>
<li><a href="7f3080be05"><code>7f3080b</code></a> fix block sizes for blake2 hashes</li>
<li><a href="526cc6e9fd"><code>526cc6e</code></a> add sha3 docs</li>
<li><a href="2d6379d3fa"><code>2d6379d</code></a> Turn Keccak256Full comment into docs (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/81">#81</a>)</li>
<li><a href="0484eaac39"><code>0484eaa</code></a> Be slightly less judgemental of md5/sha1 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/80">#80</a>)</li>
<li><a href="04127f7727"><code>04127f7</code></a> update readme and license</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/hashes/compare/sha1-v0.8.1...sha1-v0.8.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=sha-1&package-manager=cargo&previous-version=0.8.1&new-version=0.8.2)](https://dependabot.com/compatibility-score/?dependency-name=sha-1&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-06-11 06:46:18 -04:00
dependabot-preview[bot]
22612debe0
build(deps): bump muldiv from 0.2.0 to 0.2.1
Bumps [muldiv](https://github.com/sdroege/rust-muldiv) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/sdroege/rust-muldiv/releases)
- [Changelog](https://github.com/sdroege/rust-muldiv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sdroege/rust-muldiv/compare/0.2.0...0.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:12:18 +00:00
dependabot-preview[bot]
3f6e3f9833
build(deps): bump unicode-segmentation from 1.2.0 to 1.6.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.2.0 to 1.6.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits/v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:11:47 +00:00
dependabot-preview[bot]
910525e1f1
build(deps): bump num-iter from 0.1.37 to 0.1.40
Bumps [num-iter](https://github.com/rust-num/num-iter) from 0.1.37 to 0.1.40.
- [Release notes](https://github.com/rust-num/num-iter/releases)
- [Changelog](https://github.com/rust-num/num-iter/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-iter/compare/num-iter-0.1.37...num-iter-0.1.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:11:10 +00:00
dependabot-preview[bot]
1ff399e660
build(deps): bump range-alloc from 0.1.0 to 0.1.1
Bumps [range-alloc](https://github.com/gfx-rs/gfx) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/gfx-rs/gfx/releases)
- [Changelog](https://github.com/gfx-rs/gfx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gfx-rs/gfx/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:10:34 +00:00
dependabot-preview[bot]
d31a95c4e5
build(deps): bump regex from 1.3.7 to 1.3.9
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.7 to 1.3.9.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-1.3.7...1.3.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-11 08:10:04 +00:00
bors-servo
264b4344fb
Auto merge of #26854 - jdm:wr-err, r=SimonSapin
Don't panic in canvas thread if webrender isn't reachable

This fixes a regression from #26823. This method is only used by the css paint worklet API, and the caller handles a communication error on the channel correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26853
- [x] There are tests for these changes
2020-06-11 04:06:47 -04:00
bors-servo
2560e78f11
Auto merge of #26844 - servo:dependabot/cargo/digest-0.8.1, r=jdm
build(deps): bump digest from 0.8.0 to 0.8.1

Bumps [digest](https://github.com/RustCrypto/traits) from 0.8.0 to 0.8.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="530b795444"><code>530b795</code></a> digest v0.8.1</li>
<li><a href="3377afdbc7"><code>3377afd</code></a> Add box_clone to DynDigest (<a href="https://github-redirect.dependabot.com/RustCrypto/traits/issues/39">#39</a>)</li>
<li><a href="5952f22424"><code>5952f22</code></a> add crypto-mac changelog</li>
<li><a href="128e557120"><code>128e557</code></a> Bump crypt-mac version to v0.8.0</li>
<li><a href="2ed5d5a3a2"><code>2ed5d5a</code></a> Use subtle v2 (<a href="https://github-redirect.dependabot.com/RustCrypto/traits/issues/33">#33</a>)</li>
<li><a href="727a18f143"><code>727a18f</code></a> block-cipher-trait v0.6.2</li>
<li><a href="3cce5eef6d"><code>3cce5ee</code></a> block-cipher-trait: fix the repository link (<a href="https://github-redirect.dependabot.com/RustCrypto/traits/issues/29">#29</a>)</li>
<li><a href="bc79ccb48b"><code>bc79ccb</code></a> stream-cipher v0.3.0</li>
<li><a href="c7da4b4b67"><code>c7da4b4</code></a> fix typos in comments (<a href="https://github-redirect.dependabot.com/RustCrypto/traits/issues/27">#27</a>)</li>
<li><a href="caca608391"><code>caca608</code></a> add new_var method</li>
<li>Additional commits viewable in <a href="https://github.com/RustCrypto/traits/compare/digest-v0.8.0...digest-v0.8.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=digest&package-manager=cargo&previous-version=0.8.0&new-version=0.8.1)](https://dependabot.com/compatibility-score/?dependency-name=digest&package-manager=cargo&previous-version=0.8.0&new-version=0.8.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-06-11 03:08:49 -04:00
bors-servo
10202c2ad2
Auto merge of #26840 - paulrouget:l10n, r=Manishearth
UWP L10N

Partially addresses #26665.

This does not cover Rust strings and resources files.
2020-06-11 02:12:00 -04:00
Paul Rouget
e5edd22208 L10N for UWP app. 2020-06-11 07:54:57 +02:00
Paul Rouget
562f4781c5 Fix warnings 2020-06-11 07:54:57 +02:00
Paul Rouget
805b79b32c log and format for wstrings. 2020-06-11 07:54:57 +02:00
bors-servo
872d624021
Auto merge of #26847 - servo:dependabot/cargo/tokio-sync-0.1.8, r=jdm
build(deps): bump tokio-sync from 0.1.6 to 0.1.8

Bumps [tokio-sync](https://github.com/tokio-rs/tokio) from 0.1.6 to 0.1.8.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/blob/tokio-0.1.8/CHANGELOG.md">tokio-sync's changelog</a>.</em></p>
<blockquote>
<h1>0.1.8 (August 23, 2018)</h1>
<ul>
<li>Extract tokio::executor::current_thread to a sub crate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/370">#370</a>)</li>
<li>Add <code>Runtime::block_on</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/398">#398</a>)</li>
<li>Add <code>runtime::current_thread::block_on_all</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/477">#477</a>)</li>
<li>Misc documentation improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/450">#450</a>)</li>
<li>Implement <code>std::error::Error</code> for error types (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/501">#501</a>)</li>
</ul>
<h1>0.1.7 (June 6, 2018)</h1>
<ul>
<li>Add <code>Runtime::block_on</code> for concurrent runtime (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/391">#391</a>).</li>
<li>Provide handle to <code>current_thread::Runtime</code> that allows spawning tasks from
other threads (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/340">#340</a>).</li>
<li>Provide <code>clock::now()</code>, a configurable source of time (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/381">#381</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="07203408de"><code>0720340</code></a> Bump version to v0.1.8 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/566">#566</a>)</li>
<li><a href="8bf2e9aeb0"><code>8bf2e9a</code></a> Introduce <code>Timeout</code> and deprecate <code>Deadline</code>. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/558">#558</a>)</li>
<li><a href="cf184eb326"><code>cf184eb</code></a> timer: Reduce size of <code>Delay</code> struct (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/554">#554</a>)</li>
<li><a href="d822b721b4"><code>d822b72</code></a> Add DelayQueue implementation to tokio-timer (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/550">#550</a>)</li>
<li><a href="c66b56c3fb"><code>c66b56c</code></a> Implement <code>Default</code> for <code>tokio_timer::Handle</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/553">#553</a>)</li>
<li><a href="89639ec48b"><code>89639ec</code></a> Bump tokio-uds version to v0.2.1 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/552">#552</a>)</li>
<li><a href="2b1b0ac858"><code>2b1b0ac</code></a> Expose tokio_uds from the root crate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/526">#526</a>)</li>
<li><a href="6b84c73f12"><code>6b84c73</code></a> tokio::codec docs + additional exports (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/546">#546</a>)</li>
<li><a href="767b370c21"><code>767b370</code></a> Add tokio-tls echo example. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/541">#541</a>)</li>
<li><a href="28010b5962"><code>28010b5</code></a> Update <code>lines_encoder</code> test to use LinesCodec (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/544">#544</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-sync-0.1.6...tokio-0.1.8">compare view</a></li>
</ul>
</details>
<br />

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

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-06-10 22:24:42 -04:00
bors-servo
35fe0fb56f
Auto merge of #26843 - servo:dependabot/cargo/syn-1.0.31, r=jdm
build(deps): bump syn from 1.0.27 to 1.0.31

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.27 to 1.0.31.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/syn/releases">syn's releases</a>.</em></p>
<blockquote>
<h2>1.0.31</h2>
<ul>
<li>
<p>Add <a href="https://docs.rs/syn/1.0.31/syn/enum.Expr.html#method.parse_without_eager_brace"><code>Expr::parse_without_eager_brace</code></a> to parse expressions in ambiguous syntactic position.</p>
<p>Rust grammar has an ambiguity where braces sometimes turn a path expression into a struct initialization and sometimes do not. In the following code, the expression <code>S {}</code> is one expression. Presumably there is an empty struct <code>struct S {}</code> defined somewhere which it is instantiating.</p>
<pre lang="rust"><code>let _ = *S {};
<p>// parsed by rustc as: <code>*(S {})</code>
</code></pre></p>
<p>We would want to parse the above using <code>Expr::parse</code> after the <code>=</code> token.</p>
<p>But in the following, <code>S {}</code> is <em>not</em> a struct init expression.</p>
<pre lang="rust"><code>if *S {} {}
<p>// parsed by rustc as:
//
//    if (<em>S) {
//        /</em> empty block <em>/
//    }
//    {
//        /</em> another empty block */
//    }
</code></pre></p>
<p>For that reason we would want to parse if-conditions using <code>Expr::parse_without_eager_brace</code> after the <code>if</code> token. Same for similar syntactic positions such as the condition expr after a <code>while</code> token or the expr at the top of a <code>match</code>.</p>
<p>The Rust grammar's choices around which way this ambiguity is resolved at various syntactic positions is fairly arbitrary. Really either parse behavior could work in most positions, and language designers just decide each case based on which is more likely to be what the programmer had in mind most of the time.</p>
<pre lang="rust"><code>if return S {} {}
<p>// parsed by rustc as:
//
//    if (return (S {})) {
//    }
//
// but could equally well have been this other arbitrary choice:
//
//    if (return S) {
//    }
//    {}
</code></pre></p>
<p>Note the grammar ambiguity on trailing braces is distinct from precedence and is not captured by assigning a precedence level to the braced struct init expr in relation to other operators. This can be illustrated by <code>return 0..S {}</code> vs <code>match 0..S {}</code>. The former parses as <code>return (0..(S {}))</code> implying tighter precedence for struct init than <code>..</code>, while the latter parses as <code>match (0..S) {}</code> implying tighter precedence for <code>..</code> than struct init, a contradiction.</p>
</li>
</ul>
<h2>1.0.30</h2>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ec205a83fd"><code>ec205a8</code></a> Release 1.0.31</li>
<li><a href="a3b67e4212"><code>a3b67e4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/849">#849</a> from dtolnay/eparse</li>
<li><a href="a03ec12122"><code>a03ec12</code></a> Rewrite parse_without_eager_brace doc with better examples</li>
<li><a href="e2a5120572"><code>e2a5120</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/848">#848</a> from udoprog/parse-without-eager-brace</li>
<li><a href="2a9200dfaf"><code>2a9200d</code></a> Make expr_no_struct public as Expr::parse_without_eager_brace</li>
<li><a href="cf76afd114"><code>cf76afd</code></a> Update test suite to nightly-2020-06-01</li>
<li><a href="89658fc242"><code>89658fc</code></a> Release 1.0.30</li>
<li><a href="dd68696574"><code>dd68696</code></a> Merge pull request 843 from Aaron1011/feature/multiple-empty</li>
<li><a href="405f1bb90c"><code>405f1bb</code></a> Handle multiple nested <code>None</code>-delimited groups</li>
<li><a href="7a81558977"><code>7a81558</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/syn/issues/842">#842</a> from dtolnay/group</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/syn/compare/1.0.27...1.0.31">compare view</a></li>
</ul>
</details>
<br />

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

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-06-10 20:51:05 -04:00
bors-servo
c1f5515a92
Auto merge of #26842 - servo:dependabot/cargo/futures-channel-0.3.5, r=jdm
build(deps): bump futures-channel from 0.3.4 to 0.3.5

Bumps [futures-channel](https://github.com/rust-lang/futures-rs) from 0.3.4 to 0.3.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/releases">futures-channel's releases</a>.</em></p>
<blockquote>
<h2>0.3.5</h2>
<ul>
<li>Added <code>StreamExt::flat_map</code>.</li>
<li>Added <code>StreamExt::ready_chunks</code>.</li>
<li>Added <code>*_unpin</code> methods to <code>SinkExt</code>.</li>
<li>Added a <code>cancellation()</code> future to <code>oneshot::Sender</code>.</li>
<li>Added <code>reunite</code> method to <code>ReadHalf</code> and <code>WriteHalf</code>.</li>
<li>Added <code>Extend</code> implementations for <code>Futures(Un)Ordered</code> and <code>SelectAll</code>.</li>
<li>Added support for reexporting the <code>join!</code> and <code>select!</code> macros.</li>
<li>Added <code>no_std</code> support for the <code>pending!</code> and <code>poll!</code> macros.</li>
<li>Added <code>Send</code> and <code>Sync</code> support for <code>AssertUnmoved</code>.</li>
<li>Fixed a bug where <code>Shared</code> wasn't relinquishing control to the executor.</li>
<li>Removed the <code>Send</code> bound on the output of <code>RemoteHandle</code>.</li>
<li>Relaxed bounds on <code>FuturesUnordered</code>.</li>
<li>Reorganized internal tests to work under different <code>--feature</code>s.</li>
<li>Reorganized the bounds on <code>StreamExt::forward</code>.</li>
<li>Removed and replaced a large amount of internal <code>unsafe</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures-channel's changelog</a>.</em></p>
<blockquote>
<h1>0.3.5 - 2020-05-08</h1>
<ul>
<li>Added <code>StreamExt::flat_map</code>.</li>
<li>Added <code>StreamExt::ready_chunks</code>.</li>
<li>Added <code>*_unpin</code> methods to <code>SinkExt</code>.</li>
<li>Added a <code>cancellation()</code> future to <code>oneshot::Sender</code>.</li>
<li>Added <code>reunite</code> method to <code>ReadHalf</code> and <code>WriteHalf</code>.</li>
<li>Added <code>Extend</code> implementations for <code>Futures(Un)Ordered</code> and <code>SelectAll</code>.</li>
<li>Added support for reexporting the <code>join!</code> and <code>select!</code> macros.</li>
<li>Added <code>no_std</code> support for the <code>pending!</code> and <code>poll!</code> macros.</li>
<li>Added <code>Send</code> and <code>Sync</code> support for <code>AssertUnmoved</code>.</li>
<li>Fixed a bug where <code>Shared</code> wasn't relinquishing control to the executor.</li>
<li>Removed the <code>Send</code> bound on the output of <code>RemoteHandle</code>.</li>
<li>Relaxed bounds on <code>FuturesUnordered</code>.</li>
<li>Reorganized internal tests to work under different <code>--feature</code>s.</li>
<li>Reorganized the bounds on <code>StreamExt::forward</code>.</li>
<li>Removed and replaced a large amount of internal <code>unsafe</code>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4ceafb384c"><code>4ceafb3</code></a> Stage 0.3.5</li>
<li><a href="5b91728e10"><code>5b91728</code></a> Drop unneeded Send/Sync bound from AssertUnmoved</li>
<li><a href="4b930bb470"><code>4b930bb</code></a> Implement Send + Sync for AssertUnmoved</li>
<li><a href="3bf5ac99e9"><code>3bf5ac9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2128">#2128</a> from Diggsey/snip</li>
<li><a href="1b44548be7"><code>1b44548</code></a> Merge branch 'master' into snip</li>
<li><a href="32005e3f74"><code>32005e3</code></a> fix: Shared must relinquish control to the executor if repolled</li>
<li><a href="dc06edaf54"><code>dc06eda</code></a> Update pin-utils to 0.1</li>
<li><a href="dc00793b38"><code>dc00793</code></a> Make ready and lazy's panic messages easy to understand</li>
<li><a href="127b244ecd"><code>127b244</code></a> Allow pending! and poll! in no_std</li>
<li><a href="dfc6673946"><code>dfc6673</code></a> Update futures-util/src/future/future/flatten.rs</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/futures-rs/compare/0.3.4...0.3.5">compare view</a></li>
</ul>
</details>
<br />

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

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-06-10 18:29:30 -04:00
bors-servo
d85c6ee341
Auto merge of #26838 - servo:flexbox, r=nox
Flexbox, the boring parts

I have a local branch starting to implement https://drafts.csswg.org/css-flexbox/#layout-algorithm. It’s not PR-ready yet, but it’s going to be large so here are some of the less interesting parts meaningful by themselves. Landing the module split in particular will help reduce merge conflicts.

CC https://github.com/servo/servo/issues/26639
2020-06-10 17:19:16 -04:00
bors-servo
0367ec2e8b
Auto merge of #26836 - servo:containing-block-writing-mode, r=nox
Use the writing mode of the containing block when accessing CSS properties

… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
2020-06-10 16:20:22 -04:00
bors-servo
31dab7c8ac
Auto merge of #26837 - servo:jdm-patch-44, r=Manishearth
Use the latest stable MixedReality runtime

Per Microsoft, the preview runtime is now stable and we can depend on it without hidden environment variables.
2020-06-10 15:15:06 -04:00
bors-servo
9e528b8124
Auto merge of #26806 - mrobinson:animations-cascade, r=emilio
Include animations and transitions in the cascade

Instead of applying animations and transitions to styled elements,
include them in the cascade. This allows them to interact properly with
things like font-size and !important rules.

<!-- 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] 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-06-10 14:14:03 -04:00
Utsav Oza
6c86429082 Update web-platform-tests metadata 2020-06-10 23:15:00 +05:30
Utsav Oza
d1241a8d06 Fix ./mach build --release --with-layout-2020 2020-06-10 22:34:24 +05:30
Utsav Oza
34d0c313dc Enable textAlign, textBaseline and direction attributes for canvas 2020-06-10 22:34:20 +05:30
Utsav Oza
c21fde3751 Implement CanvasRenderingContext2D.font property 2020-06-10 22:11:24 +05:30
Utsav Oza
15fd256302 Store resolved font style in canvas context state 2020-06-10 22:10:44 +05:30
Utsav Oza
5493424d9a Revert unnecessary changes 2020-06-10 22:10:43 +05:30
Utsav Oza
43051c7bf3 Fix ./mach build --release --with-layout-2020 2020-06-10 22:10:43 +05:30
Utsav Oza
f3cb7a1910 Add todos for missing steps while processing parse font query 2020-06-10 22:10:43 +05:30
Utsav Oza
7883718c12 Query layout to resolve canvas font property value 2020-06-10 22:10:42 +05:30
Utsav Oza
f161ab8e57 Basic implementation of canvas.fillText 2020-06-10 22:10:42 +05:30
Utsav Oza
726f7d7209 Check for valid arguments before processing canvas.fillText 2020-06-10 22:10:32 +05:30
bors-servo
68f641ee78
Auto merge of #26827 - servo:dependabot/cargo/objc_exception-0.1.2, r=jdm
build(deps): bump objc_exception from 0.1.1 to 0.1.2

Bumps [objc_exception](https://github.com/SSheldon/rust-objc-exception) from 0.1.1 to 0.1.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c86ad3a529"><code>c86ad3a</code></a> Switch to cc builds</li>
<li>See full diff in <a href="https://github.com/SSheldon/rust-objc-exception/compare/0.1.1...0.1.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=objc_exception&package-manager=cargo&previous-version=0.1.1&new-version=0.1.2)](https://dependabot.com/compatibility-score/?dependency-name=objc_exception&package-manager=cargo&previous-version=0.1.1&new-version=0.1.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-06-10 11:49:15 -04:00
Martin Robinson
af0bb1f728 animations: Don't always re-resolve the node style
When animations and transitions change don't always re-resolve node
style, just replace the animation and transition rules and re-cascade.
2020-06-10 17:03:58 +02:00
Josh Matthews
4a1fb14982 Don't force using the preview Windows MixedReality runtime. 2020-06-10 10:44:07 -04:00
Josh Matthews
725baaab78 Update minimum version of Windows MixedReality runtime. 2020-06-10 10:42:58 -04:00
Josh Matthews
55fee1fb35 canvas: Don't panic if webrender isn't reachable. 2020-06-10 10:40:28 -04:00
bors-servo
04fae2fdca
Auto merge of #26849 - servo-wpt-sync:wpt_update_10-06-2020, r=servo-wpt-sync
Sync WPT with upstream (10-06-2020)

Automated downstream sync of changes from upstream as of 10-06-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-06-10 07:59:34 -04:00
WPT Sync Bot
7ef7c78b1b Update web-platform-tests to revision 57727f82763c80c89a94593a7b0960abcf4daa4a 2020-06-10 10:42:31 +00:00
dependabot-preview[bot]
1b645ae797
build(deps): bump cocoa from 0.18.4 to 0.18.5
Bumps [cocoa](https://github.com/servo/core-foundation-rs) from 0.18.4 to 0.18.5.
- [Release notes](https://github.com/servo/core-foundation-rs/releases)
- [Commits](https://github.com/servo/core-foundation-rs/commits/cocoa-v0.18.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:10:44 +00:00
dependabot-preview[bot]
dbc35b26f0
build(deps): bump tokio-sync from 0.1.6 to 0.1.8
Bumps [tokio-sync](https://github.com/tokio-rs/tokio) from 0.1.6 to 0.1.8.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.8/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-sync-0.1.6...tokio-0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:10:01 +00:00
dependabot-preview[bot]
c53c5816ad
build(deps): bump sha-1 from 0.8.1 to 0.8.2
Bumps [sha-1](https://github.com/RustCrypto/hashes) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha1-v0.8.1...sha1-v0.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:09:43 +00:00
dependabot-preview[bot]
69118f1969
build(deps): bump digest from 0.8.0 to 0.8.1
Bumps [digest](https://github.com/RustCrypto/traits) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/RustCrypto/traits/releases)
- [Commits](https://github.com/RustCrypto/traits/compare/digest-v0.8.0...digest-v0.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:08:05 +00:00
dependabot-preview[bot]
3ff416e065
build(deps): bump syn from 1.0.27 to 1.0.31
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.27 to 1.0.31.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.27...1.0.31)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:07:42 +00:00
dependabot-preview[bot]
88cf89f670
build(deps): bump futures-channel from 0.3.4 to 0.3.5
Bumps [futures-channel](https://github.com/rust-lang/futures-rs) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.4...0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 08:06:23 +00:00
bors-servo
60ee588c71
Auto merge of #26793 - paulrouget:prefAPI, r=Manishearth
Pref api

Needs a bit more tweaking, but this should be ready soon.

Fix #26445

<img width="991" alt="Screen Shot 2020-06-03 at 14 59 57" src="https://user-images.githubusercontent.com/373579/83848819-b538ca00-a70e-11ea-9da8-67c9c2fe60d8.png">
2020-06-10 03:46:21 -04:00
Paul Rouget
0d8afd9f0c c++ headers cleanup 2020-06-10 09:38:14 +02:00
Paul Rouget
dd2ebce57e UWP: Preference panel 2020-06-10 09:38:14 +02:00
Paul Rouget
479afcfb8e Embedding API: prefs r/w 2020-06-10 09:38:13 +02:00
Simon Sapin
08f008a011 Use the writing mode of the containing block when accessing CSS properties
… and converting them to flow-relative geometric values.

These values are almost always used to size and position a fragment within its containing block, so using the mode of the containing block seems more correct.

Note that the `writing-mode` and `direction` properties are disabled in Servo at the moment, so this PR by itself should have no effect: the writing mode of an element is always the same of that of its containing block since they’re both horizontal rtl.
2020-06-10 09:03:18 +02:00