Commit Graph
640 Commits
Author SHA1 Message Date
aiongg 5c14a9d042 Font picker: give the Arabic sample story Noto Sans Arabic from the craft fonts set
The story's catalog had no face that maps Arabic, so no row showed the
Arabic sample. craft-font-manager's build script embeds Noto Sans Arabic
with fonts-build's Embed when the suite feature is on and CRAFT_FONTS_DIR
names a craft-fonts checkout; without it the table is empty and the story
shows the other families only.
2026-11-22 15:41:05 +00:00
aiongg 457900ec99 Merge remote-tracking branch 'upstream/next' into win-hit-root 2026-11-22 05:56:16 +00:00
aiongg 8d39ecb4db ui-shell: embed::before_ui takes the root window's handle, outside the app feature
An app with its own eframe App and without ui-shell's app feature (which turns
on egui's default fonts) could not call before_ui, so its root window on
Windows got no hit sink: corner resizes and title-bar moves started late,
through the grips' StartResize. before_ui now takes any
raw_window_handle::HasWindowHandle (eframe's Frame), and it and the first fit
build without app. Native only: the browser has no native window.

The trial checks that with the sink installed, the window region's corner and
title bar answer the platform's hit test and a corner drag sends no
BeginResize.
2026-11-22 03:17:29 +00:00
aiongg 017ecd683f egui: pin storytold/egui next f5025284, whose Grid marks its Ui as UiKind::Grid and lays out left to right
craft::egui_fork::REV follows the pin.
2026-11-21 22:46:06 +00:00
aiongg f6b98be494 egui: pin storytold/egui next efd532a5, which makes Ui::is_grid public 2026-11-21 21:50:53 +00:00
aiongg f016e24751 Merge storytold/next into rework-d2
Brings in craft-libs#2756 (frame-t3), #2810 (a memoized view in a row sits on the row's line) and #2838 (home rail look).

- egui pin and Cargo.lock: rework-d2's egui rev, which contains #2756's; frame-t3's serde line for craft-tracked.
- menu bar: EnglishFn goes with frame-t3's removal of english; rework-d2's docs stay.
- Env::start_view_room: keeps both column flags, then Shrink::Fit when the view fits.
- lazy::Place: both opacity and fits.
- Lazy::run_keyed: a memoized view's room is the row's cap when the row narrows it, else the flow region, and then moves down onto the row's line (on_row_line); the cap is horizontal and the move vertical, and the move keeps the room's size, so a kept run replays moved with it.
2026-11-21 14:23:08 +00:00
aiongg df6c100b78 Repin egui to storytold/egui next 72cb386ac: a word laid out in room equal to its width keeps its width
egui's galley cache rounded a finite wrap width to whole points and then
clamped the reported width to it, so "200" (22.47 pt) laid out at 22.47 came
back 22.0 and an Info readout row stacked under its label. The fork rounds to
GUI_ROUNDING instead.

The repin also brings next's two commits ahead of the old pin (AccessKit
parent map reader, replayed widgets as used ids).

