31 Commits
Author SHA1 Message Date
poli0981andClaude Opus 5.5 ab2b93958e chore(release): 1.2.3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:14:45 +07:00
poli0981andClaude Opus 5.5 86848c004c docs: accessibility statement, issue form and contributor checklist
ACCESSIBILITY.md (goals, what works, supported environments, known
limitations, reporting and severity, contributor checklist), an
"Accessibility issue" form, a PR checklist item, keyboard shortcuts in
docs/USAGE.md, links from README and CONTRIBUTING, and the changelog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:11:50 +07:00
poli0981andClaude Opus 5.5 ec8489feb4 feat(app): screen reader names, Tab inside file rows, focus hand-off, contrast
- Every focusable control has a translated automation name: list rows by
  file name, buttons with an icon and a label, filters, number boxes (and the
  text box inside them), progress bars, switches and lists. Avalonia 12.1
  otherwise announces "Avalonia.Controls.StackPanel" or the row's view model.
- Page titles are level-1 headings, section titles level 2; navigation and
  page are landmarks; update/notice banners and the update status are polite
  live regions; decorative logos are hidden from assistive technology.
- RowTabNavigation: Tab moves through the controls of the focused list row,
  then leaves the list (ListBox is a single tab stop).
- FocusHandOff: focus moves to Cancel when COMPUTE ALL / VERIFY ALL hides
  itself, and back; same for a row's run/stop buttons.
- Number box spin buttons are no tab stops and hidden from screen readers;
  Up/Down change the value.
- Colour-blind light palette: error, warning and info statuses reach 4.5:1.
- Dialogs follow the UI scale and stay within the screen.
- AccessibilityTests: names on every page in two languages, headings, Tab
  in rows, focus hand-off, WCAG contrast of every palette.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 16:11:50 +07:00
