Skip to content

Alicorn v0.2.1

Choose a tag to compare

@samanshaiza004 samanshaiza004 released this 10 Nov 23:07
· 437 commits to master since this release

[0.2.1] — 2026-11-10

Alicorn remains an experimental native GUI runtime for Odin. This release
collects the merged runtime, authoring, native-host, rendering-test, build, and
performance work after v0.2.0.

Compare: v0.2.0...v0.2.1

Highlights

  • Retained visual effects: native SDL_GPU surfaces can request bounded
    Gaussian backdrop blur with retained cache reuse and direct fallback; the
    first application consumer is Scratchpad Quick Open.
  • Application-level headless testing: the public alicorn:testui harness
    drives real application build callbacks with synthetic input, virtual time,
    semantic queries, and owned layout snapshots.
  • Live style updates and motion: non-default themes can be replaced in
    place, and eligible Button hover fills can transition with retained timing.
  • More capable tabs and fonts: horizontal tab bars support opt-in magnetic
    reorder/tear-off interactions, and the runtime has a bounded font-file/face
    registry with shared backing for identical files.
  • Retained motion now has generation-checked targets, intent-based authoring,
    reduced-motion handling, per-window scheduling, replay/causal diagnostics,
    and native Windows move/minimize lifecycle handling.
  • Connected document tabs share a consistent curved silhouette, support live
    reorder previews and motion indicators, and use a font-independent close
    affordance while preserving the existing hit targets.
  • Layout invalidation traces retain structured causes and format diagnostic
    text only when inspected. This preserves diagnostic output while reducing
    construction work and allocations.
  • Alicorn includes a bounded test-only CPU paint reference renderer and a
    Windows/macOS GPU comparison corpus for the supported paint subset.

Added

  • Added lexical UI key scopes, actionable identity diagnostics, explicit
    virtual-list focusability, and a text-buffer update helper.
  • Added native lifecycle breadcrumbs as an opt-in diagnostic, a native OS file
    drag service, and content-owned scroll focus visuals.
  • Added typed size declarations for the demonstrated fixed/fit/expansion and
    definite-parent percentage-width cases. Percentage widths remain opt-in and
    broader sizing research remains deferred.
  • Added analytic residual motion response, generation-safe retained targets,
    per-window presentation scheduling, reduced-motion intent controls, and
    causal diagnostics/replay. Tab bars can expose motion indicator owners and
    render live browser-style reorder previews.
  • Added a bounded, headless CPU reference for flat integer-aligned rectangles,
    stationary clipping, integer translation, opacity, and per-pass RGBA8
    source-over quantization. Unsupported operations return typed diagnostics;
    the production renderer and app-facing paint APIs are unchanged.
  • Moved the reusable Odin AccessKit binding to the standalone
    odin-accesskit dependency.
  • Added bounded retained Gaussian backdrop blur to native SDL_GPU semantic
    surfaces. Alicorn owns prefix capture, filtering, fence-tracked cache slots,
    composition, and direct fallback; no general effects graph was introduced.
  • Added alicorn:testui with full-application build callbacks, shared logical
    input routing, explicit virtual time, owned semantic/layout snapshots, and
    bounded replay logs. Native GPU pixels and OS input remain outside its
    headless guarantee.
  • Added in-place replacement of non-default runtime style themes while
    preserving theme identity and invalidating affected retained dependencies.
    The Control Gallery demonstrates validated, last-good live color editing.
  • Added opt-in timed hover-fill transitions for eligible Button recipes, with
    Linear and CSS Ease timing, reversible entry/exit, retained scheduling, and
    reduced-motion fallback.
  • Added opt-in magnetic horizontal tab dragging with tear-off and reattachment
    thresholds, constrained reorder hit testing, and preserved raw pointer
    coordinates for host decisions.
  • Added a bounded runtime font-file/face registry with stable IDs and shared
    backing storage for identical font files.

