feat(icu): implement explicit-zone calendar state and cloning #19645

Open
IvanFogel wants to merge 284 commits from upstream-pr/19645 into main
IvanFogel commented 2026-11-13 17:32:38 +00:00 (Migrated from github.com)

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


What

Opening a calendar with a null locale uses the configured guest locale. The zone argument continues to use the existing explicit-zone path. Review

November 27 merge order. #27653 implements the same six calendar exports plus eight more. I proposed using that PR as the base and bringing over the handle-lifetime, explicit-zone and native comparison tests. The proposed order is awaiting a response. Coordination with Ynryo

This head includes the updated #19635 at d72f8b7f6c57. A null locale for numbering-system selection now uses the current guest default.

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 calendar-state exports retain the refreshed #19635 numbering-system 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 typed calendar-state exports: ucal_open, ucal_close, ucal_clone, ucal_get, ucal_setMillis and ucal_setGregorianChange. Explicit time-zone/locale selection, all 24 pinned ICU 78.1 fields, independent clones and Gregorian cutover behavior use the real source-built ICU backend and packaged time-zone/calendar data.

A private native-header translation unit separates host ICU from guest ABI types. Checked input/status copies, strong registry ownership and per-calendar serialization protect state/lifetime. Distinct retained callback-shaped tokens reject stale/cross-family use and safely refuse accidental dispatch as a guest enumeration. Native calendars release on close; token identities remain until process teardown.

A null time zone still throws because the guest default zone is unknown. Initial time follows the host ICU clock. Native invalid-zone GMT fallback and non-Gregorian cutover errors pass through. The four other Calendar.cpp exports retain their previous throwing bodies and early returns; no complete-calendar, console or title-unblock claim is made.

Earlier integration notes (historical pins)

Draft / dependency: #19635 at 75a63ae7abd15c969c8a321fbbd4aa5febb3018b, transitively #19628 / #16971. Full donor history/authorship is preserved. The calendar-only range is 75a63ae7ab..c375eb2f84; inherited data/date/numbering work is not newly authored here. Canonical overlap still fails closed for conflicting sibling branches; all 21 reported unique heads were manually assessed against immutable prior full-peer audits plus this feature's own hunks. No duplicate six-export implementation, author agreement or joint sibling qualification is claimed.

Integration on 2026-11-15. Qualified submitted commit 5d822e137216f4e6ab7882d0a2a52beefc7be8b6 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: #19635, #20395 (transitively #19628 and #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 961202e23bab980925553d800d6158b422a8599f 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 b0e98b166ba9. The old branch rejected the null-locale open. For the same UTC instant, the new case obtains Buddhist year 2563 under the Thai guest default and Gregorian year 2020 under US English. All 125 selected tests passed on Linux and all 125 passed under MinGW/Wine. Both compilers also accepted the 57 standalone ICU headers.

On November 25 I integrated main 9c0d60cbfb6e and the complete ICU data prerequisite #16971 at eddb65df5f42. The calendar draft now includes the updated numbering-system prerequisite and its current-main integration. It retains the upstream declarations, status tests and bundled-data expectations alongside the existing explicit-zone calendar state and cloning paths.

At a917f0902d6d, all 124 registered guest ICU CTests passed on Linux x86-64 and all 124 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 14 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 4b96a568bfae 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, 7 focused Linux CTests and 7 MinGW CTests under Wine passed.

On ae8e75c201ef against main 8ce96faee7d2, all 117 selected guest ICU tests passed on native Linux and all 117 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. As an additional kernel control, guest_select passed on native Linux both on this exact candidate and on pristine main. The Wine executable failed on both at fcntl while reading the mode of pipe descriptor 1 (error=1). The earlier native Windows run on the PR integration revision reported exit 0xc0000409 for guest_select. The Wine run did not reproduce that Windows status.

After the November 22 review, the file-access wrapper on 7435a196385e 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 116 Linux and 116 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 921ab52ff30d, 116 Linux guest ICU tests and 116 MinGW/Wine guest ICU tests passed. Both platforms passed the public-header audit and exported all 14 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 f5721cbc93a3 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 111 Linux guest ICU tests and all 111 MinGW/Wine guest ICU tests passed, along with the public-header checks on both. Both binaries export all 14 feature NIDs exactly once.

On November 21 I tested f49fd5b517e9 with main 6f18d49a833e and the updated break-iterator prerequisite #16971 at bdbfcb2c98fd. All 110 guest ICU tests passed on Linux x86-64. The MinGW-w64 build passed all 110 guest ICU tests under Wine. Both public-header checks passed, and each build exported the 14 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.

The calendar debt fragment now specifies the evidence needed to retire retained tokens. Storage must be bounded by live handles while stale handles remain distinguishable after churn. Calendar review

Guest default locale, November 20 at 88b7b1345f91. 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 105 guest ICU CTests passed on Linux and all 105 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 dbcf2878ed33, 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 105 guest ICU CTests passed on Linux and all 105 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, 6fbf946a5017. Native Linux passed 105/105 guest ICU tests, the repository-wide public-header audit, and standalone compilation of all 53 selected ICU headers. The MinGW-w64 build ran 105/105 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 da31d1450c 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 (103/103) and on MinGW-w64 under Wine (103/103) with zero skips. #16971 is included at 54768514e6. Earlier test runs below are pinned to their respective commits.

