The headless device now asks for the adapter's own limits, so on a desktop GPU the 8192x8192
reset in failed_reset_retains_the_active_render succeeds and the test failed. The test now uses a
device capped at 256 MiB (Headless::with_buffer_cap, test only). Also: ImageRes fields are private
on main, so the environment-usage test builds its image with ImageRes::new.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Preserve distinct-character collection for font subsetting alongside main's catalog accessor and compressed wasm embedding. Exercise the generated accessor with both populated and empty catalogs.
Builds a no-op adapter with WebGL2-class limits: the viewport renderer still builds and the GPU
path tracer refuses with a message naming compute shaders.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Both boxes showed only their value, so they had no accessible name.
Once the window settles, the accessibility check fails on them in a short
window (rail::history_actions_remain_reachable_in_a_short_window).
Show neutral coverage in the brush preview while editing the quick mask. Add a headless regression for the tint transition and document how pressure and jitter independently affect 3D stamp size.
The web build is under a 24 MiB download budget. Its embedded data is
now stored deflated and inflated once at startup: the craft-fonts faces,
the translation catalogs, the Phosphor icon font and the studio
environment HDR. egui's default faces come from craft-ui's deflated
copies instead of egui's default_fonts feature, and the engine's
built-in text fonts (Ubuntu Light, Hack) come from the same copies
through text_cmds::provide_built_in_fonts. Desktop builds are unchanged.
Bring in main's project rename changes. Use the existing preview fallbacks for disabled Base Color, Metallic, and Roughness channels while preserving their values for re-enabling. Cover the rendered preview with a regression test.
Preserve desktop autosave recovery and retain the package and cooked maps of linked materials used in effects. Keep both lockfile dependency entries and the approved Paint Properties changes.
Keep main's Assets, Export, and headless parity changes alongside the unified Paint Properties sheet. Preserve history on fully blocked strokes, release obsolete preview resources, and redraw brush and stencil pictures at the correct scale and placement.
Load visible thumbnails on demand, resize common custom previews from borrowed pixels, and release stale file textures and project notifications. Index favorite ranks per draw and remove unused resources without repeated library scans.
Preserve export folds across job startup. Share idle plans between the footer and file tree, borrow running-job plans, and avoid redundant label measurements and template copies. Collect distinct catalog characters before sorting them for font subsetting.
Repair the Assets snapshot setup, isolate saved-brush test files, and clarify affected code and regression fixtures.
Use a real duplicate texture path in the fixture so literal token substitution remains intact. Validate the engine integration suite with the updated main.
The web build's wasm has been over the 24 MiB gate in packaging/web/package.sh
since the nightly Release dry run of 23 Nov. This change brings it down by about
4.2 MB; it does not bring it under the gate on its own.
- Cargo.toml: the wasm-release profile uses opt-level "z" instead of "s". The
crates that rely on inlining (fearless_simd, vello_cpu, vello_common,
craft-image-codecs, texturecraft-core) stay at "s", because they come out
larger at "z". The per-pixel crates stay at opt-level 3.
- packaging/web/wasm_size_report.py: lists the wasm's sections and its largest
crates and functions.
- packaging/web/package.sh: when the size gate fails, it prints that report.
Preserve both branches’ engine tests. Validate the project name before applying other dialog settings, clear discarded text undo history, and keep an unsaved project’s autosave filename stable across renames.
Expand export tokens once, preserve literal text in names, and sanitize flat stems directly. Reuse the dialog’s name buffer and update the command documentation and generated headless parity report.
Recognize alternate spellings of the same autosave without detaching an independent file. Return the recovered session's actual path and modified state from desktop file.open, borrow command parameters, and move the inspection result into its reply.
Extend the disk regression to verify both the recovered autosave and an explicit Save As after the original project autosaves again. Record the conditional file-identity dependency and its attribution.
Assets panel pass 2: a right-click menu on every asset, favorites, a drag ghost that says where it can drop, automatic updates and a second Assets panel
images_used counted a linked material's package and cooked maps only on a fill layer, so
Remove unused dropped them (and a smart material left them out) when the link sat in a
content fill effect.
A pure find_installed_tool(app_dir, exe) is tested in a temp folder (sibling
found, beside-the-program wins, missing is None) instead of writing into target/.
The 'did not start' hints name the sibling folder; control-protocol.md lists the step.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
docs/parity.md gets a headless column computed from the engine registry that texturecraft-cli and the MCP server load: 21 yes, 40 no (window 33, os 5, engine-gap 2), 3 partial, 0 unknown of 64 items, per RFC-0052.
* web: cut the CJK interface face to the catalogs' characters
The scheduled Release dry run's Web (wasm) job has failed since 23 Nov 2026:
the wasm is 27,128,780 bytes against the 25,165,824-byte gate in
packaging/web/package.sh, and against Cloudflare's 25 MiB per-file cap.
Parsing the last green artifact puts 7.4 MB of the 24.8 MB module in embedded
fonts, of which the whole Japanese face is 4.67 MB. WordCraft already cuts its
web interface faces to the embedded catalogs (craft-libs' craft-fonts-build
`Embed::subset_to`, with `Embed::for_ui`); this app still embedded the whole
face.
A web build now subsets every face whose manifest script is Hans/Hant/Jpan/Kore
to the characters of the embedded catalogs, plus ASCII, Latin-1 and general
punctuation, and keeps the CJK punctuation block (U+3000-303F) and the kana
blocks (U+3040-30FF) whatever the catalogs say, so Japanese a user types in a
layer or file name still draws. That is craft-libs' precedent minus the
katakana phonetic extensions and the full-width forms, which cost a further
5 KB and are not in the cut. The subsetter is the skera/skrifa pair the Inter
cut already uses. The cut Japanese face is 650,268 bytes instead of 4,669,688,
so the wasm comes back to about 23.1 MB, under the gate with about 2.0 MB to
spare. The desktop build is unchanged and keeps its CJK faces whole.
Trade-off, as in WordCraft: CJK characters outside the catalogs and those
ranges (kanji, full-width forms) fall back to the interface font in the
browser build only.
* ui: drop the catalog builder's unused source-only entry point
cargo xtask ci's clippy leg (--all-targets -- -D warnings) fails the
ui-egui build script on `i18n_build::generate`: since the web font cut,
the build script only calls `embed`, so the wrapper is dead code in that
compilation unit and `-D dead-code` rejects it.
The integration test was its only caller, and it drives `collect`
directly elsewhere, so the tests keep a local `generate` wrapper over
`i18n_build::collect` and the production module stops carrying a function
nothing builds.
* docs: state the web CJK subset's coverage accurately
Han ideographs that are not in the shipped catalogs are omitted from the
web face and render as missing glyphs. Desktop still embeds the full faces.
* style: let cargo fmt order the skera import
The earlier rustfmt pass put the function before the types; cargo fmt
(with this repo's rustfmt.toml) wants Plan and SubsetFlags first.
---------
Co-authored-by: skylartaylor <skylartaylor@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Main's Resources Updater counts an equal-size file whose modification
time didn't move as unchanged, so a rewrite in the same millisecond as
the import read as up to date and the test failed on the gate.
Keep the approved export repairs alongside the new CLI and packaging. Preserve both branches' Cargo dependency declarations and protocol documentation.
Reject selections that use one output path as both a file and a folder before rendering or starting a desktop export. Expose tile metadata in export.plan and use it to label atlas previews, including ambiguous filenames.
Write quantized 8-bit PSD rows directly into the merged-image buffer. Cover path conflicts in both orders, partial desktop writes, and visible atlas captions with regression tests.