feat(libSceIcu): implement uloc_getCharacterOrientation #23784
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23784"
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 HanuBabbar on 2026-11-19T16:38:34Z.
What
uloc_getCharacterOrientationincore/libs/prx/libSceIcu/RightToLeft.cppand removes itsNotImplemented_nid_no_patchstub fromExport.cpp.ULayoutTypeanduloc_getCharacterOrientationincore/libs/prx/libSceIcu/include/InventoryExports.hpp.u_getPropertyValueEnum(UCHAR_SCRIPT, ...)/uscript_isRightToLeft(...), maps canonical RTL language codes without an explicit script toULOC_LAYOUT_RTL, and falls back toULOC_LAYOUT_LTR(matching CLDRroot) for other valid locales.ULOC_LAYOUT_UNKNOWNwithout mutating*statuswhenstatus == nullptr,U_FAILURE(*status), or locale parsing fails.uloc_isRightToLeftand its existing tests unchanged.uloc_getCharacterOrientationincore/libs/prx/libSceIcu/tests/RightToLeft.cpp.docs/dev/debt/changes/feat-icu-character-orientation.md.Tested
libSceIcu.prxandguest_icu_right_to_left_tests.exe;ctest --test-dir build -R guest_icu_right_to_left -Vpassed (1/1).ctestofguest_icu_right_to_leftpassed.python tools/check_conventions.py --base upstream/main— passed.python tools/debt_fold.py --check— passed.python tools/pr_overlap.py --branch HEAD— no overlap.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 PrivacyOnion on 2026-11-19T16:45:28Z.
Review: CHANGES_REQUESTED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
67000c0db5:tools/check_conventions.pyfailed.guest_icu_right_to_left_testsbuilt cleanly.guest_icu_right_to_left):Requesting changes for the points above.
Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-20T05:26:17Z.
Review: APPROVED
Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against
cc34cfed4c:tools/check_conventions.pypassed.guest_icu_right_to_left_testsbuilt cleanly.guest_icu_right_to_left):core/libs/prx/libSceIcu/Export.cpp,core/libs/prx/libSceIcu/RightToLeft.cpp,core/libs/prx/libSceIcu/include/InventoryExports.hppreverted tomain, the new tests do not build/link without the change; restoring it makes them build and pass.Looks Good To Me
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T05:52:24Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the reviewed implementation and tests support merging.
What I ran
Reviewed head
cc34cfed4c9d8aefecdad7ef9c06cde025e0f45dusingrepo_read.py. No build or tests were run in this review; test results in the PR description are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
No tests or build were run during this review. Console behavior is unverified. All changed files listed in
review/manifest.jsonwere read; no files were excluded by rule.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T14:08:43Z.
Review: APPROVED
Reviewed — looks good
The implementation and all five changed files were reviewed at head
0582a4514ae5f5da6a7d20c514af7a59b24dc90a; no blocking defects were found.What I ran
repo_read.py.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
Console behavior is explicitly unverified in the debt entry. Build, tests, convention checks, and debt checks were not independently run; their reported results come from the PR description. No files were excluded by the manifest.
To get this to a good state
Nothing is required.
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.