Commit Graph
17504 Commits
Author SHA1 Message Date
dotCooCoo b963e41e85 Merge main into feat/smooth-bridge-many 2026-11-16 22:14:28 -08:00
dotCooCoo 8d4011f997 Merge main into feat/prefs-descriptions-type 2026-11-16 22:10:27 -08:00
datatimp 6c3809ab2c Merge upstream/main into fix/8217-layers-alt-drag-copy-cursor 2026-11-17 01:09:30 -05:00
dotCooCoo 6a6d6fb801 Save for Web: Auto Select counts the colors written over the matte
With Transparency off, Optimize to File Size's Auto Select counts the
colors of the pixels blended over the matte, which are the colors the
file is written with, so art whose blended pixels need more than 256
colors starts with JPEG instead of GIF.
2026-11-16 22:09:06 -08:00
BFlat eb07fb4a82 Merge pull request #8199 from dotCooCoo/feat/prefs-descriptions-general
Preferences: the line under the fields describes each General setting
2026-11-17 13:08:45 +07:00
BFlat 338fbada9d Merge pull request #8184 from dotCooCoo/feat/ellipse-dialog-height-copies-width
Ellipse: a click on the word Height in the click dialog copies Width into Height
2026-11-17 13:08:35 +07:00
BFlat 1f13cb80eb Merge pull request #8226 from dotCooCoo/feat/save-pdf-alt-reset
Save PDF: holding Alt turns Cancel into Reset
2026-11-17 13:08:25 +07:00
BFlat ee1a2a8816 Merge pull request #8253 from dotCooCoo/feat/color-guide-spot-tints
Color Guide: a spot color base gives tints of that spot color
2026-11-17 13:08:18 +07:00
BFlat 60bf9bcc89 Merge pull request #8170 from dotCooCoo/feat/print-overprint-black
Print: Overprint Black overprints solid black art on separations
2026-11-17 13:08:09 +07:00
dotCooCoo f8ccbf72f5 Rasterize: Anti Alias and Background are dropdowns in the dialog
Object › Rasterize… showed Anti Alias and Background as text fields
holding the command's values. They are now dropdowns of the values
object.rasterize takes: None, Art Optimized and Type Optimized, and
White and Transparent. Create Gradient Mesh… shows Appearance (Flat,
To Center, To Edge) and grid Repeat Options shows Grid Type the same
way. A value the dialog does not list is shown and sent unchanged.

Catalog rows are added for the labels that had none.

Part of #8020, part of #7991.
2026-11-16 21:54:56 -08:00
dotCooCoo a7ab77f9df Merge main into feat/arrange-documents-layouts 2026-11-16 21:52:13 -08:00
dotCooCoo 49184fc486 Swatches: a library pattern painted with another pattern is matched by both
Adding a library pattern swatch reused a document pattern with the same
tile options and art even when that art paints with a pattern of the same
name and a different definition, so the library's inner pattern never came
in. A pattern whose art uses other resources is now matched by importing it
into a copy of the document, which compares those resources too.
2026-11-16 21:51:12 -08:00
dotCooCoo 6fbb1871f8 Save for Web: Enter in the Optimize to File Size rows runs the search
While the Desired File Size rows are open, Enter runs the search, as
the rows' OK does, instead of saving with the current settings. An
Enter that an open dropdown takes, that a field refuses the value for,
or that is pressed with Ctrl, Cmd or Alt runs no search and does not
save either.
2026-11-16 21:45:32 -08:00
dotCooCoo 8cd51bf95a Command Palette: "setting" finds Preferences, and a Recent Commands pick gives the focus back
The stem forms of a group's English words join the group, so "setting"
finds Preferences through settings. A pick from Recent Commands with the
keyboard, which leaves the focus on its row, now gives the focus back to
the widget that had it when the palette opened.
2026-11-16 21:28:37 -08:00
dotCooCoo 3829880993 .ai save: a live blend's steps carry no text wrap; metric distances stay live
- The steps of a live blend are written as drawn art: copies of key
  objects with text wrap options no longer write those options again.
  The keys keep theirs on the hidden lines and the blend keeps its own.
- The record holds Specified Distance as a 32-bit float, which the
  reader reads back as its shortest decimal. The writer now compares the
  blend with that distance, so a distance typed in another unit (10 mm
  is 28.346456... pt) is written live when it lays out as many steps.
