Commit Graph
7039 Commits
Author SHA1 Message Date
aiongg c44c32beb7 Test fixture: recorded paint nobody took drops its texture changes unrendered 2026-11-17 07:52:46 +00:00
aiongg 1a55c72e1e Grid: each column is a column group, so the labels beside the fields of one column share a width and the fields start at one x 2026-11-17 07:52:46 +00:00
alehel 983a32c6e6 Merge remote-tracking branch 'origin/main' into n1460-merge
# Conflicts:
#	crates/video/src/lib.rs
2026-11-17 08:32:17 +01:00
aiongg f4eb126da2 Merge branch 'fw/press-route' into k/stage
# Conflicts:
#	crates/ui-contract/src/runtime/commands/board.rs
2026-11-17 07:22:17 +00:00
aiongg aef9f695dd cargo fmt 2026-11-17 07:21:19 +00:00
aiongg b0810ed1f4 A full-window workspace reports the canvas it shows its image on (WorkspacePass::canvas); the dialog host names the canvas of the latest open dialog that has one (StackDialog::canvas, DialogHost::canvas), where an app's tool input in document points goes 2026-11-17 07:19:41 +00:00
Dylan M. Taylor 73a6103021 Merge current main preserving both attribution sections 2026-11-17 02:18:14 -05:00
Dylan M. Taylor 5bbf16b61e Merge branch 'main' of https://github.com/storytold/craft-libs into feat/lottie-raw-gradient
# Conflicts:
#	ATTRIBUTION.md
2026-11-17 02:18:09 -05:00
aiongg d722349048 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 07:16:34 +00:00
aiongg 85d1947cbf Merge branch 'red/ff' into fw/mac1 2026-11-17 07:16:34 +00:00
Dylan M. Taylor fd91be74f0 Merge pull request #2001 from storytold/feat/screen-video
video: share bounded Screen Video key-frame decoder from AniCraft
2026-11-17 02:16:15 -05:00
Dylan M. Taylor 3a1a627dc6 Merge pull request #1965 from storytold/feat/score-writers
craft-score: share MusicXML and SVG score writers with per-pitch ties
2026-11-17 02:16:11 -05:00
Dylan M. Taylor 77686f24fe Merge pull request #2007 from storytold/feat/svg-transform-compat
svg: extract prefix-preserving transform-list compatibility
2026-11-17 02:16:06 -05:00
aiongg fe8fdf6eea TransformBox corners take the first quarter of each side's band beside them, at most the band's width along it, as PhotoCraft's box does 2026-11-17 07:13:24 +00:00
aiongg 71b4720b98 A press at a document point past the window goes to the topmost recorded layer with a press-taking shape there that shows inside its clip; DIAG lists every recorded layer at the press for the Liquify, vanishing point and crop tests 2026-11-17 07:13:24 +00:00
aiongg b3eae86124 A settled region's replay makes its arena registrations again (a root's step 8, members joining, over parts, the body layer): a press that arrives with the pointer reaches a member the region shows 2026-11-17 07:13:24 +00:00
aiongg 9d931633b1 Held input keeps each event's arrival time in the event's own record: the input hook's stages from the one-press rule to the key stage (hold_back_presses, the IME hook, the sampler hook, the modal drop, the key strip and its focus-move cut) work on Arrived records and egui's events are built from what they leave; the in-order lookup of held events goes 2026-11-17 07:10:05 +00:00
aiongg 714367de38 Merge branch 'tool/cl-app' into fw/mac1 2026-11-17 07:09:49 +00:00
aiongg b0a40c30e8 A fired command carries the input time of its event: a key's press and release fire with the time they arrived at, events held to a later frame keep theirs; the double-press matcher and the opacity digit pairs read that time 2026-11-17 07:07:07 +00:00
aiongg 453d906fdf Design lint: list the rail story's width marker 2026-11-17 07:06:20 +00:00
aiongg 2b19a28742 Rail story: allow marker covers its width scope 2026-11-17 07:06:20 +00:00
aiongg ab09b3fc28 Design lint: rail trials compare within a point, story strip sizes from IconicSizes, dead rail exemptions removed 2026-11-17 07:06:20 +00:00
aiongg d414c24ad7 Dialog host forgets a layer's open slot through runtime memory, not the body layer 2026-11-17 07:06:19 +00:00
aiongg 3c3e38d339 Design lint: list the rail story's width marker 2026-11-17 07:05:53 +00:00
aiongg a68eb1290d Rail story: allow marker covers its width scope 2026-11-17 07:05:19 +00:00
aiongg 5152722dae Design lint: rail trials compare within a point, story strip sizes from IconicSizes, dead rail exemptions removed 2026-11-17 07:04:50 +00:00
aiongg 9cd0dcf2ba Dialog host forgets a layer's open slot through runtime memory, not the body layer 2026-11-17 07:02:50 +00:00
aiongg af2681cd26 Remove the access-focus DIAG print: the Layers row takes accessibility focus 2026-11-17 07:01:50 +00:00
aiongg 0c671476e9 Format 2026-11-17 06:55:56 +00:00
FredApps bf448c194a Merge pull request #1729 from D13GOOOO/docx-stacking-order
craft-docx: a relativeHeight of 0 stays the lowest stacking order (wordcraft#2638)
2026-11-17 07:40:05 +01:00
aiongg 2de6c8c636 Remove diagnostic prints 2026-11-17 06:32:37 +00:00
aiongg 110f62f255 Merge branch 'fw/press-route' into fw/mac1
# Conflicts:
#	crates/ui-contract/src/primitives/sensing.rs
2026-11-17 06:31:19 +00:00
aiongg 053d567561 Press routing by kind: a press's click and its drag each go to the root whose shape is on top for that kind; under a drag-only grip a child keeps its click, a drag-only root below a button takes the drag; TransformBox parts take the click with the drag so a press on the box is the box's alone; DIAG covers the two trials (CRAFT_DIAG_TEST) 2026-11-17 06:20:27 +00:00
aiongg c17f5d7e49 Merge branch 'look/align' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg c25070dbe3 Merge branch 'fw276/fix2' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg d3b6dc9781 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 06:17:59 +00:00
aiongg 951a1755fd TransformFields panel form: the number fields fill their grid cells 2026-11-17 06:16:55 +00:00
aiongg c410d7ddbf TransformBox takes PhotoCraft's zones: a corner or side handle reaches handle.md from its point, and each side's band reaches outside the box only, so inside the box off the handles a press reaches what lies under it 2026-11-17 06:16:10 +00:00
aiongg c01888f762 Iconic trials name their rect helper rect_of, so the icon id check doesn't read panel labels as icon ids 2026-11-17 06:13:55 +00:00
aiongg 4a3c72f2db Look align: text parts ignore the host's egui size floor; options bars at the standard control size; selects in a bar fit their widest entry; check box labels in body type; title band glyphs at size.icon.sm with a faint kind caption; Inspector names its target at section weight; Transform fields fill two columns, W and H first 2026-11-17 06:13:31 +00:00
aiongg 1cdfdad757 NoticeCenter posts and tracks nothing in a measuring run 2026-11-17 06:13:28 +00:00
aiongg 0946da5e26 Trial: a settled region with a content version runs once in the pass that routes an AccessKit Focus into it, and not when the Focus goes elsewhere 2026-11-17 06:13:20 +00:00
aiongg 2ebd32d598 DIAG: the press winner's candidates (every shape under the press per root, with order and clip) and each root's start decision, for the six press-routing tests of round I 2026-11-17 06:12:52 +00:00
aiongg fe65388c31 Remove the pending-crop DIAG prints from sensing and the tool host: the cause is found 2026-11-17 06:11:29 +00:00
aiongg 8361af67ad A settling region runs while an intent of the pass is routed to a component in it: an AccessKit Focus on a Layers row reaches its collection 2026-11-17 06:11:29 +00:00
aiongg 2a10d1400e A press on a guide keeps the guides' parts declared until it ends: a ⌘-press whose key is let go before the drag keeps its guide and focus 2026-11-17 06:11:29 +00:00
William Dunn aa4647a777 craft-cloud-local: confine every path through a Dir capability, not a path string
benandez's re-review reproduced three escapes the first confinement fix still
left open. A dangling symlink: canonicalize reported it as missing, so the
old confine_to_root walked up to root and accepted it, and write created the
symlink's target for real, outside root. A check-then-use race: confine_to_root
checked one path string and a later fs::read or fs::write resolved that same
string again, a second lookup a concurrently swapped link could land in
between. A hard link: write truncated the shared inode in place, with nothing
in a canonicalized path to show that another name pointed at the same file
outside root.

list, read, write and create now resolve every already segment-checked
relative path through a cap_std::fs::Dir capability opened on root, instead
of joining an absolute OS path and handing it to plain std::fs. cap_std
resolves one path component at a time against real, already-open directory
handles, so a symlink or a Windows junction cannot walk resolution above
root, dangling or not, and there is no separate check with a window for the
directory tree to change underneath it: the one resolution is the open. This
is the same family of guarantee craft-font-store already depends on through
cap-primitives, which cap_std is built on.

write no longer truncates its target in place either way: it writes a new
sibling file and renames it over the target, so a hard link's directory
entry is replaced rather than its shared content being overwritten.

Per that review's non-blocking notes: a name that already exists on disk
with an ordinary ':' or '\' byte (macOS stores a typed '/' as ':') stays
reachable by list and read, since neither character is a path separator on
any platform's filesystem; the stricter refusal now applies only to a name
being chosen by Create. Create also goes back to bringing a fresh root into
existence, matching its behaviour before the first confinement fix. A
Windows reserved device name (CON, COM1, CONIN$, with or without an
extension) is refused in a chosen name on every platform.

Regression tests reproduce all three escapes (dangling symlink, swapped-link
race, hard link), plus the previously missing coverage: a link in the folder
a Create targets, and a write test that actually reaches disk instead of
being refused for an unrelated reason before confinement ever ran. Verified
by hand that each of the three new write-path tests fails against the
pre-fix pattern (an absolute OS path joined by string concatenation) before
trusting them.
2026-11-17 00:51:58 -05:00
aiongg 687f709893 DIAG print after the press-route merge: names untargeted in place of the removed helpers 2026-11-17 05:41:54 +00:00
Dylan M. Taylor a953b26365 Merge branch 'main' of https://github.com/storytold/craft-libs into fix/chart-title-range-parity 2026-11-17 00:39:34 -05:00
Dylan M. Taylor 6526535a1e Merge branch 'main' of https://github.com/storytold/craft-libs into feat/hpgl-byte-lexer 2026-11-17 00:39:33 -05:00