Commits
Commits on
420fdc8f93c242f88fcdd9e8b5c93f1c2ab85bbb2026-08-20
💄 style(ui): the strip shows the film and the transport answers the mouseAhmet Kaan Gümüş · 420fdc8
💄 style(ui): the strip shows the film and the transport answers the mouse The contact strip was a wide empty rectangle with a border — a second box in a room whose only box is the export, and drawing nothing. It carries the film's own trace now, read from the peaks the bench already draws, and its viewport bracket is two edges and four notches rather than a frame. The transport glyphs had no click handler at all: the badges named actions the mouse could not reach, which is exactly the shortcut-sync lie the language forbids in the other direction. They fire now, and their badges read the primary stroke rather than a sentence. The spine spread down the whole rail because every text element carried the toolkit's golden-ratio line height, not because of padding — the rows sit close now, the glyph is the loud thing and the chord stays quiet, and the trim pair reads as one control with two strokes instead of two identical boxes. The screen gained the scale plate the mock puts in its corner, beside the picture rather than over it.
💄 style(ui): the room speaks in its own type and its badges get terseAhmet Kaan Gümüş · d5dd5fc
💄 style(ui): the room speaks in its own type and its badges get terse Every chord badge read like a sentence — "x or delete", "z or ctrl+z" — stacked under a glyph the width of two characters, so the spine had to stretch down the whole window to fit. A badge shows the primary stroke, compact: x, z, del, ^o. The overlay still tells the whole truth, which is where alternatives belong. With the badges short the groups close up to the rhythm the mock draws. The type the last commit bundled was never actually asked for: most text carried no family or size at all, so the room rendered in whatever the toolkit defaults to, which is why the import verbs came out twice their size. Every string in the stance now asks the type scale for its role — Archivo for what the room says, mono for what the film says. The contact strip could not span the band because the band's own row refused to claim the width, so the strip's flex had nothing to grow into. It fills the space between the readout and the chip now.
✨ feat(ui): sources get their own colour and the ruler learns to countAhmet Kaan Gümüş · 25a08e3
✨ feat(ui): sources get their own colour and the ruler learns to count The darkroom's source tints were four greys, so every source carried the same non-identity and the mock's whole read — each film marking its own dot, spine and waveform — could not happen. The family gets the real twelve-hue wheel the language describes, stepped off the reference inks and held in the contrast band; the other twelve palettes keep their own tints untouched. The bench ruler was a filled bar. It has ticks and MM:SS labels now, chosen so they never crowd, with the playhead's own timecode pinned at its left edge, and each lane head wears a dot in its first clip's ink. The dock's import verbs stop lying: they carry real actions with real chords. Add files takes ctrl+o, which the once-a-project proxy toggle gives up to a command an editor runs all day. Paste path takes ctrl+l rather than the mock's ctrl+v, which the timeline's own paste has earned. The tab letters are gone rather than shown unbound — bare l and i belong to lift and mark-in.
✨ feat(ui): the room becomes the one in the mockAhmet Kaan Gümüş · 622904e
✨ feat(ui): the room becomes the one in the mock Beside the mock, the shipped room was nowhere near it. The dock was the legacy library verbatim — pill tabs, a Media/Audio/Text row, a filled Import button, an amber accent no chrome may carry, and a source name clipped and dimmed past reading. It is now the dock the mock draws: a count line, a chrome-less filter, ghost sort chips, two-line rows whose names are mono and legible and ellipsize at the end, an import section, and the hint that names the four gestures. The spine groups its commands under heads and stacks each glyph over its chord. The time band leads with the timecode, carries the transport as ghosts, reads the cut out loud, and ends in the room's one bordered chip — which now actually exports: the stance had been suppressing the action and never mounted the card, so the control was wired to nothing. The bench grows real thumbnails and waveforms in the source's ink, with the name plate inside the clip where the mock puts it. The fonts the language always named are bundled at last: Archivo and Spline Sans Mono, cut to static weights because this text backend cannot read a variable axis and would have drawn every weight the same. The darkroom is the room you get now; OLD_GUI=1 opens the old one.
🐛 fix(ui): no bar over the picture, and the ledger names the cutAhmet Kaan Gümüş · 43f5ab4
🐛 fix(ui): no bar over the picture, and the ledger names the cut The legacy notice bar lives inside the picture, and the stance reuses the picture, so every darkroom notice painted a full-width bar across the bottom tenth of the film — under the stance's own plate, which was already showing the same words. The bar stays home in the legacy room now, and a test fails if it ever wanders back. Splitting wrote nothing to the ledger, so the bench grew a splice while the room said nothing happened. The cut speaks now, in the grey that fades on its own. Trim and walk stay silent: they run thousands of times an hour and would turn the ledger into a firehose. DESIGN §9 asks for chords surfaced in place on a held ?, not a cheat-sheet. Fifteen of seventy-one commands have a widget in the room today and all fifteen already wear their chord permanently; the other fifty-six have nowhere to stand yet. The section is amended to say what the room does and what it owes, rather than leaving the document describing a room that does not exist.
🐛 fix(ui): the film keeps its shapeAhmet Kaan Gümüş · 156db78
🐛 fix(ui): the film keeps its shape The picture was stretched to fill whatever box it got, in both rooms, for as long as the app has existed: object_fit(Contain) was set and never took effect, so a sixteen-by-nine source was drawn at two-point-three to one and, with the judging plates up, two-point-eight. It draws through a canvas now that computes the fitted rect itself and paints there, so the frame keeps its own shape and the bars beside it are room chrome. That canvas needed a real box to measure. The stance's picture div was a block one, so it sized itself from flow children and the absolutely placed canvas — the only child — left it at zero height and the picture went black. It is a flex box now, which is what its flex_1 child always assumed. The judging plates reserve their strip whether or not they are showing, so walking onto a cut no longer resizes the film underneath.
✨ feat(ui): the room speaks and the loop closes at the end of the filmAhmet Kaan Gümüş · b333573
✨ feat(ui): the room speaks and the loop closes at the end of the film The keys overlay showed eleven of seventy-one bindings behind a clipped plate, so sixty commands lived on no surface at all — it scrolls the whole list by category now, and it opens on ? as the contract names rather than f1. It is held, not latched: press dims the room, release restores it. Notices had nowhere to land in the darkroom, so arming loop-trim moved zero pixels and the editor could not tell an armed loop from a dead key. The ledger carries its real content — project identity, last action, export progress, position — and notices rise above it as plates with a severity spine, fed by the same queue the legacy room already writes to. Loop-trim never wrapped when the window ended on the film's last frame: the transport reached its end, halted, and the restart check found a stopped clock. Reaching the end with either loop armed now restarts, and the trim window's own start wins over the timeline's top.
🐛 fix(ui): s cuts, the loop arms cold, and no command hidesAhmet Kaan Gümüş · b999ecf
🐛 fix(ui): s cuts, the loop arms cold, and no command hides Round two of the verifier's drive. Bare s added a subtitle lane while the design contract reserves it for the split, so an editor pressing it twenty times got twenty stray lanes and no cuts; s splits now and the caption lane answers to c. Arming loop-trim forced playback on, so the editor's own next space toggled it straight back off and the room looked frozen — arming leaves the transport exactly as it found it, which is what the disarm side always did. Three commands lived only on keys: the stride-ten walk, the selection walk, and the overlay that would have taught them. The spine now shows both strokes beside the walk glyphs, carries the selection pair, and the keys overlay opens again — the surface is the shortcut sheet, which is the whole point of the rule. The two-up plates were painted over the bottom of the picture. The screen lays them out as a sibling now, so the picture shrinks to make room rather than being covered. The dock tab left its process-global static for the same config the palette uses, so the room reopens on the tab it closed on.
✨ feat(ui): the bench grows lanes so the cut has something to cutAhmet Kaan Gümüş · de91645
✨ feat(ui): the bench grows lanes so the cut has something to cut The stance's bench was a placeholder, and a verifier proved what that cost: nothing could be placed in the darkroom at all, so ten real bracket presses moved zero pixels. ui/bench_stance.rs now draws the room's lanes — pinned ruler and track heads, a scrolling lane stack, and clip anatomy per §5: the ink spine, the waveform read from the same store the legacy room reads, the name plate, and the splice in lamp white. Placement and selection reuse the timeline's own doors rather than growing second ones. Clips degrade by width one layer at a time as §7 asks, from full anatomy down to a sliver with its splice gaps, so a hundred-clip film stays navigable. The per-source ink is still one placeholder colour — extraction is step 5 and the hook comment marks where it attaches.
🐛 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 cut becomes the subject and the dock fillsAhmet Kaan Gümüş · 14bd4a6
✨ feat(ui): the cut becomes the subject and the dock fills DESIGN.md §12 steps 3 and 4. The cut grammar dispatches for real: , and . walk the marked clip's cuts (shift strides ten), [ and ] trim its edges at frame detents through the same engine door the mouse drag uses, / loops the subject span while the transport pumps. The maths live as pure functions in timeline_math.rs with their own tests. The stance's own regions fill in: the spine carries its commands as ghost glyphs wearing chords read live from the keymap, the screen draws the picture through the same path the legacy room uses and puts OUT|IN plates up when the playhead rests on a cut, the time band leads with timecode and the cut odometer. The stance root now takes focus and reads keys — before this it had none, so the chords were unreachable there. The dock delegates to ui/dock_stance.rs: Sources reuses the library assembly, Clip shows Speed, Colour, Transform and EQ as ghost verbs over the existing param cards. No box in the dock; the only one is Export.
✨ feat(ui): the stance stands behind a flagAhmet Kaan Gümüş · 9499168
✨ feat(ui): the stance stands behind a flag DESIGN.md §12 step 2. EDITH_DARKROOM=1 hands the window to ui/stance.rs: spine, screen, time band, bench, ledger, dock, in the geography §5 draws, painted only from the Darkroom family and pinned to that palette at startup. The regions are placeholders with their section heads; each carries a hook comment naming the step that fills it. The legacy tree is untouched when the flag is unset — the only edit to that arm is the paren and into_any_element() both branches need to share one return type.
✨ 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.
📝 docs: the darkroom design language becomes the binding contractAhmet Kaan Gümüş · ea79249Browse files
🐛 fix(engine): a picture edit reuses the decoder instead of reopening the fileAhmet Kaan Gümüş · 91e6316
🐛 fix(engine): a picture edit reuses the decoder instead of reopening the file The session's first worker was seeded with the raw caller path while the project canonicalizes every source, so Worker::reseek's textual path check failed and every colour or transform nudge paid a full thread + demux + VA-API reopen (~11s on a big file) instead of a seek. open_stream canonicalizes once, and the idle teardown stretches 2s→8s so think-time between nudges keeps the hardware session warm.
🐛 fix(engine): a moved placement clips instead of squeezing the sourceAhmet Kaan Gümüş · ef5832f
🐛 fix(engine): a moved placement clips instead of squeezing the source
transformed_dst_rect used to clamp the moved/scaled dst rect straight onto
the canvas: a negative pos_x/pos_y clamped to 0 and rendered pixel-identical
to the identity, and a positive one shrank the dst rect while the source
crop stayed full-size, so place_transformed squeezed the whole picture into
whatever survived the clamp instead of moving it. Real translation now keeps
the box's own size (aspect stays put) and clips it to the canvas, trimming
the matching fraction off the source rect on the same side -- both axes,
chroma-grid aligned. Marked-pixel tests (not uniform fills, which cannot
tell a squeeze from a shift) cover +/- pos_x, +/- pos_y, fully off-canvas,
and position combined with scale.
Same pass fixes the transform card's ~3-4s settle lag: place_transformed
always paid rotate_i420_90s's full-picture copy even at zero rotation steps
(the common case, since most edits are a move or a scale), unlike the grade
path which never copies the picture. Skipped now when there is nothing to
rotate.
Also gives the clip menu's Transform row a truncating, shrinkable label so
its long text ("Transform — position, scale, rotation, crop") stops running
the shortcut hint off the fixed-width menu -- it now shows ctrl+k like every
other row.🐛 fix(engine): stale dialect asserts learn the current magicAhmet Kaan Gümüş · 6b8d7dd
🐛 fix(engine): stale dialect asserts learn the current magic Six integration-test asserts still pinned "edith 16" on freshly saved projects; the suite had not compiled since that dialect.
✨ feat(app): a transform card moves, scales, rotates and crops a clip (ctrl+k)Ahmet Kaan Gümüş · aace3b7Browse files
✨ feat(app): a transform card moves, scales, rotates and crops a clip (ctrl+k)Ahmet Kaan Gümüş · 85d3928Browse files
🐛 fix(engine): a paused preview blends the dissolve instead of hanging on plain AAhmet Kaan Gümüş · 7456e34
🐛 fix(engine): a paused preview blends the dissolve instead of hanging on plain A B's decoder opened only on the tick that first landed inside the window, so a seek or pause that landed there before B's first frame arrived showed pure A forever -- the clock is frozen, so no later tick ever came to correct it. B now opens eagerly at the span's own start (options (c)+(b) combined), well before the window is reached, and try_frame bounds a wait on B's first frame (200ms) for the rare case a seek lands in the window before that head start pays off -- bounded so a source B cannot decode never freezes the preview.
🐛 fix(engine): the dissolve's B decoder carries B's own transformAhmet Kaan Gümüş · b89ef3aBrowse files
✨ feat(engine): clips can be moved, scaled, rotated and cropped (edith 20)Ahmet Kaan Gümüş · 684b8a4
✨ feat(engine): clips can be moved, scaled, rotated and cropped (edith 20) Per-clip TransformParams (position, scale, 90-degree rotation, crop) shared through a colour-style table, applied in both the playback preview and the export compositor, persisted as the edith 20 dialect; v19 files load untransformed.
2026-08-19
✨ feat(engine): a dissolve renders in the playback preview tooAhmet Kaan Gümüş · c90e425Browse files
🐛 fix(engine): fades reach exported and played-back audioAhmet Kaan Gümüş · 9ec26f6
🐛 fix(engine): fades reach exported and played-back audio Two bugs: `forces_encode` never checked a clip's own fade, so the default Web MP4 copy path silently dropped fades from the exported AAC track. Worse, `Fade`'s frame counts are timeline (fps) frames but `Fade::apply` multiplies audio-rate sample blocks; unconverted, a fade's threshold was crossed a few milliseconds into any clip, so a fade-out muted the rest of the segment outright and a fade-in finished before an ear (or a 100ms RMS window) could catch it. `Fade::scaled` now re-counts a fade at the mix's own sample rate the moment the audio session learns it, which also fixes the same bug in live preview.
wip(engine): transform table threads through project/playback/proxy, .edith v20Ahmet Kaan Gümüş · 621274eBrowse files
✨ feat(engine): a dissolve renders in the playback preview tooAhmet Kaan Gümüş · 3e66b40
✨ feat(engine): a dissolve renders in the playback preview too The preview used to hard-cut where an export blends -- try_frame now opens B's own decoder (graded and placed at B's own start, mirroring export's Dissolve) once the playhead reaches the tail's dissolve window, and blends its BGRA picture over A's with the same dissolve_weight ramp export uses. One choke point covers both playing and scrubbed/seeked frames, since both drain try_frame the same way.
🐛 fix(engine): the deferred-open test stops racing a thread spawnAhmet Kaan Gümüş · 77c6364
🐛 fix(engine): the deferred-open test stops racing a thread spawn Under a loaded machine the spawn a deferred open pays can cost more wall clock than a sync demux of a small fixture; the remaining two asserts pin the deferral invariant without the race. Flaked 1-in-3 during parallel builds.
✨ feat(engine): a dissolve renders in export, blended frame by frameAhmet Kaan Gümüş · 1c45bb6Browse files
✨ feat(engine): a dissolve renders in export, blended frame by frameAhmet Kaan Gümüş · fc86f32
✨ feat(engine): a dissolve renders in export, blended frame by frame The last transition_out frames of a clip that still abuts its successor on the same video lane decode B's head on a second, parallel decoder and blend it into A's tail with blend_i420, ramping 0->1 across the window; adjacency is re-checked at render time so a transition_out left stale by a trim or a delete plays as the hard cut it now is. A live dissolve forces the whole video track through the encoder -- CopyPlan's stream-copy path is all-or-nothing already, so one dissolve on the timeline costs the encode CopyPlan would otherwise have skipped. Playback preview and the fixture-backed encode test are follow-up work; this lands the plan-level tests (dissolve_weight, the window's own source/in_frame/start, and the stale-adjacency hard-cut) since the worktree has no assets/ to build a decodable fixture from.
✨ feat(app): a dissolve key and menu item join two video clips (ctrl+x)Ahmet Kaan Gümüş · 86ef2d5Browse files
✨ feat(app): the timeline draws the dissolve join as an X, ctrl+x binds itAhmet Kaan Gümüş · 270631a
✨ feat(app): the timeline draws the dissolve join as an X, ctrl+x binds it The keymap's own rebind test claims ctrl+d as a free chord to demo with, so Dissolve takes ctrl+x instead -- the shape its glyph (widgets.rs, dissolve_glyph) draws at the join. Wired into the clip context menu (menus.rs MENU_ITEMS) and the timeline (ui/timeline.rs): an X over the last transition_out frames of a clip whenever its neighbour still abuts it.
✨ feat(app): a dissolve key joins two video clips end to end (ctrl+d)Ahmet Kaan Gümüş · 474b80e
✨ feat(app): a dissolve key joins two video clips end to end (ctrl+d) Mirrors the audio crossfade: PlaybackSession::set_transition_out wraps Project::set_transition_out (Dirty::Picture), Player::dissolve_selected picks the join the same way crossfade_selected does, and a second press removes the dissolve it just made. Wired into the keymap, the dispatch table, and the clip context menu.
✨ feat(engine): clips can name a dissolve into their neighbor (edith 19, storage+format)Ahmet Kaan Gümüş · 8369d8e
✨ feat(engine): clips can name a dissolve into their neighbor (edith 19, storage+format) transition_out frames on a video clip dissolve it into the adjacent next clip; split keeps the tail's transition clamped and zeroes the head; v18 files load with hard cuts, v19 round-trips bit-exactly. Blending (playback and export) lands separately.
✨ feat(app): audio fades get wedges, drag handles and a crossfade keyAhmet Kaan Gümüş · 9ce5bf9Browse files
🐛 fix(app): the export card tells the truth about a ranged exportAhmet Kaan Gümüş · 906e7de
🐛 fix(app): the export card tells the truth about a ranged export The size estimate and the audio-codec label both ignored the marked range (a ranged export re-encodes; the card said copy and quoted the whole timeline's size). The RANGE duration is computed from the frame count instead of float seconds, and the speed card's row joins it — same truncation class. The range band gets 2px boundary ticks so it reads over the played fill. bench.rs learns export::start's fifth argument, closing the arity sweep over examples.
✨ feat(app): a crossfade key joins two audio clips end to end (ctrl+f)Ahmet Kaan Gümüş · 43b4f69Browse files
draw fades and their drag handles on the timelineAhmet Kaan Gümüş · 8cb7334
draw fades and their drag handles on the timeline Translucent wedge overlay per clip end (fade_wedge, widgets.rs, canvas+PathBuilder idiom) and a small top-corner hit zone beside each trim strip (FADE_HANDLE_W/H) that drives start_fade_drag/fade_drag_to/ commit_fade. Pixel-delta-to-frames goes through the pure fade_delta_frames helper in timeline_math.rs.
merge audio-fades engine (edith 18) and wire fade drag stateAhmet Kaan Gümüş · 55dd056
merge audio-fades engine (edith 18) and wire fade drag state Merges the fades/crossfade engine branch in, adds PlaybackSession wrappers (fade_in_of/set_fade_in/fade_out_of/set_fade_out/crossfade) and the FadeDrag gesture plumbing on the root (start/move/commit), ahead of the drawing and keymap work.
🐛 fix(engine): integration tests learn the sample-rate argumentAhmet Kaan Gümüş · c6b5eb7
🐛 fix(engine): integration tests learn the sample-rate argument cf27932 added sample_rate to export::start and edith::save but left every tests/ call site behind; cargo build -p engine --tests has been broken since. All 34 call sites pass None (source rate), preserving each test's old behavior.