Commit Graph
21712 Commits
Author SHA1 Message Date
dotCooCoo 05b6a15d48 Guides: selected ruler guides rotate with the Rotate tool and Object › Transform › Rotate
A selected ruler guide was left out of every transform but a move: the
Rotate tool did nothing with only guides selected, and Object › Transform
› Rotate… refused with "nothing selected".

Each selected ruler guide now transforms as the line Release Guides makes
of it (across its artboard, or across the artboards' bounds for a canvas
guide), about the center of the selected objects' box and those lines
together. A guide that ends up vertical or horizontal stays a ruler guide:
a half turn keeps it and a quarter turn makes a horizontal guide vertical.
At any other angle it becomes a guide path along its line, on the guide's
layer, so it snaps, releases, locks and saves as other guide paths do.

- Object › Transform › Rotate… (Copy included), Transform Again and the
  Rotate tool's drag and Alt-click work with only guides selected, in one
  undo step. A turn that leaves the guides where they were records none.
- Scale, Reflect, Shear and the bounding box now transform selected guides
  along with the selected objects and direct-selected anchors, where
  before the guides stayed put.
- Locked and hidden guides, guides with ids given and guides with
  Transform Objects off do not transform. `absolute` with only guides
  selected is an error.

Part of #2418.
2026-11-25 10:37:15 -08:00
dotCooCoo 5d5777078b Dialogs: Enter runs the default button in Recolor Artwork and Graph Data
Recolor Artwork and Graph Data turned enter_confirms off, so Enter in a
field that does not use Enter did nothing. The dialog now routes that
Enter to its enabled OK button, the same path a click takes, and the
held answer is filed: in Recolor Artwork, Enter is OK and the dialog
closes; in Graph Data, Enter is Apply and the window stays open. The
Graph Data entry box and the sheet still take Enter to move the picked
cell down, and nothing is applied. Enter does nothing while OK is
disabled.
2026-11-25 10:33:41 -08:00
dotCooCoo 6f94760f04 Merge main into feat/quick-pen-edit-delete
# Conflicts:
#	crates/tools/src/quickpen.rs
#	docs/ui-parity.md
2026-11-25 10:31:38 -08:00
dotCooCoo 06845e7c3e Merge feat/scripts-api-d1a-app-documents into feat/scripts-execute-menu-command 2026-11-25 10:24:27 -08:00
dotCooCoo 948ebd6adb Merge main into feat/scripts-api-d1a-app-documents 2026-11-25 10:21:51 -08:00
dotCooCoo c27619310a Merge main into feat/fogra51-52-cmyk-v2 2026-11-25 10:19:57 -08:00
dotCooCoo e116212318 Merge main into fix/js-global-boolean 2026-11-25 10:17:04 -08:00
dotCooCoo 69b627ddc7 Scripts: Other Script's warning runs the script under the file access of the request that asked
The warning before a script runs (ui.runScript) now keeps the automation
roots and the automation flag in force when it was asked, and Run runs
script.run under them, narrowed to any roots in force when it is
answered. A request confined to its roots could otherwise open the
warning for a script outside them and have it run, with full file
access, once Run was pressed.
2026-11-25 10:07:41 -08:00
dotCooCoo 916ea13906 Merge main into fix/reset-preferences-interface-settings 2026-11-25 10:07:37 -08:00
dotCooCoo 362df647e1 Merge main into fix/gradient-presets-proxy-in-front 2026-11-25 10:05:44 -08:00
dotCooCoo c8fc6a30d4 Merge main into feat/script-grants-list 2026-11-25 10:00:16 -08:00
dotCooCoo 73978a194f Scripts: script.grants.revoke matches a path as given as well as resolved
A grant whose path a link has since replaced is listed by script.grants
under the path it was kept for, but script.grants.revoke followed the
link and compared the link's target, so Revoke in Script File Access
removed nothing. A path is now matched as given and, inside the
automation read roots, also with its links followed.
2026-11-25 10:00:05 -08:00
Carlo1911andClaude Sonnet 5.5 68c51bf839 Missing Fonts: Find in Folder… searches for the fonts of the dialog's document (#9299)
A dialog left open for one document while another is active asked for the folder, and searched, for the active document.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-25 12:57:27 -05:00
dotCooCoo 24101cc724 Merge feat/linked-image-x into fix/selection-marks-skip-hidden-members
Brings in main at 08425c9610 through #9090's merge of it. The hidden-member tests move to canvas/selection/tests.rs, where main now keeps the selection outline and anchor tests, and check the selection's outlines, anchors and hover outline directly.
2026-11-25 09:55:15 -08:00
dotCooCoo ef2409fb31 Script checker: a Folder variable in parentheses is still a Folder object
`(d).write(s)` and `(d).length = 0` on a variable holding `new Folder(p)`
counted as file writes, while `d.write(s)` and `d.length = 0` did not.
Grouping parentheses now keep what the variable holds, so a Folder
variable in them is left out the same way. A variable that may hold a
File object still counts, and a grouped assignment (`x = (d)`) still
gives `x` a value that may be a File object.
2026-11-25 09:49:18 -08:00
dotCooCoo 388e1f29ef Merge main into feat/plugin-api-importers-place 2026-11-25 09:46:45 -08:00
dotCooCoo 9d3bbb8fa6 Merge main into feat/blob-eraser-size-stylus-wheel 2026-11-25 09:46:23 -08:00
dotCooCoo 9e3b3efed0 Merge main into fix/shape-builder-color-pick 2026-11-25 09:45:57 -08:00
ruchirguitar 77a12e40bb Fix floating document raise after Presentation Mode 2026-11-25 23:13:46 +05:30
dotCooCoo 5a54b17194 Gradient panel: rows wrap so the panel stays inside its dock column
Rows of side-by-side controls in the Gradient panel did not wrap, so the
panel's column grew wider than the panel and controls ran past its right
edge. Docked, the Type buttons, Repeats, the gradient slider and the
notice reached up to 10.5 pt past the panel in English and 13.9 pt in
French. At the narrowest panel width (220 pt), Method, Spread, Repeats,
Location and Delete Stop ran 23.5 to 100.5 pt past it.

