Commit Graph
5577 Commits
Author SHA1 Message Date
aiongg 53936661ef ci: warm the build cache after the build, link Windows with rust-lld, start the slowest tests first 2026-11-18 14:49:57 +00:00
aiongg 50fd4baa93 Merge pull request #2189 from aiongg/lint-tuple-index
design-lint: a tuple field in an assert is not a literal size
2026-11-18 08:52:52 -05:00
aiongg f9a53dd0ee Merge pull request #2129 from aiongg/settle-chrome
Dock and title chrome settle like panel bodies (photocraft#15493)
2026-11-18 08:52:26 -05:00
aiongg d68476cf46 Merge pull request #2081 from aiongg/update-available
update: Updater::available exposes the release a check or offer found
2026-11-18 08:51:43 -05:00
aiongg 999f4583c4 Merge pull request #2182 from aiongg/contract-stack
contract: a component's run keeps only what it reads after its children on the stack
2026-11-18 08:51:16 -05:00
aiongg 780c13fa81 Merge pull request #2127 from aiongg/toolbar-overlay-scroll
Toolbar: hover-only overlay scroll bar, one named drop mark per dock drag (photocraft#15524, photocraft#15526)
2026-11-18 08:50:18 -05:00
aiongg 076fa67056 Merge pull request #2080 from aiongg/histogram-native-expand
Native dock windows: the app's move is known from the window's first pass
2026-11-18 08:49:51 -05:00
aiongg ee721253f3 Merge pull request #2072 from aiongg/label-scope-nested
Label scope: a field label reaches a control inside a layout row
2026-11-18 08:49:29 -05:00
aiongg 517257dba5 settle chrome: the settled menu bar trial runs as a PC app
A Mac app's menu bar is native, so the in-window bar's F10 and Alt keys are PC behaviour; the trial sets Linux as the rig's other trials do.
2026-11-18 10:58:51 +00:00
aiongg 95ed268bf5 design-lint: a tuple field in an assert is not a literal size
`pair.1.0` lexes as `pair`, `.`, `1.0`, so test/literal-size read the field access as the float 1.0.
2026-11-18 09:40:28 +00:00
aiongg 0139ee11ae settle chrome: the settled bar trial runs its four frames again, and the docking runs name their settled dock
`(0..4).map(|_| frame()).next_back()` runs the frame once, not four times: a Map over a range steps from the back
without calling the closure for the other items. The trial runs three frames and checks the fourth.
2026-11-18 09:35:37 +00:00
aiongg 6d3dceca44 settle chrome: the column bar scopes without an id salt, and the tests drop the deprecated Ui::id and unused mut 2026-11-18 08:33:28 +00:00
aiongg b15eeaa81f contract: the measure run's layer goes through runtime::egui::areas 2026-11-18 08:30:30 +00:00
aiongg c60f9c9066 contract: clippy-clean after the stack split
Drops the three cognitive_complexity expects the split made unfulfilled, the borrows of cx.core that is already a reference, and moves BodyOwner's doc line back onto it.
2026-11-18 07:38:22 +00:00
aiongg b77d8760c3 contract: a component's run keeps only what it reads after its children on the stack
A component's children run inside its pipeline (the measuring run of step 5, the overlay, paint, the body and
paint_over), so every frame on that path stays on the stack for each nesting level. The level kept all of steps 1 to
17's working state there: CxCore moved by value through the dyn call into Cx, the component taken out of Typed into
with_cx, and run_steps, run_in_host and the body step each one function with every step's locals.

- Cx holds `&mut CxCore`; the run builds the core once, in run_passes, out of the frame step 5's measuring runs
  recurse from. finish keeps its signature.
- The show's caller makes the component's slot; Typed borrows it and finish takes it out after the children ran.
- run_steps, run_in_host, the body step and the measuring run are drivers over per-step functions; what crosses a
  child's run is a small state struct (Begun, HostStep, BodyPlan, MeasurePlan).
- Layouts, label columns and region contexts build their Ui, UiBuilder and BodyCx in helpers, and each body layout
  and label-column arm runs in its own function.
- Helpers that opt-level 2 merges back into a recursive frame are inline(never).

A body sixteen containers deep shows on a 512 KiB stack (body::nesting).
2026-11-18 07:27:48 +00:00
aiongg b403320bc8 Merge pull request #2167 from aiongg/next-select-os
ci: a push to next selects no platform legs
2026-11-18 00:44:35 -05:00
aiongg f4d82eb6a1 ci: a push to next selects no platform legs 2026-11-18 05:43:53 +00:00
aiongg 2f120c6830 Merge pull request #2166 from aiongg/dev-profile-local
build: dev-build tuning lives in cl; Cargo.toml profiles match main
2026-11-18 00:42:46 -05:00
aiongg 50362dd2c4 build: dev-build tuning lives in cl; Cargo.toml profiles match main 2026-11-18 05:40:33 +00:00
aiongg caf0f01d00 Merge remote-tracking branch 'upstream/next' into settle-chrome 2026-11-18 05:29:08 +00:00
aiongg 36749e88a3 Merge remote-tracking branch 'upstream/next' into toolbar-overlay-scroll 2026-11-18 05:29:05 +00:00
aiongg 04e1f2eda9 Merge remote-tracking branch 'upstream/next' into histogram-native-expand 2026-11-18 05:28:58 +00:00
aiongg 17b0f020f7 Merge remote-tracking branch 'upstream/next' into update-available 2026-11-18 05:28:55 +00:00
aiongg 8bb7cc1223 Merge remote-tracking branch 'upstream/next' into label-scope-nested 2026-11-18 05:28:53 +00:00
aiongg 5455191f60 Merge pull request #2075 from aiongg/next-ci-baseline
Fix next's CI baseline: action pins, rustfmt, doc link, clippy
2026-11-18 00:26:14 -05:00
aiongg a61e91f4c7 story suite: the settle checks run on one OS
On macOS the menu bar moves to the system menu, so a MenuBar story draws nothing in the window and the leaf-allocation check failed on macOS runners. The checks (allocates, stable id and size, one pass) hold on every OS.
2026-11-18 03:55:02 +00:00
aiongg 80c7fd661c menu bar and list tests: PC keys on every runner
The in-window menu bar, its Alt, F10 and letter keys, and Ctrl moving only a list's lead are PC behaviour. The fixtures took the host's OS, so the tests failed on macOS runners.
2026-11-18 02:45:07 +00:00
aiongg 5e56f5c98b icon id scan: only crates that use icon ids
craft-cloud-ui is plain egui: its menu item's icon("..") is a text glyph, not a catalog id.
2026-11-18 02:20:23 +00:00
aiongg 72df1059bf cloud docs: no links to private items, as the workspace docs check requires 2026-11-18 01:42:39 +00:00
aiongg 06125b23ba ci: next's gate matches main's text except its Linux-only pushes
The workspace script tests pin main's gate. Clippy runs without --keep-going as on main, the
facade-as-an-app clippy moves to the Docs workflow, and the unix gpu test group is back.
2026-11-18 01:25:41 +00:00
aiongg 0d5611ea36 craft: the facade lists the member crates and features from the 18 Nov sync 2026-11-18 01:22:22 +00:00
aiongg 4d22e6b958 Merge storytold main d6b5b16bbb into next (18 Nov sync)
- Workflows: main's per-crate layout, with next in the push triggers, Linux only for pushes to
  next, next's crate features (keymap egui, window and update ui) and test paths (crw samples and
  the pdf fixtures run inside the lib's test binary). The workspace gate keeps --keep-going and
  the facade-as-an-app clippy from next's ui.yml. Per-crate doc steps live in docs.yml, which also
  documents craft-ui, the ui-* crates, craft-doc and craft-pdf with every feature. docpath, i18n,
  print and ui workflows go, as on main. actions.lock lists docs.yml and theme.yml.
- Main's cloud and share UI (account, cloud, share, presence, the overflow menu and split button)
  lives in the new crate craft-cloud-ui as main wrote it; the craft-ui facade forwards share and
  cloud and re-exports account, cloud, share and presence, so craft-cloud-local builds unchanged.
- audio and media: main's new tests join tests/main.rs under their features.
- cms: main's new synth and FOGRA39 tests, with the fogra39() helper they use.
- nextest: no gpu group on unix; next's tests create no GPU device.
2026-11-18 01:22:22 +00:00
aiongg 988aea1845 timeline: the row-menu test presses the Menu key on a PC shell
A Mac keyboard has no Menu key and the shell reads it only off the Mac, so the test failed on
macOS runners.
2026-11-18 00:28:14 +00:00
aiongg fe51208f1d Settle check reads only the menu bar's id, and only with menu keys; run records stay private
runtime::replay is crate-private again; its journal is re-exported for the crates whose services keep per-pass registrations.
2026-11-18 00:23:14 +00:00
aiongg 26ba3c1196 Docs: what the dock's spec version covers and when panel_rows runs; a host keeps its Arc<Host> across frames
Trial: a settled child runs again when the host switches the language.
2026-11-18 00:23:14 +00:00
aiongg 5f10a501e4 Dock chrome settling: a group keeps its ids when its first tab changes
The group's scope takes the parent's next id, as the group did before it settled, and its Lazy is keyed by that scope's unique id; a column bar's Lazy is keyed by its scope's id under the column. Both stay unique inside a scroll area. Trials: a tab moved to the front keeps the shown body's ids, and Close in a settled group's panel menu closes the panel.
2026-11-18 00:23:14 +00:00
aiongg 12b9ac772f Menu bar keys reach a settled menu bar
The focus record keeps which bar registered for the menu keys, the registration is journaled so a replay makes it again, and a pass with menu keys counts them as routed to that bar, so it runs and takes F10, a lone Alt and Alt with a letter.
2026-11-18 00:08:33 +00:00
aiongg 381215eb5b Dock chrome settling: a run covers its group or bar, and drop-spot registration takes Sync panel types
A group's and a bar's run take no room in flow, so the settled run's rect is the group's or the band's: the pointer over it runs it again. A run record keeps each drop-spot registration, so the registering functions ask for Sync panel types; resolving keeps its bounds.
2026-11-18 00:08:33 +00:00
aiongg b5b0e6b6fd Trials: settled dock chrome, a drop on a settled group, a theme change and a settled menu bar's keys 2026-11-17 23:59:57 +00:00
aiongg fc585f6227 Window caption parts: a settled region declares them again when it replays
A title bar that settles keeps the caption record the Windows hit test reads.
2026-11-17 23:57:45 +00:00
aiongg 6836ba18dc DockArea: groups and column bars settle by the host's spec version and the arrangement
DockPanels::spec_version versions the panels' specs, permissions and group headers. With it, each group's header and tab strip settle as a Lazy keyed by the pass's chrome key (spec version, config, lock, Auto-Collapse and the arrangement's panels and states, sizes left out), the shown body's version and how the group shows; the column bars take the chrome key. The tab titles, panel menu rows and command states are built only when a group runs.
2026-11-17 23:57:06 +00:00
aiongg c6d490f826 Dock columns: a content version settles the column bar
DockColumn and IconicColumn take the version of what their bar shows; with one, the bar's grip and menu replay their last run while nothing they show changed.
2026-11-17 23:57:06 +00:00
aiongg e55ae75b95 Dock drop spots: a settled region registers them again when it replays
DockTargets notes each registration in the open run records, so a group or column that replays its last run keeps its drop spots, room and bands.
2026-11-17 23:53:08 +00:00
aiongg 725df6bf03 Settling: a region runs again when its environment changes (theme, density, scale, language, window active)
The env key folds in the generation of the scope's built-in words, and a settling child's place holds the env key it ran under.
2026-11-17 23:52:35 +00:00
aiongg f873abce2c Trials and a short-room story for the overlay bar and the named region mark 2026-11-17 23:44:00 +00:00
aiongg 2121d228ed Dock drags: one region mark that carries the panel's name, no frame at the pointer (photocraft#15526) 2026-11-17 23:40:54 +00:00
aiongg b2c8635980 Scroll: an overlay bar in the padding that shows under the pointer; the tool rail and bars use it (photocraft#15524) 2026-11-17 23:39:22 +00:00
aiongg 8648f6743b gitattributes: the craft facade manifest keeps LF on checkout 2026-11-17 23:14:08 +00:00
aiongg 27e28cd24e menu: the bar and context rows take the shell's platform unless one is set
MenuBarUi and context::rows used the build's target, so a test that runs the shell as Linux on
a Mac runner still got a Mac bar without Alt letters. They read Target::of_shell from the
frame's Env, as the shortcut column already does; the CJK mnemonic test runs as Linux.
2026-11-17 22:58:38 +00:00
aiongg d6b5b16bbb Merge pull request #2113 from aiongg/ci-speed-b
ci: lint leg, cached corpora, platform legs only when needed, superseded main runs cancelled
2026-11-17 17:57:30 -05:00