feat(icu): implement numbering system selection and enumeration #19635

Open
IvanFogel wants to merge 243 commits from upstream-pr/19635 into main
IvanFogel commented 2026-11-13 17:09:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by IvanFogel on 2026-11-13T17:09:34Z.


What

The numbering-system enumerator keeps an entry pending until the guest can receive it. A retry in either encoding returns that same entry, and reset discards the pending entry. Review

The locale-taking numbering-system export now reads the guest default when given a null locale. The separate by-name export keeps its existing null-name behavior. An explicit empty locale still selects the ICU root locale.

The break iterator now calls ICU for a locale name only after checking that the index is within the reported list. For a healthy list, negative indices and the index equal to the count still raise the guest argument error. Larger indices return null. If locale data cannot initialize, the wrapper returns null without a name lookup. ICU 78.1 already returns null for an index greater than the count in uloc_getAvailable. The wrapper now handles that case itself. Review on the shared prerequisite.

November 20 integration. This branch includes main at fd7fe562eded and the converter-alias data and tests from #16971 at c1785962ce53. The numbering-system exports retain the refreshed #19628 date-pattern prerequisite. The two data-registration NIDs now use the shared ICU 78 implementation and check guest status storage. #19413 closed unmerged and #20395 merged. Earlier measurements are dated below.

Implement the six existing unumsys_* exports for locale-selected numbering systems, named systems, name/algorithmic queries and available-name enumeration. Locale keywords and available names come from pinned source-built ICU 78.1 and the real CLDR package, including non-Latin and algorithmic systems.

A private native-header backend separates host ICU types/callback ABI from guest declarations. Returned enumeration objects work through the existing guest uenum_count/next/unext/close API and guest-ABI reset callback. Strong operation ownership and distinct retained token identities protect close/stale-handle behavior. Status and output-length accesses use checked guest copies; public enumeration dispatch checks status before entering callbacks. Callback-shaped system tokens safely refuse reverse cross-kind dispatch.

Three formerly parameterless recovered placeholders receive the public ICU signatures; console ABI and ICU data-version equivalence remain unmeasured and documented. A null locale uses the guest default. A null numbering-system name on the separate by-name export still throws. Native objects release on close; token identities remain until process teardown. Returned strings retain native lifetime requirements.

Earlier integration notes (historical pins)

Draft / dependency: based on #19628 at 1567882c0716047c1e7f8dbcc9831000ff919e7f, transitively #16971 at 657f3899c37455b41d553ae7ef59e48b23459cba. Original donor history/authorship is preserved. The numbering-only change is 1567882c07..75a63ae7ab; the inherited Date/data work is not newly authored here. Canonical overlap fails closed for conflicting sibling PRs; all 21 reported unique heads were manually assessed with immutable prior full-peer audits and this feature's own delta. No duplicate six-export implementation or merge-order agreement is claimed. Draft status records the unmerged dependency and unresolved sibling composition obligations.

Integration on 2026-11-15. Qualified submitted commit 5859090dcd50d99d1803358cac721d63e5106335 is based on tested main 4da77d3353c9c9f59f15436af86f44e4bb3ee074 and retains the full original feature/donor history. The shared data prerequisite is #16971 at b35ad18125f8a8e28aded9bae403c2e6ed33afe7; #20395 at 26e33a85262270bbeb619cc7f45edbb31ee84dc8 supplies the independently tested Windows unsigned-parser saturation correction. Current dependencies: #19628, #20395 (transitively #16971). Draft status and the previously documented peer-composition/platform gates remain. No author agreement or native Windows execution is claimed.

2026-11-17 integration: submitted head 23ef2287c8a9c4603caba4d9fdb0649255f65ad7 merges main 050cdf95addcb05b1c663587ab921216707623fe and preserves the original prerequisite histories. The full ICU data package now replaces both the old stub data and main's subset provider, leaving exactly one icudt78_dat definition while retaining main's normalization, properties, default-locale and UTC-time behavior.

Tested

Commit eef184c7c5fe. The old implementation skipped a name on retry. The new cases cover repeated output refusal, a change of output encoding, an omitted length, and reset. All 119 Linux ICU tests, public headers and all 120 MinGW/Wine CTests passed. The standalone ICU header compilations and the guest sleep/wake control passed on both platforms.

On November 25 I integrated main 9c0d60cbfb6e and the complete ICU data prerequisite #16971 at eddb65df5f42. This integration keeps the six implemented numbering-system exports and incorporates main’s error-first checks. The recovered-signature test now opens, counts and closes an actual enumeration on successful and warning inputs. Failed inputs return before accessing their arguments. The public header retains one declaration per export, and the debt entry describes the owned handles and current behavior.

At d757a4714297, all 119 registered guest ICU CTests passed on Linux x86-64 and all 119 passed with MinGW-w64 under Wine. Both builds passed the public-header audit and compiled all 57 ICU public headers independently. The compiled library exported each of 6 audited guest NIDs exactly once on each platform. This run used synthetic data and the bundled ICU dataset. Native Windows, console and title execution remain unmeasured.

At 93c11cc3df32 I restored the indentation of two existing ICU source entries to match main. The CMake source lists are unchanged. I verified this branch merges cleanly with the locale-table fallback in #26259 at b47b9b838db2. Regenerating the Linux and MinGW build files preserved the order of ICU objects and the compiler and archiver commands on both platforms. With the existing binaries, 9 focused Linux CTests and 9 MinGW CTests under Wine passed.

On 11717b7033d0 against main 8ce96faee7d2, all 112 selected guest ICU tests passed on native Linux and all 112 passed with MinGW x64 binaries under Wine. Public-header tests and feature NID exports passed on both platforms. This revision retains main’s five collator mappings and normalizer implementation. The merged recovered-inventory file contains 8 parameterless placeholders. The three enumeration exports dispatch to the caller’s callbacks after validating the guest status pointer. Exact-head review request

Test evidence for submitted commit 2e0fc28f02049ad4da92b0f43d8b517315a65a83. On Linux x86-64 (GCC 16.2.1) and Win64 (MinGW GCC 16.2.0 under Wine 11.22), all 111 registered guest ICU tests passed on each build with zero failures and skips. This includes the seven numbering-system cases for cross-kind handles, enumeration, inaccessible status, memory, NID imports, selection and status. Both builds passed the public-header audit, compiled 54 ICU headers independently, and each exported the six numbering-system NIDs exactly once. GitHub's Build workflow is linked separately so its current outcome can be checked. Hosted CI for this commit · Review

After the November 22 review, the file-access wrapper on 2e0fc28f0204 passes a non-null local status to ICU and returns a changed backend status to a caller that supplied writable status storage. It preserves a pre-existing guest error and still applies the requested mode when the caller omits the status. The pinned setter only changes the mode. The recording-backend test covers all four access modes with a missing, successful, warning, or failed guest status and checks unchanged, success, warning, and error results from the backend. Read-only and inaccessible guest storage prevent dispatch. The earlier revision failed on Linux and Wine. The updated prerequisite #16971 at ab382ee5829f also tests allocation after reconfiguring ICU. All 111 Linux and 111 MinGW/Wine guest ICU tests passed on main 4c260ec7de72, along with the public-header and feature-export checks. Review · Pinned setter

On November 22, I integrated main 70cca973b49f and the break-iterator and ICU data prerequisite #16971 at f59b5fbe7fa2. The build instructions retain main’s minimum CMake versions for bundled dependencies and the native compiler requirements for ICU data tools. Both the new ICU keyword-list registration and the prerequisite’s right-to-left locale test remain registered. On the submitted revision 588ba1916838, 111 Linux guest ICU tests and 111 MinGW/Wine guest ICU tests passed. Both platforms passed the public-header audit and exported all 6 feature NIDs exactly once. The tests include the converter-alias comparison and bundled-locale direction. These Windows binaries ran under Wine.

On November 21, I updated udata_setFileAccess in 326c031b946f on main 6f5c412af786. Host ICU now receives a valid local status variable. A guest may pass null and still set the requested access mode, as on main. A supplied guest status retains its original value. The regression test checks all four access modes, the status received by the backend, and guest status preservation. Pinned ICU 78.1 assigns the mode without reading the status argument. Review · Pinned ICU setter

All 106 Linux guest ICU tests and all 106 MinGW/Wine guest ICU tests passed, along with the public-header checks on both. Both binaries export all 6 feature NIDs exactly once.

On November 21 I tested 06ec6143e340 with main 6f18d49a833e and the updated break-iterator prerequisite #16971 at bdbfcb2c98fd. All 105 guest ICU tests passed on Linux x86-64. The MinGW-w64 build passed all 105 guest ICU tests under Wine. Both public-header checks passed, and each build exported the 6 feature NIDs exactly once.

The locale-direction test now checks the expected direction for packaged ICU data and retains the missing-data checks for the reduced configuration. The earlier unconditional missing-data expectation failed on the packaged build.

I tested the concurrent-close finding by pausing a real numbering-system operation inside its backend after it acquired the handle. Closing the guest handle caused zero native close calls while the operation was paused and exactly one after it returned. The date-pattern registry gave the same result. Each active call retains shared ownership of the native object. Review

Guest default locale, November 20 at d72f8b7f6c57. The regression changed the guest default from Arabic (Egypt) to English (US). A null locale selected the same numbering system as each explicit locale in the pinned ICU oracle. An explicit empty locale selected Latin digits in both cases. The selection test failed with the previous implementation. All 100 guest ICU CTests passed on Linux and all 100 passed in the MinGW-w64 build under Wine. Public-header checks passed in both builds. The Linux standalone ICU-header compilations also passed. Native Windows and console behavior remain unmeasured in this run.

