2 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 ca9bf37fb4 fix(app): Explorer verifies every checksum file type Hash Tool reads
ShellIntegration kept its own list of extensions, which had drifted from the one the app reads: .sha384sum and .b3sum
had no "Verify with Hash Tool" entry. It now uses ChecksumFileNames.KnownExtensions, and since the entries are written
again at every start, existing installations pick them up. Tests keep the Core list, the algorithms' extensions and
the macOS document types in build/macos/Info.plist in step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 09:17:31 +07:00
poli0981andClaude Opus 5.5 eaaf6198a4 feat(core): hashing engine, checksum files, safe folder walking, settings store
HashTool.Core now holds everything that does not need a UI:
- HashEngine reads a file once for any number of algorithms, overlaps disk
  reads with hashing (double buffering), uses BLAKE3's multi-threaded mode
  for large blocks and opens files with FileShare.ReadWrite|Delete so files
  still open in another program can be hashed.
- CRC-32 is now printed in the conventional big-endian order (CBF43926 for
  "123456789"); HashMatcher still accepts the reversed values written by 1.x.
- ChecksumParser reads GNU (sha256sum), BSD/--tag, xxhsum, SFV, bare 1.x
  sidecars and certutil output, including UTF-16 files; ChecksumWriter writes
  GNU, BSD, SFV, JSON and CSV (formula-injection safe). Network (UNC) and
  device paths inside checksum files are never resolved.
- ChecksumFileNames recognises checksum files by extension and *SUMS names
  instead of Enum.TryParse, which accepted numeric extensions like .001.
- FileEnumerator walks folders on a background-friendly lazy enumerator,
  skips unreadable folders and does not follow symbolic links or junctions
  (the old walker looped forever on link cycles).
- BatchProcessor runs small files in parallel and large files in their own
  lane, with per-file cancellation and timeouts, and reports every item once.
- SettingsStore saves atomically, recovers from corrupt files (keeps a .bak),
  clamps values, reads 1.x files and imports font_settings.json, which 1.1.x
  used as the only store for font choices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00