forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to crates/client/src/share/capture.rsClear filter

Today

♻️ refactor: simplify wire, server calls, net/share/voice and GUI state; fix ~60 bugsAhmet Kaan Gümüş · 03e6686
♻️ refactor: simplify wire, server calls, net/share/voice and GUI state; fix ~60 bugs

Wire (ALPN yumush/9): permission collapsed to is_member/is_moderator/is_admin/is_owner,
Suspension enum, admin_actions! macro, Field::Attachments, char-count message limit,
Close::on, datagram Gate→Pace, Tolerant CC sliding window.

Server: handlers take User (Me enum gone), request.rs → call/shared.rs, GetSettings served
directly, publish::direct for relay/stats without the DB lock, disconnect cleanup first,
zombie conn close, rooms Left/Why enums, release publish ordering + rollback, forge timeouts,
argon2 off the lock, DM delete on user delete, forwarded attachment deletes, backups in ms.
Suspend and timeout replace each other, so Account's single Suspension is always the truth.

Client: crate::worker (Worker/supervise), net receive.rs + discard() off-lock drops,
share/session split into send/watch, voice sound.rs + pipewire pw.rs, atomic config/cache
writes, instance lock, embed SSRF filter, update loop fix, Chat split into
Session/Admin/PollDraft with one Armed enum, one network handler (no handle_hidden),
keys.rs table, SAFE_EXTENSIONS for cached attachments, many GUI state fixes.
Palette removed: every view reads style::Tokens directly. Clippy clean apart from
argument-count lints.

Tooling: harness lib.sh (refuses a STATE path too long for pipewire sockets), per-port
scope name, focus ring off in niri.kdl, PID-safe traps, imports.sh in CI, workspace deps
consolidated, client thiserror dropped.

Yesterday

✨ feat: Windows share picker is a live thumbnail grid: xcap lists screens and windows without cloaked/tool/own junk, rescans every 1.5s, thumbnails refresh within a 100ms budget per tick and are cached per window, rows virtualized. 🐛 fix: window share follows resizes (encoders reopen once the new size holds 300ms); share button ignores clicks while a start/stop is in flight, so Linux no longer stacks portalsAhmet Kaan Gümüş · 38b4cd2
✨ feat: Windows share picker is a live thumbnail grid: xcap lists screens and windows without cloaked/tool/own junk, rescans every 1.5s, thumbnails refresh within a 100ms budget per tick and are cached per window, rows virtualized. 🐛 fix: window share follows resizes (encoders reopen once the new size holds 300ms); share button ignores clicks while a start/stop is in flight, so Linux no longer stacks portals

2026-11-28

🐛 fix: screen share ends when its source goes away (linux: portal node removed from registry, was waiting for Unconnected which never comes; windows: on_closed drops the frame sender)Ahmet Kaan Gümüş · 81b4c3d
🐛 fix: screen share ends when its source goes away (linux: portal node removed from registry, was waiting for Unconnected which never comes; windows: on_closed drops the frame sender)
🐛 fix: lost capture sources end their share instead of freezing (camera stall watchdog since v4l reads block forever, pipewire Unconnected ends screen share); share menu refreshes camera list liveAhmet Kaan Gümüş · cb6d0a6
🐛 fix: lost capture sources end their share instead of freezing (camera stall watchdog since v4l reads block forever, pipewire Unconnected ends screen share); share menu refreshes camera list live
✨ feat: Turkish language, redesigned person card, Ctrl+K and room headerAhmet Kaan Gümüş · 61a5ac2
✨ feat: Turkish language, redesigned person card, Ctrl+K and room header