November 20 locale bounds at 500ae661c288, based on 3a1b27b9d2e2. A counting stand-in exercised 21 combinations of populated, empty and unavailable locale data and indices from INT32_MIN to INT32_MAX. Before the change 13 out-of-range cases reached the stand-in. After the change none did, both valid indices still reached it, and all 21 responses matched. The checked-in public API test also exercises both signed extremes with real ICU data. All 100 guest ICU CTests passed on Linux and all 100 passed in a MinGW-w64 build under Wine. The public-header audit passed on both, and the Linux standalone ICU header compilations passed. This local run did not use native Windows or a console.

November 20, c81e5584248b. Native Linux passed 100/100 guest ICU tests, the repository-wide public-header audit, and standalone compilation of all 53 selected ICU headers. The MinGW-w64 build ran 100/100 guest ICU tests under Wine. Its CTest selection also passed the public-header audit. Both patched libraries export the data-registration NIDs wHZwCpZVcGI and mCyTdtewGpk exactly once. The new guest registration case covers an inaccessible status pointer. The conventions and debt checks passed. I did not run this head on native Windows, on a console, or with a title.

Refresh at db8aff407d against main 2bd7cdb8d1. This revision integrates #23844 and retains the typed display-name, plural and formatted-value exports alongside this branch’s implementations. The complete guest ICU suite passed on Linux (98/98) and on MinGW-w64 under Wine (98/98) with zero skips. #16971 is included at 54768514e6. Earlier test runs below are pinned to their respective commits.

Earlier refresh at b7df11afd4 against main fa0b7e3ce4. Tested the merged ICU field-position, resource, locale and converter work alongside this feature. This head includes the full current #16971 prerequisite at 54768514e6. Its implementation, build configuration and tests are byte-identical to tested commit ce4704b6e2. The packaged converter-name test compares guest results with the pinned ICU alias data. The reduced-data and injected-fixture modes retain their separate coverage. The updated date-pattern prerequisite provides field-position classes from the full pinned i18n build. All 98 registered ICU CTests passed on Linux. All 98 passed in the MinGW-w64 build under Wine. This qualification used no native Windows machine or commercial title.

Current public-header maintenance qualification, 2026-11-17: exact head de0314a7dd7277245b75ba590be6dde2e7a9c8ce, integrating tested main 47e2f3bca828b2a6ccbb3adf0bff33d559bfdd09. The only manual conflict resolution keeps main's umbrella header intact and inserts each existing feature-only include once before ConverterHelpers; main's new UtfConversions declarations remain reachable. Refreshed date/numbering prerequisite history is retained downstream. No outside feature branch was imported.

  • Linux: 88/88 selected CTests pass. MinGW/private Wine: 88/88 pass. Zero selected failures or skips. Fresh main baseline is66/66 on each platform. The full registered ICU family, parser callers and native public-header audit ran at these exact commits; ICU headers also compiled independently with native GCC and MinGW.
  • All35 scoped source checks pass across the seven refreshes. Independent header/merge review found no introduced Critical/Important/Minor finding and verified unique include unions, main/feature header blobs, dependency ancestry and only-header manual edits.
  • Actual data archive still has exactly one strong full-data provider, retains nfkc.nrm,nfkc_cf.nrm,uemoji.icu,ulayout.icu, and introduces no native ICU export/import leak relative to baseline. The tested full-data provider selection itself was not manually changed.
  • Complete fresh qualification metadata and selected logs. These results supersede the older exact-head counts folded below. Native Windows/macOS, real titles and joint outside-peer execution were not run; Wine is not native Windows qualification. Draft and existing dependency/human-review gates remain.

The latest scoped peer audit pins #22237 at 489c8fde3d860b4e837ee3b57638960518991c20. Its calendar change corrects a placeholder parameter type rather than implementing our real getter. Future composition must preserve real feature bodies, its recovered-type/header/callback/status changes, the full ICU backend source union and exactly one full-data provider. This peer composition and landing order are unqualified; no new formal prerequisite or outside-author agreement is asserted. Existing #18208/#19435 data/source/filter and recorded peer gates remain.

Earlier pinned qualification and review dispositions (historical evidence)

2026-11-17 exact-head qualification: 23ef2287c8a9c4603caba4d9fdb0649255f65ad7, based on tested main 050cdf95addcb05b1c663587ab921216707623fe.

  • Linux: 86/86 selected CTests pass. MinGW/private Wine: 86/86 pass. No selected skips or failures. Selection includes every registered ICU case, focused math/wide-string/Dinkumware/multibyte callers, and applicable public-header/platform controls.
  • Archive inspection finds exactly one full-data provider. Built package entries retain nfkc.nrm, nfkc_cf.nrm, uemoji.icu and ulayout.icu; normalization/property/null-locale/UTC-time regressions pass.
  • Affected public headers compile independently. ELF/PE native-ICU symbol exposure matches the tested main baseline; no host ICU DLL dependency was introduced.
  • Conventions, committed whitespace and scoped/global debt checks pass. Independent integration review found no required source changes.
  • The previous Windows guest_multibyte_locale failure came from a change already reverted on main; this merged candidate passes that regression locally on Linux and Wine. Native Windows/macOS full CI and console execution were not run here.

Exact pins, platform results and complete Linux/Wine CTest logs.

Review-feedback disposition: null unumsys_openByName names still take the documented throwing path; error 1 was not invented from the review assertion. The pinned native entrypoint has no explicit null-name/error-1 branch. This remains an explicit console-contract gap, not a silently fixed request.

Keep Draft for #19628 and transitively #16971, plus the recorded peer/data/platform gates; #20395 has merged. Textual mergeability does not establish joint qualification with every current peer; previous external/composition receipts below keep their original pins.

Historical exact-head qualification

2026-11-16 maintenance — exact submitted/tested head 71054ee700c9170a1cdac095317641e18e685797, main e236a801f88183df3d215af0d450fb20baf9edc3. Merge main while preserving the original feature and prerequisite histories. Resolve the build-documentation conflict by retaining the two real ICU host-compiler options without reviving the removed FFmpeg prebuilt option. Consolidate the overlapping callable-inventory debt operations, retaining current main's complete locale/property exclusions plus the data/topic exclusions.

Linux x86-64 / GCC 16.2.1 Release full runtime: 80/80 CTests pass. MinGW 16 / private headless Wine 11.21: 80/80 pass. No selected skips; every test finishes below 30 s. All registered ICU cases, patched-NID fixtures and relevant math/wide-string/Dinkumware parser callers run; Linux runs the public-header audit, Wine runs the FreeBSD clock control. 47 ICU header units compile independently on each toolchain. ELF/PE inspection confirms no new native ICU backend exports or system-ICU imports.

Fresh main control: Linux 58/58 pass; Wine 56/58 pass with the two reproduced parser failures. Independent integration review found no material source defect. Draft and existing peer/prerequisite integration gates remain; original dependency implementations and maintenance merge histories are retained, without claiming ancestry of the final parent debt-only tail tips. Native Windows, macOS, console/title and performance were not measured.

Current conventions and committed whitespace checks pass. The scoped ICU debt fold passes. The global fold repeats main's unrelated stale NKWebKit fragment error (5933 of the 8703); that inherited failure was not changed or reported as green.

A later mechanical merge check against main 4c976e99394db1546555ca53fd575912d4b819a8 is clean. Those later changes were not rerun as a combined runtime build.

Full exact-head results, matched baseline failures, validation logs, public-header/symbol audits and integration review. Historical results below retain their own pins and were not rerun as native-platform reports.

Historical qualification at its original exact commits

2026-11-15 refresh — exact submitted commit 5859090dcd50d99d1803358cac721d63e5106335. Linux GCC 16.2.1, Release/full source-built dependencies: 72/72 CTests pass, no skips. MinGW GCC 16/private headless Wine 11.21 Staging: 72/72 CTests pass, no skips, on the same standalone branch commit, including its declared prerequisites. All registered ICU cases and the expanded math/wide-string/Dinkumware parser callers run; Linux also runs the full public-header audit and Wine runs the FreeBSD clock regression. 45 ICU header units compile independently on each toolchain. Native Windows was not run.

The matching main control at 4da77d3353c9c9f59f15436af86f44e4bb3ee074 passes 47/47 Linux cases; Wine passes 46/47 with the reproduced guest_icu_cstring negative-overflow failure. The failing baseline is preserved. #20395 corrects that behavior, and the candidate passes all four affected public caller suites. ELF audits show no native ICU78 backend exports; PE retains the eight preexisting RTTI/name exports from main and imports no system ICU DLL.

The ICU implementation, tests, data filters and build inputs are byte-identical to the reviewed pre-donor candidates. The updated prerequisite is composed without duplicate common test registrations; debt fragments preserve main's consolidated files, exact throwing inventories and each topic's original data scope. Current conventions, whitespace and debt-fold checks pass. Independent whole-change and integration-tail reviews found no required source changes.

A later mechanical merge check against main f61793afa6d22732addd93e3b27553fc5deeab2f is clean. That main adds independent CodePointTrie source/test/umbrella registrations; those later-main additions were not rerun as a combined runtime build here. They are separate from the exact tested commits above. Existing Draft integration gates remain.

Full verbose logs, exact commits, header/symbol audits, source/debt checks and independent reviews. Across all six refreshed branches: 436 Linux and 435 MinGW/Wine passing CTests. No console, macOS, title-unblock or performance claim. Historical hosted Windows/AMD reports and composed runs below retain their old commit pins and were not rerun on this commit.

Historical qualification and reports (original exact commits)

2026-11-13 RTL conflict refresh — exact submitted head 9203b36ba0ebb670ccdfb17748e2e6d65b9778fc. Merge main 1edac2f2eaa54c45dd96d632d989162c2b319647 and retain the existing feature history, backend and tests alongside the newly landed right-to-left implementation/test registrations. Independent review verified the additive CMake union and unchanged feature code. Draft dependencies and previously documented peer-composition gates remain.