poli0981andClaude Opus 5.5 f9e2a82eec chore(release): 1.2.2 (#37)
* chore(release): 1.2.2

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: 1.2.2 changelog names the System.CommandLine version

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 11:17:45 +00:00
poli0981andClaude Opus 5.5 b8826f542e feat(app): smoke test reports the .NET runtime it runs on
Release and CI logs then show which runtime a self-contained build
bundles, such as 10.0.14 after a security update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:12:31 +07:00
poli0981andClaude Opus 5.5 8465c84f6e build(deps): .NET 10.0.14 (SDK 10.0.403) and current packages and actions
.NET 10.0.14 is an out-of-band security release (Brotli decoder
CVE-2026-111497, SocketAsyncEventArgs CVE-2026-70197). global.json now
requires SDK 10.0.403, so self-contained builds bundle the patched runtime.

- Microsoft.Extensions.*, System.IO.Hashing 10.0.13 -> 10.0.14
- System.CommandLine 2.0.13 -> 2.0.14
- Meziantou.Analyzer 3.0.303 -> 3.0.317 (no new findings)
- github/codeql-action v4.39.0 -> v4.39.1, zizmor-action v0.7.1 -> v0.8.0
  (zizmor 1.31.1 is still the latest)

xunit.v3 stays on 3.2.2: Avalonia.Headless.XUnit 12.1.4 still fails with
xunit.v3 4.x (AvaloniaUI/Avalonia#22072 is open).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 18:12:31 +07:00
dependabot[bot] edfb1007bb build(deps): bump the actions group across 1 directory with 3 updates
Bumps the actions group with 3 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

Updates `github/codeql-action/analyze` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

Updates `github/codeql-action/upload-sarif` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-25 12:02:14 +07:00
dependabot[bot] 46a3767f6e build(deps): bump dotnet-sdk from 10.0.400 to 10.0.402
Bumps [dotnet-sdk](https://github.com/dotnet/sdk) from 10.0.400 to 10.0.402.
- [Release notes](https://github.com/dotnet/sdk/releases)
- [Commits](https://github.com/dotnet/sdk/compare/v10.0.400...v10.0.402)

---
updated-dependencies:
- dependency-name: dotnet-sdk
  dependency-version: 10.0.402
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-25 11:58:39 +07:00
dependabot[bot] d1c85687ad Bump ReferenceTrimmer from 3.5.9 to 3.5.13
---
updated-dependencies:
- dependency-name: ReferenceTrimmer
  dependency-version: 3.5.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-25 11:08:42 +07:00
poli0981andClaude Opus 5.5 469da888d7 ci: CodeQL advanced setup so Dependabot pull requests are analysed
CodeQL default setup never analyses Dependabot pull requests, so the
Analyze (actions) and Analyze (csharp) checks that the main ruleset
requires never report there and those pull requests cannot be merged.

The new CodeQL workflow runs the same analysis itself: actions, csharp
and python with build mode none, the default query suite, and default
setup's job names and /language: categories, so existing alerts carry
over. It runs on pushes to main, on pull requests to main (Dependabot's
included: code scanning accepts uploads from pull_request runs despite
their read-only token), weekly and on demand.

Default setup has to be switched off in the repository settings first;
while it is enabled, code scanning rejects uploads from workflows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 11:00:00 +07:00
poli0981andClaude Opus 5.5 c0ef92edfd chore(release): 1.2.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:05:16 +07:00
poli0981andClaude Opus 5.5 5445cc3bd6 fix(eng): stop at an outside releases folder where SonarCloud can see it
fail() exits, but the taint analysis cannot tell, so S8707 stayed open for assert-release.py; the check now raises SystemExit itself, like the other scripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 9e06e7cadd test(app): one Avalonia application for the whole test run
Avalonia 12 creates an application per test by default, so the app's
startup ran again for every test, and its asynchronous part (system font
loading, then applying the settings) could land on the dispatcher of a
later test: "The calling thread cannot access this object" on cleanup,
seen on macOS CI and now and then on Windows. The app itself has one
application per process, and so do the tests now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 54c9aa5ff2 docs: changelog for the fixes found while raising coverage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 a605a31478 test(app): async file reads in async tests, an assertion in every test
What SonarCloud's rules ask of test code too (S6966, S2699, S1656).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 9927dbba54 test(core,cli): algorithm names, file errors, size limits, checksum edge cases, CLI error paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 81b550642f test(app): dialogs, platform services, main window, developer console
MainWindowAccessor gets an internal constructor so tests can hand the
services a headless window of their own (the test application has no
desktop lifetime): dialogs are clicked and dismissed for real, and the
pickers, clipboard and launcher run against the headless platform.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 2f397c2ef3 test(app): update checks and downloads against a local Velopack feed
UpdateService gets an internal constructor that takes the Velopack update
manager and the HTTP client for release notes, so tests run checks and
downloads against Velopack's own SimpleFileSource and TestVelopackLocator
in a temporary folder: no network, and nothing is ever applied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 6ee71f2010 test(app): Settings page options, reset, theme and font sync, language and fonts
Tests that switch the UI language run in a collection of their own so they never race other tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 2b6b53d897 test(app): checksum files, sidecars, algorithm guessing and hash files on the Verify page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 c2cc15184d test(app): importing, filtering, list commands and batches of the file list
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 1acdd657cd fix(app): ZIP export keeps relative paths for folders sharing a name prefix
The common folder of the hashed files was found with a plain prefix test,
so "photos" and "photos-2024" counted as one inside the other and every
file of the second folder was stored with its absolute path. Tests cover
the Generate page's exports, ZIP, copy and error paths.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 509c506aa4 test(app): converters, highlight control, themes, logging, crash reports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 39262b4908 fix(app): a hash file dropped onto a Verify row fills in that row
The row handler was registered for the tunnel route, but drop events only
bubble, so it never ran: the file was added to the list as a new row
instead. It now sits on the list ahead of the handler that adds files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 22c3ed7451 test(app): shared fakes and a temporary data folder for every test
AppPaths resolves the data folder once, and only the first Avalonia test
used to point it at a temporary folder: a plain test running first would
have used the real settings folder. A module initializer now sets it
before any test. The dialog, storage and clipboard fakes move to
Fakes.cs, can be scripted, and never accept the restart as administrator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 614f851c26 fix: use the awaitable and cancellable APIs SonarCloud asked for
The CLI awaits its console writes (S6966) and a running row is stopped
with CancelAsync. Where an overload takes a cancellation token, the call
now says which token applies (S8949): the pipe listener stops with its
own token, while its retry delay, file import, the batch's Task.Run (the
processor watches the batch token itself) and the update check opt out
explicitly. No behaviour change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 08:02:08 +07:00
poli0981andClaude Opus 5.5 e1583ce411 fix(eng): scripts only read paths inside the repository
SonarCloud flags paths taken from the command line (S8707: an agent or a
mistyped argument could make the scripts read anything). The release
folder for assert-release.py and the changelog for release-notes.py must
be inside the repository; loc.py set also accepts JSON files in the
temporary folder, where they are usually written.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:51:46 +07:00
poli0981andClaude Opus 5.5 ad1f731421 ci: zizmor-action 0.7.1 for zizmor 1.31.1
zizmor-action 0.6.4 refuses versions it does not know ("Unknown version:
1.31.1"); 0.7.1 ships 1.31.1 as its default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 217d3b63d4 ci: analyze with SonarCloud in GitHub Actions
Automatic Analysis is off in SonarCloud; the new SonarCloud workflow runs
SonarScanner for .NET 12.0 around a real Release build, with Cobertura
coverage from the unit tests and from the smoke test run under
dotnet-coverage, and waits for the quality gate. Fork and Dependabot pull
requests get no SONAR_TOKEN, so their analysis is skipped instead of
failing.

Both tools join .config/dotnet-tools.json. Benchmarks are analysed as test
code, eng/ scripts stay out of coverage, and gate failures on main are
reported like other CI failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 4da9667975 ci: zizmor 1.31.1
The version is an action input, which Dependabot does not update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
poli0981andClaude Opus 5.5 31c39834fa build(deps): let Dependabot update the dotnet tools
Dependabot only reads a tool manifest from .config/dotnet-tools.json, so
vpk, nuget-license and CycloneDX were never proposed for updates. vpk is
grouped with the Velopack library it packs for, and manifest changes now
get the release dry run with the upgrade gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 07:25:27 +07:00
134 changed files with 6019 additions and 177 deletions

No files matched your search

@@ -22,6 +22,20 @@
"dotnet-CycloneDX"
],
"rollForward": false
},
"dotnet-sonarscanner": {
"version": "12.0.0",
"commands": [
"dotnet-sonarscanner"
],
"rollForward": false
},
"dotnet-coverage": {
"version": "18.12.0",
"commands": [
"dotnet-coverage"
],
"rollForward": false
}
}
}
}
+93
View File
@@ -0,0 +1,93 @@
name: Accessibility issue
description: Something is hard or impossible to use with a keyboard, a screen reader, magnification, high contrast or other assistive technology.
labels: [accessibility]
body:
- type: markdown
attributes:
value: >
Thanks for reporting this. You do not need to tell us about any disability; describing what gets in your way is
enough. See [ACCESSIBILITY.md](https://github.com/poli0981/HashTool/blob/main/ACCESSIBILITY.md) for what is
already known.
- type: textarea
id: barrier
attributes:
label: What gets in your way?
description: What were you trying to do, what did you expect, and what happened instead?
placeholder: "Example: With NVDA, the buttons on a file row are announced only as \"button\"."
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps to reproduce
placeholder: |
1. Open Verify Hash with the keyboard
2. Press Tab until ...
3. ...
validations:
required: true
- type: dropdown
id: severity
attributes:
label: How much does it affect you?
options:
- Critical - I cannot generate or verify a hash at all
- High - it works only with a workaround or with great effort
- Medium - annoying or inconsistent, but I can get it done
- Low - minor or cosmetic
validations:
required: true
- type: dropdown
id: technology
attributes:
label: Assistive technology
multiple: true
options:
- Keyboard only
- Narrator
- NVDA
- JAWS
- VoiceOver
- Orca
- Screen magnifier or zoom
- System high contrast or contrast theme
- Voice control or speech recognition
- Switch access
- Other
validations:
required: true
- type: input
id: technology-version
attributes:
label: Assistive technology version
placeholder: "NVDA 2026.3"
- type: input
id: version
attributes:
label: Hash Tool version
description: Shown on the About page, or `hashtool --version` for the command-line tool.
placeholder: "1.2.3"
validations:
required: true
- type: dropdown
id: os
attributes:
label: Operating system
options:
- Windows 11
- Windows 10
- macOS (Apple silicon)
- macOS (Intel)
- Linux
validations:
required: true
- type: textarea
id: settings
attributes:
label: Settings that may matter
description: Language, theme style, light or dark, font size, UI scale, system text size or contrast settings.
- type: textarea
id: media
attributes:
label: Screenshots or recordings
description: Optional. Drag files here; describe anything important that is only visible in them.
+1
View File
@@ -11,4 +11,5 @@
- [ ] `dotnet build HashTool.slnx -warnaserror` and `dotnet test --solution HashTool.slnx` pass
- [ ] `dotnet format HashTool.slnx --verify-no-changes` passes
- [ ] New or changed UI text is added to every language (`python -I eng/loc.py check` passes)
- [ ] UI changes work with the keyboard alone, have translated names for screen readers and don't rely on colour alone ([ACCESSIBILITY.md](../ACCESSIBILITY.md#for-contributors))
- [ ] User-visible changes are listed under `[Unreleased]` in CHANGELOG.md
+6 -1
View File
@@ -1,6 +1,8 @@
version: 2
updates:
# Projects, Directory.Packages.props and the tools in .config/dotnet-tools.json (Dependabot only looks for the tool
# manifest there, not in the repository root).
- package-ecosystem: nuget
directory: /
schedule:
@@ -19,7 +21,10 @@ updates:
microsoft:
patterns: ["Microsoft.Extensions.*", "System.*"]
tests:
patterns: ["xunit*", "Microsoft.Testing.*", "BenchmarkDotNet*"]
patterns: ["xunit*", "Microsoft.Testing.*", "BenchmarkDotNet*", "dotnet-coverage"]
# vpk packs the releases that the Velopack library in the app installs: keep both on the same version.
velopack:
patterns: ["Velopack", "vpk"]
ignore:
# xunit.v3 4.x breaks Avalonia.Headless.XUnit (AvaloniaUI/Avalonia#22072).
- dependency-name: "xunit.v3*"
+50
View File
@@ -0,0 +1,50 @@
name: CodeQL
# Advanced setup in place of CodeQL default setup, which never analyses Dependabot pull requests: the required
# `Analyze (...)` checks never reported there, so they could not be merged. Same languages, build mode, default query
# suite and `/language:` categories as default setup, so existing alerts carry over. Default setup must stay disabled
# in the repository settings: while it is enabled, code scanning rejects this workflow's uploads.
on:
push:
branches: [main]
# Dependabot pull requests too: code scanning accepts uploads from pull_request runs despite their read-only token.
pull_request:
branches: [main]
schedule:
- cron: "17 3 * * 3"
workflow_dispatch:
permissions: {}
concurrency:
group: codeql-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
analyze:
# Required checks of the main ruleset: keep the job names.
name: Analyze (${{ matrix.language }})
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
security-events: write
actions: read
strategy:
fail-fast: false
matrix:
language: [actions, csharp, python]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# No build, for C# too: the extractor installs the SDK from global.json and restores the packages itself.
- uses: github/codeql-action/init@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
languages: ${{ matrix.language }}
build-mode: none
- uses: github/codeql-action/analyze@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
category: "/language:${{ matrix.language }}"
+1 -1
View File
@@ -2,7 +2,7 @@ name: Notify CI Failures
on:
workflow_run:
workflows: [CI, Security, Scorecard]
workflows: [CI, Security, Scorecard, SonarCloud]
types: [completed]
permissions: {}
+2
View File
@@ -17,6 +17,8 @@ on:
pull_request:
paths:
- .github/workflows/release.yml
# vpk and CycloneDX versions.
- .config/dotnet-tools.json
- build/**
- eng/assert-release.py
- eng/release-notes.py
+1 -1
View File
@@ -31,6 +31,6 @@ jobs:
results_format: sarif
publish_results: true
- uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4.38.3
- uses: github/codeql-action/upload-sarif@9b3254085494b55a0f7c4c2b3d2d52cc712ce370 # v4.39.1
with:
sarif_file: results.sarif
+2 -2
View File
@@ -112,8 +112,8 @@ jobs:
run: go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.12 -color
- name: zizmor
uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4
uses: zizmorcore/zizmor-action@53290badfa369cb0bf7ad16342cb62c2fa47ac7b # v0.8.0
with:
version: 1.30.1
version: 1.31.1
config: .github/zizmor.yml
advanced-security: false
+114
View File
@@ -0,0 +1,114 @@
name: SonarCloud
# CI-based analysis (Automatic Analysis is turned off in SonarCloud): the C# is analysed during a real build, with
# coverage from the unit tests and the smoke test; scripts and workflows are analysed too. SonarCloud reports the
# quality gate on pull requests itself.
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: {}
concurrency:
group: sonarcloud-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
AVALONIA_TELEMETRY_OPTOUT: 1
jobs:
# Pull requests from forks and from Dependabot get no repository secrets: skip the analysis instead of failing it.
token:
name: token
runs-on: ubuntu-latest
timeout-minutes: 5
permissions: {}
outputs:
available: ${{ steps.check.outputs.available }}
steps:
- name: Check for SONAR_TOKEN
id: check
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
if [ -n "$SONAR_TOKEN" ]; then
echo "available=true" >> "$GITHUB_OUTPUT"
else
echo "available=false" >> "$GITHUB_OUTPUT"
echo "::notice::SONAR_TOKEN is not available to this run (fork or Dependabot pull request); analysis skipped."
fi
sonarcloud:
name: sonarcloud
needs: token
# Manual runs analyse main only: other branches would create separate SonarCloud branch analyses.
if: needs.token.outputs.available == 'true' && (github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main')
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# Full history: SonarCloud uses blame to tell new code from old.
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 10.0.4xx
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.nuget/packages
key: nuget-${{ runner.os }}-${{ hashFiles('**/*.csproj', 'Directory.Packages.props', 'Directory.Build.props', 'global.json') }}
restore-keys: nuget-${{ runner.os }}-
- name: Install tools
run: dotnet tool restore
# Coverage: the Cobertura reports of the unit tests and of the smoke test. eng/ holds the CI and release scripts
# (Python), for which no coverage is collected, so they stay out of the coverage figure.
# Third-party Roslyn analyzers (Meziantou, ReferenceTrimmer) already fail the CI build when they warn; their
# suggestions are not imported as SonarCloud issues.
- name: Begin analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
version=$(sed -n 's:.*<Version>\(.*\)</Version>.*:\1:p' Directory.Build.props)
dotnet sonarscanner begin /k:poli0981_HashTool /o:poli0981 /v:"$version" \
/d:sonar.host.url=https://sonarcloud.io /d:sonar.token="$SONAR_TOKEN" \
/d:sonar.cs.cobertura.reportsPaths="TestResults/**/*.cobertura.xml" \
/d:sonar.coverage.exclusions="eng/**" \
/d:sonar.cs.roslyn.ignoreIssues=true \
/d:sonar.qualitygate.wait=true
# No -warnaserror: CI enforces it, and here it would turn SonarCloud findings into build errors.
- name: Build
run: dotnet build HashTool.slnx -c Release
- name: Test
run: >
dotnet test --solution HashTool.slnx -c Release --no-build
--results-directory TestResults
--coverage --coverage-output-format cobertura
# The real app, headless: every page and language, hashing and verifying a file (see ci.yml).
- name: Smoke test with coverage
env:
HASHTOOL_DATA_DIR: ${{ runner.temp }}/smoke-data
run: >
dotnet coverage collect -f cobertura -o TestResults/smoke.cobertura.xml
"dotnet src/HashTool.App/bin/Release/net10.0/CheckHash.dll --smoke-test"
# Fails when the quality gate fails.
- name: End analysis
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: dotnet sonarscanner end /d:sonar.token="$SONAR_TOKEN"
+179
View File
@@ -0,0 +1,179 @@
# Accessibility
**Last reviewed: November 2026 (Hash Tool 1.2.3)**
Hash Tool should work for everyone who needs to check a file: with a keyboard alone, with a screen reader, with large
text or high contrast, and in their own language. This page describes what works today, what does not work yet, and how
to report a problem.
## Goals
The target is [WCAG 2.2](https://www.w3.org/TR/WCAG22/) level AA, where it applies to a desktop app (see
[WCAG2ICT](https://www.w3.org/TR/wcag2ict-22/) for how the guidelines map to non-web software) and where Avalonia, the UI
framework, makes it possible. This is a goal, not a claim of conformance: no formal audit has been done.
Priorities, in this order:
1. Every feature works with the keyboard.
2. Screen readers announce a sensible name and role for every control.
3. Text is readable: contrast, text size and themes.
4. The app speaks the user's language, including right-to-left languages.
5. The `hashtool` command-line tool works in any terminal and with screen readers.
## What works today
### Desktop app
**Keyboard.** Tab and Shift+Tab move between controls, the arrow keys move between rows of a file list, and Enter or
Space activates the focused control. In a file row, Tab moves through that row's controls (algorithm, hash, copy, save,
run, clear, remove) and then leaves the list. When a run starts, focus moves from **COMPUTE ALL** / **VERIFY ALL** to
**Cancel**, and back when it ends.
| Keys | Action |
|---|---|
| Ctrl+O (⌘+O on macOS) | Add files |
| Ctrl+Shift+O (⌘+Shift+O) | Add a folder |
| Ctrl+F (⌘+F) | Go to the search box |
| Ctrl+Enter (⌘+Enter) | Compute or verify all |
| Esc | Cancel the run; close a dialog |
| Delete | Remove the selected row |
| Enter, in a dialog | The highlighted button (OK, Yes) |
**Screen readers.** Every button, box, list and row has a translated name: icon buttons are named after their action
("Copy Hash", "Remove File") and rows after their file name. Page titles and section titles are headings, and the
navigation pane and the page are landmarks, so you can jump between them. The update and notice banners and the status
on the Update page are announced when they change. After a run with several files, a summary dialog opens and takes the
focus.
**Results in words, not only colour.** Every status is text: **VALID**, **MISMATCH!**, *Access denied*, *Timed out* and
so on. Search matches are shown in bold as well as in colour.
**Seeing.** You can choose light, dark or the system setting, and eight styles including **High Contrast** and
**Colour-blind** (Okabe–Ito colours). In every style, status text has a contrast of at least 4.5:1 and status icons at
least 3:1; automated tests check this. Settings has the font, a font size from 10 to 32, and a UI scale from 0.8× to
2.5× that also applies to dialogs.
**No mouse or drag and drop needed.** Everything you can drop has a button too: **Add Files…**, **Add Folder…**,
**Open Checksum File…**, and **Browse** for the expected hash of a row. You can also paste the expected hash.
**Language.** The app comes in 67 languages, with right-to-left layouts for Arabic, Persian, Hebrew, Dhivehi and Pashto.
It picks your system language automatically.
**Motion and sound.** The only animation is a 0.3-second colour fade when the theme changes. The app makes no sounds,
and nothing flashes.
### Command-line tool
- Plain text: one line per file, with no colours, spinners or progress bars that redraw the line.
- Exit codes: `0` everything OK, `1` a file failed or did not match, `2` usage error.
- Output for other programs: `hashtool hash -f json` or `-f csv`.
- `hashtool verify -q` prints only the problems.
- Errors go to standard error, in the usual `hashtool: <file>: <reason>` form.
- `hashtool <command> --help` explains each command. [docs/USAGE.md](docs/USAGE.md) lists every option.
## Supported environments
| Platform | Assistive technology | Status |
|---|---|---|
| Windows 10 and 11 | Keyboard only, Narrator | Tested by the maintainer with Hash Tool 1.2 (November 2026). The 1.2.3 fixes were checked with automated tests and with the UI Automation tree that screen readers read. |
| Windows 10 and 11 | NVDA, JAWS | Expected to work, since they read the same UI Automation tree as Narrator. Not tested regularly; reports are welcome. |
| macOS (Apple silicon and Intel) | VoiceOver | Not tested yet. Avalonia exposes the app to macOS accessibility. |
| Linux (x64 AppImage) | Orca | Not tested yet. Avalonia's AT-SPI support is newer and may be incomplete. |
| Any | Terminal with a screen reader or braille display | The command-line tool prints plain text. |
## Known limitations
These are known problems, with a workaround where one exists. Please report anything else.
- **Progress is not read aloud during a run.** Each row shows its status as text, and a run with several files ends
with a summary dialog. After a single file, move to its row to hear the result.
- **The app does not follow the system's contrast themes** (Windows contrast themes, macOS *Increase contrast*). Choose
*Settings → Theme style → High Contrast*. Standard controls such as buttons and the focus rectangle keep the colours
of the Fluent theme.
- **The app does not follow the system text size.** Use *Font size* and *UI scale* in Settings.
- **There is no "reduce motion" setting.** The only animation is the theme colour fade.
- **The Developer console uses fixed colours** (light text on a dark background) in every theme.
- **The Glassmorphism style and the translucent window background** (Windows and macOS) depend on what is behind the
window. Pick another style if text is hard to read.
- **Tooltips appear on mouse hover only.** On Verify, the computed hash is only in the tooltip of the status; Generate
shows it in a text box you can focus and copy.
- **Dialogs cannot be moved with the keyboard.** They open centred over the main window.
- **Hashes and paths are not forced left-to-right** in right-to-left layouts, so they may be displayed in the wrong
direction.
- **Shortcuts in tooltips say Ctrl on macOS too.** Use ⌘.
- **Most translations were made with AI assistance**, including the names screen readers announce. Corrections from
native speakers are welcome.
- **The command-line tool is in English only.**
- **VoiceOver and Orca have not been tested.**
## Reporting an accessibility problem
Open an issue with the
[Accessibility issue form](https://github.com/poli0981/HashTool/issues/new?template=accessibility.yml). If the form is
hard to use, a plain issue or a post in [Discussions](https://github.com/poli0981/HashTool/discussions) is fine too.
Helpful details:
- what you were trying to do, what you expected and what happened;
- the assistive technology and its version (for example NVDA 2026.3, or "keyboard only");
- your operating system and the Hash Tool version (shown on the About page);
- the steps to get there. A screenshot or recording helps but is optional.
You do not need to tell me about any disability. Security problems go through [SECURITY.md](SECURITY.md) instead.
### Severity
| Severity | Meaning | Example |
|---|---|---|
| Critical | You cannot generate or verify a hash at all. | A screen reader cannot reach **COMPUTE ALL**. |
| High | A task works only with a workaround or with great effort. | A setting can only be changed with the mouse. |
| Medium | Annoying or inconsistent, but you can get it done. | A button is announced with the wrong name. |
| Low | Minor or cosmetic. | A heading level is off. |
### What happens next
Hash Tool is maintained by one person, so there is no fixed response time. I read every report and reply as soon as I
can. Critical and High problems come before new features; if a fix takes a while, I will suggest a workaround. Fixes are
listed in [CHANGELOG.md](CHANGELOG.md) and the release notes, with credit if you would like it. If you are willing, I may
ask you to try a fix before it is released.
## For contributors
When you change the UI:
- Give every control that takes focus a translated name: `AutomationProperties.Name="{Binding Localization[Key]}"`.
This matters for icon buttons and for buttons whose content is a panel, which Avalonia otherwise announces by the
panel's type name ("Avalonia.Controls.StackPanel").
- Make new controls reachable with Tab and usable with Enter, Space and the arrow keys. A control that hides itself
while focused hands the focus on with `controls:FocusHandOff.Target`; lists with controls in their rows use
`controls:RowTabNavigation.IsEnabled`.
- Never use colour as the only signal. New colours in `ThemePalettes` keep 4.5:1 for text and 3:1 for icons.
- Page titles use `AutomationProperties.HeadingLevel="1"`; section titles use the `sectionTitle` class.
- Add new text to every language with `python -I eng/loc.py set` (see [CONTRIBUTING.md](CONTRIBUTING.md)).
Testing:
- **Automated:** `tests/HashTool.App.Tests/AccessibilityTests.cs` checks names on every page in two languages, headings,
Tab inside file rows, focus when buttons swap, and the contrast of every theme. CI runs it on Windows, macOS and Linux.
- **By hand, for UI changes:** one pass with the keyboard only, a quick check with a screen reader (Narrator:
Win+Ctrl+Enter; VoiceOver: ⌘+F5; Orca on Linux), UI scale 2.0, and the High Contrast style.
[Accessibility Insights for Windows](https://accessibilityinsights.io/docs/windows/overview/) shows what screen
readers see.
## Ownership and review
The maintainer, [poli0981](https://github.com/poli0981), is responsible for accessibility: triaging reports, keeping
this page up to date, and checking new releases. This statement is reviewed with every minor release and whenever a
report changes it.
## Feedback
Suggestions about this statement or these practices are welcome as an issue or a pull request. If something blocks you
right now, use [Reporting an accessibility problem](#reporting-an-accessibility-problem).
This statement follows the
[Open Source Accessibility Toolkit template](https://github.com/open-source-accessibility/accessibility-toolkit/blob/main/ACCESSIBILITY.md)
and the [accessibility best practices](https://opensource.guide/accessibility-best-practices-for-your-project/) of Open
Source Guides.
© 2026 poli0981. All rights reserved.
+42
View File
@@ -2,6 +2,48 @@
All notable changes to this project will be documented in this file.
## [1.2.3] - 2026-11-09
An accessibility update: Hash Tool now works better with screen readers and the keyboard alone, and its accessibility is documented.
### Added
- `ACCESSIBILITY.md` in the repository: what works with keyboards, screen readers and other assistive technology, known limitations, and how to report a problem — with a new *Accessibility issue* form.
- Page and section titles are headings, and the navigation pane and the page are landmarks, so screen reader users can jump between them. Update and notice banners are announced when they change.
### Fixed
- Screen readers announce every control by a translated name. Before, rows of the file lists were read as "HashTool.App.ViewModels.FileItem", buttons with an icon and a label (Export, Check Now, Install, Restart as Administrator, Open Data Folder, the links on About) as "Avalonia.Controls.StackPanel", the arrows of number boxes as "PathIcon", and the filters, number boxes, progress bars and several switches had no name.
- Tab now reaches the controls of a file row (algorithm, hash, copy, save, run, clear, remove) and then leaves the list; before, they could only be used with a mouse. The arrows of number boxes are no longer extra tab stops; Up/Down change the value.
- Keyboard focus moves to **Cancel** when **COMPUTE ALL** / **VERIFY ALL** starts a run, and back when the run ends, instead of getting lost.
- The light variant of the colour-blind theme shows error, warning and in-progress statuses with enough contrast (at least 4.5:1).
- Dialogs follow the UI scale set in Settings.
---
## [1.2.2] - 2026-10-26
A security update: the app and the command-line tool now ship with the .NET 10.0.14 runtime.
### Security
- Updated to the .NET 10.0.14 runtime (out-of-band security release with fixes for the Brotli decoder, CVE-2026-111497, and network sockets, CVE-2026-70197), which the self-contained downloads include.
### Changed
- Updated Microsoft.Extensions and System.IO.Hashing to 10.0.14, System.CommandLine to 2.0.14, and the code analyzers and CI actions (CodeQL, zizmor) to their latest versions.
---
## [1.2.1] - 2026-10-25
A small maintenance release: two fixes found while adding several hundred tests, and code analysis on every change.
### Fixed
- Verify: a hash file dropped onto a row's hash box fills in that row's expected hash again, instead of being added to the list as one more file.
- ZIP export: files from folders whose names share a beginning (such as `photos` and `photos-2024`) keep their relative paths instead of being stored with absolute ones.
### Security
- Every pull request and `main` are analysed by SonarCloud, including test coverage, and Dependabot now also keeps the build tools (vpk, licence and SBOM tools) up to date.
---
## [1.2.0] - 2026-10-15
A big rework under the hood: faster hashing, standard checksum files, a command-line tool, a Linux build and a long list of fixes.
+13
View File
@@ -33,6 +33,11 @@ Run the app or smoke test with `HASHTOOL_DATA_DIR` pointing at a scratch folder
- Every UI string goes through `Localization[Key]` / `L["Key"]` and must exist in all 67 resx files; add keys with
`eng/loc.py set` (JSON `{culture: {key: value}}`, `"neutral"` = English). App.Tests fail on missing, unused or
mismatched keys. Keep "Hash Tool" untranslated inside sentences.
- Accessibility (ACCESSIBILITY.md): every focusable control needs a translated name — `AutomationProperties.Name` on
icon buttons and on buttons whose content is a panel (Avalonia announces the panel's type name otherwise); rows of
lists get `controls:RowTabNavigation.IsEnabled`, buttons that swap places `controls:FocusHandOff.Target`; palette text
colours ≥ 4.5:1, icon colours ≥ 3:1. `AccessibilityTests` enforce this; the UI Automation tree of a running app is the
real check (Windows PowerShell 5.1 + `UIAutomationClient`).
- Core is UI-free and AOT/trim compatible: no reflection-based JSON (use the source-generated contexts), keep
`ConfigureAwait(false)` (Meziantou MA0004 is on for Core and CLI, off for App/tests).
- Culture: use invariant formatting for logs, file names and machine-readable output; the UI uses the selected culture.
@@ -43,6 +48,8 @@ Run the app or smoke test with `HASHTOOL_DATA_DIR` pointing at a scratch folder
workflow; `ci-ok` is the single required check.
- Don't embed C# or regex text containing backslashes in Python/bash heredocs — the escapes get mangled. Edit such
files with the editor tools.
- .NET tools (vpk, nuget-license, CycloneDX, dotnet-sonarscanner, dotnet-coverage) live in `.config/dotnet-tools.json`;
Dependabot doesn't read a root `dotnet-tools.json`. vpk and the Velopack package move together.
## Workflows
@@ -50,3 +57,9 @@ Run the app or smoke test with `HASHTOOL_DATA_DIR` pointing at a scratch folder
- `security.yml` — vulnerable packages, licences (eng/allowed-licenses.json), gitleaks, actionlint, zizmor.
- `release.yml` — manual (`workflow_dispatch`, version + publish) with an upgrade gate from 1.1.3; dry run on PRs that
touch release files. Discord notifications use the maintainer's `poli0981/.github` reusable workflows, pinned by SHA.
- `sonarcloud.yml` — SonarCloud CI analysis (Automatic Analysis is off; project `poli0981_HashTool`): scanner build,
Cobertura coverage from the tests and the smoke test (`dotnet-coverage`), "Sonar way" gate on new code. Skipped when
`SONAR_TOKEN` isn't available (forks, Dependabot). Issues and hotspots can't be resolved from here; fix them in code.
- `codeql.yml` — CodeQL advanced setup, mirroring default setup (actions, csharp, python; build mode none; default
suite; `/language:` categories) but also analysing Dependabot pull requests. The `Analyze (…)` job names are required
checks. Default setup must stay off: while it is on, it rejects uploads from workflows.
+9 -3
View File
@@ -7,14 +7,14 @@ This project is still small and solo-maintained, so keep it simple and direct
## Reporting bugs or requesting features
Open an [issue](https://github.com/poli0981/HashTool/issues/new/choose) and pick **Bug report** or **Feature request** — the form asks for what's needed (version, OS, steps, logs).
Open an [issue](https://github.com/poli0981/HashTool/issues/new/choose) and pick **Bug report**, **Feature request** or **Accessibility issue** — the form asks for what's needed (version, OS, steps, logs).
Questions and ideas are welcome in [Discussions](https://github.com/poli0981/HashTool/discussions).
Security problems: please **don't** open a public issue — see [SECURITY.md](SECURITY.md).
## Building and testing
You need the [.NET 10 SDK](https://dotnet.microsoft.com/download) (10.0.400 or newer) — `global.json` picks it up. Python 3 is only needed for the translation tool.
You need the [.NET 10 SDK](https://dotnet.microsoft.com/download) (10.0.403 or newer) — `global.json` picks it up. Python 3 is only needed for the translation tool.
```text
dotnet build HashTool.slnx -warnaserror # what CI runs; warnings are errors
@@ -34,7 +34,7 @@ How the code is organised: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
2. Keep the change focused; follow the existing style (the analyzers and `.editorconfig` help).
3. Add or update tests — hashing and checksum logic belongs in `HashTool.Core` with tests in `tests/HashTool.Core.Tests`.
4. Add a line under `## [Unreleased]` in [CHANGELOG.md](CHANGELOG.md) for anything users will notice.
5. Open the pull request and link the issue. CI builds and tests on Windows, macOS and Linux, and scans dependencies, licences, secrets and workflows; everything must be green before merging.
5. Open the pull request and link the issue. CI builds and tests on Windows, macOS and Linux, and scans dependencies, licences, secrets and workflows; everything must be green before merging. SonarCloud also analyses the pull request: new code should pass its quality gate (A ratings, at least 80% coverage, little duplication).
Commit messages follow [Conventional Commits](https://www.conventionalcommits.org/) (`fix(core): …`, `feat(app): …`, `docs: …`).
@@ -51,6 +51,12 @@ python -I eng/loc.py set changes.json # {"vi-vn": {"Key": "text"}, "neutral
New text needs a key in **every** file — the localization tests fail otherwise. Keep placeholders such as `{0}` exactly, and keep the product name "Hash Tool". Corrections from native speakers are very welcome; most translations were made with AI assistance.
## Accessibility
UI changes must keep the app usable with the keyboard alone and with screen readers: translated names for controls,
Tab reaching every control, no colour-only signals, and readable contrast. [ACCESSIBILITY.md](ACCESSIBILITY.md) has the
checklist, the automated tests that enforce it and how to check by hand.
## Code of Conduct
Please be respectful — see [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) for details.
+1 -1
View File
@@ -7,7 +7,7 @@
<ImplicitUsings>disable</ImplicitUsings>
<!-- Single source of truth for the product version (the release workflow also passes -p:Version=<tag>). -->
<Version>1.2.0</Version>
<Version>1.2.3</Version>
<Authors>poli0981</Authors>
<Company>poli0981</Company>
<Product>Hash Tool</Product>
+7 -7
View File
@@ -17,11 +17,11 @@
<ItemGroup Label="Application">
<PackageVersion Include="Blake3" Version="3.0.2" />
<PackageVersion Include="CommunityToolkit.Mvvm" Version="8.4.2" />
<PackageVersion Include="System.CommandLine" Version="2.0.13" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.13" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="10.0.13" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.13" />
<PackageVersion Include="System.IO.Hashing" Version="10.0.13" />
<PackageVersion Include="System.CommandLine" Version="2.0.14" />
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="10.0.14" />
<PackageVersion Include="Microsoft.Extensions.Logging" Version="10.0.14" />
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.14" />
<PackageVersion Include="System.IO.Hashing" Version="10.0.14" />
<PackageVersion Include="Velopack" Version="1.2.161" />
</ItemGroup>
@@ -30,8 +30,8 @@
</ItemGroup>
<ItemGroup Label="Analyzers">
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.303" />
<PackageVersion Include="ReferenceTrimmer" Version="3.5.9" />
<PackageVersion Include="Meziantou.Analyzer" Version="3.0.317" />
<PackageVersion Include="ReferenceTrimmer" Version="3.5.13" />
</ItemGroup>
<ItemGroup Label="Tests">
+7 -2
View File
@@ -2,6 +2,8 @@
[![Release](https://img.shields.io/github/v/release/poli0981/HashTool?sort=semver)](https://github.com/poli0981/HashTool/releases/latest)
[![CI](https://github.com/poli0981/HashTool/actions/workflows/ci.yml/badge.svg)](https://github.com/poli0981/HashTool/actions/workflows/ci.yml)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=poli0981_HashTool&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=poli0981_HashTool)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=poli0981_HashTool&metric=coverage)](https://sonarcloud.io/component_measures?id=poli0981_HashTool&metric=coverage)
[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/poli0981/HashTool/badge)](https://scorecard.dev/viewer/?uri=github.com/poli0981/HashTool)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![Downloads](https://img.shields.io/github/downloads/poli0981/HashTool/total.svg)](https://github.com/poli0981/HashTool/releases)
@@ -55,6 +57,8 @@ More: [About](docs/images/about.png) · [Update](docs/images/update.png) · [Dev
- **System integration**: Explorer right-click menu on Windows (optional), "Open With" on macOS, `--create`/`--verify` command-line arguments.
- Automatic update check (at most once a day, can be turned off) with release notes; updates install in place.
- Developer console with live logs.
- **Accessible**: works with the keyboard alone and with screen readers, statuses in words rather than colour alone,
and readable contrast in every theme — see [ACCESSIBILITY.md](ACCESSIBILITY.md).
> Hashing speed depends mostly on your drive (SSD vs HDD) and system load. Turn on *Optimize for hard drives* in Settings for spinning disks and network shares.
@@ -101,7 +105,7 @@ gh attestation verify HashTool-win-Setup.exe --repo poli0981/HashTool
## Building from source
Requires the [.NET 10 SDK](https://dotnet.microsoft.com/download) (10.0.400 or newer).
Requires the [.NET 10 SDK](https://dotnet.microsoft.com/download) (10.0.403 or newer).
```text
dotnet build HashTool.slnx
@@ -114,7 +118,8 @@ How the code is organised: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). How rel
## Contributing
Bug reports, translations and pull requests are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
Bug reports, translations and pull requests are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md). Something hard to
use with a keyboard, screen reader or other assistive technology? See [ACCESSIBILITY.md](ACCESSIBILITY.md).
## Legal Stuff
+1 -1
View File
@@ -14,7 +14,7 @@ Security fixes are released for the latest minor version only. Installed and por
### How releases are protected
- Releases are built, tested and published by GitHub Actions from the `main` branch; every release includes `SHA256SUMS`, CycloneDX SBOMs and [build provenance attestations](https://docs.github.com/actions/security-for-github-actions/using-artifact-attestations) (`gh attestation verify <file> --repo poli0981/HashTool`).
- Every pull request is checked for vulnerable NuGet packages, licences, leaked secrets and unsafe workflow patterns, in addition to CodeQL and OpenSSF Scorecard.
- Every pull request is checked for vulnerable NuGet packages, licences, leaked secrets and unsafe workflow patterns, in addition to CodeQL, SonarCloud and OpenSSF Scorecard.
- The apps are not code-signed yet, so Windows SmartScreen and macOS Gatekeeper may warn when they are first opened.
### Reporting a Vulnerability
@@ -4,6 +4,8 @@
<IsPackable>false</IsPackable>
<!-- Run manually, see docs/ARCHITECTURE.md (Benchmarks). -->
<Optimize>true</Optimize>
<!-- SonarCloud analyses benchmarks as test code: they are not product code and have no coverage. -->
<SonarQubeTestProject>true</SonarQubeTestProject>
</PropertyGroup>
<ItemGroup>
+10 -2
View File
@@ -14,7 +14,8 @@ build/ packaging inputs (macOS Info.plist, Linux icon)
Shared build settings: `Directory.Build.props` (version, nullable, analyzers, NuGet audit), `Directory.Packages.props`
(central package versions with transitive pinning), `global.json` (SDK and the Microsoft.Testing.Platform runner),
`dotnet-tools.json` (vpk, nuget-license, CycloneDX).
`.config/dotnet-tools.json` (vpk, nuget-license, CycloneDX, SonarScanner for .NET, dotnet-coverage; Dependabot keeps
them up to date).
## HashTool.Core
@@ -56,10 +57,17 @@ mismatched file, 2 usage error or unreadable checksum file. Published per platfo
settings store. CI requires at least 80% line coverage of Core.
- `HashTool.Cli.Tests` — commands, output formats and exit codes.
- `HashTool.App.Tests` — Avalonia headless: every page in several languages, a create-and-verify flow, translation
integrity (keys, placeholders, Languages.json ↔ resx ↔ project, satellite assemblies, unused keys), language detection.
integrity (keys, placeholders, Languages.json ↔ resx ↔ project, satellite assemblies, unused keys), language detection,
and accessibility (`AccessibilityTests`: a real, translated automation name for every control, headings, Tab inside
file rows, focus when buttons swap, WCAG contrast of every theme palette; see [ACCESSIBILITY.md](../ACCESSIBILITY.md)).
- `tests/Compat/LegacyClient` — not in the solution: the release workflow uses it to update a real 1.1.3 install with
its own Velopack 0.0.1298 library and updater (see [RELEASING.md](RELEASING.md)).
[SonarCloud](https://sonarcloud.io/project/overview?id=poli0981_HashTool) analyses every pull request and `main` from
the SonarCloud workflow: the C# during a real build, with coverage from the tests above and from the smoke test
(`dotnet-coverage`), plus the scripts and workflows. Its quality gate ("Sonar way") applies to new code; `bench/` is
analysed as test code and `eng/` is left out of coverage.
## Benchmarks
```text
+17
View File
@@ -31,6 +31,23 @@ Results: **VALID**, **MISMATCH!**, *Not a valid … hash* (wrong length or chara
On Windows, files you cannot read can be retried with **Restart as Administrator** (offered after a run, and in
Settings). While elevated, Windows blocks drag and drop from Explorer.
### Keyboard
| Keys | Action |
|---|---|
| Ctrl/⌘+O | Add files |
| Ctrl/⌘+Shift+O | Add a folder |
| Ctrl/⌘+F | Go to the search box |
| Ctrl/⌘+Enter | Compute (Generate) or verify (Verify) all |
| Esc | Cancel the run; close a dialog |
| Delete | Remove the selected row |
| Up/Down | Move between rows |
| Tab / Shift+Tab | Next / previous control; in a row, its algorithm, hash and buttons, then out of the list |
| Enter, Space | Press the focused button; in a dialog, Enter presses the highlighted button |
Everything you can drop has a button too (**Add Files…**, **Add Folder…**, **Open Checksum File…**, **Browse** on a
row). Screen readers, themes and other accessibility notes: [ACCESSIBILITY.md](../ACCESSIBILITY.md).
### Settings worth knowing
| Setting | What it does |
+12 -1
View File
@@ -10,6 +10,7 @@ pack id HashTool, the channel, the main executable and, on macOS, the original b
import hashlib
import json
import os
import plistlib
import re
import sys
@@ -17,6 +18,16 @@ import zipfile
from pathlib import Path
PACK_ID = "HashTool"
ROOT = os.path.realpath(Path(__file__).resolve().parent.parent)
def releases_folder(name: str) -> Path:
"""The folder named on the command line; it must be inside the repository (CI passes "Releases")."""
path = os.path.realpath(name)
if not path.startswith(ROOT + os.sep):
print(f"::error::{name} is outside the repository")
raise SystemExit(1)
return Path(path)
def fail(message: str) -> None:
@@ -103,4 +114,4 @@ if __name__ == "__main__":
if len(sys.argv) not in (5, 6):
print(__doc__)
sys.exit(2)
main(Path(sys.argv[1]), sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5] if len(sys.argv) == 6 else None)
main(releases_folder(sys.argv[1]), sys.argv[2], sys.argv[3], sys.argv[4], sys.argv[5] if len(sys.argv) == 6 else None)
+14 -2
View File
@@ -9,7 +9,8 @@ Run with `python -I eng/loc.py <command>` from the repository root:
normalize Rewrite every resx in canonical form (neutral key order, one line per header, trimmed
multi-line values). Values never get re-wrapped.
set FILE.json [...] Set values from JSON files shaped {"<culture>": {"Key": "value"}}. Use "neutral" for the
English source; new keys are appended to the neutral file in the order given.
English source; new keys are appended to the neutral file in the order given. The files
must be inside the repository or the temporary folder.
remove KEY [...] Delete keys from every resx.
untranslated CULTURE List keys whose value is still identical to the English text.
export CULTURE Print a culture's strings as JSON ("neutral" for English).
@@ -21,8 +22,10 @@ from __future__ import annotations
import html
import json
import os
import re
import sys
import tempfile
from pathlib import Path
ROOT = Path(__file__).resolve().parent.parent
@@ -178,11 +181,20 @@ def cmd_normalize() -> int:
return 0
def input_file(name: str) -> Path:
"""A file named on the command line; only files in the repository or the temporary folder are read."""
path = os.path.realpath(name)
for root in (os.path.realpath(ROOT), os.path.realpath(tempfile.gettempdir())):
if path.startswith(root + os.sep):
return Path(path)
raise SystemExit(f"{name}: only files inside the repository or the temporary folder are accepted")
def cmd_set(files: list[str]) -> int:
neutral, cultures = load_all()
changed: set[Path] = set()
for file in files:
data = json.loads(Path(file).read_text(encoding="utf-8"))
data = json.loads(input_file(file).read_text(encoding="utf-8"))
# Neutral first, so new keys get their position before cultures are written.
for code in sorted(data, key=lambda c: c.lower() != "neutral"):
resx = find_culture(cultures, neutral, code)
+11 -1
View File
@@ -8,11 +8,21 @@ Prints the body of the "## [<version>]" section and fails when it is missing or
"""
import argparse
import os
import re
import sys
from pathlib import Path
MAX_LENGTH = 20_000
ROOT = os.path.realpath(Path(__file__).resolve().parent.parent)
def repository_file(name: str) -> Path:
"""A file named on the command line; only files of this repository are read."""
path = os.path.realpath(name)
if not path.startswith(ROOT + os.sep):
raise SystemExit(f"::error::{name} is outside the repository")
return Path(path)
def find_section(changelog: str, version: str) -> tuple[str, str] | None:
@@ -36,7 +46,7 @@ def main() -> int:
parser.add_argument("--require-date", action="store_true")
args = parser.parse_args()
section = find_section(Path(args.changelog).read_text(encoding="utf-8"), args.version)
section = find_section(repository_file(args.changelog).read_text(encoding="utf-8"), args.version)
if section is None or not section[1]:
print(f"::error::CHANGELOG has no notes for {args.version}", file=sys.stderr)
return 1
+1 -1
View File
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "10.0.400",
"version": "10.0.403",
"rollForward": "latestFeature",
"allowPrerelease": false
},
+12
View File
@@ -67,11 +67,23 @@
<Style Selector="TextBlock.sectionTitle">
<Setter Property="FontSize" Value="18" />
<Setter Property="FontWeight" Value="SemiBold" />
<!-- Page titles are level 1 (set on each page); screen readers can jump between these sections. -->
<Setter Property="AutomationProperties.HeadingLevel" Value="2" />
</Style>
<Style Selector="Button.icon">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="5" />
</Style>
<!-- Number boxes: the text box inside, which takes the focus, carries the box's name. The spin buttons only repeat
what Up/Down do in the box, so they are no tab stops and screen readers skip them (they read as "PathIcon"). -->
<Style Selector="NumericUpDown /template/ TextBox">
<Setter Property="AutomationProperties.Name" Value="{Binding $parent[NumericUpDown].(AutomationProperties.Name)}" />
</Style>
<Style Selector="ButtonSpinner /template/ RepeatButton">
<Setter Property="KeyboardNavigation.IsTabStop" Value="False" />
<Setter Property="AutomationProperties.AccessibilityView" Value="Raw" />
</Style>
</Application.Styles>
<Application.Resources>
@@ -121,13 +121,14 @@ public sealed partial class SingleInstance : IDisposable
// One bad or broken connection must never stop the listener: keep serving later launches.
current?.Dispose();
current = null;
await Task.Delay(200).ConfigureAwait(false);
// Not the stop token: a cancelled delay would throw out of this handler and skip the cleanup below.
await Task.Delay(200, CancellationToken.None).ConfigureAwait(false);
}
}
current?.Dispose();
next?.Dispose();
});
}, _stop.Token);
}
private NamedPipeServerStream CreateServer() =>
+4 -2
View File
@@ -18,8 +18,9 @@ namespace HashTool.App.Infrastructure;
/// <summary>
/// <c>CheckHash --smoke-test [--smoke-out result.json] [--expect-version 1.2.0]</c>: starts the app headless, loads every
/// page and language, hashes and verifies a file, and reports the Velopack install state. Used by CI and the release
/// upgrade gate on published (single-file) builds.
/// page and language, hashes and verifies a file, and reports the Velopack install state and the .NET runtime it runs on
/// (the one bundled into self-contained releases). Used by CI and the release upgrade gate on published (single-file)
/// builds.
/// </summary>
public static class SmokeTest
{
@@ -131,6 +132,7 @@ public static class SmokeTest
public int Languages { get; set; }
public string? DataDirectory { get; set; }
public string Culture { get; set; } = CultureInfo.CurrentUICulture.Name;
public string Runtime { get; set; } = Environment.Version.ToString();
public List<string> Errors { get; } = [];
}
}
+18
View File
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>الإصدار {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>تصفية حسب الحالة</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>تصفية حسب الحجم</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>الملفات</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>التقدم</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>وحدة الحجم</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>قيمة الهاش</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Версия {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Филтриране по състояние</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Филтриране по размер</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлове</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Напредък</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Мерна единица за размер</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Стойност на хеша</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>সংস্করণ {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>অবস্থা অনুযায়ী ফিল্টার</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>সাইজ অনুযায়ী ফিল্টার</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ফাইল</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>অগ্রগতি</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>সাইজের একক</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>হ্যাশ মান</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Verzija {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtriraj po statusu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtriraj po veličini</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Datoteke</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Napredak</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Jedinica veličine</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Vrijednost heša</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Verze {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrovat podle stavu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrovat podle velikosti</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Soubory</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Průběh</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Jednotka velikosti</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hodnota hashe</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrér efter status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrér efter størrelse</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Filer</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Fremskridt</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Størrelsesenhed</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashværdi</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Nach Status filtern</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Nach Größe filtern</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Dateien</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Fortschritt</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Größeneinheit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashwert</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Nach Status filtern</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Nach Grösse filtern</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Dateien</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Fortschritt</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Grösseneinheit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashwert</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Nach Status filtern</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Nach Größe filtern</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Dateien</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Fortschritt</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Größeneinheit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashwert</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>ވާޝަން {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>ހާލަތުން ފިލްޓަރުކުރޭ</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>ސައިޒުން ފިލްޓަރުކުރޭ</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ފައިލްތައް</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>ކުރިއެރުން</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>ސައިޒުގެ ޔުނިޓް</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ހޭޝްގެ އަގު</value>
</data>
</root>
@@ -732,4 +732,22 @@
<data name="About_Version" xml:space="preserve">
<value>ཐོན་རིམ་ {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>གནས་སྟངས་ལྟར་ ཚགས་མ་བཙགས།</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>ཚད་ལྟར་ ཚགས་མ་བཙགས།</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ཡིག་སྣོད་ཚུ།</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>ཡར་འཕེལ།</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>ཚད་ཀྱི་ ཚད་གཞི།</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ཧེ་ཤ་ གནས་གོང་།</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Έκδοση {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Φιλτράρισμα κατά κατάσταση</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Φιλτράρισμα κατά μέγεθος</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Αρχεία</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Πρόοδος</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Μονάδα μεγέθους</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Τιμή hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Έκδοση {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Φιλτράρισμα κατά κατάσταση</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Φιλτράρισμα κατά μέγεθος</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Αρχεία</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Πρόοδος</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Μονάδα μεγέθους</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Τιμή hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filter by status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filter by size</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Files</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progress</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Size unit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash value</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filter by status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filter by size</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Files</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progress</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Size unit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash value</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filter by status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filter by size</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Files</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progress</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Size unit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash value</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versión {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrar por estado</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrar por tamaño</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Archivos</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progreso</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unidad de tamaño</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valor hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versión {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrar por estado</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrar por tamaño</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Archivos</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progreso</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unidad de tamaño</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valor hash</value>
</data>
</root>
@@ -732,4 +732,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versioon {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtreeri oleku järgi</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtreeri suuruse järgi</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Failid</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Edenemine</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Suuruse ühik</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Räsiväärtus</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>نسخه {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>فیلتر بر اساس وضعیت</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>فیلتر بر اساس اندازه</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>فایل‌ها</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>پیشرفت</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>واحد اندازه</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>مقدار هش</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versio {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Suodata tilan mukaan</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Suodata koon mukaan</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Tiedostot</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Edistyminen</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Kokoyksikkö</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Tiivistearvo</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Bersyon {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>I-filter ayon sa status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>I-filter ayon sa laki</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Mga file</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progreso</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Yunit ng laki</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Halaga ng hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrer par état</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrer par taille</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Fichiers</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progression</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unité de taille</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valeur du hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>גרסה {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>סינון לפי מצב</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>סינון לפי גודל</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>קבצים</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>התקדמות</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>יחידת גודל</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ערך Hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>संस्करण {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>स्थिति के अनुसार फ़िल्टर करें</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>आकार के अनुसार फ़िल्टर करें</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>फाइलें</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>प्रगति</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>आकार की इकाई</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>हैश मान</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Verzija {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtriraj po statusu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtriraj po veličini</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Datoteke</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Napredak</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Jedinica veličine</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Vrijednost hasha</value>
</data>
</root>
@@ -732,4 +732,22 @@
<data name="About_Version" xml:space="preserve">
<value>Verzió: {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Szűrés állapot szerint</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Szűrés méret szerint</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Fájlok</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Folyamat</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Méret mértékegysége</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash érték</value>
</data>
</root>
@@ -732,4 +732,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versi {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filter menurut status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filter menurut ukuran</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Berkas</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Kemajuan</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Satuan ukuran</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Nilai hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Útgáfa {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Sía eftir stöðu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Sía eftir stærð</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Skrár</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Framvinda</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Stærðareining</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash-gildi</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versione {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtra per stato</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtra per dimensione</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>File</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Avanzamento</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unità di dimensione</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valore hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>バージョン {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>状態で絞り込み</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>サイズで絞り込み</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ファイル</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>進行状況</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>サイズの単位</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ハッシュ値</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Нұсқа {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Күйі бойынша сүзу</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Өлшемі бойынша сүзу</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлдар</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Барысы</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Өлшем бірлігі</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Хэш мәні</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>កំណែ {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>ត្រងតាមស្ថានភាព</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>ត្រងតាមទំហំ</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ឯកសារ</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>វឌ្ឍនភាព</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>ឯកតាទំហំ</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>តម្លៃ Hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>버전 {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>상태별 필터</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>크기별 필터</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>파일</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>진행률</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>크기 단위</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>해시 값</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Версия {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Абалы боюнча чыпкалоо</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Өлчөмү боюнча чыпкалоо</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлдар</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Жүрүшү</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Өлчөм бирдиги</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Хэш мааниси</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>ເວີຊັນ {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>ກັ່ນຕອງຕາມສະຖານະ</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>ກັ່ນຕອງຕາມຂະໜາດ</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ໄຟລ໌</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>ຄວາມຄືບໜ້າ</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>ຫົວໜ່ວຍຂະໜາດ</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ຄ່າ Hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versija {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtruoti pagal būseną</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtruoti pagal dydį</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Failai</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Eiga</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Dydžio vienetas</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash reikšmė</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versija {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrēt pēc statusa</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrēt pēc izmēra</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Faili</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progress</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Izmēra vienība</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash vērtība</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Верзија {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Филтрирај по статус</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Филтрирај по големина</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Датотеки</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Напредок</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Единица за големина</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Вредност на хешот</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Хувилбар {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Төлөвөөр шүүх</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Хэмжээгээр шүүх</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлууд</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Явц</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Хэмжээний нэгж</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Хэшийн утга</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versi {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Tapis mengikut status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Tapis mengikut saiz</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Fail</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Kemajuan</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unit saiz</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Nilai hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>ဗားရှင်း {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>အခြေအနေအလိုက် စစ်ထုတ်ရန်</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>အရွယ်အစားအလိုက် စစ်ထုတ်ရန်</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ဖိုင်များ</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>တိုးတက်မှု</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>အရွယ်အစား ယူနစ်</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash တန်ဖိုး</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versjon {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrer etter status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrer etter størrelse</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Filer</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Fremdrift</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Størrelsesenhet</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash-verdi</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>संस्करण {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>स्थितिअनुसार फिल्टर गर्नुहोस्</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>साइजअनुसार फिल्टर गर्नुहोस्</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>फाइलहरू</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>प्रगति</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>साइजको एकाइ</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ह्यास मान</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versie {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filteren op status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filteren op grootte</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Bestanden</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Voortgang</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Eenheid van grootte</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashwaarde</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versie {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filteren op status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filteren op grootte</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Bestanden</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Voortgang</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Eenheid van grootte</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashwaarde</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Wersja {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtruj według stanu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtruj według rozmiaru</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Pliki</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Postęp</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Jednostka rozmiaru</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Wartość hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>نسخه {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>د حالت له مخې فلټر</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>د اندازې له مخې فلټر</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>فایلونه</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>پرمختګ</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>د اندازې واحد</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>د هیش ارزښت</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versão {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrar por status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrar por tamanho</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Arquivos</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progresso</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unidade de tamanho</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valor do hash</value>
</data>
</root>
+18
View File
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filter by status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filter by size</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Files</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progress</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Size unit</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash value</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versiunea {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrează după stare</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrează după dimensiune</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Fișiere</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Progres</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Unitate de dimensiune</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Valoare hash</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Версия {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Фильтр по состоянию</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Фильтр по размеру</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлы</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Ход выполнения</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Единица размера</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Значение хэша</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>අනුවාදය {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>තත්ත්වය අනුව පෙරන්න</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>ප්‍රමාණය අනුව පෙරන්න</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ගොනු</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>ප්‍රගතිය</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>ප්‍රමාණයේ ඒකකය</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash අගය</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Verzia {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrovať podľa stavu</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrovať podľa veľkosti</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Súbory</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Priebeh</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Jednotka veľkosti</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hodnota hashu</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Različica {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtriraj po stanju</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtriraj po velikosti</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Datoteke</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Napredek</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Enota velikosti</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Vrednost hasha</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Versioni {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtro sipas gjendjes</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtro sipas madhësisë</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Skedarët</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Përparimi</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Njësia e madhësisë</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Vlera e hash-it</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Верзија {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Филтрирај по статусу</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Филтрирај по величини</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Датотеке</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Напредак</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Јединица величине</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Вредност хеша</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Version {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Filtrera efter status</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Filtrera efter storlek</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Filer</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Förlopp</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Storleksenhet</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hashvärde</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Версияи {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Филтр аз рӯи ҳолат</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Филтр аз рӯи андоза</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файлҳо</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Пешрафт</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Воҳиди андоза</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Қимати ҳэш</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>เวอร์ชัน {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>กรองตามสถานะ</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>กรองตามขนาด</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>ไฟล์</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>ความคืบหน้า</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>หน่วยขนาด</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>ค่าแฮช</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Wersiýa {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Ýagdaýy boýunça süzgüçle</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Ölçegi boýunça süzgüçle</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Faýllar</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Ösüş</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Ölçeg birligi</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Heş bahasy</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Sürüm {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Duruma göre filtrele</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Boyuta göre filtrele</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Dosyalar</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>İlerleme</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Boyut birimi</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Hash değeri</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Версія {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Фільтр за станом</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Фільтр за розміром</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Файли</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Перебіг</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Одиниця розміру</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Значення хешу</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>Phiên bản {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>Lọc theo trạng thái</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>Lọc theo kích thước</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>Danh sách tệp</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>Tiến độ</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>Đơn vị kích thước</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>Giá trị băm</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>版本 {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>按状态筛选</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>按大小筛选</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>文件</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>进度</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>大小单位</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>哈希值</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>版本 {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>按状态筛选</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>按大小筛选</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>文件</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>进度</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>大小单位</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>哈希值</value>
</data>
</root>
@@ -731,4 +731,22 @@
<data name="About_Version" xml:space="preserve">
<value>版本 {0}</value>
</data>
<data name="Lbl_FilterStatus" xml:space="preserve">
<value>依狀態篩選</value>
</data>
<data name="Lbl_FilterSize" xml:space="preserve">
<value>依大小篩選</value>
</data>
<data name="Lbl_FileList" xml:space="preserve">
<value>檔案</value>
</data>
<data name="Lbl_Progress" xml:space="preserve">
<value>進度</value>
</data>
<data name="Lbl_SizeUnit" xml:space="preserve">
<value>大小單位</value>
</data>
<data name="Lbl_HashValue" xml:space="preserve">
<value>雜湊值</value>
</data>
</root>
+20 -9
View File
@@ -1,3 +1,4 @@
using System;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Controls;
@@ -13,14 +14,14 @@ namespace HashTool.App.Services;
/// <summary>
/// Themed message box: keyboard friendly (Enter = primary button, Escape = cancel), follows the UI language's reading
/// direction, scrolls long content and lets users select or copy the text.
/// direction and the UI scale, scrolls long content and lets users select or copy the text.
/// </summary>
internal static class DialogWindow
{
public static async Task ShowAsync(Window? owner, LocalizationService localization, string title, string message,
DialogIcon icon, string? details = null)
DialogIcon icon, string? details = null, double scale = 1)
{
var (window, buttons) = Create(owner, localization, title, message, icon, details);
var (window, buttons) = Create(owner, localization, title, message, icon, details, scale);
var ok = Button(localization["Btn_OK"], isDefault: true, isCancel: true);
ok.Click += (_, _) => window.Close();
buttons.Children.Add(ok);
@@ -28,9 +29,9 @@ internal static class DialogWindow
}
public static async Task<bool> ConfirmAsync(Window? owner, LocalizationService localization, string title, string message,
DialogIcon icon, string yesText, string noText)
DialogIcon icon, string yesText, string noText, double scale = 1)
{
var (window, buttons) = Create(owner, localization, title, message, icon, null);
var (window, buttons) = Create(owner, localization, title, message, icon, null, scale);
var result = false;
var yes = Button(yesText, isDefault: true, isCancel: false);
var no = Button(noText, isDefault: false, isCancel: true);
@@ -53,14 +54,24 @@ internal static class DialogWindow
}
private static (Window Window, StackPanel Buttons) Create(Window? owner, LocalizationService localization, string title,
string message, DialogIcon icon, string? details)
string message, DialogIcon icon, string? details, double scale)
{
// The main window scales its content with a layout transform (Settings > UI scale); dialogs do the same, but stay
// on the screen: the message scrolls when the height runs out.
scale = double.IsFinite(scale) && scale > 0 ? scale : 1;
var (width, maxHeight) = ((details is null ? 460 : 560) * scale, 640 * scale);
if (owner?.Screens.ScreenFromWindow(owner) is { } screen)
{
width = Math.Min(width, screen.WorkingArea.Width / screen.Scaling * 0.9);
maxHeight = Math.Min(maxHeight, screen.WorkingArea.Height / screen.Scaling * 0.9);
}
var window = new Window
{
Title = title,
WindowDecorations = WindowDecorations.None,
Width = details is null ? 460 : 560,
MaxHeight = 640,
Width = width,
MaxHeight = maxHeight,
SizeToContent = SizeToContent.Height,
WindowStartupLocation = WindowStartupLocation.CenterOwner,
CanResize = false,
@@ -125,7 +136,7 @@ internal static class DialogWindow
var frame = new Border { CornerRadius = new CornerRadius(10), BorderThickness = new Thickness(1), ClipToBounds = true, Child = layout };
frame.Bind(Border.BackgroundProperty, window.GetResourceObservable("PaneBackgroundBrush"));
frame.Bind(Border.BorderBrushProperty, window.GetResourceObservable("HighlightBrush"));
window.Content = frame;
window.Content = new LayoutTransformControl { LayoutTransform = new ScaleTransform(scale, scale), Child = frame };
return (window, buttons);
}
@@ -27,10 +27,11 @@ public static class ThemePalettes
warning: "#FFFF00", info: "#00FFFF", muted: "#FFFFFF", secondary: "#FFFFFF")
: Make("#FFFFFF", "#FFFFFF", "#000000", highlight: "#0000CC", success: "#006400", error: "#B00000",
warning: "#7A4F00", info: "#00008B", muted: "#000000", secondary: "#000000"),
// Okabe-Ito colours: distinguishable with every common form of colour blindness.
// Okabe-Ito colours: distinguishable with every common form of colour blindness. On light backgrounds the
// vermillion, yellow and reddish purple are darkened to reach 4.5:1 (WCAG AA) for status text.
AppThemeStyle.Colorblind => isDark
? Make("#121212", "#212529", null, success: "#56B4E9", error: "#E69F00", warning: "#F0E442", info: "#CC79A7")
: Make("#F8F9FA", "#FFFFFF", null, success: "#0072B2", error: "#D55E00", warning: "#B8860B", info: "#CC79A7"),
: Make("#F8F9FA", "#FFFFFF", null, success: "#0072B2", error: "#B34E00", warning: "#876200", info: "#A8487F"),
AppThemeStyle.Retro => isDark ? Make("#282828", "#3C3836", null) : Make("#FBF1C7", "#EBDBB2", null),
AppThemeStyle.Glassmorphism => isDark
? Make("#99000000", "#991E1E1E", "#40FFFFFF")
+18 -6
View File
@@ -65,24 +65,36 @@ public interface ILauncherService
/// <summary>Gives services access to the main window once it exists.</summary>
public sealed class MainWindowAccessor
{
public Window? Window =>
Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime { MainWindow: { } window } ? window : null;
private readonly Func<Window?> _window;
public MainWindowAccessor() : this(static () =>
Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime { MainWindow: { } window } ? window : null)
{
}
/// <summary>Tests hand in a window of their own: the headless test application has no desktop lifetime.</summary>
internal MainWindowAccessor(Func<Window?> window) => _window = window;
public Window? Window => _window();
public TopLevel? TopLevel => Window;
}
public sealed class DialogService(MainWindowAccessor main, LocalizationService localization) : IDialogService
public sealed class DialogService(MainWindowAccessor main, LocalizationService localization, FontService? fonts = null)
: IDialogService
{
private double Scale => fonts?.UiScale ?? 1;
public Task ShowAsync(string title, string message, DialogIcon icon = DialogIcon.Information) =>
DialogWindow.ShowAsync(main.Window, localization, title, message, icon);
DialogWindow.ShowAsync(main.Window, localization, title, message, icon, scale: Scale);
public Task<bool> ConfirmAsync(string title, string message, DialogIcon icon = DialogIcon.Question, string? yesText = null,
string? noText = null) =>
DialogWindow.ConfirmAsync(main.Window, localization, title, message, icon, yesText ?? localization["Btn_Yes"],
noText ?? localization["Btn_No"]);
noText ?? localization["Btn_No"], Scale);
public Task ShowErrorAsync(string title, string message, string? details = null) =>
DialogWindow.ShowAsync(main.Window, localization, title, message, DialogIcon.Error, details);
DialogWindow.ShowAsync(main.Window, localization, title, message, DialogIcon.Error, details, Scale);
}
public sealed class StorageService(MainWindowAccessor main) : IStorageService
+18 -5
View File
@@ -31,21 +31,34 @@ public sealed class UpdateService
{
public const string RepositoryUrl = "https://github.com/poli0981/HashTool";
private static readonly HttpClient Http = CreateHttpClient();
private static readonly HttpClient SharedHttp = CreateHttpClient();
private readonly ILogger<UpdateService> _logger;
private readonly UpdateManager? _manager;
private readonly HttpClient _http;
public UpdateService(ILogger<UpdateService> logger)
public UpdateService(ILogger<UpdateService> logger) : this(logger, CreateManager(logger), SharedHttp)
{
}
/// <summary>Tests pass a manager over a local feed and an HTTP client that never reaches GitHub.</summary>
internal UpdateService(ILogger<UpdateService> logger, UpdateManager? manager, HttpClient http)
{
_logger = logger;
_manager = manager;
_http = http;
}
private static UpdateManager? CreateManager(ILogger logger)
{
try
{
_manager = new UpdateManager(new GithubSource(RepositoryUrl, null, false));
return new UpdateManager(new GithubSource(RepositoryUrl, null, false));
}
catch (Exception ex)
{
_logger.LogWarning(ex, "Velopack update manager is unavailable");
logger.LogWarning(ex, "Velopack update manager is unavailable");
return null;
}
}
@@ -133,7 +146,7 @@ public sealed class UpdateService
{
try
{
using var response = await Http.GetAsync($"https://api.github.com/repos/poli0981/HashTool/releases/tags/{Uri.EscapeDataString(tag)}",
using var response = await _http.GetAsync($"https://api.github.com/repos/poli0981/HashTool/releases/tags/{Uri.EscapeDataString(tag)}",
cancellationToken).ConfigureAwait(false);
if (!response.IsSuccessStatusCode) continue;
await using var stream = await response.Content.ReadAsStreamAsync(cancellationToken).ConfigureAwait(false);
@@ -233,13 +233,18 @@ public sealed partial class CreateHashViewModel : FileListViewModelBase
continue;
}
while (!directory.StartsWith(common, StringComparison.OrdinalIgnoreCase) && Path.GetDirectoryName(common) is { } parent)
while (!IsSameOrInside(directory, common) && Path.GetDirectoryName(common) is { } parent)
common = parent;
}
return common ?? string.Empty;
}
// "C:\data\photos-2024" shares a prefix with "C:\data\photos" but is not inside it.
private static bool IsSameOrInside(string directory, string folder) =>
directory.StartsWith(folder, StringComparison.OrdinalIgnoreCase)
&& (directory.Length == folder.Length || Path.EndsInDirectorySeparator(folder) || directory[folder.Length] is '/' or '\\');
/// <summary>Zip entry names must be relative and use '/' (files on another drive keep their path without the colon).</summary>
private static string ZipEntryName(string path) => path.Replace('\\', '/').Replace(":", "").TrimStart('/');
Loaded 100 of 134 files, more files were not shown because too many files have changed in this diff. Show more