Dialog: upstream's ButtonPlace replaces the port's side flag; the port's title note, title icon and close-unchanged stay.
Footer roles: upstream's Alternate and the port's Alternative are both kept, with one rank table.
Unsaved question: upstream's alert role, Alternate role and failure reason, with the port's wording options.
Docking: the port's group footer, titled header, tab marks and counts and caption go into upstream's memoized tab row;
the port's footer, rail footer and content hooks stay on DockPanels beside upstream's PanelSpecs; iconic rail mode on
upstream's bar; floating grip on upstream's chrome sizes. Tool rail edit icon in the memoized grid.
Start screen: upstream's Home and Greeting layouts, picture shape and recent_list split, with the port's pinned
folder listing, host sections, offers_new/offers_open, pinned title and section headings.
Tests: both sides' trials kept; port trials moved to Titles, Registry and the props-keyed CommandGate.
Union of both sides in buttons, swatches, picture, lists and rows, menus,
notices, date picker, popup list, tabs, text fields and the tile grid, and
their stories and trials. Picture keeps upstream's Rendered source and the
port's Svg source on the shared packed store. Swatches take upstream's
hexagon shape with the port's WellFill and icon cells. Tab strips take
upstream's Fitting (ghosts, kept tabs, end items) with the port's document
tab gap; tabs take upstream's place() with the port's marker dot. Menu rows
keep the port's RowInput with upstream's pointer-driven activation. Test
module lists are the union, pub(crate).
Union of both sides: upstream's rewritten code (items_extent, scroll_rows, known rows, HostStep, EditorHandle,
prepare/run text split, drop_spot, roving_group/parts_group, counted tooltip texts, data_quad, add_shapes_in,
texture shown()) with the port's additions re-applied (middle scroll, hover delete, hovered row, menu request,
auto-width run, zoom anchor, report_sense, parts re-report, select_all, window-blur draft, modal-dialog escape,
crossing-axis part groups, WellFill, stacking/drag_to_root, break_anywhere, strikethrough, waited). Test module
lists are the union.
menu: upstream's memoised bar and English names in the model, with the port's icons/compact
options and disabled submenus. behavior: press keeps both the pointer-left and pass-drag
states; KeyRole gains PartialEq/Eq. automation: agents deps via craft-control, screenshot
params with region, document points with a page. font picker: upstream's column list, kinds,
actions and missing note, with the port's host groups, current host row and mixed label.
theme: wordcraft and pdfcraft app palettes. Cargo.lock: port side; vendor jbig2: upstream.
Union of the port's and upstream next's changes: document-face chains carried onto
upstream's over-interface faces (one begin-pass edit), refused/declined commands and
requested pastes onto the rewritten command board (resolve_once, Instances), drop
operations beside region tokens in drag registration, wheel layers/exit gate/modal
family beside scroll_owner_inside, locate_wheel beside press records, text_edit
scroll + submit_key, both focus/policy additions, test module lists and trials.
platform (appearance, portal, clipboard, open), settings, host files, dialogs
service, print, i18n date. Settings take upstream's LocalStorageFiles, with
BrowserFiles a deprecated alias (L-313); Windows reduced motion is upstream's
native worker; the port's forced pick answers, write intent, GNOME text scale,
open-for and byte intake stay on upstream's code.
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
- The load queue is made once per context, as TextureLoader's is: without a
host, default_jobs() returned a new Arc each call, so every new face made a
new queue and dropped the loads before it.
- The begin-pass step marks a face unavailable when its load is neither
queued nor running and delivered no result (a job that panicked), so the
row stops asking for passes.
- A kept face's draw mark is journaled, so a settled view's replay marks the
faces its run drew and eviction keeps them while on screen.
- One budget over the files the registry keeps plus the files egui still
holds for faces taken out. Past it, the faces drawn longest ago go down to
half the budget and egui's fonts are made again once. The budget is a
registry field; trials set it with testing::document_face_budget.
- FacesCx::document_face takes a closure that makes the load, called only
for a new key, so a ready face clones no FaceInfo or catalog.
- Similar fonts weigh a family by its file's raw usWeightClass again
(FaceInfo::weight_class, None without OS/2; 400 then), not the scan's
weight. The review point that families without OS/2 data now join Similar
fonts was checked: the old read_traits listed them too, with zero PANOSE
and weight 400, so they stay.
Opening the font list read and parsed every visible row's font file on the UI
thread, re-read a collection for each family it holds, rebuilt egui's whole
font set for each face added, and dropped off-screen faces after 64, so
scrolling back loaded them again.
- Document faces reach egui through one served-faces provider: egui parses a
face the first time text is laid out in it, so a face arriving keeps the
parsed faces, the atlas and the galley caches. Faces over the interface
fonts use the same provider; edit_faces' add path and
MAX_INTERFACE_FACE_BYTES go.
- Catalog faces load as jobs on a per-context JobQueue (the host's jobs) and
are ready from the pass after they land; loads no frame asks for are
dropped. Faces whose bytes the app holds register in the same pass.
- The registry keeps faces up to MAX_DOCUMENT_FACE_BYTES (512 MiB of distinct
file bytes), least recently drawn out first; past the same budget of
withdrawn files egui's fonts are made again to free them.
- The picker's coverage check reads the registry's loaded bytes instead of
the file; traits come from FaceInfo, which the scan now fills with
sFamilyClass, PANOSE and the post fixed-pitch flag.
- Catalog::file_bytes shares one read per file across threads.
The rail grip takes the press that started its drag from GroupGrip's own
press (GroupGripOutput::drag_origin) instead of reading egui's pointer
state. The grip trials compare with GRIP_ABOVE and the theme's grip
shape instead of literal sizes. crates/craft/Cargo.toml [features] is
regenerated from the member manifests (exr, media-source and tiff
features from main; android-res in order).
The workspace keyed its pending preview on the request alone, so after
HostedWorkspace::set_source the same request found the old job and no
preview of the edited document started. The key carries
WorkspaceCx::revision, as Vanishing Point and Wide Angle do.
MixerValues::load_color becomes current_load: MixerLoad (Clean, Color,
Image). The load swatch shows the sampled tip image after an Alt-click and
a checkerboard for a clean brush, through Swatch's fills. MixerValues is no
longer Copy.
Restores storytold/photocraft#11953.
The range dropdown becomes a radio group of round swatches: Master as the
hue wheel, then Reds to Magentas. An edited range shows its centre colour
before and after that range alone, with a dot under it. The range's centre
stands above Hue ("240°", "0° / 30°"), and Colorize shows one read-only
swatch of what it makes of a mid grey.
adjusted(&dyn Fn(&HueSaturation, Srgba) -> Srgba) replaces
adjusted_spectrum: one engine callback for the lower spectrum bar, the
range swatches and the Colorize swatch. HueRangeValue::centre gives a
range's centre.
Restores storytold/photocraft#14753.
Co-authored-by: RickiNano <81099017+RickiNano@users.noreply.github.com>
SwatchShape::Round joins Square and Hexagon, and SwatchFill names what fills
the well: a colour, a before/after split, the hue wheel, a picture (through
the texture cache, keyed by the picture's hash) or an empty well.
Swatch::with_fill shows any fill beside Swatch::new, which is unchanged.
A component can now shape its own focus ring with Cx::focus_shape, the
FocusShape parts already use. Swatch sets it for round wells (a circle) and
for hexagon wells (the hexagon), so hexagon swatches get their shaped ring
too.