Commit Graph
1131 Commits
Author SHA1 Message Date
Dean Galvin 9a28ce6960 Merge branch 'main' 2026-11-06 14:39:20 +13:00
Dean Galvin 016922d70f Merge branch 'main' 2026-11-06 13:54:27 +13:00
Dean 6ddf209876 Merge pull request #12397 from JJenkx/windows/libc-printf-wide-c-locale
fix(libc): print %C, %S and a zero %lc in the printf families as titles' libc.prx does
2026-11-06 13:40:40 +13:00
Dean GalvinandJJenkx d7547051f1 docs(libc): keep %S in the printf length modifiers entry
The merge of main dropped this branch's edit to the entry: the plain
forms also ignore any length on %S (ApplicableLength), as the
formatting tests check.

Co-authored-by: JJenkx <[email protected]>
2026-11-06 13:09:28 +13:00
JJenkxandClaude Opus 5.5 c615f9f43a merge: refresh wide printf C-locale fix against current main
Brings in main 495b960d4b. The only conflict was docs/dev/debt/libc.md; it keeps
main's entries and re-applies this branch's two debt edits.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 19:01:54 -05:00
Dean Galvin 24ff9c600e Merge branch 'main' 2026-11-06 12:35:44 +13:00
Dean Galvin 8a7d525474 Merge branch 'main' 2026-11-06 12:35:44 +13:00
Dean Galvin 07ae53d85c Merge branch 'main' 2026-11-06 12:35:44 +13:00
Dean 41302fcb59 Merge pull request #10158 from mazen320/feat/libc-messages-vtable
feat(libc): export the messages facet vtable as data
2026-11-06 12:17:40 +13:00
Dean d9d067f4e0 Merge pull request #16113 from Danigamer05/feat/libc-sce-v2-locale-basics-20261105
feat(libc): export the std::__sce_v2 locale::global, empty, classic and _Locinfo category calls
2026-11-06 11:33:31 +13:00
JJenkx 51f8ea279c merge: refresh libc formatting fix against current main 2026-11-05 15:21:21 -05:00
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
Danigamer05andClaude Opus 5.5 d18e1c7132 feat(libc): export the std::__sce_v2 locale::global, empty, classic and _Locinfo category calls
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 18:35:27 +01: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
Maz 05ddcfc257 feat(libc): export the numpunct facet vtable as data
Titles that resolve lJnP-cn0cvQ as data need an 88-byte object matching console title libc.prx.
2026-11-05 12:41:23 +04:00
Dean Galvin 83ce30cb7a docs(libc): drop the older printf conversions entry this branch duplicated 2026-11-05 12:41:16 +04:00
Maz e5e1f79a43 feat(libc): export the messages facet vtable as data
Titles that resolve messages<char>'s vtable as data need a 72-byte
object matching title libc.prx (PPSA26344).
2026-11-05 12:41:16 +04:00
Maz ef8d4ecf7c feat(libc): export the money_get facet vtable as data
Titles resolve NID 3n3wCJGFP7o as a 64-byte STT_OBJECT on console
libc.prx; export eight zeroed uintptr_t slots so the data binding
matches. Facet calls through the object still fault until methods
are wired.
2026-11-05 12:40:56 +04:00
Maz c6b15ab911 feat(libc): export the time_put facet vtable as data
Titles resolve NID OwfBD-2nhJQ as a 56-byte STT_OBJECT on console
libc.prx; export seven zeroed uintptr_t slots so the data binding
matches. Facet calls through the object still fault until methods
are wired; _Getcat keeps using g_timePutVtable.
2026-11-05 12:40:56 +04:00
Maz a77ce5504b feat(libc): export the time_put facet vtable as data
Titles resolve NID OwfBD-2nhJQ as a 56-byte STT_OBJECT on console
libc.prx; export seven zeroed uintptr_t slots so the data binding
matches. Facet calls through the object still fault until methods
are wired; _Getcat keeps using g_timePutVtable.
2026-11-05 12:40:50 +04: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