Atv0.2.2Repositorysigil-ui
Document

sigil-ui 0.2.2

A chooser and Wayland input release.

Requires Sigil 0.24.6 or later in the 0.24 series.

  • Chooser items accept selectable?: #f for context rows. They stay visible for filtering and layout, but focus, movement, wrap, marking, acceptance and match counts skip them. Rows stay selectable by default, so existing callers are unchanged.
  • Wayland window-service scroll events include source, fractional wheel value120 and axis-stop metadata as one nested eighth item. Legacy wayland-dispatch events retain seven items and whole wheel steps, including accumulated fractional detents on seat v8 and later. Direction changes, source changes and axis stops reset unfinished detents. Legacy callers do not receive zero-motion events for touchpad lifts.

sigil-ui 0.2.1

A portable text and window services release. Applications get outline text drawn with sigil-font, and the same title, clipboard and fullscreen calls on Wayland and AppKit.

Requires Sigil 0.24.6 or later in the 0.24 series.

  • AppKit hosted input handles unknown modifier synchronization events without decoding them as text or releasing a held key. Native children receive them once, fixing a crash triggered by screenshot and other system shortcuts.
  • Portable window services update titles, transfer text clipboard content, and request fullscreen with acknowledged state, explicit status and dispatch events on Wayland and AppKit. Closed windows refuse operations; clipboard access refuses unsafe callback contexts. Pending fullscreen transitions have bounded deadlines. Host service modules are independent of drawing for relocation to sigil-window.

The new calls are window-set-title!, window-clipboard-read, window-clipboard-set!, window-fullscreen?, window-set-fullscreen!, and window-fullscreen-status. See window services for acceptance, acknowledgment, status events, and size limits. Existing Wayland APIs and their two-element fullscreen events keep their behavior.

  • Grayscale outline text uses sigil-font 0.1.0 for owned Regular/Bold faces, metrics and A8 glyph masks. Monospace layout, bounded glyph caching, visible missing-glyph boxes and display-list items preserve bitmap text support. Explicit font files are the default; optional family lookup requires both real weights and falls back to those files. Shaping is a separate layer. The advance keeps the font's fractional width, and each glyph position is rounded only after scaling, so monospace text keeps its natural spacing at every output scale. Text describes how consumers should compute columns and caret positions.
  • Wayland toplevel commits declare logical window geometry before parent commits. Known issue: desynchronized child content can briefly extend beyond restored fullscreen bounds until repaint; atomic parent/child resizing remains a follow-up.

sigil-ui 0.2.0

Requires Sigil 0.24.5 or later in the 0.24 series.

  • Wayland overlays and a native embedding bridge support transparent chrome, clipped child placement, independent frame pacing, clipboard text and ordered modifier updates. DMA-BUF feedback/import ownership and bounded producer-fence waits preserve release and cancellation across teardown. Title, decoration and configure-confirmed fullscreen controls are available without presenting.
  • The platform window interface selects Wayland on Linux and AppKit on macOS. AppKit software windows support Retina scaling, input, damage, event-driven scheduler wakeups and continuous rendering during native resize tracking. Tiny viewport repainting clips partial text; minimum window sizes are overridable and zero-size transitions recover safely.
  • The trusted AppKit host API adopts native child views through opaque IDs, with logical placement, clipping, focus and lifecycle notifications. A8 canvas overlays provide transparency and pixel hit testing. Scoped pre-dispatch key filters preserve consume/pass ownership through repeats and release.
  • The reusable chooser provides stable-ID single or multiple selection, hidden marks, filtering, canonical current-record acceptance, local key actions and a measured retained view. Cancellation differs from accepted empty selection. Its key handler currently acts only on presses and ignores repeats.

The AppKit backend uses system AppKit and QuartzCore; there is no WebKit dependency. IME, accessibility and Metal remain follow-ups. Existing Wayland APIs remain available. Native callback adapters retain the current compatibility shims; newer toolchain FFI changes are outside this release.