Commit graph

36788 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
76ea22d50c style: Simplify some conversion code used for mapped attributes.
These days for the types we share computed value representation we don't really
need any special code.

Differential Revision: https://phabricator.services.mozilla.com/D17763
2019-01-29 02:39:26 +01:00
Emilio Cobos Álvarez
45a416b996 style: Cleanup a few shorthand properties.
Differential Revision: https://phabricator.services.mozilla.com/D17082
2019-01-29 02:39:19 +01:00
Bobby Holley
af1bbd7b06 style: Derive more.
Differential Revision: https://phabricator.services.mozilla.com/D17029
2019-01-29 02:39:13 +01:00
Bobby Holley
137e735d9d style: Add a dependency on derive_more.
Differential Revision: https://phabricator.services.mozilla.com/D17028
2019-01-29 02:39:05 +01:00
Emilio Cobos Álvarez
624db3a0eb style: Remove layout.css.overflow.moz-scrollbars.enabled.
We've been shipping it for a few releases already, see bug 1481125.

Differential Revision: https://phabricator.services.mozilla.com/D17081
2019-01-29 02:38:58 +01:00
Emilio Cobos Álvarez
0488a3d3d3 style: Implement the inset shorthand.
Differential Revision: https://phabricator.services.mozilla.com/D16704
2019-01-29 02:38:46 +01:00
Josh Matthews
f3f20e6c35 Upgrade brotli dependency. 2019-01-28 20:09:43 -05:00
bors-servo
fe07d2c575
Auto merge of #22714 - aditj:patch-3, r=jdm
Added fetch_start functionality

<!-- Please describe your changes on the following line: -->
Added the fetch_start functionality in http_loader.rs (http_fetch function)

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

<!-- Either: -->
- [X] 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/22714)
<!-- Reviewable:end -->
2019-01-28 18:45:26 -05:00
bors-servo
07d53e32c4
Auto merge of #22740 - Hyperion101010:master, r=jdm
Truncate debug output for long data URLs #22485

  I tried to solve the patch, here i did what you told but i am not getting the
  exact result after the build can you take a look

<!-- 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
- [ ] These changes fix #22485 (GitHub issue number if applicable)

<!-- Either: -->
- [x] There are tests for these changes OR
- [x] 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/22740)
<!-- Reviewable:end -->
2019-01-28 15:56:29 -05:00
Josh Matthews
21e10b201a
Don't convert hash to string. 2019-01-28 15:56:13 -05:00
Josh Matthews
4168227382
Use hex for debug url hash. 2019-01-28 15:13:45 -05:00
hyperion101010
abc5b2a5bc Truncate long URLs when doing debug prints
I added the required changes on debug in lib.rs file, you can have a review
2019-01-29 01:38:30 +05:30
bors-servo
06c1209770
Auto merge of #22774 - servo:rustup, r=nox
Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-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/22774)
<!-- Reviewable:end -->
2019-01-28 05:37:44 -05:00
Simon Sapin
7cf98f6b01 Fix deprecation warnings 2019-01-28 11:32:40 +01:00
Simon Sapin
12d19760b3 Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27) 2019-01-28 11:23:51 +01:00
bors-servo
8646d7dbbc
Auto merge of #22772 - servo-wpt-sync:wpt_update_27-01-2019, r=jdm
Sync WPT with upstream (27-01-2019)

Automated downstream sync of changes from upstream as of 27-01-2019.
[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/22772)
<!-- Reviewable:end -->
2019-01-27 23:09:56 -05:00
WPT Sync Bot
a2accae63a Update web-platform-tests to revision fc57d7ad7a2942cfa363d5a9b8c6c7d74f5bb693 2019-01-27 22:39:44 -05:00
bors-servo
5fd64d9436
Auto merge of #22764 - servo-wpt-sync:wpt_update_26-01-2019, r=jdm
Sync WPT with upstream (26-01-2019)

