Commits
2026-10-23
🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com The working tree as of 2026-10-23, as one commit on top of the last one here. It carries the work up to that date plus the test-slimming work: integration tests merged into one binary per crate, nextest config, doctest = false, debug line tables only, perf tests behind --ignored, and faster generators, reverse, undo, subtitle-export, hevc, stabilise and hear tests.
2026-09-24
🐛 fix(player): a failed waveform decode is asked againAhmet Kaan Gümüş · 43e146d
🐛 fix(player): a failed waveform decode is asked again Presence in the wave map means asked, so one transient failure -- a file imported while it was still being copied, a disk hiccup -- left a lane with no envelope for the rest of the session. The failure carries the moment it happened now and a repaint past a five second cooldown asks again, which is the engine's own rule that a failure is never memoized; a file with no audio stays an answer that is never re-asked.
2026-09-09
🔥 remove(app): cleanse the dock — one list, one filter, one door inAhmet Kaan Gümüş · 000f4a4Browse files
💄 style(app): a source row is its name first — the verbs shrink to ghostsAhmet Kaan Gümüş · 34299ab
💄 style(app): a source row is its name first — the verbs shrink to ghosts At DOCK_W 280 the name was the only flexible child among six and measured 0px: the library read `● V1 A1 · 2 uses Preview Add ↵ ○` with no filename. The name now keeps 60% of the row, usage joins the codec/length line under it, and Preview/Add/proxy are glyph+chord ghosts (~66px together) at the right edge. The instructional footer `drag · ↵ add · double-click plays` goes (DESIGN §8), the Audio tab's empty state is the noun `none` instead of the claim `No sound` over a source whose A1 is on the bench, and the dock's focus/selection rings are transparent-at-rest borders so a ring stops shoving every row 1px sideways.
2026-08-27
🎨 style(app): Text tab empty state speaks its siblings' dialect (No subtitles)Ahmet Kaan Gümüş · 8a81f1fBrowse files
🎨 redesign(app): subtitles live in the Text tab, not a stray dock sectionAhmet Kaan Gümüş · 7089dc7
🎨 redesign(app): subtitles live in the Text tab, not a stray dock section Moves the subtitle palette out of its unconditional spot under the source list and into the library's Text tab, styled like the other media rows (round dot, same ink/type scale, same hover fill and selection ring) instead of its own visual dialect. Text.holds() now answers the same extension-only question Media/Audio's own arms do instead of a hardcoded false, and the empty state is one word.
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforcedAhmet Kaan Gümüş · 067620b
✨ ui(app): instructional-copy sweep — DESIGN §8 rejected pattern enforced Empty states to single nouns, filter placeholder to one word, the "pick a verb above" plate removed; report strings keep state, lose instruction clauses. 250 app tests green, zero warnings.
2026-08-26
🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header readAhmet Kaan Gümüş · 4de1efe
🐛 fix(app): DEBT #91 — click-to-stop during Asked wakes the header read Proxy::Asked now carries the same Arc<AtomicBool> generate_if_wanted polls at the door and around the header read (crates/engine/src/proxy.rs, prior commit). start_proxy_for hands it that flag instead of a permanently-false one; toggle_proxy's Asked arm sets it on click-to-stop, so a stop during the header walk unwinds mid-read instead of only relabelling the row while the read finishes on its own.
🔥 remove(ui): the legacy tree — darkroom is the only roomAhmet Kaan Gümüş · 5dcc6c2
🔥 remove(ui): the legacy tree — darkroom is the only room Delete the whole legacy UI (timeline.rs, toolbar.rs, inspector.rs, legacy render body, OLD_GUI gate — the env read is gone, not a switch) and every helper only it reached: ~6,900 LOC out. Darkroom stance is the only room. Real gaps the removal flushed out, fixed here: - typed bitrate in the export card was completely dead — NumberEdit digits/backspace/enter/esc now wired in param_card_key - ActionId::CancelExport was a no-op while the progress card promised the chord — now calls cancel_export (ctrl+esc, oracle-enabled during export) - actions card had no pointer entry — "?" ghost is clickable, scrim click closes, inner list swallows - snap toggle got a button beside zoom-fit in the VIEW group Dead-by-construction machinery deleted with its tests: key rebinding (rebinding/rebind_action/capture never set live), keys_search (no search box exists), cancels_export/format_key/next_audio_kbps, 17 layout.rs consts/fns, and the rest of the 32 no-—tests dead-code warnings; both `cargo build -p edith` and `--tests` are warning-free, 245 tests green.
2026-08-21
2026-08-20
✨ feat(ui): the room becomes the one in the mockAhmet Kaan Gümüş · 622904e
✨ feat(ui): the room becomes the one in the mock Beside the mock, the shipped room was nowhere near it. The dock was the legacy library verbatim — pill tabs, a Media/Audio/Text row, a filled Import button, an amber accent no chrome may carry, and a source name clipped and dimmed past reading. It is now the dock the mock draws: a count line, a chrome-less filter, ghost sort chips, two-line rows whose names are mono and legible and ellipsize at the end, an import section, and the hint that names the four gestures. The spine groups its commands under heads and stacks each glyph over its chord. The time band leads with the timecode, carries the transport as ghosts, reads the cut out loud, and ends in the room's one bordered chip — which now actually exports: the stance had been suppressing the action and never mounted the card, so the control was wired to nothing. The bench grows real thumbnails and waveforms in the source's ink, with the name plate inside the clip where the mock puts it. The fonts the language always named are bundled at last: Archivo and Spline Sans Mono, cut to static weights because this text backend cannot read a variable axis and would have drawn every weight the same. The darkroom is the room you get now; OLD_GUI=1 opens the old one.
2026-08-19
⚡ perf(app): the silence scan starts at import, not at the cardAhmet Kaan Gümüş · 99d87d4
⚡ perf(app): the silence scan starts at import, not at the card Moves the whole-source RMS decode engine::silence::levels_with_progress was only ever asked for when the silence card opened (Player::start_silence_scan) into Player::cache_media, the same per-repaint "unseen sources" door the waveform, proxy and stream probes already run through. The scan is now landed under a whole-source sentinel key (full_scan_key, out_frame = u32::MAX) in the very silence_levels map the card reads, so scan_silences slices a clip's own [in, out) window out of it (slice_whole_levels) before ever falling back to the on-demand per-clip scan the card used to start unconditionally. silence_bg tracks scans in flight per (path, stream): its presence is the dedupe against a re-add of the same source, and remove_source / close_session cancel it via the same Progress::cancel flag start_silence_scan already used, so a source that leaves mid-decode does not write levels into a library that no longer holds it. Caveat: the background decode is still O(file length) -- ~1700x realtime per engine::silence::levels' own doc comment, so a several-hour file is still seconds of background work, just no longer on the card's critical path, and a card opened before that finishes still falls back to its own on-demand scan.
2026-08-14
🐛 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(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.
2026-08-13
🔀 merge(engine): the stand-in decides one path, and the intra file keeps its marksAhmet Kaan Gümüş · eff035e
🔀 merge(engine): the stand-in decides one path, and the intra file keeps its marks Lane P's proxy workflow meets a main that had taken S's persistent decode workers, E's pipelined export and E4's zero-copy encode. * `start_span` keeps S's reuse door and P's single substitution point at once: `picture_path(source)` is resolved *before* the door and handed to both halves of it. A worker holding the film is then asked for a span of the stand-in, declines on the path it already has (`Worker::reseek`), and `set_proxies`' seek becomes a respawn on the other file -- while a span that did not change files still costs no thread and no VA-API init. Asking the project for the path at the door, as main did, would have left every proxied span opening a worker from scratch. * `Enc::encode_dma` takes P's `intra` flag, which is not symmetry: a proxy of a file already small enough is coded at that file's own size (`proxy::size_for` -- `wanted` is true for HEVC and AV1 at any size), so an intraframe export's decoder and encoder can agree on a surface and the buffer goes straight across. Marked `false` there, an all-intra stand-in would have carried no sync point at all, which is the exact bug `gop_limit` was written against, reached by the other door. * The five other conflicts were both sides adding a field: `drop_late` and `proxies` next to each other, in the struct and in all three opens. * `enc_depth` is keyed by codec, so the intra seat takes H.264's two. Said in its doc rather than left to be re-derived: that seat is the same entrypoint with every inter dependency removed, so a picture there is finished no later than one on the seat the two was measured on. `nm -D libengine_hw.so` lists sixteen: P's `vh_enc_open_intra` beside E4's `vh_next_frame_dma`, `vh_enc_dma_geometry`, `vh_enc_frame_dma` and main's `vh_seek`. `picture_path` still has exactly one call site outside the tests, and it is in `playback` -- an export reads the film. The intra seat and the zero-copy path are read, not run: every test that would reach either is hardware-gated and the GPU is wedged.
✨ 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.
🐛 fix(import): Cancel stops the read, not only the landingAhmet Kaan Gümüş · 4d0dd2b
🐛 fix(import): Cancel stops the read, not only the landing The Cancel beside the import line gave the window back and let the disk carry on: a cancelled cold 24 GB remux still cost its twenty seconds, and the notice said so rather than doing anything about it. The flag now reaches the walk — `demux::with_cancel` installs it as the reading thread's own, and every Matroska cluster the header index and the subtitle pass step over checks it and gives up there, with `is_cancelled` telling an abandoned read from a file that would not open. Thread-scoped rather than a parameter, deliberately: a read *is* a thread here (an import worker, an audio feeder, a decode worker), and the walk that has to stop sits five frames under an `open` with a dozen callers, none of which have anything to cancel. An mp4's header stays uncancellable — it is one read inside `mp4::Mp4Reader` with no flag to poll — so the notice and the button say the read stops "where the container lets it" instead of promising the disk went quiet. The feeder's own abandoned opens are NOT wired to this, and the corner-cut in `spawn_feeder_deferred` says why: three runs of one build over 200 cold scrub steps measured 14, 101 and 137 live workers, so that number is the machine's and not the cancel's — and cancelling every step's walk would stop the sidecar index from ever being written, which is the thing that makes the second pass over a film fast.
🔧 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.