Commit Graph
10247 Commits
Author SHA1 Message Date
BFlat 2fb75e8100 Merge pull request #8788 from dotCooCoo/feat/quick-pen-length-handles
Pen: Quick Pen handles at a path's ends make its line or arc longer or shorter
2026-11-25 11:26:26 +07:00
dotCooCoo 0f3a4c253f Merge main into fix/followup-8269 2026-11-24 20:23:46 -08:00
dotCooCoo d56f040298 Merge main into feat/tabs-x-field-adds-stop 2026-11-24 20:20:21 -08:00
dotCooCoo bec8db50cb Merge main into feat/layers-full-selection-square 2026-11-24 20:17:28 -08:00
dotCooCoo b202c6304d Merge main into fix/value-fields-arithmetic 2026-11-24 20:12:11 -08:00
dotCooCoo ee947082ed Merge main into fix/plugin-grants-integrity 2026-11-24 19:26:24 -08:00
dotCooCoo 342ce8de51 Merge main into feat/delete-keeps-paths-joined
The two Direct Selection preference tests in
crates/ui-egui/src/tests/removeanchors.rs now use
crate::testing::ui_context() and app.canvas_view() to place the click,
as the other canvas tests on main do.
2026-11-24 19:17:02 -08:00
dotCooCoo aa8aba4500 Merge main into feat/artboards-rearrange-selected 2026-11-24 19:00:31 -08:00
dotCooCoo ebf27e1feb Merge main into feat/i18n-bg-messages 2026-11-24 18:23:37 -08:00
dotCooCoo 986da7d0b4 Scripts: assigning undefined to Document.selection throws and keeps the selection
Document.selection treated undefined like null and cleared the selection.
It now throws a TypeError for undefined, as for any value that is not a
page item, a list of them, null or [], and leaves the selection as it was.
2026-11-24 18:06:50 -08:00
dotCooCoo 0a36ef97e1 Merge main into fix/ctrl-lends-selection-tool 2026-11-24 18:02:30 -08:00
dotCooCoo ef5de4d5e5 Merge main into feat/docinfo-image-details 2026-11-24 17:57:03 -08:00
dotCooCoo 1ac56ef3ba Scripts: script.grants reports a grants file that is a link to a missing file
A link in the grants file's place whose target is missing is there but
cannot be read, so script.grants fails on it and script.grants.revoke
leaves it as it is, instead of treating it as a missing grants file.
2026-11-24 17:54:20 -08:00
dotCooCoo 6d0d4bd1a4 Merge main into fix/script-grants-read-failure 2026-11-24 17:26:58 -08:00
dotCooCoo f16defe5db Merge main into feat/scripts-api-d7b-tags-notes-uuid 2026-11-24 17:00:39 -08:00
dotCooCoo af34f97abc Merge feat/scripts-api-d1a-app-documents into feat/scripts-api-d7b-tags-notes-uuid
# Conflicts:
#	crates/ui-egui/src/dialogs/new_document.rs
2026-11-24 17:00:35 -08:00
dotCooCoo 9a60524d6b Merge main into feat/plugin-menu-placement 2026-11-24 16:21:26 -08:00
dotCooCoo 112eacbb1c Scripts: remove() keeps an emptied compound path, and note takes numbers
- remove() on the last path of a compound path keeps the compound path,
  empty, as move() does, so a script that holds it can still read it.
  edit.clear takes keepEmpty: true for this, and passes it on to
  path.deleteAnchors when it deletes direct-selected anchors; without
  it, Clear still deletes a compound path it empties.
- note, like name, takes a number or a Boolean as the text String()
  gives it.
- Assigning a graph mark or label the opacity it already has throws
  Cannot edit in a hidden or locked layer when the graph keeps another
  opacity for its series or kind, since the assignment would still
  change the graph.
- Only the exact opacity the getter reports counts as the opacity an
  object already has; a value that differs from it by less than 0.0001
  is now applied instead of being dropped.
- Reading a document's selection orders only the selected objects, by
  their place in the tree, so its cost no longer grows with the size of
  the document.
- docs/mcp.md: the opacity exception, note, keepEmpty, and that
  strict-mode code throws a TypeError when it assigns a member an object
  lacks.

