Evrim Cicek
a7b52084ec
fix(libc): set up streams for writing after a read as FreeBSD does on Windows
...
On Windows the UCRT drops a write that directly follows a read on an r+,
w+ or a+ stream: fputc and fprintf report success, fwrite returns 0 and
fputs returns EOF, all without the error indicator, and the file is left
unchanged, also after an fflush. On a stream open only for reading, fputc
after a read reports success as well.
Writes now first do what FreeBSD 11.4's __swsetup does: a stream open only
for reading fails with EBADF and sets the error indicator, and an update
stream that is reading drops its read buffer and ungetc data, clears end
of file and writes at the descriptor's offset. This covers fwrite, fputs,
fputc, putc_unlocked, fprintf, fprintf_s, fputwc, fputws, fwprintf,
fwprintf_s, puts and wprintf, and printf, vprintf and printf_s, which
write to standard output through PrintWindows and now return -1 there
instead of throwing.
Linux is unchanged: glibc writes at the stream position, which the libc
technical debt now records.
2026-10-26 21:53:56 +03:00
Adrià
d891568dfc
Merge pull request #10499 from frankea/fix/kernel-gettimezone-host-zone
...
fix(libkernel): report the host zone's standard offset and daylight saving amount from sceKernelGettimezone
2026-10-26 19:51:44 +01:00
Adrià
c9a6013f4d
Merge pull request #10468 from JJenkx/fix/libc-nextafter-fenv
...
fix(libc): preserve nextafter exception flags and denormal modes
2026-10-26 19:50:43 +01:00
Adrià
18ef6be0cd
Merge pull request #10376 from alvaroelpob/feat/libscelibressl-ui-method
...
feat(libSceLibreSsl): implement UI_METHOD creation and its opener, writer, reader and closer accessors
2026-10-26 19:42:46 +01:00
Adrià
788130e2c4
Merge pull request #10167 from Felipebmaitan/feat/http2-transport
...
feat(http2): add synchronous HTTP/2 transport over TLS
2026-10-26 19:38:16 +01:00
Alvaro
36a766229b
feat(libSceLibreSsl): implement UI_method_get_closer
2026-10-26 19:23:44 +01:00
Alvaro
3ac4a78a0f
feat(libSceLibreSsl): implement UI_method_set_closer
2026-10-26 19:23:43 +01:00
Alvaro
9802f33370
feat(libSceLibreSsl): implement UI_method_get_reader
2026-10-26 19:23:43 +01:00
Alvaro
13e48800eb
feat(libSceLibreSsl): implement UI_method_set_reader
2026-10-26 19:23:42 +01:00
Alvaro
aa5c431bb0
feat(libSceLibreSsl): implement UI_method_get_writer
2026-10-26 19:23:42 +01:00
Alvaro
bf6c1458f3
feat(libSceLibreSsl): implement UI_method_set_writer
2026-10-26 19:23:41 +01:00
Alvaro
18a1ec5ca0
feat(libSceLibreSsl): implement UI_method_get_opener
2026-10-26 19:23:41 +01:00
Alvaro
a35721aae7
feat(libSceLibreSsl): implement UI_method_set_opener
2026-10-26 19:23:40 +01:00
Alvaro
80104778fe
feat(libSceLibreSsl): implement UI_destroy_method
2026-10-26 19:23:39 +01:00
Alvaro
8736ee5a82
feat(libSceLibreSsl): implement UI_create_method
2026-10-26 19:23:36 +01:00
Adrià
7cf8602234
Merge pull request #10373 from alvaroelpob/feat/libscelibressl-stack
...
feat(libSceLibreSsl): implement sk_num, sk_value, sk_pop and sk_pop_free
2026-10-26 19:16:11 +01:00
Adrià
aec3b38800
Merge pull request #8010 from Piyush-Sagar/codex/implement-condattr-getclock
...
feat(libkernel): implement pthread_condattr_getclock
2026-10-26 19:02:45 +01:00
Adrià
88795ed448
Merge pull request #10465 from xXPBSXx/docs-agc-copyregion-over-4gib
...
docs(agc): note the guest buffer region copied whole over 4 GiB
2026-10-26 18:26:07 +01:00
Adrià
761eaba441
Merge pull request #10463 from xXPBSXx/docs/debt-pm4-type0-reread
...
docs(debt): note that the zero gap before REWIND packets stays unwritten
2026-10-26 18:24:47 +01:00
Alvaro
649c7f97fc
feat(libSceLibreSsl): implement sk_pop_free
2026-10-26 18:02:19 +01:00
Alvaro
836b583e90
feat(libSceLibreSsl): implement sk_pop
2026-10-26 18:02:19 +01:00
Alvaro
5efedeeeb3
feat(libSceLibreSsl): implement sk_value
2026-10-26 18:02:18 +01:00
Alvaro
30cdaa7085
feat(libSceLibreSsl): implement sk_num
2026-10-26 18:02:17 +01:00
Dean
ad680be4a2
Merge pull request #10255 from hypermoist/feat/httpcache-cache
...
feat(libSceHttpCache): cache responses with the firmware's freshness and revalidation rules
2026-10-27 05:53:23 +13:00
Dean
f849d2449b
Merge pull request #11310 from frankea/fix/agc-getsize-invalid-arguments
...
fix(agc): return 0 from the wait and context state GetSize calls for an invalid argument
2026-10-27 05:47:26 +13:00
Adrià
997472c44b
Merge pull request #10248 from mantavisual/feat/libressl-crypto-locking-callbacks
...
feat(libSceLibreSsl): implement the CRYPTO locking and thread id callbacks
2026-10-26 17:46:17 +01:00
Dean
3a1c60898a
Merge pull request #11156 from orezraey/fix/libc-fdopen-measured-ps5
...
fix(libc): check the fdopen mode before the descriptor and skip the access check as measured on a PS5
2026-10-27 05:43:39 +13:00
Dean
6733079b2d
Merge pull request #11140 from akkadbakkad89/fix/psml-mfsr-init
...
fix(libScePsml): fail MFSR init and shared-resource limits as a base console does
2026-10-27 05:42:58 +13:00
Dean
4971b380b3
Merge pull request #11127 from orezraey/fix/libc-strerror-r-texts-measured-ps5
...
fix(libc): give strerror_r, perror and strerror_s the strerror texts as measured on a PS5
2026-10-27 05:42:18 +13:00
Dean
ade9b32167
Merge pull request #11029 from orezraey/fix/libkernel-event-error-measured-ps5
...
fix(libkernel): add 0x80020000 to any event fflags in sceKernelGetEventError as measured on a PS5
2026-10-27 05:38:39 +13:00
Dean
bd1b31548c
Merge pull request #11013 from mantavisual/feat/icu-invariant-version-helpers
...
feat(libSceIcu): implement the invariant character and version helpers
2026-10-27 05:37:25 +13:00
Dean
349055c1cd
Merge pull request #11009 from EagleBearerYS/fix/count-throwing-done-content
...
fix: report seven always-throwing content and audio exports as not implemented
2026-10-27 05:36:36 +13:00
Dean
c0c803f8f1
Merge pull request #10974 from verusferro/feat/sp-mutexattr-setprioceiling
...
feat(libSceSpSysCallWrapper): forward sceSpPthreadMutexattrSetprioceiling
2026-10-27 05:34:07 +13:00
Dean
e698ea22d7
Merge pull request #10932 from AdnanKhan-ak47/feat/move-read-state-recent-null-data
...
fix(libSceMove): accept a null data array in sceMoveReadStateRecent for SDKs through 0x03ffffff
2026-10-27 05:33:23 +13:00
frankea
02eb8256d3
Merge remote-tracking branch 'origin/main' into fix/kernel-gettimezone-host-zone
2026-10-26 12:33:18 -04:00
Dean
b3b996fbba
Merge pull request #10914 from AlexFigas/fix/voicechat-handler-registration-args
...
fix(libSceVoiceChat): declare the handler registration arguments a title passes
2026-10-27 05:31:41 +13:00
Dean
c3603c0c6c
Merge pull request #10910 from AlexFigas/fix/npwebapi2-push-context-callback-args
...
fix(libSceNpWebApi2): declare the arguments of sceNpWebApi2PushEventRegisterPushContextCallback
2026-10-27 05:31:01 +13:00
Dean
427dd36164
Merge pull request #10887 from thuanquang/feat/ime-backend-exports
...
feat(libSceImeBackend): declare 22 sceImeBackend exports
2026-10-27 05:29:19 +13:00
Dean
4c92447924
Merge pull request #10879 from EagleBearerYS/feat/npmanager-idmapper-requests
...
feat(libSceNpManager): implement the IdMapper and NpManagerInt request lifecycles
2026-10-27 05:28:41 +13:00
Adrià
570089a806
Merge pull request #10310 from orezraey/docs/libkernel-select-measured-ps5
...
docs(libkernel): record select limits as measured on a PS5
2026-10-26 17:19:30 +01:00
Piyush Sagar
bf029fdf02
docs(libkernel): relocate condattr clock debt entry
2026-10-26 21:44:54 +05:30
Piyush Sagar
947e72e4d7
feat(libkernel): implement pthread_condattr_getclock
2026-10-26 21:44:53 +05:30
Felipebmaitan
d07024f3cf
fix(http2): accept early responses and initialize Windows DNS
2026-10-26 13:10:57 -03:00
Felipebmaitan
6821d6cd01
docs(http2): record the conflicting public method declarations
2026-10-26 13:10:56 -03:00
Felipebmaitan
3c4a8eb512
fix(http2): bound uploads and quiesce requests during teardown
2026-10-26 13:10:56 -03:00
Felipebmaitan
db57916260
feat(http2): send synchronous HTTP/2 requests over TLS
2026-10-26 13:10:56 -03:00
Adrià
518d36eaec
Merge pull request #10305 from orezraey/docs/libkernel-flexible-flag-8000-measured-ps5
...
docs(libkernel): record flexible memory flag 0x8000 as measured on a PS5
2026-10-26 17:04:25 +01:00
Adrià
e476a8ab3d
Merge pull request #10259 from voidlakhan/docs/libSceErrorDialog-debt
...
docs(libSceErrorDialog): correct stale error behavior debt
2026-10-26 17:03:24 +01:00
Adrià
68fc123510
Merge pull request #10214 from VakzOs/feat/cescs-cp858
...
feat(libSceCesCs): add the code page 858 profile
2026-10-26 17:03:08 +01:00
Adrià
a6bd8f957f
Merge pull request #10221 from xXPBSXx/docs/debt-ajm-strerror-title
...
docs(debt): note how titles use sceAjmStrError
2026-10-26 16:59:55 +01:00