Skip to content

feat(libSceNKWebKit): implement geometry enclosure helpers - #14138

Open
CobaltMoth482 wants to merge 8 commits into
boykopovar:mainfrom
CobaltMoth482:feat/webcore-geometry-readers
Open

CobaltMoth482 wants to merge 8 commits into
boykopovar:mainfrom
CobaltMoth482:feat/webcore-geometry-readers

Conversation

@CobaltMoth482

Copy link
Copy Markdown
Contributor

What

Implements six existing libSceNKWebKit geometry stubs in one topic: findIntersection, both enclosingIntRect overloads, enclosingLayoutRect, makeMapBetweenRects, and encloseRectToDevicePixels.

Also routes the two existing integer AffineTransform::mapRect / TransformationMatrix::mapRect callers through the same enclosure implementation, removing a duplicate that overflows signed endpoint subtraction. The exact baseline triggers UBSan for both callers; the candidate returns the source-compatible saturated extent. These two fixes are not counted as new exports.

Behavior follows revision-pinned official WebKit GeometryUtilities.cpp, FloatRect.cpp, LayoutRect.cpp and AffineTransform.cpp, including subordinate clamping/fixed-point rules. All 28 checked source sections, including the six bodies and both caller compositions, match the project's existing public-source reference port after whitespace/comments normalization; official upstream files were used for the final reference-execution rerun. This is source-equivalence evidence, not console binary provenance. Both integer-map caller compositions are confirmed in the pinned TransformationMatrix.cpp and AffineTransform source. Uses existing asserted value layouts; no new dependency or opaque object model. Console ABI/behavior remains unverified and is documented as debt.

All six names/NIDs were independently recomputed and matched to exact name/NID pairs in the pinned public 3.20 inventory; that inventory alone does not establish prototypes.

Repository classifier: 1,150 / 11,248 → 1,156 / 11,248 (+6, unchanged denominator; 10.2240% → 10.2774%, +0.05334 percentage points). No game-unblock or performance claim.

Tested

Linux x86-64 / GCC 14.2.0. Candidate 2873edb871327c8be57ef25420afa8178c0b38b0 on main 0836dfdf4fecb1e0326100c490476e15d3a74da5 (2026-10-31).

  • Strict optimized behavioral fixture passes; exercises all six helpers plus both existing integer map callers, inputs unchanged, output aliases, rounding/saturation, signed zero, NaN/infinity and non-finite values.
  • Independent review: 3,487,708 total differential assertions pass against a separately written model and exact pinned WebKit function bodies with scoped type shims. Includes all-bit cases, 3,204 structured finite boundaries, 12 scales, near-parallel determinants, all four output aliases, and 5,400 transform cases per integer-map caller. The caller oracle checks pinned enclosure composition using the existing float mapping, not the entire transform algorithm. NaNs are compared by classification, not payload; this is not a full WebKit build.
  • The same differential coverage passes ASan/UBSan/float-cast-overflow; eleven independent-oracle mutants are detected. The actual CMake-built module also passes all 3,487,708 checks using lazy loading for unrelated unresolved dependencies.
  • ASan/UBSan/float-cast-overflow fixtures pass (leak detection disabled). Baseline caller regressions fail; fixed callers pass. Changed translation units pass strict warnings; the combined standalone test suppresses one preexisting unused-function warning in unchanged WebCoreGeometry.cpp.
  • Actual NKWebKit, Jsc and pinned QuickJS sources build through their module CMake files in an external focused harness; original geometry and new geometry-access CTests pass (2/2). The harness substitutes an interface for unrelated guest libc and permits unresolved unrelated symbols, so this is not a full-product or guest-loader link validation.
  • Linux GCC Microsoft-ABI caller to APS5 SysV-export bridge exercises all six return/argument shapes. This is not Windows execution.
  • Public-header audit: 394 libraries / 24,929 exports; standalone headers and unique declaration coverage pass. Conventions and whitespace checks pass.
  • Full-product configuration blocked at CMakeLists.txt:534 by unavailable XRandR development support with the pinned SDL submodule initialized. Guard not disabled. No full product build/CTest, Windows, title/homebrew or console execution; maintainer full CI remains needed.

Overlap and merge ordering

Required tools/pr_overlap.py scanned 1,684 open PRs and found nine shared-file peers; it exited 2, not a clean pass. Manual review and 44 base-vs-candidate controls across 22 shared files found no duplicate functions/NIDs or new-file collisions, including both modified integer-map callers. No peer touches WebCoreTransform.cpp.

