Commit Graph
27 Commits
Author SHA1 Message Date
MarcZX10 2318cf0b92 Merge remote-tracking branch 'upstream/main' into fix/env-reference-constant-names 2026-10-31 13:37:22 +00:00
MarcZX10 8a50bdda9a test(tools): cover shadowed names, commented declarations and header scope in env_reference 2026-10-31 13:33:37 +00:00
MarcZX10 32c2d8a155 test(tools): read the constant tests through the header they include 2026-10-31 13:33:32 +00:00
MarcZX10 fe8c5ff1d5 test(tools): cover environment reads through string constants
Adds regression tests for a constant-named read, for an identifier bound to two names (no read is reported), for a constant outside the prefixes or never read, and for --check passing when the constant's name has a row. The first and last fail on the parent commit (negative control: run against the pre-fix env_reference.py, the two tests fail), and the two guard tests pass on both.
2026-10-30 14:08:36 +00:00
SAKIBUL HUDA ONNAY 7adb9be781 fix(tools): escape pipes in the environment reference table 2026-10-30 19:35:30 +06:00
hyvvs 9c8405acc5 fix(tools): classify separate environment reads independently 2026-10-28 04:21:59 +01:00
hyvvs 3e008e91cf fix(tools): ignore non-code punctuation in environment reads 2026-10-26 23:06:14 +01:00
hyvvs 927206f854 fix(tools): classify environment reads by statement 2026-10-26 23:05:55 +01:00
hyvvs f118a2cbaa fix(tools): retain context for long multiline reads 2026-10-26 23:05:35 +01:00
hyvvs bef67fc555 fix(tools): detect long multiline environment reads 2026-10-26 23:05:35 +01:00
Baytowne 0434746d0a fix(tools): fail env_reference on a source file it cannot read 2026-10-24 21:34:51 -05:00
Dean e754f6c2b4 Merge pull request #10217 from emirplus/fix/env-reference-stream-reconfigure
fix(tools): reconfigure streams with backslashreplace in env_reference
2026-10-25 01:52:12 +13:00
Dean 3f017b7370 Merge pull request #10296 from MarcZX10/fix/env-reference-utf8-output
fix(tools): make environment reports Unicode-safe
2026-10-24 16:09:25 +13:00
Dean 0884fab4b1 Merge pull request #8995 from dantdmdarealguy/fix/env-reference-environmentnumber
fix(tools): read the EnvironmentNumber environment reader in env_reference
2026-10-24 12:40:38 +13:00
MarcZX10 da5c03c20f test(tools): normalize Windows report paths 2026-10-23 16:42:45 +00:00
MarcZX10 c242694d09 test(tools): cover Unicode environment reports 2026-10-23 16:31:10 +00:00
emirplus f498427789 fix(tools): reconfigure streams with backslashreplace in env_reference
Reconfigure sys.stdout and sys.stderr with utf-8 encoding and backslashreplace error handling at the entrypoint of main() so environment tables and check outputs do not fail on Windows terminals with non-UTF-8 code pages.
2026-10-23 17:20:12 +03:00
Kovalev Vladislav 87bc1aa04d fix(tools): recognize spaced environment reader calls 2026-10-23 20:00:11 +06:00
THEGABOALE 7eaf7b0fd5 fix(tools): detect multiline environment variable reads 2026-10-22 17:34:00 -06:00
dantdmdarealguy 103484d0be fix(tools): read the EnvironmentNumber environment reader in env_reference
The Windows crash report reads APS5_CRASH_STACK_BYTES through
EnvironmentNumber, which env_reference did not recognize, so the name had
no row in docs/dev/ENVIRONMENT.md and neither the reference check nor the
conventions check reported it. Recognize the reader as an integer reader
and add the row.
2026-10-21 04:01:18 -05:00
xXPBSXxandClaude Sonnet 5.5 f33e4158c0 fix(tools): reject a scan root that is not a directory in env_reference
A mistyped --root (or running from another directory) was skipped silently,
so --check reported every documented name as stale.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-21 07:44:52 +02:00
tkcm01andClaude Opus 5.5 39eea03e42 fix(tools): evaluate skip directories relative to scan root in env_reference
source_files compared every component of the absolute path against SKIP,
so a --root inside a directory named build or 3rdparty yielded no files.
Only components below the scan root are compared now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-20 13:23:33 -04:00
emirplus 65da8ac106 fix(tools): recognize _wgetenv wide environment readers in env_reference 2026-10-19 20:07:43 +03:00
011010 bb109df676 fix(tools): read the helper and wide-string environment readers 2026-10-18 02:13:39 -06:00
husari.orozco abec10fe2d fix(tools): catch the EnvInt and GetEnvironmentVariableA readers and take the review rows 2026-10-18 01:14:35 -06:00
husari.orozco a084b22f23 feat(tools): cover both prefixes and report the kind and default 2026-10-18 01:14:34 -06:00
husari.orozco 5a0fbcd9dd feat(tools): list the APS5_* environment names the code reads 2026-10-18 01:14:34 -06:00