Commit Graph
19258 Commits
Author SHA1 Message Date
dotCooCoo 7f4e3077f0 3D: Export 3D Object writes the art mapped onto a Revolve's side
Export 3D Object wrote a Revolve as one plain mesh, so graphics mapped
onto its side were left out of the file. The side's triangles are now a
mesh of their own with a PNG texture, as Extrude & Bevel's caps and the
plane already export.

- three-d: revolve_mesh_surface gives, for each triangle of the side,
  the point of the unrolled side each corner shows, from the same layout
  the drawn faces carry (SurfaceCell): around the axis, the angle times
  the distance from it; along the profile, its length. End caps, cut
  sides and other contours of a compound profile carry none.
- effects: a Revolve with graphics splits its mesh into the side, with
  those points as its MeshGraphics art about the side's middle, and the
  rest. In a group, the graphics go on the side of the member with the
  longest profile, as the canvas draws them. A Revolve without graphics
  builds the same single mesh as before.
- The params text of assets.export3D, docs/mcp.md and the progress line
  in docs/target-app-parity.md describe the side textures.
2026-11-17 18:46:19 -08:00
dotCooCoo 25fb15f5d3 Preferences: Interpolate Control Points When Moving Anchors has a description sentence
The Preferences dialog's description line needs one sentence for every General setting, and every catalog a row for it.
2026-11-17 18:46:16 -08:00
dotCooCoo a83354cd99 Type: the scatter-brush Document filter test reads through the menu's cache
The test keeps one menu state with the Document filter on, so the
deletion and its undo have to replace the cached families.
2026-11-17 18:43:10 -08:00
dotCooCoo f2a48d2a30 Color: Refresh Monitor Profile's reader doc says when a request is dropped
A frame that finds Use Monitor Profile for Canvas off drops a waiting
request; a request made with the preference on is kept when the
preference goes off and on again between two frames.
2026-11-17 18:39:01 -08:00
dotCooCoo 46776a81ca Path Precision Tools: Smooth Bridge keeps huge circles' outlines finite
The bridge's distance and arc-center math no longer squares lengths, so
circles larger than about 1e154 pt are bridged instead of refused, and
an outline that would not fit in f64 is refused instead of written with
non-finite anchors.
2026-11-17 18:38:11 -08:00
dotCooCoo bb8f7a4f53 Part of #8432: Copy and Cut take the text selected in a panel, not the art
Text selected in a panel's label (a Document Info value, an Info panel
readout) could not be copied: Cmd+C, Cmd+X and the menu bar's Copy and
Cut always ran Edit › Copy or Cut, so the clipboard got the selected
art as SVG instead of the selected text.

- With label text selected, Copy and Cut copy that text and leave the
  art. When no label copies anything (its panel is hidden), the art is
  copied in the next frame. Formats an earlier Copy or Cut has not
  written to the system clipboard yet are dropped, so they do not
  replace the copied text.
