Commit Graph
17319 Commits
Author SHA1 Message Date
dotCooCoo 39c5e98a3e Scripts: refuse unsafe close saves and refused multi-file writes up front
- A save of several files whose file access refuses one of them returns
  the refusal before any file goes to the writer, so a writer that does
  not check the file access writes nothing.
- close(SaveOptions.SAVECHANGES) throws before writing, and leaves the
  document open, when the document's last save named some of its
  artboards, since saving with those options again could leave changes
  out of the file.
- The script check no longer treats an object literal's saveAs or
  exportFile as the script's own when a function body assigns the
  variable without declaring it, or when the script assigns it as a
  property of this (the global object in global code and in a function
  called without a receiver).
- The close-with-SAVECHANGES format test reads the saved PDF and checks
  that it holds the change made after the first save.
- docs/mcp.md limits the "none of them is written" sentence for SVG
  linked images to refusals found before the first write, and documents
  the new close refusal.
2026-11-28 03:15:22 -08:00
dotCooCoo 887c67a8f1 Merge main into feat/scripts-api-d6-save-export-open 2026-11-27 21:58:18 -08:00
.CooCoo 82d9ff0182 Merge pull request #9867 from dotCooCoo/fix/script-prototype-write-test
Scripts: the prototype-write test fails when a write to PathItem.prototype succeeds
2026-11-27 21:54:33 -08:00
.CooCoo a95a52e06a Merge pull request #9866 from dotCooCoo/fix/script-preset-field-size
Scripts: DocumentPreset settings refuse a value of the wrong kind or size
2026-11-27 21:54:22 -08:00
.CooCoo d7b78f4065 Merge pull request #9865 from dotCooCoo/fix/floating-window-copy
Edit: Copy in a floating window copies the art while a label elsewhere has text selected
2026-11-27 21:54:10 -08:00
.CooCoo 8f7d18bb79 Merge pull request #9864 from dotCooCoo/fix/artboard-revolve-spacing-tokens
Dialogs: Artboard Options and the light editor space their groups with the gap tokens
2026-11-27 21:53:58 -08:00
.CooCoo a27235c85c Merge pull request #9863 from dotCooCoo/fix/corner-radius-labels-start
Transform: the corner radius labels start their column
2026-11-27 21:53:47 -08:00
.CooCoo fd649820ea Merge pull request #9783 from dotCooCoo/fix/smart-punctuation-revert
Smart Punctuation: refuse a draft from before File > Revert
2026-11-27 21:48:59 -08:00
.CooCoo 8f8cec62d3 Merge pull request #9799 from dotCooCoo/fix/turkish-ppi-rows
i18n: Turkish PPI rows read PPI instead of a producer price index
2026-11-27 21:48:47 -08:00
.CooCoo 3e6b0dd094 Merge pull request #9849 from dotCooCoo/feat/cmx-export-vc
File formats: export .cmx files
2026-11-27 21:45:28 -08:00
.CooCoo a3e825c36f Merge pull request #9827 from dotCooCoo/fix/artboard-control-name-commit
Artboards: the Control bar's Name field renames on Enter or Tab and Escape cancels
2026-11-27 21:45:16 -08:00
.CooCoo 77c9254b5d Merge pull request #9826 from dotCooCoo/fix/free-distort-untouched-axis
Free Distort: an arrow nudge keeps each corner's other coordinate exact
2026-11-27 21:45:04 -08:00
.CooCoo 5fe987ee2d Merge pull request #9860 from dotCooCoo/feat/ctrl-click-select-behind
Selection: Cmd/Ctrl-clicks step through grouped objects under the pointer
2026-11-27 21:44:40 -08:00
.CooCoo d9abaae27b Merge pull request #9805 from dotCooCoo/fix/issue-6310
Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
2026-11-27 21:44:21 -08:00
.CooCoo 8ffd30cf37 Merge pull request #9791 from dotCooCoo/fix/direct-move-edge-snap
Direct Selection: a path held by its edge lands that point on other paths
2026-11-27 21:44:09 -08:00
.CooCoo 57be40f876 Merge pull request #9787 from dotCooCoo/fix/pathdata-bounds-lone-anchors
Paths: a subpath of one anchor counts in the path's bounds
2026-11-27 21:43:57 -08:00
.CooCoo f81ee83f20 Merge pull request #9832 from dotCooCoo/fix/isolation-removed-object
Isolation mode: an edit that removes the isolated object ends isolation mode
2026-11-27 21:43:45 -08:00
.CooCoo 25cbbeca4a Merge pull request #9802 from dotCooCoo/fix/scripts-documents-active-first
Scripts: app.documents lists the active document first
2026-11-27 21:43:33 -08:00
.CooCoo bab1ae5fe1 Merge pull request #9810 from dotCooCoo/fix/appearance-per-target-lazy
Appearance: proxies with an active row match only the targets they read
2026-11-27 21:43:21 -08:00
.CooCoo 3ddca214d5 Merge pull request #9794 from dotCooCoo/fix/color-wheel-opacity-followups
Color: a targeted layer shows the paint of its editable art
2026-11-27 21:43:09 -08:00
.CooCoo 00e2e29391 Merge pull request #9800 from dotCooCoo/fix/series-opacity-params-text
Graphs: paint opacity params text matches what a series stores
2026-11-27 21:42:56 -08:00
.CooCoo 02ed17b4a3 Merge pull request #9804 from dotCooCoo/fix/pathtools-shape-set-mask
Parametric Shape: a new center, size or rotation takes a linked mask and placed gradients along
2026-11-27 21:42:44 -08:00
.CooCoo ec0d967b1b Merge pull request #9830 from dotCooCoo/fix/fill-area-unresolved-clipped-subpath
Fill Area: a clipped path its mask cannot cut stops the areas it reaches
2026-11-27 21:42:32 -08:00
.CooCoo 30d0809286 Merge pull request #9780 from dotCooCoo/fix/para-style-options-opening-document
Keep Paragraph Style Options in its opening document
2026-11-27 21:42:20 -08:00
.CooCoo 235c89c476 Merge pull request #9788 from dotCooCoo/fix/plugin-example-desaturate-keeps-path
Plug-ins: the example Desaturate filter leaves paths as they were
2026-11-27 21:42:06 -08:00
.CooCoo 3129fefd0c Merge pull request #9795 from dotCooCoo/fix/smart-guides-press-reuses-hover
Smart Guides: a press reuses the targets the hover gathered for the same document state
2026-11-27 21:41:54 -08:00
.CooCoo 37484b643d Merge pull request #9793 from dotCooCoo/fix/cleanup-keeps-clipping-paths
Clean Up: keep the clipping paths of groups and layers
2026-11-27 21:41:41 -08:00
.CooCoo 09bb1855de Merge pull request #9792 from dotCooCoo/fix/scatter-spacing-stroked-art
Brushes: Scatter brush copies of stroked art are spaced by their stroked width
2026-11-27 21:41:29 -08:00
.CooCoo b7cec34427 Merge pull request #9778 from dotCooCoo/fix/pdf-cmyk-count
PDF export: the CMYK document warning counts only RGB images written to the file
2026-11-27 21:41:17 -08:00
.CooCoo 90b2d1264e Merge pull request #9798 from dotCooCoo/fix/plugin-export-opening-doc
Plug-in export: write the document the dialog opened on
2026-11-27 21:41:04 -08:00
.CooCoo 4249f25e9b Merge pull request #9785 from dotCooCoo/fix/color-picker-opening-document
Color Picker: keep Fill and Stroke edits on the opening document
2026-11-27 21:40:52 -08:00
.CooCoo 54e9657b4c Merge pull request #9803 from dotCooCoo/fix/live-preview-commit-own-edit
Live preview: commit only the edit the dialog started
2026-11-27 21:40:39 -08:00
.CooCoo 7405995bd7 Merge pull request #9784 from dotCooCoo/fix/flatten-opening-document
Flatten Transparency: keep preview and OK on the opening document
2026-11-27 21:40:27 -08:00
.CooCoo d7e422e895 Merge pull request #9779 from dotCooCoo/fix/revert-guards-hyphenation-new-swatch
Dialogs: Hyphenation and New Swatch refuse a draft from before File > Revert
2026-11-27 21:40:16 -08:00
.CooCoo 9bcfb28c6b Merge pull request #9801 from dotCooCoo/fix/embed-several-linked-images
Images: with several images selected, Properties and the Control bar offer Embed and Unembed…
2026-11-27 21:39:56 -08:00
.CooCoo dfc19ff3a7 Merge pull request #9824 from dotCooCoo/fix/placing-tests-handshakes
Tests: placing tests wait for the read instead of a time window
2026-11-27 21:39:44 -08:00
.CooCoo bc55792941 Merge pull request #9831 from dotCooCoo/fix/mcp-concurrency-handshakes
MCP: concurrency tests wait on handshakes and a test clock, not sleeps
2026-11-27 21:39:31 -08:00
.CooCoo 58c80d22e4 Merge pull request #9823 from dotCooCoo/fix/mcp-refused-connect-no-timing
MCP: refused-connect tests count connect attempts instead of timing them
2026-11-27 21:39:19 -08:00
.CooCoo fc83083fea Merge pull request #9828 from dotCooCoo/fix/plugin-export-cancel-handshake
Tests: cancel the plug-in export test on the exporter's first progress report
2026-11-27 21:39:02 -08:00
.CooCoo 54432ad724 Merge pull request #9818 from dotCooCoo/fix/fold-preview-print-handshake
Fold Preview: time the print's settle wait on the app clock
2026-11-27 21:38:19 -08:00
.CooCoo 94fa38479f Merge pull request #9861 from dotCooCoo/fix/pdf-import-work-counters
PDF import: complexity tests count the work done instead of timing it
2026-11-27 21:38:07 -08:00
.CooCoo a7fb3792db Merge pull request #9858 from dotCooCoo/fix/cad-import-work-counts
DXF import: the symbol-name and layout tests count the work instead of timing it
2026-11-27 21:37:51 -08:00
.CooCoo a628629f7d Merge pull request #9857 from dotCooCoo/fix/file-locks-unlock-on-drop
Locks: dropping a lock holder unlocks its file
2026-11-27 21:37:36 -08:00
.CooCoo 2cabf8ddd6 Merge pull request #9854 from dotCooCoo/fix/cms-scoped-working-settings
Color: with_active keeps the working settings on its thread too
2026-11-27 21:37:24 -08:00
.CooCoo 61f41edbc3 Merge pull request #9851 from dotCooCoo/fix/complexity-tests-count-work
Tests: complexity tests in effects, brush, tools and trace count work instead of timing it
2026-11-27 21:37:11 -08:00
.CooCoo 4947e21b65 Merge pull request #9843 from dotCooCoo/fix/text-tests-no-wall-clock
Tests: text tests count work and wait on handshakes instead of the clock
2026-11-27 21:36:58 -08:00
.CooCoo 990637f30d Merge pull request #9839 from dotCooCoo/fix/plugins-tests-without-timing
Plug-ins: loader, registry and dialog tests wait on handshakes instead of spin counts
2026-11-27 21:36:45 -08:00
.CooCoo 0b07f8b0bd Merge pull request #9842 from dotCooCoo/fix/screenshot-test-app-clock
Tests: the screenshot trial steps the app's clock instead of the wall clock
2026-11-27 21:36:16 -08:00
.CooCoo 8529caaba7 Merge pull request #9855 from dotCooCoo/fix/dimension-preview-bounds-group-edges
Dimension: Linear points snap onto preview bounds edges, groups and stroked type
2026-11-27 21:36:07 -08:00
.CooCoo 77a609eed6 Merge pull request #9820 from dotCooCoo/chore/craft-libs-pin-51fcc3b0
Dependencies: take every craft-libs crate from craft-libs main at 51fcc3b041
2026-11-27 21:35:36 -08:00