Trials: ui-contract text::band (a word in room equal to its width, Wrap and
Elide, at 1x and 2x) and the Info panel trial at G=200, K=44%.
2026-11-21 09:23:14 +00:00
aiongg b5c60e4238 egui: storytold/egui next at 8a3c5ecb2 (replayed widgets are used ids, Context::with_accesskit_parents) 2026-11-21 03:20:45 +00:00
aiongg 5734238622 Memoized views: the view's content keeps the axes the enclosing body sizes from its content
A memoized member of a bar whose content held a vertical rule took the bar's whole open room as its height: the
view's layout room started with no content-sized axes, so a child that fills took the room. The room keeps the
enclosing body's content axes (they join the scope key), so the view takes what its content used, as without the
view. Trial: a bar with a memoized member is as high as the bar with the same content shown plainly.
2026-11-21 03:20:37 +00:00
aiongg d202ab2fec Merge remote-tracking branch 'upstream/next' into memo-stack
# Conflicts:
#	crates/ui-contract/src/testing/mod.rs
#	crates/ui-panels/src/docking/targets.rs
#	crates/ui-patterns/tests/it/docking/floating_area.rs
2026-11-20 23:37:01 +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
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
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 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
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
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 47379d792c Chords, command refs and colours are plain data; the keymap generation is public 2026-11-20 18:16:52 +00:00
aiongg ef60cb99a5 craft-theme: LabelColor is plain data and memo props
craft-layers no longer marks its LabelColor fields: the type derives PlainData in craft-theme (a tier-0 crate, as craft-behavior
is), and the contract crate keys it as it keys the other theme types.
2026-11-20 18:16:52 +00:00
FredApps 712b35379b Merge pull request #1691 from vangel76/fix/drawingml-numfmt-1675
Chart number and date formats show what Excel shows (rounding, dates, fractions, conditions)
2026-11-20 22:45:34 +07:00
David MannandClaude Opus 5.5 1929e79ebb Merge storytold main into next (20 Nov, second sync)
Merges main at 8f92ed1334 (#2550 and the rest of main since the 20 Nov sync).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 16:38:55 +01:00
FredApps 428601bc95 Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/color-ui/src/ui/swatches.rs
#	crates/draw/tests/it/main.rs
#	crates/imaging/tests/it/main.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/text/tests/it/main.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 16:35:19 +01:00
aiongg ec70bb0ff0 Merge storytold next into memo-audit-fix
next's egui pin (6525c87923, storytold/egui#53 on top of the branch's 1a44fd11cd) replaces the branch's; the lockfile
keeps the branch's typeid and craft-ui-contract dependencies. A replay keeps passing its shift: next's in-place
replay is the branch's RecordShift::none case.
2026-11-20 15:01:43 +00:00
aiongg 39da1180ee Merge storytold next into memo-audit-fix
next's WordCraft port and the framework work under it (243d68e12d) take the memoized-view APIs where they meet the
branch: story values bind through StoryData::bind, value_at and pair_at (next's copy-out stories included; one held
form story still binds a copy, as its held answer is a note beside the value); next's env values (GroupLevel,
ControlPlace, RibbonLook, ScreenModeSet), IconMark and PageBandRoom derive MemoProps, and the shell entry keys the page
band's room; request_own_repaint calls become request_repaint. The collection extent next reworked (motion-owned
style context, FillHeight, ideal width by item count) moves into items_extent. The header's hosted cells join the
parts' roving group from the pass's own membership (parts_group over Cx::join_roving), as the parts' stops do. A
content-sized shell slot measures its content with the app running in it every pass. The gallery card hands the
story's output from its view's real run (StoryRun).
2026-11-20 14:58:23 +00:00
FredApps 7afb9444d3 Merge pull request #2544 from storytold/deps/egui-font-cache-revision
Update egui for reusable font layouts
2026-11-20 21:46:26 +07:00
FredApps 7c2494b611 Merge main, retaining chart date formats and data-table metadata 2026-11-20 15:05:16 +01:00
FredApps 9793d1a452 Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/dialogs/src/lib.rs
#	crates/dialogs/src/ui/mod.rs
#	crates/draw/src/ui/gradient/mod.rs
#	crates/draw/src/ui/gradient/swatch.rs
#	crates/menu/src/shortcuts/view.rs
#	crates/menu/tests/it/main.rs
#	crates/menu/tests/it/shortcuts/mod.rs
#	crates/pages/tests/it/main.rs
#	crates/print/src/lib.rs
#	crates/review/tests/it/main.rs
#	crates/story-render/src/main.rs
#	crates/table/tests/it/main.rs
#	crates/text/tests/it/main.rs
#	crates/ui-canvas/src/canvas/navigate/mod.rs
#	crates/ui-canvas/tests/it/canvas/mod.rs
#	crates/ui-contract/tests/it/access/mod.rs
#	crates/ui-contract/tests/it/fonts/mod.rs
#	crates/ui-contract/tests/it/runtime/mod.rs
#	crates/ui-gallery/src/foundations/mod.rs
#	crates/ui-patterns/src/patterns/preferences/mod.rs
#	crates/ui-patterns/tests/it/docking/mod.rs
#	crates/ui-patterns/tests/it/form_dialogs/mod.rs
#	crates/ui-patterns/tests/it/panels/palette.rs
#	crates/ui-patterns/tests/it/preferences/mod.rs
#	crates/ui-shell/src/shell/mod.rs
#	crates/ui-shell/tests/it/shell/mod.rs
#	crates/ui-widgets/src/tabs/strip.rs
#	crates/ui-widgets/tests/it/bars/mod.rs
#	crates/ui-widgets/tests/it/contract/mod.rs
#	crates/ui-widgets/tests/it/layout/mod.rs
#	crates/ui-widgets/tests/it/main.rs
#	crates/ui-widgets/tests/it/menu/mod.rs
#	crates/ui-widgets/tests/it/pickers/mod.rs
#	crates/ui-widgets/tests/it/text/mod.rs
2026-11-20 15:04:36 +01:00
David MannandClaude Opus 5.5 f9ebae49c0 craft-control agents: default agent folder in Documents and the agent_folders tool (#2548)
An empty agent folder setting meant no file access, so an agent reached
through the launcher's MCP entry could neither open nor save a file, and
nothing told it where to put files.

- default_folder(app): Documents/ArtCraft/Agents/<App> (dirs::document_dir,
  else ~/Documents), only for plain app names.
- AgentSettings::folders / folders_with: the person's own folders win; an
  empty setting falls back to the default, created on first use.
- The live client's headless sessions use it (LiveConfig::default_folder).
- FOLDERS_TOOL, folders_tool, folders_answer: the tool each app offers so an
  agent learns the folders it may use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:00:40 +01:00
Dylan M. Taylor 9eb02be84f Merge pull request #2546 from dylanmtaylor/feat/pdf-max-coverage
feat(pdf): enforce max_coverage budget via vendored vello_cpu 0.0.8
2026-11-20 08:27:48 -05:00
FredApps 048ab3d01b Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/imaging/Cargo.toml
2026-11-20 13:48:31 +01:00
FredApps dd0596ae8f Merge branch 'next' of https://github.com/storytold/craft-libs into publish/registry-2332
# Conflicts:
#	crates/menu/tests/it/main.rs
2026-11-20 13:44:42 +01:00
FredApps 5cbdea1d15 build: update egui for reusable font layouts 2026-11-20 13:36:36 +01:00
Martin BallandClaude Opus 5.5 27c1c0ebb1 Merge storytold next (d5b465e54) into the port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:17:11 +00:00
David Mann d5b465e544 Merge pull request #2419 from haranishi/fix/10102-raw-window-placement
Remember the native Raw Develop window placement
2026-11-20 12:44:45 +01:00
aiongg 439a6ced67 Merge storytold next into memo-audit-fix 2026-11-20 11:44:32 +00:00
FredApps c8d7736628 Merge pull request #2362 from storytold/perf/2335-runtime-accessors
Share pass services and contract steps across component types
2026-11-20 18:20:49 +07:00
aiongg ea609119ea egui: pin storytold/egui next at 1a44fd11c 2026-11-20 11:17:07 +00:00
aiongg bddc593180 Merge storytold next into memo-audit-fix
Memoized views stay the one change mechanism: next's settling-path additions (modifier reads as bind keys, given-edit
and keymap unsettling, settle counters) give way to the tracked inputs that cover them, and request_own_repaint calls
become request_repaint. next's command board, node facts after the node check, the guide drag out of a ruler and the
CommandStates input are taken; the trials next wrote on Lazy::settles run on memoized views. The ruler guide env value
keys a view under the canvas in every pass of a drag. The replay audit's run in the gate takes next's target selection.
2026-11-20 10:26:06 +00:00
aiongg 5ac0410a58 craft-ui: the replay audit compares geometry within 1/256 pt
A record moved by a whole pixel from positions off the float grid differs from a run at the new place by rounding
only. Shift::snapped takes a value's coordinates and floats from the run's where they lie within the tolerance, so the
journal, the rect and the output compare with == after it; egui's PassRecords::first_difference takes the same
tolerance (aiongg/egui b65cbd8d9, pinned here). Ids, counts, colours and text stay exact.
2026-11-20 09:46:25 +00:00
aiongg 0033d0c7b3 craft-ui: a kept run replays only on the font atlas it ran on
egui clears the font atlas when it fills up and rebuilds it for new text options; a kept galley's glyphs then name
other glyphs. lazy::Place holds the atlas generation (egui Fonts::atlas_generation, aiongg/egui memo-atlas-generation
dd086c7f29), so the one rule for kept paint covers it. Trial: a settled view runs after the atlas is rebuilt.
2026-11-20 08:04:19 +00:00
kiwi4boy bb829867fa Merge remote-tracking branch 'origin/main' into ppt95-text 2026-11-20 02:54:29 -05:00
Dylan M. Taylor cbf62cb2ce Merge branch 'main' into feat/audio-dsp 2026-11-20 00:26:12 -05:00
FredApps c0eb1b6277 Merge pull request #1162 from keithcsqueensu/math-ports
craft-math: linear-format and OMML writer fixes (ports of wordcraft#6080–#6085, #6230, #6236)
2026-11-20 11:55:26 +07:00
Dylan M. Taylor 4e1983238a Merge branch 'main' into feat/audio-dsp 2026-11-19 23:48:41 -05:00
Dylan M. Taylor 380a2f79f6 craft-sbs: share SBS package/schema read/write, sniffing, URI resolution, and embedded codec (#2496)
* sbs: add craft-sbs crate for SBS package/schema read/write

* craft-sbs: fix roxmltree 0.21 ParsingOptions and test imports
2026-11-19 23:40:51 -05:00
Martin BallandClaude Opus 5.5 bc4bb7bd73 Merge craft-libs next 7efbe8bb6 into the WordCraft port
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 03:53:30 +00:00
Dylan M. Taylor 63029ff9cb Merge branch 'main' into feat/audio-dsp 2026-11-19 22:27:43 -05:00
kiwi4boy 60d7a16ccc ppt-binary: read PowerPoint 95 placeholders and text (#2317, step 2)
PowerPoint 95 slides now hold their placeholders and text boxes, each with
its box (converted from master units about the slide's centre) and its text:
paragraphs with their level, alignment, bullet character and the indents of
the text's ruler, and runs with their font, size, bold, italic, underline and
colour, decoded as Windows-1252. Placeholder types use PowerPoint 95's own
numbering. The master's placeholders place the default master's, and its
footer row every layout's, through the overlay the PowerPoint 97 path uses,
now shared. Run tables and text are bounded by the text they cover.
2026-11-19 21:59:39 -05:00
aiongg b05c1c27f9 Merge storytold main into next (20 Nov sync) 2026-11-20 01:48:18 +00:00
Dylan M. Taylor 3dff4793f1 craft-develop, craft-color-transform: deduplicate spline, add 1024-entry compose_len, spaces, and warm-green WB test (#2464)
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test

* cct: check bradford identity and matrix tolerance in warm-green WB test

* style(color-transform): fix clippy needless_range_loop in cct test
2026-11-19 20:36:43 -05:00
Dylan M. Taylor 483f2ab81f craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778) (#2459)
* craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778)

* chore: update Cargo.lock for craft-usd

* craft-usd: add integration tests for USDA/USDC scene read/write (#778)

* fix(usd): use asset-only external reference syntax in scene test

* test(usd): include Shader child prim for material surface target in neutral layer test
2026-11-19 20:36:34 -05:00