Commit Graph
24354 Commits
Author SHA1 Message Date
dotCooCoo dd059ff67d Dependencies: pin craft-libs at 77ade517
craft-libs main moved after the merge of main. The pin moves to
`77ade517`, which adds craft-libs #4644, #4053, #4723, #3662 and #4635.
The egui and winit revisions are unchanged.
2026-12-01 19:13:31 -08:00
dotCooCoo 8afc91e711 Merge main into fix/window-panels-stay-shown 2026-12-01 18:08:03 -08:00
.CooCoo b12269e64e Merge pull request #10514 from dotCooCoo/chore/tests-color-effects
Tests: color and effects tests check behavior, not their own tables
2026-12-01 18:05:06 -08:00
dotCooCoo de093cfdea Panels: a Window-menu panel keeps showing while art is selected and moved
A panel opened from the Window menu, such as Learn or Image Trace, floats in
an OS window. craft-libs hid floating panel windows while the main window
showed any layer that takes keys, including the Contextual Task Bar over
selected art. The panel's window then hid and came back as art was selected, and while it was hidden the canvas still counted its
area as covered by a window. A Selection tool move released there was given
up, and the art went back to where the move started.

craft-libs main (storytold/craft-libs `2e9d498e`) hides floating panel windows
only under popup and modal layers. The craft-libs pin moves to craft-libs
main, `858bea9d`, with the egui revision that craft-libs pins (`861d60a6`).
The winit revision is unchanged.

A test opens Learn and Image Trace through their Window menu commands,
selects and moves a rectangle, and checks that each panel's OS window shows
on every frame and that the move ends where it was released.
2026-12-01 18:05:05 -08:00
.CooCoo 051e5e385f Merge pull request #10368 from dotCooCoo/fix/new-document-spacing
New Document: Preset Details rows stand a stack gap apart
2026-12-01 17:52:03 -08:00
.CooCoo 6c3e10a8fd Merge pull request #10503 from dotCooCoo/fix/gradient-cmyk-sliders
Gradient: the stop popover's CMYK sliders keep the stop's own values
2026-12-01 17:36:51 -08:00
.CooCoo 44522e9b7e Merge pull request #10506 from dotCooCoo/fix/include-bleed-native-files
Export for Screens: Include Bleed files of an artboard hold the bleed once
2026-12-01 17:32:13 -08:00
dotCooCoo c58415b307 Tests: color and effects tests check behavior, not their own tables
Parse tests in the color crate looped over every id or label and parsed
it back. Blend modes, policies, harmony rules, recolor methods and WCAG
categories parse by looking the text up in that same table, so those
loops could not fail. They now parse representative ids, labels and
spellings, and the edge cases: "Color" next to "Color Burn", empty
text, and a label where only ids parse.

- default_swatches_parse read swatch.rs as text. It now checks the
  built swatches: no two solid swatches share a color (a bad hex
  literal falls back to black), and the Sunset and Ocean stops equal
  the swatches their literals name.
- loads_system_cmyk_icc ran only on macOS and returned early without
  the system profile. loads_icc_files_and_refuses_bad_ones runs on every
  native target: a missing file is an I/O error naming the path, a file
  that is not a profile is refused, and a built-in profile's bytes are
  refused for their name.
- the_other_libraries_keep_classic_mixing_and_centered_midpoints is
  removed: those libraries are built with Gradient::new's defaults.
- pixel_timings and bench_catalog_lookup are removed. They were ignored
  and only printed timings.
- Checks over lists that can be empty now also check the count:
  reverse and move keep every stop, a conic draws its 4 wedges, each
  harmony gives at least two colors, the fit leaves patches out, the
  wireframe draws edges, a flat warp keeps its anchors, a gradient
  stroke has slices, and fitted dashes on a curve are drawn.
- the_effects_are_colour_adjustments_in_their_own_menu checks one
  add-on effect and one effect outside it instead of every entry.
