Commit Graph
6285 Commits
Author SHA1 Message Date
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
JJenkx f89e32170c fix(libc): preserve expm1 scaling association under directed rounding 2026-10-27 06:20:52 -04:00
AnyPS5 Contributor 7fd424e51b feat(libScePad): implement vibration and light bar brightness controls 2026-10-27 11:04:10 +01: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
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
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
MarcZX10 b030f8b5af docs(libSceFreeType): record FT_Stroker_GetCounts 2026-10-27 09:05:14 +00:00
MarcZX10 959e815472 docs(libSceFreeType): record FT_Stroker_Done 2026-10-27 09:05:14 +00:00
MarcZX10 c266d247d0 docs(libSceFreeType): record FT_Stroker_New 2026-10-27 09:05:14 +00:00
Alexandre Figueiredo a62e4fae0a feat(libSceNpCppWebApi): track the Leaderboards V1 parameter lifecycles as the module does 2026-10-27 09:03:06 +00:00
Alexandre Figueiredo 7054872694 feat(libSceNpCppWebApi): track the SessionManager V1 parameter lifecycles as the module does 2026-10-27 09:02:38 +00:00
Lindamea1andClaude Opus 5.5 ac682a4064 fix(libSceFont): stop a font writing from owning its string's characters
sceFontWritingInit took a reference on the string's host character
storage and kept it in the caller's SceFontWriting bytes. Only a later
sceFontWritingInit on the same, unchanged bytes dropped it, so every
string drawn with a fresh, zeroed or overwritten writing leaked its
characters, and re-initialising both copies of a copied writing dropped
its one reference twice. A SceFontWriting has no teardown export, so it
is plain caller memory and cannot own anything.

sceFontCreateString now allocates the characters through the string's
FontMemory, as it already did the string, so no character pointer the
guest receives points into host memory. sceFontDestroyString clears
the string's magic and frees both, and a failed create clears it before
freeing the string. A writing keeps only a pointer to its string and
checks the magic on every step, so after the destroy its steps return
null unless that memory holds the magic again, as when a new string is
allocated there. An init that fails after resetting the writing still
leaves it stepping nothing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 09:00:33 +00:00
JaceTheBlu 07de66a1a3 Merge feat/libressl-x509-store into feat/libressl-x509-lookup
# Conflicts:
#	docs/dev/debt/libSceLibreSsl.md
2026-10-27 08:48:03 +00:00
JaceTheBlu 884dbd5f45 Merge feat/libressl-x509-store into feat/libressl-verify-param-ip
# Conflicts:
#	docs/dev/debt/libSceLibreSsl.md
2026-10-27 08:48:02 +00:00
JaceTheBlu b9ec709d47 Merge upstream/main into feat/libressl-x509-store
# Conflicts:
#	core/libs/prx/libSceLibreSsl/CMakeLists.txt
#	docs/dev/debt/libSceLibreSsl.md
2026-10-27 08:48:01 +00:00
Dean 5d52b06ff3 Merge pull request #9324 from MarrasFederico/feat/ngs2-parse-format-codes
fix(libSceNgs2.native): return 0x804A8432 for waveform formats the module does not parse
2026-10-27 21:35:03 +13:00
Dean 77f68f314b Merge pull request #11560 from Ragbie/fix/write-after-read-update-stream
fix(libc): set up streams for writing after a read as FreeBSD does on Windows
2026-10-27 21:27:48 +13:00
Dean c28cf99512 Merge pull request #11438 from p3n1cillin/claude/direct-map-refuses-execute
fix(libkernel): refuse to map direct memory with execute as the console does
2026-10-27 21:26:17 +13:00
Dean 1d46b76e97 Merge pull request #11379 from Terminev/feat/invitation-dialog-offline
feat(libSceInvitationDialog): finish the PS4 invitation dialog as canceled without a window
2026-10-27 21:24:33 +13:00
MarcZX10 5cc5a38369 docs(libkernel_sys): record the single-source signatures of eight Discovery stubs 2026-10-27 08:24:25 +00:00
Dean f9b2db1d41 Merge pull request #11269 from Gruzzberry/fix/realpath-symlinks
fix(libc): realpath resolves symbolic links like FreeBSD
2026-10-27 21:22:09 +13:00
Dean be9aa82d38 Merge pull request #11235 from AlexFigas/feat/npcppwebapi-never-started-transactions
fix(libSceNpCppWebApi): answer finish, abort and getId for never-started transactions as the module does
2026-10-27 21:21:53 +13:00
Dean 066fead614 Merge pull request #11165 from atharvjairath/feat/libressl3-key-references
feat(libressl3): retain EVP and EC key references
2026-10-27 21:21:14 +13:00
Dean e07c21ce68 Merge pull request #11157 from janzezno/feat/agc-frame-capture-linux
feat(agc): capture and replay frames on Linux
2026-10-27 21:20:55 +13:00
Dean d5f7d86ccc Merge pull request #11139 from JJenkx/fix/libc-modf-floating-environment
fix(libc): preserve modf decomposition and floating-point status
2026-10-27 21:20:33 +13:00
Dean 1e5e1d56fb Merge pull request #11110 from orezraey/fix/libscertc-settime-t-order-measured-ps5
fix(libSceRtc): check the seconds before the pointer in sceRtcSetTime_t as measured on a PS5
2026-10-27 21:19:24 +13:00
Dean 6f7fba5bfa Merge pull request #11086 from slopgobblercobbler/fix/agc-submit-many-bounds-validation
fix(agc): validate multi-submit count overflow and null command buffers
2026-10-27 21:19:00 +13:00
Dean d090e62841 Merge pull request #11074 from JJenkx/fix/libc-frexpf-floating-environment
fix(libc): preserve frexpf decomposition and exception behavior
2026-10-27 21:18:34 +13:00
Dean 3d4a119265 Merge pull request #10993 from EagleBearerYS/feat/appcontent-addcont-ids-and-rudp-mss-v2
feat: answer seven libSceAppContent add-content calls and sceRudpSetMaxSegmentSize from their sources
2026-10-27 21:18:03 +13:00
Dean 2ab073a1e7 Merge pull request #10961 from AZLisme/feat/icu-escape-decoding
feat(libSceIcu): implement escape decoding
2026-10-27 21:16:58 +13:00
Dean 7976065f00 Merge pull request #10959 from AZLisme/feat/batch2-videodec2-hevc-metadata
feat(libSceVideodec2): expose HEVC picture metadata
2026-10-27 21:16:43 +13:00
Dean 99eebd9437 Merge pull request #10951 from AZLisme/feat/netctl-v6-callbacks
feat(libSceNetCtl): dispatch IPv6 state callbacks
2026-10-27 21:16:16 +13:00
Dean 6f0f810242 Merge pull request #10950 from AZLisme/feat/jsc-string-api
feat(libSceJsc): implement JSString ownership and conversion
2026-10-27 21:16:00 +13:00
Dean efed902d27 Merge pull request #10936 from AdnanKhan-ak47/fix/ampr-nop-encoding
fix(libSceAmpr): record Nop as n dwords with a one-dword header
2026-10-27 21:15:40 +13:00
Dean 79c6c4222d Merge pull request #10880 from EagleBearerYS/feat/scepad-light-bar-and-handle-calls
feat(libScePad): implement scePadIsValidHandle, the light-bar resets and scePadSetVibrationForce
2026-10-27 21:14:55 +13:00