Commit graph

44 commits

Author SHA1 Message Date
vrubelroman
42828e900c Great move (!) in chess.com's own green, #7AAB59
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
#81B64C was their best-move color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:23:13 +03:00
vrubelroman
df6ad23b45 Move marks in the owner's palette on the desktop and Android
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
!! #26C2A3, ! #81B64C, ?! #F7C631, ? #FFA459, ?? #FA412D (from the owner's
reference); darker variants for text in the light theme; the judgement colors
now come from the NAG colors, and the accuracy follows them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:15:53 +03:00
vrubelroman
424c7830e7 Notation: the review's mark right after the move, in its color; no reasons
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
As on Lichess: «Qg7??» in red instead of a pill at the cell's edge, on the
desktop and on Android; the author's own sign stands instead when there is one.
!! and ! get no block under the move (the reason line was more than needed).
Task 18: a shorter draw-offer button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 01:00:29 +03:00
vrubelroman
1aa85f59d3 Review: brilliant (!!) and great (!) moves; Android board shows move marks
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
A sound piece sacrifice is !!, the only good move that turns the game is !,
by the rules of docs/research/brilliant-moves.md. Sacrifices come from a static
exchange count over the board (features.rs); the best other move comes from a
second engine search (searchmoves) only where the move played was the engine's
best and could be either. The marks go wherever errors go: report, notation,
graph, board badge, and into the PGN as $3/$1 unless the author's sign is there.
An older analysis is filled in by Update without evaluating it again.

The Android board now draws the move's mark in the corner of its square, as the
desktop does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 00:47:44 +03:00
vrubelroman
0833b1eabf Release 1.9.3
Some checks failed
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Android «About»: no «alpha» after the version, a text that says what the app does now
(chess databases, game analysis, play against the computer), and the penguin in a crown
as the app's icon has; packaging/icons/make-icons.sh makes that picture too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 20:37:07 +03:00
vrubelroman
dd4572fd8a Android: a RuStore build, without the app's own updates and the counted check
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner puts the app in RuStore: the store updates it, and the store's build
must neither update itself nor be counted by the site. A build type «rustore»
on the same branch (not a branch to catch up each time): the release with
SELF_UPDATE off — no check of releases (the check is what the site counts
installations by), no download or install, no updates block in About, a
release kept from the site's build forgotten; its manifest drops the install
permissions and the installer's receiver. The full build only; the same
package and key, so it goes over the site's one and back with the databases.
release.sh builds it into dist-rustore and checks it asks for no install
permission; the release workflow keeps it as the run's «rustore» artifact, not
a file of the release. The site's builds are as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 18:49:12 +03:00
vrubelroman
6bb0ef2414 Android: «+ Add» in the Files heading instead of a floating button
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner's choice: the extended FAB hung over the list; «+ Add» now sits in
the Files heading as «+ New database» in My databases, each group with its
action on the right, with a hint line when there are no files. Nine languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 17:09:20 +03:00
vrubelroman
b5227dd998 Android: the release check at each start of the app, not once a day
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner did not hear of 1.8.0 a day after 1.7.0: the phone asked only 24 h after its
last answer, restarts included. Now each start asks, as the desktop does; a return to
the app asks 6 h after the last answer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 12:15:09 +03:00
vrubelroman
b3774d1651 Android: Rodent IV as a second opponent, with its characters and famous players
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The play sheet chooses Maia or Rodent IV, and Rodent's character in a full-screen
list (docs/design/android-rodent.md, docs/decisions.md «Rodent IV на телефоне»).
The engine is built from its authors' sources by androidApp/scripts/rodent4.sh
(patches: no wordexp.h on bionic; the search thread took its parameter by reference,
which clang builds read after it was gone) and ships in both APKs; the opening books
are one checked download. Rodent's tables, its book manifest and its opponent loop
move from the desktop into crates/play, shared by both apps; uci's EngineConfig takes
an environment (RODENT4HOME).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 03:03:02 +03:00
vrubelroman
f120c49fd4 Android: the lists dressed up (docs/design/android-lists.md)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner approved the designer's «А» for the games list and «Б» for the
databases screen:
- Games: a thin line between games, a disc of each side, the winner's «1»
  on a tile (and the name a little heavier), «½» on quieter tiles, the ECO
  on its own tag that never gives way; the game last opened marked and in
  sight; search matches marked, the ECO tag too. Search finds by the ECO.
