Commit Graph
11980 Commits
Author SHA1 Message Date
.CooCoo de71cfc9ef Merge pull request #10654 from dotCooCoo/fix/script-image-matrix-locks
Scripts: image matrix assignment refuses locked and hidden images
2026-12-03 07:34:43 -08:00
.CooCoo 6d2b626597 Merge pull request #10653 from dotCooCoo/fix/script-transform-stroke-limit-empty-path
Scripts: transforms keep path strokes within 1000 points and take empty paths
2026-12-03 07:34:28 -08:00
.CooCoo 06d4971200 Merge pull request #10648 from dotCooCoo/fix/dxf-unit-scale-ratio-percent
Scripts: ExportOptionsAutoCAD.unitScaleRatio is a percentage
2026-12-03 07:34:11 -08:00
.CooCoo 2000adaa06 Merge pull request #10640 from dotCooCoo/fix/newdoc-preset-category
New Document: a bad preset or presetCategory is an error instead of being ignored
2026-12-03 07:32:45 -08:00
.CooCoo 9557653cca Merge pull request #10630 from dotCooCoo/fix/windows-paper-across-printers
Print: a Windows paper stays chosen when the new printer lists its name at more sizes
2026-12-03 07:31:40 -08:00
.CooCoo 26aa108881 Merge pull request #10624 from dotCooCoo/fix/js-export-async-function
JavaScript: modules export async function declarations
2026-12-03 07:30:40 -08:00
.CooCoo 0727763819 Merge pull request #10620 from dotCooCoo/fix/async-function-subclass
Scripts: a class can extend AsyncFunction and GeneratorFunction
2026-12-03 07:30:16 -08:00
.CooCoo 2cb11e33d3 Merge pull request #10587 from dotCooCoo/fix/numbers-skip-threaded-unmatched
Type Tools: Make Numbers Sequence skips threaded type with nothing to replace
2026-12-03 07:28:19 -08:00
.CooCoo da592f192e Merge pull request #10573 from dotCooCoo/fix/mark-bounds-beside-live-objects
Arrange Tools: Mark Bounds of Each puts marks beside a live object, not inside it
2026-12-03 07:27:55 -08:00
.CooCoo afa90dff40 Merge pull request #10552 from dotCooCoo/fix/svg-pixel-size-not-zero
SVG export: a small positive pixel size is not written as 0
2026-12-03 07:27:33 -08:00
.CooCoo ceacaac6d4 Merge pull request #10551 from dotCooCoo/fix/placement-options-after-undo
Links: Placement Options does not edit an image placed after Undo
2026-12-03 07:27:14 -08:00
.CooCoo 1b16db38dd Merge pull request #10486 from dotCooCoo/fix/random-fill-undrawn-designs
Color Effects: Randomize Fill Colors colors compounds in a series that names a design it does not draw
2026-12-03 07:26:36 -08:00
.CooCoo 3a6e384f45 Merge pull request #10459 from dotCooCoo/fix/halftone-grid-styles
Vector Halftone: add Grid, Grid Angle, Grid Dots and Grid Dots Angle styles
2026-12-03 07:26:20 -08:00
.CooCoo a161afb339 Merge pull request #10451 from dotCooCoo/fix/step-repeat-review
Step and Repeat: pixel-aligned copies keep their artwork registered and stay on the sheet
2026-12-03 07:26:01 -08:00
.CooCoo 81af84dd2f Merge pull request #10357 from dotCooCoo/fix/ai-crop-to-crop-docs
Docs: say when an explicit crop box opens a PDF with editing data
2026-12-03 07:23:55 -08:00
.CooCoo a1cf53d324 Merge pull request #10345 from dotCooCoo/fix/classic-tool-icons
Preferences: Classic tool icons by default, with the current icons selectable
2026-12-03 07:23:43 -08:00
.CooCoo fedd5c56db Merge pull request #10261 from dotCooCoo/fix/ai-symbol-overrides-warn
.ai export: dynamic symbol changes stay on the part they name
2026-12-03 07:22:34 -08:00
.CooCoo 7a14274d56 Merge pull request #10211 from dotCooCoo/feat/vector-3d-materials
3D: Roughness and Metallic on the Materials tab shade and export the surface
2026-12-03 07:21:12 -08:00
.CooCoo d745ca5090 Merge pull request #10204 from dotCooCoo/fix/hyphenation-zone-every-line
Paragraph Style Options: Hyphenation Zone is disabled with an every-line composer
2026-12-03 07:20:58 -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 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 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
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 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 0d9dfe6bb8 Merge main into fix/script-clipped-hidden-top 2026-12-03 01:54:05 -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 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
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 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 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
.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 72e99d1c3b Merge main into feat/scripts-layer-text-frames 2026-12-02 21:17:26 -08:00
dotCooCoo f7d310828a Merge main into fix/script-transform-stroke-limit-empty-path 2026-12-02 20:54:00 -08:00
dotCooCoo 252e2ef3d4 Recolor Artwork: a waiting picker answer, excluded rows and removed group swatches
- The pump applies a Color Picker answer only while the row is the one the
  picker answered; a row that ui.dialog.set changed in between takes neither
  the color nor the swatch, and the status line says the rows changed.
