Commit Graph
3867 Commits
Author SHA1 Message Date
dotCooCoo dc30166813 Merge main into feat/save-for-web-delete-color 2026-11-17 16:25:37 -08:00
dotCooCoo 336cde15fe Merge main into fix/action-batch-step-numbers 2026-11-17 16:21:50 -08:00
dotCooCoo b4d5d192ba Shear: angles from -359 to 359 shear by their own tangent instead of stopping at 89
object.shear clamped its angle to -89..89 without an error, so any angle
past 89 sheared by 89. It now takes the Shear dialog's documented range
of -359 to 359 degrees and shears by the angle's tangent, so 120 slants
as -60. An angle outside that range, and +-90 and +-270 (within 1e-9
degrees), where the tangent is unbounded, return an error naming
`angle`; nothing moves and no undo step is recorded.

Docs: params text, docs/mcp.md, docs/target-app-parity.md.
2026-11-17 15:57:45 -08:00
dotCooCoo 70e10dd553 Width Point Edit: a discontinuous point shows and edits both sets of side widths
Opening Width Point Edit on either half of a discontinuous width point
now shows the Incoming and Outgoing side widths, each with Side 1,
Side 2, Total Width and its own link. OK sets both halves in one
stroke.widthPoint.set and one undo step, and Delete removes both.
Single Width Only keeps the incoming or the outgoing widths as one
continuous point. A continuous point keeps the one-set layout.

stroke.widthPoint.set takes outIndex, outLeft, outRight and single for
this. With adjustAdjoining, the nearest point before follows the
incoming change and the nearest point after follows the outgoing
change, once each. Indices that are not the two halves of one
discontinuous point, another t, or another single value are refused
without changing the document or its history.

Help page: https://helpx.adobe.com/illustrator/using/stroke-object.html
describes editing the widths on each side of a discontinuous point in
this dialog. The group labels, the adjoining rule and Delete removing
both halves are VectorCraft's own.
2026-11-17 15:44:09 -08:00
dotCooCoo ad5db819be Merge main into fix/issue-7849 2026-11-17 15:41:34 -08:00
dotCooCoo da010c6598 Isolation: Exit Isolation Mode on a sublayer goes back one layer at a time
With a sublayer isolated, Exit Isolation Mode now isolates its parent layer
and selects the sublayer, so repeated use goes up one layer at a time and
leaves isolation mode from the top-level layer, as the help page describes:
https://helpx.adobe.com/illustrator/desktop/manage-objects/select-objects/isolate-objects.html
This applies to the Layers panel menu item, the isolation bar's back arrow,
the Control bar button, the canvas context menu, a double-click outside the
art and object.exitIsolation {}. Before, each of them left isolation mode in
one step.

- object.exitIsolation takes all (default false); all: true leaves
  isolation mode from a sublayer at any depth. Any other value is an error.
- Esc and the top-level layer's crumb on the isolation bar pass all: true,
  so they still leave in one step. A sublayer's crumb isolates that
  sublayer.
- A hidden or locked parent layer is not isolated; the call leaves
  isolation mode. A step up records no undo step. Groups keep their rule.
2026-11-17 15:35:46 -08:00
dotCooCoo 949171b715 Save for Web: GIF lossy moves no pixel into or out of a shifted color
Lossy compression compared each pixel with the reduction's colors, so a pixel next to a color shifted by hand could join that color and be written in its new color, and a pixel of the shifted color could leave it. Lossy now leaves the entries of shifted colors alone, as it does the transparent entry.
2026-11-17 15:32:51 -08:00
dotCooCoo 1f41683f58 Color Themes: Set Active Color paints the current fill or stroke with the selected color
A button on the Create tab, beside the pipette that copies the current
color into the theme, does the reverse: it sends the selected theme color
to the proxy in front, through paint.setFill or paint.setStroke with
keepModel, so the selection and the default for new art take it in its
own color model. A click is one undo step; a click that changes no art
adds none. The button is off without a document.

