- A new test paints a two-by-two grid and checks that the gray covers
the marked cells only and that each edge is drawn dark, then light.
- The "Show Out-of-Gamut Colors" catalog row moves to right after
"Box View", next to the panel's other menu items, in every catalog.
- The gamut_grid doc comment says that a pick's color is tested before
any conversion to CMYK or Lab, which happens only for some targets.
- The test profile's guard is created after the profile registers.
The Color Wheel panel menu gets Show Opacity, kept with the preferences
(`ui.colorWheel {opacity}`). It adds a row under the wheel or the box with
a slider and a percent field. The row sets the opacity of the fill or
stroke item, the selected gradient stop or the selected freeform point
(the first stop or point when none is selected, as for a color pick), and
a drag is one undo step. The row is gray with nothing selected, for an
object selected in a symbol instance, and when the fill or stroke item it
would set is on type characters or missing.
- paint.setFill and paint.setStroke take `opacity` (a percentage, 0 to
100), with or without a new paint. An opacity that no target takes is
an error and leaves the paint undone too. paint.proxies answers
`fillOpacity` and `strokeOpacity` from the first row the command would
edit. A graph series keeps the opacity on regeneration.
- The opacity slider and the swatch chips draw the same checkerboard.
- New error and menu strings have rows in the catalogs.
Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md.
The File formats area row no longer lists grouped column, stacked column,
line and area graphs among the live objects a saved .ai writes as their
art, and its evidence names the graph round-trip tests.
Direct Selection on a dynamic symbol's instance below a layer whose
Preview is off tested and outlined the art in Preview, where the canvas
draws it in outline with the plain clipping paths. When a clipping
path's effects left no region, a selected object in its clip group kept
an outline cut to the plain clipping path.
- `hit::symbol_part_at` and `hit::symbol_part_outline_in_view` count the
layers around the instance, the isolated container and the layers
around it apart, as clicks outside symbols do.
`symbol_part_outline_in_view` takes the click options in place of the
outline flag.
- The outline of an object is empty when the effects of a clipping path
around it leave no region.
A press on a harmony marker that is held past the length of a click
without leaving the marker no longer drags the hue ring under it: the
color stays as it was while the press is held, and releasing it on the
marker applies the marker's color, as a click does. A press that leaves
the marker still moves the ring's hue.
Harmony Rule in the panel menu is gray while the box shows, as Show
Harmony is. The catalog rows for Show Harmony, Harmony Rule and Harmony
color move next to the other Color Wheel rows.
Docs: docs/control-protocol.md lists the harmony and harmonyRule keys of
ui.colorWheel, and the Show Harmony sentence in
docs/target-app-parity.md moves to the Color Wheel panel entry.
menu_items_never_show_an_id looked for a dotted id outside backticks only, so a
label that was an id in backticks, or an effect id with no dot, passed. It now
reads the label with its backticks removed and compares it with the item's
command or effect id.
When only some frames of a threaded story are selected, Remove Line
Breaks and Remove Paragraph Breaks built the story's frame list again
for every selected frame of it, so the work grew with the square of the
frame count. The command now notes a thread once its story is found not
to be selected in full, and reads that thread's other selected frames
on their own without going through the thread again. Each selected
frame still loses its own breaks, in the order selected, as one undo
step.
A test-only counter in threads.rs counts story_in calls, and
remove_breaks_goes_through_a_partly_named_story_once checks both break
kinds with frames named out of order and twice.
- The "Show Out-of-Gamut Colors" row moves next to the other Color Wheel
rows in each catalog, out of the alphabetical block it had split.
- The `gamut_grid` doc comment says the cells are tested on the
working-RGB color of a pick, before it is converted to CMYK or Lab.
- The profile test unregisters its ICC profile in a drop guard, so a
failed assertion does not leave it registered for other tests.
- The `color_wheel` field's doc comment in `state.rs` is rewrapped.
A Copy or Cut whose formats have no notes clears the counted message and
hover notes that an earlier Copy or Cut left, while nothing has set the
status since. A Copy of ruler guides alone does the same. Any other
message stays.
An Image Trace that made no paths shows its first note as it is, without
"Traced with {n} notes", and keeps every note for the hover.
Docs: docs/mcp.md, docs/target-app-parity.md.
When the member limit is reached among the paths of a compound clipping
path that has geometry effects of its own, the compound path still
becomes one path of its reshaped geometry. The paths that were not
visited go into that geometry as they are, and their own effects are
not applied. The doc comment of with_clip_effects_applied_while said
that they keep their effects, which holds for the members of a group or
layer only.
New test a_compound_clipping_path_takes_its_own_effect_at_the_member_limit
covers the compound path.
paint.setFill, paint.setStroke, paint.invert and paint.complement with an
item, stroke.set, stroke.setAdvanced, paint.editGradient,
paint.setGradientGeom and the paint.freeform edits read an item given with
aligned: true and the art of a graph design in a series first as a row of
the art's stack, as appearance.setItem and transparency.set do. Each other
object edits the row equal to it and an object without one is left as it
is. A row the art does not have, a row of the other kind, or a row no
other object has is an error, also when the art is the only object given,
and the document and its undo history stay as they are. Without stroke,
the gradient commands edit the kind of the art's row.
The objects and ids the commands report, a gradient spanning the
selection, and the last color and last gradient count only the objects
whose row was edited.
Direct Selection on a dynamic symbol's instance picked an object in the
region its clipping path's effects give it, but cut the object's outline
to the plain clipping path, so the outline came out empty or cut short.
In a layer of the art whose Preview is off, it tested the effect-shaped
region and the fills, where the canvas draws the plain clipping path and
outlines.
- `hit::symbol_part_outline` cuts to the bounds of the effect-shaped
region. The new `hit::symbol_part_outline_in_view` takes the view's
outline state, and the Direct Selection overlay passes it.
- `hit::symbol_part_at` tests art in a layer whose Preview is off in
outline.
The bounds of a plot of the art's bounds no longer count the objects a
plot leaves out (placed images, objects at 0% opacity, unpainted paths)
when they sit in the art of a symbol. An instance whose symbol holds
nothing else is left out, so a document with only such instances is
refused with "nothing to export". The art of a dynamic symbol, and of a
group with effects, fills or strokes of its own, is measured whole.
The Gujarati catalog lists every menu and command label, and it had no
rows for Show Learn Tab, Show Skill and Back One Level. It now has them.
docs/mcp.md said the For you and Skills tab buttons run learn.tab. A tab
button runs it only when the panel shows the other tab, and the page now
says so.
usvg decodes an image data URL every time it converts the element that
holds it, a `<use>` copy, a filter or a nested SVG image included, before
the image resolver is called, and nothing bounded the bytes decoded per
import.
Before usvg reads the imported SVG and each SVG shown as an image, every
`href` and `xlink:href` of an `<image>` or `<feImage>` that is a data URL
is replaced with a key. The resolver decodes each URL once, the first
time its key comes, and every later use gets the same image. All data
URLs of one import decode to at most 512 MB together (MAX_DATA_URL_BYTES):
decoding stops where a URL would pass it, and that image is left out with
a warning. A link spelled like a key gets a key too and is still read as
that link.
- A graph opened from a .ai file now saves `placedArt` too. Moving or
restyling one of its labels before the first redraw no longer moves or
stretches the plot.
- Type > Create Outlines on a graph's labels now adjusts the saved bounds,
so the outlines do not read as a move at the next redraw. A move of
the graph made before the outlining is still followed.
- A `placedArt` with no width or height falls back to the bounds of all
of the art, as a graph saved without it does.
- `art_bounds` moves to the doc crate so the .ai reader can use it.
- docs/mcp.md describes `placedArt`, `placed` and when a redraw follows
a move.
- Tests: a legend across the top, a legend after a right value axis and
legend labels of several lines keep the plot in place through label
size changes; moving a category label on its own; outlining labels
before and after a move; a flat `placedArt`; a label moved in an
opened .ai graph.