Commit Graph
14829 Commits
Author SHA1 Message Date
Santhosh Kumar f3da59fe87 chore: sync current main for PR 9802 2026-10-23 16:46:33 +05:30
Dean e3d03fbae6 Merge pull request #7930 from AnthonyClemens/perf/agc-skip-empty-indirect
perf(agc): skip CPU-path indirect draws that draw nothing before buil…
2026-10-23 23:45:49 +13:00
Adrià 2f83cc782f Merge pull request #7647 from fma-rc/fix/agc-heap-mirror-resident
fix(agc): bind heap mirrors only where the guest holds bytes
2026-10-23 12:45:26 +02:00
Dean 812ed15875 Merge pull request #9047 from VakzOs/feat/libressl-des
feat(libSceLibreSsl): implement DES_set_key, DES_ecb_encrypt and DES_set_odd_parity
2026-10-23 23:38:53 +13:00
Santhosh Kumar ebcdd68c65 chore(libSceFreeType): sync current main and preserve merged features 2026-10-23 15:58:44 +05:30
Dean 513ca7e558 Merge pull request #9141 from MarrasFederico/feat/kernel-sys-pthread-scope-atfork
feat(libkernel_sys): implement the scePthread scope, atfork and setconcurrency forms
2026-10-23 23:18:24 +13:00
Dean 5e9f4b8966 Merge pull request #9832 from johandavidcm/fix/libkernel-dlopen-unrelinked
fix(libkernel): fail dlopen of an unrelinked module without the Windows Bad Image dialog
2026-10-23 23:18:00 +13:00
Dean f23c4b38d6 Merge pull request #8775 from dotaku22/fix/trace-digest-invalid-structure
fix(tools): reject invalid trace event container shapes
2026-10-23 23:07:17 +13:00
Dean 59078c05f5 Merge pull request #8972 from simonbronk/feat/libSceCesCs-sbc-mbcs-utf16-utf32
feat(libSceCesCs): add UTF-16 and UTF-32 forms of the SBC and MBCS string conversions
2026-10-23 23:06:53 +13:00
Dean Galvin 16686375a9 fix(agc): keep the empty-indirect classification cache in HostThreadLocal
On Windows a thread_local destructor in a module runs after emulated TLS freed
the object (prx_thread_local_destructors). Keep the per-thread map in
HostThreadLocal like the other per-thread objects in libSceAgcDriver.
2026-10-23 22:57:56 +13:00
Dean c188e01a42 Merge pull request #9315 from MarrasFederico/feat/ngs2-system-rate-grain-codes
fix(libSceNgs2.native): return the module's codes from sceNgs2SystemSetSampleRate and sceNgs2SystemSetGrainSamples
2026-10-23 22:54:32 +13:00
Adrià e5ca7307cf Merge pull request #6292 from meh7an/perf/agc-draw-path-locks
perf(agc): replace winpthreads locks and TLS on the draw path
2026-10-23 11:53:59 +02:00
Adrià e5d9c923db Merge pull request #6951 from alfalfa-star/perf/agc-span-mirror
perf(agc): memoize host import run bounds per lease snapshot
2026-10-23 11:52:55 +02:00
Dean ff191e29d1 Merge pull request #9382 from MarcZX10/codex/libkernel-sys-sched-interval
feat(libkernel_sys): implement sched_rr_get_interval
2026-10-23 22:47:27 +13:00
Dean 348157914f Merge pull request #6218 from harry-z-kang/codex/issue-6119-packed-storage
fix(agc): support packed 16-bit storage images
2026-10-23 22:44:30 +13:00
Dean b3e42bd1eb Merge pull request #8359 from Ragbie/fix/windows-pwrite-append
fix(libkernel): append positioned writes on an O_APPEND descriptor on Windows
2026-10-23 22:23:57 +13:00
Dean 23cc560021 Merge pull request #9037 from YossiYad/feat/npcommon-utilities
feat(libSceNpCommon): implement the online ID utilities and the mutex, condition and clock wrappers
2026-10-23 22:23:14 +13:00
Dean 4c3cab4f1c Merge pull request #9320 from MarrasFederico/feat/ngs2-render-buffer-codes
fix(libSceNgs2.native): return the module's errors for render buffer counts, types and null buffers
2026-10-23 22:22:51 +13:00
VakzOsandClaude Opus 5.5 3fe7217807 test(libSceLibreSsl): set up the DES test for unwinding on Windows
The DES test catches std::invalid_argument thrown through the library's
sysv_abi frames; like the digest test, it now links libc and calls
configure_windows_unwind.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FzhWRMauD3ouc8kSxT2NnT
2026-10-23 09:20:18 +00:00
Dean 1f1acb195e Merge pull request #9322 from zaryabzip/feat/kernel-sys-condattr-getclock
feat(libkernel_sys): implement scePthreadCondattrGetclock
2026-10-23 22:16:46 +13:00
Adrià a7d342efc9 Merge pull request #6948 from alfalfa-star/fix/agc-linear-readback-store
fix(agc): store linear compute writes behind their dispatch
2026-10-23 11:12:44 +02:00
Federico Marras 74c6791861 Merge remote-tracking branch 'upstream/main' into feat/ngs2-system-rate-grain-codes
# Conflicts:
#	docs/dev/debt/libSceNgs2.native.md
2026-10-23 11:08:40 +02:00
Federico Marras 012b87293b Merge remote-tracking branch 'upstream/main' into feat/ngs2-render-buffer-codes
# Conflicts:
#	docs/dev/debt/libSceNgs2.native.md
2026-10-23 11:07:02 +02:00
Dean 8948f1cec5 Merge pull request #8493 from leorossi2005/fix/cmake-mingw-ranlib-detection
build(libs): locate ranlib adjacent to compiler when CMAKE_RANLIB is unset
2026-10-23 21:54:04 +13:00
Dean fef15751e6 Merge pull request #8641 from Danigamer05/fix/libkernel-windows-birthtime
fix(libkernel): clamp Windows birth time when setting earlier timestamps
2026-10-23 21:49:21 +13:00
Dean 24331355f7 Merge pull request #9060 from ags-arnab/feat/net-ioctl
feat(libSceNet): implement sceNetIoctl
2026-10-23 21:48:24 +13:00
Dean 6ee38720fc Merge pull request #9327 from MarrasFederico/feat/ngs2-atrac9-module-loops
fix(libSceNgs2.native): parse ATRAC9 smpl loops as the module does
2026-10-23 21:47:55 +13:00
Dean dd5b2a3869 Merge pull request #9736 from LeandroLP23/feat/libkernel-kern-proc-env
feat(libkernel): answer kern.proc.env for the calling process
2026-10-23 21:47:33 +13:00
Dean Galvin 54a5b24b5f fix(agc): share the empty-indirect skip state between draw and finishDraw
The draw was split into draw and finishDraw, so the skip flag and the per-program
classification cache declared in draw were out of scope where finishDraw records
the classification. Indirect draws never hand off to the finisher, so both
functions run on the same thread; make the cache and the switch file-scope
accessors that both use.
2026-10-23 21:44:50 +13:00
Dean Galvin 8199835b02 Merge main into perf/agc-skip-empty-indirect 2026-10-23 21:43:40 +13:00
Dean b3b9609899 Merge pull request #9152 from rooklz/feat/np-profile-dialog
feat(libSceNpProfileDialog): implement the dialog lifecycle
2026-10-23 21:41:23 +13:00
Dean d339082d2e Merge pull request #9053 from voidlakhan/feat/npcommerce-dialog-initialize-internal
feat(libSceNpCommerce): implement internal dialog initialization
2026-10-23 21:40:45 +13:00
Dean 0dd46f1867 Merge pull request #8547 from Retr0G28/fix/connect-einprogress-windows
test(libkernel): require EINPROGRESS from a nonblocking connect in progress
2026-10-23 21:39:18 +13:00
Adrià 44a59edc3a Merge pull request #6682 from EagleBearerYS/fix/agc-bda-publish-unit-shadow
fix(agc): publish unit-shadow results before an address-based build maps its heaps
2026-10-23 10:34:14 +02:00
Mehran 2659ec333e perf(agc): replace winpthreads locks and TLS on the draw path 2026-10-23 11:32:03 +03:00
Dean aef58d4674 Merge pull request #9355 from DavidSamir/feat/libkernel-sys-aio
feat(libkernel_sys): implement the POSIX aio calls
2026-10-23 21:28:48 +13:00
Dean 72fe76ff89 Merge pull request #7920 from hugodearaujo/feat/agc-amd-buffer-marker-checkpoints
feat(agc): record GPU checkpoints through VK_AMD_buffer_marker
2026-10-23 21:20:57 +13:00
Dean 98a732c0be Merge pull request #7919 from Zenodeon/astro-small-resource-fixes
fix(agc): roll back failed snapshot cache insertions
2026-10-23 21:20:17 +13:00
Rookie 40970647ca feat(libSceNpProfileDialog): implement the dialog lifecycle
Initialize, Terminate, UpdateStatus, GetStatus, Open, OpenA, Close and
GetResult run the common-dialog state machine. There is no PSN profile
UI, so Open and OpenA finish at once and GetResult reports result 0,
userAction USER_CANCELED and the caller's userData, as shadPS4 does when
its window is dismissed.

