Commit Graph
25261 Commits
Author SHA1 Message Date
.CooCoo 32f4f3beba Merge pull request #10201 from dotCooCoo/fix/save-for-web-shifted-colors
Save for Web: the color table tells the dialog which colors are web-shifted
2026-12-03 07:20:19 -08:00
.CooCoo 83f980389b Merge pull request #10200 from dotCooCoo/fix/empty-press-hit-once
Selection: a press that hits nothing checks only masked selected art for a way to click it
2026-12-03 07:20:03 -08:00
.CooCoo 4ae9e3641d Merge pull request #10189 from dotCooCoo/fix/compound-release-opacity
Compound Paths: Make and Release keep the transparency and opacity mask
2026-12-03 07:19:37 -08:00
.CooCoo de87966ac0 Merge pull request #10182 from dotCooCoo/docs/roadmap-current
Docs: ROADMAP matches what main ships
2026-12-03 07:19:16 -08:00
.CooCoo d5aef1fb90 Merge pull request #10154 from dotCooCoo/fix/offset-objects-pixel-snap-gap
Arrange Tools: Offset Objects chains pixel-aligned objects from where they snap
2026-12-03 07:18:54 -08:00
.CooCoo 3b492494e1 Merge pull request #10147 from dotCooCoo/fix/batch-failed-sources
Batch: the result lists each file or data set that failed, with its error
2026-12-03 07:18:38 -08:00
.CooCoo 5ca158601e Merge pull request #10089 from dotCooCoo/fix/dialog-number-fields-landed
Dialogs: a number field left on text that is not a number restores the value before it
2026-12-03 07:18:00 -08:00
.CooCoo 44c6916bde Merge pull request #10077 from dotCooCoo/feat/artboard-flood-fill
Document Tools: Flood Fill Artboards adds an artboard-sized rectangle on its own layer
2026-12-03 07:17:43 -08:00
.CooCoo 1dd893069b Merge pull request #10056 from dotCooCoo/fix/asset-export-narrow-layout
Asset Export: the empty-state hint shows whole in a short panel
2026-12-03 07:17:26 -08:00
.CooCoo c4c217a416 Merge pull request #9142 from dotCooCoo/fix/recolor-picked-swatch-link
Recolor Artwork: a swatch picked for a row keeps the art linked to it
2026-12-03 07:16:48 -08:00
.CooCoo 79c9180a84 Merge pull request #10725 from dotCooCoo/fix/find-replace-confirm-action
Find and Replace: automation presses the button the dialog's action field names
2026-12-03 07:15:53 -08:00
.CooCoo 79fdfedfb5 Merge pull request #9075 from dotCooCoo/feat/scripts-api-d8c-rasterize-capture
Scripts: Document.rasterize and Document.imageCapture with their option classes
2026-12-03 07:14:28 -08:00
.CooCoo 7b67f8fc44 Merge pull request #10652 from dotCooCoo/fix/script-clipped-hidden-top
Scripts: clipped = true refuses a hidden or locked topmost object
2026-12-03 07:13:14 -08:00
.CooCoo 59cd3d4b19 Merge pull request #10563 from dotCooCoo/fix/numbers-digits-need-leading-zeros
Type Tools: Make Numbers Sequence's Digits field is unavailable with Leading Zeros off
2026-12-03 07:12:44 -08:00
.CooCoo e6b3c4f976 Merge pull request #8959 from dotCooCoo/fix/fits-itself-dialogs-scroll
Dialogs: windows that fit their lists to the screen scroll once the lists are smallest
2026-12-03 07:11:55 -08:00
.CooCoo ce619b982d Merge pull request #8991 from dotCooCoo/fix/menu-check-column
Menus: labels start in one check column, checked or not
2026-12-03 06:30:13 -08:00
dotCooCoo 74d8757ef5 Find and Replace: the params text and docs/mcp.md say which tab runs each action
ui.dialog.confirm refuses an action whose button the open tab does not show. The ui.paramDialog params text (crates/mcp/src/ui_catalog.rs and crates/ui-egui/src/menus/ui_commands.rs) and docs/mcp.md now say so.
2026-12-03 06:01:21 -08:00
dotCooCoo 4a1ac38ac3 Scripts: a Linux folder whose casefold flag can't be read is taken as casefolded
When the folder can't be opened or `FS_IOC_GETFLAGS` fails, `casefolded`
returned false, so `imageCapture` treated names that differ only in their
normalization form as two files and could write over a source document.
It now returns false only when the flags are read and the flag is clear.
2026-12-03 02:59:58 -08:00
dotCooCoo fe06a16261 Docs: a Global Adjust stops the pick from linking, not existing links
The Recolor Artwork entry now says that with a Global Adjust other than
0%, the row's swatch pick does not create a link, and art already linked
to that swatch stays linked.
2026-12-03 02:40:06 -08:00
dotCooCoo ade0e47f48 Scripts: refused writes create no file; Linux reads the casefold flag
A refused rename that falls back to copying into the target no longer
creates a missing target before the final authorization check. The
target is created only after that check, on every platform, so a
refusal at the final check leaves the path absent. An existing target
is still opened with O_CREAT, so Linux's fs.protected_regular applies.

