Commit Graph
14017 Commits
Author SHA1 Message Date
Dean a806c69bfe Merge pull request #8758 from p3n1cillin/codex/pthread-getprio-20261021
feat(libkernel): implement pthread_getprio
2026-10-21 14:27:54 +13:00
Dean 600dda1ee4 Merge pull request #8744 from orezraey/fix/http-parse-response-header-measured-ps5
fix(libSceHttp): bound and return sceHttpParseResponseHeader's value as measured on a PS5
2026-10-21 14:27:47 +13:00
Dean c5d841ed94 Merge pull request #8732 from DoubleAAGuy/feat/libkernel-osreldate-sysctl
feat(libkernel): expose kern.osreldate sysctl
2026-10-21 14:27:39 +13:00
Dean d686bb0b19 Merge pull request #8046 from klosixgaming-arch/fix/agc-clip-disable-no-depth-clamp
fix(agc): accept PA_CL_CLIP_CNTL CLIP_DISABLE without depth clamp
2026-10-21 14:27:32 +13:00
Dean 8a803d3e6d Merge pull request #8743 from valenciana-nc/fix/kernel-iovec-table-copy
fix(libkernel): return EFAULT for unreadable iovec tables
2026-10-21 14:24:39 +13:00
Dean 994829e44b Merge pull request #8733 from p3n1cillin/codex/libc-unlocked-status-20261020
feat(libc): implement unlocked stream status queries
2026-10-21 14:24:31 +13:00
Arnab Ghosh a7d5b6a89a feat(libSceNpTus): run the remaining multi-slot variable calls offline 2026-10-21 07:24:18 +06:00
Dean a4fc462a6d Merge pull request #8108 from milescoviello/fix/rewind-tail-end-timer
fix(agc): end a pipelined submission's EndSubmission time before its REWIND tail runs
2026-10-21 14:24:14 +13:00
Amr Yasser ecc88d1494 fix(tools): preserve load ownership when unwrapping SELF 2026-10-21 04:23:27 +03:00
Dean Galvinandmazen dc38f31983 Merge main into fix/skip-inaccessible-branched-scalar-load
Shader disk cache FormatVersion 43: main took 42 with #7966, and this
change also changes the cached plan.

Co-authored-by: mazen <[email protected]>
2026-10-21 14:23:05 +13:00
Dean 1faa800f08 Merge pull request #7966 from KarthikeyaAnna/fix/agc-1d-depth-compare-2d
fix(agc): back 1D depth comparison textures with 2D images
2026-10-21 14:21:13 +13:00
Dean 7697443281 Merge pull request #8653 from Ondra97/codex/fix-net-dontwait
fix(net): keep MSG_DONTWAIT transfers nonblocking on Windows
2026-10-21 14:19:19 +13:00
JJenkx d2eeb4931c fix(agc): retain map import failures across unrelated mappings 2026-10-20 21:13:28 -04:00
Dean 3b5a24c0d6 Merge pull request #8075 from johandavidcm/feat/agc-sample-committer
feat(agc): sample the draw committer with APS5_SAMPLE_COMMITTER
2026-10-21 14:12:36 +13:00
xXPBSXxandClaude Sonnet 5.5 035d82b571 fix(libc): fail a path that ends in a dot component below a regular file with ENOTDIR on Windows
FreeBSD looks the "." up in the directory before it, so "file/." fails with
ENOTDIR and "missing/." with ENOENT (sys/kern/vfs_cache.c vfs_cache_lookup,
`dvp->v_type != VDIR`). Resolve() dropped a trailing "." and handed the
host "file/", which stat, access, open and mkdir answered with ENOENT,
EINVAL or EEXIST. The ".." branch already checks the directory first;
do the same for a path whose last component is ".".

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-21 03:08:16 +02:00
Amr Yasser 5cfbae8016 fix(tools): validate progress comparison snapshots 2026-10-21 04:07:51 +03:00
Dean 67f25e4681 Merge pull request #7470 from Dripl1x/codex/exact-resident-release
perf(libc): release exact resident mappings without repeated queries
2026-10-21 14:07:25 +13:00
Dean 1ffe979127 Merge pull request #8576 from priyanshrv-netizen/feat/libc-float-characteristics
feat(libc): export the Dinkumware float characteristic tables
2026-10-21 14:06:48 +13:00
Dean e7ce7102ab Merge pull request #7468 from Dripl1x/codex/direct-memory-alias-index
perf(libkernel): find direct-memory aliases through the physical index
2026-10-21 13:57:13 +13:00
Dean 46c7538777 Merge pull request #7467 from Dripl1x/codex/windows-path-component-lookup
perf(libc): avoid repeated Windows path component scans
2026-10-21 13:57:05 +13:00
JJenkxandClaude Opus 5.5 af086114c7 fix(libkernel): keep the native open error when the Windows directory probe finds no directory
When the native open failed with an error other than ENOENT, OpenNative
probed whether the path is a directory with std::filesystem::is_directory.
With the MinGW runtime that probe can set errno to ENOENT, and OpenNative
then reported the probe's ENOENT instead of the open error. On Windows 11
22621 a symbolic link loop failed with ELOOP from the native open and
sceKernelOpen returned 0x80020002, so guest_filesystem aborted at the
ELOOP check added by #8640.

