Commits
Commits on
main2026-09-12
Merge branch 'lane-opus-swap' (597e096): both Opus seats are ec-opus natives -- ruopus/opus-rs/spectrograms leave the tree, the 128 kbps cap (an opus-rs bug workaround) rises to 320 and mono is proven end to end; known-accepted: ~1.5x slower absolute encode/decode vs the FFT-built incumbents at >=88x realtime floor, lane-ecopus-perf queued to close itAhmet Kaan Gümüş · 3d8112aBrowse files
✨ feat(engine): both Opus seats are ec-opus natives — the library pair is goneAhmet Kaan Gümüş · 597e096
✨ feat(engine): both Opus seats are ec-opus natives — the library pair is gone The decode seat (SymDecoder::Opus) and the encode seat (encode_opus) move off ruopus 0.1.2 / opus-rs 0.1.26 onto the codec family's own ec-opus, the first path dependency across into the sibling edith_codecs workspace. Both replaced crates leave Cargo.lock with everything they pulled in. What the swap is measured to do, not hoped to do: * decode equivalence: a real 5.1 stream decodes to correlation 1.000000 between the two decoders, and the film seek witness lands on the same samples it always did — the 312-sample pre-skip corrections hold unchanged, so no constant moved. * the 128 kbps cap goes to 320, the Sound row's top: opus-rs's packets above ~165 kbps were noise to every decoder but its own (re-measured: 0.011 correlation at 320 through BOTH decoders), and that cliff is the only thing the old ceiling stood on. ec-opus's 320 kbps packets read back identically through ruopus and through ec-opus. Fidelity at the top of the new band: 0.9999 (stereo 320), mono 0.9999-1.0000 (was 0.9983-0.9987 at 128). * mono leaves as Opus now. opus-rs mis-encoded mono at every rate, which is what kept a mono mix on the AAC path; a_mono_mix_leaves_as_opus_too pins the new behavior and the export.rs unit suite round-trips mono at 96 and 256. The muxer's family-0 OpusHead needed no change: it already wrote mono. * performance, measured honestly (release, min-of-7 alternating, against ruopus WITH the spectrograms/FFT backend the product actually shipped): ec-opus is ~1.4-1.7x SLOWER on every path — 5.1 decode 246x realtime where ruopus managed 407x; the export seat (encode plus its mandatory fidelity decode) 0.27 s against the old seat's 0.18 s per 30 s of stereo. Both stay far past realtime (>=88x), so nothing is user-perceptible, but the >10% bar is not met numerically; the swap stands on the dependency-freedom goal, and the family decoder has the headroom to close the gap. KNOWN-OPEN, not silently accepted.
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the pluginAhmet Kaan Gümüş · ba33df0
✨ feat(engine): software VP8 decode via dlopen'd libvpx seat in the plugin
VP8 was refused by a stale UNSUPPORTED claim ('no VP8 decoder'); the
vendored cros-codecs VP8 decoder is VA-API-only and the test GPU
exposes no VP8 VA-API profile, so the real seat is software: libvpx.so.9
dlopen'd inside libengine_hw.so (vpx.rs), routed before any GPU device
opens, seek = destroy+re-init on the demuxer's keyframe contract,
CAP_VP8 reported as the plugin's seat. Codec::Vp8 plumbed through
demux (V_VP8 + mp4 vp08), colorspace, refusals; export UI gains a
truthful read-only VP8 row; test_vp8.{webm,mp4} fixtures + capability
row + tests/vp8.rs decode/export twins. Verified by the authoring
session: headless playloop 270 frames 0 dropped, 50/50 seeks, live
harness-driven UI playback, cross-provider review PASS (FFI layouts
against shipped libvpx DWARF, valgrind-clean).2026-09-10
🐛 fix(engine): tests never open a playback deviceAhmet Kaan Gümüş · 429bf04
🐛 fix(engine): tests never open a playback device PlaybackSession::open connected a real PipeWire stream for every fixture — the 1 Hz pulse was the bip-bop on the speakers. VE_NO_AO=1 and cargo-test binaries under target/*/deps/ get a wall-clock silent sink instead; VE_AO=1 still forces the ignored ao_output suite onto the device.
2026-09-09
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVEDAhmet Kaan Gümüş · 15b0c7f
🐛 fix(app): a cross-lane shadow clamps where the engine clamps, and the strip says MOVED The landing shadow for a clip let go over another lane read a whole-span overlap and drew REFUSED, while the engine only refuses a head let go inside a take or a gap too narrow to hold the clip -- an obstacle at (360, 420) with a 90-frame clip asked at 315 previewed refused and landed at 270. `cross_room` mirrors `Project::move_room` and the shadow reads it. With it: the bench catch-all answers an asset, a caption and a palette row too (a release off the rows reached nothing); a fresh drag forgets the previous gesture's lane and x; a move that lands writes its word to the ledger strip; and the head column is HEAD_W (60) px, not the 72 three comments claimed.
✨ feat(app): closing with unsaved work asks firstAhmet Kaan Gümüş · 4e75992
✨ feat(app): closing with unsaved work asks first A close request — alt+F4, the titlebar button, a session logout — is answered instead of obeyed when the timeline holds a clip and the project file does not hold the latest edit (the same `autosave_dirty` the ledger's `unsaved` state word reads). The window stays up and raises DESIGN §8's decision notice above the ledger: red spine, `UNSAVED — save ↵ · discard d · stay esc`, and while it is up it owns the keyboard. An empty timeline, or a saved one, closes exactly as before.
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0Ahmet Kaan Gümüş · bbc437b
🐛 fix(app): a clip let go in the bench's left gutter lands at frame 0 gpui fires on_drop only on an element whose own hitbox holds the pointer, and the bench's 12px side gutter was padding on the parent div -- so a release at x < 12, exactly where a hand aiming a clip at frame 0 puts it, reached no drop target and moved nothing, silently. The gutter now lives inside bench-content's own box: same pixels, and the catch-all release already written there now covers the edge.
🐛 fix(bench): a shadow that lies is a broken drag — clamp the landing, keep the laneAhmet Kaan Gümüş · 8bd7e0cBrowse files
✨ feat(bench): the drag lands where the hand aims — clamp, one threshold, refused shadowAhmet Kaan Gümüş · 80b1d82Browse files
wip(bench): drag feel — clamp, snap targets, preview — capped mid-workAhmet Kaan Gümüş · a35a1ffBrowse files
🐛 fix(app): a source's own subtitle tracks sit under it, not at the list's endAhmet Kaan Gümüş · e178f1e
🐛 fix(app): a source's own subtitle tracks sit under it, not at the list's end The Sources list appended every subtitle group after every media row, so a film's own track landed past two unrelated screen recordings. The order is planned by `source_list_order` now: a group follows the last row naming its file, a standalone .srt stays top-level and last. A group whose parent is in the list drops its group row and hangs its tracks bare under it; past three the disclosure returns, shut, with the count on the parent's metadata line. Two files whose rows read the same word say which folder they came out of, or #n when the folder is shared too.
🎨 style(app): the settings columns get heads a person can findAhmet Kaan Gümüş · fbea70a
🎨 style(app): the settings columns get heads a person can find
PROJECT/EDITOR/EXPORT were 12px ink3 -- the room's quietest type -- with a
prose tail running on after each ("I couldn't realize them when I look at").
They are room heads now: 15px Archivo 700 ink1, 12px of air below a row's own
gap, and the prose moved onto a hover plate (DESIGN §8, ≤6 words). DESIGN §3
carries the rule; in-list section heads stay 12px ink3.
The EXPORT Picture row said every refused format's reason after its value
("funny"). It says its own pick now: one value, and a refusal -- greyed value,
six words -- only where that pick is the refused one.🎨 style(app): a label names the verb — every action in four wordsAhmet Kaan Gümüş · 488076a
🎨 style(app): a label names the verb — every action in four words The registry's labels were sentences: parentheses explaining state, colons listing choices, articles. They truncated in the KEYS list, in every 260px menu plate and in hover plates. Four words each now, verb first; what a parenthesis carried is the refusal the oracle and the engine already word. The menu no longer trims a label at its first parenthesis — there is none.
✨ feat(app): the monitoring level lives in Settings — a row, a wheel and `m`Ahmet Kaan Gümüş · 034b772
✨ feat(app): the monitoring level lives in Settings — a row, a wheel and `m` Cleanse round 2 took mute, `− +` and the slider off the time band on DESIGN §5's promise that the level lives in Settings; nothing kept it until now, which is why ToggleMute/VolumeUp/VolumeDown sat in the widget-home guard's exemption list. EDITOR's first row is `Level`: the level in mono (`muted`, in the quieter ink, when it is being held silent), the mute chord beside it, and the wheel over the row moving it a key press at a time through the same two actions the keys dispatch. No slider — the number is spent rarely. The three strokes are answered in the settings key branch rather than left to the keymap: this page counts as a card, so the darkroom's modal guard swallowed `m` entirely while it was the visible thing on screen (caught in the harness, now guarded). Session-only: nothing in ~/.config/edith holds a level.
✅ test(app): the hover-sweep floor follows the cleanse — 34 named controls remainAhmet Kaan Gümüş · 4710509Browse files
Merge branch 'worktree-agent-aea4a704971d1657f'Ahmet Kaan Gümüş · 23fb990
Merge branch 'worktree-agent-aea4a704971d1657f' # Conflicts: # DESIGN.md # crates/app/src/tests/layout.rs
🔥 remove(app): cleanse the dock — one list, one filter, one door inAhmet Kaan Gümüş · 000f4a4Browse files
🎨 style(app): the bench and the ledger say each thing once — cleanse round 2Ahmet Kaan Gümüş · 69dfc11Browse files
🔥 remove(app): cleanse the time band — five things and the strip's own mark gripsAhmet Kaan Gümüş · 0a1b19d
🔥 remove(app): cleanse the time band — five things and the strip's own mark grips The band kept the hero timecode, one transport (`|◂ ▶ ▸|`), the cut odometer, the contact strip and the boxed Export. The shuttle pair, home/end, the sync points, the loop toggle, the whole monitoring cluster, the `I O ×` marks trio and `Save` left it — each keeps its chord and its KEYS-tab row, and the odometer's `roll` word only shows while roll is armed. The export range's in/out marks became two `ink1` grips on the contact strip at their own film positions: drawn only once a mark exists, ±6px of door, drag sets the mark (and the mark under the hand becomes the other one when it crosses its partner, the way `ordered_range` orders the pair). The picture's `scale 0.59` corner readout goes with them — fit is `^0`. §7's ladder shrinks to two rungs (chords at 580px, measured), and the removed actions are named with their owner in the darkroom-home sweep.
🐛 fix(app): a room key still reaches the room when the ring sits in the dockAhmet Kaan Gümüş · 191bda3
🐛 fix(app): a room key still reaches the room when the ring sits in the dock The dock's shared handler already let unmatched keys bubble; what killed them was the body swap. `keys_tab`/the other tab takes the focused `FocusHandle`'s element out of the tree, and gpui dispatches only along the rendered focus node's ancestors -- an orphaned handle falls back to the *window* root, which the room's own div is not, so every key died until the next click (measured: with KEYS open, a second `?` and `space` reached no listener at all). Every dock body now mounts the ring it stands in for, and picking the other tab carries a ring that was in the dock with it. `STROKE_FOCUS` goes with the ring nobody paints any more.
🐛 fix(app): the export moment's picture cycle wraps, and row 3 says the picture and the soundAhmet Kaan Gümüş · d0aad08
🐛 fix(app): the export moment's picture cycle wraps, and row 3 says the picture and the sound The cycle walked into the sound-only formats and stopped there: the picture segment was gated on `has_video`, so on WAV/FLAC/MP3/OGG there was nothing to press and `c` wore no chord (user: "when selection reaches the audio clicking is disabled and can't turn it back to video"). It is a child now, never a maybe, and the cycle wraps from OGG back to MP4. Row 3 also carries what a user wants to see without being able to change it here: the project's picture size and rate, and the sound's codec with the rate it is spent at -- `copy` where the source's own packets are carried, since this surface cannot invent that rate.
🐛 fix(app): a settings value says a state, not a cut wordAhmet Kaan Gümüş · 0501b2a
🐛 fix(app): a settings value says a state, not a cut word The resolution list's checked row read "3840x2160 · the medi…" and the EDITOR row read "Subtitle font Font…": prose past MENU_W and a door's own noun in a value slot (user: "word cut"). Every picker tail is a state word now -- 'source' on the media's own size, 'unchanged' on the source sample rate -- and the settings rows carry the state behind the door: the family in force (or 'default'), the track count on Mix.
🎨 style(app): the keys list leaves the tab strip and the dock stops ringingAhmet Kaan Gümüş · 7d1dd54
🎨 style(app): the keys list leaves the tab strip and the dock stops ringing The strip is the SOURCES/CLIP pair again -- the keys list keeps its home in the dock body, under its own KEYS head, where '?' and the ledger's 'keys ?' ghost put it (user: "remove keys section from here since we also have it next to ledger"). The dock's focus ring is no longer painted: its border stays in flow and transparent in every state, so keyboard focus is untouched and the white box around the library on a click is gone.
🔥 remove(app): a region is a place — the bench stops ringing itself on focusAhmet Kaan Gümüş · a3016bd
🔥 remove(app): a region is a place — the bench stops ringing itself on focus Clicking through the timeline painted a 1px ink1 ring around the whole bench (user 2026-09-10). Focus routing is unchanged; the only ring left in the bench is the selection one a picked clip draws.
🐛 fix(app): the menu floor is the picture's painted edge, not the screen regionAhmet Kaan Gümüş · 22a8a53
🐛 fix(app): the menu floor is the picture's painted edge, not the screen region A letterboxed film leaves black bar at the bottom of the screen region, and DESIGN §5's 'nothing occludes the picture' has nothing to say about black. menu_floor now takes the Contain-fitted frame's real bottom edge (gpui's own get_bounds, off the box the paint already measures) and falls back to the region's bottom with nothing shown; a plate that still would not fit below its pointer flips above it, never past that floor. A 3840x1608 film at 2560x1440: floor 1112 -> 1014, and the 15-row clip menu stops scrolling.
🔥 remove(app): the clip menu is what this clip can be told, per kindAhmet Kaan Gümüş · 24b3bde
🔥 remove(app): the clip menu is what this clip can be told, per kind Twenty-two rows scrolled inside their own plate, which is the junk drawer DESIGN §9 forbids. §8's class refusal, applied as written: the crossfade is the sound join and the dissolve the picture one, so each is hidden over the other kind -- a video clip's menu is Cut, the two trims, the loop-trim, the clipboard pair, Dissolve, Colour, Transform, Silences, Speed, Fit policy and the two destructive rows under the rule; an audio clip's is the same list with Crossfade, Equalizer and Silences in place of the picture cards. Gone from every clip menu: the trim-to-playhead pair (`^[`/`^]` is the keyboard's version of dragging a clip edge to a spot -- the pointer already has that gesture), the group trio (ctrl-click the halves *is* the grammar) and the global mute (the transport carries its button). All six keep their chords, their KEYS rows and, now, their named exemptions in the layout sweep.
✅ test(app): the rail's exemptions go now that every one has a right-click doorAhmet Kaan Gümüş · fae390a
✅ test(app): the rail's exemptions go now that every one has a right-click door The 19 EXPLICITLY_OWNED_ELSEWHERE entries LANE R1 wrote naming LANE R2 are paid: the clip menu, the ruler's and the lane head's carry each of them, so the staleness assert's debt is cleared. The snap's assertion is a plain one again -- on BENCH_ITEMS, since a menu row's hitmap id is generated.
🔥 remove(app): the spine — a verb's geography is the thing it acts onAhmet Kaan Gümüş · 8a68541
🔥 remove(app): the spine — a verb's geography is the thing it acts on User decision 2026-09-09, "option C": nothing on screen. The 56px rail and `ui/spine_stance.rs` are deleted; the room root is centre | dock and the picture, time band, bench and ledger take the width. Every verb is now its key, a right-click on the thing it acts on, or a hover plate — the KEYS tab is the one list left. The four verbs that act on the ROOM have no thing to be right-clicked on, so they sit at the ledger's right end before the position, each wearing its chord off the keymap and its hover plate off the shared tooltip helper: `CC t · settings ^, · keys ? · full f11`. `CC` reads ink1 + fill while subtitles are shown, the state the rail's glyph carried; `keys ?` wears no second `?`, the same rule. Persisted layout is untouched: `split_bounds`/`split_size` measure the dock from the window's right edge and the bench from its height — no formula ever offset by the rail. DESIGN.md §3/§4/§5/§9/§12 rewritten in the same diff. The eighteen actions whose only pointer door was the rail are named with their owning lane in the parity sweep's exemption list, and the sweep now fails on a stale exemption so the debt cannot go quiet (three already-covered entries deleted by it).
✨ feat(app): every spine verb answers a right-click on the thing it acts onAhmet Kaan Gümüş · cb302ca
✨ feat(app): every spine verb answers a right-click on the thing it acts on The rail is going (option C: nothing on screen), so the verbs it listed need the door DESIGN §9 names -- the menu of the thing under the cursor. The clip menu gains the cut machinery (the trim pair, their trim-to-playhead pair and the loop-trim) on the subject cut a right-click already names; the ruler and the empty bench open the timeline's own menu (walking the cuts at either stride, the zoom trio, snap with its state in the row, the undo pair); a lane head opens the track's (the three adds, and the one remove of its own kind, never another lane's). Destructive rows sit under a rule line wherever they are listed, which moved Delete and Lift to the foot of the clip menu. Every row is still an ActionId the keyboard reaches, so label and chord keep coming out of the registry, and `every_verb_the_spine_carried_is_a_right_click_row` fails the moment one of them loses its pointer door again.
🐛 fix(app): a notice reports state in capitals — the guard reads the call siteAhmet Kaan Gümüş · b8a94e6
🐛 fix(app): a notice reports state in capitals — the guard reads the call site `x` with nothing marked put "Delete — click a clip first" on the ledger: prose the room is forbidden (DESIGN §8), and instructional at that. The guard that was meant to catch it scanned only literals whose first word was already in capitals, so a refusal whose head is the *verb's label* — every refusal the oracle words — walked past it, along with the eleven card/view notices that open in lower case. The scan now finds its subjects by call site (`notify_user`, `push_notice`, `Enable::No`, `Enable::Hidden`), reads their arguments to the matching paren and refuses an imperative tell at any length, not only past eight words. The dispatch shouts the label so a composed refusal opens the way every other message does: DELETE — nothing selected.
🐛 fix(app): the bench seam answers the row a hand aims atAhmet Kaan Gümüş · cc0d02c
🐛 fix(app): the bench seam answers the row a hand aims at A saved `stance-splits` held `dock=277` beside `bench=207` -- a dragged dock next to a bench press that never became a drag. Driven at 2560x1440: the seam grabbed only within ±7px of the line the eye sees, and was silent on the `BENCH` label row under it, which is the visible top edge of the timeline and so the thing the hand goes for. The drag itself was never broken -- floor 105, ceiling 1164, both correct. The band now reaches down through the bench's own section head (`BENCH_GRAB_H`, 20px: -7..+13 of the seam), and the hairline is painted by the band rather than by the 6px strip, so the whole band lights it instead of only the pixels that already had the seam.
✨ feat(app): every hitmap control wears its hover plateAhmet Kaan Gümüş · 0fd856c
✨ feat(app): every hitmap control wears its hover plate The user could not name the band's glyphs. One shape for the whole room -- `<name> · <chord>` from the shared helper -- and a sweep that pairs each `hitmap::` emitter with a `.tooltip(` of its own, so a plate cannot be borrowed from the control next door: counting per function let the empty-dock hint pay for `dock.sort.cycle`, which sat bare under a green gate.
✨ feat(app): the keys list is the dock's KEYS tab and the spine ends in one ?Ahmet Kaan Gümüş · c14d76f
✨ feat(app): the keys list is the dock's KEYS tab and the spine ends in one ?
The plate over the bench is gone with its scrim: the list rides the dock
beside SOURCES and CLIP, stable geography that occludes nothing, scrolls
like its neighbours and needs no heading prose or esc hint because the tab
strip is the way back. `?` swings the dock there and a second `?` or
`escape` swings it back — a toggle, not a hold, and not a card, so every
other stroke keeps meaning what the spine says it means.
The spine's `?` ghost drops the badge that only repeated its own glyph
("why two ? exists") and registers in the hitmap like every other ghost,
so a pointer can reach the list without the keyboard.