Commit Graph
4656 Commits
Author SHA1 Message Date
.CooCoo 88694da6eb Merge pull request #10628 from dotCooCoo/fix/script-remove-trace-source
Scripts: remove() refuses a tracing's shown source image
2026-12-04 15:29:17 -08:00
.CooCoo d802cf3cd5 Merge pull request #9259 from dotCooCoo/feat/scripts-api-layer-path-items
Scripts: layers and groups give their own path items
2026-12-04 15:29: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
dotCooCoo 49186cb426 Merge main into feat/scripts-api-layer-path-items 2026-12-04 12:28:26 -08:00
dotCooCoo e226ee93e7 Merge main into fix/script-remove-trace-source 2026-12-04 12:26:28 -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
.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 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
dotCooCoo 3cc3f80e36 Merge main into fix/script-remove-trace-source 2026-12-04 09:01:36 -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 1ae7a5d5cb Merge main into feat/scripts-api-layer-path-items 2026-12-04 08:00:07 -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 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 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 d5a54ccffa Merge main into feat/scripts-api-layer-path-items 2026-12-04 02:57:25 -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 b6e0afaf2f Merge main into fix/script-remove-trace-source 2026-12-04 01:53:02 -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 69afdf9194 Merge main into feat/scripts-api-layer-path-items 2026-12-04 01:01:08 -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
ruchirguitar 227df7a41c Merge main into feat/5547-show-missing-links 2026-12-04 09:44:42 +05:30
.CooCoo 36df439fe9 Merge pull request #10690 from dotCooCoo/fix/doc-pathitems-removeall-clipping
Scripts: document pathItems.removeAll refuses to delete a clipping path
2026-12-03 19:53:45 -08:00
.CooCoo 7d5f0ee29f Merge pull request #10761 from dotCooCoo/fix/pathfinder-too-many-pieces-test
Tests: Divide refuses cutting lines past the segment cap
2026-12-03 12:01:23 -08:00
dotCooCoo fa8d7dbe1d Merge main into fix/doc-pathitems-removeall-clipping 2026-12-03 11:43:15 -08:00
dotCooCoo 8245421df6 Merge main into fix/script-paths-locked-layer 2026-12-03 11:27:43 -08:00
dotCooCoo 1abaf78e8f Merge main into fix/remove-all-trace-group 2026-12-03 11:24:46 -08:00
dotCooCoo d5637c8d06 Merge main into fix/script-remove-trace-source 2026-12-03 11:24:30 -08:00
.CooCoo 64a7515fea Merge pull request #9147 from dotCooCoo/feat/scripts-scriptui-palettes
Scripts: ScriptUI palettes stay open after the run and run their handlers in line
2026-12-03 11:24:20 -08:00
dotCooCoo 8e23837867 Merge main into feat/scripts-api-layer-path-items 2026-12-03 11:15:06 -08:00
dotCooCoo 6100517eab Merge main into feat/scripts-show-color-picker 2026-12-03 11:12:25 -08:00
dotCooCoo c4b7099260 Merge main into fix/linked-pages-explicit-crop-box 2026-12-03 11:07:01 -08:00
dotCooCoo f7ec5d50cc Selection: a click inside an unfilled shape starts a marquee again
#9807 made the Selection, Direct Selection and Group Selection tools,
Object Highlighting and a right-click's selection pick a closed path
with no fill by a click inside it (#9175). That is now an option:
Preferences > Selection & Anchor Display > Select Inside Unfilled
Shapes (`selectInsideUnfilledShapes`), off by default. With it off, a
click or drag inside an unfilled shape that hits nothing else there
starts a marquee, as it did before #9807. With it on, the tools behave
as #9807 made them. Object Selection by Path Only still turns the
inside off either way.

Tests that asserted the #9807 default now turn the preference on before
expecting the inside to select the shape, and also check that it
selects nothing by default: the MCP test (renamed to
a_click_inside_an_unfilled_shape_selects_it_only_with_the_preference),
the outside-stroke reach test and the Direct Selection center point
test. A new Selection tool test checks that a drag inside an unfilled
rectangle makes a marquee and leaves it in place by default, and moves
it with the preference on.
2026-12-03 10:56:46 -08:00
dotCooCoo 48e1653646 Merge main into fix/script-remove-trace-source 2026-12-03 10:46:47 -08:00
.CooCoo 6ec7bdd244 Merge pull request #10696 from dotCooCoo/fix/global-edit-stale-points
Scripts: path points of other Global Edit members go stale when Global Edit changes them
2026-12-03 10:46:39 -08:00
dotCooCoo d027865eea Merge main into fix/script-paths-locked-layer 2026-12-03 10:44:44 -08:00
dotCooCoo 65b85dbc8f Merge main into fix/remove-all-trace-group 2026-12-03 10:42:38 -08:00