Linux GCC16.2.1 Release/source-built dependencies: 66/66 CTests pass without skips, comprising all 65 ICU cases (including guest_icu_right_to_left) and the full SDK public export audit. All 43 ICU public-header units compile independently; no native ICU78 backend symbols leak from ELF.

MinGW16.2.0-2.1/private headless Wine11.21 Staging: 24/24 selected CTests pass without skips, on composition 94cd937468288b27d8810e41d64fc6af60ccc8a6. It adds build-only #19519/d43d250189579f1c475481416841cdbe099cf099 and now-merged #19625/4f4fa0b13e629d1de1dc3de5f8c5801e154e9b40. Complete ICU source/test/header/data and host-tool build paths are byte-identical to this submitted head. PE inspection adds no native ICU function exports or system ICU DLL imports; eight inherited normalizer RTTI/name exports match the recorded historical main baseline. This is composed Wine evidence; native Windows and standalone full-Windows qualification were not rerun.

The candidate also merges cleanly with later fetched main 752c0f776bfa689bac02aca3c30afac4b0b8378d; its relevant ICU and contributor-rule paths are unchanged from the tested main pin. Current conventions have zero errors (one existing inherited long-debt warning); whitespace checks pass. Full verbose logs, exact pins, source equivalence and independent review. Earlier qualification and hosted Windows reports below retain their original commit pins and do not represent reruns on this new head.

Earlier qualification (historical exact commits):

Linux x86-64, GCC 16.2.1, Release/full source-built dependencies, standalone 75a63ae7abd15c969c8a321fbbd4aa5febb3018b: 64/64 ICU CTests pass, without skips, including actual patched NIDs, fixed latn/arab/hanidec/roman selections, native locale/keyword differential behavior, every available name reopening successfully, full mixed UTF-8/UTF-16 enumeration/reset/EOF behavior, guarded memory, warnings/prefailed status, stale and cross-kind tokens. All 41 public ICU header units compile independently; audit reports 413 libraries / 34519 exports with unique declarations and umbrella coverage. No native ICU 78 exports on Linux. Conventions: zero errors, with the existing inherited data-paragraph length warning; diff check passes.

Test-first evidence: all four initial behavior groups failed at real throwing stubs before implementation. Independent review then found two public-dispatch gaps that the initial suite missed. Separate new tests reproduced both as SIGSEGV in isolated processes with core dumps disabled; checked status dispatch and callback-shaped system tokens fix both, and the complete 64-test suite passes afterward. No second review was used to substitute for RED/GREEN verification. The outdated enumeration-producer debt was corrected as part of the changed API contract.

MinGW GCC 16.2.0-2.1 source build and private headless Wine 11.21 Staging execution: 23/23 selected CTests pass, including all seven numbering/NID cases and inherited Date/native-data/break/allocator/recovered cases. Exact composed head 649489a8af3bd63642e490556af4b0d133b6ff65 additionally includes #19625 (3213fc94d016b7d3f51561a47fbb7eec5ae74a62) and #19519 (f875fa2fd7cb1296256d50b8f456eefe99bbbb13) for cross-toolchain and focused canonical runtime builds. The entire ICU tree and ICU source/data/host-tool CMake paths are byte-identical to the standalone numbering head. The harness supplies explicit WINEPATH for DLL lookup. This is composed MinGW/Wine evidence, not native Windows OS or standalone full-Windows qualification.

An actual targeted MinGW build of fresh main (667dbde5131d30a7db7a22bf1147889cc1ee4ec7) confirms the candidate retains the same eight native normalizer RTTI/name metadata exports and adds no native ICU exports on Windows. Fresh main merges cleanly and has no ICU source/data-path changes since the tested base snapshot b0a657ba1c2e6fffa1cbbce94720e384dcc6e665.

Console, native Windows OS, macOS, commercial-title behavior and performance remain unverified. No title-unblock or FPS claim. Callers must preserve returned-pointer lifetimes and avoid ICU cleanup/reconfiguration with outstanding objects; arbitrary mutation of enumeration callback fields is unsupported.

