Commit Graph
5107 Commits
Author SHA1 Message Date
FredApps 46ddf177e3 fix(codecs): keep the remaining decodes within the project's limits
A stored texture longer than the codec's default 2^18-pixel side still
reads back, and a gray PNG is not expanded to RGBA just to get its
levels. The AI writer and the EPS scene refuse an oversized image from
its header, then decode within MAX_IMAGE_PIXELS, keeping the pixels at
their stored depth. Flatten's see-through check uses ImageBlob's
allowance, and links.unembed decodes within MAX_RASTER_ALLOC.
2026-11-16 07:50:43 +01:00
FredApps 3e72836b00 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs 2026-11-16 07:08:15 +01:00
BFlat 7180d01947 Merge pull request #7600 from dotCooCoo/fix/confined-exports-script-paths
MCP: confined exports refuse native files that name a linked JavaScript file outside the read roots
2026-11-16 12:55:43 +07:00
BFlat 4963507184 Merge pull request #7768 from dotCooCoo/feat/recolor-add-remove-color-tools
Recolor Artwork: the Edit tab's Add Color and Remove Color tools add and remove colors
2026-11-16 12:55:34 +07:00
BFlat 2f80541c48 Merge pull request #8000 from dotCooCoo/fix/transform-copies-raster-effects-rows
Effects: each copy of a fill's or stroke's Transform effect carries the raster effect listed before it
2026-11-16 12:55:24 +07:00
BFlat 3e3aa1e458 Merge pull request #7761 from dotCooCoo/feat/3d-soft-shadows
3D and Materials: the shadow is blurred by the first light's Softness
2026-11-16 12:55:16 +07:00
BFlat 2babc877e7 Merge pull request #7375 from dotCooCoo/fix/graph-axis-paint-kept
Graphs: axis lines, tick marks and radar rings keep the paint set on them
2026-11-16 12:54:58 +07:00
FredApps bfe5c253f4 Merge remote-tracking branch 'origin/main' into feat/cutover-remaining-codecs
# Conflicts:
#	crates/engine/src/cmd/menucmds.rs
2026-11-16 06:35:17 +01:00
FredApps 48d4afe4ec svg: SVG import decodes its images through craft-image-codecs
The decoding File › Open, Place and the renderer share moves to
vectorcraft-doc (decode.rs: decode_image, decoded_layout), and SVG
import's images read through it: the size from the header against the
allowance first, then the pixels as stored with the profile the file
embeds (a TIFF's still read by the TIFF reader).

decoded_pixels_are_those_the_image_crate_read compares PNG, GIF, WebP,
TIFF and BMP at each depth the image crate writes with its pixels, and
JPEG within two steps.
2026-11-16 06:06:34 +01:00
FredApps 3590f96ba9 engine: File › Open and Place read rasters through craft-image-codecs
The raster path tells formats with craft-image-codecs' detect, reads the
size from the header (vectorcraft-doc's header_size, the renderer's
decoded_layout, a Targa's own header) and decodes with the renderer's
decode_image, the pixels as stored, with the profile the file embeds.
The size notes Open, Place and the Links panel give, and Glass's Load
Texture, read the same way.

opened_rasters_are_the_pixels_the_image_crate_read compares BMP, TGA and
TIFF at 8 and 16 bits, gray and color, with and without alpha, with the
image crate's pixels, and PNG, JPEG, GIF and WebP stored as they are.
2026-11-16 05:45:22 +01:00
BFlat a9dc138ecd Merge pull request #7346 from dotCooCoo/fix/erase-region-params-refused
Eraser: path.eraseRegion refuses an angle or roundness outside its range
2026-11-16 11:38:26 +07:00
BFlat c1a2186976 Merge pull request #7966 from dotCooCoo/feat/graph-filled-line-width
Graph Type: Draw Filled Lines takes a Line Width
2026-11-16 11:38:16 +07:00
BFlat 8cf9cb9dca Merge pull request #8007 from dotCooCoo/feat/line-segment-common-tangent
Line Segment: a line from one curve to another snaps to their common tangent
2026-11-16 11:38:07 +07:00
BFlat 2c4fcea4e3 Merge pull request #7995 from dotCooCoo/feat/psd-export-writes-slices
PSD export: slices are written, so an opened PSD's slices survive an export
2026-11-16 11:37:59 +07:00
BFlat a358793ef1 Merge pull request #8023 from ruchirguitar/feat/1636-key-anchor-align
feat(tools): key anchor point alignment (#1636)
2026-11-16 11:37:51 +07:00
dotCooCoo ea42075eb8 Merge main into feat/3d-soft-shadows 2026-11-15 20:12:19 -08:00
dotCooCoo c71a1eb540 Merge main into fix/graph-axis-paint-kept
Main now stores a line's or label's added rows by kind (Keep::Kinds),
rewritten paint and row attributes (capture_line_row_writes) and no-op
reorders the way this branch did, so its versions are kept. The branch
adds on top: a stroke painted on a line after its kind lost its stroke
keeps that line's weight, a pasted graph's axis and ring line rows follow
a renamed swatch, and the paint.swap params text says only what the swap
changes is stored.
2026-11-15 19:56:47 -08:00
dotCooCoo df446a98e8 Merge main into fix/transform-copies-raster-effects-rows 2026-11-15 19:38:47 -08:00
BFlat 3eb964bc1c Merge pull request #7948 from dotCooCoo/feat/crop-image-cropping-options
Crop Image: the Control bar sets the cropped image's resolution, reference point and linked size
2026-11-16 10:36:24 +07:00
BFlat f9efd3ca0f Merge pull request #7983 from dotCooCoo/feat/font-menu-show-similar
Type: the font menu's Show Similar Fonts lists the families that look like a family first
2026-11-16 10:36:06 +07:00
BFlat bdf33b1114 Merge pull request #7839 from dotCooCoo/fix/expand-appearance-nested-instance-effects
Expand Appearance: raster effects on a symbol instance's fill or stroke expand to art, nested instances included
2026-11-16 10:35:50 +07:00
BFlat 59a43d3268 Merge pull request #7969 from dotCooCoo/fix/confined-export-screens-folder-checked
SVG: a confined Preserve Editing attachment leaves out an Export for Screens folder outside the read roots
2026-11-16 10:35:09 +07:00
BFlat 74af4fdc5c Merge pull request #8008 from dotCooCoo/fix/spelling-continues-past-cap
Check Spelling: Ignore and Change All reach every word past the check limit
2026-11-16 10:34:56 +07:00
BFlat f9aa592ffd Merge pull request #8011 from dotCooCoo/fix/symbol-pixel-grid-followups
Symbols: Align to Pixel Grid moves a snapped instance's linked mask and leaves editing layers to their symbol
2026-11-16 10:34:48 +07:00
dotCooCoo b697ecbf07 Merge main into fix/erase-region-params-refused 2026-11-15 18:40:58 -08:00
dotCooCoo 7ff63a6cd7 Merge main into feat/line-segment-common-tangent 2026-11-15 18:40:40 -08:00
dotCooCoo 69d3402f2a Merge main into feat/psd-export-writes-slices 2026-11-15 18:39:24 -08:00
dotCooCoo bf19766447 Merge main into fix/confined-exports-script-paths 2026-11-15 18:36:36 -08:00
dotCooCoo b67e6cdf2a Merge main into fix/transform-copies-raster-effects-rows 2026-11-15 18:36:29 -08:00
dotCooCoo 3a2d2eda33 Merge main into feat/recolor-add-remove-color-tools 2026-11-15 18:36:18 -08:00
dotCooCoo bbefef0d65 Merge main into feat/graph-filled-line-width 2026-11-15 18:36:02 -08:00
FredApps be428f3fcf engine: keep the image size checks and depth of main through the cutover
Remove Background and Color Mask check the image's size from its header
again before decoding ("an image of W × H pixels is too large to change"),
and Crop Image's trim and Remove Background read a file that can't hold
the pixels its header declares as unreadable, as on main. The test helper
reading Remove Background's output keeps 16-bit samples.

The HEIF and JPEG XL readers and their tests go back to main's (heic-rs and
jxl-oxide): the craft-heif and craft-jxl versions failed eight of their
tests (resolution axes after a quarter turn, the container's mirror and
crop, refusing a grid of cropped tiles, 16-bit samples, the decode
allowance). Moving them stays to do.
2026-11-16 03:33:57 +01:00
BFlat 765334b9a6 Merge pull request #8010 from dotCooCoo/feat/tangent-circle
Path Precision Tools: Tangent Circle draws the circles that touch two or three shapes
2026-11-16 09:33:03 +07:00
BFlat 844f57a209 Merge pull request #7953 from dotCooCoo/feat/trim-hover-preview
Path Precision Tools: Trim at Crossings shows the stretch a click would remove
2026-11-16 09:32:44 +07:00
BFlat 4512fab69b Merge pull request #7412 from dotCooCoo/fix/graph-axes-group-edits-kept
Graphs: Appearance edits given the Axes or Legend group are kept
2026-11-16 09:32:35 +07:00
BFlat cfb980bb9d Merge pull request #7828 from dotCooCoo/fix/trace-seam-fills-clip
Image Trace: seam fills are clipped to the image and skip live shapes
2026-11-16 09:32:19 +07:00
BFlat 02b1be39e3 Merge pull request #7980 from dotCooCoo/fix/transform-copies-raster-effects-each
Effects: Transform effect copies of type, images and symbol instances each carry the raster effects listed before it
2026-11-16 09:32:08 +07:00
BFlat 783f09d3b2 Merge pull request #8004 from dotCooCoo/fix/hit-test-follows-geometry-effects
Selection: clicks and marquees follow an object's own geometry effects
2026-11-16 09:31:55 +07:00
BFlat 83964730c1 Merge pull request #7833 from dotCooCoo/fix/pen-input-params-pressure-tilt-rotation
Pen input: out-of-range pressure, tilt, rotation and size values are refused
2026-11-16 09:31:46 +07:00
BFlat 51ad60c5c7 Merge pull request #7985 from dotCooCoo/feat/psd-preserve-text-editability
PSD: Preserve Text Editability writes point type as editable type layers
2026-11-16 09:31:22 +07:00
BFlat 3c9249279d Merge pull request #8003 from dotCooCoo/fix/inflate-colored-light-seam-fill
3D: colored Inflate fills each facet and its seam as one path, covering each edge pixel once
2026-11-16 09:31:14 +07:00
BFlat 06687770e8 Merge pull request #7999 from datatimp/fix/7975-new-type-black
Type: new type starts in [Normal Character Style]'s fill, not the current fill (#7975)
2026-11-16 09:30:48 +07:00
dotCooCoo 66ce4de5db Merge main into feat/psd-export-writes-slices 2026-11-15 18:12:07 -08:00
dotCooCoo e0133a7938 Merge main into fix/confined-export-screens-folder-checked 2026-11-15 17:53:20 -08:00
dotCooCoo 2559d09158 Crop Image: a turned image is cropped at the resolution asked for
object.cropImage with ppi draws a turned or skewed image at that ppi
even when it is the image's own, instead of at the lower density of the
box around it, and a ppi over that whole box makes the new image too.
The raster size limit applies only when the crop is drawn or resampled,
so a straight cut at the image's own ppi is not refused.

The Crop Image tool's Apply sends a turned image's own resolution when
no other is set and it is within 1 to 2400 ppi, and crops over the
whole box when a resolution is chosen.
2026-11-15 17:51:37 -08:00
dotCooCoo 0d4d4399fc Check Spelling: text.spelling.change leaves words that already read as the replacement
A listed word whose text already equals `to` is now left out of the edit.
When every listed word does, the command makes no edit and no undo step,
so the redo history is kept, and `changed` is 0.
2026-11-15 17:51:22 -08:00
dotCooCoo 0813f69d0d Merge main into feat/3d-soft-shadows 2026-11-15 17:24:39 -08:00
dotCooCoo 893ed2c7e3 Merge main into fix/confined-exports-script-paths 2026-11-15 17:20:46 -08:00
dotCooCoo 2a973becbc Symbols: Align to Pixel Grid leaves symbol editing layers to their symbol
- An instance of a pixel-aligned symbol on another symbol's editing layer is part of
  that symbol's art, so it is no longer snapped and written into that art.
- Turning Align to Pixel Grid on for the symbol being edited now writes its art back
  and shows it snapped on the editing layer at once, instead of after the next edit.
2026-11-15 17:17:28 -08:00
dotCooCoo fa42ea6dc8 Symbols: snap a pixel-aligned symbol's instances again only when its editing mode ends
While a pixel-aligned symbol was open in symbol editing mode, every edit snapped its
art and walked the whole document for its instances, even when the art did not change.
That pass now runs when editing mode for the symbol ends; edits that change the art
still snap it and its instances.
2026-11-15 17:17:28 -08:00