Commit Graph
12220 Commits
Author SHA1 Message Date
dotCooCoo cf73dec466 automation: the control tests wait up to a minute for the server before failing as hung
The socket tests in tests/it/control.rs bounded each read and each
channel wait at 5 seconds (10 seconds for the capture client's
requests). The server sends every reply, close and request there
without waiting on a timer, so these bounds only guard against a hang,
but a slow run could reach them: under heavy load
an_oversized_reply_keeps_its_framing_and_id_and_the_connection_serves_on
failed at its 5-second read timeout and passed when run again.

- control.rs waits with one HANG constant of 60 seconds, the bound the
  agents tests already use as a hang guard (tests/it/agents.rs:53).
- The client test that peeks for the server's refusal line waits up to
  60 seconds too.

The assertions do not change.
2026-11-28 21:06:20 -08:00
BFlat 07a8c471ed Merge pull request #4197 from dotCooCoo/fix/accounts-lock-per-hold
suite-account: the accounts lock timeout applies to one hold, not the whole wait
2026-11-29 10:10:50 +07:00
BFlat a2a619deb8 Merge pull request #4196 from dotCooCoo/fix/tiff-wide-fax-stack
image-codecs: zero TIFF buffers in pieces of at least 1 MiB so wide pools do not overflow a worker stack
2026-11-29 10:10:46 +07:00
BFlat 35dffdafb2 Merge pull request #4198 from dotCooCoo/fix/disabled-text-field-actions
ui-contract: a disabled editor reports its text runs as disabled
2026-11-29 10:10:41 +07:00
BFlat 32b74382da Merge pull request #4200 from dotCooCoo/fix/status-menu-popup-floor
fix(ui-shell): open status bar menus right above their control
2026-11-29 10:10:36 +07:00
BFlat 78cac93016 Merge pull request #4180 from dotCooCoo/fix/page-card-resting-tile
ui-widgets: page cards can rest on a tile
2026-11-29 10:10:32 +07:00
BFlat 2821143c30 Merge pull request #4199 from dotCooCoo/fix/glyphs-footer-inside-panel
font-manager: the Glyphs footer stays inside the panel under the grid
2026-11-29 10:10:27 +07:00
BFlat c1e9abeb8b Merge pull request #4205 from dotCooCoo/fix/flyout-tear-off-grip-clipped
ui-panels: a tool flyout is wide enough for its tear-off bar and draws its grip
2026-11-29 10:10:22 +07:00
BFlat 295a24d1cc Merge pull request #4204 from dotCooCoo/fix/path-row-browse-button
ui-patterns: a path row keeps its Browse button whole in a narrow column
2026-11-29 10:10:18 +07:00
BFlat 3e70030818 Merge pull request #4201 from dotCooCoo/fix/tile-grid-rule-heads
ui-widgets: a tile grid's rule divider sits midway between its groups
2026-11-29 10:10:13 +07:00
autocraft-bot[bot] 64b3861ab8 Merge pull request #4202 from storytold/integration-craft-libs-20261129-6
Integration batch integration-craft-libs-20261129-6
2026-11-29 02:50:45 +00:00
dotCooCoo 073ab1fabd font-manager: the footer test checks the whole glyph grid ends above the footer
The test compared only the first cell with the Zoom footer, so a grid that ran over the footer in a lower row still passed. It now also checks that the bottom of the glyph grid is at or above the footer's top.
2026-11-28 18:32:18 -08:00
dotCooCoo fa1c7c2018 ui-panels: a tool flyout is wide enough for its tear-off bar and draws its grip
The tear-off bar took its height from the menu rows' rect. In the popup's
measuring run the rows have no rect yet, so the bar measured zero tall and
its width was left out of the flyout's size. The flyout came out one bar
narrower than its content, and its edge clipped the bar and the three grip
lines.

