Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.
Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
A guard job with a plain checkout fails the run when any .gitmodules
URL is not https:// — SSH URLs work only with a developer key and
break fresh clones and CI instead. The test job needs the guard.
Add timeout-minutes to every job and apt retry/timeout options
(Acquire::Retries, Acquire::http/https::Timeout) to all apt-get
update/install calls, so a stalled package download fails fast
instead of hanging until the 6-hour job limit cancels the run.
raylib's ES2 context has no glReadBuffer/GL_FRONT, so the internal
export cannot work on software GL; an ARGB window also never reaches
the root framebuffer without a compositor. xcompmgr composites it and
the harness's xwd path captures the result.
Bump the vendored kryon to master 47820cc (KRB v2: logic VM with
else/arithmetic/TIME expressions and animated geometry, embedded
PNG/KRAW assets + KFA1 glyph atlas, scroll, text input, dropdowns,
nav buttons, the kry_sw/SDL/web renderers, and the exactness
harnesses). New CI job runs the language screen both ways — the C
build's --screenshot scene export under xvfb and the cartridge
render — and pixel-compares with zero tolerance.
The Mozilla-build Firefox created WebGL contexts as disabled in the
container: no GPU and no software rasterizer. Install xvfb +
libgl1-mesa-dri, run the smoke under xvfb-run with
LIBGL_ALWAYS_SOFTWARE=1 (same recipe as the screenshot pipeline), so
llvmpipe provides the WebGL context.
'firefox-latest-release' 404s on download.mozilla.org; 'firefox-latest'
redirects to the CDN tar.xz. Also fail the step loudly if the browser
binary is missing after extraction.
Smoke test:
- Clear error when global WebSocket is missing (Node < 21) instead of a
cryptic ReferenceError; Node 20 works with --experimental-websocket.
- New render-liveness check in both the CDP and Firefox BiDi paths: the
page must have a nonzero-size canvas, a live WebGL context, and a
cycling requestAnimationFrame loop -- catches 'boots to a black
screen' that console-error checks cannot see. Verified PASS locally
in both chromium and firefox.
- CI: the Firefox job now installs the Mozilla build (tarball; Ubuntu's
apt firefox is a snap wrapper that fails in containers) and runs
make web-smoke-test-firefox after the add-on build.
Makefile:
- KRYON_WITH_PHYSICS := 0 (was ?=): the app is UI-only; flipping the
knob to 1 cannot work anyway because KRYON_PHYSICS_DEPS (libbox2d) is
never linked, so it is a property, not a configuration.
- KRYON_CURL_VERSION_HEX is lazy now: := forced the curlver
preprocessor shell at parse time on every invocation including
'make clean'. Its only consumer is the NEEDS_NATIVE_ENV version
guard, which expands it only for build goals.
- Added android-copy-debug-apks/-release-apks/-copy-bundle/android-smoke
to .PHONY.
Raylib-config dedup vs kryon common.mk was considered and skipped:
inbe cannot include common.mk just for RAY_RAYLIB_CONFIG because it
defines kryon build targets; a flags-only include would be a kryon-side
change, out of housekeeping scope.
font_locale_test re-implemented the locale->font mapping by hand, so it
kept passing while testing a stale copy (and its zh-TW branch had no test
case). Move ui_font_asset_for_locale + the INBE_FONT_* macros into
src/app/app_font_assets.h (dependency-free static inline, matching the
android_wakelock.h pattern), include it from app_fonts.c, and make the
test exercise the real selector -- now covering zh-TW, zh_Hant, and NULL.
Verified the link is real by breaking the mapping and watching the test
fail.
Also wire the existing web smoke test (scripts/web-smoke-test.mjs, 851
lines of headless-browser CDP checks) into ci.yml's chrome job. It was
written but never ran in CI: the chrome zip depends on the WEB_TARGET
file, not the phony 'web' target that chains web-smoke-test, so no
workflow executed it. Runs after the build with Node 22 + preinstalled
google-chrome-stable (auto --no-sandbox under CI).