- blend_steps_settled has unit tests for each of its cases.
- blends_write_the_same_bytes_again checks that every blend is written
  live both times.
- Comments name the blend plugin's XP line by its constant.
- docs/target-app-parity.md lists live blends in the .ai editing copy;
  a line in docs/file-format-parity.md is wrapped like the rest.

Tests: a_live_blends_steps_carry_no_text_wrap_options,
a_blend_spaced_in_millimeters_is_written_live,
steps_settle_unless_rounding_can_change_their_count.
2026-11-16 21:19:00 -08:00
dotCooCoo 5d57d83a7c PDF import: test opaque and masked images and the image pixel limit
- New tests: small opaque RGB and gray images are stored as RGB PNGs and an
  image with a soft mask as RGBA; an image with one row more than the
  pixel limit's square is left out with a warning.
- Gray images stay RGB on import, and a comment says why: a gray PNG
  would make the image one that a fill color colorizes.
- Doc comments and the docs line give the limits in GiB, the line moves
  next to the line about refused PDF parts, and it no longer gives a
  timing.
2026-11-16 21:02:47 -08:00
dotCooCoo 18f742228a Merge main into chore/no-app-names-in-comments 2026-11-16 20:52:11 -08:00
dotCooCoo 425c21a9c9 Merge main into fix/status-notes-copy-cut-trace 2026-11-16 20:51:55 -08:00
dotCooCoo d39471962e Merge main into feat/script-file-folder-write 2026-11-16 20:51:55 -08:00
BFlat 42193ed3ca Merge pull request #8085 from dotCooCoo/feat/app-bar-search-field
App bar: a search field in place of the search icon
2026-11-17 11:45:15 +07:00
BFlat b506bdc525 Merge pull request #8228 from dotCooCoo/feat/webp-lossy-quality
WebP: Lossy with a Quality setting writes a lossy WebP file
2026-11-17 11:45:05 +07:00
BFlat 206b7f525a Merge pull request #8040 from dotCooCoo/feat/help-search-commands-first
Help: Search Commands… is the first Help menu item
2026-11-17 11:44:56 +07:00
BFlat f1f17409af Merge pull request #8243 from dotCooCoo/fix/ai-blend-record-orientation
.ai import: a live blend keeps its record's orientation and no spine
2026-11-17 11:44:48 +07:00
BFlat 932d4d151f Merge pull request #8262 from dotCooCoo/perf/ai-native-parse-once
.ai import: a file opened without its PDF part reads its text document once
2026-11-17 11:44:40 +07:00
dotCooCoo 950d54e843 Metafile import: name pattern brushes in the unread-image warning and list the new warnings
The reader also counts pattern brushes, a pen's included, whose bitmap
it could not read, so the warning now says "image or pattern brush".
The document.open and clipboard.importEmf params text, docs/mcp.md and
the crate doc list the new warnings. A WMF test covers an unreadable
pattern brush and a DSTINVERT bit block transfer.
2026-11-16 20:42:13 -08:00
dotCooCoo a8b658a33e Merge main into fix/tool-set-option-errors 2026-11-16 20:33:41 -08:00
dotCooCoo dc82ff860e Metafile import: warn about images, clips and raster operations the reader leaves out
craft-metafile now reports what it does not read or play as the file
asks. The importer uses it:

- A file, or a metafile image inside it, cut short by any of the
  reader's limits (items, bytes kept, saved states, clip paths) warns
  that what came after the limit was not read. The warning no longer
  depends on the count of objects, so a file with exactly 200,000
  objects opens without it.
- Images that are not read, clips that are not applied and raster
  operations other than a plain copy each add a warning with a count.
2026-11-16 20:24:36 -08:00
Dylan M. Taylor 6d91dde84c Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	crates/text/src/fontdb/lookup.rs
2026-11-16 23:23:16 -05:00
dotCooCoo 977024a4e9 PDF import: 64-bit desktop builds open images up to 4 GB and 2^30 pixels
A PDF, or a `.ai` read through its PDF part, was refused when one image
would decode to more than 1 GB, and the shared reader skipped images of
more than 2^28 pixels. On a 64-bit desktop build both limits are now 4 GB
and 2^30 pixels (`image_limits`), which `MAX_IMAGE_DECODED` and
`open_options()` share; 32-bit and web builds keep 1 GB and 2^28 pixels.
An image past the limit is refused with the same message.

