Commit Graph
12697 Commits
Author SHA1 Message Date
BFlat e91db05e63 Merge pull request #4317 from dotCooCoo/fix/tool-rail-flyout-memo
ui-panels: a press held on one tool rail slot runs only that slot's button
2026-11-30 02:53:40 +07:00
BFlat 7beef50136 Merge pull request #4313 from dotCooCoo/fix/row-spread-first-pass
ui-contract: a fill-width row in a content-sized stack's header or footer spans the band
2026-11-30 02:53:34 +07:00
BFlat 482e6598b9 Merge pull request #4312 from dotCooCoo/fix/wheel-layer-under-pointer
ui-contract: a wheel over a floating panel reaches only that panel's takers
2026-11-30 02:53:28 +07:00
BFlat 977d040c98 Merge pull request #4311 from dotCooCoo/fix/label-baseline-first-pass
ui-contract: a labeled row runs no second pass on its first appearance
2026-11-30 02:53:21 +07:00
BFlat 17af07fdf3 Merge pull request #4306 from dotCooCoo/fix/anchor-overlay-one-mesh
BezierOverlay: Anchors declares no part per anchor and a pass lays out its scene once
2026-11-30 02:53:13 +07:00
Dylan M. Taylor c06381e5b8 Merge pull request #3460 from storytold/lightcraft-pr/fw-number-plus
Number fields: an explicit plus sign for signed values
2026-11-29 14:44:51 -05:00
Dylan M. Taylor fdb2c788e7 Merge pull request #3587 from storytold/lightcraft-pr/fw-tree-indent
Lists: a host can set a tree row's indent step (TreeIndent)
2026-11-29 14:44:39 -05:00
Dylan M. Taylor 3f3dbc04a0 Merge pull request #3272 from storytold/lightcraft-pr/fw-popups-menus
Popups and menus: opener Escape and Tab exits
2026-11-29 14:44:34 -05:00
Dylan M. Taylor 01f99316bb Merge branch 'main' into lightcraft-pr/fw-tree-indent 2026-11-29 14:39:27 -05:00
Dylan M. Taylor 706853deed Merge branch 'main' into lightcraft-pr/fw-number-plus 2026-11-29 14:39:26 -05:00
Dylan M. Taylor 6ca6bf72dc Merge branch 'main' into lightcraft-pr/fw-popups-menus 2026-11-29 14:39:24 -05:00
Dylan M. Taylor 0be123b5f2 Merge pull request #3214 from storytold/design-port/pr-checkbox-sweeps
Checkbox sweeps: a drag that reaches no box cancels
2026-11-29 14:39:14 -05:00
dotCooCoo 7f315862ae ui-panels: a press held on one tool rail slot runs only that slot's button
The tool rail showed its whole slot grid as one memoized view. While a
press is held on a button, for example to keep a tool flyout open, the
view runs in every pass, so every button of the rail ran in every pass.

Each slot's button is now a memoized view of its own inside the grid's
view. A held press or an open flyout runs that slot's view, and the
other slots replay.

MemoView::shown_out_of_view shows a view in a scroll area as outside
one. Out of view it still runs or replays, so its focus stops and
accessibility nodes stay registered. The rail shows each slot's view
this way, and a button in a rail scrolled away from it stays reachable
from the keys and by screen readers.
2026-11-29 11:16:34 -08:00
BFlat 91d41e8ce5 Merge pull request #1428 from dotCooCoo/feat/craft-testkit-prop
craft-testkit: add the prop feature for proptest runs from a pinned seed
2026-11-30 02:15:18 +07:00
bflatastic 780bfa081e Merge remote-tracking branch 'origin/main' into fix-1428
# Conflicts:
#	crates/testkit/Cargo.toml
2026-11-30 01:48:36 +07:00
BFlat f0f9bb38ff Merge pull request #1392 from dotCooCoo/feat/craft-testkit-log
craft-testkit: capture log records per thread or process wide behind the log feature
2026-11-30 01:47:36 +07:00
BFlat 8b600efb9e Merge pull request #1417 from dotCooCoo/feat/craft-xtask-layers
craft-xtask: add the crate-layer check against a table the app supplies
2026-11-30 01:47:30 +07:00
dotCooCoo 55a68b1bf4 ui-contract: a wheel over a floating panel reaches only that panel's takers
The wheel split admitted every taker registered last pass, filtered only
by the top modal's family. Over a floating panel with no scroll region of
its own, nothing in the panel took the wheel, so the share went by
position to the canvas under the panel, which panned or zoomed.

