Commit Graph
2724 Commits
Author SHA1 Message Date
aiongg 02e1c47112 Param list additions and the preview click point: Param::multiline, Param::read_only_text, PreviewOutput::clicked through ParamDialog and HostedParamDialog 2026-11-13 18:32:12 +00:00
aiongg df9a3eee36 docs: contract-api and components-index regenerated 2026-11-13 18:28:08 +00:00
aiongg 32d694f8c3 A column group's value and unit reads settle before a measure stands, wherever the row sits
Every read of a column other than a label one in a measuring run counts as early: the reader's own width holds the column, so a content-sized field read directly in a group (or after a presets chevron) re-sweeps at the group's final widths instead of running past the group.

The settle re-sweep is drafted with the Auto id ordinals kept, so the rows of the second sweep get the ids the real run gives them and a settled frame takes the kept measurements.

A component's own leaf label step runs under the field frame: its control reads the value and unit columns in both runs.
2026-11-13 18:25:43 +00:00
aiongg 24416a0c17 Divide Slices: a count shows no pixel unit 2026-11-13 18:25:43 +00:00
aiongg 35b57473e3 Content-sized number fields line up their values and units across a column group: a field's body shares the group's columns other than its labels 2026-11-13 18:25:43 +00:00
aiongg 5a0f8a6cdd docs: contract-api and components-index regenerated 2026-11-13 18:25:40 +00:00
aiongg 871945b5ae Trial: the focus target uses Id::unique (Id::new is deprecated in the egui pin) 2026-11-13 18:21:21 +00:00
aiongg b0f858b567 Injected input: a document withdraw takes effect per step at the next input hook and removes a handed-over step 2026-11-13 18:21:21 +00:00
aiongg 9d0d7ff3e2 Trial: queued input is withdrawn when its target changes 2026-11-13 18:21:21 +00:00
aiongg 12dae06907 Injected input holds presses, keys and modifiers; wheel, release, Caps Lock override, hover rest and document points 2026-11-13 18:21:21 +00:00
aiongg 42f4adb378 docs: contract-api and components-index regenerated 2026-11-13 18:21:18 +00:00
aiongg e0162ae507 Layer stack: a family is modal by its root, so a hosted modal lifted by its drag strips stacks under a later app dialog 2026-11-13 18:15:44 +00:00
aiongg 23b96d6115 DialogHost walk: hosted and app-drawn dialogs show in one walk of the stack, each at its place
walk + next_beside show the host's dialogs in stack order inside their stack place and hand the app each of its own dialogs (BesideStep) to show at its place; run is the walk with no app dialogs. A dialog of the app that leaves the stack (close_beside, or with a hosted parent) closes the framework layers opened inside it: at once when a Context is there, else at the next walk. Trials: app_dialogs_draw_and_take_input_at_their_stack_place, the_walk_shows_each_dialog_once_per_pass, a_framework_popup_in_an_app_dialog_closes_with_it.
2026-11-13 18:15:44 +00:00
aiongg 8de9e2dd3e Layer stack: dialogs stack at their stack place; app-drawn modals are modal layers of the stack
overlay::stack_place gives the layers a dialog host shows their place on its stack, and the modal families that carry one stack in the stack's order in the slots the raise order gave them: a press on a lower dialog or a dialog replaced in place no longer reorders them. contract::overlay::show_beside_modal shows an egui::Modal the app draws itself as a modal layer (order, top modal, egui's modal layer, key blocking, a focus scope that leaves Escape and Enter to the app, parent of the layers opened inside it); close_beside_modal closes those layers when the dialog closes.
2026-11-13 18:15:44 +00:00
aiongg e4f89cf796 Repin the egui fork to craft/popup-above-parent dcd4de1fb (E34 on E33): an egui popup stays directly above the layer it opened from 2026-11-13 18:15:44 +00:00
aiongg a9ed41b60f DialogHost::open_beside and close_beside: app dialogs take their stack place when they open and close 2026-11-13 18:15:44 +00:00
aiongg e98b39a326 DialogHost::sync_beside and automation inspect_stack: app dialogs share the host's stack 2026-11-13 18:15:44 +00:00
aiongg c6a443ac1b docs: contract-api and components-index regenerated 2026-11-13 18:02:26 +00:00
aiongg 1150dd376c Elided text: a path's readable least is measured on the cut it paints, a cut trims white space before its ellipsis, and a row records which units it dropped
TextRun::least_width measures Wrap::ElidePath on the range layout_cut paints at that width (the last name cut, or
the name whole after the ellipsis), through one path_name helper both share. cut_pieces trims white space before the
ellipsis, in the paint and the least alike. The row shrink step records each unit's width and whether it dropped as a
Shrink record in layout memory (layout::ShrinkCap), and a leaf reads the drop from it.
2026-11-13 17:57:00 +00:00
aiongg abddf29103 Row shrink step: a row that does not scroll drops its cut-first units from the end when they do not fit at their least 2026-11-13 17:57:00 +00:00
aiongg ac83ed0ed2 TextRun readable least: an elided run narrows to its first four characters and the ellipsis, measured and painted through one cut 2026-11-13 17:57:00 +00:00
aiongg 633bbba9da Bar: a labelled control and its label are judged as one member, so the rules before it settle with it 2026-11-13 17:57:00 +00:00
aiongg 449f761222 docs: contract-api and components-index regenerated 2026-11-13 17:56:56 +00:00
aiongg c6035506e9 Tool drawer: group headings are section headings (strong, as in the old gallery) 2026-11-13 17:44:44 +00:00
aiongg 6f1263daad ListRow trial: group header weight against section heading 2026-11-13 17:44:44 +00:00
aiongg fb3962ce5d ListRow: a group header reads in the body weight, section_heading for a table's strong section rows; TileGrid: a leading group header sits at the top edge 2026-11-13 17:44:43 +00:00
aiongg 53ff1a9cc7 cargo fmt 2026-11-13 17:44:43 +00:00
aiongg c895a8a45b PresetPanelMenu trial: view checks and Save… gating agree between states and the per-command answers 2026-11-13 17:44:42 +00:00
aiongg bc95df75c0 PresetPanelMenu: checked and enabled per command, for a host that draws the panel menu itself 2026-11-13 17:44:42 +00:00
aiongg ca32ee03be TileGrid: group headers are as high as the grid's other rows (a heading row), not a panel title 2026-11-13 17:44:41 +00:00
aiongg e8329e5d52 FooterBar leading controls: units of the bar's row, narrowing to leave the actions their width 2026-11-13 17:44:41 +00:00
aiongg 25bc6bda1c PresetBrowser footer: stays in the room under a long library, spans the footer under one rule, count on one line; room_height sizes a browser to its presets 2026-11-13 17:44:41 +00:00
aiongg 4e542896f7 PresetEvent: constructors for the struct variants, so hosts can table-test their event mapping 2026-11-13 17:44:40 +00:00
aiongg d76615b3d4 PresetBrowser drop zone: a preset released over the host's zone reports DropAt, on the drag runtime's targets
DropZone names a rect on an egui layer; drag::zone_target registers a target over it with the
layer order, operation and mark of a component's own target, which now goes through the same
function. Trials: the zone drop (and the covered, outside and group cases), and a PresetPicker
inside a Popover keeping the popover open through open and pick.
2026-11-13 17:44:40 +00:00
aiongg 328af6782e craft-timeline: craft-time is the one time model
craft-timeline's Tick, TimeRange, FrameRate, TimeDisplay, SMPTE field conversion and timecode
formatting are craft-time's, re-exported from time.rs as storytold's 5e24ea380 does, so
craft_timeline::time::* paths keep working. The timeline keeps what is about a timeline: TimeView
and VIEW_EXTENT_PAST_END, and TimeFormat as its time display (frame offset, compact feet + frames,
the audio samples and seconds readers) over craft-time's formatters and parsers. FrameRate's
locale-digit menu label is rates::frame_rate_label.

