chessbaseLinux/crates/chess-core/src
vrubelroman bc104c55b4 Web version: ChessBase databases of several files and folders, a 2 GB limit with a polite refusal, messages without the page's paths
A .cbh chosen alone brings a window: its folder (Chrome, Edge:
showDirectoryPicker opening beside the file, the folder remembered; others:
webkitdirectory) or all its files; the files are grouped into databases by
name (chess_import::group_chosen), the reader opens a ChessBase one with
open_chessbase_owned. The user's files stay the browser's File objects: the
worker reads them, the page never holds a database's bytes; a kept copy
takes the whole database. Over 2 GB of the files read: refused with the way
to the desktop program. A reader out of memory says so in the user's words.
Paths like /opened/... are no longer shown (platform::files::shown).

chess-core: detect_letter_substitution decodes the text a piece at a time;
it held the whole text as chars (four times its size): a 1 GB cp1251 PGN
could not be read in a browser (capacity overflow) and cost gigabytes on a
computer. Now 1.95 GB opens in Firefox and Chromium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:42:18 +03:00
..
pgn Web version: databases read in a worker, the shelf's counts, Chrome and Edge remember chosen files 2026-10-30 17:50:54 +03:00
comment.rs User comments: an editor in the notation, symbols, arrows on the board 2026-10-25 02:35:54 +03:00
database.rs Web version: databases read in a worker, the shelf's counts, Chrome and Edge remember chosen files 2026-10-30 17:50:54 +03:00
diagnostic.rs ChessPenguin 0.4.0: large ChessBase databases with a filter panel 2026-10-19 01:02:36 +03:00
edit.rs Paste a line, play on from here, learn the opening 2026-10-25 14:51:09 +03:00
encoding.rs Web version: databases read in a worker, the shelf's counts, Chrome and Edge remember chosen files 2026-10-30 17:50:54 +03:00
game.rs mobile-api: a move's id is its node id, kept across edits 2026-10-26 00:33:55 +03:00
lib.rs Web version: databases read in a worker, the shelf's counts, Chrome and Edge remember chosen files 2026-10-30 17:50:54 +03:00
nag.rs ChessPenguin 0.1.0 2026-10-18 01:54:06 +03:00
paste.rs Paste a line, play on from here, learn the opening 2026-10-25 14:51:09 +03:00
repair.rs Web version: ChessBase databases of several files and folders, a 2 GB limit with a polite refusal, messages without the page's paths 2026-10-30 20:42:18 +03:00
start.rs ChessPenguin 0.1.0 2026-10-18 01:54:06 +03:00