Commit graph

42184 commits

Author SHA1 Message Date
Josh Matthews
6dc4488bc7 Remove unnecessary generic from private_from_proto_check. 2020-06-04 20:54:36 -04:00
dependabot-preview[bot]
9788c5c7f4 build(deps): bump unicode-normalization from 0.1.5 to 0.1.12
Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
- [Release notes](https://github.com/unicode-rs/unicode-normalization/releases)
- [Commits](https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 20:54:36 -04:00
bors-servo
98fe360390
Auto merge of #26788 - servo:energy, r=jdm
Remove support for energy and heartbeats profiling

Both are disabled by default (energy at compile-time, heartbeats with a run-time option). Neither is tested of CI. Neither has been used in a long time. They might have Undefined Behavior: https://github.com/servo/servo/issues/26550#issuecomment-634238098. They each depend on a mostly-unmaintained C library. The thread-safety expectation of those libraries are unknown.
2020-06-04 19:29:46 -04:00
bors-servo
59ec134bb8
Auto merge of #26789 - CYBAI:svgelement-style, r=jdm
Introduce ElementCSSInlineStyle for SVGElement

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26777 and fix #26032 and fix #21990
- [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-04 18:27:13 -04:00
Simon Sapin
dbdc44215b Use UnsafeCell instead of static mut in background_hang_monitor/sampler_linux.rs 2020-06-05 00:11:37 +02:00
Simon Sapin
57d89675b0 Use atomic pointers instead of static mut for DOM proxy handlers 2020-06-05 00:11:37 +02:00
Simon Sapin
3367db6067 Keep DOM proxy handlers as separate named items rather than in one array 2020-06-05 00:11:37 +02:00
Simon Sapin
b282bd3a44 Remove support for heartbeats profiling 2020-06-04 22:53:56 +02:00
bors-servo
e2d980a071
Auto merge of #26480 - CYBAI:missing-on, r=jdm
Prefix `on` for function name of inline events

While checking what needs to be done for the spec-update, I've noticed the logic of checking `is window-reflecting element (e.g. body and frameset)` is already handled by the `is` casting function.

However, we still failed to pass the tests because we're missing `on` prefix for inline functions.

I'm not sure if this patch is good enough (or maybe at least I need to add a comment for why adding `on` prefix?).

Besides, I checked [how Gecko handles](https://searchfox.org/mozilla-central/rev/8bc4e35c9bb47c1fe3131e6155d9f482e1efef9a/dom/events/EventListenerManager.cpp#1012-1022) and looks like they also just pass the atom directly.
But, the [generated atom](https://searchfox.org/mozilla-central/source/__GENERATED__/xpcom/ds/nsGkAtomList.h#775) is prefixed with `on` which is correct to just pass it into the `CompileFunction`.

---
<!-- 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 fix #26479
- [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-04 16:45:22 -04:00
bors-servo
97fd10c602
Auto merge of #26784 - servo:dependabot/cargo/proc-macro-nested-0.1.4, r=jdm
build(deps): bump proc-macro-nested from 0.1.3 to 0.1.4

Bumps [proc-macro-nested](https://github.com/dtolnay/proc-macro-hack) from 0.1.3 to 0.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/dtolnay/proc-macro-hack/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=proc-macro-nested&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4)](https://dependabot.com/compatibility-score/?dependency-name=proc-macro-nested&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4)

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 15:42:17 -04:00
bors-servo
5f6a05e715
Auto merge of #26771 - atouchet:raqote, r=jdm
Update raqote and associated dependencies

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

<!-- 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 13:45:36 -04:00
bors-servo
44811b020b
Auto merge of #26780 - servo:dependabot/cargo/proc-macro2-0.4.30, r=jdm
build(deps): bump proc-macro2 from 0.4.26 to 0.4.30

Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 0.4.26 to 0.4.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexcrichton/proc-macro2/releases">proc-macro2's releases</a>.</em></p>
<blockquote>
<h2>0.4.30</h2>
<ul>
<li>Implement Clone for TokenStream's IntoIter (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/177">#177</a>, thanks <a href="https://github.com/ivanbakel">@ivanbakel</a>)</li>
</ul>
<h2>0.4.29</h2>
<ul>
<li>Support compiling with <code>RUSTFLAGS='-Z allow-features='</code> on a nightly compiler (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/176">#176</a>, thanks <a href="https://github.com/Nemo157">@Nemo157</a>)</li>
</ul>
<h2>0.4.28</h2>
<ul>
<li>Avoid needlessly escaping <code>'</code> inside a string literal or <code>&quot;</code> inside a character literal (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/60">#60</a>)</li>
<li>Add impls of Copy, Clone, Debug, PartialEq, Eq for proc_macro2::LineColumn</li>
</ul>
<h2>0.4.27</h2>
<ul>
<li>
<p>Add Cargo cfg <code>&quot;span-locations&quot;</code> to expose <a href="https://docs.rs/proc-macro2/0.4/proc_macro2/struct.Span.html#method.start"><code>Span::start</code></a> and <a href="https://docs.rs/proc-macro2/0.4/proc_macro2/struct.Span.html#method.end"><code>Span::end</code></a> accessors that give the line and column location of a Span (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/166">#166</a>)</p>
<p>Be aware that this involves storing more information than before inside of Spans which increases their size -- leading to possibly slower performance of any code involving proc-macro2 types (but only when the cfg is enabled).</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f514921bb4"><code>f514921</code></a> Release 0.4.30</li>
<li><a href="1ef4d12484"><code>1ef4d12</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/177">#177</a> from ivanbakel/cloneable_intoiter</li>
<li><a href="f6754d35b2"><code>f6754d3</code></a> Make TokenStream's IntoIter derive Clone</li>
<li><a href="79c8ed793f"><code>79c8ed7</code></a> Release 0.4.29</li>
<li><a href="ce12a482f0"><code>ce12a48</code></a> Remove double negative in !proc_macro_span_disallowed</li>
<li><a href="b455dd7764"><code>b455dd7</code></a> Use a cfg called proc_macro_span to control feature(proc_macro_span)</li>
<li><a href="8a1827af91"><code>8a1827a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/176">#176</a> from Nemo157/block-nightly-feature</li>
<li><a href="099db2afbb"><code>099db2a</code></a> Detect if the user has disallowed usage of the proc_macro_span feature</li>
<li><a href="692f49ce86"><code>692f49c</code></a> Fix reference to Serde in contribution section</li>
<li><a href="16c2b45e92"><code>16c2b45</code></a> Release 0.4.28</li>
<li>Additional commits viewable in <a href="https://github.com/alexcrichton/proc-macro2/compare/0.4.26...0.4.30">compare view</a></li>
</ul>
</details>
<br />

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

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 11:50:08 -04:00
bors-servo
5df062ab88
Auto merge of #26779 - servo:dependabot/cargo/unicode-normalization-0.1.12, r=jdm
build(deps): bump unicode-normalization from 0.1.5 to 0.1.12

Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
<details>
<summary>Commits</summary>
<ul>
<li><a href="59febebede"><code>59febeb</code></a> Publish 0.1.12</li>
<li><a href="fa604a6b99"><code>fa604a6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/52">#52</a> from clintfred/master</li>
<li><a href="91bd7d8c0b"><code>91bd7d8</code></a> bump to smallvec 1.1.0</li>
<li><a href="02f8b230b7"><code>02f8b23</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/49">#49</a> from unicode-rs/bump</li>
<li><a href="87fac9dafe"><code>87fac9d</code></a> Bump to 0.1.11</li>
<li><a href="d81a08a4ec"><code>d81a08a</code></a> Add #[allow(ellipsis_inclusive_range_patterns)] to unicode.py</li>
<li><a href="717e6c2dac"><code>717e6c2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/48">#48</a> from kentfredric/attempt-4</li>
<li><a href="fc87399fce"><code>fc87399</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/47">#47</a> from unicode-rs/version-bump</li>
<li><a href="5fabe3660c"><code>5fabe36</code></a> Bump to 0.1.10</li>
<li><a href="0f4cb1e0b5"><code>0f4cb1e</code></a> Add travis glue to test built package too</li>
<li>Additional commits viewable in <a href="https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12">compare view</a></li>
</ul>
</details>
<br />

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

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 11:14:42 -04:00
CYBAI
c561a3eb0e Introduce ElementCSSInlineStyle for SVGElement 2020-06-05 00:10:19 +09:00
Simon Sapin
0abe90647f Remove support for energy profiling 2020-06-04 16:39:08 +02:00
bors-servo
bfb8b91719
Auto merge of #26781 - servo:dependabot/cargo/tokio-io-0.1.13, r=jdm
build(deps): bump tokio-io from 0.1.8 to 0.1.13

Bumps [tokio-io](https://github.com/tokio-rs/tokio) from 0.1.8 to 0.1.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md">tokio-io's changelog</a>.</em></p>
<blockquote>
<h1>0.1.13 (November 21, 2018)</h1>
<ul>
<li>Fix <code>Runtime::reactor()</code> when no tasks are spawned (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/721">#721</a>).</li>
<li><code>runtime::Builder</code> no longer uses deprecated methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/749">#749</a>).</li>
<li>Provide <code>after_start</code> and <code>before_stop</code> configuration settings for
<code>Runtime</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/756">#756</a>).</li>
<li>Implement throttle stream combinator (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/736">#736</a>).</li>
</ul>
<h1>0.1.12 (October 23, 2018)</h1>
<ul>
<li>runtime: expose <code>keep_alive</code> on runtime builder (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/676">#676</a>).</li>
<li>runtime: create a reactor per worker thread (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/660">#660</a>).</li>
<li>codec: fix panic in <code>LengthDelimitedCodec</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/682">#682</a>).</li>
<li>io: re-export <code>tokio_io::io::read</code> function (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/689">#689</a>).</li>
<li>runtime: check for executor re-entry in more places (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/708">#708</a>).</li>
</ul>
<h1>0.1.11 (September 28, 2018)</h1>
<ul>
<li>Fix <code>tokio-async-await</code> dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/675">#675</a>).</li>
</ul>
<h1>0.1.10 (September 27, 2018)</h1>
<ul>
<li>Fix minimal versions</li>
</ul>
<h1>0.1.9 (September 27, 2018)</h1>
<ul>
<li>Experimental async/await improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/661">#661</a>).</li>
<li>Re-export <code>TaskExecutor</code> from <code>tokio-current-thread</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/652">#652</a>).</li>
<li>Improve <code>Runtime</code> builder API (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/645">#645</a>).</li>
<li><code>tokio::run</code> panics when called from the context of an executor
(<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/646">#646</a>).</li>
<li>Introduce <code>StreamExt</code> with a <code>timeout</code> helper (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/573">#573</a>).</li>
<li>Move <code>length_delimited</code> into <code>tokio</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/575">#575</a>).</li>
<li>Re-organize <code>tokio::net</code> module (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/548">#548</a>).</li>
<li>Re-export <code>tokio-current-thread::spawn</code> in current_thread runtime
(<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/579">#579</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b117fc1d65"><code>b117fc1</code></a> Bump version to v0.1.13 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/771">#771</a>)</li>
<li><a href="272e09d349"><code>272e09d</code></a> threadpool: remove smoke example (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/764">#764</a>) (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/770">#770</a>)</li>
<li><a href="3235749006"><code>3235749</code></a> threadpool: refactor pool shutdown (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/769">#769</a>)</li>
<li><a href="9c037044c4"><code>9c03704</code></a> threadpool: rename inner to something more descriptive (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/768">#768</a>)</li>
<li><a href="3658e10045"><code>3658e10</code></a> uds: implement UnixDatagramFramed (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/453">#453</a>)</li>
<li><a href="ed3ece266b"><code>ed3ece2</code></a> current-thread: fix shutdown on idle (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/763">#763</a>)</li>
<li><a href="9b1a45cc6a"><code>9b1a45c</code></a> tests: handle errors properly in examples (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/748">#748</a>)</li>
<li><a href="477fa5580a"><code>477fa55</code></a> ci: Don't deploy docs if $TARGET is set (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/762">#762</a>)</li>
<li><a href="bb6cca8ff0"><code>bb6cca8</code></a> tests: switch to Windows Server 2016 for AppVeyor builds. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/761">#761</a>)</li>
<li><a href="e166c4d912"><code>e166c4d</code></a> Implement throttle combinator (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/736">#736</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.8...tokio-0.1.13">compare view</a></li>
</ul>
</details>
<br />

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

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 08:54:36 -04:00
Simon Sapin
36920abfe8 Use const instead of static mut in script/dom/eventtarget.rs
There is no mutability there.
2020-06-04 14:33:53 +02:00
bors-servo
3d6fed85ff
Auto merge of #26755 - servo:flexbox, r=nox
Add Layout 2020 box tree support for Flexbox, behind a pref

CC https://github.com/servo/servo/issues/26639

Layout support will come in future PRs. This one generates a zero-size fragment with no content.
2020-06-04 07:20:24 -04:00
Simon Sapin
b9069d48d9 Parallelize flex item boxes construction 2020-06-04 13:19:53 +02:00
Simon Sapin
fff5cd5142 Owned ServoArc<ComputedValues> in TraversalHandler 2020-06-04 13:19:53 +02:00
Simon Sapin
29005e1626 Keep flex items in order-modified document order in the box tree 2020-06-04 13:19:53 +02:00
Simon Sapin
67d8aa84d2 Anonymous flex item for text directly in a flex container 2020-06-04 13:19:53 +02:00
Simon Sapin
ec548e849c Flex items in the box tree 2020-06-04 13:19:53 +02:00
Simon Sapin
64124f7a5e Layout 2020 skeleton for display: flex, behind a pref 2020-06-04 13:09:57 +02:00
bors-servo
d4f1f4641d
Auto merge of #26741 - servo:layout-2020-incremental-box-tree, r=SimonSapin
Reconstruct the box tree incrementally in some case

Nothing to see here for now. I just want to do a try run.
2020-06-04 06:20:45 -04:00
Anthony Ramine
a30bdc16dd Reconstruct the box tree incrementally in some case 2020-06-04 10:49:45 +02:00
dependabot-preview[bot]
418646b71c
build(deps): bump gstreamer from 0.15.5 to 0.15.6
Bumps gstreamer from 0.15.5 to 0.15.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:26:23 +00:00
dependabot-preview[bot]
1385f7b1b2
build(deps): bump proc-macro-nested from 0.1.3 to 0.1.4
Bumps [proc-macro-nested](https://github.com/dtolnay/proc-macro-hack) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/proc-macro-hack/releases)
- [Commits](https://github.com/dtolnay/proc-macro-hack/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:25:57 +00:00
dependabot-preview[bot]
71890698ea
build(deps): bump tokio-io from 0.1.8 to 0.1.13
Bumps [tokio-io](https://github.com/tokio-rs/tokio) from 0.1.8 to 0.1.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.8...tokio-0.1.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:24:12 +00:00
dependabot-preview[bot]
b9aac35eb1
build(deps): bump proc-macro2 from 0.4.26 to 0.4.30
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 0.4.26 to 0.4.30.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/0.4.26...0.4.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:23:41 +00:00
dependabot-preview[bot]
ae9867cda0
build(deps): bump unicode-normalization from 0.1.5 to 0.1.12
Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
- [Release notes](https://github.com/unicode-rs/unicode-normalization/releases)
- [Commits](https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:23:11 +00:00
bors-servo
8536cee72c
Auto merge of #25873 - gterzian:implement_readablestream_support, r=jdm
Implement readablestream support

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

FIX #21482
FIX #24876
FIX #26392

---
<!-- 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-04 03:04:00 -04:00
Gregory Terzian
c1b76533fa partially integrate streaming request bodies with http re-direct 2020-06-04 11:38:38 +08:00
Gregory Terzian
ad4dea7d84 bypass SM for in-memory streams in request bodies, dis-allow other cases in sync XHR 2020-06-04 11:38:38 +08:00
Gregory Terzian
3535dd7412 net: use an empty body for the null body case 2020-06-04 11:38:38 +08:00
Gregory Terzian
7d51997214 net: update list of bad ports 2020-06-04 11:38:38 +08:00
Gregory Terzian
ca686313ee net: don't set content-length in obtain response 2020-06-04 11:38:37 +08:00
Gregory Terzian
48d4aec5b6 require entered realm, use aes, to append native promise handler 2020-06-04 11:38:37 +08:00
Gregory Terzian
bd5796c90b integrate readablestream with fetch and blob 2020-06-04 11:38:35 +08:00
bors-servo
4d95efeebf
Auto merge of #26775 - servo:gecko-sync, r=emilio
style: sync changes from mozilla-central.
2020-06-03 23:02:22 -04:00
Emilio Cobos Álvarez
79c2c447fc
style: fix tidy. 2020-06-04 05:01:54 +02:00
Emilio Cobos Álvarez
16cb51097f
style: Fix some unit tests.
We need to grow dependency by a pointer because of the parent chain for
:is() / :where() unfortunately.
2020-06-04 04:12:03 +02:00
bors-servo
0281acea95
Auto merge of #26769 - kunalmohan:gpu-render-pass, r=kvark
Implement GPURenderPassEncoder

Add webidls for GPURenderPassEncoder and  GPURenderEncoderBase and
implement relevant methods.

<!-- Please describe your changes on the following line: -->
r?@kvark

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

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

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-06-03 21:56:03 -04:00
Emilio Cobos Álvarez
762abbaf9f
style: Rustfmt recent changes. 2020-06-04 02:02:50 +02:00
Emilio Cobos Álvarez
69c7077b3d style: Don't use lazy_static for media feature parsing.
This used to be needed when destructors in statics were not allowed, but
we can get rid of it nowadays.

Differential Revision: https://phabricator.services.mozilla.com/D78109
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
332aec212c style: Miscellaneous servo build fixes. 2020-06-04 01:50:36 +02:00
Boris Chiou
eff8f0fca0 style: Update aspect-ratio syntax for HTML IMG mapped ratio.
Differential Revision: https://phabricator.services.mozilla.com/D76942
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
964716f72a style: Finer grained invalidation for attribute changes.
This should help out quite a bit with uBO, which has lots of very
general attribute selectors. We invalidate per attribute name rather
than using a SelectorMap, which prevents matching for attribute
selectors that can't have changed.

The idea is that this should be generally cheaper, though there are
cases where this would be a slight pesimization. For example, if there's
an attribute selector like:

  my-specific-element[my-attribute] { /* ... */ }

And you change `my-attribute` in an element that isn't a
`my-specific-element`, before that the SelectorMap would've prevented us
from selector-matching completely. Now we'd still run selector-matching
for that (though the matching would be pretty cheap).

However I think this should speed up things generally, let's see what
the perf tests think before landing this though.

Differential Revision: https://phabricator.services.mozilla.com/D76825
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
4cf9aeeaf7 style: Manually tweak inlining in stateless pseudo selector matching.
This addresses a minor regression in bloom-matching.html. The common
case here is that there's no selector to the right of the
pseudo-element, so keep that path inline, while keeping all other checks
out of line.

Differential Revision: https://phabricator.services.mozilla.com/D76793
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
a9c88729a8 style: Remove two useless mem::replace calls.
Differential Revision: https://phabricator.services.mozilla.com/D76884
2020-06-04 01:50:36 +02:00