Commit graph

55263 commits

Author SHA1 Message Date
EWouters
344aefd140 Ports/gzip: Update gzip to version 1.13 2023-10-12 23:30:22 +02:00
EWouters
548702bd4a Ports/grep: Update grep to version 3.11 2023-10-12 23:30:22 +02:00
EWouters
10c93db20a Ports/gnupg: Update gnupg to version 2.4.3
The patch was upstreamed :^). Includes a fix to find libksba.
2023-10-12 23:30:22 +02:00
EWouters
eb50682b16 Ports/gmp: Update gmp to version 6.3.0
This also removes the patch as Serenity is now included in the bundled
`configfsf.sub`.
2023-10-12 23:30:22 +02:00
EWouters
4dd22a7564 Ports/glib: Update glib to version 2.77.2 2023-10-12 23:30:22 +02:00
EWouters
f232d0ba42 Ports/git: Update git to version 2.42.0 2023-10-12 23:30:22 +02:00
EWouters
56a09e814d Ports/gettext: Update gettext to version 0.22
This also fixes the Clang build by setting the sysroot.
2023-10-12 23:30:22 +02:00
EWouters
d86a6d2e8c Ports/gawk: Update gawk to version 5.2.2
This also adds gmp and mpfr as optional dependencies, and sets the
sysroot to to allow gawk to find libgmp when building with Clang, and
to make the results predictable regardless of the order the ports are
installed in.
2023-10-12 23:30:22 +02:00
EWouters
c0eeea0a72 Ports/freetype: Update freetype to version 2.13.2 2023-10-12 23:30:22 +02:00
EWouters
506a89f3e7 Ports/fontconfig: Update fontconfig to version 2.14.2 2023-10-12 23:30:22 +02:00
EWouters
a047e939fa Ports/flac: Update flac to version 1.4.3 2023-10-12 23:30:22 +02:00
EWouters
1ef7f8446c Ports/file: Update file to version 5.45 2023-10-12 23:30:22 +02:00
EWouters
cdedb9af37 Ports/ed: Update ed to version 1.19 2023-10-12 23:30:22 +02:00
EWouters
97a9e7d7ab Ports/e2fsprogs: Update e2fsprogs to version 1.47.0 2023-10-12 23:30:22 +02:00
EWouters
cbb8913664 Ports/double-conversion: Update double-conversion to version 3.3.0 2023-10-12 23:30:22 +02:00
EWouters
81f3191b23 Ports/diffutils: Update diffutils to version 3.10 2023-10-12 23:30:22 +02:00
EWouters
bc12e793c5 Ports/curl: Update curl to version 8.2.1 2023-10-12 23:30:22 +02:00
EWouters
c100b712bf Ports/coreutils: Update coreutils to version 9.4 2023-10-12 23:30:22 +02:00
EWouters
0d47391ebc Ports/composer: Update composer to version 2.5.8 2023-10-12 23:30:22 +02:00
EWouters
4e3aea7966 Ports/ccache: Update ccache to version 4.8.3 2023-10-12 23:30:22 +02:00
EWouters
ed8e68a77d Ports/ca-certificates: Update ca-certificates to version 2023-08-22 2023-10-12 23:30:22 +02:00
EWouters
80211e3284 Ports/bzip3: Update bzip3 to version 1.3.2 2023-10-12 23:30:22 +02:00
EWouters
2ea65e512c Ports/boost: Update boost to version 1.83.0
The `Boost.System` patch was removed, as it no longer applies.
2023-10-12 23:30:22 +02:00
EWouters
6a83163a61 Ports/bdwgc: Update bdwgc to version 8.2.4 2023-10-12 23:30:22 +02:00
EWouters
50758181a3 Ports: Update formatting to be consistent with other ports
This commit updates the formatting for all ports to be updated in this
PR in one go, to keep those changes centralized.
2023-10-12 23:30:22 +02:00
Nico Weber
349996f7f2 LibPDF: Don't crash on files with float CFF defaultWidthX
We'd unconditionally get the int from a Variant<int, float> here,
but PDFs often have a float for defaultWidthX and nominalWidthX.

Fixes crash opening Bakke2010a.pdf from pdffiles (but while the
file loads ok, it looks completely busted).
2023-10-12 19:43:57 +02:00
Sönke Holz
e7c8ff3839 LibC: Clean up crt0
We already set these variables and call `_init` in the dynamic linker.
As we don't care about static binaries, remove these assignments and the
call to `_init` from `_entry`.

The function referenced by DT_INIT is also not necessarily called
`_init`, so directly calling `_init` is not really correct.

`s_global_initializers_ran` and `__stack_chk_guard` are unused, so
remove them.
2023-10-12 15:20:50 +02:00
Sönke Holz
0bff1f61b6 LibC+LibELF: Correctly call destructors on exit()
We currently don't call any DT_FINI_ARRAY functions, so change that.

The call to `_fini` in `exit` is unnecessary, as we now call the
function referenced by DT_FINI in `__call_fini_functions`.
2023-10-12 15:20:50 +02:00
Kemal Zebari
dcff48356f LibWeb/HTML: Use MimeType::is_xml() in HTMLObjectElement for DRYness
Now that we implement this member function, let's use it to keep
things DRY.
2023-10-12 07:01:35 -04:00
Tim Schumacher
fd157b9a71 Ports/angband: Update to Angband 4.2.5 2023-10-12 08:11:17 +02:00
Nico Weber
5c744a9fb0 pdf: Add a --render-repeats=N flag
It calls render() N times instead of just once. Useful for benchmarking.
2023-10-12 08:03:52 +02:00
Timothy Flynn
33443190d0 LibWeb: Store the SVG <use> element's referenced ID as a FlyString
We currently store a StringView into the DeprecatedString provided to
SVGUseElement::attribute_changed. This is a temporary string created by
String::to_deprecated_string, so this StringView is always a dangling
pointer.

