Commit Graph
22778 Commits
Author SHA1 Message Date
dotCooCoo 1628311e6b 3D: OK keeps the running preview and commits it
OK in the 3D dialog replaced its live preview with a new one before
running the values again. The new preview no longer owned the
interaction the dialog's preview had started, so it ran nothing while
that interaction was open, and the commit then refused with "Finish the
active edit first." With Preview on, OK left the dialog open and saved
nothing, and a refused draft reported that message instead of the
engine's reason.

OK now forgets only the values the preview last ran
(LivePreview::rerun_next) and keeps its interaction, so the values run
again inside it and the commit keeps that interaction as one undo step.

This fixes four vectorcraft-ui-egui tests that fail on main under both
cargo test and cargo nextest:
- dialogs::revolve::tests::lighting_presets_cancel_restores_an_existing_custom_light_rig
- dialogs::three_d::unchanged_tests::refused_three_d_preview_confirmation_retries_the_same_draft
- dialogs::three_d::unchanged_tests::three_d_dialog_changed_options_commit_once_or_cancel
- dialogs::track_cube::precision_tests::screen_plane_keys_preserve_the_untouched_rotation_axes_through_preview_and_ok
2026-11-28 09:40:45 -08:00
.CooCoo 98c3a3fe08 Merge pull request #9942 from dotCooCoo/train/carry6115
Panels: the Artboards panel's list fills the panel and resizes with the window (#6085)
2026-11-28 09:07:53 -08:00
dotCooCoo d9c28efd41 Artboards: port the panel-height test to the page list
main draws the Artboards panel with the shared page list, whose list
fills the panel above its footer. The test now drives that panel
through the panel harness: in a 300 pt and a 700 pt panel the New
Artboard button ends inside the panel at its bottom and follows its
height, and with 36 artboards the last row lies below the footer.