Fixed

  • Corrected typed panel sizing precedence and retained definite-parent
    percentage dependencies across cached-region reuse and viewport resizing.

  • Fixed motion owner isolation and release, coherent inspector velocity
    samples, and local clips moving with animated subtrees.

  • On Windows, avoid tight SDL timeout retries; suspend motion while minimized;
    advance motion during native move loops; stop the move timer after settling;
    and service every window during a move loop. Added secondary-window lifecycle
    regressions for motion.

  • Filled editor row-selection backgrounds for hard line-break/control rows.

  • Refined connected-tab close painting with a centered font-independent icon,
    contrast-aware ink, and hover treatment kept inside the tab contour; dirty
    markers and close hit targets remain intact.

  • Corrected helper-default normalization and cached percentage sizing bugs
    discovered during the #109 Scratchpad/Punks experiment.

  • Replaced the sparse stretched binomial backdrop filter with a normalized,
    sampled discrete Gaussian and higher-precision intermediate targets. Added
    retained-effect recovery after temporary GPU-fence deferral, correct cache
    invalidation when GPU-surface content changes, and explicit CPU-reference
    rejection for unsupported backdrop effects.

  • Closed native callback and text-input lifetime gaps, preserved headless
    pointer-target reports across corrective descriptions, and bounded magnetic
    tab dragging to the tab strip while preserving free-subtree preview motion.

  • Refresh retained motion time before interaction-only paint so newly started
    transitions receive their first scheduled frame without further pointer
    input.

  • Restore macOS trackpad momentum scrolling in the SDL host while preserving
    SDL environment overrides.

  • Refine connected-tab close painting so its centered, font-independent icon
    stays within the tab contour with contrast-aware ink and hover treatment.

  • Use the Odin-supported image pixel representation for current toolchains.

Performance and measurement

  • PR #159 replaces five
    eagerly formatted invalidation reasons with structured events and lazy,
    cached formatting. On the Apple M1 comparison, median end-frame CPU fell
    21.5% for 10,000 containers, 15.6% for 10,000 short-text nodes, and 24.6%
    for the 100-panel form; approximately 30,000 persistent allocation calls
    were removed per 10,000-node workload. The exact trace text and event order
    remain covered by regressions.
  • PR #160 completes
    bounded construction-cost attribution. Remaining retained measurement and
    geometry costs were accepted based on the recorded workload evidence rather
    than prompting a speculative allocator or data-layout rewrite.
  • The matched Windows candidate scorecard measured lower construction time
    across four synthetic workloads. Its Scratchpad nine-action workload showed
    a paired median 6.19% reduction in cumulative app-build callback time;
    first submission, process CPU, and peak working set were effectively flat.
    The separate macOS Scratchpad comparison recorded an 8% callback-time
    improvement with process CPU and peak RSS flat.
  • These are workload- and machine-specific results, not universal performance
    guarantees. Active native frame p99, continuous resize/input responsiveness,
    DPI/refresh transitions, and a comparable second-GPU-backend performance run
    remain outside the recorded benchmark coverage. See the
    performance scorecard.

Validation

  • PR #161 passed its
    Windows D3D12 and macOS Metal CPU/GPU comparison suites: 156 targeted cases,
    32 generated scenes, and a permanent minimized clip/translation regression
    on each backend, at 2/255 per-channel tolerance. The CPU renderer is test
    support only and intentionally does not model fractional geometry, non-unit
    DPI, antialiasing, rounded surfaces, text, icons, images, or materials.
  • The Odin dev-2026-11 migration record reports Windows validation with
    317 runtime, 39 UI, 35 theme, 168 native SDL GPU, 6 scroll/capture, and
    1 accessibility-contract tests passing, along with examples, AccessKit ABI,
    package smoke, and atomic-access checks. The report also marks macOS/Linux
    physical behavior, Intel macOS execution, and local static-SDL packaging
    without CMake as unverified.
  • Windows and macOS performance reports are separate experiments. Their
    measurements must not be combined as if they were a single cross-platform
    run. The complete evidence and limits are indexed in
    validation and
    benchmarks.
  • The public alicorn:testui harness was exercised against History's real
    application build and keyboard callbacks. Its negative control detects when
    selection changes without revealing the selected row in the viewport.
  • Live-theme editing was validated on Windows and dogfooded in Scratchpad; the
    Button hover-transition implementation is opt-in and its documented property
    scope remains limited to eligible flat fills.
  • The v0.2.1 source baseline 974d74cde2c2e38f931c1cfb74280dfc5966f680
    passed all five hosted checks, including macOS Metal and Windows D3D12 effect
    readback. Release-preparation documentation checks also passed; current
    evidence and limits are in the
    release validation report.
  • Local tools/check.sh and tools/test.sh passed with Odin dev-2026-11.
    Local Metal readback could not start because the available SDL environment
    enumerated no displays; the hosted Metal readback passed.