Docs: docs/mcp.md.
2026-11-24 16:15:51 -08:00
dotCooCoo fe0e408607 Scripts: zOrder refuses art in a hidden or locked layer, and the same opacity may be assigned
- zOrder() on an object in a hidden or locked layer throws Cannot edit
  and changes nothing, as the other setters do.
- Assigning an object the opacity it already has no longer throws when
  its layer is hidden or locked. hidden and locked are still refused
  there, whatever the value.
- The docs say that a top-level var selection = ... assigns the
  selection, that the selection order and the tab order of documents
  differ from the objectReferences page, and that assigning a member a
  collection lacks throws Not found.

Docs: docs/mcp.md.
2026-11-24 16:15:50 -08:00
dotCooCoo 3ad7a77378 Merge main into feat/retype-installed-fonts 2026-11-24 15:24:41 -08:00
dotCooCoo 7a85e09b26 Merge main into feat/retype-installed-fonts 2026-11-24 15:21:47 -08:00
dotCooCoo d1d2cb4c26 Merge main into fix/eps-discard-white-overprint 2026-11-24 13:58:57 -08:00
dotCooCoo da4cc3e9f9 Merge main into feat/inscribed-circle 2026-11-24 13:39:51 -08:00
dotCooCoo 5813d26ce7 Merge main into perf/docinfo-cached-rows-no-copy 2026-11-24 13:38:17 -08:00
ruchirguitar e78f196dcc Merge main and port Variables row menus to Craft UI 2026-11-25 02:48:51 +05:30
dotCooCoo 14fb78aa39 Merge main into fix/save-for-web-shift-edits
Main moved Save for Web's color table edits to dialogs/save_for_web/color_table.rs. The 256-shift limit and the matching of colors written another way now live there, with their tests in tests_table.rs.
2026-11-24 13:12:39 -08:00
dotCooCoo 83dcc4b6be Merge main into fix/place-empty-password-links 2026-11-24 13:09:33 -08:00
dotCooCoo ecebe5f1d1 Merge main into feat/color-wheel-opacity 2026-11-24 12:33:59 -08:00
dotCooCoo 8f474a41a3 Merge main into fix/white-spot-ink-overprints
The white checks for colorized images in PDF export, EPS export and Print
Ink Fixes now go through DiscardWhite, which replaces
Document::spot_ink and Document::discards_white_overprint. Printed
separations read DiscardWhite with the spot inks they print, so a white
spot ink converted to process inks knocks out there.
2026-11-24 12:31:45 -08:00
dotCooCoo ec42aea37f Merge main into fix/library-numbered-tint-names 2026-11-24 11:36:43 -08:00
dotCooCoo 76c4689e02 Save for Web: shifts the engine drops do not count toward the 256 limit
A key shifted to itself or a deleted color no longer counts toward the
256 shifts, and a new shift writes `shifted` without those entries. A
map the engine refuses (a key or value that is not a color, two keys
naming one color) is kept whole, so the engine still reports it.

Docs: docs/mcp.md.
2026-11-24 11:33:29 -08:00
dotCooCoo e990b43681 Merge main into feat/scripts-api-d7b-tags-notes-uuid
New Document's More Settings now shows the columns a preset's rows give
the current artboards, and a new layout or column count replaces those
rows, in the dialog main rewrote.
2026-11-24 10:50:38 -08:00
dotCooCoo a58150198f Pathfinder: Outline's junction distance scales with the art and the precision together
Outline joined crossings closer together than the art-size tolerance
multiplied by precision / 0.01. Scale Strokes & Effects scales the art and
the precision together, so scaling both by 10 made that distance 100 times
larger, and crossings that were apart could become one junction.