- Databases: badges by kind in Catppuccin colours (Mocha dark, Latte light:
  PGN blue, ChessBase peach, archives mauve, online teal, own green, ♞ for the
  player's); the number of games stands out; groups as cards (16/4 dp
  corners, 2 dp apart); the game put aside with its position on a small board
  (no coordinates) and «Continue»; two equal, quiet buttons.
- Settings as cards with icons; the add sheet's icons in tiles of the kind.
- Fixed on the way (the tester): a list read anew after a quick new search
  could show another game's names in a row; clearing a search goes back to
  the top; tiles, tags and buttons grow with a large font.

Reviewed by the designer and the tester on the emulator.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 19:29:04 +03:00
vrubelroman
07a9e120b1 Android: Maia on her own scale (600–2600); games written into the player's database
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
As on the desktop (decisions «Партии игрока записываются сами», «Сила
соперника — по шкале самого движка»):
- mobile-api: Maia plays the rating on the slider, temperature 1; the sheet
  says it is her own rating, not a person's Elo.
- PlayerGames: «<name> — games against the computer» (no name: «Games
  against the computer»), an own database made at the first game; a game
  ends → written once (the mark kept with commit, guarded by the game's
  serial against a rematch); a game put aside and let go (×, «Start new»,
  Maia failing) → written unfinished, once both have moved.
- Play sheet: «Your name» with the phone's players (filtered by what is
  typed), the line where games go; result card «✓ В «…», № n ›» (a new
  database said there), opens it; no third button; a failed write said
  with its reason. ♞ on the row, «пишутся сами»; a setting.
- «Play from here» and «Continue it» inside a play game show the new game.

