Commit Graph
15500 Commits
Author SHA1 Message Date
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
dotCooCoo e02faf2293 Merge main into fix/trace-noise-nearest-color 2026-11-15 08:38:54 -08:00
dotCooCoo f0ba18f793 Place: the place cursor keeps an encrypted PDF and asks for its password
file.place.queue read each file without a password, so an encrypted
PDF, .ai or .ait file was skipped and never reached the cursor. It now
stays in the cursor at 612 x 792 pt, VectorCraft's own size, with
needsPassword: true and no thumbnail. A click or drag on it in the app
asks for its password, with the Place dialog's Show Import Options on
or off; headless, a click on it places nothing. A file that fails for
a bad option or for another reason is still refused or skipped.

File > Place of an encrypted PDF given a page and no password, with
Show Import Options on, now asks for the password too, as it does with
the option off; it used to fail for want of the password.
2026-11-15 08:36:54 -08:00
dotCooCoo 0cf2aa3f79 Effects: removing or duplicating several aligned effects of a design's art refuses one that no object has
With the art of a graph design in a series given first and aligned: true,
effect.remove and effect.duplicate with `indices` skipped an effect of the
art that no other object has, and edited the others. With art [shadow,
roughen], a mark [shadow] and indices [0, 1], effect.remove took the
mark's shadow off and succeeded. Such an edit is now an error that leaves
the document and its undo history as they are, as the same index given
alone already was. An object that lacks one of the effects while another
object has it is still left out for that effect.
2026-11-15 08:36:31 -08:00
dotCooCoo 94c815d971 Paint: invert and complement of design art alone still reject a bad target
paint.invert and paint.complement given only the art of a graph design,
with no item, returned success for a target other than "object" or
"contents", because the topmost-fill path read the target only after the
early return for design art. The target is now read before that return.
2026-11-15 08:36:20 -08:00
FredApps 5d492ebad2 Merge #7664 (fix/restore-codec-cutover-ci) into feat/cutover-remaining-codecs
Conflicts resolved in favour of main/#7664 in the 13 source files both touched
(doc/cmyk.rs, metafile/dib.rs, pdf images, svg import/files.rs, render paint and
encode tests, trace, engine load.rs), keeping main's newer TIFF/CMYK, DIB and PDF
image fixes. vectorcraft-doc stays on main's version until its CMYK reader moves
to craft-tiff. The image crate keeps its format features, and usvg, tiff,
zune-jpeg, hayro-ccitt and jpeg-encoder stay for the readers not yet moved.
Codec crates pinned to craft-libs d6cd7836d364177661b0ae17f48a0805e83a5f32.

Also fixes the compile errors CodeRabbit flagged (jp2read DecodeOptions,
filters.rs use-after-move) and the encode() arity at d6cd7836d.
2026-11-15 17:35:43 +01:00
dotCooCoo 527a2142d9 Effects: Radial Blur's dialog sends a saved Blur Center outside the bounds at the edge
A Radial Blur whose saved centerX or centerY lies outside 0 to 1 draws
at the nearest edge, and its dialog showed the center there. The dialog
kept the saved value in its fields, though, so OK without moving the
center sent that value, and effect.setParams refused it.

The Blur Center box now writes the center it shows, kept within 0 to 1,
into the dialog's fields on every frame, so OK stores the edge.
2026-11-15 08:35:38 -08:00
dotCooCoo 133e54b970 Gradients: a gradient spanning the selection on a lower stroke fits the box that stroke paints
With span: "selection", paint.setStroke placed the gradient on the union of
each target's topmost stroke box, also when `item` named a lower stroke,
including an aligned row of a graph design's art. With a 40 pt lower stroke
under a 1 pt topmost one, the gradient reached 0.5 pt past the objects
instead of 20 pt. Each target's box is now that of the row it edits.
2026-11-15 08:34:35 -08:00
dotCooCoo 4f09041edc 3D and Materials: the Bevel section's Reset restores only the bevel settings
A Reset button next to Extrude & Bevel's Bevel heading, on the Object
tab of the options dialog and of the 3D and Materials panel, sets Bevel
Shape, Width, Height, Repeat, Space, Bevel Inside and Bevel both sides
back to their defaults. Depth, Twist, Taper, Cap, the rotation, the
lights and the graphics keep their values. In the panel the reset goes
to each selected Extrude & Bevel as one undo step. The button is
unavailable while every bevel setting is at its default, and a setting
the selected effects hold with different values counts as changed.
2026-11-15 08:31:47 -08:00
dotCooCoo 1df834568d Variables: Variable Options fills the field left unset after the Variable changes
Setting the Variable field through ui.dialog.set clears Name and Kind
until a frame fills them from the chosen variable. Setting Name or Kind
alone before that frame marked the fields as filled, so the other field
stayed null and the dialog showed "null" for Name or a blank Kind. OK
already read a null field as the variable's own value, so only the
displayed field was wrong.

