Feat/complete one library #4046

Closed
ZekriDev1 wants to merge 18 commits from upstream-pr/4046 into main
ZekriDev1 commented 2026-10-11 22:04:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ZekriDev1 on 2026-10-11T22:04:50Z.


What

Implements 22 system-library functions on top of current main, raising coverage from 2973/3449 (86.20%) to 2995/3449 (86.84%) with no denominator change. Includes the sceKernelGetEventError fix (FreeBSD EV_ERROR semantics). Every function follows an already-accepted in-repo model with a focused test:

  • libkernel (1): event-error via EV_ERROR flag, null-checked like siblings
  • libSceNpEntitlementAccess (2), libSceNpSessionSignaling (4): offline SIGNED_OUT/UNAVAILABLE errors, like same-file siblings
  • libSceGameUpdate (1), libSceNpManager (2): null/id validation mirroring identical-signature siblings
  • libSceShare.native (4) + libSceShare (1): accepted no-capture model (+test/CMakeLists for native)
  • libSceIme (1), libSceHttp (0 now - yielded), libSceNet (1, synchronous-resolver abort no-op), libSceSystemGesture (3), libSceAudioOut (1), libSceNpWebApi2 (1)

Rebased onto current main; yielded SigninDialog, Http epoll work, and 4 entitlement queries to upstream implementations. NpAuth (3) and NpPartner001 (2) removed in favor of open #3604 and #3718; rebase planned after they merge.

Unverified on console and disclosed: gesture/share codes (in-repo precedent only), abort/accept semantics, id-minting where applicable.

Tested

  • python3 tools/check_conventions.py --base 43bc17f7ed --head HEAD -> pass
  • python3 -m unittest discover -s tools/tests -> 174 tests OK (2 skipped)
  • python3 tools/progress.py -> 2995/3449 (86.84%), +22, no regressions; shaders 1166/1166
  • Full cmake build, ctest, guest tests: not run - no toolchain (no cmake/compiler, submodules uninitialized). Requires a configured runner before merge.

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 in TechnicalDebt
  • No notes, investigation .md files or images added to the repository
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4822720519 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4046). Originally posted by [ZekriDev1](https://github.com/ZekriDev1) on 2026-10-11T22:04:50Z. --- ### What Implements 22 system-library functions on top of current main, raising coverage from 2973/3449 (86.20%) to 2995/3449 (86.84%) with no denominator change. Includes the sceKernelGetEventError fix (FreeBSD EV_ERROR semantics). Every function follows an already-accepted in-repo model with a focused test: - libkernel (1): event-error via EV_ERROR flag, null-checked like siblings - libSceNpEntitlementAccess (2), libSceNpSessionSignaling (4): offline SIGNED_OUT/UNAVAILABLE errors, like same-file siblings - libSceGameUpdate (1), libSceNpManager (2): null/id validation mirroring identical-signature siblings - libSceShare.native (4) + libSceShare (1): accepted no-capture model (+test/CMakeLists for native) - libSceIme (1), libSceHttp (0 now - yielded), libSceNet (1, synchronous-resolver abort no-op), libSceSystemGesture (3), libSceAudioOut (1), libSceNpWebApi2 (1) Rebased onto current main; yielded SigninDialog, Http epoll work, and 4 entitlement queries to upstream implementations. NpAuth (3) and NpPartner001 (2) removed in favor of open #3604 and #3718; rebase planned after they merge. Unverified on console and disclosed: gesture/share codes (in-repo precedent only), abort/accept semantics, id-minting where applicable. ### Tested - python3 tools/check_conventions.py --base 43bc17f7edfc32c38428fd8e4e6d8cc94c8cb31b --head HEAD -> pass - python3 -m unittest discover -s tools/tests -> 174 tests OK (2 skipped) - python3 tools/progress.py -> 2995/3449 (86.84%), +22, no regressions; shaders 1166/1166 - Full cmake build, ctest, guest tests: not run - no toolchain (no cmake/compiler, submodules uninitialized). Requires a configured runner before merge. ### Checklist - [x] Based on current main; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt - [x] No notes, investigation .md files or images added to the repository - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-11 22:12:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:12:52Z.


Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.

Pull request Conflicting files (lines on main) Same exports Same new files
#3604 core/libs/tests/GuestNpAuth.cpp
#3718 core/libs/prx/libSceNpPartner001/CMakeLists.txt
core/libs/tests/GuestNpPartner.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114437246 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4046#issuecomment-6114437246). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T22:12:52Z. --- <!-- pr-overlap --> Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in **Depends on**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #3604 | | | `core/libs/tests/GuestNpAuth.cpp` | | #3718 | | | `core/libs/prx/libSceNpPartner001/CMakeLists.txt`<br>`core/libs/tests/GuestNpPartner.cpp` |
github-actions[bot] commented 2026-10-11 22:16:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:16:48Z.


Thank you for your contribution! Authors with no pull requests merged into main can have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6114483691 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/4046#issuecomment-6114483691). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-11T22:16:48Z. --- Thank you for your contribution! Authors with no pull requests merged into `main` can have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!4046
No description provided.