10 Commits
Author SHA1 Message Date
waozi ef0de86e02 Integrate Breeze desktop, Android, and app updates
Cloudflare Pages / Build and verify the site (push) Successful in 3m29s
Use the verified dependency lock across native hosts and bundled apps. Preserve saved styles, local app reactivation, and offline packages while integrating the latest practice, Habits, Lumi, and figure preview updates.
2026-11-20 02:24:34 -03:00
waoziandClaude Opus 5.5 054a29f02c Remove raylib: run every host on Kryon and Ziran
Breeze builds and runs with no raylib anywhere, on Ziran 7fbc8152 and
Kryon b5a61b37, with plot, entity, apps, css and game2d pinned to that
Kryon, so the lock has one Kryon and no raylib package.

- Linux and Windows run on Kryon's SDL2 and Cairo desktop host; WebP
  decodes with the linked libwebp (KRYON_WEBP_LINKED).
- Android owns its NativeActivity loop on Kryon's android_runtime:
  Pixmap on the activity's surface, android_touch input and Android's
  typefaces, paced to the app's frame target. The CMake build drops
  breeze_raylib, GLES and the raylib link wraps, and links Kryon's fopen
  wrapper.
- The browser reaches Kryon's canvas modules directly.
- Audio is Ziran's std audio: its mixer, the SDL, AAudio and OpenSL ES
  sinks, the WAV, MP3 and Vorbis decoders and the audio package's Opus.
  The MP3 and Vorbis archives come from Ziran's own codec recipes. The
  browser keeps Kryon's Web Audio.
- Host modules choose the desktop host, Android, the canvas or, for
  native tests that select none, a headless host with no window, input
  or audio device. host_keys.zi and text_input_host.zi replace
  raylib_host.zi and raylib_text_input.zi; the log is one implementation,
  with logcat on Android and the C runtime's open flags on Windows.
- The Makefile, Click packaging, CI and release workflows build no raylib.
- Tests: radio, app log, asset files, DPI, legacy sessions, sync recovery
  and the Android JNI bridge run without raylib stubs; voice playback is
  a Ziran test of real Ogg Opus narration through Ziran's mixer. Tests
  that only exercised raylib internals are removed.
- AppsControllerSha256 is the controller built from Apps b96d9afe on
  this graph.

Local tests: Linux desktop window, Habits UI and the Ziran and native
tests above pass on a private Xvfb; the Android debug APK runs on a
Pixel 4a; the Windows package runs under Wine on a private Xvfb.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 13:16:23 -03:00
waozi 017d3565d3 Build on Ziran 0.5.0 and Kryon's namespaced widgets, with the Tao picture page
Pin only pushed commits, with no local overrides: Ziran v0.5.0
(f9f92b46), Kryon b45cc524 (one lock entry, ref master, shared with the
Css and Plot master edges), Apps 352901e, Entity b30dd4a and practices
893e5b6f, whose sharpened banners and regenerated Lumi guide clips the
narration check now matches.

The Library opens each Tao Te Ching chapter on its own picture page: the
chapter art and its title, centered together; the text pages follow.
The reader keeps the picture page across reflow, and a chapter start or
a Contents pick opens it. The 81 approved chapter pictures are included.

Breeze now uses Kryon's namespaced widgets (Text.Draw/Text.Props,
Button, Image, Modal.ActionModal, Layout, TabBar, LoadingScreen,
LoadingIndicator, Shape.Circle) instead of the removed Kryon/Widgets
facades. Hosted apps import std/text explicitly, since a short "text"
import now names Kryon's widget. AGENTS.md and the Text/Button API checks
describe the namespaced forms; two unused test doubles are removed.

Build fixes for the new toolchain: the bundle runtime carries Ziran's
instruction engine (no BOOTSTRAP=1) and takes the pinned host zi2c for
cross builds; the Apps controller's lock context has the manifest's
module roots; the app codec generator lists Kryon's raw modules only;
the package scripts read ZX revision 28 bundle assets. The Apps
controller digest matches the Apps 352901e build.

Also included: the stopped lanes' work in this tree (Radio download,
Photos install, Lists, Lumi, Habits shop rewards, astral exercise
selection, appearance and download recovery) and the raylib-free desktop
lane's host modules (app_trace, host_input, host_window, host_clock),
inactive unless DESKTOP_HOST is defined.

Not included: the crash-recovery lane's picture-window and storage
crash-safety changes, which that lane commits itself.

Local tests: zi-check (510 modules), native and Android source checks,
hosted app checks, build-laws, clean-text-api-check, button-api-check,
library-reader-test, library-ui-test, storage-crash-zi-test and
native-image-decode-test pass. The bundled Arcade is still ZX revision 26
and waits for an Arcade build on these pins.
2026-11-16 14:20:12 -03:00
waozi b342be2bcd Restore Android text selection and clipboard actions in Diary and Lumi 2026-10-16 03:34:03 -03:00
waozi 110e62ec84 Let habits have a daily target above 99
The daily target in the habit editor is now a number field between the
- and + buttons: it takes digits only, opens the number keyboard on
Android, and allows targets up to 9999 instead of stopping at 99.
Requested in Lumi feedback from Inner Breeze 2.1.31.

Kryon d7454f8f adds the numeric text field mode, so the Android activity
takes the numeric flag in setTextInputState; the lock moves to it (it
also brings fbc07f54, held-key repeat).
2026-10-12 19:11:08 -03:00
waozi 3f1ec2d8a4 Give the fake key input in text tests the key repeat check
Text fields now ask raylib whether a held key repeated, so the tests that
stand in for raylib's keyboard answer that too. The text input test now
also checks that a held Backspace repeats and a held paste does not.
2026-10-12 15:03:44 -03:00
waozi f722d59996 Download, export, pick, sign and listen through Kryon and the Daochi client
Inner Breeze's platform services now come from their shared homes:

- Kryon: file_download (runtime assets and music), file_export (data
  and key file downloads and Android's share sheet), android_picker
  (document picker and QR scanner), page_socket (live sync events in
  the browser), browser_viewport (canvas sizing), and Android's device,
  insets and input method text editing.
- Daochi client: crypto (SHA-256, HMAC, ChaCha20-Poly1305), account
  keys (now wiping secrets as Inbe's copy did), and signed package
  release parsing; Inbe keeps only its own package policy.

About 5,000 lines of duplicated Zi, C and JavaScript are gone. The lock
pins Kryon f2c230be and the Daochi client d453a26.
2026-10-11 11:40:54 -03:00
waozi 354a29883f Open links and reach the Android activity through Kryon
Kryon's open_uri now opens links on every platform, including a new tab
in the browser without Inner Breeze's JavaScript, and Kryon's android_jni
replaces the app's copy of the JNI bridge. The app's own Android modules
call AndroidJniAttachCurrent, AndroidJniMethod and the other Kryon names.
Tests that compile those modules add Kryon's backend to their module path,
and Kryon's own test now checks the JNI and android_app layouts.
2026-10-11 09:53:35 -03:00
waozi f4ae7f775f Support Android keyboard composition and glide typing 2026-10-08 23:58:20 -03:00
waozi b5356aaac7 Port Inbe screens, storage, and platform hosts to Ziran
Replace the remaining .kry and C application sources with Ziran modules,
move vendored dependencies to their current pointers, and add Ziran tests for
the ported hosts and policies.
2026-09-27 15:40:52 -03:00