Automated downstream sync of changes from upstream as of 26-01-2019.
[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/22764)
<!-- Reviewable:end -->
2019-01-26 22:58:40 -05:00
WPT Sync Bot
0e5e5db397 Update web-platform-tests to revision 8ae1ddbc812733c3a73b103eafad56fb43a2f4b5 2019-01-26 22:40:52 -05:00
bors-servo
d44e9aced2
Auto merge of #22745 - asajeffrey:magicleap-xor-debugmozjs, r=jdm
Stop building debugmozjs for magicleap

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

Block trying to build `--debug-mozjs` and `--magicleap` because that leads to horrid link errors.

---
<!-- 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 do not require tests because we don't test our CI as much as we probably should

<!-- 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/22745)
<!-- Reviewable:end -->
2019-01-26 15:35:59 -05:00
Manish Goregaokar
cbe505ba54 Add webxr pref 2019-01-26 08:28:37 -08:00
bors-servo
0e99ddd6fd
Auto merge of #22741 - servo:bump, r=emilio
Update base64

<!-- 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/22741)
<!-- Reviewable:end -->
2019-01-25 08:07:28 -05:00
Anthony Ramine
b9371c6856 Update base64 to 0.10.1 2019-01-25 14:02:56 +01:00
bors-servo
b1669b853b
Auto merge of #22759 - servo-wpt-sync:wpt_update_24-01-2019, r=jdm
Sync WPT with upstream (24-01-2019)

Automated downstream sync of changes from upstream as of 24-01-2019.
[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/22759)
<!-- Reviewable:end -->
2019-01-25 00:23:44 -05:00
WPT Sync Bot
bdaf11b099 Update web-platform-tests to revision 388ba3a049a3473b1945b9f8f81e9d6e342a249e 2019-01-24 23:13:56 -05:00
bors-servo
efecb3e1a2
Auto merge of #22756 - servo:jdm-patch-35, r=asajeffrey
Upgrade LLVM on windows.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22636
- [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/22756)
<!-- Reviewable:end -->
2019-01-24 18:50:26 -05:00
Josh Matthews
e75b40528f Use current Visual Studio image for Appveyor. 2019-01-24 15:23:27 -05:00
Josh Matthews
f50ca64913
Upgrade LLVM on windows. 2019-01-24 13:24:17 -05:00
Adit Jain
77c9285780 Added fetch_start functionality in http_fetch
Added spec link for webidl.
Added fetch_start functionality to PRT .
Changed the fetch_start location
2019-01-24 23:18:54 +05:30
bors-servo
43e21dc845
Auto merge of #22753 - servo-wpt-sync:wpt_update_23-01-2019, r=jdm
Sync WPT with upstream (23-01-2019)

Automated downstream sync of changes from upstream as of 23-01-2019.
[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/22753)
<!-- Reviewable:end -->
2019-01-23 23:47:37 -05:00
WPT Sync Bot
bd01f2fabd Update web-platform-tests to revision ef625c6ac28d0ac07ef0c62a6f22c10d14a2623a 2019-01-23 23:13:15 -05:00
bors-servo
5b41c01bdc
Auto merge of #22750 - servo-wpt-sync:wpt_update_22-01-2019, r=jdm
Sync WPT with upstream (22-01-2019)

Automated downstream sync of changes from upstream as of 22-01-2019.
[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/22750)
<!-- Reviewable:end -->
2019-01-23 17:10:50 -05:00
WPT Sync Bot
74f3bef690 Update web-platform-tests to revision bd951736b4d7dbfd862dfa0f27271b544e35ca30 2019-01-23 17:10:13 -05:00
bors-servo
3fe203b7d9
Auto merge of #22751 - learning:learning-patch-windows-dependencies, r=ferjm
Correct the GStreamer PATH for windows

<!-- Please describe your changes on the following line: -->
Just like what I said, `LNK1181` error when building `servo`:
https://github.com/servo/servo/issues/22737#issuecomment-456123020

