Commit Graph
20 Commits
Author SHA1 Message Date
Dean 2609e1b118 Merge pull request #11234 from hyvvs/fix/stubgen-preserve-known-exports
fix(tools): preserve verified NID names in generated exports
2026-10-27 18:33:23 +13:00
Dean 5782d0fcf3 Merge pull request #10883 from natreal/fix/stubgen-reject-invalid-db-rows
fix(tools): reject malformed NID database rows in stubgen
2026-10-27 16:51:12 +13:00
hyvvs a0de29a1a6 fix(tools): preserve stubgen single-pass iterable inputs 2026-10-26 00:00:37 +01:00
hyvvs 0134af3f62 fix(tools): preserve verified NID names in generated exports 2026-10-25 23:22:36 +01:00
plexerPK 7259cf0a87 fix(tools): shorten stubgen temporary filenames 2026-10-25 15:25:23 +01:00
Nathan Desaindes df55659d08 fix(tools): reject malformed NID database rows in stubgen
parse_db silently skipped a row that had no symbol name and accepted any
text as a NID, so a malformed database produced Unknown stubs and
technical-debt lines for NIDs that did have a name, with no hint that the
database was at fault. Reject such rows with a path:line error, the way
parse_nids already rejects malformed NIDs.
2026-10-25 03:06:41 -04:00
emirplus ca6c91ff98 fix(tools): reconfigure streams with backslashreplace in stubgen 2026-10-22 18:56:17 +03:00
simonbronk e54ea3ea29 fix(stubgen): reject read-only outputs before replacement 2026-10-16 10:51:42 +02:00
Adrià 1d1c7615c3 Merge pull request #5767 from GalaxyGamingFR/fix/stubgen-func-name
fix(stubgen): report named stubs by __func__
2026-10-15 14:41:41 +02:00
Adrià f7a90d6fd6 Merge pull request #5721 from GalaxyGamingFR/fix/stubgen-module-prx-suffix
fix(tools): strip .prx suffix from stubgen module name
2026-10-15 14:16:14 +02:00
Adrià c2b55c66fb Merge pull request #4974 from ideabsassistenza/fix/stubgen-readonly-cleanup
fix(stubgen): clean read-only staged files after failure
2026-10-14 19:39:04 +02:00
GalaxyGamingFRandClaude Opus 5.5 25527f97a0 fix(stubgen): report named stubs by __func__
CONTRIBUTING.md says unimplemented exports call
NotImplemented_nid_no_patch(__func__), and 362 calls in core/ do. A stub
generated for a NID with a known name passed the NID string instead,
so its log line showed tNn5WBkta60 rather than sceAmprCommandBufferNop
and the output had to be edited by hand. Named stubs now use __func__;
stubs with an unknown name keep the NID, the only identifier they have.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012zyXkUzTZGh3nBwNMtrLaW
2026-10-14 02:50:53 -07:00
GalaxyGamingFRandClaude Opus 5.5 813a7f2691 fix(tools): strip .prx suffix from stubgen module name
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_012zyXkUzTZGh3nBwNMtrLaW
2026-10-14 01:43:14 -07:00
Adrià c02df171c8 Merge pull request #4545 from thuanquang/test/tools-python39-hard-links
test(tools): create hard links with os.link for Python 3.9
2026-10-13 16:30:44 +02:00
Simon 149aea5061 fix(stubgen): clean read-only staged files after failure 2026-10-13 09:45:59 +02:00
Adrià FranchandClaude 555099ae23 feat(tools): keep technical debt in one file per library
Co-Authored-By: Claude <[email protected]>
2026-10-12 20:38:17 +02:00
thuanquangandClaude Opus 5.5 4feeef6981 test(tools): create hard links with os.link for Python 3.9
Path.hardlink_to was added in Python 3.10, so import_audit and stubgen
errored on Python 3.9.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-12 22:05:04 +07:00
Adrià Franch 8b73fe7a76 fix(stubgen): give new output files the default umask permissions 2026-10-11 17:11:35 +02:00
MrMha 83be8dfb27 fix(stubgen): protect input files and keep stdout valid C++ 2026-10-11 18:23:13 +04:00
GalaxyGamingFRandClaude Fable 5.1 efbf36f637 fix(tools): make stubgen debt links resolve from docs/dev
stubgen emitted TechnicalDebt links as repo-relative paths, but
TechnicalDebt.md lives in docs/dev and the conventions checker resolves
links relative to it, so pasted lines failed CI. The derived default path
now carries a ../../ prefix; an explicit --td-path is used as given.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01V9UU71SP1UKGR51Sowbgmq
2026-10-11 11:58:25 +02:00