Exact logs, review, reproduced failures, composition proof and overlap audit: https://gist.github.com/IvanFogel/b24f1d5813b91ee591817176e4112ec3

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt and the licence notice of code adapted from upstream (see AGENTS.md)
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: #19628 (transitively #16971)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5299696918 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635). Originally posted by [IvanFogel](https://github.com/IvanFogel) on 2026-11-13T17:09:34Z. --- ### What The numbering-system enumerator keeps an entry pending until the guest can receive it. A retry in either encoding returns that same entry, and reset discards the pending entry. [Review](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6175577854) The locale-taking numbering-system export now reads the guest default when given a null locale. The separate by-name export keeps its existing null-name behavior. An explicit empty locale still selects the ICU root locale. The break iterator now calls ICU for a locale name only after checking that the index is within the reported list. For a healthy list, negative indices and the index equal to the count still raise the guest argument error. Larger indices return null. If locale data cannot initialize, the wrapper returns null without a name lookup. ICU 78.1 already returns null for an index greater than the count in `uloc_getAvailable`. The wrapper now handles that case itself. [Review on the shared prerequisite](https://github.com/boykopovar/AnyPS5/pull/19628#pullrequestreview-5988788690). **November 20 integration.** This branch includes main at `fd7fe562eded` and the converter-alias data and tests from #16971 at `c1785962ce53`. The numbering-system exports retain the refreshed #19628 date-pattern prerequisite. The two data-registration NIDs now use the shared ICU 78 implementation and check guest status storage. #19413 closed unmerged and #20395 merged. Earlier measurements are dated below. Implement the six existing `unumsys_*` exports for locale-selected numbering systems, named systems, name/algorithmic queries and available-name enumeration. Locale keywords and available names come from pinned source-built ICU 78.1 and the real CLDR package, including non-Latin and algorithmic systems. A private native-header backend separates host ICU types/callback ABI from guest declarations. Returned enumeration objects work through the existing guest `uenum_count/next/unext/close` API and guest-ABI reset callback. Strong operation ownership and distinct retained token identities protect close/stale-handle behavior. Status and output-length accesses use checked guest copies; public enumeration dispatch checks status before entering callbacks. Callback-shaped system tokens safely refuse reverse cross-kind dispatch. Three formerly parameterless recovered placeholders receive the public ICU signatures; console ABI and ICU data-version equivalence remain unmeasured and documented. A null locale uses the guest default. A null numbering-system name on the separate by-name export still throws. Native objects release on close; token identities remain until process teardown. Returned strings retain native lifetime requirements. <details> <summary>Earlier integration notes (historical pins)</summary> **Draft / dependency:** based on #19628 at `1567882c0716047c1e7f8dbcc9831000ff919e7f`, transitively #16971 at `657f3899c37455b41d553ae7ef59e48b23459cba`. Original donor history/authorship is preserved. The numbering-only change is `1567882c07..75a63ae7ab`; the inherited Date/data work is not newly authored here. Canonical overlap fails closed for conflicting sibling PRs; all 21 reported unique heads were manually assessed with immutable prior full-peer audits and this feature's own delta. No duplicate six-export implementation or merge-order agreement is claimed. Draft status records the unmerged dependency and unresolved sibling composition obligations. </details> **Integration on 2026-11-15.** Qualified submitted commit `5859090dcd50d99d1803358cac721d63e5106335` is based on tested main `4da77d3353c9c9f59f15436af86f44e4bb3ee074` and retains the full original feature/donor history. The shared data prerequisite is #16971 at `b35ad18125f8a8e28aded9bae403c2e6ed33afe7`; #20395 at `26e33a85262270bbeb619cc7f45edbb31ee84dc8` supplies the independently tested Windows unsigned-parser saturation correction. Current dependencies: #19628, #20395 (transitively #16971). Draft status and the previously documented peer-composition/platform gates remain. No author agreement or native Windows execution is claimed. **2026-11-17 integration:** submitted head `23ef2287c8a9c4603caba4d9fdb0649255f65ad7` merges main `050cdf95addcb05b1c663587ab921216707623fe` and preserves the original prerequisite histories. The full ICU data package now replaces both the old stub data and main's subset provider, leaving exactly one `icudt78_dat` definition while retaining main's normalization, properties, default-locale and UTC-time behavior. ### Tested Commit `eef184c7c5fe`. The old implementation skipped a name on retry. The new cases cover repeated output refusal, a change of output encoding, an omitted length, and reset. All 119 Linux ICU tests, public headers and all 120 MinGW/Wine CTests passed. The standalone ICU header compilations and the guest sleep/wake control passed on both platforms. On November 25 I integrated main `9c0d60cbfb6e` and the complete ICU data prerequisite [#16971](https://github.com/boykopovar/AnyPS5/pull/16971) at `eddb65df5f42`. This integration keeps the six implemented numbering-system exports and incorporates main’s error-first checks. The recovered-signature test now opens, counts and closes an actual enumeration on successful and warning inputs. Failed inputs return before accessing their arguments. The public header retains one declaration per export, and the debt entry describes the owned handles and current behavior. At `d757a4714297`, all 119 registered guest ICU CTests passed on Linux x86-64 and all 119 passed with MinGW-w64 under Wine. Both builds passed the public-header audit and compiled all 57 ICU public headers independently. The compiled library exported each of 6 audited guest NIDs exactly once on each platform. This run used synthetic data and the bundled ICU dataset. Native Windows, console and title execution remain unmeasured. At `93c11cc3df32` I restored the indentation of two existing ICU source entries to match main. The CMake source lists are unchanged. I verified this branch merges cleanly with the locale-table fallback in #26259 at `b47b9b838db2`. Regenerating the Linux and MinGW build files preserved the order of ICU objects and the compiler and archiver commands on both platforms. With the existing binaries, 9 focused Linux CTests and 9 MinGW CTests under Wine passed. On `11717b7033d0` against main `8ce96faee7d2`, all 112 selected guest ICU tests passed on native Linux and all 112 passed with MinGW x64 binaries under Wine. Public-header tests and feature NID exports passed on both platforms. This revision retains main’s five collator mappings and normalizer implementation. The merged recovered-inventory file contains 8 parameterless placeholders. The three enumeration exports dispatch to the caller’s callbacks after validating the guest status pointer. [Exact-head review request](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6011485143) **Test evidence for submitted commit `2e0fc28f02049ad4da92b0f43d8b517315a65a83`.** On Linux x86-64 (GCC 16.2.1) and Win64 (MinGW GCC 16.2.0 under Wine 11.22), all 111 registered guest ICU tests passed on each build with zero failures and skips. This includes the seven numbering-system cases for cross-kind handles, enumeration, inaccessible status, memory, NID imports, selection and status. Both builds passed the public-header audit, compiled 54 ICU headers independently, and each exported the six numbering-system NIDs exactly once. GitHub's Build workflow is linked separately so its current outcome can be checked. [Hosted CI for this commit](https://github.com/boykopovar/AnyPS5/actions/runs/45007271899) · [Review](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6011485143) After the November 22 review, the file-access wrapper on `2e0fc28f0204` passes a non-null local status to ICU and returns a changed backend status to a caller that supplied writable status storage. It preserves a pre-existing guest error and still applies the requested mode when the caller omits the status. The pinned setter only changes the mode. The recording-backend test covers all four access modes with a missing, successful, warning, or failed guest status and checks unchanged, success, warning, and error results from the backend. Read-only and inaccessible guest storage prevent dispatch. The earlier revision failed on Linux and Wine. The updated prerequisite #16971 at `ab382ee5829f` also tests allocation after reconfiguring ICU. All 111 Linux and 111 MinGW/Wine guest ICU tests passed on main `4c260ec7de72`, along with the public-header and feature-export checks. [Review](https://github.com/boykopovar/AnyPS5/pull/19628#pullrequestreview-6011448365) · [Pinned setter](https://github.com/unicode-org/icu/blob/049e0d6a420629ac7db77256987d083a563287b5/icu4c/source/common/udata.cpp#L1446-L1450) On November 22, I integrated main `70cca973b49f` and the break-iterator and ICU data prerequisite #16971 at `f59b5fbe7fa2`. The build instructions retain main’s minimum CMake versions for bundled dependencies and the native compiler requirements for ICU data tools. Both the new ICU keyword-list registration and the prerequisite’s right-to-left locale test remain registered. On the submitted revision `588ba1916838`, 111 Linux guest ICU tests and 111 MinGW/Wine guest ICU tests passed. Both platforms passed the public-header audit and exported all 6 feature NIDs exactly once. The tests include the converter-alias comparison and bundled-locale direction. These Windows binaries ran under Wine. On November 21, I updated `udata_setFileAccess` in `326c031b946f` on main `6f5c412af786`. Host ICU now receives a valid local status variable. A guest may pass null and still set the requested access mode, as on main. A supplied guest status retains its original value. The regression test checks all four access modes, the status received by the backend, and guest status preservation. Pinned ICU 78.1 assigns the mode without reading the status argument. [Review](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6004284175) · [Pinned ICU setter](https://github.com/unicode-org/icu/blob/049e0d6a420629ac7db77256987d083a563287b5/icu4c/source/common/udata.cpp#L1446-L1450) All 106 Linux guest ICU tests and all 106 MinGW/Wine guest ICU tests passed, along with the public-header checks on both. Both binaries export all 6 feature NIDs exactly once. On November 21 I tested `06ec6143e340` with main `6f18d49a833e` and the updated break-iterator prerequisite #16971 at `bdbfcb2c98fd`. All 105 guest ICU tests passed on Linux x86-64. The MinGW-w64 build passed all 105 guest ICU tests under Wine. Both public-header checks passed, and each build exported the 6 feature NIDs exactly once. The locale-direction test now checks the expected direction for packaged ICU data and retains the missing-data checks for the reduced configuration. The earlier unconditional missing-data expectation failed on the packaged build. I tested the concurrent-close finding by pausing a real numbering-system operation inside its backend after it acquired the handle. Closing the guest handle caused zero native close calls while the operation was paused and exactly one after it returned. The date-pattern registry gave the same result. Each active call retains shared ownership of the native object. [Review](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-5989370462) **Guest default locale, November 20 at `d72f8b7f6c57`.** The regression changed the guest default from Arabic (Egypt) to English (US). A null locale selected the same numbering system as each explicit locale in the pinned ICU oracle. An explicit empty locale selected Latin digits in both cases. The selection test failed with the previous implementation. All 100 guest ICU CTests passed on Linux and all 100 passed in the MinGW-w64 build under Wine. Public-header checks passed in both builds. The Linux standalone ICU-header compilations also passed. Native Windows and console behavior remain unmeasured in this run. **November 20 locale bounds at `500ae661c288`, based on `3a1b27b9d2e2`.** A counting stand-in exercised 21 combinations of populated, empty and unavailable locale data and indices from INT32_MIN to INT32_MAX. Before the change 13 out-of-range cases reached the stand-in. After the change none did, both valid indices still reached it, and all 21 responses matched. The checked-in public API test also exercises both signed extremes with real ICU data. All 100 guest ICU CTests passed on Linux and all 100 passed in a MinGW-w64 build under Wine. The public-header audit passed on both, and the Linux standalone ICU header compilations passed. This local run did not use native Windows or a console. **November 20, `c81e5584248b`.** Native Linux passed 100/100 guest ICU tests, the repository-wide public-header audit, and standalone compilation of all 53 selected ICU headers. The MinGW-w64 build ran 100/100 guest ICU tests under Wine. Its CTest selection also passed the public-header audit. Both patched libraries export the data-registration NIDs `wHZwCpZVcGI` and `mCyTdtewGpk` exactly once. The new guest registration case covers an inaccessible status pointer. The conventions and debt checks passed. I did not run this head on native Windows, on a console, or with a title. **Refresh at `db8aff407d` against main `2bd7cdb8d1`.** This revision integrates #23844 and retains the typed display-name, plural and formatted-value exports alongside this branch’s implementations. The complete guest ICU suite passed on Linux (98/98) and on MinGW-w64 under Wine (98/98) with zero skips. #16971 is included at `54768514e6`. Earlier test runs below are pinned to their respective commits. **Earlier refresh at `b7df11afd4` against main `fa0b7e3ce4`.** Tested the merged ICU field-position, resource, locale and converter work alongside this feature. This head includes the full current #16971 prerequisite at `54768514e6`. Its implementation, build configuration and tests are byte-identical to tested commit `ce4704b6e2`. The packaged converter-name test compares guest results with the pinned ICU alias data. The reduced-data and injected-fixture modes retain their separate coverage. The updated date-pattern prerequisite provides field-position classes from the full pinned i18n build. All 98 registered ICU CTests passed on Linux. All 98 passed in the MinGW-w64 build under Wine. This qualification used no native Windows machine or commercial title. **Current public-header maintenance qualification, 2026-11-17:** exact head `de0314a7dd7277245b75ba590be6dde2e7a9c8ce`, integrating tested main `47e2f3bca828b2a6ccbb3adf0bff33d559bfdd09`. The only manual conflict resolution keeps main's umbrella header intact and inserts each existing feature-only include once before ConverterHelpers; main's new UtfConversions declarations remain reachable. Refreshed date/numbering prerequisite history is retained downstream. No outside feature branch was imported. - Linux: **88/88 selected CTests pass**. MinGW/private Wine: **88/88 pass**. Zero selected failures or skips. Fresh main baseline is66/66 on each platform. The full registered ICU family, parser callers and native public-header audit ran at these exact commits; ICU headers also compiled independently with native GCC and MinGW. - All35 scoped source checks pass across the seven refreshes. Independent header/merge review found no introduced Critical/Important/Minor finding and verified unique include unions, main/feature header blobs, dependency ancestry and only-header manual edits. - Actual data archive still has exactly one strong full-data provider, retains nfkc.nrm,nfkc_cf.nrm,uemoji.icu,ulayout.icu, and introduces no native ICU export/import leak relative to baseline. The tested full-data provider selection itself was not manually changed. - [Complete fresh qualification metadata and selected logs](https://gist.github.com/IvanFogel/8dac787f54c695ecfd44a94dd986b44b). These results supersede the older exact-head counts folded below. Native Windows/macOS, real titles and joint outside-peer execution were not run; Wine is not native Windows qualification. Draft and existing dependency/human-review gates remain. The latest scoped peer audit pins #22237 at `489c8fde3d860b4e837ee3b57638960518991c20`. Its calendar change corrects a placeholder parameter type rather than implementing our real getter. Future composition must preserve real feature bodies, its recovered-type/header/callback/status changes, the full ICU backend source union and exactly one full-data provider. This peer composition and landing order are unqualified; no new formal prerequisite or outside-author agreement is asserted. Existing #18208/#19435 data/source/filter and recorded peer gates remain. <details> <summary>Earlier pinned qualification and review dispositions (historical evidence)</summary> **2026-11-17 exact-head qualification:** `23ef2287c8a9c4603caba4d9fdb0649255f65ad7`, based on tested main `050cdf95addcb05b1c663587ab921216707623fe`. - Linux: **86/86** selected CTests pass. MinGW/private Wine: **86/86** pass. No selected skips or failures. Selection includes every registered ICU case, focused math/wide-string/Dinkumware/multibyte callers, and applicable public-header/platform controls. - Archive inspection finds exactly one full-data provider. Built package entries retain `nfkc.nrm`, `nfkc_cf.nrm`, `uemoji.icu` and `ulayout.icu`; normalization/property/null-locale/UTC-time regressions pass. - Affected public headers compile independently. ELF/PE native-ICU symbol exposure matches the tested main baseline; no host ICU DLL dependency was introduced. - Conventions, committed whitespace and scoped/global debt checks pass. Independent integration review found no required source changes. - The previous Windows `guest_multibyte_locale` failure came from a change already reverted on main; this merged candidate passes that regression locally on Linux and Wine. Native Windows/macOS full CI and console execution were not run here. [Exact pins, platform results and complete Linux/Wine CTest logs](https://gist.github.com/IvanFogel/8413d9285a9334367b5cc4b2154761b2). Review-feedback disposition: null `unumsys_openByName` names still take the documented throwing path; error 1 was not invented from the review assertion. The pinned native entrypoint has no explicit null-name/error-1 branch. This remains an explicit console-contract gap, not a silently fixed request. Keep Draft for #19628 and transitively #16971, plus the recorded peer/data/platform gates; #20395 has merged. Textual mergeability does not establish joint qualification with every current peer; previous external/composition receipts below keep their original pins. <details> <summary>Historical exact-head qualification</summary> **2026-11-16 maintenance — exact submitted/tested head `71054ee700c9170a1cdac095317641e18e685797`, main `e236a801f88183df3d215af0d450fb20baf9edc3`.** Merge main while preserving the original feature and prerequisite histories. Resolve the build-documentation conflict by retaining the two real ICU host-compiler options without reviving the removed FFmpeg prebuilt option. Consolidate the overlapping callable-inventory debt operations, retaining current main's complete locale/property exclusions plus the data/topic exclusions. Linux x86-64 / GCC 16.2.1 Release full runtime: **80/80 CTests pass**. MinGW 16 / private headless Wine 11.21: **80/80 pass**. No selected skips; every test finishes below 30 s. All registered ICU cases, patched-NID fixtures and relevant math/wide-string/Dinkumware parser callers run; Linux runs the public-header audit, Wine runs the FreeBSD clock control. **47 ICU header units compile independently on each toolchain**. ELF/PE inspection confirms no new native ICU backend exports or system-ICU imports. Fresh main control: Linux 58/58 pass; Wine 56/58 pass with the two reproduced parser failures. Independent integration review found no material source defect. Draft and existing peer/prerequisite integration gates remain; original dependency implementations and maintenance merge histories are retained, without claiming ancestry of the final parent debt-only tail tips. Native Windows, macOS, console/title and performance were not measured. Current conventions and committed whitespace checks pass. The scoped ICU debt fold passes. The global fold repeats main's unrelated stale NKWebKit fragment error (`5933 of the 8703`); that inherited failure was not changed or reported as green. A later mechanical merge check against main `4c976e99394db1546555ca53fd575912d4b819a8` is clean. Those later changes were not rerun as a combined runtime build. [Full exact-head results, matched baseline failures, validation logs, public-header/symbol audits and integration review](https://gist.github.com/IvanFogel/b5fc0ae08605542a9da101f7cd50fdcc). Historical results below retain their own pins and were not rerun as native-platform reports. <details> <summary>Historical qualification at its original exact commits</summary> **2026-11-15 refresh — exact submitted commit `5859090dcd50d99d1803358cac721d63e5106335`.** Linux GCC 16.2.1, Release/full source-built dependencies: **72/72 CTests pass, no skips**. MinGW GCC 16/private headless Wine 11.21 Staging: **72/72 CTests pass, no skips**, on the same standalone branch commit, including its declared prerequisites. All registered ICU cases and the expanded math/wide-string/Dinkumware parser callers run; Linux also runs the full public-header audit and Wine runs the FreeBSD clock regression. 45 ICU header units compile independently on each toolchain. Native Windows was not run. The matching main control at `4da77d3353c9c9f59f15436af86f44e4bb3ee074` passes 47/47 Linux cases; Wine passes 46/47 with the reproduced `guest_icu_cstring` negative-overflow failure. The failing baseline is preserved. #20395 corrects that behavior, and the candidate passes all four affected public caller suites. ELF audits show no native ICU78 backend exports; PE retains the eight preexisting RTTI/name exports from main and imports no system ICU DLL. The ICU implementation, tests, data filters and build inputs are byte-identical to the reviewed pre-donor candidates. The updated prerequisite is composed without duplicate common test registrations; debt fragments preserve main's consolidated files, exact throwing inventories and each topic's original data scope. Current conventions, whitespace and debt-fold checks pass. Independent whole-change and integration-tail reviews found no required source changes. A later mechanical merge check against main `f61793afa6d22732addd93e3b27553fc5deeab2f` is clean. That main adds independent CodePointTrie source/test/umbrella registrations; those later-main additions were not rerun as a combined runtime build here. They are separate from the exact tested commits above. Existing Draft integration gates remain. [Full verbose logs, exact commits, header/symbol audits, source/debt checks and independent reviews](https://gist.github.com/IvanFogel/d0abeae6a91cae93de02ea939b4959a5). Across all six refreshed branches: 436 Linux and 435 MinGW/Wine passing CTests. No console, macOS, title-unblock or performance claim. Historical hosted Windows/AMD reports and composed runs below retain their old commit pins and were not rerun on this commit. <details> <summary>Historical qualification and reports (original exact commits)</summary> <!-- codex-rtl-refresh-start --> **2026-11-13 RTL conflict refresh — exact submitted head `9203b36ba0ebb670ccdfb17748e2e6d65b9778fc`.** Merge main `1edac2f2eaa54c45dd96d632d989162c2b319647` and retain the existing feature history, backend and tests alongside the newly landed right-to-left implementation/test registrations. Independent review verified the additive CMake union and unchanged feature code. Draft dependencies and previously documented peer-composition gates remain. Linux GCC16.2.1 Release/source-built dependencies: **66/66 CTests pass without skips**, comprising all 65 ICU cases (including `guest_icu_right_to_left`) and the full SDK public export audit. All 43 ICU public-header units compile independently; no native ICU78 backend symbols leak from ELF. MinGW16.2.0-2.1/private headless Wine11.21 Staging: **24/24 selected CTests pass without skips**, on composition `94cd937468288b27d8810e41d64fc6af60ccc8a6`. It adds build-only #19519/d43d250189579f1c475481416841cdbe099cf099 and now-merged #19625/4f4fa0b13e629d1de1dc3de5f8c5801e154e9b40. Complete ICU source/test/header/data and host-tool build paths are byte-identical to this submitted head. PE inspection adds no native ICU function exports or system ICU DLL imports; eight inherited normalizer RTTI/name exports match the recorded historical main baseline. This is composed Wine evidence; native Windows and standalone full-Windows qualification were not rerun. The candidate also merges cleanly with later fetched main `752c0f776bfa689bac02aca3c30afac4b0b8378d`; its relevant ICU and contributor-rule paths are unchanged from the tested main pin. Current conventions have zero errors (one existing inherited long-debt warning); whitespace checks pass. [Full verbose logs, exact pins, source equivalence and independent review](https://gist.github.com/IvanFogel/e6af5e11df6099703cb6323cde9de189). Earlier qualification and hosted Windows reports below retain their original commit pins and do not represent reruns on this new head. <!-- codex-rtl-refresh-end --> **Earlier qualification (historical exact commits):** Linux x86-64, GCC 16.2.1, Release/full source-built dependencies, standalone `75a63ae7abd15c969c8a321fbbd4aa5febb3018b`: **64/64 ICU CTests pass**, without skips, including actual patched NIDs, fixed latn/arab/hanidec/roman selections, native locale/keyword differential behavior, every available name reopening successfully, full mixed UTF-8/UTF-16 enumeration/reset/EOF behavior, guarded memory, warnings/prefailed status, stale and cross-kind tokens. All 41 public ICU header units compile independently; audit reports 413 libraries / 34519 exports with unique declarations and umbrella coverage. No native ICU 78 exports on Linux. Conventions: zero errors, with the existing inherited data-paragraph length warning; diff check passes. Test-first evidence: all four initial behavior groups failed at real throwing stubs before implementation. Independent review then found two public-dispatch gaps that the initial suite missed. Separate new tests reproduced both as SIGSEGV in isolated processes with core dumps disabled; checked status dispatch and callback-shaped system tokens fix both, and the complete 64-test suite passes afterward. No second review was used to substitute for RED/GREEN verification. The outdated enumeration-producer debt was corrected as part of the changed API contract. MinGW GCC 16.2.0-2.1 source build and private headless Wine 11.21 Staging execution: **23/23 selected CTests pass**, including all seven numbering/NID cases and inherited Date/native-data/break/allocator/recovered cases. Exact composed head `649489a8af3bd63642e490556af4b0d133b6ff65` additionally includes #19625 (`3213fc94d016b7d3f51561a47fbb7eec5ae74a62`) and #19519 (`f875fa2fd7cb1296256d50b8f456eefe99bbbb13`) for cross-toolchain and focused canonical runtime builds. The entire ICU tree and ICU source/data/host-tool CMake paths are byte-identical to the standalone numbering head. The harness supplies explicit WINEPATH for DLL lookup. This is composed MinGW/Wine evidence, not native Windows OS or standalone full-Windows qualification. An actual targeted MinGW build of fresh `main` (`667dbde5131d30a7db7a22bf1147889cc1ee4ec7`) confirms the candidate retains the same eight native normalizer RTTI/name metadata exports and adds no native ICU exports on Windows. Fresh main merges cleanly and has no ICU source/data-path changes since the tested base snapshot `b0a657ba1c2e6fffa1cbbce94720e384dcc6e665`. Console, native Windows OS, macOS, commercial-title behavior and performance remain unverified. No title-unblock or FPS claim. Callers must preserve returned-pointer lifetimes and avoid ICU cleanup/reconfiguration with outstanding objects; arbitrary mutation of enumeration callback fields is unsupported. Exact logs, review, reproduced failures, composition proof and overlap audit: https://gist.github.com/IvanFogel/b24f1d5813b91ee591817176e4112ec3 <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> </details> </details> </details> </details> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) and the licence notice of code adapted from upstream (see AGENTS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: <!-- #PR, or none --> #19628 (transitively #16971) - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-11-20 07:05:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T07:05:32Z.