Earlier refresh at b8adfb663a 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 91d4d49698. 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 explicit-zone calendar implementation retains the upstream error paths for timezone enumeration. All 103 registered ICU CTests passed on Linux. All 103 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 cada13b699bdde8ac164fb37c2b2ead1c992b6cc, 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: 93/93 selected CTests pass. MinGW/private Wine: 93/93 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: 961202e23bab980925553d800d6158b422a8599f, based on tested main 050cdf95addcb05b1c663587ab921216707623fe.

  • Linux: 91/91 selected CTests pass. MinGW/private Wine: 91/91 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.

The historical clone request is satisfied: positive incoming status returns before handle lookup/native clone/publication; error tests cover this with foreign handles.

Keep Draft for #19635 and transitively #19628/#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 1785f2c8fe0270b01a781e631df7a366ea836586, 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: 85/85 CTests pass. MinGW 16 / private headless Wine 11.21: 85/85 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 5d822e137216f4e6ab7882d0a2a52beefc7be8b6. Linux GCC 16.2.1, Release/full source-built dependencies: 77/77 CTests pass, no skips. MinGW GCC 16/private headless Wine 11.21 Staging: 77/77 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 33e71dc6ff731a5d2b13dfbec928dbaa2151505d. 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: 71/71 CTests pass without skips, comprising all 70 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: 29/29 selected CTests pass without skips, on composition 8e356a6dc55018d40236ba577935809c6117a6df. 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 c375eb2f84d9fb16b264eff3189a03f03e9b10dc: 69/69 ICU CTests pass without skips, including all six actual patched NIDs and all 64 parent cases. Fixed UTC/leap-day/New York DST/Buddhist/Japanese checks supplement a separate native oracle across every field, explicit/negative/embedded-NUL zone lengths, calendar types, finite/extreme/non-finite dates, warnings, invalid-field ordering, guarded/read-only memory, independent clones and active/retired cross-kind handles. All 41 public ICU header units compile; audit reports 413 libraries / 34519 exports with unique declarations and umbrella coverage. No native ICU 78 symbols exported on Linux. Conventions: zero errors, with the inherited data-paragraph length warning; diff check passes.

All four behavior groups first failed at actual throwing stubs. The new NID test then exposed an incorrect fixture assumption, confirmed by fresh independent review and an independently compiled official-native control: changing Gregorian cutover preserves cached fields until time reassignment. The test now asserts that cached behavior, reassigns the same epoch, and checks the resulting Julian-to-Gregorian conversion and original/clone independence. Production behavior was not changed to satisfy the incorrect expectation; the final 69-test run passes.

MinGW GCC 16.2.0-2.1 source build and private headless Wine 11.21 Staging: 28/28 selected CTests pass, including all five calendar/NID cases plus inherited Date/numbering/native-data/break/allocator/recovered coverage. Exact composition e97cd363273dff8e3c9b526e7b07425c43059ae6 additionally contains #19625 (3213fc94d016b7d3f51561a47fbb7eec5ae74a62) and #19519 (f875fa2fd7cb1296256d50b8f456eefe99bbbb13) for cross-toolchain/focused canonical runtime builds. All ICU source/data/host-tool paths are byte-identical to the standalone calendar head. Explicit WINEPATH supplies DLL lookup. This is composed MinGW/Wine evidence, not native Windows OS or standalone full-Windows qualification.

The Windows PE export set retains the same eight native normalizer RTTI/name metadata exports as an actual targeted MinGW build of main (667dbde5131d30a7db7a22bf1147889cc1ee4ec7), adding no native ICU exports. Fresh main merges cleanly and has no ICU source/data-path changes since tested base snapshot b0a657ba1c2e6fffa1cbbce94720e384dcc6e665.

Deferred coverage limits: reverse enumeration count/close refusal is executed; next/unext refusal is checked by inspection. Guarded NUL input and read-only failed status execute, while explicit UTF-16 chunk boundaries and changed-status writes into read-only pages lack focused calendar assertions. No concurrent scheduling/performance, allocator-fault injection or sanitizer claim. Console ABI/data/defaults/clock equivalence, native Windows OS, macOS, titles, GPU output and FPS remain unverified. ICU cleanup/reconfiguration require no outstanding objects/concurrent use.

Logs, native control, original NID failure, exact composition, review and overlap audit: https://gist.github.com/IvanFogel/526e1a509c55f4c1c632e3128f5a4c55

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: #19635 (transitively #19628 and #16971)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5300036185 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645). Originally posted by [IvanFogel](https://github.com/IvanFogel) on 2026-11-13T17:32:38Z. --- ### What Opening a calendar with a null locale uses the configured guest locale. The zone argument continues to use the existing explicit-zone path. [Review](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6177150332) **November 27 merge order.** #27653 implements the same six calendar exports plus eight more. I proposed using that PR as the base and bringing over the handle-lifetime, explicit-zone and native comparison tests. The proposed order is awaiting a response. [Coordination with Ynryo](https://github.com/boykopovar/AnyPS5/pull/27653#issuecomment-7220376087) This head includes the updated #19635 at `d72f8b7f6c57`. A null locale for numbering-system selection now uses the current guest default. 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 calendar-state exports retain the refreshed #19635 numbering-system 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 typed calendar-state exports: `ucal_open`, `ucal_close`, `ucal_clone`, `ucal_get`, `ucal_setMillis` and `ucal_setGregorianChange`. Explicit time-zone/locale selection, all 24 pinned ICU 78.1 fields, independent clones and Gregorian cutover behavior use the real source-built ICU backend and packaged time-zone/calendar data. A private native-header translation unit separates host ICU from guest ABI types. Checked input/status copies, strong registry ownership and per-calendar serialization protect state/lifetime. Distinct retained callback-shaped tokens reject stale/cross-family use and safely refuse accidental dispatch as a guest enumeration. Native calendars release on close; token identities remain until process teardown. A null time zone still throws because the guest default zone is unknown. Initial time follows the host ICU clock. Native invalid-zone GMT fallback and non-Gregorian cutover errors pass through. The four other Calendar.cpp exports retain their previous throwing bodies and early returns; no complete-calendar, console or title-unblock claim is made. <details> <summary>Earlier integration notes (historical pins)</summary> **Draft / dependency:** #19635 at `75a63ae7abd15c969c8a321fbbd4aa5febb3018b`, transitively #19628 / #16971. Full donor history/authorship is preserved. The calendar-only range is `75a63ae7ab..c375eb2f84`; inherited data/date/numbering work is not newly authored here. Canonical overlap still fails closed for conflicting sibling branches; all 21 reported unique heads were manually assessed against immutable prior full-peer audits plus this feature's own hunks. No duplicate six-export implementation, author agreement or joint sibling qualification is claimed. </details> **Integration on 2026-11-15.** Qualified submitted commit `5d822e137216f4e6ab7882d0a2a52beefc7be8b6` 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: #19635, #20395 (transitively #19628 and #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 `961202e23bab980925553d800d6158b422a8599f` 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 `b0e98b166ba9`. The old branch rejected the null-locale open. For the same UTC instant, the new case obtains Buddhist year 2563 under the Thai guest default and Gregorian year 2020 under US English. All 125 selected tests passed on Linux and all 125 passed under MinGW/Wine. Both compilers also accepted the 57 standalone ICU headers. On November 25 I integrated main `9c0d60cbfb6e` and the complete ICU data prerequisite [#16971](https://github.com/boykopovar/AnyPS5/pull/16971) at `eddb65df5f42`. The calendar draft now includes the updated numbering-system prerequisite and its current-main integration. It retains the upstream declarations, status tests and bundled-data expectations alongside the existing explicit-zone calendar state and cloning paths. At `a917f0902d6d`, all 124 registered guest ICU CTests passed on Linux x86-64 and all 124 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 14 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 `4b96a568bfae` 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, 7 focused Linux CTests and 7 MinGW CTests under Wine passed. On `ae8e75c201ef` against main `8ce96faee7d2`, all 117 selected guest ICU tests passed on native Linux and all 117 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. As an additional kernel control, `guest_select` passed on native Linux both on this exact candidate and on pristine main. The Wine executable failed on both at `fcntl` while reading the mode of pipe descriptor 1 (`error=1`). The earlier native Windows run on the PR integration revision reported exit `0xc0000409` for `guest_select`. The Wine run did not reproduce that Windows status. After the November 22 review, the file-access wrapper on `7435a196385e` 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 116 Linux and 116 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 `921ab52ff30d`, 116 Linux guest ICU tests and 116 MinGW/Wine guest ICU tests passed. Both platforms passed the public-header audit and exported all 14 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 `f5721cbc93a3` 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 111 Linux guest ICU tests and all 111 MinGW/Wine guest ICU tests passed, along with the public-header checks on both. Both binaries export all 14 feature NIDs exactly once. On November 21 I tested `f49fd5b517e9` with main `6f18d49a833e` and the updated break-iterator prerequisite #16971 at `bdbfcb2c98fd`. All 110 guest ICU tests passed on Linux x86-64. The MinGW-w64 build passed all 110 guest ICU tests under Wine. Both public-header checks passed, and each build exported the 14 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. The calendar debt fragment now specifies the evidence needed to retire retained tokens. Storage must be bounded by live handles while stale handles remain distinguishable after churn. [Calendar review](https://github.com/boykopovar/AnyPS5/pull/19645#issuecomment-7052696448) **Guest default locale, November 20 at `88b7b1345f91`.** 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 105 guest ICU CTests passed on Linux and all 105 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 `dbcf2878ed33`, 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 105 guest ICU CTests passed on Linux and all 105 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, `6fbf946a5017`.** Native Linux passed 105/105 guest ICU tests, the repository-wide public-header audit, and standalone compilation of all 53 selected ICU headers. The MinGW-w64 build ran 105/105 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 `da31d1450c` 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 (103/103) and on MinGW-w64 under Wine (103/103) with zero skips. #16971 is included at `54768514e6`. Earlier test runs below are pinned to their respective commits. **Earlier refresh at `b8adfb663a` 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 `91d4d49698`. 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 explicit-zone calendar implementation retains the upstream error paths for timezone enumeration. All 103 registered ICU CTests passed on Linux. All 103 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 `cada13b699bdde8ac164fb37c2b2ead1c992b6cc`, 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: **93/93 selected CTests pass**. MinGW/private Wine: **93/93 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:** `961202e23bab980925553d800d6158b422a8599f`, based on tested main `050cdf95addcb05b1c663587ab921216707623fe`. - Linux: **91/91** selected CTests pass. MinGW/private Wine: **91/91** 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). The historical clone request is satisfied: positive incoming status returns before handle lookup/native clone/publication; error tests cover this with foreign handles. Keep Draft for #19635 and transitively #19628/#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 `1785f2c8fe0270b01a781e631df7a366ea836586`, 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: **85/85 CTests pass**. MinGW 16 / private headless Wine 11.21: **85/85 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 `5d822e137216f4e6ab7882d0a2a52beefc7be8b6`.** Linux GCC 16.2.1, Release/full source-built dependencies: **77/77 CTests pass, no skips**. MinGW GCC 16/private headless Wine 11.21 Staging: **77/77 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 `33e71dc6ff731a5d2b13dfbec928dbaa2151505d`.** 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: **71/71 CTests pass without skips**, comprising all 70 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: **29/29 selected CTests pass without skips**, on composition `8e356a6dc55018d40236ba577935809c6117a6df`. 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 `c375eb2f84d9fb16b264eff3189a03f03e9b10dc`: **69/69 ICU CTests pass without skips**, including all six actual patched NIDs and all 64 parent cases. Fixed UTC/leap-day/New York DST/Buddhist/Japanese checks supplement a separate native oracle across every field, explicit/negative/embedded-NUL zone lengths, calendar types, finite/extreme/non-finite dates, warnings, invalid-field ordering, guarded/read-only memory, independent clones and active/retired cross-kind handles. All 41 public ICU header units compile; audit reports 413 libraries / 34519 exports with unique declarations and umbrella coverage. No native ICU 78 symbols exported on Linux. Conventions: zero errors, with the inherited data-paragraph length warning; diff check passes. All four behavior groups first failed at actual throwing stubs. The new NID test then exposed an incorrect fixture assumption, confirmed by fresh independent review and an independently compiled official-native control: changing Gregorian cutover preserves cached fields until time reassignment. The test now asserts that cached behavior, reassigns the same epoch, and checks the resulting Julian-to-Gregorian conversion and original/clone independence. Production behavior was not changed to satisfy the incorrect expectation; the final 69-test run passes. MinGW GCC 16.2.0-2.1 source build and private headless Wine 11.21 Staging: **28/28 selected CTests pass**, including all five calendar/NID cases plus inherited Date/numbering/native-data/break/allocator/recovered coverage. Exact composition `e97cd363273dff8e3c9b526e7b07425c43059ae6` additionally contains #19625 (`3213fc94d016b7d3f51561a47fbb7eec5ae74a62`) and #19519 (`f875fa2fd7cb1296256d50b8f456eefe99bbbb13`) for cross-toolchain/focused canonical runtime builds. All ICU source/data/host-tool paths are byte-identical to the standalone calendar head. Explicit WINEPATH supplies DLL lookup. This is composed MinGW/Wine evidence, not native Windows OS or standalone full-Windows qualification. The Windows PE export set retains the same eight native normalizer RTTI/name metadata exports as an actual targeted MinGW build of `main` (`667dbde5131d30a7db7a22bf1147889cc1ee4ec7`), adding no native ICU exports. Fresh main merges cleanly and has no ICU source/data-path changes since tested base snapshot `b0a657ba1c2e6fffa1cbbce94720e384dcc6e665`. Deferred coverage limits: reverse enumeration count/close refusal is executed; next/unext refusal is checked by inspection. Guarded NUL input and read-only failed status execute, while explicit UTF-16 chunk boundaries and changed-status writes into read-only pages lack focused calendar assertions. No concurrent scheduling/performance, allocator-fault injection or sanitizer claim. Console ABI/data/defaults/clock equivalence, native Windows OS, macOS, titles, GPU output and FPS remain unverified. ICU cleanup/reconfiguration require no outstanding objects/concurrent use. Logs, native control, original NID failure, exact composition, review and overlap audit: https://gist.github.com/IvanFogel/526e1a509c55f4c1c632e3128f5a4c55 <!-- 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 --> #19635 (transitively #19628 and #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:03:24 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

