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 />
[](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
Emilio Cobos Álvarez
3f25ac6b51
style: Remove the @-moz-document url-prefix() hack preference, enable it everywhere.
...
It doesn't seem like realistically we're going to be able to get rid of
this any time soon.
Differential Revision: https://phabricator.services.mozilla.com/D76809
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
ab79cc0e39
style: Implement the ::file-chooser-button pseudo-element.
...
As per https://github.com/w3c/csswg-drafts/issues/5049 .
Don't enable it unconditionally just yet, as the name may change.
I had to move some rules in forms.css because otherwise you get
specificity conflicts.
Differential Revision: https://phabricator.services.mozilla.com/D76214
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
0c8865b8e1
style: Enable :is() and :where() in UA sheets.
...
This will allow us to clean them up.
Differential Revision: https://phabricator.services.mozilla.com/D76262
2020-06-04 01:50:36 +02:00
sefeng
54d869c111
style: Push/Pop dialog to top layer when needed.
...
This patch completes the top layer requirement for showModal()
Spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-dialog-showmodal
Differential Revision: https://phabricator.services.mozilla.com/D74922
2020-06-04 01:50:36 +02:00
Mats Palmgren
1fcc00a11a
style: Allow 'opacity' on ::first-letter/::first-line pseudos.
...
Differential Revision: https://phabricator.services.mozilla.com/D76387
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
224550f818
style: Derive parse for ShapeRadius.
...
Depends on D76331
Differential Revision: https://phabricator.services.mozilla.com/D76332
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
e259c53c62
style: Derive parse for TextOverflowSide.
...
Depends on D76330
Differential Revision: https://phabricator.services.mozilla.com/D76331
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
396338816d
style: Clean up parsing of UnicodeRange.
...
Differential Revision: https://phabricator.services.mozilla.com/D76330
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
66185e81f6
style: Support field_bound in #[derive(Parse)].
...
Differential Revision: https://phabricator.services.mozilla.com/D76268
2020-06-04 01:50:36 +02:00
Boris Chiou
35546aea54
style: Use style::One for Integer to avoid implementing Mul.
...
Differential Revision: https://phabricator.services.mozilla.com/D76207
2020-06-04 01:50:36 +02:00
Boris Chiou
7022f451e1
style: Replace AspectRatio with computed::position::Ratio in media-queries.
...
Also, we drop the pref, layout.css.aspect-ratio-number.enabled, becacuse
the spec of css-sizing-4 uses Number now.
Differential Revision: https://phabricator.services.mozilla.com/D75233
2020-06-04 01:50:36 +02:00
Boris Chiou
fc9321bb23
style: Let aspect-ratio (css-sizing-4) support 'auto | <ratio>'.
...
In order to test its parsing and serialization, we expose it but protect
it behind a pref.
Besides, I would like to drop layout.css.aspect-ratio-number.enabled in
the next patch because the spec has been updated. It seems we don't have
to keep this pref and we should always use Number.
Differential Revision: https://phabricator.services.mozilla.com/D74955
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
bd23e05c47
style: Fix a no-longer valid assumption in pseudo-element matching / invalidation code.
...
After bug 1632647, we can have pseudo-classes inside :not / :is /
:where, which the invalidation and matching code weren't handling.
Add a few tests for this stuff working as expected.
Differential Revision: https://phabricator.services.mozilla.com/D76160
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
a40b2b610a
style: Fix a case where we'd allow parsing functional :host incorrectly.
...
This is a missing check I should've introduced in bug 1632647.
Differential Revision: https://phabricator.services.mozilla.com/D76161
2020-06-04 01:50:36 +02:00
Emilio Cobos Álvarez
a457a2261b
style: Fix parsing of :is() and :where() to account for constraints from parent selectors.
...
Differential Revision: https://phabricator.services.mozilla.com/D75856
2020-06-04 01:50:36 +02:00