Review: COMMENTED


Reviewed — comments

The prepared description reports successful Linux and MinGW/Wine qualification at the exact head, but I did not independently run those checks or complete a file-by-file source review.

What I ran

Read the prepared description, commits, manifest, changed-file listing, and the opening portion of the diff for head c81e5584248bed88c62bcdc92d9763d52ea9b314. No build or tests were run.

Results

Check Result Note
Source review not run Review is incomplete
Build and tests not run Results in the description are author-reported

Findings

Blocking

None verified.

Non-blocking

None.

Not verified

Most changed source and test files were not read, and no checks were run. The change adds ICU data generation, break iterator and data registration behavior, and numbering/date pattern implementations; their correctness is not verified. The prepared description reports Linux and MinGW/Wine test results, but those results were not independently confirmed. The diff and changed-file listing were read; the changed files themselves were not reviewed file by file.

To get this to a good state

Complete a file-by-file review of the changed implementation and tests, then independently run the relevant build and checks before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5988776984 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-5988776984). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T07:05:32Z. **Review:** COMMENTED --- # Reviewed — comments The prepared description reports successful Linux and MinGW/Wine qualification at the exact head, but I did not independently run those checks or complete a file-by-file source review. ## What I ran Read the prepared description, commits, manifest, changed-file listing, and the opening portion of the diff for head `c81e5584248bed88c62bcdc92d9763d52ea9b314`. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | not run | Review is incomplete | | Build and tests | not run | Results in the description are author-reported | ## Findings ### Blocking None verified. ### Non-blocking None. ## Not verified Most changed source and test files were not read, and no checks were run. The change adds ICU data generation, break iterator and data registration behavior, and numbering/date pattern implementations; their correctness is not verified. The prepared description reports Linux and MinGW/Wine test results, but those results were not independently confirmed. The diff and changed-file listing were read; the changed files themselves were not reviewed file by file. ## To get this to a good state Complete a file-by-file review of the changed implementation and tests, then independently run the relevant build and checks before making a formal decision.
MarcZX10 commented 2026-11-20 08:05:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T08:05:48Z.

