Commit Graph
9239 Commits
Author SHA1 Message Date
.CooCoo 15d90d3f53 Merge pull request #10852 from dotCooCoo/fix/placed-undefined-family-composite
Place: placed type keeps its font when the document has a composite font of its family's name
2026-12-04 14:20:12 -08:00
.CooCoo e24c62bf75 Merge pull request #10836 from dotCooCoo/fix/preview-new-id-lookups
Lookups: previews find an object added since the press without walking the tree
2026-12-04 14:20:07 -08:00
.CooCoo 4c673f3aa1 Merge pull request #10841 from dotCooCoo/fix/pencil-one-preview-per-pass
Pencil: the moves of one frame preview the stroke once
2026-12-04 14:20:02 -08:00
.CooCoo 34b9ce755a Merge pull request #10771 from dotCooCoo/fix/bitmap-smoothing-every-view
Preferences: Display Bitmaps as Anti-aliased Images turns image smoothing off in every view
2026-12-04 14:19:51 -08:00
.CooCoo 113edfe404 Merge pull request #10194 from dotCooCoo/fix/match-objects-guards
Arrange Tools: Match Objects refuses restacks into locked, blend and Live Paint containers
2026-12-04 14:19:46 -08:00
.CooCoo 534291eb8f Merge pull request #10818 from dotCooCoo/fix/script-palette-review-9147
Scripts: palette events keep drags, drafts and frames as the person left them
2026-12-04 11:42:17 -08:00
.CooCoo 4db38b885e Merge pull request #9300 from dotCooCoo/feat/scripts-show-color-picker
Scripts: app.showColorPicker asks for a color
2026-12-04 11:42:06 -08:00
.CooCoo 81440181c6 Merge pull request #10655 from dotCooCoo/fix/remove-all-trace-group
Scripts: removeAll cannot leave an image first in a group named Image Trace
2026-12-04 11:41:59 -08:00
dotCooCoo 17dd5c2c2b Place: placed type keeps its font when the document has a composite font of its family's name
When placed editable art names a font family that its file does not define
as a composite font, and the document defines a composite font of that
name, the placed type was measured in the file's font but drew in the
document's composite font after placement. The placed type now gets a free
name such as "Name 2", so it keeps the font it was laid out in. Placing the
same art again reuses that name.

- The renaming also covers the fonts a file carries for its type and the
  label font of a live dimension, so they stay paired with the renamed runs.
- An installed family is not renamed.
- The installed-name check applies only to the composite fonts a
  placement adds, so a definition already in the document does not stop it.
- docs/mcp.md describes the renaming under file.place.
2026-12-04 11:31:32 -08:00
.CooCoo b9701cd035 Merge pull request #10847 from dotCooCoo/fix/cdr-import-warnings-name-skipped
CDR import: warn that PowerClip frames whose contents were left out open empty
2026-12-04 11:12:34 -08:00
dotCooCoo 781207af3b Merge main into fix/match-objects-guards 2026-12-04 10:48:37 -08:00
.CooCoo 88ca9750be Merge pull request #10583 from dotCooCoo/fix/linked-pages-explicit-crop-box
Import PDF: linked pages keep an explicit Crop Box for a file with editing data
2026-12-04 10:35:26 -08:00
.CooCoo a6553e0a1a Merge pull request #10203 from dotCooCoo/fix/match-objects-size-edges
Match Objects: sizes fit after the turn, reach any scale and replay with their corner scaling
2026-12-04 10:15:10 -08:00
dotCooCoo fe4c78c976 Merge main into fix/bitmap-smoothing-every-view 2026-12-04 10:11:16 -08:00
dotCooCoo a047d8297f CDR import: warn that PowerClip frames whose contents were left out open empty
The reader opens a PowerClip frame whose clipped objects were all left out
(bitmaps, text and other objects it doesn't read yet, or contents past the
import limits) as a plain shape, and the warnings only said that objects
were left out, so an empty frame had no explanation.

