Commit Graph
12161 Commits
Author SHA1 Message Date
dotCooCoo c04b57ecbf pointer: a move to the position of the last move does not stir the pass
The begin hook marked a pass as stirred for every PointerMoved event, so a canvas tool host re-hovered a still pointer, with a full hit test, on every pass that repeated the pointer's position. A move now stirs the pass only when it goes to a new position or carries a pen or touch reading. The last move's position is kept per viewport and cleared when the pointer leaves the window.
2026-11-28 19:05:16 -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
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] 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
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] 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
autocraft-bot[bot] 172614aca8 Merge pull request #523 2026-11-29 00:14:32 +00:00
autocraft-bot[bot] 1ae27ae040 Merge pull request #1664 2026-11-29 00:14:29 +00:00
autocraft-bot[bot] adb496e08a Merge pull request #1415 2026-11-29 00:14:27 +00:00
autocraft-bot[bot] d093d319bf Merge pull request #4170 from storytold/integration-craft-libs-20261128-22
Integration batch integration-craft-libs-20261128-22
2026-11-29 00:13:08 +00:00
Dylan M. Taylor ca9dc38c38 fix(stencilcraft): tighten operation validation, docs, and tests
- Validate Operation.icon length/characters in validate_canvas, cap laser power
  to 0..=100, reject negative tab offsets, and avoid duplicate error prefixes.
- Fix stale operation/layer doc comments, target shapes[0] directly in the
  minimal text test, and add format-crate round-trip coverage for operations.
2026-11-28 19:08:24 -05:00
dotCooCoo 598d489936 craft-captions: TTML tag parsing tests count byte reads instead of timing the parse
`many_unmatched_lt_is_fast` asserted that a parse of 256,000 `<` and one
`>` took under 2 s, and `unclosed_angle_brackets_are_escaped_in_one_pass`
asserted under 5 s for 200,000 `<`. On a loaded machine the first took
2.01 s and failed, and 0.10 s when run again.

The TTML writer's tag parser now reads the caption text through a small
`Reader` type in a child module of `ttml.rs`. Its only accessors are
`byte(index)` and `suffix(start)`, an iterator that reads each byte
through `byte`. In test builds `byte` counts its calls. `parse_tag` and
`QuoteCache::next` take a `Reader` in place of a `&[u8]`, and the tag
name is built from the bytes as they are read. Parsing behavior and
output do not change.

The two unit tests write each text at 50,000 and 100,000 characters and
assert at most three byte reads per character of text, and that twice
the text costs less than three times as many reads. With a search for
`>` after every `<` put back in `parse_tag` through `suffix` or through
repeated `byte` calls, both fail at the first assertion: 5,000,050,000
byte reads in a text of 100,000, and 5,000,250,000 in a text of 100,001.
The same search written against the slice (`bytes.get(i..)`) does not
compile, because `Reader` has no `get` method and its field is private.

The count covers only reads through `Reader`. `inline` still holds the
caption text as a `&str`, and a search over it is not counted: with
`rest[1..].find('>')` added to the check for `<` in `inline`,
`many_unmatched_angle_brackets_before_one_gt_are_read_once` passes. A
change that hands the parser the raw slice again, through a new accessor
or parameter, is not counted either.

The integration test keeps its output check as `many_unmatched_lt_stay_text`.
2026-11-28 16:07:49 -08:00
Dylan M. Taylor 7f9cf8256f perf(stencilcraft): index thumbnail geometry once 2026-11-28 19:06:32 -05:00
dotCooCoo fb32cbef25 ui-contract: a disabled inner component disables every owner of a nested PaintUi::inner
An owner that shows a component through PaintUi::inner offered its own owner a
Folded record built only from its own enabled state and its text part, so an
inner component's disabled state stopped one level up. With two inner levels
over a disabled text part, the outermost node stayed enabled and a request that
acts on it reached the intermediate component. The record now also carries the
disabled state the owner received from its own inner component.
2026-11-28 16:05:07 -08:00
autocraft-bot[bot] b2e436210d Merge pull request #4041 2026-11-29 00:02:30 +00:00
autocraft-bot[bot] ce41a7cf3c Merge pull request #3096 2026-11-29 00:02:27 +00:00
autocraft-bot[bot] 2cea4e2351 Merge pull request #595 2026-11-29 00:02:25 +00:00
autocraft-bot[bot] 6cd8b93747 Merge pull request #3680 2026-11-29 00:02:22 +00:00
autocraft-bot[bot] 9675f721f5 Merge pull request #4177 from storytold/integration-craft-libs-20261128-27
Integration batch integration-craft-libs-20261128-27
2026-11-29 00:01:08 +00:00
autocraft-bot[bot] ae741346b1 Merge pull request #4175 from storytold/integration-craft-libs-20261128-26
Integration batch integration-craft-libs-20261128-26
2026-11-28 23:57:19 +00:00
Lucas Batista Vargas e7aef774b7 ui-contract: preserve TrueType hinting in embedded Inter subsets (#3261) 2026-11-28 23:51:07 +00:00
Lucas Batista Vargas 61f353d623 proof: accept German coordinated compounds with ellipsis (wordcraft#5903) (#3415) 2026-11-28 23:51:01 +00:00
Lucas Batista Vargas 3d8df3f30f feat(font-manager): add FontScript::EastAsian and honor bound filters in Plain picker (#3918) (#3919) 2026-11-28 23:50:55 +00:00
Lucas Batista Vargas 32cc7a13ed text: select HyperlinkDialog address field on focus (storytold/wordcraft#7828) (#3926) 2026-11-28 23:50:49 +00:00
Lucas Batista Vargas e9c3bf487c FindReplaceDialog: follow the focused box in the Special menu (#3908) (#3909) 2026-11-28 23:50:31 +00:00
autocraft-bot[bot] 2573769dd4 Merge pull request #4171 from storytold/integration-craft-libs-20261128-23
Integration batch integration-craft-libs-20261128-23
2026-11-28 23:49:31 +00:00
Dylan M. Taylor f4366eccd4 refactor(stencilcraft): support only the operation-first document schema 2026-11-28 18:48:26 -05:00
dotCooCoo 5c251dac39 ui-contract: a disabled text part shown through PaintUi::inner disables the owner's node
The owner's node stands for an inner component's focus stop and sends the
requests it receives to that component. Its routing entry was disabled
only with the owner, so ReplaceSelectedText or SetValue on an enabled
owner still reached an inner field whose text part was disabled. The
inner component now tells the owner's report whether it, or its text
part, is disabled, and the owner's entry is disabled with it.
2026-11-28 15:42:38 -08:00
dotCooCoo ef5313acec ui: a wrapping spread row wraps content that takes a second line and reports its spread line
A wrapping SpaceBetween row counted only its craft children when deciding whether its content fits one line. A direct egui allocation that wrapped onto a second line left the count unchanged, so the real run spread the row and the allocation ran past the row's end edge. The row now also compares how far its content reaches below its top with its tallest child.

When the row spreads its children on one line, its measuring run now reports the line they sit on as the row's first line, as an unwrapped row does, instead of the first child's own first line. A parent row then places the spread children on its own line.
2026-11-28 15:25:18 -08:00
autocraft-bot[bot] 18b90f4778 Merge pull request #3876 2026-11-28 23:23:40 +00:00
autocraft-bot[bot] 3a2cb95fd9 Merge pull request #3490 2026-11-28 23:20:56 +00:00