Commit Graph
891 Commits
Author SHA1 Message Date
Dean c28644bb50 Merge pull request #13186 from fogydes/fix/libc-inet-aton-null-text
fix(libc): reject null text in __inet_aton and __inet_addr
2026-11-03 06:28:38 +13:00
Dean 954ddf4176 Merge pull request #12428 from JJenkx/windows/libc-sscanf-scansets
fix(libc): match bundled narrow scansets and scan directive parsing
2026-11-03 06:27:00 +13:00
Dean 08f66c14dd Merge pull request #6565 from xXPBSXx/fix/guest-allocation-pin-livelock
fix(libc): leave a range that a mutation waits for out of new leases
2026-11-03 05:12:24 +13:00
Dean Galvin b91bbc69d6 Merge commit '4f64f81ef7b4bca975b4b9f3dfd15dfff56f716f' into HEAD
# Conflicts:
#	core/libs/prx/libc/src/Formatting.cpp
2026-11-03 02:42:48 +13:00
Dean f4fa6e4ca5 Merge pull request #12480 from Oscar45397/test/libc-fgetpos-fsetpos
test(libc): check fsetpos clears end of file and rejects a negative position
2026-11-03 02:38:03 +13:00
Dean 646d099792 Merge pull request #12468 from JJenkx/windows/libc-wide-scan-c-locale
fix(libc): read wide scanf fields byte by byte, as titles' libc.prx does
2026-11-03 02:37:44 +13:00
Dean f133e5e326 Merge pull request #11892 from JJenkx/windows/libc-wcstod-subnormal-erange
fix(libc): set ERANGE for decimal subnormals in wcstod as strtod does
2026-11-03 01:28:05 +13:00
Dean a2a41001c6 Merge pull request #11850 from ionut27001/fix/wf-reallocalign-zero-size-realign
fix(libc): return an aligned empty block from reallocalign to 0 bytes
2026-11-03 01:27:17 +13:00
Dean eeb3dfea52 Merge pull request #11849 from AlexFigas/fix/libkernel-guest-thread-x87-control-word
fix(libkernel): start guest threads with the x87 control word 0x037f
2026-11-03 01:27:12 +13:00
Dean 02ae9eef83 Merge pull request #11843 from heditrigui/feat/libc-timelocal
feat(libc): implement timelocal
2026-11-03 01:27:06 +13:00
Dean 71d6f92a9d Merge pull request #11773 from edubox/feat/libc-numpunct-wide
feat(libc): export std::numpunct<wchar_t> id and _Getcat
2026-11-03 01:26:41 +13:00
xXPBSXxandClaude Sonnet 5.5 8e0dbfc783 Merge main (98346b748c) into fix/guest-allocation-pin-livelock
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-02 12:28:52 +01:00
Dean 95175b5acf Merge pull request #11298 from Gruzzberry/fix/dangling-link-prefix-enoent
fix(libkernel): fail with ENOENT for a path below a dangling Windows symbolic link
2026-11-02 23:27:36 +13:00
Dean 57cfda019b Merge pull request #11214 from orezraey/fix/libc-wide-lp-measured-ps5
fix(libc): print %lp in the wide formatter as measured on a PS5
2026-11-02 23:27:08 +13:00
Dean 0f0452e319 Merge pull request #11077 from JJenkx/fix/libc-frexp-floating-environment
fix(libc): preserve frexp decomposition and exception behavior
2026-11-02 23:26:47 +13:00
Dean ce49d532f3 Merge pull request #10989 from edubox/feat/libc-sce-v2-filesystem
feat(libc): export the versioned std::__sce_v2 filesystem primitives
2026-11-02 23:26:31 +13:00
Dean 5c3e446c0b Merge pull request #10317 from JJenkx/windows/libc-log2-fdlibm
fix(libc): compute log2 with fdlibm's algorithm, as titles' libc.prx does
2026-11-02 23:25:45 +13:00
Dean ed08af6a2f Merge pull request #10953 from AZLisme/feat/batch2-libc-legacy-signals
fix(libSceLibcInternal): export sigvec through shared runtime
2026-11-02 23:25:28 +13:00
Dean 16bc34bfc8 Merge pull request #10620 from Retr0G28/fix/freopen-random-device
fix(libc): reopen a stream onto /dev/random or /dev/urandom with freopen
2026-11-02 23:23:29 +13:00
Dean 87524eb88e Merge pull request #10615 from edubox/feat/libc-cnd-at-thread-exit
feat(libc): register conditions for broadcast at thread exit
2026-11-02 23:23:18 +13:00
Dean 978a8ffb32 Merge pull request #10324 from MarrasFederico/feat/libc-fwide
feat(libc): track stream orientation and implement fwide
2026-11-02 23:22:33 +13:00
Dean 67a7602c33 Merge pull request #10247 from JJenkx/windows/libc-log10-msun
fix(libc): compute log10 with fdlibm's algorithm, as titles' libc.prx does
2026-11-02 21:00:20 +13:00
Dean 2aee0b06f6 Merge pull request #10229 from JJenkx/windows/libc-atan-atan2-msun
fix(libc): compute atan and atan2 with FreeBSD msun's algorithm, as titles' libc.prx does
2026-11-02 21:00:13 +13:00
Dean 30f2122781 Merge pull request #9953 from JJenkx/windows/wprintf-narrow-utf8
fix(libc): decode a wide printf %s as titles' libc.prx does, failing on invalid UTF-8
2026-11-02 20:59:39 +13:00
Dean c84005ee40 Merge pull request #9688 from JJenkx/windows/libc-qsort-console
fix(libc): sort like the console's qsort and qsort_s
2026-11-02 20:58:08 +13:00
Dean 25aeb9fa48 Merge pull request #12586 from voidlakhan/feat/libc-timingsafe-bcmp
feat(libc): implement timingsafe_bcmp
2026-11-02 20:54:59 +13:00
Dean 307dd57e50 Merge pull request #10729 from dwk001/fix/libc-wstoul-invalid-base
fix(libc): reject an invalid _WStoul base like Dinkumware instead of …
2026-11-02 20:54:37 +13:00
Dean 6d0fc32dea Merge pull request #8397 from hypermoist/feat/libc-dinkumware-float-bits
feat(libc): add Dinkumware float bit helpers from firmware
2026-11-02 13:43:07 +13:00
Dean c50acd1fc4 Merge pull request #10895 from StoneDC/fix/wcsftime-partial-output
fix(libc): preserve partial wcsftime output on overflow
2026-11-02 10:56:58 +13:00
orezraeyandClaude Opus 5.5 246110e525 docs(libc): keep the %p debt entry within the length limit
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 17:31:20 -03:00
orezraeyandClaude Opus 5.5 813cbd96bb test(libc): check %lp through snwprintf_s
Since #11893 the plain wide forms drop the length on %p before the
branch this PR changes, so only the secure forms reach it. Check %lp
through snwprintf_s, which returns -1 without the change, and record in
the debt entry that no secure form was run with %lp on a console.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 17:30:49 -03:00
fogydes 80d8314975 fix(libc): reject null text in __inet_aton and __inet_addr 2026-11-01 18:17:34 +05:30
Eduardo Ruiz 014001a2d0 fix(libc): keep numpunct<wchar_t> grouping narrow 2026-11-01 13:02:23 +01:00
edubox 071cb1f704 feat(libc): export std::numpunct<wchar_t> id and _Getcat 2026-11-01 13:02:23 +01:00
Dean b2620e56d1 Merge pull request #11733 from verusferro/feat/libc-wide-string-to-number
feat(libc): convert wide strings with _WStoull, _WStoll, _WStod, _WStof and _WStold as the console's libc does
2026-11-02 00:33:30 +13:00
Eduardo Ruiz 72775e627b docs(libc): keep a single versioned filesystem debt entry 2026-11-01 11:52:09 +01:00
Eduardo Ruiz 497e4a960e fix(libc): return guest errors for invalid versioned stat paths 2026-11-01 11:51:49 +01:00
Eduardo Ruiz 9e4e43d7b2 fix(libc): stat app0.zar entries in the versioned filesystem 2026-11-01 11:51:49 +01:00
Eduardo Ruiz c20d797450 feat(libc): export the versioned std::__sce_v2 filesystem primitives 2026-11-01 11:51:49 +01:00
Dean Galvin dd88656150 Merge commit 'e6f57307fa7f47165d7fc1bee945abdb2f6816e7' into HEAD
# Conflicts:
#	docs/dev/debt/libc.md
2026-11-01 23:47:23 +13:00
Adrià a644edf30c Merge pull request #13499 from Gonic0/feat/agc-label-read-trap
perf(agc): trap CPU reads of label readbacks on macOS instead of storing them
2026-11-01 11:09:34 +01:00
AZLisme e7725d7111 feat(libc): implement shared legacy sigvec support 2026-11-01 17:21:10 +08:00
Adrià 26fa1212b8 Merge pull request #13819 from Ninot1Quyi/fix/libc-nearbyint-inexact
fix(libc): match nearbyint inexact flags to guest libc
2026-11-01 09:56:57 +01:00
xXPBSXxandClaude Sonnet 5.5 5b9058fe6d Merge main (90cc8d57a5) into fix/guest-allocation-pin-livelock
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-01 09:15:09 +01:00
Adrià 5c9837bfe7 Merge pull request #13442 from Gonic0/feat/libc-write-watch-read-trap
feat(libc): trap guest reads of write-watched pages on macOS
2026-11-01 09:13:34 +01:00
Dean Galvin c08fe413f8 Merge main into feat/libc-timingsafe-bcmp
# Conflicts:
#	docs/dev/debt/libc.md
2026-11-01 21:13:14 +13:00
Dean Galvin 21556548c4 Merge main into fix/libc-wstoul-invalid-base
# Conflicts:
#	docs/dev/debt/libc.md
2026-11-01 21:09:31 +13:00
Adrià 53fbe59956 Merge pull request #13732 from SnekPolylepis/feat/libc-radix64-conversions
feat(libc): implement a64l, l64a, and l64a_r radix-64 integer conversions
2026-11-01 08:30:07 +01:00
Qu Yi 4a65ddf97c chore(libc): synchronize nearbyint fix with main
Preserve the nearbyint implementation and regression coverage while incorporating current main. The write-watch registration prerequisite is now part of main.

Validation: freshly compiled production MathExact.cpp regression passes; ASan/UBSan passes with detect_leaks=0. The same fixture compiles against main Math.cpp and fails at the FE_INEXACT assertion (exit 134). Conventions, whitespace and 235 script registrations pass. Full product build and full CTest were not rerun for this synchronization.
2026-11-01 14:56:40 +08:00
Dean 0b2c52e9c2 Merge pull request #12597 from JJenkx/windows/libc-fopen-s-constraints
fix(libc): report fopen_s and freopen_s argument errors to the constraint handler
2026-11-01 19:48:43 +13:00