Timothy Flynn
72674d7905
LibJS: Set DateTimeFormat's [[HourCycle]] internal slot only once
...
This is an editorial change in the Intl spec. See:
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:
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:
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:
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:
6804096
6361167
8718171
fd37cb4
00fcfb0
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
Kenneth Myhra
d69f3aa958
test-fuzz: Allow listing fuzzing targets without specifying input file
2022-03-29 21:28:29 -07:00
Kenneth Myhra
4994718d8d
test-fuzz: Port to LibMain
...
Also use StringView in place of raw C strings and String.
2022-03-29 21:28:29 -07:00
Kenneth Myhra
b47a9ab4dc
test-bindtodevice: Port to LibMain
...
This ports 'test-bindtodevice' to LibMain and convert the local 'test'
function to return ErrorOr<T>.
2022-03-29 21:28:29 -07:00
Kenneth Myhra
e302fac34b
kcov-example: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
234025ee53
telws: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
bb4994d67b
run-tests: Port to LibMain
2022-03-29 21:28:29 -07:00
Kenneth Myhra
7d87f0d56d
markdown-check: Use Core::ArgsParser
2022-03-29 21:28:29 -07:00
Kenneth Myhra
de7d333d43
markdown-check: Port to LibMain
2022-03-29 21:28:29 -07:00
Simon Wanner
6437f5da36
LibWeb: Add basic support for the attr() CSS function
...
CSS Values and Units Module Level 5 defines attr as:
`attr(<q-name> <attr-type>?, <declaration-value>?)`
This implementation does not contain support for the type argument,
effectively supporting `attr(<q-name>, <declaration-value>?)`
2022-03-30 03:18:14 +02:00
jd
ba6ba67fa0
Toolchain: Fix serenity.nix
...
* x11 package name has changed to xlibsWrapper.
* texinfo is necessary for Makeinfo.
* e2fsprogs was recenty fixed on nicpkgs to include fuse2fs to mount
serenity images without root access but it needed some configuration.
2022-03-29 16:36:28 -07:00
Lady Gegga
260cf6c3b2
Base: Add Ninjyak to emoji.txt
2022-03-30 00:32:43 +01:00
Lady Gegga
1af923e646
Base: Add 2212, 2600, 2717, 2718 to font Katica Regular 10
...
2600 - https://www.unicode.org/charts/PDF/U2600.pdf
2212 - https://www.unicode.org/charts/PDF/U2200.pdf
2717, 2718 - https://www.unicode.org/charts/PDF/U2700.pdf
2022-03-30 00:32:43 +01:00
Lady Gegga
9c1d480083
Base: Add 2212 to font Katica Bold 10
...
2212 - https://www.unicode.org/charts/PDF/U2200.pdf
2022-03-30 00:32:43 +01:00
Lady Gegga
3087aded59
Base: Add 2600 to font Pabbleton Bold 14
...
2600 - https://www.unicode.org/charts/PDF/U2600.pdf
2022-03-30 00:32:43 +01:00
Lady Gegga
68990d3682
Base: Add emoji Ninjyak (10CD22)
2022-03-30 00:32:43 +01:00
Andreas Kling
6a4247bee9
LibWeb: Use more precise font metrics when doing inline layout
...
We now position inline-level boxes based on ascent and descent metrics
from the font in use. This makes our basic text layouts look a lot more
like those produced by other browsers. :^)
I've tried to match the terminology used by the CSS Inline Layout spec.
This will regress Acid2 a little bit, and probably various other sites,
but on the whole it's the direction we should be heading, so let's go.
2022-03-30 01:12:44 +02:00
Andreas Kling
fae8fde913
LibWeb: Draw inspector overlay label with default font
2022-03-30 00:57:15 +02:00
Andreas Kling
6d260b14b4
LibGfx: Rasterize TTF glyphs using "hhea" metrics instead of "os2"
...
This matches what other font systems appear to do.
2022-03-30 00:57:15 +02:00
Andreas Kling
9b0d158e69
LibWeb: Only set children-are-not-inline when inserting in-flow child
...
We were marking block boxes as having non-inline children when inserting
any child box, even if the child was out-of-flow.
2022-03-30 00:57:15 +02:00
Andreas Kling
1c88536298
LibWeb: Use the new Gfx::Painter::draw_text_run() API for drawing text
...
This avoids a bunch of unnecessary work in Painter which not only took
time, but sometimes also led to alignment issues. draw_text_run() will
draw the text where we tell it, and that's it.
2022-03-30 00:57:15 +02:00
Andreas Kling
dd940dfa85
LibWeb: Use font-derived metrics for "line-height:normal"
...
Instead of multiplying the font-size with 1.4f because reasons, we now
ask the font for its preferred line spacing.
2022-03-30 00:57:15 +02:00
Andreas Kling
56a284713d
LibGfx: Add ascent, descent and line gap to FontPixelMetrics
...
These are the main values we need in LibWeb to perform inline layout.
2022-03-30 00:57:15 +02:00
Andreas Kling
7850628ff1
LibGfx: Add Painter::draw_text_run(), a simplified text painting API
...
This API does:
- Take a Utf8View
- Take the starting point on the baseline as its input coordinate
This API does not:
- Align the text
- Wrap the text
- Elide too-long text into "..."
2022-03-30 00:57:15 +02:00
Andreas Kling
e398164f10
LibGfx: Make Font::pixel_metrics() virtual
...
This makes it easier for BitmapFont and ScaledFont to implement metrics
lookup themselves.
2022-03-30 00:57:15 +02:00