imageCapture no longer treats an empty Linux folder as ignoring the
Unicode normalization form. It reads the folder's casefold inode flag
(FS_IOC_GETFLAGS) instead, so a missing linked cafe\u{301}.png no longer
matches cafe\u{e9}.png in an ordinary folder, and a casefolded folder
still matches both spellings.
2026-12-03 02:35:18 -08:00
dotCooCoo 787eafd7de Find and Replace: a confirm presses only a button the open tab shows
ui.dialog.confirm pressed the button `action` names whatever tab the
dialog showed. With `tab` set to find, a confirm of replaceAll replaced
every match although that tab shows only Find Next and Replace more,
and on the Go To tab a confirm of find ran a search although that tab
shows no Find Next.

A confirm now presses only a button the open tab shows: Find Next on
the Find and Replace tabs, Replace, Replace & Find and Replace All on
the Replace tab, and Done on every tab. Any other press is refused with
"the <tab> tab has no button for `action` <action>" and leaves the
document, the dialog's message and `action` as they were.
2026-12-03 02:33:14 -08:00
.CooCoo a2c62a4a0a Merge pull request #10705 from dotCooCoo/fix/css-dotted-border-note
CSS Properties: evenly spaced round dots are a dotted border without a note
2026-12-03 02:18:36 -08:00
.CooCoo 40060e0943 Merge pull request #10680 from dotCooCoo/fix/pdf-coverage-gaps-batch-11
Tests: cover PDF mesh shadings, restroked glyphs, repeated masks and spot midpoints
2026-12-03 02:03:39 -08:00
.CooCoo 99cbe84d99 Merge pull request #10691 from dotCooCoo/fix/svg-web-export-coverage
Tests: cover SVG font keywords, CSS border styles and Save for Web text cells
2026-12-03 02:03:36 -08:00
dotCooCoo 0d9dfe6bb8 Merge main into fix/script-clipped-hidden-top 2026-12-03 01:54:05 -08:00
.CooCoo bbef8bc4cb Merge pull request #10684 from dotCooCoo/test/docx-place-coverage
Tests: cover the limits and package errors of placing Word documents
2026-12-03 01:47:17 -08:00
dotCooCoo b6bca116e4 Find and Replace: a confirm with no Find text presses nothing
With an empty Find text the dialog's buttons other than Done run
nothing when clicked. ui.dialog.confirm now refuses such a press with
"the Find text is empty" and leaves the text, the undo steps, the
dialog's message and the action field as they were, instead of running
edit.findNext or edit.findReplace and writing their parameter error
into the message.

