Commits
Commits on
cc667e6819d96fdfa32fc2debfcf76352e10da4c2026-08-11
✨ feat(export): a file says which matrix its numbers are in, and its clips are all in that oneAhmet Kaan Gümüş · 907dfc5
✨ feat(export): a file says which matrix its numbers are in, and its clips are all in that one Exports carried no colour tags at all: the numbers went out as they came off the decoder and every reader downstream had to guess. A 601 clip beside a 709 one went out as two spaces in one file, and nothing said so. Now every export declares a space -- BT.709 at 720 lines and up, BT.601 below, the same rule a reader with no tags applies -- in the Matroska `Colour` element and the mp4 `colr` box, and a clip coded against the other matrix is rewritten into it before it is graded. Same-space clips take the path they always did and not a byte is touched.
✨ feat(colorspace): a picture is converted in the matrix its own file names, not in BT.601Ahmet Kaan Gümüş · 55b1c8d
✨ feat(colorspace): a picture is converted in the matrix its own file names, not in BT.601 Every displayed frame went through one hardcoded integer matrix -- BT.601 limited, 298/409/-100/-208/516 -- whatever the stream said it was. An HD or UHD file read that way shifts: BT.709's red weight is 0.2126 against 0.601's 0.299, which is a visible cast on faces and saturated colour. The two converters now take the `ColorDescription` the demuxers already resolved, and derive their 8.8 coefficients from that matrix's two luma weights and its range once per frame, so the pixel loop is the same multiply-and-shift it was. BT.601 limited rounds to exactly the integers that were hardcoded, so SD material is byte for byte the picture it always was. Stills keep BT.601 on purpose: `rgb_to_i420` writes them in it, and the pair round-trips. Transfer curves are untouched -- a PQ or HLG stream gets the BT.2020 matrix and is still shown as SDR, with the seam marked.
✨ feat(tonemap): PQ and HLG become BT.709 through a published curve, not a guessAhmet Kaan Gümüş · 0a02d34
✨ feat(tonemap): PQ and HLG become BT.709 through a published curve, not a guess BT.2446 Method A, whole: the tone curve, the colour-difference scaling with its luma payback, and BT.2020 -> BT.709 with a simple clip. Written down, so it can be checked against the document instead of against a screenshot. The maths is float and transcendental, so it runs 9537 times per stream -- a 33 x 17 x 17 grid over the input codes -- and the pixel loop is a trilinear interpolation with the two luma neighbours packed into one word. 18.7 ms a 3840x1600 frame, 6.3 ms at 1080p, single core, release. Uneven axes on purpose: 17 luma nodes leave the assumed 1000 cd/m^2 peak five codes shy of SDR white, and a full 33^3 costs 30.7 ms. Above-peak light is clamped before the curve rather than extrapolated through it -- extrapolating sent one channel over the gamut rail and the next under it, a hundred-code hole in a smooth ramp. Standalone: no decoder or export path calls it yet.
✨ feat(colorspace): a file says which matrix and curve its numbers are in, and edith reads itAhmet Kaan Gümüş · 070ffe6
✨ feat(colorspace): a file says which matrix and curve its numbers are in, and edith reads it Three tiers, per field: the container's own tags (Matroska `Colour`, mp4 `colr`), then the bitstream's (H.264/HEVC SPS VUI, AV1 `color_config`), then the ffmpeg/mpv resolution rule -- 720 lines or taller is BT.709, below it BT.601, limited either way. A code that says nothing, or says something with no implementation here, falls to the next tier rather than answering wrongly. `VideoMeta` carries the answer; nothing consumes it yet. Everything still renders through the hardcoded BT.601 it always did, which is the bug this is the foundation for fixing. The bit-level walks are where this can quietly go wrong: an SPS whose scaling lists are counted wrongly lands the VUI read in the middle of a coefficient. Both are measured -- H.264 and HEVC against hand-built parameter sets (no encoder here writes SPS scaling lists), the rest against fixtures tagged in the container, tagged only in the bitstream, and tagged nowhere, plus the two real films: a 4K HDR remux that reads BT.2020/PQ and a fully untagged 720p one that reads BT.709.
🧹 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(subtitles): a subtitle row says which film it came out of, and the film is named over its tracksAhmet Kaan Gümüş · ad9f1ba
✨ feat(subtitles): a subtitle row says which film it came out of, and the film is named over its tracks The list was flat and anonymous: eight rows off three files, every one of them "eng" or "und", with the only answer to "whose is this?" hidden in a tooltip. Now a row names its own file in front of the label -- but only where there is more than one file to tell apart, the way an audio row takes "[audio 2]" only where the file gave several -- and wears that file's tint down its left edge, the same colour its clips wear on the lanes and its rows wear in the media list above. The name is cut out of its middle rather than its end. Two episodes off one release are the same words up to the last two characters, and a name truncated from the right is the same row printed twice; `clip_middle` keeps both ends and spends the width it is given, so a wider window spells more of the file out and nothing is capped at a character count somebody guessed. The media list's own names go through it too -- that list had the same collision and nobody had noticed. Where the window is tall enough for it, each file's block is headed by its name and its tint: a label, no click, nothing to fold, so the tracks under it stay the only things to aim at. At the 640x360 floor the list is one row tall, and a header there would name a film and then show none of it -- so `sub_headers_fit` turns them off and the rows go on saying whose they are by themselves. Nothing about the pick moved: a click still sets the flat index into the add-order list, which is what the .edith holds.
Merge branch 'worktree-agent-a62f844d48ad5e2ef' into worktree-agent-a81b5077f25858904Ahmet Kaan Gümüş · d5d7fdfBrowse files
🩹 fix(audio): an mkv's stream 0 is the track it already played, not its firstAhmet Kaan Gümüş · a7dd4c5
🩹 fix(audio): an mkv's stream 0 is the track it already played, not its first A remux flags the language it wants heard with FlagDefault on whichever track it likes -- mkvmerge writes it on the second one all the time -- and every reader here picked with that flag. Numbering the streams by file position outright made stream 0 a different track on those files, so an .edith project saved before the listing existed would quietly start playing the other language. mkv_stream_order puts the track the file already plays first and the rest behind it in file order, and it does not re-derive the old pick, it runs it: the AC-3 arm asks MkvAc3Track the same question Track::open asked it, everything else asks symphonia for its default track. probe_streams, Track::open and therefore the library's rows all count in that one order. Tested on a byte-patched fixture -- ffmpeg writes FlagDefault only to say 0, so the one byte behind the French track's language is flipped to 1 -- and it fails on file-order numbering: eng leads instead of fra.
Merge remote-tracking branch 'origin/main' into worktree-agent-a5df3068013f45edaAhmet Kaan Gümüş · cd8f9faBrowse files
✨ feat(subtitles): the picked track says which film it came out of, wherever it is namedAhmet Kaan Gümüş · a29af89
✨ feat(subtitles): the picked track says which film it came out of, wherever it is named The strip header, the section heading and the toggle's own notice all echoed `track.label` raw: two remuxes' "eng" tracks read alike, and a track whose only tag is "und" named a language nobody speaks. All three now go through one composer over the S1 grouping, so the name a header says and the row a person clicked cannot disagree -- and the strip header wears the file's own colour, the one its library row and its clips already wear. A standalone `.srt` is nobody's stream: no colour, and no stem after a label that is already the file's name. The colour was asked for by a path spelled as it was typed and answered by sources stored symlink-resolved, so `edith assets/film.mkv` painted no colour at all. `file_tint` now falls back to the resolved spelling on a miss, which is also the right answer for a file dragged in by a symlink.
✨ feat(audio): every audio track of an mkv is a row, and the second one playsAhmet Kaan Gümüş · 264c10c
✨ feat(audio): every audio track of an mkv is a row, and the second one plays A Matroska file was worth exactly one audio stream here -- whichever track the readers stumbled on first -- so the second language of a dual-audio remux was invisible and unopenable, and no mkv ever showed what language its sound was in. The header walk now collects every audio TrackEntry in file order with its number, codec id, TrackLanguage and TrackName (demux::matroska_audio_tracks), and that list is what a stream index counts in. The index picks an entry, the entry's *track number* is what each reader is then pointed at -- MkvAudio::open_track for the AC-3 blocks, SymTrack::open_track for symphonia, whose mkv reader keeps the same number as its track id -- so the two readers cannot disagree about which track a stream meant. Stream 0 is still the file's first audio track, sample for sample. Rows name their codec from the container rather than from symphonia's registry: the tracks that most need naming are exactly the ones it has no decoder for, and "opus is not supported" beats "an unsupported format". Fixture: test_multiaudio.mkv, two AAC tracks, eng 440/880 Hz and fra 220/330 Hz -- different tones because a mapping that drifts plays the other language.
✨ feat(subtitles): every track says which film it came out of, and the first import gets a colourAhmet Kaan Gümüş · 388bbf4
✨ feat(subtitles): every track says which film it came out of, and the first import gets a colour SOURCE_TINTS[0] was SURFACE itself, so the first file imported -- the one every session has -- wore the panel's background and had no visible swatch. It is a colour like the other three now, and a test asks for a summed channel distance rather than assert_ne. file_tint's unwrap_or(0) painted any path with no source entry in the first file's colour: a standalone .srt wearing a film it never touched. It answers Option now and the one caller that can miss falls back to the lane's own. subtitle_rows groups the flat add-order list by file, in first-appearance order, numbering each file's tracks the way row_name numbers audio streams. The flat index a click sets and a save writes travels with the row and is never reordered. Nothing draws it yet. lang_human: "und" is what a muxer writes when nobody said, so a row says "unknown language" instead of naming a language nobody speaks.
✨ feat(export): 2K QHD joins the resolution ladderAhmet Kaan Gümüş · 0a39fae
✨ feat(export): 2K QHD joins the resolution ladder 2560x1440 sits between 4K and 1080p in RESOLUTIONS; the ladder, picker rows and stroke-cycle all read the same list, so one rung is the whole change.
🩹 fix(subtitles): the grafts off the losing PGS laneAhmet Kaan Gümüş · bf65371
🩹 fix(subtitles): the grafts off the losing PGS lane - The overlay is a flex box with the canvas as its one growing item, fitted (Contain) the way the picture under it is: size_full inside an absolutely placed box has nothing to be a percentage of, and Fill put every cue somewhere the disc did not. - One way out of subtitle_overlay, and it lets the drawn picture go on the way: the toggle going off leaked an 8 MB atlas tile per press. - A track is pictures because of its codec id, not because its first cue happens to be one: an all-erase or empty PGS track passed for text and an export promised words it has none of. - The sup handed to the decoder stops at the end of the first display set that composes something, so a muxer packing the erase into the same block no longer blanks the cue. - The film-gated session test: the row a click picks, the map a repaint asks for twice (under 16 ms warm), the picture it draws.
🔀 merge(subtitles): a PGS cue is a picture the timeline carriesAhmet Kaan Gümüş · 1bee319
🔀 merge(subtitles): a PGS cue is a picture the timeline carries Conflicts, both in the demux lane's territory: - matroska_subtitles wanted-track filter: PGS joins S_TEXT, and both still skip a track whose ContentEncoding the demuxer cannot undo. - mkv_subtitle_blocks: the demux lane's laced walk stands; A's single-payload read and its refusal of lacing are dropped. A laced block's cues share a start, so end_of's strict > still finds the next real block. - cues_of: A's &mut signature and PGS doc, with the demux lane's unsupported early return that is the source of the refusal text.
✨ feat(demux): a header-stripped or laced Matroska track plays instead of refusingAhmet Kaan Gümüş · 5d028c2
✨ feat(demux): a header-stripped or laced Matroska track plays instead of refusing Two features every disc rip and streaming remux carries and this demuxer had no reader for: - `ContentEncodings`: header stripping (`ContentCompAlgo` 3) puts the bytes the muxer cut off the front of every frame back, and zlib (algo 0) inflates. bzlib, lzo1x, an unknown algorithm and encryption are refused *by name*, and per track -- a film whose sound cannot be read still shows its picture, and a subtitle track that cannot be read is listed with the reason like a bitmap one. - Lacing: all three headers (Xiph, fixed, EBML) read into one `Block` per frame. The frames of a lace get a timestamp each, interpolated across the gap to the block after, because six E-AC-3 frames stacked on one instant is a sound track that walks away from the picture inside a cluster. The two films this was cut for: a BluRay remux whose H.264 track is stripped of one zero byte per block (no picture at all before this), and a WEB remux whose every E-AC-3 block is fixed-laced (no sound at all before this). Both are existence-gated tests beside the hand-built EBML fixtures. zlib is `miniz_oxide`, which `image` already pulls into this build through `png`: no new crate tree and nothing new to compile.
✨ feat(subtitles): a PGS cue is a picture the timeline carries, not a row that says noAhmet Kaan Gümüş · c45b18e
✨ feat(subtitles): a PGS cue is a picture the timeline carries, not a row that says no The four S_HDMV/PGS tracks of a BluRay remux were listed and greyed: pictures, and nothing here could draw one. Now the cue IR carries a picture beside its text -- `Cue::image`, a `CueImage` holding the display set the Matroska block held -- and the rows are rows a click can pick. The decoding is `oxideav-sub-image`: the run-length walk, the palette, the YCbCr and the object fragmentation are not this project's to re-derive. What is written here is the framing between the two -- a Matroska block is a `.sup`'s segments with the `PG` magic and the timestamps taken off, so they go back on -- and the pairing PGS needs and text does not: half the blocks compose nothing, which is the disc clearing the screen, and that is where the cue before them ends. `BlockDuration` is zero on every one of them, so `end_of` now reads a zero the way it reads a missing one. Kept encoded, decoded when something is about to draw it: this film's canvas is 8 MB of RGBA and its four tracks carry eleven thousand display sets, so the IR holds the thirty megabytes the file already spends and the front-end keeps one decoded picture for as long as its cue is up. An export still writes a text track, so a track of pictures writes none and the card says "drawn, not written" before the button. A `.edith` is unchanged: it held a file and a track number and never a cue, which is why a bitmap track round-trips without the format knowing it exists.
🐛 fix(timeline): a dropped row lands where the hand let it go, not after the last clipAhmet Kaan Gümüş · 0d1c2c1
🐛 fix(timeline): a dropped row lands where the hand let it go, not after the last clip
A library row dragged onto the open bed past the last clip was appended to
the end of the timeline wherever it was released: the ghost promised one
frame and the release committed another.
`Project::paste` clamped the frame it was asked for to `timeline_frames()`
-- the clipboard's rule ("put it here", never "here with black in front"),
imposed on every caller of the primitive. A drop names a place on the bed
and means it, and `Project::place` (the audio/further-lane half of the same
drop) already honoured one, so V1 was the odd lane out.
The clamp moves to the clipboard's own door, `PlaybackSession::paste_at`,
and the grouped branch of `place_stream_at` goes to `Project::paste`
directly with the frame the pointer named. Nothing else changes: a paste at
the playhead cannot be past the end anyway.
Pinned by `a_row_dropped_on_the_open_bed_lands_under_the_pointer`, which
walks the release's own chain -- `landing` as `place_frame` composes it,
the frame back through the rate as `insert_source` hands it over, and the
one engine door a row goes through -- and lands frame 300 where it used to
land 150.Merge remote-tracking branch 'origin/main' into worktree-agent-a3fe67eb0bcf4cbceAhmet Kaan Gümüş · 9ebff59Browse files
✨ 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.
🔀 merge(cleanup): the preview and the file read the same cues, and the end stays the end under a sound tweakAhmet Kaan Gümüş · 6b156d8Browse files
🐛 fix(subs+eos): the plate reads the map the file is written from, and a knob past the end leaves the end aloneAhmet Kaan Gümüş · 2bee9c3
🐛 fix(subs+eos): the plate reads the map the file is written from, and a knob past the end leaves the end alone The overlay and the timeline strip drew every subtitle track on the raw timeline clock while the export carried an embedded track through the cuts (export::timeline_cues), so a rippled timeline previewed one thing and wrote another. Both now ask that one map through PlaybackSession::timeline_cues -- preview and file agree by construction, and a standalone .srt keeps the timeline clock it always had. And the end of stream: is_eos promised that "any edit after the end revives the session", which a sound-only edit never did. The transport's own model says it should not -- eos means the picture worker ran out, reseek_audio starts no picture worker, and reviving on an EQ tweak would spend the Ended state that makes the next press restart from the top. The doc now states that rule and a test pins it.
🔀 merge(D2): edits invalidate what they dirty and nothing more — color drags stay audible, the clock anchors on real soundAhmet Kaan Gümüş · 874f762Browse files
Merge remote-tracking branch 'origin/main' into worktree-agent-a70e2dff6f1316489Ahmet Kaan Gümüş · 288629aBrowse files
✨ feat(export): the subtitles leave with the fileAhmet Kaan Gümüş · df92458
✨ feat(export): the subtitles leave with the file A Matroska export now carries the picked subtitle track as S_TEXT/UTF8: a TrackEntry beside the picture and the sound, and one BlockGroup per cue — Block plus BlockDuration, because a SimpleBlock has nowhere to say when a line goes away. Interleaved into the clusters as the AAC packets are, so a player has the cue by the time it needs it. The cues are put on the exported timeline first. A track that came out of a media file is timed against that file, so it is carried through the spans that still play it: a cue over a stretch that was cut out is gone, one straddling the cut keeps the half that is still there, and everything after a rippled delete moves back with the picture it belongs to. A standalone .srt has no clip to hang on and no offset to shift by, so it stays on the timeline's own clock — the one the overlay drew it at — clipped to the exported length. A cue nothing clipped keeps its own microseconds, so an untouched timeline exports the times the source states, to the millisecond the file is written in. An mp4 says so instead of pretending: tx3g is a different beast and nothing here writes one, so the export card carries a Subtitles row that reads "test_subs.srt → embedded", "mkv only — an mp4 carries none" or "none" before the button is pressed. Exports without a picked track are the files they always were: the track entry and the blocks are written only when there is one.
🔀 merge(C6): the frame rate is picked, and the whole edit list conforms to it exactlyAhmet Kaan Gümüş · 3a1b47dBrowse files
✨ feat(rate): the project frame rate is a list to pick fromAhmet Kaan Gümüş · d2e25cc
✨ feat(rate): the project frame rate is a list to pick from The panel could only ever read the rate out. Now it opens the rates the way the resolution button opens the sizes -- 23.976 through 60 with the media's own cycled in and the one in force marked -- and picking one conforms the whole timeline to it. PlaybackSession::set_frame_rate maps every frame number on every lane through one Rate (Project::retime), so a take keeps its seconds, its footage and its sync while being counted on the new grid; every source is re-read through a Rate against it and an export comes out at it. The v9 fps line now governs a video-scaffolded project too, so a project cut at 24 reopens at 24 instead of at the media's 30 with every clip number still counted in 24ths.
🧪 test(playback): the clock counts the sound that played while the picture reopenedAhmet Kaan Gümüş · db1affe
🧪 test(playback): the clock counts the sound that played while the picture reopened seek_keeps_the_audio_clock measured the clock across a window that included next_index -- the wait for the first picture after the seek -- and assumed that wait cost the timeline nothing. It did, before: the clock re-anchored onto an empty ring, so the audio that played during the video decoder's reopen was thrown away and the picture stayed that far behind the sound. Now it is counted, so the assertion is made against the wall clock the window really took (measured: 3.917 s after 0.969 s of real time). The mix card's doc says what a fader now costs, which is nothing.
🔀 merge(E4): the bitrate is typed into a field, not clicked into existence — caret, validation, refusals in wordsAhmet Kaan Gümüş · 79fd658Browse files
✨ 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.
✨ feat(engine): an edit rebuilds what it dirtied, and nothing elseAhmet Kaan Gümüş · c2e62a3
✨ feat(engine): an edit rebuilds what it dirtied, and nothing else Every param change went through one funnel -- edit() -> seek() -- which flushed the audio ring, reopened every track, respawned the feeder and rebuilt the video decoder. Dragging a colour slider therefore cut the sound ~40 times across one gesture, and every restart re-anchored the clock onto an empty ring, so the silence of the restart was counted as timeline time: a permanent A/V offset, re-rolled by every edit made while playing (the resolution-change desync). Edits are classified by what they dirty now. A grade, a fit policy and the project resolution rebuild the picture where it stands and never touch a sample. An equalizer rebuilds the sound and never touches the picture. A fader and the master ceiling rebuild nothing at all: they live at the mix sum, so the running mixer picks them up between two blocks (MixControls), and the limiter is retuned rather than restarted so its delay line -- and the sample count the master clock is made of -- keeps running. Only a structural edit still reseeks both halves. And a restart no longer costs an offset: the feeder stamps the device position its first real sample was queued at, and the clock anchors there instead of on the first poll after the seek, so the silence before the content is never timeline time. Also: a span whose source will not open no longer presents the old channel's frames under the new mapping, and the feeder stops parking 10 ms on a ring that is merely waiting out a flush.
🔀 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.
🔀 merge(E2): the export names its clocks — elapsed, converging remaining, percent, esc always in sightAhmet Kaan Gümüş · 2c5b7ddBrowse files
🔀 merge(A4): the machine tells you what it can encode — vh_caps asks VA-API at runtime, old plugins stay welcomeAhmet Kaan Gümüş · c674238Browse files
🔀 merge(B4): drags cast a shadow — a translucent ghost sits where the clip will land, red where it can'tAhmet Kaan Gümüş · d1d6ffcBrowse files
Merge remote-tracking branch 'origin/main' into worktree-agent-a35b9e46cf4faf7ccAhmet Kaan Gümüş · 7354892
Merge remote-tracking branch 'origin/main' into worktree-agent-a35b9e46cf4faf7cc # Conflicts: # crates/app/src/main.rs
✨ feat(timeline): a drag shows where it lands, as a shadowAhmet Kaan Gümüş · f75307d
✨ feat(timeline): a drag shows where it lands, as a shadow Every drag over the bed now draws a translucent box at the frame it will commit to, on the lane the pointer is over: the clip's own width at this zoom for a take being moved, the file's own length for a library row, and the refusal red where the lane cannot take the drop at all. The snap line still marks the frame; the shadow shows the body that will fill it. One answer behind both halves of the gesture: `landing` takes the grab offset off the frame under the pointer and snaps it, and the ghost, the line and the drop all ask it -- so what the eye is promised is where the release puts it. `lane_refuses` is the same rule for a library row's two impossible lanes, asked by the tint in flight and by the insert that commits. Which lane the pointer is over is read off each lane's own drag-move box (gpui hands every painted element its own bounds): the root clears the shadow, the lane the pointer is inside draws it, in that order.
🔀 merge(C3): the actions card answers to F1 and to a search box — every action findable by nameAhmet Kaan Gümüş · 4cb3df0Browse files
✨ 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.
🔀 merge: origin/main into the choice-list branchAhmet Kaan Gümüş · edf0cd9
🔀 merge: origin/main into the choice-list branch One conflict, both sides adding to the same test-module `use`: kept every name.
✨ feat(ui): a setting with more than two values is a list, not a click-to-cycle buttonAhmet Kaan Gümüş · d8cd150
✨ feat(ui): a setting with more than two values is a list, not a click-to-cycle button The project resolution was a button that stepped one size on per press: to get back to where you were you clicked round the whole ladder, and the only way to see what was on offer was to visit every rung. Now the click opens the list -- every size at once, the media's own said so, the one in force marked with a glyph as well as a highlight -- and picking a row means that row. One widget, built on the clip menu's own machinery (the scrim that swallows the click away, `menu_at`'s placement, the `MENU_ROWS_H` scroll cap), so it hangs, closes and fits the 640x360 floor exactly as the menus already do. Its second client is the clip menu's Fit item, which had the same shape: four policies stepped one per click. Every stroke is untouched -- ctrl+r still steps to the next size and the Fit chord still steps to the next policy -- and both now go through one door with the list (`apply_resolution`, `apply_fit`), so a list and a stroke cannot come to differ in what they do or in what they say they did. The export card's own enumerated rows were audited and left alone: its format and quality rows already list every value with the picked one marked, and the container row is a two-value toggle, which is a button.