Tim Ledbetter
a968bc6f80
Ladybird/Qt: Use a precise timer for event loop timer events
...
This improves the accuracy of `setTimeout()`.
2024-02-26 16:12:20 -07:00
Dan Klishch
b77996884e
LibCore+Ladybird: Don't force timer ids to be integer just to remap them
...
If we don't force event loop to fit timer id into integer, we can
eliminate awkward IDAllocator inside EventLoopImplementations.
2024-02-25 17:24:36 -07:00
Dan Klishch
bed4af6fef
LibCore+Ladybird: Make unregistering timer infallible
...
Let's force calling code to provide valid timer ids. No code changes are
required since, surprise, nobody used this obscure functionality.
2024-02-25 17:24:36 -07:00
Dan Klishch
21097d1c9e
LibCore+Ladybird: Don't store timer_id in Core::TimerEvent
2024-02-25 17:24:36 -07:00
Dan Klishch
77e4f0d7d8
LibCore: Allow listening for multiple conditions using a single Notifier
...
While on it, implement currently unused Notifier::set_type correctly
(but not efficiently) by re-registering Notifier in the EventLoop.
2024-02-03 16:43:13 -07:00
Andrew Kaster
391beef707
Ladybird: Move Qt-specific classes and functions to a Qt subdirectory
...
This will help a lot with developing chromes for different UI frameworks
where we can see which helper classes and processes are really using Qt
vs just using it to get at helper data.
As a bonus, remove Qt dependency from WebDriver.
2023-08-07 14:58:04 -06:00