Commit Graph
10303 Commits
Author SHA1 Message Date
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
BFlat c3c02f81e0 Merge pull request #9128 from dotCooCoo/fix/print-fonts-setting
Print: the Fonts setting chooses how PostScript output sends type
2026-11-24 16:06:58 +07:00
BFlat 87de595305 Merge pull request #9096 from dotCooCoo/fix/plugin-run-no-op-undo
Plug-ins: a run that changes nothing records no undo step
2026-11-24 16:06:33 +07:00
BFlat 7696b503e6 Merge pull request #9079 from dotCooCoo/feat/js-es2015-block-arrow-template
Scripts: .js scripts run let, const, arrows, templates, default and rest parameters and spread
2026-11-24 16:06:07 +07:00
BFlat c79555c25c Merge pull request #9070 from dotCooCoo/feat/scripts-unitvalue
Scripts: UnitValue measurements convert and calculate with their units
2026-11-24 16:05:51 +07:00
BFlat 50a4d049fb Merge pull request #9063 from dotCooCoo/feat/three-d-mesh-attributes
3D: meshes carry UVs, smooth bevel normals and a part index
2026-11-24 16:05:34 +07:00
BFlat 2e09e5135f Merge pull request #9046 from dotCooCoo/feat/quick-pen-arc-center-i9314
Pen: Quick Pen marks an arc's center with a cross while the arc is drawn
2026-11-24 16:05:16 +07:00
BFlat fd349e4d11 Merge pull request #9015 from dotCooCoo/fix/smooth-no-worse-pass
Smooth: a drag that would not make a path smoother leaves it as it was
2026-11-24 16:05:00 +07:00
BFlat 1bd8c8cb6e Merge pull request #8987 from dotCooCoo/fix/script-export-linked-files
Scripts: vc.run export of an open document reads its own linked files
2026-11-24 16:04:43 +07:00
BFlat 86a03fcdff Merge pull request #8986 from dotCooCoo/feat/dimension-alt-object-size
Dimension tool: Alt over a path places its overall width or height
2026-11-24 16:04:27 +07:00
BFlat 293dde3d19 Merge pull request #8981 from dotCooCoo/fix/smooth-region-bounds-prefilter
Smooth: a drag over a long path measures only the anchors and segments near it
2026-11-24 16:04:10 +07:00
BFlat 7d984fc7f3 Merge pull request #8964 from dotCooCoo/feat/plugin-manifest-section
Plug-ins: read the manifest from a custom section before running any code
2026-11-24 16:03:53 +07:00
BFlat b4696e31f6 Merge pull request #8933 from dotCooCoo/fix/relink-mask-matching-file-path-docs
Docs: a clipping mask that matches the old file's clipping path is relinked as the file's
2026-11-24 16:03:22 +07:00
BFlat 2d978d843c Merge pull request #8932 from dotCooCoo/fix/palette-typo-description-order
Command Palette: docs rank typo results that match a word by description last
2026-11-24 16:03:05 +07:00
BFlat ae0abde1a6 Merge pull request #8889 from dotCooCoo/fix/i18n-message-scan-escapes
i18n: the message scan reads string escapes the way Rust does
2026-11-24 16:02:14 +07:00