Commit Graph
5555 Commits
Author SHA1 Message Date
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 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 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 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 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
Dylan M. TaylorandBrandon Thomas e5f00f5bf6 Extract bounded XFDF field-value reader (#2056)
* Extract bounded XFDF field-value reader

* Record retained XFDF source contributor provenance

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-11-17 23:47:23 +01:00
Dylan M. Taylor 5cd16f2b9a Merge pull request #2107 from storytold/cutover/vectordrawable-depth
vectordrawable: bounded depth option and iterative XML writer
2026-11-17 17:43:09 -05:00
Dylan M. Taylor 2e686d9668 Merge pull request #2110 from storytold/dot/jpeg-tokenless-20261117
jpeg: tokenless two-pass encoding with MCU-row scratch
2026-11-17 17:41:57 -05:00
aiongg 5f74a21acb ci: UI and update limits sized for uncached Windows builds on pull requests into next 2026-11-17 22:18:47 +00:00
aiongg 4f62bf48d8 ui-contract: a drive that changes nothing names each run and the edits it sent 2026-11-17 22:18:47 +00:00
aiongg baceabad8e pages: the margin handle stories fit the page to the stage
The story showed a Letter page at 100 % centred on the stage, so on a stage narrower than the
page the left and top margins sat outside the canvas and the drag pressed nothing. It fits the
page with the canvas's Fit on Screen, and the drive fails loudly when the Left Margin handle is
missing.
2026-11-17 22:18:47 +00:00
aiongg 019d54bfff ci(jpeg): the uncached wasm check gets a 20-minute limit 2026-11-17 22:07:49 +00:00
aiongg c016bbb209 gitattributes: theme size files and token dumps keep LF on checkout 2026-11-17 21:43:23 +00:00
aiongg 1dd6bb654c ui-widgets: FitMode::Shrink is non_exhaustive 2026-11-17 21:43:23 +00:00
aiongg ae51a53334 design-lint: source sites use the root without the verbatim prefix and '/' separators; restore the trial-rooms exception; tests compare '/' paths 2026-11-17 21:43:23 +00:00
aiongg e388ed46c0 browse: link and relink tests use paths that are absolute on Windows 2026-11-17 21:43:23 +00:00
Dylan M. Taylor dfdc68c46b Merge pull request #2093 from storytold/dot/psd-guides-v1-20261117
psd: share legacy Grid and Guides record framing
2026-11-17 16:35:45 -05:00
aiongg 1e446ebe05 Merge pull request #2092 from aiongg/ci-speed-a
ci: faster Workspace gate: nextest everywhere, one test feature set, fuzz caps with a nightly full run, per-crate workflows without duplicates
2026-11-17 16:28:16 -05:00
aiongg f79937d3be craft: the facade's features table lists the member crates' features from the 17 Nov sync 2026-11-17 21:24:33 +00:00
d118983bf9 Extract Java class reader and JVM opcode decoder (#2048)
* Port Java class source: Craft Anything

Source: storytold/craft-anything@f64ae3bf3c

* Port Java class source: Find class usage in multidimensional object arrays (R0.5) (#437)

Source: storytold/craft-anything@ffe15c9165

* Port Java class source: More format parsers keep to their declared lengths and refuse impossible values (#722)

Source: storytold/craft-anything@b9ca099903

* Port Java class source: Address the parser review findings from #722 (#766)

Source: storytold/craft-anything@eab6a0f01b

* Port Java class source: Read JVM method parameters containing parentheses in class names (R3.12) (#1342)

Source: storytold/craft-anything@fb4c437fe6

* Port Java class source: Reject Java constants that exceed the constant-pool slots (R3.12) (#1373)

Source: storytold/craft-anything@1c4f233f08

* Port Java class source: Validate JVM switch tables before allocating decoded pairs (R3.12) (#1503)

Source: storytold/craft-anything@b40c56ef5c

* Port Java class source: Reuse constant-pool names while reading Java attributes (R3.12) (#1549)

Source: storytold/craft-anything@76fcdaadb7

* Port Java class source: Trace JVM bootstrap dependencies at their bytecode use sites (R3.12) (#1648)

Source: storytold/craft-anything@c5e524dd08

* Port Java class source: Reject impossible JVM array allocation operands (R3.12) (#1675)

Source: storytold/craft-anything@f04d7456e0

* Port Java class source: Report truncated Java class attribute tables (R3.12)

Source: storytold/craft-anything@420552ff74

* Expose neutral Java class API and retain checked reader and synthetic fixtures

* Retain Java regression: java_array_operands

Source: storytold/craft-anything@f04d7456e0

* Retain Java regression: java_attribute_names

Source: storytold/craft-anything@76fcdaadb7

* Retain Java regression: java_constant_pool_slots

Source: storytold/craft-anything@1c4f233f08

* Retain Java regression: java_invoke_operands

Source: storytold/craft-anything@eab6a0f01b

* Retain Java regression: java_linkage_references

Source: storytold/craft-anything@c5e524dd08

* Retain Java regression: java_truncated_attributes

Source: storytold/craft-anything@420552ff74

* Retain Java regression: java_wide_opcodes

Source: storytold/craft-anything@b9ca099903

* Register Java class reader and retain source regression coverage

---------

Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: Afloat <132809511+Afloat16@users.noreply.github.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
Co-authored-by: Afloat <ShuffleMonkey@163.com>
Co-authored-by: RRFZ <247457381+Plastic-time@users.noreply.github.com>
2026-11-17 16:13:18 -05:00
aiongg e92fce95d5 ui-contract: the palette-level test expects Windows' inactive palette at the bottom 2026-11-17 21:08:01 +00:00
Dylan M. Taylor 971e8ad8f8 jpeg: add tokenless two-pass baseline encoding 2026-11-17 16:00:45 -05:00
aiongg 9f6ee78987 harfbuzz-subset-sys at storytold/harfbuzz rust-subset-15.0.0 f32ed1e54 (the /bigobj merge) 2026-11-17 20:59:30 +00:00
Dylan M. Taylor 1d5255e07f vectordrawable: bound configurable XML depth with iterative writing 2026-11-17 15:48:26 -05:00
aiongg 04d32b745e nextest: drop the craft-ui GPU group; next's craft-ui has no visual_regression binary and its nextest-run tests create no GPU device 2026-11-17 20:43:00 +00:00
aiongg 76ea2fb7ad gitattributes: the components index keeps LF line endings on every checkout 2026-11-17 20:39:27 +00:00