summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-21LibCore: Add Core::Stream::File::exists()Ariel Don
2022-05-21Kernel+LibC: Implement futimens(3)Ariel Don
Implement futimes() in terms of utimensat(). Now, utimensat() strays from POSIX compliance because it also accepts a combination of a file descriptor of a regular file and an empty path. utimensat() then uses this file descriptor instead of the path to update the last access and/or modification time of a file. That being said, its prior behavior remains intact. With the new behavior of utimensat(), `path` must point to a valid string; given a null pointer instead of an empty string, utimensat() sets `errno` to `EFAULT` and returns a failure.
2022-05-21Kernel+LibC+VFS: Implement utimensat(3)Ariel Don
Create POSIX utimensat() library call and corresponding system call to update file access and modification times.
2022-05-21Ports: Sanitize environment before handling PortsTim Schumacher
This keeps users from leaking their host environment variables (CFLAGS, etc.) into Ports, and it keeps us from leaking Port-specific settings into their dependencies.
2022-05-21Base: Add hover icons to Cupertino themeMacDue
Simple hover effect with slight brightening + glow.
2022-05-21Ports: Remove the `/usr/lib` pkg-config pathTim Schumacher
Our Ports are exclusively installed to `/usr/local/lib`, so having `/usr/lib` in there as well doesn't make much sense.
2022-05-21Ports: Enable x265 in ffmpegSimon Danner
2022-05-21Ports: Add x265Simon Danner
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
2022-05-21LibC: Add a stub for nice()Simon Danner
2022-05-21Ports: Update and fix imgcatTim Schumacher
- Update imgcat to 2.5.1 to get rid of prebuilt object files that have accidentally been included in the previous release tarball. - Add a missing dependency on `termcap`. - Remove an unused include of `err.h`, which we do not support. - Use actually working settings for installing the built files.
2022-05-21Ports: Install ncurses headers into the main include directoryTim Schumacher
2022-05-21AK: Use static_cast to cast to base typeAli Mohammad Pur
This is an issue on systems that don't have the empty base class optimisation (such as windows), and we normally don't need to care - however static_cast is technically the right thing to use, so let's use that instead. Co-Authored-By: Daniel Bertalan <dani@danielbertalan.dev>
2022-05-20Tests: Add tests for posix_memalign(3) and aligned_alloc(3)Peter Elliott
2022-05-20LibC: Implement posix_memalign(3) and aligned_alloc(3)Peter Elliott
Some ports linked against posix_memalign, but didn't use it, and others used it if it was Available. So I decided to implement posix_memalign. My implementation adds almost no overhead to regular mallocs. However, if an alignment is specified, it will use the smallest ChunkedBlock, for which aligned chunks exist, and simply use one of the chunks that is aligned. If it cannot use a ChunkedBlock, for size or alignment reasons, it will use a BigAllocationBlock, and return a pointer to the first aligned address past the start of the block. This implementation supports alignments up to 32768, due to the limitations of the BigAllocationBlock technique.
2022-05-20Meta: Fix unused variable warning in lint-ports.pyDaniel Bertalan
This went undetected because I broke CI so the Python linter didn't run.
2022-05-20Toolchain: Fix shellcheck warningDaniel Bertalan
2022-05-20CI: Fix syntax error after d0edf2627c3d72fa1d59ba173bac1c0cc3cb27e9Daniel Bertalan
2022-05-20Documentation: Only install the x86 and AArch64 qemu backends on ArchDaniel Bertalan
The qemu-emulators-full package installs qemu backends for *all* supported architectures, but we only need x86 and AArch64. This decreases the installed size of dependencies by 800 MiB.
2022-05-19Meta: Disallow non-git patches for portsAli Mohammad Pur
2022-05-19Ports: Add a ReadMe.md for qt6-qtbase's patchesAli Mohammad Pur
2022-05-19Toolchain+Ports: Split the GCC patchesDaniel Bertalan
This shouldn't cause any breaking changes, so a toolchain rebuild is not required. As per Hendiadyoin's request, math errno is disabled by default, which should enable some extra compiler optimizations in LibGL and LibSoftGPU code that uses math functions heavily. Co-Authored-By: Ali Mohammad Pur <mpfard@serenityos.org>
2022-05-19Ports: Update cfunge's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update zstd's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update zsh's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update x264's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update vitetris' patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update tuxracer's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update tr's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update tinycc's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update thesilversearcher's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update tcl's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update sqlite's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update sl's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update scummvm's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update sam's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update ruby's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update the Ruby port to version 3.0.4Ali Mohammad Pur
2022-05-19Ports: Update pfetch's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update pcre2's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update patch's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update p7zip's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update opentyrian's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update openttd's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update openssl's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update openssh's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update oksh's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update nyancat's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update npiet's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update ninja's patches to use git patchesAli Mohammad Pur
2022-05-19Ports: Update nethack's patches to use git patchesAli Mohammad Pur