Commit graph

44192 commits

Author SHA1 Message Date
bors-servo
4181962504
Auto merge of #28538 - yvt:chore-mozjs, r=jdm
Update mozjs

 - <https://github.com/servo/rust-mozjs/pull/548>

---
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

---
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it introduces no behavioral changes
2021-07-10 13:39:59 -04:00
bors-servo
d8081343e3
Auto merge of #27805 - halvko:html_progress_element, r=jdm
Properly implement HTMLProgressElement DOM code

<!-- Please describe your changes on the following line: -->
The DOM code for HTMLProgressElement have been implemented, according to https://html.spec.whatwg.org/multipage/form-elements.html#the-progress-element . As mentioned in #23201, tests already exists for this element in tests/wpt/web-platform-tests/html/semantics/forms/the-progress-element/, which now passes (tested on Linux).

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

<!-- Either: -->
- [X] 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. -->
2021-07-10 11:21:30 -04:00
yvt
727662a1e6 chore(deps): update mozjs
- a8b688a: Add `ProxyTraps::{getPrototype, setPrototype, setImmutablePrototype}`
2021-07-10 12:54:31 +09:00
bors-servo
94b613fbda
Auto merge of #28536 - yvt:fix-one-compartment, r=jdm
Create only one compartment for each script thread (agent)

Documents in the same [agent][1] can share and exchange JS and DOM objects freely, so putting them in separate compartments would require almost every instance of `Dom` to be capable of handling cross-compartment references.

[1]: https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-agent-formalism

---
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

---
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because I think there's already a wide test coverage for same-origin-domain JS object passing, albeit this requires Servo to be built with `--debug-mozjs` for the errors to be (reliably) observable
2021-07-09 10:01:38 -04:00
yvt
7cda260fcb test: update expectations 2021-07-09 22:34:36 +09:00
yvt
d597264d1b doc(script): we don't do cross-compartment brain transplantation anymore 2021-07-07 22:21:26 +09:00
yvt
5871d09c26 fix(script): one compartment for each script thread (agent)
Documents in the same agent[1] can share and exchange JS and DOM objects
freely, so putting them in separate compartments would require almost
every instance of `Dom` to be able to handle cross-compartment
references.

[1]: https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-agent-formalism
2021-07-06 09:10:33 +09:00
bors-servo
42d7892d88
Auto merge of #28473 - jdm:codesign-build, r=jdm
Enable codesigning for non-nightly UWP builds
2021-07-02 18:23:22 -04:00
Josh Matthews
57bc79b0d5 Use codesigning in UWP builds. 2021-07-02 18:22:49 -04:00
Josh Matthews
137236dc2a Load codesigning secret without JSON. 2021-07-02 18:22:48 -04:00
bors-servo
4eb7401ed4
Auto merge of #28535 - tmatth:bootstrap-21.04, r=jdm
bootstrap: add support for Ubuntu 21.04

Signed-off-by: Tristan Matthews <tmatth@videolan.org>

<!-- Please describe your changes on the following line: -->
Allow `./mach bootstrap` to run on Ubuntu 21.04

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] ~These changes fix #___ (GitHub issue number if applicable)~ (Happy to create an issue retroactively if that's preferable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they can be trivially tested by running `./mach bootstrap` on Ubuntu 21.04

<!-- 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. -->
2021-07-02 08:44:34 -04:00
Tristan Matthews
6b22411aab bootstrap: add support for Ubuntu 21.04
Signed-off-by: Tristan Matthews <tmatth@videolan.org>
2021-07-02 01:23:32 -04:00
bors-servo
6dc6dc7eb7
Auto merge of #28528 - teymour-aldridge:shorthand, r=jdm
Use struct shorthand initialization.

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they don't really change any logic

<!-- 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. -->
2021-06-25 21:56:22 -04:00
bors-servo
2959badd97
Auto merge of #28532 - teymour-aldridge:bump-time, r=jdm
Bump `time` to latest `v0.1.x` version.

