Commit Graph
11725 Commits
Author SHA1 Message Date
dotCooCoo 4e2a9f0ab0 Testkit: harden TempDir against a moved root, owner-unusable modes and bad names
`TempDir::new_in` passed the root to `tempfile` as given, so when the root was
reached through a link that changed during the test, `path()` named the old
folder while drop and `close()` resolved the link again: the folder that was
made stayed and a folder with the same name under the new target could be
removed. The root is now canonicalized before the folder is made, and the
symlink-root test retargets the link before the drop.

On Unix a umask that removes owner read, write or search permission left the
new folder unusable (for example mode 0o300) while `TempDir::new` returned
Ok, since the owner probe needs only write and search; cleanup then failed.
`check` now returns PermissionDenied unless the owner has all three, before
the probe runs.

`TempDir::new` and `TempDir::file` also return InvalidInput for `<`, `>`,
`"`, `|`, `?`, `*` and control characters, which Windows does not allow in a
file name, on every platform. The README and doc comments list them.
2026-11-28 09:42:49 -08:00
dotCooCoo 9f3b63fe50 Testkit: drop the repeated corpus line from the README crate list
The merge of main left a second "against a pinned SHA-256 list" fragment
before the `temp` sentence in the README crate list; it is removed.
2026-11-28 09:42:49 -08:00
dotCooCoo d75e0d9433 Testkit: say in the crate docs that the temp privacy check reads mode bits only
The crate-level summary of `temp::TempDir` now states that the Unix check
reads the mode bits and does not read POSIX or NFSv4 access control lists,
matching `temp.rs` and the README.
2026-11-28 09:42:49 -08:00
dotCooCoo b88a240d26 Merge main into feat/craft-testkit-temp 2026-11-28 09:10:20 -08:00
BFlat 143702b2c8 Merge pull request #4090 from dotCooCoo/fix/mesh-ops-gbuffer-size
craft-mesh-ops: UvGBuffer::new rejects sizes that overflow its texel math
2026-11-29 00:00:38 +07:00
BFlat 19c08ce81a Merge pull request #1233 from dotCooCoo/feat/craft-mesh-ops
craft-mesh-ops: mesh operations, a BVH and primitives for the 3D apps
2026-11-28 23:59:52 +07:00
BFlat b35f1f64f3 Merge pull request #3442 from dotCooCoo/fix/color-panel-recent-keeps-model
color-ui: a Recent Colors pick in the FillStroke Color panel keeps the chip's color model
2026-11-28 23:13:10 +07:00
BFlat 9ef47cc6e8 Merge pull request #2177 from dotCooCoo/fix/jbig2-pixel-limit
hayro-jbig2: the JBIG2 decoder applies the document's pixel limit
2026-11-28 23:12:57 +07:00
BFlat 194738d30d Merge pull request #3785 from dotCooCoo/fix/theora-frame-metadata
craft-video: preserve Theora pixel aspect ratios in decoded frames
2026-11-28 23:12:45 +07:00
BFlat d877c65760 Merge pull request #2908 from dotCooCoo/feat/craft-pbr-material-conversions
craft-pbr: convert craft-mesh and MaterialX materials into a surface
2026-11-28 23:12:33 +07:00
BFlat 1245065782 Merge pull request #1421 from dotCooCoo/feat/craft-xtask-fetch
craft-xtask: download pinned files and archives checked against SHA-256
2026-11-28 23:12:19 +07:00
BFlat ab6fae98b0 Merge pull request #1429 from dotCooCoo/feat/craft-texture-decode
craft-texture: decode PNG, TIFF, Radiance HDR and OpenEXR into float planes
2026-11-28 23:12:05 +07:00
BFlat 118c40adf6 Merge pull request #1389 from dotCooCoo/feat/craft-testkit-fixtures
craft-testkit: add a fixtures module that publishes each fixture under a lock
2026-11-28 23:11:52 +07:00
BFlat cd30382782 Merge pull request #3984 from dotCooCoo/fix/cmx-header-bounds
craft-cdr: write the .cmx header's page edges and instruction count
2026-11-28 23:11:40 +07:00
BFlat 8a44ff37e8 Merge pull request #4082 from dotCooCoo/fix/add-range-set-lookup
ui-contract: a long Shift+Cmd range looks the selected keys up in a set
2026-11-28 23:11:27 +07:00
dotCooCoo 98e505ca01 craft-mesh-ops: UvGBuffer::new rejects sizes that overflow its texel math
UvGBuffer::new multiplied the band height by the width in u32, so a width
above 134,217,728 overflowed (a panic in debug builds, wrong band chunks in
release builds), and width × height could overflow usize on 32-bit targets.

