bors-servo
9a0404ac5f
Auto merge of #21881 - pyfisch:keyboard-types, r=paulrouget
...
Use keyboard-types crate
Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent
from the W3C UI Events spec. All keyboard handling now uses the new types.
Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now
recognized in a uniform way.
Updated the winit port.
Updated webdriver integration.
part of #20331
What this PR does:
* allow the use non-ASCII keyboards for text input
* decouple keyboard event "key" from "code" (key meaning vs location)
What this PR does not do:
* completely improve keyboard events send from winit and webdriver
* add support for CompositionEvent or IME
Notes:
* The winit embedder does not send keyup events for printable keys (this is a regression)
* keyboard-types is on crates.io because I believe it to be useful outside of servo. If you prefer I can add a copy in this repo.
<!-- 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/21881 )
<!-- Reviewable:end -->
2018-10-17 05:36:08 -04:00
..
2018-10-12 09:30:41 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-15 20:07:40 -05:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-18 18:18:36 +05:30
2018-09-19 17:40:47 -04:00
2018-10-11 19:27:21 +02:00
2018-10-11 14:28:05 -07:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-11 14:28:05 -07:00
2018-10-08 16:12:04 +02:00
2018-09-19 17:40:47 -04:00
2018-09-20 20:23:29 +05:30
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 14:21:06 +02:00
2018-10-11 15:46:42 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 19:23:02 +02:00
2018-09-19 17:40:47 -04:00
2018-09-03 13:09:10 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-17 05:36:08 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-12 10:25:03 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-07-03 09:39:29 -07:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-20 11:01:53 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-12 10:25:03 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-09 14:57:02 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-12 21:55:09 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-12 15:29:57 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-20 23:59:31 +05:30
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 19:23:02 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 19:23:02 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-08 16:12:03 +02:00
2018-10-07 02:52:06 +02:00
2018-09-19 17:40:47 -04:00
2018-10-13 20:30:30 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2017-09-26 09:49:10 +02:00
2018-09-19 17:40:47 -04:00
2018-10-08 16:12:01 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2017-08-23 17:16:30 +02:00
2018-10-13 07:56:11 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-07-30 14:23:48 +02:00
2018-10-10 16:29:43 -07:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 14:21:06 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2017-09-26 09:49:10 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-11 22:17:46 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2017-11-06 13:00:14 -05:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2017-10-18 22:20:37 +11:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 19:23:02 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-02 14:21:06 +02:00
2018-09-19 17:40:47 -04:00
2018-10-16 11:19:58 +02:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-07-24 13:27:33 +02:00
2018-09-20 15:00:47 +02:00
2018-10-16 11:19:58 +02:00
2018-10-09 20:15:40 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-10-10 22:15:37 +09:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-20 15:35:19 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00
2018-09-19 17:40:47 -04:00