<!-- 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: -->
- [ ] `./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 they just bump dependencies (I say this now)

<!-- 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. -->
2021-06-25 19:51:42 -04:00
teymour-aldridge
5b2cd844d7
Bump time to latest v0.1.x version. 2021-06-25 17:19:14 +01:00
bors-servo
d12aa889a6
Auto merge of #28463 - mkg20001:nixos-mach, r=jdm
add NixOS support to mach and automatically re-launch mach in nix-shell

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

This is a followup for #28454 which adds nixos support directly to mach, saving the user from typing `nix-shell` everytime

---
<!-- 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
- [x] These changes do not require tests because they just extend mach

<!-- 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. -->
2021-06-25 10:20:57 -04:00
teymour-aldridge
e962a7c9c7
test tidy 2021-06-25 13:16:08 +01:00
bors-servo
55205fb462
Auto merge of #28525 - teymour-aldridge:gitignore, r=jdm
Remove `settings.json` from `.gitignore`.

Also add `Brewfile.lock.json` to the list of ignored files.

Signed-off-by: teymour-aldridge <teymour.aldridge@icloud.com>

<!-- 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: -->
- [ ] `./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 they do not modify any code files

<!-- 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. -->
2021-06-25 08:07:55 -04:00
teymour-aldridge
506032129d
Use struct shorthand initialization. 2021-06-25 12:03:42 +01:00
teymour-aldridge
93ab63f0f0
Remove settings.json from .gitignore.
Also add `Brewfile.lock.json` to the list of ignored files.

Signed-off-by: teymour-aldridge <teymour.aldridge@icloud.com>
2021-06-24 11:31:29 +01:00
bors-servo
9d1af2ac7b
Auto merge of #28520 - yvt:fix-offset-queries, r=jdm
Implement `offset{Left,Top,Width,Height,Parent}` in Layout 2020

Implements `HTMLElement#offset{Left,Top,Width,Height,Parent}` ([CSSOM View Module §7]) in Layout 2020.

[CSSOM View Module §7]: https://www.w3.org/TR/2016/WD-cssom-view-1-20160317/#extensions-to-the-htmlelement-interface

---

- [x] `./mach build -d`**` --with-layout-2020`** does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

---

- [ ] There are tests for these changes OR
- [x] These changes do not require tests because the implemented items are already extensively used by the test harness for layout assertion
2021-06-23 08:20:56 -04:00
Maciej Krüger
49fc87f385
extend message about nixOS shell 2021-06-21 09:13:47 +02:00
bors-servo
eab515f224
Auto merge of #28522 - yvt:fix-bhm-hangup, r=jdm
Fix hang-ups in `background_hang_monitor` tests

---
- [x] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix #28270, #27191 and random failures in the CI pipeline

---
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because ___
2021-06-20 19:47:54 -04:00
yvt
602c02edd2 fix(bhm): deliver exit signal reliably (for real)
> However, as it turns out, `crossbeam-channel`'s channels don't drop
> remaining messages until all associated senders *and* receivers are
> dropped. This means the exit signal won't be delivered as long as
> there's at least one `HangMonitorRegister` or
> `BackgroundHangMonitorChan` maintaining a copy of the sender. To work
> around this and guarantee a rapid delivery of the exit signal, the
> sender is wrapped in `Arc`, and only the worker thread maintains a
> strong reference, thus ensuring both the sender and receiver are
> dropped as soon as the worker thread exits.
2021-06-21 00:07:26 +09:00
yvt
18c79cafac fix(bhm): deliver exit signal reliably when component registration and signal submission coincide
> There's a race condition between the reception of
> `BackgroundHangMonitorControlMsg::Exit` and `MonitoredComponentMsg::
> Register`. When the worker receives `Exit`, it stops receiving
> messages, and any remaining messages (including the
> `MonitoredComponentMsg::Register` we sent) in the channel are dropped.
> Wrapping `exit_signal` with this RAII wrapper ensures the exit signal
> is delivered even in such cases.

This should (hopefully) eliminate the intermittent hang-ups in the test
case `test_hang_monitoring_exit_signal` for good.
2021-06-20 13:09:26 +09:00
yvt
2eec1e69ea refactor(bhm): reduce item visibility 2021-06-20 00:04:20 +09:00
yvt
370997eba2 test: update expectations 2021-06-19 13:27:11 +09:00
yvt
bc63187340 feat(layout_2020): implement offset{Parent, Top, Left, Width, Height} 2021-06-19 13:27:09 +09:00
bors-servo
ce4f965587
Auto merge of #28420 - dominiccooney:rlsnightly, r=jdm
Update toolchain to nightly-2021-05-18

The nightly-2021-03-12 toolchain doesn't have RLS on Windows. This
breaks code completion in Visual Studio Code because the rust plugin
picks up the project toolchain.

RLS is available in all tier one platforms in nightly-2021-05-18 per:
https://rust-lang.github.io/rustup-components-history/

Signed-off-by: Dominic Cooney <dominic.cooney@gmail.com>