Dependencies and toolchain

  • Odin baseline: dev-2026-11. The checked migration evidence uses the Windows
    archive compiler dev-2026-11-nightly:9a69916.
  • The native host remains on SDL 3.4.18; text shaping/rasterization remains
    on vendored Runa 1.5.3; the AccessKit C ABI remains 0.23.1. The Odin
    binding is now pinned separately in dependencies/odin-accesskit.json.
  • Linux font fallback continues to use Fontconfig. Linux has no AccessKit
    adapter, and this release does not claim broad Linux desktop validation.

Scope and known limitations

  • v0.2.1 includes the already merged typed fixed/fit-height and
    definite-parent percentage-width behavior. It does not expand layout
    resizing into percentage height, intrinsic fit width, arbitrary relative
    constraints, aspect-ratio solving, or a general constraint solver. Broader
    layout-resizing work is deferred to a future pass; see the v0.3.0
    #109 research record.
  • Alicorn remains experimental and API-unstable; this release does not promise
    production readiness or long-term API compatibility.
  • The CPU reference renderer is deliberately bounded test support, not a
    general software renderer.
  • Windows and macOS native acceptance is limited to the exact reports and
    commits cited above. This release does not certify every OS version, driver,
    display scale, assistive technology, or GPU.
  • macOS development packages are ad-hoc signed, not Developer ID signed or
    notarized. Distribution signing, installers, updates, and notarization remain
    application-release responsibilities.

Merged pull requests

Complete commit ledger

