Commit Graph
18448 Commits
Author SHA1 Message Date
dotCooCoo a9119df4bc i18n: drop the ka and ru toolbar error rows that main already has 2026-11-15 09:24:23 -08:00
dotCooCoo 996423d968 Merge main into fix/i18n-adjacent-placeholders 2026-11-15 09:24:20 -08:00
dotCooCoo 9389acc81e i18n: drop Spanish catalog rows main already has
Main added Spanish rows for ten of the dialog-answer messages this branch also translates. The branch's copies are removed so each message has one row and bundled_catalogs_are_consistent passes; main's translations are identical.
2026-11-15 09:23:53 -08:00
dotCooCoo fb287514d5 i18n: drop catalog rows main already has
Main's Georgian catalog has a row for `index` must be a whole number
and one for the knockout groups warning, so the copies this branch
added are removed. Main's knockout row had two spaces after the colon,
which neither the program's text nor the message scan matches; it now
has one. The Georgian counts in localization-parity.md are recounted.
2026-11-15 09:23:45 -08:00
dotCooCoo eab8931dde i18n: drop catalog rows main already has
Main's Georgian catalog already carries the action step error row, so the copy this branch added is removed.
2026-11-15 09:23:36 -08:00
dotCooCoo bb3653e98f Docs: the command palette is named by its menu item, not by ⌘K
The egui crate's header comment and the M14.8 line in
docs/target-app-parity.md called it "the ⌘K palette" and "a ⌘K command
palette". Cmd+K runs edit.preferences, and help.commandPalette (Help ›
Search Commands…) defaults to Cmd+Shift+/. Both now name the menu item,
and the crate comment links the palette module.
2026-11-15 09:22:55 -08:00
Dylan M. Taylor 3d0b4c9a26 Use shared measured line break selection 2026-11-15 17:22:25 +00:00
dotCooCoo dae1bf749b i18n: drop catalog rows main already has
Merging main brought in Georgian and Russian rows for the SVG filter messages that this branch also added, so each catalog held them twice and bundled_catalogs_are_consistent failed. The branch's copies are removed and main's rows stay.
2026-11-15 09:21:48 -08:00
dotCooCoo cd30b7b31e Merge main into fix/expand-appearance-nested-instance-effects 2026-11-15 09:20:32 -08:00
Dylan M. Taylor 3002404467 Use shared visual cluster ordering 2026-11-15 17:19:37 +00:00
dotCooCoo 51803c222d Docs: moving a label can scale the plot of a graph saved without placedArt
docs/mcp.md said that moving a label on its own never moves or scales a
graph's plot. A graph saved without `placedArt`, or with one that has no
width or height, is measured on `placed`, the bounds of all of its art
including the labels. Moving an outermost label of such a graph on its
own changes those bounds, and the next redraw moves and scales the plot.
The paragraph now says so.
2026-11-15 09:19:33 -08:00
dotCooCoo 8263e36a8f Expand Appearance: shadow and glow images keep their blend mode
The image made of an object's shadows and outer glows took the default
blend mode, so a Multiply shadow (Drop Shadow's default) over colored art
became a plain shadow painted over it. When the shadows and glows all use
one blend mode, the image now paints with it, for the object's own effects
and for nested symbol instances alike.
2026-11-15 09:18:57 -08:00
dotCooCoo 2f54dac830 Merge main into fix/ka-missing-message-rows 2026-11-15 09:18:42 -08:00
dotCooCoo b6463e53cc Paragraph: threaded Kurikaeshi Moji Shori leads come from one pass over the frames
A thread of frames that hold only repeat marks or soft returns made each
frame look back through every frame before it, so opening or flowing such
a story took quadratic time, with the setting off as well. The leads are
now carried forward in one pass.
2026-11-15 09:13:16 -08:00
dotCooCoo 1e32738b8f MCP: confined SVG output checks the linked images the file draws
The read-root check for SVG output now looks at the same art the
writer draws:

- A placed document's art is checked, with the pixels its file holds.
  A placed native file that links an image outside the read roots was
  written with that path under Images: Link.
- Hidden objects inside symbols, patterns and graph designs are left
  out unless hidden layers are kept, as they are in the layers.
- With profile tiny12 the file leaves out opacity masks, and their
  images are not checked.
- An object whose effect SVG has no filter for is checked as the image
  the file draws of it, for file output and clipboard.exportSvg alike.

The last three refused files and clipboard SVG that name no file
outside the roots.
2026-11-15 09:13:08 -08:00
dotCooCoo 56625d5eab Merge main into feat/3d-graphics-extrude-side 2026-11-15 09:12:02 -08:00
dotCooCoo fdeb3a6ab3 Merge main into fix/tool-set-option-errors
# Conflicts:
#	crates/ui-egui/src/toolbar.rs
2026-11-15 09:11:04 -08:00
dotCooCoo 61ede55a08 Merge main into fix/shortcut-row-names-translated 2026-11-15 09:09:27 -08:00
dotCooCoo 19c7b2bd46 Merge main into fix/js-interp-errors-translated 2026-11-15 09:08:56 -08:00
dotCooCoo 79c696d879 Merge main into feat/3d-soft-shadows 2026-11-15 09:08:53 -08:00
dotCooCoo 1ec8a9ba8f Merge main into fix/actions-error-step-number 2026-11-15 09:08:40 -08:00
dotCooCoo a9a2d499f5 Merge main into fix/es-message-rows 2026-11-15 09:08:29 -08:00
dotCooCoo be4dab1e8c Merge main into feat/recolor-add-remove-color-tools 2026-11-15 09:08:28 -08:00
dotCooCoo 91f3f812c9 Merge main into feat/object-mosaic-dialog 2026-11-15 09:08:24 -08:00
dotCooCoo 3e4b8d81ff Merge main into fix/an-image-whose-recode-fails-is-written-without 2026-11-15 09:08:24 -08:00
dotCooCoo fd468f0042 Merge main into fix/custom-toolbar-errors-translated 2026-11-15 09:08:24 -08:00
dotCooCoo 59889cd2af Merge main into feat/properties-graph-section 2026-11-15 09:08:13 -08:00
dotCooCoo 5437bdeacd Merge main into feat/brush-options-of-selected-object 2026-11-15 09:07:51 -08:00
dotCooCoo 73502e83ac SVG: hidden pieces of a cut image put no shared image in the defs
The pieces a Warp effect cuts an image into share one <image> in the
defs. The writer counted every piece, hidden ones included, so pieces
the file leaves out (hidden, or in a hidden clip group) still put an
<image> into the defs, with the linked file's path under Images: Link.
A confined caller's read-root check looks only at the art the file
draws and did not refuse it.

Image sharing and the colorized-image counts now walk only the art the
writer draws: hidden layers and objects only with hidden layers kept,
and never a template layer's art.
2026-11-15 09:06:13 -08:00
FredApps 31658546a8 fix(codecs): build the cutover against craft-libs d6cd7836d
- Test files whose image→craft-image-codecs rewrites didn't compile against
  main's newer tests go back to main's versions (engine fileio/tests.rs,
  tests_tiffbmp.rs, tests/menucmds.rs, eps tests.rs); they still use the image
  crate, which keeps its format features.
- craft_jxl::encode, craft_image_codecs::encode and Image::icc at d6cd7836d.
- jp2read and pdf export pass DecodeOptions, not Limits.
- EPS DCTDecode: grey JPEGs no longer use the image after moving it, and keep
  main's one-channel output.
- svg keeps its direct usvg dependency for main's image href code; pdf keeps
  jpeg-encoder for CMYK JPEGs.
- clippy -D warnings and rustfmt clean.
2026-11-15 18:05:45 +01:00
BFlat 5bd8acfce9 Merge pull request #7762 from dotCooCoo/feat/3d-classic-track-cube
3D (Classic): the track cube turns the object on the Rotation tab
2026-11-16 00:04:07 +07:00
dotCooCoo 3dad1013a4 Image Trace: Noise leaves cut-edge blends out of a speck's color
When Noise picks the nearest color for a speck, the speck's average now
leaves out the semi-transparent pixels along a cut-out image's edge that
are the color beside them blended with the transparent background.
settle_cut_edges returns which pixels those are. A speck made only of
them merges by border. In Grayscale the speck's gray is read with luma,
the gray Grayscale traces with, and the test probe shift_probe denoises
as a trace does.

The docs now say the rule applies in Color and Grayscale (in Black and
White a region has only one neighboring color, so Black and White Logo
changes only by its Noise value), name `ea3f81d9c3` as the base of the
measurements, and say that the gradient-border test sets Noise 15
because at Noise 8 its borders stray 0.92 px against a 0.9 px limit.
2026-11-15 09:01:14 -08:00
dotCooCoo 65b2129138 Live Paint: livePaint.strokeEdge refuses a through id that is not one of the group's edges
`through` now takes only the ids of the group's edges, each once: a face's
id, an unknown id, another group's edge or an edge given twice is an error
and changes nothing. A hidden edge in it is still skipped by the join. For
a double-click the Bucket passes only edges of the group, each once, so an
earlier click that filled a face whose fill was the edge's stroke paint
(Paint Fills and Paint Strokes both on) no longer sends that face.

The Bucket finds the faces a fill drag crossed among those whose bounds
meet the drag's bounds only.

A canvas test covers the middle-button press and the Space-held press
between two Bucket clicks. The progress-doc line lists the new tests, and
docs/mcp.md says which edges the tool passes in `through`.

Follows #7875.
2026-11-15 09:00:15 -08:00
dotCooCoo b7ab4f43a2 Map Art: Revolve (Classic) refuses mapped symbols past the limits of a graphic's art
Extrude & Bevel (Classic) already checked the art of its mapped symbols
against the 400,000-element limit when the effect is applied or edited.
Revolve (Classic) now checks it too, on the object and on a fill or
stroke, instead of accepting the maps and drawing the solid without them.
2026-11-15 08:58:43 -08:00
BFlat a391dedfe5 Merge pull request #7875 from dotCooCoo/fix/live-paint-bucket-click-history
Live Paint: Bucket double-click and triple-click match the paint from before a drag, a view-tool press or a joined edge
2026-11-15 23:56:28 +07:00
BFlat cf34cf8ed0 Merge pull request #7829 from dotCooCoo/fix/shadow-validation-builds-its-shadow-geometry
3D: shadow validation casts from the solids it checks
2026-11-15 23:56:19 +07:00
Dylan M. Taylor 40518f790c Pin native writer APIs to merged craft-libs 2026-11-15 16:56:16 +00:00
dotCooCoo be2f993c4b PDF export: Preserve Numbers keeps a gray image's profile when RGB is tagged as sRGB
With Preserve Numbers, a non-sRGB RGB destination and RGB colors
ICC-tagged as sRGB (the `all` profiles setting, PDF/A-2b, PDF/X-3 and
PDF/X-4), a gray image that carries an ICC profile was converted to sRGB
grays and lost its profile. It now keeps its profile there, as in the
other destinations other than sRGB.
2026-11-15 08:56:03 -08:00
dotCooCoo 24867f7827 Paste: legend labels in a pie's wedges follow wedges that take the document's swatch
When a pasted pie's wedge links a global swatch that the document gives
another color (swatchConflict "merge", the default), the wedge takes the
document's color. Its legend label kept the contrast it had in the copy,
so a wedge that turned dark could show a black label, and one that
turned light a white label, until the pie was drawn again.

Pasting now reads which wedges show a dark fill before the copy is
linked to the document's swatches. A pie whose wedges change darkness
gets the legend label contrast a redraw sets: white on a dark wedge,
black on a light one. Pies whose legend labels have a fill of their own
keep it. This applies to every paste command, Paste without Formatting
included, and to pies inside opacity masks.
2026-11-15 08:53:31 -08:00
dotCooCoo c08b4d932f MCP docs: Kurikaeshi Moji Shori says null leaves the setting as it is 2026-11-15 08:52:00 -08:00
dotCooCoo 5d75eb4475 Color Settings: a drag between documents asks about profile mismatches as Paste does
- edit.dropSelection takes profileMismatch and reports what it did, and
  clipboard.profileMismatch {sourceDocument, ids} lists what a drop
  brings, so with Ask When Pasting on the desktop app asks before a drag
  from a document with another profile.
- OK on the paste question asks again when the profiles the paste or
  drop brings have changed since it asked.
- A profile question for an open runs under the automation roots in
  force where it was asked and those of the caller that confirms it.
- An assignProfile beside another choice than assign is refused with a
  message that says it goes with assign only, with catalog rows.
- edit.pasteWithoutFormatting's params text names profileMismatch, and
  two doc comments and a docs/mcp.md paragraph are rewrapped.
2026-11-15 08:50:32 -08:00
dotCooCoo 0daad87499 Brushes: Options of Selected Object changes one brushed path's brush settings without changing the brush
The Brushes panel menu gains Options of Selected Object…. It opens the
brush type's options dialog for the selected brushed paths, without the
Name row, and OK stores the changed values on those paths' strokes only.
The brush and its other strokes keep their settings.

- brush.objectOptions {ids?, params?, reset?} sets the settings, clears
  them with reset, and returns them when given neither. It refuses
  params with reset, a selection with no brushed path, brushes of
  different types, a bristle brush, a field the type does not take and
  a value of the wrong kind. One undo step, none when nothing changes.
- The stroke saves the settings as brush_options in the native file, and
  the brush renderer, the expansion of pattern tiles whose brushes vary
  at random and color conversion of Hue Shift keys read them.
- Applying another brush, removing the brush or a brush change carried
  by Global Edit clears them; renaming the brush keeps them.
- Docs: docs/mcp.md, docs/ui-parity.md; i18n rows for the new strings.
2026-11-15 08:50:04 -08:00
dotCooCoo 441e8f58ee Map Art: a map past the surface count can be removed, and 64 maps fill the dialog
- The flattened symbol points and the points drawn on faces are counted
  apart, so the art drawn on earlier surfaces no longer uses up the next
  symbol's 400,000-point allowance and drops every map.
- `threeD.mapArt` with `symbol: null` removes a map kept past the
  object's surface count (for example after Depth goes to 0); a surface
  past the count without a map is still refused.
- The Map Art dialog's Symbol menu is unavailable on an unmapped surface
  while the object already has its 64 maps, so no 65th map is written.
- docs: the Feature areas rows no longer list Map Art as missing, and
  three-d.md no longer calls 3D export unbuilt.
2026-11-15 08:48:11 -08:00
dotCooCoo 303d0c0a05 PSD: a version 6 slice record whose ID is 16 is read as a slice
A version 6 slices resource may follow a record with a descriptor of
version 16, and the reader took any record that starts with the value
16 for one. A record whose ID is 16 then had its first bytes read as a
descriptor, and the records after it were misread or left out. When the
records read one after another, followed by nothing or by one
descriptor (the layout ag-psd writes), only the last record is checked
for a descriptor. Files that follow each record with a descriptor are
read as before.
2026-11-15 08:45:10 -08:00
dotCooCoo dc8054fb39 PSD: a slices resource cut short warns that the slices were left out
When image resource 1050 declared more bytes than the image resources
hold, the lookup stopped as if the file stored no slices, and Open and
Place brought the artwork in without the warning that the slices were
left out. The new psdread::resource tells a cut-short resource 1050
apart from one that is absent or that follows another block cut short,
and the slices reader passes that error on, so the warning names it.
Other resource readers keep their behavior.
2026-11-15 08:45:10 -08:00
Dylan M. Taylor 729ed8958d Use shared shaping segment boundaries 2026-11-15 16:43:08 +00:00
dotCooCoo cdd4078907 Paste: Paste without Formatting sets pie legend label contrast from merged swatch colors
Paste without Formatting sets each pie legend label in a wedge to white or
black from the wedge colors before it pastes, but a wedge linked to a global
swatch that the document gives another color takes the document's color
only during the paste (swatchConflict "merge", the default). A light wedge
merged into a dark swatch kept a black label, and a later redraw turned it
white.

The copied colors linked to merged swatches now take the document's color
before the labels are set, so the labels match what a redraw sets. Graphic
style links are left for the paste to relink.
2026-11-15 08:42:15 -08:00
Dylan M. Taylor ef76a71eb6 Merge branch 'codex/shared-shaped-run-caller' into codex/shared-cluster-fallback-caller
# Conflicts:
#	Cargo.lock
#	crates/text/Cargo.toml
2026-11-15 16:40:53 +00:00
Dylan M. Taylor 95d0d368e6 Merge branch 'codex/shared-font-outline-caller' into codex/shared-shaped-run-caller
# Conflicts:
#	Cargo.lock
#	crates/text/Cargo.toml
2026-11-15 16:40:26 +00:00
dotCooCoo f1f4d629e8 Panels: the double triangle on a panel's tab strip cycles its display sizes
A double triangle at the right end of the tab strip of Align, Attributes,
Character, Color, Flattener Preview, Gradient, Info, Paragraph, Stroke,
Transform and Transparency steps the active panel through its display
sizes. The sizes are the states the panel menu's Show/Hide Options items
set (Transparency: thumbnails and options, thumbnails alone, neither),
largest first, and the smallest goes back to the largest.

window.panel.cycleOptions {panel} does the same and returns
{panel, size, sizes}. An unknown panel or a panel without sizes is an
error and changes nothing.

Docs: docs/mcp.md, docs/control-protocol.md, docs/ui-parity.md.
2026-11-15 08:39:43 -08:00