Commit Graph
5896 Commits
Author SHA1 Message Date
FredApps cc22854ea4 Preserve ODF lookahead and stacking normalization together 2026-11-17 04:59:07 +01:00
aiongg 73cf8de8f6 Pages: pages that take turns in one place at the size of the largest
A hidden page is measured only: a measuring run inside an invisible sizing
child, so it senses, registers and paints nothing. It reuses the size its
last measuring run found while nothing it read changed, under the settled
rules a measure reads (no input other than pointer motion, no edit of a value
it read, nothing moving, no app repaint): the measuring run opens the same
run record replay::open/close keeps for settling regions, and lazy keeps its
facts with the size. A reused page notes its reads again, so an edit of one
later in the pass reruns the pass.

PaintChip shows its paint kinds through Pages: its popover keeps the size of
its largest page, so a tab switch moves and resizes nothing.
2026-11-17 03:58:47 +00:00
Dylan M. Taylor 16b8036270 Merge remote-tracking branch 'base-src/main' into HEAD
# Conflicts:
#	Cargo.toml
2026-11-16 22:56:41 -05:00
aiongg 83e5cee596 Dock sizes: fixed() takes the column by reference 2026-11-17 03:54:49 +00:00
alehelandClaude Opus 5.5 73e6b12930 video: a VMD decoder's picture converts into a VideoFrame
`VideoFrame::try_from(&vmd::Decoder)` looks the picture's palette indices
up in the decoder's palette and gives 8-bit R, G, B planes (matrix 0). The
README and the frame module docs said every decoder's output converts by
moving its buffers; paletted video copies, as VMD keeps only indices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:54:38 +01:00
aiongg db1020b203 Trial: the guides list borrow lives for the whole run (deleted-guide focus trial) 2026-11-17 03:52:49 +00:00
aiongg 2997c6c91b API map: WindowMenuRows flyout, Flyout side 2026-11-17 03:52:13 +00:00
aiongg 4baf9d937b Docking docs: icon drop spots, flyout side, stepped columns, flyouts from the Window menu 2026-11-17 03:50:46 +00:00
aiongg 19f1b7b4ea Dock stories: columns in floating windows, a stepped toolbar column and a collapsed floating window 2026-11-17 03:50:28 +00:00
aiongg f66d2fcc54 Popup bodies keep no scroll of their own: their lists scroll themselves 2026-11-17 03:49:58 +00:00
aiongg 92f11d415b Dock UI: the Window menu opens and closes the flyout of a panel in a collapsed column 2026-11-17 03:49:47 +00:00
aiongg fac70bfc88 Popup bodies are content-sized layer containers placed by this pass's measure
OverlayUi::show shows its body closure through the container pipeline: a
private content-sized layer container (popup surface, POPUP_PAD, no node of
its own). Step 5 measures the body before the host places the layer, so a
popup whose content changes is placed by its new size in the pass that shows
it, and a filling child takes the width the popup settles on.

The popup keeps its owner key: ContainerProps::owner (crate-private) makes
the container's memory, presence and layer bookkeeping belong to the
component that shows the popup (or the opener its overlay names), so body
memory lasts across a close and KeepAnchor focus return finds the anchor.