new now returns Result. It rejects a side of 0 or above MAX_SIDE (16,384)
and more than MAX_TEXELS texels (8,192 × 8,192), reserves the buffers with
try_reserve_exact so a failed allocation returns an error, and does the
band length and texel index arithmetic in usize.
2026-11-28 08:11:25 -08:00
BFlat a665282eb2 Merge pull request #3422 from dotCooCoo/fix/prefs-previous-next
ui-patterns: PreferencesWindow can show Previous and Next to step through the pages
2026-11-28 23:11:14 +07:00
BFlat 04a35631af Merge pull request #3911 from ruchirguitar/fix/proof-zwj-words
proof: keep zero-width joiners inside words
2026-11-28 23:11:01 +07:00
BFlat d34538f9c6 Merge pull request #3921 from ruchirguitar/feat/marathi-hyphenation
proof: hyphenate Marathi between aksharas
2026-11-28 23:10:49 +07:00
BFlat a10971f815 Merge pull request #3842 from dotCooCoo/fix/disabled-collection-access-toggle
Ignore accessibility actions on disabled collection toggles
2026-11-28 23:10:37 +07:00
BFlat 198ba6c146 Merge pull request #4035 from dotCooCoo/test/dialog-body-button-frame-nested-child
ui-panels: test a body button's whole frame at the end of the scroll, and a nested child's own child
2026-11-28 23:10:24 +07:00
BFlat 610c86792a Merge pull request #758 from dotCooCoo/integration/linesweeper
linesweeper: integration of the open fixes to the vendored copy
2026-11-28 23:04:43 +07:00
autocraft-bot[bot] 1543898802 Merge pull request #4080 from storytold/integration-craft-libs-20261128-3
Integration batch integration-craft-libs-20261128-3
2026-11-28 15:28:33 +00:00
dotCooCoo a0373063fc ui-contract: a long Shift+Cmd range looks the selected keys up in a set
add_range checked each row of the range against the selected keys with
Vec::contains, so adding a range of n rows to a selection of m keys made
up to n * m comparisons. With more than 8 rows in the range, the selected
keys now go into a HashSet first. Shorter ranges keep the plain search.
The order of the selection and the anchor and lead rules do not change.

