Commit Graph
2475 Commits
Author SHA1 Message Date
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
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
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
aiongg 409e1c9d67 docs: porting guide 6.4 captures old and port through craft-automation; trial for the client sample; README client row 2026-11-13 04:28:22 +00:00
aiongg 62e38dc39f docs: porting guide (docs/porting.md), linked from craft-framework.md and development.md 2026-11-13 04:25:52 +00:00
aiongg 0109b9b8bf craft-automation: trials for the screenshot queue's budgets, settling, deadlines, cancellation, document generation and image checks 2026-11-13 03:20:08 +00:00
aiongg 738d034b69 craft-automation: names_open_dialog tells an app which ui.dialog requests are its DialogHost's 2026-11-13 03:20:08 +00:00
aiongg d4c4f57d96 craft-automation: a finished job sends the app's reply, so an error can carry partial results 2026-11-13 03:20:08 +00:00
aiongg d9566067a7 List rows: a row in_label_column keeps its label in the label column and leaves the empty toggle columns before it empty; Brush Tip Shape lines up with the section names 2026-11-13 02:48:04 +00:00
aiongg f780c31085 List rows: in a list of toggle columns only, the label band takes the room past the last column, so the label shows whole as measure counts it 2026-11-13 02:48:04 +00:00
aiongg f80288f2a0 RasterDisplay: the checkerboard and edge of a mapped display lie on its area, for painted pictures too
mapped/placed say where a picture lies in document space for a source and a
painted display alike. A size-changing preview the app paints (a rotation
centred off the document's origin) gets its checkerboard and edge under the
preview, not at 0..size. Trial with offset areas; story RasterDisplay rotated.
2026-11-13 02:34:07 +00:00
aiongg 0381885d67 Layer Style: the effect list has a name column, so a name shows whole and the list takes its widest name's width 2026-11-13 02:26:58 +00:00
aiongg 1e5782dfd4 Dialogs: StackDialog::story_facts; hosted forms keep their last pass's facts and hosted stories report them 2026-11-13 02:26:58 +00:00
aiongg af8855c139 Dialogs: FormDialog::preview takes an optional owner, every owner-less open starts with Preview on; Guide Layout's Preview box is FormDialog's; the story host is a story note 2026-11-13 02:26:58 +00:00
aiongg 7f34140aa6 Dialogs: FormDialog::preview is the one Preview box; hosted stories reopen their dialog when a knob changes
FormDialog::preview(Bind<bool>) adds the Preview check box under the side buttons, with one
word (formDialog.preview) and hold-to-compare in FormOutput::comparing. ParamDialog,
HostedAdjustDialog and HostedLayerStyle use it; their own boxes and the paramDialog.preview,
adjust.preview and layerStyle.preview words are gone.

The hosted story helpers take the knob values the dialog is built from and replace the open
dialog when they change. The Export As story asks for a preview only while preview_ready is on.
2026-11-13 02:26:58 +00:00
aiongg be927e9393 Dialogs: hosted forms for Canvas Size, About, format options, Export As, Alert, Layer Style and the adjustment dialogs
Each opens on a DialogHost as a StackDialog that owns what its dialog edits
and binds the dialog's open state to its own field, so it opens again after
closing. HostedCanvasSize and HostedImageSize share SizingOutput::hosted.
HostedExportAs keeps its preview and save requests for the app as
HostedSaveForWeb does; HostedAbout keeps the activated link. HostedAlert
holds an Alert's content. HostedLayerStyle frames the Layer Style body in a
form dialog with side buttons and the Preview box, and queues the page's asks
as LayerStyleAsk. HostedAdjustDialog<V, E> frames any adjustment editor the
same way, resizable and remembered for Curves, with the editor's asks as E.

Stories open the hosted dialogs through a story host bound to the card's
open value (dialog::stories::hosted), so the card holds them behind its
button and story-render shows them open. Trials open each on a DialogHost
and check Escape, OK and the asks.
2026-11-13 02:26:58 +00:00
aiongg c2d351eb83 RasterSource::read: out holds premultiplied sRGBA, as ColorImage does 2026-11-13 02:24:03 +00:00
aiongg f5dafff290 BrushSectionEvent: constructors for hosts and their tests 2026-11-13 02:01:17 +00:00
aiongg 1a128b726a Brush Settings stories: switch rows carry a lock 2026-11-13 02:01:17 +00:00
aiongg f824a7c6c0 BrushSectionList: a switch row carries its lock like a pane row 2026-11-13 02:01:17 +00:00
aiongg ce8b988404 RasterDisplay: checkerboard under the run of copies and the document only 2026-11-13 01:44:11 +00:00
aiongg e918fb84e4 RasterDisplay stories tiled and beyond 2026-11-13 01:44:11 +00:00
aiongg dbd8ec10c6 RasterDisplay extent: tiled copies and a region past the document, for source and painted pictures 2026-11-13 01:44:11 +00:00
aiongg 0748cf6634 FW-263 review: a list trial for the multi-click selection rule; a triple thumbnail click that selected acts once; the hold comment names keeps_pick 2026-11-13 01:30:21 +00:00
aiongg 4b607c829d Lists: a later click of a multi-click on a selected row keeps the selection the first click left; Layers: a double click's selection names its thumbnail part
A double click on a Smart Filter row reported its Activate on the second press and narrowed the selection on its
release, after the app had opened the filter's editor. A double click on a fill thumbnail reselected the row with no
part, which targets a fill layer's mask.
2026-11-13 01:30:21 +00:00
aiongg 27c143b9f0 docs: contract-api and components-index regenerated 2026-11-13 01:30:18 +00:00
aiongg 045b9df8c6 Cursor images: a trial for the root-window rule; the API map points CursorBitmap at the cursor service
Frames::frame_in_viewport runs a full frame of a child window, events and recorded output included, through the
fixture's one frame runner, so a trial can see what a child window's pass sends out. A painted pointer in a child
window sends no image and is painted.
2026-11-13 01:27:37 +00:00
aiongg 6e301f04c7 Cursor images: a badged system cursor keeps the system arrow; trials for where, when and how the image goes out 2026-11-13 01:27:37 +00:00
aiongg 0067fe7b3c Cursor service: painted pointers reach the window as cursor images
A painted pointer is drawn once as a list of marks around its hotspot (ghost/art.rs) and either painted on the ghost
layer or rasterised with tiny-skia into the cursor image the window shows, where the window takes one at its size:
the root viewport of a native build, not Wayland off scale 1, within 255 px on Linux and 2048 elsewhere. The image is
in points on macOS. A brush tip too large for an image hands its centre cross and badge to the window and paints its
ring. The cursor service clears egui's sticky image every pass and keeps the last image while the art and scale are
unchanged, so the integration uploads it once. The brush cursor's own distance-field rasteriser goes.
2026-11-13 01:27:37 +00:00
aiongg 67afa195e2 docs: contract-api and components-index regenerated 2026-11-13 01:25:45 +00:00
aiongg 908da71beb New Workspace's Capture boxes sit in a titled group box; contract API lists the workspace captures 2026-11-13 01:22:55 +00:00
aiongg a2e346e414 Trials: dock side width, workspace captures, bottom pane on switch, workspace dialogs 2026-11-13 01:22:55 +00:00
aiongg 741be65f20 New Workspace and Delete Workspace dialogs for WorkspaceAsk 2026-11-13 01:22:55 +00:00
aiongg d4077e8219 Dock side width scales its columns within their bounds; saved workspaces keep the toolbar choice 2026-11-13 01:22:55 +00:00
aiongg bcd07c7167 F-5 docs: the hover band lies inside the view; the host's clock is the last painting pass 2026-11-13 01:08:19 +00:00
aiongg 74a1426e57 F-5 review: the host reports the autoscroll step from the pass clock; the hover band is size.hit.edge inside the view's rect; a secondary background press leaves a text session open 2026-11-13 01:08:19 +00:00
aiongg 408d419e9b ToolHost: a tool that autoscrolls on hover scrolls the view from the band inside the canvas edge; Autoscroll::step 2026-11-13 01:08:19 +00:00
aiongg 47a49e542d TextEditor: a press on the canvas background commits the session 2026-11-13 01:08:19 +00:00
aiongg 5b22727818 Story suite: a shown run lies inside its own clip, and a run the base shot shows whole stays whole under each variant 2026-11-13 00:45:28 +00:00
aiongg a8607f3526 Theme: field widths follow the text size; a field holds a number of characters 2026-11-13 00:45:28 +00:00
aiongg fcc93550ef docs: contract-api and components-index regenerated 2026-11-12 22:55:41 +00:00
aiongg 33a389b1bc Keys: keys::keyed reports a pass's key input, withheld presses included; craft-menu's had_input reads it 2026-11-12 22:54:16 +00:00