feat(icu): implement explicit-zone calendar state and cloning #19645
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19645"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
fd7fe562ededand the converter-alias data and tests from #16971 atc1785962ce53. 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_setMillisanducal_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 is75a63ae7ab..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
5d822e137216f4e6ab7882d0a2a52beefc7be8b6is based on tested main4da77d3353c9c9f59f15436af86f44e4bb3ee074and retains the full original feature/donor history. The shared data prerequisite is #16971 atb35ad18125f8a8e28aded9bae403c2e6ed33afe7; #20395 at26e33a85262270bbeb619cc7f45edbb31ee84dc8supplies 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
961202e23bab980925553d800d6158b422a8599fmerges main050cdf95addcb05b1c663587ab921216707623feand preserves the original prerequisite histories. The full ICU data package now replaces both the old stub data and main's subset provider, leaving exactly oneicudt78_datdefinition 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
9c0d60cbfb6eand the complete ICU data prerequisite #16971 ateddb65df5f42. 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
4b96a568bfaeI 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 atb47b9b838db2. 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
ae8e75c201efagainst main8ce96faee7d2, 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_selectpassed on native Linux both on this exact candidate and on pristine main. The Wine executable failed on both atfcntlwhile reading the mode of pipe descriptor 1 (error=1). The earlier native Windows run on the PR integration revision reported exit0xc0000409forguest_select. The Wine run did not reproduce that Windows status.After the November 22 review, the file-access wrapper on
7435a196385epasses 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 atab382ee5829falso tests allocation after reconfiguring ICU. All 116 Linux and 116 MinGW/Wine guest ICU tests passed on main4c260ec7de72, along with the public-header and feature-export checks. Review · Pinned setterOn November 22, I integrated main
70cca973b49fand the break-iterator and ICU data prerequisite #16971 atf59b5fbe7fa2. 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 revision921ab52ff30d, 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_setFileAccessinf5721cbc93a3on main6f5c412af786. 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 setterAll 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
f49fd5b517e9with main6f18d49a833eand the updated break-iterator prerequisite #16971 atbdbfcb2c98fd. 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 on3a1b27b9d2e2. 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 NIDswHZwCpZVcGIandmCyTdtewGpkexactly 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
da31d1450cagainst main2bd7cdb8d1. 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 at54768514e6. Earlier test runs below are pinned to their respective commits.Earlier refresh at
b8adfb663aagainst mainfa0b7e3ce4. Tested the merged ICU field-position, resource, locale and converter work alongside this feature. This head includes the full current #16971 prerequisite at54768514e6. Its implementation, build configuration and tests are byte-identical to tested commit91d4d49698. 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 main47e2f3bca828b2a6ccbb3adf0bff33d559bfdd09. 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.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 main050cdf95addcb05b1c663587ab921216707623fe.nfkc.nrm,nfkc_cf.nrm,uemoji.icuandulayout.icu; normalization/property/null-locale/UTC-time regressions pass.guest_multibyte_localefailure 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, maine236a801f88183df3d215af0d450fb20baf9edc3. 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
4c976e99394db1546555ca53fd575912d4b819a8is 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
4da77d3353c9c9f59f15436af86f44e4bb3ee074passes 47/47 Linux cases; Wine passes 46/47 with the reproducedguest_icu_cstringnegative-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
f61793afa6d22732addd93e3b27553fc5deeab2fis 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 main1edac2f2eaa54c45dd96d632d989162c2b319647and 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
e97cd363273dff8e3c9b526e7b07425c43059ae6additionally 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 snapshotb0a657ba1c2e6fffa1cbbce94720e384dcc6e665.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
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)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
Findings
Blocking
None found in the inspected paths.
Non-blocking
core/libs/prx/libSceIcu/BreakIterator.cpp:95rejectsindex == countonly whencount > 0, then passes that index toubrk_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 handlingindex >= countconsistently 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, andcore/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_getAvailablebehavior for the empty-list boundary case and add a focused test if it is reachable.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 throughrepo_read.py. No build or tests were run.Results
Findings
Blocking
None identified in the inspected code.
Non-blocking
Not verified
review/description.md,review/commits.md,review/manifest.json,review/diff.patch,review/README.md, andcore/libs/prx/libSceIcu/Calendar.cpplines 1–200..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 undercore/libs/prx/libSceIcu/tests/,docs/dev/BUILD.md, and the changed debt documents listed inreview/README.md.files.jsonwas not available in the reader inventory; exclusions by rule were not verified.To get this to a good state
Nothing is required.
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; inspectedCalendar.cppandCalendarBackend.cppat the pinned head. The file listing showed all changed files included, but most changed-file contents were not read.Results
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.
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
Findings
Blocking
None verified from the limited inspection.
Non-blocking
No code findings established.
Not verified
I read
review/README.md,review/description.mdlines 1–15,review/commits.mdlines 1–100,review/manifest.jsonlines 1–100, andreview/diff.patchlines 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.
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 inCalendar.cpp,CalendarBackend.cpp,BreakIterator.cpp,IcuData.cmake, andCalendarBehavior.cpp. The manifest lists changed files, but the full file list and all changed-file bodies were not read.Results
Findings
Blocking
None in the inspected code.
Non-blocking
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.jsoncontents 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.
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
a917f0902d6d25e1c68d2c805b8cf7f4367f4ee1using 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; nofiles.jsonwas available in the review folder.Results
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.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T19:40:52Z.
Review: COMMENTED
ucal_openrejects a null locale inReadLocale, and the addedCalendarBehaviorfixture requires that call to throw. This head already resolves a null locale against the configured guest locale forunumsys_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 APISource review at
a917f0902d. A trial merge onto484e8e6b77conflicts inRightToLeft.cpp, so I could not run the integrated calendar fixture on that base.AI-assisted: yes.
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 withrepo_read.py; its logging step failed because the run directory is read-only. No tests or builds were run.Results
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, andNumberingSystem.cpp. The remaining changed files listed underreviewedinfiles.jsonwere 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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.