Commit graph

30940 commits

Author SHA1 Message Date
CYBAI
003ddfc945 style: Move grid-template-areas outside of mako 2017-11-29 22:36:55 +08:00
bors-servo
9d602a7bb9 Auto merge of #19419 - servo:bumps, r=avadacatavra
Update openssl to 0.9.21

This replaces bitflags 0.8.2 by 0.9.1.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19419)
<!-- Reviewable:end -->
2017-11-29 06:25:46 -06:00
bors-servo
462409ada5 Auto merge of #19413 - servo:jdm-patch-9, r=avadacatavra
Don't confuse Cargo when building dependencies.

It's not totally clear why this is experienced intermittently (see #19402), but this allowed mp4parse-capi to actually build on my machine.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19413)
<!-- Reviewable:end -->
2017-11-29 05:24:48 -06:00
Anthony Ramine
cd381d39be Update openssl to 0.9.21
This replaces bitflags 0.8.2 by 0.9.1.
2017-11-29 12:15:57 +01:00
Ting-Yu Lin
f8648ff602 style: Update Gecko bindings
MozReview-Commit-ID: J7VPWvOtP88
2017-11-29 18:01:49 +08:00
Louis Chang
47d4d16539 Add a new value inner-spin-button to -moz-appearance in stylo. 2017-11-29 18:01:36 +08:00
bors-servo
1f30196a37 Auto merge of #19415 - aethanyc:shape-image, r=heycam
style: Support shape-image: <image>

This was reviewed in nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1418224

Reland #19376

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19415)
<!-- Reviewable:end -->
2017-11-28 21:34:16 -06:00
Ting-Yu Lin
14ec5a662f style: Update Gecko bindings
MozReview-Commit-ID: FUsLXeucoz2
2017-11-29 11:27:42 +08:00
Ting-Yu Lin
923ffcf2cc style: Support shape-image: <image>
MozReview-Commit-ID: GSCZIMEpCS2
2017-11-29 11:27:31 +08:00
bors-servo
077d74795a Auto merge of #19402 - servo:bumps, r=emilio
Update gecko-media and clap

This removes moz-cheddar and thus syntex from Servo's dependencies.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19402)
<!-- Reviewable:end -->
2017-11-28 16:10:17 -06:00
Josh Matthews
786583b61f
Don't confuse Cargo when building dependencies. 2017-11-28 15:52:54 -05:00
Anthony Ramine
08483804d8 Update clap to 2.28
This removes bitflags 0.9.1 from the dependency graph.
2017-11-28 21:06:32 +01:00
Anthony Ramine
3463139187 Update gecko-media
This removes moz-cheddar and thus syntex from Servo's dependencies.
2017-11-28 21:06:29 +01:00
bors-servo
ae3c3ba1c2 Auto merge of #19411 - servo:parse-hosts, r=nox
Replace parse-hosts crate with 10 lines of code.

This removes 3927 lines of Rust code in 6 crates from the dependency graph: parse-hosts, multistr, bow, extra-default, len-trait, and push-trait.

One of these crates doesn’t build in today’s Nightly: https://github.com/rust-lang/rust/issues/46328

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19411)
<!-- Reviewable:end -->
2017-11-28 09:20:44 -06:00
Simon Sapin
eb3652b3c6 Replace parse-hosts crate with 10 lines of code.
This removes 3927 lines of Rust code in 6 crates from the dependency graph:
parse-hosts, multistr, bow, extra-default, len-trait, and push-trait.

One of these crates doesn’t build in today’s Nightly:
https://github.com/rust-lang/rust/issues/46328
2017-11-28 16:19:29 +01:00
bors-servo
2eb266b314 Auto merge of #19410 - servo:SimonSapin-patch-1, r=nox
Firefox is now on Rust 1.21

https://bugzilla.mozilla.org/show_bug.cgi?id=1409533

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19410)
<!-- Reviewable:end -->
2017-11-28 07:33:38 -06:00
Simon Sapin
2921db97df
Firefox is now on Rust 1.21
https://bugzilla.mozilla.org/show_bug.cgi?id=1409533
2017-11-28 14:21:41 +01:00
bors-servo
66d0a41127 Auto merge of #19378 - CYBAI:grid-auto-flow-out-of-mako, r=emilio
style: Move grid-auto-flow outside of mako

