Commit Graph
8703 Commits
Author SHA1 Message Date
aiongg 3d195ca078 Merge pull request #3058 from storytold/fix/menu-escape-held-child
Context menus close after Escape cancels a held child press
2026-11-24 20:00:23 -05:00
aiongg c93811bcf1 Merge pull request #3383 from aiongg/dock-gaps
Dock and runtime fixes for the CadCraft, EffectCraft and TextureCraft ports
2026-11-24 20:00:09 -05:00
David Mann a3174010b7 Merge pull request #3399 from davidmann4/fix/font-manager-wasm-next
font-store: the preview service's plain types and PreviewStore build on wasm, so font-manager does again
2026-11-25 01:15:36 +01:00
bflatastic 75efd24749 theme, ui-widgets: shape.locator (cell, square), the reference point's squares, each defaulting to the Size preset's size.handle.md and size.handle.sm; ReferencePointLook::Squares lays its squares a cell apart, the picker two cells and a square wide, the same compact or not; VectorCraft's themes pin production's locator, 5 point squares 9 points apart (23 point grid). Trial; dumps updated 2026-11-25 05:53:48 +07:00
bflatastic cdb082977d draw: TransformFields' PositionFirst form puts X and W, Y and H in a grid beside the constrain link, which a bracket row (Bracket::Unlinked) stands centred across the two rows, as production's Properties panel; the angle and skews follow in a grid of their own. Trial the_position_first_link_stands_between_the_width_and_height_rows 2026-11-25 05:53:47 +07:00
bflatastic 0c1fa2f1d6 ui-panels: IconGroupSeparator, an env style value for what marks a collapsed column's icon groups apart: Grip (default, the dock's grip marks) or Rule (bare grip strips and an edge rule across the room between two groups), VectorCraft's icon groups as production drew them; story icon_groups_apart_by_a_rule; trial 2026-11-25 05:53:47 +07:00
bflatastic 27f174b9da theme: VectorCraft's themes pin line.grip to production's text_disabled in each variant, the ink of its Tools grip; dumps updated 2026-11-25 05:53:47 +07:00
aiongg a0b1c35a8f IME: an app editor's own reset survives the host fence
A press during the app's own editor's composition interrupts it, and the
engine wrote its own reset request over the one the editor wrote in the same
output: the platform answered only the engine's id, so the app never got the
completion its own fence waits for, and the fence (which took every IME event)
dropped it anyway.

