Commit Graph
8558 Commits
Author SHA1 Message Date
BFlat b8e3576f17 Merge pull request #10558 from ruchirguitar/plate-row-menu
Separations Preview: add a context menu to ink plate rows
2026-12-03 23:15:43 +07:00
BFlat ceb282a6b8 Merge pull request #10561 from ruchirguitar/cleanup-row-menu
Artwork Cleanup: offer actions on scan results
2026-12-03 23:15:23 +07:00
.CooCoo fc19f5a42d Merge pull request #10664 from dotCooCoo/fix/action-playback-current-artboard
Scripts: doScript steps act on the artboard the script made active
2026-12-03 07:36:06 -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 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 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 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 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 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 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
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
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 72e99d1c3b Merge main into feat/scripts-layer-text-frames 2026-12-02 21:17:26 -08:00
dotCooCoo f46d591204 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 20:30:16 -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 e10dc47ae8 Scripts: doScript steps act on the artboard the script made active
After a script called setActiveArtboardIndex, a paste or Fit to Artwork
Bounds step that doScript played still went to the Artboard tool's
selection from the start of the run, so it pasted on or fitted those
artboards instead of the one the script chose. The script's choice now
also replaces that selection, until a revert discards it.

The choice was added in #9048 and the kept selection in #9055.
2026-12-02 19:08:51 -08:00
dotCooCoo c1470adfc6 Merge main into feat/scripts-text-paint 2026-12-02 18:14:59 -08:00
dotCooCoo a227132cac Docs: clipped = true alone checks the topmost object 2026-12-02 17:58:11 -08:00
dotCooCoo e4e6dd517d Merge main into feat/scripts-layer-text-frames 2026-12-02 17:49:12 -08:00
dotCooCoo a7c6ff1d43 Scripts: clipped = true refuses a hidden or locked topmost object
Assigning `clipped = true` to a GroupItem checked only that the group and
its layer were editable, so a hidden or locked topmost object lost its fill
and stroke and became the clipping path. The setter now refuses that object
before running the command, with no undo step. The setter came from #9048.
2026-12-02 17:45:14 -08:00
dotCooCoo 1922ba20c9 Scripts: ExportOptionsAutoCAD.unitScaleRatio is a percentage
The scripting reference gives unitScaleRatio as the ratio, as a
percentage, by which the output is scaled, from 0 to 1000. exportFile
passed it to the DXF writer as drawing units per unit, so 100 wrote
the drawing 100 times too large and 1 wrote it at full size.

- The value is divided by 100 before it reaches the DXF writer, and a
  value left out still writes at full size (100).
- A value below 0.0001, which the writer's smallest scale cannot
  represent, throws a range error at the script instead of an error
  about the DXF scale from the writer.
- docs/mcp.md describes the percentage and the default of 100.

The option was added in #9266.
2026-12-02 17:27:06 -08:00
dotCooCoo a7c7dae179 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 17:25:26 -08:00
.CooCoo cd502f08e8 Merge pull request #9073 from dotCooCoo/feat/scripts-api-d1b-prefs-matrix-clipboard
Scripts: app gives scripts preferences, matrices and the clipboard
2026-12-02 17:08:38 -08:00
.CooCoo 5d8deddaf0 Merge pull request #9048 from dotCooCoo/feat/scripts-api-d3-layers-artboards
Scripts: documents give scripts their layers, groups, compound paths and artboards
2026-12-02 16:50:47 -08:00
dotCooCoo 7b433a52fe Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 16:27:15 -08:00
dotCooCoo 70504f6dfe Merge main into feat/scripts-layer-text-frames 2026-12-02 16:02:05 -08:00
dotCooCoo 98c6e5fb20 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:57:11 -08:00
.CooCoo c800d92d1f Merge pull request #10610 from dotCooCoo/fix/one-column-rail-edit-toolbar
Tools: show Edit Toolbar alone in the one-column rail
2026-12-02 15:54:40 -08:00
dotCooCoo 44b238b814 Merge main into feat/scripts-text-paint 2026-12-02 15:51:24 -08:00
.CooCoo 822651dc7a Merge pull request #9266 from dotCooCoo/feat/scripts-export-autocad
Scripts: exportFile writes DXF with ExportOptionsAutoCAD
2026-12-02 15:42:04 -08:00
dotCooCoo e369013463 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:37:51 -08:00
dotCooCoo 217c33d46e Merge main into feat/scripts-layer-text-frames 2026-12-02 15:29:55 -08:00
dotCooCoo 60383e1ac1 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 15:28:08 -08:00
dotCooCoo ab35e04329 Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-12-02 15:23:31 -08:00
dotCooCoo 5d784fb626 Merge main into fix/halftone-grid-styles 2026-12-02 15:15:55 -08:00
dotCooCoo d73dad7ee0 Merge main into feat/scripts-api-d8c-rasterize-capture 2026-12-02 14:38:27 -08:00
dotCooCoo 32f4dfd62a Docs: title-bar Search shows only while the app bar is wide enough
In a narrow window the title bar drops Search, so the one-column Tools
note now names Help > Search Commands... and its shortcut first.
2026-12-02 14:29:36 -08:00
dotCooCoo 66c71eeb8d JavaScript: modules export async function declarations
`export async function f() {}` stopped with "expected a declaration after
'export'", because the module parser checked only for `var`, `function`
and lexical declarations. `export default async function` read the
function as an expression bound to the default binding, so a named one
did not bind its name in the module and was not hoisted.

Both forms now parse as async function declarations, as ECMA-262 2017
section 15.2.3 (ExportDeclaration with HoistableDeclaration) gives.
Async generators stay syntax errors here, as in a plain declaration.

The export forms were missed when #9131 added async functions.
2026-12-02 14:24:43 -08:00
dotCooCoo 26c62f92f4 Scripts: a class can extend AsyncFunction and GeneratorFunction
`new` on a class that extends `AsyncFunction` or `GeneratorFunction`
threw "this built-in cannot be subclassed", because the subclass check
listed only `Function` among the function constructors. Both now take
the subclass's prototype from `new.target`, as CreateDynamicFunction
asks (ECMA-262 2017 section 19.2.1.1.1). `AsyncFunction` also parses
its source before it reads `new.target.prototype`, as `Function` and
`GeneratorFunction` already did.

The check came in with the classes support (#9094) and `AsyncFunction`
with async functions (#9131).
2026-12-02 14:20:58 -08:00
dotCooCoo 80eb658aa9 Merge main into feat/scripts-layer-text-frames 2026-12-02 14:12:48 -08:00
dotCooCoo 326c88a8f3 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 14:12:01 -08:00
dotCooCoo 1f2e9bff33 Merge main into feat/scripts-export-autocad 2026-12-02 14:02:36 -08:00
dotCooCoo f3c5127a4b Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-12-02 13:59:55 -08:00