Commit graph

34159 commits

Author SHA1 Message Date
Simon Sapin
a9627d233f Update getopts
*Sigh* https://github.com/rust-lang-nursery/getopts/pull/53#issuecomment-415770100
2018-08-24 17:49:58 +02:00
Manish Goregaokar
9228ca3a02 Add AudioListener DOM interface 2018-08-24 08:33:22 -07:00
bors-servo
ee7947aeef
Auto merge of #21503 - servo-wpt-sync:wpt_update_23-08-2018, r=jdm
Sync WPT with upstream (23-08-2018)

Automated downstream sync of changes from upstream as of 23-08-2018.
[no-wpt-sync]

<!-- 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/21503)
<!-- Reviewable:end -->
2018-08-24 09:05:35 -04:00
bors-servo
76dd6a4cdb
Auto merge of #21507 - servo:webgl, r=emilio
Update WebGL tests

There is in fact nothing to update because we use upstream's snapshots from `conformance-suites/`, we should consider syncing with `sdk/tests/` instead.

<!-- 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/21507)
<!-- Reviewable:end -->
2018-08-24 07:40:02 -04:00
Anthony Ramine
da4f170ad6 Update WebGL tests
Apparently unit2.patch wasn't correctly applied.
2018-08-24 13:15:06 +02:00
Anthony Ramine
d4eb6b196e Add newlines at the end of WebGL patches 2018-08-24 13:13:47 +02:00
Anthony Ramine
8582d18d2f Fix import-conformance-tests.py 2018-08-24 13:12:59 +02:00
WPT Sync Bot
ace02666c2 Update web-platform-tests to revision 34f9b93c2749043ba68485dea92d1fb554075e60 2018-08-23 23:42:32 -04:00
bors-servo
3d99288f20
Auto merge of #21500 - Manishearth:autoconf-readme, r=jdm
Include autoconf2.13 in readme

It's required by spidermonkey.

<!-- 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/21500)
<!-- Reviewable:end -->
2018-08-23 23:21:21 -04:00
bors-servo
8bb34243f5
Auto merge of #21499 - PsiACE:add-gstreamer-in-dnf-install, r=jdm
Update README.md

add `gstreamer` to `dnf install`

<!-- 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 not fix #21446, but help to compile.

<!-- Either: -->
- [x] There are tests for these changes OR
- [x] These changes do not require tests because it only change README.md

<!-- 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/21499)
<!-- Reviewable:end -->
2018-08-23 22:12:49 -04:00
bors-servo
54b387ab59
Auto merge of #21348 - pyfisch:only-webrender-items, r=jdm
Replace Servo DL items with WR ones

The Servo internal display list items are already pretty much
equivalent to the WebRender ones. Except that Servo items contain
base information and associated glyphs and gradient stops which are
stored implicitly in WebRender. Remove the display items for
rectangles, text, images, border, gradients and box shadow and
replace them with their WebRender counter parts.

Some more internal items like line, text shadow and iframe can definitively be replaced with WebRender equivalents but I think the PR is already quite huge. If WebRender would expose a quite minimal API which allowed servo to directly push items onto the display list most of webrender_helpers boilerplate code could go away. As WebRender performs normalization of gradients this would need to be called by servo explicitly in this case.

It should be noted that gradient borders don't actually work neither with the old version nor with this PR as the measurements are all set to zero.

Part of #19676

<!-- 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/21348)
<!-- Reviewable:end -->
2018-08-23 19:37:41 -04:00
Manish Goregaokar
4b48cfa3ec Upgrade to latest servo-media 2018-08-23 13:33:40 -07:00
Manish Goregaokar
66a9677538 Include autoconf2.13 in readme 2018-08-23 13:13:09 -07:00
bors-servo
fd64f11efe
Auto merge of #21494 - servo:selectors, r=SimonSapin
Publish selectors v0.20.0

Fixes #21455.

<!-- 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/21494)
<!-- Reviewable:end -->
2018-08-23 15:58:19 -04:00
Chojan Shang
68b582c8d7
Update README.md
add `gstreamer` to `dnf install`
2018-08-24 03:52:15 +08:00
Simon Sapin
df038d8343 Publish selectors v0.20.0 2018-08-23 20:43:06 +02:00
bors-servo
99099d860d
Auto merge of #21488 - servo-wpt-sync:wpt_update_22-08-2018, r=jdm
Sync WPT with upstream (22-08-2018)

Automated downstream sync of changes from upstream as of 22-08-2018.
[no-wpt-sync]