The review covered the changed runtime and build paths, but not every file in the submitted integration refresh, so a formal approval is not justified.

What I ran

Reviewed head 6fbf946a5017e6cf4e267fd1a280ecfac0807604. No build or test commands were run; the Linux and MinGW-under-Wine results below are reported in the PR description, not independently verified here.

Results

Check Result Note
Source inspection passed Targeted runtime and build paths
Linux and Wine tests not run Results are author-reported
Native Windows and console not run Not reported as tested

Findings

Blocking

None found in the inspected paths.

Non-blocking

  • core/libs/prx/libSceIcu/BreakIterator.cpp:95 rejects index == count only when count > 0, then passes that index to ubrk_getAvailable_78. When the locale list is empty, the boundary index is still out of range; the fallback enumeration does not establish that it is valid. Consider handling index >= count consistently after validating the intended API behavior.

Not verified

The prepared bundle lists all 55 changed files as included, but this review read only a subset: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, cmake/Icu.cmake, cmake/IcuData.cmake, core/libs/prx/libSceIcu/BreakIterator.cpp, core/libs/prx/libSceIcu/Calendar.cpp, core/libs/prx/libSceIcu/Configuration.cpp, core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp, core/libs/prx/libSceIcu/NumberingSystem.cpp, and core/libs/prx/libSceIcu/CMakeLists.txt. The remaining changed files were not inspected. Test results, native Windows behavior, console behavior, and title behavior were not independently verified.

To get this to a good state

