forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on fbc29d12fa2e194b105dd2344342fc50da4e90cdFiltered to crates/engine/tests/pgs_bitmaps.rsClear filter

2026-08-15

✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+aAhmet Kaan Gümüş · 66d5395
✨ feat(timeline): ctrl-click multi-selection, manual groups, ctrl+a

The app half of manual clip grouping: the timeline's selection becomes
a list of picks (Selection, click order kept, anchor = last), ctrl+click
toggles a pick on every clip box, caption box and edge strip, and a
right-click on a picked placement keeps the selection so the menu's
Group row acts on all of it — one pick keeps the span-partner flow.

SelectAll takes ctrl+a (every clip and caption, one selection) and
RemoveAudioLane moves to ctrl+q beside its own letter. The oracle
unhides Group and Detach over captions, words the one-clip-per-lane
refusal, and the caption menu grows the group rows. marked() lights
every pick and its link-mates — captions included — captions wear the
grouped border, trims preview each member by the drag's delta clamped
to its own room, deletes route a grouped caption through the group
door, and a drag's snap excludes the group it carries. The save-format
tests and every affected app suite updated with the new shapes.

2026-08-14

✨ feat(engine): the words a timeline places are the tracks its file carriesAhmet Kaan Gümüş · 0f135a8
✨ feat(engine): the words a timeline places are the tracks its file carries

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

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

A lane of pictures is refused in words and written nowhere: both muxers write
text and neither has a bitmap path. Past `MAX_SUB_TRACKS` lanes the card refuses
by name, and the muxer refuses again.

2026-08-13

🧪 test(subtitles): the cue decode is held to the frame it appears onAhmet Kaan Gümüş · 536c87c
🧪 test(subtitles): the cue decode is held to the frame it appears on

The picture is decoded once per cue *change* and kept while the line is up
(`Player::sub_picture`), so the number that matters is the one frame a new line
costs. Measured on a real BluRay remux's PGS track: 371 µs for a 1920x1080
display set, against a 16.7 ms frame. Written down as an assert, since a cache
that quietly stopped catching would show up here as nothing at all.

2026-08-12

🔒 chore(privacy): the tests name a key, the machine names the fileAhmet Kaan Gümüş · a893c91
🔒 chore(privacy): the tests name a key, the machine names the file

Nothing in this tree says what is in anybody's library or where it lives.
The handful of tests that are worth nothing against a fixture -- a real
HDR10 grade, a header-stripped BluRay remux, a disc's PGS tracks -- asked
for absolute paths written into their source, and the comments around them
recorded which films the measurements were taken on.

Both go. `engine::real_library::film(key)` reads `real_library.toml` at the
workspace root, which is gitignored: three logical keys named for what the
file *is* (`hevc_4k_hdr`, `h264_dual_audio`, `hevc_4k_pgs`), mapped to
wherever that machine keeps them. A missing manifest, a missing key or a
missing file each say so on stderr and the test passes, which is the
existence gate every one of these already had, in one line instead of five.
`real_library.toml.example` documents the shape and what each key must be.

The comments keep the technical fact and lose the title: a peak of 1759
cd/m^2 is still 1759, the 37 BCP-47 elements are still 37, and the Opus
pre-skip is still measured against ffmpeg -- on "a real 5.1 Opus remux"
rather than on a named one. The synthetic paths in the app's unit tests
("/films/…") were never real and are now anonymous too.

2026-08-11

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