2026-12-01 17:24:39 -08:00
FredApps b242c6498a Merge pull request #9214 from tareq-halaby/feat/arabic-language-support
refactor(i18n): prepare Arabic language registration and 6-form plurals
2026-12-02 02:21:19 +01:00
dotCooCoo 8bcd4d924f Merge main into fix/window-panels-stay-shown 2026-12-01 16:59:27 -08:00
FredApps 7fc3da2964 Merge branch 'main' into feat/arabic-language-support 2026-12-02 01:45:37 +01:00
.CooCoo 5970647dec Merge pull request #10508 from dotCooCoo/fix/quick-pen-touchpad-test-lint
Tests: exempt the macOS-only Quick Pen touchpad test from never-run
2026-12-01 16:18:04 -08:00
FredApps c3d4cd7444 Merge branch 'main' into feat/arabic-language-support 2026-12-02 01:08:16 +01:00
FredApps b13b1457d2 Merge pull request #5450 from Taha-Mahmoodi/svg/export-length-unit
Fix #4462: SVG export can write width and height in mm, cm or in
2026-12-02 01:07:05 +01:00
dotCooCoo a0f7ba0ed1 Tests: exempt the macOS-only Quick Pen touchpad test from never-run
main's CI fails at test-lint since #8808 merged: keys_held_during_a_touchpad_gesture_count_until_it_ends is compiled only on macOS, which no CI test leg runs. egui reports a touchpad gesture's phases only on macOS; on Windows and Linux it reads a touchpad's Ctrl+scroll as a pinch, so the test cannot run there. The allow comment names that reason.
2026-12-01 15:40:44 -08:00
dotCooCoo 6d0f17690a Merge main into fix/toolbar-chips-one-line 2026-12-01 15:39:11 -08:00
dotCooCoo 2157200131 Merge main into fix/new-document-spacing 2026-12-01 15:38:11 -08:00
FredApps 559a2205d5 Merge branch 'main' into svg/export-length-unit 2026-12-02 00:35:06 +01:00
.CooCoo 3852fa4afb Merge pull request #10484 from dotCooCoo/fix/pathops-cap-reports
Pathfinder: Divide and Live Paint report paths too complex to map
2026-12-01 15:33:36 -08:00
FredApps 5a4a558f5c Merge branch 'main' into svg/export-length-unit 2026-12-02 00:29:33 +01:00
.CooCoo 977062a652 Merge pull request #10462 from dotCooCoo/fix/colorcontrast-isolating-group-test
Tests: check the contrast answer for a Difference square in an isolating group
2026-12-01 15:19:00 -08:00
.CooCoo ae508e0179 Merge pull request #10500 from dotCooCoo/fix/reset-warning-dialogs
Preferences: Reset All Warning Dialogs turns dismissed warnings back on
2026-12-01 15:14:44 -08:00
.CooCoo aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -08:00
dotCooCoo 184978b9a6 Tools: Color, Gradient and None share one line in a one-column rail
craft-libs #4609 measures the Fill and Stroke proxy at the width of its
column, so the proxy no longer widens a one-column Tools panel. The
column is then one rail button less one tight gap wide, and the three
swatch chips (a third of a rail button each, a tight gap apart) took
more than that: None wrapped onto a second line.

The craft-libs pin moves to storytold/craft-libs#4659, which sizes a
swatch chip so the three chips and their gaps fit the column. That rev
also carries #4609 and the other craft-libs changes merged up to
d73e274a. The one-column toolbar test now also checks that the chips
stay inside the column of tools and do not overlap, and a new test
checks the same at UI scale 2.
2026-12-01 14:44:03 -08:00
dotCooCoo bb9a4463ee Merge main into fix/include-bleed-native-files 2026-12-01 14:38:42 -08:00
dotCooCoo 86a5efd04c Export for Screens: Include Bleed files of an artboard hold the bleed once
With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.

These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
2026-12-01 14:38:27 -08:00
.CooCoo c5ad63ace7 Merge pull request #10450 from dotCooCoo/fix/swatch-library-freeze
Library panels: a large library scrolls without rebuilding its rows every frame
2026-12-01 14:30:46 -08:00
dotCooCoo 7e7826c6e9 Gradient: the stop popover's CMYK sliders keep the stop's own values
The Color tab of the gradient stop popover gave its Color panel only the
stop's sRGB, so every frame the rows worked their values out again from
that sRGB. On a CMYK stop, typing a value or dragging one slider rewrote
the other channels: typing Cyan 40 on C10 M20 Y30 K5 gave M17.3 Y24.7 K0.

