Commit Graph
19746 Commits
Author SHA1 Message Date
dotCooCoo eb19c0438b Merge main into feat/color-wheel-harmony 2026-11-18 14:37:28 -08:00
dotCooCoo 1edaf222e1 Merge main into feat/color-wheel-document-colors 2026-11-18 14:37:17 -08:00
BFlat 96a34ff3f9 Merge pull request #8618 from storytold/revert/8612
Revert #8612 (craft-cms cutover) and its fmt fix #8616: main fails to build
2026-11-19 05:35:23 +07:00
bflatastic 57ac9a7ff2 Revert "color: cut over cms/icc.rs to craft-cms (#8612)"
This reverts commit 4d73308977.
2026-11-19 05:34:52 +07:00
bflatastic 8a84e0edcd Revert "Merge pull request #8616 from storytold/fix/fmt-icc"
This reverts commit 760c91f9fe, reversing
changes made to 4d73308977.
2026-11-19 05:34:52 +07:00
dotCooCoo 996d095b35 Swatches: a drop reads Cmd/Ctrl and Alt from its release, and Alt alone keeps a tint's paint
The Swatches panel took Cmd/Ctrl and Alt for a drop from the modifiers held at the end of the frame, so a key let go in the same frame after the release changed the drop. It now reads them from the primary button's release event.

An Alt-only drop of a tint on a solid swatch sent the color the drag showed. It sends the tint as before again; only Cmd/Ctrl+Alt sends the shown color.
2026-11-18 14:34:08 -08:00
BFlat 760c91f9fe Merge pull request #8616 from storytold/fix/fmt-icc
color: format the craft-cms import in cms/icc.rs
2026-11-19 05:27:31 +07:00
dotCooCoo 70c0f533f6 Transform: Show on Shape Creation counts shapes drawn in perspective
With the perspective grid shown and a plane active, a Rectangle,
Ellipse, Polygon, Star or Line Segment drag is journaled as
perspective.draw naming the shape command. note_shape_drawn now counts
that entry, alone or as a batch step, so the Transform panel opens for
a shape drawn on the plane too. perspective.draw naming another shape
(a flare, for example) still does not count.

The Transform tests now move a selected rectangle and check that the
move succeeded before checking that the panel stays closed, and check
that the frames after a shape draw the panel's controls, with a control
run where the option is off.
2026-11-18 14:27:27 -08:00
bflatastic 2ef4fe36b4 color: format the craft-cms import in cms/icc.rs 2026-11-19 05:27:20 +07:00
dotCooCoo c103a88649 Merge main into feat/cdr-import-all 2026-11-18 14:27:18 -08:00
yoriswind a07eac2e9f #8068: test held sampler ownership, fresh clicks and preset cancellation 2026-11-18 14:25:05 -08:00
dotCooCoo 92dc3fa63d Layers: layer.locate's reference names when the panel does not scroll
The Layers panel scrolls to the located row only when that row is in its
list (crates/ui-egui/src/panels/layers.rs, where `revealed` is the row's
position in the listed rows). With Show Layers Only, a search or the
filter leaving the row out, a Locate does not scroll. The command's
params text and docs/mcp.md said it scrolls on every call.
2026-11-18 14:24:51 -08:00
dotCooCoo ada4f67f33 Proof Setup: a loaded CMYK profile's black follows black-point compensation
A loaded ICC CMYK profile as the device to simulate showed its darkest
ink without the color settings' black-point compensation, so Simulate
Black Ink made no difference there. It now shows it as the working CMYK
proof of the same profile does, and Simulate Black Ink shows the press
black as gray.

Cancel and turning Preview off now put back the proof view the dialog
found even when its device profile was removed since, and redraw the
documents. Running Proof Setup again while the dialog is open keeps
the open dialog, so Cancel still restores the first view.

