Commit Graph
87 Commits
Author SHA1 Message Date
Rafael Mendes e9c1938cdc Wait for relief builds and keep platform-specific tests warning-free 2026-11-05 13:30:48 -03:00
Rafael Mendes c9f2deb420 Isolate global language switching from parallel UI tests 2026-11-05 13:26:14 -03:00
Rafael Mendes 6b6f8728c2 Bound relief workers and integrate real height previews 2026-11-05 12:25:44 -03:00
Rafael Mendes be02ec236c Merge branch 'fix/sbs-library-node-aliases' of https://github.com/Belligerently/materialcraft into review/pr-64 2026-11-05 12:19:28 -03:00
Rafael Mendes 3359d48f2d Merge branch 'fix/slider-round-values' of https://github.com/Belligerently/materialcraft into review/pr-63 2026-11-05 12:16:43 -03:00
Rafael Mendes 994dffca6d Merge branch 'fix/search-results-keyboard-limit' of https://github.com/Belligerently/materialcraft into review/pr-62 2026-11-05 12:14:45 -03:00
Rafael Mendes d3f3e2aefa Merge branch 'fix/preview-resolution-label' of https://github.com/Belligerently/materialcraft into review/pr-56 2026-11-05 12:11:18 -03:00
Rafael Mendes 442bb0cf83 Merge branch 'fix/stable-interface-scale' of https://github.com/Belligerently/materialcraft into review/pr-54 2026-11-05 12:05:13 -03:00
Rafael Mendes aa6e7138d9 Integrate reverse wire dragging with node and wire selection 2026-11-05 12:04:51 -03:00
Rafael Mendes 96574eaba7 Integrate MCP material export with the current control protocol 2026-11-05 11:35:48 -03:00
Rafael Mendes 84436943e8 Coalesce pending edits while a cancelled cook finishes 2026-11-05 11:22:04 -03:00
Rafael Mendes 4897dab15d Merge branch 'review/pr-43' into review/pr-44 2026-11-05 11:16:47 -03:00
Rafael Mendes 2e525e1738 Reconcile the author's SBS resource update 2026-11-05 11:14:31 -03:00
Simon Hull 2f0533cf28 Eval: give the clamping test a locked cache 2026-11-05 08:07:53 -06:00
Rafael Mendes a026ddaaf9 Integrate cache keys with SBS and bound graph traversal 2026-11-05 11:02:15 -03:00
Simon Hull e39a227ca1 Merge commit 'e153b8b' into advisor/005-cook-only-what-changed 2026-11-05 07:52:55 -06:00
Simon Hull e153b8b603 Merge remote-tracking branch 'origin/main' into advisor/004-correct-cache-keys 2026-11-05 07:52:44 -06:00
Rafael Mendes 56aaea24ae Use the bound control port and handle thread creation failures 2026-11-05 10:50:37 -03:00
Rafael Mendes f5b3fe73de Merge remote-tracking branch 'origin/main' into review/pr-42 2026-11-05 10:37:52 -03:00
Rafael Mendes c2677734a9 Merge pull request #41 from simonhull/fix/package-load-budget
Formats: bound package load memory, check image size before decoding, guard parsers
2026-11-05 10:37:25 -03:00
Rafael Mendes 82373ba8f7 Merge pull request #40 from simonhull/fix/enforce-param-ranges
Nodes: clamp parameters to hard limits before cooking
2026-11-05 10:35:51 -03:00
Rafael Mendes 6785310caf Merge pull request #39 from Belligerently/fix/numeric-parameter-input
Keep typed numeric parameter values across frames
2026-11-05 10:35:16 -03:00
Rafael Mendes 80338564d4 Merge remote-tracking branch 'origin/main' into review/pr-35
# Conflicts:
#	crates/ui-egui/src/graph_view.rs
2026-11-05 10:23:17 -03:00
Rafael Mendes 2d445acf5c Merge pull request #31 from Belligerently/fix/movable-dialogs
Allow centered dialogs to move by their title bars
2026-11-05 10:21:19 -03:00
Rafael Mendes a7def58061 Guard export dimensions and verify graph context export 2026-11-05 10:19:26 -03:00
Rafael Mendes 854764bddb Merge remote-tracking branch 'origin/main' into review/pr-25 2026-11-05 10:16:37 -03:00
FredApps 4ce6d19362 ui-egui: rustfmt the Arabic catalog; enable web-sys Navigator for the browser language 2026-11-05 04:25:17 +01:00
FredApps 8b72a7c0b9 Merge remote-tracking branch 'origin/main' into fix38 2026-11-05 04:14:55 +01:00
PiJellyPin 8bdae1157d Fixed Heightmap 2026-11-05 02:38:04 +01:00
Belligerently 96db0b01f9 Preserve Flood Fill and Height Blend SBS inputs 2026-11-04 20:30:54 -05:00
Belligerently f421d10b3f Recognize Histogram Scan and Auto Levels SBS aliases 2026-11-04 20:18:15 -05:00
Belligerently ff310018ef Make round parameter values reachable by dragging 2026-11-04 19:56:16 -05:00
Belligerently 9b51c35dd7 Keep keyboard-selected node search results visible 2026-11-04 19:14:56 -05:00
Rafael Mendes 2900eb1058 Merge branch 'feat/alpha-3d-and-wire-editing' into feat/levels-histogram
# Conflicts:
#	crates/ui-egui/tests/snapshot.rs
2026-11-04 20:14:36 -03:00
Rafael Mendes 6a249c66ff Merge remote-tracking branch 'origin/main' into feat/alpha-3d-and-wire-editing
# Conflicts:
#	README.md
2026-11-04 20:11:35 -03:00
AndreIsraelAO 3947e3c6f5 Merge main into feat/22-graph-context-export 2026-11-04 17:53:40 -03:00
Belligerently 4c33630376 Clarify node resolution while previewing 2026-11-04 13:13:08 -05:00
Belligerently 1eaa87a3ed Apply interface scale after pointer release 2026-11-04 08:43:44 -05:00
GrosFineasssandClaude Opus 5.5 d4492ac255 Connect a wire dragged from an unconnected input
Pressing an unconnected input started no gesture, so a wire could only
be pulled from an output. It now starts a wire that ends on an output
and runs the same graph.connect. Dropping it anywhere else changes
nothing. Dragging from an output and unplugging a connected input work
as before.

