servo/components
Daniel Adams 48fa77df67
Gamepad: Align closer to spec and implement missing slots (#31385)
* Implement missing gamepad slots, align to spec more

- Fixes TODO's from initial gamepad implementation
- Adds some missing spec steps

* Only handle gamepad events when pref is enabled

* Return empty list in getGamepads if document not active

* ./mach fmt

* Update getGamepads to return an array instead of GamepadList

* Add spec link for [[exposed]] slot

* Remove failing test expectations for not-fully-active

* A few fixes

- Change should_notify to has_gesture
- Add spec links and TODO to navigator
- Remove unneeded clone from GamepadList::list
- Move gamepadconnected event firing into has_gesture block

* Use queue_with_canceller for tasks and add expects

* Explicitly check for gamepad user gesture

* Move user gesture check into separate function

* Change contains_user_gesture to be a gamepad function

* mach fmt

* Change axis/button threshold constants to be private to module
2024-03-12 12:32:30 +00:00
..
allocator Use libc::malloc_size on apple (#31602) 2024-03-11 07:58:32 +00:00
background_hang_monitor clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
bluetooth clippy: fix warnings in components/bluetooth (#31566) 2024-03-07 23:32:35 +00:00
canvas clippy: fix some warnings in components/canvas (#31563) 2024-03-08 07:24:01 +00:00
compositing compositor: Remove the is_running_problem_test setting (#31589) 2024-03-09 02:29:43 +00:00
config compositor: Remove the is_running_problem_test setting (#31589) 2024-03-09 02:29:43 +00:00
config_plugins clippy: fix warnings in components/config* (#31562) 2024-03-08 07:15:56 +00:00
constellation clippy: Fix warnings in components/constellation (#31610) 2024-03-11 10:22:28 +00:00
deny_public_fields Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
devtools Fix clippy warnings in components/rand (#31549) 2024-03-07 23:16:42 +00:00
dom_struct clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
domobject_derive clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
geometry Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
gfx font_cache: Handle filtering @font-face rules in Servo (#31601) 2024-03-11 14:47:52 +00:00
hyper_serde clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
jstraceable_derive Update to syn 2 where possible (#30387) 2023-09-19 15:57:37 +00:00
layout layout: Enable rendering of conical-gradient and repeating-conical-gradient (#31597) 2024-03-11 12:58:44 +00:00
layout_2020 clippy: Fix warnings in components/layout_2020 (#31611) 2024-03-11 14:24:33 +00:00
layout_thread font_cache: Handle filtering @font-face rules in Servo (#31601) 2024-03-11 14:47:52 +00:00
layout_thread_2020 font_cache: Handle filtering @font-face rules in Servo (#31601) 2024-03-11 14:47:52 +00:00
media clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
metrics Move Stylo to its own repo (#31350) 2024-02-27 15:39:06 +00:00
net fix: unused mem import (#31608) 2024-03-10 20:20:42 +00:00
pixels clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
profile clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
rand Fix clippy warnings in components/rand (#31549) 2024-03-07 23:16:42 +00:00
range clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
remutex clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
script Gamepad: Align closer to spec and implement missing slots (#31385) 2024-03-12 12:32:30 +00:00
servo compositor: Remove the is_running_problem_test setting (#31589) 2024-03-09 02:29:43 +00:00
shared Fix more clippy warnings in components/shared/net (#31548) 2024-03-10 17:47:38 +00:00
url clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
webdriver_server deps: Remove unused crate dependencies (#31185) 2024-01-26 23:18:26 +00:00
webgpu clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00