Commits
Commits on
a7dd4c5cd319b11d45001ad524b7d030d7b02eab2026-08-11
🩹 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(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.
🔀 merge(A5): import stops gatekeeping — silent files land as silence, mixed codecs play per-clip, refusals name the missing decoderAhmet Kaan Gümüş · 680220dBrowse files
🔀 merge(C4): the right-click menu knows what it's pointing at — sound clips lose Color, stills lose Silence, reasons stay visibleAhmet Kaan Gümüş · eee9e6eBrowse files
🔀 merge(A5): main (96094a2) into the import-policy branchAhmet Kaan Gümüş · 80ecf3d
🔀 merge(A5): main (96094a2) into the import-policy branch B3 landed while this branch was verifying: app-only (keymap + main.rs drag/waveform work), no overlap with the import gate. The refusal test this branch re-pointed merged unmoved.
🐛 fix(audio): a broken Matroska track is an error, not silenceAhmet Kaan Gümüş · 941e882
🐛 fix(audio): a broken Matroska track is an error, not silence Two verifier findings, both in the same class as A5's silent-take work: a hole nobody asked for must not be indistinguishable from a hole the timeline means. Track::open's mkv arm turned every symphonia failure into Ok(None) -- silence -- with an eprintln as the only trace, so a file whose audio is broken played and exported as a quiet stretch and said nothing. Now SymTrack::open returns Ok(None) for the one honest case (the container opened and holds no audio track) and Err for the rest; a codec nothing here decodes is still silent, since that is what the decoder, not the open, reports. probe_streams follows the same split, and a standalone audio file keeps its old answer through open_required. lanes.rs: three_lane_file() handed both of its tests one pid-keyed path, so whichever finished first deleted the file the other was still using. The name is the caller's now.
🔀 merge(A5): main (b10235a) into the import-policy branchAhmet Kaan Gümüş · 685d4e6
🔀 merge(A5): main (b10235a) into the import-policy branch Clean: A1's Track::open rework routes codecs (MkvAc3Track before symphonia) and A5 handles absent tracks -- the two compose, and git merged them without touching either. C1's main.rs churn moved the refusal test's neighbourhood, not the test.
Merge remote-tracking branch 'origin/main' into worktree-agent-abe7c9ebe8b525c5fAhmet Kaan Gümüş · 5007fc6Browse files
✨ feat(menu): a clip's menu lists what that clip can doAhmet Kaan Gümüş · 79da446
✨ feat(menu): a clip's menu lists what that clip can do The right-click menu was the whole registry with most of it struck through: a grade and a fit policy on a waveform, an equalizer on a picture, a silence scan on a still -- rows nothing the user could ever do would light, sitting between the ones they came for. The enablement table already told the two kinds of no apart. `Hidden` is about the *kind* of thing that was clicked and `No` is about this moment; the menu now drops the first and keeps the second, dimmed and saying why, because the next click of the playhead lights those. A still is the kind the table could not see -- it sits on a video lane exactly like a take whose sound is one lane down -- so `Ctx` carries it and the silence scan is a class refusal there rather than a notice after the click. The actions card is untouched: it lists the whole registry, so a class refusal is dimmed there with its reason. An action missing from the one surface that lists everything would read as an action that does not exist.
🔀 merge(B3): drags stop lying — previews equal commits at every speed, drops move the clip you picked up, waveforms stay bounded and paintedAhmet Kaan Gümüş · 1c58757Browse files
🔀 merge(B3): the snap says where the edge lands, the fit says what the box isAhmet Kaan Gümüş · 5679cf7
🔀 merge(B3): the snap says where the edge lands, the fit says what the box is Both gestures keep both halves. A trim now snaps onto its neighbours' edges (B2's trim_to) and the box that snap draws is worked out through Speed::fit (B3's trimmed_clip): where the edge stops and what the clip becomes there are two questions, and the release commits both. A drag likewise: which clip is in the hand is answered against the lane as it is now (Player::dragged -> live_idx), and where it lands is the snapped frame drop_frame hands back. The in-flight snap line asks the same question the drop does, so the line is promised for the take that will actually move -- and a clip deleted mid-drag promises nothing rather than moving its neighbour. Conflicts were two locals in lane_row (the bed width for the visible slice beside the snap cue's pixel) and the test import list; both are unions.
🔀 merge(C5): the equalizer grew into its window — ten draggable bands, numbers you can read, bells you can seeAhmet Kaan Gümüş · 9890730Browse files
Merge remote-tracking branch 'origin/main' into worktree-agent-ae0878bafe33df931Ahmet Kaan Gümüş · b8fa325
Merge remote-tracking branch 'origin/main' into worktree-agent-ae0878bafe33df931 # Conflicts: # crates/app/src/main.rs
✨ feat(eq): the equalizer takes the room it needs, and every band is editableAhmet Kaan Gümüş · 462692e
✨ feat(eq): the equalizer takes the room it needs, and every band is editable The card was 320 px of fixed width with five bands whose only editable number was gain: a graph of twenty thousand hertz spending four pixels on the octave below middle C, and a filter nobody could aim. It now takes the window it is in (up to 720 px, floored at the other cards' width) and carries the three numbers a band actually has. A band is dragged both ways -- across is frequency, down is gain -- moved by the arrows, widened and narrowed with shift, added and removed up to ten, and flattened alone by `f` or a double-click. Each band's own bell is threaded under the sum, so a boost pushed against a cut is visible rather than a flat line that says nothing. The engine already took any cascade (`EqParams::bands` is a `Vec` and the .edith file writes every band it is given): nothing under the UI moved, so a project saved before this loads and sounds exactly as it did.
🔀 merge(B2): the snap onto C1's actions card — one row generated, one button, one line on the bedAhmet Kaan Gümüş · 2d567f6
🔀 merge(B2): the snap onto C1's actions card — one row generated, one button, one line on the bed Three conflicts, all in main.rs and all "both sides are wanted": The two new methods landed on the same line of `impl Player` (toggle_snap against C1's enable/Ctx bridge) -- both kept. The tests' import list -- C1's, plus snap_cue and snap_marks. The pointer-reachability test: C1's flattened version wins outright. Its rows come off ActionId::ALL through keys_rows(), so ToggleSnap lists itself and the hand-written match arm this branch added is deleted rather than merged. The one thing kept from it is a line: the snap button beside the zoom is a door of its own, and a test that only reads the generated card would not notice if it went. ToggleSnap needs no arm in the enablement table: it falls through the same `_ => Enable::Yes` the zoom keys do, and with no timeline open it reads "no timeline open" like every other action -- which is exactly what its button's own dimming already said.