Commit Graph
12781 Commits
Author SHA1 Message Date
.CooCoo 92f88c04a6 Merge pull request #10909 from dotCooCoo/fix/ci-nextest-archive
CI: build the tests once and run every shard from a nextest archive
2026-12-05 07:35:28 -08:00
.CooCoo 48c7b50394 Merge pull request #10942 from dotCooCoo/fix/live-corners-anchor-add-delete
Live Corners: adding or removing an anchor keeps the corners live
2026-12-05 07:34:48 -08:00
.CooCoo b1f9008704 Merge pull request #10124 from dotCooCoo/feat/screen-print-marks
Color Effects: Create Screen Print Marks draws registration targets and ink lines
2026-12-05 06:56:26 -08:00
.CooCoo 6e8fc587d1 Merge pull request #10917 from dotCooCoo/fix/dxf-hatch-pattern-gradient
DXF/DWG import: pattern hatches keep their pattern and gradient hatches their gradient
2026-12-05 06:55:46 -08:00
.CooCoo 7aefbb8cee Merge pull request #9060 from dotCooCoo/feat/scripts-api-d10-print-options
Scripts: Document.print prints to a file with PrintOptions and its option classes
2026-12-05 06:52:50 -08:00
.CooCoo b62403e27b Merge pull request #10943 from dotCooCoo/fix/style-and-gallery-previews-keep-canvas-clear
Dialogs: Effect Gallery and Bullets and Numbering leave the canvas undimmed
2026-12-05 06:46:27 -08:00
.CooCoo e58d945341 Merge pull request #10638 from dotCooCoo/fix/retrace-keeps-note-and-tags
Image Trace: tracing again keeps the tracing's note and tags
2026-12-05 06:41:34 -08:00
.CooCoo 5e108fd768 Merge pull request #9059 from dotCooCoo/feat/scripts-api-d11-perspective-presets
Scripts: documents show, hide and set their perspective grid, and app gives preset settings
2026-12-05 06:34:26 -08:00
.CooCoo fe85d77d40 Merge pull request #10947 from dotCooCoo/fix/dwg-version-messages
DWG import: a drawing of a version the reader skips names its version
2026-12-05 06:28:45 -08:00
dotCooCoo 9706d36bc6 Merge main into feat/scripts-api-d10-print-options 2026-12-05 06:19:46 -08:00
dotCooCoo a7ccac35c6 Merge main into fix/style-and-gallery-previews-keep-canvas-clear
Takes main's craft-libs rev 4f3e34d0dd. Character Style Options and Paragraph Style Options canvas support and their two tests move to #10953, which waits on storytold/craft-libs#5510.
2026-12-05 06:15:14 -08:00
.CooCoo e967ac86a8 Merge pull request #10872 from dotCooCoo/fix/agents-folders-report-enforced-roots
Agents: agent_folders shows the folders the open window enforces
2026-12-05 06:14:48 -08:00
dotCooCoo 1a4646a2b5 Merge main into feat/screen-print-marks 2026-12-05 06:11:53 -08:00
dotCooCoo fe5226642b Merge main into fix/dxf-hatch-pattern-gradient 2026-12-05 06:08:56 -08:00
dotCooCoo 6ab4837d33 Merge main into fix/live-corners-anchor-add-delete 2026-12-05 05:47:47 -08:00
dotCooCoo bdb87ce714 Live Corners: map removal successors in one pass over the subpaths
Remove Anchor Points mapped each subpath's next anchor to the path as
drawn with `LiveCorners::drawn_anchor`, which counted the anchors of
every earlier subpath again for each one. `LiveCorners::drawn_anchors`
maps the whole set while walking the subpaths once.

The docs now say that Remove Anchor Points selects the next anchor of
the uncut outline, which can be an anchor added on a side as well as a
corner.
2026-12-05 05:47:42 -08:00
dotCooCoo 528b41abfb Merge main into fix/ci-nextest-archive 2026-12-05 05:35:10 -08:00
dotCooCoo 0f52b4e6ad Merge main into fix/retrace-keeps-note-and-tags 2026-12-05 05:34:30 -08:00
dotCooCoo c0310d1c6b Merge main into feat/scripts-api-d11-perspective-presets 2026-12-05 05:34:30 -08:00
.CooCoo f3063222f8 Merge pull request #10926 from dotCooCoo/feat/revolve-rendered-groups
3D: Revolve renders on groups and on fills and strokes
2026-12-05 05:34:30 -08:00
dotCooCoo e7f3584f5f Docs: list the AD1006 and unlisted DWG codes the reader refuses 2026-12-05 05:27:59 -08:00
dotCooCoo 81c7d60ea6 Live Corners: an added anchor keeps only the selected segments' ends selected
Adding an anchor on a side of a path with rounded Live Corners moved
each selected anchor to every anchor of its corner. The ends of a
selected segment are selected anchors, so a selected side also selected
the far ends of the arcs at its two corners, and an arrow-key nudge
then moved those anchors too. The ends of selected segments now follow
the segments instead: after the addition, only the ends of the
segments as drawn are selected. Anchors selected on their own still
select their whole corner.

