Commit Graph
9778 Commits
Author SHA1 Message Date
.CooCoo 72e746543e Merge pull request #10870 from dotCooCoo/fix/dwg-export
DWG: export writes the DXF drawing as DWG 2000 to 2018
2026-12-05 07:49:06 -08:00
.CooCoo 485611102e Merge pull request #10961 from dotCooCoo/fix/preview-place-runs-outside
Plug-ins: a file placed during an add-on preview survives Cancel
2026-12-05 07:39:24 -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
dotCooCoo cb45500f1f Merge main into fix/dwg-export 2026-12-05 07:12:45 -08:00
dotCooCoo 0a0ebb5279 Plug-ins: a file placed during an add-on preview survives Cancel
With an add-on dialog previewing (Arrange in Grid, for example),
File > Place ran inside the preview's interaction, because every
`file.*` command other than `file.documentColorMode` was treated as one
that reads the drawing on show. The placed art went into the preview
document with no undo step of its own, and Cancel removed it.

`file.place` now runs on the document without the preview, as other
edits do: it records its own undo step and stays after Cancel and OK.
Save, Export, Copy and the other `file.*` commands still act on the
drawing as the preview shows it.

Docs: docs/mcp.md (undo/redo row).
2026-12-05 07:03:59 -08:00
.CooCoo 971bc00f8d Merge pull request #10904 from dotCooCoo/fix/print-bitmap-shared-grid
Print: Print as Bitmap prints at 72 ppi when the raster effects resolution is not a number
2026-12-05 07:03:51 -08:00
dotCooCoo f7c14f635b Merge main into fix/dwg-export 2026-12-05 07:03:46 -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 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 dbf59eded6 Merge pull request #10883 from dotCooCoo/feat/cgm-open-place
File formats: CGM files open and place
2026-12-05 06:50:37 -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
dotCooCoo 70134a5719 Merge main into fix/print-bitmap-shared-grid 2026-12-05 06:29:43 -08:00
dotCooCoo 9706d36bc6 Merge main into feat/scripts-api-d10-print-options 2026-12-05 06:19:46 -08:00
dotCooCoo 1a4646a2b5 Merge main into feat/screen-print-marks 2026-12-05 06:11:53 -08:00
.CooCoo 06ae50d00f Merge pull request #10880 from dotCooCoo/fix/dxf-image-entities
DXF/DWG import: raster images come in as linked images
2026-12-05 05:58:46 -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 36abc64b39 Merge main into fix/dwg-export 2026-12-05 05:37:17 -08:00
dotCooCoo 3bf25bbf76 Merge main into feat/cgm-open-place 2026-12-05 05:34:40 -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
dotCooCoo 6e2c0fea9c Merge main into fix/dwg-export 2026-12-05 05:29:36 -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 ce6ba28d19 Merge main into fix/dxf-image-entities 2026-12-05 04:59:53 -08:00
dotCooCoo a18f164eac Merge main into feat/scripts-api-d10-print-options 2026-12-05 04:46:21 -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 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
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 d57a567b77 Merge main into fix/anchor-tools-type-on-path 2026-12-05 03:12:10 -08:00
dotCooCoo cdf866b0f3 Merge main into fix/new-type-new-art-appearance 2026-12-05 02:58:13 -08:00
dotCooCoo de465ddb69 Merge main into feat/concept-to-vector-providers 2026-12-05 02:40:12 -08:00
FredAppsandCodex 7e58b453aa Port release fixes to main: v0252a (wheel zoom easing, test fixtures) (#10908)
* Locate both color wells by their reported radio values

The shared swatch pair exposes unnamed radio parts. Drive real clicks on the exposed area of Stroke and Fill and keep the original paint and modifier assertions.

(cherry picked from commit 5b990d637c)

* Use regional decimal marks in UI fixtures

(cherry picked from commit 4208649d63)

* Use ordinary canonical paths in script fixtures

(cherry picked from commit f37b5811ad)

* Restore Animated Zoom for mouse-wheel notches

Restore the glide when Zoom with Scroll Wheel and Animated Zoom are both on, as in 0.24.1. The canvas keeps precision point input and pinches immediate. Tracks #10418.

(cherry picked from commit 1dde4db0f3)

---------

Co-authored-by: Codex <[email protected]>
2026-12-05 11:39:58 +01:00
FredAppsandCodex f990e66985 Port release fixes to main: v0252b Crop Box, Divide test and regional fixtures (#10907)
* Use regional decimals in remaining UI fixtures

(cherry picked from commit d689f09e46)

* Test Divide preserves artwork at complexity limit

(cherry picked from commit cc54974df6)

* Honor an explicit Crop Box when opening editable PDFs

Backport the PDF option handling from 82d4ec4336. Apply it to editable and linked opens while preserving the original file when an alternate box was requested.

(cherry picked from commit 73bbd005f3)

---------

Co-authored-by: Codex <[email protected]>
2026-12-05 11:39:51 +01: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 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 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
dotCooCoo 949b344784 Merge main into fix/new-type-new-art-appearance 2026-12-04 23:35:06 -08:00
dotCooCoo cdfcef172f Type: new type's style link stays in its document, gradients fit the wrapped frame
New art and type took the graphic style picked with nothing selected by
its name, so in another document they were linked to a style of the same
name there, and took its isolate and knockout. The template now records
the document the style came from, and new art elsewhere takes the look
without the link.

New area type that text wrap moves as it is made (an Auto Size frame
below a wrap object grows) had the template's placed gradients fitted to
the frame before the reflow. Both ways of making type now let text wrap
reflow it first and fit the gradients to the frame it ends with; type
whose bounds do not change keeps its placement.

The docs name text.create as the command whose type takes the template,
state that Type on a Path and Area Type keep the default appearance, and
note that a color given to text.create keeps the characters' fill under
Override Character Color.
2026-12-04 23:35:05 -08:00
dotCooCoo 146602fc95 Merge main into feat/concept-to-vector-providers 2026-12-04 23:02:25 -08:00
dotCooCoo 20944d3b01 Concept to Vector: outline Flat Color's seam fills before mapping them
A seam stroke's width was scaled by the square root of the image's
scale, so on an image stretched more one way its caps could reach past
the image. The provider now outlines each trimmed seam stroke in the
traced raster's pixels, with butt caps and round joins as Image Trace
does, and maps the filled outline back like the other paths, so the
seam fills stay inside the image whatever its transform.
2026-12-04 22:59:40 -08:00
dotCooCoo 8ce2c031c9 Merge main into fix/retrace-keeps-note-and-tags 2026-12-04 22:55:05 -08:00
dotCooCoo dcc9010824 Merge main into feat/scripts-api-d11-perspective-presets 2026-12-04 22:46:33 -08:00
.CooCoo 65d61c56db Merge pull request #10133 from dotCooCoo/feat/font-sheet
Type Tools: Create Font Sheet sets a sample text in every font, labeled
2026-12-04 22:36:34 -08:00