Commit Graph
1754 Commits
Author SHA1 Message Date
chasse20 ea31cd4b09 Auto: Integrate main into the reviewed History and Log changes
Preserve History step tracking alongside the incoming path-cache replay and verify the Log append path for autosave failures.
2026-11-29 20:24:52 +00:00
chasse20 a020271842 Auto: Integrate main and streamline History and Log panels
Name the scrollbars for assistive technology. Verify that resizing keeps the whole current History row visible and that a horizontally scrolled Log entry copies with its original line breaks.

Borrow visible History labels and reuse formatted Log text to reduce temporary allocations. Validate with the focused Linux suite and the WebAssembly checks.
2026-11-29 20:18:13 +00:00
Chris Hassebrook f027bfc00e Merge pull request #856 from MorionTutoriales/fix/852-autosave-notice
Show a notice when an autosave fails (#852)
2026-11-29 15:06:15 -05:00
Chris Hassebrook 52a86a9e87 Merge pull request #253 from SteamSmith/fix/mesh-finite-attributes
Mesh::validate refuses non-finite normals and absurd UVs
2026-11-29 15:05:33 -05:00
Chris Hassebrook 7db0996cc7 Merge pull request #171 from justinjohn0306/paths/cache-channel-key
Path cache follow-up: skip untouched paths, cover channels and alpha images, cap memory
2026-11-29 15:04:47 -05:00
Chris Hassebrook bb037d57e5 Merge pull request #909 from Rebornim/fix/slider-value-column
Properties: slider tracks stay put when a value gains a sign or digits
2026-11-29 15:02:28 -05:00
chasse20 b76d0e2f2b Auto: Integrate main's nightly startup migration
Bring in the craft-nightly desktop startup changes from main and preserve the approved slider width and viewport measurement fixes.
2026-11-29 19:20:09 +00:00
chasse20 ced5036100 Auto: Preserve slider widths across floating-window redraws
Keep sheet measurements per viewport so another window cannot narrow a held track. Extend the drag regression through a second viewport redraw and pointer release.

Preserve main's Texture Set Settings controls, avoid redundant endpoint text layouts and string copies, and move the slider test fixture into its own module.
2026-11-29 19:07:40 +00:00
Dylan M. Taylor 5600be6556 Use craft-nightly for nightly profile self-isolation and security fence (#911) 2026-11-29 13:48:49 -05:00
Morion 458ac8ce5b Merge remote-tracking branch 'origin/main' into fix/852-autosave-notice
# Conflicts:
#	crates/ui-egui/src/lib.rs
2026-11-29 12:23:12 -05:00
Morion 29cc973803 Announce the autosave failure notice to screen readers 2026-11-29 11:57:38 -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
Rebornim 226e2de43a Keep the current History step on screen when the list gets shorter 2026-11-29 13:38:16 +00:00
Rebornim 0b0a5337f6 Bring the current History step into view when a full history repeats a name 2026-11-29 10:22:30 +00:00
Rebornim 95345879f0 Properties: slider tracks stay put when a value gains a sign or digits
The value column was as wide as the widest number on show, so dragging a slider below zero moved every track in the panel. It now reserves the widest value each track can reach, up to a cap so a huge range keeps its tracks, and never narrows while the pointer is held.
2026-11-29 09:43:59 +00: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
SteamSmithandClaude Sonnet 5.5 f28d4d8b64 fix(paths): count each snapshot's tile table against the path cache budget
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 01:30:56 -05: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
SteamSmithandClaude Sonnet 5.5 778d33374a Merge main into the path cache follow-up; pace eviction scans
render_paths runs inside Session::while_painting_paths (panic-safe) again. evict ran after every
appended path and charged every kept snapshot, so a repaint of n paths scanned up to n snapshots
n times; EvictPacer scans only when its upper bound on the retained bytes passes the budget.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-29 00:18:34 -05: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 152ef56469 chore(#253): merge main; trace.rs takes main's surface(), whose texel lookup no longer adds offsets before wrapping
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 20:57:29 -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 90d631a3c4 merge: origin/main into the path cache follow-up
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 19:34:10 -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
Rebornim 5e132ba903 Show the Log as a framed list of one-line entries
The Log's lines sit in a sunken box joined to the open tab: one row per
line, never wrapped, with vertical and horizontal scrollbars and the
whole row banded while selected. The widest line of each tab is measured
once per new line, so a long log doesn't lay out every line each frame;
rows are laid out only while visible. The Assets tab's greyed warnings
filter sits in a strip above the list and has the accessible name
"Warnings".

Part of #890.
2026-11-28 19:49:30 +00:00
Rebornim 6754228e64 Split the Log panel's width between its General and Assets tabs
The two channel tabs fill the panel's width in equal halves, in small
bold capitals: the open tab on the list's field colour with no line
under it, the other on the row band with dim text. Each tab is a
focusable control with the tab role and its selected state. The Log's
lines keep a small inset from the panel's edges.

Part of #890.
2026-11-28 19:41:36 +00:00
Rebornim 7f9ee780a2 Keep the current History step in view, with the scrollbar always shown
The History list opens at the newest step and scrolls the current step
into view when the history changes (a new step, undo, redo or a jump);
a tool, camera or selection change leaves a list the user scrolled where
it is. Rows are laid out only while visible. The list's scrollbar is a
solid 8 px bar in the theme's colours, shown even when the list fits.

Part of #890.
2026-11-28 19:41:36 +00: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
SteamSmithandClaude Sonnet 5.5 589eb4c764 test(path-cache): a filled path above an edit keeps its tiles from the cache
Covers the footprint recorded by commit_fill; emptying it left every other test green.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-28 12:29:31 -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 178e2d1928 Show History steps as flat rows with the current step outlined
The History panel lists every step as a full-width row: the current step
is outlined in the accent, the pointer's row gets a soft band, undone
steps stay dim and clickable. The Undo and Redo buttons under the list
are gone; undo and redo stay in the Edit menu and on Ctrl+Z / Ctrl+Y.

Part of #890.
2026-11-28 11:59:48 +00: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