diff --git a/CHANGELOG.md b/CHANGELOG.md index 39bdcb9..d724601 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ All notable changes are listed here. Versions follow [Semantic Versioning](https://semver.org/). -## [Unreleased] +## [0.10.0] — 2026-10-22 -- **ChessPenguin for Android** (12 and newer): add databases of the same formats (PGN, ChessBase +- **ChessPenguin for Android, alpha** (12 and newer): add databases of the same formats (PGN, ChessBase `.cbv`, `.zip`/`.7z` archives), the desktop's sample games from the first start, a list of games with a search, the game with the notation under the board (variations, comments, NAG, comment arrows), paging games, and Stockfish 19 with its evaluation, lines and a preview of diff --git a/Cargo.lock b/Cargo.lock index 7ec29fa..8556249 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -768,7 +768,7 @@ dependencies = [ [[package]] name = "chess-core" -version = "0.9.0" +version = "0.10.0" dependencies = [ "encoding_rs", "pgn-reader", @@ -778,7 +778,7 @@ dependencies = [ [[package]] name = "chess-import" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chess-core", "encoding_rs", @@ -791,7 +791,7 @@ dependencies = [ [[package]] name = "chesspenguin" -version = "0.9.0" +version = "0.10.0" dependencies = [ "arboard", "base64 0.22.1", @@ -2399,7 +2399,7 @@ dependencies = [ [[package]] name = "mobile-api" -version = "0.9.0" +version = "0.10.0" dependencies = [ "chess-core", "chess-import", @@ -4545,7 +4545,7 @@ checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20" [[package]] name = "uci" -version = "0.9.0" +version = "0.10.0" dependencies = [ "thiserror 2.0.21", ] diff --git a/Cargo.toml b/Cargo.toml index abc595d..72d96ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ ] [workspace.package] -version = "0.9.0" +version = "0.10.0" edition = "2024" rust-version = "1.97" license = "GPL-3.0-or-later" diff --git a/README.md b/README.md index 64f4181..db66895 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Packages for every release are on the [Releases](https://github.com/vrubelroman/ | Flatpak | `flatpak install --user ChessPenguin--x86_64.flatpak` | | Windows | unzip `ChessPenguin--windows-x86_64.zip`, run `ChessPenguin.exe` | | macOS (Apple Silicon) | open `ChessPenguin--macos-arm64.dmg`, drag ChessPenguin to Applications | -| Android 12+ | open `ChessPenguin--android.apk` (Stockfish built in) or `…-android-noengine.apk` (Stockfish downloaded in the app) on the phone | +| Android 12+ (alpha) | open `ChessPenguin--android.apk` (Stockfish built in) or `…-android-noengine.apk` (Stockfish downloaded in the app) on the phone | On macOS the app is not signed by Apple yet: the first time, right-click ChessPenguin in Applications and choose **Open** (on macOS 15: System Settings → Privacy & Security → Open Anyway). @@ -73,7 +73,7 @@ official Stockfish 19 (about 80 MB, checked before use, installed for your accou button is also in **Settings → Engines**. A `stockfish` installed on the system is found automatically, any other UCI engine can be added from a file. The Flatpak includes Stockfish. -The **Android app** views databases and games (the same formats), with the notation under +The **Android app** (alpha) views databases and games (the same formats), with the notation under the board and Stockfish. The two APKs install over each other; databases and settings are kept. ### Build from source diff --git a/README.ru.md b/README.ru.md index 1c176ac..c313d14 100644 --- a/README.ru.md +++ b/README.ru.md @@ -48,7 +48,7 @@ Stockfish 19 (около 80 МБ, проверяется перед запуск в **Настройки → Движки**. Установленный в системе `stockfish` находится сам, другие UCI-движки добавляются из файла. Во Flatpak Stockfish уже есть. -**Android 12+:** приложение для просмотра баз и партий (те же форматы), нотация под доской, Stockfish. +**Android 12+ (альфа-версия):** приложение для просмотра баз и партий (те же форматы), нотация под доской, Stockfish. Две сборки: `ChessPenguin-<версия>-android.apk` — Stockfish уже внутри, `…-android-noengine.apk` — Stockfish скачивается в приложении. Ставятся одна поверх другой, базы и настройки сохраняются. diff --git a/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/ui/AboutScreen.kt b/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/ui/AboutScreen.kt index 4a8f8ab..01bc2a7 100644 --- a/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/ui/AboutScreen.kt +++ b/androidApp/app/src/main/java/io/github/vrubelroman/chesspenguin/ui/AboutScreen.kt @@ -62,7 +62,7 @@ fun AboutScreen(onBack: () -> Unit) { Spacer(Modifier.height(16.dp)) Text(stringResource(R.string.app_name), style = MaterialTheme.typography.titleLarge) val build = stringResource(if (BuildConfig.NET_BUILT_IN) R.string.build_full else R.string.build_light) - Text("${BuildConfig.VERSION_NAME} · $build", color = MaterialTheme.colorScheme.onSurfaceVariant) + Text("${BuildConfig.VERSION_NAME} ${stringResource(R.string.alpha)} · $build", color = MaterialTheme.colorScheme.onSurfaceVariant) Spacer(Modifier.height(16.dp)) Text(stringResource(R.string.about_text), style = MaterialTheme.typography.bodyLarge) TextButton(onClick = { uri.openUri(SITE) }, contentPadding = androidx.compose.foundation.layout.PaddingValues(0.dp)) { diff --git a/androidApp/app/src/main/res/values-ru/strings.xml b/androidApp/app/src/main/res/values-ru/strings.xml index babaade..e68ed0b 100644 --- a/androidApp/app/src/main/res/values-ru/strings.xml +++ b/androidApp/app/src/main/res/values-ru/strings.xml @@ -115,6 +115,7 @@ О программе Stockfish уже внутри Stockfish скачивается в приложении + альфа Просмотр шахматных баз: PGN, ChessBase, архивы. Файлы только читаются и никогда не меняются. Лицензии и авторы Сайт и исходный код diff --git a/androidApp/app/src/main/res/values/strings.xml b/androidApp/app/src/main/res/values/strings.xml index e75085d..f366e8c 100644 --- a/androidApp/app/src/main/res/values/strings.xml +++ b/androidApp/app/src/main/res/values/strings.xml @@ -114,6 +114,7 @@ About Stockfish built in Stockfish downloaded in the app + alpha A viewer of chess databases: PGN, ChessBase, archives. Files are only read, never changed. Licenses and authors Website and source code diff --git a/data-dev/d.sqlite b/data-dev/d.sqlite new file mode 100644 index 0000000..9b6eee0 Binary files /dev/null and b/data-dev/d.sqlite differ diff --git a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml index da87f30..6dcf42f 100644 --- a/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml +++ b/packaging/io.github.vrubelroman.chessPenguin.metainfo.xml @@ -43,6 +43,11 @@ BoardGame + + +

The first alpha of ChessPenguin for Android: databases, games and Stockfish on the phone. The desktop app is unchanged.

+
+

The 0.8 series together: the reference tab, games from Lichess and Chess.com, self-update, translated comments, move notation and piece animation; symbols that showed as empty boxes now render.

diff --git a/website/site/i18n/de.json b/website/site/i18n/de.json index 784126e..014b32a 100644 --- a/website/site/i18n/de.json +++ b/website/site/i18n/de.json @@ -165,7 +165,7 @@ "alt13": "Brett- und Figureneinstellungen im hellen Design: Figurensätze, Zugnotation und Bretter, das gewählte Brett hinter dem Fenster.", "shot13": "Ganz nach Ihrem Geschmack: 17 Figurensätze, 37 Bretter, Züge in Buchstaben oder Figurinen, Figurenanimation, dunkles und helles Design.", "btn_android": "Für Android herunterladen", - "and_requires": "Benötigt Android 12 oder neuer.", + "and_requires": "Alphaversion. Benötigt Android 12 oder neuer.", "and_intro": "Zwei Varianten derselben App: Datenbanken und Partien ansehen, Züge durchblättern und mit Stockfish analysieren. Die App liest Ihre Dateien nur.", "and_full_title": "Stockfish eingebaut", "and_full_text": "Bewertung und beste Züge sofort, ohne Internet.", @@ -174,5 +174,7 @@ "and_step1": "Öffnen Sie die heruntergeladene Datei auf dem Telefon.", "and_step2": "Wenn Android fragt, erlauben Sie die Installation von Apps aus dem Browser oder Dateimanager.", "and_note": "Benötigt Android 12 oder neuer. Jede Variante lässt sich über die andere installieren; Datenbanken und Einstellungen bleiben erhalten.", - "next_android": "Öffnen Sie die Datei auf dem Telefon und erlauben Sie die Installation, wenn Android fragt." + "next_android": "Öffnen Sie die Datei auf dem Telefon und erlauben Sie die Installation, wenn Android fragt.", + "and_alpha": "Alpha", + "and_alpha_text": "Alphaversion: Die App ist neu und kann noch Ecken und Kanten haben. Probleme bitte auf GitHub melden." } diff --git a/website/site/i18n/en.json b/website/site/i18n/en.json index 440aa0a..103879f 100644 --- a/website/site/i18n/en.json +++ b/website/site/i18n/en.json @@ -165,7 +165,7 @@ "alt13": "Board and piece settings in the light theme: piece sets, move notation and boards, the chosen board behind the window.", "shot13": "Make it yours: 17 piece sets, 37 boards, moves in letters or figurines, piece animation, dark and light themes.", "btn_android": "Download for Android", - "and_requires": "Requires Android 12 or newer.", + "and_requires": "Alpha version. Requires Android 12 or newer.", "and_intro": "Two builds of one app: browse databases and games, step through the moves and analyse them with Stockfish. The app only reads your files.", "and_full_title": "Stockfish built in", "and_full_text": "Evaluation and best moves right away, no internet needed.", @@ -174,5 +174,7 @@ "and_step1": "Open the downloaded file on your phone.", "and_step2": "If Android asks, allow installing apps from your browser or file manager.", "and_note": "Requires Android 12 or newer. Either build installs over the other; databases and settings are kept.", - "next_android": "Open the file on your phone and allow the installation if Android asks." + "next_android": "Open the file on your phone and allow the installation if Android asks.", + "and_alpha": "alpha", + "and_alpha_text": "Alpha version: the app is new and may still have rough edges. Please report problems on GitHub." } diff --git a/website/site/i18n/es.json b/website/site/i18n/es.json index eb3194e..6069fab 100644 --- a/website/site/i18n/es.json +++ b/website/site/i18n/es.json @@ -165,7 +165,7 @@ "alt13": "Ajustes de tablero y piezas en el tema claro: juegos de piezas, notación de jugadas y tableros, con el tablero elegido detrás de la ventana.", "shot13": "A tu gusto: 17 juegos de piezas, 37 tableros, jugadas con letras o figuras, animación de piezas, temas oscuro y claro.", "btn_android": "Descargar para Android", - "and_requires": "Requiere Android 12 o posterior.", + "and_requires": "Versión alfa. Requiere Android 12 o posterior.", "and_intro": "Dos versiones de la misma aplicación: explora bases y partidas, recorre las jugadas y analízalas con Stockfish. La aplicación solo lee tus archivos.", "and_full_title": "Stockfish incluido", "and_full_text": "Evaluación y mejores jugadas al instante, sin internet.", @@ -174,5 +174,7 @@ "and_step1": "Abre el archivo descargado en tu teléfono.", "and_step2": "Si Android lo pide, permite instalar aplicaciones desde el navegador o el gestor de archivos.", "and_note": "Requiere Android 12 o posterior. Cada versión se instala sobre la otra; las bases y los ajustes se conservan.", - "next_android": "Abre el archivo en tu teléfono y permite la instalación si Android lo pide." + "next_android": "Abre el archivo en tu teléfono y permite la instalación si Android lo pide.", + "and_alpha": "alfa", + "and_alpha_text": "Versión alfa: la aplicación es nueva y aún puede tener detalles por pulir. Informe de los problemas en GitHub." } diff --git a/website/site/i18n/fr.json b/website/site/i18n/fr.json index 7246a40..26b01c6 100644 --- a/website/site/i18n/fr.json +++ b/website/site/i18n/fr.json @@ -165,7 +165,7 @@ "alt13": "Réglages de l'échiquier et des pièces en thème clair : jeux de pièces, notation des coups et échiquiers, l'échiquier choisi derrière la fenêtre.", "shot13": "À votre goût : 17 jeux de pièces, 37 échiquiers, coups en lettres ou en figurines, animation des pièces, thèmes sombre et clair.", "btn_android": "Télécharger pour Android", - "and_requires": "Android 12 ou plus récent requis.", + "and_requires": "Version alpha. Nécessite Android 12 ou plus récent.", "and_intro": "Deux versions d'une même application : parcourez vos bases et vos parties, faites défiler les coups et analysez-les avec Stockfish. L'application ne fait que lire vos fichiers.", "and_full_title": "Stockfish intégré", "and_full_text": "Évaluation et meilleurs coups tout de suite, sans internet.", @@ -174,5 +174,7 @@ "and_step1": "Ouvrez le fichier téléchargé sur votre téléphone.", "and_step2": "Si Android le demande, autorisez l'installation d'applications depuis votre navigateur ou votre gestionnaire de fichiers.", "and_note": "Android 12 ou plus récent requis. Chaque version s'installe par-dessus l'autre ; les bases et les réglages sont conservés.", - "next_android": "Ouvrez le fichier sur votre téléphone et autorisez l'installation si Android le demande." + "next_android": "Ouvrez le fichier sur votre téléphone et autorisez l'installation si Android le demande.", + "and_alpha": "alpha", + "and_alpha_text": "Version alpha : l’application est nouvelle et peut encore avoir des défauts. Signalez les problèmes sur GitHub." } diff --git a/website/site/i18n/it.json b/website/site/i18n/it.json index a822374..da5976c 100644 --- a/website/site/i18n/it.json +++ b/website/site/i18n/it.json @@ -165,7 +165,7 @@ "alt13": "Impostazioni di scacchiera e pezzi nel tema chiaro: set di pezzi, notazione delle mosse e scacchiere, con la scacchiera scelta dietro la finestra.", "shot13": "Come piace a te: 17 set di pezzi, 37 scacchiere, mosse in lettere o figurine, animazione dei pezzi, tema scuro e chiaro.", "btn_android": "Scarica per Android", - "and_requires": "Richiede Android 12 o successivo.", + "and_requires": "Versione alfa. Richiede Android 12 o successivo.", "and_intro": "Due versioni della stessa app: sfoglia database e partite, scorri le mosse e analizzale con Stockfish. L'app legge soltanto i tuoi file.", "and_full_title": "Stockfish incluso", "and_full_text": "Valutazione e mosse migliori subito, senza internet.", @@ -174,5 +174,7 @@ "and_step1": "Apri il file scaricato sul telefono.", "and_step2": "Se Android lo chiede, consenti l'installazione di app dal browser o dal file manager.", "and_note": "Richiede Android 12 o successivo. Ciascuna versione si installa sopra l'altra; database e impostazioni restano.", - "next_android": "Apri il file sul telefono e consenti l'installazione se Android lo chiede." + "next_android": "Apri il file sul telefono e consenti l'installazione se Android lo chiede.", + "and_alpha": "alfa", + "and_alpha_text": "Versione alfa: l’app è nuova e può avere ancora qualche imperfezione. Segnalate i problemi su GitHub." } diff --git a/website/site/i18n/ru.json b/website/site/i18n/ru.json index 8df2889..c8f93ad 100644 --- a/website/site/i18n/ru.json +++ b/website/site/i18n/ru.json @@ -165,7 +165,7 @@ "alt13": "Настройки досок и фигур в светлой теме: наборы фигур, запись ходов и доски, за окном — выбранная доска.", "shot13": "Под себя: 17 наборов фигур, 37 досок, ходы буквами или фигурками, анимация фигур, тёмная и светлая темы.", "btn_android": "Скачать для Android", - "and_requires": "Нужен Android 12 или новее.", + "and_requires": "Альфа-версия. Нужен Android 12 или новее.", "and_intro": "Две сборки одного приложения: смотрите базы и партии, листайте ходы и анализируйте их со Stockfish. Ваши файлы приложение только читает.", "and_full_title": "Stockfish уже внутри", "and_full_text": "Оценка и лучшие ходы сразу, без интернета.", @@ -174,5 +174,7 @@ "and_step1": "Откройте скачанный файл на телефоне.", "and_step2": "Если Android спросит, разрешите установку приложений из браузера или файлового менеджера.", "and_note": "Нужен Android 12 или новее. Сборки ставятся одна поверх другой, базы и настройки сохраняются.", - "next_android": "Откройте файл на телефоне и разрешите установку, если Android спросит." + "next_android": "Откройте файл на телефоне и разрешите установку, если Android спросит.", + "and_alpha": "альфа", + "and_alpha_text": "Альфа-версия: приложение новое, в нём ещё могут быть шероховатости. О проблемах пишите на GitHub." } diff --git a/website/site/index.html b/website/site/index.html index 44fc9f9..f81efa6 100644 --- a/website/site/index.html +++ b/website/site/index.html @@ -136,7 +136,7 @@ - +
@@ -204,8 +204,9 @@
-