An opaque image is encoded as an RGB PNG from its decoded samples instead
of building an alpha channel and an RGBA copy first.

Docs: docs/target-app-parity.md.

Part of #4366.
2026-11-16 20:16:38 -08:00
dotCooCoo d7e122eaf0 Tests: update prompt tests see every repaint request from the offer
The helper that waits for an offered release's prompt now observes
every repaint request on its context, and ticks after each immediate
one until the prompt opens. An earlier immediate request on the same
context no longer hides the offer thread's request.
2026-11-16 20:09:15 -08:00
dotCooCoo 4c1d696935 Merge main into feat/artboard-edge-button-tooltips 2026-11-16 19:57:02 -08:00
dotCooCoo 8eaed941a1 Merge main into feat/save-pdf-alt-reset 2026-11-16 19:56:13 -08:00
dotCooCoo 4a0e66ebd4 Merge main into feat/editable-flares 2026-11-16 19:56:07 -08:00
dotCooCoo 7ce855ce97 Merge main into feat/print-overprint-black 2026-11-16 19:56:05 -08:00
dotCooCoo ff6e3ad8b9 Merge main into feat/text-import-character-sets 2026-11-16 19:55:55 -08:00
dotCooCoo fee9c6a531 Merge main into feat/prefs-descriptions-general 2026-11-16 19:54:41 -08:00
dotCooCoo 6ab39d6947 Merge main into feat/prefs-descriptions-type 2026-11-16 19:54:06 -08:00
dotCooCoo 5f10ecf89a Merge main into feat/ellipse-dialog-height-copies-width 2026-11-16 19:52:46 -08:00
dotCooCoo fc1ed0acb6 Merge main into chore/craft-libs-exr-deep-offsets 2026-11-16 19:51:24 -08:00
dotCooCoo 913c5c88b9 Merge main into feat/save-for-web-optimize-to-size 2026-11-16 19:49:10 -08:00
dotCooCoo dea8ab9b68 Merge main into feat/color-guide-spot-tints 2026-11-16 19:47:49 -08:00
dotCooCoo 402980ec82 Merge main into feat/prefs-descriptions-smart-guides 2026-11-16 19:47:12 -08:00
Dylan M. Taylor 09fbf82e0e cad: use shared HP-GL byte lexer, preserve interpreter and writer (#8282) 2026-11-16 22:34:09 -05:00
dotCooCoo e639b77e5d Tests: update prompt tests wait for the offer's answer
craft-update now reads the installed files for an offered release on
a thread of its own, and the prompt opens at a later tick. The tests
that open the prompt through an offer wait for that thread's repaint
request and tick once, and the startup prompt test uses an isolated
updater.
2026-11-16 19:30:29 -08:00
Dylan M. Taylor 23ba5c8d47 SVG: use the shared standard Base64 encoder (#8280) 2026-11-16 22:22:39 -05:00
yoriswind 443b081128 Merge upstream main and retain independent parity history 2026-11-16 19:11:21 -08:00
dotCooCoo 07afd411bb Dependencies: take every craft-libs crate from craft-libs main at 64b181977a
Every storytold/craft-libs git dependency, the hayro, krilla and
linesweeper patches and the web app's craft-web-api now use one
revision, 64b181977a, so Cargo.lock holds one copy of each craft-libs
crate. craft-ui's docking Monitor has a new work_area field; the
monitors VectorCraft lists set it to None, as winit reports no work
area.
2026-11-16 18:57:11 -08:00
BFlat 973a33e1fb Merge pull request #7949 from dotCooCoo/feat/circle-through-three-points
Shapes: draw the circle through three points
2026-11-17 09:49:57 +07:00
BFlat 968882fa8f Merge pull request #8227 from dotCooCoo/feat/font-menu-recently-added
Font menu: a Recently Added filter lists the families installed in the last 30 days, newest first
2026-11-17 09:49:44 +07:00
BFlat 685e77af6b Merge pull request #8236 from dotCooCoo/feat/print-custom-scale-link
Print: a link button keeps Custom Scale W and H equal
2026-11-17 09:49:36 +07:00