Commit Graph
21712 Commits
Author SHA1 Message Date
BFlat a205174026 Merge pull request #9373 from dotCooCoo/fix/precise-cursors-reach-tools
Cursors: Use Precise Cursors and Caps Lock hide the brush tip outline again
2026-11-26 16:44:43 +07:00
BFlat 917c0ca869 Merge pull request #9374 from dotCooCoo/fix/symbol-instance-outline-frame
Selection: a turned or skewed symbol instance is outlined along its frame
2026-11-26 16:44:30 +07:00
BFlat aeb726426b Merge pull request #9376 from dotCooCoo/fix/followup-8526
Path Precision Tools: a Tangent Circle press with Shift keeps the radius it started with
2026-11-26 16:44:18 +07:00
BFlat ae91221923 Merge pull request #9377 from dotCooCoo/fix/followup-8999
Shapes: document that a given center moves the shape in shape.set
2026-11-26 16:44:05 +07:00
BFlat 303cb7e9f7 Merge pull request #9378 from dotCooCoo/fix/followup-7733
File open: apply the profile answer with the settings its question was built from
2026-11-26 16:43:52 +07:00
BFlat a39c137667 Merge pull request #9379 from dotCooCoo/fix/followup-8706
Tools: a shared option set through another tool during a held press is kept
2026-11-26 16:43:38 +07:00
BFlat 4b3d6fb83c Merge pull request #9328 from dotCooCoo/fix/enter-recolor-relink-graph
Dialogs: Enter runs the default button in Recolor Artwork and Graph Data
2026-11-26 16:43:24 +07:00
BFlat 15b96b6ad6 Merge pull request #9324 from dotCooCoo/fix/enter-runs-default-button
Dialogs: Enter runs the default button in Find Font and the perspective grid dialogs
2026-11-26 16:43:10 +07:00
dotCooCoo d13acd32dd Tools: a shared option set through another tool during a held press stays after the press is dropped
Setting a Liquify brush size through another Liquify tool while a press is held was lost when the press was dropped and the value matched the size the drag had made current. The set now names the keys of the stores it shares with the pressed tool, so the dropped press keeps them.
2026-11-26 00:44:19 -08:00
dotCooCoo adad041917 Merge main into fix/print-dialog-field-names
Both dialogs now run on the craft UI framework, which names the fields from their labels. The field-name tests are rewritten to read the framework's accessibility tree.
2026-11-26 00:40:15 -08:00
dotCooCoo 5491a68d2b Merge main into fix/export-gif-png8-transparency-dither 2026-11-26 00:40:00 -08:00
dotCooCoo 318770ea62 File open: apply the profile answer with the settings snapshot its question was built from
apply_answer read the working settings once for the reply's profileChoice
and again inside apply_open_policies_choosing. A Color Settings change
between the two reads could report an answer that the policies did not
apply. apply_open_policies_choosing now takes the snapshot, and
apply_answer passes the one it built the question from.
2026-11-26 00:37:50 -08:00
dotCooCoo 5deec7f017 Scripts: the tag tests read the item they tag from pageItems, which lists the topmost first 2026-11-26 00:34:16 -08:00
dotCooCoo 0ae1949e68 Shapes: document that a given center moves the shape in addon.pathtools.shape.set
The params text and docs/mcp.md said the center stays when no reference point applies. With a center, the shape's center moves to the given point; the docs now name that case.
2026-11-26 00:32:00 -08:00
dotCooCoo d1eb8c9503 Scripts: a startup listing over the script limit keeps the first names in order
The listing sorts the eligible names before it applies the limit, so the same scripts run on every launch.
2026-11-26 00:30:17 -08:00
dotCooCoo a26d5981bd Path Precision Tools: a Tangent Circle press with Shift keeps the radius it started with
A radius written with tool.setOption during a press changed the circle
only when Shift was released and pressed again before the drag started.
The press now keeps the radius from its button press for every Shift
change until the release.
2026-11-26 00:21:12 -08:00
dotCooCoo a0aa0c4161 Merge main into feat/color-wheel-oklch-sliders-v2 2026-11-26 00:18:33 -08:00
dotCooCoo d9b119a371 Color Wheel: a channel just below sRGB counts as outside it
The gamut test allowed 1e-4 beyond 0..1, so OKLCH colors such as L 0.01, C 0.01,
H 0 were clipped at their own chroma and not reported as lowered, and the C track
marked the wrong maximum. The allowance is now 1e-5, above the 1.7e-6 matrix
round-trip error of sRGB boundary colors.
2026-11-26 00:18:32 -08:00
dotCooCoo d71d4092e6 Merge main into feat/plugin-slider-param 2026-11-26 00:17:16 -08:00
dotCooCoo 83c416fe43 Merge main into feat/tangent-circle-add-points 2026-11-26 00:00:03 -08:00
dotCooCoo 844980f135 Scripts: read the chosen script once when startup scripts are skipped
The chosen script is prepared only after the skip check, so a skipped round leaves its read to script.run. The new startup tests use a TempDir that removes the folder when the test ends.
2026-11-25 23:58:46 -08:00
dotCooCoo a0cbd24102 Document Info: copy the value the click was released on
The click copies the value under the release event's position, and a Shift-click copies nothing even when the key release arrives in the same frame.
2026-11-25 23:47:51 -08:00
HassanKhan ca4fa0171b Stroke panel: cap icon test also checks the three strokes differ (#9229) 2026-11-26 12:41:14 +05:00
dotCooCoo 3055ea5757 Merge main into feat/scripts-startup-scripts 2026-11-25 23:39:37 -08:00
HassanKhan 283d30a6c5 Merge remote-tracking branch 'upstream/main' into fix-9229-cap-icons
# Conflicts:
#	crates/ui-egui/src/icons.rs
2026-11-26 12:14:52 +05:00
dotCooCoo aeba8f0a52 Merge main into feat/scripts-api-d7b-tags-notes-uuid 2026-11-25 23:13:33 -08:00
dotCooCoo 1fed7a4e6f Cursors: a Caps Lock command before the first frame stays in place
The first host Caps Lock reading is now only a baseline when view.capsLock already set the session state, so the command no longer resets on the first canvas pass.
2026-11-25 23:10:55 -08:00
dotCooCoo 562bec3f1e Merge main into feat/scripts-api-d7b-tags-notes-uuid 2026-11-25 23:07:28 -08:00
dotCooCoo 86bb063a1c Merge main into fix/native-geometry-accordion-replay 2026-11-25 23:05:02 -08:00
dotCooCoo 6a8b80f3d6 Merge main into fix/shortcuts-optional-param-commands 2026-11-25 23:04:07 -08:00
dotCooCoo f5759af75a Merge main into fix/ellipse-three-point-preview-bound 2026-11-25 23:03:45 -08:00
dotCooCoo 51f634f210 Merge main into feat/scripts-execute-menu-command 2026-11-25 22:59:59 -08:00
dotCooCoo 6d908ec051 Pathfinder: the Repeat row names the operation that ran last
The Pathfinder panel menu's Repeat row read "Repeat Pathfinder" after
every operation. The label for pathfinder.repeat now reads "Repeat
Unite", "Repeat Minus Front" and so on from the last Shape Mode or
Pathfinder operation, through the existing "Repeat {name}" template,
and keeps "Repeat Pathfinder" before any has run. Every row of the
command uses the same label.
2026-11-25 22:41:37 -08:00
dotCooCoo 272c24a119 Selection: a selected group leaves out guides and templates the view hides
A selected group or layer outlined and marked a member made into a guide
while the guides were hidden, and the art of a template sublayer while
View > Hide Template was on, although the canvas does not draw them.

- Node::hidden_by_view (crates/doc/src/node/ops.rs) holds the rule; the
  renderer's left_out now uses it too.
- walk_drawn and the overlay's point limit in canvas/outline.rs leave out
  the members the view hides, so the selection's outlines, key outline,
  anchors, hover outline and point count skip them.
- The selection's bounds are unchanged.
2026-11-25 22:40:11 -08:00
dotCooCoo eca0b0c0e1 Canvas: selection marks follow the pointer in the frame it moves
The canvas drew the selection's outlines, anchors, handles and dots
before the tool host took the frame's pointer event, so during a drag
they showed where the art was one frame earlier. They are now drawn
after the tool host and placed back at their old spot in the paint
order through a PaintSlot, under the widgets and bars as before.

Tests: a Selection tool drag draws its marks at the object's new
corner and none at the old one; a Pen drag draws the handle end at the
pointer of the same frame.
2026-11-25 22:38:29 -08:00
dotCooCoo 0ffff17551 Merge main into feat/plugin-api-filter-type-images-symbols 2026-11-25 22:21:39 -08:00
dotCooCoo 7d9e2ac73f Merge main into feat/script-grants-list 2026-11-25 22:21:31 -08:00
dotCooCoo 52c134c7b6 Merge main into fix/shortcuts-ui-group 2026-11-25 22:21:31 -08:00
dotCooCoo 3dc4557d70 Merge main into feat/retype-installed-fonts 2026-11-25 22:21:30 -08:00
dotCooCoo b5d62ade36 Selection: a turned or skewed symbol instance is outlined along its frame
The selection outline and the hover highlight drew a symbol instance as
the box square to the page around it, so a turned, skewed or
perspective instance showed a box larger than its frame. Type in
perspective had the same box.

Node::drawn_corners gives the four corners of an instance's art box
placed by its transform, and of type's flat bounds, both through the
projection of an object in perspective. node_outline joins them, as it
already does for a placed document's corners.
2026-11-25 22:19:27 -08:00
dotCooCoo 7b9726c71e Scripts: Promise statics refuse arrow functions and methods as this
The statics' constructor check now treats an arrow function, a method
and a function bound to one as non-constructors, as new does, so
Promise.resolve.call(() => {}, 1) throws a TypeError. The test262 line
in docs/target-app-parity.md now gives the count on current main: 440
of 538 runs.
2026-11-25 22:12:51 -08:00
dotCooCoo d6e7359032 Merge main into fix/i18n-message-scan-raw-strings 2026-11-25 22:11:49 -08:00
dotCooCoo 22015f2eed Merge main into fix/slices-keyboard-test-line-color 2026-11-25 22:11:49 -08:00
dotCooCoo 2fc172e69a Merge main into feat/scripts-xmp-objects 2026-11-25 22:11:49 -08:00
dotCooCoo 6a72901192 Scripts: adding Promise to a realm leaves the language it reads as it was
Realm::add_es2015 no longer turns on Options::es2015, which now also
selects the ECMAScript 2015 syntax. A realm made without the option gets
Promise and still reads ES5.1 until set_es2015 changes it; the engine
calls set_es2015 for each run before it adds Promise.
2026-11-25 21:58:54 -08:00
skylar taylor-barrick 3463266b27 Switch on supervised nightlies on the nightly-signer branch (#9342)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.

Merge-only delta: CodeRabbit reviewed 91c7634e, the last authored head; this head adds only a merge of main, so its CodeRabbit check is a skip.
2026-11-25 23:58:45 -06:00
dotCooCoo dcea6b8f3d Merge main into fix/paste-keeps-unwritten-cut 2026-11-25 21:52:50 -08:00
dotCooCoo 9c34c3a2fa Guides: a transform's reply lists the guide paths it makes of ruler guides
A selected ruler guide that a transform turns to an angle becomes a
selected guide path, but the reply's ids left it out: object.rotate
with copy on a lone guide returned {"ids": []}. transform_ruler_guides
now returns the ids of the paths it adds, and the transform commands
add them after the transformed objects, on the direct-selected anchor
route too.
2026-11-25 21:51:20 -08:00
jmvergesandClaude Opus 5.5 d0dc0c41b1 .ai import: made point type is matched with the page's type where it draws
Type made from a file's text document has no layout when the import
matches it with the page's type, so the box it was matched by was the
estimate of type without a layout: as wide as an average font would set
it, running right from its anchor. Right-aligned point type draws on the
other side of its anchor, centered type lies half outside that box, and
vertical type runs down the page across it. Where the text document
makes the type of every text object that shows (`made_only`), the page's
type there was then nobody's: the import noted "some of the page's type
has no text object in the layers, so it is left out" for type that is in
the layers, and the made type, not seen on the page, was weighed against
the page as type the page may not draw, and sometimes taken out.

`made_only` (`crates/eps/src/import/native/plan.rs`) now takes the box
of made point type that shows from its layout (`drawn_box`), in the
fonts the import has, as the document measures it once it is open. The
node itself keeps no layout, so the document's type is measured when it
opens, as before. Area type and type on a path are matched by their
frame and path, as before.

Where some text object's type isn't made (`plan`), the box stays the
estimate: there the page's pieces in the box where made type draws can
belong to text objects stacked on it whose type isn't made, and the
made type would take them all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 05:50:54 +00:00
dotCooCoo df3d7ab275 Scripts: stale page item lists throw from toString; unavailable members stop hasOwnProperty
- `toString()` on a page item list from a closed or replaced document throws
  "Stale document", as its other members do.
- A member a host class declares unavailable is not reported by
  `hasOwnProperty` or `propertyIsEnumerable` even when a parent class has it.
- Assigning a name an object of a host class inherits from a prototype no
  longer calls the class's indexer, so a non-strict assignment is ignored
  instead of throwing.
- Assigning a selection checks repeated objects with a set instead of
  scanning the list for each object.
- The script report test throws a text that names `Window` for the case of
  an error the script wrote itself.
2026-11-25 21:50:05 -08:00