Commit Graph
5896 Commits
Author SHA1 Message Date
aiongg 503e30e13a Merge branch 'fw276/rail' into fw276/check 2026-11-17 05:12:45 +00:00
aiongg ca8e645567 A cancel that restores the value counts as a write
The apply step counts every event that changes the bound value: a proposal,
commit or set, and a cancel that puts the value from before the gesture back.
A given binding unsettles on the same events, compared by the value each
lands. EditEvent::apply reports Restored only when the cancel changed the
value, so a cancel under a commit-only policy, whose place still holds the
value from before, counts as no write.
2026-11-17 05:12:37 +00:00
aiongg 4c1e445022 Merge branch 'fw276/dock' into fw276/check 2026-11-17 05:12:31 +00:00
aiongg f1380e79d7 Dialog host forgets a removed dialog's open state, so a dialog that closed itself opens again under the same id 2026-11-17 05:12:07 +00:00
aiongg ab8612ef7c Gradient palette shows its presets as small chips: PresetBrowser's PresetTiles::Chips variant, grid headers and tail rows a collection row high 2026-11-17 05:11:53 +00:00
aiongg 7617a0522d A set writes the bound value as a commit does
The apply step counted a write only for Update and Commit, so a Set (cx.set,
or a gesture that begins and commits in one pass) changed the bound place
without noting the edit: no settled region or hidden page that read the value
measured again, and no earlier reader got the edit rerun. A given binding's
Set likewise unsettled nothing. Set now carries its value in both tests.

The Pages edit trial asserts one measuring run of the hidden page in the edit
frame. The popover click trial counts the row's activations: a leaf counts a
press in every pass with a press phase, so a click that lands counts more than
one. It clicks the new page's row right after the switch frame's idle frame.
2026-11-17 05:10:23 +00:00
aiongg 06e8f642e2 The selection trials' tool wrapper passes on whether the tool takes every move, as the app's wrapper does 2026-11-17 05:09:01 +00:00
alehelandClaude Opus 5.5 873fc3ecd5 video: the real-file VMD oracle checks that ffmpeg succeeded
real_files_match_ffmpeg waited for ffmpeg without looking at its exit
status, so pictures that matched before ffmpeg failed still passed. It now
asserts success, as the generated-file oracle does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 06:08:45 +01:00
aiongg 4bc791b52e A select face is no node of its own: its text is the pick, which its host reports as its value 2026-11-17 05:06:21 +00:00
FredApps b72421f53a Integrate latest main for validated stacking-order fixes 2026-11-17 05:48:53 +01:00
William Dunn e5e9433413 craft-cloud-local: confine list, read, write and create to the configured root
FredApps' re-review found that resolve only split on slash and rejected a
segment equal to parent-dir, with no constraint on a Windows backslash, a
drive letter or UNC prefix, or a filesystem link, and that create joined
the Job::Create name onto the resolved folder with no validation of the
name at all.

Every path segment, and a Create name on its own, now goes through one
shared confine_segment check: accepted only when it parses as exactly one
Component::Normal equal to the original text, with a backslash or colon
refused outright first so a Windows-shaped escape cannot slip past a
Linux build's narrower native parser. A second shared check, confine_to_root,
canonicalises the nearest existing ancestor of a resolved path and
confirms it still sits under the canonicalised root, refusing a symlink or
a Windows junction that would otherwise redirect outside it. List, read,
write and create all run both checks before touching disk.

Regression tests cover the review's own examples (a parent segment, an
absolute path, the three Windows-shaped forms) for Create, the same
Windows-shaped escape for a List folder path, and a symlink (Unix) or
junction (Windows) placed inside the root for list, read and write, each
against a sibling sentinel file and directory that must stay untouched.
2026-11-16 23:48:02 -05:00
skylar taylor-barrick d93b55f7ff fix(cloud): retain conflict-copy identity through retries 2026-11-16 23:48:02 -05:00
William Dunn 658cc01501 craft-ui cloud: stop using unreachable in the conflict modal tests
clippy::unreachable is denied at the crate root with no in-tests
carve-out, unlike unwrap, expect and panic. The three let-else
fallbacks in conflict_tests.rs now panic with a message instead,
matching the pattern used everywhere else in this crate's tests.
2026-11-16 23:48:02 -05:00
William Dunn c5e9e87309 craft-cloud-local: fix stale etag and racing create
Read now stats the file it just read. The returned entry reflects
that read. It no longer echoes the etag of the entry passed in. A
reload after a conflict used to carry the version that was just
refused into the next save, conflicting it again.

