A `CUPS_SERVER` or `ServerName` of `localhost`, `127.0.0.1` or `::1` counts
as this machine's scheduler only with no port or port 631. On another port
(a second CUPS instance) the dialog no longer reads `/etc/cups/ppd`, whose
queues belong to the default scheduler, and asks `lpoptions` and IPP
instead.
When the named server is one of CUPS's own domain sockets and neither the
PPD nor `lpoptions` lists sizes, the IPP lookup asks `localhost` on the IPP
default port, as it already does when no server is named. `ipptool` rejects
a URI whose host is a socket path (`httpSeparateURI` in CUPS's
`cups/http-support.c`), so another socket path is not asked.
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.
When CUPS_SERVER or client.conf's ServerName names a remote scheduler,
the Print dialog no longer reads a same-named PPD under /etc/cups/ppd.
The job goes to the remote queue, so the sizes now come from that
server through lpoptions and IPP. A domain socket, localhost, 127.0.0.1
and ::1, with an optional port and /version= suffix, still count as
local and keep the PPD lookup.
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.
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.
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.
- 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.
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().
File > Print listed the system's printers on the UI thread when the
dialog opened and on each Refresh, so a slow or unreachable print
server froze the app. The desktop print service now offers its
discovery to a background job; the dialog opens on Default Printer and
PDF File, shows and announces the lookup, and takes the list when it
arrives.
- Discovery on Windows lists the queues without asking each driver for
its capabilities (`craft::print::printer_queues`).
- PDF File, its preview and Done stay available during the lookup.
Print to a printer is disabled until the list is applied, and a held
Print to a printer is not submitted.
- Setup... appears once the lookup has ended, since it reads the
printers again on Windows.
- Discovery starts on the first pass even when another drawing is
active, and a lookup that ends without a list leaves Default Printer
and PDF File.
The Print dialog's discovery came with #8800.
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.