Commit Graph
2710 Commits
Author SHA1 Message Date
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
Dylan M. Taylor 976eb51c59 Merge pull request #1200 from dylanmtaylor/feat/figcraft-native-preview
Share bounded FigCraft preview archive reads
2026-11-13 10:34:48 -05:00
Dylan M. Taylor 156b491b91 Merge pull request #1202 from storytold/codex/h264-filmcraft-parity
craft-video: preserve FilmCraft H.264 search starts
2026-11-13 10:19:27 -05:00
Dylan M. Taylor b7b9f8eb7c feat(lottie): share bounded dotLottie ZIP handling 2026-11-13 14:37:26 +00:00
Dylan M. Taylor 055dc1f55b Cover shared preview reads on open archive handles 2026-11-13 14:20:19 +00:00
Dylan M. Taylor 166ad3e46a craft-video: preserve FilmCraft H.264 search starts 2026-11-13 14:19:12 +00:00
Dylan M. Taylor 2d69c2798b Read native preview members from shared archive handles 2026-11-13 14:16:02 +00:00
Dylan M. Taylor 8ebdc499a5 Merge pull request #1186 from dylanmtaylor/codex/stencilcraft-file-import-registry
Add shared neutral file import and writer registry
2026-11-13 09:04:29 -05:00
Dylan M. Taylor 0e555c3def Share bounded FigCraft archive preview reads 2026-11-13 14:04:15 +00:00
Dylan M. Taylor 0e2a717c64 Merge pull request #1176 from storytold/feat/figcraft-native-format
Add shared native FigCraft project format crate
2026-11-13 08:42:00 -05:00
aiongg 957e2282c4 docs: contract-api and components-index regenerated 2026-11-13 13:19:33 +00:00
aiongg f77092be43 F-16 fix round 1: drop an unused import 2026-11-13 13:17:30 +00:00
aiongg 3314ffeb28 F-16 fix round 1: one canvas zoom field with the percent unit, NavigateBar::zoom over the canvas's ViewTarget, Fit Artboard margins 30 by 40 2026-11-13 13:17:30 +00:00
aiongg b809628b02 F-16: NavigateBar in the components index 2026-11-13 13:17:30 +00:00
aiongg 751509b4c5 F-16: rustfmt 2026-11-13 13:17:30 +00:00