Translations live in crates/client/lang/{en,tr}/*.txt and build.rs turns them into typed Words; language is a setting, defaulting to the system locale. Dates take month names and order from the language files.

Person card: name alone, status under it, presence is the avatar dot (own card: dot opens a presence menu), account switcher is a chevron after your name. Ctrl+K and the room header follow the approved canvas. The app reopens the last chat per account. The sidebar shield button is gone (Builder lives in Ctrl+K). Stale avatar size test fixed.

2026-11-27

✨ feat: Windows share picker (screens and windows, own window excluded); ping line coloured by connection quality; wordmark is yumush, click flips to yumuş with the tail dropping inAhmet Kaan Gümüş · e02f563
✨ feat: Windows share picker (screens and windows, own window excluded); ping line coloured by connection quality; wordmark is yumush, click flips to yumuş with the tail dropping in
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)Ahmet Kaan Gümüş · cf604c4
✨ feat: Windows zero-copy screen share: the WGC frame is copied into edith's D3d11Pool in the capture callback and the encoder reads the shared texture (encode_d3d11), 3 frames in flight against the ring of 4; falls back to cpu copies when d3d11 import is unsupported or fails; edith 9b677004; Dmabuf renamed Gpu (one GPU frame type per OS)
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first openAhmet Kaan Gümüş · 5da5470
✨ feat: Windows tray (badge icon, Show/Quit, close to tray), per-thread CPU on every OS (threads report their own time), machine storage row, server stats sampled always, macOS GPU via ioreg; 🐛 fix: server machine stats late on first open

2026-11-26

⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largestAhmet Kaan Gümüş · 6b212ab
⚡ perf: DMA-BUF screen capture straight into Vk encode (edith 7836ccd5) with shared-memory fallback, camera opens at the configured resolution instead of the largest

- PipeWire offers edith's importable modifiers first, then SHM; an import failure renegotiates to SHM
- capture callback holds the buffer until every encode lane drops the frame
- camera prefers raw over MJPEG at equal size and reopens when camera quality changes
- frame counters seed from wall clock so a reopened share keeps counting forward
- YUMUSH_NO_DMABUF disables the GPU path

2026-11-25

♻️ refactor: simplify the whole workspace and fix the bugs found on the wayAhmet Kaan Gümüş · d58bc19
♻️ refactor: simplify the whole workspace and fix the bugs found on the way

Collapse duplicated helpers across client, server and common: one gui widget
module, one capture worker type, shared db query helpers, one name validator.
Gate the capture modules behind a stub so macOS compiles again, close the
portal screencast session on stop, stop camera read spins, stop double
WatchShare requests, fix frame pacing jitter drops, mention prefix matching,
validation holes and a set of server cleanup and auth gaps.
✨ feat: share the fake capture with windows and quiet repeated audio retriesAhmet Kaan Gümüş · c6ed976
✨ feat: share the fake capture with windows and quiet repeated audio retries

YUMUSH_TEST_CAPTURE now works on Windows too, so the harness can measure
frame rates there. Audio device retries warn once per distinct error
instead of every second. The harness syncs and builds the Windows VM
and reads frame counters from its screen.
✨ feat: add share test harness, fake capture and windows captureAhmet Kaan Gümüş · f550e1a
✨ feat: add share test harness, fake capture and windows capture

A headless niri harness (private D-Bus, own server and clients, wlrctl
and wtype input, grim screenshots) drives the app end to end, and a
YUMUSH_TEST_CAPTURE source feeds a numbered test pattern so frame
progress can be read back from screenshots.

Windows gets screen capture through Windows Graphics Capture and share
audio through WASAPI process loopback that excludes our own process.

Bumps edith_codecs for zero-reorder H.264, patches cros-libva with its
VPP fix, adds an optimized harness profile and shows the playout buffer
instead of a skew-dependent delay.
✨ feat: add screen sharing with simulcast, hardware codecs and share audioAhmet Kaan Gümüş · e06b4ef
✨ feat: add screen sharing with simulcast, hardware codecs and share audio

Screen sharing over QUIC datagrams. Frames are fragmented with a layer
tag (resolution, fps, codec) and the server forwards one layer per viewer,
switching only on keyframes and telling the sharer which layers to encode.

The client captures through the ScreenCast portal and PipeWire, encodes
each layer on its own thread with VA-API (H264, HEVC, AV1) and falls back
to software H264. Viewers decode in hardware where possible, sync audio
and video on the sharer clock and adapt quality from loss. Share audio
captures everything except communication streams or one picked source.

Adds codec choice, share settings, a viewer pane, live badges and share
metrics, and moves playback to interleaved stereo.