Commit graph

31404 commits

Author SHA1 Message Date
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
Gecko Backout
9651a5572e Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/19376
2017-11-26 11:00:42 +00:00
bors-servo
286ac51c07 Auto merge of #19376 - aethanyc:shape-image, r=heycam
style: Support shape-image: <image>

This is reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1404222

<!-- 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/19376)
<!-- Reviewable:end -->
2017-11-26 03:30:39 -06:00
Ting-Yu Lin
a04d0cb5f1 style: Update Gecko bindings
MozReview-Commit-ID: FUsLXeucoz2
2017-11-26 17:08:00 +08:00
Ting-Yu Lin
f3dbaad222 style: Support shape-image: <image>
MozReview-Commit-ID: GSCZIMEpCS2
2017-11-26 17:07:52 +08:00
bors-servo
b8b5c5371f Auto merge of #19374 - heycam:compute-color, r=TYLin
geckolib: Return from Servo_ComputeColor whether the value was currentcolor.

Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420026, reviewed there by TYLin.

<!-- 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/19374)
<!-- Reviewable:end -->
2017-11-25 21:25:16 -06:00
Cameron McCormack
c0dc50d90d style: Update Gecko bindings. 2017-11-26 11:25:01 +08:00
Cameron McCormack
cbba980a8b geckolib: Return from Servo_ComputeColor whether the value was currentcolor.
MozReview-Commit-ID: CwOJrfBG12J
2017-11-26 10:55:37 +08:00
bors-servo
3f0ccd0fef Auto merge of #19358 - jonleighton:issue-19171-3, r=KiChjang
Move selection to end when textarea value is assigned

Issue #19171

<!-- 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/19358)
<!-- Reviewable:end -->
2017-11-25 16:10:41 -06:00
bors-servo
8f61fde390 Auto merge of #19366 - CYBAI:font-family-out-of-mako, r=emilio
style: Move font-family outside of mako

This is a sub-PR of #19015
Besides, this is the last PR for `font.mako.rs`! 🎉
r? emilio

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19355
- [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/19366)
<!-- Reviewable:end -->
2017-11-25 13:06:31 -06:00
bors-servo
49658860d1 Auto merge of #19372 - emilio:bump-clang-sys, r=rillian
Bump clang-sys to work around a Rust miscompilation.

Works around: https://github.com/rust-lang/rust/issues/46239

<!-- 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/19372)
<!-- Reviewable:end -->
2017-11-25 11:48:44 -06:00
bors-servo
adfd51c842 Auto merge of #19369 - tigercosmos:a1, r=jdm
Remove WrappedHttpResponse abstraction

<!-- Please describe your changes on the following line: -->
Remove `WrappedHttpResponse` abstraction, and use `HyperResponse`

---

<!-- 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 #19361 (github issue number if applicable).

<!-- 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/19369)
<!-- Reviewable:end -->
2017-11-25 10:56:06 -06:00
CYBAI
a470ebd501 style: Move font-family outside of mako 2017-11-26 00:36:00 +08:00
tigercosmos
2e3d1d8372 Remove WrappedHttpResponse abstraction 2017-11-26 00:25:44 +08:00
Emilio Cobos Álvarez
2c97ae18e2
Bump clang-sys to work around a Rust miscompilation.
Works around: https://github.com/rust-lang/rust/issues/46239
2017-11-25 17:07:41 +01:00
Jon Leighton
9b06cb3369 Handle setting selectionStart to be > selectionEnd 2017-11-25 16:36:01 +01:00
Jon Leighton
95a7e09b40 Implement normalization for textarea "API value" 2017-11-25 16:36:00 +01:00
Jon Leighton
a7a5babb3a Move selection to end when textarea value is assigned
Issue #19171
2017-11-25 16:35:56 +01:00
bors-servo
2377d60fa1 Auto merge of #19371 - emilio:doc-colors, r=whoops
style: Don't insert into the `seen` set before ignoring document colors.

Otherwise we may stop honoring other colors in other cascade levels.

Fixes: #19370

<!-- 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/19371)
<!-- Reviewable:end -->
2017-11-24 19:10:00 -06:00
Emilio Cobos Álvarez
4c02ad00ef
style: Don't insert into the seen set before ignoring document colors.
Otherwise we may stop honoring other colors in other cascade levels.

Fixes: #19370
2017-11-25 02:08:48 +01:00
bors-servo
6158a4bf91 Auto merge of #19368 - theres-waldo:bug951793, r=emilio
Bug 951793 - Add support for the 'overscroll-behavior' CSS property (Servo changes)

Servo changes for [bug 951793](https://bugzilla.mozilla.org/show_bug.cgi?id=951793).

<!-- 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/19368)
<!-- Reviewable:end -->
2017-11-24 17:02:56 -06:00
Botond Ballo
efa61f0248 Bug 951793 - Regenerate bindings for Stylo. r=emilio 2017-11-24 17:02:49 -05:00
bors-servo
9900584757 Auto merge of #19370 - emilio:not-so-many-vars, r=xidorn
style: Perform variable substitution less often.