<!-- 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/21488)
<!-- Reviewable:end -->
2018-08-23 12:53:07 -04:00
bors-servo
a1abdde8c6
Auto merge of #21341 - servo:webgl, r=avadacatavra
Properly check limit in gl.activeTexture()

Fixes #20531.

<!-- 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/21341)
<!-- Reviewable:end -->
2018-08-23 09:16:56 -04:00
Anthony Ramine
8b1c753c6c Properly check limit in gl.activeTexture() 2018-08-23 15:15:33 +02:00
bors-servo
544f73a9fb
Auto merge of #21490 - servo:jdm-patch-22, r=KiChjang
appveyor: Append to LIB variable instead of overwriting it.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21489
- [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/21490)
<!-- Reviewable:end -->
2018-08-23 03:48:47 -04:00
Josh Matthews
a3f717c503
appveyor: Append to LIB variable instead of overwriting it. 2018-08-22 23:53:56 -04:00
WPT Sync Bot
280c87822d Update web-platform-tests to revision 50d6ee076e94273080d9f3b69be0bf4eeae156d3 2018-08-22 23:24:36 -04:00
bors-servo
3b9055510a
Auto merge of #21487 - cdisselkoen:remove-comment, r=jdm
Remove outdated comment in stylist.rs

<!-- Please describe your changes on the following line: -->
This comment on `cascade_style_and_visited` is unclear because it refers to `is_link`, which is not a parameter of that function.  It used to refer to a flag in `CascadeFlags` back when there was a `cascade_flags: CascadeFlags` parameter; that parameter was removed in commit cd04664.  I don't believe it accurately reflects how the code works anymore, and is best just removed.

---
<!-- 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 only touch comments

<!-- 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/21487)
<!-- Reviewable:end -->
2018-08-22 16:55:01 -04:00
Craig Disselkoen
916e2c206d Remove outdated comment in stylist.rs 2018-08-22 13:26:39 -07:00
bors-servo
aac4a3485f
Auto merge of #21430 - Eijebong:ws-origin, r=jdm
Properly set the origin on websocket messages

<!-- 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/21430)
<!-- Reviewable:end -->
2018-08-22 15:53:26 -04:00
bors-servo
73df3ad2ea
Auto merge of #21470 - servo:macos-mozjs, r=jdm
Update to mozjs_sys 0.60.1 to get libc++ on macOS

<!-- 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/21470)
<!-- Reviewable:end -->
2018-08-22 14:57:04 -04:00
Anthony Ramine
7cb0fe17b2 Update to mozjs_sys 0.60.1 to get libc++ on macOS 2018-08-22 19:22:04 +02:00
bors-servo
d8471e335b
Auto merge of #21477 - paulrouget:fixzoom, r=Manishearth
Fix zoom keybindings

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

<!-- 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/21477)
<!-- Reviewable:end -->
2018-08-22 13:16:24 -04:00
bors-servo
e60a976f22
Auto merge of #21473 - jdm:manifestup, r=Manishearth
Handle wpt version number changes when updating the manifest.

Based on https://phabricator.services.mozilla.com/D3771. This fixes https://github.com/web-platform-tests/wpt/issues/12589 and unbreaks the automated WPT sync.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [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/21473)
<!-- Reviewable:end -->
2018-08-22 09:35:00 -04:00
Paul Rouget
8e94bfe0bd Fix zoom keybindings 2018-08-22 04:44:46 +02:00
bors-servo
9e2bbb7385
Auto merge of #21460 - atouchet:shortcuts, r=paulrouget
List additional keyboard shortcuts

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

<!-- 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/21460)
<!-- Reviewable:end -->
2018-08-21 21:27:46 -04:00
Alex Touchet
305b1093f9
Add Mac shortcuts 2018-08-21 16:20:28 -07:00
bors-servo
7f820ab6eb
Auto merge of #21472 - CYBAI:update-readme, r=nox
Add `autoconf` as required dependency for macOS

Update README

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21471
- [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/21472)
<!-- Reviewable:end -->
2018-08-21 12:25:27 -04:00
CYBAI
e2d527aef1 Add autoconf as required dependency for macOS 2018-08-22 00:01:22 +08:00
Josh Matthews
9f746b33a8 wpt: Handle wpt version number changes when updating the manifest. 2018-08-21 09:24:16 -04:00
bors-servo
e2e7796a0c
Auto merge of #21439 - carloabelli:issue21401, r=paulrouget
Fix Android back button behavior

Pressing the back button should call mServoView.goBack if possible.