Refs #13

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:32:30 +02:00
PiJellyPin 66fdba878f Testing a bunch of stuff 2026-11-04 08:47:10 +01:00
Chris Hassebrook d62ca9ac53 Merge branch 'main' into 49-change-to-sbs-instead-of-mcraft 2026-11-04 01:11:49 -05:00
PiJellyPin 6310230ecd Load sbs files
save, load etc.. for sbs files
2026-11-04 07:03:54 +01:00
Zachary Aflalo c97f92abff Start desktop and browser sessions with an empty graph (#29) 2026-11-04 06:17:40 +01:00
A-Gift-Of-FlameandClaude Sonnet 5.5 ef8ab335c2 feat(automation): material_export MCP tool for portable .mcmat
Sandboxed agents could not hand a material to TextureCraft: the workspace
sandbox refuses `file.*` commands and there was no MCP tool for `.mcmat`.

Add `material_export {path, graph?, size?, values?}` (RPC method
`material.export`). It cooks the graph through the same engine code as
`file.exportMaterial` and writes the `.mcmat` only through
AuthorizedWorkspace (cap-std, `--write-root`): no write root, a malformed
path or an escape is an error, the parent folder must exist, and the file is
capped at what `package_open` may read back. Bridge mode refuses it like the
other path tools. The engine gets a shared `material_request` helper so the
command and the tool parse graph/size/values identically.

Tests: file written and readable, bad requests, denied without a write root
(Denied and read-only workspace), path escapes (`..`, absolute, backslash,
drive, symlink) and the MCP tool end to end. docs/control-protocol.md lists
the method and tool.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-03 23:55:13 +01:00
Belligerently 73378cbfd8 Keep typed numeric parameter values across frames 2026-11-03 17:16:16 -05:00
test-bit-sys 0dee441161 feat(i18n): add complete Arabic (ar) UI localization and font fallbacks
- Add full Arabic translation table (363 entries) in crates/ui-egui/src/i18n/ar.rs
- Implement live language switching, locale detection and RTL support in crates/ui-egui/src/i18n.rs
- Add system font fallbacks for Arabic (Segoe UI, SF Arabic, Noto Sans Arabic) in crates/ui-egui/src/fonts.rs
- Add language selector combo box to Preferences dialog in crates/ui-egui/src/windows.rs
- Add language preference persistence in crates/ui-egui/src/state.rs
- Update docs/localization-parity.md tracking Arabic support
2026-11-03 22:45:17 +01:00
Simon Hull 76684bc3a8 Cook: format and lint fixes 2026-11-03 14:38:35 -06:00
Simon Hull 2758d1d389 Cook: cancel stale background cooks and lock the cache only around lookups
The cooker sets the running cook's cancel flag when the graph changes again and starts the
new cook at once; eval::cook takes &Mutex<Cache> and locks per lookup/insert.
2026-11-03 14:37:56 -06:00
Simon Hull b991f4fb11 Eval: key nodes only on the graph inputs they read
An exposed-input change re-cooked 21 of 21 nodes in rusty_metal; now 1 (the reader).
Input-change cook (noisy, concurrent load): 1024 ~320 ms -> ~0.1 ms, 2048 ~1500 ms -> ~0.2 ms.
2026-11-03 14:30:34 -06:00
Simon Hull 55f1a1c323 Engine: add cook benchmarks for input changes and parameter edits
Baseline (noisy, concurrent load), input change: 1024 ~320 ms, 2048 ~1500 ms, 21 of 21 nodes re-cooked.
2026-11-03 14:30:34 -06:00