Commit Graph
24596 Commits
Author SHA1 Message Date
dependabot[bot] e76859135d ci(deps): bump step-security/harden-runner
Bumps the actions group with 1 update in the / directory: [step-security/harden-runner](https://github.com/step-security/harden-runner).


Updates `step-security/harden-runner` from 2.22.4 to 2.23.0
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/1d88384fd173af6ecb012dfd0264a306b711241a...aebdcf6156ab6691adf63218240e476564a1ed4c)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-12-02 11:07:51 +00:00
.CooCoo 2498ef4682 Merge pull request #10185 from dotCooCoo/feat/js-object-set-prototype-of
Scripts: ES2015 realms have Object.setPrototypeOf
2026-12-02 02:36:46 -08:00
.CooCoo d100d66a06 Merge pull request #10250 from dotCooCoo/fix/retype-period-font-order
Retype: glyphs drawn alike in several fonts count as one outline in near matching
2026-12-02 02:22:02 -08:00
.CooCoo 9a7ebdd8a2 Merge pull request #10549 from dotCooCoo/fix/test-lint-plain-path-decode
xtask: test-lint decodes escapes in #[path] values
2026-12-02 02:15:50 -08:00
.CooCoo fc0b5321f4 Merge pull request #10425 from dotCooCoo/chore/never-run-test-allows
xtask: test-lint catches tests a removed module route compiles out, and narrows two false alarms
2026-12-02 02:12:33 -08:00
.CooCoo ce867b3d23 Merge pull request #10467 from dotCooCoo/fix/sr-art-limit
Step and Repeat: refuse a grid whose copies would hold more than 250,000 objects
2026-12-02 02:02:46 -08:00
.CooCoo 68b01f3a5d Merge pull request #10480 from dotCooCoo/fix/wrap-sources-no-copies
Text Wrap: Make's no-type warning checks the wrap objects without copying their shapes
2026-12-02 02:02:39 -08:00
.CooCoo d753c48d2e Merge pull request #10483 from dotCooCoo/fix/windows-evalfile-uri
Scripts: $.evalFile reads the URI paths File.parent gives, on Windows too
2026-12-02 02:02:31 -08:00
.CooCoo 907db2002f Merge pull request #10487 from dotCooCoo/fix/mark-bounds-tiny-objects
Arrange Tools: Mark Bounds of Each draws no empty group for an object too small for corner legs
2026-12-02 02:02:23 -08:00
.CooCoo 4e554e2c82 Merge pull request #10488 from dotCooCoo/fix/pdf-dialog-trim
Import PDF: a PDF with editing data opens on its trim boxes unless a box is picked
2026-12-02 02:02:15 -08:00
.CooCoo 245af424e0 Merge pull request #10511 from dotCooCoo/fix/print-media-per-printer
Print: the Size list shows the chosen printer's paper sizes
2026-12-02 02:02:07 -08:00
.CooCoo e3e84bd4fb Merge pull request #10539 from dotCooCoo/fix/ai-save-options-compatibility-default
Scripts: new IllustratorSaveOptions reads compatibility as ILLUSTRATOR19
2026-12-02 02:01:50 -08:00
.CooCoo 02ca7c1148 Merge pull request #10538 from dotCooCoo/fix/script-setters-measure-after-activate
Scripts: width, height and position setters measure after the document comes to the front
2026-12-02 01:45:21 -08:00
.CooCoo 1385fed88c Merge pull request #10518 from dotCooCoo/fix/panel-title-strip-corners
Dock: the docked Tools card keeps its rounded top corners
2026-12-02 01:40:36 -08:00
dotCooCoo 859a6b4dd3 xtask: test-lint decodes escapes in #[path] values
A plain #[path = "\x63hild.rs"] after #[cfg_attr(windows, path = "child.rs")]
loads child.rs on Linux and FreeBSD, but test-lint compared the undecoded
spelling with the file name, dropped that route and reported a test in
child.rs as never-run. The plain attribute and the path argument of
cfg_attr now decode the escapes of an ordinary string literal with the
same unescape the cfg values use. Raw string literals are read as written.
2026-12-02 01:33:38 -08:00
.CooCoo b62851f57a Merge pull request #10431 from dotCooCoo/fix/test-lint-hits
Tests: check nightly ids and panel places by behavior
2026-12-02 01:30:08 -08:00
.CooCoo b601a3bf44 Merge pull request #10540 from dotCooCoo/fix/script-write-holds-checked-folder
Save: checked writes go into the folder that was checked
2026-12-02 01:26:46 -08:00
dotCooCoo b65de1d729 Merge main into chore/never-run-test-allows 2026-12-02 01:21:47 -08:00
.CooCoo d94c7477c5 Merge pull request #10544 from dotCooCoo/fix/js-host-class-install-atomic
JavaScript: a failed host class install adds none of its classes
2026-12-02 01:16:03 -08:00
.CooCoo 0c6aaa074d Merge pull request #10448 from dotCooCoo/fix/make-numbers-sequence
Type Tools: Make Numbers Sequence numbers the selected type objects
2026-12-02 01:10:32 -08:00
.CooCoo f3d8dee1d2 Merge pull request #10543 from dotCooCoo/fix/script-save-test-workspace
Tests: script save tests remove their folders when an assertion fails
2026-12-02 00:47:28 -08:00
dotCooCoo 9b40798f6a Merge main into fix/retype-period-font-order 2026-12-02 00:40:20 -08:00
dotCooCoo 125d5dd171 Merge main into fix/panel-title-strip-corners 2026-12-02 00:40:08 -08:00
dotCooCoo 0c8fd2021b Save: checked writes keep the file's backup, ACL and grant name
- A path written as a folder (`draft.svg/`, `draft.svg/.`) is refused
  instead of saving `draft.svg`.
