Commit Graph
51 Commits
Author SHA1 Message Date
waozi 4ecc53c052 HUD drag follows the pointer exactly; assert it in the e2e suite
Vendor kryon diffs the global pointer position during borderless-
window drags instead of accumulating motion events (pointer batching
ate the last step), baselines the drag at the true press position
(the first step was lost between press and the first pump frame), and
captures the mouse for the drag duration. The desktop window-mode
suite now asserts the HUD lands within 2px of the exact drag path.
2026-08-19 15:31:55 -03:00
waozi 5f08aa12b1 Close the window for real; drag the break HUD; e2e window-mode tests
The title-bar close button did nothing: SDL2 delivers the close
request as SDL_WINDOWEVENT_CLOSE and raylib's SDL backend only
latches SDL_QUIT. The main loop now consumes the close request
kryon's window pump records (StealUICoreWindowClose) and runs the
normal close flow, so every mode works again: ask prompts, keep-
running hides to the tray, quit exits.

raylib also asks SDL for mouse capture at window creation; the
resulting active pointer grab on the main window swallowed every
click and drag aimed at the break HUD. The grab is released right
after InitWindow.

Adds scripts/test-desktop-windows.sh (make test-desktop-windows):
end-to-end coverage on a private Xvfb display for the window-close
matrix (startup, keep-running, ask+quit, ask+keep-running) and
break-HUD dragging.

Vendor kryon brings the close bridge, SDL-path drag support and the
StealUICoreWindowClose API.
2026-08-19 15:18:53 -03:00
waozi d26cdd72a6 Add web-canvas target: the web build on kryon's Canvas2D backend
Vendor kryon forward to master, which now carries the canvas Tier A
backend (HTML5 Canvas2D through EM_JS: no libraylib.web.a, no GLFW, no
WebGL). make web-canvas compiles the same generated app sources with
kryon's src tree + canvas_backend.c under emcc (-sASYNCIFY so the
while-loop frame pacing survives, -fexceptions for the set_main_loop
unwind) and preloads locales and assets.

Sync-account crypto and audio are not carried in this target:
scripts/ksync-canvas-shim.c reports sync unavailable (the app runs
local-only) and kryon's canvas audio is null-grade. The host page
(web-assets/canvas_index.html) drives requestAnimationFrame from timers
because embedded webviews suspend RAF while timers keep running.

