Commit Graph
8580 Commits
Author SHA1 Message Date
aiongg e55137b72f Select and Mask previews again after a document edit
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.
2026-11-23 02:20:42 +00:00
aiongg 52b3381693 PaintBar: show the Mixer Brush load as a colour, image or checkerboard
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.
2026-11-23 02:20:42 +00:00
aionggandRickiNano a309c143ab Hue/Saturation: pick the range with seven round swatches
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>
2026-11-23 02:20:42 +00:00
aiongg 7ada3dc77b Swatch: round wells, split, spectrum, image and empty fills
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.
2026-11-23 02:20:42 +00:00
aiongg 8f82948bc6 Ruler: Shift snaps to 45 degrees keeping the shorter leg
Restores storytold/photocraft#11985.
2026-11-23 02:20:42 +00:00
aionggandhnoerenberg a8a3a594de Curve graph: one grab radius for every point, past the plot edge too
Point parts take presses, and one nearest-point picker serves plot and
point presses, so a point at the plot edge is grabbed from outside it.

Restores storytold/photocraft#14443.

Co-authored-by: hnoerenberg <hnoerenberg@users.noreply.github.com>
2026-11-23 02:20:37 +00:00
aiongg 118f1d2ff9 Merge pull request #3121 from aiongg/next-lost-tests
Build the integration tests next lost in the syncs (craft-pdf, craft-cms, craft-prepress)
2026-11-22 21:19:56 -05:00
bflatastic 0a33cd9217 ui-contract: a command a key fires carries its event's place, and Cx::editor_steps gives an editor its inputs and its scope's commands in one stream in arrival order 2026-11-23 09:19:36 +07:00
Dylan M. Taylor 276161b92b Shortcuts reference opens at a moderate fixed height; FindBar options icon is the adjustments glyph (trial) 2026-11-22 21:18:48 -05:00
Dylan M. Taylor c7e1e41266 Document tabs: a long name is cut to a compact tab, and a tab drag shows no badge (CollectionProps::drag_badge; trials) 2026-11-22 21:10:47 -05:00
Dylan M. Taylor baaa53c801 Comments: an edit's button reads Save, a new comment's Post (trials) 2026-11-22 21:04:25 -05:00
Dylan M. Taylor 2469c6b611 MenuBarUi::icons / MenuItem::no_icon: text-only menus without icon column (trial) 2026-11-22 21:04:25 -05:00
Dylan M. Taylor b5e0109bfe Table::plain_header_menu: the header menu lists Reset Columns without column commands (trial) 2026-11-22 21:04:25 -05:00
Dylan M. Taylor d02b071002 FindBar: a plain integrated field (no clear button) and a sliders options icon; TextField::clear_button (trial) 2026-11-22 21:04:25 -05:00
bflatastic 6468047eab ui-contract: a key the key stage takes from egui (a claimed chord, the canvas's Space) stirs the pass, so a held pointer drags and hovers again when it goes down or up 2026-11-23 09:03:28 +07:00
aiongg 8fd8840fc5 craft-develop: doc links to private or feature-gated items as code (next denies rustdoc warnings) 2026-11-23 02:03:02 +00:00
Dylan M. Taylor 4a0cbec2c3 ToolRail::edit_icon: the Edit Toolbar button takes the app's icon (trial) 2026-11-22 20:51:18 -05:00
bflatastic cafa35b0b0 list: a row sized to its content is as wide as it measures in a span layout, and a thumbnails-only row is 2026-11-23 08:48:11 +07:00
bflatastic c23779278c ui-contract: a wrapping row sets each child on the middle of its line, which is as tall as its tallest child 2026-11-23 08:48:10 +07:00
aiongg 39bb3a06f8 craft-aaf: document the property record fields and errors (next denies missing docs) 2026-11-23 01:41:05 +00:00
Dylan M. Taylor a69b2ca3ea DocumentTabs: the trailing control ends at the visible edge of its row when the bar leaves less than the row's width (fixes Open under Discord; trial) 2026-11-22 20:37:39 -05:00
aiongg 8ea9184ca5 Cargo.lock: facade members for craft-android-res, craft-cdr and craft-png 2026-11-23 01:30:57 +00:00
aiongg cf35f7dbae Merge remote-tracking branch 'upstream/main' into next-sync-1123
# Conflicts:
#	Cargo.toml
#	crates/audio/src/track.rs
2026-11-23 01:29:52 +00:00
Dylan M. Taylor 9f42cd9b81 FloatingGroup::grip / DockConfig::floating_grip: a quick-action strip's title row is a bare grip (trial) 2026-11-22 20:09:56 -05:00
bflatastic 0e9af5befe Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-panels/src/docking/group.rs
2026-11-23 08:00:44 +07:00
Dylan M. Taylor 1d93a47088 dialog::set_close_button: an app takes the close x off every dialog's title row (trial) 2026-11-22 19:58:51 -05:00
bflatastic eaa7808dfd ui-patterns: the preset browser trial toggles the lead with Ctrl+Space, the chord that toggles on macOS too 2026-11-23 07:49:36 +07:00
FredApps b9c7b69703 Merge pull request #3077 from storytold/feat/778-shared-android-resources
Share APK and Android resource readers for Craft Anything desktop
2026-11-23 07:48:57 +07:00
Dylan M. Taylor fa918b1090 DocumentTabs: the trailing control follows the last tab when every tab shows (strip takes the room less the control's last width; trial) 2026-11-22 19:48:49 -05:00
bflatastic 763fbc909f font-catalog: adding fonts neither starts nor waits for the scan of the installed fonts 2026-11-23 07:43:02 +07:00
Dylan M. Taylor 402dc57690 StartScreen::pinned_title: an app names the pinned folders section (trial) 2026-11-22 19:38:22 -05:00
bflatastic 8945a9b571 ui-contract: drop_spot reads the row count from its outline 2026-11-23 07:29:21 +07:00
aiongg dbcf3998ac craft-pdf: the cos suite uses the crate's testkit instead of loading the file a second time 2026-11-23 00:27:47 +00:00
Dylan M. Taylor e0bbb110d6 HeaderStrength::Overline: a small capitals group name; the print dialog's section names use it (trial; print test premise updated to the capitals) 2026-11-22 19:18:44 -05:00
bflatastic 935607fff6 ui-contract: a drop on a grid's group header lands first in its group, now that grid places count the header rows 2026-11-23 07:12:08 +07:00
aiongg 134abcc8dc Build the tests next lost in the sync into the crates' test executables
pdf (cos, crypt, filters, font_tables), cms (gpu_matrix_shaper) and prepress (marks, flatten_timings) had no mod line in tests/main.rs, so they never compiled. Module paths inside the one executable are adjusted (crate:: to super::, the child-process test name).
2026-11-23 00:11:29 +00:00
bflatastic e1c00aac13 docs: regenerate contract-api for the drag payloads, CollectionEvent::Picked and CollectionKind::Picked 2026-11-23 07:00:26 +07:00
Dylan M. Taylor d5b7993417 Note pop-up: the title band runs under Close (trial the_title_band_runs_under_the_close_control) 2026-11-22 18:59:23 -05:00
bflatastic 1fa27301be color-ui: builds and tests clean with default features: the stop readers only the editor uses are ui-only, and the palette tests have serde_json 2026-11-23 06:58:32 +07:00
bflatastic e7e9229031 ui-contract: CollectionProps::drag_payload takes self by value without mut 2026-11-23 06:58:31 +07:00
David Mann a4e08cdaf2 Merge pull request #3105 from davidmann4/fix/16461-toolbar-background
WIP: docked toolbar background fills its column, thinner divider, grip grab cursor (photocraft#16461, #16467)
2026-11-23 00:58:28 +01:00
FredApps 8f4506133c Merge branch 'main' into feat/778-shared-android-resources 2026-11-23 06:55:12 +07:00
FredApps 8f6ad14b58 Merge pull request #3073 from ruchirguitar/feat/pict-reader
craft-metafile: add QuickDraw PICT v1/v2 reader
2026-11-23 06:54:50 +07:00
bflatastic f846294322 ui-contract: a scope's initial focus on a roving group arrives at the group's arrival member, as Tab does; SwatchPair makes its active well the arrival, so opening a panel on the pair activates no other well 2026-11-23 06:52:28 +07:00
FredApps 6d8d6b7359 Merge branch 'main' into feat/778-shared-android-resources 2026-11-23 06:47:13 +07:00
FredApps b54e18f21d Merge branch 'main' into feat/pict-reader 2026-11-23 06:47:08 +07:00
FredApps 2be967ec51 Merge pull request #3042 from AlexChambers/develop-wb-demosaic-clip-mask
craft-develop: demosaic white-balanced mosaics with a clip mask
2026-11-23 06:46:46 +07:00
bflatastic a2dbb57952 text: CharacterControls names its axes button Variable Font, the word made for it 2026-11-23 06:43:36 +07:00
bflatastic 871d184833 ui-patterns: the row menu shows the host's entries as the entry popup does, so a plain row is a menu item and only a checked one a check box 2026-11-23 06:42:49 +07:00
Dylan M. Taylor b008cd58fa Tabbed document dialog (Document Properties): aligned caption column, controls fill the row (Inspector scheme; trial) 2026-11-22 18:41:23 -05:00