ui.dialog.set now refuses `fields` given together with `field` or
`value`, as the dialog host does, also when the list holds only
`action`.
2026-12-03 01:38:36 -08:00
dotCooCoo b18d3c163e Docs: a Global Adjust keeps a row's art off its picked swatch
The Recolor Artwork entry now says that without Limit to Library, a
Global Adjust other than 0% gives the row's art the adjusted color and
does not link it to the swatch picked for the row.
2026-12-03 01:34:55 -08:00
.CooCoo 1dc67e7756 Merge pull request #10674 from dotCooCoo/fix/geom-configured-shape-tests
Tests: cover rounding, Randomize, spirals, 3D boxes and full-turn arcs in configured shapes
2026-12-03 01:30:44 -08:00
.CooCoo 1790c1f1a4 Merge pull request #10678 from dotCooCoo/fix/engine-importer-batch-coverage
Tests: cover import limits, .af blend fallback and action.batch destinations
2026-12-03 01:26:06 -08:00
.CooCoo f765995df8 Merge pull request #10685 from dotCooCoo/fix/undo-group-coverage
Tests: cover three undo group paths no test reached
2026-12-03 01:26:01 -08:00
.CooCoo 94c14527c8 Merge pull request #10675 from dotCooCoo/fix/text-coverage-batch-17
Tests: bent type on a path and the fallback file size limit
2026-12-03 01:21:25 -08:00
.CooCoo 8ed527a9bf Merge pull request #10676 from dotCooCoo/fix/color-cad-table-rows
Tests: harmony labels and DXF miles and kilometers
2026-12-03 01:16:13 -08:00
.CooCoo 38ea9bde75 Merge pull request #10702 from dotCooCoo/fix/settings-save-crash-macos
macOS: closing Preferences no longer crashes on Macs with a Touch Bar
2026-12-03 01:10:19 -08:00
.CooCoo 3dd898fba6 Merge pull request #9260 from dotCooCoo/feat/scripts-layer-text-frames
Scripts: layers and groups give their own text frames
2026-12-03 01:02:35 -08:00
.CooCoo 97e3a5597d Merge pull request #10673 from dotCooCoo/fix/pdf-import-limit-tests
Tests: PDF import membership dictionaries, nesting caps and image pixel cap
2026-12-03 01:00:56 -08:00
dotCooCoo 7b51b005eb CSS Properties: evenly spaced round dots are a dotted border without a note
A stroke of evenly spaced round dots (round cap, a zero-length dash, one
gap length, not fitted to corners) is written as `border: ... dotted`, but
the rule also carried the "arrowheads, width profiles, brushes or dashes
fitted to corners" note, and with rasterize on it got a picture as well.
Such a stroke no longer raises that note. Projecting caps, dots fitted to
corners, dots mixed with dashes and unevenly spaced dots keep it.

A gradient border is written with `border-image`, which replaces the
border's style, so its dots or dashes are lost. A dotted or dashed
gradient border now carries the note "dashes or dots on a gradient border".
2026-12-03 00:15:40 -08:00
dotCooCoo c738e2e6aa Recolor: Save Changes leaves excluded rows' color, swatch and tint as they are
bake_adjust gave every row the Global Adjust and, with no library
limit, removed every row's picked swatch and tint, excluded rows
included. An excluded row recolors no art, so it now keeps its new
color, swatch and tint, and the other rows still take the adjustment.
2026-12-03 00:10:08 -08:00
dotCooCoo 4e90d6c211 Scripts: same_folder builds without a needless bool on Windows
On Windows the Unix block in same_folder is compiled out, which left
`if a == b { return true; } false` and failed clippy's needless_bool
lint with -D warnings in the Windows CI run. The early return now sits
inside the Unix block and the other platforms compare the paths.
Behavior is unchanged on every platform.
2026-12-03 00:09:32 -08:00
dotCooCoo 5e68ecd7c8 macOS: closing Preferences no longer crashes on Macs with a Touch Bar
Clicking OK or Cancel in Preferences ended the app with an uncaught
NSRangeException from -[_NSTouchBarFinderObservation invalidate]
whenever the Touch Bar server runs (any Mac with a Touch Bar). When a
window closes, accesskit_macos 0.27.1 put the content view's original
class back, which removed the key-value observing subclass AppKit's
Touch Bar support had installed on the view. AppKit then failed to
remove its observer.

