Commit graph

41340 commits

Author SHA1 Message Date
Josh Matthews
22c0ba19d3 Update mozjs for better Window builds. 2020-04-22 10:09:16 -04:00
bors-servo
e6b3090f38
Auto merge of #26260 - szeged:mmatyas__webgl_fix_invalidatesubfb, r=jdm
Fix InvalidateSubFramebuffer error handling

The WebGL2 InvalidateSubFramebuffer function should generate INVALID_VALUE when width or height is negative.

See [OpenGL ES 3.0.4 §4.5](https://www.khronos.org/registry/OpenGL/specs/es/3.0/es_spec_3.0.pdf#nameddest=section-4.5)

The remaining test cases depend on BlitFramebuffer, which is not implemented yet.

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

cc @jdm @zakorgy

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes may fix #20529 *
- [x] There are tests for these changes

\* InvalidateSubFramebuffer was added earlier, it just wasn't closed back then. There seems to be a Mac specific issue there too.

<!-- 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-04-22 08:23:18 -04:00
Mátyás Mustoha
a90f034976 Fix InvalidateSubFramebuffer error handling
The WebGL2 InvalidateSubFramebuffer function should generate
INVALID_VALUE when width or height is negative.
2020-04-22 12:45:56 +02:00
bors-servo
e69adfdd7a
Auto merge of #26250 - servo:dependabot/cargo/sparkle-0.1.23, r=jdm
Bump sparkle from 0.1.22 to 0.1.23

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

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

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)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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-04-22 03:46:22 -04:00
bors-servo
26b7a48aa9
Auto merge of #26246 - servo:dependabot/cargo/gst-plugin-version-helper-0.2.0, r=Manishearth
Bump gst-plugin-version-helper from 0.1.0 to 0.2.0