This is a sub-PR of #19015
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19375
- [x] These changes do not require tests

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19378)
<!-- Reviewable:end -->
2017-11-28 05:16:49 -06:00
bors-servo
5568c4e3d3 Auto merge of #19384 - CYBAI:fix-19177, r=emilio
Call children_changed on the parent node consistently

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19177
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19384)
<!-- Reviewable:end -->
2017-11-28 04:08:51 -06:00
CYBAI
96ba56c2c8 Add tests for using replaceData to change CSS 2017-11-28 11:35:01 +08:00
bors-servo
823da9e34a Auto merge of #19388 - BorisChiou:stylo/dommatrix/parser, r=emilio,heycam
stylo: Implement Servo_ParseTransformIntoMatrix

This is an inter-dependent patch of Bug 1408310.

DOMMatrix needs to convert a specified transform list into a matrix, so we rewrite
to_transform_3d_matrix by generics for both specified and computed transform lists.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1408310](https://bugzilla.mozilla.org/show_bug.cgi?id=1408310).
- [X] These changes do not require tests because we can count on the wpt tests for DOMMatrix on Gecko side.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19388)
<!-- Reviewable:end -->
2017-11-27 20:13:34 -06:00
Boris Chiou
3a38e815ec Implement Servo_ParseTransformIntoMatrix.
DOMMatrix needs to convert a specified transform list into a matrix, so
we could rewrite to_transform_3d_matrix by generics for both specified
and computed transform lists.

Besides, we have to update the test case because we use Transform3D<f64> to
compute the matrix, instead of Transform3D<f32>, so the result will be
the same as that in Gecko. Using 0.3 may cause floating point issue
because (0.3f32 as f64) is not equal to 0.3 (i.e. floating point precision
issue), so using 0.25 instead.
2017-11-28 10:08:12 +08:00
bors-servo
c93f989e11 Auto merge of #19399 - glennw:update-wr-xf-text, r=jdm
Update WR (rasterize test in transform space, render target optimizations).

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19399)
<!-- Reviewable:end -->
2017-11-27 18:53:41 -06:00
bors-servo
df50a9a81c Auto merge of #19391 - emilio:early-props-docs, r=upsuper
style: Add a comment about why early properties are early.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19391)
<!-- Reviewable:end -->
2017-11-27 17:42:50 -06:00
bors-servo
8b6b2e97c8 Auto merge of #19323 - asajeffrey:test-perf-run-nightly, r=edunham
Run test-perf on linux-nightly.

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

Run test-perf on linux-nightly.

---
<!-- 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 #12988
- [X] These changes do not require tests because this is test infrastructure

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19323)
<!-- Reviewable:end -->
2017-11-27 16:12:14 -06:00
Glenn Watson
063733d964 Update WR (rasterize test in transform space, render target optimizations). 2017-11-28 08:00:11 +10:00
bors-servo
7c99ae3bb8 Auto merge of #19398 - emilio:visited-as-an-image, r=dholbert
style: Disable :visited if the document is being used as an image.

Bug: 1420001
Reviewed-by: dholbert
MozReview-Commit-ID: F9MeT1kXZER
2017-11-27 14:57:57 -06:00
Emilio Cobos Álvarez
f94601d0a7
style: Disable :visited if the document is being used as an image.
Bug: 1420001
Reviewed-by: dholbert
MozReview-Commit-ID: F9MeT1kXZER
2017-11-27 21:20:14 +01:00
Emilio Cobos Álvarez
5887e1e55c
style: Move get_writing_mode outside of mako, and add a pointer to it. 2017-11-27 21:14:53 +01:00
bors-servo
769b643c0f Auto merge of #19380 - emilio:my-existence-seems-a-continuous-fight-with-xbl, r=heycam
style: Bring back the optimization to avoid traversing XBL subtrees that will likely change.

Bug: 1420496
Reviewed-by: heycam
MozReview-Commit-ID: 3sIGtcVOt0r

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19380)
<!-- Reviewable:end -->
2017-11-27 13:35:28 -06:00
Emilio Cobos Álvarez
cf45a45e18
style: Add a comment about why early properties are early. 2017-11-27 20:12:59 +01:00
bors-servo
6d49ec83a1 Auto merge of #19390 - emilio:never-enough-cleanup, r=nox
style: Minor cleanups while the sync service is down.