Five peers (#13515, #13744, #13766, #13770, #13772) already conflict with main; this candidate adds no code/header conflict. Four peers (#13930, #13936, #13947, #13992) have genuine debt-counter-only conflicts: each changes the aggregate remaining-stub count independently. Whichever lands later must rebase and recompute the count while preserving both independent entries. No functional dependency and no combined-peer build; this branch is based directly on main.

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
  • 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: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Progress report (f1a7b02 → 7efb741)

📈 System libraries: 26.26% (+0.02%, +6 implemented functions)

✅ 6 implemented
Library Name
libSceNKWebKit _ZN7WebCore16enclosingIntRectERKNS_10LayoutRectE
libSceNKWebKit _ZN7WebCore16enclosingIntRectERKNS_9FloatRectE
libSceNKWebKit _ZN7WebCore16findIntersectionERKNS_10FloatPointES2_S2_S2_RS0_
libSceNKWebKit _ZN7WebCore19enclosingLayoutRectERKNS_9FloatRectE
libSceNKWebKit _ZN7WebCore19makeMapBetweenRectsERKNS_9FloatRectES2_
libSceNKWebKit _ZN7WebCore25encloseRectToDevicePixelsERKNS_9FloatRectEf

Changed libraries (implemented exports)

Library Before After Change
libSceNKWebKit 1289/11248 (11.46%) 1295/11248 (11.51%) +0.05%

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

Reviewed exact head c4b9ee6ea07d15974779703baf58666d09185b53 against PR base 0836dfdf4fecb1e0326100c490476e15d3a74da5; the Windows build and changed geometry test passed, and I found no blocking source issue.

What I ran

Environment: Linux x86_64, Python 3.11.2, GCC 12.2.0. I did not build locally. The PR base is 0836dfdf4fecb1e0326100c490476e15d3a74da5; the stack checker previewed cleanly against current main at 9fe758d7520eb0c33f3df8bef539064b40bd523f.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14138
git diff --check 0836dfdf4fecb1e0326100c490476e15d3a74da5...c4b9ee6ea07d15974779703baf58666d09185b53
python3 tools/pr_abi_audit.py --base 0836dfdf4fecb1e0326100c490476e15d3a74da5 --head c4b9ee6ea07d15974779703baf58666d09185b53 --json
python3 tools/pr_stack_check.py 14138 --repo boykopovar/AnyPS5

Results

Check Result
Diff and conventions Passed
Export/declaration/NID lexical audit The temporary precheck checkout lacked the helper; rerunning it from the workspace passed with no findings (the audit does not certify runtime ABI)
Current-main merge preview Clean
Hosted Windows build Built libSceNKWebKit.prx and the changed geometry test executable (job)
Hosted Windows tests nkwebkit_webcoregeometryaccess passed; selected suite: 2,534 passed, 0 failed (job)
Test-quality heuristic Could not run in the temporary checkout because the helper script was absent; the new C++ test is registered and ran in hosted CI
Unedited check output

Conventions:

All conventions checks passed.

ABI audit summary from its JSON output:

{
  "status": "passed",
  "findings": []
}

Hosted Windows CTest log:

1851/2534 Test #2304: nkwebkit_webcoregeometryaccess ...........................................   Passed    0.01 sec
100% tests passed, 0 tests failed out of 2534

Sources

The implementations follow the pinned WebKit GeometryUtilities.cpp, FloatRect.cpp, LayoutRect.cpp, and AffineTransform.cpp. The changed implementations and tests are available at the reviewed head.

Not verified

Linux CI was skipped, and I did not run a local or full-product build, console execution, or console ABI verification. The PR records the console ABI and behavior as unverified; this review's build/test evidence is the hosted Windows job above.

@github-actions

github-actions Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 13515 core/libs/prx/libSceNKWebKit/Export.cpp
docs/dev/debt/libSceNKWebKit.md
PR 14478 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 15170 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 17550 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 17569 core/libs/prx/libSceNKWebKit/Export.cpp
PR 17771 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 17793 core/libs/prx/libSceNKWebKit/Export.cpp
PR 17886 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/WebCoreExports.hpp
docs/dev/debt/libSceNKWebKit.md
PR 17922 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 18377 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/WebCoreExports.hpp
core/libs/prx/libSceNKWebKit/src/WebCoreTransform.cpp
PR 18395 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
core/libs/prx/libSceNKWebKit/include/WebCoreExports.hpp
core/libs/prx/libSceNKWebKit/src/WebCoreTransform.cpp
PR 18414 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 18430 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 18442 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19678 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19823 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19830 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19839 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19841 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20291 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20304 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20314 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20316 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20326 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20404 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20771 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20938 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22449 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22450 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22456 core/libs/prx/libSceNKWebKit/Export.cpp
PR 22480 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22481 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22482 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22556 core/libs/prx/libSceNKWebKit/Export.cpp
PR 22557 core/libs/prx/libSceNKWebKit/Export.cpp
PR 22666 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22674 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22678 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22680 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22684 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22689 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22937 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 22946 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23056 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23061 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23083 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23084 core/libs/prx/libSceNKWebKit/Export.cpp
PR 23110 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23468 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23475 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23548 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/WebCoreExports.hpp
PR 23552 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23752 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23755 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23773 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23847 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 23860 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24007 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24019 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24022 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24023 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24135 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24230 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24238 core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24260 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24292 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24339 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24347 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24350 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24544 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24549 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24561 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24868 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24901 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 24980 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25139 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25140 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25153 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25158 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25160 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25530 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25548 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25549 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25565 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 25568 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26111 core/libs/prx/libSceNKWebKit/Export.cpp
PR 26117 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26122 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26130 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26380 core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26431 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26432 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26440 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26441 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26705 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 26740 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 27402 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 27573 core/libs/prx/libSceNKWebKit/Export.cpp
PR 27794 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 27940 core/libs/prx/libSceNKWebKit/Export.cpp
PR 27957 core/libs/prx/libSceNKWebKit/Export.cpp
PR 27986 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 27998 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 28005 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 28122 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28183 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28184 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28428 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28430 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28431 core/libs/prx/libSceNKWebKit/Export.cpp
PR 28450 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 28452 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 28556 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 28618 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 1, 2026
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 1, 2026

@CnRJay CnRJay left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Withdrawn. This review applied a title-ID/log requirement that is not in CONTRIBUTING (Unblocks: none is allowed), and it contained no code review.

@B-Howell

B-Howell commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@CobaltMoth482 Main moved and this PR conflicts in docs/dev/debt/libSceNKWebKit.md. I merged current main (b11c7bf) into your head (7efb741) as fabeece on https://github.com/B-Howell/AnyPS5/tree/unstick/pr-14138, keeping both sides in docs/dev/debt/libSceNKWebKit.md. nkwebkit_webcoregeometryaccess pass 3/3 on Windows and Linux. You can fetch it and fast-forward your branch: git fetch https://github.com/B-Howell/AnyPS5 unstick/pr-14138 && git merge --ff-only FETCH_HEAD. AI-assisted: yes.

@oneandonlydean oneandonlydean self-assigned this Nov 5, 2026
@kkkm-max

Copy link
Copy Markdown
Contributor

I integrated the six geometry exports from B-Howell’s branch with main 332d495633e2, where all six still threw. The two integer mapRect callers now use the same enclosure implementation and the existing WebCoreLayoutUnit.hpp helpers for clamping and saturating arithmetic. The debt fragment removes the six inventory rows.

The unchanged original WebCoreGeometryAccess.cpp test passed against the integrated geometry and transform sources on macOS arm64, with UBSan and -fno-sanitize-recover=all. The repository conventions check, debt-fragment validation and git diff --check passed. Windows and Linux were last tested on the earlier integration.

Your source branch can fast-forward to 3b972d4b2ff3. Seven-file diff against the tested main. AI-assisted: yes.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 7efb741f713a8e3eebca3ca6c1515eef87746ccf using the prepared diff and pinned repository reader. No commands or tests were run in this review; test results below are reported by the author.

Results

Check Result Note
Source and diff review passed Changed implementation and callers inspected
Author-reported test suite not run Reported passing; not independently verified
Full product build and console behavior not run Author reports these remain unverified

Findings

Blocking

None.

Non-blocking

  • Console ABI and behavior for the new geometry exports remain unverified, as documented in the PR. Host-side tests and pinned source comparisons provide useful evidence, but cannot establish console execution behavior.
  • The report notes four peer PRs with debt-counter-only conflicts; the landing PR should rebase and recompute the aggregate count as described.

Not verified

No tests were run. Full product build, Windows execution, guest-loader linking, and console behavior were not verified. Read: description.md, commits.md, manifest.json, diff.patch, WebCoreExports.hpp, WebCoreGeometryAccess.cpp, WebCoreTransform.cpp, and tests/WebCoreGeometryAccess.cpp. Excluded from the review folder and not read: Export.cpp, InventoryExports.hpp, docs/dev/debt/libSceNKWebKit.md, and files identified in files.json as excluded by rule.

To get this to a good state

Nothing is required. Optional: validate the new exports' ABI and behavior on console hardware, and recompute the debt counter after rebasing if one of the noted peer PRs lands first.

@ligmaSec ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the branch sources and built the focused tests against the existing Linux runtime. WebCoreGeometryAccess passed.

AI-assisted: yes.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs needs rebase Conflicts with main, rebase needed prx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants