feat/input-reader
5
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
1342979353 |
ci: Qodana - JetBrains' code analysis from a workflow of its own, and what its first run reported settled (D93) (#373)
* ci: Qodana - a workflow of its own from JetBrains' template, Qodana Community for .NET over FrameLedger.slnx (D93) The first run: the linter in its Linux container, EnableWindowsTargeting passed to it, no quality gate yet - what it builds and what it reports decides the rest. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * ci: Qodana's gate is zero problems, and the inspections this project argues with are off in .editorconfig, each with its reason (D93) Pushed before the fixes on purpose: the run this starts has the settings and none of the fixes, so it shows the gate failing on what is left. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> * fix: what Qodana's first run reported, settled - about 400 fixes in 181 files, none changing behaviour; the documents (D93) Redundant qualifiers, casts, using directives, nullable suppressions and unsafe modifiers removed from the report's own positions; var for built-in types and one-line block bodies brought to .editorconfig's style by dotnet format; every XAML item template names its DataType and a binding that reached its page through DataContext.ViewModel names the page's type; two unread fields, two overwritten initialisers and an unused parameter removed; SpokenTextAutomationPeer no longer assumes the base peer's name is a string. docs/13_CI_CD.md §Qodana, CLAUDE.md, the wiki's workflow table, HANDOFF's decisions index (D93) and the changelog entry. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com> |
||
|
|
ff949afc6f |
feat(legal): NOTICE with the GPLv3 section 7 additional terms, the licence header in every source file, and the documents for people who build, contribute or redistribute (D45, beta.12 PR-1) (#253)
- NOTICE: copyright, GPL-3.0-only, and three additional terms of the kinds section 7 permits - (b) preserve the notices and the attribution in the program's legal notices, (c) mark a modified version as different and do not call it "FrameLedger" alone, (e) no trademark rights in the name. Shipped as licenses\NOTICE.txt; release.yml refuses a published tree without it. - Section 7 wants additional terms named in the source files: every first-party .cs .cpp .h .inl .ps1 .xaml file (1,053; src/native/third_party excluded) opens with the SPDX line and a pointer to NOTICE. tools/notice-check.ps1 is the gate (six self-test cases, both directions; -Fix writes a missing header) and tools/resx-gen.ps1 generates the string accessors with the header. - The native VERSIONINFO LegalCopyright said GPL-3.0-or-later; it now names the real licence. - CONTRIBUTING.md, FORKING.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1 by reference), legal/TRADEMARKS.md. - 12_BUILD gate list, CLAUDE.md layout and conventions. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
c48b1348a7 |
feat(app): the Games library fills the window, switches to a list, counts and refreshes its games; import hides what is already in it (beta.11) (#249)
* feat(app): the Games library fills the window, switches to a list, counts and refreshes its games; import hides what is already in it (beta.11)
Owner requests 2026-10-03 (screenshots): the empty band right of the library; a manual refresh
for when games are installed or uninstalled; import's games already in the library, dimmed or
hidden. The owner chose, when asked: the refresh does all three (reload, new games from the
stores, mark uninstalled games), and the view switches between a filling grid and a list.
Library (Games page):
- Controls.UniformWrapPanel: as many columns as fit at 300 px or wider, every card an equal share
of the width, each row as tall as its tallest card - the cards were 300 px in a WrapPanel, so a
card's width went unused at the right. The pill row wraps instead of cutting its last pill.
- A list view (name, store, engine, status, sessions, played, last played; double-click or Enter
opens a game); the button beside the sort shows the other view; ui.library_view remembers it.
- The title counts the games ("Games - 42").
- Refresh reads the library again, then ImportLibraryFlow.RunAsync(onlyNew: true) asks the stores
for games installed since ("No new games" and no checklist when there are none), and every
entry whose executable is not on disk carries a "Not installed" pill whose tooltip names the path
and says when the drive itself is not connected (ExecutablePresenceProbe, off the UI thread on
each listing, never stored; nothing is removed).
- The page reloads itself while on screen when a session ends (SessionCompleted) or an import adds
games (LibraryChanges): navigating to the page already on screen does nothing in WPF UI 4.3.0, so
an import from the menu showed only after leaving the page.
Import (FR-1.2): the games already in the library - at this path or under another drive letter -
are hidden by default; "Show the N games already in the library" brings them back dimmed; a row
that cannot be imported has its box disabled (the XAML said "cannot be ticked" while a tick was
taken and ignored).
Strings en/vi/ja; 08_UI, 06_DATA_MODEL (ui.library_view), CHANGELOG. Tests: GamesViewModelTests
(reload on import and session end, not after Detach; presence; column math), ImportLibraryFlowTests
(refresh offers only new games; hidden until asked), PagesLoadTests (the grid fills its width; the
list replaces it and is remembered; the checklist renders with existing rows shown). Rendered to
PNG in a hosted window to look at it (1270 px: three columns; 900 px: two; the list).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* refactor(app): the library's Not installed pill reads the file the game page's way - GameLibrary.ExecutableExists and its sentence - instead of a second probe and two more strings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
||
|
|
101bbbe5e4 |
fix: one entry per executable across drive letters - twins merge, an updated game follows with hooking off (#223)
Item 5 of the owner's beta.6 list: after the USB drive's letter changed and changed back (H: on 2026-09-22 morning, D: after the reboot), the library showed two entries side by side for the games played from it, and the relocator's NOT EXISTS refused every move onto the other entry's path - 5,675 "could not be moved" lines that day. D26 (owner): two entries for one executable merge, in the Agent. - ExecutableRelocator: a same-bytes move refused because another library entry holds the path becomes a merge (IGameMerge / SqliteGameMerge, one transaction; GameMergePlan picks the entry made first, a tie keeping the lower id). Sessions are re-parented before the dropped row is deleted (sessions.game_id cascades), the survivor takes the path after (UNIQUE). A block either carried is kept (hooking off), a crash auto-disable still in force is kept, crash counts add; no consent moves between the rows - hook_enabled only ever goes to 0. The merge re-reads both rows in the transaction and writes nothing unless they are as planned. - It waits while a session of either entry runs (CaptureOrchestrator. IsRecording) or waits in a .partial to be recovered (IPartialSessionStore. PendingGameIds, read beside a running writer with FileShare.ReadWrite). - Never with an entry removed from the library; other bytes under a twin are not merged - the log says once which entry to remove. D27 (owner): when the only file at the entry's path on another letter has other bytes (updated meanwhile), the entry follows it through the Change executable write: hooking off, consent cleared, block kept. The watcher's adopt follows the same rule. Also: - LibraryImporter no longer adds a twin: a store executable that is a library entry's path on another letter, with that entry's file gone, is shown "In the library under another drive letter" (Import_Note_Moved, en/vi/ja) and skipped at import. - DetectionSweep does not call a merged-away entry unreadable. - DetectionHostedService catches DbException: a service that throws stops the Agent's host, and a busy ledger is a retry. Tests: relocator (merge, survivor choice, busy, refused merge, removed owner, other bytes not merged, D27 sweep and watcher, ambiguity), plan, SqliteGameMerge on a real ledger (sessions re-parented, block and auto-disable carried or not, no consent moved, nothing written when a row changed), sweep, importer, import review, .partial headers beside a writer. Docs: 19_SAFETY, 06_DATA_MODEL, HANDOFF D24 done + D26/D27 + traps, CHANGELOG. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|
|
603795f49d |
feat(app): the library import -- Steam, GOG Galaxy, Epic and itch.io through a review checklist, hooking off for every row (P4 PR-4) (#173)
LibraryImporter over four IStoreLibrarySource adapters: Steam (libraryfolders.vdf + appmanifest_*.acf through a ValveKeyValues reader), GOG (the HKLM registry keys, read-only, under whichever hive and key a caller names), Epic (Manifests\*.item), itch (gzipped receipts). Steam and itch do not name the game's executable: ExecutableLocator walks three levels, drops helpers by name fragment and takes the largest -- a guess the review marks as such. File > Import library... shows the checklist, adds what was ticked exactly as File > Add game... would -- hooking off, FR-1.2 -- and writes the store's platform, id and version through the new IGameRepository.ApplyStoreMetadataAsync under the same provenance rule as a detection write. Nothing is launched, nothing is fetched. Tests: ValveKeyValuesTests, StoreLibrarySourcesTests, LibraryImporterTests, ImportLibraryFlowTests, SqliteGameRepositoryTests. 15 App strings en/vi/ja. Docs: 05_DETECTION, 06_DATA_MODEL, 08_UI, 14_TESTING, HANDOFF, 15_ROADMAP, CHANGELOG. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |