Commit graph

35703 commits

Author SHA1 Message Date
WPT Sync Bot
c80d322d92 Update web-platform-tests to revision 4e6563687b9c03d2f54ce0f06ef0ccc8e0964328 2019-01-02 22:45:11 -05:00
bors-servo
e68585a26f
Auto merge of #22576 - Eijebong:itertools, r=Manishearth
Update itertools to 0.8

<!-- 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/22576)
<!-- Reviewable:end -->
2019-01-02 13:05:04 -05:00
bors-servo
721d2a8abd
Auto merge of #22582 - servo:jdm-patch-28, r=SimonSapin
Fix appveyor build

Attempting to fix #22476.

<!-- 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/22582)
<!-- Reviewable:end -->
2019-01-02 08:25:44 -05:00
Josh Matthews
72e08cae6d
Force a new appveyor build. 2019-01-01 20:46:57 -05:00
bors-servo
4b091ef59b
Auto merge of #22578 - servo-wpt-sync:wpt_update_30-12-2018, r=jdm
Sync WPT with upstream (30-12-2018)

Automated downstream sync of changes from upstream as of 30-12-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/22578)
<!-- Reviewable:end -->
2018-12-31 16:20:55 -05:00
WPT Sync Bot
d1e28c482e Update web-platform-tests to revision 4dbc8a0d7b1b1c032aaddc2579ec7239ad565127 2018-12-31 13:28:17 -05:00
bors-servo
8de1b8d3f4
Auto merge of #22385 - servo:rustup, r=SimonSapin
Upgrade to rustc 1.33.0-nightly (fb86d604b 2018-12-27)

<!-- 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/22385)
<!-- Reviewable:end -->
2018-12-31 13:09:35 -05:00
Josh Matthews
79ddd81b10
Force new appveyor build 2018-12-31 13:06:44 -05:00
Josh Matthews
636e3bcd43
Use previous appveyor MSVC image. 2018-12-31 12:07:21 -05:00
Josh Matthews
c0afb2c57c
Add LLVM to appveyor path. 2018-12-31 11:00:32 -05:00
bors-servo
aaf2c5ad64
Auto merge of #22577 - servo:selectors, r=SimonSapin
Publish selectors 0.21.0 on crates.io
2018-12-30 19:04:06 -05:00
Simon Sapin
d114376a8c Publish selectors 0.21.0 on crates.io 2018-12-31 01:01:49 +01:00
Bastien Orivel
b3fd2233b3 Update itertools to 0.8 2018-12-30 16:09:34 +01:00
bors-servo
40f1e188d0
Auto merge of #22574 - Eijebong:bindgen, r=KiChjang
Update bindgen to 0.46

<!-- 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/22574)
<!-- Reviewable:end -->
2018-12-29 16:12:26 -05:00
Bastien Orivel
c3df9b594b Update bindgen to 0.46 2018-12-29 19:30:23 +01:00
bors-servo
00c0341647
Auto merge of #22569 - IlyaBizyaev:add-opensuse-depends, r=ferjm
Add missing build dependencies for openSUSE

<!-- Please describe your changes on the following line: -->
GStreamer development packages and Autotools 2.13 are required for a successful build of servo on openSUSE Linux.
This commit adds missing dependencies (compare with e.g. Fedora and Arch).

---
<!-- 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 affect documentation

<!-- 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/22569)
<!-- Reviewable:end -->
2018-12-28 15:08:50 -05:00
Ilya Bizyaev
a1dd938a15
Add missing build dependencies for openSUSE
GStreamer 1.0 and Autotools 2.13 are required for a successful build of servo on openSUSE Linux
2018-12-28 22:28:14 +03:00
Simon Sapin
be2218a134 Fix some warnings 2018-12-28 15:31:08 +01:00
Simon Sapin
be69f9c3e6 Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
Simon Sapin
82fc6d9f49 Upgrade to rustc 1.33.0-nightly (fb86d604b 2018-12-27) 2018-12-28 13:16:55 +01:00
bors-servo
ec846e3c86
Auto merge of #22449 - georgeroman:implement_htmlmediaelement_playback_rates, r=ferjm
Implement HTMLMediaElement defaultPlaybackRate and playbackRate