- An excluded row offers no Tint slider, since recolor.apply skips its art;
  the row keeps its tint.
- A row picked from a group swatch that groupColors removes (null) offers no
  Tint slider; its chip keeps the tinted color, which the art takes unlinked.
- docs/mcp.md and the recolor.apply params say a null swatch is no swatch.
2026-12-02 20:44:04 -08:00
dotCooCoo f46d591204 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 20:30:16 -08:00
dotCooCoo 80569dc577 Scripts: deleting a clipping path cannot make a tracing
remove(), the document's pageItems.removeAll() and textFrames.removeAll()
release the mask of a clip group whose clipping path they delete. A clip
group named Image Trace with an image next above its clipping path then
became an ordinary group named as a tracing with an image first, which
reads as a tracing. They now throw "Only Image Trace can make a tracing"
and delete nothing in that case.

docs/mcp.md names the removeAll() collections that release a mask and
the ones that refuse to delete a clipping path instead.
2026-12-02 20:24:21 -08:00
dotCooCoo 8714ec7731 Scripts: rasterize refuses sources clipped differently, capture checks file identity
- object.rasterize with ids refuses objects whose nearest clip group or
  clipped layer differs, before rendering: the image goes where the last
  object is, so mixed sources would be clipped by another object's path.
- Document.rasterize reads the image id from the command's result inside
  the run's savepoint, so an id above 2^53 binds the new RasterItem and a
  missing id undoes the edit.
- Document.imageCapture refuses a destination that is another name of an
  open document's file or a linked file (same device and inode, or same
  volume and file index), and on Unix any file with other hard links,
  which an in-place write would change under every name.
- Docs: gaps.md and target-app-parity.md list what rasterizing and
  capturing still lack; mcp.md states the clipping rule, the hard-link
  rule and that a later OS write failure can leave some files written.
2026-12-02 20:10:56 -08:00
dotCooCoo e0632d6f79 Docs: scope where unknown halftone styles are rejected
object.vectorHalftone, effect.apply and effect.setParams reject an
unknown style. A stored effect with an unknown style draws as Custom.
2026-12-02 19:27:08 -08:00
dotCooCoo 0d8a56cfde Scripts: zOrderPosition reuses the layer list; textFrames.removeAll releases masks
- Layer.zOrderPosition reads the sibling list through the cached layer
  lists, so reading it for every layer of a loop lists the layers once.
  Each read is still charged for the search through the list.
- TextFrames.removeAll releases the mask of a group or layer whose
  clipping path is one of the type objects it deletes, as
  PageItems.removeAll and remove() do, so the object above the type is
  not made the clipping path.
- GroupItems.createFromFile checks that its collection is still there
  first, so a collection whose group was deleted throws "Stale page item"
  instead of the not-available message. docs/mcp.md says so.
2026-12-02 18:44:26 -08:00
dotCooCoo c1470adfc6 Merge main into feat/scripts-text-paint 2026-12-02 18:14:59 -08:00
dotCooCoo cca97099a7 Scripts: image matrix assignment refuses locked and hidden images
Assigning `matrix` to a placed or raster image ran `object.transform` on a
locked or hidden image, an image inside a locked or hidden layer or group,
and an image on a locked artboard. The transform methods (`translate`,
`rotate`, `resize`, `transform`) refuse all of these with nothing changed.
The setter now refuses them with the same errors, before the unchanged
matrix check, so assigning the current matrix to such an image throws too.
The locked artboard check uses the cached lookup that `editable` uses.

The setter came in with #9062.

Docs: docs/mcp.md.
2026-12-02 18:02:52 -08:00
dotCooCoo a227132cac Docs: clipped = true alone checks the topmost object 2026-12-02 17:58:11 -08:00
dotCooCoo 99a04b9a78 Scripts: transforms keep path strokes within 1000 points and take empty paths
`resize` and `transform` with `changeLineWidths` at the transformation's own
scale scaled a path's strokes past the 1000-point limit that other line
widths enforce, and could store a NaN weight for a scale too large for a
number. Every stroke layer the transformation scales is now checked against
the limit with the factor the transformation applies.

`rotate`, `resize` and `transform` threw "the object has no bounds" on a
path without points whenever the call named or defaulted to a point of the
bounds. Such a path now takes the transformation about the origin, or the
first artboard's bottom-left corner for `Transformation.DOCUMENTORIGIN`,
so its linked mask, strokes, effects and patterns still transform.

Both faults came in with #9295.
2026-12-02 17:52:07 -08:00
dotCooCoo e4e6dd517d Merge main into feat/scripts-layer-text-frames 2026-12-02 17:49:12 -08:00