servo/components/script
Martin Robinson 8842fe9df5
script: Use time@0.3 for input elements and do conversion in a &str trait (#33355)
This changes converts all input element parsing and normalization to use
`time` instead of `chrono`. `time` is used by our dependencies, so it
makes sense to work toward removing the Servo dependency on chrono.

In addition, parsing and normalization also moves to a trait on &str to
prepare for the possibility of all script parsers moving to a separate
crate that can have unit tests written against it.

Code duplication is eliminated when possible and more conversion is done
using integer types. These two things together mean we pass more tests
now.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2024-09-09 14:33:16 +00:00
..
docs
dom script: Use time@0.3 for input elements and do conversion in a &str trait (#33355) 2024-09-09 14:33:16 +00:00
layout_dom script: Update list of non-TS pseudo classes supported by Servo (#33165) 2024-08-24 08:43:54 +00:00
task_source Dedupliate syn (#33038) 2024-08-13 21:21:47 +00:00
animation_timeline.rs
animations.rs remove usage of legacy numeric operations in script (#33095) 2024-08-16 21:30:13 +00:00
body.rs clippy: Fix let_and_return warnings (#31964) 2024-04-01 15:43:24 +00:00
build.rs Update python detection in codegen (#31873) 2024-03-26 10:14:06 +00:00
canvas_state.rs enhance: Implement CanvasRenderingContext2D.measureText (#32704) 2024-07-17 19:20:18 +00:00
Cargo.toml script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00
clipboard_provider.rs
devtools.rs jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +00:00
document_loader.rs clippy: fixed some warnings in components/script (#31888) 2024-03-26 21:25:42 +00:00
fetch.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
image_listener.rs
init.rs Fixed some clippy warning by adding default implementations (#31989) 2024-04-04 09:33:30 +00:00
layout_image.rs
lib.rs Use global exports from derives (#33169) 2024-08-25 13:58:09 +00:00
mem.rs
microtask.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
network_listener.rs
realms.rs clippy: components/script/realms (#32859) 2024-07-26 10:15:02 +00:00
script_module.rs jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +00:00
script_runtime.rs Fix a memory leak in components/script/script_runtime.rs and add more leak suppressions (#33175) 2024-08-26 07:33:23 +00:00
script_thread.rs script: Create a CrossProcessInstant to enable serializable monotonic time (#33282) 2024-09-05 18:50:09 +00:00
security_manager.rs enhance: Add support for unsafe-eval and wasm-unsafe-eval (#32893) 2024-08-01 17:26:44 +00:00
serviceworker_manager.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
stylesheet_loader.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
stylesheet_set.rs
task.rs
task_manager.rs script: Start rework to better match the specification HTML event loop (#31505) 2024-05-13 09:23:03 +00:00
task_queue.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
test.rs
textinput.rs remove usage of legacy numeric operations in script (#33095) 2024-08-16 21:30:13 +00:00
timers.rs script: Stop using time in DOM timers (#33262) 2024-08-30 15:20:44 +00:00
unpremultiplytable.rs
webdriver_handlers.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
window_named_properties.rs Replace the lazy_static crate whth std::sync::LazyLock in components/script (#33004) 2024-08-12 07:30:35 +00:00