Commit Graph
16972 Commits
Author SHA1 Message Date
dotCooCoo 3e053fdc0b Merge main into feat/ai-export-writes-kinsoku-kinsoku-shori-type 2026-11-14 18:52:31 -08:00
dotCooCoo 82a5fb5cb8 Merge main into fix/shadow-validation-builds-its-shadow-geometry 2026-11-14 18:52:10 -08:00
dotCooCoo e21bea6427 Merge main into fix/graph-axes-group-edits-kept 2026-11-14 18:51:43 -08:00
dotCooCoo 750716f348 Merge main into feat/assign-profile-choices 2026-11-14 18:51:37 -08:00
dotCooCoo 936ef9509d Color management: Assign Profile offers Don't Color Manage, the working space or a profile
The Assign rows of the Separations panel's Color Settings section (where
Edit > Assign Profile... goes) offer the three choices of the help's
"Assign or remove a color profile": Don't Color Manage This Document, the
working space of the document's color mode with its name, and Profile with
the other profiles of that kind.

The rows act on the profile of the document's color mode, so an RGB
document's RGB profile can be assigned here; before, the row always set
the CMYK profile. Picking the working space assigns its profile, which
stays when the working space changes later. A choice the document already
has runs nothing, and the other model's profile stays as it is.

Params text, docs/mcp.md and the evidence line in
docs/target-app-parity.md are updated, with catalog rows for the new
labels.
2026-11-14 18:51:33 -08:00
dotCooCoo 0680b68b6d Merge main into fix/pdf-page-links-review 2026-11-14 18:51:27 -08:00
dotCooCoo 62210f8ac0 Control bar: tool, image, trace, envelope, symbol and artboard controls stay inside a narrow bar
The groups that other modules draw in the Control bar (shape tool,
Dimension, Mirror & Cut, Crop Image and Puppet Warp options, image and
Image Trace controls, envelope and symbol instance controls, and the
Artboard tool's) drew fixed-width controls with no room check, so in a
narrow window they ran past or under the panel menu button.

- Each group asks a shared Fit for room before each control, leaving the
  Transform link's room after it, and leaves out the rest of the group
  once one control does not fit. An image's file name is left out alone,
  each of the Embed, Edit Original and Unembed buttons is checked on its
  own, and the Artboard tool's Transform link shows whenever it fits.
- Buttons in these groups grow to hold longer translated labels.
- The Transform link keeps room for its underline.
- Trailing spacing in the envelope and symbol groups no longer pushes
  the panel menu button out of the bar.

Docs: docs/target-app-parity.md.
2026-11-14 18:51:24 -08:00
dotCooCoo 7221b7cf28 Merge main into fix/installed-script-runs-checked-text 2026-11-14 18:50:49 -08:00
dotCooCoo 881cd5c103 Merge main into fix/painted-live-effect-output-refuses-a-gradient 2026-11-14 18:50:03 -08:00
dotCooCoo 05527ee0f1 Artwork Cleanup: path commands take locked and hidden art named by ids
Simplify Anchors, Deep Ungroup and Rejoin Path Pieces now follow the
rule the text tools use: with `ids`, they act on the locked and hidden
paths and groups the ids name, and on those inside the groups and
layers they name, but not on art on a locked artboard. From the
selection they still take only art that can be edited.

- Rejoin Path Pieces joins only pieces alike in being hidden and in
  being locked (counting the groups and layers above them), so a joined
  path does not show hidden art or unlock locked art. Locked and hidden
  paths it makes are not selected. A compound path member named
  directly stays out, as members reached through the compound do.
- Deep Ungroup takes apart named locked and hidden groups, and the
  groups inside a named group or layer; a named layer stays. Objects of
  a hidden group become hidden, and objects of a locked group become
  locked.
- Simplify Anchors reports every named path it took in `ids`.
2026-11-14 18:49:20 -08:00
dotCooCoo dfde48c181 Type: outlined strokes on unevenly scaled type keep their thickness in each direction
Create Outlines, Object > Expand and geometry effects scaled a character
stroke on unevenly scaled, sheared or flattened type by the transform's
mean scale, so a stroke scaled 300% across came out about 1.7 times as
thick everywhere, while the canvas strokes the glyphs in text space and
then transforms them.

Under such a transform each run's stroke now becomes a path filled with
the stroke's paint: the area the stroke paints around the glyphs in text
space (dashes, caps, joins and inside or outside alignment), transformed
with them. Moved, rotated, reflected and uniformly scaled type keeps a
live stroke with its weight and dashes scaled. object.expand.info reports
a gradient on such a filled stroke.
2026-11-14 18:49:02 -08:00
dotCooCoo 726fbfe327 Menus: long popup rows are shortened with an ellipsis so the popup stays inside a narrow window
In a window narrower than a popup list's rows (Add New Effect, Tracing
Presets and the other lists built on menu_scroll), the list kept its rows
at full width and the popup ran past the window's right edge. The list is
now no wider than the window allows; a row that does not fit ends in an
ellipsis and shows its full text in a tooltip, dimmed rows included.
Screen readers and clicks still use the row's full text.