Nothing is required. Optional: clarify the intended ubrk_getAvailable behavior for the empty-list boundary case and add a focused test if it is reachable.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5988757963 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-5988757963). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T07:03:24Z. **Review:** COMMENTED --- # Reviewed — comments The review covered the changed runtime and build paths, but not every file in the submitted integration refresh, so a formal approval is not justified. ## What I ran Reviewed head `6fbf946a5017e6cf4e267fd1a280ecfac0807604`. No build or test commands were run; the Linux and MinGW-under-Wine results below are reported in the PR description, not independently verified here. ## Results | Check | Result | Note | |---|---|---| | Source inspection | passed | Targeted runtime and build paths | | Linux and Wine tests | not run | Results are author-reported | | Native Windows and console | not run | Not reported as tested | ## Findings ### Blocking None found in the inspected paths. ### Non-blocking - `core/libs/prx/libSceIcu/BreakIterator.cpp:95` rejects `index == count` only when `count > 0`, then passes that index to `ubrk_getAvailable_78`. When the locale list is empty, the boundary index is still out of range; the fallback enumeration does not establish that it is valid. Consider handling `index >= count` consistently after validating the intended API behavior. ## Not verified The prepared bundle lists all 55 changed files as included, but this review read only a subset: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `cmake/Icu.cmake`, `cmake/IcuData.cmake`, `core/libs/prx/libSceIcu/BreakIterator.cpp`, `core/libs/prx/libSceIcu/Calendar.cpp`, `core/libs/prx/libSceIcu/Configuration.cpp`, `core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp`, `core/libs/prx/libSceIcu/NumberingSystem.cpp`, and `core/libs/prx/libSceIcu/CMakeLists.txt`. The remaining changed files were not inspected. Test results, native Windows behavior, console behavior, and title behavior were not independently verified. ## To get this to a good state Nothing is required. Optional: clarify the intended `ubrk_getAvailable` behavior for the empty-list boundary case and add a focused test if it is reachable.
MarcZX10 commented 2026-11-20 08:00:23 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change based on the code inspected; optional review coverage remains incomplete.

What I ran

Read the prepared description, commits, diff, manifest, and changed-file inventory for head 88b7b1345f91c6e359fe1978e12705ae00f7774e. Read the changed calendar implementation and targeted repository references through repo_read.py. No build or tests were run.

Results

Check Result Note
Prepared change bundle passed Description, commits, diff, manifest read
Targeted implementation review passed Calendar paths and references inspected
Build and tests not run Results in the description are author-reported
Full changed-file review not run Many added lines remain unread

Findings

Blocking

None identified in the inspected code.

Non-blocking

  • The review did not cover all changed files or all added lines. In particular, the date pattern, numbering system, data build, and their test implementations were not read, so this review does not establish correctness for those areas.

Not verified

  • Build and test results were not independently verified.
  • Changed files read: review/description.md, review/commits.md, review/manifest.json, review/diff.patch, review/README.md, and core/libs/prx/libSceIcu/Calendar.cpp lines 1–200.
  • Changed files not read: .gitignore, CONTRIBUTING.md, cmake/Icu.cmake, cmake/IcuData.cmake, cmake/IcuDataFilter.json, cmake/icu-host/CMakeLists.txt, core/libs/prx/libSceIcu/Availability.cpp, core/libs/prx/libSceIcu/BreakIterator.cpp, core/libs/prx/libSceIcu/BreakIterator.hpp, core/libs/prx/libSceIcu/CMakeLists.txt, core/libs/prx/libSceIcu/CalendarBackend.cpp, core/libs/prx/libSceIcu/CalendarBackend.hpp, core/libs/prx/libSceIcu/Configuration.cpp, core/libs/prx/libSceIcu/Data.cpp, core/libs/prx/libSceIcu/Data.hpp, core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp, core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.cpp, core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.hpp, core/libs/prx/libSceIcu/Enumeration.cpp, core/libs/prx/libSceIcu/Export.cpp, core/libs/prx/libSceIcu/NumberingSystem.cpp, core/libs/prx/libSceIcu/NumberingSystemBackend.cpp, core/libs/prx/libSceIcu/NumberingSystemBackend.hpp, core/libs/prx/libSceIcu/RecoveredInventory.cpp, core/libs/prx/libSceIcu/RecoveredInventory.hpp, core/libs/prx/libSceIcu/RecoveredSignatures.hpp, core/libs/prx/libSceIcu/include/Availability.hpp, core/libs/prx/libSceIcu/include/InventoryExports.hpp, core/libs/prx/libSceIcu/libSceIcu.hpp, all changed files under core/libs/prx/libSceIcu/tests/, docs/dev/BUILD.md, and the changed debt documents listed in review/README.md.
  • files.json was not available in the reader inventory; exclusions by rule were not verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5989309310 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-5989309310). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T08:00:23Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change based on the code inspected; optional review coverage remains incomplete. ## What I ran Read the prepared description, commits, diff, manifest, and changed-file inventory for head `88b7b1345f91c6e359fe1978e12705ae00f7774e`. Read the changed calendar implementation and targeted repository references through `repo_read.py`. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Prepared change bundle | passed | Description, commits, diff, manifest read | | Targeted implementation review | passed | Calendar paths and references inspected | | Build and tests | not run | Results in the description are author-reported | | Full changed-file review | not run | Many added lines remain unread | ## Findings ### Blocking None identified in the inspected code. ### Non-blocking - The review did not cover all changed files or all added lines. In particular, the date pattern, numbering system, data build, and their test implementations were not read, so this review does not establish correctness for those areas. ## Not verified - Build and test results were not independently verified. - Changed files read: `review/description.md`, `review/commits.md`, `review/manifest.json`, `review/diff.patch`, `review/README.md`, and `core/libs/prx/libSceIcu/Calendar.cpp` lines 1–200. - Changed files not read: `.gitignore`, `CONTRIBUTING.md`, `cmake/Icu.cmake`, `cmake/IcuData.cmake`, `cmake/IcuDataFilter.json`, `cmake/icu-host/CMakeLists.txt`, `core/libs/prx/libSceIcu/Availability.cpp`, `core/libs/prx/libSceIcu/BreakIterator.cpp`, `core/libs/prx/libSceIcu/BreakIterator.hpp`, `core/libs/prx/libSceIcu/CMakeLists.txt`, `core/libs/prx/libSceIcu/CalendarBackend.cpp`, `core/libs/prx/libSceIcu/CalendarBackend.hpp`, `core/libs/prx/libSceIcu/Configuration.cpp`, `core/libs/prx/libSceIcu/Data.cpp`, `core/libs/prx/libSceIcu/Data.hpp`, `core/libs/prx/libSceIcu/DateTimePatternGenerator.cpp`, `core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.cpp`, `core/libs/prx/libSceIcu/DateTimePatternGeneratorBackend.hpp`, `core/libs/prx/libSceIcu/Enumeration.cpp`, `core/libs/prx/libSceIcu/Export.cpp`, `core/libs/prx/libSceIcu/NumberingSystem.cpp`, `core/libs/prx/libSceIcu/NumberingSystemBackend.cpp`, `core/libs/prx/libSceIcu/NumberingSystemBackend.hpp`, `core/libs/prx/libSceIcu/RecoveredInventory.cpp`, `core/libs/prx/libSceIcu/RecoveredInventory.hpp`, `core/libs/prx/libSceIcu/RecoveredSignatures.hpp`, `core/libs/prx/libSceIcu/include/Availability.hpp`, `core/libs/prx/libSceIcu/include/InventoryExports.hpp`, `core/libs/prx/libSceIcu/libSceIcu.hpp`, all changed files under `core/libs/prx/libSceIcu/tests/`, `docs/dev/BUILD.md`, and the changed debt documents listed in `review/README.md`. - `files.json` was not available in the reader inventory; exclusions by rule were not verified. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-21 09:45:29 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

