Commit Graph
8546 Commits
Author SHA1 Message Date
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 a636927e5f Merge pull request #8161 from Celegans12/feat/tools-ab-split
feat(tools): split the periodic reports of an APS5_AB run by phase
2026-10-27 21:34:47 +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
Dean 84a4b12f45 Merge pull request #10739 from rooklz/fix/cescs-gb18030-console
fix(libSceCesCs): map the GB 18030 profiles as the console does
2026-10-27 21:14:08 +13:00
Dean c04a9740c8 Merge pull request #10583 from MarcZX10/marc/freetype-bitmap-init
feat(libSceFreeType): implement FT_Bitmap_Init
2026-10-27 21:13:02 +13:00
Rookie 4c28647f0a fix(libc): answer EBADF to a null filename on a closed stream as the console does 2026-10-27 08:11:28 +00:00
Rookie 9618254977 fix(libc): reopen a closed stream in freopen instead of aborting 2026-10-27 08:11:28 +00:00
Dean 2aacb376ee Merge pull request #10346 from JJenkx/windows/libc-logb-msun
fix(libc): compute logb and logbf with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-27 21:09:12 +13:00
Dean f97469d06d Merge pull request #10178 from santhoshkumar-dev/codex/freetype-module-properties
feat(libSceFreeType): configure scalar and darkening properties
2026-10-27 21:07:31 +13:00
Dean 5a36b2df1e Merge pull request #9850 from JJenkx/windows/libc-powf-msun
fix(libc): compute powf like the libc.prx that titles ship
2026-10-27 21:07:00 +13:00
Dean 9bc2b99bbb Merge pull request #9802 from santhoshkumar-dev/codex/freetype-curve-bounds
feat(libSceFreeType): query exact outline curve bounds
2026-10-27 21:06:45 +13:00
Dean f95b794ff1 Merge pull request #9785 from santhoshkumar-dev/codex/libressl-protocol-selection
feat(libSceLibreSsl): select advertised application protocols
2026-10-27 21:06:22 +13:00
Dean 853b370f01 Merge pull request #9784 from JJenkx/windows/libc-atan2f-msun
fix(libc): compute atan2f with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-27 21:06:05 +13:00
Dean 10a215161a Merge pull request #9420 from Ondra97/codex/feat-freetype-sfnt-access
feat(libSceFreeType): expose raw SFNT table access
2026-10-27 21:05:45 +13:00
Adrià 2589561c0e Merge pull request #11124 from EagleBearerYS/feat/sourced-answers-np-bt-dialog
feat: answer the NpWebApi2 multipart calls and sceBluetoothHidParamInitialize from their sources
2026-10-27 09:04:33 +01:00
Adrià 1b2af92baf Merge pull request #11187 from p3n1cillin/claude/pad-ext-info-not-permitted
fix(libScePad): refuse scePadGetExtControllerInformation on a standard pad as the console does
2026-10-27 09:03:28 +01:00
slopgobblercobbler 5bb4711bb8 fix(libSceSaveData.native): return SAVE_DATA_ERROR_PARAMETER on null argument in sceSaveDataConvert 2026-10-27 08:57:14 +01:00
Dean Galvin 70b3dc8467 merge: main into feat/libscelibressl-x509-store-ctx-error 2026-10-27 20:55:58 +13:00
Dean a5fea6f5c4 Merge pull request #9449 from SnekPolylepis/feat/verified-system-export-declarations
feat(prx): declare 252 verified missing system exports
2026-10-27 20:53:30 +13:00
Dean fedb323a30 Merge pull request #10698 from MarcZX10/marc/signatures-libscenpwebapi
feat(libSceNpWebApi): declare two stubs with shadPS4's signatures
2026-10-27 20:53:16 +13:00
Dean 619ac3c2b6 Merge pull request #10467 from MarcZX10/fix/libc-tgammaf-underflow-sign
fix(libc): preserve tgammaf underflow sign
2026-10-27 20:53:02 +13:00
Dean cf652ca76e Merge pull request #10398 from alvaroelpob/feat/libscelibressl-evp-pkey-type
feat(libSceLibreSsl): implement EVP_PKEY_type
2026-10-27 20:52:31 +13:00
Dean 2f0a0071f5 Merge pull request #10251 from orezraey/docs/libc-fopen-directory-measured-ps5
docs(libc): record fopen and freopen of directories as measured on a PS5
2026-10-27 20:52:15 +13:00
Adrià b87d3d87e2 Merge pull request #11080 from slopgobblercobbler/fix/savedata-ps4-null-argument-validation
fix(libSceSaveData.native): validate null arguments in sceSaveDataDirNameSearchPs4 and sceSaveDataMount
2026-10-27 08:46:03 +01:00
milescoviello 03ce876c46 Merge remote-tracking branch 'upstream/main' into docs/entitlement-key-call-sites
# Conflicts:
#	docs/dev/debt/libSceNpEntitlementAccess.md
2026-10-27 07:45:25 +00:00
Emanueleandmugurc 86cdfb8647 feat(libkernel): thread-local storage for Mach-O guests
FreeBSD code reaches its thread pointer through %fs and macOS cannot set
the fs base. The macOS relinker turns each %fs access of a guest image
into a stub that reads the thread pointer from a pthread key and calls
Aps5GuestTlsAllocate on a thread's first access, registers the TLS
descriptor of an image with Aps5GuestTlsRegister, and routes
__tls_get_addr to Aps5GuestTlsGetAddr. No library provided them, so a
relinked executable could not start.

- Aps5GuestTlsRegister validates the descriptor the relinker wrote and
  creates the key; its destructor frees the block of a thread.
- Aps5GuestTlsAllocateThreadPointer allocates the block (the TLS template
  followed by zeros, then a 0x100-byte thread control block whose first
  word points at itself, as on FreeBSD) and stores the thread pointer
  under the key.
- Aps5GuestTlsAllocate is the entry the stubs call: rax holds the
  descriptor and returns the thread pointer, every other register is
  preserved, the upper halves of the ymm registers only where AVX exists.
- Aps5GuestTlsGetAddr returns the block of the thread plus the offset.

Co-authored-by: mugurc <[email protected]>
2026-10-27 08:42:04 +01:00
Adrià dd6d71ba13 Merge pull request #11050 from harisibrar1/feat/libressl-asn1-string-to-utf8
feat(libSceLibreSsl): report ASN1_STRING_to_UTF8 errors through the ASN.1 error queue
2026-10-27 08:38:38 +01:00
Adrià e5779c0a84 Merge pull request #10790 from leorossi2005/feat/netctl-get-nat-info
feat(libSceNetCtl): implement sceNetCtlGetNatInfo
2026-10-27 08:38:33 +01:00
Dean Galvin 1affd8f731 fix(libSceFreeTypeOl): drop the exports open pull requests already implement
Remove 32 stubs whose NIDs are implemented by other open pull requests
(FreeType functions in #9398 #9399 #9404 #9410 #9465 #9588 #9792 #9924 #9933
#10579 #10588 #10591 #10600 #10601 #10602 #10606 #10613 #10616 #10897) and
correct the count in the debt entry.
2026-10-27 20:33:45 +13:00
Dean Galvin f407d1bd2b fix(libSceIcu): drop the stubs open PRs implement
Remove the 36 stubs whose NIDs open PRs #10962-#10967, #11115, #11118, #11122, #11132 and #11136 add to libSceIcu, leaving 112.
2026-10-27 20:32:39 +13:00