Commit graph

10772 commits

Author SHA1 Message Date
bors-servo
68e200a581
Auto merge of #28236 - pecastro:winit_0_24_surfman, r=jdm
Winit 0.24.0 and surfman

<!-- Please describe your changes on the following line: -->
I've updated Servo to Winit 0.24.0 based on the previous work in #26394.
I've basically rebased master onto his jdm/winit branch which had the bulk of the work and I brute forced it till it built correcting things here and there as I could.
The build reports a few warnings:

```
00:04:59 Mar 03 10:20:06 warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
00:04:59 Mar 03 10:20:06    --> ports/winit/headed_window.rs:753:12
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06 753 |         if input.modifiers.shift() {
00:04:59 Mar 03 10:20:06     |            ^^^^^^^^^^^^^^^
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06     = note: `#[warn(deprecated)]` on by default
00:04:59 Mar 03 10:20:06
00:04:59 Mar 03 10:20:06 warning: use of deprecated field `winit::event::KeyboardInput::modifiers`: Deprecated in favor of WindowEvent::ModifiersChanged
00:04:59 Mar 03 10:20:06    --> ports/winit/keyutils.rs:263:34
00:04:59 Mar 03 10:20:06     |
00:04:59 Mar 03 10:20:06 263 |         modifiers: get_modifiers(input.modifiers),
00:04:59 Mar 03 10:20:06     |                                  ^^^^^^^^^^^^^^^
00:04:59 Mar 03 10:20:06
00:07:06 Mar 03 10:22:13 warning: 2 warnings emitted
00:07:06 Mar 03 10:22:13
00:07:06 Mar 03 10:22:13    Completed servo v0.0.1 bin "servo" in 132.7s
00:07:06 Mar 03 10:22:13     Finished dev [unoptimized + debuginfo] target(s) in 6m 59s
00:07:08 Mar 03 10:22:15 [Warning] Could not generate notification!
00:07:08 Mar 03 10:22:15 Build Completed in 0:07:01
```

And there are a few commits namely b27e09e009 which I'm not entirely sure of.
I've intentionally left the surfman patch in Cargo.toml so someone else can validate this branch.
Unit tests and smoke test run successfully.
Servo runs but I'm not familiar enough with it to validate how well it does. The window opens and content loads though.

My Rust foo is not great and I could use some help fixing those warnings.

Regards,

PECastro

---
<!-- 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
A few warnings ...
- [x ] `./mach test-tidy` does not report any errors
A few duplicate version statements but no errors.
- [x] These changes fix #26394
- [x] There are tests for these changes
-  [ ] 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. -->
2021-03-14 19:26:04 -04:00
Josh Matthews
129c583799 Update to 3/12 rustc nightly. 2021-03-14 13:24:21 -04:00
WPT Sync Bot
56531f4672 Update web-platform-tests to revision b'ac590e83f80632559480abda677db69b17f6ece1' 2021-03-11 09:52:00 +00:00
WPT Sync Bot
728707a192 Update web-platform-tests to revision b'0e0fe1b20da0d80eacadc326dec726138fd5aa83' 2021-03-10 10:12:41 +00:00
Josh Matthews
647e250835
Remove intermittent error. 2021-03-09 22:54:57 -05:00
Josh Matthews
8741558255
Remove intermittent failure. 2021-03-09 22:54:20 -05:00
Josh Matthews
36a6fbc727
Remove intermittent wdspec error. 2021-03-09 21:28:53 -05:00
Josh Matthews
19368320a5
Remove intermittent wdspec error. 2021-03-09 21:27:39 -05:00
WPT Sync Bot
6c98c32c8a Update web-platform-tests to revision b'0339b7e9ebef65f3288f07167a17c123a782c66f' 2021-03-09 10:07:29 +00:00
Vincent Ricard
3b3824078d Fix some 'nosniff' tests 2021-03-08 21:24:08 +01:00
Vincent Ricard
bdfcca36bb Add PRECONDITION_FAILED to grouping_formatter.py 2021-03-08 21:02:01 +01:00
WPT Sync Bot
d3e26fa88a Update web-platform-tests to revision b'0f46f31799cccd7421a588d053d054138513ccdd' 2021-03-08 10:13:28 +00:00
WPT Sync Bot
379002f533 Update web-platform-tests to revision b'f02e5df558aa05be8f192ffbeb1654d1f509ac9d' 2021-03-07 10:08:16 +00:00
WPT Sync Bot
31f9c69336 Update web-platform-tests to revision b'79fa4cf76e0d39e3fc1b7ead85e067b0a064b892' 2021-03-06 10:15:26 +00:00
Josh Matthews
10231573be Update to winit 0.24.
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: Paulo E. Castro <pecastro@wormholenet.com>
2021-03-05 20:00:30 -05:00
Josh Matthews
0c9d57ee2d
Revert intermittent crash. 2021-03-05 16:34:49 -05:00
WPT Sync Bot
3abcd4237f Update web-platform-tests to revision b'e055b8d439d6f4b09635f1f0c3180e17cf368071' 2021-03-05 10:07:59 +00:00
WPT Sync Bot
885a29c0ba Update web-platform-tests to revision b'e58cde68851afa192214f60a021f1e56b4172b7a' 2021-03-04 10:07:03 +00:00
WPT Sync Bot
5cd4d0259a Update web-platform-tests to revision b'b964db08565d01d21c778783da8e9b5d403de3d4' 2021-03-03 09:52:08 +00:00
Josh Matthews
b577baf544
Add linux failure. 2021-03-02 20:32:05 -05:00
WPT Sync Bot
2084f90f36 Update web-platform-tests to revision b'75b1ecef754b4c81ab92f9dd7d0663fbf3d16afe' 2021-03-02 10:04:51 +00:00
WPT Sync Bot
af0bf9334d Update web-platform-tests to revision b'd05fefcf165fd03947238957b00b0ca35c45213c' 2021-03-01 10:09:58 +00:00
Josh Matthews
45df01c26f
Delete 2020 failure. 2021-02-28 10:46:20 -05:00
WPT Sync Bot
b99372177f Update web-platform-tests to revision b'd04481569b4924284b8dd53b6430ef67de54073f' 2021-02-28 09:46:29 +00:00
bors-servo
b196bfeeeb
Auto merge of #28217 - servo:gecko-sync, r=emilio,jdm
style: Sync changes from mozilla-central.
2021-02-27 08:23:57 -05:00
Emilio Cobos Álvarez
fd51cddf96 Keep not parsing conic gradient, update WPT expectations. 2021-02-27 05:58:37 +01:00
Emilio Cobos Álvarez
aa4d2b0b0d selectors: Cherry-pick some fixes that got lost. 2021-02-27 05:58:37 +01:00
Josh Matthews
2fe3279d2f
Remove intermittent crash. 2021-02-26 19:42:44 -05:00
Josh Matthews
e6c7c1b597
Revert intermittent crash. 2021-02-26 18:13:54 -05:00
Emilio Cobos Álvarez
31e8e418ea Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
WPT Sync Bot
6b8f08a140 Update web-platform-tests to revision b'fef1c092193085ce2fa64fd116484ba0f3c0dbb1' 2021-02-26 09:58:30 +00:00
Josh Matthews
0382b95bb4
Add 2020 failure. 2021-02-25 10:14:05 -05:00
Josh Matthews
33c22f5f7d
Add 2020 failure. 2021-02-25 10:13:35 -05:00
WPT Sync Bot
4db11786c5 Update web-platform-tests to revision b'51407aaa3d17aa440f6807caef5e390dc779087a' 2021-02-25 09:47:00 +00:00
bors-servo
19d1544b66
Auto merge of #27619 - servo:rustup, r=jdm
Upgrade to rustc 1.48.0-nightly (623fb90b5 2020-09-26)

https://github.com/rust-lang/hashbrown/pull/159 reduced `size_of::<HashMap>()`
2021-02-25 00:11:29 -05:00
WPT Sync Bot
87be1008de Update web-platform-tests to revision b'7af9d6ec48ab04043a2bea85a3599904a1a19efa' 2021-02-21 11:31:07 -05:00
Josh Matthews
f068c3e865 Cherry-pick of 1b484b247d. 2021-02-19 18:46:01 -05:00
Vincent Ricard
a627dde0d0 Port some code to Python3 2021-02-18 09:35:46 -05:00
Josh Matthews
f73370088b Update WPT results. 2021-02-18 09:35:46 -05:00
Josh Matthews
303483e8eb Add new JS engine error type to WPT tests. 2021-02-18 09:35:46 -05:00
WPT Sync Bot
ca2fd0f290 Update web-platform-tests to revision c8a23aed99841887e72f883ab94a45d928a5820f 2021-02-04 10:43:31 +00:00
WPT Sync Bot
78cf1982a2 Update web-platform-tests to revision 289272c280086dda4bce0d31f2ce0fc1e7a08fa8 2021-02-03 11:17:49 +00:00
Josh Matthews
d3fd8d2234
Remove intermittent crash 2021-02-02 21:14:15 -05:00
WPT Sync Bot
1d60404228 Update web-platform-tests to revision b55988f768d44a04712866fb605017e67bfadd75 2021-02-02 10:58:01 +00:00
WPT Sync Bot
278f763afa Update web-platform-tests to revision 858d8eea637878df26f837fa9b0f2dfa248380ab 2021-02-01 10:52:44 +00:00
WPT Sync Bot
3fc5d9a7b7 Update web-platform-tests to revision 8732b4f9c5d7066162842287301516187caeed9c 2021-01-30 10:42:05 +00:00
Josh Matthews
60e7bee865
Remove 2020 failure. 2021-01-29 18:14:25 -05:00
Josh Matthews
508bd24770
Add 2020 failure. 2021-01-29 18:14:03 -05:00
Josh Matthews
91abfdc1ef
Add 2020 failure. 2021-01-29 18:13:41 -05:00
WPT Sync Bot
7b73751e5d Update web-platform-tests to revision 1a7d6fcf01f28389b557b20951808a8adfef7e2d 2021-01-29 10:50:22 +00:00