Commit Graph
12429 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude Opus 5.5 82002e474c Framework sync: DeckCraft Dark pins a raised surface faint text reads on without lifting it
With controls distinct, the contrast pass lifted text.faint to #d7d7d7 to read on the base raised #5e5e5e, leaving
muted less than 1.25 times faint on the background. A raised #3d3d3d keeps faint at #c8c8c8. With DeckCraft's
surface pins its raised, control, hover and pressed fills have room for muted text, so the trial checks them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:59:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 689fcfe509 Framework sync: runtime (layer 2) no longer imports contract::text or primitives
The draft calls (drafts_parse, with_draft_owner, retire_drafts) are public in contract, where they live, and the
form dialogs call them there; the runtime::focus forwarders are gone. The editor widget id moves down to
runtime::ime::editor_widget, which ImeSurface::of uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:59:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 44e264d69a Framework sync: a layer's anchor floor holds in the placed run only for a list layer, and within its room
Upstream floors a layer at its anchor in the measuring run; the port (df3405c3e) floored every layer in the placed
run too, unbounded, so a popover around a narrow control stood wider than its content plus padding and a list asking
to be wider than the window ran past its margin. The placed-run floor now applies to collection bodies (an emptied
popup list keeps its opener's width), clamped to the layer's room, and upstream's measuring-run floor is back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 07:59:07 +00:00
Dylan M. TaylorandClaude Opus 5.5 f16630e06a Framework sync: compile fixes where the port's code meets upstream's changes
- replay::depth reads upstream's thread-local OPEN through any_open().
- pass_state::in_pass_here names frame::running by its path (upstream dropped the module import).
- icon_trials: the port's glyph trial gives DrawEnv upstream's new mark field.
- IconButton: the over-picture surface and glyph are the ones upstream's side-menu ink then adjusts (one mutable binding).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:27:33 +00:00
Dylan M. TaylorandClaude Opus 5.5 0c98aae844 LOCAL egui override: the workspace egui is the local fork clone (932a73b2 + storytold/egui#48); drop with the craft-libs egui rev move
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:20:11 +00:00
Dylan M. TaylorandClaude Opus 5.5 db6781125f Framework sync: the port's slot and page calls take upstream's version argument (c417cd305)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:20:01 +00:00
Dylan M. TaylorandClaude Opus 5.5 4db85cb0e5 Combine framework sync area platform
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:19:36 +00:00
Dylan M. TaylorandClaude Opus 5.5 b1be858f9a Combine framework sync area patterns
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:19:35 +00:00
Dylan M. TaylorandClaude Opus 5.5 8379c3e89e Combine framework sync area widgets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:19:35 +00:00
Dylan M. TaylorandClaude Opus 5.5 becc015c98 Combine framework sync area contract
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:19:35 +00:00
Dylan M. TaylorandClaude Opus 5.5 6b20ce161d Framework sync, contract area: resolve the ui-contract conflicts
Upstream's body read/updated refactor (read_before_open, read_after_open,
updated_core) carries the port's viewport-window changes: the OS-title
header drop, mount_window with the window spec, least_width_of after
fixed_height.

Carried upstream fixes into the port's code:
- disabled AccessKit nodes (register_disabled) beside the port's numeric
  node flag in register_node and every emit/text/report call site;
- a locked toggle cell (declared inactive) is disabled and offers no
  Click on the port's single toggle-cell node (d4171a04d's intent);
- a disabled lead's Enter refuses through upstream's activate_lead and
  still clears the activation, so its popup stays open;
- Initial::FirstField skips read-only text and falls back to the body's
  first stop;
- scalar-row Increment/Decrement routing beside the port's access_click
  and numeric parts;
- Units keeps both InchSpelling and ZoomPrecision;
- measure_layer uses Overlay::tier; width_from_content takes (Ui, Env)
  and keeps the empty-text width; run_in_host takes the host env and
  still opens the host.