- A floating panel's window whose label copied its text no longer
  copies the art after it. A Copy sent on from another window (a
  floating document's) copies the art, not text still selected in the
  main window's panels.
2026-11-17 18:37:56 -08:00
dotCooCoo c3e17182e1 Docs: layer.highlight uses a set past 8 valid ids in every mode
The line for layer.highlight said set and add always look rows up in a
set. The command builds the set in every mode only when more than 8 ids
name objects after the list is cut to 100,000; with fewer it searches the
rows. The Layers panel's range preview always uses a set.
2026-11-17 18:37:44 -08:00
dotCooCoo df8c880997 Shapes: the catalog tests require translations of Show and Hide Shape Widgets
View > Show Shape Widgets and Hide Shape Widgets are listed in
DYNAMIC_LABELS, so the catalog tests check every complete catalog for
both labels.
2026-11-17 18:37:15 -08:00
dotCooCoo 94fee63cc1 Fill Area: the large-document test presses while a hover search runs
The pointer leaves the area to start a search on another thread before the press, so the test covers a click that waits for that search, and it checks that the press settles it.
2026-11-17 18:32:27 -08:00
dotCooCoo 3a42ec2168 i18n: French Use Monitor Profile message has no-break spaces inside « »
The row for "turn on Use Monitor Profile for Canvas first" had ordinary
spaces after « and before »; it now uses U+00A0 like the other
guillemets in fr.tsv.
2026-11-17 18:28:55 -08:00
dotCooCoo 9135a98186 Revert dialog scrolling; it moves to its own pull request
This reverts commit ae1afda79d. Dialogs that are too large for the window are handled in a separate pull request.
2026-11-17 18:28:32 -08:00
dotCooCoo 8486bd1892 Save for Web: pixels of a transparent color that does not fit in a fixed palette stay transparent
With transparent pixels and Colors at 256, a custom palette of one opaque color and 255 colors mapped to transparent has no room for the last of those, and its pixels took the nearest entry left, which could be the opaque color. Such pixels now take the transparent entry when their nearest color is one that did not fit.
2026-11-17 18:27:15 -08:00
dotCooCoo 67ee9657ac Rerun CI 2026-11-17 18:24:55 -08:00
dotCooCoo ed991619f0 Merge main into feat/display-profile-read-again 2026-11-17 18:24:55 -08:00
dotCooCoo dedc6a5433 Rerun CI 2026-11-17 18:24:53 -08:00
dotCooCoo 3d10886c66 Rerun CI 2026-11-17 18:24:51 -08:00
dotCooCoo 6caa857cf1 Brushes: Chevron Arrow's second chevron keeps its length on a long path
Chevron Arrow stretches only the shaft before its second chevron, so
both chevrons keep their length however long the path is. The Bundled
content row counts the Arrows library.
2026-11-17 18:24:19 -08:00
dotCooCoo ced9eefa1f Color: test that built-in CMYK profiles separate saturated inks back
The colorimetric table of each built-in CMYK profile is checked on
solid and two-color overprint inks: CMYK to the connection space and
back through the profile's own tables lands within a Delta E 2000 of 3
of the original inks.
2026-11-17 18:21:31 -08:00
dotCooCoo 22d799fd41 Shapes: the Circle tool shows no circle its anchored path cannot draw
With Standard Anchors off, a circle near the canvas edge whose path with
anchors at the points curves past the edge is no longer previewed or
drawn, as shape.circleThroughPoints refuses it.
2026-11-17 18:19:38 -08:00
dotCooCoo c66272a9e3 Layers: in Draw Behind a new layer goes directly below the current layer
layer.new without `top` or `below` now reads the drawing mode: in Draw
Behind the new layer goes directly below the current layer, at its level
(a sibling below a current sublayer), as the help page describes
(https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=234).
The Layers panel button, the panel menu, Ctrl/Cmd+L and the Layer
Options dialog all go through layer.new. `top` and `below` keep their
meaning in every mode, Draw Normal and Draw Inside keep a new layer
above the current one, and New Sublayer is not affected.
2026-11-17 18:19:14 -08:00
dotCooCoo 958b5645f3 Save PDF: a link button keeps the four bleed values the same
Marks and Bleeds in the Save PDF dialog and the PDF preset editor gets a
link button beside Top, Bottom, Left and Right. While it is on, editing
one value sets all four; turning it on gives every side the top value.
It opens on when the four values are equal, and choosing a preset or
Reset sets it again from that preset's values. With Use Document Bleed
Settings on, the button is grayed out and the custom values stay as they
were. The link is not an export option or a preset setting;
ui.dialog.set sets it as __bleedLinked and refuses anything other than
true or false.
2026-11-17 18:16:26 -08:00
FredApps df9483b839 Fix #7242: confined package report test uses native path components
The unconfined report path for an existing link is built from native
path components so Windows separators match the package report. JSON
assertions use the path encoded the same way Value::to_string does,
and the unconfined Document Info check reads the report text field.

Signed-off-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 09:15:25 +07:00
dotCooCoo cb1689c3a8 Tests: the menu dialog command list counts Tracing Presets beside main's new entry
Main's list already grew to 40 entries; with Tracing Presets… it holds 41, and the comment names the Edit menu's preset dialogs.
2026-11-17 18:14:15 -08:00
dotCooCoo 18cf1d7a93 Hide Bristle tip after post-commit selection 2026-11-17 18:13:58 -08:00
dotCooCoo fecf69fc58 Symbols: symbol.adjust collects instances in linear time
symbol.adjust checked each symbol instance in the selection against
every instance it had already collected, so I instances cost about
I^2/2 comparisons on every call, and the symbolism tools call it on
every drag frame. It now keeps a HashSet of the ids it has pushed. The
list is unchanged: the same ids in the same walk order, each kept where
it is first reached.

A unit test checks the result for nested groups, a group listed twice
and members listed before and after their group, and compares it with
a copy of the old collector.
2026-11-17 18:12:55 -08:00
dotCooCoo 060eaf11b6 i18n: Polish Artboard edge button tooltip calls the art kompozycja
The Alt-click tooltip said "wraz z grafiką" for the artboard's art; the
Polish catalog's term for artwork is kompozycja.
2026-11-17 18:12:30 -08:00
dotCooCoo fbf6b4144b Merge main into feat/artboard-edge-button-tooltips 2026-11-17 18:11:36 -08:00
dotCooCoo 149b9dc93c Docs: the PDF format entry appears once
docs/target-app-parity.md listed the SVG/SVGZ and PDF format entry twice; the shorter copy is removed and the entry that also names the .ai and EPS image sources stays.
2026-11-17 18:10:09 -08:00
dotCooCoo e144392bec Shapes: shape.circleThroughPoints refuses a null anchors 2026-11-17 18:09:52 -08:00
dotCooCoo 2680669154 Brushes: the progress documents list the Decorative library
The G5 entry in docs/gaps.md, the Strokes and Bundled content rows and the brush library evidence in docs/target-app-parity.md, the M10 row in docs/roadmap.md and the docs/ui-parity.md checklist row name Decorative and count eleven generated libraries.
2026-11-17 18:09:16 -08:00
dotCooCoo 5f134efb52 Brushes: the progress documents count the Engraving library
The Strokes rows and the Bundled content row in docs/target-app-parity.md and the M10 row in docs/roadmap.md count eleven generated libraries and name Engraving, and the docs/ui-parity.md checklist row lists it.
2026-11-17 18:09:16 -08:00
dotCooCoo ae1afda79d Fix #5941: dialogs too large for the window scroll instead of running off the screen
A dialog taller than the app window was drawn past its top and bottom
edges, with no scroll bar, so its first options and its buttons could not
be reached. At 1024 by 480 this happened to SVG, EPS and DXF Options,
Save PDF, Save for Web, Export for Screens, Print, Preferences, Keyboard
Shortcuts, New Document and Find Font.

- The body of a shared dialog scrolls while the dialog would be taller
  than the window, and its heading and buttons stay in view.
- A dialog window without such a body (Preferences, Keyboard Shortcuts,
  New Document, Find Font) scrolls as a whole while it is taller or wider
  than the window, at the 800 by 500 minimum window size too.
- Dialogs that already size their lists from the window's height
  (Character and Paragraph Style Options, the Color Picker, Import
  Shortcut Set and the dialogs that use scrolled_rows) are not scrolled
  again.
- A dialog that is closed and opened again starts at its top, for its
  scrolling body, its scrolled_rows and the window as a whole, instead of
  where it was left.
- Save for Web in a window narrower than its full layout (800 pt, the
  smallest window) draws its preview panes narrower, down to 240 pt, so
  the settings column and the buttons stay in view instead of scrolling
  off to the side.
- A field being edited keeps its text and focus when the window is resized
  so that the dialog starts or stops scrolling: its contents keep their
  ids either way.

Tests: the Save for Web settings and the Print sections show their bar at
rest; the export option dialogs at 1024 by 480 stay on screen with their
buttons in view and their bar drawn; Preferences, Keyboard Shortcuts, New
Document and Find Font at 800 by 500 stay on screen with their bar drawn;
Save for Web at 800 by 500 shows its settings and buttons and no sideways
bar; a modal window scrolled with the wheel opens again at its top, both
when it scrolls as a whole and when its rows scroll; a field keeps its id
when the body or the window starts or stops scrolling. The Print test that
types into Scale W picks W as the leftmost of the matching fields, since
the accessibility tree lists its nodes in no particular order.
2026-11-17 18:09:03 -08:00
dotCooCoo abf1a917d0 i18n: Polish preference descriptions call art and artwork kompozycja
Fourteen Polish rows that came in with main's preference descriptions
named art and artwork grafika. They now use kompozycja in the case each
sentence needs, as polish_rows_call_artwork_kompozycja requires.
2026-11-17 18:04:33 -08:00
dotCooCoo 21e0b780e7 Path Precision Tools: Common Tangents draws the lines from a point to a closed path
Common Tangents (addon.pathtools.commonTangents) now also takes a point,
a path of one anchor, together with a convex closed path. The lines run
from the point to where they touch the path: two from a point outside
it, one from a point on its outline (centered on the point and as long
as the path is wide along it, or the whole straight side the point lies
on), and none from a point inside, which leaves the document unchanged
and returns a warning. Centerline adds the line from the point to the
path's center. Every Tangents value gives the same lines; two points
are refused.

The geometry treats the point as an outline whose support value is
p . n, so the existing root search finds the lines.

Docs: docs/mcp.md, docs/target-app-parity.md, ROADMAP. The new warning
has a row in every catalog.
2026-11-17 18:03:55 -08:00
dotCooCoo bbfa29789b Rerun CI 2026-11-17 18:02:24 -08:00
dotCooCoo 89b0c5b72b Width Point: stroke.widthPoint.set refuses outgoing widths without outIndex
A call with outLeft or outRight but no outIndex set the incoming point
alone and reported success, so the outgoing widths were dropped. It is
now refused as a missing outIndex, and the document and history stay
as they are.
2026-11-17 18:01:57 -08:00
dotCooCoo 0637f14bfd Keep Bristle tip in sync with Alt release 2026-11-17 18:01:35 -08:00
dotCooCoo 254226aff6 Brushes: the progress documents list the Arrows library
The brush library evidence in docs/target-app-parity.md names Arrows and describes its five brushes, the Strokes rows and the M10 row in docs/roadmap.md count eleven libraries, and the docs/ui-parity.md checklist row lists Arrows.
2026-11-17 17:58:12 -08:00
dotCooCoo 57ca95712d Merge main into feat/edit-tracing-presets 2026-11-17 17:57:15 -08:00
dotCooCoo 5ac41ee089 Save for Web: Delete Color skips selected colors the table no longer shows
A selection made before the reduction or the color count changed, or set
through ui.dialog.set, could name a color the table no longer holds. Delete
Color stayed enabled for it, added the absent color to colorTable.deleted
and fixed the table as a Custom palette although no shown color was
deleted. Delete Color is now enabled only for selected colors the table
shows and deletes only those; a selection with none of them is cleared and
the table is left unchanged.
2026-11-17 17:56:55 -08:00
dotCooCoo 94606cb867 i18n: French and Traditional Chinese plane positioning rows follow their catalogs
The French row for "Automatic Plane Positioning is off" uses a colon with
a no-break space before it, as the French catalog's other messages do. The
Traditional Chinese row puts the setting's name in 「」, as the catalog's
header asks for the name of a setting.
2026-11-17 17:56:49 -08:00
dotCooCoo 688baab2db Layers: a Shift-click range looks rows up in a set instead of searching them for each row
layer.highlight searched the highlighted rows once for every id it was
given, so a range of n rows took about n^2/2 comparisons, and the panel's
preview of the rows (apply_row_click) did the same before sending the
command. Both now keep a set of the highlighted rows beside the ordered
list. layer.highlight builds the set only for more than 8 ids, so a
one-row Ctrl/Cmd-click toggle does not pay for it.

The rows, their order, the returned rows, the current layer and the
revision are unchanged; tests compare the command with the per-id search
on 3,000 rows and the widget with it on 5,000 rows.
2026-11-17 17:52:43 -08:00
dotCooCoo 200bea74af Select: Next Object Above and Below check only the selected object's siblings
Each press collected every object Select All can reach into a set and then
tested only the siblings of the selected object. The siblings are now tested
one at a time against the layers and groups that hold them, with the same
rules as the walk: sublayers and the ruler guides of a layer are passed over,
and an isolated object on its own is the one there is to select. The selected
object is the same.

A random-document test compares every node and every step, isolation mode
included, with a copy of the earlier search. On 100,000 rectangles a step
took a median of 11.5 ms of thread CPU time before and 0.08 us after
(next_object_perf, release build).
2026-11-17 17:52:37 -08:00
dotCooCoo ad00ab8c8f Preserve loaded Artistic library name before built-in alias 2026-11-17 17:51:26 -08:00
dotCooCoo e69c4f880d Merge main into fix/pl-catalog-translates-art-artwork-two-ways-in 2026-11-17 17:50:58 -08:00
dotCooCoo 385b4c5e82 Cut: direct-selection Cut removes whole and emptied paths in one pass per parent
Cut with direct-selected anchors or segments removed each object selected
whole, and each path it left with no segment, with its own remove. Every
removal shifted the siblings after it, so later lookups walked the
document's tree again. With 2,000 roots removed whole, the old loop
walked the tree 10,005 times.

These removals now go through the same batch that already places the
surviving pieces, which rebuilds the children of each layer or group
once, and compound paths left with no members are removed after it. A
compound path left with one member stays a compound path. The document,
the selection, the clipboard and the undo step are the same as before.

With 2,000 of 10,000 squares on one layer selected whole and two anchors
of another picked, Cut walks the tree 8 times instead of 10,005 and
takes a median of 11 ms of CPU time instead of 573 ms (release build on
Linux, seven alternating runs in one process).
2026-11-17 17:49:21 -08:00
dotCooCoo cbee69ef49 i18n: French Smooth Bridge message takes a narrow no-break space before the colon 2026-11-17 17:47:23 -08:00
dotCooCoo 1d9529e239 Preferences: Devices settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for Enable
Touch Workspace and for Enable Touch Gestures when the pointer is over
the row or its box has the keyboard focus. A screen reader gets the same
sentence as the control's description. Every complete catalog has a row
for each one.

The sentences state what VectorCraft does today: with Enable Touch
Workspace on, a touch screen switches to the Touch workspace, and turning
the setting off or losing the touch screen goes back to the workspace it
switched from. With Enable Touch Gestures on, a two-finger tap on the
canvas undoes, or switches between selection and drawing tools in the
Touch workspace, and a three-finger tap redoes; neither tap runs a
command in Presentation Mode.

Tests: the one-sentence test covers the Devices category, and new tests
check the hover and keyboard-focus sentences of both rows.
2026-11-17 17:47:00 -08:00
dotCooCoo b4c40b3f8a Merge fix/shear-angle-range into fix/transform-panel-shear-range 2026-11-17 17:46:57 -08:00
dotCooCoo 5cf3ac5beb i18n: use a narrow no-break space before the semicolon in the French compound shape warning
The French row for the Make Compound Shape warning had an ordinary space
before ";", which french_catalog_uses_nonbreaking_prose_punctuation
rejects on main. It now uses U+202F.
2026-11-17 17:45:22 -08:00