AtlatestRepositorysigil-ui
1# sigil-ui 0.2.11
2
3- Add `wayland-activate!` to submit a compositor activation token for an
4 existing Wayland toplevel. It returns false for invalid tokens or when the
5 activation protocol or window is unavailable. The compositor decides
6 whether to focus the window.
7- Requirements are unchanged from 0.2.10.
8
9# sigil-ui 0.2.10
11- Add `wayland-present-tracked!` and `wayland-presentation-status`. A
12 tracked commit of a canvas on a root surface returns a serial, and its
13 status reads `pending`, `presented` (from `wp_presentation` feedback),
14 `frame` (a frame callback, when the compositor lacks presentation time)
15 or `discarded`. Only the newest tracked commit keeps a receipt, so a
16 later commit invalidates an earlier one. Callers can use it to act only
17 once a frame is known to be on screen.
18- Requirements are unchanged from 0.2.9.
20# sigil-ui 0.2.9
22- Add `sui_wayland_export_handle`, which exports a live xdg-toplevel through
23 xdg-foreign v2 (`zxdg_exporter_v2`) so a native embedder can name the
24 window as the parent of a portal dialog. It returns NULL until the
25 compositor sends the handle, and also when the compositor lacks the
26 protocol, so callers keep their empty-parent fallback.
27- The protocol tables stay private to the bridge. Requirements are
28 unchanged from 0.2.8.
30# sigil-ui 0.2.8
32- Require sigil-window 0.2.2 or later in the 0.2 series. The Linux native
33 archives link together using sigil-window's Wayland protocol tables.
34- Preserve sigil-ui's existing Wayland C bridge and DMA-BUF behavior.
35- Check the combined native link and global symbols under GCC and Zig cc.
37# sigil-ui 0.2.7
39A Wayland DMA-BUF import fix. Requirements are unchanged from 0.2.6.
41- `sui_wayland_dmabuf_import` bounds each plane by its DMA-BUF's real size,
42 as the kernel reports it, instead of a fixed 64 MiB span. A 5120 x 3456
43 ARGB page (70,778,880 bytes) now imports. A plane that runs past its
44 buffer is refused locally with EINVAL, not sent to the compositor, whose
45 own check would end the connection with an `out_of_bounds` error.
46 A plane whose span exceeds 32 bits is refused the same way, even when
47 its descriptor cannot report a size.
48- The size query leaves the descriptor's file position unchanged.
50# sigil-ui 0.2.6
52An SDK-free AppKit drawing adapter release. Requires Sigil 0.24.8 and
53sigil-font 0.1.3 or later in the 0.1 series.
55- Darwin and Windows use sigil-window 0.2.0; Linux retains its existing
56 Wayland host without linking a second copy of the Wayland symbols.
57- Native host tokens and geometry/key records now use sigil-window's SW
58 ABI. Rebuild native adapters; the retired SUI records are incompatible.
59- Remove `(sigil ui window appkit services)`; native services belong to
60 sigil-window. The legacy AppKit wait module forwards to the host.
61- UI presentation refuses a stale generation or a different window.
62- AppKit open-window defaults its title to "Sigil" and accepts visible?.
63- AppKit emits `(input-reset)` when input ownership must be reset.
64- macOS code and development drivers use plain C and runtime-loaded APIs.
65 Outline text uses sigil-font's SDK-free CoreText backend.
66- Add a pinned Linux-built Mac qualification packet covering the host,
67 CoreText and native UI drawing. Pixel checks compare profile-matched colors;
68 independent fixtures retain results even if an earlier fixture fails.
69- Follow [the registry-lock and release gates](docs/release.md) before publishing.
71# sigil-ui 0.2.5
73A Windows raster adapter release.
75Requires Sigil 0.24.6 or later in the 0.24 series.
77- Add a Windows raster presentation adapter using sigil-window. Preserve
78 the existing Wayland cursor and text fallback behavior.
80# sigil-ui 0.2.4
82A Wayland cursor release.
84Requires Sigil 0.24.6 or later in the 0.24 series.
86- Wayland cursors accept explicit theme/size and named or copied ARGB image
87 requests on the owned connection. Requests retain desired state across
88 pointer re-entry and use the current enter serial. Existing applications
89 retain compositor-default behavior until making a cursor call. A name alone
90 prefers its mapped compositor shape, then the default library loader when
91 no shape is available. Explicit theme or size configuration prefers the
92 configured library loader, then a mapped compositor shape. Unmapped names
93 reach the loader unchanged; a miss without a mapped shape returns false.
94 libwayland-cursor combines theme, inheritance, default and builtin fallback;
95 builtin images cannot be distinguished from theme images. Themes use frame
96 one. Applications select desktop preferences; explicit size without a theme
97 reads XCURSOR_THEME, and omitted size reads XCURSOR_SIZE. Omitting both
98 configure arguments restores compositor-shape preference. Busy copied-image
99 buffers are never re-attached or overwritten, including unchanged
100 configuration and re-entry.
102# sigil-ui 0.2.3
104A text fallback release.
106Requires Sigil 0.24.6 or later in the 0.24 series.
108- Outline text accepts an explicit ordered `fallback-files:` chain. Missing
109 primary glyphs use the selected fallback face, with wider glyphs occupying
110 whole primary cells. Measurement and display-item bounds use the same policy;
111 fallback line metrics prevent clipping. Existing callers without fallbacks
112 keep their layout. Applications select the files; drawing does not discover
113 system fonts. The owned mask cache distinguishes face-local glyph IDs and
114 retains its byte and entry limits. Shaping and color emoji remain separate.
115- A fallback chain holds at most eight distinct files and 64 MiB of input.
116 Duplicate, missing or empty paths are refused before any face opens.
118# sigil-ui 0.2.2
120A chooser and Wayland input release.
122Requires Sigil 0.24.6 or later in the 0.24 series.
124- Chooser items accept `selectable?: #f` for context rows. They stay visible
125 for filtering and layout, but focus, movement, wrap, marking, acceptance and
126 match counts skip them. Rows stay selectable by default, so existing callers
127 are unchanged.
128- Wayland window-service scroll events include source, fractional wheel
129 value120 and axis-stop metadata as one nested eighth item. Legacy
130 `wayland-dispatch` events retain seven items and whole wheel steps,
131 including accumulated fractional detents on seat v8 and later. Direction
132 changes, source changes and axis stops reset unfinished detents. Legacy
133 callers do not receive zero-motion events for touchpad lifts.
135# sigil-ui 0.2.1
137A portable text and window services release. Applications get outline text
138drawn with sigil-font, and the same title, clipboard and fullscreen calls on
139Wayland and AppKit.
141Requires Sigil 0.24.6 or later in the 0.24 series.
143- AppKit hosted input handles unknown modifier synchronization events without
144 decoding them as text or releasing a held key. Native children receive them
145 once, fixing a crash triggered by screenshot and other system shortcuts.
147- Portable window services update titles, transfer text clipboard content, and
148 request fullscreen with acknowledged state, explicit status and dispatch
149 events on Wayland and AppKit. Closed windows refuse operations; clipboard
150 access refuses unsafe callback contexts. Pending fullscreen transitions have
151 bounded deadlines.
152 Host service modules are independent of drawing for relocation to sigil-window.
154The new calls are `window-set-title!`, `window-clipboard-read`,
155`window-clipboard-set!`, `window-fullscreen?`, `window-set-fullscreen!`, and
156`window-fullscreen-status`. See [window services](docs/window-services.md) for
157acceptance, acknowledgment, status events, and size limits. Existing Wayland
158APIs and their two-element fullscreen events keep their behavior.
160- Grayscale outline text uses sigil-font 0.1.0 for owned Regular/Bold faces,
161 metrics and A8 glyph masks. Monospace layout, bounded glyph caching, visible
162 missing-glyph boxes and display-list items preserve bitmap text support.
163 Explicit font files are the default; optional family lookup requires both
164 real weights and falls back to those files. Shaping is a separate layer.
165 The advance keeps the font's fractional width, and each glyph position is
166 rounded only after scaling, so monospace text keeps its natural spacing at
167 every output scale. [Text](docs/text.md) describes how consumers should
168 compute columns and caret positions.
170- Wayland toplevel commits declare logical window geometry before parent
171 commits. Known issue: desynchronized child content can briefly extend
172 beyond restored fullscreen bounds until repaint; atomic parent/child
173 resizing remains a follow-up.
175# sigil-ui 0.2.0
177Requires Sigil 0.24.5 or later in the 0.24 series.
179- Wayland overlays and a native embedding bridge support transparent chrome,
180 clipped child placement, independent frame pacing, clipboard text and ordered
181 modifier updates. DMA-BUF feedback/import ownership and bounded producer-fence
182 waits preserve release and cancellation across teardown. Title, decoration and
183 configure-confirmed fullscreen controls are available without presenting.
184- The platform window interface selects Wayland on Linux and AppKit on macOS.
185 AppKit software windows support Retina scaling, input, damage, event-driven
186 scheduler wakeups and continuous rendering during native resize tracking.
187 Tiny viewport repainting clips partial text; minimum window sizes are
188 overridable and zero-size transitions recover safely.
189- The trusted AppKit host API adopts native child views through opaque IDs,
190 with logical placement, clipping, focus and lifecycle notifications. A8 canvas
191 overlays provide transparency and pixel hit testing. Scoped pre-dispatch key
192 filters preserve consume/pass ownership through repeats and release.
193- The reusable chooser provides stable-ID single or multiple selection, hidden
194 marks, filtering, canonical current-record acceptance, local key actions and
195 a measured retained view. Cancellation differs from accepted empty selection.
196 Its key handler currently acts only on presses and ignores repeats.
198The AppKit backend uses system AppKit and QuartzCore; there is no WebKit
199dependency. IME, accessibility and Metal remain follow-ups. Existing Wayland
200APIs remain available. Native callback adapters retain the current compatibility
201shims; newer toolchain FFI changes are outside this release.