Commits
2026-11-15
2026-11-10
2026-10-23
🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com The working tree as of 2026-10-23, as one commit on top of the last one here. It carries the work up to that date plus the test-slimming work: integration tests merged into one binary per crate, nextest config, doctest = false, debug line tables only, perf tests behind --ignored, and faster generators, reverse, undo, subtitle-export, hevc, stabilise and hear tests.
2026-09-24
🐛 test(keys): the dispatch needle is the statement, not any lookupAhmet Kaan Gümüş · 44ab0de
🐛 test(keys): the dispatch needle is the statement, not any lookup The needle was satisfied by the hold gate's own `this.keymap.lookup(key, ctrl)` at the top of the handler, so a dispatch that resolved the action another way kept the test green (verifier finding H3). The statement is now read on its own -- from its `if let Some(action) = ...` to its opening brace -- and must contain the `card_safe_action(` call that decides the stroke.
🐛 fix(preview): the cue picture cache is keyed by the cue, not by its momentAhmet Kaan Gümüş · 16925fd
🐛 fix(preview): the cue picture cache is keyed by the cue, not by its moment The cache under `Player::sub_image` was keyed by `(lane, start_us)` and served on a match, so two different bitmap cues that share a lane and a start microsecond -- lift a caption off a lane, drop another track's caption at the same frame -- painted the picture of the cue that is gone: the cue's identity was never compared, and the cache is dropped only on toggle-off, leave and open. `SubImageKey` carries the cue's own end and the picture's own allocation (`Arc::as_ptr` of the cue's image), which is stable for as long as the cue is in the session's list, so a repaint of one cue still hits while two cues never collide. The bytes are never compared: a display set is tens of kilobytes and this test runs on every frame.
🐛 fix(keys): a card no longer swallows undo, redo, save or the clipboardAhmet Kaan Gümüş · 35306fd
🐛 fix(keys): a card no longer swallows undo, redo, save or the clipboard
`param_card_key` answers `true` for every stroke once one of the seven param cards is open, so `ctrl+z`, `ctrl+y`, `ctrl+s`, `ctrl+c` and `ctrl+v` never reached `keymap.lookup` at all -- the equalizer card's own comment says undo was always meant to be undo's own key ("Nothing to undo: every change is already at the clip, and undo is undo's own key").
`card_safe_action` names the five chords that act on the document rather than on the card, and the root handler dispatches them ahead of the cards' own branches and ahead of the blanket modal guard. The list is asked through the keymap, so a rebind moves the chord and this follows it. Escape, the arrows, `m`, the digits and the bare card letters stay the cards' own strokes.2026-09-15
✨ feat(audio): stable envelope height, full hue/sat, strands and glowAhmet Kaan Gümüş · 7ebfc44
✨ feat(audio): stable envelope height, full hue/sat, strands and glow The 2s window no longer rescales to its own peak, so a bump keeps its height as it enters and leaves. Colour is a 64-stop hue bar plus sat (white→full). Strands and glow go from one line to the dense ring. Packed on Clip.viz_paint; dialect v22.
2026-09-14
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menuAhmet Kaan Gümüş · dfcec06
✨ feat(audio): waveform styles, any soundtrack, keys search, group on the clip menu Visualizer is no longer wav-only: h on a video clip with sound paints that file's soundtrack. Style bits live on the clip (outline, smooth, fast, colour) and toggle from CLIP. `?` type-to-filters the keys list. Group / Ungroup / Regroup are clip-menu rows, not chords-only.
2026-09-09
✨ feat(bench): the drag lands where the hand aims — clamp, one threshold, refused shadowAhmet Kaan Gümüş · 80b1d82Browse files
🎨 style(app): the ledger reports state, and never cuts a word to do itAhmet Kaan Gümüş · 9e93f65
🎨 style(app): the ledger reports state, and never cuts a word to do it Notices lose their instructional tails (DESIGN §8): a remedy is a verb and its chord (`V2 ADDED · undo z`), never a sentence. The strip ellipsises at its end and elides a long name through its middle first, so the state word at the front is never what a narrow window drops.
2026-08-27
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diffAhmet Kaan Gümüş · 9ac15de
🎨 style(app): cargo fmt pass over the media-kind verb-filtering diff No behavior change -- just rustfmt normalizing line wraps the prior commit left ragged.
2026-08-26
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweepAhmet Kaan Gümüş · b05a649
🐛 fix(app,engine): pay debts — audio-only fallbacks, panic-proof proxy, .part sweep Twelve debts paid in one batch: - engine: NoVideoTrack fallback at every video door — open_stream, open_project scaffold, and import() now route a video-extension file whose header holds no picture to the audio-only path instead of refusing (argv open, saved-project reload, and library import). - engine: proxy/export worker wrapped in catch_unwind — a decoder panic settles the shared slot with Err instead of stranding Making/Cancelling. - vendor/cros-codecs: AV1 setup_shear multiplies checked — malformed warp params are a parse error, not a process abort (live-proven on an AV1 film: clean PROXY FAILED notice, slot released, app alive). - engine: startup sweep of orphan proxy .part files. - app: Player::has_video probe cache — lane_refuses gates drops on the probed kind, not the extension; Silences hidden on soundless clips; audio import toast names rate/channels/length; stale no-session proxy label cleared. - tests: audio-only mp4 fixture + gen_fixtures.sh line, 2 engine NoVideoTrack tests, toast/lane/view cases (246 bin + 14 audio_files). Harness-proven this batch (runs 20260826-2306..2315): split-at-playhead with undo, lane-remove mouse door, fade-out drag, argv audio-only open, AV1 proxy clean failure.
🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy render body, OLD_GUI gate — the env read is gone, not a switch) and every helper only it reached: ~6,900 LOC out. Darkroom stance is the only room. Real gaps the removal flushed out, fixed here: - typed bitrate in the export card was completely dead — NumberEdit digits/backspace/enter/esc now wired in param_card_key - ActionId::CancelExport was a no-op while the progress card promised the chord — now calls cancel_export (ctrl+esc, oracle-enabled during export) - actions card had no pointer entry — "?" ghost is clickable, scrim click closes, inner list swallows - snap toggle got a button beside zoom-fit in the VIEW group Dead-by-construction machinery deleted with its tests: key rebinding (rebinding/rebind_action/capture never set live), keys_search (no search box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs consts/fns, and the rest of the 32 no-—tests dead-code warnings; both `cargo build -p edith` and `--tests` are warning-free, 245 tests green.
🐛 fix(ui): guard focus ring to darkroom + ctrl-click uses press modifiersAhmet Kaan Gümüş · 6da98cd
🐛 fix(ui): guard focus ring to darkroom + ctrl-click uses press modifiers FocusPanels (F6) called window.focus on the ring's handles even under OLD_GUI=1, where the legacy tree never mounts them -- an unmounted focus target kills all key dispatch until a mouse click. focus_surface now no-ops when !self.darkroom, the single door every route goes through. ClickEvent::modifiers() answers the mouse-up modifiers, so releasing ctrl before the button undid a ctrl-held toggle decided on mouse-down (clip_box/sub_box in bench_stance.rs, timeline.rs's two clip boxes). Added widgets::press_modifiers, reading ClickEvent::Mouse's down event instead, at all four sites. Also: dock_stance.rs's doc comments were swapped between transition_row and clip_tab -- moved each back to its own fn; the transition steppers' hitmap labels were the raw element id instead of a phrase, given "Shorten transition"/"Lengthen transition"; and view.rs's stale comment referencing the old window.focus(&self.focus_dock) call updated to name focus_surface.
🐛 fix(ui): focus ring flips the dock tab so the focused surface is always mountedAhmet Kaan Gümüş · 49bd1d0
🐛 fix(ui): focus ring flips the dock tab so the focused surface is always mounted Player::focus_surface flips dock_src_active (via surface_wants_src_active) before window.focus lands on Dock/Inspector, so the handle being focused always has a mounted tree node -- focusing the unmounted tab's handle left gpui with no key listener anywhere, killing keyboard input until a mouse click. Routes all three focus-move sites (ActionId::FocusPanels, the dock's cycle_on_key_down, stance.rs's bench handler) through the one door.
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanelsAhmet Kaan Gümüş · e404617
🐛 fix(ui): wire the keyboard focus ring's entry door — F6 → FocusPanels The ring built in 75ea728 was unreachable: nothing ever called window.focus on focus_dock/focus_bench/focus_inspector, so the surface on_key_down handlers (which do move focus correctly) never fired. Adds ActionId::FocusPanels bound to F6 (bare Tab stays Select at the root, unstolen), dispatched in Player::act via window.focus(&self.focus_dock) to enter the ring at its first stop. Escape inside the ring now hands focus back to the root (ui::stance::is_focus_exit_key, mirroring is_focus_cycle_key) instead of bubbling unanswered.
2026-08-21
2026-08-20
🐛 fix(ui): the seam loses its hue and the chords become reachableAhmet Kaan Gümüş · 9e2bfd6
🐛 fix(ui): the seam loses its hue and the chords become reachable
The verifier drove the room and found three faults. DARK_SEAM carries an
alpha byte, but the stance handed it to rgb(), so every seam between
regions painted pure blue — the first law broken in the first screenshot.
It goes through rgba() now, a sweep found no other constant of that shape
mismatched, and a new test catches the class: the old guard only grepped
colour literals, so a hue arriving through a theme constant sailed past it.
The stance root read keys with no modal guards, so Home seeked the playhead
while the dock's Colour card was open, and Delete and Cut were reachable the
same way. It now asks the same shared predicate the legacy room asks.
Actions whose surfaces the stance does not draw yet are suppressed rather
than left setting invisible state.
gpui clears the shift modifier for every symbol key and hands over the
shifted glyph instead, so Chord.shift and lookup_shifted never had a
production caller and the stride-ten walk could not fire. The dead
machinery is gone; stride ten is its own pair of actions on < and >, and
selection moves to { and } — on shift+[ it had become keyboard-dead, a
regression the legacy room was carrying too.✨ feat(ui): the darkroom tokens and the cut chords landAhmet Kaan Gümüş · be320c0
✨ feat(ui): the darkroom tokens and the cut chords land DESIGN.md §12 steps 1 and 3a. theme.rs gains a thirteenth palette family, Darkroom, plus the fifteen roles the design contract names: the four-level ink ladder, the dark surface set, the lamp white, the three notice spines and the safelight pair. The twelve legacy families alias the new roles onto their nearest existing one so the palette macro still compiles for all of them. keymap.rs gains a shift field on Chord and the cut-machinery actions: , and . walk cuts (shift strides ten), bare [ and ] trim the subject cut, / loop-trims. SelectPrev/SelectNext move to shift+[ and shift+] to hand the bare brackets to trim as DESIGN.md §6 requires; every surface reads those labels live, so no stale chord text remains. The oracle refuses all five with "no subject cut" until one exists. Dispatch stays a no-op arm — a later step wires the behaviour.
2026-08-19
wip(engine): transform table threads through project/playback/proxy, .edith v20Ahmet Kaan Gümüş · 621274eBrowse files
✨ feat(engine): per-clip audio fades, adjacency crossfade, and edith 18Ahmet Kaan Gümüş · 6d0747c
✨ feat(engine): per-clip audio fades, adjacency crossfade, and edith 18 Clip carries fade_in/fade_out, an equal-power gain envelope mixed into playback and export, a crossfade() op that sets both edges of two adjacent audio clips, and split's rule that only the kept edge keeps its fade. The project file format bumps to edith 18 to carry the two new fields; a v17 (or older) file loads with every clip's fades at zero. Fixes a stray fade_in/fade_out struct-literal fragment left outside any Clip literal in Player::trimmed (crates/app/src/player/timeline_edit.rs), which was a syntax error breaking the whole app crate's build. Adds unit coverage for Fade::gain_at's boundary/midpoint curve, the split edge rule, crossfade's adjacency refusal, the Clip size-lock test (40 -> 48 bytes), and a v17-loads-zero-fades / v18-round-trips edith.rs test.
2026-08-15
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+aAhmet Kaan Gümüş · 66d5395
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+a The app half of manual clip grouping: the timeline's selection becomes a list of picks (Selection, click order kept, anchor = last), ctrl+click toggles a pick on every clip box, caption box and edge strip, and a right-click on a picked placement keeps the selection so the menu's Group row acts on all of it — one pick keeps the span-partner flow. SelectAll takes ctrl+a (every clip and caption, one selection) and RemoveAudioLane moves to ctrl+q beside its own letter. The oracle unhides Group and Detach over captions, words the one-clip-per-lane refusal, and the caption menu grows the group rows. marked() lights every pick and its link-mates — captions included — captions wear the grouped border, trims preview each member by the drag's delta clamped to its own room, deletes route a grouped caption through the group door, and a drag's snap excludes the group it carries. The save-format tests and every affected app suite updated with the new shapes.
2026-08-14
✨ feat(app): the words get a track of their own, dragged and trimmed like everything elseAhmet Kaan Gümüş · eef3d5d
✨ feat(app): the words get a track of their own, dragged and trimmed like everything else The subtitle strip under the lanes is gone and the subtitle lanes the engine model landed are drawn as lanes: the same row, the same header, the same bed. A palette row is dragged out of the Subtitles list onto one, a placement is dragged along it or onto another subtitle track, either end is trimmed, and the box's own × lifts it off -- a caption is not in the clip selection's index space, so no stroke reaches it and a lane holding one may not be removed. The row is `lane_row`, unbranched: a subtitle lane holds no `Clip` and every other lane holds no `SubClip`, so the two lists are never both full and there is no second kind of row to keep in step. Headers reorder and remove through the machinery every lane already had. An `Ok` is never a toast: `move_sub` and `trim_sub` answer a pick-up-put-back and an edge stopped at a wall with `Ok` and no undo step, so only the refusals are shown, in the engine's own words after the head. A subtitle lane refuses media in `lane_refuses`, so the shadow is red on the way down. Each lane's header carries its eye, on by default and dropped wholesale when a lane is removed or reordered -- what reads it over the picture is the next slice; nothing is saved yet either.
2026-08-13
🔧 chore(tests): the window's tests move out of the file they were testingAhmet Kaan Gümüş · e87ada1
🔧 chore(tests): the window's tests move out of the file they were testing Two thirds of `main.rs` was its own test module: sixteen thousand lines, of which six thousand were the tests. They are `src/tests/` now -- shared imports and fixtures in `mod.rs`, the tests themselves under the five headings they already fell into: editing, view, cards, media, layout. Pure motion, except for the scans. Several guards read the window's own source to hold a structural rule, and they read it with `include_str!` over a list of file names -- a list that goes quietly wrong the moment a region moves house, which is exactly what this commit does to six thousand lines and the next one will do to more. They walk `src/` at run time now: every `.rs` under it, found rather than named, so a rule cannot be passed by moving the code out from under it. A stray colour in a file nobody declared as a module is caught; under the old list it was not.