A frame now fills every field when the chosen variable changes, and
after that fills only a field that is still null, keeping a field that
was set.
2026-11-15 08:31:19 -08:00
dotCooCoo 9382b0ab0a Place: an import dialog a drop opened places in the document the file was dropped on
A file dropped on a canvas that asks for import options (a layered PSD,
a PDF with several pages, a DXF drawing, a text file) kept only its
placement params in the dialog. The dialog's OK then placed the file in
whichever document was active at that moment, and placed it even when
the dropped-on document had been reverted since.

The drop now carries its target document and revert count in the place
params, as the place cursor's import options carry their token. Placing
checks them on the drop and again on the dialog's OK: the file goes to
the document it was dropped on, which becomes active again, and is not
placed when that document has been closed or reverted. The dialog then
stays open and shows the reason. The checks drop_files ran itself now
run in that one place.
2026-11-15 08:30:35 -08:00
dotCooCoo 521f5dc6c8 Selection: Select Behind keeps one limit of symbol art when it falls back
Select Behind gave the general traversal a fresh limit of symbol art when
it fell back to it, for an envelope in Edit Contents or a root that is
not a layer. One Select Behind could then walk twice MAX_SYMBOL_NODES
objects of symbol art.

A root that is not a layer now sends Select Behind to the general
traversal before the first pass walks any art. For an envelope in Edit
Contents, the objects the first pass found stay first, and the general
traversal finds the rest with what is left of the limit.
2026-11-15 08:30:27 -08:00
dotCooCoo e837dae7b3 Export for Screens: artboard name fields close on a first-frame key and commit when another opens
Escape or Enter pressed in the first frame that draws an artboard's name
field was dropped: the field asked for focus and skipped its key checks,
while the dialog kept itself open for the field. The field now ends the
edit on either key in that frame too.

A double-click on an earlier artboard's name, with both clicks in one
frame, replaced the edit of a later artboard before that artboard's field
was drawn, so the name typed there was lost. The typed name now goes to
its artboard before the new field opens.

Follows #7695.
2026-11-15 08:30:11 -08:00
dotCooCoo d089df0ab5 Recolor Artwork: Find tries every lighter tint down to 1%
When a selected row listed the twenty tints from 25% through 6% of a color
of an unselected row, Find left that color undimmed although its 5% tint
was free. The search now tries each tint a percent apart from 25% down to
1% before leaving a color as it is.
2026-11-15 08:28:08 -08:00
dotCooCoo 2dceb279d3 Merge main into fix/graph-axes-group-edits-kept 2026-11-15 08:25:28 -08:00
dotCooCoo d39334a751 Graphs: a row written to an axis line is kept for its kind
appearance.addFill and appearance.addStroke on an axis line, tick mark
or radar ring stored only the attributes the new row changed on the
line, so a stroke the kind kept from another line came back when the
graph was drawn again, although the line showed the new black stroke.
They now store the row they add for the line's kind when it becomes the
line's topmost visible row of its kind.

An appearance.copyFrom of some attributes, appearance.setItem and
stroke.set stored only what they changed, so a paint, stroke weight,
row opacity or blend mode that the line already showed did not replace
what its kind kept. What they write to the line's topmost visible rows
is now stored for the kind, as paint.setStroke stores the paint it
writes. Row opacity and blend mode are stored apart, so an edit of one
leaves the other as the kind keeps it, and a null weight or opacity
writes nothing.
2026-11-15 08:25:21 -08:00
FredApps 1a9fc9fbe2 Merge remote-tracking branch 'origin/main' into pr7664 2026-11-15 17:24:49 +01:00
dotCooCoo 93c7f4d88b Merge main into fix/pdf-dont-include-profiles-removes-image-profiles 2026-11-15 08:19:34 -08:00
dotCooCoo ccbfc61b46 Merge main into feat/kurikaeshi-moji-shori 2026-11-15 08:19:29 -08:00
dotCooCoo 1bdac35a94 Merge main into fix/pdf-preserve-numbers-tagged-images 2026-11-15 08:19:22 -08:00
dotCooCoo 4573e47ab8 Merge main into feat/3d-classic-black-overprint 2026-11-15 08:19:15 -08:00
dotCooCoo d1801950c5 Graph Data: a column drag keeps its width while scrolling and ends where released
A column's dragged width is now its width when the drag started plus
how far the pointer has moved since. Before, it was measured from the
sheet's scroll origin, so with the sheet scrolled to its right end a
held drag that narrowed a column kept narrowing it to 0 as the scroll
offset followed the narrower sheet.

A release that comes in the same frame as the last move now sets the
width to where the pointer was released, also for an edge dragged out
of view.

