forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on ef5832fea151ca30db92b142c8de131c5f43fc49Filtered to crates/app/src/keymap.rsClear filter

2026-08-20

2026-08-19

✨ 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(app): export can be limited to an in/out range (i, o, ctrl+u)Ahmet Kaan Gümüş · 5134b1d
✨ feat(app): export can be limited to an in/out range (i, o, ctrl+u)

# Conflicts:
#	crates/app/src/keymap.rs
✨ feat(export): mark an in/out range and export just thatAhmet Kaan Gümüş · a5c0bc7
✨ feat(export): mark an in/out range and export just that

i marks the in point and o the out, on the playhead; ctrl+u clears the
mark. The ruler shows the marked stretch as a translucent band and the
export card states it above the button. Session state only, never
saved to a .edith.

The engine side finishes what a capped predecessor started: run_audio
(the WAV/FLAC/MP3/OGG path) now offsets its segments and clips its
frame count to the range the same way encode_audio already did.
✨ feat(app): the timeline can redo, mirroring undoAhmet Kaan Gümüş · 49a1af3
✨ feat(app): the timeline can redo, mirroring undo

Project grows a redo stack: undo pushes the lanes it leaves onto it,
redo pops one back, and any fresh edit (snapshot) clears it since the
branch undo left behind is no longer where the edit leads. Wired
through PlaybackSession::redo, Player::redo and ActionId::Redo,
bound to ctrl+y -- bare "y" is already SubtitleStyle's, so redo takes
only the ctrl chord.
✨ feat(app): the playhead can loop, on the timeline and in a previewAhmet Kaan Gümüş · 935d48b
✨ feat(app): the playhead can loop, on the timeline and in a preview

A Loop toggle (transport bar button, bare r) restarts playback from
zero on the end crossing instead of halting — the same restart door
play-at-end already used, so loop-off semantics are untouched. One
flag serves both sessions: pump loops whichever is active. The wrap
reopens the decoder; a one-frame seam is the accepted cost.
✨ feat(app): subtitle cue font and size are the user's to chooseAhmet Kaan Gümüş · dd4bbea
✨ feat(app): subtitle cue font and size are the user's to choose

A subtitle-style file beside the theme holds a family and a size
(10-28, default 14); the cue plate reads them live and the line height
scales on the stock ratio. New card lists every system family plus the
platform default, opened from the inspector's Font control or y. A file
the format could not have written falls back whole to the defaults.
✨ feat(app): fullscreen, library preview, and frame screenshotsAhmet Kaan Gümüş · fbdd221
✨ feat(app): fullscreen, library preview, and frame screenshots

F11/toolbar fullscreen via gpui toggle_fullscreen; a per-row play
button previews any library file over the timeline without touching
the edit (separate preview session, escape restores); w/toolbar saves
the current frame as PNG under ~/Pictures/edith with no-clobber
suffixes and a notice naming the file.
✨ feat(app): the current frame saves as a PNG with a keystrokeAhmet Kaan Gümüş · 7a82c20
✨ feat(app): the current frame saves as a PNG with a keystroke

Bare w (free by hand-scan of the default keymap), or the toolbar's own
"Shot" button, write whatever is on screen -- timeline or a preview --
to ~/Pictures/edith as stem-timecode.png, never clobbering an earlier
shot of the same second. Blocked during export like every other
one-shot action (oracle.rs's allow-list already covers this).
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftoversAhmet Kaan Gümüş · 4b92704
🐛 fix(app): the export card's presets pick their own bundle, not the codec row's leftovers

Six judge-confirmed defects in one pane: a refused preset click still wrote
a quality (checked the refusal after the write, not before), refused
presets rendered bright and clickable with no reason shown, the card opened
on Custom because the launch default (Mp4, Auto) matched no bundle, the
five preset rows were pointer-only, and the status line still advertised
g/r after they moved into Advanced. Master now bundles HEVC/High instead of
H.264/High, so its own "for re-editing later" detail (intra-only, every
frame a cut point) is true of what it actually writes.
✨ feat(app): the player goes fullscreen from the toolbar or F11Ahmet Kaan Gümüş · 1ac24b8
✨ feat(app): the player goes fullscreen from the toolbar or F11

gpui Window::toggle_fullscreen wired as ActionId::Fullscreen (View category,
always enabled — window-level, touches no edit list). Player::act grows a
window parameter to reach the API; topbar gets a state-reflecting
Fullscreen / Exit fullscreen button beside Save/Export.

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 export that locks the editor says so as a card, and takes two answers to stopAhmet Kaan Gümüş · ef7689f
✨ feat(app): the export that locks the editor says so as a card, and takes two answers to stop

An export takes the whole editor -- nothing may touch the edit list while the
worker reads it -- and until now it said that in a hint line under a panel it
had just switched off. The running export is drawn as what it is: the same
scrim, width and raised box the export card itself uses, so the answer arrives
where the question was put, with the bar, the percentage and both clocks, the
row and the seats the worker really opened, the source it reads and the file it
writes. The timeline is still read around it, and the ruler keeps the fill --
the one part of the progress the card does not cover.

Getting out of it now takes intent, twice over. The chord is ctrl+esc: bare
escape is the stroke a hand throws at anything on screen, and thrown at an
export it used to delete an hour of encoding. Bare escape now does nothing at
all here -- the card is not dismissable, so there is nothing left for it to
mean. And the pointer's way out is a pair, never a cycle: "Cancel export" swaps
the row for "Keep exporting" beside it, both on screen at once, each saying
which one it is.

Rebinding still works and still adds a way out rather than replacing this one,
and the card shows whatever the keymap has.
✨ feat(app): + S makes a subtitle track, and the file door keeps its own nameAhmet Kaan Gümüş · 6830c39
✨ feat(app): + S makes a subtitle track, and the file door keeps its own name

"if I press button +S it should create subtitle track section": it opened a
file chooser instead, which is the one thing a track button never does. The
button and its "s" now add a `LaneKind::Subtitle` lane exactly as + V and + A
add theirs, ctrl+t takes the last one back, and the chooser survives as
`ImportSubtitles` (ctrl+i) behind the Text tab's own "Add subtitles from a
file…" -- the panel where the tracks it reads are listed.

Every notice follows the split: an import lands rows "in the palette", a lane
says "drag a subtitle from the panel onto it", and a remove with no subtitle
lane says so instead of "open a file first" over an open file.

The export card's Subtitles row was framed around palette picks: with an empty
pick list it dropped the engine's sentence whole, so a lane the export carries
nothing of said nothing at all. The sentence is kept whatever the picks are,
and a row the sentence already speaks for gets no clause of its own.
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pinAhmet Kaan Gümüş · 50af5b5
✨ feat(app): the seat that writes the picture is picked on the card, not by an env pin

The export card gains an Encoder row: Auto, Hardware or Software, three rows in a
list like every other setting with more than two values -- `e` steps it, a click
opens the list, and the planned line under the rows re-probes and says which seat
it measured.

Auto is what every export did before (the GPU where there is one). Hardware is
the GPU or a refusal in words -- `Enc::open` refuses before the muxer exists, so
nothing is written -- and it is now the only door to the plugin's AV1 seat, which
`VE_HW_AV1=1` used to guard: an env pin nobody exporting a film would ever find.
A person who picks it for AV1 gets a plain row naming what happened on this box's
driver, and the pick still stands.

Software forces the CPU encoder, which also takes the zero-copy path off the
table by construction (`Enc::dma_want` answers only for the two hardware seats).

Kept with the project: `.edith` gains an `encoder` line at v14, written only when
it is not Auto, and a v13 file loads as Auto.

- engine: `ExportSettings::force_sw` -> `seat: EncoderSeat`; `hw_seat` returns the
  refusal instead of falling back; `planned_video` says `NO_HW_SEAT` where it would
- app: `Pick::Encoder`/`Choice::Encoder`, card row, `e` in the card's own keyboard
  and in the keys menu (`FIXED`)
- tests: the backends sweep runs all three seats (the AV1 hardware seat excepted,
  as before), and asserts the refusal is only what a missing seat produces
✨ feat(app): the stand-ins are made when a project asks, not whenever a big film arrivesAhmet Kaan Gümüş · 269b0c2
✨ feat(app): the stand-ins are made when a project asks, not whenever a big film arrives

A project now says whether an import makes a proxy by itself. On is the
default and the line left out, so every project that came before behaves
exactly as it did; off makes nothing at all, and turning Proxies on is
what asks for the ones the project is missing -- the only ask there is,
since no per-source item exists.

The file grows an `autoproxy` line and the version goes to 13: a v12
project makes them by itself, which is all any project could do.

The switch is a button beside Proxies in the PROJECT panel, ctrl+o, and
a row on the actions card -- the three doors together, as the two
sync tests require.

2026-08-13

✨ feat(app): a Proxies switch in the panel, and the stand-ins made without being askedAhmet Kaan Gümüş · 892f813
✨ feat(app): a Proxies switch in the panel, and the stand-ins made without being asked

A film this machine cannot cut at speed -- bigger than 1080p, or HEVC or
AV1 at any size -- gets its stand-in started the moment it lands in the
library, two at a time so ten dropped files cannot start ten encodes
over one hardware seat. The library row says how far it has got and then
that there is one; the PROJECT panel's Proxies button says which way the
switch is set and carries the least-finished percentage beside it, so a
switch thrown before anything is ready says so rather than doing
nothing.

The switch is an action like every other: ctrl+p, on the actions card,
and a button that is both the state and the door -- the two tests that
already hold every action to that pass it unchanged.

A stand-in that cannot be made is a line and no more: the film itself is
what plays, which is what plays until one is ready anyway.
✨ feat(ui): the palette is picked in the window, not at the buildAhmet Kaan Gümüş · 4ddba0c
✨ feat(ui): the palette is picked in the window, not at the build

The two colour families were a cargo feature (`--features warm`), which
makes the choice one only whoever compiled the binary could make. Both
are now `Palette` values behind one relaxed load: a token is a call
(`BG_PANEL()`) that reads a field off a 'static table, so a swap
repaints the whole window with no restart and no lookup by name.

The door is a list, not a toggle -- Theme sits in the toolbar's View
group beside Snap, and opens the same picker the resolution and the
HDR rendition already use, so a third palette costs one line in
`PaletteId::ALL` and nothing anywhere else. The stroke is ctrl+h, the
row is in the actions card, and the list now answers the keyboard as
well as the pointer: up, down, enter, escape, on every picker in the
editor rather than only this one.

The pick is kept in ~/.config/edith/theme, beside the keybindings and
under the same XDG rule, so it survives a restart; a file that cannot
be written is said out loud. The contrast guards run against every
palette in the table now instead of the one that used to be compiled,
which is what makes a palette added later land gated.

2026-08-12

✨ feat(ui): a cut can be put where the export copies it, and the card says soAhmet Kaan Gümüş · bea7164
✨ feat(ui): a cut can be put where the export copies it, and the card says so

There was no way to place a cut on a source sync point: the snap knew about clip
edges and the playhead and nothing about the file's own groups of pictures. An
ordinary mid-film cut therefore fell the whole export back to software intra
HEVC -- hours -- and the export card cheerfully predicted the opposite of
whatever the engine was about to do.

Three doors onto one idea:

- The snap, extended. With snap on, a cut lands on the nearest source sync point
  within the same tolerance every other landing uses, and the playhead goes with
  it so what was cut is where the line is.
- ctrl+[ / ctrl+] put the playhead on the sync point before or after it -- the
  brackets already mean "the one before / the one after" here. On the actions
  card like every other action, so the pointer reaches them too.
- The timeline's own line says "SYNC POINT — a cut here is copied, not
  re-encoded" while the playhead is standing on one, so the answer is on screen
  before the cut rather than in the export card afterwards.

...and the card now asks `planned_seats`, which is the export's own decision:
"copy (source packets)" where it would copy, the real encoder where it would
not, and the sound named by the same gate the export runs (a Matroska source has
no sample table, so it never was the "AAC copy" this used to promise). The cuts
are in the probe's key, so moving one onto a sync point flips the line.

Driven on a 2h36m 4K HDR film in the harness: playhead to 30:03, ctrl+] to
30:06:22 (badge lights), cut, ctrl+] at 35:07, cut, delete the middle, export ->
first output bytes at 114 s, done in 146 s, 28.06 GB, the running line reading
exactly what the card predicted.
✨ feat(subtitles): as many tracks as you want, embedded in the exportAhmet Kaan Gümüş · 28e2853
✨ feat(subtitles): as many tracks as you want, embedded in the export

Subtitle tracks now work the way audio and video tracks do: add as many
as you like, remove any of them, and every track with cues on the
timeline is written into the exported file.

Add and remove
- "+ S" beside "+ V"/"+ A" imports every subtitle track in a picked
  file; each row carries its own "x". Pointer and keyboard doors share
  one implementation and refuse identically, before any chooser opens.
- Project::remove_subtitles / PlaybackSession::remove_subtitles, with
  the index fixup in one place so a removal cannot repoint the overlay.

Embedded in the output
- ExportSettings.subtitles is a list; the Matroska muxer writes N tracks
  from number 3 up, ceiling derived from the encoding (0x7F -
  SUB_TRACK_FIRST) because track 127 is the all-ones VINT our own reader
  maps to "unknown" and would silently lose.
- mp4 carries them too, as real tx3g timed text. The old "an mp4 carries
  none" was a false refusal: mp4 0.14 has MediaConfig::TtxtConfig all
  along. Samples are built from cue boundaries, so gaps are empty
  samples and the track spans the film.
- of_mp4 reads them back, so edith re-imports its own output. Verified
  against a file ffmpeg muxed, which writes mdhd in microseconds where
  we write milliseconds.
- The export set is derived from timeline_cues per call, so it cannot
  desync; the card names a track it leaves off, and counts past the
  width budget rather than eating the card.

Language and title
- SubtitleTrack carries language and name apart; the guess-them-back
  heuristic is gone. LanguageBCP47 is read and mapped to a 3-letter code
  (ffmpeg reads no BCP-47 at all, so writing it would have made the
  language invisible). A 17-track subtitle library file and a
  dual-language one no longer read "und".

Media bitrate in properties
- engine::probe_bitrate opens no decoder; all three numbers share the
  container's duration, so total >= video + audio holds by construction.
  Within 0.004% of ffprobe across the library.
- Both properties cards show it; a dual-audio file says which of how
  many. The line picks one unit off its smallest stated component, so a
  real value never renders as 0.00.

Off the render thread
- The subtitle walk moved to the background executor at every door:
  1324ms -> 0.1ms on a 3.1GB film, 234ms -> 5.0ms on a 25.4GB/35-track
  one. (The media walk is still on the render thread; separate slice.)

False refusals removed
- .mks and .mka were refused while the compiled-in Matroska reader
  parses them; is_matroska now takes the standard's closed set.
- The audio-only "sound alone" sentence was unreachable when every pick
  was a bitmap track.

Subtitle-free exports stay byte-identical: 294a8b0c (hevc mkv),
8c16b8b1 (default mp4).
🖱️ fix(ui): a menu offers what applies, fits the window, and nothing paints over itAhmet Kaan Gümüş · 8a2e813
🖱️ fix(ui): a menu offers what applies, fits the window, and nothing paints over it

A right-click on an audio clip listed a grade and a fit policy, and the one
row the user named -- "Detach the sound from the picture" -- read as a video
item on a waveform. Both menus take their rows from an oracle now and from
nothing else: `menu_items` filters the action registry through `enable`, and
`row_items` does the same for a library row through `row_enable`, so an item
cannot appear where it does not apply by being added to a list alone. The
detach is worded from neither half, because it takes the pair apart.

The clip menu was capped at twelve rows whatever the window, so a menu opened
low in a 720 px window put everything past the fit policy behind a scroll
nobody was told about. `menu_rows_h` gives the list the room the window has,
and the card is placed by the very height it is drawn to.

A tooltip already on screen when a menu opens stays on screen in gpui --
occluding the surface under it does not take it back (`div.rs`, its own TODO)
-- so the tip stands aside instead: one flag, read by every hover label in the
window. The scrims occlude as well, which is what stops a new one appearing.

The actions card was 320 px wide with labels that were not: "Remove the last
video track (it must be empty)" printed straight over the stroke beside it. It
is 480 now, its labels truncate rather than overprint, and the list scrolls
under a rule instead of against the search line.
🛡️ fix(ui): four defect classes made impossible instead of testedAhmet Kaan Gümüş · 5909fc9
🛡️ fix(ui): four defect classes made impossible instead of tested

The action list is one list now: a `macro_rules!` writes the enum and
`ActionId::ALL` from the same names, so a variant added with `ALL`
untouched -- which compiled, passed and dropped the action off the keys
card -- cannot be written any more.

The reachability guard reads `keymap::FIXED` too: every card-local
stroke names the element a pointer presses instead, or says in the type
(`Reach::Gesture`) that there is nothing to press. `g` and `r` on the
export card were keyboard-only while the card advertised them, and are
rows of their own now.

Trim strips are suppressed under three handles of clip: a jumpcut's
short clips were 100% handle, so nothing could select or drag them.

The codec row's chord comes off `FORMATS` (it said six keys for the
seven codecs its label named -- OGG's `o` was invisible), and the panel's
button row carries a pinned door beside the scrolling part, since "it
scrolls" is not "it can be found" at the 640x360 floor.

2026-08-11

🧹 test(scratch): a fixture directory is deleted by the test that made itAhmet Kaan Gümüş · 5c39124
🧹 test(scratch): a fixture directory is deleted by the test that made it

Every suite here made its own directory under /tmp with a name and a
process id and then walked away from it: 2907 `ve_*` directories, 6.4G of
a 16G tmpfs, none of them reclaimable by anything but a person with `rm`.

`engine::scratch::Scratch` is the one place a throwaway path comes from
now -- a directory, or the single file inside one -- and `Drop` is what
takes it back. That is the whole reason it is a guard rather than a
cleanup call at the end of a test: unwinding runs `Drop`, so the *failing*
tests, which are exactly the ones that used to leave the most behind,
clean up like the passing ones.

It derefs to a `Path`, so the call sites did not have to change: the
helpers that handed back a `PathBuf` hand back one of these. The prefixes
stay what they were, so a directory is still recognisable while a test is
stopped in it.

Nothing about what a test *does* moved -- only where its fixtures live and
when they die. Driven: the whole engine suite and the app's own tests run
with the count of `/tmp/ve_*` before equal to the count after.
✨ feat(export): OGG Vorbis is a row you can pick, not a note about missing encodersAhmet Kaan Gümüş · 17d7d99
✨ feat(export): OGG Vorbis is a row you can pick, not a note about missing encoders

The export card said "no pure-Rust Vorbis or Opus encoder" and that had stopped
being true. `rusty_vorbis` 0.1.1 (Apache-2.0, zero dependencies, same family as
the h264/aac/mp3 encoders already here) is the first permissively-licensed
pure-Rust Vorbis *encoder*; `oxideav-ogg` 0.1.8 pages it, and its only dependency
is the `oxideav-core` the AC-3 decoder already pulls in. No C, no FFI, no new
runtime system dependency -- `ldd` on the binary is unchanged, name for name.

The row is live, keyed `o`, and names its encoder like every other live row does.
VP9 stays refused with the reason it always had: AV1 replaces it.

What the bench found, and what the code does about it. Every number below was
measured by encoding this suite's own fixtures and decoding them back with
symphonia -- an independent decoder, and the one this engine reopens exports
with:

* The encoder numbers its granules a full block ahead of the samples it codes,
  so written straight through, every sample lands ~1024 early: a marker signal
  came back with its head at 36% amplitude and a full-scale burst 1500 samples
  before the real one, in silence. One hop of silent pre-roll puts it back --
  head 0.86 against an input peak of 0.80, the phantom burst down to 0.04.
* Its block grid overshoots the last sample, so the stream is padded and the
  last page's granule declares the timeline's own frame count. An `.ogg` is now
  exactly as long as the WAV of the same timeline, which is the promise every
  other audio row here keeps.
* Below quality 0.50 the encoder is *quiet*, not merely coarse (1-1.6 dB of
  level error, near-silence at 0.10), and the whole usable band tops out around
  200 kbps. So the file is written at one measured quality, 0.85, and the Sound
  row is refused by name rather than mapping 128/192/256/320 onto quality steps:
  the top two are rates this encoder cannot reach, and a card that printed them
  would be lying.
* The embedded setup header is a stereo profile -- a mono push is refused
  outright -- so a mono mix is written as dual mono, both channels bit-identical.

And one defect the round trip turned up on the way in: `SymTrack` subtracted
`Track::delay` on top of symphonia, which already drops those frames itself.
Every `.mp3` import was losing its first 1105 samples (25 ms) and reading 25 ms
short, every `.ogg` its first 128. Measured against `test_tone.flac` -- lossless,
and the only one of the three declaring no delay -- which the mp3 and the ogg of
the same tone now align with. WAV, FLAC and AAC-in-mp4 read hash-identical
across the change; only those two formats move, and both move to the length
their own container declares.
✨ feat(export): the custom bitrate is a field you type in, not digits caught from nowhereAhmet Kaan Gümüş · 10cdebc
✨ feat(export): the custom bitrate is a field you type in, not digits caught from nowhere

The custom quality row took raw digit keys while the card was open: no
caret, no way to see a number before it took effect, no click to focus,
and a stray keystroke changed the bitrate with nothing on screen to say
it had. It is a field now -- n or a click opens it on the number in
force, digits type, backspace edits, ↑↓ step inside 1-20, enter commits
and escape gives up -- held as a modal NumberEdit on the player, the way
a waiting rebind row is, since nothing in these cards takes gpui focus.

Out of range is refused in its own words and keeps what was typed, so a
45 can be fixed to 4 rather than clamped to 20 behind the user's back.
The field also says itself on the card's status line, which is outside
the scrolling list: at 360 px the custom row can sit below the fold, and
a number typed where it cannot be seen is the blind capture this
replaces. Digits outside the field now do nothing at all.

The sound rate stays a list of presets: the four rates are the legal
MPEG-1 Layer III values, so an arbitrary kbps would be snapped by the
encoder and the card would name a rate the file does not have.
✨ feat(subtitles): the cues arrive, show over the picture and sit on the timelineAhmet Kaan Gümüş · 863eb63
✨ feat(subtitles): the cues arrive, show over the picture and sit on the timeline

Subtitle management, both halves the user asked for: a .srt/.vtt/.ass/.ssa
beside the media goes in through the import door it is dropped on, and an
mkv opened or imported brings its own text tracks with it — every door
(drop, Import, argv, argv extras) picks them up, so a file never arrives
with invisible subtitles.

The library grows a Subtitles section under the media list: a row per
track, its cue count under its name, the picked one marked, and a click
picks another — rows rather than a cycle, because four PGS tracks off a
remux is an ordinary number. A track that cannot be read is in that list,
greyed, saying why in the engine's own words.

Over the picture the cue under the playhead is drawn bottom-centred,
white on a plate so the film cannot swallow it, one plate per cue so two
at once stack and the line breaks the parser kept stay breaks. Under the
lanes a thin strip shows where the cues are, through the same Scale every
clip box goes through. ToggleSubtitles (t) hides and shows the overlay,
from the keyboard, the Actions card or the Subs button beside the snap.

No engine change: the doors were complete.
🔀 merge: main (E2's export clocks) into E1Ahmet Kaan Gümüş · 75bfb8e
🔀 merge: main (E2's export clocks) into E1

origin/main had moved past the merge I was pointed at, so the same
command was run again. One conflict, the tests' use-list once more:
theirs plus `next_audio_kbps` and `audio_rate_choices`. Nothing in E2's
progress lines touches the Sound row.
🔀 merge: origin/main into E1, and the Sound row becomes a choice listAhmet Kaan Gümüş · 3992bff
🔀 merge: origin/main into E1, and the Sound row becomes a choice list

Conflicts were the three the coordinator called: keymap's FIXED count
(union of my `b` and C5's 26, so 27), the tests' use-list in main.rs
(theirs plus AUDIO_KBPS, DEFAULT_AUDIO_KBPS, next_audio_kbps) and two
tests added at the same line of audio_export.rs (both kept).

Four rates is one more than a button may be clicked round, so the Sound
row opens C2's picker (`Pick::AudioRate` over `AUDIO_KBPS`, rows naming
what each rate buys) instead of stepping under the pointer. `b` still
steps, the way ctrl+r still steps the resolution the same list offers --
and a list open over the card is what the first stroke closes, so escape
cannot take the card out from under it.
✨ feat(keys): the actions card has a door and a search boxAhmet Kaan Gümüş · d4255d9
✨ feat(keys): the actions card has a door and a search box

Forty actions do not fit a 360 px window, and the only way in was a button
in the panel. Both halves of that:

- F1 opens it (ActionId::ShowActions, Category::File, beside the save and
  the export it stands next to on screen). The panel button is still its
  pointer door and now says the key in its tooltip.
- Typing filters: label and stroke, case-insensitive substring, headings
  with nothing left under them gone with their rows. Escape clears the
  search first and closes the card second -- a capture waiting for a
  stroke still wins over both.
- Up and down scroll the row list from the keyboard, so the rows past the
  fold are reachable without a wheel; the search resets it to the top,
  since a filtered list is shorter than the offset a scrolled one left.

A stroke another action holds is refused by that action's name, as it
always was (keymap::rebind_action) -- nothing here steals a chord.
✨ feat(eq): the equalizer takes the room it needs, and every band is editableAhmet Kaan Gümüş · 462692e
✨ feat(eq): the equalizer takes the room it needs, and every band is editable

The card was 320 px of fixed width with five bands whose only editable
number was gain: a graph of twenty thousand hertz spending four pixels
on the octave below middle C, and a filter nobody could aim.

It now takes the window it is in (up to 720 px, floored at the other
cards' width) and carries the three numbers a band actually has. A band
is dragged both ways -- across is frequency, down is gain -- moved by the
arrows, widened and narrowed with shift, added and removed up to ten, and
flattened alone by `f` or a double-click. Each band's own bell is
threaded under the sum, so a boost pushed against a cut is visible rather
than a flat line that says nothing.

The engine already took any cascade (`EqParams::bands` is a `Vec` and the
.edith file writes every band it is given): nothing under the UI moved,
so a project saved before this loads and sounds exactly as it did.
✨ feat(timeline): clips land where they mean to — snap to every lane, a line that says so, and a key that turns it offAhmet Kaan Gümüş · bd70ab1
✨ feat(timeline): clips land where they mean to — snap to every lane, a line that says so, and a key that turns it off

The snap reached one gesture and one lane: a clip dropped on a track met
the edges already on that track and nothing else. A trim met nothing at
all, and a library row dropped on a lane landed on the raw frame under
the pointer.

Now every edge on the timeline is a target -- both ends of every clip on
every lane, the playhead, the head of the show -- and all three gestures
ask the same question: the clip drag, the edge trim, and the row let go
on a lane. A take on V1 lines up with the sound on A1, which is what a
cut across tracks means.

While the hand is still moving, the lanes draw the frame it is about to
land on: one pale line, under the playhead's own and in another colour,
and only while a gesture is live -- gpui drops a drag without telling
anyone, so the line asks whether one is in flight rather than remembering
that one was. A target the engine's own trim room clamps away draws
nothing: the line only promises what the release will do.

And it can be switched off, with "n" or the button beside the zoom: off,
a drag lands exactly where the hand leaves it and no line is drawn, which
is the frame-by-frame placement a magnet must never take away. The button
says which way it is set, because a toggle that looks the same either way
says nothing.
✨ feat(export): the sound has a bitrate you pick, in every file that codes oneAhmet Kaan Gümüş · 2169fb8
✨ feat(export): the sound has a bitrate you pick, in every file that codes one

The rate was 256 kbps in two places nobody could reach: the AAC a video
export re-encodes and the MP3 the audio row writes. Both now take
`ExportSettings::audio_kbps` -- 128, 192, 256 or 320 -- and `None` is
still 256, so an export nobody touched writes the bytes it always did.

The card grows a Sound row on `b`, cycling like the container row. It
dims with the reason where there is no rate to pick: no sound on the
timeline, a lossless format (WAV, FLAC code samples and not a rate), or
an AAC track that is copied packet for packet and carries its source's.
The MP3 quality refusal stopped claiming a fixed 256 kbps, since the
Sound row can now change it under the summary.

Probed rather than promised: an mp3's frame headers declare 128/256/320
as asked, and an mp4's AAC track measures within a fifth of the request.
✨ feat(export): the card says what file it is about to writeAhmet Kaan Gümüş · 3fbef63
✨ feat(export): the card says what file it is about to write

One row per codec instead of one per codec-and-box, the container asked
once and only where there is more than one, the quality rows dimmed with
their reason where a format has no bitrate to give, and two lines above
the button that state the file itself: codec, box, size, rate, sound,
name and about how big. Every row carries the key that picks it, and
every row is clickable -- the typed bitrate has steppers now, which was
the last control in the card a pointer could not reach.

Two shapes of it behind `g` and `r` (sections or one flat list; the
formats with no encoder as rows or as one footer line), so the choice
between them can be made by looking rather than by argument. Grouped and
collapsed is what opens.

Export itself is untouched: the same settings, the same start, the same
cancel, the same retarget.
✨ feat(mix): every track has its own volume and the mix has a ceilingAhmet Kaan Gümüş · dc7d07d
✨ feat(mix): every track has its own volume and the mix has a ceiling

A fader per audio track and one master limiter over the sum of them, both
applied where the lanes are added and nowhere else -- so what an export
writes is what the room heard, by construction rather than by two call
sites agreeing.

A track's fader moves everything on it, every frequency: it is not the
equalizer (one take, one band) and not the panel's volume (this machine's
monitoring, which no file carries). The limiter is lookahead, soft-knee
and per sample: the peak of an exported file is a measurement, not a hope,
and the hard clamp stays behind it as the backstop.

Flat settings are still the bit-exact passthrough: one lane at unity with
the limiter off never opens a mixer thread, and an mp4 of such a timeline
is still a packet copy. A mixed one re-encodes, and the card says so
before the export starts.

Both belong to the project, so `.edith` is v9: `fps`, `limiter` and `gain`
lines, every older dialect still loading flat. The rate line pays an old
debt with it -- a timeline of nothing but stills and songs now comes back
at the rate it was cut at instead of the one its scaffold implied.

UI: the mix card (f, or an audio track's own header), rows with steppers
and hold-to-run arrows, and the track's level on its header.
✨ feat(export): HEVC leaves the way it came in — intra, in either boxAhmet Kaan Gümüş · 12f8cb7
✨ feat(export): HEVC leaves the way it came in — intra, in either box

The one codec edith could read and never write. OxideAV's pure-Rust H.265,
vendored from git master (its released 0.0.9 is pre-encoder) with one marked
patch: the intra SPS writer had no conformance window and refused any dimension
off the 16-sample CTB grid, so 1920x1080 could not be written at all. It is now
coded padded to 1088 with the edge replicated and cropped back by the SPS, which
is what ffprobe reads out of the bitstream.

Intra-only, and every row says so: the inter modes code 1080p at 0.81 fps across
twelve cores and the intra path does 4.30 on the same picture, so the export is
an intraframe master — ProRes-shaped, large files, every frame a cut point —
rather than a delivery file nobody would wait for. The AU is a stateless
function of one frame, so frames fan out across twelve lanes and are collected
back in display order.

Two rows, `h` and `x`, because a codec and a container are two choices: the
`hvcC` record built from the encoder's own VPS/SPS/PPS goes into a Matroska
`CodecPrivate` and into an mp4 `hvc1` sample entry unchanged, so the two files
are one stream written twice. Both re-open in edith through the plugin, sound
and all.
✨ feat(export): every video format carries sound, AV1 picks its box, MP3 is a rowAhmet Kaan Gümüş · 5ebd3ac
✨ feat(export): every video format carries sound, AV1 picks its box, MP3 is a row

Three asks, one seam — the export's audio path was a packet copy, and everything
it could not copy was a refusal.

- MkvMuxer gains an A_AAC track (CodecPrivate = AudioSpecificConfig, CodecDelay
  one packet) and interleaves it into the clusters: an AV1 export carries the
  timeline's sound instead of naming it as left out.
- Mp4Muxer::create_av1 writes AV1 into an mp4 — the `av01` + `av1C` sample entry
  `mp4 0.14` cannot spell is patched into the finished moov (layout cribbed from
  OxideAV's oxideav-mp4, MIT); Mp4Demuxer reads that entry back.
- Format::Mp3 through `rusty_mp3` at 256 kbps CBR, and Format::Av1Mp4 beside
  Format::Av1: the export card has a row and a key for each.
- copy_audio lifts every "cannot copy" refusal into a route to encode_audio —
  a second audio lane, a speeded clip, a Matroska source, an mp3 or a png
  timeline. A copy nothing forces stays a bit-exact copy.

Round trips per container, through this project's own readers: mkv + mp4 AV1
with a tone (mux unit tests), an AV1 export in either box (tests/av1.rs), a
still under a song as an mp4 with sound and an MP3 of the timeline
(tests/audio_export.rs), two lanes summed into an mp4 (tests/lanes.rs), a
speeded lane resampled into one (tests/speed.rs).

2026-08-10

✨ feat(timeline): the timeline zooms in on the frame you are looking atAhmet Kaan Gümüş · 6dd5951
✨ feat(timeline): the timeline zooms in on the frame you are looking at

One mapping, View, turns a moment into a place on the bed and back: the ruler,
every clip box, the silence marks, the playhead, a click-seek and an edge drag
all read it, so nothing can drift away from the rest when the view moves.

At the fit it is the arithmetic the panel already did (start_frac is gone into
it), so an unzoomed timeline is drawn exactly as it was. Zoomed, the anchor --
the playhead for a key, the pointer for ctrl+wheel -- stays where it is on
screen, out stops at the whole timeline, in stops at eight frames across the
bed, and a playhead that runs off the slice pulls the view after it, which is
how a zoomed timeline scrolls while it plays.

The keys are the chords every editor magnifies with (ctrl+= / ctrl+- / ctrl+0,
the bare pair being the volume), the two steppers repeat while held, and the
three buttons beside the resolution are the pointer's way to all of it.
Merge branch 'main' into worktree-agent-a46e3271de2d17ff3Ahmet Kaan Gümüş · 700a973
Merge branch 'main' into worktree-agent-a46e3271de2d17ff3

# Conflicts:
#	crates/app/src/keymap.rs
#	crates/app/src/main.rs
🔀 merge(T9): track removalAhmet Kaan Gümüş · b631892Browse files
✨ feat(timeline): silences are cut out or played fast in one pressAhmet Kaan Gümüş · d4ac3fc
✨ feat(timeline): silences are cut out or played fast in one press

A scan of the selected clip's own sound (RMS dBFS over 20 ms windows, off
the decode path the waveform already takes) marks every silence on the
lane before anything moves; `enter` cuts them all out with a ripple, `f`
plays them at 4x with the room they no longer need closed behind them.
Either way it is one edit and one undo press, however many it found.

Four numbers, all keyboard-driven from the card: the threshold, the quiet
short enough to forgive, the padding kept either side of speech, and the
kept sliver short enough to swallow -- the last of which is what stops a
breath between two silences surviving as one-frame confetti.

`set_speed` does not ripple, so speed mode closes the gaps itself; a clip
on another lane lapping over a silence is refused by name, because the
lanes would shrink by different amounts. A source with no audio track at
all is refused by name too rather than read as one long silence.

Output is ordinary clips: `.edith` stays v8.