- The header places the type buttons and Edit Gradient beside the
  thumbnail, level with its top, or under it when the panel is too
  narrow.
- The Type, Method and Spread rows wrap.
- The stop row wraps, and each caption stays with its field.

A wide panel draws every control where it did before.
2026-11-25 09:40:33 -08:00
dotCooCoo 754512b617 Merge main into fix/feather-effect-history-name 2026-11-25 09:40:01 -08:00
dotCooCoo bf48bb8f97 Merge main into fix/gradient-midpoint-owner 2026-11-25 09:39:19 -08:00
dotCooCoo 8fd21089db Merge main into fix/profile-row-mixed-strokes 2026-11-25 09:39:11 -08:00
dotCooCoo f6bc3d942a Merge main into feat/plugin-api-run-notices 2026-11-25 09:36:45 -08:00
dotCooCoo edc0a6da50 Tests: floated panel bodies stay within the requested width
The narrow-panel row tests compared each control with the floating
panel's body but never checked the body itself, so a body wider than
the requested width would let controls past the panel edge pass.
floated() now asserts the body is no wider than the width the float
asked for.
2026-11-25 09:35:53 -08:00
dotCooCoo bc064fffa9 Merge main into fix/paste-all-artboards-conflicts 2026-11-25 09:33:05 -08:00
dotCooCoo 27316fb210 Merge main into fix/place-at-once-pdf-text-as 2026-11-25 09:32:46 -08:00
BFlat 5b0a96be26 Merge pull request #9313 from dotCooCoo/fix/issue-4462-svg-units
SVG export: feet, yards, meters, Q and Ha documents keep their printed size
2026-11-26 00:31:42 +07:00
BFlat 5d00bb8fbf Merge pull request #9308 from dotCooCoo/feat/scripts-e4x
Scripts: every script reads E4X and has the XML objects
2026-11-26 00:31:24 +07:00
BFlat 144b3f18cc Merge pull request #9307 from dotCooCoo/fix/style-percent-comma
Fields: Character Style Options refuses 1,000% as it refuses 1,000
2026-11-26 00:31:07 +07:00
BFlat e1dd113588 Merge pull request #9305 from dotCooCoo/fix/glyph-names-read-once
Glyphs: a font's glyph names are read once, so the panel stops scanning the post table for every cell
2026-11-26 00:30:49 +07:00
BFlat e256ac7022 Merge pull request #9141 from dotCooCoo/fix/eps-discard-white-overprint
EPS: white fills and strokes knock out with Discard White Overprint
2026-11-26 00:30:32 +07:00
dotCooCoo 2b9999e81f Merge main into fix/save-pdf-partial-bleed-write 2026-11-25 09:29:28 -08:00
dotCooCoo 9cc639d2fc Merge main into fix/save-pdf-partial-bleed-write 2026-11-25 09:29:23 -08:00
dotCooCoo 7e8904f424 Merge main into feat/smart-pen-default-toolbar 2026-11-25 09:28:56 -08:00
dotCooCoo 356f5bec2c Merge main into fix/corners-relative-per-corner 2026-11-25 09:22:39 -08:00
dotCooCoo 1e8b2fcb32 Gradient panel: a picked midpoint and a selected stop stay selected when the document tab moves
The owner a selected stop, freeform point or midpoint diamond is kept for
now records the active document's uid instead of its tab index. Dragging
the document's tab along the strip (document.move) changed the index, so
the selection was dropped and the Location field was disabled although the
gradient had not changed.
2026-11-25 09:17:37 -08:00
dotCooCoo f906a0f814 Merge main into feat/scripts-startup-scripts 2026-11-25 09:16:13 -08:00
dotCooCoo 3a0bfba325 File dialogs: a replace confirmation runs under the file access of the request that asked
A file dialog's answer runs its continuation under the file-access
scope and automation flag of the request that opened the dialog. The
questions that follow a request did not keep them, and ran what OK
allows in the unconfined UI frame:

