Commit Graph
23685 Commits
Author SHA1 Message Date
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 3521ff7c4f Merge main into feat/scripts-app-undo-redo 2026-11-26 00:25:47 -08:00
dotCooCoo db059c1be4 Merge main into feat/scripts-api-d4-text 2026-11-26 00:22:24 -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 f6aef4fc8a Scripts: a queued list choice is dropped when a handler replaced the item, and the new items stay kept while counted
A list counts how many times a script replaced its items, so a choice queued
against an item a handler removed and added again with the same text is not
replayed against the new item. The items array stays kept from collection
while the count's slot reserves room.
2026-11-26 00:18:53 -08:00
dotCooCoo 4281309e27 Merge main into feat/scripts-scriptui-resources 2026-11-26 00:18:53 -08:00
dotCooCoo 5654c06c6d Scripts: ScriptUI review fixes for resource strings, list choices, listeners and the dialog's cancel and close
A resource string's characters size edit fields and static text, a list's items must be an array, a listener added again runs in a later dispatch only, a close asked for while the dialog is described closes it, a list selection a getter changes is read again, and Escape during a handler cancels the dialog the run waits at next. The thrown error of a failed host call stays kept while the failure callback runs.
2026-11-26 00:18:53 -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 7aaa83eb7e Merge main into feat/swatches-pattern-drag-to-canvas 2026-11-26 00:10:05 -08:00
dotCooCoo e4992df1ef Merge feat/scripts-api-d4-text into feat/scripts-api-d4c-threads-stories 2026-11-26 00:06:20 -08:00
dotCooCoo 9c74e2f3ba Scripts: the host name table lists only the members the host defines 2026-11-26 00:04:58 -08:00
dotCooCoo 0f069375ad Docs: Copy Color As names the active document's RGB space for oklch() 2026-11-26 00:01:00 -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
dotCooCoo 20d0b0073a Merge main into feat/color-wheel-contrast-lines 2026-11-25 23:47:09 -08:00
dotCooCoo aad3356c9e Merge main into feat/scripts-api-d4c-threads-stories 2026-11-25 23:45:21 -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
ruchirguitar d5c8730ef6 G13: remove stale no-submenu clause from M2 roadmap 2026-11-26 13:09:14 +05:30
dotCooCoo 2909471ebc Merge main into feat/scripts-api-d7a-variables 2026-11-25 23:38:36 -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
HassanKhan 8034336671 Smart Guides: gather snap targets topmost first instead of a bounds budget (#8531)
Walk the layers in reverse paint order in collect_inner, so when the
anchor and segment budgets run out the objects in front keep their
anchors, edges and centre. Cost and memory stay as on main; the
separate 100,000-object bounds budget, start_budgets, the pub(super)
Gather and collect_bounds_capped go, with the tests that checked them.
2026-11-26 11:54:05 +05:00
HassanKhan 228c09cc1f Merge remote-tracking branch 'upstream/main' into fix-8531-snap-budget-edges
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
2026-11-26 11:43:46 +05: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 f6f0153c08 Merge main into feat/color-wheel-copy-color-as 2026-11-25 22:21:30 -08:00
dotCooCoo 165423a9c0 Scripts: Views and View toString refuse a stale collection or view
A collection or view kept by a named engine from an earlier run now
throws on toString() as typename does. The tests also check that
`k in document.views` is false for an index or name with no view, and
the error type of each bad view value. docs/mcp.md says a centerPoint
outside the canvas throws a RangeError.
2026-11-25 22:20:39 -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 7b776dea92 Merge main into feat/scripts-reflection 2026-11-25 22:14:36 -08:00
dotCooCoo 1af9fe50d3 Color Wheel: objects that differ in isolation over a blending lower row have no one answer
A translucent or blending row drawn over a lower row that blends reads
the art behind the object only when the object does not isolate its
blending. Selected objects that differ only in isolation then draw the
color over different rows, so color.contrast reports that their colors
differ instead of measuring both with the first object's isolation. A
blending row at no opacity, or a fill row covered by an opaque solid
Normal fill row, does not count.
2026-11-25 22:14:07 -08:00
dotCooCoo 45b671a22b Tangent Circle Tool: the radius dialog keeps its preview after a failed OK
OK hands the dialog's live preview a copy to commit, so a draw that is
refused leaves the dialog owning the interaction it started, and Cancel
or a radius with no circle still ends it. New test:
a_failed_ok_keeps_the_preview_for_cancel.

docs/target-app-parity.md and the module doc now say that Auto-Update
Default sets the tool's Shift radius only for a radius from 0.01 to
1,000,000 pt.
2026-11-25 22:13:31 -08:00
dotCooCoo 9aca0e1215 Merge main into feat/js-es2015-modules 2026-11-25 22:13:03 -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