diff --git a/MainWindow.xaml b/MainWindow.xaml index 8f2b024..5f890ee 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -92,6 +92,9 @@ + + + @@ -105,6 +108,13 @@ + + + diff --git a/README.md b/README.md index f631dc0..d9b6680 100644 --- a/README.md +++ b/README.md @@ -1,178 +1,179 @@ -
- -# ThreadPilot ✈️ - -**A free and open-source Windows process and power plan manager for deterministic performance workflows.** - -[![Build](https://github.com/PrimeBuild-pc/ThreadPilot/actions/workflows/ci-devsecops.yml/badge.svg)](https://github.com/PrimeBuild-pc/ThreadPilot/actions/workflows/ci-devsecops.yml) -[![Release](https://img.shields.io/github/v/release/PrimeBuild-pc/ThreadPilot?sort=semver)](https://github.com/PrimeBuild-pc/ThreadPilot/releases) -[![winget](https://img.shields.io/winget/v/PrimeBuild.ThreadPilot?label=winget)](https://github.com/microsoft/winget-pkgs/tree/master/manifests/p/PrimeBuild/ThreadPilot) -[![Windows](https://img.shields.io/badge/Windows-11-blue?logo=windows)](https://www.microsoft.com/windows) -[![.NET](https://img.shields.io/badge/.NET-8.0-512BD4?logo=dotnet&logoColor=white)](https://dotnet.microsoft.com/) -[![License](https://img.shields.io/badge/License-AGPLv3-blue.svg)](LICENSE) -[![Issues](https://img.shields.io/github/issues/PrimeBuild-pc/ThreadPilot)](https://github.com/PrimeBuild-pc/ThreadPilot/issues) -[![Discussions](https://img.shields.io/badge/Discussions-GitHub-6f42c1?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/discussions) - -[Install](#-install) • [Features](#-features) • [Screenshots](#-screenshots) • [Build](#-build-from-source) • [Support](#-support-the-project) - -
- -cover - -## What is ThreadPilot? - -ThreadPilot is a modern Windows desktop application for users who want predictable control over process behavior, CPU affinity, priority, power plans, and rule-driven performance workflows. - -It is designed as an open-source alternative for power users who need Process Lasso-style capabilities, automation support, system tray controls, and a Windows 11-first experience. - -## ✨ Features - -- Live process management with refresh, filtering, and high-volume process handling. -- CPU affinity and priority controls with topology-aware logic. -- I/O and scheduler-related tuning utilities. -- Rule-based automation for power plan switching when selected processes start or stop. -- Conditional profiles, tray controls, Live Metrics, and dashboard views. -- Administrator-aware Windows desktop workflow. -- CI-backed release artifacts and package-manager distribution. - -## 📦 Install - -### Install with WinGet - -ThreadPilot is available on WinGet as `PrimeBuild.ThreadPilot`. - -From **Command Prompt** or **PowerShell**: - -```cmd -winget install --id PrimeBuild.ThreadPilot -e -``` - -To refresh your local WinGet source first: - -```cmd -winget source update -winget search ThreadPilot -``` - -### Download from GitHub Releases - -[![Download Latest Release](https://img.shields.io/badge/Download-Latest%20Release-2ea44f?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest) -[![Portable ZIP Assets](https://img.shields.io/badge/Portable%20ZIP-Release%20Assets-1f6feb?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest) - -| Package | Recommended use | -|---|---| -| `ThreadPilot_v_Setup.exe` | Standard Windows installer for most users | -| `ThreadPilot_v_singlefile_win-x64.zip` | Portable/no-install deployment | - -Optional checksum verification: - -```powershell -Get-FileHash .\ThreadPilot_v_Setup.exe -Algorithm SHA256 -Get-FileHash .\ThreadPilot_v_singlefile_win-x64.zip -Algorithm SHA256 -``` - -Compare the result with `SHA256SUMS.txt` from the same release. - -## 🖼️ Screenshots - -banner - -## ⚙️ Requirements - -- Windows 11, build 22000 or newer. -- Administrator privileges to launch and manage system-level process settings. -- .NET 8 SDK only if you want to build from source. - -## 🚀 Usage Notes - -ThreadPilot uses an administrator-required manifest and requests elevation at startup. If UAC elevation is declined, the application exits instead of continuing in a limited mode. - -Useful startup arguments: - -```text ---start-minimized ---autostart ---test ---smoke-test -``` - -In `Power Plans > Custom Power Plans`, use `Add .pow File` to import custom power plans directly from the app. - -## 🧱 Build from Source - -```powershell -git clone https://github.com/PrimeBuild-pc/ThreadPilot.git -cd ThreadPilot -dotnet restore ThreadPilot_1.sln -dotnet build ThreadPilot_1.sln --configuration Release -dotnet run --project ThreadPilot.csproj --configuration Release -``` - -Run integrated runtime tests: - -```powershell -dotnet run --project ThreadPilot.csproj --configuration Release -- --test -``` - -Publish a self-contained Windows build: - -```powershell -dotnet publish ThreadPilot.csproj --configuration Release --runtime win-x64 --self-contained true -``` - -Build release artifacts with the project script: - -```powershell -./build/build-release.ps1 -``` - -## 🔐 Quality and Security - -- CI validates build, formatting, analyzers, vulnerability checks, and secret scanning. -- Security disclosures are handled through private GitHub advisories. See [`docs/SECURITY.md`](docs/SECURITY.md). -- Change history is tracked in [`docs/CHANGELOG.md`](docs/CHANGELOG.md). -- Coverage focuses on business/application code and excludes generated build artifacts. - -## 🧭 Project Documentation - -- [`docs/README.md`](docs/README.md) -- [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) -- [`docs/CODE_OF_CONDUCT.md`](docs/CODE_OF_CONDUCT.md) -- [`docs/RELEASE_SIGNING.md`](docs/RELEASE_SIGNING.md) -- [`docs/release/PACKAGING.md`](docs/release/PACKAGING.md) -- [`docs/reference/ARCHITECTURE_GUIDE.md`](docs/reference/ARCHITECTURE_GUIDE.md) -- [`docs/reference/DEVELOPER_GUIDE.md`](docs/reference/DEVELOPER_GUIDE.md) -- [`docs/reference/API_REFERENCE.md`](docs/reference/API_REFERENCE.md) -- [`docs/reference/PROJECT_STRUCTURE.md`](docs/reference/PROJECT_STRUCTURE.md) -- [`docs/reference/UI_STYLE_GUIDE.md`](docs/reference/UI_STYLE_GUIDE.md) - -## 🗺️ Roadmap - -- Expand unit and integration coverage for core services. -- Continue async reliability refactoring for long-running monitoring paths. -- Improve accessibility and localization readiness across major views. -- Formalize release signing and distribution hardening. - -## 🤝 Contributing - -Contributions are welcome. Before opening a pull request, please read [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) and [`docs/CODE_OF_CONDUCT.md`](docs/CODE_OF_CONDUCT.md). - -For bugs, feature requests, or packaging issues, open a GitHub issue with reproduction steps and your Windows version. - -## 📄 License - -ThreadPilot is licensed under the **GNU Affero General Public License v3.0**. See [`LICENSE`](LICENSE). - -## 💬 Support the Project - -
- -**Built with care for Windows power users.** - -[![GitHub Issues](https://img.shields.io/badge/Report%20a%20Bug-GitHub%20Issues-d73a49?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/issues) -[![GitHub Discussions](https://img.shields.io/badge/Ask%20a%20Question-Discussions-6f42c1?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/discussions) -[![PayPal](https://img.shields.io/badge/Support%20Development-PayPal-00457C?logo=paypal&logoColor=white)](https://paypal.me/PrimeBuildOfficial?country.x=IT&locale.x=it_IT) - -If ThreadPilot is useful to you, consider starring the repository, opening thoughtful issues, sharing feedback, or supporting development with a small donation. - -
+
+ +# ThreadPilot ✈️ + +**A free and open-source Windows process and power plan manager for deterministic performance workflows.** + +[![Build](https://github.com/PrimeBuild-pc/ThreadPilot/actions/workflows/ci-devsecops.yml/badge.svg)](https://github.com/PrimeBuild-pc/ThreadPilot/actions/workflows/ci-devsecops.yml) +[![Release](https://img.shields.io/github/v/release/PrimeBuild-pc/ThreadPilot?sort=semver)](https://github.com/PrimeBuild-pc/ThreadPilot/releases) +[![winget](https://img.shields.io/winget/v/PrimeBuild.ThreadPilot?label=winget)](https://github.com/microsoft/winget-pkgs/tree/master/manifests/p/PrimeBuild/ThreadPilot) +[![Windows](https://img.shields.io/badge/Windows-11-blue?logo=windows)](https://www.microsoft.com/windows) +[![.NET](https://img.shields.io/badge/.NET-8.0-512BD4?logo=dotnet&logoColor=white)](https://dotnet.microsoft.com/) +[![License](https://img.shields.io/badge/License-AGPLv3-blue.svg)](LICENSE) +[![Issues](https://img.shields.io/github/issues/PrimeBuild-pc/ThreadPilot)](https://github.com/PrimeBuild-pc/ThreadPilot/issues) +[![Discussions](https://img.shields.io/badge/Discussions-GitHub-6f42c1?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/discussions) + +[Install](#-install) • [Features](#-features) • [Screenshots](#-screenshots) • [Build](#-build-from-source) • [Support](#-support-the-project) + +
+ +cover + +## What is ThreadPilot? + +ThreadPilot is a modern Windows desktop application for users who want predictable control over process behavior, CPU affinity, priority, power plans, and rule-driven performance workflows. + +It is designed as an open-source alternative for power users who need Process Lasso-style capabilities, automation support, system tray controls, and a Windows 11-first experience. + +## ✨ Features + +- Live process management with refresh, filtering, and high-volume process handling. +- CPU affinity and priority controls with topology-aware logic. +- I/O and scheduler-related tuning utilities. +- Rule-based automation for power plan switching when selected processes start or stop. +- Conditional profiles, tray controls, Live Metrics, and dashboard views. +- Administrator-aware Windows desktop workflow. +- CI-backed release artifacts and package-manager distribution. +- Windows 11 native visual refresh with neutral Fluent surfaces and refined card-based layouts. + +## 📦 Install + +### Install with WinGet + +ThreadPilot is available on WinGet as `PrimeBuild.ThreadPilot`. + +From **Command Prompt** or **PowerShell**: + +```cmd +winget install --id PrimeBuild.ThreadPilot -e +``` + +To refresh your local WinGet source first: + +```cmd +winget source update +winget search ThreadPilot +``` + +### Download from GitHub Releases + +[![Download Latest Release](https://img.shields.io/badge/Download-Latest%20Release-2ea44f?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest) +[![Portable ZIP Assets](https://img.shields.io/badge/Portable%20ZIP-Release%20Assets-1f6feb?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/releases/latest) + +| Package | Recommended use | +|---|---| +| `ThreadPilot_v_Setup.exe` | Standard Windows installer for most users | +| `ThreadPilot_v_singlefile_win-x64.zip` | Portable/no-install deployment | + +Optional checksum verification: + +```powershell +Get-FileHash .\ThreadPilot_v_Setup.exe -Algorithm SHA256 +Get-FileHash .\ThreadPilot_v_singlefile_win-x64.zip -Algorithm SHA256 +``` + +Compare the result with `SHA256SUMS.txt` from the same release. + +## 🖼️ Screenshots + +banner + +## ⚙️ Requirements + +- Windows 11, build 22000 or newer. +- Administrator privileges to launch and manage system-level process settings. +- .NET 8 SDK only if you want to build from source. + +## 🚀 Usage Notes + +ThreadPilot uses an administrator-required manifest and requests elevation at startup. If UAC elevation is declined, the application exits instead of continuing in a limited mode. + +Useful startup arguments: + +```text +--start-minimized +--autostart +--test +--smoke-test +``` + +In `Power Plans > Custom Power Plans`, use `Add .pow File` to import custom power plans directly from the app. + +## 🧱 Build from Source + +```powershell +git clone https://github.com/PrimeBuild-pc/ThreadPilot.git +cd ThreadPilot +dotnet restore ThreadPilot_1.sln +dotnet build ThreadPilot_1.sln --configuration Release +dotnet run --project ThreadPilot.csproj --configuration Release +``` + +Run integrated runtime tests: + +```powershell +dotnet run --project ThreadPilot.csproj --configuration Release -- --test +``` + +Publish a self-contained Windows build: + +```powershell +dotnet publish ThreadPilot.csproj --configuration Release --runtime win-x64 --self-contained true +``` + +Build release artifacts with the project script: + +```powershell +./build/build-release.ps1 +``` + +## 🔐 Quality and Security + +- CI validates build, formatting, analyzers, vulnerability checks, and secret scanning. +- Security disclosures are handled through private GitHub advisories. See [`docs/SECURITY.md`](docs/SECURITY.md). +- Change history is tracked in [`docs/CHANGELOG.md`](docs/CHANGELOG.md). +- Coverage focuses on business/application code and excludes generated build artifacts. + +## 🧭 Project Documentation + +- [`docs/README.md`](docs/README.md) +- [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) +- [`docs/CODE_OF_CONDUCT.md`](docs/CODE_OF_CONDUCT.md) +- [`docs/RELEASE_SIGNING.md`](docs/RELEASE_SIGNING.md) +- [`docs/release/PACKAGING.md`](docs/release/PACKAGING.md) +- [`docs/reference/ARCHITECTURE_GUIDE.md`](docs/reference/ARCHITECTURE_GUIDE.md) +- [`docs/reference/DEVELOPER_GUIDE.md`](docs/reference/DEVELOPER_GUIDE.md) +- [`docs/reference/API_REFERENCE.md`](docs/reference/API_REFERENCE.md) +- [`docs/reference/PROJECT_STRUCTURE.md`](docs/reference/PROJECT_STRUCTURE.md) +- [`docs/reference/UI_STYLE_GUIDE.md`](docs/reference/UI_STYLE_GUIDE.md) + +## 🗺️ Roadmap + +- Expand unit and integration coverage for core services. +- Continue async reliability refactoring for long-running monitoring paths. +- Improve accessibility and localization readiness across major views. +- Formalize release signing and distribution hardening. + +## 🤝 Contributing + +Contributions are welcome. Before opening a pull request, please read [`docs/CONTRIBUTING.md`](docs/CONTRIBUTING.md) and [`docs/CODE_OF_CONDUCT.md`](docs/CODE_OF_CONDUCT.md). + +For bugs, feature requests, or packaging issues, open a GitHub issue with reproduction steps and your Windows version. + +## 📄 License + +ThreadPilot is licensed under the **GNU Affero General Public License v3.0**. See [`LICENSE`](LICENSE). + +## 💬 Support the Project + +
+ +**Built with care for Windows power users.** + +[![GitHub Issues](https://img.shields.io/badge/Report%20a%20Bug-GitHub%20Issues-d73a49?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/issues) +[![GitHub Discussions](https://img.shields.io/badge/Ask%20a%20Question-Discussions-6f42c1?logo=github)](https://github.com/PrimeBuild-pc/ThreadPilot/discussions) +[![PayPal](https://img.shields.io/badge/Support%20Development-PayPal-00457C?logo=paypal&logoColor=white)](https://paypal.me/PrimeBuildOfficial?country.x=IT&locale.x=it_IT) + +If ThreadPilot is useful to you, consider starring the repository, opening thoughtful issues, sharing feedback, or supporting development with a small donation. + +
diff --git a/ThreadPilot.csproj b/ThreadPilot.csproj index be0006e..09cf7b1 100644 --- a/ThreadPilot.csproj +++ b/ThreadPilot.csproj @@ -16,10 +16,10 @@ link true CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034 - 1.1.5 - 1.1.5.0 - 1.1.5.0 - 1.1.5 + 1.1.6 + 1.1.6.0 + 1.1.6.0 + 1.1.6 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f56d912..7ea5646 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project are documented in this file. +## [1.1.6] - 2026-05-16 + +### Added + +- Windows 11 native visual refresh: neutral Fluent surfaces, refined card styles, and reduced visual weight across Rules, Logs, Performance, Settings, Tweaks, Process, Power Plans, and CPU Masks views. +- Sidebar navigation separator polish: horizontal separator lines softened for a cleaner Windows 11 Settings-like sidebar appearance. +- Start minimized default clarification: `StartMinimized` now explicitly defaults to `false` for predictable manual-launch visibility. + +### Changed + +- Project version updated to 1.1.6. + +### Fixed + +- Older settings JSON without `startMinimized` field no longer risks unexpected minimized startup. + ## [1.1.3] - 2026-05-09 ### Added diff --git a/docs/release/RELEASE_NOTES.md b/docs/release/RELEASE_NOTES.md index 5aec0a7..0f6c6e8 100644 --- a/docs/release/RELEASE_NOTES.md +++ b/docs/release/RELEASE_NOTES.md @@ -1,41 +1,27 @@ -# ThreadPilot v1.1.3 Release Notes +# ThreadPilot v1.1.6 Release Notes ## Highlights -- Lower background UI refresh work when ThreadPilot is minimized or hidden to tray. -- Safer process enumeration when Windows denies access or processes exit during refresh. -- More predictable affinity changes with explicit apply and OS verification. -- More stable process-driven power plan automation with duplicate and debounce protection. -- Redesigned Process Management layout with clearer selected-process actions. +- Windows 11 native visual refresh across all major views with neutral Fluent surfaces. +- Refined sidebar navigation: separator lines softened for a cleaner, Settings-like appearance. +- Reduced visual weight and consistent card-based layouts in Rules, Logs, Performance, Settings, Tweaks, Process, Power Plans, and CPU Masks. +- Start minimized default clarified: `StartMinimized` now explicitly defaults to `false` for predictable manual-launch visibility. ## Added -- App refresh policy for foreground, minimized, tray-hidden, and background states. -- Lightweight process classification for foreground apps, visible-window apps, background processes, system processes, and protected/access-denied processes. -- Regression coverage for refresh policy, process deltas, affinity apply, process classification, passive error throttling, and power plan transition logic. +- Windows 11 visual refresh pass completed for neutral Fluent surfaces and card polish. +- Sidebar navigation separator polish: horizontal separator lines removed/softened for a native Windows 11 Settings-like feel. ## Changed -- Process Management now uses a two-pane layout with the process table on the left and selected-process controls on the right. -- Affinity controls distinguish current OS affinity from pending core mask edits. -- Automation Monitoring and Live Metrics terminology is clearer across the app. -- Background refresh, virtualized preload, and UI monitoring are reduced when the UI is not active. +- `StartMinimized` defaults to `false` in `ApplicationSettingsModel`: manual exe launch opens the main window visibly by default. +- Older settings JSON without `startMinimized` field now reliably defaults to `false`. +- Explicit saved `startMinimized: true` or `startMinimized: false` values remain fully respected. +- Project version updated to 1.1.6. ## Fixed -- Passive process read failures no longer empty the process table. -- Protected, elevated, and terminated processes are handled as best-effort entries during passive refresh. -- Process selection and core mask selection no longer apply affinity automatically. -- Repeated power plan changes for the same target are suppressed during rapid process churn. - -## Security - -- Access-denied and protected-process scenarios are handled without noisy passive refresh failures. - -## Performance - -- Reduced dispatcher and process-list work while the app is minimized, hidden to tray, or on non-process views. -- Improved process list delta updates to preserve existing rows and reduce collection churn. +- Legacy settings without `startMinimized` no longer risk unexpected minimized startup. ## Breaking Changes @@ -45,13 +31,13 @@ ### Installer -1. Download ThreadPilot_v1.1.3_Setup.exe. +1. Download ThreadPilot_v1.1.6_Setup.exe. 2. Run installer. 3. Launch ThreadPilot. ### Portable -1. Download ThreadPilot_v1.1.3_singlefile_win-x64.zip. +1. Download ThreadPilot_v1.1.6_singlefile_win-x64.zip. 2. Extract archive. 3. Run ThreadPilot.exe.