Opening a drawing of version 4 or later now adds the line "CDR PowerClip
frames whose contents were left out opened empty, as plain shapes" whenever
the reader left objects out or stopped at a limit. Drawings of versions 1 to
3, which the reader opens without frames, don't get it. The reader's
warnings don't say which frames lost their contents, so the line is shown
for every such drawing.
2026-12-04 09:47:07 -08:00
.CooCoo 2675e1291f Merge pull request #10802 from dotCooCoo/fix/open-dwg-files
File formats: DWG drawings open and place through the DXF reader
2026-12-04 09:38:29 -08:00
.CooCoo edcb80db38 Merge pull request #10429 from dotCooCoo/feat/3d-rendered-tier
3D: Render Settings › Rendered draws the solid as a lit image with shadows from every light
2026-12-04 09:24:53 -08:00
.CooCoo 5a435b222e Merge pull request #10769 from dotCooCoo/fix/unfilled-shapes-marquee-default
Selection: a click inside an unfilled shape starts a marquee again, with selecting inside as an option
2026-12-04 09:24:47 -08:00
.CooCoo ddff0adfbf Merge pull request #10747 from dotCooCoo/feat/live-star-points
Shapes: stars stay live with an editable point count
2026-12-04 08:12:18 -08:00
dotCooCoo 6a19b804f7 Merge main into fix/remove-all-trace-group 2026-12-04 08:00:18 -08:00
dotCooCoo 3e2848e681 Merge main into fix/open-dwg-files 2026-12-04 07:30:46 -08:00
dotCooCoo 005b9ac384 Scripts: a palette's edit field gives its text when its text part loses the focus
The edit field read the focus of the field's outer response, which never
holds the keyboard focus: the focus sits on the field's text part. A
click elsewhere or Tab out of a palette's or dialog's edit field then did
not give the typed text to the script. The field now reads the text
part's focus loss (`text_lost_focus`).

The focus-loss test drives the focus with Tab through egui instead of
calling the commit helper, and fails without the fix.

The retry docs in the script.palette.event help, docs/mcp.md and the
progress-doc entry name the recoveryFolder and recoveryOffForComplex
preferences, the two recovery preferences whose change starts the
waiting events again.
2026-12-04 07:24:22 -08:00
.CooCoo 24151dfe33 Merge pull request #5911 from ruchirguitar/feat/5547-show-missing-links
Show missing-link markers on the canvas
2026-12-04 07:13:51 -08:00
.CooCoo a9ba1b3134 Merge pull request #10742 from dotCooCoo/fix/live-corners-anchor-edits
Live Corners: corners stay live after anchor moves
2026-12-04 07:12:48 -08:00
.CooCoo ef168fad05 Merge pull request #10665 from dotCooCoo/fix/remove-all-empty-compound-mask
Scripts: pathItems.removeAll cannot empty a compound path that clips other art
2026-12-04 06:56:17 -08:00
.CooCoo 599eb51d45 Merge pull request #10700 from dotCooCoo/fix/script-paths-locked-layer
Scripts: new paths skip a locked or hidden active layer
2026-12-04 06:56:13 -08:00
dotCooCoo 2e030ec46d Merge main into fix/open-dwg-files 2026-12-04 06:36:17 -08:00
aiongg fb2415818c Merge pull request #10622 from davidmann4/feat/agents-open-window
feat(automation): agents in the open window through the ArtCraft Launcher's switch
2026-12-04 09:24:30 -05:00
dotCooCoo e92ec08874 Live Corners: a canceled nudge with objects selected whole records no undo step
A nudge that the pixel-grid snap took back still recorded an undo step and
left a rounded live rectangle a live path when an object selected whole
was moved together with direct-selected anchors, because the no-change
check ran only for anchor-only selections. The check now also covers
objects selected whole. The path.moveAnchors params text and the Live
Corners progress entry now state the pixel-grid case as docs/mcp.md does.
2026-12-04 06:07:52 -08:00
dotCooCoo 177d0c6700 Shapes: a whole star stays live whatever its pie angles hold
A whole star draws every point, so its pie angles no longer stop it
from being stored as a live star. Angles configured on any whole shape
are stored with it, so a later arc mode change uses them.