captions and edl use craft-time's field tuples, as storytold's do. The time trials that repeat
craft-time's own tests go; five that test craft-time code it did not test yet are in
crates/time/tests/timeline.rs.
2026-11-13 17:44:40 +00:00
aiongg 83e75d696a SystemState reads the generation before the appearance 2026-11-13 17:44:40 +00:00
aiongg 304030b65b runtime: the root's System choices resolve from the host's SystemReader
InstallSpec::system takes the reader (ui-shell's create starts it with a
repaint wake); the input hook feeds egui's Event::SystemTheme into it, and
system_appearance(ctx) gives the reading and its generation, the one source
RootEnv::resolved uses. egui's system_theme is no longer read. The root token
cache counts its misses for tests (root_token_resolves replaces
root_token_entries).
2026-11-13 17:44:39 +00:00
aiongg cab517ad34 craft-platform: SystemReader::generation rises on each appearance change; report_theme takes the integration's colour scheme
The watcher raises its generation where a portal value arrives and the theme,
contrast or reduced motion changes; layout and icon changes leave it.
SystemReader::unwatched answers only what the host reports; the testing
feature reports contrast and reduced motion in place of an OS source.
2026-11-13 17:44:39 +00:00
aiongg 70325b056e egui fork 8026738c: Event::SystemTheme reports the OS's light or dark preference when the integration first knows it and on each change 2026-11-13 17:44:38 +00:00
aiongg a350d741fc docs: contract-api and components-index regenerated 2026-11-13 17:43:26 +00:00
aiongg 7792b83b7b Merge storytold main 3c59a2aa5 (sync 13 Nov) 2026-11-13 17:19:17 +00:00
aiongg 577055bc34 Merge storytold main 3c59a2aa5 into craft-framework (sync 13 Nov)
202 upstream commits since 6cb00467a. Resolutions:
- craft-window, craft-platform: ours. Upstream's frame policy v2, restore
  store and GNOME light/wait_first are the versions carried on 28 Oct;
  ours moved place() to craft-behavior and kept LayoutWatch and the
  appearance/portal.rs split.
