2 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 4bd17a50f4 feat: hashtool CLI, app tests, release packaging inputs and benchmarks
- src/HashTool.Cli: `hashtool hash | verify | check | algorithms` on top of
  Core, NativeAOT-ready (3.9 MB native binary), coreutils-style output and
  exit codes (0 ok, 1 failed/mismatch, 2 usage or unreadable checksum
  file); Windows paths are written with '/' so lines need no escaping.
- tests/HashTool.Cli.Tests: commands, formats and exit codes.
- tests/HashTool.App.Tests (Avalonia headless): every page in several
  languages including RTL, a folder create-and-verify flow, translation
  integrity (keys, placeholders, Languages.json/resx/project wiring,
  satellite assemblies, unused keys), system language detection, command
  line parsing and helpers.
- tests/Compat/LegacyClient: drives Velopack 0.0.1298 (the library inside
  Hash Tool 1.1.x) against new release files for the upgrade gate.
- build/macos/Info.plist keeps the 1.x bundle identity and adds "Open
  With" document types; build/linux/hashtool.png is the AppImage icon.
- bench/HashTool.Benchmarks (BenchmarkDotNet) and a tool manifest pinning
  vpk 1.2.161, nuget-license and CycloneDX.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 13:16:40 +07:00
poli0981andClaude Opus 5.5 052ed6819f refactor: move the app into src/ and extract HashTool.Core
- src/HashTool.App: the Avalonia app (namespace HashTool.App). The assembly
  keeps the name CheckHash because every 1.x release shipped CheckHash(.exe)
  as Velopack's mainExe.
- src/HashTool.Core: UI-independent hashing code (HashService, HashType,
  ProgressStream, ProcessingStrategyService, AppConstants).
- tests/HashTool.Core.Tests: xUnit v3 characterization tests for the hashing
  service, including the current little-endian CRC-32 output.
- Directory.Build.props (shared settings, NuGet audit), central package
  management, global.json (SDK 10.0.4xx, Microsoft.Testing.Platform runner),
  .editorconfig, HashTool.slnx replace CheckHash.csproj/CheckHash.sln.
- Only the icon and logo are embedded as Avalonia resources; screenshots move
  to docs/images and are no longer compiled into the binary.
- Drop the unused generated Resources.Designer.cs.

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