The help page describes this action for creating a color theme:
https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=222
2026-11-17 15:12:20 -08:00
dotCooCoo 4c78b10c31 Type: new type takes the font and size of a redefined [Normal Character Style]
New type started in [Normal Character Style]'s fill only and always used the
default font and size. It now takes the style's font, style, size and other
character attributes too, so redefining that style in a New Document profile
sets the default font of the profile's documents. A font, style, size or
color given to text.create still wins.

Part of #8350
2026-11-17 14:29:18 -08:00
dotCooCoo 2209a64dc2 Save for Web: double-clicking a color-table swatch shifts that color
Double-clicking an opaque GIF or PNG-8 color-table swatch opens the
Color Picker. Its OK writes that color as the color picked wherever it
appears in the image; Cancel changes nothing. A shifted swatch shows the
original color at its upper left and the new one at its lower right,
with the lock mark. Double-clicking it opens the picker on the original
color, and OK on it takes the shift away. Unshift All Colors in the
table's menu clears shifts and web shifts.

- colorTable.shifted {"#source": "#rrggbb"} carries the shifts by
  source color, in the settings, the remembered settings and presets.
  A shifted color is kept when reducing, before locked colors, and wins
  over Web Shift, Web Snap and Lock; a color mapped to transparent stays
  transparent. Bad colors, duplicate keys and more than 256 entries are
  refused. The preview marks shifted colors.
- GIF lossy compression compares pixels with the reduction's colors
  before the table's edits, so a shifted or web-shifted color does not
  take in the pixels of a nearby color.
- Web Shift replaces a shift by hand, Lock stays on for a shifted color,
  and Delete Color drops a deleted color's shift.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 14:28:52 -08:00
dotCooCoo a0228dd460 Brushes: Scatter Brush Options has Hue Jitter, a per-copy hue turn
A scatter brush takes a Hue Jitter amount from 0 to 180 degrees (0 by
default). Each copy turns the hue of its solid fills and strokes, type
included, by its own amount up to that far either way, after the
colorization. The amounts come from the stroke's path and the brush
name, so a stroke draws the same colors on every redraw, after Save and
Open, and in export. Copies keep their places, sizes and rotations.

A color turns in its own model (RGB in the HSB of its values, CMYK over
C, M and Y with K kept, Lab by turning a and b). White, black and grays
stay as they are, and a symbol instance in the art turns only its stain.
A brush at 0 draws its copies in the colors the colorization gives them
and saves no hue_jitter key; a brush without the key reads as 0.

- brush.options takes hue_jitter, and brush.get shows it for every
  scatter brush. Brush Options shows a Hue Jitter field (ui.brushOptions
  field hueJitter) with rows in every catalog.
- The .ai editing data writer does not write the amount, so a jittered
  brush is left out of the Brushes panel there and reported, as other
  brushes that would open with other settings are.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 14:24:19 -08:00
dotCooCoo fa53623567 Merge main into fix/native-panel-command-geometry 2026-11-17 14:09:15 -08:00
dotCooCoo 7aaa43b1e4 Merge main into fix/path-freehand-connect-needs-extend 2026-11-17 14:09:14 -08:00
dotCooCoo 0727e8fb5f New Document: a profile's redefined Default Graphic Style sets the starting fill and stroke
When a New Document profile's Default Graphic Style differs from the shipped
one (white fill, 1 pt black stroke), file.new resets new art in documents
from that profile to the style's fills, strokes and effects, not linked to
the style. Default Fill and Stroke (paint.default, D) gives the defaults and
the selected art the same look in those documents; type still gets a black
fill and no stroke. A profile with the shipped style leaves the current fill
and stroke as they were.