Menus that ask for a minimum width (the menu bar's 230 pt, submenus and
context menus) take the window's width when it is less, through
menu_min_width.

The long-popup tests now check that the popup ends inside the window,
and a new test covers a shortened row's tooltip, screen-reader name and
click.
2026-11-14 18:48:39 -08:00
BFlat 4830ea0e83 Merge pull request #7495 from dotCooCoo/fix/uk-color-library-label
i18n: Ukrainian Color Library names colors, not flowers
2026-11-15 09:47:47 +07:00
BFlat 78d45ee14a Merge pull request #7699 from dotCooCoo/fix/panel-view-command
Panels: ui.panelView sets the Swatches, Graphic Styles and Symbols panel views
2026-11-15 09:47:37 +07:00
BFlat 7c12d660af Merge pull request #7627 from dotCooCoo/feat/ai-save-graph-records
.ai save: live graphs are written as graph records
2026-11-15 09:47:28 +07:00
BFlat 40f096f32b Merge pull request #7213 from dotCooCoo/feat/rotated-box-scale-reflect
Transform: Scale and Reflect act along a rotated bounding box
2026-11-15 09:47:18 +07:00
BFlat 3e68e4117a Merge pull request #7712 from dotCooCoo/feat/rough-pastels-load-texture
Effects: Rough Pastels loads its texture from an image file
2026-11-15 09:47:09 +07:00
BFlat e81f676ef4 Merge pull request #7720 from dotCooCoo/feat/object-distribute-menu
Object: a Distribute submenu runs the Align panel's distribute buttons
2026-11-15 09:47:01 +07:00
BFlat b46fb077b7 Merge pull request #7566 from dotCooCoo/fix/tool-overlays-reuse-settled-outline
Blob Brush: a long drag's settled outline is reused from frame to frame
2026-11-15 09:46:53 +07:00
BFlat 237fe27e50 Merge pull request #7713 from dotCooCoo/feat/psd-clipping-path
PSD: a file's clipping path clips its merged image on Open and Place
2026-11-15 09:46:45 +07:00
BFlat 8317ab745f Merge pull request #7690 from dotCooCoo/fix/ai-pen-samples-test-after-path
.ai import: pen-samples test checks a brushed path after the samples
2026-11-15 09:46:37 +07:00
BFlat 563f075764 Merge pull request #7707 from dotCooCoo/feat/opentype-hv-style-roman-italics
OpenType panel: H or V Style and Roman Italics set kana and Latin forms
2026-11-15 09:46:29 +07:00
BFlat 55c2bb5194 Merge pull request #7511 from dotCooCoo/fix/live-paint-make-drawn-rows
Live Paint: Make keeps every fill and stroke row that draws on the source
2026-11-15 09:46:20 +07:00
BFlat 3f90b8ff4c Merge pull request #7719 from dotCooCoo/fix/unit-parse-long-expression
Units: a very long expression reads as nothing instead of overflowing the stack
2026-11-15 09:46:13 +07:00
dotCooCoo 7c1929ee1d Merge main into fix/a-part-with-nan-opacity-neither-casts-a-shadow 2026-11-14 18:44:29 -08:00
dotCooCoo b60b6e8a21 Merge main into feat/packaging-fold-roles 2026-11-14 18:44:19 -08:00
dotCooCoo dd77051ef5 Scripts: Run Script's params text in UI_COMMANDS matches the MCP catalog
The MCP catalog's ui.runInstalledScript entry was updated without its source in
crates/ui-egui/src/menus/ui_commands.rs, so `cargo xtask ui-commands --check` failed.
The source now carries the same text.
2026-11-14 18:44:12 -08:00
dotCooCoo e08f56acbd Merge main into fix/actions-error-step-number 2026-11-14 18:43:43 -08:00
dotCooCoo 64f1ba414f Live Paint: the bucket replaces every fill or stroke row of a face or edge
livePaint.fill set only a face's topmost fill, and livePaint.strokeEdge
only an edge's topmost shown stroke. A lower fill or stroke kept drawing
under the new paint, a fill or stroke of none left it drawing, and a
hidden or half-transparent top row with the paint stopped the click.

