Commit Graph
16054 Commits
Author SHA1 Message Date
dotCooCoo 1f92a1c2d7 Part of #8432: F3 and F2 copy label text, and the menu bar's Cut does too
With text selected in a panel's label, Copy and Cut on keys that arrive
as key presses (F3 and F2 off macOS, or another key assigned to them)
copied or cut the art. They now leave the Copy or Cut to the labels, as
Cmd/Ctrl+C and X do. A key another window sent on that runs Copy or Cut
still acts on the art.

The menu bar's Cut, clicked with no modifier held, also cut the art:
its Cut event was turned back into a plain X key press, the shortcut
of Toggle Fill/Stroke Focus. The Copy or Cut the menu leaves to the
labels is now kept as it is.

- Tests: F3 and F2, the menu bar's Cut, and Cut in the unwritten-formats
  test; the keys another window sends on go through the host's raw
  input hook; a test drags across a real label in a second viewport
  and copies it.
- Docs: the progress line says Copy and Cut act on the art when the
  label is not drawn, lists the tests, and names F3 and F2 among the
  limits in a floating panel's window.
2026-11-17 22:00:35 -08:00
dotCooCoo c70528d77a Part of #8432: fix label Copy with floating windows and unwritten formats
A floating panel's or document's window notes that one of its labels
copied the text a Copy or Cut asked for, so the Copy it sends on to the
main window copies no art. The note was also set when a field with the
keyboard copied its own text, and it stayed until the next Copy or key
a window sent on, which then lost its Copy and the formats of an art
Copy still being written.

- The note is set only when no widget in that window has the keyboard,
  and it is cleared when the main window's next pass starts.
- Only a Copy or Cut another window sent on skips the main window's
  labels. Before, any key sent on in the same frame, such as a key let
  go in a floating panel, made Cmd/Ctrl+C on selected label text copy
  the art.
- The menu bar's Copy and Cut drop the art formats not written yet when
  they leave the event to the labels, also in a frame in which the main
  window does not have the keyboard.
- A test runs passes of a second viewport and checks that a field's
  copy is not noted and that the note does not outlast the main
  window's next pass. Other tests check that Copy with label text
  selected, by its keys or the menu bar's item, drops the art formats
  not written yet; that Cut on a chord of the user's own, Cmd/Ctrl+C
  with other keys sent on, and the menu bar's Copy with a Copy sent on
  copy the label text; and that the art Copy deferred to the next frame
  runs even when the window has lost the keyboard by then.
- docs/target-app-parity.md lists the behavior and the two menu cases
  that still copy the art: the in-window Edit menu, whose click clears
  the label's selection, and the menu bar while the selected text is in
  a floating panel's own window.
2026-11-17 20:26:09 -08:00
dotCooCoo bb8f7a4f53 Part of #8432: Copy and Cut take the text selected in a panel, not the art
Text selected in a panel's label (a Document Info value, an Info panel
readout) could not be copied: Cmd+C, Cmd+X and the menu bar's Copy and
Cut always ran Edit › Copy or Cut, so the clipboard got the selected
art as SVG instead of the selected text.

- With label text selected, Copy and Cut copy that text and leave the
  art. When no label copies anything (its panel is hidden), the art is
  copied in the next frame. Formats an earlier Copy or Cut has not
  written to the system clipboard yet are dropped, so they do not
  replace the copied text.