<!-- Please describe your changes on the following line: -->
Update toolchain to nightly-2021-05-18

---
<!-- 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 (note, except tabs/spaces issue in an unrelated file... happy to fix in this PR)
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because changing the toolchain, covered by existing tests

<!-- 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. -->
2021-06-17 17:38:10 -04:00
bors-servo
94414dfb9a
Auto merge of #28511 - sagudev:pathfinderr, r=jdm
Update pathfinder_simd

Fix blocker for https://github.com/servo/servo/pull/28420

I only ran `cargo update -p pathfinder_simd`.
2021-06-16 18:46:19 -04:00
sagudev
eec88d0fed Add duplicated 2021-06-16 17:53:11 +02:00
sagudev
af1095a5fa Update pathfinder_simd 2021-06-16 06:48:27 +02:00
yvt
638941ac43 refactor(layout_2020): add depth parameter to the closure passed to FragmentTree::find 2021-06-16 00:56:41 +09:00
bors-servo
98cffa3d16
Auto merge of #28507 - yvt:fix-shebang, r=jdm
Use `#!/usr/bin/env bash` in shell scripts for NixOS compatibility

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

This PR updates the shebang lines of shell scripts for NixOS compatibility.

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it only updates development tools

<!-- 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. -->
2021-06-14 21:07:47 -04:00
yvt
262a41dd2a Use #!/usr/bin/env bash in shell scripts for NixOS compatibility
Signed-off-by: yvt <i@yvt.jp>
2021-06-14 22:06:09 +09:00
bors-servo
8ee8700c82
Auto merge of #28495 - servo:dependabot/cargo/rustversion-1.0.5, r=jdm
Bump rustversion from 1.0.4 to 1.0.5

