Commit graph

36024 commits

Author SHA1 Message Date
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
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
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
Emilio Cobos Álvarez
90c0ec0cf7 Fix servo build and rustfmt recent changes.
We need to introduce another Cursor enum that is specific to embedder_traits and
that layout converts to to avoid dependency hell.
2019-01-20 16:31:01 +01:00
Emilio Cobos Álvarez
05881b5ab4 style: Represent the percentage in LengthPercentage with something other than an option.
Not the prettiest, but it will work, and LengthPercentage will be 12 bytes which
is pretty good (we could do better if wanted I guess):

  * Au(i32) length;
  * f32 percentage;
  * AllowedNumericType(u8) clamping_mode;
  * bool has_percentage;
  * bool was_calc;

This will allow me to start moving C++ stuff to use this representation.

Differential Revision: https://phabricator.services.mozilla.com/D16929
2019-01-20 14:33:12 +01:00
Martin Stransky
e27c15e2f9 Honour system titlebar button left/right placement.
Differential Revision: https://phabricator.services.mozilla.com/D16466
2019-01-20 14:32:58 +01:00
Mats Palmgren
c40839a24f style: Implement the flow-relative border-radius properties.
Bug: 1520684
Reviewed-by: emilio
2019-01-20 14:32:42 +01:00
Mats Palmgren
beb4ad91af style: Add plumbing for handling physical/logical corner values.
Bug: 1520684
Reviewed-by: emilio
2019-01-20 14:32:26 +01:00
Mats Palmgren
50babf81f8 style: Implement the border-{block,inline}-{color,style,width} shorthands.
Bug: 1520236
Reviewed-by: emilio
2019-01-20 14:32:11 +01:00
Martin Stransky
424eb94c7f Enable hidden system titlebar by default on Gnome.
This patch implements -moz-gtk-csd-hide-titlebar-by-default media query
to check if the system titlebar should be disabled by default on Linux systems
(it's already disabled on Window/Mac).

It also removes explicit definition of browser.tabs.drawInTitlebar preference on Linux.
When browser.tabs.drawInTitlebar is missing the -moz-gtk-csd-hide-titlebar-by-default
is used to obtain the titlebar state. When browser.tabs.drawInTitlebar is set
in about:config or by Customize menu, the user peference is used instead of the default.

It also fixes a -moz-gtk-csd-available media query,
it was always true regardless the actual system setting.

Differential Revision: https://phabricator.services.mozilla.com/D16036
2019-01-20 14:32:01 +01:00
Noemi Erli
1ae815214a Backed out changeset 009cf5f885ba (bug 1520236) for multiple failures in logical-box-border-color-visited-link-002.html 2019-01-20 14:31:56 +01:00
Mats Palmgren
89e12780b9 style: Implement the border-block/border-inline shorthands.
Bug: 1520396
Reviewed-by: emilio
2019-01-20 14:31:39 +01:00
Mats Palmgren
604ec247f7 style: Implement the border-{block,inline}-{color,style,width} shorthands.
Bug: 1520236
Reviewed-by: emilio
2019-01-20 14:31:20 +01:00