The Preserve CMYK Numbers tests put the working color settings back
when they end, a failing run included, and the mask test checks the
proofed square's coverage against the unmasked K100 square and the
page.
2026-11-18 14:23:29 -08:00
Dylan M. Taylor 4d73308977 color: cut over cms/icc.rs to craft-cms (#8612) 2026-11-18 17:21:45 -05:00
dotCooCoo 1d3aa07e3f i18n: Polish calls the art kompozycja in the Preferences sentences
The Polish rows for UI Scaling, Real-time Drawing and Editing, Render Threads, Use Monitor Profile for Canvas and the two Clipboard Handling sentences said grafika for the art. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:19:18 -08:00
BFlat 190b9ac6c9 Merge pull request #8614 from storytold/fix/shortcut-sheet-date
tests: the shortcut sheet test compares two exports without the clock's stamps
2026-11-19 05:19:12 +07:00
dotCooCoo f6ea00e752 Merge main into feat/swatches-color-group-options 2026-11-18 14:18:56 -08:00
dotCooCoo a4ad3e8b46 Merge main into feat/palette-use-counts 2026-11-18 14:17:17 -08:00
dotCooCoo 4b3a543cf3 Merge main into feat/decorative-brush-library 2026-11-18 14:16:18 -08:00
dotCooCoo 44f54c406f i18n: Polish calls the art kompozycja in the Performance sentences
The Polish rows for Real-time Drawing and Editing, Render Threads and Use Monitor Profile for Canvas said grafika for the artwork. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:15:51 -08:00
dotCooCoo 891da1e0b9 Save PDF: one field_set handles the flattener preset, and OK keeps the overprint option
The merge of main left two save_pdf::field_set functions, so the crate did not build. The
flattenerPreset case now sits in the function that ui.dialog.set reaches, and the unreachable
second branch in dialogs::field_set has been removed.

Custom... OK now keeps the preserveOverprints value the Save PDF options had before, instead of
the preset's value, so a stored false stays false.
2026-11-18 14:15:51 -08:00
yoriswind 84725ff20d #7645: merge current main documentation without changing the qualified toggle 2026-11-18 14:15:22 -08:00
bflatastic 0ae4e9c10d tests: the shortcut sheet test compares two exports without the clock's stamps
The PDF writer dates each file and makes its IDs from the clock, so two
sheet exports on either side of a second boundary differed there and the
test failed on main's coverage run.
2026-11-19 05:14:13 +07:00
dotCooCoo cf4dd8b375 Merge main into feat/control-bar-shape-widgets 2026-11-18 14:13:10 -08:00
dotCooCoo 6dc2f7878d Artboard tool: add button tooltips show only where a click adds an artboard
The add buttons' tooltips showed in three places where a click does
something else:

- while Space lends a view tool, where a press pans the view;
- over the part of the top button an artboard's name covers, where a
  press selects the named artboard;
- under the rulers or scroll bars, including the square where the scroll
  bars meet, where the button is not drawn.

The tooltip's hover region is now clipped to the canvas, and no tooltip
shows while Space lends a view tool or where the canvas's artboard name
hit test takes the press.
2026-11-18 14:12:56 -08:00
dotCooCoo 8a4473cd1e Preferences: Show Tool Cards gets its description line
Main now requires a description sentence for every General setting, so Show Tool Cards gets one, with a row in each catalog. The Polish card row for Puppet Warp now calls artwork kompozycja, as main's Polish terminology test requires.
2026-11-18 14:12:26 -08:00
dotCooCoo 1f1135cd6f i18n: Polish calls the art kompozycja in the long CDR page warning
The Polish row for the warning about CDR pages longer than 163,830 pt said grafika for the art near the page edges. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:09:03 -08:00
dotCooCoo 591480d33b Command Palette: Enter runs the query typed in its frame, and Paste is dimmed with no document
- Text typed into the search field in the frame that presses Enter
  changed the query after the results were listed, so Enter ran the old
  list's highlighted result (on an empty search, the last pick). Enter
  now runs the first result of the query as typed.
- `menus::why_off` treated Paste as enabled while the system clipboard
  read as pasteable, also with no document open, until the next
  clipboard check. The override now needs an open document, and the
  engine's reason shows.
- `a_result_that_cannot_run_now_is_dimmed_and_says_why` looks up the
  row's color by the name the row draws (without its menu path).
  `paste_is_dimmed_only_while_nothing_can_be_pasted` finds the Paste row
  by its full screen-reader label. `screen_readers_hear_the_kind_and_home`
  checks the first line of the field's description, since Round Corners
  can't run with no document and its reason goes on a second line.
2026-11-18 14:08:12 -08:00
dotCooCoo e496cfd103 i18n: Polish calls the art kompozycja when it can't be its pattern's tile
The Polish row for the message about art painted with the pattern it would replace said grafika. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:07:44 -08:00
dotCooCoo 7dad812011 Command Palette: Recent keeps the home hint, and an unindexed catalog uses the substring rule
Under the recent picks of an empty search, the line under the list now
says where the highlighted pick's home is when no callout can point at
it, without a result count, and the list keeps room for that line.

A catalog too large to index matches by the substring rule alone again:
query words that are each text inside a name no longer combine there.

The canceled-dialog test now cancels through dialogs::cancel.
2026-11-18 14:07:32 -08:00
dotCooCoo 324931ed04 Graphic Styles: built-in library styles show in the UI language
List rows, tooltips and Find in a built-in graphic style library use
the translated style name, as brush libraries do. User Defined and
loaded libraries keep their style names, and clicks and commands still
use the stored name.
2026-11-18 14:06:35 -08:00
dotCooCoo 72e29ce47d Recolor Artwork: the preview test checks the group's new colors
saving_a_group_with_a_swatch_that_is_not_a_color_is_refused_while_previewing
checked only that the previewed group kept its gradient swatch, so it
still passed when the preview left the group's colors as they were. It
now sets the red row's new color to black and checks that each color
swatch takes its row's new color, in order.
2026-11-18 14:06:33 -08:00
dotCooCoo 6865a4d42d i18n: Polish calls the art kompozycja in the User Interface sentences
The Polish row for the UI scaling sentence said grafika for the art on the canvas. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 14:06:07 -08:00
dotCooCoo 3b8afe1770 Command Palette: a synonym reads as the group word that fits the whole query
When a label holds two words of the group a query word means, the
whole query is now read with the one that matches it best, so
"prefs preferences" finds Settings Preferences by its exact label. A
query word that only descriptions hold meets the stem forms of
descriptions only and no longer changes how labels and menu paths
rank. The index timing test collects the params text before its timer.
2026-11-18 14:05:32 -08:00
dotCooCoo fa87b41da1 Swatches: Add to Swatches brings a library color group with its gradient and pattern swatches
swatch.library.add no longer refuses a library color group that holds a
gradient or pattern swatch. main now adds a .ai library's pattern swatch
in its color group (#8081), and Recolor Artwork keeps a group's gradient
and pattern swatches at their places (#8556), so the group comes in
whole, each swatch at its place.
2026-11-18 14:01:22 -08:00
dotCooCoo 37f8b8c4be i18n: Polish Map Art and Shade Artwork rows say kompozycja
The Polish catalog uses "kompozycja" for artwork, so Map Art…, Map Art
and Shade Artwork now read "Mapuj kompozycję" and "Cieniuj kompozycję".
i18n::tests::polish_rows_call_artwork_kompozycja passes again.
2026-11-18 14:00:52 -08:00
dotCooCoo da5985eeab Merge main into feat/stipple-brush-library 2026-11-18 14:00:16 -08:00
dotCooCoo 9ef6a7811a Merge main into feat/palette-dimmed-rows 2026-11-18 13:58:52 -08:00
dotCooCoo 6513b42ff7 Merge main into feat/image-brush-library 2026-11-18 13:57:44 -08:00
dotCooCoo 2bd860e63c Preferences: move the dimmed checkboxes' conditions into a helper
category_fields reached a cognitive complexity of 31 after the merge of main, over clippy's limit of 30. The conditions that dim Scroll Sideways with Cmd/Ctrl + Wheel, Numbers Without Units Are Points, Show Tool Cards, Animated Zoom and Show samples on white move to bool_enabled, and category_fields draws those five checkboxes in one match arm.
2026-11-18 13:54:14 -08:00
dotCooCoo 0a9df5d61f Command Palette: pick numbers keep their order at the limit, and a saved toggle takes no recent place
- At the pick number's limit, the counted commands' pick numbers are
  renumbered from 1 in their order, so a command picked again still
  leaves the half picked longest ago.
- Saved pick numbers are compared as saved before the newest 200 are
  kept; numbers too large to hold are renumbered in their order.
- The palette's own toggle in an older Recent Commands list no longer
  takes one of the eight places.
- With no index (a catalog too large for one), a query matches only
  as one piece of text.
- The ranking line in docs/target-app-parity.md says a recent pick
  ranks first only among results with the same use grade.
2026-11-18 13:51:43 -08:00
dotCooCoo 69ebc3f3e6 i18n: drop the Swedish rows for script and SVG filter errors that main already has
main added Swedish rows for 13 script interpreter errors (429f37a221) and
for "give one <filter> element" (ca2dd52afc) with the same text as this
branch. The branch's copies made bundled_catalogs_are_consistent fail on a
duplicate key, so they are removed and main's rows stay.
2026-11-18 13:47:36 -08:00
dotCooCoo d1bb27f028 i18n: Polish calls the art kompozycja in the User Interface sentences
The Polish row for the UI scaling sentence said grafika for the art on the canvas. The catalog calls art and artwork kompozycja, and polish_rows_call_artwork_kompozycja checks every row for it.
2026-11-18 13:45:03 -08:00
dotCooCoo 236bafbf7a Brushes: keep the library test's frame times increasing
The Artistic Brushes click runs frames at 3.0 to 3.5, so the Pressure Sensitive click now starts at 4.0 instead of 3.0. egui panics when a frame's time is earlier than the last one.
2026-11-18 13:43:15 -08:00
dotCooCoo a18d5de313 Brushes: keep the library test's frame times increasing
The Vector Packs click runs frames at 3.0 to 3.5, so the Pressure Sensitive click now starts at 4.0 instead of 3.0. egui panics when a frame's time is earlier than the last one.
2026-11-18 13:43:10 -08:00
yoriswind 2d8b4200c8 Free the inherited shortcut binding in Selection toggle controls 2026-11-18 13:42:35 -08:00
BFlat 2b42358568 Merge pull request #8609 from storytold/train/carry7007
Panels: floating panels keep their level while focus moves between the app's windows (#7007, main merged in)
2026-11-19 04:38:51 +07:00
bflatastic aef624be77 Merge main into #7007
# Conflicts:
#	docs/target-app-parity.md
2026-11-19 04:38:16 +07:00
dotCooCoo 6ad3ed3b91 Docs: a grouped polygon counts as on a locked artboard by its outermost group
Document::is_editable measures the object its layer holds, so the widget hides for a polygon whose outermost group overlaps a locked artboard even when the polygon does not.
2026-11-18 13:38:09 -08:00
BFlat 5dddce1425 Merge pull request #8129 from jmverges/fix/ai-grouped-clipping-paths-in-compound
.ai import: clipping paths grouped in a compound path are its subpaths
2026-11-19 04:37:33 +07:00