The bar now measures at least as tall as its grip, so the measuring run
counts its width. The new test opens a flyout with the tear-off bar and
checks that the grip lines paint whole inside a clip as wide as the bar.
2026-11-28 18:28:34 -08:00
dotCooCoo d512037910 ui-patterns: a path row keeps its Browse button whole in a narrow column
PathRow showed its FillWidth text field in a content-sized Row, where a
filling leaf keeps its measured width. The field stayed at its full field
length and the row narrowed the Browse button instead, so in a column
narrower than about 280 pt the label was cut to "Brows...". The row now
fills its width: the field takes the room the button leaves.
2026-11-28 18:23:01 -08:00
autocraft-bot[bot] e8bb26145d Merge pull request #3271 2026-11-29 02:12:19 +00:00
dotCooCoo 31d9c5cd3d suite-account: a full cycle of lock-file lengths no longer reads as one long hold
The lock file's length repeats every 64 holds, so a waiter that missed a whole cycle between two polls saw the same mark and could time out behind holds that each lasted far less than the timeout. The mark now also carries the lock file's modification time, which each hold moves when it sets the new length.
2026-11-28 18:12:12 -08:00
dotCooCoo cff4b0f5ad ui-widgets: a tile grid's rule divider sits midway between its groups
Under GroupHeads::Rule a divider between groups was drawn on the top
edge of its row, so it sat one gap under the tiles above it and a full
row height over the tiles below it. The divider is now drawn through
the middle of its row, as a list's rule head draws it, and the row has
the gap below it as well as above it.
2026-11-28 18:12:01 -08:00
dotCooCoo 0db06097fa fix(ui-shell): open status bar menus right above their control
A menu opened in a bottom slot stayed above every bottom slot, so a
status bar menu opened about 24 pt above its control when a help bar
sat between the status bar and the canvas. Popups opened in a bottom
slot now stay above only the bottom slots outside it; popups the body
opens still end above every bottom slot.
2026-11-28 18:07:09 -08:00
dotCooCoo 655a251549 Merge main into fix/page-card-resting-tile 2026-11-28 18:02:44 -08:00
dotCooCoo d5f924f3fc font-manager: the Glyphs footer stays inside the panel under the grid
The glyph grid took all the height left in the panel body and the footer row (the count, the zoom slider and the note shown when no text is being edited) was laid out after it, below the panel's bottom edge, which also cut off the grid's last row. The footer now goes in the stack's footer region, which keeps its room under the grid, and writes the panel settings once after the zoom slider runs.
2026-11-28 17:57:57 -08:00
.CooCoo b1fc0c8a18 ui: a wrapping spread row with a direct allocation on its line places it in sequence (#4195)
A wrapping SpaceBetween row spread its children over its room whenever they
fit one line, even when that line also held a direct egui allocation. The
spread started at the row's start edge, so a child covered the allocation.
The row now spreads only when its content is no wider than its children with
the gap between them; otherwise it keeps the wrapping placement.
2026-11-29 08:54:54 +07:00
.CooCoo 017215a31c sensing: an owner's parts read their press without a search of its last-pass parts for each one (#4153)
* sensing: an owner's parts read their press without a search of its last-pass parts for each one

part_press_in searched the owner's parts of the last pass for every part it
read, so an owner with n parts did n searches of n entries in each pass. It
now searches only for a part that a hit of the pass names: the press target,
a hovered shape or the aside press.

The new trial counts the searches over 3 idle frames of a 400-part root: 1200
before, at most 9 after, and the hovered part still reads hover.

* sensing: count part lookups per viewport instead of in a thread_local

The lookup counter for the many-parts test now lives in the viewport's
arenas behind the testing feature, and known_part_lookups takes the
context, so contract/no-global-state has no thread_local in sensing.rs.
2026-11-29 08:54:48 +07:00
dotCooCoo d78cf67e21 suite-account: the accounts lock timeout applies to one hold, not the whole wait
`with_lock` gave up after waiting 5 s in total, however many times the
lock changed hands meanwhile. A process signing in many accounts takes
the lock in a quick run of short holds, and a waiter polling every
20 ms can miss every gap. Under load,
`concurrent_sign_ins_from_two_processes_lose_no_rows` failed with
"timed out waiting for the accounts lock".

Each hold now sets the lock file's length to the next value in 1 to
64. A waiter that sees the length change starts its 5 s over, so it
still gives up on one hold that lasts past 5 s. Unit tests drive the
wait with their own times instead of sleeping.
2026-11-28 17:53:31 -08:00
dotCooCoo c58f543f18 image-codecs: zero TIFF buffers in pieces of at least 1 MiB
`zeroed` and `refill_zeroed` filled each image buffer with
`par_extend(repeat_n(0u8, len))`, which has no minimum piece length.
When workers stole from each other, rayon kept splitting the buffer,
and on a pool with 128 or more workers the nested splits overflowed a
worker's 2 MiB stack. The fax page test
`a_blank_fax_page_wider_than_4096_px_passes_the_bomb_guard` aborted
this way on a 192-core host.

Both functions now call `extend_zeros`, which sets `with_min_len` to
1 MiB. A unit test zeroes 64 MiB on a pool of 256 workers with 256 KiB
stacks; without the change it aborts with a stack overflow.
2026-11-28 17:53:23 -08:00
dotCooCoo 19e6127ce8 Merge main into fix/disabled-text-field-actions 2026-11-28 17:39:25 -08:00
81bca5c8e2 fix(text): restore Section/Paragraph characters and wildcard helpers in Find Special menu (#3916)
Lands #3916 onto main after #3909 and #3914. The only change from the
approved head is the merge resolution in tests/it/find_dialog.rs: all
three PRs appended a test at the end of the file, and all are kept.

Co-Authored-By: batistalucasv <175663788+batistalucasv@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 01:37:32 +00:00
autocraft-bot[bot] 1f42f701dc Merge main into lightcraft-pr/fw-value-editing 2026-11-29 01:33:55 +00:00
autocraft-bot[bot] 325ae14c28 Merge pull request #4192 from storytold/integration-craft-libs-20261129-5
Integration batch integration-craft-libs-20261129-5
2026-11-29 01:29:51 +00:00
dotCooCoo a484619f82 ui-widgets: a page tile card's veil uses the theme's tint opacity
The resting veil of a CardText::PageTile card fades the scrim by
Opacity::TINT (0.18) instead of a local 0.2, so it follows the theme's
opacity scale like the other tints. The test checks the veil's alpha
against Opacity::TINT.
2026-11-28 17:26:11 -08:00
Dylan M. Taylor fdef1e0e7d Merge pull request #4184 from storytold/fix/stencilcraft-operation-first-only
stencilcraft: operation-first native document model (single schema)
2026-11-28 20:24:27 -05:00
BFlat 857784e6b1 Merge pull request #3675 from dotCooCoo/fix/mesh-ops-unwrap
craft-mesh-ops: auto_unwrap checks limits first, leaves the mesh unchanged on error and packs in f64
2026-11-29 08:15:23 +07:00
BFlat 8b031b667f Merge pull request #3816 from dotCooCoo/fix/mesh-primitive-exact-seams
Close primitive seams with identical boundary positions
2026-11-29 08:15:17 +07:00
BFlat 0af7692ae5 Merge pull request #4165 from dotCooCoo/fix/disabled-node-expand-route
ui-contract: an accessibility request that acts on a disabled node reaches no component
2026-11-29 08:13:35 +07:00
BFlat f52463f936 Merge pull request #4154 from dotCooCoo/fix/disabled-heading-expand
ui-contract: a disabled node offers no Expand, Collapse, context menu, step, value or custom action
2026-11-29 08:13:24 +07:00
BFlat 91ac8d92cc Merge pull request #4148 from dotCooCoo/fix/disabled-list-headings
ui-contract: a disabled list's section headings and rows ignore accessibility actions
2026-11-29 08:13:12 +07:00
BFlat c684180465 Merge pull request #4188 from dotCooCoo/fix/ttml-lt-bound
craft-captions: TTML tag parsing tests count byte reads instead of timing the parse
2026-11-29 08:13:01 +07:00
BFlat fb0dd5ef59 Merge pull request #4173 from dotCooCoo/fix/theme-builtins-load-once
theme: the built-in themes load without searching them for reference cycles
2026-11-29 08:12:50 +07:00
BFlat 0aee5b04ea Merge pull request #4142 from dotCooCoo/fix/ui-perf-3-tool-rail-memo
ui-panels: the tool rail replays its grid with tips set and reads each tool's command once
2026-11-29 08:12:39 +07:00
BFlat 0e5333c250 Merge pull request #4147 from dotCooCoo/fix/panel-layout-gaps
ui: wrapped spread rows keep their end edge, check boxes in a field's row keep their labels, Color Guide cells and divider grids keep their spacing
2026-11-29 08:12:01 +07:00
BFlat cadc98bb2a Merge pull request #4140 from dotCooCoo/fix/rail-drawer-spacing
ui-panels: a rule parts the tool rail's and the toolbar drawer's footers from what scrolls above them
2026-11-29 08:11:50 +07:00
BFlat 42c0a9fb82 Merge pull request #4138 from dotCooCoo/fix/dock-iconic-float-tooltip
dock: part of a collapsed column floats or docks expanded
2026-11-29 08:11:45 +07:00
BFlat 25ece08ddf Merge pull request #4134 from dotCooCoo/fix/title-bar-switcher-spacing
ui-shell: the title bar keeps an item gap between controls, and dropdown lists fit the window
2026-11-29 08:11:33 +07:00
autocraft-bot[bot] c3d435be9d Merge main into lightcraft-pr/fw-value-editing 2026-11-29 01:03:30 +00:00
autocraft-bot[bot] 02ded2c5f7 Merge pull request #4190 from storytold/integration-craft-libs-20261129-4
Integration batch integration-craft-libs-20261129-4
2026-11-29 00:56:26 +00:00
5ffe4ad056 fix(text): escape caret ampersand in Find Special menu (#3914)
Lands #3914 onto main after #3909. The only change from the approved
head is the merge resolution in tests/it/find_dialog.rs: both PRs
appended a test at the end of the file, and both tests are kept.

Co-Authored-By: batistalucasv <175663788+batistalucasv@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:47:45 +00:00
autocraft-bot[bot] 47081e139a Merge pull request #3448 2026-11-29 00:46:23 +00:00
autocraft-bot[bot] 5f22bbfc06 Merge pull request #4187 from storytold/integration-craft-libs-20261129-2
Integration batch integration-craft-libs-20261129-2
2026-11-29 00:45:30 +00:00
Martin BallandClaude Opus 5.5 f762f98a98 Clear the design-lint findings on main (units cell memory, floating window slot) (#4161)
* fix(color-ui, ui-panels): clear the three design-lint findings on main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

* fix(color-ui): the units cell keeps its first click in component memory, not the session escape hatch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 00:32:07 +00:00
Dylan M. Taylor 24886f858c fix(stencilcraft): validate unique document memberships 2026-11-28 19:26:20 -05:00
autocraft-bot[bot] d2b2b2a366 Merge pull request #1932 2026-11-29 00:14:35 +00:00