Checked on the emulator by the tester (kill right after the end, rematch,
rename/delete of the database, setting off) and the designer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:30:16 +03:00
vrubelroman
b90bcdf3a3 Offer Maia a draw (desktop and Android)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The shared rule (play::accepts_draw): she accepts when clearly worse or mated,
or when about level (at most +0.2 for her) and her last three scores agree
within 0.3; after a refusal, again two of her moves later. Her judge keeps the
scores of her turns. Desktop: «½ Offer a draw» beside «Resign»; Android: a
«Draw» button in the game's bar (labels may take two lines).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:44:05 +03:00
vrubelroman
a3eac74491 Android: fixes after the second test (trainer on its side, a game put aside is asked about, offer and take-back, late offers, Maia's failure, the report after a rematch)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- The trainer lays out beside the board when the phone lies on its side.
- A new game while one is put aside asks «Continue it / Start a new one»; the
  card of a game just put aside is scrolled into sight.
- Take back during Maia's offer removes only the user's move and the offer;
  her judge's answer is waited for up to 2 s, so the offer comes on time.
- Maia not starting: a card «Download Maia again / Abort», no raw error.
- A rematch drops the report of the game before; «Analyse» puts the result
  card away; the card goes at the first change after the end.
- Back from the trainer returns to its move; an empty game is not put aside;
  the first sound is loaded at start; «Viewing: …», «Ещё раз».

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 02:13:20 +03:00
vrubelroman
8e7eb7863f Android: designer's review (wrong-move flash seen on dark squares, result card buttons fit, Maia's bar without a doubled rating, «You», titles never a bare year, no menu during a game, «Viewing · back to the game» strip, trainer's count beside its message)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:35:08 +03:00
vrubelroman
ed7d040bad Android: fixes after testing (saved copy asks on leaving, forms survive turning, names, cleanup, dates), Maia's «thinking…»
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- A copy saved into an own database is that database's game: leaving with
  new changes asks; the source file's paging goes.
- The save sheet, data form and leave question survive turning the phone; the
  form starts from the game each time it opens.
- A new database's default name is free («My games 2»); an own file left by
  a deletion whose Undo was cut short is removed at start.
- «Undo» in the menu; «Make it the main line» offers Undo; «Elo» translated;
  31.02 is not a date.
- «thinking…» with a spinner beside Maia's name instead of the result.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:28:04 +03:00
vrubelroman
df22d2812d Android: sounds (the desktop's SFX set and the trainer's wrong move), a «Sound» setting
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Moves (capture, check), the end of a game against Maia, her offer to resign,
the trainer's right, wrong and last moves. Notices in About.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:23:00 +03:00
vrubelroman
66f86ae3e5 Android: games against Maia (small model, no clocks)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
«Play with Maia» on the Databases screen and «Play on from here with Maia…» in
the move sheet: the strength (1100–1800), colour and name; Maia's 21 MB
downloaded there. The game is a mode of the game screen: Maia answers after a
person's pause (shared rules), take back, resign or abort, Maia's offer to
resign judged by Stockfish when it is there; the end card offers analysis,
rematch and saving. The game is written after each move: «back» puts it
aside, the Databases screen offers to go on with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:21:47 +03:00
vrubelroman
a7c832b8c9 Android: CheckedDownload shared by the engine's network and Maia's weights
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The system download with SHA-256 check moves out of EngineFiles into a class
for any such file; EngineFiles keeps its behaviour (same preferences key);
MaiaFiles fetches the small model of the pinned revision on request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:07:21 +03:00
vrubelroman
5911750506 maia::strength: the strength tables and the choice of a move shared; Android trainer screen
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The measured tables (strength → rating input, temperature) and the choice of
Maia's move (rare moves dropped) move from the desktop's play.rs into the maia
crate; the desktop plays by them. Android: «Learn the opening up to this
move» in the move sheet opens the trainer over the game (tasks bar, wrong
move lit for 400 ms, «Show the move» after three mistakes, the result card).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 01:05:04 +03:00
vrubelroman
45a37fc65b Android: the game's data form (players, ratings, event, date, result); a new game's first save asks for it
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
mobile-api: set_data keeps the Seven Tag Roster whole and in order, as the
desktop does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:56:54 +03:00
vrubelroman
3596336cfe Android: new game, own databases (create, rename, export, delete), save and leave questions
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Databases screen: «New game», «My databases» first, then «Files». A game
being changed lives in a ViewModel (the phone may turn). Save puts an own
game back in its place; a new game or a copy goes into an own database
chosen once (or made there), later saves replace it. Leaving with changes
asks only for own and new games.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:54:16 +03:00
vrubelroman
08aac5d83b Android: moves on the board (tap-tap, drag, legal dots, queen), variations, move sheet, undo
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
A game of a database is changed in memory (never saved into someone else's
file): a move extends the line, follows an existing one or becomes a
variation; a long press on a move offers make-main and delete (with Undo);
the menu's Undo takes any change back. Research: Maia's strength against
people, reviewed from the literature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 00:39:08 +03:00
vrubelroman
ed0e3b1fe1 A new icon everywhere: the penguin in a crown (icons/icon2.png)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
packaging/icons/make-icons.sh makes every icon from one picture: the Linux hicolor PNGs
(the macOS .icns and the packages take them), the window icon, the Windows .ico, the
Android adaptive foreground (62 % of the 108 dp canvas) and a solid monochrome one for
themed icons, the site's tab, header and iOS icons. The site's link preview takes the
transparent icon and names Android too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:20:01 +03:00
vrubelroman
bb329ba17d Android: the update offer without GitHub; × stops the offers until Settings
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The card on Databases: the new version, «you have …», one button and ×. × turns
«Offer new versions» off (a snackbar says where to turn it on, with Undo); the update
check and the installation counting go on. Settings → About: «Offer new versions» above
«Check for updates at start»; a new version is shown and installable there regardless.
'What's new' (GitHub, English) is gone from the card, the sheet, About and the
after-update snackbar; the old per-version hiding is dropped (android-ui.md §25, §28).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:47:42 +03:00
vrubelroman
df2ee6f528 Installation counter after review: strict input, limits, country only, GitHub outages
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- /api/update takes a 32-hex id, an x.y.z version and a known platform; at most 5 new
  installations a day per address are counted (made-up ids do not flood the bot).
- A download's notice: once a day per file and visitor; notices name the country only,
  as the texts promise; Android's text also says the system is sent.
- The release cache is not locked while GitHub is asked (one request asks, the others
  get what is known); after a failure GitHub is asked again in a minute, not on every
  request.
- An unrecognised desktop installation counts as 'other'; the bot logs a wrong token or a
  second listener; .env.example lists the bot's settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:08:05 +03:00
vrubelroman
1edbbda368 Count installations that run: the update check goes through the site
The programs (desktop, Android) ask https://chess.vrubel.xyz/api/update for the latest
release instead of GitHub, with a random id of the installation (made once, kept in the
settings), the version and the platform; the site passes GitHub's answer on and keeps one
row per installation and day (no IP; the country of the address). Without the site the
programs ask GitHub, uncounted; with the update check off nothing is sent. /stats shows
installations that ran today, in 7 and 30 days, in all and new ones, by platform and
version. The texts about the update check and the site's privacy line say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:45:15 +03:00
vrubelroman
cb13453e22 Android: player layout after review — fonts, studies, scroll, title
- List rows grow with the font scale (fixed heights cut letters at 1.3); a study's or a
  book's title starts on the first line and is read as the title.
- Notation keeps the current move a third down what is visible, whole even beside the
  board with the engine on (only two or three rows there).
- Top bar: no event or site — the database's name; 'round' in lower case; the whole
  title space opens the game's details.
- The winner's 1 in medium weight; TalkBack reads ratings as Elo and the result in words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:03:29 +03:00
vrubelroman
7c383f6c93 Android: players above and below the board; White and Black on lines of their own
The game screen's top bar had both names on one line beside three buttons, so Black's
was cut; the games list split one line between them. Now (android-ui.md §6.2, §7.7, §7.11):
the player bars stand above and below the board (Black above, swapped with the board;
beside it in landscape), each with the side's disc, the name in full while it fits, the
rating and the share of the result; the top bar names the event, year and round, a tap
shows the game's details. List rows are 80 dp: White, Black, then event · year · ECO,
read by TalkBack as one sentence.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:52:06 +03:00
vrubelroman
9734108b83 Portuguese (Brazil), Uzbek (Latin) and Kazakh (Cyrillic) on the desktop, Android and the site
Nine interface languages. The system's language is picked up; Portuguese notation has its
own piece letters (R D T B C), Uzbek and Kazakh keep the Latin ones (the 'letters of
the language' choice is not offered for them). Uzbek o'/g' are written with U+2018 on
the desktop, whose font has no U+02BB. Comment translation targets the new languages too.
The shelf's two side cards widen for a longer label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:48:03 +03:00
vrubelroman
e8deec7b27 Downloaded games newest first on the desktop too; the games list counts a download as it goes
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- Desktop: in a database from Lichess and Chess.com the «№» order is the time the games
  were played, the most recent first (as on the phone); a click turns it around.
- chess-core GameEntry::played_at: the shared key (UTCDate+UTCTime, else Date).
- Android: over a downloaded database's games list the number of games grows with its
  download (it stood still until the end), as on the list of databases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:08:40 +03:00
vrubelroman
7f23bca320 Android: the app updates itself; one release check for the desktop and the phone
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
- crates/releases: the latest release on GitHub, its files and SHA-256 sums, shared by
  the desktop updater and the phone (desktop update.rs keeps its installers).
- mobile-api check_release: a newer release with its APKs and sums; a desktop-only
  release is no update, one without the light APK's sum cannot be checked.
- Android (android-ui.md §25): a check at start and on return once a day (switch and
  «Check now» in About), a card over the databases, a sheet through the install
  permission, the download (DownloadManager), the SHA-256, the full build keeping its
  engine network, and PackageInstaller; the state survives restarts, the update's
  snackbar waits for a screen. Network state permission for both builds (the full one
  crashed without it). Debug builds may ask a test server (CP_UPDATE_API).
- Release notes on GitHub come from this version's CHANGELOG section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 18:42:27 +03:00
vrubelroman
f6072cb7c3 Android: games from Lichess and Chess.com, newest first, with «Download new games»
The downloads of the desktop (lookup by nickname, one database per site or both in one,
resuming without duplicates, games still being played fetched once they end) move into a
shared crate, online-games; the desktop keeps its window on top of it.

On Android, «Add a database» → «Games from Lichess and Chess.com»: a nickname, what each
site has, the download with its progress. It belongs to the app, not to the screen: the
list of databases shows how it goes and says how it ended. «Download new games» in the
database's menu and over its games list fetches only the new ones. The games of a
downloaded database are listed from the most recent one (by UTC date and time, both sites
interleaved). Both builds may now use the internet, only when the user asks.

Reviewed by an independent tester and designer (docs/design/android-ui.md §23, §24).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 16:37:16 +03:00
vrubelroman
0ca444ed8d Android: the system bars follow the app's theme, not the phone's
enableEdgeToEdge() picks the bar icons from the system's night mode, so the dark theme
of the app on a light phone left dark icons on a dark bar. The bars are set again with
the theme chosen in the app whenever it changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:44:59 +03:00
vrubelroman
1661e238d8 Android: game report — mistakes, blunders and accuracy, as on the desktop
The game analysis of the desktop (evaluations of the main line, judgements, accuracy,
cache and the engine job) moves into a shared crate, game-review, so both apps give the
same numbers. The desktop uses it unchanged in behaviour.

On Android, ⋮ → «Game analysis» runs Stockfish over the main line in its own process
(the live engine waits): an evaluation graph and a status row between the board and the
notation, marks in the notation, the better line of an error on the board, a report sheet
with both players side by side. Games with [%eval] and games analysed before show their
report at once. The analysis stops with the screen and goes on after it, also after the
phone is turned, and is cached as it goes.

Reviewed by an independent tester and designer (docs/design/android-ui.md §21, §22).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 14:10:58 +03:00
vrubelroman
7d77a1aaef Android: paste PGN, open files from other apps, a calmer screen while the engine thinks
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- Paste: «Add a database» offers the clipboard's games when it holds text; they are kept
  in the app as a copy (one game opens on the board). Text with no game is said so.
- Open with / Share: PGN, ZIP, 7z, .cbv from other apps are copied in, listed and opened;
  one copy at a time, the last one shown; not again from Recents; a lone .cbh says to
  add its folder. A copy is marked «copy» and removing it deletes it.
- Engine: the button turns it off again; its words reach the screen up to 5 times a
  second and redraw only the strip and the arrows; Stockfish runs at nice 10 (uci
  EngineConfig::nice) with 2 threads by default.
- PGN scan: tags right after a result on the same line start the next game.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 02:06:08 +03:00
vrubelroman
cb61f546ba Android: the engine button turns the engine off again
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
The button kept toggleEngine as it was when the screen was first drawn, so it
saw the engine off forever; the function now reads the states when pressed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 01:10:10 +03:00
vrubelroman
3a08ac05c9 Android: boards and pieces, game numbers, the engine only on the button; fix the download's space check
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:27:48 +03:00
vrubelroman
a8978c765b Android: add a folder — every database in it, ChessBase databases (.cbh) too
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
«Добавить базу» offers a file or a folder. A folder is looked through two levels down;
the databases found are offered with tick boxes: PGN, archives, .cbv and ChessBase sets
(.cbh with the files beside it, names in any case), each a separate entry. A .cbv beside
its own set is not offered twice, a set without its .cbg is shown but not added, and
databases already on the list (also picked as a file) are marked. The folder's read
permission is kept while one of its databases is on the list or can still be restored
with Undo, and access no entry uses is given back at start. A moved file or a missing
.cbg is said in plain words. Reviewed by the designer and the tester.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:27:14 +03:00
vrubelroman
3cb6730692 Android: the engine's download through the system, four more languages, a themed icon
Some checks failed
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled
The network is downloaded by DownloadManager: it goes on with the app closed, waits for
the network and shows a notification; the app picks the finished download up, checks its
SHA-256 and moves it in. German, French, Spanish and Italian, as on the site. A monochrome
layer for themed icons. UniFFI's Android mode picks the cleaner by the API level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:16:36 +03:00
vrubelroman
403880c03d ChessPenguin 0.10.0: the Android app as an alpha
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The site, the READMEs and the app's About screen call the Android app an alpha.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:06:10 +03:00
vrubelroman
7eac8db29a Android: fixes from the tester's report
- An old evaluation never shows for a new position, not even for a frame:
  every snapshot carries its position and the screen compares it with the
  board; the engine handle is held for 40 ms at most.
- Turning the engine off while it starts no longer leaves a Stockfish process
  behind (generations in EngineSession).
- Landscape: the board on the left, the notation, engine and buttons beside it.
- "Undo" after removing a database keeps the access to its file; picking a
  file again restores the access.
- After Android restarts the app the same game comes back (the search is kept).
- Mate and stalemate are named instead of waiting for the engine.
- The download sheet shows progress and "Cancel" at once; a cancelled download
  stops reading and never writes the file together with the next one.
- Plain error texts with "Remove from list"; evaluations rounded ("+0.5",
  "0.0", "#−2"); search results start at the top; tag names translated;
  "PGN copied" / "FEN copied".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 02:44:40 +03:00
vrubelroman
305fff20b6 Android: the language setting, TalkBack moves, sample names in the current language
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:59:17 +03:00
vrubelroman
de5ca02a82 Android: design review fixes, icon, signed releases, the site's Android downloads
- The design review (docs/design/android-ui.md §17): the move buttons in the
  bottom bar (snackbars above them), ripple on press, larger ◀ ▶, coordinates
  over the pieces, readable NAG colors in the light theme, 16 dp edges, the
  ⋮ menu (game details, copy PGN/FEN, share), "Deeper" next to ▾, TalkBack
  states, no "*" for unfinished games, "Found N of M", texts.
- The penguin as the adaptive icon and on the splash screen; dark window.
- Release builds: R8, signing from the environment, androidApp/scripts/release.sh
  (two APKs, apksigner and 16 KB alignment checks); the release workflow builds
  them from the repository secrets.
- Website: the Android tab with both APKs, "Download for Android" on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:57:03 +03:00
vrubelroman
68fcabd691 Android stage 1: databases, games, the game viewer and the engine
androidApp/: Kotlin + Jetpack Compose over the Rust core (mobile-api, UniFFI).
- Databases: the desktop samples on the list from the first start, files added
  with the system picker and read in place, rename, remove with undo.
- Games: a paged list with a search by players, event, site and date.
- Game: the green board with Merida pieces, the notation as on the desktop
  (variations, comments, NAG), forks, paging games, hold-to-repeat steps,
  comment arrows and squares, the check glow, Latin/figurine/local notation.
- Engine: Stockfish 19 built from the pinned source (scripts/stockfish.sh) and
  run from nativeLibraryDir through the uci crate. Two builds: "full" with the
  network inside, "light" downloading it on request (resume, SHA-256 check).
  The time per position, lines, line preview on the board; the engine quits
  when the screen goes away.
- Settings and About with the licenses.

mobile-api: game search, UCI moves and comment marks for nodes, the Analyzer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:40:37 +03:00