Commit Graph
8 Commits
Author SHA1 Message Date
zaryabzip 6ca3d01f3e feat(libSceNpWebApi): throw on internal request arguments with a field set
sceNpWebApiIntCreateRequest's internal arguments are three pointers.
shadPS4 accepts them only when all three are null, so a set field now
throws after the user context check instead of creating a request.
2026-10-31 04:04:45 +05:00
zaryabzip 41fd24dcca feat(libSceNpWebApi): create internal requests like sceNpWebApiCreateRequest
shadPS4's sceNpWebApiIntCreateRequest checks the group, path and a method
up to PATCH, then the content parameter, before creating the request.
2026-10-31 03:51:30 +05:00
zaryabzip b31e7f1b35 feat(libSceNpWebApi): create presence, VSH and internal contexts and accept notification callbacks offline
shadPS4 creates the same library context from sceNpWebApiInitializeForPresence,
sceNpWebApiVshInitialize and sceNpWebApiIntInitialize, and checks the
notification callback and its user context before storing it.
2026-10-31 03:51:30 +05:00
KernelPanicNT 7a0fe8bde1 feat(libSceNpWebApi): implement handle aborts, request options and timeouts
Give sceNpWebApiAbortHandle, sceNpWebApiAddHttpRequestHeader,
sceNpWebApiCheckTimeout, sceNpWebApiCreateMultipartRequest,
sceNpWebApiSendRequest2, sceNpWebApiSetHandleTimeout,
sceNpWebApiSetMultipartContentType and sceNpWebApiSetRequestTimeout
their prototypes and the offline behaviour of the existing model.

Requests keep a multipart flag and a timeout whose timer starts on the
first send; CheckTimeout aborts expired requests at most once per
millisecond. The timeout unit is unverified: shadPS4 logs it as
milliseconds but adds it to microsecond process time, which is what
is done here. Handles created from SDK 3.00 get a timer slot. Headers
and multipart content types are validated and dropped, since nothing
is sent. Multipart parts and UtilityParseNpId still throw.
2026-10-30 15:29:17 +00:00
Codex 378bf4306c feat(npwebapi): add missing firmware inventory exports 2026-10-30 01:02:57 +02:00
MarcZX10 5377922c50 feat(libSceNpWebApi): declare 2 stubs with shadPS4's signatures
They still throw through NotImplemented_nid_no_patch; only the parameter
lists change. The only source is shadPS4's PS4 prototypes; nothing is measured on a PS5.
2026-10-26 23:17:33 +00:00
AlexandreandClaude Opus 5.5 c889c1c742 feat(libSceNpWebApi): add user contexts, requests and push event callbacks offline
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RoucYS7mQpV23WDUEwXLuU
2026-10-25 17:40:59 +01:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00