Commit Graph
84 Commits
Author SHA1 Message Date
chasse20 6c26296dce Auto: Normalize library resource paths before relativizing
Normalize the library resource path alongside the destination to avoid Windows verbatim-prefix mismatches. Assert that saving retains the portable relative link resources/tile.svg.
2026-11-15 00:14:53 +00:00
chasse20 1a7225c8c2 Auto: Reuse SBS parsing and fix stale preview cache failures
Integrate main's read limits and preserve the font, evaluator, converter,
and measured preview repairs. Complete the scoped type, comment, and
spacing cleanup.

Reuse one validated XML document for library layout and graph reads.
Associate cache maintenance completion with its submitted revision so
old failures cannot consume new settings or clear requests.
2026-11-14 22:52:26 +00:00
chasse20 e9b777bee2 CPR review #1 2026-11-14 03:45:23 +00:00
chasse20 8737d45b64 Use shared Liberation fallback for clean-room SBS assets
Preserve available user fonts and use craft-fonts Liberation Mono only when font data is missing. Keep original identifiers and retain repairable references if the fallback is unavailable.

Attribute the bundled clean-room SBS library, remove the bundled font binary, and share documentation and license staging across Windows MSI and portable packages.
2026-11-13 17:00:24 -05:00
chasse20 2318d25a3a Improve clean-room SBS evaluation parity 2026-11-13 11:46:15 -05:00
chasse20 46802a44fc Merge latest SBS branch improvements
Preserve resource and rendering fixes alongside updated library previews, node UI, and function input support. Reconcile evaluator state and loop caching while retaining both sets of regression tests.
2026-11-12 18:52:32 -05:00
chasse20 3432f14b53 Fix SBS resource resolution and shared graph rendering
Use the supplied attributed resources, replace legacy surface and font references on import, and keep resource credits outside SBS files.

Correct function evaluation state, FX-Map roughness and regions, primitive rendering, gradient handling, and scalar luminosity validation. Add regression coverage for resource import and shared rendering behavior.
2026-11-12 18:46:34 -05:00
PiJellyPin cf0a32dd1c Fixing node pairity
loading images to slow
2026-11-13 00:12:41 +01:00
chasse20 bd0284959e Import SBS library and checkpoint compatibility work
Add 548 native library packages and 11 original resource substitutes,
with rewritten descriptions/layouts, shared resource references and
bundled assets for desktop and browser builds. Retain supplied graph
implementations; presentation changes are not an independent rewrite.

Preserve baseline SBS formatVersion and refresh updaterVersion on saves.
Fix foreign resource bindings, native parameter/port mappings, scalar
channel functions, FX-Map roughness and bounded graph expansion.

Validation: release core/formats/nodes/eval/engine tests, converter
tests, strict Clippy on Rust 1.96, layering, WASM, formatting and diff
checks passed during this work. All 560 library files reproduce exactly.
Bricks cooks without errors; the full library audit still reports 308
warning entries and 10 standalone function compilation failures.

Work in progress: node-local Set scope, remaining native parameter
support, primitive numerical parity and external save/reopen validation.
The motionblur identifier needs reference-runtime investigation.

