24999 Commits
Author SHA1 Message Date
.CooCoo cd502f08e8 Merge pull request #9073 from dotCooCoo/feat/scripts-api-d1b-prefs-matrix-clipboard
Scripts: app gives scripts preferences, matrices and the clipboard
2026-12-02 17:08:38 -08:00
.CooCoo 5d8deddaf0 Merge pull request #9048 from dotCooCoo/feat/scripts-api-d3-layers-artboards
Scripts: documents give scripts their layers, groups, compound paths and artboards
2026-12-02 16:50:47 -08:00
dotCooCoo dc94ae977c Docs: matrix records passed in need only the six mValue fields
The matrix functions read only mValueA to mValueTY from a record passed
in. The typename "Matrix" is on the records they give back.
2026-12-02 16:10:05 -08:00
.CooCoo e72ff7480d Merge pull request #9062 from dotCooCoo/feat/scripts-api-d8-placed-raster
Scripts: documents give scripts their placed and raster images
2026-12-02 16:07:47 -08:00
dotCooCoo 98c6e5fb20 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:57:11 -08:00
.CooCoo c800d92d1f Merge pull request #10610 from dotCooCoo/fix/one-column-rail-edit-toolbar
Tools: show Edit Toolbar alone in the one-column rail
2026-12-02 15:54:40 -08:00
.CooCoo 822651dc7a Merge pull request #9266 from dotCooCoo/feat/scripts-export-autocad
Scripts: exportFile writes DXF with ExportOptionsAutoCAD
2026-12-02 15:42:04 -08:00
dotCooCoo e369013463 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 15:37:51 -08:00
.CooCoo 923fd71b89 Merge pull request #10600 from dotCooCoo/fix/pdf13-transparency-scan
Tests: the PDF 1.3 transparency check reads dictionaries only
2026-12-02 15:30:26 -08:00
.CooCoo df95fb0d3e Merge pull request #10616 from dotCooCoo/fix/home-title-display-size
Home: the title is drawn at 24 points again
2026-12-02 15:27:08 -08:00
dotCooCoo ab35e04329 Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-12-02 15:23:31 -08:00
.CooCoo 1bb9699b5c Merge pull request #10617 from dotCooCoo/fix/float-tools-beside-rail
Tools: a strip floated before the canvas is laid out opens beside the rail
2026-12-02 15:12:26 -08:00
.CooCoo 7e25c134e0 Merge pull request #10613 from dotCooCoo/fix/flatten-raster-fast-png
EPS export: flattened effect rasters are written with fast PNG compression
2026-12-02 15:01:51 -08:00
.CooCoo 99e81b7b54 Merge pull request #10611 from dotCooCoo/fix/workspaces-open-their-panel
Workspaces: built-in workspaces open their panel again
2026-12-02 14:56:11 -08:00
.CooCoo d708b00dee Merge pull request #10615 from dotCooCoo/fix/halftone-dot-segments
Vector Halftone: write each round dot with four curves again
2026-12-02 14:50:00 -08:00
.CooCoo 684f2e1ec2 Merge pull request #9295 from dotCooCoo/feat/scripts-pageitem-transforms
Scripts: PageItem translate, rotate, resize and transform move and reshape objects
2026-12-02 14:38:51 -08:00
dotCooCoo 32f4dfd62a Docs: title-bar Search shows only while the app bar is wide enough
In a narrow window the title bar drops Search, so the one-column Tools
note now names Help > Search Commands... and its shortcut first.
2026-12-02 14:29:36 -08:00
.CooCoo 827d27f0d3 Merge pull request #10609 from dotCooCoo/fix/marquee-control-bounds-reject
Marquee: skip paths whose control box lies apart from the marquee
2026-12-02 14:20:34 -08:00
dotCooCoo b47eaf582c Merge main into feat/scripts-api-d8-placed-raster 2026-12-02 14:14:45 -08:00
dotCooCoo 326c88a8f3 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 14:12:01 -08:00
dotCooCoo f24eff2963 PDF: stream length test helper ignores names ending in obj
stream_length took the last "obj" substring in the text as the object
header, so a stream dictionary name such as /Tag/obj moved the scan past
the outer dictionary and lost its /Length. The keyword now counts only at
the start of the text or after PDF white space.
2026-12-02 14:11:32 -08:00
dotCooCoo 1f2e9bff33 Merge main into feat/scripts-export-autocad 2026-12-02 14:02:36 -08:00
dotCooCoo f3c5127a4b Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-12-02 13:59:55 -08:00
dotCooCoo b7bc86522c Tools: a strip floated before the canvas is laid out opens beside the rail
window.floatTools placed a new strip at the canvas's top left, and fell
back to (0,0) when no view had been laid out yet: right after a document
opened, or with no document open. The strip then covered the top of the
docked Tools rail.

Without a laid-out view, the strip now opens beside the docked rail it
came from (else the Tools panel's), level with the rail's top and the
float space's cascade inset away from it, on the side toward the middle
of the window. A dragged tear-off still opens at the pointer.
2026-12-02 13:52:39 -08:00
dotCooCoo f5111b293d Home: the title is drawn at 24 points again
The compact type was set to 92% of its nominal sizes (body 13 to 12,
labels 12.5 to 11.5, captions 11.5 to 10.5), but the display type that
draws the Home title stayed at 26 points on a 32-point line, so the
title drew about 8.7% larger than in 0.24.1. The display type is now
24 points on a 29-point line, its nominal 26 on 32 at the same scale.

A test checks that the title keeps the nominal title-to-body
proportion against the compact body type, and that its line keeps the
framework's display line proportion.
2026-12-02 13:51:35 -08:00
.CooCoo f207334070 Merge pull request #10592 from dotCooCoo/fix/print-dialog-printer-discovery
Print: the dialog finds printers on a background job
2026-12-02 13:50:53 -08:00
dotCooCoo 5f3f52c9d5 Merge main into fix/halftone-dot-segments 2026-12-02 13:31:25 -08:00
dotCooCoo c679af091d Vector Halftone: write each round dot with four curves again
The cell-clipped dots split every elliptical arc at 45 degrees, and the
quadrants were joined with a zero-length line where they met on an axis.
A round dot that stays inside its cell had 8 curves and 3 extra anchors
instead of 4 curves, and the halftone's SVG export grew to about twice
its size.

- Arcs are split at 90 degrees, one curve per quarter turn.
- Quadrants and spot corners that meet at the same point are joined
  without a line, so the join adds no anchor.

Tests: an unclipped Circle and Ellipse dot is 4 curves and no line, and
no dot shape repeats an anchor where its quadrants or corners meet.
2026-12-02 13:31:19 -08:00
dotCooCoo 5ce02bb64b Flatten Transparency: write rasterized areas as fast-compressed PNGs
Since #7669 the flattener's rasters have been encoded through the shared
image codec with its default compression (zlib level 6). EPS export, and
any other export that flattens, encodes every rasterized area this way
and then decodes it again right away, so a document with many live
effects exported about 170 ms slower to EPS. The rasters are now written
with PngCompression::Fast, as the SVG filter raster already is
(crates/effects/src/svg_filter.rs). The pixels and the EPS output bytes
do not change.
2026-12-02 13:26:00 -08:00
dotCooCoo 1c9efecfb6 Workspaces: built-in workspaces open their panel again
Switching to Essentials Classic, Automation, Layout, Painting, Printing
and Proofing, Typography, Web or Touch, or resetting one, brought its
panel to the front of its group but no longer opened it from a column
collapsed to icons, so the panel stayed hidden.

A workspace record keeps the panel open from the icons again: each
built-in names its panel, a workspace left or saved keeps the one open
then, and switching or Reset opens it. A recorded panel the new layout
does not show from icons stays closed. Workspaces saved without the
field open none.

The Essentials Classic test checks the open panel again, and new tests
cover Painting, Automation, switching back as left, Reset, saved
workspaces and the preferences' JSON.
2026-12-02 13:20:56 -08:00
dotCooCoo 499055bbbd Tools: show Edit Toolbar alone in the one-column rail
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.

A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.

Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
2026-12-02 13:16:38 -08:00
dotCooCoo d583b8053f Merge main into feat/scripts-pageitem-transforms 2026-12-02 13:09:44 -08:00
dotCooCoo 30ff8bef31 Marquee: skip paths whose control box lies apart from the marquee
hit::intersects_rect measured every path's exact bounds before
deciding it missed the marquee. Since the anchors became chunked
(#7814), that walk costs about three times as much, and a marquee over
many paths became about 1.8x slower than in 0.24.1.

It now first compares the path's cached control box with the rect and
returns false when the two lie strictly apart. A control box that only
touches the rect, or has no area, still goes to the exact checks. On a
50,000-path document a 400x300 marquee takes 8.2 to 10.6 ms instead of
46 to 64 ms, and selects the same 3,675 paths.
2026-12-02 13:08:30 -08:00
dotCooCoo 1576aac89f Scripts: compound path pathItems.index(n) reads the members
`PathItems.index()` with a number went straight to `items_doc`, which
refuses every compound-path-scoped `PathItems` so that creating paths
there stays unavailable. Its siblings (`[n]`, `getByName`, `length`,
`removeAll`) already dispatch scoped collections to the layer handlers
first, but `index` did not, so `compoundPathItems[0].pathItems.index(0)`
threw "creating paths in a compound path is not available yet". Route a
scoped `index` to `scoped_index` like the other lookups; the guard now
only stops real creation.
2026-12-02 12:56:24 -08:00
.CooCoo 38df6754c0 Merge pull request #10607 from dotCooCoo/fix/import-images-fast-png
PDF/EPS/.ai import: store imported images with fast PNG compression
2026-12-02 12:41:47 -08:00
.CooCoo aeddf2f03a Merge pull request #9077 from dotCooCoo/feat/scripts-api-d8b-tracing
Scripts: PlacedItem.trace and RasterItem.trace make an Image Trace object with its tracing options
2026-12-02 12:37:15 -08:00
dotCooCoo 930c02ce8f Merge main into feat/scripts-pageitem-transforms 2026-12-02 12:20:10 -08:00
dotCooCoo badc85e0d0 Merge main into fix/print-dialog-printer-discovery 2026-12-02 12:10:58 -08:00
dotCooCoo 82ed3b1d70 Merge main into feat/scripts-api-d8-placed-raster 2026-12-02 11:57:33 -08:00
dotCooCoo d656458366 Merge main into feat/scripts-export-autocad 2026-12-02 11:52:58 -08:00
dotCooCoo a65d251c87 Scripts: DXF scale tests fail on a drawing with no polyline vertices
dxf_widest and dxf_leftmost folded from f64::MIN and f64::MAX, so a DXF
that kept its header but lost every vertex gave an infinite product and
the unitScaleRatio and pica assertions still passed. Both now reduce the
coordinates and fail when there are none.

docs/mcp.md: a relative save or open path is resolved against the
working folder of the process that wrote or read the file.
2026-12-02 11:52:55 -08:00
dotCooCoo f655aed4bb Merge main into feat/scripts-api-d1b-prefs-matrix-clipboard 2026-12-02 11:50:11 -08:00
dotCooCoo fe3d001806 Merge main into feat/scripts-export-autocad 2026-12-02 11:48:42 -08:00
dotCooCoo 540d7d9673 PDF/EPS/.ai import: store imported images with fast PNG compression
Opening a PDF, EPS or .ai file with images re-encodes each image, and
each image's opacity mask, as a PNG. Since the switch to the shared
image codec these PNGs were written with the codec's default
compression (deflate level 6) instead of fast compression. A PDF and
an .ai file each holding one image opened about 50 ms and 105 ms
slower than in 0.24.1.

PDF import and the EPS and .ai readers now each encode through one
helper that asks for PngCompression::Fast, the setting the SVG filter
raster already uses. The pixels are unchanged.

Tests check the zlib header of every PNG an import stores (RFC 1950
FLEVEL): PDF RGB, gray and image-mask images and a CMYK image's soft
mask; a PostScript RGB image and a masked CMYK image's mask; and .ai
RGB and Separation images with their masks, at full size and reduced.
2026-12-02 11:44:52 -08:00
.CooCoo a735b49248 Merge pull request #10258 from dotCooCoo/fix/ci-select-tests
CI: run only the test shards a pull request's changes reach
2026-12-02 11:43:34 -08:00
dotCooCoo cd3a0da644 Merge main into feat/scripts-api-d3-layers-artboards 2026-12-02 11:39:00 -08:00
.CooCoo d0d73ff553 Merge pull request #9131 from dotCooCoo/feat/js-es2017-async-await
JavaScript: .js scripts run async functions and await
2026-12-02 11:37:17 -08:00
dotCooCoo 497e2eb4e7 Merge main into feat/scripts-api-d8b-tracing 2026-12-02 11:33:20 -08:00
.CooCoo e25243aeb4 Merge pull request #9135 from dotCooCoo/feat/js-es2015-proxy-reflect
JavaScript: ES2015 realms have Proxy and Reflect
2026-12-02 11:15:55 -08:00
.CooCoo 5cfc4cf100 Merge pull request #9041 from dotCooCoo/feat/scripts-api-d2-paths-colors
Scripts: documents give scripts their paths, path points and colors
2026-12-02 11:15:31 -08:00