The new trial selects 2,000 of 5,000 rows and Shift+Cmd-clicks row 0
with the anchor on row 4,000. With the plain search the click makes
about 6 million key comparisons; with the set it stays under 1 million,
which the trial asserts.
2026-11-28 07:01:29 -08:00
autocraft-bot[bot] ea5800dcc1 Merge pull request #3397 2026-11-28 14:42:01 +00:00
FredApps 89eb73d771 Merge pull request #4045 from storytold/perf/contract-monomorphization
ui-contract: compile the body's read and update steps and the editor step once (224 KB off TextureCraft's wasm)
2026-11-28 15:41:13 +01:00
FredApps 6e4e8892ae Merge remote-tracking branch 'origin/main' into perf/contract-monomorphization 2026-11-28 15:15:34 +01:00
BFlat d69106686e Merge pull request #2630 from dotCooCoo/fix/audio-wav-repair
craft-audio: repair_wav rewrites the sizes of a WAV left unfinished by a crash
2026-11-28 20:59:57 +07:00
dotCooCoo 717ccdec66 Testkit: require tempfile 3.20 and qualify the temp docs
temp.rs calls TempDir::disable_cleanup, which tempfile 3.20.0 added, so
the dependency now asks for 3.20. The crate docs no longer link
temp::TempDir, which is not built for wasm32, and say the folder is
private on Unix and that removal on drop is best effort. The READMEs say
the same, that the umask can remove more bits from the requested 0o700,
and that the Unix check reads mode bits only, not access control lists.
2026-11-28 05:55:03 -08:00
dotCooCoo 4495ffcfeb Merge main into fix/cmx-header-bounds 2026-11-28 05:52:16 -08:00
dotCooCoo ad709c9f3c Merge main into fix/theora-frame-metadata 2026-11-28 05:35:38 -08:00
dotCooCoo 0d4eeb8ff2 Merge main into feat/craft-pbr-material-conversions 2026-11-28 05:35:36 -08:00
dotCooCoo 2c754d19c4 Merge main into integration/linesweeper 2026-11-28 05:30:54 -08:00
dotCooCoo 9f91ad583c Merge main into fix/jbig2-pixel-limit 2026-11-28 05:28:31 -08:00
FredApps 60f743ad97 Merge remote-tracking branch 'origin/main' into perf/contract-monomorphization 2026-11-28 14:25:56 +01:00
dotCooCoo ca9f44cb0c Merge main into feat/craft-testkit-fixtures 2026-11-28 05:22:27 -08:00
dotCooCoo b64fdc42cf Merge main into feat/craft-xtask-fetch 2026-11-28 05:21:40 -08:00
dotCooCoo 16de9b20b0 Merge main into feat/craft-testkit-temp 2026-11-28 05:17:37 -08:00
BFlat 971eddba30 Merge pull request #4066 from storytold/fix/xtask-names-macos-tmp
craft-xtask: compare canonical paths in the working-directory test
2026-11-28 19:42:52 +07:00
David Mann af4e8181e6 Merge pull request #4065 from davidmann4/fix/repaint-after-off-thread
ui-contract: a timed repaint off the UI thread reads no pass state (photocraft#17279)
2026-11-28 13:36:31 +01:00
bflatastic 6b41fb6814 craft-xtask: compare canonical paths in the working-directory test
On macOS the temp directory is under /var, a link to /private/var, so current_dir() reads back the /private/var path and the assert failed on main's macOS gate.
2026-11-28 18:55:41 +07:00
David Mann e6eac94fbc ui-contract: a timed repaint off the UI thread reads no pass state (photocraft#17279)
`repaint::request_after` read the pass clock to note the wake in an open replay record, also on a thread with no
running pass (the control server's `WindowHost::repaint_in`). The read moved the context's pass state to that thread
for a moment, and a UI pass starting then ran on an empty default state, which was parked afterwards: no command sets,
no app catalog, every command shown by its id until a restart.

The clock is now read only while a record is open on this thread, the only case `note_wake` notes anything in.
2026-11-28 12:47:41 +01:00
BFlat f83e228e81 Merge pull request #1459 from dotCooCoo/feat/craft-testkit-mcp
craft-testkit: add the mcp feature, an MCP stdio test client with deadlines and line limits
2026-11-28 17:51:42 +07:00
BFlat f7e0ec5f4a Merge pull request #3942 from dotCooCoo/fix/testkit-deadline-hang-guard
craft-testkit: deadline limits only catch hangs; wait_until waits on a Signal
2026-11-28 17:51:19 +07:00
dotCooCoo a53930f3e3 color-ui: a Recent Colors pick drops the rows' kept values in the chip's model
set_in_model left the rows' kept values in place. Body::values reads them
before a host's sRGB-only color, and in HSB a grey or black matches for any
hue, so after picking a grey chip the Hue row kept the hue of earlier row
edits and the next channel edit started from it. The pick now removes the
kept entries for the chip's model before it files the edit.
2026-11-28 02:50:31 -08:00
BFlat baff24192b Merge pull request #2639 from dotCooCoo/feat/mcp-resource-prompt-envelopes
craft-mcp: build resource, prompt and completion results with cursor pages
2026-11-28 17:43:59 +07:00
BFlat a2c82eb2e5 Merge pull request #1420 from dotCooCoo/feat/craft-xtask-icon
craft-xtask: pack PNG images into .ico and .icns files
2026-11-28 17:43:33 +07:00
BFlat 11d158c67d Merge pull request #3949 from dotCooCoo/fix/automation-control-test-handshakes
automation: the control-channel tests wait on the server's signals instead of on time
2026-11-28 17:43:11 +07:00
dotCooCoo 0ca8b8e141 texture: check the HDR side limit in craft-hdr
Set craft_hdr::Limits::max_axis from Limits::max_side and drop the
separate resolution-line parser. A side over the limit is now
DecodeError::LimitExceeded ("axis length"), reported before any pixel
memory is allocated.
2026-11-28 02:33:21 -08:00
dotCooCoo 6546fa3d04 Merge main into fix/color-panel-recent-keeps-model 2026-11-28 02:32:56 -08:00