<!-- 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 #22293

<!-- 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/22449)
<!-- Reviewable:end -->
2018-12-28 05:08:39 -05:00
bors-servo
f80c497a7f
Auto merge of #22428 - paulrouget:split_simpleservo, r=jdm
Split simpleservo into 3 crates for rust, c and jni apis

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22413 (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/22428)
<!-- Reviewable:end -->
2018-12-28 03:40:07 -05:00
Paul Rouget
16a00a107f Split simpleservo into 3 crates for rust, c and jni apis 2018-12-28 09:35:23 +01:00
George Roman
9aea7fb1e9 Disable event_timeupdate tests 2018-12-27 22:25:24 +02:00
George Roman
deb02ab6d7 Implement HTMLMediaElement defaultPlaybackRate and playbackRate attributes 2018-12-26 22:20:51 +02:00
bors-servo
44344452e2
Auto merge of #22549 - ferjm:create.wpt, r=jdm
Make create-wpt mach command use new manifest update implementation

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #22525

<!-- 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/22549)
<!-- Reviewable:end -->
2018-12-26 13:58:16 -05:00
bors-servo
7bc6c8d18f
Auto merge of #22555 - CYBAI:new-urlsearchparams, r=jdm
Construct URLSearchParams from array or object

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22554, fix #22556 and also fix #22557
- [x] There are tests in `url/urlsearchparams-constructor.any.js` 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/22555)
<!-- Reviewable:end -->
2018-12-26 08:36:00 -05:00
CYBAI
115b73f636 Use IndexMap for WebIDL Record 2018-12-26 18:05:43 +08:00
CYBAI
4ba0ab7bd0 Construct URLSearchParams from array or object 2018-12-26 18:05:42 +08:00
bors-servo
66223ee105
Auto merge of #22121 - gterzian:remove_constellation_block_in_navigation, r=paulrouget
Remove sync constellation -> embedder communication

<!-- 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 #22042 (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/22121)
<!-- Reviewable:end -->
2018-12-26 01:53:20 -05:00
bors-servo
69e90a83bc
Auto merge of #22558 - servo-wpt-sync:wpt_update_25-12-2018, r=jdm
Sync WPT with upstream (25-12-2018)

Automated downstream sync of changes from upstream as of 25-12-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/22558)
<!-- Reviewable:end -->
2018-12-25 23:32:24 -05:00
WPT Sync Bot
e2620c17c0 Update web-platform-tests to revision 64bd43ee19cc4667e4a3020c5894af7dbe68f5cc 2018-12-25 21:52:42 -05:00
bors-servo
47a308b277
Auto merge of #22552 - servo-wpt-sync:wpt_update_24-12-2018, r=jdm
Sync WPT with upstream (24-12-2018)

Automated downstream sync of changes from upstream as of 24-12-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/22552)
<!-- Reviewable:end -->
2018-12-25 01:24:33 -05:00
bors-servo
5ccd912107
Auto merge of #22553 - CYBAI:rm-leading-question-mark, r=jdm
Remove leading question mark when constructing URLSearchParams

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22551
- [x] There are tests for these changes that I add a new test case for this case

<!-- 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/22553)
<!-- Reviewable:end -->
2018-12-25 00:07:18 -05:00
CYBAI
9de8e7adc0 Remove leading question mark when constructing URLSearchParams 2018-12-25 12:23:05 +08:00
WPT Sync Bot
4be16c75d7 Update web-platform-tests to revision a357943a203d0d587a30c9aa41c4772a0500ff79 2018-12-24 21:55:27 -05:00
bors-servo
f4aafe8caa
Auto merge of #22547 - CYBAI:url-tojson, r=emilio
Implement URL's toJSON()

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22544
- [x] There are tests named with `url-tojson` 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/22547)
<!-- Reviewable:end -->
2018-12-24 09:51:45 -05:00
Fernando Jiménez Moreno
40337181c3 Make create-wpt mach command use new manifest update implementation 2018-12-24 14:47:09 +01:00
bors-servo
9ce3c97772
Auto merge of #22546 - atouchet:tidy, r=jdm
Update servo-tidy.toml