- The second check uses the name the file is stored under, so on a
  volume that ignores letter case a grant for `Report.svg` allows a save
  to `report.svg`.
- Where the rename is refused, the copy of the old content is made
  beside the temporary file through the open folder, and in the system's
  temporary folder only when the folder takes no new file.
- The copy of the old content is read from the file that is then
  overwritten: when another file is at the name by then, nothing is
  overwritten and the new content stays in the temporary file.
- On Apple platforms the folder is opened with `O_SEARCH`, so a folder
  that can be written and searched but not listed takes the file.
- On Linux the replaced file's ACL is read through an `O_PATH` handle,
  so a file its owner can write but not read keeps its ACL.
- The moved-folder test expects the original folder in the message on
  FreeBSD, which does not report where an open folder is now.
2026-12-02 00:25:05 -08:00
dotCooCoo 8c6ce6d5c9 Tests: read-only fixture test checks it caught its own panic
The test caught any panic from its closure, so a failed set_permissions
would also pass it while the file was still writable. It now asserts
the file is read-only before its panic and checks the caught payload is
that panic's message.
2026-12-01 23:53:39 -08:00
dotCooCoo 2690d0e133 Merge main into fix/script-write-holds-checked-folder 2026-12-01 23:24:23 -08:00
dotCooCoo 6cf9145890 Save: checked writes check the open folder's path as it is
The second check of a checked write passed the open folder's path as
text and looked it up again. A path that was not valid UTF-8 was refused,
and a folder on that path replaced by a link into an allowed folder
between the two lookups could let a place outside pass.
check_write_real compares the open folder's real path with the write
roots and the script's grants as it is, without looking it up again.

- The folder is opened with O_PATH on Linux, Android and FreeBSD, so a
  folder that can be written and searched but not listed takes the file.
  The folder flush opens it for reading, and an error there still
  reports the completed write.
- The replaced file's permissions are read after the new content is
  written, as write_atomic_with reads them, so permissions taken away
  meanwhile stay taken away. Its ACL is read only from the same file.
- A folder that changed while it was opened is no longer reported as a
  read-only location.
- Errors name the kept temporary file where its folder is now, after
  the folder moved.
- A file already at the name the old content is copied to is left as it
  is: only a copy this save made and could not finish is removed.
2026-12-01 23:24:20 -08:00
dotCooCoo 0a66352e8c JavaScript: a failed host class install adds none of its classes
Realm::define_host_classes registered each class, and defined its global
constructor, before it checked the next one. A batch whose second class
named an unknown parent or a member twice failed with the first class
already installed, so a retry failed with "defined twice". A failed
instance did the same, and could leave an object scripts held with a
class the realm no longer had.

Every class's name, parent and members are now checked before any class
is added, so a child must still follow its parent in the batch. A
failure after that point removes the classes added, puts back each
global the call replaced and the class of each object an instance moved
to a new class. The replaced globals stay rooted until the call ends, so
a collection during the call does not free them.
2026-12-01 23:19:55 -08:00
dotCooCoo 19d9f5af3b Merge main into fix/panel-title-strip-corners 2026-12-01 23:01:55 -08:00
dotCooCoo 615d35f878 Merge main into fix/script-save-test-workspace 2026-12-01 22:54:36 -08:00
dotCooCoo 81c9588b26 Tests: read-only gate test sets up its cleanup before the first assertion
a_script_gate_does_not_write_over_a_read_only_file created its
ReadOnlyFixture guard after two assertions, so a failure in either left
the test folder behind. The guard is now created right after the file
path is made, before the file is written.
2026-12-01 22:54:36 -08:00
dotCooCoo c07cc5fdfc Merge main into fix/test-lint-hits
main's c58415b307 already rewrote swatch::tests::default_swatches_parse
to check the built swatches, so the conflict keeps main's version.
2026-12-01 22:50:14 -08:00
.CooCoo 7554b7fc30 Merge pull request #10196 from dotCooCoo/fix/script-module-scan-clock
Tests: the .mjs listing test lists the Scripts folder on a fixed clock
2026-12-01 22:48:46 -08:00
.CooCoo 1cf61e3015 Merge pull request #10299 from dotCooCoo/test/tab-overflow-footer-semantics
Tests: overflowing panel tabs work from the keyboard, and footer buttons announce their state
2026-12-01 22:48:29 -08:00
.CooCoo 6e8bd90a0f Merge pull request #10419 from dotCooCoo/fix/linked-corner-menu-width
Transform: Corner selects are as wide as the Corner Radius field
2026-12-01 22:46:25 -08:00
.CooCoo 01c35a3fa5 Merge pull request #10531 from dotCooCoo/fix/window-panels-stay-shown
Panels: a Window-menu panel keeps showing while art is selected and moved
2026-12-01 22:46:14 -08:00
.CooCoo ed6619523c Merge pull request #10504 from dotCooCoo/fix/toolbar-chips-one-line
Tools: Color, Gradient and None share one line in a one-column rail
2026-12-01 22:45:13 -08:00
dotCooCoo 8b8e246713 xtask: test-lint keeps the route, suffix and census refinements main lacks
- 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.
2026-12-01 22:45:04 -08:00
dotCooCoo 46dbb1fb28 Tests: script save tests remove their folders when an assertion fails
folder() in tests/script_save_open.rs returned a PathBuf, and each test
removed its folder only on its last line, so a failed assertion or a
panicking script left the folder in the system's temporary folder. It now
returns a Workspace guard, as tests/script_print.rs does, which removes
the folder when it is dropped and clears read-only flags first when the
first removal fails (Windows does not delete a read-only file).

a_script_gate_does_not_write_over_a_read_only_file in file_access.rs made
its file writable again and removed its folder only after its last
assertion; a guard now does both when the test ends.
2026-12-01 22:41:20 -08:00
.CooCoo 9cfa3f1d13 Merge pull request #10525 from dotCooCoo/fix/engine-test-pass
Tests: engine command and integration tests check what they claim
2026-12-01 22:31:51 -08:00
.CooCoo 2f68b49692 Merge pull request #10534 from dotCooCoo/fix/test-lint-platform-only-tests
xtask: test-lint never-run lists tests that build on macOS or Windows without failing
2026-12-01 22:31:34 -08:00
.CooCoo 1010fd013d Merge pull request #10501 from dotCooCoo/fix/test-lint-sleep-polls
xtask: test-lint sleep rule leaves out condition polls and fallback releases
2026-12-01 22:31:17 -08:00
.CooCoo 2c60fc07f6 Merge pull request #10532 from dotCooCoo/fix/schema-phrases-follow-apischema
Tests: SCHEMA_PHRASES checked against the parameter schema's errors
2026-12-01 22:31:01 -08:00
.CooCoo 7387c46666 Merge pull request #10520 from dotCooCoo/fix/ui-egui-outside-panels-tests
Tests: ui-egui tests outside the panels check counts and waits
2026-12-01 22:30:43 -08:00
.CooCoo b15abf8a36 Merge pull request #10536 from dotCooCoo/fix/engine-src-tests-guards
Tests: engine tests that check every item also check the items exist
2026-12-01 22:30:11 -08:00
.CooCoo c45cdeff00 Merge pull request #10529 from dotCooCoo/fix/engine-src-tests-pass
Tests: engine tests assert results instead of only success
2026-12-01 22:29:55 -08:00
.CooCoo 95dd368c2c Merge pull request #10188 from dotCooCoo/fix/craft-fonts-pin-main
CI: move the craft-fonts pin to craft-fonts main in every workflow, so builds embed the tab-title face
2026-12-01 22:27:41 -08:00
.CooCoo 40b3f26d62 Merge pull request #10535 from dotCooCoo/fix/sysfonts-menu-family-held-scan
Tests: the menu family list test holds the font scan with a lister
2026-12-01 22:12:54 -08:00
dotCooCoo 4cb6f8f152 Save: checked writes go into the folder that was checked
While automation roots or a script's file grants are in force, a save,
export or print to a file checked its path and then wrote it by name: the
temporary file was created beside the target by name and renamed over it
by name. A folder on the path replaced by a link between the check and
the rename sent the file outside the allowed folders.

vectorcraft_format::write_atomic_checked opens the target's folder once,
checks the path that open folder has with the caller's check, and makes
the temporary file, the rename, the copy over the file where the folder
refuses the rename, and the folder flush through that open folder
(openat, renameat, fsync). A folder replaced before it is opened fails
the check; one replaced after it is opened does not receive the file. A
link put at the final name after the check is replaced, not followed.
The replaced file's permissions, group and ACL are copied through the
open handles.

write_file, write_file_with and write_save_file_with use it while writes
are checked, and keep write_atomic_with otherwise. Outside Unix the check
runs on the path and the write is unchanged.
2026-12-01 22:06:44 -08:00
dotCooCoo d54e2cf55b Print: a kept paper the new printer lists at a built-in size becomes that size
When the new printer listed the chosen paper at a size within half a
point of one of the dialog's own papers, the Size row kept the
`printer:<keyword>` choice, but the new Size list offers that paper
under the built-in id instead. The row then held a choice the list did
not contain, and the list was rebuilt and repainted on every frame. The
row now switches to the built-in paper the list offers.
2026-12-01 22:04:15 -08:00