68059 Commits
Author SHA1 Message Date
Undefine 8207cfb956 Kernel: Move FADT finding code to Parser
There's no reason to find the table ahead of time now that we don't
need the interrupt line immedietely. It was also one of the only users
of the StaticParsing find_table code.
2026-10-21 19:03:12 +02:00
Undefine 3a825ccec0 Kernel: Split out the IRQHandler from ACPI parser and move IRQ lookup
Splitting it off allows initializing the later than right after Parser
creation, which allows us to move more resposibility to the Parser
instead of mapping the FADT twice.
2026-10-21 19:03:12 +02:00
Undefine 4ac5026d2c Kernel: Improve error propagation in ACPI code
This should hopefully get rid of a handful of release_value_but_fixme,
while also making it more likely that we boot on systems where ACPI is
doing something weird (cases we cannot handle yet). While this is
unlikely to occur with our currect range of supported ACPI stuff, when
we add AML interpreting it's quite likely that we will encounter a
cursed DSDT at some point that should not crash the entire system
without a meaningful error.
2026-10-21 19:03:12 +02:00
Undefine 22115b4545 Kernel: Remove ACPI Parser::get_table_revision
This method was called only once and could be replaced with a clean
member access a little later.
2026-10-21 19:03:12 +02:00
Undefine 14b039b24f Kernel+LibACPI: Move table validation code to LibACPI
It will be used outside of the kernel. While at it clean the function
up a bit to make it a little more readable.
2026-10-21 19:03:12 +02:00
Undefine 473ef7da92 LibACPI: Move all ACPI definitions to a new library
Some of those will be required outside of the kernel
2026-10-21 19:03:12 +02:00
Linus Groh 94beea58f1 Ports+Meta: Update ca-certificates to 2026-10-20
We went from "compromised CA keys" to "the key is 4, chosen by fair dice
roll" in a matter of hours:

- https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/0R3XLJL6FuE
- https://chaos.social/@fluepke/117474156947559280
2026-10-20 14:07:41 -04:00
Lucas Chollet 5b2dba5f45 Kernel/VFS: Allow rename to overwrite a symlink
Per POSIX:
If either the old or new argument names a symbolic link, rename() shall
operate on the symbolic link itself, and shall not resolve the last
component of the argument.
2026-10-19 17:29:35 +02:00
Lucas Chollet 125f24fa0f LibCore: Add a truncate wrapper 2026-10-19 17:29:35 +02:00
Lucas Chollet 067456f819 Kernel/VFS: Return an error if the path names a symlink in mkdir
Per POSIX:
If path names a symbolic link, mkdir() shall fail and set errno to
[EEXIST].

The test needs to be done in a subfolder of /tmp, I suppose that it
comes from the custom branch for mounted folders in
`resolve_path_without_veil`. Otherwise, the behavior is quite different
and seems to involve other bugs too.
2026-10-19 17:29:35 +02:00
Sönke Holz 31ed5be377 LibSoftGPU: Clamp fog factor between 0 and 1
We would otherwise pass factors outside of this range to mix(), leading
to weird colors.
2026-10-18 17:40:16 +02:00
Undefine c45f5c6e2a Kernel: Disable MSI interrupts when IOAPIC is disabled
MSI interrupts require the IOAPIC to be enabled, trying to run with
`enable_ioapic=off` would cause a kernel panic.
2026-10-18 14:02:20 +02:00
Linus Groh 91a350318c Ports: Update vim to 9.2.1202 2026-10-16 11:50:59 +02:00
Linus Groh 2977fffc2a Ports: Update tree-sitter-vimdoc to 4.2.0 2026-10-16 11:50:59 +02:00
Linus Groh 0d0e74009c Ports: Update pkgconf to 3.0.9 2026-10-16 11:50:59 +02:00
Linus Groh 21cb46a913 Ports: Update imagemagick to 7.1.2-34 2026-10-16 11:50:59 +02:00
Linus Groh 106f6f4f94 Ports: Update gnucobol to 3.2 2026-10-16 11:50:59 +02:00
Linus Groh aada4f9fae Ports: Update gdb to 18.1
Life support at best, the port still targets i386 so it's been
non-functional for a long time now. It does build and launch into the
REPL at least.
2026-10-16 11:50:59 +02:00
Linus Groh 59df410153 Ports: Update flare-game to 1.15 2026-10-16 11:50:59 +02:00
Linus Groh d114d2de2f Ports: Update chromaprint to 1.6.2 2026-10-16 11:50:59 +02:00
Eduardo Casadei ff889da752 Tests/Shell: Add test cases for cd 2026-10-16 09:57:03 +02:00
Eduardo Casadei 5f5db06d12 LibShell: Correctly handle path resolution when changing directory
The correct POSIX behaviour when changing directory is to resolve the
path logically, not following symlinks. Optionally having the -P flag to
resolve the path physically, which follows symlinks.
2026-10-16 09:57:03 +02:00
Lucas Chollet 1ecec15b55 LibCore: Make SignalHandlers' member variables private 2026-10-15 16:14:51 +02:00
Lucas Chollet edc8ac4a70 LibCore: Remove unused method in SignalHandlers 2026-10-15 16:14:51 +02:00
Lucas Chollet 2d14bce905 LibCore: Restore signal handlers at exit
The singleton class has the side effect of not calling the destructor of
the class, so ~SignalHandlers() was never called and the signal handlers
were never restored.

