Commit Graph
6071 Commits
Author SHA1 Message Date
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
David Mann 13b9bf4d46 A press whose pointer left the window still drags: window edges resize when pulled out (#2132)
winit reports the pointer leaving the window while the button is held, and the
press machine marked the open press abandoned, which also stopped its drag from
starting. A window's resize grip lies inside the window and starts the OS
resize on DragStart, so pulling an edge outward left the window before slop and
the resize never started. Leaving the window now ends only the press's click.
2026-11-18 01:52:13 +01:00
Dylan M. Taylor 17f1b5d20f Keep uncertain EVM fallback and jump payability unknown 2026-11-17 19:45:22 -05:00
FredApps 29ce80e136 ci: register full validation in generated actions lockfile 2026-11-18 01:44:16 +01:00
Dylan M. Taylor a784f2e716 Merge main while retaining EVM and XFDF provenance 2026-11-17 19:41:50 -05: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
FredApps 373d0e1683 test(ci): use Git Bash explicitly on Windows 2026-11-18 00:07:54 +01:00
David Mann 8197531378 Control channel: answer injected input with the pass that ran it, not one pass later (photocraft#15493)
An application polls ControlChannel::poll_input at the end of its UI, inside the pass that
ran the injected step. There the running pass number still equals the step's pass, so the
step counted as unrun and the reply waited for the next pass: one more frame per ui.move,
ui.click or ui.key round trip.

WindowHost::injected_idle_at_pass_end counts the running pass as run, except a pass egui
runs again (request_discard), whose rerun answers. poll_input uses it; injected_idle and
every caller between passes keep their meaning.
2026-11-18 00:01:07 +01: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
FredApps 6589b3c83e ci: add opt-in uncapped three-platform full validation 2026-11-17 23:51:18 +01: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
David Mann 8c31476bd3 Menus: name the kept letters' type (clippy type_complexity)
Part of storytold/photocraft#15493.
2026-11-17 22:47:34 +01:00
David Mann 2d52fc0a0b Menus: assign a level's mnemonics once, not once per row and pass
Every row of a menu level asks for its letter in every pass, and
`MenuLevel::mnemonic_of` assigned the letters of all the level's rows for
each of them; `end` did once more. A long menu (PhotoCraft's Filter menu,
about twenty rows) and each submenu it opened paid that many full
assignments per frame: in a profile of hovering the Filter menu's submenu
rows, `mnemonic::assign` was about 6 % of the open menus' cost, and the
frame that opens a submenu reached 12.7 ms of UI work.

The level keeps the last assignment with the labels and folder it was made
for and assigns again only when they change. `mnemonic_of` reads its entry
with `get`, so a row that is not in the list gets none instead of an
index out of range.

Part of storytold/photocraft#15493.
2026-11-17 22:45:22 +01:00
Dylan M. Taylor 65e38419d7 testkit: share the sampled-damage corpus with WASM and Java class 2026-11-17 16:44:09 -05: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
Dylan M. Taylor 6cf64e21b4 Merge upstream main into review-2070 2026-11-17 16:14:19 -05: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
Terra854 6815dd6b7c Find JPEG sampling headers after marker padding 2026-11-18 04:58:02 +08:00
Dylan M. Taylor 0ac2de5255 Deduplicate JUMP destination resolution in the payability walkers 2026-11-17 15:49:47 -05:00