Keep the open error and restore it when the path is not a directory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:54:15 -04:00
Dean dd9b54a42a Merge pull request #8745 from mpratsaki/fix/relinker-windows-same-file-checks
fix(relinker): use the Windows file identity in module and executable checks
2026-10-21 13:53:59 +13:00
Dean 7da0e44f80 Merge pull request #8078 from savvaniss/fix/agc-null-pixel-program-color-disabled
fix(agc): accept a draw without a pixel program while CB_COLOR_CONTROL disables color
2026-10-21 13:53:34 +13:00
Amr Yasser 4ad4758991 fix(web): replace release output with the staged site 2026-10-21 03:45:33 +03:00
Felipebmaitan b122786155 fix(libSceRudp): accept setters for unreadable options 2026-10-20 21:41:57 -03:00
Felipebmaitan a006418d72 style(libSceRudp): use camelCase context arguments 2026-10-20 21:41:04 -03:00
Felipebmaitan a473096926 feat(libSceRudp): retain and query context options 2026-10-20 21:41:04 -03:00
al3w0f205 7cec462b2b test(libSceCesCs): assert null parameter and buffer validation in sceCesUcsProfileInit and sceCesMbcsStrToUtf8Str 2026-10-20 19:36:48 -05:00
al3w0f205 80780f2899 feat(libc): support multi-tier hybrid cpu topology in LayoutFromClasses 2026-10-20 19:32:31 -05:00
Evgeniy KazarinandClaude Opus 5.5 b5bb956530 test(libc): link the resident release test and keep its valid case in one run
The test throws exceptions but did not link libc, so with
-fno-asynchronous-unwind-tables it failed to link (no __gxx_personality_v0)
on the supported WinLibs toolchain; the Windows CI job does not run on pull
requests. The valid case now maps 2 MiB at a 2-MiB boundary, so the mapping is
one resident run and both Reset calls take the exact-run path, and the test
requires that run.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-21 08:30:15 +08:00
xXPBSXxandClaude Sonnet 5.5 79569a7a3d fix(libkernel): let pthread_kill with signal 0 report ESRCH for a thread that has ended
pthread_kill(thread, 0) returned 0 for every handle other than the caller's before it asked whether the thread was still alive. FreeBSD's _pthread_kill looks the thread up with _thr_find_thread before it checks for signal 0, so the call answers ESRCH for a thread that has ended or was never a thread. The liveness check now runs before the signal 0 shortcut; the calling thread still answers 0.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-21 02:29:54 +02:00
Dean 57fdffd915 Merge pull request #8697 from oneandonlydean/feat/f32-denorm-preserve
feat(shader): request DenormPreserve 32 where the device preserves f32 denormals
2026-10-21 13:29:41 +13:00
Dean 21a57ff5c0 Merge pull request #8570 from priyanshrv-netizen/feat/libc-dinkumware-constants
feat(libc): export the remaining Dinkumware floating-point constants
2026-10-21 13:29:16 +13:00
JJenkxandClaude Opus 5.5 3316ca3b24 feat(libc): list the reporting thread's own calls in the call trace report
The crash and abort reports printed the last 64 traced calls of the whole
process, so a thread that loops on a traced import (a mutex lock/unlock
pair, a profiler marker) pushes the calls of the faulting thread out of the
report. The ring already keeps the last 65536 calls with their thread.