- the Replace question after a save picker names an existing file
  (file_asks::ask_replace);
- the question whether a save or export may replace the files it
  writes beside the one picked (confirm::ask_replace_files), also when
  a Background Save or Export asks it after the request has ended;
- a confirmation whose OK runs a command (confirm::ask), such as the
  question before a save loses data.

A save, export or open started by a request confined to its automation
roots could then reach files outside those roots once the person
answered OK, and it no longer ran as automation. Each question now
captures ScopeHandle::capture() and automation_asked() when it is
asked, and its OK runs under them, as a picker's answer does. A
background save or export captures them before it leaves the request.
2026-11-25 09:15:23 -08:00
dotCooCoo a7cb77948a Save for Web: Save Color Table refuses an empty path
An empty or blank `path` was treated as no path, so the command
returned `dataBase64` and wrote no file. It is now an error, and a
`path` left out still returns the file as `dataBase64`.
2026-11-25 09:13:14 -08:00
dotCooCoo 626478c406 Dialogs: Enter runs the default button in Find Font and the perspective grid dialogs
Find Font built its dialog without close_on_enter, so Enter in a field
did nothing; it now runs Done, as the Effect Gallery and Composite Fonts
dialogs do. Define Grid, Save Grid as Preset and the preset editor
turned enter_confirms off. The dialog routes Enter to its enabled
Accept button, which reports it as the pick of OK, so the held answer
is filed as a click files it: Enter defines the grid or saves the
preset, a refused name keeps the dialog open, and Enter does nothing
while OK is disabled.
2026-11-25 09:12:06 -08:00
dotCooCoo c71fc0a25b Merge main into feat/recolor-preset-library 2026-11-25 09:11:53 -08:00
dotCooCoo a23efc0620 Merge main into fix/overprint-preview-canvas 2026-11-25 09:11:47 -08:00
dotCooCoo 892ebb01cb Merge main into feat/linked-image-x 2026-11-25 09:11:41 -08:00
dotCooCoo 18118db9c7 Merge main into feat/js-es2015-generators 2026-11-25 09:11:32 -08:00
Codex 97561c8091 Document OpenType row menu parity evidence 2026-11-25 22:35:04 +05:30
fe1b80e0aa Add a context menu on OpenType feature rows.
A right-click turns one feature on or off, or resets them, through the same undo step as the checkbox and the panel menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Codex <codex@users.noreply.github.com>
2026-11-25 22:35:04 +05:30
dotCooCoo 335ed2cbb0 Merge main into feat/plugin-api-last-filter 2026-11-25 09:03:55 -08:00
dotCooCoo f49734f5ec Docs: SVG round trips keep mm, cm, in and pc; other units keep their printed size 2026-11-25 08:57:54 -08:00
dotCooCoo b21ff45039 Properties: test that the Profile row follows a selection change
The row hides when the stroke with a variable width leaves the selection
and shows again when it comes back, with the document unchanged.
2026-11-25 08:51:11 -08:00