Commit Graph
7039 Commits
Author SHA1 Message Date
aiongg 3c2d6360c6 Merge branch 'fw/mac1' into fw/press-route 2026-11-17 05:32:46 +00:00
aiongg a70609d944 Press routing: exactly one root starts a press, the one whose shape is on top under it
The shape record keeps each shape's place in the pass's paint order and the clip it shows through, and which
root a transformed body layer belongs to. pointer::press_winner resolves every root recorded on the topmost layer
at the press (a body layer's root beneath its body) and gives the press to the root whose winning shape was
recorded last; egui's targets stay only to tell a raw egui widget on top. The sensing core starts a press on that
root alone, so a control under a later body-sized widget takes its press and a frame handle over a nested editor
wins over the editor. Member widgets over nested roots, which only steered egui's target, are gone.
Trials: a control under a later body widget; one root of three overlapping ones starts each press.
2026-11-17 05:31:53 +00:00
aiongg f42157c78b Merge branch 'fw276/check' into fw/mac1 2026-11-17 05:25:39 +00:00
aiongg 952556cf62 FW-276 trials: drop a diagnostic trial 2026-11-17 05:25:27 +00:00
aiongg 660daa69a1 Merge branch 'red/f3' into fw/mac1 2026-11-17 05:25:10 +00:00
aiongg a6c2980bb4 FW-276 trials: a context request on a collapsed floating window's band opens its menu, and Close closes the window 2026-11-17 05:25:07 +00:00
aiongg 6c358f48d2 A container that scrolls one axis keeps an axis it was measured unbounded along unbounded for its children, so a row given no width never lays a child out in a NaN room 2026-11-17 05:24:50 +00:00
aiongg c5a2c52386 Dock UI: a collapsed floating window's title row is its column's bar alone, the band and the double arrow; its menu opens from the band 2026-11-17 05:24:12 +00:00
aiongg 46b8754c10 cl: app mode from [workspace.metadata.cl], one CL_LAUNCHER/CL_RUNNER pair
An app workspace declares its selection, tracked crates, expected features,
environment, shards, default test times, run slots and test threads in its
root Cargo.toml; cl reads them from cargo metadata and refuses unknown keys
and wrong types. The PhotoCraft constants and CL_PC_LAUNCHER/CL_PC_RUNNER
are gone: every workspace uses CL_LAUNCHER and CL_RUNNER. `cl build
<example>` builds any example over the selection. Drops a committed
__pycache__ file and ignores __pycache__/.
2026-11-17 05:23:34 +00:00
aiongg 757d559fd1 Merge branch 'red/p2fw' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg 2bf4f78ea9 Merge branch 'fw/popover' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg ef0bee0346 Merge branch 'red/f2' into fw/mac1 2026-11-17 05:21:34 +00:00
aiongg 9029506f92 FW-276 stories: the collapsed floating window story covers the ordinary look; it shows no mixed value 2026-11-17 05:21:33 +00:00
dotCooCoo 5a0f824678 Add craft-audio-dsp: compressor, limiter, equalizer, loudness meter and other effects
Adds crates/audio-dsp. It combines FilmCraft's crates/audio-dsp
(3f137a7) and SoundCraft's crates/dsp (648ed9d): the AudioEffect trait
and its registry, the effects, a BS.1770-4 / EBU R 128 loudness meter,
panning, channel layouts, test signals, resampling, time stretch,
offset search and ducking. NOTICE keeps both projects' copyright
notices.

- pan::direction_gains sends an ear-level direction to the height
  speakers at full level when a layout has no ear-level speakers,
  instead of returning silence.
- realtime_factor_sanity compares processing time with the wall clock
  and is now ignored by default.
- The crate inherits the workspace package fields and lints, and
  ATTRIBUTION.md lists it.
2026-11-16 21:20:51 -08:00
aiongg e1e4a8755b FW-276 trials: a floating window's title-row point lies on its band, clear of the actions the double arrow moved 2026-11-17 05:20:30 +00:00
aiongg d29927b928 FW-276 merge fixes: the rail sets its roving grid on its own props, trials import the traits they call 2026-11-17 05:17:42 +00:00
aiongg 22865ab172 DIAG: the press machine's step and open press of an arena with members on a secondary press (space_hand_view_menu_keeps_escape_and_enter_from_the_pending_crop) 2026-11-17 05:15:46 +00:00
aiongg 5e95f9e37d DIAG: the node an AccessKit Focus request names, as route_access finds it (every_displayed_shortcut_dispatches_from_where_focus_usually_is) 2026-11-17 05:14:47 +00:00
aiongg 689a48bd2e DIAG: why an arena with members refuses a secondary press (space_hand_view_menu_keeps_escape_and_enter_from_the_pending_crop) 2026-11-17 05:14:47 +00:00
aiongg 7c1d7e60b6 A reveal moves no view along an axis its rect already spans: a canvas-wide control under the rulers keeps the view still
DIAG: the canvas prints each reveal it takes (command_drag_over_a_guide_moves_the_guide_with_any_tool).
2026-11-17 05:14:47 +00:00
aiongg ec64d98b70 A full-window side column's paragraphs wrap at a dialog's line length, and a row notice offered no room takes at most the column's room (DIAG: notice widths in the Content-Aware Fill tests) 2026-11-17 05:13:50 +00:00
aiongg 4f53e27dba Pages: page children take their scope id from the framework's id derivation
Each page's child Ui, measured or shown, is scoped by its page id (memory::sub
of the set's base), as a lazy child is, not salted by hand.
2026-11-17 05:13:49 +00:00
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