The distance is now precision / 10000, or the tolerance for the art's
size when that is larger. At the 0.01 pt default it is 0.000001 pt as
before, and scaling the art and the precision together gives the same
pieces at the new size. The params text of object.pathfinder.options and
of the Pathfinder effects, docs/mcp.md and the Pathfinder Options line in
docs/target-app-parity.md describe the new rule.
2026-11-24 10:47:51 -08:00
ruchirguitar 6343a7753a Merge origin/main into cursor/doc-info-selection-only 2026-11-24 23:47:16 +05:30
dotCooCoo 06b483320e Merge main into fix/command-during-interaction 2026-11-24 10:12:16 -08:00
.CooCoo 8e7a6142fc JavaScript: a trailing comma ends call arguments and parameter lists (#9189) 2026-11-25 00:56:02 +07:00
.CooCoo 5f35daad7b Scripts: File and Folder give their localizedName (#9185) 2026-11-25 00:54:37 +07:00
dotCooCoo 798b829c28 Merge main into feat/plugin-api-javascript-runtime 2026-11-24 09:30:33 -08:00
dotCooCoo cef8a6d897 Plug-ins: background loads check stored files and ids again before they install
- A stored module's file is read again on its worker thread once the module
  has loaded, whatever the file's modified time, and the install still skips
  a file whose stamp changed since. The UI thread no longer reads the file.
- Stored and folder modules install through registry::install_for_load,
  which checks for an install or removal of the id elsewhere while the
  plug-ins' write lock is held, and records the module's grant in the same
  step. A grant is forgotten only while the plug-in that took that revision
  is still installed (registry::revoke_if_installed).
- A grant that a stored load removed and must put back for a later file is
  written to grants.json first; when that write fails, the module is not
  installed, and a grant put back for a module that then did not install is
  removed again.
- A folder load in which a file found no loader thread is loaded again the
  next time the preferences are applied. A plugin.reload keeps its report as
  the folder last loaded only when no load started after it.
- Loads: a job's time is read while it is marked finished, the deadline check
  reads the clock under the same lock, and only the jobs taken from the queue
  fail when no worker is left. wait() counts outcomes taken with ready() as
  released, so the jobs after them start.
- File › Open checks the path again after waiting for the plug-in loads.
- Tests wait for workers with bounded receives.
2026-11-24 09:27:50 -08:00
dotCooCoo 287a05c857 EPS: spot white keeps overprinting with Discard White Overprint
Discard White Overprint covers process white only. A white fill or
stroke linked to a spot swatch at a tint above 0% is written as its own
Separation ink and now keeps overprinting. Global process swatches, a
0% tint and a spot swatch without a color still knock out.
2026-11-24 09:23:14 -08:00
dotCooCoo c0f91bc820 Save for Web: the color table's selection matches a color written another way
- A selected color or list entry written another way (`#00F` for
  `#0000ff`) now names its table color: Lock, Transparent, Web Shift and
  Delete Color act on it and write it as the table does, and the ring
  and button labels follow it.
- Delete Color compares the table's lists as colors, so deleting the
  only color left is refused when the selection or a list is written
  another way, and a deleted color is taken out of the Lock, Transparent
  and Web Shift lists however they write it.
- A Ctrl-click on a selected color takes out every selection entry that
  names it.
- A spelling with alpha (`#rrggbbaa`) names no table color, as the
  engine reads the table.

Docs: docs/mcp.md.
2026-11-24 09:17:09 -08:00
dotCooCoo b4c214169b Merge main into feat/quick-pen-length-handles 2026-11-24 09:16:09 -08:00
dotCooCoo c318de5b01 Merge main into fix/dynamic-text-leading-line-gap 2026-11-24 05:04:32 -08:00
dotCooCoo 07842c930d Merge main into feat/windows-stylus-wheel-wintab 2026-11-24 04:49:46 -08:00
dotCooCoo c82d004309 Merge main into feat/windows-stylus-wheel-wintab 2026-11-24 04:49:35 -08:00
BFlat d48c4207f7 Merge pull request #9102 from dotCooCoo/feat/colorized-image-overprint
Images: Overprint Fill makes a colorized image's color overprint
2026-11-24 16:39:55 +07:00
BFlat 11a26acb0b Merge pull request #9109 from dotCooCoo/feat/js-es2020-optional-chaining-nullish
Scripts: .js scripts read optional chains and the ?? operator
2026-11-24 16:09:45 +07:00
BFlat cf2c4ae3f7 Merge pull request #9187 from dotCooCoo/fix/js-dollar-stack-script-frame
Scripts: $.stack starts with a line that names the running script
2026-11-24 16:08:08 +07:00
BFlat 0773e17df5 Merge pull request #9161 from dotCooCoo/feat/outline-linked-image-x
Outline view: linked images and placed documents show their box with an X
2026-11-24 16:07:52 +07:00
BFlat 3049775dee Merge pull request #9156 from dotCooCoo/fix/plugin-compound-member-state
Plug-ins: a filter keeps a compound path's hidden and locked members
2026-11-24 16:07:35 +07:00