Create opens the file with exclusive creation. An exists check no
longer precedes a separate write. Two creates of the same name can no
longer both observe an empty slot and both report success. Regression
tests drive both fixes through craft_ui::cloud's public functions
against a real folder on disk.
2026-11-16 23:48:02 -05:00
William Dunn b49ac50ed5 craft-ui cloud: fix conflict modal and session identity bugs
Reload from the conflict modal now acts on the conflicted document's
uid. Save as a copy acts on that same uid too. Neither acts on the
active tab anymore. A window with more than one document open keeps
them separate.

Sign-out bumps an account generation. Sign-in bumps it too. Each
clears busy. A job's reply carries the generation it was issued
under. A reply from an older generation gets dropped. A stale session
cannot restore its account or its files over a newer one. A job that
never answers cannot refuse every save afterward. Regression tests
for both pairs of findings run through a held backend that answers
jobs on the test's own schedule.
2026-11-16 23:48:01 -05:00
William Dunn a170341225 craft-cloud-local test: name the opened-documents type
The current clippy warns on the inline Arc Mutex tuple type in the test harness. A named OpenedDocs alias carries the same meaning.
2026-11-16 23:48:00 -05:00
William Dunn 07d2747efc craft-cloud-local: collapse the etag conflict check into one let chain
The current clippy denies collapsible_if here. Behaviour is unchanged. A missing file still has nothing to conflict with.
2026-11-16 23:48:00 -05:00
William Dunn b1fce2be74 craft-ui cloud pages: move off deprecated egui aliases
The current egui pin denies the deprecated egui::WidgetType alias and egui::Id::new. The slice's pages (account, cloud, share, presence, the menu helper) move to egui::Role::Button and egui::Id::unique, the same spellings main's craft-ui already uses.
2026-11-16 23:47:59 -05:00
William Dunn 8334fd3c83 craft-cloud: cut-down contract plus ui pages 2026-11-16 23:47:58 -05:00
FredApps c2f9bed6c9 Integrate current shared flow fixes before stacking validation 2026-11-17 05:30:00 +01:00
aiongg bd41b0a549 Merge branch 'red/f3' into fw/mac1 2026-11-17 04:29:59 +00:00
aiongg f34f115a9a A minimized dock group is closed: the body step runs its header alone, and its body leaves no node or hit record 2026-11-17 04:29:30 +00:00
Dylan M. Taylor 6e9031edc3 Merge branch 'main' of https://github.com/storytold/craft-libs into feat/screen-video 2026-11-16 23:28:47 -05:00
Dylan M. Taylor be65dde808 Merge branch 'main' of https://github.com/storytold/craft-libs into feat/score-writers 2026-11-16 23:28:26 -05:00
aiongg 1536ecd9c2 Dock: Shift+Tab keeps the panels the host's Except names, docked and floating; Dock Panel joins the first group that takes the unit; one title row height for floating windows
- hide::shown reads ShellCx::panels_hidden: the host's Except stays, any other hide hides every panel; a hidden
  dock (Tab) hides every panel. The columns no longer skip themselves on the shell's dock visibility.
- DockTo::Docked tries the dock columns' groups, then the docked tree's, as tabs, and takes the first the model
  takes under the permissions (drop::takes), so a toolbar's group is passed over.
- DockSizes::title_row is FloatingGroup's title row height; the window commands' source, stepped window heights
  and FloatSpace::title_row use it.
