Sam Atkins
be86d19529
LIbWeb: Spec-comment consume_a_list_of_declarations()
2022-03-30 18:43:07 +02:00
Sam Atkins
e72f42bea1
LibWeb: Spec-comment consume_a_qualified_rule()
2022-03-30 18:43:07 +02:00
Sam Atkins
fe86718035
LibWeb: Spec-comment consume_an_at_rule()
2022-03-30 18:43:07 +02:00
Sam Atkins
d77de5ccec
LibWeb: Spec-comment consume_a_list_of_rules()
2022-03-30 18:43:07 +02:00
Sam Atkins
a4f8056828
LibWeb: Spec-comment parse_a_comma_separated_list_of_component_values
...
The code had to change a bit to match. Previously, we appended an empty
sub-list immediately, but now we append it at the end. The difference
is that if there are no tokens, we now correctly return an empty
list-of-lists, instead of a list containing an empty list.
2022-03-30 18:43:07 +02:00
Sam Atkins
6ec92f5527
LibWeb: Spec-comment parse_a_list_of_component_values()
2022-03-30 18:43:07 +02:00
Sam Atkins
34b3c09462
LibWeb: Spec-comment parse_a_component_value()
2022-03-30 18:43:07 +02:00
Sam Atkins
bcf4254331
LibWeb: Spec-comment parse_a_list_of_declarations()
...
The `parse_as_list_of_declarations()` public method is unused and will
not be used by any user code so has been removed.
2022-03-30 18:43:07 +02:00
Sam Atkins
2aac9f9258
LibWeb: Bring parse_a_declaration()
to spec and add comments
...
User code now calls `parse_as_supports_condition()` which actually does
the conversion to a StyleProperty.
2022-03-30 18:43:07 +02:00
Sam Atkins
239c36a19e
LibWeb: Spec-comment parse_a_rule()
...
We now correctly call convert_to_rule() outside of this function.
As before, I've renamed `parse_as_rule()` -> `parse_as_css_rule()` to
match the free function that calls it.
2022-03-30 18:43:07 +02:00
Sam Atkins
12a787ef8a
LibWeb: Use parse_a_list_of_rules() for @media
and @supports
...
From the spec:
> "Parse a list of rules" is intended for the content of at-rules such
> as @media. It differs from "Parse a stylesheet" in the handling of
> <CDO-token> and <CDC-token>.
- https://www.w3.org/TR/css-syntax-3/#ref-for-parse-a-list-of-rules
2022-03-30 18:43:07 +02:00
Sam Atkins
7a225a380c
LibWeb: Bring parse_a_list_of_rules()
to spec
...
This is not actually used by anything currently, but it should be used
for `@media` and other at-rules.
Removed the public parse_as_list_of_rules() because public functions
should be things that outside classes actually need to use.
2022-03-30 18:43:07 +02:00
Sam Atkins
85d8c652e9
LibWeb: Implement and use "parse a CSS stylesheet" algorithm
...
`parse_a_stylesheet()` should not do any conversion on its rules. This
change corrects that. There are other places where we get this wrong,
but one thing at a time. :^)
2022-03-30 18:43:07 +02:00
Sam Atkins
fc3d51c59e
LibWeb: Use an enum class for the "top-level flag"
2022-03-30 18:43:07 +02:00
Sam Atkins
87b125dcb9
LibWeb: Spec-comment parse_a_stylesheet()
...
Also introduce a `location` parameter when parsing a CSSStyleSheet. This
is not provided by anyone yet.
2022-03-30 18:43:07 +02:00
Sam Atkins
05bd0ca3ee
LibWeb: Rename parse_css()
-> parse_css_stylesheet()
2022-03-30 18:43:07 +02:00
Pankaj Raghav
820a653725
Meta: Use 4k logical and physical blocks for nvme in QEMU
...
4k logical blocks are better for block devices in QEMU as they align
with the underlying filesystem which typically has 4k logical blocks
such as our EXT2 filesystem.
2022-03-30 19:31:12 +03:00
Pankaj Raghav
36363b1a37
Kernel: Fix storage device read/write for request length < block size
...
The current implementation of read/write will fail in StorageDevice
when the request length is less than the block size of the underlying
device. Fix it by calculating the offset within a block for such cases
and using it for copying data from the bounce buffer.
2022-03-30 19:31:12 +03:00
Elisée Maurer
34db0dab41
LibWeb: Implement Element.toggleAttribute()
2022-03-30 18:30:29 +02:00
Itamar
1ec3847acd
HackStudio: Hide FindWidget on escape key press
2022-03-30 11:26:26 -04:00
Timothy Flynn
4fd463dae0
LibJS: Normalize mathematical references to negative zero
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/d4be24e
2022-03-30 14:24:32 +01:00
Timothy Flynn
41df4c6353
LibJS: Modernize InitializeDateTimeFormat and simplify error handling
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/4cf1d2c
2022-03-30 14:24:32 +01:00
Timothy Flynn
066352c9aa
LibJS+LibUnicode: Align ECMA-402 "sanctioned" terminology with UTS 35
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/087995c
https://github.com/tc39/ecma402/commit/233d29c
This also adds a missing spec link for the sanctioned units and fixes a
broken spec link for IsSanctionedSingleUnitIdentifier. In LibUnicode,
the NumberFormat generator is updated to use the constexpr helper to
retrieve sanctioned units.
2022-03-30 14:24:32 +01:00
Timothy Flynn
1a76839e8d
LibJS: Use consistent ASCII case-transformation and string language
...
Also update the incorrect spec link for IsWellFormedCurrencyCode.
These are editorial changes in the Intl spec. See:
https://github.com/tc39/ecma402/commit/6939b44
https://github.com/tc39/ecma402/commit/3a775eb
https://github.com/tc39/ecma402/commit/97a7940
https://github.com/tc39/ecma402/commit/129c790
https://github.com/tc39/ecma402/commit/42ec908
https://github.com/tc39/ecma402/commit/ea25c36
2022-03-30 14:24:32 +01:00
Timothy Flynn
72674d7905
LibJS: Set DateTimeFormat's [[HourCycle]] internal slot only once
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/8081868
2022-03-30 14:24:32 +01:00
Timothy Flynn
0975eba724
LibJS: Mark an invocation to RequireObjectCoercible as fallible
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/6939b44
2022-03-30 14:24:32 +01:00
Timothy Flynn
36bff95f15
LibJS: Use the new TransformCase AO for locale-aware case conversions
...
This is an editorial change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/6939b44
2022-03-30 14:24:32 +01:00
Timothy Flynn
f8e7701cf3
LibJS: Disallow calendar display names which contain an underscore
...
This is a normative change in the Intl spec. See:
https://github.com/tc39/ecma402/commit/2703d06
2022-03-30 14:24:32 +01:00
Timothy Flynn
7c41e6058a
LibJS: Explicitly indicate infallible incovations
...
These are editorial changes in the Intl spec.
See:
https://github.com/tc39/ecma402/commit/6804096
https://github.com/tc39/ecma402/commit/6361167
https://github.com/tc39/ecma402/commit/8718171
https://github.com/tc39/ecma402/commit/fd37cb4
https://github.com/tc39/ecma402/commit/00fcfb0
https://github.com/tc39/ecma402/commit/913f832
2022-03-30 14:24:32 +01:00
safarp
278241859b
Ports: Add Jagged Alliance 2 Stracciatella port
2022-03-30 14:11:53 +01:00
djwisdom
502445ad16
Base: Add new glyphs to font Satori Regular
...
Shorthand Format Controls
1BCA0-1BCA3
Miscellaneous Symbols
2600-261F,2621,2640-2643
2022-03-30 07:47:39 -04:00
djwisdom
b3b1e1f381
Base: Add new glyphs to font Satori Mono Regular
...
Shorthand Format Controls
1BCA0-1BCA3
Miscellaneous Symbols
2600-261F,2621,2640-2643
2022-03-30 07:47:39 -04:00
djwisdom
b5cf81968d
Base: Add new glyphs to font Satori Mono Bold
...
Shorthand Format Controls
1BCA0-1BCA3
Miscellaneous Symbols
2600-261F,2621,2640-2643
2022-03-30 07:47:39 -04:00
djwisdom
61dd2c166d
Base: Add new glyphs to font Satori Bold
...
Shorthand Format Controls
1BCA0-1BCA3
Miscellaneous Symbols
2600-261F,2621,2640-2643
2022-03-30 07:47:39 -04:00
djwisdom
009e822960
Base: Add new glyps to Ataraxia Light
...
Box Drawing
2500,2502,250D,2510,2514,2515,251C,2524,252C,2534,253C,2550,
2551,2554,2557,255A,255D
Supplemental Arrows-A
27F0-27FF
Miscellaneous Symbols
2600-261F,2621,2640-2643
2022-03-30 07:47:26 -04:00
Tom Maisey
d63cb35c0d
Meta: Fix e2fsck variable on macOS in build-image-qemu.sh
...
Despite carefully adding homebrew's e2fsprogs to the PATH,
the script then defined E2FSCK as if we are always on Linux.
2022-03-30 01:57:51 -07:00
Kenneth Myhra
6581cf47ab
test: Port to LibMain
2022-03-30 09:53:11 +01:00
safarp
704e1d13f4
AK: Allow printing wide characters using %ls modifier
2022-03-30 11:30:43 +04:30
Idan Horowitz
824cf570d3
LibWeb: Stop casting unsigned long IDL return values to i32
...
These values may not fit into an i32.
2022-03-30 08:56:25 +03:00
Idan Horowitz
44601a8e74
LibWeb: Support IDL optional integer arguments
2022-03-30 08:56:25 +03:00
Idan Horowitz
8abe653009
LibWeb: Make WebSocket::close() arguments optional to match IDL
2022-03-30 08:56:25 +03:00
Kenneth Myhra
c843f2e3a5
seq: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
1ee93e0fe7
tty: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
cf154ec0d9
tt: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
ab9a78a305
tr: Utilize TRY more
...
This converts the local functions to return ErrorOr<T> and utilizes TRY
more.
2022-03-29 21:28:29 -07:00
Kenneth Myhra
e548b2cff2
tr: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
8bd7c5b3d5
test_env: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
3df8c9e9de
test-unveil: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
0015040ebd
LibCore: Add syscall wrapper for access()
2022-03-29 21:28:29 -07:00
Kenneth Myhra
f4aef35e6e
test-pthread: Port to LibMain and let local functions return ErrorOr<T>
...
This ports 'test-pthread' to LibMain and converts the local functions of
the program to return ErrorOr<T>.
2022-03-29 21:28:29 -07:00