Commit Graph
24878 Commits
Author SHA1 Message Date
Codex 2d49ea5c4e Reuse the Windows print gate cache for the exact app acceptance 2026-12-03 00:50:46 +01:00
Codex 987c5535ef Own the Properties status label text 2026-12-03 00:50:46 +01:00
Codex 0ff181ccf4 Exercise VectorCraft Windows Properties on the native runner 2026-12-03 00:03:47 +01:00
Codex a0ffbeb6ff Keep Windows printer properties with the selected VectorCraft job 2026-12-03 00:02:14 +01: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
.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
.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 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
.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 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
.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
.CooCoo dcb7085b2a Merge pull request #9139 from dotCooCoo/feat/plugin-api-events
Plug-ins: react to selection, layer, open and save events
2026-12-02 11:15:23 -08:00
.CooCoo 5d22b25bb7 Merge pull request #10333 from dotCooCoo/fix/script-new-document-overprint-links
Scripts: file.new takes Overprint Preview and reads the profile's linked files
2026-12-02 11:15:14 -08:00
.CooCoo 0a14ee1d23 Merge pull request #10363 from dotCooCoo/fix/close-native-range
Scripts: close with SaveOptions.SAVECHANGES saves a native file whose last save named a range
2026-12-02 11:15:06 -08:00
.CooCoo 942cfbdfd9 Merge pull request #10582 from dotCooCoo/fix/for-in-fresh-prototype-proxy
Scripts: for-in visits a name when a getPrototypeOf trap returns a new proxy each time
2026-12-02 11:14:59 -08:00
.CooCoo 9fe1d7ecfb Merge pull request #10586 from dotCooCoo/fix/script-back-document-bounds
Scripts: geometry read from a document in the back matches what the setters measure
2026-12-02 11:14:48 -08:00
.CooCoo d8aec8c27c Merge pull request #10156 from dotCooCoo/fix/windows-signing-test-annotation
Packaging: the Windows signing test does not turn its expected warning into an annotation
2026-12-02 11:10:19 -08:00
.CooCoo 7a3c3bee9b Merge pull request #10565 from dotCooCoo/fix/rpm-smoke-checks-fixture
Release CI: RPM smoke check waits for its SVG fixture to open
2026-12-02 11:10:12 -08:00
.CooCoo d22a7330e1 Merge pull request #10589 from dotCooCoo/fix/pg9087-2
Scripts: a script chosen after the startup scripts may print to a printer
2026-12-02 11:09:18 -08:00
.CooCoo 1a28673ec6 Merge pull request #10570 from dotCooCoo/fix/paper-lookup-one-worker
Print: a stalled paper-size lookup no longer piles up worker threads
2026-12-02 11:09:09 -08:00
.CooCoo 491d1324cf Merge pull request #10572 from dotCooCoo/fix/pg9087-3
Print: maxPages turns a job away before raster effects are flattened
2026-12-02 11:09:01 -08:00
.CooCoo c693a1936c Merge pull request #10584 from dotCooCoo/fix/windows-papers-shared-names
Print: Windows paper sizes that share a name are all listed
2026-12-02 11:08:54 -08:00
.CooCoo 2af7a40836 Merge pull request #10548 from dotCooCoo/fix/print-gaps-9087
Print: file.print in the app passes maxPages on to the engine
2026-12-02 11:08:38 -08:00
.CooCoo 1d829ef718 Merge pull request #10569 from dotCooCoo/fix/pg9087-4
Print: Document.print throws for CUSTOMPROFILE without a profile name
2026-12-02 11:08:31 -08:00
dotCooCoo 420ec1503f Scripts: automated Yes keeps the script warning on; a Copy note keeps the recording limit shown
ScriptAnswer records whether automation gave the answer, so an automated
Yes is refused even when a later frame without injected input takes it.
After a script's Copy, the recording limit's message is set again so the
Copy's format notes do not replace it; a write failure reported at once
stays.
2026-12-02 10:26:03 -08:00
dotCooCoo 9106f122bd Merge main into fix/ci-select-tests 2026-12-02 10:20:03 -08:00
dotCooCoo 8aa51b123e JS: assert the qualified name's value in the E4X async test
CI's test-lint step failed on with_e4x_async_before_a_double_colon_is_a_qualified_name:
both of its assertions only checked is_ok. The test now runs x.async::b with async
bound to a Namespace and asserts that it selects the namespaced child.
2026-12-02 10:16:37 -08:00
.CooCoo 2be104c287 Merge pull request #10553 from dotCooCoo/fix/test-lint-base-size-first
xtask: test-lint checks a base file's blob size before reading it
2026-12-02 09:51:29 -08:00
.CooCoo c45fd2d457 Merge pull request #10585 from dotCooCoo/fix/census-lint-review-points
xtask: test-lint census rule counts a computation only where it runs on the entry
2026-12-02 09:51:23 -08:00
.CooCoo ba03b54e4f Merge pull request #10470 from dotCooCoo/fix/test-lint-helper-ignore-wrapper-guards
xtask: test-lint no longer reports helper, diagnostic and fixed-size false alarms
2026-12-02 09:51:17 -08:00
dotCooCoo bde6add09c MCP: regenerate the UI command catalog for the Print dialog text
The gate's ui-commands step failed because crates/mcp/src/ui_catalog.rs
still held the old file.print params text after the change to
crates/ui-egui/src/menus/ui_commands.rs. The catalog now matches the
table (cargo xtask ui-commands --check).
2026-12-02 08:34:08 -08:00
dotCooCoo eb5e4c5eb7 Scripts: retrace and release refuse a tracing with locked traced artwork
Retracing and releasing a tracing discard the objects its trace made, so
both now throw "Cannot edit page item <id>" when one of them is locked,
with nothing changed. Added artwork is still reported first. The scan
stops at the first added object and charges the objects it looked at to
the run on both the success and refusal paths.
2026-12-02 08:32:22 -08:00
dotCooCoo c0b4413a5a JS: fix async function review points
- AsyncFunction.prototype has Symbol.toStringTag "AsyncFunction",
  configurable only.
