NEWS.md
sigil-ui 0.2.8
- Require sigil-window 0.2.2 or later in the 0.2 series. The Linux native archives link together using sigil-window's Wayland protocol tables.
- Preserve sigil-ui's existing Wayland C bridge and DMA-BUF behavior.
- Check the combined native link and global symbols under GCC and Zig cc.
sigil-ui 0.2.7
A Wayland DMA-BUF import fix. Requirements are unchanged from 0.2.6.
sui_wayland_dmabuf_importbounds each plane by its DMA-BUF's real size, as the kernel reports it, instead of a fixed 64 MiB span. A 5120 x 3456 ARGB page (70,778,880 bytes) now imports. A plane that runs past its buffer is refused locally with EINVAL, not sent to the compositor, whose own check would end the connection with anout_of_boundserror. A plane whose span exceeds 32 bits is refused the same way, even when its descriptor cannot report a size.- The size query leaves the descriptor's file position unchanged.
sigil-ui 0.2.6
An SDK-free AppKit drawing adapter release. Requires Sigil 0.24.8 and sigil-font 0.1.3 or later in the 0.1 series.
- Darwin and Windows use sigil-window 0.2.0; Linux retains its existing Wayland host without linking a second copy of the Wayland symbols.
- Native host tokens and geometry/key records now use sigil-window's SW ABI. Rebuild native adapters; the retired SUI records are incompatible.
- Remove
(sigil ui window appkit services); native services belong to sigil-window. The legacy AppKit wait module forwards to the host. - UI presentation refuses a stale generation or a different window.
- AppKit open-window defaults its title to "Sigil" and accepts visible?.
- AppKit emits
(input-reset)when input ownership must be reset. - macOS code and development drivers use plain C and runtime-loaded APIs. Outline text uses sigil-font's SDK-free CoreText backend.
- Add a pinned Linux-built Mac qualification packet covering the host, CoreText and native UI drawing. Pixel checks compare profile-matched colors; independent fixtures retain results even if an earlier fixture fails.
- Follow the registry-lock and release gates before publishing.
sigil-ui 0.2.5
A Windows raster adapter release.
Requires Sigil 0.24.6 or later in the 0.24 series.
- Add a Windows raster presentation adapter using sigil-window. Preserve the existing Wayland cursor and text fallback behavior.
sigil-ui 0.2.4
A Wayland cursor release.
Requires Sigil 0.24.6 or later in the 0.24 series.
- Wayland cursors accept explicit theme/size and named or copied ARGB image requests on the owned connection. Requests retain desired state across pointer re-entry and use the current enter serial. Existing applications retain compositor-default behavior until making a cursor call. A name alone prefers its mapped compositor shape, then the default library loader when no shape is available. Explicit theme or size configuration prefers the configured library loader, then a mapped compositor shape. Unmapped names reach the loader unchanged; a miss without a mapped shape returns false. libwayland-cursor combines theme, inheritance, default and builtin fallback; builtin images cannot be distinguished from theme images. Themes use frame one. Applications select desktop preferences; explicit size without a theme reads XCURSOR_THEME, and omitted size reads XCURSOR_SIZE. Omitting both configure arguments restores compositor-shape preference. Busy copied-image buffers are never re-attached or overwritten, including unchanged configuration and re-entry.
sigil-ui 0.2.3
A text fallback release.
Requires Sigil 0.24.6 or later in the 0.24 series.
- Outline text accepts an explicit ordered
fallback-files:chain. Missing primary glyphs use the selected fallback face, with wider glyphs occupying whole primary cells. Measurement and display-item bounds use the same policy; fallback line metrics prevent clipping. Existing callers without fallbacks keep their layout. Applications select the files; drawing does not discover system fonts. The owned mask cache distinguishes face-local glyph IDs and retains its byte and entry limits. Shaping and color emoji remain separate. - A fallback chain holds at most eight distinct files and 64 MiB of input. Duplicate, missing or empty paths are refused before any face opens.
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?: #ffor 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-dispatchevents 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.