A plain path no longer builds its corner layout for Add Anchor Point,
Delete Anchor Point or Remove Anchor Points before falling back to the
plain edit, and Add Anchor Point builds it once for the cut check and
the selection. The selected segments are matched to the new layout
through one lookup per subpath instead of a scan for each segment.

docs/mcp.md and the Live Corners entry in docs/target-app-parity.md
now say that removing anchors clears the path's selected anchors and
segments, and that Remove Anchor Points selects the anchor before the
removed one at an open path's end.
2026-12-05 05:20:08 -08:00
.CooCoo 52b449ea70 Merge pull request #9099 from dotCooCoo/feat/print-per-job-settings
Print: Print as Bitmap prints at advanced.bitmapResolution
2026-12-05 05:15:32 -08:00
dotCooCoo 70273996ec Docs: Revolve on a group draws shaded faces for a see-through member
A painted member whose own opacity, or the opacity of a nested group
holding it, is below 100% makes Revolve draw the shaded faces instead of
one image.
2026-12-05 04:51:23 -08:00
dotCooCoo 96664d190f Merge main into fix/agents-folders-report-enforced-roots 2026-12-05 04:50:25 -08:00
dotCooCoo 557254d7f0 Merge main into fix/dwg-version-messages 2026-12-05 04:47:00 -08:00
dotCooCoo 1215d59e00 DWG import: a drawing of a version the reader skips names its version
Opening or placing a DWG drawing whose version code the converter does
not read now fails with a message that names the version and says to
save the drawing as DXF, or as a DWG from R10 to 2018. That covers R1.0
to R9 (MC0.0, AC1.2 to AC2.22, AC1001 to AC1004), codes newer than
AC1032 and unknown codes. Before, R2.5 to R9 drawings went to the
converter and failed with its own error, and R1.x and R2.x drawings got
a message that did not name the version. Version names follow
https://en.wikipedia.org/wiki/.dwg#Version_history.

A drawing that starts with an AD10nn code is read as a DWG drawing, as
the converter reads AD1009 and AD1012 to AD1032; before, it was read as
DXF and failed with "not a DXF drawing". A file that holds only a
version code says it is cut short.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-12-05 04:46:50 -08:00
dotCooCoo a18f164eac Merge main into feat/scripts-api-d10-print-options 2026-12-05 04:46:21 -08:00
dotCooCoo 8d06034b96 Merge main into fix/style-and-gallery-previews-keep-canvas-clear 2026-12-05 04:39:13 -08:00
.CooCoo 5164c977d0 Merge pull request #10918 from dotCooCoo/fix/new-type-new-art-appearance
Type: new type takes new art's fills, strokes and effects
2026-12-05 04:35:37 -08:00
dotCooCoo f5a9bc56ce Merge main into feat/revolve-rendered-groups 2026-12-05 04:35:10 -08:00
.CooCoo b59ae808b8 Merge pull request #10940 from dotCooCoo/fix/recolor-picker-canvas-clear
Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
2026-12-05 04:35:10 -08:00
dotCooCoo 590067c3de Merge main into feat/print-per-job-settings 2026-12-05 04:33:55 -08:00
dotCooCoo f26f8601e3 Merge main into fix/live-corners-anchor-add-delete 2026-12-05 04:31:47 -08:00
.CooCoo 9bdfcf7347 Merge pull request #10925 from dotCooCoo/fix/anchor-tools-type-on-path
Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
2026-12-05 04:25:59 -08:00
.CooCoo 969905d25a Merge pull request #10938 from dotCooCoo/fix/previewing-dialogs-keep-canvas-clear
Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
2026-12-05 04:19:46 -08:00
dotCooCoo e69d6c6fcb Dialogs: Effect Gallery, Bullets and Numbering and the text style options leave the canvas undimmed
Effect Gallery, Bullets and Numbering, Character Style Options and
Paragraph Style Options preview on the canvas, but the modal layer
dimmed it, so the preview did not show its true colors, and the wheel
over the canvas did nothing while they were open.