This review is incomplete because several changed files and their added lines were not inspected; the findings below are limited to the code read.

What I ran

Reviewed head f5721cbc93a3031776a83d2909910827c3140700. No commands or tests were run. Read the review description, commits, manifest, README, and portions of the diff; inspected Calendar.cpp and CalendarBackend.cpp at the pinned head. The file listing showed all changed files included, but most changed-file contents were not read.

Results

Check Result Note
Targeted source review not run Partial inspection only
Automated tests not run No test commands run
Full changed-file review not run Many changed files remain unread

Negative control

Not run; no tests were run.

Findings

Blocking

None identified in the code inspected; this is not a whole-change conclusion.

Non-blocking

None.

Sources

Inspected the prepared diff and the pinned-head calendar implementation and backend. No behavior claims beyond those inspected are made.

Not verified

The rest of the changed files, including most ICU wrappers, build and data-generation changes, tests, and documentation, were not inspected. No build, tests, native Windows run, or console behavior was verified.

To get this to a good state

Nothing is required for the inspected code. Complete review of the remaining changed files and run the relevant checks before making a formal approval decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004458239 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6004458239). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T09:45:29Z. **Review:** COMMENTED --- # Reviewed — comments This review is incomplete because several changed files and their added lines were not inspected; the findings below are limited to the code read. ## What I ran Reviewed head `f5721cbc93a3031776a83d2909910827c3140700`. No commands or tests were run. Read the review description, commits, manifest, README, and portions of the diff; inspected `Calendar.cpp` and `CalendarBackend.cpp` at the pinned head. The file listing showed all changed files included, but most changed-file contents were not read. ## Results | Check | Result | Note | |---|---|---| | Targeted source review | not run | Partial inspection only | | Automated tests | not run | No test commands run | | Full changed-file review | not run | Many changed files remain unread | ## Negative control Not run; no tests were run. ## Findings ### Blocking None identified in the code inspected; this is not a whole-change conclusion. ### Non-blocking None. ## Sources Inspected the prepared diff and the pinned-head calendar implementation and backend. No behavior claims beyond those inspected are made. ## Not verified The rest of the changed files, including most ICU wrappers, build and data-generation changes, tests, and documentation, were not inspected. No build, tests, native Windows run, or console behavior was verified. ## To get this to a good state Nothing is required for the inspected code. Complete review of the remaining changed files and run the relevant checks before making a formal approval decision.
MarcZX10 commented 2026-11-22 09:23:22 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

The reviewed head is 7435a196385e438768fb8752cfda7f3e47b6a7a0; this review is incomplete because I did not read every changed line or validate the build and runtime claims.

What I ran

No build or tests were run. I inspected the prepared description, commit list, manifest, diff excerpt, and changed-file listing through the pinned review reader.

Results

Check Result Note
Bundle inspection passed Prepared materials available
Changed-code review not run Full changed-line coverage incomplete
Build and tests not run No commands run

Findings

Blocking

None verified from the limited inspection.

Non-blocking

No code findings established.

Not verified

I read review/README.md, review/description.md lines 1–15, review/commits.md lines 1–100, review/manifest.json lines 1–100, and review/diff.patch lines 1–300. The changed-file listing shows 64 changed files, all marked included, but I did not read all their changed lines. The description's implementation, test, and integration claims are therefore not verified. No repository tests, build, or platform behavior were run.

To get this to a good state

