Commit graph

64510 commits

Author SHA1 Message Date
Ali Mohammad Pur
5fb6942726 LibRegex: Print OpCode_Repeat's offset as ssize_t
(cherry picked from commit f8092455e200f1d1ff8a452efd23bdddfd00ce0e)
2025-01-02 13:35:26 -05:00
Nico Weber
7f84a08012 AK: Remove commented-out code in fmod()
I hadn't meant to commit that. No behavior change.
2025-01-02 09:56:31 -05:00
Nico Weber
48a28cffd5 AK: Make FloatExtractor use bit_cast<>() instead of a union
The motivation is to allow functions that use FloatExtractor to be
constexpr.  Type punning through a union will never work in constexpr.

In practice, bit_cast<>()ing bit fields also does not yet work in clang,
but that's just a bug and it will work eventually (and it does already
work in gcc): https://github.com/llvm/llvm-project/issues/54018

No behavior change.
2025-01-02 09:56:31 -05:00
Sönke Holz
39a2356c54 Tests/LibC: Don't implicitly convert float to double in TestSnprintf
Most RISC-V floating-point operations only generate the canonical NaN,
so the sign bit was cleared in this test.
The sign injection instruction does keep the NaN payload and sign bit,
so doing `-v.f` to get a negative NaN works as expected.
2025-01-02 09:38:47 -05:00
Davi
e166003179 Base+Meta: Add Canadian Provincial flags 2025-01-02 08:15:38 -05:00
Eduardo HCS
e6099bea77 Meta: Add User-Agent string on request for download_file 2025-01-01 14:06:03 -05:00
roadshop
c74f659ebd LibDeviceTree: Fix a typo in comment 2024-12-31 16:56:13 +01:00
Sönke Holz
652a2f6f00 Meta: Promote RISC-V as supported in the README
RISC-V now works just as well as Arm and even passes more tests than it.

"riscv64" is not an official name for the RISC-V architecture and
just using the pretty-printed name for RISC-V looks weird, so use the
pretty name for all architectures instead.
2024-12-30 14:46:27 -05:00
Sönke Holz
7823600f7a LibC: Make rint{,f,l}() AK-backed 2024-12-30 14:46:27 -05:00
Sönke Holz
7467cf35bb AK: Implement rint() on RISC-V
The implementation is copy-pasted from LibC.
2024-12-30 14:46:27 -05:00
Sönke Holz
3bea78fc30 AK: Implement sqrt() on RISC-V 2024-12-30 14:46:27 -05:00
butter1125
5041d53f76 Ports/jdupes: Update to version 1.28.0 2024-12-30 19:31:04 +01:00
butter1125
6d0d32c62f Ports/libjodycode: Update to version 3.1.1 2024-12-30 19:31:04 +01:00
djwisdom
14903cf1c8 Ports: Update ObjFW from 1.1.2 to 1.2.2 2024-12-30 19:30:31 +01:00
butter1125
31bfdcca90 Ports/wget: Update to version 1.25.0 2024-12-30 19:29:53 +01:00
butter1125
e8741a2213 Ports/curl: Update to version 8.11.1 2024-12-30 19:28:59 +01:00
butter1125
0940f255cb Ports/rsync: Update to version 3.3.0 2024-12-30 19:28:39 +01:00
butter1125
fdead1c75f Ports/lz4: Update to version 1.10.0 2024-12-30 19:28:39 +01:00
Andrew Kaster
89c655529c Documentation: Promote aarch64 to more supported in the docs 2024-12-30 12:56:52 +01:00
Andrew Kaster
ee891462b8 Meta: Move raspberry pi models to a SERENTIY_RUN argument
This makes a virt machine the default for aarch64 builds.
And other associated cleanup.

Co-Authored-By: Sönke Holz <sholz8530@gmail.com>
2024-12-30 12:56:52 +01:00
Sönke Holz
7ac8aac9ef Meta: Download both Raspberry Pi 3 and 4 DTBs
Co-Authored-By: Andrew Kaster <andrew@ladybird.org>
2024-12-30 12:56:52 +01:00
Sönke Holz
819c12c2f2 Kernel/PCI: Mark MSI-(X) as explicitly not supported on aarch64/riscv64 2024-12-30 12:56:52 +01:00
Andrew Kaster
ee2632fe0b Meta: Default to host architecture instead of x86_64 2024-12-30 12:56:52 +01:00
Andrew Kaster
8bfca36415 CMake: Explicitly mark LibC TARGET custom commands as POST_BUILD
This avoids a warning for CMake policy CMP0175, which is new with CMake
3.31. The warning is as follows:

Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.
Assuming POST_BUILD to preserve backward compatibility.

