Commit Graph
1718 Commits
Author SHA1 Message Date
Dylan M. Taylor 5600be6556 Use craft-nightly for nightly profile self-isolation and security fence (#911) 2026-11-29 13:48:49 -05:00
Chris Hassebrook 4792c1ed14 Merge pull request #876 from Rebornim/feat/texture-sets-pass
Texture Set list and Texture Set Settings: the missing settings and controls
2026-11-29 09:15:24 -05:00
chasse20 b5d9abbb91 Auto: Fix texture set resize ownership and reduce memory peaks
Reject resize results from another project. Release stale pixels and caches before retrying a resize within the original project, preserving intervening edits and one-step undo.

Fix rectangular height sampling, seam-boundary coverage, malformed set selectors and saved channel ordering. Reduce temporary composite and mesh-partition storage, and pack mixed-aspect trace textures without changing their samples.

Keep channel actions reachable in short windows, strengthen export and modal regressions, document the control commands and remove unrelated formatting changes.
2026-11-29 08:04:24 +00:00
Rebornim 41b8a69818 Merge upstream main into the texture sets pass
# Conflicts:
#	crates/formats/src/mesh_import/external.rs
#	crates/ui-egui/build.rs
#	crates/ui-egui/i18n_build.rs
#	crates/ui-egui/src/lib.rs
#	crates/ui-egui/src/menus.rs
#	crates/ui-egui/src/shelf.rs
#	crates/ui-egui/src/shelf_updates.rs
#	crates/ui-egui/tests/i18n_build.rs
#	crates/ui-egui/tests/it/shelf_updates.rs
2026-11-29 06:30:40 +00:00
Chris Hassebrook b65ef83c63 Merge pull request #223 from simonhull/fix/panic-safe-session-edit
Restore the document when a command panics mid-edit
2026-11-29 00:08:00 -05:00
Chris Hassebrook 8e6c845272 Merge pull request #206 from Silvertree2010/fix/201-launcher-install-texturecraft-ca
Find MaterialCraft in the sibling launcher install folder
2026-11-29 00:07:13 -05:00
Chris Hassebrook 248247c5c4 Merge pull request #192 from JonRC/fix/headless-render-without-compute
Headless render on adapters without compute shaders, and the wgpu env vars
2026-11-29 00:06:47 -05:00
Chris Hassebrook 5ceb532e8d Merge pull request #863 from Rebornim/feat/brush-props-pass
Paint tool Properties parity: brush, alpha, stencil and material tabs
2026-11-29 00:03:52 -05:00
Dylan M. Taylor 886c7d8aa5 fix(nightly): enable Linux package_formats (including Flatpak) in signing policy (#904) 2026-11-28 22:41:27 -05:00
SteamSmithandClaude Sonnet 5.5 14cd65692e fix: same_document ignores crate-private Document fields (main added painted_regions)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 21:11:06 -05:00
SteamSmith 219b3490c8 Merge remote-tracking branch 'origin/main' into work/223 2026-11-28 21:06:32 -05:00
SteamSmithandClaude Sonnet 5.5 aabf1c06dc fix: a failed or panicking edit marks the restored document's tiles dirty again
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:55:04 -05:00
SteamSmithandClaude Sonnet 5.5 d6f6f30169 test(192): spawn the CLI through cli_binary() so nextest archives on another runner find it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:55:03 -05:00
SteamSmithandClaude Sonnet 5.5 b6dbef1b34 test(192): the no-compute test also checks the GPU baker refuses with a reason
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:41:25 -05:00
SteamSmithandClaude Sonnet 5.5 45ea33d09d fix(render): size-limit tests no longer assume wgpu's default 256 MiB buffer limit
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>
2026-11-28 19:21:36 -05:00
SteamSmithandClaude Sonnet 5.5 12632c3652 merge: origin/main into fix/headless-render-without-compute
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:21:36 -05:00
SteamSmith 5f116a74cf Merge remote-tracking branch 'origin/main' into review/206-fix
# Conflicts:
#	crates/engine/src/link_cmds.rs
2026-11-28 19:20:45 -05:00
Rebornim ea0cb24113 Merge upstream main into the texture sets pass 2026-11-29 00:20:33 +00:00
Dylan M. Taylor 846553d13d ci: pin storytold/craft-common-actions to @main universally (#901) v0.6.1-nightly.20261129.46218807490.1.g846553d13d90 2026-11-28 16:07:28 -05:00
Dylan M. Taylor ded20a74bd ci(sonar): exclude diagnostic wasm_size_report.py CLI script from taint analysis (#900) v0.6.1-nightly.20261128.46182144970.1.gded20a74bdd9 2026-11-28 14:37:04 -05:00
chasse20 b1a0944f89 Auto: Integrate main and resolve catalog embedding conflict
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.
2026-11-28 19:13:49 +00:00
Dylan M. Taylor 4336c9accd fix(web): inline realpath prefix check in wasm_size_report.py for SonarCloud (#899) 2026-11-28 13:24:25 -05:00
SteamSmithandClaude Sonnet 5.5 5ebe488019 test(render): an adapter without compute shaders gets a tracer error, not a panic
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>
2026-11-28 12:51:39 -05:00
Dylan M. Taylor c80f93efd3 ci(nightly): pin shared signing workflows, move macOS notices to Resources/docs, and fix profile reopen (#896)
* ci(nightly): pin shared signing workflows, move macOS notices to Resources/docs, and fix profile reopen

* style(profile_root): format with rustfmt
2026-11-28 11:51:05 -05:00
SteamSmithandClaude Sonnet 5.5 0097f99053 test(engine): edge cases for find_installed_tool (folder named like the tool, no parent, missing app folder)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 10:30:31 -05:00
FredApps 6339b30cbc Merge pull request #894 from storytold/fix/wasm-size-profile
web: get the wasm under the 24 MiB gate (size profile, deflated embedded data, size report)
2026-11-28 15:41:43 +01:00
Rebornim f44a45478a Size the channel window's list to the room the title bar and footer leave, so Apply stays on screen in a short window 2026-11-28 10:20:54 +00:00
Rebornim 9d6531c43f Name the view camera and view mode pickers for screen readers
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).
2026-11-28 09:46:59 +00:00
Rebornim 5883353858 Keep F2 and the menu keys from the texture set list while a dialog is open 2026-11-28 09:23:18 +00:00
Rebornim 9df6e65efa Put the channel window's legend on its own row when the footer is too narrow for it beside Apply to all Texture Sets 2026-11-28 09:23:18 +00:00
Rebornim ea94342ff0 Leave a set's other files to export when its PSD's map size scales the set past the largest image side 2026-11-28 09:23:18 +00:00
Rebornim b6809d1d09 Scan only the band beside a seam for its padding texels, not the seam's whole bounding box 2026-11-28 09:23:18 +00:00
chasse20 3b858f1a17 Auto: Integrate main with rectangular texture exports 2026-11-28 08:55:08 +00:00
FredApps 7001cac3eb ui-egui: name each generated font file after its full craft-fonts path
Faces that share a file name in different folders no longer overwrite
each other under OUT_DIR.
2026-11-28 15:53:44 +07:00
chasse20 ccf2ad6b52 Auto: Restore neutral quick-mask previews and clarify size jitter
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.
2026-11-28 08:46:07 +00:00
chasse20 c6a8a86247 Merge reviewed target into TextureCraft rectangular textures 2026-11-28 08:38:21 +00:00
FredApps 2332602c4e web: embed fonts, catalogs, the icon font and the studio HDR deflated
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.
2026-11-28 15:37:56 +07:00
chasse20 31d1b7b241 Auto: Integrate main and honor brush preview channel toggles
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.
2026-11-28 08:27:36 +00:00
FredApps e70e4cbf84 Merge remote-tracking branch 'origin/main' into fix/wasm-size-profile 2026-11-28 09:16:22 +01:00
FredApps bf379a3937 web: only read .wasm files under the repo or CARGO_TARGET_DIR in the size report 2026-11-28 09:16:22 +01:00
Chris Hassebrook 5e8ccdb9d3 Merge pull request #864 from MorionTutoriales/fix/857-rename-project
Make the project renamable (#857)
2026-11-28 03:09:53 -05:00
chasse20 f2176331a0 Auto: Integrate main into Paint Properties
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.
2026-11-28 08:08:38 +00:00
chasse20 32c89f35f4 Auto: Integrate main and repair paint, asset, and export previews
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.
2026-11-28 08:00:03 +00:00
Chris Hassebrook a7180a23ba Merge pull request #879 from MorionTutoriales/fix/851-recovered-copy
Autosave: open a copy as an unsaved project
2026-11-28 02:41:51 -05:00
chasse20 b955de0e4d Auto: Fix MaterialX filename collision test
Use a real duplicate texture path in the fixture so literal token substitution remains intact. Validate the engine integration suite with the updated main.
2026-11-28 07:31:51 +00:00
FredApps c1a395f3fa web: size-optimize the wasm profile and report the biggest contributors
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.
2026-11-28 08:23:58 +01:00
Chris Hassebrook 7f16522d87 Merge pull request #889 from Rebornim/fix/images-used-material-effects
Assets: Remove unused keeps the package and maps of a material linked in a content effect
2026-11-28 01:41:44 -05:00
chasse20 4c1d486fc4 Auto: Integrate main and fix rename validation and export naming
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.
2026-11-28 06:39:00 +00:00
chasse20 7b06725641 Auto: Fix recovery aliases and control replies after integrating main
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.
2026-11-28 06:38:55 +00:00
Chris Hassebrook 7c8dd1ae4e Merge pull request #255 from SteamSmith/fix/mesh-folder-symlinks
Files a mesh references must stay inside its folder once links are followed
2026-11-27 22:55:58 -05:00