Review: CHANGES_REQUESTED


Reviewed — comments

Changes are required before merge: resolve the close-versus-use race in the new numbering system and date pattern handles.

What I ran

Reviewed head d72f8b7f6c57cb60df3f0da4710247b21d9ebb8d from the prepared diff and pinned reader. No build or tests were run.

Results

Check Result Note
Source review passed Changed wrappers inspected
Build and tests not run Author-reported runs only

Findings

Blocking

  • Handle close can race an active call. The lookups in Find return a shared_ptr<Entry>, but Remove erases the registry entry without taking that entry’s mutex. A concurrent close can therefore destroy the native ICU object while a method is using it under owner->mutex; the lock only serializes callers that also acquire it. The date-pattern wrapper has the same pattern. Serialize close with operations by locking the entry mutex before removing/destroying its native object, while avoiding a lock-order cycle with the registry mutex. core/libs/prx/libSceIcu/NumberingSystem.cpp:62 and core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp:142.

Non-blocking

None.

Not verified

The prepared diff and targeted source were read, but the full text of all changed files was not read. Files listed as included in the manifest were not all reviewed. No build, test, native Windows, console, or title execution was performed. The description reports Linux and MinGW/Wine test results; these were not run as part of this review.

To get this to a good state

Fix the close/use race in both handle registries, then rerun the relevant concurrency and lifetime tests on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5989370462 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-5989370462). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T08:05:48Z. **Review:** CHANGES_REQUESTED --- # Reviewed — comments Changes are required before merge: resolve the close-versus-use race in the new numbering system and date pattern handles. ## What I ran Reviewed head `d72f8b7f6c57cb60df3f0da4710247b21d9ebb8d` from the prepared diff and pinned reader. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Changed wrappers inspected | | Build and tests | not run | Author-reported runs only | ## Findings ### Blocking - **Handle close can race an active call.** The lookups in `Find` return a `shared_ptr<Entry>`, but `Remove` erases the registry entry without taking that entry’s mutex. A concurrent close can therefore destroy the native ICU object while a method is using it under `owner->mutex`; the lock only serializes callers that also acquire it. The date-pattern wrapper has the same pattern. Serialize close with operations by locking the entry mutex before removing/destroying its native object, while avoiding a lock-order cycle with the registry mutex. `core/libs/prx/libSceIcu/NumberingSystem.cpp:62` and `core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp:142`. ### Non-blocking None. ## Not verified The prepared diff and targeted source were read, but the full text of all changed files was not read. Files listed as included in the manifest were not all reviewed. No build, test, native Windows, console, or title execution was performed. The description reports Linux and MinGW/Wine test results; these were not run as part of this review. ## To get this to a good state Fix the close/use race in both handle registries, then rerun the relevant concurrency and lifetime tests on the new head.
MarcZX10 commented 2026-11-21 09:00:21 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T09:00:21Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

Changes are required before merge: make udata_setFileAccess_nid_postfix reject a null status pointer before calling ICU, consistently with the adjacent registration wrapper.

What I ran

Reviewed head 06ec6143e3401ad968735a698c0c36b5424d284c using the prepared review documents and pinned repository reader. No build or tests were run.

Results

Check Result Note
Diff and changed files passed Prepared diff and manifest inspected
Targeted code review passed Registration wrappers and related test inspected
Build and tests not run Author-reported results were not rerun

Findings

Blocking

  • core/libs/prx/libSceIcu/Data.cpp:14 permits a null status pointer, then calls udata_setFileAccess with a null ICU status argument. The same file’s udata_setCommonData_nid_postfix rejects null status at line 8, and the test invokes the file-access wrapper with null at core/libs/prx/libSceIcu/tests/Data.cpp:124. ICU APIs that take a status pointer require a valid status location; this call risks invalid behavior or a crash. Reject null before calling ICU, as the common-data wrapper does.

Non-blocking

None.

Not verified

No build, CTest, native Windows, or console execution was performed. The author reports Linux and MinGW/Wine test results in the PR description; these were not independently verified. The prepared manifest lists all changed files as included, but this review read only the prepared description, commits, manifest and diff, plus targeted source ranges in BreakIterator.cpp, Data.cpp, Configuration.cpp, NumberingSystem.cpp, DateTimePatternGenerator.cpp, IcuData.cmake, and tests/Data.cpp; the remaining changed files were not read. No separate files.json was available through the reader.

To get this to a good state

Reject a null status pointer in udata_setFileAccess_nid_postfix before calling ICU, and add or adjust a regression assertion for the null case. Then rerun the relevant data-registration test on the new head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004284175 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6004284175). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T09:00:21Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested Changes are required before merge: make `udata_setFileAccess_nid_postfix` reject a null status pointer before calling ICU, consistently with the adjacent registration wrapper. ## What I ran Reviewed head `06ec6143e3401ad968735a698c0c36b5424d284c` using the prepared review documents and pinned repository reader. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and changed files | passed | Prepared diff and manifest inspected | | Targeted code review | passed | Registration wrappers and related test inspected | | Build and tests | not run | Author-reported results were not rerun | ## Findings ### Blocking - `core/libs/prx/libSceIcu/Data.cpp:14` permits a null status pointer, then calls `udata_setFileAccess` with a null ICU status argument. The same file’s `udata_setCommonData_nid_postfix` rejects null status at line 8, and the test invokes the file-access wrapper with null at `core/libs/prx/libSceIcu/tests/Data.cpp:124`. ICU APIs that take a status pointer require a valid status location; this call risks invalid behavior or a crash. Reject null before calling ICU, as the common-data wrapper does. ### Non-blocking None. ## Not verified No build, CTest, native Windows, or console execution was performed. The author reports Linux and MinGW/Wine test results in the PR description; these were not independently verified. The prepared manifest lists all changed files as included, but this review read only the prepared description, commits, manifest and diff, plus targeted source ranges in `BreakIterator.cpp`, `Data.cpp`, `Configuration.cpp`, `NumberingSystem.cpp`, `DateTimePatternGenerator.cpp`, `IcuData.cmake`, and `tests/Data.cpp`; the remaining changed files were not read. No separate `files.json` was available through the reader. ## To get this to a good state Reject a null status pointer in `udata_setFileAccess_nid_postfix` before calling ICU, and add or adjust a regression assertion for the null case. Then rerun the relevant data-registration test on the new head.
MarcZX10 commented 2026-11-21 09:17:10 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T09:17:10Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this review; the reviewed code and supplied exact-head results support merging, with console and macOS behavior still unverified.

What I ran

  • Reviewed head 326c031b946f0e1089d9e12dc91ec49a0b6fcb45; no commands or tests were run in this session.
  • Read description.md, commits.md, README.md, diff.patch, the changed-file listing, and focused source for the file-access wrapper/tests, numbering system and break iterator. No repository files were excluded by the prepared review listing; the full 3,380-line diff and every changed line in every changed file were not read.
  • The author reports 106 Linux and 106 MinGW/Wine ICU tests and public-header checks passing; these results were not run or independently verified here.

Results

Check Result Note
Focused source review passed No blocking defect found in inspected paths
Exact-head test run not run Only author-reported results available
Console and macOS behavior not run Author documents these limits

Findings

Blocking

None.

Non-blocking

None.

Not verified