To preserve behavior, mark these as POST_BUILD. It might not be the
ideal way to have the custom commands run, but it is behavior-preserving
2024-12-30 12:56:52 +01:00
Andrew Kaster
e1e44a820d CMake: Enable policy CMP0177 for normalization of install() DESTINATIONs
This removes a few dozen warnings with CMake 3.31+
2024-12-30 12:56:52 +01:00
MacDue
9cd906a5e1 LibGfx: Add support for notifications to plastic window theme 2024-12-30 06:36:48 -05:00
MacDue
8918e915d3 LibGfx: Support painting "inactive" windows in plastic window theme 2024-12-30 06:36:48 -05:00
MacDue
61b0939ddc LibGUI: Fix preview of new window themes in AbstractThemePreview
This now calls into the theme's button layout, and composites the
windows (similar to the WindowServer) to fix alpha issues on the window
borders.
2024-12-30 06:36:48 -05:00
MacDue
e21ccdc087 LibGfx: Add support for notifications to glass window theme 2024-12-30 06:36:48 -05:00
MacDue
28c71e1ead LibGfx: Remove some hardcoded values in the glass window theme 2024-12-30 06:36:48 -05:00
MacDue
026bbb46f2 LibGfx: Fix position of maximized glass window theme title buttons
Previously, the buttons would be cropped (by the border thickness) as
the border is not shown on maximized windows. This patch adjusts the
button positions to correct for that.
2024-12-30 06:36:48 -05:00
MacDue
d725fba0c5 LibGfx: Add TitleButtonInactiveAlpha metric to system themes
This property allows controlling the alpha of inactive window title
buttons. This is useful for fading out buttons on inactive windows.
2024-12-30 06:36:48 -05:00
Bastiaan van der Plaat
3899092ea3 SystemMonitor: Grow CPU and memory charts to window size 2024-12-29 18:00:32 -05:00
MacDue
90a67e24a6 LibGfx: Improve glass window theme performance
This patch clips any parts of the frame gradient obscured by the window
contents.
2024-12-29 13:57:52 -05:00
Lucas CHOLLET
9a5d25ce1b WindowServer: Remove unnecessary debug print 2024-12-29 02:11:40 +01:00
Eyad Ahmed
e395dd9cb2 Meta: Use rm -rf instead of rmdir in QEMU image build script
If you run `serenity.sh run` with missing fuse2fs and/or fusermount3,
then install the needed packages, and then try to run the script
again, rmdir step will fail with "non-empty directory" error
causing QEMU to not start. The patch avoids this by recursively
removing disk mount directory instead of just unlinking it.
2024-12-28 11:56:21 -07:00
djwisdom
67ea0bf4ba Ports: Add menu entry for Jakt 2024-12-28 15:50:30 +01:00
butter1125
9ddb108539 Ports/findutils: Update to 4.10.0 2024-12-28 15:47:37 +01:00
butter1125
d91eda4c4f Ports/ca-certificates: Update to version 2024-11-26 2024-12-28 15:46:57 +01:00
djwisdom
0038ae2037 Ports: Add SQLite to menu entry 2024-12-28 15:46:07 +01:00
djwisdom
61f8fb3d56 Ports: Update sqlite3 from 346 to 347 2024-12-28 15:46:07 +01:00
butter1125
b133b87b97 Ports/bc: Update to 7.0.3 2024-12-28 01:04:26 +01:00
butter1125
45397d2129 Ports/coreutils: Update to 9.5 2024-12-27 23:22:14 +01:00
djwisdom
c3553d213e Ports: Add menu entry for Lua 2024-12-25 19:38:51 -05:00
djwisdom
5f479c7835 Ports: Add menu entry for Tcl 2024-12-25 19:38:24 -05:00
djwisdom
599f44c8f3 Ports: Add Zsh to menu entry 2024-12-25 19:37:55 -05:00
djwisdom
7ebe75e42a Ports: Add bash to menu entry 2024-12-25 19:37:36 -05:00
Nico Weber
17622bf0d0 AK: Add a better implementation of tan() on non-x86 2024-12-25 19:04:22 -05:00
Nico Weber
5152950ffa AK: Implement atan() in terms of asin() on non-x86 2024-12-25 19:04:22 -05:00
Nico Weber
f79ad30feb AK: Reduce > 0.5 arm of asin() to asin() instead of to atan() 2024-12-25 19:04:22 -05:00