accesskit_macos 0.27.2 leaves the class alone when key-value observing
has subclassed the view (AccessKit/accesskit#835). Cargo.lock moves to
it, with accesskit 0.25.2 and accesskit_consumer 0.39.2, which it
requires.

Fixes #10473
2026-12-02 23:39:52 -08:00
dotCooCoo 96ba49f5bd Files: check a write again before it is put in place off Unix
Off Unix, write_atomic_checked asked `allowed` once, before the file
was written, so a destination that stopped being allowed while the file
was filled still received it. The check now runs again after the fill,
right before the rename, and again before the content is copied over a
file whose folder refuses the rename. A refusal removes the staging
file and leaves the target as it was.

The hard-link fixtures in the capture tests unwrap the link again, as
the other hard-link tests in the engine do (script_io.rs, plugins.rs).
2026-12-02 23:09:11 -08:00
dotCooCoo 3d69c8d49a Scripts: removeAll cannot leave an image first in a group named Image Trace
textFrames.removeAll() and the removeAll() of a group's pageItems,
groupItems and compoundPathItems checked only clip groups whose mask
they release. Deleting the type or art below an image in an ordinary
group named Image Trace left the image first, so the group was read as
a tracing and the image dropped out of pageItems. Both now throw
"Only Image Trace can make a tracing" and delete nothing, checking the
whole set being deleted at once.
2026-12-02 22:58:00 -08:00
dotCooCoo f29cce450d Find and Replace: every set lists action, and a click or reopening resets it
- A `ui.dialog.set` on the dialog that gives no `action` answers with the
  dialog as `ui.inspect` lists it, `action` included, instead of the
  framework's listing without it.
- A `fields` list of more than 256 items is refused before `action` is
  taken out of it, so `action` counts toward the framework's limit.
- A click on Find Next, Replace, Replace & Find or Replace All puts
  `action` back to find, as `ui.dialog.confirm` does.
- A test covers these and the reset when the dialog opens again.
2026-12-02 22:49:30 -08:00
dotCooCoo 14e8959bc0 Scripts: tighten rasterize clip bounds and imageCapture destination checks
- object.rasterize and Document.rasterize refuse clipBounds that reach
  none of the selected objects' own bounds, including a rectangle in the
  gap between two of them, instead of replacing the art with a
  background-only image.
- imageCapture checks its destination again on every write the export
  makes and as the file is committed, so a destination that becomes a
  link to an open document or a linked file while the art renders is
  refused.
- imageCapture refuses a destination whose real path is not valid UTF-8
  instead of writing under a name with its bytes replaced.
- A missing linked file's name in the other Unicode normalization form
  counts as the linked file in folders that ignore the form (macOS, and
  casefolded folders on Linux).
- The hard-link tests skip on volumes without hard links.
- docs/mcp.md: imageCapture rounds clip dimensions to the nearest pixel;
  rasterize rounds fractional dimensions up.
2026-12-02 22:19:16 -08:00
dotCooCoo bba32dd27c Recolor Artwork: a global swatch row's chip shows the swatch's own color
A row picked from a global process swatch links its art to the swatch,
which takes the swatch's color at full precision. The New chip showed
the row's color key, which rounds that color to hundredths of a percent.
The chip now shows the swatch's color while the row recolors art; a row
with no current colors keeps the key's color, which the group takes.
2026-12-02 21:59:57 -08:00
dotCooCoo ebe9e41a33 Tests: check where the spot gradient midpoint lands in the PDF
The test passed "midpoint": 30, which the command clamps to 0.87, and its
tint assertions hold at any midpoint. It now passes 0.3 and asserts the
stitching function's /Bounds[0.3].
2026-12-02 21:57:42 -08:00
dotCooCoo 57287f3ca1 Merge main into fix/svg-web-export-coverage 2026-12-02 21:55:45 -08:00
dotCooCoo 06e5e28a0b Tests: cover SVG font keywords, CSS border styles and Save for Web text cells
- SVG import: font-size keywords (x-large), larger and smaller against
  the parent's size, and every bolder and lighter step from the parent's
  weight.
- CSS Properties: a round-capped dash starting with 0 gives a dotted
  border, other dashes a dashed one, and a gradient stroke a border with
  border-image. A pen-drawn upright rectangle is written as a rectangle
  with square corners, and the same path rotated gets the note for a
  shape CSS cannot draw.
- Save for Web: a No Image cell over the matte color, aligned right and
  bottom, and an HTML Text cell whose lines are escaped and joined with
  <br>.
2026-12-02 21:55:45 -08:00
.CooCoo 5470879a85 Merge pull request #9386 from Taha-Mahmoodi/integration/9286-canonical-084
Fix #9286: apply the PDF font preference to synchronous opens
2026-12-02 21:41:31 -08:00
dotCooCoo 206fc9684f Tests: remove the fallback size test's folder when the test panics
The folder sits in a guard that removes it on drop, so a panic in the
write or the search no longer leaves the 41 MiB file in the temporary
directory. The normal path still removes it explicitly and fails on an
error.
2026-12-02 21:34:29 -08:00