<!-- Please describe your changes on the following line: -->
rand no longer has a dependency on itself since 0.3 was removed in #22388.

---
<!-- 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/22546)
<!-- Reviewable:end -->
2018-12-24 08:19:54 -05:00
CYBAI
66e3d545eb Implement URL's toJSON() 2018-12-24 20:45:43 +08:00
Alex Touchet
af83a7b7da
Update servo-tidy.toml 2018-12-23 19:52:19 -08:00
bors-servo
6840c18389
Auto merge of #22540 - CYBAI:update-sw-webidl, r=jdm
Update ServiceWorker webidl

About the `void postMessage`, I found the spec doesn't have `[Throws]`; however, as the implementation for `postMessage` in spec, we should have `[Throws]` for it because it will throw errors. Then, I realized that `[Throws]` is not part of standard webidl. Btw, there's a issue discussing about if `[Throws]` should be standardized or not at heycam/webidl#603.

Also, per the spec, `ServiceWorker` will `includes` `AbstractWorker` instead of `implements` so I filed #22539 for it. We can update it after the issue is fixed.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #19302
- [x] These changes do not require tests because it just updates the webidl and the changes should have no impact to current implementation.

<!-- 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/22540)
<!-- Reviewable:end -->
2018-12-23 15:21:08 -05:00
bors-servo
248d8596d5
Auto merge of #22538 - CYBAI:update-sw-container, r=jdm
Update ServiceWorkerContainer Webidl

Looks like the spec has changed a lot. Maybe it's better to update the implementation for these methods in a separate PR.

Let's just update webidl in this PR?

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of  #19302
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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/22538)
<!-- Reviewable:end -->
2018-12-23 12:17:40 -05:00
bors-servo
1668fbc7c3
Auto merge of #22536 - servo-wpt-sync:wpt_update_22-12-2018, r=jdm
Sync WPT with upstream (22-12-2018)

Automated downstream sync of changes from upstream as of 22-12-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/22536)
<!-- Reviewable:end -->
2018-12-23 10:48:19 -05:00
bors-servo
b5a10e9c96
Auto merge of #22487 - emilio:single-layout-thread-pool, r=jdm
style: Make Servo use a single thread-pool for layout-related tasks per process.

Instead of per-document. This also allows to reuse this thread-pool if needed
for other stuff, like parallel CSS parsing (#22478), and to share more code with
Gecko, which is always nice.

<!-- 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/22487)
<!-- Reviewable:end -->
2018-12-23 09:39:07 -05:00
Emilio Cobos Álvarez
006e71c7de style: Make Servo use a single thread-pool for layout-related tasks per-process.
Instead of per-document. This also allows to reuse this thread-pool if needed
for other stuff, like parallel CSS parsing (#22478), and to share more code with
Gecko, which is always nice.
2018-12-23 13:00:56 +01:00
bors-servo
596b06367f
Auto merge of #22534 - Eijebong:owning_ref, r=KiChjang
Update owning_ref to 0.4

<!-- 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/22534)
<!-- Reviewable:end -->
2018-12-23 06:33:14 -05:00
bors-servo
27bb33cb9e
Auto merge of #22490 - cdeler:fix-22484-issue, r=ferjm
#22484 small cleanup

---
<!-- 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 #22484 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's a small code cleanup

<!-- 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/22490)
<!-- Reviewable:end -->
2018-12-23 05:24:33 -05:00
Gregory Terzian
cca354b217 set document ready state to complete in step 4 of parser abort 2018-12-23 17:39:20 +08:00
Gregory Terzian
7530faa4ea check for a document being "fully-active" before reflows 2018-12-23 17:39:20 +08:00