Sam Atkins
642ad80960
LibWeb: Make CSS Transformation struct a proper class
...
Move it out of ComputedValues.h into its own files, and take the
transformation-to-matrix code from StackingContext.
2023-10-15 07:14:39 +02:00
Nico Weber
3c49d0dad3
LibPDF: Add a CFF_DEBUG toggle
...
I'd like to put some debug prints behind this soon.
No behavior change.
2023-10-15 07:14:29 +02:00
MacDue
11f7db8f34
LibWeb: Fix null optional dereference in Node::name_or_description()
...
Regression/typo from aeee98b
, this lead to a crash when opening the DOM
inspector.
2023-10-14 18:36:32 -04:00
Luke Wilde
7467307377
LibWeb: Use "POST" instead of "post" for POST resources in navigables
...
HTTP methods are case sensitive and the Fetch layer treats it as such.
For example, http_redirect_fetch case sensitively checks if the method
is "POST" to change the method to "GET" and nullify the body.
9d7e217566/Userland/Libraries/LibWeb/Fetch/Fetching/Fetching.cpp (L1125-L1135)
Fixes https://github.com/SerenityOS/serenity/issues/21347
2023-10-14 14:26:31 -04:00
Sönke Holz
9d7e217566
LibELF: Handle TLSDESC relocations in .rela.plt for GNU ld
...
GNU ld for some reason might put R_*_TLSDESC relocations in .rela.plt.
2023-10-14 19:16:22 +02:00
Ali Mohammad Pur
0937d88869
LibWeb: Remove more DeprecatedString null state remnants
2023-10-14 09:12:41 -04:00
Ali Mohammad Pur
988c6568a9
LibWeb: Remove Element::set_attribute(name, value?)
...
That API came from a mistake in the IDL compiler, where reflected
nullable attributes would try to call set_attribute(name, null).
This commit fixes the mistake in the IDL generator, and removes the
meaningless API.
2023-10-14 09:12:41 -04:00
Timothy Flynn
d2c7e1ea7d
Browser: Sanitize user-provided URLs with LibWebView
2023-10-13 13:37:11 -04:00
Timothy Flynn
aa5cd24c90
Ladybird/AppKit: Sanitize user-provided URLs with LibWebView
2023-10-13 13:37:11 -04:00
Timothy Flynn
f023e37de7
Ladybird/Qt: Sanitize user-provided URLs with LibWebView
2023-10-13 13:37:11 -04:00
Timothy Flynn
191e20d639
LibWebView: Add a helper to sanitize a user-provided URL
...
We currently implement several forms of this method across the Ladybird
chromes. As such, we see commits to add special URL handling that only
affects a single chrome. Instead, let's consolidate all special handling
in a single location for all chromes to make use of.
This method can handle resolving file:// URLs, falling back to a search
engine query, and validation against the Public Suffix List. These cases
were gathered from the various chromes.
2023-10-13 13:37:11 -04:00
Tim Ledbetter
54a28afc13
LibIMAP: Stop parsing immediately on error
...
This makes the parser more resilient to invalid IMAP messages.
Usages of `Optional` have also been removed where the empty case is
equivalent to an empty object.
2023-10-13 11:12:18 -06:00
Tim Ledbetter
29c477598c
LibIMAP: Rename Parser::try_consume()
to consume_if()
2023-10-13 11:12:18 -06:00
Gabriel Nava Marino
f97c4d20fa
Base: Add 201 Hangul syllables to font Katica Regular 10
...
Adds most commonly used Hangul syllables in range AC00–D7AF
https://www.unicode.org/charts/PDF/UAC00.pdf
U+AC00 U+AC01 U+AC04 U+AC1C U+AC70 U+AC74 U+AC83 U+AC8C U+ACA9
U+ACB0 U+ACBD U+ACC1 U+ACC4 U+ACE0 U+ACF5 U+ACFC U+AD00 U+AD50
U+AD6C U+AD6D U+ACE0 U+AD8C U+ADDC U+ADF8 U+ADFC U+AE08 U+AE30
U+B098 U+B0B4 U+B108 U+B140 U+B150 U+B155 U+B178 U+B204 U+B290
U+B294 U+B298 U+B2C8 U+B2E4 U+B2E8 U+B2EC U+B2F9 U+B300 U+B3C4
U+B3C5 U+B3D9 U+B418 U+B41C U+B420 U+B450 U+B4E0 U+B4E4 U+B4EC
U+B4F1 U+B530 U+B5A4 U+B610 U+B73B U+B77C U+B78C U+B791 U+B798
U+B7EC U+B825 U+B85C U+B85D U+B958 U+B974 U+B978 U+B97C U+B9AC
U+B9C8 U+B9CC U+B9D0 U+BA70 U+BA85 U+BAA8 U+BAA9 U+BB34 U+BB38
U+BB3C U+BBF8 U+BBFC U+BC0F U+BC14 U+BC18 U+BC1B U+BC1C U+BC29
U+BC30 U+BC95 U+BCC4 U+BCF4 U+BCF8 U+BD80 U+BD84 U+BE0C U+BE44
U+C0AC U+C0B0 U+C0C1 U+C0DD U+C11C U+C120 U+C131 U+C138 U+C18C
U+C18D U+C218 U+C2DC U+C2DD U+C2E0 U+C2E4 U+C2EC U+C2F6 U+C544
U+C548 U+C57C U+C57D U+C591 U+C5B4 U+C5B8 U+C5C4 U+C5C5 U+C5C6
U+C5D0 U+C5D8 U+C5EC U+C5F0 U+C600 U+C601 U+C608 U+C624 U+C640
U+C644 U+C694 U+C6B0 U+C6D0 U+C704 U+C720 U+C721 U+C73C U+C740
U+C744 U+C74C U+C758 U+C774 U+C778 U+C77C U+C788 U+C790 U+C791
U+C7A5 U+C7AC U+C801 U+C804 U+C815 U+C81C U+C870 U+C874 U+C885
U+C8C4 U+C8FC U+C900 U+C911 U+C99D U+C9C0 U+C9C1 U+C9C4 U+C9C8
U+CC28 U+CC38 U+CC9C U+CCB4 U+CD08 U+CE58 U+D07C U+D0C0 U+D0DC
U+D130 U+D1B5 U+D3B8 U+D3C9 U+D3EC U+D45C U+D544 U+D558 U+D559
U+D55C U+D560 U+D568 U+D569 U+D56D U+D574 U+D589 U+D604 U+D615
U+D638 U+D63C U+D654 U+D65C U+D68C U+D788
These cover about 78% of syllables in the top 1000 most common
Korean words as well as 94% of syllables in the Universal
Declaration of Human Rights.
2023-10-13 11:02:28 -06:00
Andrew Kaster
ffc75a575b
Meta: Port 759e07579e
to gn build
2023-10-13 10:54:18 -06:00
Ali Mohammad Pur
aeee98b3a1
AK+Everywhere: Remove the null state of DeprecatedString
...
This commit removes DeprecatedString's "null" state, and replaces all
its users with one of the following:
- A normal, empty DeprecatedString
- Optional<DeprecatedString>
Note that null states of DeprecatedFlyString/StringView/etc are *not*
affected by this commit. However, DeprecatedString::empty() is now
considered equal to a null StringView.
2023-10-13 18:33:21 +03:30
Shannon Booth
daf6d8173c
AK: Remove uneeded deprecated_string_percent_encode
...
This function was an artifact from when we were using DeprecatedString
much more in URL class before porting to Optional<String>, where we no
longer rely on the null state of DeprecatedString.
2023-10-13 18:33:21 +03:30
Ali Mohammad Pur
b20f1da166
Lagom/IDLGenerators: Remove the unused generate_to_deprecated_string fn
...
There are no more users of this, so remove it and rename
`generate_to_new_string` to `generate_to_string` while we're at it.
2023-10-13 18:33:21 +03:30
Nico Weber
2249e79630
LibPDF: Add two FIXMEs
2023-10-13 07:53:27 +02:00
Nico Weber
d451197d3d
LibPDF: Add spec comments to CFF
2023-10-13 07:53:27 +02:00
Timothy Flynn
9d31fc3ea3
Ladybird: Implement content zooming in the AppKit chrome
...
This lets the user zoom in and out on a web page using the View menu or
keyboard shortcuts. This does not implement zooming with ctrl+scroll.
In the future, it'd be nice to embed the zoom level display inside the
location toolbar. But to do that, we will need to invent our own custom
search field and all of the UI classes (controller, cell, etc.) to draw
the field. So for now, this places the zoom level display to the right
of the location toolbar.
2023-10-13 07:51:53 +02:00
EWouters
af7b4609b6
Ports/zstd: Update zstd to version 1.5.5
2023-10-12 23:30:22 +02:00
EWouters
df50d6ccfa
Ports/xz: Update xz to version 5.4.4
2023-10-12 23:30:22 +02:00
EWouters
4a5f796647
Ports/x264: Update x264 to version a8b68eb
2023-10-12 23:30:22 +02:00
EWouters
75b3066207
Ports/wget: Update wget to version 1.21.4
2023-10-12 23:30:22 +02:00
EWouters
03afeb3692
Ports/vttest: Update vttest to version 20230201
2023-10-12 23:30:22 +02:00
EWouters
2fa36f02b0
Ports/tig: Update tig to version 2.5.8
2023-10-12 23:30:22 +02:00
EWouters
6ec38f4656
Ports/stress-ng: Update stress-ng to version 0.16.04
2023-10-12 23:30:22 +02:00
EWouters
1bf80c9ab3
Ports/sqlite: Update sqlite to version 3430000
2023-10-12 23:30:22 +02:00
EWouters
86c74a5f3f
Ports/SDL2_ttf: Update SDL2_ttf to version 2.20.2
2023-10-12 23:30:22 +02:00
EWouters
b2cb9705f9
Ports/SDL2_mixer: Update SDL2_mixer to version 2.6.3
2023-10-12 23:30:22 +02:00
EWouters
bd94bfa80e
Ports/SDL2_image: Update SDL2_image to version 2.6.3
2023-10-12 23:30:22 +02:00
EWouters
b5fd70c7b3
Ports/sdl12-compat: Update sdl12-compat to version 1.2.64
2023-10-12 23:30:22 +02:00
EWouters
c56fe70d3a
Ports/rsync: Update rsync to version 3.2.7
...
The openssl and lz4 dependencies have been added for the Clang build,
and have been disabled for the GNU build. The openssl library is not
detected correctly, and the lz4 library doesn't build on the GNU build.
2023-10-12 23:30:22 +02:00
EWouters
737362e566
Ports/readline: Update readline to version 8.2
2023-10-12 23:30:22 +02:00
EWouters
0a9e343456
Ports/r0: Update r0 to version 0.9
2023-10-12 23:30:22 +02:00
EWouters
58ab96cc95
Ports/qoi: Update qoi to version 351450e
2023-10-12 23:30:22 +02:00
EWouters
dd01c00cd4
Ports/pt2-clone: Update pt2-clone to version 1.63
2023-10-12 23:30:22 +02:00
EWouters
4828be87a9
Ports/pkgconf: Update pkgconf to version 2.0.2
2023-10-12 23:30:22 +02:00
EWouters
c4c6939487
Ports/pixman: Update pixman to version 0.42.2
2023-10-12 23:30:22 +02:00
EWouters
de6a1251f4
Ports/php: Update php to version 8.2.10
2023-10-12 23:30:22 +02:00
EWouters
f49d6ae310
Ports/pcre2: Update pcre2 to version 10.42
2023-10-12 23:30:22 +02:00
EWouters
3b1362bb70
Ports/openssl: Update openssl to version 3.1.2
2023-10-12 23:30:22 +02:00
EWouters
b780aca7c2
Ports/openrct2: Update OpenRCT2 to version 0.4.5
...
This also fixes a small issue where subsequent builds after the initial
one would fail due to the source file missing in the move command.
2023-10-12 23:30:22 +02:00
EWouters
550f05ea62
Ports/ObjFW: Update ObjFW to version 8d19ba9
2023-10-12 23:30:22 +02:00
EWouters
37bf6adc13
Ports/ntbtls: Update ntbtls to version 0.3.1
...
This also sets the sysroot to to allow it to find libgpg-error when
building with Clang.
2023-10-12 23:30:22 +02:00
EWouters
9ca3ef6024
Ports/ninja: Update ninja to version 1.11.1
2023-10-12 23:30:22 +02:00
EWouters
e4becdd449
Ports/ncurses: Update ncurses to version 6.4
2023-10-12 23:30:22 +02:00
EWouters
23ef38d1ff
Ports/mpfr: Update mpfr to version 4.2.1
2023-10-12 23:30:22 +02:00
EWouters
ccc55d8836
Ports/mpc: Update mpc to version 1.3.1
2023-10-12 23:30:22 +02:00