Commit Graph
2696 Commits
Author SHA1 Message Date
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
aiongg 158926dc28 F-16 WIP: compile fixes 2026-11-13 13:17:30 +00:00
aiongg bd79d84e82 F-16 WIP: ViewTarget and the data view commands, zoom::fit_rect, NavigateBar, zoom_out icon 2026-11-13 13:17:30 +00:00
Dylan M. Taylor 93d0998383 Merge pull request #1184 from storytold/codex/designcraft-native-format
Add shared DesignCraft native format codec
2026-11-13 08:05:30 -05:00
Dylan M. Taylor b96cc6b3ce Group shared writer paths by layer 2026-11-13 08:00:22 -05:00
Dylan M. Taylor b5dfdb0bda Fix shared file import edge cases 2026-11-13 07:50:09 -05:00
aiongg e80cbd30ab docs: sweep: neutral wording, craft-automation module table, broken link 2026-11-13 12:49:28 +00:00
aiongg 02eb68052e docs: components index grouped by gallery level, then shape, then name 2026-11-13 12:48:25 +00:00
Dylan M. Taylor 8748f70aea Expose multi-page PDF writer for neutral scenes 2026-11-13 07:36:18 -05:00
Dylan M. Taylor f4f48a9ac2 Make open clip fixtures explicitly stroked 2026-11-13 07:36:18 -05:00
Dylan M. Taylor ee548f530c Avoid unused fill contour flag 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 2a8bb6a4e3 Harden neutral vector import and shared output 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 62e2328905 Add shared neutral file import and writer registry 2026-11-13 07:36:18 -05:00
Dylan M. Taylor 59c52ac1dc Merge pull request #1174 from dylanmtaylor/codex/vector-file-imports
Add shared vector path import APIs
2026-11-13 07:35:46 -05:00
Dylan M. Taylor 33eb0ef9e2 Merge remote-tracking branch 'origin/main' into feat/figcraft-native-format 2026-11-13 12:31:13 +00:00