Commit graph

42184 commits

Author SHA1 Message Date
Josh Matthews
b7a640b517 net: Treat SSL handshake errors differently from other hyper errors. 2020-06-09 15:03:18 -04:00
bors-servo
cb4e3cb16a
Auto merge of #26758 - jdm:stacking-context-transform-zero, r=mrobinson
Don't create empty stacking contexts in display lists

A recent change to euclid exposed that our display lists can contain Rects that contain NaN values. These NaNs originate from creating stacking contexts with transforms that scale the horizontal or vertical dimensions to 0. WebRender isn't prepared to handle these, so we need to not produce these empty stacking contexts when building the display list.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26592 and fix #26590
- [x] There are tests for these changes
2020-06-09 13:37:30 -04:00
Josh Matthews
c88bea8d93 Update mix-blend-mode reftest results. 2020-06-09 13:05:16 -04:00
Josh Matthews
abc689e034 Remove unecessary webrender document from layout. 2020-06-09 13:05:16 -04:00
Josh Matthews
75efaa95f5 Proxy all WR interactions for layout/font/script/canvas threads to the compositor
thread. There is now a single RenderApi that is used, and all transactions are serialized
through the compositor.
2020-06-09 13:05:16 -04:00
bors-servo
83e2e7803d
Auto merge of #26824 - servo:dependabot/cargo/futures-task-0.3.5, r=jdm
build(deps): bump futures-task from 0.3.4 to 0.3.5