- Trials: hidden.rs, dock_back.rs, and the window group under the area's title row in floating_area.rs.
2026-11-17 04:26:50 +00:00
Dylan M. Taylor 6181ae557f feat(lottie): flatten borrowed gradient stops without temporary buffers 2026-11-16 23:26:35 -05:00
aiongg baaba88cec Merge branch 'red/ff' into fw/mac1 2026-11-17 04:25:52 +00:00
aiongg 33b48b72a7 Every Label node reads its words by value as well as its name, by one rule in the node writer; the label scope's patch only makes a hidden label's node, and a short caption is named by its full words 2026-11-17 04:25:09 +00:00
Dylan M. Taylor 6128eabbfb Keep aligned stored entry headers compatible with USDZ exporter 2026-11-16 23:24:27 -05:00
Dylan M. Taylorandbflatastic e66b3a7954 zip: support bounded aligned stored entry options
Co-authored-by: bflatastic <bombayapirat@gmail.com>
2026-11-16 23:23:25 -05:00
aiongg 7b0a7bf023 Merge branch 'fw/popover' into fw/mac1 2026-11-17 04:23:11 +00:00
aiongg ad16e443c5 DIAG: a secondary press's winner in arenas with members, and the canvas host's momentary tool and background phase 2026-11-17 04:22:54 +00:00
Dylan M. Taylor a6d5f86ee4 svg: pin transform composition and malformed-list parity 2026-11-16 23:22:03 -05:00
Dylan M. Taylor c2ae800d87 test(lottie): preserve raw gradient precision and alpha topology 2026-11-16 23:21:59 -05:00
Tanish Manku 89deb7fac4 feat(lottie): expose raw gradient wire values without opacity elision 2026-11-16 23:21:59 -05:00
Altynzhan KarybaiandBrandon Thomas 399ecc74de svg: share bounded compatibility transform parsing
Preserve EffectCraft source from 4035d181329e847d7a57bf3d059502ea2c91b560, based on Brandon Thomas original 94e1c86d89a866771f80ad1610afda9aa12e85d8. Algorithm unchanged; module imports only adapted.

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-11-16 23:21:07 -05:00
aiongg 82610cb78b Checkerboard trial: documents whose corners land on whole points 2026-11-17 04:20:53 +00:00
aiongg 66072b3643 Replay notes come only from the thread that runs the pass: a job thread's wake or progress report no longer takes the pass state 2026-11-17 04:20:20 +00:00
aiongg 860e108d52 A row notice in an unbounded room keeps its natural width (DIAG: notice rooms and the Content-Aware Fill body rect) 2026-11-17 04:17:32 +00:00
aiongg 5c50580db9 Sensing: a press past the root's clip (automation's) is taken by a part that shows inside the clip, never by one the clip hides wholly; suite drives skip wholly hidden parts of a canvas control (the clip of its arena), and the corner widgets' drive grips a widget the fixture shows 2026-11-17 04:15:51 +00:00
aiongg a4d5004009 Dock: a floating window keeps the edge its collapsed strip was dropped near; icons float collapsed under the pointer; top grips keep the bottom edge; a column that cannot collapse offers no collapse 2026-11-17 04:15:48 +00:00
aiongg d8a6478210 The checkerboard's light cell sits at the picture's top-left corner on screen, wherever the view puts it 2026-11-17 04:11:45 +00:00
aiongg 375a29d480 A dialog opened in a pass takes that pass's Escape wherever it was routed, also after the opening press moved focus 2026-11-17 04:09:47 +00:00
Dylan M. TayloranddotCooCoo 453b0da782 Restore XLSB fixtures and Unix atomic-report test compilation (#1994)
* xtask: delegate Unix group restoration in report test filesystem

* craft-xlsx: xlsb tests unwrap the zip fixture's Result

#1386 made the test zip writer return Result<Vec<u8>, Error>. The xlsb
tests from #1263, #1323, #1330 and #1337 merged alongside it and still
used the return value as bytes, so `cargo check --workspace --tests`
failed on main with seven E0308 errors in crates/xlsx/tests/xlsb.rs.
These call sites now unwrap the result, as #1386 did for the others.

---------

Co-authored-by: dotCooCoo <RobertLeeLW@gmail.com>
2026-11-16 23:06:56 -05:00
aiongg c481e1c1fd The freehand Lasso follows every move from its press, so a lasso drawn inside the click distance selects 2026-11-17 04:06:12 +00:00
aiongg 759abc01ab The Magnetic Lasso closes within 8 screen points of its first point, so a click where the outline began closes it 2026-11-17 04:04:56 +00:00
aiongg 2f35c5be59 Dock UI: a stepped column's double arrow is named for the steps it switches to; a floating stepped window's left grip keeps its right edge 2026-11-17 04:03:22 +00:00
aiongg c3d7655b9e Shell and mock: AppShell::tools and Slot::columns removed; the gallery mock's toolbar is a stepped dock column drawn through group_view, with a collapsed Navigator column and flyout binding 2026-11-17 04:03:17 +00:00
Dylan M. Taylor 064afccce8 craft-penpot: incremental container writer for bounded serialization (#1985) 2026-11-16 23:01:56 -05:00
aiongg 6d972e35ed Rails: ToolRail lays out the columns its width holds with a measure and dock grid; PanelRail and the CanvasPanel rail removed 2026-11-17 03:59:55 +00:00