The full diff and all changed files were not read, so this is not a complete audit of all changed behavior. In particular, the date-pattern implementation, most ICU build/test additions, and documentation/debt changes were not inspected beyond their diff context. Native Windows, macOS, and console behavior were not run or confirmed.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004343813 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6004343813). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T09:17:10Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this review; the reviewed code and supplied exact-head results support merging, with console and macOS behavior still unverified. ## What I ran - Reviewed head `326c031b946f0e1089d9e12dc91ec49a0b6fcb45`; no commands or tests were run in this session. - Read `description.md`, `commits.md`, `README.md`, `diff.patch`, the changed-file listing, and focused source for the file-access wrapper/tests, numbering system and break iterator. No repository files were excluded by the prepared review listing; the full 3,380-line diff and every changed line in every changed file were not read. - The author reports 106 Linux and 106 MinGW/Wine ICU tests and public-header checks passing; these results were not run or independently verified here. ## Results | Check | Result | Note | |---|---|---| | Focused source review | passed | No blocking defect found in inspected paths | | Exact-head test run | not run | Only author-reported results available | | Console and macOS behavior | not run | Author documents these limits | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified The full diff and all changed files were not read, so this is not a complete audit of all changed behavior. In particular, the date-pattern implementation, most ICU build/test additions, and documentation/debt changes were not inspected beyond their diff context. Native Windows, macOS, and console behavior were not run or confirmed. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-22 09:24:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T09:24:50Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the points below are optional.

What I ran

Reviewed prepared diff and repository context at head 2e0fc28f02049ad4da92b0f43d8b517315a65a83 using repo_read.py reader tools. No build or tests were run in this review.

Results

Check Result Note
Source review passed Targeted code and build wiring inspected
Build and tests not run Description reports prior runs on nearby revisions

Findings

Blocking

None identified in the inspected code.

Non-blocking

  • The bundle records extensive Linux and MinGW/Wine test results for earlier revisions, but does not establish a run on this exact head. Please retain exact-head CI results with the PR review evidence.

Not verified

The source review was targeted rather than exhaustive. I read the description, commits, manifest, diff, and changed code for ICU data/build setup, break iterators, numbering systems, allocator/data registration, and date-time pattern generators. The manifest lists 49 changed files and marks all as included; I did not read every included file or every changed hunk. No repository files were excluded by the manifest. Build/test results, native Windows/macOS behavior, and console ABI/data equivalence were not verified in this review.

To get this to a good state

Nothing is required. Optional: attach test results for this exact head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6011485143 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6011485143). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T09:24:50Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the points below are optional. ## What I ran Reviewed prepared diff and repository context at head `2e0fc28f02049ad4da92b0f43d8b517315a65a83` using `repo_read.py` reader tools. No build or tests were run in this review. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Targeted code and build wiring inspected | | Build and tests | not run | Description reports prior runs on nearby revisions | ## Findings ### Blocking None identified in the inspected code. ### Non-blocking - The bundle records extensive Linux and MinGW/Wine test results for earlier revisions, but does not establish a run on this exact head. Please retain exact-head CI results with the PR review evidence. ## Not verified The source review was targeted rather than exhaustive. I read the description, commits, manifest, diff, and changed code for ICU data/build setup, break iterators, numbering systems, allocator/data registration, and date-time pattern generators. The manifest lists 49 changed files and marks all as included; I did not read every included file or every changed hunk. No repository files were excluded by the manifest. Build/test results, native Windows/macOS behavior, and console ABI/data equivalence were not verified in this review. ## To get this to a good state Nothing is required. Optional: attach test results for this exact head.
MarcZX10 commented 2026-11-22 20:40:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T20:40:50Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change based on the code inspected; the author-reported test results are not checks I ran.

What I ran

No build or tests were run. Reviewed head 11717b7033d0a50a6142a292c964fb45e02d360d using the prepared diff and repository reader, repo_read.py.

Results

Check Result Note
Diff and targeted code review passed Numbering, enumeration, break iterator, and ICU data build changes inspected
Build and tests not run Test results in the description are author-reported

Findings

Blocking

None found in the code inspected.

Non-blocking

None.

Not verified

The manifest lists 3137 changed-file entries, all marked included; I did not read every changed file, so this is not a complete file-by-file review. I read the description, commits, manifest, relevant diff hunks, NumberingSystem.cpp, Enumeration.cpp, and Enumeration.hpp. I did not inspect the full diff or excluded-file listing, nor run tests, a build, native Windows checks, or console behavior. The six numbering-system wrappers use std::bad_alloc handling, but other allocation exceptions from string and registry operations were not tested.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014427719 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6014427719). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T20:40:50Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change based on the code inspected; the author-reported test results are not checks I ran. ## What I ran No build or tests were run. Reviewed head `11717b7033d0a50a6142a292c964fb45e02d360d` using the prepared diff and repository reader, `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted code review | passed | Numbering, enumeration, break iterator, and ICU data build changes inspected | | Build and tests | not run | Test results in the description are author-reported | ## Findings ### Blocking None found in the code inspected. ### Non-blocking None. ## Not verified The manifest lists 3137 changed-file entries, all marked included; I did not read every changed file, so this is not a complete file-by-file review. I read the description, commits, manifest, relevant diff hunks, `NumberingSystem.cpp`, `Enumeration.cpp`, and `Enumeration.hpp`. I did not inspect the full diff or excluded-file listing, nor run tests, a build, native Windows checks, or console behavior. The six numbering-system wrappers use `std::bad_alloc` handling, but other allocation exceptions from string and registry operations were not tested. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-25 12:04:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T12:04:33Z.

Review: COMMENTED


Reviewed — no blocking findings

The submitted change has no blocking defect in the implementation paths inspected, but this review is incomplete and does not justify approval.

What I ran

Inspected the prepared review description, commits, manifest, diff, changed file inventory, and selected source files through repo_read.py at head d757a47142977ff60ebe57c538e33d4b7455f0c6. No build or tests were run.

Results

Check Result Note
Prepared artifacts passed Description, commits, manifest and diff read
Targeted source review passed Numbering system, break iterator and ICU data build setup
Build and tests not run Author-reported results were not independently run

Findings

Blocking

None in the inspected code.

Non-blocking

None.

Not verified

The manifest lists many changed files; this review read only selected files and did not audit every changed hunk or file. Build and test claims in the description remain author-reported. Native Windows, console and title behavior were not verified. The changed code paths outside the inspected numbering-system, break-iterator and ICU data build files are not verified. Excluded files are not enumerated in the available review inventory.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed files and run the submitted revision's checks before relying on the reported results.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6057270151 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6057270151). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T12:04:33Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The submitted change has no blocking defect in the implementation paths inspected, but this review is incomplete and does not justify approval. ## What I ran Inspected the prepared review description, commits, manifest, diff, changed file inventory, and selected source files through `repo_read.py` at head `d757a47142977ff60ebe57c538e33d4b7455f0c6`. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Prepared artifacts | passed | Description, commits, manifest and diff read | | Targeted source review | passed | Numbering system, break iterator and ICU data build setup | | Build and tests | not run | Author-reported results were not independently run | ## Findings ### Blocking None in the inspected code. ### Non-blocking None. ## Not verified The manifest lists many changed files; this review read only selected files and did not audit every changed hunk or file. Build and test claims in the description remain author-reported. Native Windows, console and title behavior were not verified. The changed code paths outside the inspected numbering-system, break-iterator and ICU data build files are not verified. Excluded files are not enumerated in the available review inventory. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed files and run the submitted revision's checks before relying on the reported results.
ligmaSec commented 2026-12-03 18:04:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T18:04:24Z.

Review: COMMENTED


Next advances the native ICU enumerator before publishing length and error. If a guest output write fails, the call throws after consuming the entry. A retry with valid outputs then skips that name. The fixture checks that a read-only length output throws and does not check the cursor afterward. Can the wrapper preserve the pending entry until its outputs have been published?

Source review at d757a47142. Integration into the local Linux baseline also stopped on a merge conflict in RightToLeft.cpp.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6175577854 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6175577854). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T18:04:24Z. **Review:** COMMENTED --- `Next` advances the native ICU enumerator before publishing `length` and `error`. If a guest output write fails, the call throws after consuming the entry. A retry with valid outputs then skips that name. The fixture checks that a read-only length output throws and does not check the cursor afterward. Can the wrapper preserve the pending entry until its outputs have been published? Source review at `d757a47142`. Integration into the local Linux baseline also stopped on a merge conflict in `RightToLeft.cpp`. AI-assisted: yes.
MarcZX10 commented 2026-12-04 09:49:58 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-04T09:49:58Z.

Review: COMMENTED


Reviewed — no blocking findings in inspected files

Nothing blocks this; the points below are optional.

What I ran

Reviewed the prepared diff and selected source files at head eef184c7c5fe8631d0653aaffae1ac79f2eeff2a. I did not build or run tests.

cat description.md
cat commits.md
cat manifest.json
cat diff.patch
cat files.json
rg '^diff --git|^@@' diff.patch
sed -n '<selected ranges>' files/<selected paths>

Results

Check Result Note
Selected source inspection passed 19 of 55 changed files consulted
Build and tests not run No compilation or execution
Full changed-file review not run 36 files remain unread

Negative control

Not run; no tests were executed or source changed.

Findings

Blocking

None identified in the files inspected.

Non-blocking

None identified in the files inspected.

Sources

The inspected sources are pinned to head eef184c7c5fe8631d0653aaffae1ac79f2eeff2a, including NumberingSystem.cpp, BreakIterator.cpp, and DateTimePatternGenerator.cpp.

Not verified

