Skip to content

fix(tools): count function-try-block exports in progress.py - #701

Merged
oneandonlydean merged 1 commit into
boykopovar:mainfrom
adriadam10:tools/progress-function-try
Oct 5, 2026
Merged

oneandonlydean merged 1 commit into
boykopovar:mainfrom
adriadam10:tools/progress-function-try

Conversation

@adriadam10

Copy link
Copy Markdown
Collaborator

What

tools/progress.py counts exports defined as function-try-blocks (int APS5_VABI f(...) try { ... } catch (...)). DEFINITION only accepted { after the parameter list, so the 25 VideoOut exports written that way (src/Output.cpp 14, src/Event.cpp 7, src/Buffer.cpp 4) were neither done nor todo. The regex now allows an optional try before the body.

Libraries on current main: 2545/3213 → 2570/3238 (79.21% → 79.37%). libSceVideoOut: 8 → 33 done, 0 todo before and after.

#615 also edits tools/progress.py, in other lines (git merge-tree is clean).

Tested

Linux. python3 tools/progress.py on main before and after, then --compare of the two progress.json: +25 implemented, all of them the libSceVideoOut try-block exports (sceVideoOutOpen, sceVideoOutClose, sceVideoOutRegisterBuffers2, sceVideoOutSubmitFlip, the event add/delete pairs...), no other library changes. rg 'APS5_VABI.*\) *try' in core/libs/prx finds exactly those 25.

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 (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
  • AI-assisted: yes

Co-Authored-By: Claude <noreply@anthropic.com>
@oneandonlydean
oneandonlydean merged commit af96cad into boykopovar:main Oct 5, 2026
3 checks passed
@adriadam10
adriadam10 deleted the tools/progress-function-try branch October 6, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants