Commit Graph
11491 Commits
Author SHA1 Message Date
dotCooCoo ac5ee6f3aa Merge main into feat/js-object-set-prototype-of 2026-12-01 21:07:58 -08:00
dotCooCoo 8c78d72c9f Scripts: for-in asks only the proxies that listed a name
- A for-in loop now records, for each proxy whose ownKeys trap it called,
  the positions of the names that proxy returned, and asks a proxy for a
  name's descriptor only when that proxy listed the name. A proxy that did
  not list a name no longer hides an inherited one, and the proxy that did
  is still asked after a prototype change moves it on the chain. The
  records keep their proxies reachable and count against the heap limit.
- The check before each name walks own properties object by object, so a
  typed array without the element a name gives no longer hides that name
  on its prototypes.
- Function.prototype.apply reads the list's length with ToLength in a run
  with the ES2015 option, so a negative length gives no arguments; other
  runs keep ToUint32.
- Docs: typeof on a revoked proxy does not throw, and a setPrototypeOf
  trap that returns true may leave the prototype unchanged.
2026-12-01 21:07:58 -08:00
BFlat f2f7727305 Merge pull request #10479 from ruchirguitar/feat/color-themes-row-menu
Color Themes: add a context menu to saved theme rows
2026-12-02 11:47:30 +07:00
BFlat 1e8e27fa16 Merge pull request #10481 from ruchirguitar/glyphs-cell-menus
Glyphs: right-click a cell to insert or apply it
2026-12-02 11:47:24 +07:00
BFlat 5ed86c0c45 Merge pull request #10482 from ruchirguitar/feat/resource-library-item-menus
Add item context menus to resource library panels
2026-12-02 11:47:18 +07:00
dotCooCoo 02077bb5a3 Merge main into feat/js-object-set-prototype-of 2026-12-01 20:25:00 -08:00
dotCooCoo 18b8e71086 Docs: the ownKeys invariant check charges code units only for names it looks up
For an extensible target whose own properties are all configurable, the
check reads each property's descriptor for one unit of fuel and returns
before it looks any name up, so it does not charge for code units. The
paragraph in docs/mcp.md now says which part of the check charges per key
and which part charges per code unit.
2026-12-01 20:25:00 -08:00
.CooCoo 3860a8025c Merge pull request #10502 from dotCooCoo/fix/common-tangents-metaball
Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
2026-12-01 18:28:19 -08:00
.CooCoo 44522e9b7e Merge pull request #10506 from dotCooCoo/fix/include-bleed-native-files
Export for Screens: Include Bleed files of an artboard hold the bleed once
2026-12-01 17:32:13 -08:00
FredApps c3d4cd7444 Merge branch 'main' into feat/arabic-language-support 2026-12-02 01:08:16 +01:00
FredApps 559a2205d5 Merge branch 'main' into svg/export-length-unit 2026-12-02 00:35:06 +01:00
.CooCoo 3852fa4afb Merge pull request #10484 from dotCooCoo/fix/pathops-cap-reports
Pathfinder: Divide and Live Paint report paths too complex to map
2026-12-01 15:33:36 -08:00
FredApps 5a4a558f5c Merge branch 'main' into svg/export-length-unit 2026-12-02 00:29:33 +01:00
.CooCoo aa557da659 Merge pull request #8808 from dotCooCoo/feat/quick-pen-scroll-arc
Quick Pen: Ctrl+wheel over the canvas changes the arc size
2026-12-01 14:57:33 -08:00
dotCooCoo bb9a4463ee Merge main into fix/include-bleed-native-files 2026-12-01 14:38:42 -08:00
dotCooCoo 86a5efd04c Export for Screens: Include Bleed files of an artboard hold the bleed once
With Include Bleed, a .vectorcraft, .ai or EPS row wrote the artboard
already grown by the document's bleed and kept the document's bleed as
well. Opened again, the file had the bleed outside the grown artboard, so
a PDF with the document's bleed came out with it twice: a 3 mm bleed made
a 6 mm one.

These files now hold the grown artboard with a bleed of 0. PDF rows and
Full Document files are unchanged. The params text and docs/mcp.md say so.
2026-12-01 14:38:27 -08:00
dotCooCoo 67ae8f8e58 Merge main into fix/common-tangents-metaball 2026-12-01 14:18:44 -08:00
.CooCoo 0667ef8644 Merge pull request #10421 from dotCooCoo/chore/test-lint-rules
xtask: test-lint reports mirror, constant-echo, fixture-only, never-run and exact-pixel tests
2026-12-01 14:01:51 -08:00
dotCooCoo 6230cf282a Merge main into fix/common-tangents-metaball 2026-12-01 13:17:02 -08:00
dotCooCoo 813ef9b3e7 Merge main into fix/pathops-cap-reports 2026-12-01 13:16:59 -08:00
.CooCoo a5a3e40c5e Merge pull request #9087 from dotCooCoo/feat/scripts-print-printer
Scripts: Document.print prints to an installed printer and app.printerList lists the printers
2026-12-01 13:11:17 -08:00
dotCooCoo 988e5ca919 Merge main into fix/common-tangents-metaball 2026-12-01 11:16:00 -08:00
dotCooCoo 6f684e6da9 Path Precision Tools: Common Tangents and Smooth Bridge are one dialog
Common Tangents… now also does what Smooth Bridge… did (#10465).

- Connect tangents joins the two tangents of each kind into one closed
  shape, along the chords between where they touch each path (a point's
  two lines make a triangle). `connect` on
  `addon.pathtools.commonTangents`.
- With External, the dialog shows Straight and Curved. Straight keeps
  the tangent lines; Curved joins the circles along concave arcs, as
  Smooth Bridge did, with Radius, Constant Gap, Reach and Keep
  Originals, which take input only with Curved. `curved`, `radius`,
  `gap`, `reach` and `keepOriginals` on the command; options of the
  other mode are an error.
- The Smooth Bridge… menu item is gone. `addon.pathtools.bridge` still
  runs for scripts and actions, opens the merged dialog with External
  and Curved, and is left out of the command palette and Keyboard
  Shortcuts. A palette search for "metaball" or "smooth bridge" finds
  Common Tangents.

Docs: docs/mcp.md, docs/ui-parity.md, ROADMAP.
2026-12-01 11:16:00 -08:00
.CooCoo 7936fd6f67 Merge pull request #10153 from dotCooCoo/fix/file-new-rejects-bad-rows
New Document: file.new refuses artboard counts that are not whole numbers
2026-12-01 09:47:36 -08:00
.CooCoo d2b21eee81 Merge pull request #10145 from dotCooCoo/fix/placement-options-keeps-links
Links: Placement Options applies to the images it opened on
2026-12-01 09:47:28 -08:00
.CooCoo 9a9cdbcf33 Merge pull request #10140 from dotCooCoo/feat/symbol-drop-keeps-art
Symbols: art dropped on a symbol with Alt+Shift redefines it and stays as it was
2026-12-01 09:47:19 -08:00
.CooCoo fd24af05d7 Merge pull request #10118 from dotCooCoo/fix/layer-options-key
MCP: dialog params texts name the keys ui.inspect reports
2026-12-01 09:47:10 -08:00
Ruchir 68a104ba8f Add item context menus to resource library panels 2026-12-01 23:00:18 +05:30
dotCooCoo 66c01445d5 Pathfinder: Divide and Live Paint report paths too complex to map
When the planar map is skipped because the paths have too many pieces
(SHAPE_BUILDER_MAX_MAP_EDGES, added in 7a46d5ec56), too many segments
or exceed the sweep's work budget, Divide with open paths fell back to
the filled areas. It replaced the selection with the uncut shapes and
deleted the cutting paths without saying so. Live Paint built no faces:
Make reported the paths as too degenerate to paint, and with Gap
Detection a group could get its edges and no faces.

pathops now has try_pathfinder_with, try_live_paint and
try_live_paint_with_gaps, which return TooManyPieces in those cases
without sweeping the filled areas. Divide, Live Paint Make, Merge and
Gap Options use them and stop with an error that leaves the art
unchanged. The caps, and the fallbacks of pathfinder_with, live_paint,
live_paint_with_gaps and the Shape Builder, are unchanged.

When a Gap Options preview fails after one that found gaps, the dialog
no longer keeps drawing the earlier preview's gaps over the groups the
failure put back.

Docs: docs/mcp.md, the commands' params text and the Divide line in
docs/target-app-parity.md.
2026-12-01 09:29:56 -08:00
dotCooCoo b3c1a31cfa JavaScript: proxy checks follow GetFunctionRealm, subclass order and for-in sources
- A non-object `prototype` on `new.target` walks its bound and proxy chain
  (GetFunctionRealm), so a get trap that revokes the proxy throws a
  TypeError instead of running the constructor.
- A subclassable built-in such as Number no longer unwraps a revoked
  `new.target` before its own argument conversion runs.
- for-in records how many proxies came before the object that first listed
  each name, and the recheck does not ask those proxies for a descriptor, so
  a proxy that did not list a name cannot hide an inherited enumerable one.
- Names from an ownKeys trap take fuel for their code units, and so do the
  names the ownKeys invariant check hashes.
- The DataView argument test expects TypeError for a non-buffer and
  RangeError for a bad offset or length.
2026-12-01 09:06:27 -08:00
dotCooCoo 602d2142e4 Merge main into chore/test-lint-rules 2026-12-01 07:41:47 -08:00
BFlat 7b5b960f33 Merge pull request #10456 from ruchirguitar/preflight-finding-menu
Preflight: add finding row context menus
2026-12-01 22:40:58 +07:00
BFlat 280dce86c5 Merge pull request #10438 from ruchirguitar/fix/9022-create-outlines-context-menu
Canvas: offer Create Outlines for selected text
2026-12-01 22:21:13 +07:00
ruchirguitar d61d946a3d Color Themes: add a context menu to saved theme rows 2026-12-01 19:59:47 +05:30
dotCooCoo a992850228 Merge main into feat/color-randomly
# Conflicts:
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/menus/ui_commands.rs
2026-12-01 06:26:48 -08:00
dotCooCoo 8ba55104f0 Merge main into feat/group-rows
# Conflicts:
#	crates/engine/src/cmd/plugin_call/reviewed.rs
#	crates/mcp/src/ui_catalog.rs
#	crates/ui-egui/src/addons/arrange.rs
#	crates/ui-egui/src/menus/ui_commands.rs
#	docs/mcp.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-12-01 06:20:46 -08:00
.CooCoo 4e6cc52aea Merge pull request #10332 from dotCooCoo/fix/script-page-item-edits
Scripts: locked artboards stop path edits, and move and zOrder respect clipping paths
2026-12-01 06:19:21 -08:00
.CooCoo 83b2c22b78 Merge pull request #10148 from dotCooCoo/feat/corner-marks
Arrange Tools: Mark Bounds of Each draws corner marks or a rectangle on each selected object's bounds
2026-12-01 06:18:27 -08:00
Ruchir 8a73135d7f Preflight: add finding row context menus 2026-12-01 19:39:01 +05:30
Ruchir a8731bf8ed Canvas: offer Create Outlines for text inside selected groups 2026-12-01 19:31:48 +05:30
e28faa0a94 Color Halftone: draw dark dots on light tones (#10316)
* fix(effects): draw dark dots in RGB Color Halftone

(cherry picked from commit 2dbe91af9f)

* Cover dark-on-light RGB halftone polarity

Updated halftone tests to clarify behavior regarding pixel brightness and dot sizes.

(cherry picked from commit babd60e332)

* effects: bound Color Halftone dots at full coverage

(cherry picked from commit 8fb0bf55607762df6e3acc2ed7ed37a643fea022)

* effects: describe Color Halftone ink coverage

(cherry picked from commit 0dbf12514095b6e12cb4414055d8ac47ee1fbcdc)

* Document the change to saved RGB halftones

* Test the bounded edge overlap of full halftone dots

---------

Co-authored-by: Mex <[email protected]>
Co-authored-by: dotCooCoo <[email protected]>
2026-12-01 14:17:04 +01:00
dotCooCoo 6d460049fd Merge main into chore/test-lint-rules 2026-12-01 03:32:17 -08:00
dotCooCoo edcad3c183 Tests: test-lint judges negations, cfg escapes and module declarations exactly
- census keeps the polarity of a negation: `!parse(x).is_ok()` is a
  rejection, while `!xs.is_empty()` stays a presence check.
- reads-source looks at the last path literal of a read_to_string
  argument, so `root.join("fixtures.rs").join("input.json")` is not a hit.
- never-run reads an escaped cfg string value as unknown, takes every
  `mod` declaration of a module (`#[cfg(windows)]` and `#[cfg(unix)]`
  both count), and ties a change to an attribute only when that
  attribute excludes a CI target.
- exact-pixel does not count a coordinate passed to a function.
- docs/development.md says when never-run can decide a cfg.
2026-12-01 02:39:39 -08:00
dd1f4d2936 Tools: add search beside Edit Toolbar (#8770)
* Tools: add search beside Edit Toolbar

Open the existing tool-aware command palette from the Tools footer, preserving the customization button and fitting both column layouts.

Closes #8758.

* Format the toolbar Search interaction regressions

* Format the native Search tooltip expectation

* Use the current stroke paint API in Properties

* Scope app-bar test lookups to the title bar

---------

Co-authored-by: FredApps <[email protected]>
Co-authored-by: FredApps <[email protected]>
2026-12-01 11:34:49 +01:00
Ruchir 64846b2274 Canvas: offer Create Outlines for selected text 2026-12-01 15:48:58 +05:30
dotCooCoo f29fd8c3a0 Merge main into chore/test-lint-rules 2026-12-01 02:04:59 -08:00
dotCooCoo ded4e473a2 xtask: test-lint follows comments, inline and shared modules, and changed mod cfgs
- never-run reads cfg predicates with comments removed, finds a module
  declared inside an inline module of its parent's parent, stops when
  several files declare a module with different attributes, and counts a
  change to a cfg on a mod declaration in another file against the tests
  it turns off. The lines between a module's cfg and the test no longer
  count as changes to the test.
- reads-source ignores paths in comments.
- census bounds weak_predicate at 64 levels and does not take a lookup
  with an operator before it as a round trip.
- fixture-only treats a for-loop binding that shadows a fixture as
  unknown.
- exact-pixel skips ratios and scaled values.
- docs/development.md lists reads-source and never-run as failing rules.
2026-12-01 02:04:59 -08:00
.CooCoo 084c01d031 Merge pull request #10364 from dotCooCoo/fix/halftone-euclidean-elliptical
Vector Halftone: Euclidean and Elliptical dot shapes
2026-12-01 01:22:58 -08:00
dotCooCoo eadf345932 Merge main into feat/color-randomly 2026-12-01 01:04:32 -08:00
dotCooCoo 3fcb278b24 Merge main into feat/group-rows 2026-12-01 01:03:49 -08:00