All notable changes to this project are documented in this file.
The format is based on Keep a Changelog 1.1.0, and this project adheres to Semantic Versioning 2.0.0.
No unreleased changes yet. Work lands here between tagged releases.
1.1.0 — 2026-05-04
The "modernization integration" release. Lands a multi-month UI decomposition arc that had been parked on a feature branch (feature/toolbar-extraction-2026-04) and never merged before v1.0.0; closes the lint-debt and coverage gaps introduced by that merge; reorganises core/include/ into purpose-driven subdirectories; moves all build artifacts under out/build/<preset>/; and extends CI clang-tidy scope to cover ui/qt/ + tests/ instead of just core/.
Added
- MainWindow decomposition — five new manager classes pull responsibility out of mainwindow.cpp (8,064 → 4,536 LoC, -44% on top of the prior MED-7 GameThumbnailCache + DetailsPanelManager extractions):
- ToolbarManager (signal-based, pimpl) — owns the toolbar widget tree.
- SidebarManager — owns the four filter lists and collection CRUD.
- MenuBarManager — owns the File/Game/View/Tools/Help menus.
- ContextMenuManager — owns the games-list customContextMenuRequested handler.
- GameActionFactory — single source of truth for per-game menu actions, eliminates ~396 LoC of duplication between MenuBar Game menu and the context menu.
- ShortcutsController — friend class extracted from MainWindow that owns 1,017 LoC of setupKeyboardShortcuts() + registerPaletteCommands().
- ThemeManager dependency injection rolled out across ~33 leaf-widget files / ~45 classes — ~268 ::instance() call sites replaced with constructor-injected ThemeManager* plumbed through dialog/widget constructors. Pattern: explicit X(..., ThemeManager* themeManager = nullptr) with a themeManager_(themeManager ? themeManager : &ThemeManager::instance()) fallback for backwards compatibility.
- Sidebar QListView migration — sidebar moves from QListWidget to QListView + QAbstractListModel. New SidebarModels covers the category, source, runner, and collection lists. Test: test_sidebar_models.cpp.
- GameSuggestionService::setCapabilitiesOverrideForTesting() — test-only injection point to make platform-dependent suggestion branches deterministic in unit tests (NTSync available, CachyOS detected, AMD vs NVIDIA GPU, etc.).
- Three new tests: test_archive_detection.cpp, test_performance_profile_service.cpp, test_sidebar_models.cpp. Brings the suite to 449 tests (up from 407).
Changed
- core/include/ reorganised — the previous "everything in
`models/`" layout split into four purpose-driven subdirectories with history preserved across all moves (git log --follow):
- models/ — pure data/state classes (5 pairs: game, game_library, launch_manager, proton_cache, frame_metrics).
- services/ — abstract Qt-bridge interfaces + concrete domain services (~22 file pairs: protondb, hltb, steamgriddb, runner_download, game_database, game_session, performance_profile, system_info, task_scheduler, cloud_save, prefix_snapshot, installation_executor, shader_cache_manager, archive_extract, file_download, file_verification, game_scanner, game_state_sync, game_suggestion, lutris_api, process_executor, steam_monitor).
- integrations/ — third-party adapters (8 pairs: steam_integration, steam_appinfo_parser, gog_integration, legendary_integration, umu_launcher, lutris_config, wine_dependency_manager, game_process).
- util/ — cross-cutting helpers (was 2 files, now 9: adds desktop_entry_utils, file_handle.h, logger, lru_cache.h, shell_utils.h, steam_constants.h, steam_paths).
- Build artifacts relocated to out/build/<preset>/ — CMakePresets.json now follows the modern Microsoft CMake convention (${sourceDir}/out/build/${presetName}) so the repo root is no longer cluttered by build-qt-debug/, build-qt-release/, build-cov/, build-tidy/, build-asan/ siblings. The out/ directory is gitignored. All hardcoded paths in CONTRIBUTING.md, README.md, docs/, .gitlab-ci.yml, .vscode/, install.sh, and tasks.json updated accordingly. Reference: Microsoft configurePreset.binaryDir.
- CI lint:tidy scope extended to cover ui/qt/ + tests/ in addition to core/. The previous BUILD_CORE_ONLY=ON configure meant compile_commands.json never contained UI translation units, so the modernization-arc merge introduced 37 lint findings that CI would never have caught. The job now configures with -DBUILD_QT_UI=ON -DBUILD_TESTS=ON, builds the Qt autogen target so moc/uic-generated headers exist for #include resolution, and runs run-clang-tidy -j "$(nproc)" across (core|ui/qt|tests)/.*.
- QPalette migration started — partial replacement of setStyleSheet with QPalette operations, focused on truly-redundant sites that don't combine color with radii/margins/pseudo-states:
- POC: DetailsPanelManager::applyTheme setAutoFillBackground +
QPalette::Window.
- Bucket-1 single-color labels: 14 single-rule setStyleSheet("color:…") sites converted to QPalette::WindowText across 8 files.
- Safe-subset setStyleSheet("background-color:…"): 4 more sites converted to setAutoFillBackground + setBackgroundRole.
- GameListProxyModel no longer auto-sorts — the library controller now owns sort ordering (it pre-sorts the source model per the user's SortOption, including ascending/descending). Calling sort() on the proxy was clobbering descending sort because lessThan() is hard-coded per SortKey and didn't honor the user's asc/desc choice. The proxy retains setDynamicSortFilter(true) for filter-change reactivity but defers row ordering to the controller.
Fixed
- clang-tidy clean — closes 37 findings the modernization arc introduced (performance-unnecessary-value-param ×11, performance-inefficient-vector-operation ×5, performance-implicit-conversion-in-loop ×3, performance-unnecessary-copy-initialization ×1, performance-move-const-arg ×1, bugprone-throwing-static-initialization ×5, bugprone-switch-missing-default-case ×3, bugprone-integer-division ×2, bugprone-unused-local-non-trivial-variable ×1, bugprone-suspicious-missing-comma ×1, clang-diagnostic-unused-lambda-capture ×2, clang-analyzer-core.CallAndMessage ×2 [false-positive NOLINTs], clang-analyzer-deadcode.DeadStores ×1).
- .clang-tidy RemovedArgs — adds -mno-direct-extern-access to RemovedArgs so clang-tidy stops aborting on the CachyOS toolchain's gcc-only codegen flag (~56 files were silently being skipped before this fix). Reference: clang-tidy docs.
- gcovr exclude paths — refresh core/src/models/<x> patterns to core/src/{services,integrations,util}/<x> after the include reorg. Without the update, gcovr counted the (intentionally-excluded) integration-glue translation units in the denominator and reported 0% line coverage instead of the actual 81%.
- Context-menu null-factory regression — ContextMenuManager captured a null GameActionFactory* during construction, silently no-op'ing context menu actions.
- Game-list sort regression — proxy's own sort() was overriding the library controller's pre-sorted order, causing user-selected descending sorts (e.g. "Z-A") to display ascending.
- Ambiguous-shortcut Qt warnings — duplicate ShortcutManager + legacy QShortcut registrations caused Qt's Q_WARN("Ambiguous shortcut overload") suppression in some focus conditions. The ShortcutsController extraction collapses both into the single registration path.
Removed
- 2.3 GB of stale untracked junk swept from the repo root: dormant build-asan/, build-tests/, src/ (artifact of an in-tree cmake-from-src/ misconfigure), packages/, pkg/, and the gamelauncher-1.0.0-{2,3}-x86_64.pkg.tar.zst makepkg outputs.
1.0.0 — 2026-05-03
First tagged release. Cuts the rolling develop branch into a stable 1.0.0 line. Tracks the multi-month audit-and-hardening series that brought the codebase to clean clang-format, zero clang-tidy findings, ~81% line coverage on the testable surface, and zero Doxygen warnings on a fully cross-referenced API documentation set.
Added
- Doxygen API documentation — cmake/Doxyfile.in template + docs CMake target generated via configure_file. CI publishes the HTML output to GitLab Pages on develop via the new pages job. Qt-specific macros (Q_OBJECT, signals:, Q_PROPERTY, etc.) are pre-defined in the Doxyfile so headers parse cleanly without moc. Driven to zero warnings across the full input set (core/, ui/qt/, README.md, ARCHITECTURE.md, CONTRIBUTING.md, SECURITY.md, CHANGELOG.md, CODE_OF_CONDUCT.md, docs/*.md).
- Coverage tooling — -DENABLE_COVERAGE=ON configure flag plus coverage and coverage-html CMake custom targets that shell out to gcovr. Coverage is auto-incompatible with PCH and the sanitisers (the configure step rejects the combination).
- CI: test:coverage job — runs the gcov build, generates Cobertura XML for GitLab's MR coverage diff widget, and feeds the coverage: regex for the pipeline coverage badge.
- CI: lint:format and lint:tidy stages — clang-format and run-clang-tidy gate runs in front of build; format / tidy regressions can no longer reach develop.
- CI: pages job — Doxygen HTML built and published to <group>.gitlab.io/<project> on default-branch pushes.
- 214 new unit tests across 9 files (193 → 407 total):
- test_lru_cache.cpp (29 tests; templated cache backing ProtonDB / HLTB / suggestions services)
- test_atomic_write.cpp (13 tests; durability primitive for settings/state files)
- test_safe_enum_cast.cpp (15 tests; bounds-checked int→enum used at every persistence boundary, with static_assert for constexpr / noexcept properties)
- test_game.cpp (60 tests; formatters, JSON round-trip, image-path fallback chains, completion status, HLTB metrics, sessions, ActualRuntimeInfo, DLC / CloudSave round-trip)
- test_proton_cache.cpp (7 tests; ProtonCache lifecycle and sort-priority invariants)
- test_service_singletons.cpp (9 tests; NotificationService + ImageService static accessors and NullService no-op coverage)
- test_platform_common.cpp (7 tests; Paths::ensureDir + the three Meyer's-singleton accessors)
- test_steam_paths.cpp (18 tests; pure path-construction helpers + install-detection (Standard / Flatpak / Snap) against a tempdir-rooted $HOME)
- Extended test_shell_utils.cpp (+30 tests), test_steam_appinfo_parser.cpp (+15), test_lutris_config.cpp (+10).
- Coverage philosophy in CONTRIBUTING.md — documents why global 80% line coverage isn't a near-term goal (~70% of core/ is integration glue around fork/exec/popen/HTTP/Steam VDF that the test policy explicitly excludes) and replaces it with per-file tier targets: pure helpers 80–95%, state models 60–75%, integration glue not measured. Achieved 81.4% line coverage on the testable surface (1,681 / 2,065 lines).
- Top-level governance files:
- SECURITY.md — vulnerability disclosure policy and threat model.
- CHANGELOG.md (this file) — Keep a Changelog 1.1.0 format.
- CODE_OF_CONDUCT.md — Contributor Covenant 2.1 adoption.
- .editorconfig — cross-IDE indent / EOL / charset baseline.
- GitLab integration:
- .gitlab/issue_templates/Bug.md — structured bug template with severity checklist and runner / launch-context section.
- .gitlab/issue_templates/Feature_Request.md — problem / proposed-solution template with subsystem-checkbox matrix.
- .gitlab/merge_request_templates/Default.md — type-of-change classifier + mandatory test-plan checklist.
Changed
- Project layout reorganised for consistency across the whole codebase. core/controllers/ and core/services/ were split into core/include/<x>/ + core/src/<x>/ to mirror the existing core/include/models/ + core/src/models/ convention. ui/qt/'s 87 flat files were grouped into four subdirectories:
- ui/qt/managers/ — composition managers
- ui/qt/dialogs/ — 18 dialogs + first-run wizard + cheatsheet
- ui/qt/widgets/ — custom widgets / models / delegates
- ui/qt/services/ — Qt implementations of core service interfaces History preserved across all 89 moves (git log --follow works).
- README badges: pipeline + coverage (live), license, C++17, Qt 6.8 LTS, Contributor Covenant 2.1.
- README + CONTRIBUTING.md project-structure trees updated for the new layout.
- README test count corrected (193 → 407).
- Renamed imgui_game_launcher.code-workspace → gamelauncher.code-workspace to match the current Qt6 project name (the file dated from a pre-Qt-rewrite ImGui prototype).
Removed
- docs/CROSS_PLATFORM_PLAN.md, docs/UI_REWORK_PLAN.md, docs/UI_IMPROVEMENT_PLAN.md — completed / superseded planning documents kept only in git history.
- Empty packaging/ directory (PKGBUILD lives at the repo root).
Fixed
- Multi-pass clang-tidy + clang-format audit brought the codebase to zero findings. See git log --grep "fix(audit)" for the per-check breakdown:
- style: clang-format pass across core/ and ui/ (15,779 violations → 0)
- bugprone-*: use-after-move, throwing-static-init, incorrect-roundings, integer-division, suspicious-missing-comma, assignment-in-if-condition, unused-local-non-trivial-variable.
- clang-analyzer-*: BlockInCriticalSection, NewDeleteLeaks, CallAndMessage, DeadStores, unix.Errno.
- performance-*: unnecessary-value-param ×104, move-const-arg, inefficient-vector-operation, unnecessary-copy-initialization, implicit-conversion-in-loop.
- modernize-*: use-equals-default / use-equals-delete / use-nullptr / loop-convert.
- cert-err34-c: sscanf → std::strtol with errno + endptr checks.
- Doxygen warnings driven to zero — fixed obsolete-tag warnings, unsupported HTML-tag interpretations of <pid> / <AppID> / <width> placeholders, missing @param docs, and a comment-block parse error in shell_utils.h from an unbalanced backtick block.
- LCOV_EXCL_* markers on the few defensive OS-fault paths in atomic_write.cpp (write / fsync / close / rename failure handlers) that require fault injection to trigger and have no realistic unit-testable surface.
Security
- See SECURITY.md for the full threat model and disclosure policy.
- The audit pass series (Pass 1 through Pass 12) hardened every user-controlled input boundary: ShellUtils::escapeArg() on every popen/system argument; path-traversal containment via weakly_canonical + fs::relative + first-segment .. check on installer / snapshot / verification paths; libcurl protocol restrictions (CURLOPT_PROTOCOLS_STR="https"); constant-time checksum comparison via CRYPTO_memcmp; pre-fork environment building so post-fork code is async-signal-safe; Zip-Slip-safe tar extraction. Highlights are consolidated in git log rather than repeated here.
Subsystems
The full feature set is summarised in README.md. Notable subsystems shipped in 1.0.0:
- Steam library import + Proton compat-tool sync.
- Wine / Proton runner management with GE-Proton + UMU-Launcher.
- Lutris installer-script execution.
- ProtonDB tier fetching with LRU cache.
- HowLongToBeat completion-time integration.
- SteamGridDB cover-art fetching with local cache.
- MangoHud / GameMode / Gamescope / vkBasalt wrapping.
- NTSync / Fsync runtime detection.
- Cloud save backup/restore (local + rclone backends).
- Wine prefix snapshots (tar with Zip-Slip containment).
- Embedded terminal (qtermwidget) and Home Assistant panels.
- 407 GoogleTest unit tests with sanitiser CI.