Commit Graph
8814 Commits
Author SHA1 Message Date
JJenkxandClaude Opus 5.5 bece5871e2 fix(libc): keep NaN payloads in strtof and wcstof as titles' libc.prx does
strtof and wcstof returned the default quiet NaN for any NAN(...)
sequence. The libc.prx bundled with eleven titles reads the payload as
its strtod does, but into one 32-bit word: a blank after the first group
of digits ends it, the first 8 digits are kept and cut to 24 bits, the
result goes under the quiet bit with the sign, and a zero payload
becomes 1. HexNanPayload now takes the word count, two for double and
one for float, and the NaN table test checks the measured float bits
and end for all 64 inputs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 07:13:19 -04:00
Maz d4a25e115a feat(libc): export the ctype facet vtable as data
Titles that import ctype<char>'s vtable as a 112-byte object need the fourteen-slot STT_OBJECT measured on PPSA16833 libc.prx.
2026-10-27 15:06:56 +04:00
Adrià 8ff4baf534 Merge pull request #11656 from dantdmdarealguy/docs/netctl-aprp-stale-debt
docs(debt): drop the stale ApRp stub note from libSceNetCtl
2026-10-27 12:01:31 +01:00
Adrià d410ce253f Merge pull request #11207 from EagleBearerYS/feat/imedialog-pad-keyboard
feat(libSceImeDialog): type with the controller on an on-screen keyboard
2026-10-27 12:00:58 +01:00
Adrià 9165e8722e Merge pull request #10536 from noamroger/claude/project-thread-3146bi
feat(libSceHttp2): implement request option getters, header removal a…
2026-10-27 12:00:52 +01:00
Adrià 768e92f8b6 Merge pull request #9743 from frankea/fix/hull-reads-control-point-outputs
fix(shader): read other control points' off-chip outputs in hull programs
2026-10-27 12:00:31 +01:00
Adrià 2635028370 Merge pull request #11061 from roboterspinne/fix/relinker-red-zone-body-pushes
fix(relinker): refuse red-zone leaves without a frame pointer that push or pop
2026-10-27 12:00:25 +01:00
Adrià 6a5950b5ce Merge pull request #10903 from imellag/test/libc-update-env-macos
test(libc): run the feupdateenv checks on macOS and under Rosetta 2
2026-10-27 12:00:19 +01:00
Adrià a49b5aa216 Merge pull request #11496 from milescoviello/docs/videoout-open-call-sites
docs(libSceVideoOut): note how seven titles call sceVideoOutOpen
2026-10-27 12:00:07 +01:00
Adrià 486919e70a Merge pull request #11456 from MarcZX10/marc/docs-environment-sync
docs(environment): correct variable rows that no longer match the code
2026-10-27 12:00:02 +01:00
Adrià e4f6c8aa40 Merge pull request #11453 from LeandroLP23/docs/agc-present-mutex-amd-windows
docs(agc): record presentation under the GPU mutex on AMD's Windows driver
2026-10-27 11:59:57 +01:00
Adrià 961bfd88e9 Merge pull request #11420 from SHOnnay/docs/windows-path-length
docs: note the Windows path length limit on build files
2026-10-27 11:59:51 +01:00
Adrià 843840167e Merge pull request #11392 from PrivacyOnion/docs/debt-companionutil-stubs
docs(debt): record silent stubs in libSceCompanionUtil debt
2026-10-27 11:59:46 +01:00
Adrià d68d7546bf Merge pull request #11390 from PrivacyOnion/docs/debt-playgodialog-stubs
docs(debt): record silent stubs in libScePlayGoDialog debt
2026-10-27 11:59:40 +01:00
Adrià c298342798 Merge pull request #11389 from PrivacyOnion/docs/debt-signindialog-stubs
docs(debt): record silent stubs in libSceSigninDialog debt
2026-10-27 11:59:36 +01:00
Adrià 699c908f67 Merge pull request #11387 from PrivacyOnion/docs/debt-share-stubs
docs(debt): record silent stubs in libSceShare debt
2026-10-27 11:59:30 +01:00
Adrià fc5ba20796 Merge pull request #11385 from PrivacyOnion/docs/debt-savedatadialog-stubs
docs(debt): record sceSaveDataDialogIsReadyToDisplay stub in libSceSaveDataDialog.native debt
2026-10-27 11:59:25 +01:00
Adrià 4f7e120148 Merge pull request #11386 from PrivacyOnion/docs/debt-fsinternalforvsh-stubs
docs(debt): record silent stubs in libSceFsInternalForVsh debt
2026-10-27 11:59:20 +01:00
Adrià 2222ab420f Merge pull request #11384 from PrivacyOnion/docs/debt-composite-stubs
docs(debt): record silent stubs in libSceComposite debt
2026-10-27 11:59:15 +01:00
Adrià f14b520f27 Merge pull request #11383 from PrivacyOnion/docs/debt-movetracker-stubs
docs(debt): record silent stubs in libSceMoveTracker debt
2026-10-27 11:59:09 +01:00
Adrià 37778df299 Merge pull request #11380 from MarcZX10/marc/docs-windows-toolchain-requirement
docs: correct Windows MinGW build requirement
2026-10-27 11:59:04 +01:00
Adrià 57decaef35 Merge pull request #11378 from PrivacyOnion/docs/debt-mdbg-syscore-stubs
docs(debt): record silent stubs in libmdbg_syscore debt
2026-10-27 11:58:58 +01:00
Adrià 61e96fecbd Merge pull request #11377 from PrivacyOnion/docs/debt-remoteplay-stubs
docs(debt): record silent stubs in libSceRemoteplay debt
2026-10-27 11:58:53 +01:00
Adrià 4bf2b03534 Merge pull request #11373 from PrivacyOnion/docs/debt-automounterclient-stubs
docs(debt): document sceAutoMounterClientInit and device list debt
2026-10-27 11:58:48 +01:00
Adrià 5c3c9d95c8 Merge pull request #11364 from xXPBSXx/fix-agc-cb-resolve-packed-float
docs(debt): record the unsupported and unmeasured multisample CB resolve of 11_11_10 float targets
2026-10-27 11:58:43 +01:00
Adrià bb5a62ce11 docs(environment): sort ANYPS5_DISPLAY_INDEX within libSceVideoOut 2026-10-27 11:50:09 +01:00
B-Howell be358dc3f7 feat(libSceVideoOut): allow selecting the initial display 2026-10-27 11:50:06 +01:00
JJenkx f89e32170c fix(libc): preserve expm1 scaling association under directed rounding 2026-10-27 06:20:52 -04:00
rooklz fe80227fce fix(tools): reject unmodeled save-temps modes in syntax checks 2026-10-27 10:14:45 +00:00
AnyPS5 Contributor 7fd424e51b feat(libScePad): implement vibration and light bar brightness controls 2026-10-27 11:04:10 +01:00
Dean 3fea2a937b Merge pull request #11685 from oneandonlydean/port/direct-depth-layer-copy-v2
feat(agc): copy depth planes to and from color storage images directly where maintenance8 allows
2026-10-27 23:03:00 +13:00
ionut27001 e984b14b3f fix(libkernel): sysconf answers the names a PS5 payload process answers 2026-10-27 12:00:08 +02:00
Jota 8bed63610b fix(libkernel): report POLLHUP on macOS only once both directions of a stream have ended
XNU's poll reports POLLHUP as soon as either direction of a stream socket has ended, adds POLLPRI and POLLRDBAND to it and then drops POLLOUT. FreeBSD's sopoll_generic reports POLLHUP only once the receive and the send side are both shut, and Linux does the same, so on macOS a guest saw POLLIN|POLLHUP for a stream whose peer had only shut its sending side, and POLLHUP for one that had only shut its own.