The bucket now replaces every fill of a face, or every stroke of an
edge, with one row of the paint, shown, fully opaque and blending
normally, in the place of the topmost row of that kind. The row keeps
the dashes, caps, arrowheads and effects of the topmost shown row. The
face's strokes, the edge's fills and the part's own opacity stay as
they are. A click changes nothing, with no undo step, only when the
part already has that one row. This changes the earlier rule that kept
an edge's hidden strokes. The help page says the tool paints faces with
the current fill and edges with the current stroke; the row rule is
VectorCraft's own.
2026-11-14 18:43:38 -08:00
dotCooCoo 80d82612bd i18n: drop the tr toolbar error rows that main now carries
main added Turkish rows for the custom toolbar command errors, so the
branch's copies made bundled_catalogs_are_consistent fail on a duplicate
@msg row.
2026-11-14 18:43:20 -08:00
dotCooCoo 6e06fca9fd i18n: drop Turkish script error rows that main already has
Main's Turkish catalog now carries rows for 13 of the script interpreter errors this branch added, so bundled_catalogs_are_consistent reported duplicate @msg rows. The branch's copies are removed and main's wording stays. The remaining new row uses "işlev" for function, as the rest of the catalog does.
2026-11-14 18:43:20 -08:00
dotCooCoo 154767077e Effects: keep ruler guides below guide-free sublayers and in groups out of effects
A layer's Pathfinder or geometry effect now moves every ruler guide in
its sublayers and groups out of the art it replaces or copies, including
a guide in a layer inside a group inside a sublayer that holds no guide
of its own, and a guide directly in a group. A group's Pathfinder or
geometry effect does the same for the guides among its members. Each
guide stays once, last in the container, hidden or locked as the
containers it came from were. Every member is looked at once.
2026-11-14 18:43:12 -08:00
dotCooCoo 73cac30b00 Merge main into fix/custom-toolbar-errors-translated 2026-11-14 18:42:47 -08:00
dotCooCoo 4a329e78b5 Merge main into fix/status-notes-copy-cut-trace 2026-11-14 18:42:18 -08:00
dotCooCoo 119ce7942b PDF export: an image whose colors can't be converted is left out with a warning
When the Output settings convert colors, an image whose pixels can't be
decoded or written in the destination's colors was written as it was, in
its own colors: a CMYK image with more pixels than CMYK inks are read for,
or a color image the writer could embed but the decoder could not read.
In PDF/X-1a that could also write a color space the standard forbids.

Such an image is now left out with the warning "an image couldn't be
converted to the Output destination and is missing from the picture".
Gray images, whose pixels are not converted, and files that convert no
colors keep the image as before. An image that can't be written at all
still gets the warning that it couldn't be decoded.
2026-11-14 18:42:17 -08:00
dotCooCoo f05d481247 Control bar: Select Similar Objects selects by the attribute its menu keeps
With something selected, the Control bar shows a Select Similar Objects
button and, beside it, the Select Similar Options menu. The button
selects the objects like the first selected one by the attribute kept
for the session; a menu item selects by its attribute and keeps it,
and the kept item is checked. The items are All, Fill Color, Fill &
Stroke, Stroke Color, Stroke Weight, Opacity, Blending Mode,
Appearance, Graphic Style, Shape and Symbol Instance.

