servo/components/script/dom/bindings
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
..
codegen Impl PartialEq and Eq for DomObject (#33212) 2024-09-02 09:50:46 +00:00
buffer_source.rs webgpu: Sync GPUBuffer (#33154) 2024-08-27 07:54:55 +00:00
callback.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
cell.rs Fix incorrect documentation and add track_caller to DomRefCell methods (#33111) 2024-08-19 07:24:38 +00:00
constant.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
conversions.rs jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +00:00
error.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
finalize.rs Extract generated finalizers into generic helper functions. (#31569) 2024-03-08 14:15:26 +00:00
guard.rs clippy: Fix several warnings (#31710) 2024-03-18 08:33:43 +00:00
htmlconstructor.rs clippy: Fix explicit_auto_deref warnings in components/script (#31837) 2024-03-23 11:29:20 +00:00
import.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
inheritance.rs Use global exports from derives (#33169) 2024-08-25 13:58:09 +00:00
interface.rs fix: Replace callargs_is_constructing with is_constructing method (#33101) 2024-08-18 01:48:39 +00:00
iterable.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
like.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
mod.rs clippy: Fix remaining warnings in generated code (#31844) 2024-03-25 11:12:36 +00:00
namespace.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
num.rs clippy: Fix dereferencing a tuple pattern warnings (#31811) 2024-03-21 17:04:18 +00:00
principals.rs script: Impl cloning of JSPrincipals (#32706) 2024-07-06 10:25:38 +00:00
proxyhandler.rs jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +00:00
record.rs Fix some clippy warnings in components/gfx and components/script (#32215) 2024-05-02 20:02:21 +00:00
refcounted.rs clippy: Fix clippy problems in components/script/dom (#31891) 2024-03-27 18:36:16 +00:00
reflector.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
root.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
serializable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
settings_stack.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
str.rs script: Use time@0.3 for input elements and do conversion in a &str trait (#33355) 2024-09-09 14:33:16 +00:00
structuredclone.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
trace.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00
transferable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
utils.rs tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366) 2024-09-08 15:04:19 +00:00
weakref.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
xmlname.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00