Original artwork: a generic shield with a "PU" monogram and a small
download arrow, deep blue and white. tools/make_icons.py describes the
shapes once and writes the master SVG, a simplified 16/24 px variant, the
Haiku HVIF and PNG renderings from 16 to 512 px (own antialiased
rasterizer, standard library only).
- Linux: icons installed in the hicolor theme as io.github.openpu.OpenPU
(the name the .desktop file and the About dialog already use), with a
build-tree copy for uninstalled runs.
- Haiku: the HVIF is embedded as the vector_icon resource; the executable
is relinked when only its resources change.
- Fix: po/ did not include GNUInstallDirs, so translations were installed
outside the locale directory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
Same workflow as the GTK interface: vehicle list, adding a vehicle by VIN,
available updates, download folder, resumable download with progress, USB
stick selection with an erase confirmation, writing, installation guide.
Also a Preferences window (folder, language, automatic new-version check),
an About window and the manual new-version check.
Worker threads post closures to the window through a non-blocking queue
(BMessenger with a zero timeout). Translations use gettext with the GTK
catalogs; the default language comes from the Locale preferences. The
executable gets its signature and version from a generated .rdef.
Validated in the Haiku R1/beta6 VM against a mock Majestic server: full
flow down to a FAT32 stick with license/, both archives and no
UpdateInfo.xml; French interface; GitHub new-version check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- API.md, workflow.md and usb-layout.md translated
- usb-layout.md: describe the formatting that OpenPU actually performs
on Linux (UDisks2) and Haiku (one transaction per step)
- API.md: restore the = / & escaping example lost earlier
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- CHANGELOG.md translated to English (GitHub release notes of v0.1.0 and
v0.2.0 updated accordingly)
- tools/haiku-vm.sh: Haiku R1/beta6 x86_64 VM under QEMU/KVM (verified
image, 20 GB disk, virtual USB stick, SSH port forward, QMP socket)
- tools/qmp.py: headless control through QMP (PNG screenshots, absolute
clicks, typing, key combos, power-off)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- compilation (cœur, CLI, GTK, traductions) et tests unitaires sur les
runners ubuntu-24.04 et ubuntu-24.04-arm, avec -Werror
- tâche ASan + UBSan
- feuille de route : AppImage, puis binaires x86_64 + arm64 dans chaque
release à partir de 1.0.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- interface gtkmm-4 : véhicules, ajout par VIN, mises à jour, dossier,
téléchargement avec reprise et arrêt, choix de la clé, confirmation,
écriture avec progression, fin avec guide d'installation ; travail
dans un thread, résultats renvoyés via Glib::Dispatcher
- préférences : dossier de téléchargement, langue (système par défaut),
recherche automatique de nouvelle version d'OpenPU
- recherche de nouvelle version (releases GitHub, format tags Gitea
accepté) avec ouverture de la page dans le navigateur ;
openpu-cli app-update
- versions : project(VERSION) + git describe régénéré à chaque build,
openpu-cli --version, À propos, User-Agent, CHANGELOG, tools/release.sh
(étiquette annotée, push vers tous les remotes, release GitHub)
- traductions gettext : textes anglais, fr.po complet (96 chaînes),
extracteur de secours sans xgettext
- core : module job (téléchargement licence/fw/carte), liens des guides
PDF, ordre des véhicules conservé (ordered_json)
- licence MIT (LICENSE, en-têtes SPDX) ; dépôt principal sur GitHub
- validé dans WSLg : parcours complet jusqu'à l'écriture d'une clé loop
(FAT32 propre, fichiers téléchargés supprimés)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- Downloader : HEAD + Range avec reprise, re-probe à chaque essai (URL CDN
signées), retries bornés, fichier partiel conservé, repli sans Range,
annulation, progression et ETA
- licence : fichier temporaire renommé à la fin ; le placeholder vide
« licenses_<id>_<ts>.tar » renvoyé par Majestic pendant la génération de
la licence est jeté et la requête relancée (cause du bug ENOENT de l'app
officielle)
- archives (libarchive) : vérification complète, extraction qui ignore
UpdateInfo.xml, refus des chemins absolus/.., liens ignorés (FAT32)
- persistance : vehicles.json compatible avec l'app officielle (BOM inclus),
réglages + téléchargement en attente, chemins XDG / Haiku, écriture atomique
- CLI : download, verify, extract ; Ctrl-C annule proprement
- tests : faux CDN (coupures, sans Range, 4xx, annulation), tar
ustar/gnu/pax/v7, corruption, traversal (42 cas, 322 assertions)
- validé en réel : firmware RCC 8,39 Go téléchargé, interrompu, repris et
vérifié (ustar, 16 entrées)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar
- API Majestic (devices, getAvailableUpdate, téléchargements Range/licence)
- déroulé fonctionnel et machine à états de l'app d'origine
- format de la clé USB (FAT32, license/, extraction tar)
- extracteur asar minimal en lecture seule (tools/asar_extract.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WDASLCiN764v685boRVYar