Commit Graph
22653 Commits
Author SHA1 Message Date
dependabot[bot] dc2cc705ca chore(deps): bump the cargo-patch group across 1 directory with 5 updates
Bumps the cargo-patch group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [log](https://github.com/rust-lang/log) | `0.4.34` | `0.4.35` |
| [crc32fast](https://github.com/srijs/rust-crc32fast) | `1.5.3` | `1.5.6` |
| [flate2](https://github.com/rust-lang/flate2-rs) | `1.1.10` | `1.1.11` |
| [encoding_rs](https://github.com/hsivonen/encoding_rs) | `0.8.42` | `0.8.44` |
| [heic-rs](https://github.com/tbraun96/heic-rs) | `0.1.4` | `0.1.5` |



Updates `log` from 0.4.34 to 0.4.35
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.34...v0.4.35)

Updates `crc32fast` from 1.5.3 to 1.5.6
- [Commits](https://github.com/srijs/rust-crc32fast/compare/v1.5.3...v1.5.6)

Updates `flate2` from 1.1.10 to 1.1.11
- [Release notes](https://github.com/rust-lang/flate2-rs/releases)
- [Changelog](https://github.com/rust-lang/flate2-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.1.10...v1.1.11)

Updates `encoding_rs` from 0.8.42 to 0.8.44
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.42...v0.8.44)

Updates `heic-rs` from 0.1.4 to 0.1.5
- [Release notes](https://github.com/tbraun96/heic-rs/releases)
- [Changelog](https://github.com/tbraun96/heic-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tbraun96/heic-rs/compare/v0.1.4...v0.1.5)

---
updated-dependencies:
- dependency-name: crc32fast
  dependency-version: 1.5.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-patch
- dependency-name: encoding_rs
  dependency-version: 0.8.44
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-patch
- dependency-name: flate2
  dependency-version: 1.1.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-patch
- dependency-name: heic-rs
  dependency-version: 0.1.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-patch
- dependency-name: log
  dependency-version: 0.4.35
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-28 16:14:08 +00:00
.CooCoo c2e4966407 Merge pull request #9255 from dotCooCoo/feat/scripts-scriptui-resources
Scripts: ScriptUI builds windows and controls from resource strings
2026-11-28 08:03:55 -08:00
.CooCoo bb954425a0 Merge pull request #9555 from dotCooCoo/fix/variables-browser-download
Download Variables CSV and XML exports in the browser
2026-11-28 08:03:38 -08:00
.CooCoo b55413a834 Merge pull request #9094 from dotCooCoo/feat/js-es2015-classes
Scripts: .js scripts define classes with extends, super and new.target
2026-11-28 08:03:33 -08:00
.CooCoo 57b715c359 Merge pull request #9829 from dotCooCoo/fix/previewbounds-memo-flake
Tests: hover memo counts hold plug-ins and hyphenation steady
2026-11-28 08:03:26 -08:00
.CooCoo 8cdd897b23 Merge pull request #9909 from dotCooCoo/feat/windows-thumbnail-handler
Windows: Explorer shows thumbnails of VectorCraft documents
2026-11-28 08:03:20 -08:00
.CooCoo e15a5fcd38 Merge pull request #9914 from dotCooCoo/fix/move-anchors-no-op-undo
Undo: a move by 0 and Layer Options that change nothing add no step
2026-11-28 08:03:15 -08:00
.CooCoo 6483508cd8 Merge pull request #9912 from dotCooCoo/fix/layers-art-drag-revert
Layers: a selection-square drag held across File Revert leaves the restored art in place
2026-11-28 08:03:11 -08:00
.CooCoo a0890cc87b Merge pull request #9929 from dotCooCoo/feat/scatter-brush-brightness-jitter
Brushes: Scatter Brush Options has Brightness Jitter, a per-copy brightness move
2026-11-28 08:03:07 -08:00
.CooCoo bc28d7da82 Merge pull request #9917 from dotCooCoo/fix/placed-document-inline-panic
Placed documents: a bitmap made on the drawing thread stops being pending when it panics
2026-11-28 08:03:04 -08:00
.CooCoo 19fd9548ee Merge pull request #9835 from dotCooCoo/fix/classic-3d-unchanged-approval-b
Keep unchanged 3D options out of Undo and recorded actions
2026-11-28 08:03:00 -08:00
.CooCoo 2fd889ce4d Merge pull request #9922 from dotCooCoo/fix/ai-private-data-streamed
.ai import: editing data whose streams pass 256 MiB opens with its layers
2026-11-28 08:02:57 -08:00
.CooCoo 0d10c2a88d Merge pull request #9927 from dotCooCoo/feat/parametric-shape-slice
Parametric Shape: rectangles, ellipses, polygons, stars and rings cut as slices
2026-11-28 08:02:53 -08:00
.CooCoo af9226f613 Merge pull request #9900 from dotCooCoo/fix/paste-pie-legend-colors
Paste: pies in pasted symbols and patterns follow a merged swatch's wedge colors
2026-11-28 08:02:50 -08:00
.CooCoo bc17f26ca0 Merge pull request #9403 from dotCooCoo/fix/promise-host-constructors
JavaScript: accept host constructors in Promise statics
2026-11-28 08:02:46 -08:00
.CooCoo 676d4b5593 Merge pull request #9146 from dotCooCoo/feat/toolbar-button-rename
Toolbars: Rename Button… gives a command button a label of its own
2026-11-28 08:02:44 -08:00
.CooCoo e47136ed50 Merge pull request #9905 from dotCooCoo/fix/setliveshape-linked-art
Live Shapes: a new angle, radius or line takes a linked mask and placed gradients along
2026-11-28 08:02:39 -08:00
.CooCoo 8c5935afbb Merge pull request #9898 from dotCooCoo/fix/hyphenation-dialog-test-timing
Tests: Japanese dialog clicks wait for the CJK font lookup
2026-11-28 08:02:37 -08:00
.CooCoo 5f1eec6cd9 Merge pull request #9291 from dotCooCoo/feat/scripts-document-views
Scripts: Document.views exposes each drawn document window
2026-11-28 08:02:30 -08:00
.CooCoo 503397ab73 Merge pull request #9897 from dotCooCoo/fix/dimension-alt-whole-object-preview-bounds
Dimension: Alt whole-path dimension measures the outside of the stroke with Use Preview Bounds
2026-11-28 08:02:27 -08:00
.CooCoo 835bf75d96 Merge pull request #9907 from dotCooCoo/fix/effect-rows-accepted
Effect dialogs: a canceled Settings, Texture or Blur Center edit puts back the value from before
2026-11-28 08:02:23 -08:00
.CooCoo 2f4bc715db Merge pull request #9901 from dotCooCoo/fix/direct-shift-click-group-member
Direct Selection: a Shift-click on a member of a selected group deselects only that member
2026-11-28 08:02:19 -08:00
.CooCoo aabbee241e Merge pull request #9908 from dotCooCoo/fix/plugins-deferred-stages-flake
Plug-ins: the failed-stage deferral test no longer depends on CPU load
2026-11-28 08:02:17 -08:00
.CooCoo fcfa7a1be8 Merge pull request #9906 from dotCooCoo/fix/polygonal-lasso-flyout
Polygonal Lasso: the tool is in the Lasso tool's flyout
2026-11-28 08:02:15 -08:00
.CooCoo deab21a93c Merge pull request #9913 from dotCooCoo/feat/distorted-image-mosaic
Object Mosaic: tiles of a distorted image follow its corners
2026-11-28 08:02:13 -08:00
.CooCoo 072bce3489 Merge pull request #9916 from dotCooCoo/feat/scatter-brush-saturation-jitter
Brushes: Scatter Brush Options has Saturation Jitter, a per-copy saturation move
2026-11-28 08:02:10 -08:00
.CooCoo f9ce5114f0 Merge pull request #9918 from dotCooCoo/fix/envelope-content-box-stroke
Envelopes: a group's own stroke is measured along its members next to type
2026-11-28 08:02:08 -08:00
.CooCoo 5859a26f93 Merge pull request #9919 from dotCooCoo/fix/slice-options-revert
Slices: Slice Options and Divide Slices refuse a draft from before File > Revert
2026-11-28 08:02:06 -08:00
.CooCoo e260844903 Merge pull request #9923 from dotCooCoo/fix/parametric-shape-accepted
Parametric Shape: canceling a panel edit restores the shape or the tool's next shape
2026-11-28 08:02:04 -08:00
.CooCoo f59c044080 Merge pull request #9921 from dotCooCoo/feat/move-several-handles
Direct Selection: picked direction handles move together
2026-11-28 08:02:02 -08:00
.CooCoo 2c2a86e688 Merge pull request #9928 from dotCooCoo/fix/host-handle-heap-bytes
Scripts: host object handles count toward the heap limit
2026-11-28 08:02:00 -08:00
.CooCoo f93b89c1ff Merge pull request #9926 from dotCooCoo/feat/place-pcraft
File formats: .pcraft documents open and place as one image
2026-11-28 08:01:57 -08:00
.CooCoo ef2ba3fd8f Merge pull request #9931 from dotCooCoo/fix/appearance-drag-revert
Appearance: an appearance drag held across File Revert is not dropped on the restored art
2026-11-28 08:01:53 -08:00
.CooCoo 0bf493fc1d Merge pull request #9933 from dotCooCoo/fix/transform-each-revert
Transform Each: a draft from before File > Revert no longer applies to the restored document
2026-11-28 08:01:51 -08:00
.CooCoo fc3bad34cf Merge pull request #9934 from dotCooCoo/train/carry9024
fix(ui): fit translated PDF import labels
2026-11-28 08:00:20 -08:00
dotCooCoo 05378c1b7e Merge main into train/carry9024 2026-11-28 07:59:17 -08:00
dotCooCoo 88fb7a8128 Merge main into feat/scripts-document-views 2026-11-28 07:25:53 -08:00
dotCooCoo f555b41389 Transform Each: a draft from before File > Revert no longer applies to the restored document
Transform Each recorded only the document's uid when it opened. Object
ids survive File > Revert, so after a revert the dialog previewed its old
values on the restored selection, and OK or Copy applied them there.

The dialog now records the document's uid and revert count, as the
Transform dialogs do since #9797. After a revert, Preview stops, Cancel
rolls nothing back, and OK and Copy are refused with "The document was
reverted. Reopen this dialog to continue." in the dialog and on the
status line. A refused OK now sets Copy to off instead of removing the
field, so the dialog keeps showing the reason.
2026-11-28 06:45:48 -08:00
dotCooCoo 09150f35e9 Scripts: host object handles count toward the heap limit
Each object of a host class keeps its handle twice, once in its slot and
once in the realm's index of the objects scripts hold, but creating one
reserved only the object's own bytes, and the collector's live-byte total
left the handle out. A host value with a long handle could therefore grow
the heap past the script's limit.

The object now reserves its handle's bytes before it is made, and the
collector counts them for every live object. Tests cover a handle larger
than the remaining budget and the bytes 100 retained objects add.
2026-11-28 06:27:56 -08:00
dotCooCoo 4901407eac Brushes: saturation jitter keeps a swatch link when the saturation stays
A copy whose saturation jitter would move a color past full saturation
(or past the largest Lab a and b) left the color as it was but still
dropped its swatch link, so a spot or global color lost its link in
those copies. Such a copy now keeps the color and its link, as brightness
jitter does for a color already at black or at full brightness.
2026-11-28 06:17:30 -08:00
dotCooCoo 6e165be442 Windows: thumbnail leaves OUT unchanged when it can't rename into place
`vectorcraft-cli thumbnail` wrote OUT with `write_atomic`, which copies
into the target when the folder refuses the temporary file or the
rename, so a run stopped by the time limit during that copy could leave
a partial PNG. It now writes a temporary file beside OUT and renames it
over OUT; when the rename fails it returns the error, removes its own
temporary file and leaves OUT unchanged. A file already at the
temporary name is left in place.

docs/target-app-parity.md names the DLL in the `regsvr32 /u` command.
2026-11-28 06:16:18 -08:00
dotCooCoo 7e2ee5ae03 Parametric Shape: rectangles, ellipses, polygons, stars and rings cut as slices
addon.pathtools.shape.create and addon.pathtools.shape.set take sliceStart
and sliceEnd, in degrees clockwise from the shape's top (0 to 360). The
shape is cut from the start clockwise to the end and back through its
center; a ring's slice runs back along its hole. The angles are measured
as if the shape were as high as it is wide, so 45 degrees is a
rectangle's top right corner and a slice keeps its place when the shape
is stretched along its own axes. The same start and end leave the whole
shape, rounded corners are rounded before the cut, and the arrow, cross,
heart, gear and speech bubble ignore both values. A value outside 0 to
360 is refused. The values are kept with the shape's other numbers and
with the Parametric Shape Tool's options.
2026-11-28 06:11:56 -08:00
dotCooCoo 0a74dcc564 Brushes: Scatter Brush Options has Brightness Jitter, a per-copy brightness move
A scatter brush takes a Brightness Jitter amount from 0 to 100 percent (0
by default). Each copy moves the brightness of its solid fills and
strokes, type included, by its own amount up to that many points either
way, after the colorization and the hue and saturation jitter. The
amounts come from the stroke's path and the brush name, drawn apart from
the hue and saturation jitter's, so a stroke draws the same colors on
every redraw, after Save and Open, and in export, and turning it on does
not change their amounts.

A color keeps its hue and saturation and moves in its own model: RGB in
the HSB of its values, Gray by its ink, Lab by its lightness with a and b
kept, and CMYK by its K over the brightness its C, M and Y leave. A CMYK
color that goes brighter than its C, M and Y show with no K loses its K
and takes less C, M and Y. The brightness stops at black and at full.
White, black and grays move too. A brush at 0 saves no brightness_jitter
key; a brush without the key reads as 0.

- brush.options takes brightness_jitter, and brush.get shows it for every
  scatter brush. Brush Options shows a Brightness Jitter field
  (ui.brushOptions field brightnessJitter).
- Options of Selected Object sets a path's own brightness_jitter
  (brush.objectOptions).
- The brightness goes through the per-copy recolor step hue and
  saturation jitter use, with its own salt.
- The .ai editing data writer does not write the amount, so such a brush
  is left out of the Brushes panel there and reported.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-28 06:07:40 -08:00
dotCooCoo 0b87334987 Appearance: an appearance drag held across File Revert is not dropped on the restored art
File > Revert keeps the document's uid and restores objects with the same
IDs, so an appearance dragged from a Layers target circle or the
Appearance panel's thumbnail before the revert was still accepted after
it, and its drop ran on the restored objects.

PanelDrag::Appearance now carries the document's revert count next to its
uid, as PanelDrag::Art does, and appearance_for(uid, reverts) returns the
source only while the destination shows the contents the drag came from.
Every drop compares the pair: a Layers target circle, the Layers trash,
the canvas (where it takes the drop and where it applies it) and the
Graphic Styles panel.
2026-11-28 06:00:13 -08:00
dotCooCoo bb47b10d48 Docs: W and H match the preview-bounds dimension only for an unrotated path 2026-11-28 05:58:45 -08:00
dotCooCoo 6f012b6621 File formats: .pcraft documents open and place as one image
File › Open and File › Place read layered raster .pcraft documents
through craft-doc and store them as one PNG, sized by the document's
resolution. A placed file links like any image.

- The image is the file's full-size composite when it has one.
- Without one, the layers are combined at the canvas size when the
  document is RGB at 8 or 16 bits and every visible layer is a raster
  layer that blends Normal, with no clipping, layer effects, vector
  mask, frame, advanced blending or feathered layer mask. Hidden layers
  are not read, and an RGB ICC profile the document names is kept.
- Otherwise the composite preview comes in at the canvas's size, and
  Open, Place, links.update, links.relink and links.replaceEmbedded
  warn when it has fewer pixels than the canvas, naming both sizes and
  why the layers were not combined.
- A full-size composite or preview the file names but doesn't hold,
  can't decode or, for the full-size one, of another size than the
  canvas is an error. The Links commands decode the kept PNG before
  taking it.

The import fuzz tests cover mutated bundles and manifests.
2026-11-28 05:33:55 -08:00
dotCooCoo 95442aa792 Merge main into fix/promise-host-constructors 2026-11-28 05:32:32 -08:00
dotCooCoo 4d1f6cc249 .ai import: editing data whose streams pass 256 MiB opens with its layers
The private data streams of a .ai file, or of a PDF saved with its
editing data, were joined into one buffer of at most 256 MiB before
they were decoded, while the decoded editing data may take up to an
eighth of installed memory (512 MiB to 2 GiB). A file whose streams
passed 256 MiB opened as its PDF part without a note, and a file whose
PDF part can't be read failed with "it is larger than 256 MB".

The streams are now read one after the other and decoded as they are
read, so they are never joined. The decoded data keeps its limit, and
no more of the streams is read than that limit and a sixteenth more.
The data is decompressed after the first compression marker in it.
2026-11-28 05:19:31 -08:00
dotCooCoo 338a5c7a32 Merge main into fix/previewbounds-memo-flake 2026-11-28 05:18:26 -08:00
dotCooCoo f97f7f7c36 Merge main into fix/variables-browser-download 2026-11-28 05:14:15 -08:00