Timothy Flynn
f2ab9e1aa9
LibJS: Implement Temporal.ZonedDateTime.prototype.round
2024-11-26 11:00:56 +01:00
Timothy Flynn
eadd0c40c9
LibJS: Implement Temporal.ZonedDateTime.prototype.since/until
2024-11-26 11:00:56 +01:00
Timothy Flynn
336efa5e3f
LibJS: Implement Temporal.ZonedDateTime.prototype.add/subtract/equals
2024-11-26 11:00:56 +01:00
Timothy Flynn
4ef21614e9
LibJS: Implement stringification Temporal.ZonedDateTime prototypes
2024-11-26 11:00:56 +01:00
Timothy Flynn
c0150acc5e
LibJS: Implement Temporal.*.prototype.toZonedDateTimeISO and friends
2024-11-26 11:00:56 +01:00
Timothy Flynn
18f95434bc
LibJS: Implement the Temporal.Duration relative-to ZonedDateTime options
2024-11-26 11:00:56 +01:00
Timothy Flynn
3e6133cc09
LibJS: Handle ZonedDateTime in the various Temporal factories
2024-11-26 11:00:56 +01:00
Timothy Flynn
8c73cae2b8
LibJS: Implement the Temporal.ZonedDateTime constructor
...
And the simple Temporal.ZonedDateTime.prototype getters, so that the
constructed Temporal.ZonedDateTime may actually be validated.
2024-11-26 11:00:56 +01:00
Timothy Flynn
8ab765a3eb
LibJS: Invoke CalendarDateToISO recursively correctly
...
Copy-paste mistake that becomes apparent in Temporal.ZonedDateTime
tests.
2024-11-26 11:00:56 +01:00
Andrew Kaster
fc3ebd7efd
AK: Add workaround for older Xcode versions in Swift.h
2024-11-26 11:00:48 +01:00
Andrew Kaster
d953c6b451
Tests: Annotate configurationJSON in SwiftTestMain with noisolate
...
This was causing some warnings, so annotate this argument we aren't
even using with noisolate(unsafe) to make the compiler stop.
2024-11-26 11:00:48 +01:00
Andrew Kaster
0075048206
LibCore: Remove SessionManagement utilities
...
We don't need these, they are only relevant for SerenityOS system
builds of LibCore.
2024-11-26 11:00:48 +01:00
Andrew Kaster
1549d393b9
LibIPC: Remove socket path from IPC Client connections
...
We don't need these for Ladybird, and they are the only users of
some LibCore functions we can remove as well.
2024-11-26 11:00:48 +01:00
Sam Atkins
310cdc35f0
LibWeb: Fill-in some fixmes around sandboxing flag sets
...
...Including a couple of steps in
obtain_a_browsing_context_to_use_for_a_navigation_response() which
didn't have FIXMEs.
No apparent changes on WPT.
2024-11-26 10:59:50 +01:00
Sam Atkins
2c7e730726
LibWeb/HTML: Consume user activation when choosing a Navigable
...
Corresponds to https://github.com/whatwg/html/pull/10547
2024-11-26 10:59:50 +01:00
stasoid
b3464d0645
LibCore: Port MappedFile to Windows
2024-11-26 10:00:11 +01:00
stasoid
153dc6686c
LibCore/MappedFile: Remove unnecessary fcntl call
2024-11-26 10:00:11 +01:00
stasoid
3f7affa825
LibCore/System: Add mmap, munmap for Windows
2024-11-26 10:00:11 +01:00
Pavel Shliak
4ae3a0dcba
LibJS: Make a __JS_ENUMERATE comment more informative
2024-11-25 13:17:03 -07:00
Pavel Shliak
af9d855b70
LibGfx: Delete DeprecatedPath
2024-11-25 21:13:53 +01:00
Pavel Shliak
dbfe5be9ff
LibGfx: Delete DeprecatedPainter
2024-11-25 21:13:53 +01:00
Glenn Skrzypczak
1e67b85571
LibWeb/Animation: Support progress values outside of [0,1]
...
If the progress is not in [0,1], the first two or the last two
keyframes are now used for interpolation outside the interval.
2024-11-25 18:10:24 +01:00
Glenn Skrzypczak
0d15cc4672
LibWeb/Animation: Fall back to discrete animation in more cases
...
Use discrete animation when the number of components or the types
of corresponding components do not match. This commit does not cover
all cases, but adds FIXME comments in the appropriate places.
2024-11-25 18:10:24 +01:00
Glenn Skrzypczak
4bec023b7b
LibWeb/Animation: Cancel pending play task on pause
...
This fixes a bug in `pause()` that canceled the pause task instead
of the play task. This issue prevented the animation from being paused
while a play task is scheduled.
2024-11-25 18:10:24 +01:00
Andreas Kling
d625e12082
LibWeb: Implement the deriveBits algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
96ddccd961
LibWeb: Implement the importKey algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
4a734226aa
LibWeb: Implement the exportKey algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
5a8b0a2610
LibWeb: Implement the generateKey algorithm for X448
2024-11-25 17:16:51 +01:00
Andreas Kling
a7652d5073
Tests: Import WPT tests for X448 curves
2024-11-25 17:16:51 +01:00
Milo van der Tier
aa33acf3a2
LibWeb: Update existing style object when setting style attribute
...
Previously any existing ElementInlineCSSStyleDeclaration would get
overwritten by e.setAttribute("style", ...), while it should be updated
instead.
This fixes 2 WPT subtests.
2024-11-25 17:16:29 +01:00
Jelle Raaijmakers
be3a941f44
LibWeb: Add ChannelMergerNode interface
2024-11-25 17:16:06 +01:00
Jonne Ransijn
08b7e83f95
Tests: Make TestLibCoreFileWatcher
more reliable
...
This test could fail when `/tmp/testfile` already exists.
There also shouldn't be a need to wait so long for this test,
except for on MacOS, where the `FileWatcher` implementation is
apparently less reliable.
2024-11-25 13:41:26 +01:00
devgianlu
506e490793
LibWeb+LibCrypto: Remove OID constants scattered around
...
Now that `Certificate` has been moved, the OID constants are easily
reachable in `LibCrypto`.
2024-11-25 13:38:38 +01:00
devgianlu
49c388b891
LibTLS+LibWeb+LibCrypto: Move Certificate
to LibCrypto
...
By moving `Certificate` to `LibCrypto` it is possible to reuse a bunch
of code from in `LibCrypto` itself. It also moves some constants
and pieces of code to a more appropriate place than `LibTLS`.
This also makes future work on WebCryptoAPI easier.
2024-11-25 13:38:38 +01:00
devgianlu
fcdcba51f5
LibTLS+LibWeb: Decouple EC parameters from TLS::SupportedGroup
...
This is in preparation of the next commits to split the changes.
2024-11-25 13:38:38 +01:00
devgianlu
32a90a7fd1
LibTLS: Move some Certificate
methods to the correct file
...
The implementation of `Certificate::is_valid` and
`Certificate::is_self_signed` were in `TLSv12.cpp` and they have been
moved to `Certificate.cpp`.
This is in preparation of the next commits to split the changes.
2024-11-25 13:38:38 +01:00
devgianlu
e42410a7a7
LibTLS: Move DefaultRootCACertificates
to correct header file
...
The declaration of `DefaultRootCACertificates` was in `Certificate.h`
and its implementation in `TLSv12.cpp`. It has been moved over
to `TLSv12.h` for consistency.
This is in preparation of the next commits to split the changes.
2024-11-25 13:38:38 +01:00
devgianlu
07ced0cb34
LibCrypto: Make PEMType
an enum class
...
This is required for the following commits to avoid a conflict
with the `Certificate` namespace.
2024-11-25 13:38:38 +01:00
rmg-x
03b9e555c0
Libraries: Remove LibArchive
...
This library isn't used by anything but the Android build which
currently doesn't work. We most likely won't be using a homegrown
implementation for archive formats in the future, regardless.
2024-11-25 13:37:45 +01:00
Sam Atkins
bdabc9b70d
LibWeb/DOM: Update "inner invoke" to current spec
...
Two differences:
1. An extra step inserted to record timing info, which we don't yet
implement.
2. The last step in the loop breaks instead of returning the value
directly. (But this is functionally the same, as the following step
does return that value.)
(Also removed the duplicated part of the comment in step 11 née 10.)
So, there's no actual change in behavior.
2024-11-25 13:34:40 +01:00
Timothy Flynn
f2c19f96f8
LibJS: Implement Temporal.Now
2024-11-25 13:32:58 +01:00
Timothy Flynn
f1c3e3d71a
LibJS: Implement Temporal.Instant.prototype.round
2024-11-25 13:32:58 +01:00
Timothy Flynn
477f00aced
LibJS: Implement Temporal.Instant.prototype.until/since
2024-11-25 13:32:58 +01:00
Timothy Flynn
1d67f28e72
LibJS: Implement Temporal.Instant.prototype.add/subtract/equals
2024-11-25 13:32:58 +01:00
Timothy Flynn
615ad70030
LibJS: Implement stringification Temporal.Instant prototypes
2024-11-25 13:32:58 +01:00
Timothy Flynn
90820873a2
LibJS: Implement the Temporal.Instant constructor
...
And the simple Temporal.Instant.prototype getters, so that the
constructed Temporal.Instant may actually be validated.
2024-11-25 13:32:58 +01:00
Timothy Flynn
1675f40e29
LibJS: Return a GC::Ref from the NumberToBigInt AO
...
All callers currently handle this without needing any further changes.
2024-11-25 13:32:58 +01:00
Pavel Shliak
39c500ec7c
LibGfx: Use Skia for TinyVG rendering
2024-11-25 12:14:24 +01:00
stelar7
331f26a88b
LibWeb: Implement IDBFactory::cmp
2024-11-25 11:53:50 +01:00
stelar7
c43b93e6fa
LibWeb: Implement convert_a_value_to_a_key for IndexedDB
2024-11-25 11:53:50 +01:00