Part of #8350
2026-11-17 13:53:20 -08:00
dotCooCoo d04b8b3f21 Layers: a repeated Locate reveals the row it already highlighted
Running Locate Object or Locate Layer again on the row it already
highlighted wrote the same highlight, so the Layers panel did not open
the layers around the row or scroll to it: a sublayer whose layer was
closed since stayed hidden. layer.locate now leaves a one-time request
on the document (DocState::locate_reveal) that the panel takes on its
next frame, opening the layers around the located row and scrolling to
it whether or not the highlight changed. The request is not saved and
adds no undo step, and the panel drops it when the row is no longer
highlighted.
2026-11-17 13:47:51 -08:00
dotCooCoo f4359f39b9 Merge main into fix/twist-boundary-tangent 2026-11-17 13:42:02 -08:00
dotCooCoo 3fe3a00aca Merge main into feat/graphic-styles-alt-drag-style-onto-style 2026-11-17 13:41:56 -08:00
dotCooCoo 647478f9a6 Docs: qualify the CMYK JPEG and DeviceCMYK claims for PDF export and import
A CMYK JPEG loses its ICC_PROFILE segments in some DeviceCMYK cases, masked CMYK images keep their inks on PDF import, and the none rule needs no CMYK destination of another profile.
2026-11-17 13:40:46 -08:00
dotCooCoo 9a2e931e1c Merge main into feat/separations-alt-click-show-all 2026-11-17 13:35:50 -08:00
dotCooCoo 1b1f60ba8c SVG Options: Show in Browser opens the SVG in the default browser
The SVG export options on the help page list a Show in browser option
beside Show Code, which displays the image in the default web browser:
https://helpx.adobe.com/illustrator/desktop/save-and-export/export-files-to-different-formats/export-file-format-options-in-illustrator.html

SVG Options gets a Show in Browser button beside Show Code. It writes
the SVG of the dialog's current, unconfirmed choices for one page (the
selection's crop under Export Selection, otherwise the first artboard
the options choose) to a new folder inside "VectorCraft SVG Preview" in
the system's temporary folder and opens it (file.export.svg.browser).
The dialog stays open, the choices are not remembered, and nothing is
written to the chosen file. The folder follows Save for Web's preview
folders: a private folder per preview, and folders an hour old are
removed; each kind removes only its own. The button is disabled on the
web build, and control and MCP requests are refused, as Save for Web's
Preview in Browser is.

Show Code and Show in Browser share one encoding step, so Show Code
changes in two ways. A range that OK refuses now shows OK's error:
before, Show Code showed the first artboard's code for a range it could
not read, and the first artboard named for a range such as "1, 9" when
the document has no artboard 9. A range naming one missing artboard was
already an error, with a different message. From Save As or Save a
Copy, both keep hidden layers, as the save does. A document with no
artboards shows the bounds of its art.
2026-11-17 13:33:33 -08:00
dotCooCoo e6ec393062 Shapes: the Circle tool draws a circle through two or three points
The Circle tool, in the Ellipse tool's flyout, draws a circle with
shape.circleThroughPoints. A drag from one point to another, or a click
on each, draws the circle with the two points as the ends of a diameter.
A click on a first point, then a press on a second point dragged to a
third, draws the circle through the three. Shift keeps the second point
at 45° steps from the first. For a circle on two points, Alt rounds the
diameter to the nearest ruler tick at the current zoom in the General
unit. Each point snaps to Smart Guides. Until the release the tool shows
the circle as a dashed outline (solid once it is more than 50,000 screen
points around), a cross at its center, a line from the center to each
point and, with Measurement Labels on, the diameter by the pointer.
Three different points on one line, or a circle past the canvas, show
"Circle too large" by the pointer instead, and the release draws
nothing. Escape, a dropped press, and an edit, Undo or Redo made outside
the tool drop the first point. A second press within 3 screen points of
the first point, or one that snaps to it, places nothing when let go
there, and draws the circle on the diameter it drags out when dragged.
Each circle is one undo step. The tool's icon is new and drawn for
VectorCraft.

shape.circleThroughPoints also takes two points, or two selected anchor
points, as the ends of a diameter. Its two errors about the number of
points now say "two or three", in every catalog that translates them.

Part of #7178.
2026-11-17 13:29:12 -08:00
dotCooCoo 90f999b18c Merge main into fix/free-transform-shear-readout 2026-11-17 13:26:09 -08:00
dotCooCoo 1ea1fd8556 Merge main into feat/transform-line-properties 2026-11-17 13:26:08 -08:00
dotCooCoo 32d04737b7 Merge main into feat/symbols-new-symbol-shift-keeps-art 2026-11-17 13:18:51 -08:00
dotCooCoo cc4ce97fc3 Symbols: Shift with New Symbol keeps the art as ordinary art
Making a new symbol from the selected art with Shift held now adds the
symbol and leaves the art as ordinary art, as the Create a symbol section
of the help page describes
(https://web.archive.org/web/20210601162814/https://helpx.adobe.com/pdf/illustrator_reference.pdf#page=192).
Without Shift the art still becomes an instance.

- symbol.new takes keepArt (default false). With true the art keeps its
  ids, layer and stacking position and stays selected, apart from art
  that cannot be selected, frames of threaded text stay in their
  thread, and the result's id is null. A keepArt that is not true or
  false is an error.
- The Symbols panel's New Symbol button and its New Symbol... menu item
  read Shift when clicked and carry it through Symbol Options' OK;
  Shift with Alt on the button makes the symbol at once and keeps the
  art. Art dragged onto the panel reads Shift as it is released.
- ui.symbolOptions takes keepArt for a new symbol and refuses it when
  editing a symbol.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 13:18:49 -08:00
ruchirguitar b268319320 Production Preflight: fix review issues and merge main 2026-11-18 02:48:20 +05:30
dotCooCoo 513b4aefaa Merge main into fix/issue-1954 2026-11-17 13:17:24 -08:00
dotCooCoo 9e93054036 Merge main into feat/discover-help-panel 2026-11-17 13:13:07 -08:00
dotCooCoo 7751474ddc Shear: the docs give the numeric axis range and the angle clamp 2026-11-17 13:10:24 -08:00
dotCooCoo 1483e61f85 Swatches: Swatch Options and New Swatch show the out-of-gamut and web color warnings
Both dialogs now show the out-of-gamut triangle and the out-of-web-color
cube under the color, each with its correction beside it. A click on the
icon or on the correction changes the dialog's color; OK applies it as
one swatch.edit or swatch.new undo step. The warning icons in the Color
panel and the Color Picker now correct the color too.

The triangle shows in RGB, HSB and Lab and the cube in every mode but
Web Safe RGB. A web correction of a Grayscale, Lab or CMYK color is
edited in RGB; a gamut correction keeps the color's CMYK equivalent and
is edited in CMYK.
2026-11-17 13:07:53 -08:00
dotCooCoo c9812414ce Merge main into feat/save-for-web-shift-color 2026-11-17 13:00:56 -08:00
dotCooCoo c9d3080b75 Merge main into feat/layers-drag-into-live-paint 2026-11-17 12:48:03 -08:00
dotCooCoo 5c2b3be4fc Document Setup: a grid color box opens the Color Picker
On the Transparency tab, a click on either color box beside Grid Colors,
or Enter or Space with the keyboard on it, opens the Color Picker over
Document Setup on that color. The picker's OK sets only that entry of
gridColors and goes back to Document Setup, whose Grid Colors menu then
names the pair (Custom unless it matches a preset); Document Setup's OK
applies it in one undo step. The picker's Cancel leaves both colors as
they were. Each box is a focusable button named for its color.
2026-11-17 12:46:09 -08:00
datatimp e7e90c19c5 Document the refused copy of objects beside their own top-level layer 2026-11-17 15:45:42 -05:00
dotCooCoo 59fbf8bbe6 Merge main into feat/interpolate-control-points 2026-11-17 12:42:20 -08:00
dotCooCoo 8920f81410 Merge main into feat/3d-graphics-extrude-side 2026-11-17 12:41:57 -08:00
dotCooCoo 11d60e156b Merge main into feat/background-save-progress 2026-11-17 12:38:21 -08:00
dotCooCoo 7c20eb3b5e Merge main into feat/object-mosaic-dialog 2026-11-17 12:37:29 -08:00
dotCooCoo f1ef00c844 Merge main into feat/find-replace-dialog 2026-11-17 12:34:34 -08:00
dotCooCoo 9344305559 Shear: an Angle axis shears along a line at a custom angle
The Shear dialog's Axis now has Angle beside Horizontal and Vertical, with
an Axis Angle field (0 degrees when the dialog opens) that takes input
while Angle is chosen and keeps its value otherwise. object.shear takes a
numeric axis from -359 to 359 degrees, a line on the page measured
counter-clockwise from horizontal, as object.reflect's numeric axis is; the
shear angle stays a separate value. 0 shears as horizontal and 90 as
vertical. An angle outside the range, a number written as a string, or any
other value is an error naming it, and nothing changes.

Behavior reference: https://helpx.adobe.com/illustrator/desktop/manage-objects/reshape-transform-objects/shear-objects.html
describes the angled axis and its range. The counter-clockwise direction
and the 0 degree start are VectorCraft's own.

Docs: docs/mcp.md, docs/target-app-parity.md. Catalogs: an "Axis Angle"
row in every language.
2026-11-17 12:30:40 -08:00
dotCooCoo 40b298277a Merge main into feat/layers-locate-layer 2026-11-17 12:29:29 -08:00
BFlat ee60c51fd9 Merge pull request #8323 from dotCooCoo/fix/psd-cmyk-placement
Fix #8316: preserve CMYK PSD images when placed or relinked
2026-11-18 03:23:55 +07:00
BFlat aab753f4f2 Merge pull request #7819 from dotCooCoo/feat/textures-map-art-and-shading
Export 3D Object: mapped graphics export as textures of their faces
2026-11-18 03:23:34 +07:00
dotCooCoo 54e8d3046e Save for Web: Delete Color removes colors from the color table
The color table's trash button and Delete Color in its new menu delete
the selected GIF or PNG-8 colors. Pixels that used a deleted color take
the nearest color left, with the current reduction's color distance and
dither, and the preview matches the saved file. A click selects one
color and makes it the anchor, Shift-click selects the range from the
anchor, and Ctrl-click (Command-click on macOS) adds or removes one.

- colorTable.deleted lists the deleted colors by source. A deleted color
  leaves the locked, transparent and webShift lists.
- colorTable.customPalette fixes the palette at the first deletion, so a
  deleted color is not made again; the table reads Custom. Restore
  Generated Table in the menu, or another reduction, clears both.
- Deleting every opaque color, or every color not mapped to transparent,
  is an error and changes nothing.
- Presets and the remembered settings keep the edit.
- quantize_to uses all 256 fixed colors when no pixel is transparent.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-17 12:23:26 -08:00
BFlat 521e5ac158 Merge pull request #8258 from dotCooCoo/feat/type-forced-line-break
Type: Forced Line Break inserts a line break in the paragraph, at the caret
2026-11-18 03:23:16 +07:00
BFlat 0d8315801f Merge pull request #8207 from dotCooCoo/fix/issue-8090
Fix #8090: the Eyedropper samples into picked gradient mesh points
2026-11-18 03:23:07 +07:00
BFlat 7429d7247f Merge pull request #8265 from dotCooCoo/feat/live-paint-isolation-adds-paths
Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
2026-11-18 03:22:58 +07:00
BFlat bb0329a885 Merge pull request #7750 from dotCooCoo/feat/mesh-drop-color-point
Gradient mesh: a color dropped or eyedropped on a point or patch recolors it
2026-11-18 03:22:38 +07:00
BFlat a18fef053f Merge pull request #8288 from dotCooCoo/fix/metafile-loss-warnings
Metafile import: warn about images, clips and raster operations the reader leaves out
2026-11-18 03:22:29 +07:00
BFlat 5088d9c6ec Merge pull request #8272 from dotCooCoo/feat/emf-font-width-scale
Metafile import: a LOGFONT average character width becomes Horizontal Scale
2026-11-18 03:21:07 +07:00