The `gstplayer-1.0.lib` is not found, it located in `C:\gstreamer\1.0\x86_64\lib`, not `C:\gstreamer\1.0\x86_64\bin`

---
<!-- 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
- [X] `./mach build -r` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [X] These changes do not require tests because it's `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/22751)
<!-- Reviewable:end -->
2019-01-23 03:05:21 -05:00
Learning
833b52aaaa Correct the GStreamer PATH for windows 2019-01-23 15:40:49 +08:00
Alan Jeffrey
b55c9cf98b Stop building debugmozjs for magicleap 2019-01-22 15:22:54 -06:00
bors-servo
461bce1241
Auto merge of #22660 - CYBAI:formdataevent, r=jdm
Implement formdata event

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22654
- [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/22660)
<!-- Reviewable:end -->
2019-01-22 13:45:35 -05:00
CYBAI
3b9ab34600 Make a workaround for the test with about:blank onload
As jdm mentioned in https://github.com/servo/servo/pull/22660#discussion_r249597546, the initial about:blank load event can be fired before the form navigation occurs.
2019-01-23 00:53:52 +08:00
CYBAI
cb86d451e6 Implement cannot navigate 2019-01-23 00:38:45 +08:00
CYBAI
9d70f51356 Implement formdata event 2019-01-23 00:38:44 +08:00
bors-servo
477b6ef886
Auto merge of #22736 - CYBAI:formdata-vec, r=jdm
Store FormData with Vec<(LocalName, FormDatum)>

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13105
- [x] There are tests under `wpt/xhr/formdata-*.*` 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/22736)
<!-- Reviewable:end -->
2019-01-22 10:14:40 -05:00
bors-servo
c3608c0cb5
Auto merge of #22726 - learning:patch-elementary-os, r=jdm
Add support for elementary os

<!-- Please describe your changes on the following line: -->
Add support for elementary os

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

<!-- Either: -->
- [X] These changes do not require tests because it's a patch to `mach`

<!-- 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/22726)
<!-- Reviewable:end -->
2019-01-21 17:07:30 -05:00
bors-servo
6bce9a1d1b
Auto merge of #22734 - learning:patch-msvc-install, r=jdm
Fix BadZipfile error while install msvc dependencies

<!-- Please describe your changes on the following line: -->
Fix BadZipfile error while install msvc dependencies

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

<!-- Either: -->
- [X] These changes do not require tests because it's a patch to `mach`

<!-- 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/22734)
<!-- Reviewable:end -->
2019-01-21 13:49:48 -05:00
bors-servo
00148da264
Auto merge of #22730 - aditj:patch-2, r=ferjm
Changed return value of GetActiveCues

Return an empty TextTrackCueList rather than Some inside the GetActiveCues.

<!-- 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 #22706 (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/22730)
<!-- Reviewable:end -->
2019-01-21 12:15:03 -05:00
Learning
9c1683bcef Fix BadZipfile error while install msvc dependencies 2019-01-21 23:21:48 +08:00
Adit Jain
df1119b7cb Changed return value of GetActiveCues
Return an empty TextTrackCueList rather than Some.

Added previously removed comments.
2019-01-21 17:49:01 +05:30
bors-servo
7433025fb1
Auto merge of #22739 - servo-wpt-sync:wpt_update_20-01-2019, r=jdm
Sync WPT with upstream (20-01-2019)

Automated downstream sync of changes from upstream as of 20-01-2019.
[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/22739)
<!-- Reviewable:end -->
2019-01-21 01:04:28 -05:00
WPT Sync Bot
03d8b09382 Update web-platform-tests to revision 60ad712df2130b21908c4a055abf241d68ba9647 2019-01-20 23:02:32 -05:00
bors-servo
ccc4149b30
Auto merge of #22738 - emilio:gecko-sync, r=emilio
style: Sync 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/22738)
<!-- Reviewable:end -->
2019-01-20 11:51:05 -05:00
Emilio Cobos Álvarez
289d9b033c style: Make tidy happy. 2019-01-20 17:50:18 +01:00