Entering the width Column Width already shows, with Enter, now sets
every column, the dragged ones too. Clicking into the field and away
without a new value keeps the columns' own widths.
2026-11-15 08:18:42 -08:00
dotCooCoo 77fa739f2f Merge main into fix/live-paint-shift-triple-click-joined-faces 2026-11-15 08:08:20 -08:00
dotCooCoo e5f5bbd836 Merge main into feat/contextual-task-bar-smooth-free-transform 2026-11-15 08:07:59 -08:00
dotCooCoo 531ce2a10e Effects: Safe Mode checks graph design art that a blurred fill of its series group draws
effect.expandAppearance in Safe Mode left the art of a graph design in a
series out of the plug-in check unless an effect of the series group
itself would draw it. A raster effect on one of the group's fills or
strokes, such as a Gaussian Blur, also turns the whole group into an
image when it expands, art included, so a plug-in effect in that art was
expanded without drawing. Such a raster effect now keeps the art in the
check, and the command returns the Safe Mode error.
2026-11-15 08:07:49 -08:00
dotCooCoo dc7de14000 Merge main into feat/3d-classic-light-sphere 2026-11-15 08:07:20 -08:00
dotCooCoo bd26f7175a Merge main into feat/3d-soft-shadows 2026-11-15 08:07:14 -08:00
dotCooCoo 7bfc837270 Merge main into feat/variables-import-entry 2026-11-15 08:07:13 -08:00
dotCooCoo 3f2b97a428 Merge main into fix/peek-stays-until-pointer-moves 2026-11-15 08:07:03 -08:00
dotCooCoo 73bf23dfc0 Merge main into fix/one-point-brush-continuation-keep-selected 2026-11-15 08:07:01 -08:00
dotCooCoo 2ed01a3b89 Merge main into feat/diacritic-position 2026-11-15 08:06:45 -08:00
dotCooCoo f0a154a8ed Merge main into fix/pdf-knockout-overprint-isolation 2026-11-15 08:06:45 -08:00
dotCooCoo fc6196d91f Merge main into feat/variables-data-set-box-rename 2026-11-15 08:06:29 -08:00
dotCooCoo dfc70cc825 Merge main into fix/symbol-controls-spacer-keeps-transform-room 2026-11-15 08:06:16 -08:00
ruchirguitar 104a844da1 feat(ui): implement Check Spelling modal dialog (#4936)
# Conflicts:
#	docs/roadmap.md
2026-11-15 21:33:12 +05:30
dotCooCoo 1d4c9370ae Merge main into fix/i18n-justification-order-message 2026-11-15 08:00:11 -08:00
dotCooCoo c4b7ea737c Merge main into fix/graph-axis-paint-kept 2026-11-15 07:59:28 -08:00
dotCooCoo ae90072bb0 Merge main into fix/singular-messages-translated 2026-11-15 07:56:28 -08:00
dotCooCoo e52b00a4f0 Merge main into fix/js-interp-errors-translated 2026-11-15 07:56:05 -08:00
dotCooCoo af3947d874 Merge main into feat/packaging-fold-roles 2026-11-15 07:55:44 -08:00
dotCooCoo b5c6b9b443 Merge main into fix/french-rows-use-a-no-break-space-before-as-fr 2026-11-15 07:55:03 -08:00
dotCooCoo 89f1415af7 Merge main into fix/svg-blur-by-direction 2026-11-15 07:55:03 -08:00
dotCooCoo 06c4efc9b6 Merge main into feat/3d-panel-export-3d-object 2026-11-15 07:54:51 -08:00
dotCooCoo c0f911b60d Merge main into fix/directional-pixel-effects-before-a-rotating-or 2026-11-15 07:54:40 -08:00
dotCooCoo 7be5dce0e2 Merge main into fix/intertwine-hit-walk-limit 2026-11-15 07:54:36 -08:00
dotCooCoo 4c708145d4 Merge main into fix/outlined-strokes-under-a-non-uniform-type 2026-11-15 07:54:34 -08:00
dotCooCoo 40fae29ae4 Merge main into feat/properties-graph-section 2026-11-15 07:54:34 -08:00
dotCooCoo cf008484a1 Merge main into fix/the-liquify-warning-s-tool-name-and-object-kinds 2026-11-15 07:54:14 -08:00
BFlat bd67a010f6 Merge pull request #7827 from dotCooCoo/feat/ai-export-writes-kinsoku-kinsoku-shori-type
.ai export: paragraphs keep Kinsoku, Kinsoku Shori Type, Burasagari and Bunri-Kinshi
2026-11-15 22:45:05 +07:00
BFlat 9c2f6ec53d Merge pull request #7838 from dotCooCoo/feat/ai-save-nested-envelope-editable
.ai import: an envelope straight in another envelope's contents block opens live inside it
2026-11-15 22:44:56 +07:00