- A floating panel's window whose label copied its text no longer
  copies the art after it. A Copy sent on from another window (a
  floating document's) copies the art, not text still selected in the
  main window's panels.
2026-11-17 18:37:56 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat 1f84febb08 Merge pull request #8169 from dotCooCoo/fix/symbol-lookup-index
Symbols: render and SVG/PDF export find each instance's symbol in one index
2026-11-18 03:23:44 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
BFlat 41b70ed172 Merge pull request #8333 from dotCooCoo/fix/issue-6117
Enclosing Lasso: the tool is in the Lasso tool's flyout
2026-11-18 03:23:25 +07:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat 97503140eb Merge pull request #8166 from dotCooCoo/fix/blur-drag-test-clock
Tests: canvas tests keep their color settings when a parallel test changes them
2026-11-18 03:22:47 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat 496f1e351e Merge pull request #8287 from dotCooCoo/fix/pdf-large-images-64-bit
PDF import: 64-bit desktop builds open images up to 4 GB and 2^30 pixels
2026-11-18 03:22:18 +07:00
BFlat d55a967dde Merge pull request #8157 from dotCooCoo/fix/hfp-full-tone
Image Trace: High Fidelity Photo traces in Full Tone with abutting shapes
2026-11-18 03:22:09 +07:00
BFlat e1b12a5640 Merge pull request #8060 from dotCooCoo/feat/hyphenation-languages
Type: text hyphenates in Bulgarian, Turkish and Russian, and in German, Polish, Portuguese and Italian with CRAFT_I18N_DIR
2026-11-18 03:22:00 +07:00
BFlat 957881339f Merge pull request #8219 from dotCooCoo/chore/craft-libs-exr-deep-offsets
Dependencies: take craft-libs crates other than craft-plotter from craft-libs main at 64b181977a
2026-11-18 03:21:50 +07:00
BFlat a3a9b081e2 Merge pull request #8062 from dotCooCoo/feat/loaded-text-link-cursor
Selection: loaded text shows a link cursor over an object a click threads it into
2026-11-18 03:21:40 +07:00
BFlat b458f8f757 Merge pull request #7254 from dotCooCoo/fix/ai-xa-working-rgb
.ai save: Lab colors and type paints are written in the working RGB space
2026-11-18 03:21:30 +07:00
BFlat a85cb5cf8e Merge pull request #8332 from dotCooCoo/fix/issue-7095
Fix #7095: a double-click on a pattern swatch no longer paints its tile
2026-11-18 03:21:20 +07:00
BFlat 5088d9c6ec Merge pull request #8272 from dotCooCoo/feat/emf-font-width-scale
Metafile import: a LOGFONT average character width becomes Horizontal Scale
2026-11-18 03:21:07 +07:00
BFlat d7556fbae5 Merge pull request #8249 from dotCooCoo/feat/swatches-drag-to-delete
Swatches: swatches dragged onto the Delete Swatch button are deleted
2026-11-18 03:20:53 +07:00
BFlat 3ab5db4c64 Merge pull request #8092 from dotCooCoo/fix/issue-8047-group-marquee
Group Selection: a marquee selects the objects it touches, whole
2026-11-18 03:20:42 +07:00
BFlat aa8ef006da Merge pull request #7446 from dotCooCoo/fix/ai-transform-guide-reach
.ai import: guides past an object's art keep the drawn look under Transform and Free Distort
2026-11-18 03:20:32 +07:00
BFlat 0d681e804d Merge pull request #8339 from dotCooCoo/fix/bounds-reference-number
Fix #8334: setBounds reads whole-number float references correctly
2026-11-18 03:20:23 +07:00
BFlat 40f1080a86 Merge pull request #8215 from dotCooCoo/fix/trim-line-end-on-curve
Path Precision Tools: a path that ends on a curve still divides it after the curve is cut
2026-11-18 03:20:13 +07:00
BFlat a3a3f2dfec Merge pull request #8108 from dotCooCoo/feat/spiral-constrain-angle
Spiral: dragging turns the spiral to the pointer, and the click dialog starts it along Constrain Angle
2026-11-18 03:20:05 +07:00
BFlat 409b8ce9d1 Merge pull request #8058 from dotCooCoo/perf/selection-batch-toggle
Selection: select.toggle and select.add with many ids go through the selection once
2026-11-18 03:19:52 +07:00
BFlat 3bdc7400a3 Merge pull request #8045 from dotCooCoo/fix/ai-legacy-perceptual-gradient
Legacy .ai: write Perceptual gradients with the stops on their curve
2026-11-18 03:19:43 +07:00
BFlat ba6e0683a5 Merge pull request #8328 from dotCooCoo/fix/followup-8305
Color Guide: a script run or a resting link keeps the base color it showed
2026-11-18 03:19:34 +07:00
BFlat 36219a7c79 Merge pull request #7905 from dotCooCoo/fix/touch-point-on-sample
Smart Guides: tangent and perpendicular snaps find a touch point that falls exactly on a sample
2026-11-18 03:19:25 +07:00
BFlat 8ae0a0f516 Merge pull request #8384 from storytold/fix/mesh-outline-extent
Render: a gradient mesh past any buffer draws without flattening its outline
2026-11-18 03:19:17 +07:00
bflatastic 82c9631b57 Render: a gradient mesh past any buffer draws without flattening its outline
A damaged .ai can give a gradient mesh whose outline is enormous but finite.
draw_mesh_raster flattened that whole outline in device pixels (grown_outline),
and kurbo's flatten then asked for more segments than memory holds: a
"capacity overflow" panic (seen in import_fuzz's ai_written_meshes_never_panic).
An outline wider or taller than 2^24 device pixels now goes to the per-quad
drawing path the function already falls back to.
2026-11-18 01:41:52 +07:00
dotCooCoo 9ae9da71b8 Fix numeric reference points in bounds transforms 2026-11-17 08:02:50 -08:00
dotCooCoo c0342e63aa Swatches: quick clicks after a double-click do not apply the swatch
A third quick click on a swatch counts as a triple click, and so does
each quick click after it. Those clicks still applied the swatch, so a
triple click on a pattern swatch opened pattern editing and then
painted the tile art with the pattern itself. Only the first click of
a run of quick clicks now applies and selects the swatch.

The test now sends four quick clicks and gives the art a solid fill in
each view, so the list view's first click is checked on its own.
2026-11-17 07:59:01 -08:00
dotCooCoo 0a14dc0a8c Docs: wrap the Enclosing Lasso paragraph in docs/roadmap.md 2026-11-17 07:43:48 -08:00
BFlat 36b5a5920c Merge pull request #8098 from el-j/feat/save-pdf-transparency-confirmation-8097
Fix #8097: Save PDF: show flattener rasterization resolutions in Summary warning and Advanced section
2026-11-17 22:38:24 +07:00
BFlat 27d0b095da Merge pull request #7075 from mockydevs/fix/twist-smooth-7069
Twist: handles follow the rotation's derivative, so a strongly twisted path is smooth
2026-11-17 22:38:15 +07:00
dotCooCoo cce26edfa0 Merge main into fix/metafile-loss-warnings
# Conflicts:
#	Cargo.toml
2026-11-17 07:25:38 -08:00
dotCooCoo 61abac22bf Merge main into chore/craft-libs-exr-deep-offsets
# Conflicts:
#	Cargo.toml
2026-11-17 07:20:10 -08:00
dotCooCoo ea4e3bce29 Color Guide: a script run or a resting link keeps the base color it showed
Running a script or a plug-in now ends the spot color base's link, as a
batch step already did, so a script that deletes the spot color and makes
another of the same name does not make the new one the base. Commands that
only list scripts or plug-ins keep the link.

While the link waits for an Undo, the color it captures before a command is
the one the guide shows, not that of a new spot color of the same name.
2026-11-17 07:08:52 -08:00
dotCooCoo 4c47558d9a Merge main into fix/pdf-large-images-64-bit 2026-11-17 07:06:24 -08:00
dotCooCoo 02da66521f Fix #7095: a double-click on a pattern swatch no longer paints its tile
The second click of a double-click on a swatch also counted as a plain
click. After the double-click opened pattern editing, which selects the
tile art, that click applied the pattern swatch to the tile, so the
pattern held a copy of itself. The second click now only opens the
editor; the first click still applies and selects the swatch.

Reported by erolkarino. #7164 by mockydevs makes the engine refuse
painting the tile with its own pattern; this change stops the swatch
panel from sending that paint on a double-click.
2026-11-17 06:54:13 -08:00
dotCooCoo d1afba560d Enclosing Lasso: the tool is in the Lasso tool's flyout
The Enclosing Lasso Tool joins the Lasso group in both shipped
toolbars, right after the Lasso, and stays in Object › Plug-ins ›
Enclosing Lasso. The All Tools drawer lists it once, under Select, and
Edit › Keyboard Shortcuts › Tools lists it once. It has no default
shortcut, and the Lasso keeps Q. A toolbar the user already edited
keeps its saved layout; Reset Toolbar adds the tool.

Fixes #6117
2026-11-17 06:51:00 -08:00
BFlat c4147826a3 Merge pull request #7353 from dotCooCoo/fix/i18n-adjacent-placeholders
i18n: messages with values side by side can be translated
2026-11-17 21:32:55 +07:00
BFlat f20bc1c97f Merge pull request #8320 from dotCooCoo/fix/flare-ring-seed-mixing
Flare: distribute the first ring for small seeds
2026-11-17 21:32:44 +07:00
BFlat 271a28840c Merge pull request #8246 from dotCooCoo/feat/ai-editing-data-meshes
.ai save: the editing copy keeps gradient meshes
2026-11-17 21:32:35 +07:00
BFlat 01746c52dc Merge pull request #8319 from storytold/chore/merged-hpgl-pin
Pin shared HP-GL lexer to merged prerequisite
2026-11-17 21:32:26 +07:00
BFlat 13e99adf7b Merge pull request #8317 from Taha-Mahmoodi/fix/macos-clippy
Fix clippy on macOS with current stable (dead_code, needless_range_loop)
2026-11-17 21:32:17 +07:00
dotCooCoo 26ff005295 Dependencies: pdf-deps expects the PDF crates at craft-libs 64b181977a
The branch moves craft-pdf and the patched hayro and krilla crates to
craft-libs 64b181977a, while xtask pdf-deps still expected main's
0cca4ac6 revision, so the gate stopped at pdf-deps. REV now names the
branch's pin.
2026-11-17 06:21:23 -08:00