Instead, since this string value is an ID and is primarily used as a
FlyString, store it as a FlyString from the get-go.
2023-10-12 07:39:37 +02:00
Andreas Kling
a396bb0c0b LibGfx: Remove indexed palette formats from Bitmap and Painter
Nobody was actually using these formats anymore, and this simplifies
and shrinks the code. :^)
2023-10-12 07:39:05 +02:00
Andreas Kling
bcbaad0b1d LibGfx: Make BMP decoder always produce BGRA8888 or BGRx8888 bitmaps
This was the only remaining codec that produced IndexedN bitmaps.
By removing them, we'll be able to get rid of those formats and simplify
the Bitmap and Painter classes.
2023-10-12 07:39:05 +02:00
Aliaksandr Kalenik
7803dcfcf9 LibWeb: Resolve backdrop filter length in apply_style()
Instead of resolving lengths used in the backdrop-filter during
painting, we can do that earlier in apply_style().

This change moves us a bit closer to the point when the stacking
context tree will be completely separated from the layout tree :)
2023-10-12 07:38:48 +02:00
Nico Weber
6528f6db26 MacPDF: Make up and down flip pages when PDF view has focus
Previously, it only reacted to arrow left andn arrow right,
and to opt-up and opt-down.
2023-10-11 21:38:15 -04:00
Nico Weber
627b152d49 MacPDF: Make opt-up and opt-down always go to previous / next page
When the outline has focus, arrow keys navigate the outline instead
of changing the current page.

Add opt-up and opt-down as a way to move by one page even when the
outline has focus. (This matches Preview.app.)

xib change: Added two menu Previous Page with key equivalent opt-up
and Next Page with key equivalent opt-down to Go menu and bound them to
goToPreviousPage: and goToNextPage: on First Responder.

When the outline has focus, the responder chain is outline ->
window, so also add the actions on the window controller, and
let that forward to the PDF view.
2023-10-11 21:38:15 -04:00
Aliaksandr Kalenik
44f7d7406c LibWeb: Use struct to pass Navigable::navigate() params
Using structs makes the navigate() calls looks cleaner. No change
in behavior is intended.
2023-10-12 03:25:06 +02:00
Andrew Kaster
3e86f88d6a CMake: Actually set the LAGOM_USE_LINKER option automatically
When this feature was finally merged, the serenity_option in
lagom_options.cmake had the unintended side effect of always setting the
cache variable to "" in the initial cache. In order to actually set the
linker to use to be lld or mold, we need to set with the FORCE flag in
the use_linker.cmake file.

Found by checking with the CMake variable_watch() function.

This will stop the build from spamming the "Using LLD to link Lagom"
message all over the place :^)
2023-10-11 15:02:42 -04:00
Martin Janiczek
de73572b3d AK: Fix doc comment for bit_scan_forward
The original doc comment was mistakenly copy-pasted from
count_leading_zeroes_safe, and incorrect. The function is doing
something else: it's counting _trailing_ zeroes instead of _leading_
ones.
2023-10-11 14:36:48 -04:00
Tim Ledbetter
a673062084 LibGfx/BMPLoader: Ensure data offset cannot point past EOF 2023-10-11 14:36:12 -04:00
Tim Ledbetter
9788576936 LibVideo/VP9: Ensure color space is not set to reserved value 2023-10-11 14:35:47 -04:00
Andrew Kaster
9a3e9047a5 Meta: Update GN build for recent changes
9a026fc8d5
ae1ac9871b
07b332e17c

And some missed changes from the past that weren't hit because no one
was referencing those symbols :^).
2023-10-11 10:56:24 -06:00
Andrew Kaster
c8cf361bbd LibWeb: Install generated CSS/PseudoClass.h file the same as the others 2023-10-11 12:35:35 -04:00
Andrew Kaster
99ffc935ef Lagom: Include all generated installed files on library targets
Do this with INSTALL_INTERFACE genex include directory rules. We should
really standardize where the generated headers *actually* get installed
to though.
2023-10-11 12:35:35 -04:00
Martin Janiczek
efa5fb5c3a AK: Fix one-off error in BitmapView::find_first and find_one_anywhere
The mentioned functions used m_size / 8 instead of size_in_bytes()
(division with ceiling rounding mode), which resulted in an off-by-one
error such that the functions didn't search in the last not-fully-8-bits
byte.

Using size_in_bytes() instead of m_size / 8 fixes this.
2023-10-11 15:58:16 +02:00
Sam Atkins
2e615b5316 LibCards: Move Play cards closer together horizontally
With the recent adjustments to how cards are painted, this felt too
spaced out.
2023-10-11 10:56:43 +01:00
Sam Atkins
ff8969bd5f GamesSettings: Center cards vertically after recent size change 2023-10-11 10:56:43 +01:00
Sam Atkins
eff25f9116 LibCards: Stop calling the card back image a "background" image
It's not a background, past me!
2023-10-11 10:56:43 +01:00
Sam Atkins
d8e8b300c8 GamesSettings+LibCards: Add setting for card-front image sets 2023-10-11 10:56:43 +01:00