While restoring the signal handlers at exit is useless in most cases,
this patch fixes a hang at exit when running Shell in a configuration
using GCC and LSan. The sanitizers create a child process to be able
to monitor the parent. Then, when this child exits, the SIGCHLD signal
tried to run the handler installed by Shell, this caused ASan to trip
while LSan was running which causes the hang.
2026-10-15 16:14:51 +02:00
Linus Groh c088517383 Ports: Use Zig C backend for kiesel
This will be reverted in its entirety once Zig 0.17.1 is released.

I don't know when that will happen so for now let's just make the
package script a bit worse :^)
2026-10-15 08:53:58 -04:00
Linus Groh 5206e2e7d7 Ports: Update kiesel to 0.4.1
This does not build as is, see next commit.
2026-10-15 08:53:58 -04:00
Linus Groh 4c0ac92ec4 Ports: Update xorriso to 1.5.8.pl02 2026-10-15 06:53:41 -04:00
Linus Groh ddf11afbbe Ports: Update vim to 9.2.1192 2026-10-15 06:53:41 -04:00
Linus Groh 95ef75d8a9 Ports: Update tinycc to 0.9.27 2026-10-15 06:53:41 -04:00
Linus Groh f3ffd1fb4c Ports: Update rizin to 0.9.1
Patches were fully upstreamed:
https://github.com/rizinorg/rizin/pull/5905
2026-10-15 06:53:41 -04:00
Linus Groh 7a05ced1a6 Ports: Update RetroArch to 1.22.2 2026-10-15 06:53:41 -04:00
Linus Groh e844bc9cf1 Ports: Update pt2-clone to 1.92 2026-10-15 06:53:41 -04:00
Linus Groh 420e9c65bb Ports: Update pixman to 0.46.4 2026-10-15 06:53:41 -04:00
Linus Groh 1edad98150 Ports: Update openttd to 15.3 2026-10-15 06:53:41 -04:00
Linus Groh a80c583ea1 Ports: Update milkytracker to 1.06 2026-10-15 06:53:41 -04:00
Linus Groh b3dcd97f01 Ports: Update libzip to 1.12.1 2026-10-15 06:53:41 -04:00
Linus Groh 804affe24f Ports: Update libarchive to 3.8.10 2026-10-15 06:53:41 -04:00
Linus Groh a8031144ba Ports: Update harfbuzz to 14.6.0 2026-10-15 06:53:41 -04:00
Linus Groh 7ea2c8a381 Ports: Update glib to 2.90.1 2026-10-15 06:53:41 -04:00
Linus Groh ad3616a594 Ports: Update fontconfig to 2.18.3 2026-10-15 06:53:41 -04:00
Linus Groh 2aa90304fc Ports: Enable jpeg/png for libsixel 2026-10-15 06:26:06 -04:00
Lucas Chollet 01f0686eac Revert "LibCrypto: Reject short encoded messages in EMSA_PKCS1_V1_5::verify"
This reverts commit a99c7d9f9d.
2026-10-15 08:56:45 +02:00
Lucas Chollet 5184c07e01 AK/Math: Rely on lgamma to implement gamma
Note that the current implementation of lgamma doesn't work for negative
values of x. But given that Stirling's approximation is also only
defined for positive values of x, this patch don't change anything in
that regard.
2026-10-14 22:19:04 +02:00
Lucas Chollet 2830bdc9e8 CompareMathAgainstMPFR: Add support for the tgamma function 2026-10-14 22:19:04 +02:00
Lucas Chollet b883cce6a2 AK/Math: Consider the long double == f64 case in tgamma's integer path
This code still looks weird and don't support f128, but should at least
be more correct.
2026-10-14 22:19:04 +02:00
Lucas Chollet 15a07a1073 LibC+AK: Move tgamma definition from LibC to AK
This makes the tgamma function accessible from constexpr contexts and
allows us to test it in CompareAKMathAgainstMPFR.
2026-10-14 22:19:04 +02:00
Lucas Chollet bfa440bbf8 AK: Define FloatExtractor for long double when it's an alias of double
On some platforms, like macOS on ARM, long double is a different type
but has the exact same characteristics as a normal double. When it is
the case, define FloatExtractor<long double> as an alias to
FloatExtractor<double>.
2026-10-14 22:19:04 +02:00
Linus Groh 25b914f990 Ports: Update unibilium to 2.1.4 2026-10-14 12:57:16 -04:00
Linus Groh 811d157061 Ports: Update tree-sitter to 0.27.1 2026-10-14 12:57:16 -04:00