Nothing is required. Optional: complete the changed-line review and run the relevant build and tests before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6011480729 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6011480729). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T09:23:22Z. **Review:** COMMENTED --- # Reviewed — comments The reviewed head is `7435a196385e438768fb8752cfda7f3e47b6a7a0`; this review is incomplete because I did not read every changed line or validate the build and runtime claims. ## What I ran No build or tests were run. I inspected the prepared description, commit list, manifest, diff excerpt, and changed-file listing through the pinned review reader. ## Results | Check | Result | Note | |---|---|---| | Bundle inspection | passed | Prepared materials available | | Changed-code review | not run | Full changed-line coverage incomplete | | Build and tests | not run | No commands run | ## Findings ### Blocking None verified from the limited inspection. ### Non-blocking No code findings established. ## Not verified I read `review/README.md`, `review/description.md` lines 1–15, `review/commits.md` lines 1–100, `review/manifest.json` lines 1–100, and `review/diff.patch` lines 1–300. The changed-file listing shows 64 changed files, all marked included, but I did not read all their changed lines. The description's implementation, test, and integration claims are therefore not verified. No repository tests, build, or platform behavior were run. ## To get this to a good state Nothing is required. Optional: complete the changed-line review and run the relevant build and tests before making a formal decision.
MarcZX10 commented 2026-11-22 21:55:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T21:55:57Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this change; the optional feedback is listed below.

What I ran

Reviewed head ae8e75c201ef639c114577fe543eec9a441bd311. No build or tests were run in this review. Read the prepared description, commits, manifest, diff, and targeted source ranges in Calendar.cpp, CalendarBackend.cpp, BreakIterator.cpp, IcuData.cmake, and CalendarBehavior.cpp. The manifest lists changed files, but the full file list and all changed-file bodies were not read.

Results

Check Result Note
Diff and targeted code review passed No concrete blocking defect found in inspected ranges.
Build and tests not run Reported runs are author-supplied.
Full changed-file review not run Most changed files were not inspected.

Findings

Blocking

None in the inspected code.

Non-blocking

  • The calendar registry retains each token until process teardown (Calendar.cpp:27, Calendar.cpp:55-61). This avoids stale-handle reuse, as the description acknowledges, but means repeated open/close cycles grow token storage for the process lifetime. The debt note records bounded live-handle storage and stale-handle distinction as the retirement criterion; consider tracking a bounded representation that satisfies both.

Not verified

The complete bodies of most changed files, the uninspected calendar code and callers, build integration, and test execution were not verified. The description reports Linux and MinGW/Wine results; those are author-reported, not runs performed here. No native Windows or console behavior was verified. No files.json contents were inspected; excluded files are therefore not enumerated here.

To get this to a good state

Nothing is required. Optional: consider a bounded token strategy that preserves stale-handle rejection.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6014735663 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6014735663). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-22T21:55:57Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this change; the optional feedback is listed below. ## What I ran Reviewed head `ae8e75c201ef639c114577fe543eec9a441bd311`. No build or tests were run in this review. Read the prepared description, commits, manifest, diff, and targeted source ranges in `Calendar.cpp`, `CalendarBackend.cpp`, `BreakIterator.cpp`, `IcuData.cmake`, and `CalendarBehavior.cpp`. The manifest lists changed files, but the full file list and all changed-file bodies were not read. ## Results | Check | Result | Note | |---|---|---| | Diff and targeted code review | passed | No concrete blocking defect found in inspected ranges. | | Build and tests | not run | Reported runs are author-supplied. | | Full changed-file review | not run | Most changed files were not inspected. | ## Findings ### Blocking None in the inspected code. ### Non-blocking - The calendar registry retains each token until process teardown (`Calendar.cpp:27`, `Calendar.cpp:55-61`). This avoids stale-handle reuse, as the description acknowledges, but means repeated open/close cycles grow token storage for the process lifetime. The debt note records bounded live-handle storage and stale-handle distinction as the retirement criterion; consider tracking a bounded representation that satisfies both. ## Not verified The complete bodies of most changed files, the uninspected calendar code and callers, build integration, and test execution were not verified. The description reports Linux and MinGW/Wine results; those are author-reported, not runs performed here. No native Windows or console behavior was verified. No `files.json` contents were inspected; excluded files are therefore not enumerated here. ## To get this to a good state Nothing is required. Optional: consider a bounded token strategy that preserves stale-handle rejection.
MarcZX10 commented 2026-11-25 12:03:45 +00:00 (Migrated from github.com)

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

Review: APPROVED


Reviewed — looks good

The inspected changes match the stated behavior, and the recorded Linux and MinGW/Wine test results are author-reported rather than runs performed in this review.

What I ran

Reviewed head a917f0902d6d25e1c68d2c805b8cf7f4367f4ee1 using the prepared diff and pinned reader. No build or tests were run. I read the description, commits, full diff, and the included full text for the changed calendar, break-iterator, configuration, data, date-pattern, and numbering implementation files and selected tests. The manifest marks all changed files as included; no files.json was available in the review folder.

Results

