Commit Graph
595 Commits
Author SHA1 Message Date
autocraft-bot[bot] 604941c4ba Merge pull request #3446 2026-11-28 18:35:45 +00:00
autocraft-bot[bot] 82180bb27c Merge pull request #3217 2026-11-28 18:35:25 +00:00
autocraft-bot[bot] a5b566b051 Merge pull request #3552 2026-11-28 16:18:15 +00:00
skylartaylor e53c73b054 Merge craft-libs main after the body read refactor 2026-11-28 16:18:25 +01:00
dotCooCoo f606f29aca Merge main into feat/craft-gpu-yuv 2026-11-28 01:41:48 -08:00
skylartaylor e14a0e9be8 Merge craft-libs main (c0977ad6): module list unioned, docs regenerated 2026-11-27 08:40:45 +01:00
skylartaylor 246f99c684 Merge craft-libs main (c0977ad6): docs regenerated, nothing else 2026-11-27 08:27:41 +01:00
BFlat 877b55f835 Merge pull request #3805 from dotCooCoo/fix/pointer-scoped-field-wheel
Allow apps to limit wheel edits to the focused field under the pointer
2026-11-27 14:22:49 +07:00
BFlat bb84da2f88 Merge pull request #2965 from dotCooCoo/feat/unit-text
Units: number rows can show unit text, and UnitKind gains Milliseconds
2026-11-27 14:16:13 +07:00
BFlat fa29f503f8 Merge pull request #3554 from dotCooCoo/fix/segmented-narrow-room
ui-widgets: a segmented strip wider than its room moves segments to the next line
2026-11-27 14:11:48 +07:00
BFlat d70f4f4391 Merge pull request #3439 from dotCooCoo/fix/tool-pointer-ink
theme, ui-contract: a painted pointer takes overlay.cursor, which VectorCraft's themes pin white
2026-11-27 14:11:08 +07:00
BFlat 326856bd18 Merge pull request #3512 from dotCooCoo/fix/dock-band-host-items
dock: a narrow group's drag band leaves room for the host's header items
2026-11-27 14:06:45 +07:00
dotCooCoo 5f896c5bdf Document the PerInch unit variant 2026-11-26 21:00:09 -08:00
dotCooCoo c90d84d26a Merge main into feat/craft-gpu-yuv
Expose the GPU YUV provider through the craft facade and keep its feature table consistent with the workspace.
2026-11-26 20:55:24 -08:00
dotCooCoo 1d85617a61 Merge main into feat/unit-text 2026-11-26 20:38:25 -08:00
skylartaylor 1d57ffaabb Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-27 04:51:03 +01:00
skylartaylor 3c91dccde5 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-27 04:51:01 +01:00
skylartaylor 5468d9ffe5 Merge craft-libs main (9524262a, next merged into main): resolve conflicts and regenerate the catalog 2026-11-27 04:50:45 +01:00
dotCooCoo 8873320c70 Allow apps to limit wheel edits to the focused field under the pointer 2026-11-26 14:50:50 -08:00
skylartaylor 05345c06d3 Dock windows: the DragBounds summary says both policies and the default
Reviewer finding on #3446: the summary ended at a colon ("How much of a floating
layer stays inside the window when the user moves it, when it is placed at a
position, and ..."), and the catalog lists that line only — a variant's own doc
is never extracted. So the line is now a complete summary: the whole layer
(`Inside`, the default) or a strip of its title, with where the rule holds and
the overlay's own `bounds` in the paragraph under it. The variants keep their
detailed docs for rustdoc.

Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. The run also picks up two entries the branch's merges added
without regenerating (`Action::restore`, and `floated`'s doc).
2026-11-26 23:17:50 +01:00
skylartaylor 18e448b956 Merge remote-tracking branch 'origin/main' into design-port/fw-display-only-bindings 2026-11-26 22:08:40 +01:00
skylartaylor 8bc61c8621 Merge remote-tracking branch 'origin/main' into design-port/pr-docking-windows 2026-11-26 22:08:05 +01:00
skylartaylor d254821a27 Merge remote-tracking branch 'origin/main' into design-port/pr-dock-forwarded-keys 2026-11-26 22:08:04 +01:00
skylartaylor 52a95b9763 dock: forward each floating window's events with its own modifiers
Reviewer finding on the forwarded-keys work: the area appended every float's
leftover events and kept only the last window's modifiers, so a host that reads
two floats in one pass could not interpret the first window's events. A
clipboard event carries no modifiers of its own.

`DockAreaOutput::window_events` now holds one `WindowEvents` per floating OS
window that left any, in the order the windows were drawn: the panel the area
names the window by, the modifiers held in that window, and its events.
`forwarded_events` and `forwarded_modifiers` are derived from those batches, so
a host with one floating window reads them as before.

Regression: two native floats, one holding Shift and one bare, forward a paste
each in one pass; the batches keep their own modifiers whichever window holds
what.
2026-11-26 21:13:04 +01:00
dotCooCoo 60626900b7 Merge next into feat/unit-text 2026-11-26 07:42:52 -08:00
aiongg 5ec98bd628 Merge remote-tracking branch 'upstream/next' into next-into-main-2
# Conflicts:
#	crates/ui-widgets/src/text/text_field.rs
2026-11-26 11:03:44 +00:00
FredApps cc59357033 Merge pull request #3475 from storytold/fix/wordcraft-7708-print-zoom-whole-percent
ui-contract: a ZoomPrecision env value lets zoom show whole percents (storytold/wordcraft#7708)
2026-11-26 11:14:23 +01:00
FredApps 7e7456955a docs: contract-api lists FieldLook, StyleCx::quiet_field and TextOptions::look
Regenerated with the contract-api bin; only the three entries this PR adds are taken, the file's other drift on next is left alone.
2026-11-26 16:30:14 +07:00
FredApps e39fd100af Merge remote-tracking branch 'origin/next' into tc14-3475 2026-11-26 16:08:37 +07:00
dotCooCoo d5bdaebdab Merge main into feat/craft-gpu-yuv 2026-11-25 23:18:48 -08:00
aiongg ecdc221f4a Merge next into main 2026-11-26 05:38:41 +00:00
dotCooCoo 1eeb7baf17 Merge next into feat/unit-text 2026-11-25 20:36:19 -08:00
dotCooCoo a830ff539b theme, ui-contract: overlay.cursor colors a painted pointer's marks and a tool's icon; VectorCraft's themes pin it white
overlay.cursor follows overlay.stroke unless a theme pins it, so pointers in other themes keep the color they had. VectorCraft Modern and Modern Medium pin it to #ffffff in both variants, so their tool pointers no longer show in the #ffa492 overlay tint, and their hand, magnifier, rotate and badge marks match the icons. The shared pointer art no longer borrows overlay.handle_fill for tool icons.

overlay.cursor joins overlay.stroke in the halo contrast rule, so a pin that misses the minimum is reported, and a user's accent keeps a theme's pinned cursor color. Trials; dumps gain the token.
2026-11-25 20:32:11 -08:00
dotCooCoo bdccf96831 ui-widgets: a segmented strip in a row or bar keeps one line
In a row, a bar included, the strip's least is its whole line again, so the
row's shrink step does not wrap it. It still wraps in a column narrower than
the strip. A rect with room for one line only keeps the segments on that line.

- ui-contract: `MeasureCx::in_row` says whether a component is a direct child
  of a `Row` body.
2026-11-25 19:43:32 -08:00
BFlat 54cbab4c5e Merge pull request #2964 from dotCooCoo/feat/dialog-confirm-held-refusal
craft-automation: ui.dialog.confirm of a held OK replies with the app's answer, a refusal in English
2026-11-26 10:25:33 +07:00
BFlat c901ddcb79 Merge pull request #2956 from dotCooCoo/feat/automation-ui-drag
craft-automation: ui.drag presses, moves in even steps and releases as one request
2026-11-26 10:24:55 +07:00
BFlat 40c4cb3157 Merge pull request #2949 from dotCooCoo/feat/fit-short-order
Fit: items rank their short forms, and late ones shorten after the free items leave
2026-11-26 10:24:19 +07:00
BFlat 14cd3ae8a9 Merge pull request #3513 from dotCooCoo/fix/link-text-contrast
ui-contract: link text reads at 4.5:1 on every surface it is drawn on
2026-11-26 09:56:34 +07:00
BFlat 733e35fea8 Merge pull request #3492 from dotCooCoo/fix/dock-group-band-keeps-tab
dock: a docked group's drag band narrows before the shown tab loses its first letters
2026-11-26 09:56:07 +07:00
BFlat 91877f4160 Merge pull request #3431 from dotCooCoo/fix/job-progress-layer-role
ui-contract, ui-panels: a job progress window's layer has the progress role, and OpenFilter::Asks leaves it out
2026-11-26 09:51:10 +07:00
Martin BallandClaude Opus 5.5 e173ef092e ui-contract: zoom_percent follows ZoomPrecision with zoom_codec
One zoom_decimals helper serves both, so the read-only zoom texts (Navigator slider, full-window title, zoom bar
entries) agree with the zoom fields. with_zoom_precision is pub(crate). Regenerates docs/contract-api.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 00:07:27 +00:00
skylartaylor 0ed16a7b42 docs: regenerate contract-api.md 2026-11-25 23:35:08 +01:00
skylartaylor 0435bea8f5 docs: regenerate contract-api.md 2026-11-25 22:03:45 +01:00
aiongg 97794fff62 ui-contract: DocRun::coords draws a run at variation coordinates of its face; FontSample takes them 2026-11-25 20:37:43 +00:00
skylartaylor 9512e6480c Merge origin/main into design-port/pr-dock-forwarded-keys
ui-test-kit windows.rs: main's per-viewport child events (send, the addressed CHILD_EVENTS and input_pending) with this branch's child modifiers, inserted as each child pass's first event, and the frame's command input. native.rs: both sides' imports.
2026-11-25 21:20:24 +01:00
aiongg 2cc39c2c4e A modal that opens while a window it blocks has the keyboard takes it
A blocked window drops the keys, so a modal opened from a focused float by a key or a command (a save prompt in the main window) got none of them until the user clicked. The modal's window now gets one focus request 0.2 s after it becomes the app's modal, if a window it blocks still has the focus; an OS dialog that opens with the modal takes the focus in that time, and then nothing is sent. The modal's own popup windows keep the keyboard. It covers framework modals and FrameInput::app_modal alike (the docking of the former crate::ui did it for its floats, #306).
2026-11-25 19:11:46 +00:00
dotCooCoo ce87f5484d Merge next into fix/dock-group-band-keeps-tab 2026-11-25 10:22:44 -08:00
skylartaylor 32132c307c docs: regenerate contract-api.md 2026-11-25 19:16:31 +01:00
skylartaylor 86f19be818 docs: regenerate contract-api.md 2026-11-25 19:16:31 +01:00
skylartaylor d30327bfef docs: the fit module line back to next's, now that the fit helper is gone 2026-11-25 18:07:02 +01:00