Commit Graph
1111 Commits
Author SHA1 Message Date
Dean Galvin ca31391ab1 Merge branch 'main' 2026-11-06 08:13:45 +13:00
Dean f5844034d9 Merge pull request #10328 from JJenkx/windows/libc-hypotf-msun
fix(libc): compute hypotf with FreeBSD msun's algorithm, as titles' libc.prx does
2026-11-06 08:12:46 +13:00
Dean 813f46cd68 Merge pull request #16104 from Opensource55/fix/libc-freopen-standard-directory
fix(libc): reopen a standard stream onto a directory on Windows
2026-11-06 07:35:25 +13:00
Dean Galvin 437a420e12 Merge branch 'main' 2026-11-06 07:34:18 +13:00
Dean Galvin 8166cadfe3 Merge branch 'main' 2026-11-06 06:49:26 +13:00
Dean Galvin 44835f00a6 Merge branch 'main' 2026-11-06 06:31:43 +13:00
Opensource55 dfc217b316 fix(libc): reopen a standard stream onto a directory on Windows
A guest that reopens `stdin`, `stdout` or `stderr` onto a directory in a read mode threw instead of
returning the stream, while the console answers that a directory opens in a read mode and the
debt entry already recorded the throw as the Windows difference.

The standard stream now goes through the same descriptor move a regular file uses: the directory
descriptor is opened, moved onto the standard descriptor, and libkernel's directory entry follows
it, so `fstat` of the guest descriptor reports a directory and the first read answers `EISDIR` with
the error indicator set, like every other directory stream. A failed open restores the previous
standard target.