Check Result Note
Diff and description passed Claims checked against inspected hunks
Targeted implementation review passed No concrete defect identified
Build and tests not run Results in description are author-reported
Excluded changed files not applicable Manifest marks changed files included

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build or tests were run in this review. Native Windows, console, and title execution are not confirmed here. I did not read every included changed file; specifically, several test bodies, build configuration and documentation changes, and small header changes were not inspected in full. The claims they support are not independently verified.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6057258449 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6057258449). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T12:03:45Z. **Review:** APPROVED --- # Reviewed — looks good The inspected changes match the stated behavior, and the recorded Linux and MinGW/Wine test results are author-reported rather than runs performed in this review. ## What I ran Reviewed head `a917f0902d6d25e1c68d2c805b8cf7f4367f4ee1` using the prepared diff and pinned reader. No build or tests were run. I read the description, commits, full diff, and the included full text for the changed calendar, break-iterator, configuration, data, date-pattern, and numbering implementation files and selected tests. The manifest marks all changed files as included; no `files.json` was available in the review folder. ## Results | Check | Result | Note | |---|---|---| | Diff and description | passed | Claims checked against inspected hunks | | Targeted implementation review | passed | No concrete defect identified | | Build and tests | not run | Results in description are author-reported | | Excluded changed files | not applicable | Manifest marks changed files included | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No build or tests were run in this review. Native Windows, console, and title execution are not confirmed here. I did not read every included changed file; specifically, several test bodies, build configuration and documentation changes, and small header changes were not inspected in full. The claims they support are not independently verified. ## To get this to a good state Nothing is required.
ligmaSec commented 2026-12-03 19:40:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T19:40:52Z.

Review: COMMENTED


ucal_open rejects a null locale in ReadLocale, and the added CalendarBehavior fixture requires that call to throw. This head already resolves a null locale against the configured guest locale for unumsys_open. Can the calendar wrapper use the same guest locale accessor and compare the resulting calendar with an explicit locale in the test? The time zone is a separate default. ICU also documents a null zone as a request for the current default, which should be covered when the guest timezone source is established. ICU 68 calendar API

Source review at a917f0902d. A trial merge onto 484e8e6b77 conflicts in RightToLeft.cpp, so I could not run the integrated calendar fixture on that base.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6177150332 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6177150332). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T19:40:52Z. **Review:** COMMENTED --- `ucal_open` rejects a null locale in `ReadLocale`, and the added `CalendarBehavior` fixture requires that call to throw. This head already resolves a null locale against the configured guest locale for `unumsys_open`. Can the calendar wrapper use the same guest locale accessor and compare the resulting calendar with an explicit locale in the test? The time zone is a separate default. ICU also documents a null zone as a request for the current default, which should be covered when the guest timezone source is established. [ICU 68 calendar API](https://github.com/unicode-org/icu/blob/84e1f26ea77152936e70d53178a816dbfbf69989/icu4c/source/i18n/unicode/ucal.h#L724-L748) Source review at `a917f0902d`. A trial merge onto `484e8e6b77` conflicts in `RightToLeft.cpp`, so I could not run the integrated calendar fixture on that base. AI-assisted: yes.
MarcZX10 commented 2026-12-04 09:55:06 +00:00 (Migrated from github.com)

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

Review: COMMENTED


Reviewed — comments

This review is incomplete because only selected implementation snapshots were inspected, so a formal decision is not justified.

What I ran

Inspected the prepared diff and metadata for head b0e98b166ba9846092cbcaf909bcc0d056dbe8ed. Attempted pinned source reads with repo_read.py; its logging step failed because the run directory is read-only. No tests or builds were run.

Results

Check Result Note
Diff and metadata inspection passed Prepared review inputs inspected
Pinned reader failed Read logging hit read-only storage
Tests and builds not run No commands run

Findings

Blocking

None verified in the inspected code.

Non-blocking

None.

Not verified

The prepared snapshots inspected were Calendar.cpp, CalendarBackend.cpp, DateTimePatternGenerator.cpp, BreakIterator.cpp, Data.cpp, Configuration.cpp, Enumeration.cpp, and NumberingSystem.cpp. The remaining changed files listed under reviewed in files.json were not inspected, including the ICU data build configuration and tests. No runtime, platform, or console behavior was verified.

To get this to a good state

Nothing is required. Optional: complete source review of the uninspected changed files before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6186911790 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/19645#pullrequestreview-6186911790). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-04T09:55:06Z. **Review:** COMMENTED --- # Reviewed — comments This review is incomplete because only selected implementation snapshots were inspected, so a formal decision is not justified. ## What I ran Inspected the prepared diff and metadata for head `b0e98b166ba9846092cbcaf909bcc0d056dbe8ed`. Attempted pinned source reads with `repo_read.py`; its logging step failed because the run directory is read-only. No tests or builds were run. ## Results | Check | Result | Note | |---|---|---| | Diff and metadata inspection | passed | Prepared review inputs inspected | | Pinned reader | failed | Read logging hit read-only storage | | Tests and builds | not run | No commands run | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking None. ## Not verified The prepared snapshots inspected were `Calendar.cpp`, `CalendarBackend.cpp`, `DateTimePatternGenerator.cpp`, `BreakIterator.cpp`, `Data.cpp`, `Configuration.cpp`, `Enumeration.cpp`, and `NumberingSystem.cpp`. The remaining changed files listed under `reviewed` in `files.json` were not inspected, including the ICU data build configuration and tests. No runtime, platform, or console behavior was verified. ## To get this to a good state Nothing is required. Optional: complete source review of the uninspected changed files before making a formal 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/19645:upstream-pr/19645'
git switch 'upstream-pr/19645'

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/19645'
git switch 'upstream-pr/19645'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/19645'
git switch 'upstream-pr/19645'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/19645'
git switch 'main'
git merge --squash 'upstream-pr/19645'
git switch 'main'
git merge --ff-only 'upstream-pr/19645'
git switch 'main'
git merge 'upstream-pr/19645'
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!19645
No description provided.