All 93 non-merge commits from the v0.2.0 tag through source baseline
974d74cde2c2e38f931c1cfb74280dfc5966f680 are listed below. Pull-request
merges are represented by the linked PRs; intermediate merge commits are
omitted.

  • 6aba0b2 — feat(ui): add lexical key scopes and actionable identity diagnostics
  • 7980c0d — feat(ui): bridge native lifecycle and scoped virtual lists
  • 1d20f30 — feat(ui): prototype theme metrics and typed sizing
  • b78d834 — feat(ui): prototype definite percentage widths
  • 0792ecd — feat(ui): support percentage sized panels
  • 835b832 — docs(ui): show percentage overflow with sibling gap
  • 046c9cd — feat(ui): expose virtual list focusability
  • 0f842c7 — feat(ui): expose text buffer update helper
  • 829e463 — feat(native): add opt-in persistent lifecycle breadcrumbs
  • 006871f — docs(layout): propose issue 109 completion with app evidence gates
  • 21a91a9 — fix(ui): let typed panel sizing override helper defaults
  • 075e517 — fix(layout): retain percentages through cached regions
  • 974baf8 — feat(tabs): unify connected tab silhouettes
  • 6d1cdae — docs: record issue 109 dogfood results
  • 29c5f6b — docs: record issue 109 sizing dogfood evidence
  • 01d9253 — docs: close issue 109 research decision
  • bd0dd59 — Move AccessKit Odin binding to standalone dependency
  • f49562c — feat(motion): add analytic residual response math
  • 4c2873f — feat(motion): add generation-safe retained targets
  • 78295ff — fix(motion): isolate runtime handles and release owners
  • 84edd5e — feat(motion): schedule retained presentation per window
  • 7ed32c2 — test(motion): clarify bounded window fallback
  • 9690333 — feat(motion): add intent-based authoring and reduced motion
  • 82e415d — feat(motion): add causal diagnostics and replay
  • e93ac0d — fix(motion): keep inspector velocity sample-coherent
  • 92ad5dd — docs(validation): record motion diagnostics overhead
  • d9e3c88 — docs(validation): note hosted CI status limitation
  • 7b637a5 — feat(native): add OS file drag service
  • 772ac45 — test(motion): cover native interrupted settling
  • 01b6b34 — docs(validation): record Windows motion smoke
  • 719029f — docs(validation): confirm motion CI results
  • 5f7913b — fix(native): avoid tight SDL timeout retries on Windows
  • 45c9f48 — docs(validation): record Windows wait-loop findings
  • cf3f0b4 — docs(validation): record Windows motion lifecycle
  • 4e6ac10 — fix(native): suspend motion for minimized Win32 windows
  • ccc9a66 — docs(validation): record active motion restore on Windows
  • c01c149 — test(native): validate secondary-window motion lifecycle
  • 06e93ea — docs(validation): record secondary window motion results
  • 7f697c5 — fix(native): advance motion during Windows window moves
  • d0595a7 — docs(validation): add Windows move-loop acceptance
  • 35d3953 — fix(native): stop move timer at motion settlement
  • 08ff726 — docs(validation): record move timer settlement behavior
  • 1a1cff7 — fix(native): service motion in all windows during move loop
  • b257f4f — docs(validation): record dual-window move observation
  • 1e207dd — feat(tabs): expose motion indicator owners
  • 54aec2c — feat(motion): complete causal inspector replay gaps
  • 571db7b — docs(motion): record issue 144 failure-path audit
  • 403e775 — test(runtime): add seeded invalidation coherence oracle
  • 06daa41 — feat(runtime): add browser-style live tab reorder previews
  • 1fd3779 — fix(motion): move local clips with animated subtrees
  • 0349be5 — feat: support content-owned scroll focus visuals
  • 5930abb — fix(text): fill editor row selection backgrounds
  • 1fde82b — build: adopt Odin dev-2026-11
  • fe8967f — fix(build): correct Odin macOS archive checksum
  • dfed741 — research: prototype bounded retained effects
  • a031daa — feat: dogfood retained effects in application host
  • 067ff0c — perf: defer layout invalidation trace formatting
  • 4375e64 — fix(gpu): replace sparse backdrop blur with Gaussian
  • 736277f — perf: complete Issue #157 construction attribution
  • bafe2fa — docs: record v0.2.1 Windows performance benchmarks
  • c6eb8fe — docs: record matched Windows Scratchpad benchmarks
  • a2f1be0 — test(renderer): add bounded CPU paint reference for #90
  • 7cc8b3b — feat: promote retained Gaussian backdrop effects
  • 6a5a104 — style: refine tab close affordance
  • 072aaf5 — style: refine tab close affordance
  • 44a7b84 — docs(release): prepare Alicorn v0.2.1
  • eef2468 — Remove scroll momentum change from effects PR
  • 27056f4 — fix(test): reject backdrop effects in CPU reference
  • 74b4f34 — style: remove trailing blank line from effects cache
  • 52a9fa9 — refactor: consolidate duplicate implementations
  • 291d1f6 — fix(effects): invalidate cached backdrop for GPU surface updates
  • 9d3e015 — fix: close native callback and text lifetime gaps
  • 328b8d4 — feat: add headless application test harness
  • 29bf6ac — fix: preserve headless test interaction reports
  • e75d4f2 — feat(testui): support full application build callbacks
  • a941240 — feat(testui): add bounded semantic replay logs
  • 9c0931c — chore: normalize issue 165 follow-up file endings
  • 755c1fa — feat: add experimental live color preview
  • d23c20d — fix: build live theme gallery with current Odin
  • 80c037e — feat: add opt-in live theme editing prototype
  • c359610 — fix: validate live theme on pinned Odin
  • de5f45d — docs: record Windows live theme validation
  • ae43c83 — docs: record interactive live theme validation
  • 0fc31ca — docs: record Scratchpad live theme validation
  • b6b670a — docs: propose timed visual state transitions
  • d6f8245 — fix(mac): restore trackpad scroll momentum
  • 8d9bf17 — Add retained Button hover fill transitions
  • 0c8b44b — feat: add magnetic horizontal tab dragging
  • ee2ca73 — fix: refresh motion time before retained paint
  • 5e31467 — fix(drag): preserve free subtree preview movement
  • 38205de — fix: bound magnetic tab dragging to strip
  • 4339592 — feat: add bounded font face registry
  • 974d74c — fix: use supported Odin image pixel representation