Bumps gst-plugin-version-helper from 0.1.0 to 0.2.0.

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=gst-plugin-version-helper&package-manager=cargo&previous-version=0.1.0&new-version=0.2.0)](https://dependabot.com/compatibility-score/?dependency-name=gst-plugin-version-helper&package-manager=cargo&previous-version=0.1.0&new-version=0.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)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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-04-22 03:33:09 -04:00
bors-servo
f54be87114
Auto merge of #26249 - servo:dependabot/cargo/cssparser-0.27.2, r=jdm
Bump cssparser from 0.27.1 to 0.27.2

Bumps [cssparser](https://github.com/servo/rust-cssparser) from 0.27.1 to 0.27.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/servo/rust-cssparser/commits/v0.27.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=cssparser&package-manager=cargo&previous-version=0.27.1&new-version=0.27.2)](https://dependabot.com/compatibility-score/?dependency-name=cssparser&package-manager=cargo&previous-version=0.27.1&new-version=0.27.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)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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-04-22 00:23:42 -04:00
dependabot-preview[bot]
66efb534fc
Bump sparkle from 0.1.22 to 0.1.23
Bumps [sparkle](https://github.com/servo/sparkle) from 0.1.22 to 0.1.23.
- [Release notes](https://github.com/servo/sparkle/releases)
- [Commits](https://github.com/servo/sparkle/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 01:48:20 +00:00
dependabot-preview[bot]
808b6c3510
Bump cssparser from 0.27.1 to 0.27.2
Bumps [cssparser](https://github.com/servo/rust-cssparser) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/servo/rust-cssparser/releases)
- [Commits](https://github.com/servo/rust-cssparser/commits/v0.27.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 01:48:20 +00:00
bors-servo
0901e53dbc
Auto merge of #26248 - servo:dependabot/cargo/smallvec-1.2.0, r=jdm
Bump smallvec from 0.6.10 to 1.2.0

Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.10 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/servo/rust-smallvec/releases">smallvec's releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<ul>
<li><code>IntoIter</code> now implements <code>Debug</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/196">#196</a>).</li>
<li><code>smallvec!</code> macro is now easier to use in <code>no_std</code> contexts where the <code>vec!</code> macro isn't automatically imported (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/198">#198</a>).</li>
</ul>
<h2>v1.1.0</h2>
<ul>
<li>Added new method <code>SmallVec::into_boxed_slice</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/190">#190</a>).</li>
<li>Added new methods <code>IntoIter::as_slice</code> and <code>as_mut_slice</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/182">#182</a>).</li>
<li><code>IntoIter</code> now implements <code>Clone</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/192">#192</a>).</li>
<li>Improved documentation and testing (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/186">#186</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/189">#189</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/193">#193</a>).</li>
<li>Minor code cleanups (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/176">#176</a>).</li>
</ul>
<h2>v1.0.0</h2>
<ul>
<li>Requires Rust 1.36 or later.</li>
<li>[breaking change] Use <code>MaybeUninit</code> to avoid possible undefined behavior (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/162">#162</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/170">#170</a>).</li>
<li>[breaking change] The <code>drain</code> method now takes a range argument, just like the standard <code>Vec::drain</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/145">#145</a>).</li>
<li>[breaking change] Remove the <code>unreachable</code> function and replace it with the new standard <code>unreachable_unchecked</code> function (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/164">#164</a>).</li>
<li>[breaking change] Use <code>no_std</code> by default. This crate depends only on <code>core</code> and <code>alloc</code> by default. If the optional <code>write</code> feature is enabled then it depends on <code>std</code> so that <code>SmallVec&lt;[u8;_]&gt;</code> can implement the <code>std::io::Write</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/173">#173</a>).</li>
<li>[breaking change] Remove the deprecated <code>VecLike</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/165">#165</a>).</li>
<li>Add support for 96-element small vectors, <code>SmallVec&lt;[T; 96]&gt;</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/163">#163</a>).</li>
<li>Iterators now implement <code>FusedIterator</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/172">#172</a>).</li>
<li>Indexing now uses the standard <code>SliceIndex</code> trait (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/166">#166</a>).</li>
<li>Add automatic fuzz testing and MIRI testing (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/168">#168</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/162">#162</a>).</li>
<li>Update syntax and formatting to Rust 2018 standard (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/174">#174</a>, <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/167">#167</a>).</li>
</ul>
<h2>v0.6.13</h2>
<ul>
<li>Use the <code>maybe-unit</code> crate in place of soon-to-be-deprecated <code>std::mem::uninitialized</code> (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/180">#180</a>). When built with Rust 1.36 or later, this fixes a source of undefined behavior. It also fixes deprecation warnings in Rust 1.39 and later, and test failures when run in MIRI. In Rust 1.35 and earlier it provides some safety improvements but does not completely eliminate undefined behavior. (However, we are not aware of any cases where the undefined behavior causes bugs in practice in those toolchains.)</li>
</ul>
<h2>v0.6.12</h2>
<ul>
<li>Move code using <code>default fn</code> into its own module (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/161">#161</a>).</li>
</ul>
<h2>v0.6.11</h2>
<ul>
<li>The unstable <code>alloc</code> feature is no longer needed.  This crate can now build with the <code>std</code> feature disabled on stable Rust 1.36 or later (<a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/159">#159</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="08b82495c0"><code>08b8249</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/199">#199</a> - mbrubeck:bump, r=emilio</li>
<li><a href="04d54bd9ca"><code>04d54bd</code></a> Version 1.2.0</li>
<li><a href="ea0dbc89c5"><code>ea0dbc8</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/198">#198</a> - mbrubeck:macro, r=jdm</li>
<li><a href="74e9319b47"><code>74e9319</code></a> Use full path to vec! in smallvec! macro</li>
<li><a href="6e61239a2a"><code>6e61239</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/196">#196</a> - Nemo157:intoiter-debug, r=mbrubeck</li>
<li><a href="a4ed1b854f"><code>a4ed1b8</code></a> impl Debug for IntoIter</li>
<li><a href="34d7b8d8e2"><code>34d7b8d</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/193">#193</a> - mbrubeck:bump, r=emilio</li>
<li><a href="436dedbd50"><code>436dedb</code></a> Version 1.1.0</li>
<li><a href="19048d5270"><code>19048d5</code></a> Add a simple example to the README</li>
<li><a href="941d6aae0f"><code>941d6aa</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/rust-smallvec/issues/192">#192</a> - L0uisc:clone-into-iter, r=mbrubeck</li>
<li>Additional commits viewable in <a href="https://github.com/servo/rust-smallvec/compare/v0.6.10...v1.2.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=smallvec&package-manager=cargo&previous-version=0.6.10&new-version=1.2.0)](https://dependabot.com/compatibility-score/?dependency-name=smallvec&package-manager=cargo&previous-version=0.6.10&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)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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-04-21 21:21:59 -04:00
bors-servo
c88a972982
Auto merge of #26247 - servo:dependabot/cargo/servo-media-62cd58a, r=jdm
Bump servo-media from `03c7420` to `62cd58a`

Bumps [servo-media](https://github.com/servo/media) from `03c7420` to `62cd58a`.
<details>
<summary>Commits</summary>
<ul>
<li><a href="62cd58a94c"><code>62cd58a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/servo/media/issues/335">#335</a> from khodzha/323</li>
<li><a href="9c76811761"><code>9c76811</code></a> removed doc comments on macro invocations</li>
<li><a href="cc9fb6211f"><code>cc9fb62</code></a> removed braces to avoid -D unused-braces failing build</li>
<li><a href="1a81e6e319"><code>1a81e6e</code></a> return err if ServoMedia wasnt initialized</li>
<li><a href="d7cce49d02"><code>d7cce49</code></a> Auto merge of <a href="https://github-redirect.dependabot.com/servo/media/issues/334">#334</a> - Darkspirit:https, r=jdm</li>
<li><a href="786b7bc78e"><code>786b7bc</code></a> Replace http with https</li>
<li>See full diff in <a href="03c7420794...62cd58a94c">compare view</a></li>
</ul>
</details>
<br />

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)

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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-04-21 19:38:26 -04:00
dependabot-preview[bot]
d5c1f525d3
Bump smallvec from 0.6.10 to 1.2.0
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.10 to 1.2.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v0.6.10...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 20:42:45 +00:00
dependabot-preview[bot]
7c99465380
Bump servo-media from 03c7420 to 62cd58a
Bumps [servo-media](https://github.com/servo/media) from `03c7420` to `62cd58a`.
- [Release notes](https://github.com/servo/media/releases)
- [Commits](03c7420794...62cd58a94c)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 20:42:17 +00:00
dependabot-preview[bot]
f215f82d74
Bump gst-plugin-version-helper from 0.1.0 to 0.2.0
Bumps gst-plugin-version-helper from 0.1.0 to 0.2.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-21 20:41:35 +00:00
bors-servo
b60c70bab6
Auto merge of #26241 - servo:graph, r=nox
Add a minimal alternative to `cargo graph`

I tried `cargo graph` and some of its successors, but didn’t manage to make them produce what I wanted (or in some cases make them work at all.)

This Python script reimplements similar functionality based on parsing the (JSON) output of `cargo metadata`.

Graphviz graphs can become hard to read very quickly as the number of nodes grows. Servo’s dependency graph is very large, so pruning as much as possible is important. This only shows `path` dependencies (that have their source in this repo), and can take a parameter to only show recursive dependencies of a given crate.

See https://github.com/servo/servo/issues/19422#issuecomment-617038366 for an example.

I find that `xdot` is best for visualization since it is interactive.

This script is not used by anything. I am making this PR only so that we have it somewhere in case it becomes useful again at some point.
2020-04-21 09:34:52 -04:00
bors-servo
354001a8dc
Auto merge of #26242 - servo-wpt-sync:wpt_update_21-04-2020, r=servo-wpt-sync
Sync WPT with upstream (21-04-2020)

Automated downstream sync of changes from upstream as of 21-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-21 09:24:31 -04:00
WPT Sync Bot
906e45aab0 Update web-platform-tests to revision 9a6026305062c90d84a567d81434010dde6c6c22 2020-04-21 11:23:54 +00:00
Simon Sapin
d2041e5b47 Add a minimal alternative to cargo graph
I tried `cargo graph` and some of its successors,
but didn’t manage to make them produce what I wanted
(or in some cases make them work at all.)

This Python script reimplements similar functionality
based on parsing the (JSON) output of `cargo metadata`.

Graphviz graphs can become hard to read very quickly as the number of nodes grows.
Servo’s dependency graph is very large, so pruning as much as possible is important.
This only shows `path` dependencies (that have their source in this repo),
and can take a parameter to only show recursive dependencies of a given crate.

See https://github.com/servo/servo/issues/19422#issuecomment-617038366 for an example.

I find that `xdot` is best for visualization since it is interactive.

This script is not used by anything.
I am making this PR only so that we have it somewhere
in case it becomes useful again at some point.
2020-04-21 10:54:21 +02:00
bors-servo
c1f85c2a22
Auto merge of #26238 - servo:jdm-patch-36, r=Manishearth
Only enable RUST_BACKTRACE in non-mac build environment on CI.

This should help work around #26192 and would explain why we're still seeing it on CI after #26217.
2020-04-21 04:05:06 -04:00
bors-servo
d77bf218fa
Auto merge of #26239 - servo:unglutin, r=emilio
Remove glutin from the dependency graph
2020-04-21 00:41:52 -04:00
bors-servo
a5fe8f0e7a
Auto merge of #26237 - servo:unosmesa, r=asajeffrey
OSMesa is no longer a build dependency

Since https://github.com/servo/servo/pull/25853
2020-04-20 22:29:00 -04:00
bors-servo
61275d8d94
Auto merge of #25944 - Manishearth:update-angle-toolchain, r=jdm
Update UWP toolchain version

I've been working with these patches applied for a while, they seem to work great.

r? @jdm
2020-04-20 21:32:15 -04:00
Simon Sapin
50bd2508c0 Update gl_generator in simpleservo 2020-04-20 23:52:23 +02:00
Simon Sapin
1ff54253f9 Update webxr, remove glutin 2020-04-20 23:49:39 +02:00
Josh Matthews
53ed2ca0a0
Only enable RUST_BACKTRACE in non-mac build environment on CI. 2020-04-20 17:06:40 -04:00
Simon Sapin
f864697522 OSMesa is no longer a build dependency
Since https://github.com/servo/servo/pull/25853
2020-04-20 22:10:26 +02:00
Simon Sapin
bbed751bbc Remove use of webrender::RendererKind
It appears to be unused since 2017 with https://github.com/servo/webrender/pull/1587
CC https://bugzilla.mozilla.org/show_bug.cgi?id=1631579
2020-04-20 22:05:59 +02:00
bors-servo
4c8413d532
Auto merge of #26229 - servo:jdm-patch-36, r=SimonSapin
Use python binary to run multiprocess tests.

The python2 binary doesn't exist in the path on macOS. This change uses an existing python2 on macOS and whatever the default python version is on linux.
2020-04-20 15:02:26 -04:00
Josh Matthews
a3587e608e Pass a protocol to the TimedRunner constructor instead of a session. 2020-04-20 13:12:58 -04:00
Josh Matthews
34c3030ddd
Propagate pipe failure. 2020-04-20 12:02:41 -04:00
bors-servo
4c4f588178
Auto merge of #26227 - servo:layout-2020-rule-tree-threadsafe, r=emilio
Make the rule tree actually threadsafe

RuleTree::gc is now a safe method that any thread can call
at any time, and StrongRuleNode values can all be dropped
whenever their owner want to, on any thread.
2020-04-20 11:45:59 -04:00
Anthony Ramine
7f54d14904 Make the rule tree actually threadsafe
RuleTree::gc is now a safe method that any thread can call
at any time, and StrongRuleNode values can all be dropped
whenever their owner want to, on any thread.
2020-04-20 17:39:19 +02:00
Josh Matthews
2777134efb
Use python binary to run multiprocess tests. 2020-04-20 11:22:01 -04:00
bors-servo
5f5643e7aa
Auto merge of #26228 - servo-wpt-sync:wpt_update_20-04-2020, r=servo-wpt-sync
Sync WPT with upstream (20-04-2020)

Automated downstream sync of changes from upstream as of 20-04-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-04-20 08:24:30 -04:00
Anthony Ramine
1c2de5641c Change Map::get_or_insert_with to Map::entry 2020-04-20 14:17:14 +02:00
WPT Sync Bot
10112eddce Update web-platform-tests to revision 9b5bdedc2ad7797a6b99895157aeaa2b3a2d61e6 2020-04-20 11:12:41 +00:00
Manish Goregaokar
3e8a01f5a2 Retarget solution to 10.0.18362 2020-04-19 22:50:31 -07:00
bors-servo
99cd30eaad
Auto merge of #26171 - Manishearth:hittest, r=asajeffrey
Implement hit testing API

Depends on https://github.com/servo/webxr/pull/149 , https://github.com/servo/servo/pull/26170

This implements non-transient hit tests.

The tests that do not pass are due to https://github.com/web-platform-tests/wpt/issues/22898 , https://github.com/web-platform-tests/wpt/issues/22900, https://github.com/web-platform-tests/wpt/issues/22901 , and https://github.com/immersive-web/hit-test/issues/86
2020-04-20 00:30:46 -04:00
Manish Goregaokar
2a579668f5 Update interfaces.html test 2020-04-19 20:29:14 -07:00
Manish Goregaokar
9659243e72 Update dependencies to dedup autocfg 2020-04-19 20:29:14 -07:00
Manish Goregaokar
30cd89d2d8 Add feature gating for hit tests 2020-04-19 20:29:14 -07:00
Manish Goregaokar
1b07b77323 Add XRSession::requestHitTestSource() 2020-04-19 20:29:14 -07:00
Manish Goregaokar
f1d6a89150 Add XRFrame::getHitTestResults() 2020-04-19 20:29:14 -07:00
Manish Goregaokar
87bce8cde9 Add XRHitTestResult::getPose 2020-04-19 20:29:14 -07:00
Manish Goregaokar
c7b91523d0 Add XRHitTestResult 2020-04-19 20:29:14 -07:00
Manish Goregaokar
341d36a826 Add XRHitTestSource 2020-04-19 20:29:14 -07:00
Manish Goregaokar
83f92a3181 Update XRRay semantics
Implements changes from https://github.com/immersive-web/hit-test/pull/85
2020-04-19 20:29:14 -07:00
Manish Goregaokar
7dd2a71d6d Add XRRay.matrix 2020-04-19 20:29:14 -07:00
Manish Goregaokar
e7ba4e5a47 Add XRRay(transform) constructor 2020-04-19 20:29:14 -07:00
Manish Goregaokar
977b36d855 Add XRRay constructors 2020-04-19 20:29:14 -07:00
Manish Goregaokar
98ff97783e Add origin/direction methods to XRRay 2020-04-19 20:29:14 -07:00