<!-- 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
- [X] These changes fix #21401  (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. -->

<!-- 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/21439)
<!-- Reviewable:end -->
2018-08-21 01:49:23 -04:00
bors-servo
5c8ede4b05
Auto merge of #21029 - asajeffrey:smup, r=Manishearth,nox
Upgrade to SM 60

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

This is the mozjs_sys smup PR. Depends on https://github.com/servo/mozjs/pull/138 and https://github.com/servo/rust-mozjs/pull/430.

---
<!-- 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 #20585
<!-- Either: -->
- [X] These changes do not require tests because the existing tests will ensure SM is still working

<!-- 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/21029)
<!-- Reviewable:end -->
2018-08-20 18:23:22 -04:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
bors-servo
561908a965
Auto merge of #21464 - jdm:undovswhere, r=bustage
Revert "build(mach): locate vs via vswhere on win32"

This reverts commit c20efd5e9a. It doesn't work on a new windows builder that only has the build tools installed, where no products are reported present; I would rather put us back in a state that works rather than try to deal with that issue.

<!-- 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/21464)
<!-- Reviewable:end -->
2018-08-20 15:20:16 -04:00
Josh Matthews
64cbf02084 Revert "build(mach): locate vs via vswhere on win32"
This reverts commit c20efd5e9a.
2018-08-20 12:58:59 -04:00
Alex Touchet
ea53d81596
List additional keyboard shortcuts 2018-08-19 21:27:30 -07:00
bors-servo
d34403047e
Auto merge of #21434 - servo:jdm-patch-19, r=jdm
Remove warnings about WPT syncing process.

The process is well understood now and they're just annoying to remove every time.

<!-- 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/21434)
<!-- Reviewable:end -->
2018-08-19 14:24:53 -04:00
bors-servo
cc41d52291
Auto merge of #21458 - servo-wpt-sync:wpt_update_18-08-2018, r=jdm
Sync WPT with upstream (18-08-2018)

Automated downstream sync of changes from upstream as of 18-08-2018.
[no-wpt-sync]

<!-- 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/21458)
<!-- Reviewable:end -->
2018-08-19 13:12:37 -04:00
bors-servo
e7791f9a00
Auto merge of #21452 - emilio:gecko-sync, r=emilio
style: Import changes from mozilla-central.

See each individual commit for details.

<!-- 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/21452)
<!-- Reviewable:end -->
2018-08-19 07:57:53 -04:00
Emilio Cobos Álvarez
142cdcd3fd
Update test expectations. 2018-08-19 13:56:21 +02:00
WPT Sync Bot
3ebfea9f10 Update web-platform-tests to revision 6aef6676d2f95c29de17666cc70d61b517939fbf 2018-08-18 22:44:56 -04:00
bors-servo
022cc93c22
Auto merge of #21454 - tigercosmos:fetch, r=KiChjang
Network: Preserve HEAD on 303 redirect

fixed #21449. This is an update for spec.

This PR just update one step for redirect fetch according to spec. No tests result change, since the whole process is still in development(So many todo).

<!-- 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/21454)
<!-- Reviewable:end -->
2018-08-18 21:59:56 -04:00
bors-servo
96ce8a7e9b
Auto merge of #21433 - servo:jdm-patch-17, r=jdm
Clean more build artifacts.

This should help with disk usage errors on linux.

<!-- 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/21433)
<!-- Reviewable:end -->
2018-08-18 20:35:54 -04:00
bors-servo
cd0e7e7ebb
Auto merge of #21450 - servo:wpt_update_18-08-2018, r=jdm
Sync WPT with upstream (18-08-2018)

Automated downstream sync of changes from upstream as of 18-08-2018.
[no-wpt-sync]

<!-- 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/21450)
<!-- Reviewable:end -->
2018-08-18 19:49:35 -04:00
bors-servo
e644692c1c
Auto merge of #21447 - cdisselkoen:readme-keyboard-shortcuts, r=larsbergstrom
README: clarify Mac keyboard shortcuts

<!-- Please describe your changes on the following line: -->
Add clarifications to the README's section on keyboard shortcuts for Mac users.

Relatedly, I couldn't get the zoom-related shortcuts to work at all on Mac; I tried each of `Ctrl`, `Opt`, and `Cmd` with `-` and `=` on a couple different webpages.  I can file a separate issue for that if it's warranted, or amend this PR to add a note to the README for this as well.

---
<!-- 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 they only touch the README

<!-- 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/21447)
<!-- Reviewable:end -->
2018-08-18 15:32:51 -04:00