The ui-parity and target-app-parity rows describe the list as it is
drawn now, and a stray tab in the test name is fixed.
2026-11-28 08:57:10 -08:00
.CooCoo efa21dd3fe Merge pull request #9936 from dotCooCoo/train/carry9169
Render: redraw the effects of rotated radial and reflected mirror repeat copies
2026-11-28 08:56:25 -08:00
.CooCoo b33bc2ce17 Merge pull request #9130 from dotCooCoo/feat/plugin-api-context-menus
Plug-ins: a command's manifest can list it in the canvas and Layers panel context menus
2026-11-28 08:56:11 -08:00
.CooCoo b68e26628c Merge pull request #9940 from dotCooCoo/fix/ui-spacing
UI: give popovers, panel empty states and New Document controls room
2026-11-28 08:56:07 -08:00
.CooCoo da8d50706a Merge pull request #9941 from dotCooCoo/fix/relink-revert
Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
2026-11-28 08:56:03 -08:00
dotCooCoo 5f907f863a Merge main into feat/plugin-api-context-menus 2026-11-28 08:46:27 -08:00
.CooCoo fe6bf49232 Merge pull request #9939 from dotCooCoo/fix/home-page-spacing
Home: margin and gaps follow the framework's spacing tokens
2026-11-28 08:42:38 -08:00
.CooCoo b24f5af47c Merge pull request #8099 from dotCooCoo/feat/color-wheel-hex-alpha-css
Part of #978: Show Hex Field in the Color Wheel panel takes hex with an alpha and CSS colors
2026-11-28 08:37:09 -08:00
.CooCoo 0c51d3e454 Merge pull request #8962 from dotCooCoo/feat/pattern-brush-scale-pen-inputs
Brushes: Pattern Brush Options' Scale follows the pen's pressure, tilt, bearing, rotation and wheel
2026-11-28 08:36:51 -08:00
.CooCoo 4fe3b646f7 Merge pull request #9937 from dotCooCoo/train/carry9168
PDF: PDF/X-4 exports declare the identification namespace on the XMP description (carries #9168)
2026-11-28 08:36:48 -08:00
.CooCoo 62716cacd2 Merge pull request #9289 from dotCooCoo/feat/scripts-app-redraw
Scripts: app.redraw returns without changing the documents
2026-11-28 08:36:42 -08:00
dotCooCoo 85899089ec Tests: format the New Document orientation assertion 2026-11-28 08:32:10 -08:00
.CooCoo e9d7ee54b2 Merge pull request #9938 from dotCooCoo/fix/file-asks-owner-unused
File dialogs: drop the unread Waiting::owner field so main builds
2026-11-28 08:25:29 -08:00
dotCooCoo 921dffdec0 File dialogs: drop the unread Waiting::owner field
#9555 merged with a merge of main that brought back the `owner` field
on `Waiting`. Main had removed it once the document check moved to the
captured UID and Revert counter. Nothing reads it, so clippy's
`-D warnings` failed main's gate with "field `owner` is never read" at
crates/ui-egui/src/file_asks.rs:42. The fix commit on #9555's branch
(8ed117a988) did not reach main before the merge.
2026-11-28 08:25:06 -08:00
dotCooCoo 414d86ac1b Merge main into fix/ui-spacing 2026-11-28 08:22:28 -08:00
dotCooCoo fc9c9f30e7 UI: give popovers, empty states and New Document buttons room
The Manage Profiles and More Settings popovers pad their rows with the
regular pad and the stack gap. Manage Profiles shows its heading as a
section caption and lays the profiles out in a grid, so the Edit and
Reset buttons line up in columns.

Panel empty states (the shared empty_state helper, the Libraries
notices and the Properties panel with no document) sit inside the roomy
pad, so they no longer touch the tab strip, the panel edges or the
library picker above them.

In New Document, the Height, Orientation and Artboards row wraps
whenever it does not fit the column, so Artboards is not cut off, and
More Settings and Manage Profiles sit side by side the item gap apart.
2026-11-28 08:22:26 -08:00
dotCooCoo 71b3157250 Relink: OK after File › Revert relinks nothing and asks to reopen the dialog
The Relink dialog kept only the opening document's uid, so after File ›
Revert replaced that document's content, OK relinked the restored objects
that have the same ids. The dialog now keeps the document's revert count
as well, and OK in a reverted document relinks nothing, records no undo
step and shows "The document was reverted. Reopen this dialog to
continue." in the status line, as Transform and the style dialogs do.
2026-11-28 08:20:43 -08:00
dotCooCoo 97316b5ce0 Merge main into feat/color-wheel-hex-alpha-css 2026-11-28 08:20:14 -08:00
dotCooCoo 8087812450 Merge main into feat/pattern-brush-scale-pen-inputs 2026-11-28 08:12:04 -08:00
dotCooCoo a9fda9f97c Merge main into feat/scripts-app-redraw 2026-11-28 08:12:03 -08:00
dotCooCoo b464b1ecad PDF: check that the PDF/X-4 XMP packet stays well-formed
The PDF/X test now asserts that the outer description declares the
pdfxid namespace exactly once, and that the edited packet parses with
the strict XML parser that File Info uses to read it back.
2026-11-28 08:08:13 -08:00
.CooCoo ab4b8bb64a Merge pull request #9136 from dotCooCoo/feat/plugin-api-generated-art
Plug-ins: generators draw generated art objects that keep their parameters
2026-11-28 08:06:06 -08:00
.CooCoo 3212703f8c Merge pull request #9471 from dotCooCoo/fix/parser-var-scope-budget
Move var declaration names between parser scopes
2026-11-28 08:06:00 -08:00
dotCooCoo fdffa121a9 Render: cover the effects on reflected mirror repeat copies
A Mirror Repeat on a slanted axis reflects its copy before the source's
geometry effects run, so a Transform effect on the copy painted outside
the move and Undo damage region, the same fault #9169 fixes for Radial
Repeat. Mirror repeats now take the same measured bounds, with a test
that fails without the change.
2026-11-28 08:05:59 -08:00
.CooCoo 7e0381a21f Merge pull request #9910 from dotCooCoo/feat/normal-style-options
Text styles: Style Options edits [Normal Character Style] and [Normal Paragraph Style]
2026-11-28 08:05:56 -08:00
.CooCoo 0198cf9bf4 Merge pull request #9930 from dotCooCoo/fix/select-removal-paints-count
Select: removing a group counts its contents before taking it out of the paints
2026-11-28 08:05:53 -08:00
dotCooCoo ff0bf88559 Merge main into fix/home-page-spacing 2026-11-28 08:05:34 -08:00
dotCooCoo 75d328e005 Home: margin and gaps follow the framework's spacing tokens
The app's size sets gave Home's page margin and its title, action,
section, heading and link gaps fixed point values (60, 9, 27, 14, 33,
15, 5). They are dropped, so Home uses the framework's page tokens,
which follow its spacing scale (space.gap.*), and the gaps between
Home's sections, headings and cards share one rhythm.
2026-11-28 08:05:34 -08:00
.CooCoo c2e4966407 Merge pull request #9255 from dotCooCoo/feat/scripts-scriptui-resources
Scripts: ScriptUI builds windows and controls from resource strings
2026-11-28 08:03:55 -08:00
.CooCoo bb954425a0 Merge pull request #9555 from dotCooCoo/fix/variables-browser-download
Download Variables CSV and XML exports in the browser
2026-11-28 08:03:38 -08:00
.CooCoo b55413a834 Merge pull request #9094 from dotCooCoo/feat/js-es2015-classes
Scripts: .js scripts define classes with extends, super and new.target
2026-11-28 08:03:33 -08:00
.CooCoo 57b715c359 Merge pull request #9829 from dotCooCoo/fix/previewbounds-memo-flake
Tests: hover memo counts hold plug-ins and hyphenation steady
2026-11-28 08:03:26 -08:00
.CooCoo 8cdd897b23 Merge pull request #9909 from dotCooCoo/feat/windows-thumbnail-handler
Windows: Explorer shows thumbnails of VectorCraft documents
2026-11-28 08:03:20 -08:00
.CooCoo e15a5fcd38 Merge pull request #9914 from dotCooCoo/fix/move-anchors-no-op-undo
Undo: a move by 0 and Layer Options that change nothing add no step
2026-11-28 08:03:15 -08:00
.CooCoo 6483508cd8 Merge pull request #9912 from dotCooCoo/fix/layers-art-drag-revert
Layers: a selection-square drag held across File Revert leaves the restored art in place
2026-11-28 08:03:11 -08:00
.CooCoo a0890cc87b Merge pull request #9929 from dotCooCoo/feat/scatter-brush-brightness-jitter
Brushes: Scatter Brush Options has Brightness Jitter, a per-copy brightness move
2026-11-28 08:03:07 -08:00
.CooCoo bc28d7da82 Merge pull request #9917 from dotCooCoo/fix/placed-document-inline-panic
Placed documents: a bitmap made on the drawing thread stops being pending when it panics
2026-11-28 08:03:04 -08:00
.CooCoo 19fd9548ee Merge pull request #9835 from dotCooCoo/fix/classic-3d-unchanged-approval-b
Keep unchanged 3D options out of Undo and recorded actions
2026-11-28 08:03:00 -08:00
.CooCoo 2fd889ce4d Merge pull request #9922 from dotCooCoo/fix/ai-private-data-streamed
.ai import: editing data whose streams pass 256 MiB opens with its layers
2026-11-28 08:02:57 -08:00
.CooCoo 0d10c2a88d Merge pull request #9927 from dotCooCoo/feat/parametric-shape-slice
Parametric Shape: rectangles, ellipses, polygons, stars and rings cut as slices
2026-11-28 08:02:53 -08:00
.CooCoo af9226f613 Merge pull request #9900 from dotCooCoo/fix/paste-pie-legend-colors
Paste: pies in pasted symbols and patterns follow a merged swatch's wedge colors
2026-11-28 08:02:50 -08:00
.CooCoo bc17f26ca0 Merge pull request #9403 from dotCooCoo/fix/promise-host-constructors
JavaScript: accept host constructors in Promise statics
2026-11-28 08:02:46 -08:00
.CooCoo 676d4b5593 Merge pull request #9146 from dotCooCoo/feat/toolbar-button-rename
Toolbars: Rename Button… gives a command button a label of its own
2026-11-28 08:02:44 -08:00
.CooCoo e47136ed50 Merge pull request #9905 from dotCooCoo/fix/setliveshape-linked-art
Live Shapes: a new angle, radius or line takes a linked mask and placed gradients along
2026-11-28 08:02:39 -08:00
.CooCoo 8c5935afbb Merge pull request #9898 from dotCooCoo/fix/hyphenation-dialog-test-timing
Tests: Japanese dialog clicks wait for the CJK font lookup
2026-11-28 08:02:37 -08:00
.CooCoo 5f1eec6cd9 Merge pull request #9291 from dotCooCoo/feat/scripts-document-views
Scripts: Document.views exposes each drawn document window
2026-11-28 08:02:30 -08:00
.CooCoo 503397ab73 Merge pull request #9897 from dotCooCoo/fix/dimension-alt-whole-object-preview-bounds
Dimension: Alt whole-path dimension measures the outside of the stroke with Use Preview Bounds
2026-11-28 08:02:27 -08:00
.CooCoo 835bf75d96 Merge pull request #9907 from dotCooCoo/fix/effect-rows-accepted
Effect dialogs: a canceled Settings, Texture or Blur Center edit puts back the value from before
2026-11-28 08:02:23 -08:00