`guest_freopen_host_standard` reopens `stdout` onto a directory, asserts `S_IFDIR` on the guest
descriptor, asserts the first read answers `EISDIR`, then reopens the same stream on a file path
and writes through it.
2026-11-06 01:09:06 +08:00
Dean Galvin 56d92de0a8 Merge branch 'main' 2026-11-06 05:58:58 +13:00
JJenkx dd513a2ba2 Merge remote-tracking branch 'origin/main' into windows/libc-hypotf-msun
# Conflicts:
#	core/libs/prx/libc/src/Math.cpp
#	core/libs/tests/GuestMath.cpp
#	docs/dev/debt/libc.md
2026-11-05 07:22:33 -05:00
JJenkx 4abf92482f Merge remote-tracking branch 'origin/main' into windows/libc-fmod-edom
# Conflicts:
#	core/libs/tests/GuestMath.cpp
2026-11-05 07:14:45 -05:00
JJenkx 30c2dfcf23 Merge remote-tracking branch 'origin/main' into windows/libc-trig-double-msun
# Conflicts:
#	core/libs/tests/GuestMath.cpp
2026-11-05 07:11:57 -05:00
JJenkx 7555c82248 Merge remote-tracking branch 'origin/main' into windows/libc-atanh-msun
# Conflicts:
#	core/libs/tests/GuestMath.cpp
#	docs/dev/debt/libc.md
2026-11-05 07:06:57 -05:00
Dean Galvin 2a9f4bad32 Merge branch 'main' 2026-11-06 00:31:09 +13:00
Dean e90fd2dc42 Merge pull request #12595 from JJenkx/windows/libc-wcstombs-s-constraints
fix(libc): report wcstombs_s and wcsrtombs_s violations as titles' libc.prx does
2026-11-06 00:05:07 +13:00
Dean a7df91e4ba Merge pull request #10325 from JJenkx/windows/libc-hypot-msun
fix(libc): compute hypot with FreeBSD msun's algorithm, as titles' libc.prx does
2026-11-06 00:03:55 +13:00
JJenkx 3661c5c59c chore(libc): integrate current main and shared build fix 2026-11-05 04:02:37 -05:00
Dean 2238042b81 Merge pull request #15705 from oneandonlydean/rr/pr3-gpu
feat(run-report): count milestones, frames, GPU and shader diagnostics
2026-11-05 21:24:14 +13:00
Dean 1fe3ee8d1a Merge pull request #14235 from oneandonlydean/rr/pr2-writer
feat(run-report): write the run report when a game ends
2026-11-05 21:24:09 +13:00
Dean 430a9b5473 Merge pull request #14620 from Danigamer05/feat/libc-timespec-getres-20261101
feat(libc): forward time resolution queries to the kernel
2026-11-05 17:27:46 +13:00
Dean 5f5102660b Merge pull request #14863 from msbutt1/fix/libc-fgets-size-one
fix(libc): return NULL from fgets for a size below 2 as the console does
2026-11-05 17:00:14 +13:00
JJenkx 71ab8de49b Merge commit '0540ef0ef2ec2bfb98b2d105a969921611bd3d61' into HEAD 2026-11-04 21:21:02 -05:00
JJenkx a0b58797d8 Merge remote-tracking branch 'origin/main' into windows/libc-cosh-msun
# Conflicts:
#	core/libs/tests/GuestMath.cpp
2026-11-04 20:10:46 -05:00
Dean 269419694c Merge pull request #13119 from JJenkx/fix/libc-ordinary-short-character-fields
fix(libc): retain ordinary short character scan fields
2026-11-05 08:19:45 +13:00
JJenkx 7a21d9762f chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:27 -05:00
JJenkx 9811e07c2f chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:26 -05:00
JJenkx 1b44472417 chore(libc): merge main and preserve numeric regressions 2026-11-04 13:32:25 -05:00
JJenkxandClaude Opus 5.5 9cfddbd613 Merge main 9ab6a281ea into the hypotf branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 13:27:22 -05:00
JJenkxandClaude Opus 5.5 7080ae351b Merge main 9ab6a281ea into the hypot branch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 13:26:22 -05:00
JJenkx 6d7538e435 chore: merge current main into libc log implementation 2026-11-04 12:42:39 -05:00
Dean 7d41521f42 Merge pull request #11621 from B-Howell/codex/opus-missing-functions
feat(libc): implement lfind and lsearch
2026-11-05 06:35:46 +13:00
Dean 6863f295a9 Merge pull request #10749 from ycbuzi/refactor/siginterrupt-libc-internal
refactor(libSceLibcInternal): serve siginterrupt from libSceLibcInternal
2026-11-05 06:35:30 +13:00
Dean ee42ed3c17 Merge pull request #10265 from JJenkx/windows/libc-pow-fdlibm
fix(libc): compute pow with fdlibm's algorithm, as titles' libc.prx does
2026-11-05 06:34:47 +13:00
Dean 2a01747b61 Merge pull request #10165 from mazen320/fix/libc-codecvt-vtable-104
fix(libc): size the codecvt facet vtable to 104 bytes
2026-11-05 06:34:42 +13:00
Dean eaf2579d0a Merge pull request #9929 from sandivd/fix/libc-syslog-program-name
fix(libc): restore syslog program-name fallback
2026-11-05 06:34:29 +13:00
Dean 21b509d680 Merge pull request #7648 from Islam-ElShahaby/feat/libc-throw-c-error
feat(libc): implement std::_Throw_C_error
2026-11-05 06:33:55 +13:00
Maz 1b80cfbd0a fix(libc): size the codecvt facet vtable to 104 bytes
Console title libc.prx (PPSA26344) and libSceLibcInternal export aK1Ymf-NhAs as STT_OBJECT st_size 104; the previous sixteen-slot export was three entries long.
2026-11-04 16:37:43 +04:00
Dean 792f1186f4 Merge pull request #13784 from Celegans12/feat/libc-owned-memory-blocks
feat(libc): track guest memory with windows write-watch tokens
2026-11-04 21:32:05 +13:00
Dean Galvin ecfea85fcd Merge branch 'main' into fix/libc-syslog-program-name 2026-11-04 21:00:07 +13:00
Dean Galvin 0003ec72c7 Merge rr/pr2-writer into rr/pr3-gpu 2026-11-04 20:21:16 +13:00
Dean Galvin b5f5c7fd1f Merge branch 'main' into rr/pr2-writer 2026-11-04 20:19:15 +13:00
Dean c7d32c2915 Merge pull request #12841 from heditrigui/feat/libc-asctime-r
feat(libc): implement asctime_r
2026-11-04 19:27:09 +13:00
B-HowellandClaude Opus 5.5 8553f325f3 chore(libc): merge current main into lfind-lsearch
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 00:37:10 -05:00
Dean 3b693dd696 Merge pull request #12292 from fogydes/fix/libc-ungetwc-null-stream
fix(libc): validate null stream in ungetwc
2026-11-04 18:34:24 +13:00
Dean c20d1b2249 Merge pull request #12271 from B-Howell/fix/libc-mergesort-freebsd-merge
fix(libc): sort with FreeBSD 11.4's merge.c in mergesort
2026-11-04 18:34:19 +13:00
Dean 0a15ebf864 Merge pull request #12149 from AlexFigas/feat/libc-underscore-setjmp
feat(libc): export _setjmp and _longjmp
2026-11-04 18:34:14 +13:00
Dean 6199b4807b Merge pull request #11947 from voidlakhan/feat/libc-getsubopt
feat(libc): implement getsubopt
2026-11-04 18:33:52 +13:00
Dean acf7ac208a Merge pull request #11907 from JJenkx/windows/libc-printf-unknown-flags
fix(libc): print unknown printf conversions and ' as titles' libc.prx does
2026-11-04 17:49:37 +13:00
Dean ce1de8bdf6 Merge pull request #11793 from edubox/feat/libc-collate-transform
feat(libc): implement std::collate<char>::transform
2026-11-04 17:49:31 +13:00
Dean cecb4b205b Merge pull request #11632 from AlexFigas/fix/libc-cbrtl-msun-ld80
fix(libc): compute cbrtl with FreeBSD msun's ld80 code as the bundled libc.prx does
2026-11-04 17:49:26 +13:00
Dean eecbc4f185 Merge pull request #10349 from JJenkx/windows/libc-remainder-fprem1
fix(libc): compute remainder and remquo with fprem1, as titles' libc.prx does
2026-11-04 17:48:30 +13:00