* Keep typed graph name and attribute text across frames
Typing a graph name or attribute currently loses the text between frames, so the edit never reaches the engine command on focus loss. Persisting the draft across frames, as the slider and preset name already do, makes the edit commit correctly.
Store the in-progress graph name and attribute text in temporary UI data while editing, like presets_bar does, and commit the stored text on lost_focus. Add a harness test that types a new graph name across several frames, moves focus away, and asserts the renamed graph.
Test: graph_name_typed_across_frames_commits_on_focus_loss failed before the change and passes after.
* Graph properties: a draft field's id salt is a string
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>
* 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>
Users switching to 4K previews saw stale low-resolution textures in the 2D view.
Include image dimensions in the texture cache key so a size change reloads the texture at the new resolution.
Test: four_k_preview_refreshes_texture_after_size_change failed before the change and passes after.
Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Clients cannot tell a refused non-UTF8 request from a dropped connection, unlike malformed JSON which gets an explicit error reply.
Make the TCP control servers reply with an error for non-UTF8 lines, closing before auth and continuing after auth like bad JSON.
Test: non_utf8_line_before_auth_gets_refusal_reply failed before the change and passes after.
Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
A hostile file or binding could supply an out-of-range enum or degenerate-range numeric value that reaches a cook unclamped, breaking the hard-limits guarantee for node parameters.
Make clamp_params bound enum values even with no options and bound numeric values even when min is not below max, using the same hard-span limits as other parameters.
Test: clamp_params_bounds_enum_without_options failed before the change and passes after.
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>
A glTF file with NaN or infinite normals currently loads as a mesh with zero normals instead of being rejected like non-finite positions, UVs and OBJ normals.
Check raw glTF normals for finiteness before transforming them and return an error for non-finite values, matching the existing finish() checks.
Test: gltf_non_finite_normals_are_rejected failed before the change and passes after.
Co-authored-by: eliets2 <287273517+eliets2@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
* Hash bound input-image resources into graph instance cache keys
A graph instance can show a stale preview image after its bound bitmap resource is replaced, because the instance cache key never changes. Hashing those resources makes the instance re-cook when the bitmap changes.
Include the content hashes of resources referenced by graph.input_images (and their linear flags) in graph_tree_hash, and add a regression test that cooks an instance, replaces the bound resource bytes, and asserts the new image is cooked instead of the cached one.
Test: bound_input_image_resource_change_recooks_instance failed before the change and passes after.
* Address review for pull request 110
---------
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>
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.
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.