This is incomplete, so the review does not support a formal merge decision. The prepared files.json lists 55 reviewed files and no preparation-rule exclusions. I consulted these 19 files, with some reads limited to relevant sections: cmake/icu-host/CMakeLists.txt, cmake/IcuDataFilter.json, core/libs/prx/libSceIcu/NumberingSystem.cpp, core/libs/prx/libSceIcu/NumberingSystemBackend.cpp, core/libs/prx/libSceIcu/Enumeration.cpp, core/libs/prx/libSceIcu/BreakIterator.cpp, core/libs/prx/libSceIcu/BreakIterator.hpp, core/libs/prx/libSceIcu/tests/NumberingSystemBehavior.cpp, core/libs/prx/libSceIcu/tests/NumberingSystem.cpp, core/libs/prx/libSceIcu/Configuration.cpp, core/libs/prx/libSceIcu/Data.cpp, cmake/IcuData.cmake, core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp, core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.cpp, core/libs/prx/libSceIcu/tests/BreakIterator.cpp, core/libs/prx/libSceIcu/CMakeLists.txt, cmake/Icu.cmake, core/libs/prx/libSceIcu/Export.cpp, and core/libs/prx/libSceIcu/include/InventoryExports.hpp.

Unread changed files: .gitignore, CONTRIBUTING.md, core/libs/prx/libSceIcu/Availability.cpp, core/libs/prx/libSceIcu/Data.hpp, core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.hpp, core/libs/prx/libSceIcu/NumberingSystemBackend.hpp, core/libs/prx/libSceIcu/include/Availability.hpp, core/libs/prx/libSceIcu/libSceIcu.hpp, core/libs/prx/libSceIcu/tests/Data.cpp, core/libs/prx/libSceIcu/tests/DateTimePatternBehavior.cpp, core/libs/prx/libSceIcu/tests/DateTimePatternData.py, core/libs/prx/libSceIcu/tests/DateTimePatternNative.cpp, core/libs/prx/libSceIcu/tests/DateTimePatternNid.cpp, core/libs/prx/libSceIcu/tests/DateTimePatternOracle.cpp, core/libs/prx/libSceIcu/tests/DateTimePatternOracle.hpp, core/libs/prx/libSceIcu/tests/FileAccess.cpp, core/libs/prx/libSceIcu/tests/LocaleTableFallback.cpp, core/libs/prx/libSceIcu/tests/NumberingSystemNid.cpp, core/libs/prx/libSceIcu/tests/NumberingSystemOracle.cpp, core/libs/prx/libSceIcu/tests/NumberingSystemOracle.hpp, core/libs/prx/libSceIcu/tests/OpenStandardNames.cpp, core/libs/prx/libSceIcu/tests/RightToLeft.cpp, core/libs/prx/libSceIcu/tests/SupplementalRegion.cpp, core/libs/tests/GuestIcuConverterAliases.cpp, docs/dev/BUILD.md, docs/dev/debt/changes/feat-icu-open-available-by-type.md, docs/dev/debt/changes/feat-icu-ucnv-get-canonical-name.md, docs/dev/debt/changes/feat-icu-ucnv-open-all-names.md, docs/dev/debt/changes/feat-libsceicu-availability-exports.md, docs/dev/debt/changes/feat-libsceicu-data-break-iterator.md, docs/dev/debt/changes/feat-libsceicu-ucol-available.md, docs/dev/debt/changes/feat-libsceicu-unumsys-early-returns.md, docs/dev/debt/changes/ivan-20261115-icu-data-stack.md, docs/dev/debt/changes/ivan-20261115-icu-date-pattern.md, docs/dev/debt/changes/ivan-20261115-icu-numbering.md, and docs/dev/debt/changes/libSceIcu-locale-syntax.md.

To get this to a good state

Nothing is required. Optional: review the unread files before making a formal merge decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6186839428 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19635#pullrequestreview-6186839428). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-04T09:49:58Z. **Review:** COMMENTED --- # Reviewed — no blocking findings in inspected files Nothing blocks this; the points below are optional. ## What I ran Reviewed the prepared diff and selected source files at head `eef184c7c5fe8631d0653aaffae1ac79f2eeff2a`. I did not build or run tests. ```text cat description.md cat commits.md cat manifest.json cat diff.patch cat files.json rg '^diff --git|^@@' diff.patch sed -n '<selected ranges>' files/<selected paths> ``` ## Results | Check | Result | Note | |---|---|---| | Selected source inspection | passed | 19 of 55 changed files consulted | | Build and tests | not run | No compilation or execution | | Full changed-file review | not run | 36 files remain unread | ## Negative control Not run; no tests were executed or source changed. ## Findings ### Blocking None identified in the files inspected. ### Non-blocking None identified in the files inspected. ## Sources The inspected sources are pinned to [head `eef184c7c5fe8631d0653aaffae1ac79f2eeff2a`](https://github.com/boykopovar/AnyPS5/tree/eef184c7c5fe8631d0653aaffae1ac79f2eeff2a), including [NumberingSystem.cpp](https://github.com/boykopovar/AnyPS5/blob/eef184c7c5fe8631d0653aaffae1ac79f2eeff2a/core/libs/prx/libSceIcu/NumberingSystem.cpp), [BreakIterator.cpp](https://github.com/boykopovar/AnyPS5/blob/eef184c7c5fe8631d0653aaffae1ac79f2eeff2a/core/libs/prx/libSceIcu/BreakIterator.cpp), and [DateTimePatternGenerator.cpp](https://github.com/boykopovar/AnyPS5/blob/eef184c7c5fe8631d0653aaffae1ac79f2eeff2a/core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp). ## Not verified This is incomplete, so the review does not support a formal merge decision. The prepared `files.json` lists 55 reviewed files and no preparation-rule exclusions. I consulted these 19 files, with some reads limited to relevant sections: `cmake/icu-host/CMakeLists.txt`, `cmake/IcuDataFilter.json`, `core/libs/prx/libSceIcu/NumberingSystem.cpp`, `core/libs/prx/libSceIcu/NumberingSystemBackend.cpp`, `core/libs/prx/libSceIcu/Enumeration.cpp`, `core/libs/prx/libSceIcu/BreakIterator.cpp`, `core/libs/prx/libSceIcu/BreakIterator.hpp`, `core/libs/prx/libSceIcu/tests/NumberingSystemBehavior.cpp`, `core/libs/prx/libSceIcu/tests/NumberingSystem.cpp`, `core/libs/prx/libSceIcu/Configuration.cpp`, `core/libs/prx/libSceIcu/Data.cpp`, `cmake/IcuData.cmake`, `core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp`, `core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.cpp`, `core/libs/prx/libSceIcu/tests/BreakIterator.cpp`, `core/libs/prx/libSceIcu/CMakeLists.txt`, `cmake/Icu.cmake`, `core/libs/prx/libSceIcu/Export.cpp`, and `core/libs/prx/libSceIcu/include/InventoryExports.hpp`. Unread changed files: `.gitignore`, `CONTRIBUTING.md`, `core/libs/prx/libSceIcu/Availability.cpp`, `core/libs/prx/libSceIcu/Data.hpp`, `core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.hpp`, `core/libs/prx/libSceIcu/NumberingSystemBackend.hpp`, `core/libs/prx/libSceIcu/include/Availability.hpp`, `core/libs/prx/libSceIcu/libSceIcu.hpp`, `core/libs/prx/libSceIcu/tests/Data.cpp`, `core/libs/prx/libSceIcu/tests/DateTimePatternBehavior.cpp`, `core/libs/prx/libSceIcu/tests/DateTimePatternData.py`, `core/libs/prx/libSceIcu/tests/DateTimePatternNative.cpp`, `core/libs/prx/libSceIcu/tests/DateTimePatternNid.cpp`, `core/libs/prx/libSceIcu/tests/DateTimePatternOracle.cpp`, `core/libs/prx/libSceIcu/tests/DateTimePatternOracle.hpp`, `core/libs/prx/libSceIcu/tests/FileAccess.cpp`, `core/libs/prx/libSceIcu/tests/LocaleTableFallback.cpp`, `core/libs/prx/libSceIcu/tests/NumberingSystemNid.cpp`, `core/libs/prx/libSceIcu/tests/NumberingSystemOracle.cpp`, `core/libs/prx/libSceIcu/tests/NumberingSystemOracle.hpp`, `core/libs/prx/libSceIcu/tests/OpenStandardNames.cpp`, `core/libs/prx/libSceIcu/tests/RightToLeft.cpp`, `core/libs/prx/libSceIcu/tests/SupplementalRegion.cpp`, `core/libs/tests/GuestIcuConverterAliases.cpp`, `docs/dev/BUILD.md`, `docs/dev/debt/changes/feat-icu-open-available-by-type.md`, `docs/dev/debt/changes/feat-icu-ucnv-get-canonical-name.md`, `docs/dev/debt/changes/feat-icu-ucnv-open-all-names.md`, `docs/dev/debt/changes/feat-libsceicu-availability-exports.md`, `docs/dev/debt/changes/feat-libsceicu-data-break-iterator.md`, `docs/dev/debt/changes/feat-libsceicu-ucol-available.md`, `docs/dev/debt/changes/feat-libsceicu-unumsys-early-returns.md`, `docs/dev/debt/changes/ivan-20261115-icu-data-stack.md`, `docs/dev/debt/changes/ivan-20261115-icu-date-pattern.md`, `docs/dev/debt/changes/ivan-20261115-icu-numbering.md`, and `docs/dev/debt/changes/libSceIcu-locale-syntax.md`. ## To get this to a good state Nothing is required. Optional: review the unread files before making a formal merge decision.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/19635:upstream-pr/19635'
git switch 'upstream-pr/19635'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/19635'
git switch 'upstream-pr/19635'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/19635'
git switch 'upstream-pr/19635'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/19635'
git switch 'main'
git merge --squash 'upstream-pr/19635'
git switch 'main'
git merge --ff-only 'upstream-pr/19635'
git switch 'main'
git merge 'upstream-pr/19635'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!19635
No description provided.