A corner list longer than the old corner count drops its entries past
the last corner before it is spread, so the corners a new point or
side count adds are sharp and keep the default kind.
2026-12-04 05:56:09 -08:00
dotCooCoo f080afc4ae Pencil: the moves of one frame preview the stroke once
The canvas hands every pointer move of a frame to the freehand tools, and
each move ran a full preview: the stroke was fitted again, inserted into
the document and run through every post-edit pass, and the next move's
preview threw it away. A pen or a fast mouse delivers several moves per
frame, so drawing slowed down with both the move rate and the document
size (#4343).

- SessionTool keeps the drag samples of a pass and hands them, with the
  release when it comes in the same pass, to the new
  Session::pointer_samples. Every other tool call hands them over first,
  so the order of events does not change.
- Session::pointer_samples feeds every sample to the tool and applies
  only the last preview of each run of previews of one command. The held
  preview is applied before the release and before any other action.
- Every preview still runs during a Global Edit, with Objects on Path
  selected, with more than one object selected, and with New Art Has
  Basic Appearance off when the stroke began with a selection, since a
  preview there changes what the next sample reads. The decision is
  made again after each event that is not a drag.
2026-12-04 05:31:32 -08:00
dotCooCoo 9c44847ea8 Merge main into fix/open-dwg-files 2026-12-04 05:04:33 -08:00
dotCooCoo 90b6a7640b Scripts: palette events keep drags, drafts and frames as the person left them
Follow-up to the review of #9147 (script palettes):

- A waiting click or change that can no longer run (its control was
  disabled, hidden or removed by an earlier handler) is dropped before
  the open edit is settled, so it no longer commits or cancels a drag
  in the active document with no handler run.
- A palette title or other getter that hides or closes the palette
  while the palette is being described no longer sends that
  description to the host: the host keeps the controls the palette had
  when it was hidden.
- A typed text that matches the field's stored text is still given to
  the script, before a click, a close or on focus loss, when another
  change of that field waits, so the handler reads the typed text and
  not the waiting change.
- After a palette event's run fails to begin, the app does not retry
  and ask for a frame on every pass. It tries again after the next
  input in the window, another palette event, or a change to the
  documents' edit state, the active document or the recovery settings.
- The print test now checks that the click's handler ran after the
  print jobs were canceled, and the list test only fails when the
  earlier item's text changed.
2026-12-04 02:54:11 -08:00
dotCooCoo 8a136e25ce Lookups: previews find an object added since the press without walking the tree
Every preview of a drag starts again from the document as it was at the
press. Its lookup cache does not hold the object the drag adds (a Pencil
or Pen path, a shape), so each lookup of that object walked the whole
tree, about twice per preview, and the cache was rebuilt only in the
preview's own copy.

The cache now keeps, beside its table, the index path a walk found for an
id the table does not have. Every copy that shares the table reads it and
checks it against its own tree before using it, as it does the table's
paths, so later previews find the new object at that path. Repeated
nodes_in_order calls for such an id count toward a rebuild of the table,
and remove and move_node take the parent and the index from one lookup.
2026-12-04 02:35:23 -08:00
dotCooCoo 1b4f26e763 Docs: the Color Picker returns the color given only when its model is unchanged too
OK returns a new object of the color given only when both the color and
its model are unchanged; a model-only change is a new pick. The progress
line, docs/mcp.md and the script.run params text now say so.
2026-12-04 02:32:10 -08:00
dotCooCoo 66ae7e485a Preferences: describe when Pixel Preview's image smoothing setting applies
Display Bitmaps as Anti-aliased Images in Pixel Preview applies only while
Pixel Preview draws its own pixel raster: the view zoomed above one screen
pixel per document pixel and the region within the largest texture side.
In every other case, Pixel Preview included, Display Bitmaps as Anti-aliased
Images applies. The doc comments on both preferences and the two lines in
docs/target-app-parity.md now say so.
2026-12-04 02:30:11 -08:00
FredApps 6f6a6d4e20 Merge branch 'main' into codex/10008-native-composite-adoption 2026-12-04 10:31:44 +01:00
.CooCoo 3613c7f657 Merge pull request #10781 from dotCooCoo/fix/direct-select-ctrl-handle-mirror
Direct Selection: Ctrl held before pressing a handle mirrors the opposite handle
2026-12-04 01:17:57 -08:00
dotCooCoo 232b9e1597 Merge main into feat/scripts-show-color-picker 2026-12-04 01:13:39 -08:00
dotCooCoo b3f5c22633 Shapes: a live star keeps a small ratio and its corners through edits
A live star whose ratio is below 0.01, which object.setLiveShape takes,
lost its inner radius and its live shape when addon.shapes.configure
changed another value: the stored ratio was clamped to 0.01 when the
star was drawn and no longer counted as live. Any ratio from 0 to 1 now
draws and stays live as it is.

A corner list shorter than the star's or polygon's corners counted as
one shared radius, so a new point or side count gave the missing corners
the first corner's radius. The missing corners now stay sharp.

A ratio that changes which corners a rounded star cuts is now an error
with radius or kind in the same call, as points is, since the corners
selected before it no longer name the same corners. The anchor selection
is dropped by the same check.
2026-12-04 01:01:51 -08:00
dotCooCoo e3e11357f4 Live Corners: a nudge the pixel grid takes back keeps a live rectangle
An anchor nudge on a pixel-aligned rounded rectangle or polygon that the
pixel-grid snap cancels recorded an undo step and left the shape a live
path, because the anchor edit converts the live shape before the snap
runs. The no-change check now treats that conversion as no change when
the converted live shape matches what the same anchors would give
unmoved, so the shape stays a live rectangle and no undo step is
recorded. A change to the uncut outline or the corner settings still
counts as a change.
2026-12-04 00:56:00 -08:00
dotCooCoo 573b2da1b4 Merge main into fix/remove-all-trace-group 2026-12-04 00:43:34 -08:00
dotCooCoo 62e09de5ac Merge main into fix/remove-all-empty-compound-mask 2026-12-04 00:43:34 -08:00
dotCooCoo c62ddb2b33 Merge main into fix/script-paths-locked-layer 2026-12-04 00:43:34 -08:00
yoriswindandFredApps debd26b38f Appearance: reorder shared effects on multiple objects (#10353)
* Appearance: reorder shared effects on multiple objects

* Appearance: compare resolved effect lists for aligned moves

---------

Co-authored-by: FredApps <[email protected]>
2026-12-04 09:43:08 +01:00
.CooCoo 96f347651e Merge pull request #10757 from dotCooCoo/fix/doc-tests-unsafe-code
Doc tests: unsafe code is denied in doc tests too
2026-12-03 23:08:32 -08:00
dotCooCoo 472d7f8e69 Direct Selection: picked handles stay picked after a Cmd/Ctrl+Shift drag
With two direction handles picked, a Cmd/Ctrl+Shift press on one of them
drags that handle alone with its opposite handle mirrored and its angle
constrained. Shift kept the press from counting as a press on one of
several picked handles, so the press did not record the picks, and its
release after a drag, or Escape during it, left only the pressed handle.

The press now records the picks for any mirroring press on one of several
picked handles, with or without Shift. Shift still keeps a drag from
moving every picked handle, and a Shift-click still adds or removes the
pressed handle.
2026-12-03 22:29:17 -08:00
dotCooCoo b859f27c11 Merge main into fix/open-dwg-files 2026-12-03 21:29:15 -08:00
dotCooCoo 629b4f5b2c Merge main into fix/direct-select-ctrl-handle-mirror 2026-12-03 21:26:45 -08:00
dotCooCoo 74b2ffdb82 Direct Selection: picked handles stay picked after a Cmd/Ctrl drag
A Cmd/Ctrl press on one of several picked direction handles drags that
handle alone so its opposite handle mirrors. The press cleared the picked
handles, and neither the release nor Escape restored them, so after the
drag only the pressed handle could be picked again.

The press now records that it is such a mirroring press. Its release
after a drag, and Escape during the drag, restore the handles that were
picked when the press began. A drag without Cmd/Ctrl still moves every
picked handle, and a click still picks the pressed handle alone.
2026-12-03 21:26:45 -08:00