Paths where shadPS4 and the other common dialogs here return different
errors throw, and so does a param whose size or mode does not match the
shadPS4 layout. The common-dialog codes the library uses are added to
libSceCommonDialog/CommonDialog.hpp.
2026-10-23 09:18:29 +01:00
Dean 30ecc1b7b3 Merge pull request #8643 from realshinmalphur/fix/gpu-command-validation
fix(agc): validate the exact indirect draw record range
2026-10-23 21:15:35 +13:00
Dean 048d0f9aa3 Merge pull request #8443 from orezraey/fix/nid-export-list-native-path
fix(nid): open export lists through the UTF-8 native path on Windows
2026-10-23 21:09:33 +13:00
Dean b27138800c Merge pull request #8719 from ArjenS-LA/fix/audit-windows-system-suffixes
fix(tools): resolve Windows system library suffixes in audits
2026-10-23 21:09:12 +13:00
Dean a75292c7b3 Merge pull request #8687 from cadenasynyster/fix/win-loop-errors
fix(libkernel): report ELOOP from unlink, mkdir, rmdir, truncate on Windows
2026-10-23 21:08:52 +13:00
Dean 87f3526562 Merge pull request #8617 from Lindamea1/fix/libkernel-mutex-unlock-static-eperm
fix(libkernel): fail scePthreadMutexUnlock on a statically initialized mutex with EPERM
2026-10-23 21:08:24 +13:00
Adrià FranchandClaude 9f8343519f fix(agc): keep the import run memo in host thread-local storage
Co-Authored-By: Claude <[email protected]>
2026-10-23 10:04:41 +02:00
alfalfa-starandClaude Opus 5.5 5d3c0d741a perf(agc): memoize host import run bounds per lease snapshot
Every import lookup walked the lease out from the containing range to find
the run of continuing registry ranges, which is linear in the run length.
That walk depends only on the lease snapshot, the containing range and the
import window block, so its first and last index are now memoized per
thread under a weak reference to the snapshot, the range index, the window
and the window's low end. APS5_NO_RUN_MEMO walks every time.