Toggle cells keep the port's mechanism (one node, the row's own;
put_toggle_names and RowToggle go), pending lead question Q369.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 05:19:31 +00:00
Dylan M. TaylorandClaude Opus 5.5 dfdc37c742 Framework sync, platform area: resolve the conflicts of craft-libs main 07a8c471ed
automation: upstream's frozen-clock and ended-connection server hooks join the
port's ServerLimits as ServeOptions {limits, clock, ended}; serve_with and
listen_with take impl Into<ServeOptions>, so ServerLimits callers are
unchanged. AuthDeadlineStream keeps upstream's DeadlineClock. ControlChannel
keeps the port's held request and upstream's held-OK waiters. ui.drag is
upstream's {from, to, button, steps, modifiers} form; the port's drag trial is
carried to it with the same assertions.

draw: TransformBox keeps the port's BoxLook and takes upstream's handle_side;
the port's shared hit declarations use upstream's reach_of_handles.

settings: DiskFiles::read_bytes carries upstream's MAX_CONFIG_BYTES cap.
platform: both logger trials kept (port's attach trial, upstream's poisoned sink).
ui-canvas: the tool pass reports upstream's held Space on the port's env read;
CanvasScrollbars::clear_of takes the port's ShownBars.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:34:25 +00:00
Dylan M. TaylorandClaude Opus 5.5 eb9288d753 Framework sync, widgets area: resolve the craft-libs main merge in ui-widgets and its trials
- buttons: side_menu_ink (upstream, shared with IconButton) takes the port's surface-aware ink.
- link: the port's shade and upstream's on_inverse both kept; on_inverse wins, then tone, then shade.
- bars: upstream's ItemDisplay::Button keeps its face; the port's item icon override still decides the fallback.
- segmented: one wrapping mechanism, upstream's Placement (one line in a row or bar, cut cells with tooltips),
  carrying the port's Proposal::Width room, half-pixel slack and full-room width for a wrapped strip; the port's
  slots/extent go.
- list rows: the port's single toggle-cell node (toggle_cell part) stays; upstream's closed-toggle inactive paint is
  carried onto it; record_toggle_names and the Role::None skip go.
- tile grid: the port's removal of the layout recipe cache stays; upstream's ruled divider spacing is carried,
  including the FitToView fallback.
- text field: upstream's face role and the port's empty-backspace report both kept.
- range slider: upstream's mark-label least width with the port's axis-form height.
- trials: both sides' trials kept in every conflicted test file; imports are the union.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:32:35 +00:00
Dylan M. TaylorandClaude Opus 5.5 0663f18e62 Framework sync, patterns area: resolve the merge of craft-libs main 07a8c471ed
- dialog host: upstream's per-opening serials (OpenedDialog, take_by_open_serial,
  get_by_open_serial, typed get_by_id) carried into the port's kept-actions store.
- ParamDialog: upstream's tagged footer toggles and per-instance flips replace the
  port's session flip; the port's accepting extras and their OK gating stay.
- Param: upstream's and_enabled_when_in is the port's enabled_when list (one
  mechanism; RowOptions::enabled_when_also dropped).
- New Document cards: upstream's Your Recent Items zoom on the port's ColumnRule.
- CommandPalette: upstream's least_width and field look on the port's bound state.
- PreferencesWindow: upstream's Classic layout, page steps and size beside the
  port's LiveCancel mode and page-only disable while nested.
- AppShell: upstream's versioned, memoized page view inside the port's PageKind
  ordering (after the slots, band only when the page covers the title).
- Tests and docs: both sides' pane trials, About imports and dialog host notes kept.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:31:24 +00:00
Dylan M. TaylorandClaude Opus 5.5 a3bd3e5e07 Merge craft-libs main 07a8c471ed into the port (skeleton: conflict markers left in for the area merges)
Cargo.toml takes main's egui pin (932a73b2) and vendor list; Cargo.lock is main's, resolved again after the combine.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 04:24:10 +00: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