feat(libSceNKWebKit): implement PAL::KillRing #19305
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/19305"
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 B-Howell on 2026-11-13T02:48:44Z.
What
Implements the five
PAL::KillRingexports that threw:append,prepend,yank,startNewSequenceandsetToYankedState. They follow the PS5 WebKit source already pinned in the debt file. PlatformPlayStation.cmake buildstext/KillRing.cpp, and its non-Mac branch (KillRing.cpp) leaves four of the bodies empty and hasyankreturnString(). Hereyankreturns a nullNKWebKit::WtfAbi::Stringthrough the hidden result pointer, and the declarations move fromInventoryExports.hppto typed prototypes inWtfExports.hpp, next toPAL::SessionID.PAL::KillRingis an empty class (static_asserts on its size and emptiness). The five debt rows are removed, and a debt entry records that the behaviour has not been compared with a console module.Tested
Ubuntu WSL2, GCC, Release, Ninja.
f19e64ad6e4): with the new test and typed header but theExport.cppstubs still in place,nkwebkit_palkillringfails:Subprocess aborted,_ZN3PAL8KillRing4yankEv not implemented.4a4b198921a(main11392ec8ef9merged in):nkwebkit_palkillringpasses 3/3. It checks thatyankreturns a null impl before and afterappend/prepend, that the string arguments keep their contents and reference counts, and thatNotImplementedCallsdoes not change.2759978445e:nkwebkit_noops,nkwebkit_palsessionid,nkwebkit_wtfandnkwebkit_contenttypepass, andpublic_headerspasses 65/65. The merge brought no change near these files.tools/progress.py: libraries done goes from 15577 on main to 15582 (+5) out of 39251.dc7c599ecc6: the test no longer redeclaresNotImplementedCalls_nid_no_patchwithAPS5_VABI, which failed to compile on Windows GCC (report); it uses theGeneral.hppdeclaration, asForwarding.cppdoes.nkwebkit_palkillringpasses 3/3 on Linux; Windows not rebuilt locally.1f0b5e1cfee, an ordinary merge ofmainat82160bba912after #18538, conventions passed; doc-only conflict on the count line; count is main's stated 5949 minus this change's 5 removed stubs (5944). Main's code changes since the last merge are over 1,000 lines from this PR's hunks, so the earlier test results stand.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)🤖 Generated with Claude Code
Pull request closed