Commit Graph
24772 Commits
Author SHA1 Message Date
Codex 08eec8dfa5 Recheck PDF output after verifying the installed queue PPD 2026-12-02 22:00:54 +01:00
Codex dbdd3f95e3 Recheck the file queue validation against CUPS lpstat 2026-12-02 21:54:06 +01:00
Codex 06af4e4fd8 Recheck with the private CUPS filter directory created 2026-12-02 21:46:51 +01:00
Codex dca57fcdcf Recheck the shared CUPS capture on Ubuntu 2026-12-02 21:39:58 +01:00
Codex 746fd69d38 Validate VectorCraft and shared catalog together on Ubuntu 2026-12-02 21:21:17 +01:00
Codex c77e8a9c26 Use shared Windows paper discovery and retain distinct custom forms 2026-12-02 21:09:53 +01:00
Codex 9f51978c94 Merge remote-tracking branch 'origin/main' into local/vectorcraft-queue-media-4859 2026-12-02 21:00:30 +01:00
dotCooCoo ec8c564a6f Merge main into fix/print-paper-size-to-cups 2026-12-02 11:48:41 -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
.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 f382526eb9 Print: the IPP paper lookup uses IPP_PORT for a server named without a port
ipp_queue_uri built ipp://host/printers/name from CUPS_SERVER or the
client.conf ServerName, so a server named without a port was always asked
on 631, while CUPS clients use IPP_PORT for it. The app now reads
IPP_PORT and passes it in; a port in the server name keeps precedence, and
a bracketed IPv6 host counts as having a port only after its ]. With no
server named, the lookup uses localhost on IPP_PORT only when none of the
CUPS domain sockets exists, since CUPS otherwise talks to its socket.
docs/mcp.md describes the lookup's server and port.
2026-12-02 10:32:46 -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 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
dotCooCoo b727487d80 Docs: pathItems.removeAll() reports hidden or locked paths first
pathItems.removeAll() throws "cannot delete hidden or locked paths" when
any path is hidden or locked or is inside a hidden or locked object, and
only otherwise "cannot delete objects on a locked artboard". Both
messages end with a colon and up to 20 path ids. docs/mcp.md now says
so in both places that describe removeAll().
2026-12-02 08:00:53 -08:00
dotCooCoo e88e43e8dc Merge main into fix/windows-signing-test-annotation 2026-12-02 07:54:46 -08:00
dotCooCoo 12355cb529 xtask: test-lint fails on a hit of any rule in the changed lines
all-unguarded, only-weak, exit-status-only, no-assertion, early-return,
env-gate-unset, census, mirror, constant-echo, fixture-only and
exact-pixel only listed their hits before. Their hits on changed lines
and tests now fail the check like the other rules. A
`// test-lint: allow <rule> <reason>` comment still exempts a hit, and
hits on unchanged lines still do not fail.

A never-run test that builds on macOS or Windows is still listed
without failing, since it runs locally on that platform.

Docs: docs/development.md.
2026-12-02 07:42:17 -08:00
dotCooCoo f5b9e1a04b Print: a client.conf comment no longer spoils the CUPS server name
cups_server() took everything after ServerName, so a line such as
"ServerName print.example.com # office" gave a value that
ipp_queue_uri rejects, and IPP paper discovery was skipped. The value
is now read as CUPS reads the file: the first unescaped # starts a
comment, and \# stands for a literal #. On macOS, which does not read
ServerName, only CUPS_SERVER is used.
2026-12-02 07:39:49 -08:00
dotCooCoo 757b667f3d Scripts: for-in keeps the names a proxy listed before the chain returns to it
A getPrototypeOf trap may return the same proxy again. Its second visit
replaced the positions the first visit recorded, so a name only the first
ownKeys call returned was never visited. Each visit now adds its new
positions to the proxy's record, each pair counted once against the heap
limit, and the records are sorted and compacted once after the walk.
2026-12-02 07:39:46 -08:00
dotCooCoo 31d02e4821 Scripts: startup scripts at launch list no printers, and spool failures stay shown
The startup scripts run at launch no longer list the print service's
printers, so the first window does not wait on it; a script.startup.run
with any other reason still lists them. A script's print jobs that the
desktop's worker fails to send are shown in the status bar even when a
later line, a later batch that was sent or a startup script's failure
took it, and the startup script's notes stay in the hover.
script.startup.run's params text describes the print wait and the
launch rule.
2026-12-02 07:39:44 -08:00
dotCooCoo aee21d8bb7 Merge main into fix/ci-select-tests 2026-12-02 07:27:01 -08:00
dotCooCoo 959af106ba Merge main into fix/ci-select-tests 2026-12-02 07:25:30 -08:00
.CooCoo 9ad67bd067 Merge pull request #10579 from dotCooCoo/fix/checked-save-folder-moved
Save: a checked save refuses a folder moved outside the write root
2026-12-02 07:25:27 -08:00
dotCooCoo 8fd6ba499e Merge main into fix/rebalance-test-shards 2026-12-02 07:24:39 -08:00
dotCooCoo f8eb542e04 Scripts: geometry read from a document in the back matches what the setters measure
The bounds getters (position, left, top, width, height and the bounds
arrays) read an item in a document in the back without measuring its type,
while the setters measure it after the switch to that document since
#10538. A script that read t.width and assigned it back could resize the
item, and every geometry assignment switched to the document and back even
when nothing changed.

The getters now measure type not measured yet in a document in the back
for an item that holds type, a symbol instance or a placed document, the
way the switch measures it, and the check is skipped while the document is
unchanged. An assignment equal to the current value of an object without
such content in a document in the back returns without switching
documents, and no undo step is made.
2026-12-02 07:21:25 -08:00
.CooCoo d4fbb1402e Merge pull request #10260 from dotCooCoo/fix/plugins-tree-audit-in-checks
CI: the plug-in grant call-site audit runs in the checks shard
2026-12-02 07:13:43 -08:00