The begin hook now reads the layer of the overlay stack under the
pointer and admits only the takers drawn in that layer. Over the
window's base it admits the base's takers, as before. A body mounted in
an OS window of its own counts as that window's base, and a transformed
body counts as the layer it is a sublayer of. The overlay stack records
each transformed body's parent layer, since egui drops its own record of
sublayers at the end of each pass. The focused field and the owner of a
running wheel gesture keep the wheel wherever the pointer is, as the
split's rule has it. The layer is read only in a pass that carries
wheel, pinch or touch input.
2026-11-29 10:47:06 -08:00
dotCooCoo afd18d148d ui-contract: a labeled row runs no second pass on its first appearance
A label lines up with its control's first baseline, which the control
records only after it has run. On a row's first appearance the label
had no recorded baseline, so it was placed at the control's top and the
frame ran a discard pass to move it down. Every frame that showed a new
labeled row, such as a form gaining a field, ran twice.

The label step now notes the last baseline recorded for each control
size. A row with no baseline of its own places its label by that one,
and its control's baseline is compared with it when it records: a
control whose text sits elsewhere still asks for the discard pass. A
memoized view that replays its rows keeps the noted baseline.
2026-11-29 10:45:53 -08:00
dotCooCoo 01af858386 ui-contract: a fill-width row in a content-sized stack's header or footer spans the band
A stack that takes its width from its content, such as the column in a
popover, held a fill-width child of its header or footer band at its
measured width only in the measuring run. In the real run the child took
its content width, so a RowAlign::SpaceBetween or RowAlign::End row there
placed its children at the start of the band, as RowAlign::Start does.

The header band, and a footer in its own band, now keep the content
column in the real run too, as the body and a footer in the end region
or the body already did. The row shows across the band and places its
children by its alignment.