- select.similar {by?} runs the select.same command of that name, or
  for "all" matches fill and stroke colors, stroke weight, opacity and
  blending mode together. An unknown by is an error that keeps the
  selection and the kept attribute. The journal records the attribute
  used, so a recorded action repeats it, and a failed script or plug-in
  call puts the kept attribute back.
- The button and menu belong to the Object Options group and sit at
  the right end of the bar, after the X, Y, W and H fields. They take
  only the room the other controls leave, so the bar leaves them out
  before any other control.
- The Paragraph tests' control_bar_node looks for a label before a
  value, so a link's text run listed first no longer stands in for
  the link.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-14 18:41:14 -08:00
BFlat 05019938c6 Merge pull request #7727 from storytold/fix/pixelspace-size-svg-defaults
Effects: give the SVG filter defaults' test raster its size (fix main)
2026-11-15 09:40:52 +07:00
dotCooCoo 1a4dd4f800 PDF export: limit the own-profile rule to destinations other than sRGB
An sRGB destination converts tagged gray and RGB images to sRGB even when the
document's own RGB profile is sRGB, so the statement that the document's own
profile as destination keeps tagged images applies only to other RGB profiles.
2026-11-14 18:39:38 -08:00
dotCooCoo 8170996bca Merge fix/singular-messages-translated into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-14 18:35:41 -08:00
dotCooCoo f14f2f9cd2 EPS: art left out at the page limit releases the images it encoded
When art passes the page limit and is taken back, the writer now drops
every image encoding made while writing it (placed images, colorized
images and freeform fields) along with the cache entries that name
them. Before, only trailing field encodings were dropped, so a placed or
colorized image, and any field encoded before it, stayed in memory for
the rest of the export.

A placed or colorized image whose first placement does not fit under
the limit is no longer encoded into the cache; it is left out with the
existing warning.

The written EPS is unchanged.
2026-11-14 18:34:19 -08:00
dotCooCoo 89fa50fe16 Type: Create Outlines keeps the type object's effects and transparency
Type > Create Outlines built its group with the type object's opacity,
blend mode and name only, so the object's own effects (a drop shadow or
a Transform of the whole type, for example), Isolate Blending, Opacity &
Mask Define Knockout Shape and opacity mask were lost and the outlines
no longer drew what the type drew.

The group now takes all of them through the helper the file importers
already use for outlined type (flatten::carry). The effects go on the
group once, in their order, with their settings and hidden effects still
hidden; effects of the object's own fills and strokes stay on their
paths of the whole outline. The group is marked as type's outlines, so a
retained Warp or Free Distort moves a gradient on the characters across
the whole outline, as on the type, instead of per glyph.

Docs: docs/mcp.md, the command description and docs/target-app-parity.md.
2026-11-14 18:34:08 -08:00
bflatastic 2cd2620e0c Effects: the default SVG filters' test raster gives PixelSpace its size
#7680 added PixelSpace::size and #7658's test helper, merged in an earlier batch, didn't
set it, so vectorcraft-effects' tests don't compile on main.
2026-11-15 08:00:10 +05:30
dotCooCoo d43d3e84df Type: burasagari keeps right-to-left and tabbed mixed lines inside the frame
A right-to-left paragraph draws a comma or full stop inside its line,
but the breaker still kept an overflowing mark on the line as if it
hung, so the line was drawn past the frame. The breaker now ends such a
line at a break where it fits with the mark.

