Commit Graph
3 Commits
Author SHA1 Message Date
nandiandClaude Opus 5.5 7ce5b79af2 Drop the screenshot tests and the moon-disc module; just test runs every lib package
CI / test (push) Successful in 1m12s
Deploy to the handset / build-and-deploy (push) Failing after 1m31s
- Tests that only wrote PNGs to look at are gone: desktop, overview (and its overview_shot
  helper), editor, emoji picker, launcher/Icon Desktop and dock screenshots. They were among
  the slowest in the suite; the behaviour they touched has its own tests.
- moon-disc never had source in the tree, so every fresh panel said "Module 'moon-disc' not
  found". It is out of the default panel, and a saved panel drops it (migrate_panel). The
  settings module's sample rows and labels no longer mention it.
- The settings module lists Show Desktop under "Apps and windows", with a description.
- just test ran lib/taskbar, lib/layoutpick and lib/modmgr, which no longer exist, so the wasm
  lib tests failed to start; it now runs every package in lib/ (83 tests).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 13:05:40 -08:00
nandi 52b42890d6 Camera: C ISP pipeline, contrast autofocus, and VFR video
CI / test (push) Canceled after 0s
- Add chandra-camera-isp.c (C/OpenMP) for Quad-Bayer unpack, CCM, and tone mapping, with a NumPy fallback when it is not built
- Add non-blocking contrast-detection VCM autofocus, with lens subdev discovery on the sensor's I2C bus
- Tune Quad-Bayer AE: a video-mode vblank cap, damped steps, and full analog gain before extending blanking
- Record variable-frame-rate video through a streaming Matroska muxer, and count dropped frames
- Ship libcamera IPA tuning files for imx376, imx519, and uncalibrated sensors
- Map camera buffers by fd and sync them with dma-buf ioctls
2026-11-28 19:25:43 -08:00
Claude 0f71779819 Desktop modules: a wasm module can fill the desktop, with Icon Desktop and Live Starfield
CI / test (push) Failing after 30s
A module that exports chandra:desktop/desktop-module (wit/desktop.wit) owns the desktop behind
the windows instead of a box in the panel: same sandbox, draw ops and capabilities, drawn at the
output's full size and re-rendered on resize. It gets pointer and scroll events only on the empty
desktop (windows, panel, popups and menus always win; a drag stays with the module until
release), keys only while the desktop has focus, and can draw over the wallpaper or replace it.
Its tick() asks for animation frames only while something moves; the main loop sleeps until the
next one (wake_timeout), and frames pause while a window covers the desktop, so an idle desktop
module costs nothing.

Settings > Desktop gets "On the desktop": Wallpaper only, Clock card (default) or any installed
desktop module, saved in state.edn as :desktop, loaded at login and reloaded by chandra-ctl
reload. Right-click the empty desktop for Module settings and System settings. Hidden settings
(empty label) are persisted by the shell, which is how Icon Desktop keeps icon positions.

Samples: Icon Desktop (click to launch, drag to arrange, keyboard navigation, count and size
settings) and Live Starfield (pointer steers, click or Space warps, wheel sets speed). Served by
all hosts: compositor/wasm (native + MoonBit wasmhost) and Rust host-wasm. Docs in
docs/desktop-modules.md; tests in compositor/host/desktop_test.mbt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPL5hgf1SwPMHVfLUbJKsB
2026-11-26 00:30:32 +00:00