Refs #191
2026-11-11 02:09:41 -05:00
PiJellyPin b89c25a6a8 Fixing Export Options 2026-11-11 02:51:54 +01:00
chasse20 709cd7f86e Fix function instance inputs and cache refresh 2026-11-10 05:15:39 -05:00
chasse20 131c7b8853 Fix parameter defaults, sizing and tooltips 2026-11-10 04:54:21 -05:00
chasse20 85e0bf9247 Add parameter-owned function graphs 2026-11-10 04:07:54 -05:00
chasse20 bc2f20b365 Fix library review, graph annotations and processor sampling 2026-11-09 23:59:27 -05:00
PiJellyPin 7ec846cf27 Fixed Library UI 2026-11-10 02:51:07 +01:00
PiJellyPin 9290c2d906 Listing all nodes from custom functions.sbs
also fixed library ui with categories
2026-11-10 00:52:05 +01:00
chasse20 54ab0fc877 Remove package and import limits 2026-11-09 00:01:56 -05:00
chasse20 49e99948d9 Fix package round trips 2026-11-08 23:31:17 -05:00
chasse20 22cfbb5c39 Allow an empty Explorer after closing projects 2026-11-08 22:58:14 -05:00
chasse20 fc4cde095f Complete Explorer resources and SBS folder attributes 2026-11-08 22:45:22 -05:00
chasse20 cc052aeaa8 Support SBS resources and independent MCRAFT packages 2026-11-08 22:10:35 -05:00
chasse20 43d706f3d9 Merge main and align integration tests 2026-11-08 18:40:04 -05:00
chasse20 158e1c85e3 Fix graph editing and make undo configurable 2026-11-08 18:11:10 -05:00
chasse20 a0032d6ac2 Add SBS function library and Explorer graph editing 2026-11-08 17:25:08 -05:00
FredAppsandFredApps 8ba59822af ci: reduce repeated integration test compilation in platform gates (#163)
* ci: reduce integration test executables and skip unused tool install

* test: retain process isolation for language switching

---------

Co-authored-by: FredApps <FredApps@users.noreply.github.com>
2026-11-08 11:42:57 +01:00
chasse20 06c4881a58 Keep saved file paths canonical 2026-11-07 22:54:40 -05:00
chasse20 570bc528a6 Add linked graph instances 2026-11-07 18:23:51 -05:00
chasse20 8101e8da68 Refine graph outputs and Explorer 2026-11-07 17:00:36 -05:00
chasse20 b99ca7f361 Improve function editing and link swaps 2026-11-07 15:49:40 -05:00
Chris Hassebrook 0bfbbf1887 Merge pull request #127 from eliets2/feat/mc-port-99-reject-colliding-filenames-before-exporting-ma
Reject export filenames that already exist in the destination
2026-11-07 01:19:24 -05:00
Belligerently 3be36016d2 Let a parameter be exposed as a graph input on more than one node
The properties panel's "Expose as graph input" sent the bare parameter
id as the new input's id, so exposing Opacity on a second Blend node
failed with "an input is already called `opacity`". graph.exposed.add
now accepts a bound input without an id and names it after the
parameter, kept unique (opacity, opacity_1, ...), and the menu relies on
that. An explicit id must still be free.
2026-11-06 23:42:57 -05:00
eliets2 d01a28bb20 Reject export filenames that already exist in the destination
An export that collides with a file already in the destination currently overwrites it without warning, losing the existing file. Rejecting the collision before writing protects existing files and makes the failure explicit.

Check every target path in the destination directory before creating or writing any output, and return a file.export error naming the colliding filename if one already exists. Add a regression test that places a sentinel file at an output name, runs file.export with unique identifiers, and asserts the export fails and the sentinel is unchanged.

Test: export_rejects_existing_file_in_destination_before_writing failed before the change and passes after.
2026-11-06 17:51:19 +02:00
d560df3392 Restore modified flag when undoing to saved state (#112)
* Restore modified flag when undoing to saved state

Undoing every edit should return the session to its saved, unmodified state so the unsaved-work prompt is not shown spuriously.

Make undo and redo preserve the restored snapshot's modified flag while still marking the graph dirty for cooking, and add a regression test that edits from a clean session and undoes to assert modified is false.

Test: undo_to_unmodified_state_clears_modified_flag failed before the change and passes after.

* Tests: add a node that exists on main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 10:20:32 +01:00
chasse20 2adbdf4aab Merge main while preserving native graph architecture 2026-11-06 00:58:56 -05:00
chasse20 fe88ee5c4d Unify graph editors and optimize material workflows 2026-11-06 00:13:10 -05:00
chasse20 d318484b41 Checkpoint native SBS primitive workflow
Replace the legacy Rust procedural library with clean-room native primitives, typed function execution and FX-Map graphs. Save supported content as native SBS and organize the model, evaluators, codecs and editors into focused modules.

Add shared graph editing behavior, flat filtered node menus, frame and comment editing, named Explorer outputs and an original atomic sample. Document the tested scope and remaining interoperability work.
2026-11-05 18:23:06 -05:00
FredApps 56407b9470 Revert the batch rollback and restore prior main 2026-11-05 22:04:58 +01:00
Rafael Mendes a7b9194820 Revert reviewed PR batch and cancel 0.1.3 preparation
Restore tracked files to 91bb53f07a, immediately before the batch, at the maintainer request. Preserve the existing history and earlier work, including PR #38. Revert the 50 reviewed PR merges and the version bump in 441092c. The published 0.1.2 release is unchanged.
2026-11-05 17:48:14 -03:00
Rafael Mendes 6fc3c65a26 Reject case-insensitive export collisions before writing files 2026-11-05 16:01:19 -03:00
Rafael Mendes d4beea261e Merge remote-tracking branch 'origin/pr/99' into review/pr-99 2026-11-05 15:53:09 -03:00
Rafael Mendes 24601325ca Merge remote-tracking branch 'origin/pr/98' into review/pr-98 2026-11-05 15:53:09 -03:00
Rafael Mendes 288d534944 Merge remote-tracking branch 'origin/pr/97' into review/pr-97 2026-11-05 15:53:09 -03:00
Rafael Mendes 37a46b504d Merge remote-tracking branch 'origin/pr/96' into review/pr-96 2026-11-05 15:53:09 -03:00
Rafael Mendes 697a803017 Merge remote-tracking branch 'origin/pr/95' into review/pr-95 2026-11-05 15:53:09 -03:00
Rafael Mendes cc9a5b3c82 Keep bitmap color-space requests unambiguous and inspectable 2026-11-05 15:19:39 -03:00
Belligerently a3cbbd8e9a Reject colliding filenames before exporting maps 2026-11-05 13:05:36 -05:00
Belligerently 6ac573dab9 Clear parameter drivers when restoring defaults 2026-11-05 12:44:34 -05:00
Belligerently 868346ecae Preserve graph seed when grouping selected nodes 2026-11-05 12:37:55 -05:00
Rafael Mendes cd4c2dfa43 Merge reviewed preview changes and retain normal convention controls 2026-11-05 14:35:58 -03:00
Belligerently 5b3a081217 Use declared input order when deleting and relinking nodes 2026-11-05 12:24:12 -05:00