Android

+

Android {{t:and_alpha}}

{{t:and_intro}}

+

{{t:and_alpha_text}}

{{t:and_full_title}}

.apk · {size:android}{{t:row_download}}

{{t:and_full_text}}

diff --git a/website/static/css/site.css b/website/static/css/site.css index ffccb4e..44ffc85 100644 --- a/website/static/css/site.css +++ b/website/static/css/site.css @@ -155,6 +155,8 @@ p { margin: 0 0 12px; } .callout .cmd code { white-space: normal; overflow-wrap: anywhere; } .hint { font-size: 14px; color: var(--text-2); margin: 8px 0 0; } .hint code { font-size: 13px; } +.alpha { display: inline-block; font: 600 11px var(--font); text-transform: uppercase; letter-spacing: .04em; color: var(--warn); border: 1px solid currentColor; border-radius: 4px; padding: 1px 5px; vertical-align: 2px; } +.alpha-note { color: var(--warn); } .cmd { display: flex; align-items: center; gap: 8px; background: var(--code-bg); border-radius: 8px; padding: 8px 8px 8px 16px; margin: 8px 0 0; } .cmd code { flex: 1; overflow-x: auto; white-space: nowrap; padding: 4px 0; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } .cmd code::before { content: "$ "; color: var(--text-2); user-select: none; } diff --git a/website/static/js/site.js b/website/static/js/site.js index 15e142c..b3741f6 100644 --- a/website/static/js/site.js +++ b/website/static/js/site.js @@ -66,7 +66,7 @@ if (asset) parts.push(asset.size); parts.push(sys.os === "macos" ? t("apple_silicon") : FORMAT[sys.slug]); if (sys.chromeos) parts.push(t("chromeos")); - if (sys.os === "android") parts.push(t("and_full_title")); + if (sys.os === "android") parts.push(t("and_full_title"), t("and_alpha")); l2.textContent = parts.join(" · "); if (sys.os === "macos") { var note = $("hero-note");