Desktop: «✚ New database» on the shelf (Ctrl+Shift+N), «Add to database…»
(Ctrl+Shift+S, 💾, ☰) for any game — new, pasted, from a ChessBase, online or
legacy-encoded database — into a PGN of the user's choice; Ctrl+S saves the
changes back into the game's own PGN (its record is replaced) or adds the game
when the source is read-only; the game data editor (F2, the title, ☰) asked once
when a new game is first added; duplicate check (same players, date, moves →
replace / add as new, no Enter); delete from the table with a question and Undo
(Ctrl+Z, 6 s, waits under the mouse); UTF-8 copy for legacy-encoded files with
the restored letters; online and ChessBase stay read-only. Writes are explicit:
append, or an atomic rewrite through a temporary file and a rename (through a
symlink, keeping the mode, syncing the folder), refused when the file changed on
the disk. chess_core::pgn::store: append/replace/remove/restore/write_utf8_copy,
find_same_game, pgn_date; Game::remove_tag and order_roster. Settings: your
name (annotator), the folder for new databases, the last target. Nine languages.
Also: library warnings (wgpu, winit) go to chesspenguin.log, CP_LOG_FRAMES=1
traces egui_wgpu frames (the GNOME hang hunt); dev hooks CP_OWN, CP_PASTE,
CP_COMMENT, CP_KEYS with Ctrl+, CP_SETTINGS=interface.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "chesspenguin"
|
|
description = "Chess database for Linux: view, enter and analyse PGN games with UCI engines"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
chess-core.workspace = true
|
|
game-review.workspace = true
|
|
chess-import.workspace = true
|
|
shakmaty.workspace = true
|
|
uci.workspace = true
|
|
egui.workspace = true
|
|
eframe.workspace = true
|
|
egui_extras.workspace = true
|
|
image.workspace = true
|
|
rfd.workspace = true
|
|
arboard.workspace = true
|
|
rodio.workspace = true
|
|
directories.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
online-games.workspace = true
|
|
releases.workspace = true
|
|
# Downloading the official Stockfish on request (decision 14).
|
|
ureq = "3.4"
|
|
flate2 = "1.1"
|
|
tar = "0.4"
|
|
sha2 = "0.11"
|
|
zip = { version = "9.0.5", default-features = false, features = ["deflate-flate2-zlib-rs"] }
|
|
|
|
# The system language for the first start.
|
|
sys-locale = "0.3"
|
|
whatlang = "0.18.0"
|
|
getrandom = "0.3"
|
|
# Today's date for a new game.
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
# Warnings of the window and graphics libraries into chesspenguin.log.
|
|
log = "0.4"
|
|
base64 = "0.22"
|
|
form_urlencoded = "1"
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[dev-dependencies]
|
|
skrifa = "0.44"
|