We're wasting a bunch of work unneedlessly.

<!-- 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/19370)
<!-- Reviewable:end -->
2017-11-24 15:59:00 -06:00
Emilio Cobos Álvarez
90ba75ab44
style: Perform variable substitution less often.
We're wasting a bunch of work unneedlessly.
2017-11-24 22:53:44 +01:00
Botond Ballo
5e2622f259 Bug 951793 - Style support for overscroll-behavior in Stylo. r=emilio 2017-11-24 16:48:04 -05:00
bors-servo
8349be1b3e Auto merge of #19367 - emilio:gecko-assert, r=upsuper
style: Make a Servo-only assertion apply to Gecko too.

Gecko passes it now, and we want to know if that ever 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/19367)
<!-- Reviewable:end -->
2017-11-24 14:51:46 -06:00
Emilio Cobos Álvarez
09c11d49d5
style: Make a Servo-only assertion apply to Gecko too.
MozReview-Commit-ID: CWhSfDQ8naE
2017-11-24 20:50:18 +01:00
bors-servo
b5b2455925 Auto merge of #19362 - SWW13:pip_log, r=jdm
Enable pip error output in mach_bootstrap.py

When `pip` encounters an error during mach bootstrapping in `mach_bootstrap.py` there is no error log because of `-q`. The output will only be read when an error was encountered, so this looks like an unintended mistake.

---

This gives error outputs like:
```
D:\Code\moz\servo>mach.bat -h
Pip failed to execute properly:
Output: Collecting marionette_driver>=2.4 (from -r D:\Code\moz\servo\tests\wpt\web-platform-tests\tools\wptrunner\requirements_firefox.txt (line 1))
  Using cached marionette_driver-2.4.0.tar.gz
Collecting mozprofile>=0.21 (from -r D:\Code\moz\servo\tests\wpt\web-platform-tests\tools\wptrunner\requirements_firefox.txt (line 2))
  Using cached mozprofile-0.28.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\$USER\AppData\Local\Temp\pip-build-zqivz5en\mozprofile\setup.py", line 12, in <module>
        assert sys.version_info[0] == 2
    AssertionError

    ----------------------------------------

Error: Command "python setup.py egg_info" failed with error code 1 in C:\Users\$USER\AppData\Local\Temp\pip-build-zqivz5en\mozprofile\
```

instead of:

```
D:\Code\moz\servo>mach.bat -h
Pip failed to execute properly:
Output:
Error: Command "python setup.py egg_info" failed with error code 1 in C:\Users\$USER\AppData\Local\Temp\pip-build-htd5no9k\mozprofile\
```

<!-- 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/19362)
<!-- Reviewable:end -->
2017-11-24 13:48:19 -06:00
Simon Wörner
663d6bc0c5 Enable pip output in mach_bootstrap.py 2017-11-24 20:47:11 +01:00
Simon Wörner
f08b473c50 Redirect stdout and stderr to file to avoid deadlock 2017-11-24 20:47:00 +01:00
bors-servo
3907953d80 Auto merge of #19363 - nox:canplaytype-warning, r=ferjm
Use GeckoMedia and only that on platforms that support it

<!-- 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/19363)
<!-- Reviewable:end -->
2017-11-24 08:47:31 -06:00
bors-servo
56b5a4d8cb Auto merge of #19364 - nox:cookie, r=KiChjang
Update cookie to 0.10

Except in webdriver, which source is in m-c.

<!-- 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/19364)
<!-- Reviewable:end -->
2017-11-24 03:50:37 -06:00
Anthony Ramine
ae20da6a80 Update cookie to 0.10
Except in webdriver, which source is in m-c.
2017-11-24 10:49:14 +01:00
Anthony Ramine
8e75c4d30e Use GeckoMedia and only that on platforms that support it 2017-11-24 10:18:36 +01:00
bors-servo
2374224cdf Auto merge of #19359 - mstange:bug1417709-try2, r=emilio
Bug 1417709, round two

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

These are the servo changes that need to go with [bug 1417709](https://bugzilla.mozilla.org/show_bug.cgi?id=1417709).

r? @emilio

---
<!-- 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 without these changes Firefox doesn't build.

<!-- 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/19359)
<!-- Reviewable:end -->
2017-11-23 15:21:06 -06:00
bors-servo
964b9b42cb Auto merge of #19360 - kvark:wr-fix, r=jdm
WR update to 4595561c49939cb21be9554c1b85c244508bde73

<!-- 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
- [x] These changes fix #19347

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because: no new 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. -->

cc @glennw

<!-- 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/19360)
<!-- Reviewable:end -->
2017-11-23 14:03:19 -06:00
Dzmitry Malyshau
8922280b91 WR update to 4595561c49939cb21be9554c1b85c244508bde73 2017-11-23 14:51:11 -05:00