The interrupt keeps a reset request the app's output already carries, and the
engine waits for that one. The app's reset requests are recorded from its IME
output; their completions and retirements stay in egui's input for the app,
and a completion of the request the fence waits for ends the fence. Late
events of the interrupted composition stay fenced, and an editor that asks
for no reset is fenced by the engine's own request as before.
2026-11-24 21:46:34 +00:00
skylartaylor f41d84e7c1 Merge origin/next 2026-11-24 22:45:39 +01:00
aiongg 357f332549 Merge pull request #3396 from aiongg/test-speed-1124
Tests: gate-sized samples and inputs for the slowest tests and the UI suite
2026-11-24 16:32:00 -05:00
aiongg 337974b224 tests: loudness range at full segment length (16 kHz), xml streaming limit below one element 2026-11-24 21:29:34 +00:00
aiongg 9f2961402b Merge pull request #3360 from aiongg/next-host-input
Hosted egui apps on next: host quit, dock tab focus, float order, host panel fill, app icon, keymap override warnings
2026-11-24 16:08:36 -05:00
aiongg 603b9708bd Docking documents trial: clippy type alias and iter 2026-11-24 21:00:28 +00:00
aiongg 8abce32c4a Merge pull request #3364 from aiongg/rc-menu-cursor-mnemonics
menu: the English letter after a translated label only in CJK languages; a hidden mnemonic elsewhere
2026-11-24 15:53:44 -05:00
aiongg a1daa3357d IME trial: no expect in library code 2026-11-24 20:47:28 +00:00
aiongg 4e806d57a5 Dock trial: each stack section reports its panel's tab source 2026-11-24 20:41:30 +00:00
aiongg 271e9bf727 Dock: DockAreaOutput::pressed names the panel whose body a press went down in
A host body keeps its presses and its egui focus, so the group takes
no focus and DockAreaOutput::focused never names the panel clicked
into. BodyCx::pressed_within reports a primary press in the body's
rect on its layer whatever took it, sharing the press geometry with
surface_pressed, and the dock area reports the group's shown panel as
pressed.
2026-11-24 20:41:30 +00:00
aiongg 547056ecc4 Dock: a panel's document tabs are gesture sources (SourceKind::Document) 2026-11-24 20:41:30 +00:00
aiongg d2281d2eeb IME: a press during an app editor's composition interrupts and fences it
The engine fenced only framework editors. An app's own editor (an egui
reader that writes the pass's IME output) saw the late deletion and
commit of a composition a click ended arrive in the next frame (the
one-press rule holds them), with no composition active, so they edited
the text at the new caret. The engine now records the editor from the
IME output it wrote, follows its composition through the IME events
left to it, and on a pointer press during it interrupts in the
editor's own context and drops the IME events until the reset
completes; events after the completion reach the editor.
2026-11-24 20:41:30 +00:00
aiongg f0b97bdc73 Keys: a bare Tab is egui's while every stop is a host stop
With only the app's own widgets registered as stops (a hosted canvas),
a bare Tab from nothing or from a host stop that does not keep Tab was
a framework move whose order held the host stops alone: the canvas
took focus and Tab cycled on it, so the app's other egui widgets were
unreachable. The key stage now leaves that Tab to egui (TabToEgui),
whose order holds the host stops and the app's widgets. A Tab that
toggles the chrome stays the framework's.
2026-11-24 20:41:30 +00:00
aiongg 47c7a5d041 Dock trial: the handed-over drag's drop mark is the tab strip's, not the floated window's own 2026-11-24 20:41:30 +00:00
skylartaylor ed5d536753 Merge origin/next 2026-11-24 21:38:34 +01:00
David MannandClaude Opus 5.5 2b6a53aa47 font-store: the preview service's plain types and PreviewStore build on wasm, so font-manager does again
The 24 Nov main sync (#3300) brought the font manager's preview-service code (#2782), which names LegalText,
PreviewServiceSource, PREVIEW_SERVICE_ENV and PreviewStore on every target, while font-store only had them in its
native-only store and preview modules. craft-font-manager, and with it the craft crate, no longer built for
wasm32 (photocraft's web build).

They move to an ungated service module; PreviewStore::http_client stays native only, and preview keeps its
PreviewStore re-export. The fake store checks a preview-service address only where the native check exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 21:37:52 +01:00
aiongg 79c5c887ae tests: is_multiple_of for the gate-sample strides 2026-11-24 20:34:27 +00:00
aiongg 7388c580b5 pdf test: the node-budget test runs its gate part on wasm32, which has no divisor 2026-11-24 20:25:33 +00:00
aiongg 1c6b664bb2 Merge storytold next into dock-gaps 2026-11-24 20:23:54 +00:00
aiongg b2aab0b8bb Merge next-host-input into dock-gaps 2026-11-24 20:23:54 +00:00
aiongg e976deb569 Merge remote-tracking branch 'upstream/next' into test-speed-1124 2026-11-24 20:21:09 +00:00
aiongg 3bd77702c8 proto test: the gate-fraction flag in the distinct-UID test 2026-11-24 20:21:09 +00:00
aiongg 146a95ed43 Merge storytold next into next-host-input 2026-11-24 20:18:12 +00:00
aiongg 9ed45cb202 Cargo.lock: craft-testkit dev-dependencies 2026-11-24 20:11:28 +00:00
aiongg 283490a083 Drag: look the moving container's layer up at each hit test
drag::start took the source container's layer from the layers shown last
frame. A window floated in the pass before it continues a press (a rail
popup dragged out) runs its body, and so starts its drag, before its first
layer is recorded, so the session moved no layer: drop targets did not look
through the dragged window, and on release the window's own drop target,
the top layer under the pointer, took the drop and refused it, leaving the
panel floating. moving_layer now reads the source's layer from the layers
shown last frame at each hit test. The plain-egui hand-over trial floats
its window in the pass the press is handed over, as the app does.
2026-11-24 20:11:24 +00:00
aiongg 28db32fda1 Merge pull request #3393 from aiongg/ci-audit-shard-next
CI: replay audit in a parallel shard from one build; test builds use cl's profile overrides
2026-11-24 15:09:47 -05:00
aiongg c6a4484bca Merge pull request #3357 from aiongg/egui-pin-accesskit
egui: storytold/egui next a87d00caa (AccessKit for every viewport window, ComboBox menus grow back)
2026-11-24 15:02:48 -05:00
aiongg 41c744b1b2 cargo fmt 2026-11-24 20:01:10 +00:00
aiongg 2fd844eb39 Merge remote-tracking branch 'upstream/next' into test-speed-ci 2026-11-24 20:01:02 +00:00
aiongg 56e0824f2c Merge remote-tracking branch 'upstream/next' into test-speed-1124 2026-11-24 20:00:50 +00:00
aiongg 364b010017 Merge branch 'test-speed-a2' into test-speed-1124 2026-11-24 20:00:49 +00:00
aiongg 905082fcb2 Merge branch 'test-speed-a1' into test-speed-1124 2026-11-24 20:00:49 +00:00
aiongg b6acf7acec ui-widgets tests: the overflow strips scroll in tenth-second clock steps
Resting on a strip scrolls by the pass's elapsed time, taken up to 0.1 s, so the
strip loops move the clock by that much per frame; the wheel loop sends larger
wheel steps.
2026-11-24 19:58:44 +00:00
aiongg 06675d0d55 CI: replay audit in a parallel shard from one build; test builds use cl's profile overrides
- scripts/ci-workspace-tests.sh holds every Workspace test step. When the selection reaches a
  replay-audit crate, the Linux leg builds once in gate.yml's build job, writes three nextest
  archives (every selected test, the audit's UI crates, the default-feature crates), runs the
  doctests, and three shard legs run the archives in parallel. Any other selection, and every
  macOS and Windows leg, builds and runs in one leg as before.
- .config/cargo-dev.toml is the dev-profile tuning tools/cl passes locally (dependencies at
  opt-level 2, craft-theme/behavior/proof at 1, lto off); every CI test build passes it too, with
  .config/cargo-ci.toml adding the numeric crates at opt-level 1. The Workspace legs' cache entries
  are named after a hash of both files. Cargo.toml's profiles are unchanged.
- nightly.yml builds through the same script and also starts the full tests on next.
2026-11-24 19:58:04 +00:00
aiongg 04bb1e1b5b ui-patterns tests: settle after dialog actions instead of fixed frame counts
Save for Web's open and palette helpers, its slices test, Export As's scale test
and the New Document card tests wait until the dialog is stable rather than 4 to
30 frames; the card tests run without motion, since they read cards where they
are painted. Clock-timed steps stay as they were.
2026-11-24 19:57:56 +00:00
aiongg 1e26d3d4eb menu tests: the ribbon slide reaches rest by the clock, not 120 frames 2026-11-24 19:56:29 +00:00
aiongg 02f2fc0443 color-ui tests: a small-grid CMYK profile; the picker's rooms compared in one look
The invalid-capture test needs a valid CMYK profile, not the shipped one's
21-node BToA grid. The full-picker test checks each look's arrangement in the
wide room and compares the other rooms in the widest look.
2026-11-24 19:56:06 +00:00
aiongg d56ee32e1e ui-contract suite: sample repeated parts and node sets under the gate fraction
Under CRAFT_HOSTILE_DIVISOR above 1 the cases that build a fixture per repeated
part or per declared node action check the first, middle and last member of each
set; the nightly run checks every member. each_part_activates_once reads the
paths a part has from the settled base fixture, the hit-area case skips parts the
base shows no pressable piece of, and access_focus_focuses skips stories with no
enabled Focus node, all before building a fixture.
2026-11-24 19:55:30 +00:00
aiongg 8b9e7e0519 craft-raw: single testkit dev-dependency 2026-11-24 19:49:37 +00:00
aiongg 2b4bcffc9b craft-cms: gate runs white-exactness with bpc on 2026-11-24 19:49:34 +00:00
aiongg 3b182a7f7c mesh, cfb, exr, xlsx, wordmodel, docx: gate samples and smaller shapes 2026-11-24 19:49:22 +00:00
aiongg 385325fda8 Shorter statistical and loudness signals, sampled opus multistream garbage 2026-11-24 19:49:07 +00:00
aiongg 4d13bda621 craft-develop tests: capped bad-pixel list on a small buffer, fewer tile draws, sampled cancel polls 2026-11-24 19:48:59 +00:00