feat(libSceFreeTypeOt): declare missing exports and forward base APIs #12370
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12370"
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 kyon-eth on 2026-10-28T11:22:51Z.
What
Declare 96 missing callable exports with explicit NID aliases. Unverified signatures throw through
NotImplemented_nid_no_patch; these are import-resolution placeholders, not verified ABI prototypes or new runtime behavior.Retain one
libSceFreeTypedependency and add 68 typed Windows forwarders to its existing APIs, removing child throwing aliases that would shadow working providers. Non-Windows builds retain the base dependency without duplicating guest-object registries. ReserveFT_Done_Memoryfor #12321, the eight trigonometry/outline providers below for #11613, and 20 data exports whose guest layouts/lifetimes remain unknown. No fabricated globals or title unblock is claimed.Landing order
6fd0b948e6; its corner implementations and test registration are retained.FT_Cos,FT_Angle_Diff,FT_Sin,FT_Tan,FT_Vector_Unit,FT_Outline_Copy,FT_Outline_Decompose, andFT_Outline_Get_Orientation; no competing Windows forwarders are added here. After those prerequisites land, retain their provider sources, square-root adapter, public declarations and tests, and remove aliases shadowed by their implementations. Our commitment to follow #11878 imposes no wait on that author; it is not a claim of their endorsement.Tested
d4de5943f68, preserving the stream and square-root implementations. The four existing throwing placeholders for reserved exports remain until #11613 lands; a source-level comparison found no main NIDs removed. Three-way merge previews with the remaining prerequisites need landing-time reconciliation.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-10-28T11:25:22Z.
Review: DISMISSED
There is one repository-convention blocker in the new Windows forwarders.
ForwardExports.cppdefines 74APS5_VABIfunctions such asFT_Activate_SizeForward_nid_no_patch, but none of these names is declared in a header reachable throughlibSceFreeTypeOt.hpp;AdditionalExports.hpponly declares the throwing placeholders. I checked every forwarder against the library headers. CONTRIBUTING/AGENTS require exactly one declaration for every APS5_VABI export in a header reachable through the library umbrella. Please add the forwarder declarations to an appropriate header and include it from the umbrella, then rerun the convention check. The current conventions job is still queued, and source component/forwarding link checks are also pending; I have not reviewed the remaining NID inventory in full or approved.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T11:29:54Z.
Review: COMMENTED
Follow-up to my previous review: the requested declaration change is withdrawn; the NID helper aliases are internal forwarding targets, and the public API declarations are already reachable through the included base header. I found no source-level blocker in that point. This remains an incomplete review while I wait for the Windows link/build check and finish the NID inventory review.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T11:46:19Z.
Review: DISMISSED
I completed the exact-head source and check review for
927c5f91be644bc8aae254e0e391f530da617353: the 74 Windows forwarder targets resolve to the base FreeType declarations, the current Windows job passes, and conventions, intake, labels and report checks pass. I have one repository-integration blocker before approval. The PR body identifies confirmed shared-file conflicts with #11878 and #11426, while the checklist saysDepends on: none; I do not see a merge-order agreement with those authors recorded here.CONTRIBUTING.mdrequires authors of overlapping PRs to agree which goes first and record the order withDepends on. Please coordinate with both authors, update the dependency/order line, then rebase and refresh the checks as needed. No additional code defect found in this pass.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-28T11:49:21Z.
Review: DISMISSED
Checked the 74 Windows forwarders against libSceFreeType (every
*_nid_postfixtarget exists on main and the NIDs match the Ot aliases removed fromExport.cpp), the 96 throwing declarations and the debt entries; no code defect found. One blocker, the same one @MarcZX10 raised on this head:libSceFreeTypeOt/Export.cpp) and #11426 (libSceFreeTypeOt/Export.cpp,libSceFreeTypeOt/CMakeLists.txt,docs/dev/debt/libSceFreeTypeOt.md), both checked withgit merge-treeagainst this head. The body saysDepends on: none. Please agree the merge order with both authors, record it inDepends on, and rebase onto whichever lands first.Once that is done this is ready to go through the merge queue.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T06:10:39Z.
Review: DISMISSED
Re-checked — changes requested
What I checked
6fd0b948e67135bf20f3de7a642ed246ae6b4cb4against fetchedmain2960e9a6e7.Blocking integration items
The checklist correctly lists #11613, #11878, and #12473 as prerequisites, and the description says this PR will be rebased after they land. All three are still open. Their providers and stream calls are needed to determine the final set of throwing aliases and to validate that the 68 forwarders do not shadow implementations. Please hold this PR until the listed prerequisites land, then rebase and rerun the inventory/forwarding checks on the combined result. The current head is 315 commits behind fetched
main, so refresh it at that point as well.I am not asking for new work before the stated prerequisites land; I cannot approve an intentionally incomplete stack or treat the current source-only checks as integration validation.