When the host reports POLLHUP on a guest stream socket, ask it about each direction alone and keep POLLHUP only when both have ended, report the requested POLLOUT while the sending side is shut or writable, and leave urgent data to SIOCATMARK.
2026-10-27 06:55:16 -03:00
AdriàandClaude Sonnet 5.5 bceec11fb1 docs: limit the host-only test executable rule to targets under core/libs
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-27 10:51:35 +01:00
blawesom f7874ba21e build: add configure_host_test_executable for host-only test executables
A test executable that links no guest library and is built for MinGW fails
to link when one of its objects has an exception landing pad: the guest
libc provides __gxx_personality_v0, and host-only links do not see it.

configure_host_test_executable(<target>) centralises the fix already
spelled out by hand in core/libs: native SEH unwind tables and a static
runtime. Migrated the two targets whose blocks matched it exactly
(patched_libraries_tests, guest_kernel_sys_threads_tests); their MinGW
build is unchanged by construction. Documented the rule in CONVENTIONS.

Unblocks none; guards the same class as the CI check in #11343.
2026-10-27 10:51:30 +01:00
Hedi Trigui 3d17309724 feat(libc): implement reallocarray 2026-10-27 10:46:33 +01:00
Dean Galvin 0a87d9a0a9 Merge main into salvage/jsc-9438: keep main's JSString implementation, append the stubs
Main now implements ten JSString functions in libSceJsc/Export.cpp and has its
own debt file. Take main's files and append the 150 import-resolution stubs
of this PR after them, with their debt entry; none of their NIDs is defined on
main.
2026-10-27 22:39:07 +13:00
Dean Galvin 1bf274a817 Merge main into perf-D2-v47: depth export tail moves to request version 48
Main took request serialization version 47 for the two-sample dithered
alpha-to-coverage value. The depth export clamp bounds are now written at
version 48 and read only for versions from 48, so a version 47 request as main
writes it still decodes, with default bounds. Tests: version 48 is the
emitted prefix, 49 the first unsupported one, and a version 47 two-sample
dithered request (with and without depth export) decodes as written.
2026-10-27 22:37:31 +13:00
guglia001 1bdb8388ed test(relinker): add a libFuzzer target for the whole conversion
ANYPS5_BUILD_FUZZERS builds relinker_conversion_fuzzer with AddressSanitizer
and UndefinedBehaviorSanitizer in relinker-only Clang builds on Linux. The
first input byte selects the target system, --to-intel and the unused-filter
level; the rest is the executable passed to Conversion::Convert, the path the
web converter takes. tools/relinker_fuzz_seeds.py writes the relinker test
fixtures as seeds, and CTest runs a short smoke run.
2026-10-27 10:12:35 +01:00
JJenkxandClaude Opus 5.5 8f39bcc549 Merge main into PR #10283
Conflicts with main's newer libc changes resolved without changing either
side: the debt list keeps each side's entry changes (per entry, deletions
included), GuestMath.cpp keeps both sides' test functions and calls, and
Math.cpp differs from main by exactly this branch's own changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 05:06:27 -04:00
MarcZX10 9e6c5921a0 docs(debt): drop the blank line left at the end of the debt file 2026-10-27 09:06:08 +00:00
MarcZX10 49032fe9ed fix(libSceFreeTypeOt): name the aliases of the symbols this PR implements after them
An Unknown export whose NID is a symbol of the tree is rejected by the unknown-nid convention check, so the alias takes the symbol's name, as the already identified ones do.
2026-10-27 09:05:15 +00:00
MarcZX10 9c2274e896 docs(libSceFreeType): record FT_Stroker_CubicTo 2026-10-27 09:05:15 +00:00
MarcZX10 39a5854615 docs(libSceFreeType): record FT_Stroker_ConicTo 2026-10-27 09:05:14 +00:00
MarcZX10 845c4280cc docs(libSceFreeType): record FT_Stroker_GetBorderCounts 2026-10-27 09:05:14 +00:00
MarcZX10 8e66aee1dd docs(libSceFreeType): record FT_Stroker_Rewind 2026-10-27 09:05:14 +00:00
MarcZX10 da4ad46570 docs(libSceFreeType): record FT_Stroker_Set 2026-10-27 09:05:14 +00:00
MarcZX10 560f9651c0 docs(libSceFreeType): record FT_Stroker_EndSubPath 2026-10-27 09:05:14 +00:00
MarcZX10 b3e919312c docs(libSceFreeType): record FT_Stroker_LineTo 2026-10-27 09:05:14 +00:00
MarcZX10 a13015d72e docs(libSceFreeType): record FT_Stroker_BeginSubPath 2026-10-27 09:05:14 +00:00