CopyThreadCallTrace_nid_no_patch returns the most recent calls of one
thread from that ring, oldest first, and both reports (Windows crash and
abort, Linux abort) list up to 32 of them for the reporting thread after
the process-wide list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 20:25:31 -04:00
Dean c82867c77c Merge pull request #7472 from Dripl1x/codex/reuse-unreferenced-saved-memory
perf(libc): reuse saved direct-memory buffers when unreferenced
2026-10-21 13:25:04 +13:00
Dean b56cfb3817 Merge pull request #8444 from SwetabhSingh17/feat/libc-mem-utilities
feat(libc): implement memmem and memccpy
2026-10-21 13:24:46 +13:00
juanpimg a7b8c355d0 fix(prx): drop the exports that #8747 declares
The branch declared 222 PS5 3.20 system exports across 11 libraries.
Open PR #8747 declares 83 of the same exports (libSceNpParty 25,
libSceNpTrophy2 23, libSceHttp2 18, libSceAppContent 17), so drop them
to avoid duplication. 139 exports remain across 7 libraries.
2026-10-21 02:24:33 +02:00
al3w0f205 6cd2929d47 test(libSceIme): cover capacity boundary and Cyrillic character filtering in sceImeFilterText 2026-10-20 19:24:12 -05:00
al3w0f205 3961826a2b test(libScePad): verify scePadSetLightBar, scePadResetLightBar and motion sensor validation 2026-10-20 19:22:24 -05:00
Dean 4d50d73417 Merge pull request #8015 from fma-rc/fix/shader-mimg-sample-c-o-a
feat(shader): decode MIMG opcode 0xb8 as image_sample_c_o_a
2026-10-21 13:22:07 +13:00
al3w0f205 31919cf617 test(libSceSaveData.native): cover null arguments and invalid order in sceSaveDataDirNameSearch 2026-10-20 19:18:00 -05:00
Dean e10b4d6190 Merge pull request #8203 from al3w0f205/fix/jpegdec-alpha-and-alignment-validation
fix(libSceJpegDec): reject misaligned output buffers and oversized alpha values
2026-10-21 13:14:05 +13:00
Dean aa2793fb48 Merge pull request #7826 from T3cm0/feat/hmd2-slots-writers
feat(libSceHmd2): answer 18 slot and output-writing exports before initialization as the console does
2026-10-21 13:13:22 +13:00
Dean 07c67a0d6d Merge pull request #8640 from Dom3005/fix/windows-open-symlink-loop-eloop
fix(libc): map a Windows symbolic link loop to ELOOP when opening
2026-10-21 13:13:01 +13:00
Dean 33a6d6bbfb Merge pull request #8635 from dantdmdarealguy/fix/libc-thread-name-test-personality
fix(libc): link the thread-name test against libc for its personality routine
2026-10-21 13:12:11 +13:00
Dean 70c497739e Merge pull request #8636 from cadenasynyster/fix/libc-thrd-detach
feat(libc): implement _Thrd_detach
2026-10-21 13:11:55 +13:00
Dean da5ea87cd6 Merge pull request #8455 from hypermoist/feat/libkernel-create-uuid-v4
feat(libkernel): implement sceKernelCreateUuidV4
2026-10-21 13:11:28 +13:00
Dean f41c5bef2b Merge pull request #8637 from billythemenace2/fix/kernel-raise-system-call-wait
fix(libkernel): keep waiting while a raise target is inside a system call
2026-10-21 13:11:08 +13:00
Dean 261497b450 Merge pull request #8676 from MarcZX10/codex/module-info-elf-phdr-match
fix(libkernel): match module info segment records
2026-10-21 13:10:46 +13:00
al3w0f205 27badc2c3a test(libSceSaveData.native): cover sceSaveDataSaveIconByPath execution 2026-10-20 19:09:56 -05:00