Everything that depends on other state runs on each call as before: the
largest size, the budget, the failed blocks, the remembered refusals and
the halving block search. importRunBounds returns the chosen indices, so
sameRange, runCovers and the whole-run lookup in importAllocation compare
against the lease without copying the run's range pointers.

importRunFailureShrinkTests records a failed 8 MiB block between two
lookups on an unchanged registry and requires the run to shrink to its
4 MiB blocks. importRunGrowthTests and importRunReplacedTests check that a
run grows and shrinks when its ranges are registered or replaced.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 10:04:37 +02:00
Dean 21554447d0 Merge pull request #6848 from NFSS10/nfss10/performance_improvements
perf(agc): clear single-key DCC surfaces on a verified uniform color
2026-10-23 20:45:46 +13:00
Dean 57c44fd6b8 Merge pull request #8378 from orezraey/fix/guest-tests-unicode-temp-paths
test(libs): keep non-ASCII temporary paths out of narrow Windows calls in guest tests
2026-10-23 20:45:15 +13:00
Dean ae7468d394 Merge pull request #6929 from jotitadev/fix/relinker-tls-tests-preserve-rbx
fix(relinker): restore rbx in TLS coverage bodies run on the host
2026-10-23 20:44:47 +13:00
lakhantheboss 00d5db19f0 feat(libSceNpCommerce): implement internal dialog initialization
Delegate sceNpCommerceDialogInitializeInternal to sceNpCommerceDialogInitialize, sharing dialog state and returning COMMON_DIALOG_ERROR_ALREADY_INITIALIZED on duplicate initialization, following shadPS4. Add regression tests in GuestNpCommerceDialog covering initial, duplicate, and post-termination initialization, and update technical debt documentation.
2026-10-23 13:12:44 +05:30