- craft-timeline: ours. craft-time (crates/time) lands as upstream wrote
  it and is not yet used by craft-timeline.
- Old crates/ui modules stay removed. Upstream's frosted backdrops, shape
  gallery, dialog tabs and the iconic flyout top-edge rendering are not
  carried. The #1094 model half is in craft-behavior's dock:
  Group::flyout_offset and Action::MoveFlyoutTop.
- craft-update: #586 Save and Update, the install probe on the check
  thread and quiet per-user MSI self-updates, carried into updater.rs,
  stack_dialogs.rs, install/windows.rs and self_update/helper.rs.
- craft-jpeg: progressive Huffman decoding, carried into huffman.rs,
  parse.rs and scan.rs.
- craft-print: the driver settings dialog's new tests and the bounded
  XML parse's tests, as trials.
- Test-only conflicts: upstream tests from before the base that our side
  cut stay cut; tests new upstream are kept.
2026-11-13 17:11:48 +00:00
aiongg 48d087844d Full-window workspaces on the DialogHost: FullWindowWorkspace and HostedWorkspace
A workspace implements FullWindowWorkspace (its source, events and OK answer) and opens on the app's
DialogHost as a HostedWorkspace. The hosted value owns the source as an Arc, binds the open state to
its own field, queues each pass's events until the app takes them, and finishes with OK's answer or
Cancel. Trials: a hosted workspace fills the window, reports its events, answers OK, cancels on
Escape and reopens; the view commands zoom its view. Story: hosted_workspace on FullWindowDialog.
2026-11-13 17:08:49 +00:00
aiongg 779c45ccd3 craft::egui_fork::REV names the pinned fork rev fe5f026b8 2026-11-13 17:07:14 +00:00
aiongg b719904755 Take harfbuzz-subset-sys from storytold's HarfBuzz fork
The HarfBuzz subsetter bindings live in storytold/harfbuzz, branch
rust-subset-15.0.0 (HarfBuzz 15.0.0 plus rust/harfbuzz-subset-sys, which
compiles the fork's own src/). The workspace pins that package by commit
and no longer carries a copy of the HarfBuzz sources, the crate, or the
update script. design-lint's unsafe allow list, the facade's crate list,
ATTRIBUTION and the framework doc follow.
2026-11-13 16:42:06 +00:00
aiongg d2627ae1aa docs: contract-api and components-index regenerated 2026-11-13 16:41:47 +00:00
aiongg f7f968a23d Repin the egui fork to craft/ime-reset-retired fe5f026b8: eframe web reports retired reset requests 2026-11-13 16:15:16 +00:00
aiongg 73030467ae IME engine fix round 1: only the IME owner's report counts; retired resets come from the integration
- note_editor ignores every editor but the IME owner, so a second editor shown after it leaves the owner's
  composing report standing; editor_history answers non-owners (false, false).
- egui repinned to the fork's craft/ime-reset-retired (9b1f60c60): Event::ImeResetRetired reports a reset request
  egui-winit or PlatformOutput::append dropped without a completion. The engine asks again on the retirement of
  its own request; the focus check and the no-output retire in end_pass are gone. The test fixture reports
  retirements where egui-winit does (focus loss, no IME output, another IME context, a newer request, egui's
  dropped requests).
- The sheet grid's point mode ends a composition in the draft, its marked text kept as typed.
- TextEditor applies a pass's input before its press (the press is the pass's last pointer event, H0), so a
  preedit and a press in one raw frame change the marked text once and the press interrupts.

Trials: a reset the integration retires is asked again (craft-ui-contract); the click trial gains a second
editor shown after the composing one and a preedit-then-press frame (craft-text).
2026-11-13 16:15:16 +00:00
aiongg f910b4fe3c IME engine: an editor's own end of composition interrupts the OS composition; resets end only with their own completion
EditorState.composing replaces EditorState.revision (and TextEditorHost::revision): an editor that reported
composing and now does not ended the composition itself (a press in its text, a selection, an app edit over the
marked text), and the engine interrupts the OS composition and drops its late events. TextEditor and the sheet
grid report their marked text; editors that show none report false throughout.

The reset fence ends only with the completion of the engine's latest request (ImeResetId); an earlier request's
completion is stale. A request the integration can no longer answer (a pass with no IME output, an unfocused
window) is retired and asked again when an owner returns.

Trials: preedit and a click during composition for a canvas TextEditor, with one press per pass holding the late
commit for the next pass (craft-text); reset requests and stale completions (craft-ui-contract).
2026-11-13 16:15:16 +00:00
Dylan M. Taylor 3c59a2aa52 Merge pull request #1204 from dylanmtaylor/codex/effectcraft-dotlottie-container
feat(lottie): share bounded dotLottie ZIP handling
2026-11-13 10:50:42 -05:00