Script File Access is rewritten for the craft UI framework: the section is a row of the Preferences window after Show External Script Warning, drawn by prefs_dialog/script_access.rs, and ui.inspect lists its rows as __scriptAccess. script.grants on main fails on a grants file it cannot read, so the section shows that error with no rows, and the branch's change to script.grants is dropped.
The script host ran its realm with E4X off, so XML literals were syntax
errors and XML, XMLList, Namespace, QName, isXMLName and
setDefaultXMLNamespace were missing from every script, although
vectorcraft-js has them. script.run and File › Scripts now turn E4X on
for .js and .jsx files, script text, #include files, $.evalFile, eval
and Function, and for a #targetengine engine.
script.check lists the e4x and xml features under the language need
instead of hostOnly, since VectorCraft runs them.
plugin.remove now deletes an installed plug-in's stored module along with
its grant, before its settings and cache are deleted. When the module file
can't be deleted, the command returns "can't delete <file>", the settings
and cache are moved back, the plug-in stays installed, and the grant the
signed grants file held for it is written back, so the stored module
still loads at the next launch. Before, the command returned {removed}
and left the module in the plug-in folder.
On a separated PostScript plate, a process white fill, stroke or
character fill or stroke marked to overprint kept its overprint flag
with Discard White Overprint on, so it was drawn as nothing and the ink
below it stayed. The plate document now turns overprinting off for
those whites, so they knock out as in composite output. White linked to
a spot swatch that has a color, at a tint above 0%, still overprints.
An overprinting colorized image in the tile of an overprinting pattern
fill is now written in only the process inks it puts down, as it is
outside a pattern, instead of as a full CMYK image that removed the
inks below it.
The params text and docs/mcp.md now say the spot exception needs a spot
swatch with a color.
The percent fields and Character Rotation read the decimal comma before
the % or ° suffix came off, so 1,000% read as 1.000% and was accepted
as 1, while 1,000 was refused. The suffix now comes off first; 12,5%
and 12,5° still read as 12.5.
Linux nightly packaging by @dylanmtaylor, with the per-app Nightly flavor commits stacked on his branch.
gate test shard 1/5 (and the Sonar scan that reads its coverage) fails on crates/ui-egui/src/doc_windows/tests.rs `a_document_made_current_in_presentation_mode_comes_to_the_front_after_it`, which main fails too (CI run 45581083304); this PR touches no ui-egui code.
Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
A need such as dialogs or host features now shows on its own line, and
the "Outside the document" heading appears only above what the script
does outside the document.
The engine built Boolean.prototype but defined no global Boolean, so
Boolean(x), new Boolean(x), x instanceof Boolean and filter(Boolean)
threw a ReferenceError. Boolean now converts a value when called and
makes a Boolean object with new (ECMA-262 5.1 sections 15.6.1 and
15.6.2), with Boolean.prototype as its prototype.
test262 no longer skips tests that name Boolean, so more of them run;
docs/target-app-parity.md has the new counts.
- Apply the captured cde95058 rustfmt layout for the dimension NodeId expression only.
- Preserve consumer-click coverage and semantics; no unchanged-head rerun, compilation or native work.
FontFace::glyph_name looked each name up in the font. In a version 2.0
post table the names are one run of strings, and read-fonts walks that
run from its start for every lookup. The Glyphs panel builds the
tooltip of every visible cell in every frame, and the tooltip of a
glyph that no character maps carries its name, so each frame scanned
the table once per such cell.
glyph_name now reads every name of the face in one pass the first time
it is asked, through skrifa's name iterator, and keeps them on the face.
A new test checks the kept names against each glyph's own lookup for
every bundled face.
The dialog filed the folder pick from inside its own frame and waited there for the answer. It now closes and asks through the app, as Type > Find Font's Find in Folder… does, and comes back searching the folder.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
a_screenshot_is_issued_by_the_apps_frames_and_written runs frames until
one issues the screenshot, and stopped after 5 seconds of wall clock.
The settle delay runs on the wall clock and needs three passes, so a
frame that takes more than about 1.7 seconds (as in a loaded full run of
the crate's tests) used up the 5 seconds first. The request's own
deadline answers it with an error after 8 seconds, so the trial now ends
on that reply and shows it, and has no wall-clock bound of its own.
review_597048_two_ordinary_clicks_in_one_frame_survive_sampler_correction
sends press, release, press, release in one frame. The framework gives a
pass one press, so the second press reaches the canvas in the next frame
and its release waits one frame more; the framework asks for a repaint for
it. Since a frame runs its UI once (#9276), no second pass of the same
frame ends that release, so the trial checked isolation one frame early.
It now runs the frame the host would run before it checks, as the
double-click trials in canvas/tests.rs do since #9276.