In a left-to-right line with right-to-left text and a tab, the breaker
hung an overflowing mark without measuring the line as drawn. It now
hangs the mark only when the mark is drawn at the line's right end and
the line before it fits as drawn; otherwise the line ends at the latest
legal break that fits as drawn.
2026-11-14 18:27:58 -08:00
dotCooCoo f35e9d091d Effects: pixel filter directions turn and reflect with a Transform effect after them
A Transform effect listed after Underpainting, Rough Pastels, Conte
Crayon, Bas Relief, Plaster or Texturizer now turns and reflects their
light direction, and after Sprayed Strokes or Graphic Pen their stroke
direction. Each is set to the nearest choice of its menu, the one
clockwise of it at a tie. Color Halftone's four screen angles turn and
reflect with the art. Stacked Transform effects, and an object's
Transform effect over a fill's own, round the direction once. A zero
scale leaves the direction as it is.

The canvas, export and Expand Appearance use the same values. Filters
with fixed stroke or pattern axes keep them.
2026-11-14 18:27:30 -08:00
ruchirguitar 39fdcd1f25 G12: merge main into swatches context menu branch
Resolve documentation conflicts while preserving both panels' evidence. Integration CI stops at the upstream SVG filter test helper compile error tracked in #7727; original feature CI and deep review passed.
2026-11-15 07:57:04 +05:30
dotCooCoo 4887305f00 .ai import: files saved for version 11 take their type from the text document
Files saved for version 11 write the keys of their text document by name
(/DocumentResources, /FontSet, /StreamTag) and the kinds of its strikes
by their long names (/FrameStrike). The reader found no stories in them,
so their text objects were filled with the page's type in painting
order: type outside the artboards was lost, and type on them could land
in another text object.

The keys the reader uses now get their numbers from the dictionary they
sit in, from the root down, before the document is read. A run whose
style is written by name as a style's number takes that style. Files
saved for later versions that write a newer key by name among the
numbered ones (a font record's VersionString, a paragraph's
ParagraphDirection) have those keys read too.
2026-11-14 18:26:22 -08:00
dotCooCoo cdedb71499 3D and Materials: a light pressed in the lighting widget keeps the keyboard focus
Pressing a light other than the selected one, or tabbing to it, selected
it after the frame, and selecting another light clears the keyboard
focus, so the arrow keys then moved nothing. The widget now selects the
light first and gives it the focus after that.
2026-11-14 18:23:54 -08:00
dotCooCoo f20fc32c3d Graphs: a fill or stroke added to a label or axis line keeps the other kind its kind keeps
graphicStyle.apply with add, and appearance.copyFrom with append, stored
both the fill and stroke rows a graph label or axis line showed, so a
fill-only style added to one axis line replaced the stroke the axis lines
kept from another line with the line's own black stroke. They now store
only the kinds of row they add; the row of the other kind keeps its paint
and its place relative to the characters as the kind keeps them.

appearance.moveItem of the Contents row stored the rows of every label
it was given, so a move that changed nothing on a label replaced what its
kind kept from another label. It now stores rows only for the labels
whose rows it changed.
2026-11-14 18:23:06 -08:00
dotCooCoo 621a793abe Actions: Load Actions… reads .aia Set Selection steps as Select Object
actionSet.read now lists each step's recorded values with their key, type
and value (a whole number, or UTF-8 text with its length in bytes), at
most 100,000 per set; a hexadecimal value with the wrong byte count still
marks the set truncated.

Load Actions… finds a Set Selection step by its internal name, whatever
its label, and adds it as a Select Object step (select.byNote) with its
note, Case Sensitive and Whole Word. The step comes in only with exactly
three recorded values: the note (key text, ustring, UTF-8, 1 to 1,024
bytes once trimmed) and the two options (keys word and case, boolean,
0 or 1). Any other Set Selection step is left out and counted, with no
option filled in. A step that is off in the file stays excluded, and the
set saves to and reloads from a .vcactions file unchanged.

Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md.
2026-11-14 18:21:40 -08:00
dotCooCoo f55e42343e PDF export: state that the document's own RGB profile as destination keeps tagged images
With Convert to Destination and an RGB destination that is the document's
own RGB profile, RGB colors and RGB images keep their numbers, so an image
that carries an ICC profile keeps it. The export contract and progress line
now say so, and the test checks it.
2026-11-14 18:19:33 -08:00