Commit Graph
7902 Commits
Author SHA1 Message Date
bflatastic b14f3a313d ui-contract: a component's focus request in a press's pass holds: the press's own focus move at the pass end does not take the focus back, as a layer that appeared in the pass already kept it 2026-11-23 17:28:11 +07:00
bflatastic 2f068b43a0 ui-contract: an injected step whose events the frame it entered held back (behind a real press, H0) stays in flight into the pass that delivers them, which reports injected_pass 2026-11-23 17:28:09 +07:00
bflatastic 77b2d98f66 ui-contract: an open anchored layer keeps the side it took only while its host asks for the same side; asked for another, it takes that side's placement 2026-11-23 17:28:07 +07:00
bflatastic a7f40c4474 draw: a running TransformFields gesture reads its values against the start box it began with, so a host that moves the start box with the gesture's own values does not cancel it as an outside change 2026-11-23 17:28:06 +07:00
bflatastic deb9ad9f07 ui-contract: Tab toggles the panels from read-only text a press focused (a selection part, a press-only stop), as from any pressed control; only a text field keeps Tab for the next field 2026-11-23 17:28:05 +07:00
bflatastic d824d42d25 ui-patterns: a new palette query's active row is its first match, enabled or not, so Enter on a disabled first match runs nothing and the footer says why, rather than Enter running the next match 2026-11-23 17:28:05 +07:00
bflatastic 508faa1eb7 ui-contract: an Alt press an input method types through is typing: the focused text stop that has the IME holds it, so its bound command does not run beside the commit 2026-11-23 17:28:04 +07:00
bflatastic 1fc46b5730 ui-contract: a one-character text with no press of its own is a tap of the key it stands for: a claim takes it, the shortcuts read it with the held modifiers (Shift+~ arrives as ~ alone) and a focused field types it; a text Alt typed with a press no claim took is its key's for a claim (Option+8 types [) 2026-11-23 17:28:03 +07:00
bflatastic cbbc1c26e7 ui-contract: a clipboard event with Cmd and Shift or Alt held is that chord (Cmd+Shift+X), the app's, unless the focused editor lists it for the edit: only the edit's own chord is the editor's Cut, Copy or Paste 2026-11-23 17:28:03 +07:00
bflatastic fd80adccc0 ui-contract: a press of a key that is down already is a repeat, as egui reads it: egui-winit sends every press as no repeat and leaves egui to tell, so the key stage's repeat rules (shortcuts, Escape, Tab) never saw a held key's repeats; the trials that pressed one key twice release it between 2026-11-23 17:28:02 +07:00
bflatastic 47c6d53a1f font-catalog: FaceTraits goes, its class and PANOSE are FaceInfo's; the picker reads Japanese from the OS/2 code pages and ranges and Thai from the cmap 2026-11-23 15:42:50 +07:00
bflatastic 12d67b1cdf ui-contract: a reveal that moves a collection's rows after it declared its parts asks for another pass, so a memoized view around it runs rather than replay a stale scroll bar 2026-11-23 15:38:27 +07:00
bflatastic ecd1565856 ui-contract: on the focused menu bar a plain letter is a title's access key: it opens the title it marks, and one no title marks runs no shortcut 2026-11-23 15:24:26 +07:00
bflatastic 7089e2de85 color-ui: ColorPickerDialog::working_rgb puts the host's working RGB in place of the built-in RGB in the Full and tabbed layouts 2026-11-23 15:14:51 +07:00
bflatastic 3ccf14ed9b color-ui: the Color panel rounds only what its channel fields show; an edit of one channel leaves the others unrounded 2026-11-23 15:14:50 +07:00
bflatastic cd96c3e43c Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-catalog/src/catalog.rs
2026-11-23 14:37:24 +07:00
bflatastic 89ce8fcbf6 ui-widgets: a hexagon swatch picture's mesh takes the textures' UNTINTED tint, not a raw white (design-lint raw-colour/const) 2026-11-23 14:29:12 +07:00
bflatastic aa46fe4bbc ui-widgets: rustfmt the merged swatch face 2026-11-23 14:06:15 +07:00
bflatastic 9afb1ebf55 ui-panels: the grip trial reads GroupGripOutput::drag_started as the bool next's grip reports 2026-11-23 14:06:14 +07:00
aiongg 46b14822af font-catalog: app start helper, font store watch and changed-family list (#2781)
* font-catalog: app start helper, font store watch and the list of changed families

app::start sets the app's folders, scans on a background thread and polls the
font store's folders, so a family the launcher installs shows at once.
app::on_activated rescans on window activation. Catalog::changes_since names
the families added, removed and changed since a generation, and
Catalog::store_changed checks only the store's folders.

* font-manager: a click on a font row's sample picks its family

* font-manager: a press on a row keeps the list the typed name filtered

* Font picker: a row pick of the family the field already holds adds no edit

* font-catalog: a rescan that finds no changed file keeps the generation
2026-11-23 02:00:03 -05:00
bflatastic 0a4d309686 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	Cargo.toml
#	crates/font-manager/src/picker/rank.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/ui-panels/src/docking/group.rs
#	crates/ui-panels/src/docking/iconic/trials.rs
#	crates/ui-patterns/src/patterns/dock/area.rs
#	crates/ui-widgets/src/choice/mod.rs
#	crates/ui-widgets/src/choice/swatch.rs
#	crates/ui-widgets/src/choice/swatch/stories.rs
#	docs/contract-api.md
2026-11-23 13:53:35 +07:00
bflatastic a29bfe866b ui-canvas: the rulers' corner drag proposes where it lands at its start and its release, so a drag of one move sets the zero point 2026-11-23 13:37:04 +07:00
bflatastic f536089107 color-ui: a disc drag takes the host's colour as its echo when it lies where the drag put the marker, so a host that keeps the unshown channel from the press or stores its own colour model is not cancelled as an outside change 2026-11-23 13:34:41 +07:00
bflatastic 295c967c65 ui-shell: a document window's fallback layer moves by its title row and reports where a move or resize took it, so a host that places the window keeps it there
The fallback overlay was not movable, so its title row had no move band, and DocumentWindow dropped the layer's placement changes while first_placed held the window at the host's rect. DocumentWindowOutput::placed gives the rect a move or resize reached in the pass.
2026-11-23 13:27:47 +07:00
bflatastic cbf17f41b9 ui-panels: the rail's locate trial is reached by a module, against the rail's Tracked slots and its reveal and mark props 2026-11-23 13:20:49 +07:00
bflatastic b84703ac8b ui-contract: a container level keeps its run's core, hooks, plans and body Ui on the heap, so sixteen nested containers fit a 512 KiB stack in a Windows debug build
Each nesting level held the run's CxCore (2104 bytes), its BodyHooks (808), Begun (504), HostStep (672), BodyPlan (648), MeasurePlan and the body's and measuring sweep's Ui (376 each) by value while its children ran. They are built on the heap in the helpers that make them, and the label-column sweeps move out of sweeps. Measured on rustc 1.100, debug, Windows: 28.9 / 31.7 KB per Stack / Row level before, 22.3 / 24.0 KB after; the innermost body of body::nesting used 499 KB of the 512 KiB stack before, 384 KB after.
2026-11-23 13:18:20 +07:00
aiongg ee30b17c21 Merge pull request #3140 from aiongg/restore-lost-pc-features
Restore four PhotoCraft features lost in photocraft#15449 (curve grab, ruler snap, Hue/Saturation swatches, Mixer load)
2026-11-23 00:45:59 -05:00
aiongg cd4662c914 Merge pull request #3145 from aiongg/font-picker-speed
Fonts: load faces off the UI thread and serve them to egui without a rebuild (font picker speed)
2026-11-23 00:45:47 -05:00
bflatastic 7e2b61dba6 color-ui: SwatchPair activates a well only when focus moves onto it, so a well keeping the focus leaves the host's choice of the other well 2026-11-23 12:33:19 +07:00
bflatastic 2bad4aebd5 ui-contract: a field label without text names no control, so a custom row with an empty label leaves its control the name its own label gives it 2026-11-23 12:33:18 +07:00
bflatastic f712b3306b ui-contract: a plain press on a row or tile outside the selection picks it when it ends as a click, so a drag carries the row alone and leaves the selection, as the old apps picked on the click's release; a selection change restates the rows the pass measured with the old one 2026-11-23 12:18:29 +07:00
bflatastic ac24169b19 ui-contract: a press that moves past slop leaves the click run, so the press after a drag is a single press, as only clicks counted toward a double click in the old apps 2026-11-23 12:18:28 +07:00
bflatastic ebf9254522 ui-widgets: a tile grid that takes its width from its content asks for at least one card, so a measuring run lays it out at the width it shows in and a stack sized from it holds every row and what follows 2026-11-23 12:18:27 +07:00
bflatastic 0f14d9049e ui-widgets: an equal link the host turned off again before the pass that sees it turn on sets no field to the first one's value 2026-11-23 11:56:27 +07:00
bflatastic 71a5b3b0bb print: in the sections layout an app's row with a printer setting's key (copies, duplex, grayscale) takes the value automation sets and is the one the listing reports, as the printer panel shows only the printer there 2026-11-23 11:56:27 +07:00
aiongg 81868fe734 Merge remote-tracking branch 'upstream/next' into font-picker-speed 2026-11-23 04:54:41 +00:00
aiongg c896ab291f Merge pull request #3130 from aiongg/next-sync-1123
Merge storytold main into next (23 Nov sync)
2026-11-22 23:54:14 -05:00
aiongg 3b629776d8 Testing runtime runs background work inline: InstallSpec::jobs and Env::jobs_of
Story trials have no host, so document-face and texture loads ran on default_jobs' threads and a fixture
could settle before a face landed (StyleList::variants on Windows: rtl 52.0 vs 52.8, motion shapes change
after the drive). InstallSpec::jobs sets where a context's background work runs while no host is installed;
Env::jobs_of (host, else installed, else default_jobs) replaces the two copies in the face registry and the
texture loader. testing::install_spec and the suite's language hosts use InlineJobs, so a load asked for in
one pass lands in the next on every machine; the two per-story InlineJobs options go.
2026-11-23 04:43:29 +00:00
bflatastic 7d61a755c9 docs: regenerate contract-api for Reader::split_unit and contract::response_of 2026-11-23 11:32:56 +07:00
bflatastic 4335d1ef13 ui-widgets: a document tab dropped on a strip with no tabs, or past its tabs, is reported: DocumentTabsEvent::DroppedInto's over is an Option 2026-11-23 11:21:30 +07:00
bflatastic 47d6a3e095 ui-panels: a tool rail inside an arena (a dock) reports its Edit Toolbar button: the grid's run sends the button's response, and a replay reads it back through contract::response_of, which also knows arena members 2026-11-23 11:21:29 +07:00
bflatastic bf91cb7e1e behavior: the number Reader reads picas and points written together (2p6, Reader::split_unit) and a percentage after * or / as a share (3cm*50%); length readers register p 2026-11-23 11:21:28 +07:00
bflatastic 1385f0ff3d ui-contract: a held Escape cancels once: its repeats raise no Cancel, focused or not 2026-11-23 11:21:26 +07:00
bflatastic 443a05c863 docs: regenerate contract-api for SubNode::run_link's removal, EditorStep, ItemLayout::set_fit, Fired's place and FrameOutput::dimmed 2026-11-23 10:52:58 +07:00
aiongg 090fd70580 font-manager: the install-queue trial counts only install runners 2026-11-23 03:52:33 +00:00
bflatastic 897b45faaa ui-patterns: the hosted New Document keeps the details rows' memory and lends it to the dialog (NewDocumentDialog::memory), so a field automation sets is noted where the rows read it, and its preset field applies the saved preset's card 2026-11-23 10:49:22 +07:00
bflatastic 8e05942efb ui-patterns: the hosted Save PDF's automation OK in the preset editor files nothing for an empty name or one the app's check refuses, as the footer's OK is off then 2026-11-23 10:49:22 +07:00
bflatastic 1bd0567df4 ui-patterns: the hosted Save PDF keeps both passwords through an automation write to another setting, which reads the settings back from JSON that never carries them 2026-11-23 10:49:22 +07:00
bflatastic 2c718b583b ui-panels: trial: a drag from a collapsible section's title moves it in a section stack, through a header menu and a drop slot, and a click there still folds it 2026-11-23 10:49:22 +07:00
aiongg 8c4e115ea4 docs/contract-api.md: regenerated (document_face's job and the face bytes; also ColumnSpec::at_least and data_fill_tiled, which next's copy lacked) 2026-11-23 03:27:14 +00:00