Bumps [futures-task](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-task'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-task'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-task&package-manager=cargo&previous-version=0.3.4&new-version=0.3.5)](https://dependabot.com/compatibility-score/?dependency-name=futures-task&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-09 12:39:58 -04:00
Josh Matthews
2a83b80eed Add reftest for empty stacking contexts. 2020-06-09 11:30:18 -04:00
Josh Matthews
56ff8f41e0 layout2020: Don't create stacking contexts for empty fragments and boxes. 2020-06-09 11:30:17 -04:00
Josh Matthews
08427ccee5 layout: Don't built stacking contexts or display lists for empty blocks. 2020-06-09 11:27:23 -04:00
bors-servo
8e3d12bfcb
Auto merge of #26794 - gterzian:update_xhr, r=jdm
Update XHR send to use XMLHttpRequestBodyInit

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

FIX #26723

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (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-06-09 10:25:11 -04:00
Anthony Ramine
e975d24c4b Store abspos boxes in a RefCell too
We want to mutate them when lazily computing their content sizes, but they
are behind an Arc for the hoisting infra, so it also needs its own layer
of inner mutability.
2020-06-09 15:13:18 +02:00
bors-servo
e044d8582c
Auto merge of #26832 - servo:layout-2020-borrow-mut-independent-contexts, r=SimonSapin
Mutably borrow to do layout of independent formatting contexts

We want to compute content sizes on demand rather than eagerly so we will
need to mutate the independent formatting contexts that own the content sizes.
2020-06-09 08:00:39 -04:00
Anthony Ramine
d9e87f2eb1 Mutably borrow to do layout of independent formatting contexts
We want to compute content sizes on demand rather than eagerly so we will
need to mutate the independent formatting contexts that own the content sizes.
2020-06-09 13:44:43 +02:00
WPT Sync Bot
2a42c14544 Update web-platform-tests to revision a5cb9597799c5f9bf0a809006161a0c50055828f 2020-06-09 10:26:43 +00:00
Martin Robinson
364235ac0c 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.
2020-06-09 11:41:07 +02:00
dependabot-preview[bot]
3830f1946e
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.
- [Release notes](https://github.com/SSheldon/rust-objc-exception/releases)
- [Commits](https://github.com/SSheldon/rust-objc-exception/compare/0.1.1...0.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 08:07:07 +00:00
dependabot-preview[bot]
ec9775884d
build(deps): bump brotli-decompressor from 2.3.0 to 2.3.1
Bumps [brotli-decompressor](https://github.com/dropbox/rust-brotli-decompressor) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/dropbox/rust-brotli-decompressor/releases)
- [Commits](https://github.com/dropbox/rust-brotli-decompressor/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-09 08:06:04 +00:00
dependabot-preview[bot]
3e1923b9bd
build(deps): bump futures-task from 0.3.4 to 0.3.5
Bumps [futures-task](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-09 08:05:36 +00:00
Gregory Terzian
a97d2e3b9b xhr: update test-suite to reflect use of XMLHttpRequestBodyInit 2020-06-09 13:17:24 +08:00
bors-servo
8b56b7a3c2
Auto merge of #26818 - servo:dependabot/cargo/core-text-13.3.2, r=jdm
build(deps): bump core-text from 13.2.0 to 13.3.2

Bumps [core-text](https://github.com/servo/core-foundation-rs) from 13.2.0 to 13.3.2.
<details>
<summary>Commits</summary>
<ul>
<li><a href="b2b92f8bce"><code>b2b92f8</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/core-foundation-rs/issues/348">#348</a> - servo:backport-347, r=SimonSapin</li>
<li><a href="e0ec957e37"><code>e0ec957</code></a> Properly make core_text::font::Font be Send and Sync</li>
<li><a href="70aca43f2f"><code>70aca43</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/core-foundation-rs/issues/341">#341</a> - SSheldon:cocoa_version_0.19.1, r=jdm</li>
<li><a href="e65c9b2939"><code>e65c9b2</code></a> Update cocoa version to 0.19.1</li>
<li><a href="f7c2096ad0"><code>f7c2096</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/core-foundation-rs/issues/340">#340</a> - SSheldon:fix_omitted_ret_types, r=jdm</li>
<li><a href="0a1b0d6f1b"><code>0a1b0d6</code></a> Fixes so the compiler can infer msg_send! return types</li>
<li><a href="c9b0702dc0"><code>c9b0702</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/core-foundation-rs/issues/337">#337</a> - wezm:CFDataGetBytes, r=jdm</li>
<li><a href="b2a4a0e566"><code>b2a4a0e</code></a> Add CFDataGetBytes to CFData bindings</li>
<li><a href="6143ce111e"><code>6143ce1</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/core-foundation-rs/issues/336">#336</a> - wezm:copy-available-tables, r=jdm</li>
<li><a href="bc20614a3b"><code>bc20614</code></a> Add get_available_font_tables to CTFont</li>
<li>Additional commits viewable in <a href="https://github.com/servo/core-foundation-rs/compare/core-text-v13.2.0...core-text-v13.3.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=core-text&package-manager=cargo&previous-version=13.2.0&new-version=13.3.2)](https://dependabot.com/compatibility-score/?dependency-name=core-text&package-manager=cargo&previous-version=13.2.0&new-version=13.3.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-08 15:38:24 -04:00
bors-servo
a6016b3a62
Auto merge of #26817 - servo:dependabot/cargo/futures-core-0.3.5, r=jdm
build(deps): bump futures-core from 0.3.4 to 0.3.5

Bumps [futures-core](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-core'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-core'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-core&package-manager=cargo&previous-version=0.3.4&new-version=0.3.5)](https://dependabot.com/compatibility-score/?dependency-name=futures-core&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-08 12:10:33 -04:00
bors-servo
d71df9c4a4
Auto merge of #26816 - servo:dependabot/cargo/serde_json-1.0.53, r=jdm
build(deps): bump serde_json from 1.0.27 to 1.0.53

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.27 to 1.0.53.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.53</h2>
<ul>
<li>Reduce unhelpful indentation in the {:#?} format of serde_json::Value</li>
<li>Remove some unnecessary runtime checks from Serializer::collect_str</li>
</ul>
<h2>v1.0.52</h2>
<ul>
<li>Add <a href="https://docs.rs/serde_json/1/serde_json/value/fn.to_raw_value.html">serde_json::value::to_raw_value</a> to convert a serializable value to Box&lt;RawValue&gt; (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/658">#658</a>, thanks <a href="https://github.com/jplatte">@jplatte</a>)</li>
</ul>
<h2>v1.0.51</h2>
<ul>
<li>Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/647">#647</a>)</li>
<li>Add FusedIterator impls for StreamDeserializer and for Map's various iterators</li>
</ul>
<h2>v1.0.50</h2>
<ul>
<li>Implement Eq for Value, Map, Number (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/640">#640</a>, thanks <a href="https://github.com/smarnach">@smarnach</a>)</li>
</ul>
<h2>v1.0.49</h2>
<ul>
<li>Improve error message when neither &quot;std&quot; nor &quot;alloc&quot; feature is enabled (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/643">#643</a>)</li>
</ul>
<h2>v1.0.48</h2>
<ul>
<li>Add <code>serde_json::value::Serializer</code> which produces a <code>Value</code> as output (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/621">#621</a>, thanks <a href="https://github.com/sdleffler">@sdleffler</a>)</li>
</ul>
<h2>v1.0.47</h2>
<ul>
<li>Raise serde requirement to 1.0.100+ for the necessary no-std traits (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/617">#617</a>, thanks <a href="https://github.com/Xanewok">@Xanewok</a>)</li>
</ul>
<h2>v1.0.46</h2>
<ul>
<li>Serialize JSON map entries using serialize_entry instead of serialize_key + serialize_value to support transcoding to XML (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/614">#614</a>, thanks <a href="https://github.com/jmfiaschi">@jmfiaschi</a>)</li>
</ul>
<h2>v1.0.45</h2>
<ul>
<li>
<p>Add no-std support (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/606">#606</a>, thanks <a href="https://github.com/Xanewok">@Xanewok</a>)</p>
<pre lang="toml"><code>[dependencies]
serde_json = { version = &quot;1.0.45&quot;, default-features = false, features = [&quot;alloc&quot;] }
</code></pre>
</li>
</ul>
<h2>v1.0.44</h2>
<ul>
<li>Implement IntoDeserializer for serde_json::Value to allow deserializing from types like <code>HashMap&lt;String, Value&gt;</code> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/591">#591</a>)</li>
</ul>
<h2>v1.0.43</h2>
<ul>
<li>Declare accurate minimum required version of indexmap crate when preserve-order feature is enabled (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/590">#590</a>, thanks <a href="https://github.com/nlordell">@nlordell</a>)</li>
</ul>
<h2>v1.0.42</h2>
<ul>
<li>Add <code>impl From&lt;()&gt; for Value</code> which produces Value::Null (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/585">#585</a>, thanks <a href="https://github.com/Nilix007">@Nilix007</a>)</li>
</ul>
<h2>v1.0.41</h2>
<ul>
<li>Documentation improvements (thanks <a href="https://github.com/est31">@est31</a> and <a href="https://github.com/yankuu">@yankuu</a>)</li>
</ul>
<h2>v1.0.40</h2>
<ul>
<li>Return correct EOF error type on cut-off decimal numbers (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/525">#525</a>, thanks <a href="https://github.com/17dec">@17dec</a>)</li>
</ul>
<h2>v1.0.39</h2>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5c3711e433"><code>5c3711e</code></a> Release 1.0.53</li>
<li><a href="6ca3752e9d"><code>6ca3752</code></a> Downgrade some unnecessary runtime asserts to debug_assert</li>
<li><a href="eb383c08b2"><code>eb383c0</code></a> Update arbitrary_precision Debug impl of Number to match normal one</li>
<li><a href="351d847e17"><code>351d847</code></a> Omit a layer of unnecessary nesting from Debug impl</li>
<li><a href="baae6d9306"><code>baae6d9</code></a> Add test for {:#?} format of Value</li>
<li><a href="800a8d58a9"><code>800a8d5</code></a> Update build status badge to GitHub Actions</li>
<li><a href="cb40c10e3f"><code>cb40c10</code></a> Remove AppVeyor configuration</li>
<li><a href="f255356c65"><code>f255356</code></a> Add Windows CI in GitHub Actions</li>
<li><a href="edb1c31dfb"><code>edb1c31</code></a> Avoid repeating slow doctests and compiletests</li>
<li><a href="dffbe4488f"><code>dffbe44</code></a> Remove Travis configuration</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.27...v1.0.53">compare view</a></li>
</ul>
</details>
<br />

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

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-08 11:04:05 -04:00
bors-servo
dce16b70fc
Auto merge of #26812 - servo:dependabot/cargo/gstreamer-app-sys-0.8.1, r=jdm
build(deps): bump gstreamer-app-sys from 0.8.0 to 0.8.1

Bumps gstreamer-app-sys from 0.8.0 to 0.8.1.

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=gstreamer-app-sys&package-manager=cargo&previous-version=0.8.0&new-version=0.8.1)](https://dependabot.com/compatibility-score/?dependency-name=gstreamer-app-sys&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-08 09:28:36 -04:00
dependabot-preview[bot]
eee7bc69ff
build(deps): bump core-text from 13.2.0 to 13.3.2
Bumps [core-text](https://github.com/servo/core-foundation-rs) from 13.2.0 to 13.3.2.
- [Release notes](https://github.com/servo/core-foundation-rs/releases)
- [Commits](https://github.com/servo/core-foundation-rs/compare/core-text-v13.2.0...core-text-v13.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:25:54 +00:00
dependabot-preview[bot]
c4a61e33a2
build(deps): bump futures-core from 0.3.4 to 0.3.5
Bumps [futures-core](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-08 08:25:30 +00:00
dependabot-preview[bot]
26347beee3
build(deps): bump serde_json from 1.0.27 to 1.0.53
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.27 to 1.0.53.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.27...v1.0.53)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:25:04 +00:00
dependabot-preview[bot]
8f3f5039e4
build(deps): bump gstreamer-app-sys from 0.8.0 to 0.8.1
Bumps gstreamer-app-sys from 0.8.0 to 0.8.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 08:22:40 +00:00
bors-servo
0645d8c36d
Auto merge of #26805 - mrobinson:add-pseudo-tag-to-layout-2020, r=SimonSapin
layout_2020: Tag fragments with their pseudo content type

This will allow us to answer queries and properly handle animations in
the future for fragments generated for pseudo content.

<!-- 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-06 13:26:19 -04:00
bors-servo
51fd0e83e9
Auto merge of #26720 - camelid:real-version-hash, r=SimonSapin
Show the real commit hash for `./servo --version`, not the bundle hash

<!-- Please describe your changes on the following line: -->
Show the real commit hash of the build when run on a bundle commit, rather than showing the bundle's hash.

It gets the real commit hash by extracting it from the bundle commit message, which has the form `Shallow version of commit {sha1}`, where `{sha1}` is the real commit hash.

---
<!-- 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 (edits Python code, no Rust changes)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #26386 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this only changes infrastructure

<!-- 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-06 11:40:22 -04:00
Martin Robinson
89855afa4d layout_2020: Tag fragments with their pseudo content type
This will allow us to answer queries and properly handle animations in
the future for fragments generated for pseudo content.
2020-06-06 17:25:08 +02:00
bors-servo
2f6efcbc3a
Auto merge of #26797 - servo:dependabot/cargo/openssl-0.10.29, r=jdm
build(deps): bump openssl from 0.10.26 to 0.10.29

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.26 to 0.10.29.
<details>
<summary>Commits</summary>
<ul>
<li><a href="d47dc792ce"><code>d47dc79</code></a> Release openssl v0.10.29</li>
<li><a href="adde92879f"><code>adde928</code></a> Release openssl-sys v0.9.55</li>
<li><a href="847eeb16cb"><code>847eeb1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/sfackler/rust-openssl/issues/1257">#1257</a> from sfackler/set-cert-store</li>
<li><a href="1ed175f85f"><code>1ed175f</code></a> FIx build</li>
<li><a href="df03bbf5b8"><code>df03bbf</code></a> Deal with upstream archive location change</li>
<li><a href="40e66bab6b"><code>40e66ba</code></a> Add SslContextBuilder::set_cert_store</li>
<li><a href="b027f16031"><code>b027f16</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/sfackler/rust-openssl/issues/1253">#1253</a> from coolreader18/no-vendor-env-var</li>
<li><a href="9c8e7cdd23"><code>9c8e7cd</code></a> Bump CI version</li>
<li><a href="517fc81d40"><code>517fc81</code></a> Update openssl/src/lib.rs</li>
<li><a href="d6772960a3"><code>d677296</code></a> Add documentation for OPENSSL_NO_VENDOR</li>
<li>Additional commits viewable in <a href="https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.26...openssl-v0.10.29">compare view</a></li>
</ul>
</details>
<br />

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

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-05 18:52:07 -04:00
bors-servo
937d9455cf
Auto merge of #26799 - servo:dependabot/cargo/ref_slice-1.2.0, r=jdm
build(deps): bump ref_slice from 1.1.1 to 1.2.0

Bumps [ref_slice](https://github.com/steveklabnik/ref_slice) from 1.1.1 to 1.2.0.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/steveklabnik/ref_slice/commits">compare view</a></li>
</ul>
</details>
<br />

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

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-05 15:58:03 -04:00
bors-servo
cc18a2961d
Auto merge of #26796 - servo:dependabot/cargo/indexmap-1.4.0, r=jdm
build(deps): bump indexmap from 1.3.2 to 1.4.0

Bumps [indexmap](https://github.com/bluss/indexmap) from 1.3.2 to 1.4.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="da1835123c"><code>da18351</code></a> 1.4.0</li>
<li><a href="6e929fa728"><code>6e929fa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/124">#124</a> from cuviper/rerun_path</li>
<li><a href="b6c596319b"><code>b6c5963</code></a> Use a plain relative path for autocfg::rerun_path</li>
<li><a href="e603553039"><code>e603553</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/120">#120</a> from bluss/get-index-of</li>
<li><a href="f2142d99bd"><code>f2142d9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/121">#121</a> from bluss/update-dev-version</li>
<li><a href="42affec83e"><code>42affec</code></a> FIX: Update benchmarks for rand 0.7</li>
<li><a href="155f6b2d6a"><code>155f6b2</code></a> Merge PR <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/112">#112</a></li>
<li><a href="a0da5e1bce"><code>a0da5e1</code></a> MAINT: Update rust version for dev/CI to 1.32</li>
<li><a href="1b54c5ecef"><code>1b54c5e</code></a> FIX: Rename entry_index to get_index_of</li>
<li><a href="27f384d560"><code>27f384d</code></a> Remove unused parens</li>
<li>Additional commits viewable in <a href="https://github.com/bluss/indexmap/compare/1.3.2...1.4.0">compare view</a></li>
</ul>
</details>
<br />

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

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-05 13:58:44 -04:00
bors-servo
17ac381513
Auto merge of #26772 - jdm:wpt-test-types, r=manishearth
Run only a supported set of WPT test types by default.

wptrunner introduced a new test type for print reftests, and by default any unsupported type causes the test runner to report an unexpected error, even if none of those tests are run. These changes avoid similar breakage by limiting the default test types to ones that are supported by our test runners.
2020-06-05 12:12:33 -04:00
bors-servo
00b57b4fd9
Auto merge of #26792 - servo:static-mut, r=nox
Replace `static mut` with `const`, `static`+`AtomicPtr`, or `static`+`UnsafeCell`

Fixes https://github.com/servo/servo/issues/26550
2020-06-05 09:56:41 -04:00
bors-servo
7495b92992
Auto merge of #26795 - servo:dependabot/cargo/getrandom-0.1.14, r=jdm
build(deps): bump getrandom from 0.1.12 to 0.1.14

Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.1.12 to 0.1.14.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p>
<blockquote>
<h2>[0.1.14] - 2020-01-07</h2>
<h3>Changed</h3>
<ul>
<li>Remove use of spin-locks in the <code>use_file</code> module. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/125">#125</a></li>
<li>Update <code>wasi</code> to v0.9. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a></li>
<li>Do not read errno value on DragonFlyBSD to fix compilation failure. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/125">#125</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/125">rust-random/getrandom#125</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/126">rust-random/getrandom#126</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/129">rust-random/getrandom#129</a></p>
<h2>[0.1.13] - 2019-08-25</h2>
<h3>Added</h3>
<ul>
<li>VxWorks targets support. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>If zero-length slice is passed to the <code>getrandom</code> function, always return
<code>Ok(())</code> immediately without doing any calls to the underlying operating
system. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/104">#104</a></li>
<li>Use the <code>kern.arandom</code> sysctl on NetBSD. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Bump <code>cfg-if</code> minimum version from 0.1.0 to 0.1.2. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/112">#112</a></li>
<li>Typos and bad doc links. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/86">rust-random/getrandom#86</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/104">#104</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/104">rust-random/getrandom#104</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/112">#112</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/112">rust-random/getrandom#112</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/115">rust-random/getrandom#115</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/117">rust-random/getrandom#117</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="33b859bae1"><code>33b859b</code></a> Prepare release v0.1.14 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/128">#128</a>)</li>
<li><a href="c5e2025d2c"><code>c5e2025</code></a> util: Remove unused spin-lock interfaces</li>
<li><a href="46963aac74"><code>46963aa</code></a> use_file: Remove use of spin-locks</li>
<li><a href="245b5b2121"><code>245b5b2</code></a> util_libc: open_readonly shoud return a Result</li>
<li><a href="a913c9c673"><code>a913c9c</code></a> dragonfly: Don't try to read errno value (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a>)</li>
<li><a href="48781cd9ec"><code>48781cd</code></a> wasi: Update and Fix Travis failures (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a>)</li>
<li><a href="d661aa7e1b"><code>d661aa7</code></a> Prepare release v0.1.13 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/118">#118</a>)</li>
<li><a href="81bd43e5d6"><code>81bd43e</code></a> Fix typos and bad doc links. (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a>)</li>
<li><a href="9a385f1923"><code>9a385f1</code></a> Add VxWorks support (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a>)</li>
<li><a href="2fa1bbac80"><code>2fa1bba</code></a> Switch to using the arandom sysctl on NetBSD (same as FreeBSD). (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.14">compare view</a></li>
</ul>
</details>
<br />

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

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-05 08:53:26 -04:00
bors-servo
ec49ebb753
Auto merge of #26562 - mrobinson:reanimator-style, r=jdm,emilio
Improvements to animation keyframe computation

This pull request contains two changes:

**Caching computed keyframes between animation changes**:
Instead of recomputing keyframe data for every tick of an animation,
cache the computed values when animations change. In addition to being
more efficient, this will allow us to return animation rules as property
declarations because we don't need to consult the final style to produce
them.

**Better computation of keyframe data**:
Instead of naively using `apply_declarations` to compute the style of
each keyframe, use an approach more like Gecko's where we carefully
walk through the animation keyframes and try to extract `AnimationValue`s
for each computed keyframe. In this approach we respect the order with
which the properties are set in the keyframe source and try to deal with
CSS custom properties.

---
<!-- 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-05 07:42:31 -04:00
Martin Robinson
b875f14e86 Better computation of animation keyframes
This begins to address #26625 by properly applying CSS variables during
keyframe computation and no longer using `apply_declarations`. Instead,
walk the declarations, combining them into IntermediateComputedKeyframe,
maintaining declarations that modify CSS custom properties. Then compute
a set of AnimationValues for each keyframe and use those to produce
interpolated animation values.
2020-06-05 13:40:29 +02:00
Martin Robinson
83fa1b9eaa Cache animation computed values when animations change
Instead of recalculating the animation style every tick of an animation,
cache the computed values when animations change. In addition to being
more efficient, this will allow us to return animation rules as property
declarations because we don't need to consult the final style to produce
them.
2020-06-05 13:21:19 +02:00
dependabot-preview[bot]
1a16193dcf
build(deps): bump ref_slice from 1.1.1 to 1.2.0
Bumps [ref_slice](https://github.com/steveklabnik/ref_slice) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/steveklabnik/ref_slice/releases)
- [Commits](https://github.com/steveklabnik/ref_slice/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:16:59 +00:00
dependabot-preview[bot]
579068e362
build(deps): bump openssl from 0.10.26 to 0.10.29
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.26 to 0.10.29.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.26...openssl-v0.10.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:16:12 +00:00
dependabot-preview[bot]
9d4e6e2f01
build(deps): bump indexmap from 1.3.2 to 1.4.0
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:15:45 +00:00
dependabot-preview[bot]
3c13fb7926
build(deps): bump getrandom from 0.1.12 to 0.1.14
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:15:19 +00:00
Gregory Terzian
dc690653da update XHR send to use XMLHttpRequestBodyInit 2020-06-05 15:08:57 +08:00
bors-servo
7df4655b60
Auto merge of #26791 - camelid:patch-1, r=jdm
Replace IRC link with Matrix

<!-- Please describe your changes on the following line: -->
Replace the IRC link in `CONTRIBUTING.md` with a link to the Matrix room.

Same as servo/servo-starters#55.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors (only a docs change)
- [ ] `./mach test-tidy` does not report any errors (only a docs change)
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is only a docs change

<!-- 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-04 23:10:47 -04:00
Camelid
e54c11a97b
Replace IRC link with Matrix 2020-06-04 19:48:11 -07:00
bors-servo
6963b72124
Auto merge of #26785 - servo:dependabot/cargo/gstreamer-0.15.6, r=jdm
build(deps): bump gstreamer from 0.15.5 to 0.15.6

Bumps gstreamer from 0.15.5 to 0.15.6.

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

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-04 21:59:29 -04:00
bors-servo
bce6eccced
Auto merge of #26790 - jdm:fewer-generics, r=SimonSapin
Reduce scope of generic code in script

Combined, these changes account for almost 100k lines of generated code in a debug build for the script crate.

---
- [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
2020-06-04 20:55:08 -04:00
Josh Matthews
a5d0e0b1c1 Extract some thread local use from generic code. 2020-06-04 20:54:36 -04:00
Josh Matthews
ec0b5d55d7 Move thread state checks out of generic methods to reduce generated code duplication. 2020-06-04 20:54:36 -04:00