- await checks the room for the awaited promise's reaction or job and
  the suspended frame's bytes before it attaches the reaction, so a
  suspension stays within the heap limit.
- An async function's return pops its frame before resolving its
  promise, so a then getter on the returned value runs without it.
  Returning the function's own promise rejects it at the return.
- Block functions whose variable was not declared are kept in a hash
  set, so each block function's lookup takes constant time.
- A shorthand await in an object pattern of an async arrow function's
  head is a syntax error, and the head accepts patterns with defaults
  such as async ({a = 1}) => a. async({a = 1}) without an arrow is
  still a syntax error.
- docs: .jsx files and source strings run with module: true have
  Promise and the async syntax; await is an identifier only in script
  code.
2026-12-02 08:30:09 -08:00
dotCooCoo 722e35895b Merge main into fix/test-lint-helper-ignore-wrapper-guards 2026-12-02 08:25:10 -08:00
dotCooCoo a62b477090 Merge main into fix/census-lint-review-points 2026-12-02 08:19:51 -08:00
dotCooCoo 5594da577b xtask: test-lint census rule ends tail assignments at their block and tells closure locals from captures
An assignment that ends a block without a semicolon (`{ input = c }`) now
makes its alias at the block's close instead of after the next statement.

A `let` inside a move closure, or one of its parameters, now counts as a
local binding: an assignment to it ends the alias as it does outside a
closure. Assignments to outer captures are still skipped.

A closure stored with `let` in `Some`, `Ok`, `Err`, `Box::new`, `Rc::new`
or `Arc::new` and never used again does not run, so its assignments no
longer end an alias. A closure passed to any other call may run and still
ends it.

An async closure called where it is written now runs when the call is
passed straight to `block_on` (a trailing comma included), unless the
`block_on` sits inside another closure.
2026-12-02 08:17:39 -08:00
.CooCoo 766d1cece8 Merge pull request #10591 from dotCooCoo/fix/test-lint-all-rules-fail
xtask: test-lint fails on a hit of any rule in the changed lines
2026-12-02 08:17:26 -08:00
dotCooCoo ff165a7ec2 JavaScript: descriptor bags keep ECMAScript key order; Symbol hooks need ES2015
Object.defineProperties, Object.create, seal and freeze read an ordinary
object's own names in ECMAScript order (array indices ascending first) in
an ES2015 run, through proxies without an ownKeys trap too; without the
option they keep the order for-in visits.

concat reads Symbol.isConcatSpreadable and with scopes read
Symbol.unscopables only in an ES2015 run, so a Symbol set by an earlier
run does not change code run without the option.

Tests: the host-function proxy refusal checks the throw and that neither
the host function nor the trap ran; the bound-constructor test sets the
custom prototype before constructing.
2026-12-02 08:10:45 -08:00
.CooCoo 86600f56e7 Merge pull request #10426 from dotCooCoo/fix/rebalance-test-shards
CI: run vectorcraft-engine's integration tests on shard 4
2026-12-02 08:08:54 -08:00