- Effect Gallery and Bullets and Numbering store the current window's
  canvas (`preview_canvas`) when they open and keep its view open from
  the dialog body (`Sampler::keep_view_open`), as ParamDialog does.
- Character Style Options and Paragraph Style Options pass the canvas
  to `PropertiesDialog::canvas`. New Character Style and New Paragraph
  Style do not preview and still cover the canvas.
- Every craft-libs rev moves to the head of storytold/craft-libs#5510,
  which adds `PropertiesDialog::canvas`.

Part of #10590.
2026-12-05 04:03:28 -08:00
dotCooCoo c2f50261b0 Merge main into fix/style-and-gallery-previews-keep-canvas-clear 2026-12-05 03:59:43 -08:00
.CooCoo 37dd394ea9 Merge pull request #7051 from dotCooCoo/feat/concept-to-vector-providers
Concept to Vector: offline Image Trace styles behind a provider boundary
2026-12-05 03:57:28 -08:00
dotCooCoo 116da84bc5 Live Corners: adding or removing an anchor keeps the corners live
Adding an anchor with the Pen or Add Anchor Point tool, or removing one
with the Pen, Delete Anchor Point, Remove Anchor Points or the Delete key
with Delete Removes Anchor Points and Keeps Paths Joined on, turned a
path with rounded Live Corners into a plain path: the arcs were baked
into anchors and the corner widgets disappeared.

path.insertAnchor now adds the anchor on the matching side of the uncut
outline, at the point the drawn segment has at t, and cuts the corners
again at their radii and kinds. path.removeAnchor and path.removeAnchors
remove the uncut corner each removed anchor belongs to, so removing
either end of a corner's arc removes that corner and the others stay
live; a path left with no corner is removed. A relative radius keeps the
length it is drawn at, up to the corner's new largest radius. Selected
anchors and segments follow their corners, a split selected segment
stays selected as its two halves with the new anchor, and Remove Anchor
Points selects the first anchor of the next corner.

An anchor added on a corner's arc still makes the path plain, and the
status bar now says the corners were expanded.

Docs: docs/mcp.md, the params text of path.insertAnchor,
path.removeAnchor and path.removeAnchors, and the Live Corners entry in
docs/target-app-parity.md.
2026-12-05 03:55:56 -08:00
dotCooCoo 664d50c328 Type: a selected look matching the redefined default still styles new type
With New Art Has Basic Appearance off, new type took nothing from a
selected object whose fills, strokes and effects matched the document's
redefined Default Graphic Style without a link to it (after Break Link
to Graphic Style, for example), because the check that keeps type plain
for the document's default look also caught a look taken from the
selection. That check now applies only to the look paint.default gives,
so new type takes the selection's fills and effects, and new type made
after paint.default still keeps its characters' color.
2026-12-05 03:47:38 -08:00
dotCooCoo a1a77ebf84 Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
Recolor Artwork previews its colors on the art, but its modal layer
dimmed the whole window, canvas included, so the preview could not be
judged. The dialog now keeps the canvas of the window it opened in open
under its modal layer, as the Color Picker and the color adjustment
dialogs do: no scrim over it, and the wheel still scrolls and zooms the
view. Other presses on the canvas stay blocked.

A Color Picker opened from a row's new color also keeps the canvas
undimmed. The picker now registers the canvas, and while it is open over
Recolor Artwork the dialog below draws no scrim of its own, so the
picker's layer is the only one that dims the window.

While the Color Theme Picker is on, its clicks and Shift-drags on the
art now reach the canvas. Before, the modal layer blocked them, so a
click on the art added no pick.

Part of #10590.
2026-12-05 03:24:56 -08:00
dotCooCoo 8a546bbdc5 Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
A dialog's modal layer dims everything but the canvas the dialog
registers. Blend Options, the envelope and path dialogs, Split Into Grid,
Flare Tool Options, Justification, Proof Setup, Swatch Options, the
Tangent Circle radius dialog, the add-on dialogs and the command dialogs
with a Preview box registered no canvas, so the art they previewed was
shown dimmed and the wheel over it did not scroll the view.

dialogs::host::preview_canvas gives the current window's canvas, and
PreviewsOn::previews_on registers it when the dialog previews. The add-on
dialog host registers it for every add-on dialog. Blend Options with no
blend selected sets the defaults for new blends and previews nothing, so
it still dims the canvas.

Part of #10590.
2026-12-05 03:02:03 -08:00
dotCooCoo 4e463a7621 Type: new art from a redefined style is unlinked, default look keeps type plain
A graphic style picked with nothing selected and then redefined gave new
art and type the look picked with the new definition's isolate and
knockout, still linked to the style. New art now links to the style only
while its fills, strokes, effects, opacity and blend mode match the
style's current definition; otherwise it keeps the look picked without
the link, isolate or knockout. appearance.newArt reports the style the
same way, and undoing the redefinition links new art again.