The host places a measured layer by at least its least width. The layer's
least width at its anchor reaches a content-sized collection through the
LayerFloor env value the layer container gives its regions in both runs,
replacing the least width the layer memory carried from the last pass.
2026-11-17 03:49:21 +00:00
aiongg b9ae41c995 Dock UI: stepped columns: whole content columns wide, as tall as their content docked and floating, edge drags and the double arrow set steps 2026-11-17 03:48:35 +00:00
aiongg e52471190d Dock UI: flyouts open on a side; a floating window keeps the edge its move began with; trials for floating columns 2026-11-17 03:44:05 +00:00
aiongg 1933ed236d Dock UI: icon groups register the drop spots of expanded groups; groups in a floating window take no side drops 2026-11-17 03:39:31 +00:00
Dylan M. Taylor e0e05d025b craft-xlsx: restore the xlsb fixtures' calls to the Result-returning writer
#1386 made testing::zip return craft_opc::Error and left the xlsb call sites
still expecting Vec<u8>, so craft-xlsx does not compile and Workspace / gate
fails on every pull request. Unwrap the fixture's error where the bytes were
expected.
2026-11-16 22:39:02 -05:00
Dylan M. Taylor af9985523a svg: share bounded prefix-preserving kurbo path parsing (#1972) 2026-11-16 22:37:02 -05:00
Dylan M. Taylor 18277c006c test(video): reject short and overlong inflated Screen Video blocks 2026-11-16 22:35:35 -05:00
Dylan M. Taylor 3e0bb788a7 test(video): bound Screen Video output and hostile packet handling 2026-11-16 22:33:39 -05:00
aiongg 0c7c49d1aa AccessKit Scroll Into View and the scroll actions move no focus 2026-11-17 03:33:21 +00:00
Tanish Manku 8ad90cc70d test(video): retain synthetic partial-block Screen Video fixture 2026-11-16 22:33:12 -05:00
Tanish Manku 5ed5fb9de7 video: extract bounded Screen Video key-frame decoding from AniCraft
Preserves codec algorithm from AniCraft1f3e603b7ff53a3da364e41ec4da8d43dc83aab0 and2b7571363b4b647266df758f95b6e397021cfd4d; neutral frame type and explicit caller limits adapt the shared API.
2026-11-16 22:32:40 -05:00
Dylan M. Taylor de97c35f2b craft-palette: share bounded GIMP palette reading from AniCraft (#1977) 2026-11-16 22:30:28 -05:00
aiongg 7fdb17d53c Dock UI: rustfmt 2026-11-17 03:29:24 +00:00
aiongg aa46612ac9 Dock area: a floating window draws its one column as a dock column does
Pass::column shows a column, docked or floating: an IconicColumn while it is
collapsed, else a DockColumn, with what the user did turned into actions in
column_work. Each dock column calls it with its own bar; each floating window
calls it inside a FloatingGroup with ColumnBar::Window, the title row being
the column's bar: its double arrow sets the column iconic, and a collapsed
window shows its icons at their size against the float area's nearer edge.
The window's split tree, its split resizes and its minimized toggle are gone.
Trial: the double arrow collapses a floating window's column and expands it,
the window keeping its rect.
2026-11-17 03:28:18 +00:00
Dylan M. Taylor fbb3f47f7a craft-markdown: share extracted-text paragraphs and pipe-table writer (#1981) 2026-11-16 22:24:56 -05:00
aiongg c7d1a376d7 Dock UI: ColumnBar for a column in a floating window; FloatingGroup carries its column's bar
DockColumn and IconicColumn take ColumnBar::Window inside a floating window:
no bar, no frame and no edge bands, and an expanded column no edge divider,
since the window's title row, frame and edges carry them. FloatingGroup takes
the window's WindowColumn: the title row shows the column's double arrow at
the end the window keeps to, the arrow or a double click on the band reports
iconic, and a collapsed column shows at its collapsed size against that edge
of the rect, not resizable, a move keeping the rect's size. IconicSizes::of
and icons_height size a collapsed window.
2026-11-17 03:24:14 +00:00
Dylan M. Taylor 06496f5bf2 craft-psd: decode strict PackBits rows into caller-owned slices (#1978) 2026-11-16 22:22:35 -05:00
Dylan M. Taylor bee6842e8a lottie: caller-owned numeric precision for Bezier path writing (#1979) 2026-11-16 22:22:32 -05:00
Dylan M. Taylor c153d95e55 craft-plist: explicit legacy binary minor-version compatibility (#1980) 2026-11-16 22:22:29 -05:00
aiongg d2d274e936 The wheel steps a select one entry per line, with its list open too, and its run commits when the wheel stops 2026-11-17 03:21:42 +00:00
aiongg 1cd660da93 Dock UI: frame view, drops and commands for one-column floating windows; rail.rs removed
FrameView prunes a floating window's column like a dock column and writes back
only the docked tree's splits. Drop placements ask the anchor's rights wherever
its column is. Collapse to Icons applies to every column, docked or floating,
and is off for a column holding a panel that does not collapse; Float Tab
Group keeps a window's only group where it is. rail_actions and rail_lit go
with the rail links; Minimize reads group and accordion state in the commands.
2026-11-17 03:19:51 +00:00
dotCooCoo 976e4ef8ea craft-csv: rows of empty cells decide the delimiter when nothing else does
sniff_delimiter skipped every record without a non-whitespace character
other than the delimiter, so a record such as ";" or ";;;" was blank to
the semicolon candidate. A semicolon export of a sheet whose only value
is far down (B40001) starts with 40,000 ";" rows, which fill the 64 KiB
sample, and the file was read as comma-separated with one column.

Records that hold only a candidate's delimiters and whitespace are now
kept apart, at most 20 per candidate. When no candidate separates the
records with other text, the same rules pick among the candidates whose
sample holds only such records. Every result that did not fall back to
comma stays the same: a row of tabs alone is still blank to the other
candidates and does not outweigh them, as #1209 set out.
2026-11-16 19:17:49 -08:00
aiongg cbf445ff52 Dock model: SetMinimized documents the tab strip only 2026-11-17 03:13:40 +00:00
FredApps 0dbd888f3c Integrate page background preservation with stacking normalization 2026-11-17 04:12:46 +01:00
aiongg 6d1596c531 Dock model tests: column state on float and join, floating drops, column rights, steps, v3 migration
Collapse is kept when a column or its groups float and decided by the
joined column; a floating window takes Top, Bottom and Center drops and
nothing beside it; collapses and shares_column refuse their placements
in both directions and reconcile repairs them; a stepped column keeps
its count through JSON and refuses widths; v3 floating trees load as
one column window per side-by-side part.
2026-11-17 03:12:10 +00:00
aiongg 6eb0fa8cde Focus: a removed stop hands focus to its neighbour as a removal, not an arrival by key, so a deleted guide (or stop, pin, anchor) selects no neighbour 2026-11-17 03:09:37 +00:00
aiongg c518493f93 Dock model: a floating window is one column; column rights; stepped columns
A floating window holds one Column, the type a dock holds, so collapse to
icons (Column.iconic) is the one collapsed state of every column, docked or
floating. PanelPlace::Floating names a group of the window's column, and
column(), group(), take, insert and every column action work the same for
both places. Groups taken out of a column carry its state into any new
column they make, so an icon group floated out of a collapsed column stays
icons; groups that join a column take that column's state. A floating
anchor takes Top, Bottom and Center drops only.

Column.steps and SetColumnSteps size a grid panel's column in its own
content columns; ResizeColumn refuses a stepped column. Permissions gain
collapses and shares_column, checked on the result of every apply (so dry
runs refuse alike), and reconcile repairs saved layouts that break them.

Workspace format v4: v3 floating trees load as columns, a tree split side
by side becoming one window per part at its share of the saved rect.
Floating.minimized and ResizeWindowSplit are removed.
2026-11-17 03:08:49 +00:00
aiongg 2970ef8cc0 Access nodes: a collection's redirect of a row's node is journaled, so a settled dock panel's replay keeps the row's node with the collection and an access Focus on a Layers row focuses the rows 2026-11-17 03:07:07 +00:00
alehel 00e0075184 Merge remote-tracking branch 'origin/main' into m1460-merge
# Conflicts:
#	crates/audio/Cargo.toml
#	crates/audio/README.md
#	crates/audio/src/lib.rs
#	crates/media-testkit/src/lib.rs
2026-11-17 04:06:58 +01:00
aiongg c1cb2df8eb Canvas Space under a dialog: Space over the canvas a dialog keeps open fires the canvas's momentary command and types nothing while a field in the dialog has focus (no hold, no typing rule for the canvas's press) 2026-11-17 03:05:28 +00:00
Dylan M. Taylor b4d17d3943 docx: preserve horizontal axis-title rotation guard semantics 2026-11-16 22:03:46 -05:00
Dylan M. Taylor 27dd098ae9 Merge branch 'feat/score-writers' of https://github.com/storytold/craft-libs into feat/score-writers
# Conflicts:
#	ATTRIBUTION.md
2026-11-16 22:00:39 -05:00
Dylan M. Taylor 86d253957c Merge remote-tracking branch 'origin/main' into feat/score-writers
# Conflicts:
#	ATTRIBUTION.md
2026-11-16 22:00:14 -05:00
aiongg 2451f38b04 Suite pointer drives press the visible piece of a part (part ∩ the root's clip), so a part past the window's edge is pressed where it can be seen (Fixture::visible) 2026-11-17 02:57:35 +00:00
Dylan M. Taylor 1901b2fac6 docx: satisfy clippy's range-contains lint in the chart title guard
main's gate fails here for every pull request: `!(r < 1.0 || r > 359.0)` is
exactly what `manual_range_contains` rejects. Express the same range as
`(1.0..=359.0).contains(&r)`.
2026-11-16 21:54:47 -05:00
Dylan M. Taylor de020ead1b plotter: cover lexer framing and malformed payload branches 2026-11-16 21:51:26 -05:00
Dylan M. Taylor 08e922c020 Merge pull request #1973 from storytold/fix/flow-hsl-numeric-scale
fix(flow): use percentage scale for numeric HSL channels
2026-11-16 21:49:33 -05:00
aiongg d8ac0f4a3b Trial: a Layers row's access focus action puts key focus in the rows with the access focus on the row 2026-11-17 02:39:48 +00:00
aiongg ccfaccda45 Sensing: a press egui names no target for starts only inside the root's clip, so a handle past the window's edge is not pressed 2026-11-17 02:39:48 +00:00