Verified in a real browser: full boot, storage, fonts, icons, theming,
tinting, and input all render on the canvas backend.
2026-08-18 20:57:09 -03:00
waozi 8baa7e81f0 release: add Android custom music support 2026-08-17 19:54:15 -03:00
waozi 42bbbe61f5 Harden web smoke test; Makefile housekeeping
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.
2026-08-14 07:58:39 -05:00
waozi 0c89957e27 Update vendored Kryon 2026-08-08 16:24:54 -03:00
waozi cacc19d561 Fix web storage smoke persistence 2026-08-08 15:04:32 -03:00
waozi 2bf7d4062d Await web smoke storage flushes 2026-08-08 14:02:49 -03:00
waozi 9328257bba Fix web smoke persistence and icon colors 2026-08-08 13:40:02 -03:00
waozi 486eb64647 Add audio preview controls 2026-08-08 11:25:06 -03:00
waozi 2d3b5c8d72 Fix Android smoke under Ubuntu chroot 2026-08-08 11:10:50 -03:00
waozi 2e4e96b24f Add unified audio settings 2026-08-08 10:33:48 -03:00
waozi 0dbd5c8e4a Report module/runtime/exception state when web smoke stalls
When the web app does not become healthy the smoke test now reports
whether the emscripten Module loaded, whether the runtime reached
__inbeRuntimeReady, the last Module.setStatus text, and any
Runtime.exceptionThrown events. This distinguishes a preRun/IDBFS
deadlock from a silent wasm abort and points at the failing stage
instead of an empty recent= field.
2026-08-08 00:04:07 +00:00
waozi affe16e573 Use subset fonts with Android fallback 2026-07-27 19:01:58 -03:00
waozi ddc4b978b8 Fix Kryon preview and Android tooling 2026-07-27 16:06:33 -03:00
waozi 0047a3f486 Migrate Inbe app code to Kry 2026-07-23 14:00:07 -03:00
waozi 12705f06a6 Release Inbe 1.8.9 2026-07-17 17:35:00 -03:00
waozi e8590c0a61 Improve Firefox add-on packaging and app storage 2026-07-12 18:37:26 -03:00
waozi b7e349f389 Release 1.8.7 2026-07-12 15:39:59 -03:00
waozi 83c9a4eb70 Prepare 1.8.6 web extension release 2026-07-11 22:32:01 -03:00
waozi eca791cdc8 Update Flint widgets and release-store publishing 2026-07-11 18:49:15 -03:00
waozi 4b62a3e7f3 Refine profile navigation and sidebar flows 2026-07-11 18:49:15 -03:00
waozi b0a9bb0cee Improve Practice screen UI 2026-07-11 18:49:15 -03:00
waozi 7315ad854d Add system theme support 2026-07-11 18:49:15 -03:00
waozi afb56a3f84 Fix Android 17+ storage settings 2026-07-11 18:49:15 -03:00
waozi a6959bc7b0 Upgrade sync protocol v3 2026-07-11 18:49:15 -03:00
waozi dbdc08b396 Fix web build and deduplicate code 2026-07-11 18:49:15 -03:00
waozi 037e0c1548 Add practice banners 2026-07-11 18:49:15 -03:00
waozi 3c45fc262d Improve sync review 2026-07-11 18:49:15 -03:00
waozi 1b5bcab759 Redesign Practice cards and actions 2026-07-11 18:49:15 -03:00
waozi 3926e61590 Rework Settings overview navigation 2026-07-11 18:49:15 -03:00
waozi 5951fcb2a1 Fix Android relaunch freeze and clean up code 2026-07-11 18:49:15 -03:00
waozi ef21b40643 Move leaderboard stats to synced data 2026-07-11 18:49:15 -03:00
waozi 3e80ad1a57 Add theme modal and transition setting 2026-07-11 18:49:15 -03:00
waozi ea9a4b64ce Fix icon scaling and Android insets 2026-07-11 18:49:15 -03:00
waozi 4c604f5b10 Add tab bar mode and fix Click file handling 2026-07-11 18:49:15 -03:00
waozi 63695823f8 Add habits guide and fix orientation 2026-07-11 18:49:15 -03:00
waozi 8535e41da6 Fix Click packaging and habit sync settings 2026-07-11 18:49:15 -03:00
waozi 8d489e2171 Refactor habit UI and Flint screen helpers 2026-07-11 18:49:15 -03:00
waozi 270210cbaf Reorganize practice modules and manuals 2026-07-11 18:49:15 -03:00
waozi 64ce53b111 Fix orientation resizing and habit import merge 2026-07-11 18:49:15 -03:00
waozi 96eeec622c Add meditation practice and monochrome theme 2026-07-11 18:49:15 -03:00
waozi 3f84b3e52c Add habit tracker and habit editing 2026-07-11 18:49:15 -03:00
waozi 1be4050ab0 Add donation address 2026-07-11 18:49:15 -03:00
waozi 0f2963b22c Add hold display and progressive speed controls 2026-07-11 18:49:15 -03:00
waozi aa4c21f0ec Add file import picker and session volume 2026-07-11 18:49:15 -03:00
waozi ec4fbf7bed Add multilingual onboarding and metadata 2026-07-11 18:49:15 -03:00
waozi 9bdcf1ca9f Fix results and tutorial layout 2026-07-11 18:49:15 -03:00
waozi 85c606a7be Add text reflow and package all assets 2026-07-11 18:49:15 -03:00
waozi 79faa229af Add procedural icon fallbacks 2026-07-11 18:49:15 -03:00