forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-08-19

✨ 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 project's sound rate gets a picker beside its two siblingsAhmet Kaan Gümüş · 2c88d10
✨ feat(app): the project's sound rate gets a picker beside its two siblings

Resolution and rate have long had a card row and a stroke; the mix's own
sample rate (engine already honours it end to end) had neither. Wires
PlaybackSession::sample_rate/set_sample_rate through a third
pending_settings slot, a SampleRate pick/choice, and a project-panel row
next to Size and Rate -- reachable before any file is open the same way
the other two are.
✨ feat(app): resolution and rate are choosable before any file opensAhmet Kaan Gümüş · dc9a2c2
✨ feat(app): resolution and rate are choosable before any file opens

A pick made on an empty player waits in pending_settings and lands on
the next session the moment it is built, the same way a saved project's
own numbers do. The inspector rows and the Resolution keystroke work
with nothing open; a .edith's saved settings still win over a stale
pre-import pick. Engine test proves a later import never touches an
explicit resolution or rate.
🐛 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.
♻️ refactor(app): the export card opens on a preset, not fifteen rowsAhmet Kaan Gümüş · 0d1aa32
♻️ refactor(app): the export card opens on a preset, not fifteen rows

The card used to open flat: destination, seven format rows, container,
five quality rows, sound, encoder, subtitles, two display switches and
two machine notes, all on screen at once. Restructured around the
decision flow instead -- a primary pane (destination, four named
format+quality bundles plus Custom, the Export button) with everything
else -- codec, container, quality, sound, encoder, subtitles, the
layout switches, this machine -- behind one "Advanced" row, closed by
default and driven by its own key (s) exactly as every other row is.
No row was deleted, only relocated; every existing key and click still
does what it did.

2026-08-15

✨ 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.

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): 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

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.
🔧 chore(app): the window's file lets sixteen neighbourhoods keep their ownAhmet Kaan Gümüş · 963252a
🔧 chore(app): the window's file lets sixteen neighbourhoods keep their own

main.rs was 10,529 lines with every constant, every helper and the
window itself in one place. The geometry, the transport, the import
state, the menus, the export card, the oracle, the library rows, the
subtitles, the equalizer, the colour card, the viewport and the
timeline's arithmetic each move out to the module they belong to; the
Player and its two impls stay, which is what the file is for.

Pure motion: every line is the line it was, with pub(crate) added only
where a module boundary now stands between it and its caller.
Player::enable still delegates to the one oracle.