- update() takes a waiting palette event only when the run's file access
roots reach the same files as the event's, so a handler never runs with
less access than its palette was shown with.
- A palette event is no longer delivered to a handler after its palette
was hidden and shown again, or after a capturing listener disabled or
hid the control or a group above it.
- A limit that ends a handler update() took restores the run's own
actions before the end-of-run refresh.
- A palette refresh that fails reports no unhandled rejection.
- A refused palette field text no longer replaces text typed after it.
- The script.run, script.palette.event and docs texts describe update()
delivery, list staleness after item edits, and repeating a click or
close dropped with an oversized text.
A getter read after a button while the palette was described could
disable or hide the button, or a group above it, after the description
recorded it as enabled, and the click still ran its handler.
- Palette states are read without running a getter, once every
description getter (the default and cancel elements included) has
run, and a state that a getter gives counts as off. Dialogs keep
reading the states through their getters.
- Delivering a palette event reads the states of the control and the
groups above it again the same way, and checks that the palette still
holds the control, before the handler runs.
- docs/mcp.md, the progress line and script.palette.event's params text
describe the rule.
Resolve the docs/ui-parity.md conflict by taking main's tables and adding the Headless column to every Summary and behaviour table again (365 rows, all unknown); counts in the Headless section updated.
- never-run: in changed mode, a file that a crate target loaded at the
base and no target loads now counts as compiled out, so removing the
last `mod` or `#[path]` declaration on the way to it, or deleting the
only target root that loads it, fails the check for its tests.
- reads-source: an `ends_with(".rs")` check counts only when it picks
entries from a file listing (an iterator filter or a `for` loop over
one), or when the function around it reads a file or calls a function
in the file that does. A suffix check on a generated name in a test
that reads nothing is not reported.
- census: a helper on the left of an `||` hides the whole-table check on
the right only when it always runs: not behind an `&&`, and not inside
one arm of an `if` or `match`.
- docs: unchanged-line `never-run` hits fail the command when the change
takes away a test's last CI route.
- A handler that a palette's update() runs in a later run of the same
engine plays the actions of the run that showed the palette, as a
handler's own run does. After the handler ends, or throws out of
update(), app.doScript plays the run's own actions again.
- script_palette_start gives the app the error of an open edit that
cannot be settled, and the waiting events keep waiting; it no longer
returns None, which showed nothing.
- A palette event runs no handler or listener once a getter or an
earlier listener took its control out of the palette, and a click or
change is dropped when a getter read for the event disabled or hid
the control or a container above it.
- A palette list's change ends its run with an error when an item's
text comes from a getter, an inherited property or an object.
- The run's report of unhandled rejections is made again after the
palettes are refreshed, leaving out a rejection that a getter gave a
handler, and stays empty after a failed run.
- A text a palette's field gave stays in the field until no change of
that field waits, also while a run before the change set the field to
the same text.
- The report test replaces a waiting change ahead of another field's
change, and the modal-wait test requires that no later frame is asked
for.
- docs/mcp.md: a list's change made before the app puts it in line is
dropped without an error; an error a handler throws out of update()
can be caught, and the run then keeps the handler's changes.
- 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.
A new test runs the same eight objects with seed 11, an end and
removeUnused in two fresh sessions and checks that each object gets the
same number and the same objects are removed. The progress doc line says
that in numbers and placeholder modes objects without a match are
skipped before ordering, so they take no number and are never deleted,
and that only a run that changes the document makes an undo step.
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.
never-run failed the check on tests of macOS- or Windows-only code, such
as the touchpad gesture tests in quickpenwheel.rs and the Windows
performance counter tests in vectorcraft-cli's perf.rs. CI cannot build
them on Linux, and they run locally on their platform.
A never-run hit on a test that still builds on macOS (aarch64 or x86_64)
or Windows (x86_64 or aarch64) is now listed with the report-only rules,
and its note says which platform to run it on. A test that no desktop
target builds, such as one gated on target_os = "ios" or
all(windows, unix), still fails the check.
- Artboard frame tests assert how many frames are drawn before checking
each one, so a canvas that draws no frames fails them.
- Find Font's refresh test checks the document's one family and the one
row it shows instead of checking every row of a list that may be empty.
- The freeform paint chip test also checks an opaque point and the chip's
size, and the holographic test checks the foil chip's size.
- The background wait tests (Quit, packaging and export made at once)
open the writer's gate when the UI thread starts waiting, through a
test-only hook in background::wait_until, instead of after a sleep.
Each asserts that the wait happened.
- Cancel Open waits for the file to be read before Cancel instead of
sleeping after it.
- The automation roots test checks that the open keeps the same roots.
- The brightness test reads the saved ids and old labels in place of a
round trip through its own table.
- Removed every_tool_cursors_hotspot_lies_inside_its_icon_box, which
every_tool_cursors_hotspot_is_on_its_glyph covers, and
message_dump_lists_the_reported_messages and the schema phrase loop,
which held by construction.
- dump_source_strings is ignored with a reason; the translator commands
in docs/development.md pass --ignored.
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.