Bumps [rustversion](https://github.com/dtolnay/rustversion) from 1.0.4 to 1.0.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/rustversion/releases">rustversion's releases</a>.</em></p>
<blockquote>
<h2>1.0.5</h2>
<ul>
<li>Fix parsing nightly build versions that have a parenthesized component without a date inside, such as &quot;rustc 1.52.1-nightly (gentoo)&quot; (<a href="https://github-redirect.dependabot.com/dtolnay/rustversion/issues/28">#28</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ecc07fb53f"><code>ecc07fb</code></a> Release 1.0.5</li>
<li><a href="92aa77635d"><code>92aa776</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/rustversion/issues/29">#29</a> from dtolnay/gentoo</li>
<li><a href="2ee81bd270"><code>2ee81bd</code></a> Parse distro nightly without a date</li>
<li><a href="b0b666350a"><code>b0b6663</code></a> Add regression test for issue 28</li>
<li><a href="e84a2b168d"><code>e84a2b1</code></a> Ignore from_iter_instead_of_collect clippy style lint</li>
<li><a href="8e25d47eea"><code>8e25d47</code></a> Fix catching clippy warnings as CI failures</li>
<li><a href="712ab89421"><code>712ab89</code></a> Inform clippy of supported compiler version in clippy.toml</li>
<li><a href="25d3a56480"><code>25d3a56</code></a> Opt in to pedantic clippy lints</li>
<li><a href="b81645303b"><code>b816453</code></a> Run clippy linter in CI</li>
<li><a href="3f64062360"><code>3f64062</code></a> Pick a stable error message date for ui tests</li>
<li>See full diff in <a href="https://github.com/dtolnay/rustversion/compare/1.0.4...1.0.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustversion&package-manager=cargo&previous-version=1.0.4&new-version=1.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-06-11 19:09:46 -04:00
bors-servo
6ee29986ff
Auto merge of #28497 - servo:dependabot/cargo/pkg-config-0.3.19, r=jdm
Bump pkg-config from 0.3.14 to 0.3.19

Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.14 to 0.3.19.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md">pkg-config's changelog</a>.</em></p>
<blockquote>
<h2>[0.3.19] - 2020-10-13</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add <code>README.md</code> to be displayed on crates.io (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/111">#111</a>).</p>
</li>
<li>
<p>Support for <code>-isystem</code>, <code>-iquote</code> and <code>-idirafter</code> include flags (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/115">#115</a>).</p>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>
<p>Improve documentation for cross-compilation (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/113">#113</a>).</p>
</li>
<li>
<p>Allow overriding system root via the <code>PKG_CONFIG_SYSROOT_DIR</code> or <code>SYSROOT</code>
environment variable (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/82">#82</a>).</p>
</li>
</ul>
<h2>[0.3.18] - 2020-07-11</h2>
<h3>Fixed</h3>
<ul>
<li>Use <code>env::var_os()</code> almost everywhere to handle non-UTF8 paths in
environment variables, and also improve error handling around environment
variable handling (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/106">#106</a>).</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Default the <code>env_metadata</code> build parameter to <code>true</code> instead of <code>false</code>.
Whenever a pkg-config related environment variable changes it would make
sense to rebuild crates that use pkg-config, or otherwise changes might not
be picked up. As such the previous default didn't make much sense (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/105">#105</a>).</li>
</ul>
<h2>[0.3.17] - 2019-11-02</h2>
<h3>Fixed</h3>
<ul>
<li>Fix support for multiple version number constraints (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/95">#95</a>)</li>
</ul>
<h2>[0.3.16] - 2019-09-09</h2>
<h3>Changed</h3>
<ul>
<li>Stop using deprecated functions and require Rust 1.30 (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/84">#84</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fix repository URL in README.md</li>
<li>Fix various clippy warnings</li>
</ul>
<h3>Added</h3>
<ul>
<li>Run <code>cargo fmt</code> as part of the CI (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/89">#89</a>)</li>
<li>Derive <code>Clone</code> for <code>Library</code> and <code>Debug</code> for `Config (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/91">#91</a>)</li>
<li>Add support for <code>PKG_CONFIG_ALLOW_SYSTEM_CFLAGS</code> and enable by default (<a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/93">#93</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="5432578581"><code>5432578</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/116">#116</a> from rust-lang/release-0.3.19</li>
<li><a href="370b02adf3"><code>370b02a</code></a> Release 0.3.19</li>
<li><a href="9d276aeafb"><code>9d276ae</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/115">#115</a> from rust-lang/isystem</li>
<li><a href="948f45f1f5"><code>948f45f</code></a> Remove unneeded Iterator::collect() and directly work on the iterator instead</li>
<li><a href="76df4d8aa7"><code>76df4d8</code></a> Add support for -isystem, -iquote, -idirafter include flags</li>
<li><a href="7a442bed3f"><code>7a442be</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/82">#82</a> from danielverkamp/sysroot</li>
<li><a href="e94a5336cd"><code>e94a533</code></a> Don't use /usr as fallback sysroot on Windows</li>
<li><a href="81468be084"><code>81468be</code></a> Allow overriding system root via environment</li>
<li><a href="070b4e9e9c"><code>070b4e9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/pkg-config-rs/issues/113">#113</a> from kornelski/crossdocs</li>
<li><a href="147e102e9c"><code>147e102</code></a> Improve docs for cross-compilation</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/pkg-config-rs/compare/0.3.14...0.3.19">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pkg-config&package-manager=cargo&previous-version=0.3.14&new-version=0.3.19)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-06-11 17:18:27 -04:00
dependabot[bot]
c2352a5250
Bump pkg-config from 0.3.14 to 0.3.19
Bumps [pkg-config](https://github.com/rust-lang/pkg-config-rs) from 0.3.14 to 0.3.19.
- [Release notes](https://github.com/rust-lang/pkg-config-rs/releases)
- [Changelog](https://github.com/rust-lang/pkg-config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/pkg-config-rs/compare/0.3.14...0.3.19)

---
updated-dependencies:
- dependency-name: pkg-config
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 19:22:35 +00:00
dependabot[bot]
defd3ba465
Bump rustversion from 1.0.4 to 1.0.5
Bumps [rustversion](https://github.com/dtolnay/rustversion) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/rustversion/releases)
- [Commits](https://github.com/dtolnay/rustversion/compare/1.0.4...1.0.5)

---
updated-dependencies:
- dependency-name: rustversion
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-11 17:12:50 +00:00
bors-servo
d2ada1869c
Auto merge of #28490 - xq-tec:master, r=jdm
Replaced ref_slice::ref_slice with std::slice::from_ref

ref_slice::ref_slice is deprecated in ref_slice-1.2.1,
because it's redundant with std since rust 1.28.
This also obsoletes #28428

Signed-off-by: Adrian Willenbücher <willenbuecher@xq-tec.com>

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] 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. -->
2021-06-11 13:07:34 -04:00
bors-servo
e500c9a294
Auto merge of #28487 - servo:dependabot/cargo/unicode-xid-0.2.2, r=jdm
Bump unicode-xid from 0.2.1 to 0.2.2

Bumps [unicode-xid](https://github.com/unicode-rs/unicode-xid) from 0.2.1 to 0.2.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/unicode-rs/unicode-xid/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=unicode-xid&package-manager=cargo&previous-version=0.2.1&new-version=0.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-06-11 10:42:35 -04:00
Adrian Willenbücher
0917dc4e87 Replaced ref_slice::ref_slice with std::slice::from_ref
ref_slice::ref_slice is deprecated in ref_slice-1.2.1,
because it's redundant with std since rust 1.28.

Signed-off-by: Adrian Willenbücher <willenbuecher@xq-tec.com>
2021-06-10 21:17:04 +02:00
dependabot[bot]
a601850ff8
Bump unicode-xid from 0.2.1 to 0.2.2
Bumps [unicode-xid](https://github.com/unicode-rs/unicode-xid) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/unicode-rs/unicode-xid/releases)
- [Commits](https://github.com/unicode-rs/unicode-xid/commits)

---
updated-dependencies:
- dependency-name: unicode-xid
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 06:33:34 +00:00
bors-servo
b80b3ea02c
Auto merge of #28483 - servo:dependabot/cargo/nodrop-0.1.14, r=jdm
Bump nodrop from 0.1.12 to 0.1.14

Bumps [nodrop](https://github.com/bluss/arrayvec) from 0.1.12 to 0.1.14.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c110696a96"><code>c110696</code></a> nodrop, nodrop-union: Mark deprecated</li>
<li><a href="87ad71366c"><code>87ad713</code></a> DOC: Update README</li>
<li><a href="ea591bc2de"><code>ea591bc</code></a> 0.5.0</li>
<li><a href="70a9ad67af"><code>70a9ad6</code></a> DOC: Copyedit the Array doc comment again</li>
<li><a href="abf1bb5a0a"><code>abf1bb5</code></a> TEST: Update .travis for serde-1 to serde rename</li>
<li><a href="46ba20ed38"><code>46ba20e</code></a> DOC: Update Readme for 0.5</li>
<li><a href="babae41d21"><code>babae41</code></a> DOC: Add safety documentation on Array trait</li>
<li><a href="ba4d98c5c7"><code>ba4d98c</code></a> TEST: Update tests for passing without std feature</li>
<li><a href="cac792e633"><code>cac792e</code></a> API: Rename feature flag serde-1 to serde</li>
<li><a href="8c3dfbc2b8"><code>8c3dfbc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/arrayvec/issues/132">#132</a> from bluss/range-bounds</li>
<li>Additional commits viewable in <a href="https://github.com/bluss/arrayvec/compare/nodrop-0.1.12...nodrop-0.1.14">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=nodrop&package-manager=cargo&previous-version=0.1.12&new-version=0.1.14)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-06-08 09:16:51 -04:00
dependabot[bot]
d7c62b5498
Bump nodrop from 0.1.12 to 0.1.14
Bumps [nodrop](https://github.com/bluss/arrayvec) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/bluss/arrayvec/releases)
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/arrayvec/compare/nodrop-0.1.12...nodrop-0.1.14)

---
updated-dependencies:
- dependency-name: nodrop
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 06:46:18 +00:00
bors-servo
bf1033abbd
Auto merge of #28472 - servo:jdm-patch-46, r=jdm
Enable codesigning on Windows nightlies
2021-06-06 14:01:45 -04:00
Josh Matthews
9d51255799
Enable codesigning on Windows. 2021-06-06 14:00:39 -04:00
Maciej Krüger
8e48b6fd74
add NixOS support to mach and automatically re-launch mach in nix-shell 2021-06-04 10:56:41 +02:00
bors-servo
2cade89ede
Auto merge of #28458 - servo:dependabot/cargo/jobserver-0.1.22, r=jdm
Bump jobserver from 0.1.21 to 0.1.22

Bumps [jobserver](https://github.com/alexcrichton/jobserver-rs) from 0.1.21 to 0.1.22.
<details>
<summary>Commits</summary>
<ul>
<li><a href="98be90450a"><code>98be904</code></a> Bump to 0.1.22</li>
<li><a href="eaa0458fe0"><code>eaa0458</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/jobserver-rs/issues/31">#31</a> from the8472/optimistic-read</li>
<li><a href="c8aa5985e1"><code>c8aa598</code></a> Try blocking reads first to avoid thundering herd problem</li>
<li><a href="9d5e6da215"><code>9d5e6da</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/jobserver-rs/issues/29">#29</a> from thirdsgames/patch-1</li>
<li><a href="4fabd551b7"><code>4fabd55</code></a> Update README to clarify contribution conditions</li>
<li><a href="faaa2ebc58"><code>faaa2eb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/jobserver-rs/issues/28">#28</a> from lzutao/clippy</li>
<li><a href="1dc00c963f"><code>1dc00c9</code></a> Remove unneeded &quot;extern crate&quot;</li>
<li><a href="df2f7d71b0"><code>df2f7d7</code></a> Some clippy fixes</li>
<li><a href="b9bdabb53f"><code>b9bdabb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/jobserver-rs/issues/26">#26</a> from glandium/j-flag</li>
<li><a href="9bc9b8857f"><code>9bc9b88</code></a> Set the -j flag in make flags on all platforms</li>
<li>See full diff in <a href="https://github.com/alexcrichton/jobserver-rs/compare/0.1.21...0.1.22">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jobserver&package-manager=cargo&previous-version=0.1.21&new-version=0.1.22)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-05-31 16:28:42 -04:00
bors-servo
5c494eb2b5
Auto merge of #28457 - servo:dependabot/cargo/rayon-core-1.9.1, r=jdm
Bump rayon-core from 1.9.0 to 1.9.1

Bumps [rayon-core](https://github.com/rayon-rs/rayon) from 1.9.0 to 1.9.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon-core's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.5.1 / rayon-core 1.9.1 (2021-05-18)</h1>
<ul>
<li>The new <code>in_place_scope</code> and <code>in_place_scope_fifo</code> are variations of <code>scope</code>
and <code>scope_fifo</code>, running the initial non-<code>Send</code> callback directly on the
current thread, rather than moving execution to the thread pool.</li>
<li>With Rust 1.51 or later, arrays now implement <code>IntoParallelIterator</code>.</li>
<li>New implementations of <code>FromParallelIterator</code> make it possible to <code>collect</code>
complicated nestings of items.
<ul>
<li><code>FromParallelIterator&lt;(A, B)&gt; for (FromA, FromB)</code> works like <code>unzip</code>.</li>
<li><code>FromParallelIterator&lt;Either&lt;L, R&gt;&gt; for (A, B)</code> works like <code>partition_map</code>.</li>
</ul>
</li>
<li>Type inference now works better with parallel <code>Range</code> and <code>RangeInclusive</code>.</li>
<li>The implementation of <code>FromParallelIterator</code> and <code>ParallelExtend</code> for
<code>Vec&lt;T&gt;</code> now uses <code>MaybeUninit&lt;T&gt;</code> internally to avoid creating any
references to uninitialized data.</li>
<li><code>ParallelBridge</code> fixed a bug with threads missing available work.</li>
</ul>
<h2>Contributors</h2>
<p>Thanks to all of the contributors for this release!</p>
<ul>
<li><a href="https://github.com/atouchet"><code>@​atouchet</code></a></li>
<li><a href="https://github.com/cuviper"><code>@​cuviper</code></a></li>
<li><a href="https://github.com/Hywan"><code>@​Hywan</code></a></li>
<li><a href="https://github.com/iRaiko"><code>@​iRaiko</code></a></li>
<li><a href="https://github.com/Qwaz"><code>@​Qwaz</code></a></li>
<li><a href="https://github.com/rocallahan"><code>@​rocallahan</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ebcb09b1dc"><code>ebcb09b</code></a> adjust the latest release date</li>
<li><a href="93d909195b"><code>93d9091</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/860">#860</a></li>
<li><a href="dbc026b5a8"><code>dbc026b</code></a> Release rayon 1.5.1 / rayon-core 1.9.1</li>
<li><a href="87aae49598"><code>87aae49</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/859">#859</a></li>
<li><a href="2e13d8909f"><code>2e13d89</code></a> Update demo dependencies</li>
<li><a href="3c7489e168"><code>3c7489e</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/855">#855</a></li>
<li><a href="0bd4ec6cea"><code>0bd4ec6</code></a> Add <code>in_place_scope_fifo</code></li>
<li><a href="6a01573a18"><code>6a01573</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/844">#844</a></li>
<li><a href="8815e26cf6"><code>8815e26</code></a> Implement in_place_scope: a scope that runs its driver closure on the same th...</li>
<li><a href="aacced8826"><code>aacced8</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/852">#852</a></li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.9.0...rayon-core-v1.9.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon-core&package-manager=cargo&previous-version=1.9.0&new-version=1.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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)

</details>
2021-05-31 13:59:17 -04:00