Commit Graph
7390 Commits
Author SHA1 Message Date
bflatastic a48f67a91f automation: ControlClient::call_until stops waiting when cancelled; connect and replies honour CONNECT_TIMEOUT and MAX_REPLY_BYTES 2026-11-22 04:03:10 +07:00
bflatastic 27795829f9 Merge remote-tracking branch 'origin/next' into sync/next 2026-11-22 03:54:10 +07:00
bflatastic 086cbb61a2 ui-contract: part_senses is not suite-only (a collection row reads it for pressing parts) 2026-11-22 02:29:39 +07:00
aiongg 9ccaa3bdd6 Merge pull request #2872 from aiongg/memo-sizing-key
Memoized views replay in sizing passes (#2336)
2026-11-21 14:24:39 -05:00
bflatastic 2b261f3511 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/imaging/src/ui/layer_style/list.rs
2026-11-22 02:24:04 +07:00
Dylan M. Taylor 699f08b901 Merge pull request #2433 from vangel76/fix/checkbox-sweep-3333
Check or clear related checkboxes in one drag
2026-11-21 14:21:44 -05:00
bflatastic 1f671adbeb Docking trials: upstream's macOS click holds the primary button through FakeSystem::set_buttons_held 2026-11-22 02:16:28 +07:00
bflatastic a9ae38864a A memoized view in a shrinking row reports no fit rank: report_shrink's rank argument added to upstream's new caller 2026-11-22 02:16:27 +07:00
bflatastic 5ecba486c3 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/behavior/src/overlay.rs
#	crates/ui-canvas/src/canvas_controls/guides/mod.rs
#	crates/ui-contract/src/contract/label/step.rs
#	crates/ui-contract/src/contract/overlay/placement.rs
#	crates/ui-contract/src/contract/tooltip.rs
#	crates/ui-patterns/tests/it/docking/native.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-22 02:11:13 +07:00
bflatastic d14207f668 One alias for a host's name check (NameRefuses) in the PDF and print dialogs; the swatch thumb painter's boxed type named; a doubled must_use dropped 2026-11-22 02:03:59 +07:00
bflatastic 5f4c1f282d cargo fmt on the merged crates 2026-11-22 01:57:31 +07:00
bflatastic a3cbd1070f Trials: Id::unique for upstream's deprecated Id::new; an unused import 2026-11-22 01:53:46 +07:00
bflatastic 4a76442e8f Port trials follow upstream's APIs: the guides rig without a body rect, in-place tidy and English names on the menu model, page-aware document points 2026-11-22 01:53:46 +07:00
bflatastic 5e71eb0e3c ui-canvas: upstream's task bar drag trial expects the port's offset for an unpinned drop 2026-11-22 01:53:45 +07:00
bflatastic 6647bdd488 text: upstream's Find trial reads the contract's find and replace fields 2026-11-22 01:53:44 +07:00
aiongg 13353a0fd3 Merge pull request #2778 from aiongg/wc-regressions
Go To lands on the page, reveals stay in their scroll owner, the ribbon measures in its first frame
2026-11-21 13:48:35 -05:00
bflatastic 64aee5af2c color-ui and draw stories bind through data.bind, value_at and pair_at, as upstream's do 2026-11-22 01:48:07 +07:00
bflatastic b6a424608b draw: slice dialogs module is pub(crate) for upstream's registry 2026-11-22 01:48:06 +07:00
bflatastic 9e66233830 Presets: one source over prebuilt rows (PresetSource::listed), NameCheck::of_host for a host's closure, and Naming public; the PDF and print dialogs keep their contract closures and check through them 2026-11-22 01:48:05 +07:00
bflatastic 20b8821011 Port types in upstream's memoized models are memo props and plain data: Alternate, ThumbAspect, FacePaint (by key), LabelUnderline, DataColor, the font height glyph 2026-11-22 01:48:05 +07:00
bflatastic ed0c7f5ffc menu: the context menu's level labels take upstream's Node::Heading 2026-11-22 01:48:04 +07:00
bflatastic eb3c799356 ui-patterns stories: the port's About stories pass upstream's with_mark; rows stories bind through data.bind 2026-11-22 01:41:15 +07:00
bflatastic 1b1f519547 ui-canvas: the pasteboard's page names read upstream's least layout 2026-11-22 01:41:14 +07:00
bflatastic 9903520550 ui-shell: options_place is pub(crate) so upstream's registry reaches its stories 2026-11-22 01:41:13 +07:00
bflatastic 8c03deaab5 pdf_export: check_name keeps the contract's closure, boxed; the name field checks through check_with over it 2026-11-22 01:41:12 +07:00
bflatastic 0f9af5527c SelectMode, GroupHeads, PresetRowMenu and Selection are memo props, for the presets browser's memoized view 2026-11-22 01:41:12 +07:00
aiongg 72cc7a131d Merge pull request #2840 from aiongg/frame-cost-15493
Frame cost: tooltip text and AccessKit data only when needed
2026-11-21 13:38:59 -05:00
bflatastic 495f8bb53b ui-panels: the memoized tool grid reruns every pass while the host passes tips, keeping the contract's ToolTips trait 2026-11-22 01:36:52 +07:00
bflatastic 4257432349 Label is plain data and ArmedFor memo props, as upstream's tracked rails and env values need 2026-11-22 01:36:51 +07:00
bflatastic b9ac6ab349 Stories bind story values through data.bind, as upstream's do 2026-11-22 01:33:52 +07:00
bflatastic 70d1d2ee1c Story modules of section_list and AxesButton follow upstream's suite registry 2026-11-22 01:33:51 +07:00
bflatastic 43ae81394e ui-patterns: the dock area derives its prune through PruneKey::new and hide::shown; a held form keeps a blocking host refusal shown until the host withdraws it 2026-11-22 01:33:51 +07:00
bflatastic ab7554e1e9 Upstream's selection matches take the port's CollectionEvent::Selection struct variant 2026-11-22 01:33:38 +07:00
bflatastic 21bec17fa5 ui-widgets: SwatchTable forwards upstream's hover_lead; the removed MenuSamplePaint export goes 2026-11-22 01:33:36 +07:00
bflatastic cfb9ec9c6e dialogs: the chooser's Save answers Answer::Saved with the type picked, and a browser save answers Picked::Saved, so name settling and records_file follow upstream's save path 2026-11-22 01:33:35 +07:00
bflatastic b2b9a7e104 ui-contract: port fields in upstream's literals and calls (span link, run link colour, fill raster, Id::unique) 2026-11-22 01:29:04 +07:00
bflatastic 43c03001ab ui-contract: measure-ahead leaves a detail row's height to the shown row, so it no longer asks for a discard every frame 2026-11-22 01:29:03 +07:00
bflatastic b828193b35 ui-contract: port types meet upstream's memo and replay bounds (ShownFact, ScrubDrags, ZoomScheme); one public keymap 2026-11-22 01:29:02 +07:00
bflatastic c3c9440a8c ui-contract: one access-tree store: the host's access_tree reads upstream's settled trees; the port's kept store is gone 2026-11-22 01:29:01 +07:00
bflatastic fb3c667817 behavior: HitShape::Excluding in upstream's translated and snapped; the rename trial reads Workspace through its accessors 2026-11-22 01:22:54 +07:00
Dylan M. Taylor 5aee23ed85 Test immediate checkbox click after a sweep on the same control 2026-11-21 13:22:19 -05:00
Dylan M. Taylor 89032df543 Merge commit 'refs/prep/next' into dot-checkbox-2433 2026-11-21 13:21:38 -05:00
bflatastic 03ef0d0817 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/automation/Cargo.toml
#	crates/automation/src/client.rs
#	crates/automation/src/control.rs
#	crates/automation/src/screenshot.rs
#	crates/automation/src/synthetic.rs
#	crates/automation/tests/it/main.rs
#	crates/automation/tests/it/synthetic.rs
#	crates/color-ui/src/palette.rs
#	crates/color-ui/src/ui/area.rs
#	crates/color-ui/src/ui/disc/stories.rs
#	crates/color-ui/src/ui/mod.rs
#	crates/color-ui/src/ui/paint_chip.rs
#	crates/color-ui/src/ui/pair/stories.rs
#	crates/color-ui/src/ui/palette/stories.rs
#	crates/color-ui/src/ui/panel.rs
#	crates/color-ui/src/ui/picker/stories.rs
#	crates/color-ui/src/ui/picker_dialog.rs
#	crates/color-ui/src/ui/swatches/library.rs
#	crates/color-ui/src/ui/swatches/panel.rs
#	crates/color-ui/src/ui/swatches/stories.rs
#	crates/color-ui/src/ui/wheel/stories.rs
#	crates/color-ui/tests/it/main.rs
#	crates/color-ui/tests/it/panels.rs
#	crates/color-ui/tests/it/picker.rs
#	crates/dialogs/src/lib.rs
#	crates/dialogs/src/native.rs
#	crates/dialogs/src/portal.rs
#	crates/dialogs/src/service.rs
#	crates/draw/src/ui/brush_presets/panel.rs
#	crates/draw/src/ui/brush_presets/picker.rs
#	crates/draw/src/ui/brush_presets/stories.rs
#	crates/draw/src/ui/gradient/palette/mod.rs
#	crates/draw/src/ui/pattern/editor.rs
#	crates/draw/src/ui/pen/stories.rs
#	crates/draw/src/ui/transform/mod.rs
#	crates/draw/src/ui/transform/transform_box.rs
#	crates/draw/src/ui/transform/transform_box/stories.rs
#	crates/draw/src/ui/transform/transform_fields.rs
#	crates/draw/tests/it/brush_presets.rs
#	crates/draw/tests/it/main.rs
#	crates/draw/tests/it/transform_box.rs
#	crates/font-manager/src/axes.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/font-manager/tests/it/main.rs
#	crates/font-manager/tests/it/picker.rs
#	crates/host/src/files.rs
#	crates/i18n/src/lib.rs
#	crates/imaging/src/ui/layer_style/styles.rs
#	crates/keymap/src/keymap.rs
#	crates/keymap/src/matcher.rs
#	crates/layers/src/ui/filter/mod.rs
#	crates/layers/src/ui/filter/stories.rs
#	crates/layers/src/ui/mock.rs
#	crates/layers/src/ui/panel/mod.rs
#	crates/layers/src/ui/panel/stories.rs
#	crates/layers/src/ui/tree.rs
#	crates/layers/tests/it/panel_drag_menu.rs
#	crates/layers/tests/it/panel_filter.rs
#	crates/menu/src/bar.rs
#	crates/menu/src/driver.rs
#	crates/menu/src/model.rs
#	crates/menu/src/shortcuts/pages.rs
#	crates/menu/src/shortcuts/state.rs
#	crates/menu/src/shortcuts/stories.rs
#	crates/menu/src/shortcuts/view.rs
#	crates/menu/tests/it/main.rs
#	crates/menu/tests/it/native.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/pages/src/ui/mod.rs
#	crates/pages/src/ui/view.rs
#	crates/platform/README.md
#	crates/platform/src/clipboard_tests.rs
#	crates/platform/src/open.rs
#	crates/print/src/ui/stories.rs
#	crates/text/src/ui/character.rs
#	crates/text/src/ui/character/stories.rs
#	crates/text/src/ui/find.rs
#	crates/text/src/ui/find/dialog.rs
#	crates/text/src/ui/find/stories.rs
#	crates/text/src/ui/ruler.rs
#	crates/text/src/ui/ruler/paint.rs
#	crates/text/src/ui/ruler/run.rs
#	crates/text/tests/it/main.rs
#	crates/text/tests/it/ruler.rs
#	crates/ui-canvas/src/canvas/mod.rs
#	crates/ui-canvas/src/canvas/tool.rs
#	crates/ui-canvas/src/canvas/tool_host.rs
#	crates/ui-canvas/src/canvas_controls/grid/mod.rs
#	crates/ui-canvas/src/canvas_controls/grid/stories.rs
#	crates/ui-canvas/src/canvas_controls/guides/stories.rs
#	crates/ui-canvas/src/canvas_controls/task_bar.rs
#	crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
#	crates/ui-canvas/tests/it/canvas/navigate.rs
#	crates/ui-canvas/tests/it/canvas/rulers.rs
#	crates/ui-canvas/tests/it/canvas/tool.rs
#	crates/ui-canvas/tests/it/canvas_controls/grid.rs
#	crates/ui-contract/src/contract/body/presses.rs
#	crates/ui-contract/src/contract/items/drag.rs
#	crates/ui-contract/src/contract/items/hooks.rs
#	crates/ui-contract/src/contract/items/lead.rs
#	crates/ui-contract/src/contract/overlay/placement.rs
#	crates/ui-contract/src/contract/overlay/props.rs
#	crates/ui-contract/src/contract/overlay/ui.rs
#	crates/ui-contract/src/contract/steps/label.rs
#	crates/ui-contract/src/contract/text.rs
#	crates/ui-contract/src/contract/tooltip.rs
#	crates/ui-contract/src/layout/body.rs
#	crates/ui-contract/src/primitives/draw.rs
#	crates/ui-contract/src/primitives/icon.rs
#	crates/ui-contract/src/primitives/mod.rs
#	crates/ui-contract/src/primitives/textures/thumbnails.rs
#	crates/ui-contract/src/runtime/commands/board.rs
#	crates/ui-contract/src/runtime/commands/mod.rs
#	crates/ui-contract/src/runtime/drag.rs
#	crates/ui-contract/src/runtime/egui/input.rs
#	crates/ui-contract/src/runtime/egui/plugin.rs
#	crates/ui-contract/src/runtime/frame.rs
#	crates/ui-contract/src/runtime/keys.rs
#	crates/ui-contract/src/runtime/keys/input.rs
#	crates/ui-contract/src/runtime/keys/route.rs
#	crates/ui-contract/src/runtime/pointer.rs
#	crates/ui-contract/src/runtime/wheel.rs
#	crates/ui-contract/src/runtime/windows.rs
#	crates/ui-contract/src/runtime/windows/viewport.rs
#	crates/ui-contract/src/style/cx.rs
#	crates/ui-contract/src/style/span.rs
#	crates/ui-contract/src/testing/access.rs
#	crates/ui-contract/src/testing/icon_trials.rs
#	crates/ui-contract/tests/it/body/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-contract/tests/it/runtime/wheel.rs
#	crates/ui-contract/tests/it/runtime/windows.rs
#	crates/ui-contract/tests/it/text/editor.rs
#	crates/ui-gallery/src/mock/panels.rs
#	crates/ui-panels/src/dialog/mod.rs
#	crates/ui-panels/src/docking/group.rs
#	crates/ui-panels/src/rails/drawer/stories.rs
#	crates/ui-panels/src/rails/tool.rs
#	crates/ui-panels/src/rails/tool/stories.rs
#	crates/ui-panels/src/rails/tool/trials.rs
#	crates/ui-panels/src/sections/footer.rs
#	crates/ui-panels/tests/it/dialogs.rs
#	crates/ui-patterns/src/patterns/dock/hide.rs
#	crates/ui-patterns/src/patterns/dock/panes.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
#	crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/list_manager.rs
#	crates/ui-patterns/src/patterns/form_dialogs/list_manager/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/mod.rs
#	crates/ui-patterns/src/patterns/form_dialogs/new_document.rs
#	crates/ui-patterns/src/patterns/form_dialogs/new_document/cards.rs
#	crates/ui-patterns/src/patterns/form_dialogs/new_document/details.rs
#	crates/ui-patterns/src/patterns/form_dialogs/param.rs
#	crates/ui-patterns/src/patterns/form_dialogs/pdf_export.rs
#	crates/ui-patterns/src/patterns/form_dialogs/pdf_export/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/report.rs
#	crates/ui-patterns/src/patterns/form_dialogs/report/stories.rs
#	crates/ui-patterns/src/patterns/form_dialogs/rows.rs
#	crates/ui-patterns/src/patterns/form_dialogs/save_for_web.rs
#	crates/ui-patterns/src/patterns/form_dialogs/save_for_web/hosted.rs
#	crates/ui-patterns/src/patterns/form_dialogs/save_for_web/model.rs
#	crates/ui-patterns/src/patterns/form_dialogs/save_for_web/options.rs
#	crates/ui-patterns/src/patterns/form_dialogs/save_for_web/stories.rs
#	crates/ui-patterns/src/patterns/panels/palette.rs
#	crates/ui-patterns/src/patterns/panels/palette/stories.rs
#	crates/ui-patterns/src/patterns/preferences/document/model.rs
#	crates/ui-patterns/src/patterns/preferences/page.rs
#	crates/ui-patterns/src/patterns/preferences/window.rs
#	crates/ui-patterns/src/patterns/preferences/window/stories.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-patterns/src/patterns/presets/browser/stories.rs
#	crates/ui-patterns/src/patterns/presets/manager.rs
#	crates/ui-patterns/src/patterns/presets/mod.rs
#	crates/ui-patterns/src/patterns/presets/named.rs
#	crates/ui-patterns/src/patterns/presets/picker.rs
#	crates/ui-patterns/tests/it/docking/drop_session.rs
#	crates/ui-patterns/tests/it/docking/native.rs
#	crates/ui-patterns/tests/it/form_dialogs/hosted.rs
#	crates/ui-patterns/tests/it/form_dialogs/list_manager.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-patterns/tests/it/form_dialogs/params.rs
#	crates/ui-patterns/tests/it/form_dialogs/save_for_web.rs
#	crates/ui-patterns/tests/it/panels/palette.rs
#	crates/ui-patterns/tests/it/presets/browser.rs
#	crates/ui-shell/src/shell/app_shell.rs
#	crates/ui-shell/src/shell/app_shell/stories.rs
#	crates/ui-shell/src/shell/mod.rs
#	crates/ui-shell/src/shell/start.rs
#	crates/ui-shell/src/shell/start/stories.rs
#	crates/ui-shell/tests/it/commands/mod.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
#	crates/ui-shell/tests/it/shell/mod.rs
#	crates/ui-widgets/src/bars/bar.rs
#	crates/ui-widgets/src/buttons/button.rs
#	crates/ui-widgets/src/buttons/face.rs
#	crates/ui-widgets/src/buttons/mod.rs
#	crates/ui-widgets/src/buttons/stories.rs
#	crates/ui-widgets/src/choice/mod.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch/stories.rs
#	crates/ui-widgets/src/choice/swatch_table.rs
#	crates/ui-widgets/src/choice/swatch_table/stories.rs
#	crates/ui-widgets/src/display/text.rs
#	crates/ui-widgets/src/list/row.rs
#	crates/ui-widgets/src/list/row/paint.rs
#	crates/ui-widgets/src/list/stories.rs
#	crates/ui-widgets/src/list/view_stories.rs
#	crates/ui-widgets/src/menu/bar.rs
#	crates/ui-widgets/src/menu/item.rs
#	crates/ui-widgets/src/menu/search.rs
#	crates/ui-widgets/src/menu/stories.rs
#	crates/ui-widgets/src/pickers/mod.rs
#	crates/ui-widgets/src/pickers/reference_point.rs
#	crates/ui-widgets/src/pickers/reference_point/stories.rs
#	crates/ui-widgets/src/tabs/strip.rs
#	crates/ui-widgets/src/text/number.rs
#	crates/ui-widgets/src/text/number/stories.rs
#	crates/ui-widgets/src/tile_grid/grid.rs
#	crates/ui-widgets/tests/it/buttons.rs
#	crates/ui-widgets/tests/it/label/mod.rs
#	crates/ui-widgets/tests/it/label/tooltip.rs
#	crates/ui-widgets/tests/it/main.rs
#	crates/ui-widgets/tests/it/menu/bar.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
#	crates/ui-widgets/tests/it/menu/rows.rs
#	crates/ui-widgets/tests/it/menu/search.rs
#	crates/ui-widgets/tests/it/pickers/select_list.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-22 01:16:36 +07:00
aiongg 71e51851ae Merge remote-tracking branch 'upstream/next' into wc-regressions
# Conflicts:
#	crates/ui-contract/src/layout/mod.rs
#	docs/contract-api.md
2026-11-21 17:53:07 +00:00
aiongg bd5ad6d7ce Merge remote-tracking branch 'upstream/next' into frame-cost-15493
# Conflicts:
#	docs/contract-api.md
2026-11-21 17:48:56 +00:00
aiongg 059d8c9ea3 Memoized views: derived returns the same Arc while its key is unchanged 2026-11-21 17:45:03 +00:00
aiongg cfe04c3ab4 Memoized views: a row unit replays in the row's measuring sweeps
With the flow facts out of the key, the counting sweep's call keys as the real call does, and an idle frame or a
frame at the same width runs a memoized row unit in none of the row's sweeps. The trials say so: the row-unit trial
asserts no measuring run, and the counting-call trial describes the call by its flow.
2026-11-21 17:45:03 +00:00
aiongg f300c5954a Memoized views: the header trial asserts every call replayed; a measuring replay's value holds the real run's layout
The trial checks the frame's memo log: three replays (the sizing pass and the real run of each of the frame's two
passes), the last pass's real run among them. MemoView::show and the runner say that a measuring call that replays
returns the kept real run's value, laid out in that run's room and flow, so a caller that measures takes the extent
the call reports.
2026-11-21 17:45:03 +00:00
aiongg f8888f8beb Memoized views: the flow of the body around a view is a fact of its place, not of its key
A container's measuring run lays its header and end regions out as a content column, and its real run does not;
a shrinking row's counting sweep shows its units unbounded, and its least probe at their least. With those flow
facts in the scope key, such a sizing call keyed apart from the kept real run, ran as a measure and could decide
"run" for the whole pass, so the real call ran too.

The flow facts (content column, given column, content axes, least measure, unbounded axes, cell fills, and whether
the leaves fit the view's room) move into a Flow that Place (real calls) and Measured (sizing and measuring calls)
hold, and each kind of call compares its own. Only a real call reads or writes the pass decision; a measuring call
checks the key and the rest of the predicate itself each time and decides nothing for the pass. This replaces the
per-call key exception and Place.fits. Env::local_mut clears the cached scope key, so a sweep that edits its scope
keys again.
2026-11-21 17:45:02 +00:00
aiongg adcff3f70a Merge pull request #2790 from aiongg/floating-expand
Docking: a collapsed native palette expands in place on macOS; a faint grip on icon groups
2026-11-21 12:43:36 -05:00