The popover now passes the stop's values in its own model, as the Color
panel does, so a typed value stays as typed and a drag changes only the
dragged channel. The new test types Cyan, sets Magenta and drags Yellow
on a CMYK stop and checks the exact channel values after each edit.
2026-12-01 14:25:21 -08:00
.CooCoo f05e30191a Merge pull request #10434 from dotCooCoo/fix/tight-ui-test-values
Tests: check exact values in panel and dialog tests
2026-12-01 14:21:50 -08:00
.CooCoo 4596f1a8be Merge pull request #10374 from dotCooCoo/fix/swallowed-regression-guards
Tests: guards check the environment, not the output under test
2026-12-01 14:10:23 -08:00
dotCooCoo 827f4fc87e Tests: make isolation change the contrast answer for the grouped Difference square
The white square behind the Difference square was opaque, so the art behind
the group never reached the blend and the test gave the same answer with
isolation off. That square is now 50 % opaque. The test checks that the
isolating group gives one answer and that the same group without isolation
reports that the art behind the selection is not one color.
2026-12-01 14:10:14 -08:00
.CooCoo 0667ef8644 Merge pull request #10421 from dotCooCoo/chore/test-lint-rules
xtask: test-lint reports mirror, constant-echo, fixture-only, never-run and exact-pixel tests
2026-12-01 14:01:51 -08:00
dotCooCoo 55cba88a89 Merge main into fix/toolbar-chips-one-line 2026-12-01 13:58:56 -08:00
.CooCoo eaceffc996 Merge pull request #10356 from dotCooCoo/fix/issue-10262
Fix #10262: Document Info scrolls in a short dock group
2026-12-01 13:54:30 -08:00
dotCooCoo 7183a91544 Preferences: Reset All Warning Dialogs turns dismissed warnings back on
General gets a Reset All Warning Dialogs button after the Show External
Script Warning row. It turns every warning that a Don't Show Again box
turned off back on in the Preferences window, and OK or Apply saves it.
The button is dimmed while every warning is on, so a click then changes
nothing. The warnings with a Don't Show Again box are listed in one place
(`WARNING_DIALOGS`), so a later dialog with the box joins the reset by
adding its preference there.
2026-12-01 13:52:58 -08:00
dotCooCoo 4ce98e8032 MCP: regenerate the UI catalog for the Gap Options preview text
The params text of ui.livePaintGapOptions in
crates/ui-egui/src/menus/ui_commands.rs gained the failed-preview
sentence, but crates/mcp/src/ui_catalog.rs was not regenerated, so
`cargo xtask ui-commands --check` failed in CI. This is the output of
`cargo xtask ui-commands`.
2026-12-01 13:45:26 -08:00
.CooCoo 3d51a889d1 Merge pull request #10457 from dotCooCoo/fix/heavy-filter-shortcut-test-race
Tests: hold the clock still in the heavy filter shortcut test
2026-12-01 13:45:16 -08:00
dotCooCoo 9c7777372a Merge main into fix/colorcontrast-isolating-group-test 2026-12-01 13:17:13 -08:00
dotCooCoo 813ef9b3e7 Merge main into fix/pathops-cap-reports 2026-12-01 13:16:59 -08:00
.CooCoo a5a3e40c5e Merge pull request #9087 from dotCooCoo/feat/scripts-print-printer
Scripts: Document.print prints to an installed printer and app.printerList lists the printers
2026-12-01 13:11:17 -08:00
.CooCoo 085d231803 Merge pull request #10461 from dotCooCoo/fix/sidecar-acl-test-macos
Tests: ACL replacement tests run without the acl tools
2026-12-01 10:59:51 -08:00
.CooCoo eb8e3b41bd Merge pull request #10452 from dotCooCoo/fix/halftone-merged-dot-edges
Vector Halftone: round and diamond dots stay in their cell, so dark tones join cleanly
2026-12-01 10:49:12 -08:00
dotCooCoo eb0ee2baa4 Merge main into fix/colorcontrast-isolating-group-test 2026-12-01 10:43:39 -08:00
.CooCoo c4d4ba8552 Merge pull request #10360 from dotCooCoo/fix/undocked-document-window
Windows: a floating document window moves by its title bar and its tab closes it
2026-12-01 10:42:55 -08:00
.CooCoo 7936fd6f67 Merge pull request #10153 from dotCooCoo/fix/file-new-rejects-bad-rows
New Document: file.new refuses artboard counts that are not whole numbers
2026-12-01 09:47:36 -08:00
.CooCoo d2b21eee81 Merge pull request #10145 from dotCooCoo/fix/placement-options-keeps-links
Links: Placement Options applies to the images it opened on
2026-12-01 09:47:28 -08:00
.CooCoo 9a9cdbcf33 Merge pull request #10140 from dotCooCoo/feat/symbol-drop-keeps-art
Symbols: art dropped on a symbol with Alt+Shift redefines it and stays as it was
2026-12-01 09:47:19 -08:00
.CooCoo fd24af05d7 Merge pull request #10118 from dotCooCoo/fix/layer-options-key
MCP: dialog params texts name the keys ui.inspect reports
2026-12-01 09:47:10 -08:00
dotCooCoo 66c01445d5 Pathfinder: Divide and Live Paint report paths too complex to map
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.

pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.

When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.

Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.
2026-12-01 09:29:56 -08:00
BFlat fcfdb51030 Merge pull request #9228 from ruchirguitar/fix/ai-locked-items-9176
Fix locked items and groups import from Adobe Illustrator files (#9176)
2026-12-02 00:27:00 +07:00