The new test shows a SpaceBetween and an End row in the header and in
the footer of a popover's stack and checks the children's x positions.
2026-11-29 10:45:17 -08:00
Dylan M. Taylor 8945bdb09b fix(nightly): allow single-instance sockets and preserve launcher separator (#4304)
* fix(nightly): allow single-instance sockets and preserve launcher separator

* chore(nightly): sync Cargo.lock for uds_windows dev-dependency

* test(nightly): use short /tmp socket fixture path for macOS sun_path limit

* fix(nightly): verify Windows AF_UNIX reparse tag via afunix.sys
2026-11-29 13:42:26 -05:00
BFlat 36634c0ee3 Merge pull request #2621 from dotCooCoo/feat/gpu-wgpu-device-from-craft-gpu-device
craft-gpu-wgpu: open the device through craft-gpu-device and read its loss from DeviceHealth
2026-11-30 01:24:00 +07:00
skylartaylor 98952bc975 Refresh the checkbox sweep fix on current craft-libs main 2026-11-29 19:22:30 +01:00
skylartaylor 80996c4d28 Merge updated craft-libs main into the checkbox sweep fix 2026-11-29 19:15:02 +01:00
bflatastic de4d130319 Merge remote-tracking branch 'origin/main' into fix-1392
# Conflicts:
#	crates/testkit/README.md
2026-11-30 01:12:49 +07:00
bflatastic accec3112e Merge remote-tracking branch 'origin/main' into fix-1417
# Conflicts:
#	crates/xtask/Cargo.toml
#	crates/xtask/README.md
2026-11-30 01:11:56 +07:00
BFlat 6c7484457b Merge pull request #2923 from dotCooCoo/feat/craft-raster3d
craft-raster3d: CPU raster, shadow maps, resolve and encoding from EffectCraft
2026-11-30 01:10:15 +07:00
BFlat 77c6594f99 Merge pull request #1408 from dotCooCoo/feat/craft-testkit-temp
craft-testkit: add TempDir, a private test folder removed on drop
2026-11-30 01:10:10 +07:00
BFlat 3a2f42e69a Merge pull request #2147 from dotCooCoo/feat/craft-xtask-pins-one-commit
craft-xtask: check_commits keeps a git repository's packages on one commit
2026-11-30 01:10:04 +07:00
BFlat cab07f9818 Merge pull request #2724 from dotCooCoo/feat/keymap-global-hotkeys
keymap: global hotkeys run commands while another application has the keyboard
2026-11-30 01:09:38 +07:00
BFlat ab0bd0345e Merge pull request #1427 from dotCooCoo/chore/testkit-path-filters
ci: run Shared media, audio and video for changes under crates/testkit
2026-11-30 01:09:31 +07:00
BFlat 9c4aa32a46 Merge pull request #2145 from dotCooCoo/fix/ui-share-stale-answers
Share: an account-link answer for a sheet that moved on asks for nothing
2026-11-30 01:09:24 +07:00
BFlat 9e0df623b1 Merge pull request #2596 from dotCooCoo/feat/craft-menu-app-menu-labels
craft-menu: the minimal macOS app menu takes the app's translations
2026-11-30 01:09:18 +07:00
BFlat 5c35a30210 Merge pull request #2615 from dotCooCoo/fix/atomic-temp-name-bytes
atomic: test that temporary names keep long non-Latin names under the name limit
2026-11-30 01:09:11 +07:00
BFlat 708f402226 Merge pull request #2620 from dotCooCoo/feat/fonts-build-embedded-face-new
fonts-build: EmbeddedFace::new and with_index build a face without a struct literal
2026-11-30 01:09:05 +07:00
BFlat d1c3f85685 Merge pull request #2629 from dotCooCoo/feat/update-off-state
craft-update: an app can turn update checks off
2026-11-30 01:08:58 +07:00
BFlat d4c05c0e7c Merge pull request #3964 from dotCooCoo/fix/platform-test-handshakes
platform: the portal and dialog lifecycle tests wait on the worker's messages instead of on time
2026-11-30 01:08:52 +07:00
BFlat 4254d781d6 Merge pull request #3971 from dotCooCoo/fix/update-tests-no-wall-clock
craft-update: cancel and output-limit tests no longer depend on elapsed time
2026-11-30 01:08:45 +07:00
BFlat ddb3ab5872 Merge pull request #3991 from dotCooCoo/fix/metadata-xmp-work-counts
metadata: the XMP scan tests count work instead of timing
2026-11-30 01:08:38 +07:00
BFlat ec02b779d0 Merge pull request #3994 from dotCooCoo/fix/i18n-fold-search-count
i18n: the turned-down occurrence test counts search steps instead of timing
2026-11-30 01:08:32 +07:00
BFlat 4bad37346d Merge pull request #4036 from dotCooCoo/fix/mesh-ops-hit-t-doc
craft-mesh-ops: Hit::t is documented as the ray parameter for ray queries
2026-11-30 01:08:26 +07:00
dotCooCoo bb71985b90 BezierOverlay: Anchors declares no part per anchor and a pass lays out its scene once
Under BezierTool::Anchors the overlay only draws: nothing takes a press or
the keyboard. It still declared a part and an AccessKit graphics object for
every anchor and shown handle, and each pass laid out its anchors, handles
and segments four times (parts, update, paint, access). With 10,000
selected paths of 4 anchors each, a test frame took about 926 ms in a
release build.

- Under Anchors, the overlay declares no anchor or handle parts and reports
  no AccessKit objects for them. The anchors and handles still draw.
- The steps of a pass share one scene. A step that sees other paths, view,
  rect, reach or tool than the scene was laid out from lays out its own, so
  an edit or a reset in the pass is drawn from the new paths.

The same test frame takes about 48 ms.
2026-11-29 10:08:19 -08:00
BFlat 02f3272d39 Merge pull request #4074 from dotCooCoo/fix/mesh-ops-cylinder-rim
craft-mesh-ops: test that cylinder cap and side rim edges match
2026-11-30 01:08:19 +07:00
BFlat 72f7604112 Merge pull request #4272 from ruchirguitar/font-picker-indic-scripts
font-manager: Indic scripts in the font picker's script filter (#4213)
2026-11-30 00:54:24 +07:00
BFlat e67fa11c55 Merge pull request #4303 from dotCooCoo/fix/flyout-tear-off-one-pass
ui-panels: an open tool flyout with its tear-off bar runs each frame once
2026-11-30 00:50:19 +07:00
dotCooCoo 01aa7b1c03 GPU: a read stops before allocating when the device check records a new fault
request_read checks the recorded work fault again after its device check, so
an out-of-memory error that a callback records during that check stops the
read before it allocates a staging buffer. with_device documents that the
queue must be the one opened with the device.
2026-11-29 09:48:14 -08:00
skylartaylor acf5cf359c Merge framework main for the tree indent regression 2026-11-29 18:45:40 +01:00
BFlat 2cb5549763 Merge pull request #4295 from dotCooCoo/fix/ime-stale-after-queued-commits
ui-contract: a framework editor drops late IME commits queued before the app's reset completes
2026-11-30 00:40:16 +07:00
BFlat 5a70233f8b Merge pull request #4143 from dotCooCoo/fix/ui-perf-2-component-cost
ui-contract: a body given its room runs no second pass when its content's size changes
2026-11-30 00:40:10 +07:00
dotCooCoo 595c43790f GPU: errors on a destroyed shared device report DeviceLost before wgpu delivers the loss
- An allocation error, a failed read wait, an oversized upload and a bad read
  handle check the device and return GpuFault::DeviceLost when it was
  destroyed while wgpu still defers its device-lost callback.
- poll_reads checks the device before failing pending reads with a recorded
  error, and when a mapped read's error turns out to be a loss, every
  outstanding read fails with that loss in the same call.
2026-11-29 09:37:53 -08:00