I cannot land my Gecko-dependent patches, so let's do some cleanup in the meantime.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19390)
<!-- Reviewable:end -->
2017-11-27 08:41:46 -06:00
Emilio Cobos Álvarez
7a5a35f5e0
style: Fix indentation of multiple CssParserContext construction. 2017-11-27 15:35:16 +01:00
Emilio Cobos Álvarez
92e9f12bd0
style: Remove quite useless StyleChange constructor. 2017-11-27 15:17:44 +01:00
Emilio Cobos Álvarez
3bfe529728
style: Deindent some code in matching.rs 2017-11-27 15:13:38 +01:00
Emilio Cobos Álvarez
3e1ae65e43
style: Remove redundant deny(). 2017-11-27 15:10:50 +01:00
Emilio Cobos Álvarez
c786fd2e55
style: Prefer doc comments to #[doc] annotations. 2017-11-27 15:10:28 +01:00
CYBAI
3a740142d9 Call children_changed on the parent node consistently 2017-11-27 20:19:08 +08:00
bors-servo
ac6e04ebfb Auto merge of #19382 - emilio:pdb-deindent, r=canaltinova
style: Deindent some property declaration code.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19382)
<!-- Reviewable:end -->
2017-11-26 12:45:41 -06:00
bors-servo
e44c0b7496 Auto merge of #19383 - emilio:rerere, r=emilio
Add clang packages for non-debian linuxes.

This relands #19381. Hopefully the sync service lands this PR and everything can go back to normal.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19383)
<!-- Reviewable:end -->
2017-11-26 10:53:33 -06:00
Josh Matthews
898aa65e0f
Add clang packages for non-debian linuxes. 2017-11-26 17:52:34 +01:00
Emilio Cobos Álvarez
47e9c88742
style: Deindent some property declaration code. 2017-11-26 17:16:22 +01:00
bors-servo
a8c7940ea3 Auto merge of #19381 - emilio:sync-service-broken, r=emilio
Revert "Add clang packages for non-debian linuxes."

This reverts commit 1d2456e076, in an attempt to
restore the sync state across repos. Will reland if this fixes it (and if it
doesn't too).

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19381)
<!-- Reviewable:end -->
2017-11-26 09:56:35 -06:00
Emilio Cobos Álvarez
3224a9c466
Revert "Add clang packages for non-debian linuxes."
This reverts commit 1d2456e076, in an attempt to
restore the sync state across repos. Will reland if this fixes it (and if it
doesn't too).
2017-11-26 16:54:47 +01:00
CYBAI
09321bfb68 style: Move grid-auto-flow outside of mako 2017-11-26 23:51:02 +08:00
Emilio Cobos Álvarez
98be9cf175
style: Update bindings. 2017-11-26 16:48:07 +01:00
Emilio Cobos Álvarez
d61c9a8d31
style: Bring back the optimization to avoid traversing XBL subtrees that will likely change.
We need to get rid of BindingHolder to handle properly the case of an invalid
binding URL.

Bug: 1420496
Reviewed-by: heycam
MozReview-Commit-ID: 3sIGtcVOt0r
2017-11-26 16:36:13 +01:00
bors-servo
0df51515c3 Auto merge of #19377 - moz-servo-sync:gecko-backout, r=moz-servo-sync
Multiple gecko backouts

Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE

Backs out https://github.com/servo/servo/pull/19376

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19377)
<!-- Reviewable:end -->

---

Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE

Backs out https://github.com/servo/servo/pull/19374
2017-11-26 08:22:12 -06:00
bors-servo
10e5ae2c65 Auto merge of #19353 - servo:jdm-patch-7, r=KiChjang
Add clang packages for non-debian linuxes.

Per https://github.com/servo/gecko-media/issues/71#issuecomment-346606660.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19353)
<!-- Reviewable:end -->
2017-11-26 06:44:59 -06:00
Gecko Backout
8679bafa93 Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/19374
2017-11-26 11:02:41 +00:00