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
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.
* texturecraft-cli: follow RFC-0018 (clap, thiserror, run(args, out, err), packaged completions and man pages)
Closes#866. Part of storytold/craft-contrib#95.
* fix(cli): enable clap env, and close replacement and token gaps
- Enable clap's `env` feature so TEXTURECRAFT_CONTROL_TOKEN compiles in a
standalone `-p texturecraft-cli` release build (the FreeBSD package job).
- An inherited token no longer implies --bridge; only a command-line
--token does.
- Compare run/bake/new outputs to the path Headless::save actually writes
(it appends .tcraft when the extension is missing).
- Apply the same replacement rule to batch (save vs open), with --in-place.
- Build man-and-completions for the host when CARGO_BUILD_TARGET is set.
- Don't panic in the blank-token test when the environment already has a
token.
* fix(cli): require both roots for headless mcp
AGENTS.md rule 18 says an agent entry point must refuse to start without
--automation-read-root and --automation-write-root (the --read-root /
--write-root aliases here). Headless mcp now exits 2 unless both are
set; --bridge is unchanged. The missing-CLI_DOCS diagnostic also names
the host-example env -u CARGO_BUILD_TARGET prefix already used to build it.
Main's Resources Updater replaces the shelf's own resource.update and
resource.reload: the shelf menu's Reload and the refresh popup's
updates now run main's resource.status and resource.update, and Show in
reads the project's saved source path. A renamed image keeps its source
record, so it still follows its file.
Keep eligible maps from an interrupted bake in one undo step and preserve completed texture sets. Add resource status, update, and relink commands and the desktop Resources Updater.
Integrate Xwayland pointer support for Linux pens, Russian language selection and packaging metadata, private staging for MaterialCraft handoffs, and release-change notifications. Update tests and documentation for the affected behavior.
Preserve Resources Updater links and bake provenance when replacing or clearing mesh maps. Keep unrelated maps on unchanged UV atlases, discard partial results from failed workers, and reject overflowing texture-set indices.
Track vertex colors, part assignments, tangent frames and the packed file used by material-color bakes. Share the common source fingerprint across each task's selected maps. Add reimport, cancellation and atlas regressions, update the control protocol, and clarify the affected code.
Add Russian translation (ru) for the Linux packaging metadata.
- Russian strings in the .desktop entry, the AppStream metainfo (summary, description, feature details, search keywords) and the MIME type descriptions, so Russian-language software centres and file managers show localized text.
- Metainfo strings are stated as CC0-1.0, as AppStream requires; per-file translation notices removed.
- Registering ru in the app's language list is left to #691.
Contributed by SuperSfera LLC (MIT OR Apache-2.0). Packaging files only (3 files); no code changes.
i18n: offer Russian in the language picker.
- ru (Русский) is added to LANGUAGES. A Russian system (ru-RU, ru-SK, ru_RU.UTF-8) now starts in Russian once the catalog (storytold/craft-i18n#334) is embedded; the locale test covers those tags.
- Cyrillic no longer counts as a script needing a fallback font: the bundled UI fonts already carry every Russian letter, including Ё/ё and «».
- Docs (ROADMAP, features, localization-parity) now list eleven languages.
Without the catalog the picker entry falls back to English, as for other languages. Tests pin the UI harnesses to English where needed.
Keep native Wayland when the local X server rejects setup or lacks the requested screen. Cover rejected and accepted replies, document pointer support and Flatpak access, and retain the PhotoCraft copyright and license notices.
Focused Linux desktop, titlebar and framework tests passed, along with Clippy, formatting, layers and wasm checks.
* ci: notify artcraft-services on release state changes
* ci: pass only the dispatch token to the notify-services workflow
secrets: inherit hands the called workflow every repository secret, including
the signing credentials. The reusable workflow only reads
ARTCRAFT_SERVICES_DISPATCH_TOKEN, so map just that one.
---------
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
The language picker greys out a language whose script no available font covers, so a web build with catalogs but without craft-fonts cannot pick Japanese, Chinese, Korean or Arabic.
The painted box of an auto-rebake map now lives in the document, so
undoing the rebake of a stroke makes the map due again (the stroke stays
painted while the map goes back to its pixels from before it), and a
rolled-back bake.run needs no hand-kept copy. A mesh reimport carries the
stroke count on; before, a bake after a reimport saw every earlier stroke
as newer and kept its box.
The Baking Log rows, the out-of-date clock and the generator's bake note
put their reasons in the accessibility tree, not only in a tooltip, and a
folding high poly row exposes whether it is expanded. bake.log is kept off
the shortcut list. PressEdit gets its own file, region_keeps_pixels moves
beside RegionBake, and auto_rebake_due computes each map's source once.
A drag stays one undo step while a panel is open in its own floating
window: the press is kept in egui memory, not in a frame cache that the
floating window's own pass clears every frame.
Cancelling a bake threw away the maps the running texture set had already
finished, so the Baking Log turned their ticks into warnings. The set now
keeps them as one undo step, also when the preview closed because Bake
mode was left; only maps that had not finished warn, and a map it did not
finish keeps its out-of-date mark. A bake at a new output size keeps none,
since storing them would drop the set's other maps.
An auto-rebake started its preview with every checked map of the set, so
the progress footer named the set's first map ("Baking Normal (1/7)") while
it rebaked AO. The preview now lists only the maps the rebake makes.
Each row gets an Auto-rebake icon at its right end. It stays shown and
bright on the set's auto-rebake map; on the other rows it shows dim
while the row is hovered, and bright while the icon is hovered or has
focus. Clicking it makes that map the set's auto-rebake map, or turns
Auto-rebake off.
A baked map whose mesh, high poly, cage or settings changed after its
bake gets a yellow clock at the right end of its row; hovering it lists
what changed. The reasons are shared with the generator's bake note.
The first skew stroke of a texture set turns Auto-rebake on for its
Normal map, unless the set already has an auto-rebake map; it is part
of the stroke's undo step.
A skew or cage stroke on a set that bakes from a high poly marks its UV
box; in Bake mode the app then bakes the set's auto-rebake map again
only there (one texel wider, for the paint map's sampling), keeps the
rest of the stored map and pads the whole map, so its pixels match a
whole bake. Maps scaled by their whole range (curvature, height,
thickness), UV-tiled sets and a map stored at another size bake whole.
A stroke painted while that bake runs is baked by the next one. The bake
crate gains bake_tiles_in with a texel box.
Each texture set can turn on Auto-rebake for one mesh map (bake.autoRebake,
saved with the project; older projects have none). In Bake mode the app
rebakes that map alone in the background once what it is baked from has
stopped changing for half a second; a change during that bake cancels it
and the newest settings bake instead. Only a failed rebake makes a toast.
A generator that reads a mesh map the active texture set has not baked,
or baked before its mesh, files or settings changed, shows one line
under its kind: what is wrong, the reasons on hover, and a Bake button
that bakes the set in the background (turning the map on first when it
is off). Nothing shows once the map is up to date, and nothing pops up.
The line replaces the old warning at the end of the panel, which showed
for every generator, even those that read no mesh map.
Each bake records, per map, fingerprints of the low poly geometry, the
high poly and cage files, the settings every map shares (with the UV
tiles baked) and the map's own settings, taken when the set's bake
starts. A map whose inputs differ now is out of date, with what changed;
project.inspect lists those per texture set as outOfDate.
The record is saved with the project and left out when empty, so
projects saved before it open unchanged and their maps never show out of
date. Imported maps keep no record either.
A warning toggle at the right end of the tab strip counts the shown
tab's issues and, while pressed, keeps only the rows with one. With no
issue left the tab says so in one line, with how to see every row
under it.
A failed or canceled row shows an arrow at its right end while hovered
or focused; it makes the row's texture set active and shows the map in
Mesh Map Settings, as picking it in Mesh Map Bakers does.
The Baking Log gets the three tabs from the issue's mock-ups (Baking
Process, High Poly Parameters, Matching by Name) in the Properties
section-tab look. Baking Process lists one row per texture set and map: a
tick when baked, orange dots and bold for the map being baked (kept in
view), dim while waiting, a red cross or a warning when not kept, with the
reason on hover. The tab's icon turns into orange dots while a bake runs.
The session keeps the latest bake as one row per texture set and map
(waiting, baking, baked, failed, canceled), filled from the bake's own state
by the app's background bake and by bake.run, never from Log lines.
The default bake layout put the general Log under the settings columns; the
Baking Log now takes that place (the Log stays in Window > Views). The bake
layout version moves to 3 so saved bake docks pick up the new layout.