Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
components: rustfmt

- name: Read release version
shell: pwsh
Expand Down Expand Up @@ -101,11 +102,23 @@ jobs:

Set-Content -Path release-notes.md -Value $notes -Encoding utf8

- name: Check Rust formatting
run: cargo fmt --all -- --check

- name: Validate embedded JavaScript
run: node --check src/ui/app.js

- name: Test interface behavior
run: node --test tests/ui.test.cjs

- name: Build release x64
run: cargo build --release --locked --target x86_64-pc-windows-msvc

- name: Run tests
run: cargo test --release --locked --target x86_64-pc-windows-msvc
run: cargo test --workspace --release --locked --target x86_64-pc-windows-msvc

- name: Verify native WOF round trips on NTFS
run: cargo test --release --locked --target x86_64-pc-windows-msvc -- --ignored --test-threads=1

- name: Create tag
shell: pwsh
Expand Down
12 changes: 11 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,25 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-pc-windows-msvc
components: rustfmt

- name: Check Rust formatting
run: cargo fmt --all -- --check

- name: Validate embedded JavaScript
run: node --check src/ui/app.js

- name: Test interface behavior
run: node --test tests/ui.test.cjs

- name: Build release x64
run: cargo build --release --locked --target x86_64-pc-windows-msvc

- name: Run tests
run: cargo test --release --locked --target x86_64-pc-windows-msvc
run: cargo test --workspace --release --locked --target x86_64-pc-windows-msvc

- name: Verify native WOF round trips on NTFS
run: cargo test --release --locked --target x86_64-pc-windows-msvc -- --ignored --test-threads=1

- name: Upload Compactor x64
uses: actions/upload-artifact@v7
Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

## Unreleased

### Added

- Optional Thorough analysis, which tries the selected WOF algorithm on every eligible, uncached file instead of rejecting candidates through a generic sample. Existing settings continue to use Sampled mode; LZX remains the default algorithm.
- A measured retention policy: require the configured percentage reduction and at least one NTFS cluster of savings, otherwise restore the newly compressed file. Report failed measurements and restoration failures explicitly.
- File-identity-aware WOF inspection, guarded normal-view allocation queries, canonical-root containment checks, hardlink protection and cooperative per-file locking between Compactor instances.
- Persistent operation reports, bounded error details, behaviour tests for the embedded UI and explicit native Windows/NTFS integration tests.
- Support for checking Windows sources with a real MinGW cross-toolchain, without bypassing resource compilation.

### Fixed

- Recognise actual WOF backing before rejecting sparse/reparse metadata. Do not infer the compression format from a size comparison.
- Validate Windows API response lengths, versions, providers and algorithm identifiers; accept the existing XPRESS4K setting consistently.
- Scope the incompressible cache to file fingerprint, algorithm, mode, threshold and cluster size; cache only measured negative results from the protected identity.
- Preserve pending cache entries after write/flush/sync failures and recover from truncated or missing cache files.
- Stop scheduling work when the GUI closes, including while paused. Prioritise cancellation over an already-ready analysis/preflight result.
- Process each original decompression candidate at most once per run, retaining failed WOF files for inspection and a later retry.
- Invalidate stale analyses after settings changes and require new analysis after decompression or errors.
- Detect DirectStorage signals independently of compression exclusions, support cancelling the preflight and refuse to compress after an incomplete check.
- Save configuration atomically and validate it on load. Preserve invalid configuration bytes until the user saves a corrected configuration.
- Escape automatically added folder exclusions, reject invalid numeric settings, reset empty charts and refresh displayed units and file/folder views correctly.

### Changed

- Update `crossbeam-channel` from 0.5.0 to 0.5.17 and its `crossbeam-utils` dependency from 0.8.1 to 0.8.23, with the resolved versions recorded in Cargo.lock.
- Removed uncalibrated algorithm-specific estimate multipliers; estimates are explicitly generic and provisional.
- Native WOF tests use temporary fixtures instead of modifying Cargo.lock or scanning a user's C:\Games directory.
- CI and release workflows run interface tests, workspace tests and explicit WOF round-trip checks before publishing artifacts.

## [0.11.5] - 2026-09-14

### Added
Expand Down
16 changes: 6 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT"
#pango = { git = "https://github.com/gtk-rs/gtk-rs-core.git", package = "pango" }
backtrace = "0.3.32"
compresstimator = { git = "https://github.com/Freaky/compresstimator.git", rev = "26ddd3f499bc46f2c8b3ce814e9723ed41b47919" }
crossbeam-channel = "0.5"
crossbeam-channel = "0.5.17"
ctrlc = "3.1"
directories = "2.0.1"
dirs-sys = "0.3.3"
Expand All @@ -30,7 +30,7 @@ serde_json = "1.0"
siphasher = "0.3.0"
walkdir = "2.3"
web-view = { git = "https://github.com/Freaky/web-view", branch = "blocking-step" }
winapi = { version = "0.3.7", features = [ "combaseapi", "fileapi", "ioapiset", "knownfolders", "processthreadsapi", "shellscalingapi", "shlobj", "shtypes", "sysinfoapi", "winbase", "winerror", "winioctl", "winver"] }
winapi = { version = "0.3.7", features = [ "combaseapi", "fileapi", "handleapi", "synchapi", "ioapiset", "knownfolders", "processthreadsapi", "shellscalingapi", "shlobj", "shtypes", "sysinfoapi", "winbase", "winerror", "winioctl", "winver"] }
filetime = "0.2.8"
tinyfiledialogs = "3.3.10"
wfd = "0.1.6"
Expand Down
Loading