A Windows 10 user saw the program quit silently after SmartScreen: a Windows
program has no console, so a failed graphics start left no trace. A start that
fails or dies before its first frame now tries again without Vulkan, with
OpenGL, then with software drawing (WARP), and keeps the mode that worked; what
no mode overcomes, and any panic, goes to a message box and chesspenguin.log.
The C runtime is linked statically (no VCRUNTIME140.dll needed); CI checks that
and starts the window on the GPU-less Windows runner.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The last nickname was put back each time, to be erased before searching for
another player; the databases already downloaded update with "⟳ New games".
The nickname is no longer kept in the settings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reference tab no longer slides under the board on a laptop screen with
200 % scaling: the games table narrows its player columns to the panel, the
moves table shows a column only while it fits, its heading lines wrap, and the
board gives way in a tall narrow window so the reference keeps 320 px.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pending Lichess games are asked about by id; broken connections are retried with waits;
a file lock keeps two running ChessPenguins from writing one database.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two tables (moves with statistics; strongest/newest games with how they went on), theory
of the game and its copies in the database, a stack of games opened from it with no lost
edits, background work cancellable. Reviewed by independent designer and tester agents;
their findings fixed and re-verified.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Probe of both public APIs at start (hidden when offline or changed), lookup, download
into a database per platform with resumable updates, window and shelf card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Opening index: games from a set-up position are left to the pass; exact preparation
progress; quiet import notes; clearer preparation text; randomized Mega test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stockfish downloaded on request (packages about 14 MB; the Flatpak keeps it
inside), macOS builds for Apple Silicon, position search fixes and the
narrow-window layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Packages no longer carry Stockfish (about 14 MB instead of 95): the first
analysis without an engine offers to download the official Stockfish 19
"universal" build from GitHub (pinned per platform with its SHA-256, checked
before use, unpacked into the user's local data directory, test-started),
then starts the analysis the user asked for. Settings -> Engines: download
with progress and cancel, "file not found" with download again, removal with
confirmation; "Choose engine file…" for any other engine. A system stockfish
is offered first when there is one. ChessPenguin's Stockfish = bundled
(Flatpak) or downloaded.
macOS: release job and CI job on macos-14 build ChessPenguin.app (icon,
Info.plist, ad-hoc signature) in a .dmg; Homebrew paths for a system
stockfish. Not signed by Apple yet.
Decisions 14-15; design docs/design/engine-download.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The result cache keys on the board's move order too, so "in this move
order" is not reused from another order of the same position.
- While a search runs, the hover arrow and the position a game opens at
belong to the rows shown; small databases keep the last result dimmed.
- PGN: a game ending in its chosen occurrence has no next move (it was
taken from a variation); Collector::add_match_with_next.
- Average rating of a continuation only from games with both ratings.
- Narrow windows: the pane switch stays visible, chips that do not fit
become "+N more", columns hide by priority, the date becomes the year.
- Ctrl+Shift+Backspace clears all conditions with the position; × for the
position in small databases; the outcome cache is bounded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The "Board" pane next to the game list (Ctrl+B): moves played on it filter
the list to the games that reach the position by any move order, together
with the filters; the moves played next are listed with games, a results
bar, average rating and last year. Games reached by another order are
marked and "only this order" narrows the list; strongest games first.
A game opens at the found position; "Find in database" (Ctrl+Shift+F)
searches the position of the game on screen.
Large ChessBase databases: a fast main-line walk (moves built from the
board), pruning by material and pawns, the .cbb search booster when valid;
Mega Database: 0.4 s for the starting position, under 0.1 s deeper.
PGN databases and books: positions of all games, variations included,
kept in memory once built.
Also: × to clear filter and search fields; "Open as a new game" opens at
the last move; the "Moves" column is now "Length".
Docs: decision 13, design (docs/design/board-search.md), research
(position-search, position-index), dev notes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mega Database (11.7 million games) opens in under a second: a .cbh with
20,000 records or more is read in place, a game is converted to PGN when
opened. Filter panel on the right (player with suggestions, colour,
opponent, tournament, annotator, years, Elo rule, result, ECO, moves,
comments, variations), applied live in the background with cancellation.
Fixes: a ChessBase game unreadable from its first move (Chess960) crashed
the import; databases mixing UTF-8 and single-byte texts were decoded as
Cyrillic.
Docs: decision 12, design (docs/design/large-databases.md), format research
and acceptance criteria, QA report 2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Piece sets governor, kosal, metaltops (from PyChess); boards Sketch (Lichess
horsey), IC, NCF and eight own flat palettes; sound sets Futuristic, NES
(Lichess) and Wood, Glass, Clicks (Kenney, CC0).
- The bundled checkmate sounds were git symlinks copied as text; Lichess sets now
play the check sound for mate. Tests check every sound and piece file.
- Version 0.3.0, changelog and AppStream release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New crate chess-import converts non-PGN sources to PGN in memory and returns
a PgnDatabase, so the library, notation and analysis work unchanged:
- .cbv archives (container rewritten after uncbv), .cbh with companion files
(layout after the public Morphy format description): games, variations,
comments with per-database code page detection, NAGs, squares/arrows, set-up
positions, time spent, book chapters (guiding texts) as move-less records;
- ChessBase figurines become piece letters, diagram/object markers handled,
Western names in Cyrillic databases read correctly;
- .zip/.7z with PGN (own encoding each), .cbh and .cbv; duplicates skipped;
- .cbz/encrypted archives and 2CBH rejected with clear messages.
Library: '+ Add database', format shown, import notes; comments keep
paragraph breaks. Tests on the user's sample books (skipped when absent).
Also: AUR PKGBUILD for 0.2.0 with the bundled Stockfish.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New screenshots (Merida pieces, green board) in English and Russian:
engine analysis, game review, engine marks, engine settings, library, settings.
- Better lines under marked moves show 6 moves and grow while stepping.
- CP_REPORT dev hook; version 0.2.0, changelog and AppStream release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- packaging/stockfish.sh fetches the pinned official universal build (SHA-256
checked) for Linux and Windows and the source archive for the release.
- deb/rpm/Arch, AppImage, Flatpak, tarball and Windows zip ship it unmodified
(AppImage: added after linuxdeploy, packed with appimagetool).
- The app resolves the built-in engine at run time (EngineConfig::builtin),
adds it on first start (or a system stockfish), and offers engines found on
the computer in Settings > Engines.
- install.sh installs Stockfish into ~/.local/lib/chesspenguin.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Separate background engine job over the main line (go nodes N), live engine
paused meanwhile; header button with progress/cancel, Shift+A.
- Lichess-method metrics: win %, move/game accuracy, inaccuracy/mistake/blunder,
ACPL, accuracy per game phase.
- Evaluation graph under the board, Report tab, engine badges and better lines
in the notation (preview on click), launch dialog with quality/threads/memory
and time estimate.
- Results cached in ~/.cache/chesspenguin/analysis; [%eval] read from PGN.
- Write analysis to the game as one undo step (chess-core: Game::annotate,
Game::edit_group).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Native chess database for Linux: PGN library, notation with variations and
comments, UCI engine analysis, move entry and export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>