New type made with the look paint.default gives in a document whose
Default Graphic Style was redefined took that look and lost its
characters' color, which failed
an_open_document_takes_another_profiles_default_fill_stroke_and_font.
That look is the document's default, so new type made with it keeps its
characters' color, as with the shipped default.
2026-12-05 02:24:07 -08:00
dotCooCoo 7aeb44ead9 Place: the loaded place cursor shows its file and the files left again
The canvas drew no thumbnail or count beside the pointer while the place
cursor held files: since the craft UI port, place::cursor_overlay had no
caller.

- The canvas shows the cursor overlay while the Place tool holds files and
  the pointer is on the canvas, beside the pointer, and on its other side
  near the canvas's right or bottom edge.
- For a load of more than one file the count reads remaining/total (3/3,
  2/3, 1/3); a load of one file shows no count.
- The place tool reports a read-only `total`, the size of the load.

Fixes #10821
2026-12-05 01:03:29 -08:00
dotCooCoo 252454021e Type: an anchor added to type on a path leaves the type selected whole
path.insertAnchor on type on a path, unselected or with selectAnchor,
left the new anchor direct-selected under the type's id. The arrow keys
and path.moveAnchors then sent that anchor to the path editor, which
refused it with "object N is not a path". The type now stays selected
whole with no direct-selected anchors, as path.removeAnchor leaves it,
so a nudge moves the type.

The progress-doc entry now limits the tools to type outside
perspective and lists the Pen with Alt with the Anchor Point tool's
gestures rather than with adding and deleting anchors.
2026-12-05 00:58:26 -08:00
dotCooCoo 5f49ebf6e5 Type: new type keeps a style's look and transparency in another document
A graphic style picked in one document and used for new type in another
lost its look when the style was one plain fill and stroke, and lost its
opacity and blend mode in every case, because both checks read the style
name that is dropped outside the style's document. New type now checks
whether its look came from a graphic style separately from the link: the
link is still left out in another document, the look and transparency
are not.

The docs say that area type made with `text.create` and `area` takes the
template, and only Type on a Path and `text.createInPath` area type keep
the default appearance.
2026-12-05 00:52:29 -08:00
dotCooCoo 3b4530af42 DXF/DWG import: close pattern lines far apart draw; far gradients keep their fill
- Pattern line spacings and dash periods are refused only when they are
  below the precision of the boundary's coordinates, or when the lines and
  dashes that actually cross the boundary exceed the per-hatch limits. Two
  small areas far apart no longer refuse a fine pattern.
- A line family based far from the boundary is moved to the line nearest
  it by whole offsets (and its dashes by whole periods), so its line
  indices fit and each line keeps its dash phase.
- A dot that ends the period before a span's start is drawn on the span's
  start.
- A pattern of dashes and dots is checked for every object and path point
  it makes before either path is made, and charges nothing when it is
  left out.
- A gradient hatch whose gradient reaches past the coordinate limit keeps
  its gradient when its boundary is in range; a gradient that cannot be
  placed becomes a solid fill.
- The dense-pattern warning and docs/mcp.md name the edge and work limits,
  and docs/mcp.md says when island styles fall back to filling every loop.
- Tests check which loops each island style keeps and that a block's
  boundary fallback takes each insert's linetype.
- Fixes the clippy cloned_ref_to_slice_refs error in the hatch tests.
2026-12-04 23:43:37 -08:00
dotCooCoo 778ff39718 Merge main into fix/anchor-tools-type-on-path 2026-12-04 23:43:23 -08:00
dotCooCoo eb320aefbb Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
The Anchor Point tool, the Add and Delete Anchor Point tools, Pen + Alt
and the Pen's Auto Add/Delete only picked anchors of plain paths, and
the path.* anchor commands refused type on a path ("object #N is not a
path"), so dragging an anchor of type on a path's path did not pull
handles out, as it does on a path.

- The tools pick the anchors and segments of selected type on a path
  outside perspective, and draw its anchors and handles; Scissors still
  does not cut it.
- path.convertAnchor, path.reshapeSegment, path.setHandle,
  path.moveAnchor, path.insertAnchor and path.removeAnchor edit the
  type's path in document space through its transform; the type lays
  out again and its brackets keep their fractions of the path.
  path.removeAnchor refuses to leave it fewer than two anchors.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-12-04 23:43:12 -08:00