Skip to content

Combine every Sidestep commit Sekka's branches use (#6, #7) - #8

Open
bitemyapp wants to merge 3 commits into
aizomefrom
aizome-combined
Open

bitemyapp wants to merge 3 commits into
aizomefrom
aizome-combined

Conversation

@bitemyapp

@bitemyapp bitemyapp commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Every Sidestep commit that a Sekka branch uses, in one linear branch on top of aizome (7bfacbb). Sekka's open Aizome PRs are being re-pinned to this branch's head, 853fbb3, and revalidated against it, before Sidestep moves into Sekka's tree.

What's in it

Commit here From Used by
bca07b2 Show a player's frames in a window, on a subsurface of their own #6 (aizome-video), the same commit bitemyapp/sekka#136 (Utsushi)
b262a6e Tell a program what the clipboard holds, and read it on another thread #7 (omperor), 440448a rebased bitemyapp/sekka#133 (Omperor)
853fbb3 Make room in text for attachments the program draws #7 (omperor), 7b46a1b rebased bitemyapp/sekka#133 (Omperor)

git range-diff shows #7's two commits unchanged by the rebase. #7 was cut from aizome at 16a1e37 and is replayed here after #6.

Surveyed but not included

Every Sekka ref was surveyed: remote branches, local branches and worktrees. Any other Sidestep revision a Sekka branch pins or records (dae957e, 7bfacbb) is already in aizome.

Tests

On wx-workstation, after generating the objc2 overlay as CI does:

CI here passes on Linux (x86-64 and ARM), macOS and Wayland.

Sekka branches pinned to this head

Every open Sekka PR that touches Aizome now pins 853fbb3 in its flake input, its lock and vendor/sidestep. Each PR's re-pin comment records its checks, run on wx-workstation:

Every branch builds its Aizome workspace with cargo build --locked. The failures seen are pre-existing, each identical with the branch's previous Sidestep or in a crate with no Sidestep in its dependency tree:

  • some of aizome-sys's host-dependent tests;
  • aizome-comp's grim and reload tests on that host;
  • two shell goldens that read wallpapers from a laptop-only path;
  • a race in an Omperor test.

🤖 Generated with Claude Code

bitemyapp and others added 3 commits October 28, 2026 08:32
A video player on the native toolkit had nowhere to put its frames but
a Canvas, which would copy and convert every one on the CPU into the
window's shared memory: the most expensive way to show video, and one
that keeps the compositor composing the whole window every frame.

A window now places videos in its content (Window::place_video): each a
subsurface of the window's main surface, beside the content as tiles
and decorations are, over the content or under it, sized by its
viewport. Frames come from any thread through a VideoSink straight to
the render thread (ToRender::ShowVideo): linux-dmabuf buffers (a hardware
decoder's surfaces) or wl_shm buffers on the producer's memfd, each made
into a compositor buffer the first time it shows and kept while the
producer keeps it, so a decoder's surfaces are imported once. A frame is
attached and committed on its own (the subsurface is desynchronized),
carries the time it's for (wp_commit_timing_v1), hears from
wp_presentation whether it reached the screen, and is kept until the
compositor releases its buffer. A new place goes with the window's next
present: the subsurface is synchronized, placed, committed with the
window, and desynchronized again. Videos take no pointer input, say
they're opaque and a video (wp_content_type_v1), and can hold an idle
inhibitor. video::caps says what the compositor takes (dmabuf formats
and modifiers from linux-dmabuf's feedback, its render device, commit
timing, the presentation clock), and returns at once when no render
thread runs. Over the content and uncovered, a video is the window's
topmost surface, which a compositor can scan out on a plane of its own.

The null render thread presents each frame at once and notes it
(Seen::VideoShown, Seen::VideoPlaced); VideoSink::detached does the same
for tests with no render thread, and can play a window out of sight.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A program could read the clipboard only as text. Pasting a screenshot
into a chat's composer, or files copied in a file manager, needs to know
what else another program offers and to read it as that type; and a
picture can take a while to arrive from the program that offers it, so
reading it on the window's thread would hold the window up.

Cx::clipboard_types lists the clipboard's MIME types (this program's own
text, or what another program offers), Cx::clipboard_data reads it as
one of them, and Cx::clipboard_reader hands out a function that reads it
on any thread, as the clipboard was when it's called.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Chris Allen <cma@bitemyapp.com>
The engine lays out a U+FFFC whose run has an attachment as a box of the
attachment's size, wrapping with the words around it, as TextKit does,
but sidestep-ui's text had no way to ask for one or to find where it
went. A formula in a sentence of a chat's answer needs both: room in the
line, and where to draw itself.

TextStyle::attachment (TextStyle::with_attachment) lays each U+FFFC the
style covers out as a TextAttachment, a size in points and where its
bottom is from the baseline, and TextLayout::attachments says where each
box went: the byte of its U+FFFC and its rectangle from the layout's top
left. The text draws nothing there. A test checks the box takes its room
in the line, sits on the baseline as asked, and wraps to the next line
with the words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Chris Allen <cma@bitemyapp.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp added a commit to bitemyapp/sekka that referenced this pull request Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with
every Sidestep commit Sekka's branches use on top: Utsushi's video layer
(#6) and Omperor's clipboard reading and text attachments (#7). Every
open Aizome branch now pins its head, 853fbb3, in the flake, its lock
and vendor/sidestep, ahead of Sidestep moving into Sekka's tree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant