forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on c707e9d1d1545ac0b32bf89465ce06eb040b42e4

2026-08-15

✨ feat(timeline): a scrollbar under the lanesAhmet Kaan Gümüş · c707e9d
✨ feat(timeline): a scrollbar under the lanes

The time axis was the one dimension the panel scrolled with no bar to
scroll it by -- only the wheel and the keys reached it. A strip under
the lanes now carries a thumb that is the visible share of the drawn
duration at its own place on the track: read off the very Scale every
box is drawn through, so a wheel notch, a zoom about the pointer and
the follow of the playhead all move it, because they all move the one
state.

Drag the thumb and the view follows live (the pointer leaves the 6 px
strip at once, so the gesture is followed on the root like a scrub);
press beside it and the view jumps to the press and carries on from
there; the wheel still works over it. The strip is its own mouse
region -- a press there never reaches a lane -- and with nothing to
scroll the thumb fills the track and dims.
🐛 fix(timeline): an arriving clip never touches the captionsAhmet Kaan Gümüş · a3dc07c
🐛 fix(timeline): an arriving clip never touches the captions

The rippling paste -- the door a video arriving on the timeline goes
through, and the clipboard's own -- opened room on the subtitle lanes
too, splitting a caption the landing fell inside and sliding the rest
behind the new clips. On a timeline of words alone, adding a video cut
the caption in half and pushed its tail to the video's end, which no
hand asked for.

A paste inserts media; the words keep their own clock. A caption that
should travel with a clip is what a group is for, and a group moves as
one. The razor still cuts captions with the picture, and a cut region
still removes the words over it -- those are cuts, and this was an
add.
🐛 fix(timeline): a caption's unity gate is measured in framesAhmet Kaan Gümüş · 71b7468
🐛 fix(timeline): a caption's unity gate is measured in frames

The badge's unity gate was two permille, but placement rounding is an
absolute error: frames_of_us leaves a short track up to half a frame
off real time, which is sixteen permille of a one-second window — most
palette drops under two and a half seconds badged, one of them a
self-contradicting 1.00x.

Unity is now 'the window lands within a frame and a half of the span',
in the timeline's own frames; the permille survives only as the rate
the badge shows.
✨ feat(timeline): captions keep their own clock through a re-rateAhmet Kaan Gümüş · f8f5c46
✨ feat(timeline): captions keep their own clock through a re-rate

A placement's cues crossed the timeline one window-microsecond to one
timeline-microsecond, which is only the truth at unity: a group's
re-rate compresses the frames and leaves the window alone, so the plate
and the lane export drew the words falling behind their box, cue by
cue, and the tail past the end. The map now goes by the placement's own
proportion -- at unity every cue lands exactly where it always did, to
the microsecond, and at 2x the words cross in half the time.

A caption's box wears the rate its window plays at, derived off the
placement itself (so the badge survives the group coming apart), gated
past placement rounding; and the grade and the fit resolve a caption in
hand to the picture it was pinned to, saying so out loud when there is
none -- the speed, silence and equalizer cards' own rule.
🐛 fix(timeline): a region's caption pieces re-time by boundaries, forced apartAhmet Kaan Gümüş · 3a0448f
🐛 fix(timeline): a region's caption pieces re-time by boundaries, forced apart

Rounding each in-region caption piece's start and length independently
could land two pieces on the same frame (two one-frame cues of a
thirty-frame region at 2x both want frame 15) and let the region's last
cue run past where its first follower lands -- a debug-assert panic,
and in release a silent overlap the lane invariant forbids.

The pieces now re-time by their mapped boundaries walked in order: each
piece at least one frame, none past the region's own new end, and the
first caption behind the region lands exactly on it. A rounding
artifact is clamped rather than refused -- nothing about the words
asked for an overlap.
✨ feat(timeline): tempo ops carry the captions of a groupAhmet Kaan Gümüş · b801cf5
✨ feat(timeline): tempo ops carry the captions of a group

A group's caption now travels with everything that re-times it. A rate
set on any member re-times the caption members by the ratio the held
clip's own frames take -- the span on the timeline compresses about the
held clip's head while the words keep their own window -- and a stretch
that would run a caption into its neighbour is refused in the clip
arm's words. The silence scan's speed-up shrinks the caption pieces
inside its regions and slides the rest up with the clips; its Take
scope carries the caption's lane so the cut does too; and the scope law
names a caption half left outside a scoped cut, in the words it always
used for a clip's.

The cards stop dead-ending on a caption in hand: speed and silence
resolve a caption anchor to the media half of its group (the picture
and the sound respectively) and say so out loud -- with the how-to --
when there is no media behind the words; the equalizer takes the
group's sound the same way. Colour and Fit are untouched: a caption
anchor retargets to the playhead's picture exactly as an audio anchor
always has.
🐛 fix(timeline): caption flag resets match the engine's reseek exactlyAhmet Kaan Gümüş · cda6d0e
🐛 fix(timeline): caption flag resets match the engine's reseek exactly

The app gated its grouped-caption drag and trim flag resets on the
caption carrying any link at all, while the engine reseeks only when
the group holds clips: a caption grouped only with another caption
(ctrl-click two captions, Group) latched the seek wait with no frame
ever delivered -- an unbounded repaint loop while paused.

PlaybackSession::caption_grouped_with_clips is now the one public
answer, asked before the edit moves indices, and both reset gates read
it: drag from the press's lane and live index, trim from the trim's
own lane and index. The two sides can no longer disagree.
🐛 fix(timeline): grouped caption edits reseek, and the link counter clears caption idsAhmet Kaan Gümüş · 25855e8
🐛 fix(timeline): grouped caption edits reseek, and the link counter clears caption ids

A grouped caption's drag and trim move the group's clips with it -- a
timeline->source change -- so PlaybackSession::move_sub and trim_sub
now invalidate Dirty::Both when the caption is grouped with clips (the
check delete_sub already made, now shared as caption_grouped_with_clips),
and the app pays the reset_after_reseek a clip's drag and trim pay on
the same paths.

The link counter a load seeds now sits past every id the file names:
from_parts chains the subs a lane already holds, and with_subs -- the
door a load's placements actually come through, after from_parts --
raises the counter past the ids its captions carry. A hand-grouped
caption holding the file's highest id could have had it re-issued to
the next group that asked, silently grouping it with clips it never
met.

A palette drop onto a subtitle lane renumbers that lane alone; the
picks it held now follow the discipline of every other renumbering
edit -- kept off the lane, re-read for the marked caption, other lanes'
picks untouched. Also folds in the v16 caption-group round-trip test
that had been left out of the previous commit.
✨ 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.
✨ feat(engine): offset-preserving groups over clips and captionsAhmet Kaan Gümüş · 48cacb6
✨ feat(engine): offset-preserving groups over clips and captions

The engine half of manual clip grouping: SubClip gains a link id, the
group invariant becomes one-placement-per-lane (span equality dropped),
group_all builds a hand group over clips and captions with mates riding
along, splits keep the left group and share one fresh id on the right
(captions included), deletes ripple each media member's own span on its
own lane and lift caption members, grouped caption drags and group
trims move every member by one delta clamped to each member's own
walls, and the save format grows an optional 6th sub field as v16.

App half (Selection refactor, ctrl+click, ctrl+A, oracle/menu, marks)
follows.
✨ feat(timeline): a caption is taken off the lane by the same stroke and row a clip isAhmet Kaan Gümüş · 888f39d
✨ feat(timeline): a caption is taken off the lane by the same stroke and row a clip is

A placed caption could only be lifted by a ✕ that vanished on narrow
boxes. Captions are now marked by a click, lifted by x/delete and the
menu, and dragged — parity with every other thing on a lane.

The mark is keyed by a caption's start frame, so a refused drop, a
sorted insert or a removal cannot shift it onto the caption beside it.
With a caption marked the playhead actions stay live while its menu
carries only its own rows: the playhead's clip actions — split, rate,
grade, fit — would read as the caption's.
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a timeAhmet Kaan Gümüş · 3da7bd9
✨ feat(library): a stand-in switch on every row — on, off, and one encoder at a time

The ✕ that stopped a stand-in being made read as taking the file out of
the library. What a row shows now is a switch: a hollow dot when the film
plays itself, a filled one when a stand-in plays, a stop square while one
is being made, with how far it has got drawn under it.

A click in the asked window stops rather than starts a second encoder;
the engine takes a claim on the .part before the header is read so no
two encoders ever write one path. A delete that could not happen says so
and the row stays on over the proxy that is still what plays. The off
choice is written beside the cache entry and outlives the session, and
the detail line keeps its width past the switch.

2026-08-14

🐛 fix(ui): the lane header cut in half at the timeline's floorAhmet Kaan Gümüş · 99354cc
🐛 fix(ui): the lane header cut in half at the timeline's floor

The floor a timeline may be dragged to was one lane under the chrome,
which left nothing for the line saying the rest of the tracks are below
-- and that line is always drawn there once a project has a second
track, out of the lane's own pixels. The header came out 27 px of its
48: the track's name, its subtitle dot and its × all cut in half.

The affordance's line and gap are part of the floor now, so the lane it
promises is a whole one. A size dragged with one track is raised to the
new floor as it is read when a second arrives, not drawn under it.
🧹 chore(app): items nothing calls are gone or sit with the testsAhmet Kaan Gümüş · 0ec584d
🧹 chore(app): items nothing calls are gone or sit with the tests

`cargo build` was warning about five items in the app and two in the
vendored `rusty_h264-common`. Each is sited where its callers actually
are rather than silenced:

- `PANEL_H`, `panel_h`, `Volume::label` and `PaletteId::palette` are
  asked for only by the guards, so they are `#[cfg(test)]` now.
- `STROKE_FOCUS` is deleted: the keyboard ring it was drawn for was
  never painted, in any palette, since the token landed -- nothing in
  the editor takes gpui focus. The twelve values are in the history for
  whoever wires a focus ring.
- vendored `bs_tile` is called only by that crate's own tile guards, and
  `qpel_compose` only from `#[cfg(accel)]` blocks; both carry their call
  sites' cfg now, marked as edith patches like the manifest's.

No behaviour change. `cargo test -p edith`: 142 passed.
✨ feat(subs): one subtitle track is shown and every placed one is exportedAhmet Kaan Gümüş · 1139174
✨ feat(subs): one subtitle track is shown and every placed one is exported

The picture drew every subtitle lane at once, so three lanes of different
words were three plates over one film and two hundred were nonsense. One
lane draws now -- the one whose header dot is lit -- and clicking another
lane's header moves the picture to it. The pick is resolved against the
lanes there are at the moment it is read (`subs::active_lane`), so one lane
needs no picking, the first lane added draws, and removing the shown lane
promotes the first one left instead of blanking the picture.

The overlay asks the shown lane for its cues and no other, so a frame costs
what one lane costs whatever the stack is.

What travels in a file is untouched by that pick: every subtitle lane on the
timeline is its own track in the output. What did travel wrongly is a track
sitting in the *palette* on no lane at all -- with every subtitle lane
emptied, the engine's palette fallback wrote all of them into the file.
`Player::export_subs` now answers with the tracks a lane places, which is
the same sentence the card says.
✨ feat(ui): panels resize by dragging their dividersAhmet Kaan Gümüş · a39a88f
✨ feat(ui): panels resize by dragging their dividers

The library, the inspector and the timeline were laid out at a fixed share
of the window; the three seams between them are handles now. A press on a
strip is tracked from the root like every other drag here (a 6 px strip is
not where the pointer stays), the size lands in the model and every region
reads it back through one door -- so a dragged width survives the release
and cannot disagree with what is drawn.

Each panel stops at its own floor and at a third of the window (most of it,
for the timeline), so neither a panel nor its neighbour can be dragged away
and lost. The bed's pixel-to-time answer is measured off the ruler's own
prepaint box, so a click still names the frame it points at at every size.
🐛 fix(ui): a stand-in being made can be stoppedAhmet Kaan Gümüş · e534575
🐛 fix(ui): a stand-in being made can be stopped

A proxy is a whole film through a decoder and an encoder, started
without being asked for, and until now there was nothing that could stop
one: the row said "proxy 12%" for as long as it took, on a machine
somebody was trying to cut on.

So the row that shows the encode running carries the way out of it: a ×
beside the percentage, the subtitle row's button and the subtitle row's
rule -- it stops the click there, since the row under it picks a file
and stopping an encode is not a way of choosing one.

The engine already had the stop (`proxy::Job::cancel`, the export's own
checkpoints), so nothing new was invented for it. What is new is the two
states between the click and the end: `Cancelling` holds the job while
the worker winds down -- it gives up at its next frame and deletes its
own half-written file -- and `Cancelled` is where it settles, kept in
the map so no repaint starts the encode that was just stopped all over
again.

The worker's own answer is what settles it, which is what makes the
three claims checkable rather than hopeful: nothing is left under the
name a finished stand-in would have (the cache is looked up by existence
alone, so a file left there is a cut made on a truncated picture), the
`.part` goes with it, and an encode that *beat* the stop settles as the
ready stand-in it is rather than being deleted underneath the switch
that is playing it. Asking twice is asking once.

The new test in tests/export.rs is those four in one pass, on the
software seat: stop it mid-encode, wait for the worker, then look at the
directory.
🐛 fix(ui): the stand-in switches are answerable before the first filmAhmet Kaan Gümüş · 2995059
🐛 fix(ui): the stand-in switches are answerable before the first film

Both proxy switches were dead with nothing open: the availability oracle
refuses everything below "no timeline open", and the state they toggled
lived in the session, so a window with no session had nowhere to keep an
answer and the buttons read a bare "Proxies" with no state at all.

That is backwards for what these two are. They are import options -- one
decides whether an arriving film gets a stand-in made for it, the other
what its picture is then decoded from -- so the moment a person can act
on them is *before* the import, and a switch that waited for a film was
a switch that came too late to stop the encode it was about.

So the pair joins the four the oracle already answers with nothing open
(the snap and the monitoring level), and the window keeps them the way
it keeps its volume: its own, pushed at every session it opens
(`apply_proxies`), and taken back from a project as it loads, since a
`.edith` carries its own two and they are what it was saved with.

The buttons now say on or off with an empty window, an import made while
Auto proxies is off starts no encode, and the keyboard and the pointer
go on answering the same question -- which is the rule that put the four
in the oracle in the first place.

Two dead imports in the same two files go with it: the build printed
them and they are one line each.
🧹 chore(app): the dead imports and the arguments nothing readsAhmet Kaan Gümüş · 07ee3c7
🧹 chore(app): the dead imports and the arguments nothing reads

A build printed thirteen warnings and every one of them was something the
code had stopped using: four imports nobody names any more, a picture
duration the timeline is handed and never reads, and the export flag a
rewrite of the hint line left behind.

Removed rather than hushed. An unused argument is a caller handing over
something the callee has no use for, and the two bindings that were
computed and dropped read state on every frame to throw it away.

What is left of the thirteen is five dead-code warnings whose only
callers are tests -- a panel-height ladder, a volume label, the theme's
focus stroke, the palette lookup beside it -- and taking those out means
taking their tests out, which is a decision about that code and not a
warning to be tidied on the way past.
🐛 fix(engine): a bar that has been filled is not taken back when the GPU diesAhmet Kaan Gümüş · 197d1e2
🐛 fix(engine): a bar that has been filled is not taken back when the GPU dies

The hardware encoder's process dying puts the whole export through the
software encoder again, and the bar was put back to zero to do it: a
person watching 93% of a film written suddenly saw 5%, at the one moment
they most needed to believe the editor was still working. The mark holds
instead, and the re-run moves it on once it passes it -- which needed the
copied-picture path to publish with `fetch_max` like everything else.

With it, the rest of that same seam:

* the audio pass is joined however `run` leaves, not detached. The mp4
  path runs the sound beside the picture, and a picture that failed left
  that thread running: the re-run then started a second pass, so a
  machine that had just lost its GPU mixed the same film's sound twice
  at once.
* a dead child is a *type* (`hwproc::Lost`) and not a phrase. `is_lost`
  commits an export to being written again from the first frame, and a
  substring match handed that decision to any future error whose wording
  happened to mention the child.
* a wedged child is waited out by its own measure. The 15 s ceiling is
  what an encoder opening on a 4K frame may need, and it is also fifteen
  seconds an export spends on a child that will never answer again,
  before the software encoder it is owed can begin. Once a child has
  answered its first frames it has said what its frames cost, and eight
  times the slowest of them (never under two seconds) contains a wedge
  in two or three rather than fifteen -- while a slow open still gets
  the whole ceiling and is never killed for being slow. The editor is
  live throughout either way: the wait is on the export's own thread.
* the countdown cannot be handed a rate below zero or a division by
  nothing: a bar that went backwards read as "~0:00 left" over six
  minutes of encoding, and the estimate is a guess, never a lie.
🐛 fix(engine): the seat a test cycles is one no other test is sitting inAhmet Kaan Gümüş · 88ce23e
🐛 fix(engine): the seat a test cycles is one no other test is sitting in

The stand-in encoder seat was armed by a process-wide variable and read by
`hw_seat`, so a software test that had already opened its own export picked
it up mid-flight, met the hang injection, and stalled: `cargo test -p engine
--test export` was green or five-failed depending on the interleaving. The
progress reset the fallback does made it worse -- one cancel test hot-spins
on progress reaching 1.0 and a regression there never ends.

The seat is process state, so it is borrowed rather than assumed: the whole
software suite shares a read guard, exactly as parallel as it always was, and
the encoder-death family takes it exclusively, lifting the software encode
pin only for its own exports and putting it back before it lets go. Which
lets `hw_seat` go back to being production policy with no test flag in it.

Also: a child that does not answer `vh_enc_dma_geometry` is now reaped there
instead of costing the next picture a second whole timeout; the plugin's own
note no longer claims the editor never loads the encode half, when what it
never does is *call* it -- the availability check is a dlopen and opens no
VA-API display; and the guard that refuses to write an export again in
software when a person picked the GPU by name now has the test it was
shipped without.
🐛 fix(engine): the export stops with the last picture, caption or no captionAhmet Kaan Gümüş · 64e09f9
🐛 fix(engine): the export stops with the last picture, caption or no caption

A caption hanging past the media held the timeline open and the picture loop
walked it: 312 encoded frames under a 240-frame delivery, 72 of them black,
the copied sound padded to match, and the plan card saying cues were "cut off
there" of a file three seconds longer than it said.

`export_spans` is now the one place that end is decided -- the composite walk
cut to `media_frames` -- and both the encoding loop and the copy plan take it;
`copy_audio` drops the trailing gap the same walk leaves on its play list.
Playback still walks `timeline_frames`, so the transport parks on the tail.
✨ 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.
🧹 chore(app): the subtitles toggle says what is placed, not what is pickedAhmet Kaan Gümüş · d6c0e92
🧹 chore(app): the subtitles toggle says what is placed, not what is picked

Under lanes the picture reads the subtitle lanes, so the toggle's notice
naming the palette row named a track the stroke never touches: it now counts
the captions actually placed, and so does the toolbar's own label ('No subs'
for a palette full of tracks nobody dragged anywhere).

- actions.rs: toggle_subtitles words itself off placed captions; subtitle_track
  (the last pick-shows-it reader) gone, placed_captions in its place.
- toolbar.rs: the subs control reads placed captions.
- subs.rs/export.rs: docs that still said a pick draws.
✨ feat(engine): the driver that aborts kills a process nobody was editing inAhmet Kaan Gümüş · c0a1847
✨ feat(engine): the driver that aborts kills a process nobody was editing in

Mesa's radeonsi calls libc abort() from its own C worker thread when the
video ring resets under it -- amdgpu_ctx_set_sw_reset_status, mesa 26.1.6,
vcn_unified_0 hung during an AV1 encode submission on 2026-08-13. A foreign
thread's abort is not an unwind, so every catch_unwind in the plugin was
structurally unable to see it: the editor died with the driver and took the
session's work with it.

So the encoder is not in the editor's address space any more. HwEncoder is a
handle on a `hw-encode-child` process that dlopens the plugin, and its death
-- by abort, by any signal, or by going quiet past VE_HW_TIMEOUT_MS -- comes
back as an error the export answers by writing the file again in software.
A person who picked the GPU by name still gets the refusal in words rather
than an encoder nobody chose.

Isolation that cost the speed would not be worth having, so pictures do not
travel down a pipe: in-memory ones go through a memfd mapped in both
processes, and pictures still on the GPU never move at all -- their
DRM-PRIME descriptors cross as file descriptors over SCM_RIGHTS, so the
zero-copy export path stays zero-copy across the boundary. Measured on this
box at 1080p: 430 fps in-process, 384 isolated, 89% of it, worst case
(every export of an untouched clip takes the descriptor path instead).

The proof does not need a wedged ring, which is the one thing a wedged
machine cannot supply: VE_HW_TEST_FAKE opens a stand-in seat in the child and
VE_HW_TEST_ABORT / VE_HW_TEST_HANG say where it dies or stops, so the
containment paths are exercised on any machine, GPU or no GPU.

Decode is still in the editor's process, where the same abort would still be
fatal; the seam to move it is now the one this built.
✨ feat(app): the picture shows what is placed, and every open eyeAhmet Kaan Gümüş · afea3b2
✨ feat(app): the picture shows what is placed, and every open eye

The overlay stops reading the picked palette row and reads the subtitle
lanes: the union of every enabled lane's cues at the playhead
(`PlaybackSession::sub_lane_cues` minus `Player::subs_off`), one plate per
cue, lane order bottom-up so S1 keeps the line it has when it is the only
one. Nothing shows until it is placed -- the model every other medium here
already follows, and the end of the auto-show a walked file used to get.

The palette row's click loses its show semantics and keeps the selection
the × acts on; the heading names no track any more, and the tooltip and the
import tail say where a track landed and what the next move is.

`Player::sub_image` is keyed by (lane, start_us): two lanes are two
placements at one microsecond, and a shut eye must not leave the picture
before it on screen.

A picture cue draws from the lowest enabled lane alone (one cache slot,
one canvas over the whole region) and the plate stack still steps over the
transient bars.
✨ 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 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.
✨ feat(engine): the words a timeline places are the tracks its file carriesAhmet Kaan Gümüş · 0f135a8
✨ feat(engine): the words a timeline places are the tracks its file carries

An export of a project with subtitle placements writes one track per subtitle
lane, in lane order, from the lane's own cues (`Project::sub_lane_cues`) --
language and title from the palette row its first placement plays. The pick
list stays in charge of a project with nothing placed anywhere, which is every
project the app can make today; the card's line goes lane by lane the same way.

A caption hanging past the last picture holds the timeline open but has nothing
under it to write, so an export now ends with the last picture or sound
(`Project::media_frames`): a cue straddling the end keeps the half inside, a
lane wholly past it writes no track, and the plan line says so before the button
is pressed -- and the sound is no longer padded with silence out to the caption.

A lane of pictures is refused in words and written nowhere: both muxers write
text and neither has a bitmap path. Past `MAX_SUB_TRACKS` lanes the card refuses
by name, and the muxer refuses again.
✨ feat(engine): the words a project places are in the file it savesAhmet Kaan Gümüş · df4020f
✨ feat(engine): the words a project places are in the file it saves

The `.edith` grows a `sub` line -- `sub <lane> <start> <frames> <track>
<in> <out>` -- and a bare `sub <lane>` for a subtitle lane holding
nothing, written in the lane's own place among the video and audio ones
so the display order a load rebuilds is the one that was saved. Both of
a caption's clocks are on the line: the placement in timeline frames
like everything else, the window in the microseconds its cues are timed
in. MAGIC is `edith 15`.

`Project::without_orphan_sources` stops filtering the subtitle lanes out
of its `Parts` and `Project::lane_gains` stops filtering them out of its
gains -- the two are zipped by `edith::emit`, so they were only ever
allowed to filter in step, and now neither does. What is *on* those
lanes travels beside them in the new `Project::lane_subs`, one list per
lane exactly as the gains are, and comes back through
`Project::with_subs`, which is `from_parts` for words: it refuses a
caption on a lane that is not a subtitle lane, an empty span or window,
a track the palette does not have, a span past the last frame there is,
and a lane that overlaps itself. The parser refuses the same file by
line number.

A v14 project is one that named subtitle files and could place none of
them: it loads with its palette whole and no subtitle lane at all, which
is what it always meant, and re-saves as v15 having invented neither.

Also fixes a version-bump straggler in tests/silence.rs, which asserted
`edith 13` against a `edith 14` writer and was red before this change.
🐛 fix(engine): a palette row that goes takes the placements' indexes with itAhmet Kaan Gümüş · 03073e6
🐛 fix(engine): a palette row that goes takes the placements' indexes with it

A `SubClip` names its subtitle track by index into the project's
palette, exactly as a `Clip` names its source -- so `remove_subtitles`
owed `remove_source`'s rule and did not have it: a row removed above a
placement left every clip past it playing the *next* track's words. The
probe that found it: three rows, the middle one placed, remove the first
-- the caption on the lane silently became another language.

Now it follows that rule whole. Refused, naming the lane and the frame
up to three of them, while anything on a subtitle lane plays *this* row;
allowed otherwise, walking every placement past it down one; and the
undo history is cleared, because its snapshots hold the indexes as they
were before the walk. The refusal reaches a person already -- the x on a
subtitle row shows the engine's words verbatim.

Five smaller things the same read turned up, each its own hunk:

- a drag that changes nothing is `Ok` and no step, not a refusal: a
  caption picked up and put back, and an edge pulled past a wall it
  already stands against, are both a hand that did nothing wrong, and a
  front-end shows every `Err` as a notice.
- `remove_lane` names the captions it still holds and the way out --
  three names, a count, "or drag them to another track" -- instead of
  "1 subtitle(s), the first at frame 0".
- its "only track" sentence gets its own arm for a subtitle lane, so the
  word stays true if the guard that makes it unreachable is relaxed.
- `place_sub` says in words that `at` is where it lands and `sub.start`
  is ignored, which is `place`'s own contract for a clip.
- `track_name` is the one place a refusal turns an index into the name a
  panel shows.
✨ feat(engine): the session hands the subtitle lane the rate a project does not knowAhmet Kaan Gümüş · 6a02fb1
✨ feat(engine): the session hands the subtitle lane the rate a project does not know

A placement's position is in timeline frames while its words are in
microseconds, and the frame rate that joins the two is the one thing a
`Project` never holds. So the trim and the mapping-out are asked through
`PlaybackSession`, which has the rate, and a front-end never converts a
cue's microseconds itself.

Grafted from the losing best-of-2 branch, whose wrapper layer this is,
and reshaped onto the lane handles the winner speaks: `add_lane`,
`remove_lane` and `move_lane` already carry a subtitle lane, so the
wrappers are the six calls that are new -- the placements, the two
drags, the room a drag has, the lift, and the cues a repaint draws.

Nothing here reseeks or invalidates: cues are drawn over whatever
picture is on screen, so no decoded frame stops being right.
✨ 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(engine): subtitles become a third lane kind, placed like everything elseAhmet Kaan Gümüş · ec66e07
✨ feat(engine): subtitles become a third lane kind, placed like everything else

`LaneKind::Subtitle` joins the lane list, holding `SubClip`s -- a
`[in_us, out_us)` window of one of the project's subtitle tracks (the flat
`subtitles` list stays the palette) placed at a timeline frame. A caption is
therefore added, ordered, labelled `S1`, snapshotted, rippled, razored and
undone by the machinery every clip already goes through: an undo step is the
lane list, so subtitles joined the history without one of their own.

It carries no `Clip` at all, and that is what keeps the media paths free of it:
`Project::lane` hands back an empty slice, so trim/set_eq/set_color/set_fit/
set_speed/lift/delete_in refuse it by the bounds check they already had, the
composite and the mix never look at it, and the three doors that could still put
a picture on one -- `from_parts`, `place`, `append_clip` -- say so by name.

Ops: `place_sub` (refuses an overlap rather than overwriting -- words that lost
are simply gone), `move_sub`, `trim_sub`/`trim_sub_room` (clamped like a media
trim; the window follows the edge), `lift_sub`, and `sub_lane_cues`, which maps
a lane to cues clipped to each window and shifted onto the timeline -- the twin
of `export::timeline_cues` for a track that is placed rather than carried.

Ripple, paste-room, split and regroup cut the windows by *proportion*, so none
of that arithmetic needs a frame rate; only a trim and the mapping take one.

Not here, on purpose: persistence (`Parts` has no line for a `SubClip`, so a
save leaves the lanes out -- named at the filter) and any UI.
✨ 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.
🐛 fix(app): the cue steps over the bar hanging off the pictureAhmet Kaan Gümüş · 0c26d06
🐛 fix(app): the cue steps over the bar hanging off the picture

A notice, the import line and the seek line hang off the bottom edge of
the picture region, and the cue plate sat at a fixed 8 px off that same
edge -- so every message was drawn across the line being read, and cost
the reader both of them.

The plate now sits above whatever those bars measured (`height_probe`
-> `sub_bottom`) and comes straight back down the frame they leave: the
no-notice position is unchanged to the pixel, which is the position
people are used to. A picture cue (PGS) is slid up by the same
measurement with cancelling top/bottom insets, so the disc's canvas
keeps the height -- and so the fit -- it had with nothing hanging
there, rather than being refitted into a shorter box.

Measured and not counted: a notice wraps to as many lines as the window
is narrow (31 px on one line, 43 on two), and any constant here would
be right at exactly one width. The probe asks for one more frame when
that height changes, because the window a notice arrives on may be
paused and never draw again by itself.
🐛 fix(engine): the seat line finishes the sentence about the soundAhmet Kaan Gümüş · aa6d699
🐛 fix(engine): the seat line finishes the sentence about the sound

An mp4 mixes its sound on a thread beside the picture, so the encoders
line is published half-written -- "HW encode (VA-API) · working out the
sound…" -- and completed once the pass is collected. The frame loop does
that where the sound lands under the picture; where the *picture*
finishes first the pass is collected under the muxer instead, and that
path never published again: a card left saying it was still working out
a track it had already written.

The tests read the line the same way now. They took the first one
published, which since hardware encode got fast enough to beat the mix
was the half-line, and `a_mixed_timeline_says_it_re_encodes_and_then_does`
and `the_planned_encoders_are_the_ones_the_job_opens` failed on it every
run; `published_encoders` waits for the line a card settles on instead,
and the mixed timeline runs to the end to read that settled line twice.