Commit Graph
8520 Commits
Author SHA1 Message Date
Dylan M. Taylor d7d2ba44e3 Hand passed drags to arena background parts 2026-11-20 17:02:21 -05:00
FredApps ead1233137 Test dependency-gated registry helpers 2026-11-20 22:56:31 +01:00
FredApps 531d7bbd0f Gate generated registry helpers on dependency suite 2026-11-20 22:49:52 +01:00
aiongg 4e11e2b9d4 drawingml: the format doc link names the function 2026-11-20 21:43:12 +00:00
Dylan M. Taylor e2fae69a72 Space document tabs while preserving gap drops 2026-11-20 16:40:29 -05:00
aiongg 5d72faf4b2 Cross-member reads on next: svg's font from ui-contract, font-manager declares Inter, pdf's Tiny-glyf fixture restored 2026-11-20 21:26:45 +00:00
aiongg 901f3c785b Merge remote-tracking branch 'upstream/main' into next-sync-1120c
# Conflicts:
#	.github/workflows/workspace.yml
#	crates/proof/src/affix_suggest.rs
#	crates/proof/src/it/suggest.rs
#	crates/proof/src/pl/suggest.rs
#	crates/proof/src/pt/suggest.rs
#	crates/proof/src/ru/suggest.rs
#	scripts/test-workspace-tests.py
2026-11-20 21:22:40 +00:00
David Mann 50e00dd493 Merge pull request #2631 from davidmann4/fix/scrollbar-arrows-pointer-only
Canvas scroll bars: thumb drag follows every move; arrows take no keyboard focus
2026-11-20 22:16:12 +01:00
Dylan M. Taylor f2b271c546 Distinguish callout box and leader drags 2026-11-20 16:09:30 -05:00
Dylan M. Taylor 503a71c00e Honor root comment deletion permissions 2026-11-20 15:52:32 -05:00
Dylan M. Taylor 23d8f47fd7 Preserve page zoom anchor through tool host 2026-11-20 15:43:15 -05:00
aiongg c30c9e1749 Merge remote-tracking branch 'upstream/next' into memo-stack
# Conflicts:
#	crates/layers/tests/it/main.rs
#	crates/menu/tests/it/main.rs
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
2026-11-20 20:32:36 +00:00
aiongg baa3a2f258 Merge remote-tracking branch 'upstream/next' into ruler-look
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
2026-11-20 20:31:23 +00:00
aiongg 6fea865c9a Grip trial: the icon-rect closure is not named like an icon id 2026-11-20 20:31:09 +00:00
FredApps 2ad95c4994 Merge pull request #2361 from storytold/perf/2333-text-layout
Reuse text layouts and measure supported leaves once per sweep
2026-11-21 03:16:33 +07:00
FredApps 9c180fca2f Merge pull request #2363 from storytold/perf/2332-explicit-ui-suite
Split the UI test kit and select suite registrations explicitly
2026-11-21 03:16:06 +07:00
David Mann 399922917f Merge pull request #2634 from davidmann4/fix/picker-full-hex-enter
Color Picker: Enter in the Full layout's hex field confirms
2026-11-20 21:11:43 +01:00
David Mann 2422396c0b Merge pull request #2612 from davidmann4/fix/snap-span-reach
Snap targets can reach past their spans
2026-11-20 21:04:32 +01:00
aiongg a45db600db contract: MOVE_BAND's re-export stays testing-only 2026-11-20 20:04:01 +00:00
aiongg a36e14750f design-lint: the menu bar stories keep their model in a static; GridWidths::Content names the content's measured widths 2026-11-20 20:01:54 +00:00
aiongg 761faa9d3a Merge remote-tracking branch 'upstream/next' into floating-restore
# Conflicts:
#	crates/ui-contract/src/contract/body/hooks.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	docs/contract-api.md
2026-11-20 20:00:02 +00:00
Dylan M. Taylor 865baab71b Resolve secondary presses on context-only parts 2026-11-20 14:52:30 -05:00
David Mann 6d3d29331c Canvas scroll bars: a thumb drag follows every move
The canvas settles the view it is given to whole device pixels, so a
thumb drag's first proposal came back with its centre a fraction of a
pixel off. The value step read that as the app changing the view under
the gesture and cancelled it (HostChanged); the cancelled gesture refused
every later proposal until the release, so the view moved once and then
stayed (photocraft#16006). The bars now take a host view with the same
zoom, turn, mirroring and aspect and a centre within a point as their own
value (same_value), as the number fields do with rounded values.
2026-11-20 20:51:50 +01:00
aiongg ddd2e23f89 Collapsed floating windows resize their width
A collapsed dock window's sides resize its width, and only its width, within the bounds of a docked collapsed column
(DockSizes::iconic_bounds, the one rule both use), on macOS by AppKit and elsewhere by the window's own grips.
FloatingGroupOutput::collapsed_width reports the width, which the area keeps as the column's iconic width through the
docked column's own path (Action::ResizeIconic); names show from IconicSizes::labels as in a docked column. The height
stays the icons', the expanded rect keeps its size and the window keeps its edge. The column in a window has no
inner-edge divider: the window's sides size it, as for an expanded column.
2026-11-20 19:45:04 +00:00
FredApps 2d9d096e4f Merge pull request #2495 from keithcsqueensu/ppt95-shapes
craft-ppt-binary: read PowerPoint 95 shapes and lines (#2317, step 3)
2026-11-21 02:41:26 +07:00
David Mann 31997fa3b6 Merge pull request #2564 from davidmann4/next-sync-1120b
Merge storytold main into next (20 Nov, second sync)
2026-11-20 20:25:24 +01:00
aiongg b5edc283c0 Merge remote-tracking branch 'upstream/next' into ruler-look
# Conflicts:
#	crates/text/src/ui/ruler/stories.rs
#	crates/ui-canvas/src/canvas/rulers/stories.rs
#	crates/ui-gallery/src/chrome/card.rs
#	crates/ui-gallery/src/chrome/variants.rs
#	docs/contract-api.md
2026-11-20 19:21:26 +00:00
Dylan M. Taylor 469a82076e Restrict wheel recipients to the active modal family 2026-11-20 14:16:20 -05:00
David Mann 80807123fb Color Picker: Enter in the Full layout's hex field confirms
3155a1d38 made the hex field own Enter for the tabbed Colors dialog. The
Full layout focuses the same field on its first show, so its Enter only
committed the digits and the dialog stayed open. In the reference image
editor's Color Picker, digits typed there and Enter set the colour and
close the dialog. The field owns Enter in the Compact layout only.
2026-11-20 20:14:04 +01:00
FredApps d7fc79387d Merge pull request #2493 from keithcsqueensu/ppt95-text
craft-ppt-binary: read PowerPoint 95 placeholders and text (#2317, step 2)
2026-11-21 02:10:22 +07:00
aiongg 0120d452f0 Docs: links to DockSizes::stepped and SpecSource::permissions; MemoProps link target 2026-11-20 19:01:19 +00:00
David Mann 552ce4a803 Canvas scroll bar arrows take no keyboard focus
The document chrome's step arrows were focusable stops. Tab stopped on
them, and when the canvas's focused part went away (a crop that shrank
the document) focus fell through to an arrow, which then took the Escape
that cancels the next crop frame. The canvas scrolls with its own keys
(arrows, Page Up/Down, Home and End), and in the reference application
the scroll bar arrows take no keyboard focus, so the arrows are
pointer-only, like the corner.
2026-11-20 19:58:58 +01:00
FredApps d292c8a742 Format combined measurement exports 2026-11-20 19:56:31 +01:00
Dylan M. Taylor 6b4c8a403c Measure document tab controls on every layout sweep 2026-11-20 13:50:38 -05:00
aiongg c8b506997e cargo fmt 2026-11-20 18:45:25 +00:00
David Mann d7a61a8889 Snap targets can reach past their spans
A spanned target catches only a point or box overlapping its span on the
other axis since canvas-w4, which keeps a layer's edge on its page from
catching a box on another page. Photoshop-style layer edges snap a box
beside them too (side-by-side boxes align their tops), so PhotoCraft's
Move tool stopped snapping to other layers' edges.

SnapTargets::reach_past_spans() lets every target catch along its whole
line, the span only shaping the drawn smart guide. The default is
unchanged, and filtered() keeps the setting.
2026-11-20 19:45:06 +01:00
aiongg ac234e6e4b Tool rail: remembered tools keyed by the scope id (egui's renamed Ui::id) 2026-11-20 18:40:38 +00:00
Dylan M. Taylor deca5dd355 Retry live preferences after custom edits 2026-11-20 13:33:37 -05:00
FredApps 9fd22632b4 Merge commit 'bce3d25e' into perf/font-revision-consumer 2026-11-20 19:32:56 +01:00
FredApps bce3d25ea1 Follow upstream settled test replacement 2026-11-20 19:32:44 +01:00
aiongg 7d8bcd18bd Iconic columns: a visible grip bar on top of each icon group
Each icon group has a grip strip above its first icon, size.hit.target high and part of the group's rect, with a
thin pill centred across it: stroke.thick thick, half an icon cell long (GRIP_BAR_IN_CELLS), the theme's pill
rounding, text.muted at rest and text.normal while hovered or dragged. The grip part takes exactly the strip
(exact_hit), so it no longer reaches into the first icon; a drag on it moves the group as before. icons_height adds
one strip per group, and a flyout's top stays level with its group's first icon.
2026-11-20 18:30:30 +00:00
FredApps 95761e1418 Merge commit '752d2279' into perf/font-revision-consumer 2026-11-20 19:27:10 +01:00
FredApps 752d2279ce Allow the owned gallery story memo key 2026-11-20 19:26:44 +01:00
FredApps 0abd4eb4fe Merge commit '36dea842' into perf/font-revision-consumer
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
2026-11-20 19:26:27 +01:00
FredApps 36dea842e8 Merge remote-tracking branch 'origin/next' into perf/2332-print-coverage
# Conflicts:
#	crates/design-lint/src/workspace.rs
#	crates/menu/tests/it/main.rs
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-gallery/src/chrome/card.rs
#	crates/ui-gallery/src/viewer/catalog.rs
#	crates/ui-gallery/tests/it/main.rs
#	crates/ui-widgets/tests/it/bars/mod.rs
#	crates/ui-widgets/tests/it/body/mod.rs
#	crates/ui-widgets/tests/it/text/chips.rs
2026-11-20 19:23:18 +01:00
aiongg 3f9adf355d Rulers: an edge and a centred face, picked by the component set
`RulerFace { Edge, Centred }` sits beside `TickEdge`, and
`RulerFace::of(set)` maps the creative set to Edge and the office set to
Centred. The shared tick painter takes the face. Centred draws a bar
inset in the strip by `space.gap.tight`, centres the marks on it, and
puts a number in place of each whole-unit mark. No mark runs under a
number (`RulerFace::beside_numbers`), so a whole-unit tick shows only
where its number is dropped.

TextRuler, VerticalRuler and canvas Rulers take an optional `face` prop
in their style key. Unset, the style resolves it from the scope's set.
PageRulers passes its face to both of its rulers, and the timeline ruler
keeps the edge face.

Under Centred:
- the strip is on the chrome surface and the bar carries the margin
  shade and the text column on the well;
- numbers show only over the text area and are dropped where a marker
  stands;
- canvas Rulers shade their margin bands as the text ruler does.

Edge is the look the rulers had before. Each ruler gets an edge and a
centred story.
2026-11-20 18:23:17 +00:00
dependabot[bot] a20dfd1623 ci(deps): bump actions/checkout (#2582)
Bumps the actions group with 1 update in the / directory: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.4.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.4.0...v7.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-20 13:19:17 -05:00
bdb9dae67d craft-xlsx: typed external links, and external references in binary formulas (#1347)
* craft-xlsx: typed external links, read from .xlsx and .xlsb; external references in binary formulas

ExternalLink (another workbook as ExternalBook: its target, sheet names,
defined names with refersTo and sheetId, and cached cells; a DDE or OLE link
as Other) reads from externalLinkN.xml and externalLinkN.bin alike.
Package::external_links gives one entry per Workbook::external_references,
which is now a typed field, read from externalReferences or the binary
workbook's BrtSupBookSrc records and written back from the field.

A binary formula's reference to another workbook decodes as .xlsx spells it:
[1]Data!$A$1, '[1]Other Sheet'!A1, '[1]A:C'!A1, [1]!ExtName, [1]Data!Local
for a sheet-scoped name, a DDE item [2]!'R1C1'. The link parts are read when
the workbook part is; one that can't be read, a deleted sheet of it or a name
it lacks keeps the cell's saved result.

Closes #1252.

* craft-xlsx: review fixes: external links keep their numbers, are read once, and deleted sheets keep values

- An externalReference without an r:id, or a BrtSupBookSrc whose id can't be
  read, keeps its place as an empty id, so the links after it keep their
  [n]; it is written back without r:id.
- A binary workbook's external link parts are read once, with its workbook
  part: the formulas' index and Package::external_links share that read, so
  cached cells are charged to binary_cells once.
- PtgNameX through a deleted sheet of another workbook (-1) keeps the cell's
  saved result instead of falling back to the name's own scope.

* craft-xlsx: deduplicate binary external links against budget and add cache-cap test

* craft-xlsx: avoid cloning ExternalLink on duplicate binary external references

---------

Co-authored-by: kiwi4boy <kiwi4boy@gmail.com>
Co-authored-by: FredApps <FredApps@users.noreply.github.com>
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-20 13:19:14 -05:00
aiongg e80eacc2ab ui-bench: menu-80-rows, inspector-1000-fields and --only; trial of component runs per menu row 2026-11-20 18:17:34 +00:00
aiongg 6769a5ca21 craft-ui-panels: the tool rail derives its remembered tools under the slots', last-used and hidden revisions 2026-11-20 18:17:24 +00:00