From 23931d0343033b0d14953653672e3d0c6067fb1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20B=C3=A1lint=20Hunor?= Date: Mon, 16 Nov 2026 22:21:21 +0200 Subject: [PATCH] docs: label the current Rust generation as AniMathIO 2 --- docs/architecture.md | 47 ++++++++++++++++++++++++++--- docs/cli.md | 9 ++++-- docs/editor.md | 2 +- docs/getting-started.md | 10 +++---- docs/install.md | 6 ++-- docs/keyboard-shortcuts.md | 2 +- docs/mcp.md | 60 +++++++++++++++++++++++++++++++++----- docs/plugins.md | 10 ++++--- docusaurus.config.ts | 10 +++---- scripts/sync-v2-docs.mjs | 9 +++--- sidebars.ts | 2 +- src/pages/index.tsx | 2 +- 12 files changed, 129 insertions(+), 40 deletions(-) diff --git a/docs/architecture.md b/docs/architecture.md index 3b032a9..96f8a21 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -9,7 +9,7 @@ description: "Crate map, layering, the time model and the data flow." # Architecture -This document describes the 2.0 crate map, the layering rules, the time model and +This document describes the AniMathIO 2 crate map, the layering rules, the time model and the render/audio/export data flow. The authority for these rules is [issue #156](https://github.com/AniMathIO/AniMathIO/issues/156). @@ -102,7 +102,10 @@ under `editor/`: `menus`, `workspace`, `viewer`, `transport`, `timeline_view`, `fields`, `audio_effects` (inspector audio-effect cards), `animations` (the inspector Animations section and the Effects-tab preset library), `video_effects` (inspector video-effect cards), `inspector_view`, `media_pool`, `math` (Math tab, typed object dialog and inspector), `titles` (Titles tab), `dialogs`, `export_panel` (export queue popover), `start_screen`, `templates`, `clip_ops`, `commands`, `project_io`, -`control_bridge`, `playback_glue`, `timeline_thumbnails` and `actions`. Shared drawing/resource helpers live in +`control_bridge`, `playback_glue`, `timeline_thumbnails`, `actions` and `update_check` +(at most one GitHub releases lookup per 24 h, a dismissable newer-release notice, +opt-out in Preferences or with `ANIMATHIO_NO_UPDATE_CHECK=1`, silent on failure). +Shared drawing/resource helpers live in `support`; `color_edit` owns the live-preview transaction (colour pickers, sliders, number scrubbing and the viewer's transform gizmo all preview through it, so one gesture is one history entry). The gizmo maths in `viewer` shares the renderer's @@ -180,9 +183,18 @@ once in `History`. Other commands and control calls finish a pending drag first, so a colour change undoes in one step without swallowing adjacent edits. Asset parameter selectors display names but commit asset identities (or `null` for None). +The undo stack is depth-capped (`History::with_limit`, default 500 entries); +the oldest entries are dropped. This bounds entry count, not bytes; dirty +state is tracked independently of whether undo is available. + +Plain-JSON saves validate referenced asset bytes, atomically replace each +content-addressed sidecar, then publish the manifest. Failed sidecar writes +preserve the old manifest; already written unused assets may remain. Unix saves +also try to sync the containing directory after replacement (best effort). + ## Time model (integer ticks) -AniMathIO 2.0 uses **integer ticks** at a fixed rate, with **rational frame rates** +AniMathIO 2 uses **integer ticks** at a fixed rate, with **rational frame rates** on top. The rate is 705,600,000 ticks per second — the *flicks* constant, chosen so frame and audio-sample boundaries are always exact: @@ -212,7 +224,7 @@ boundary. Each rule exists because of a specific v1 failure, and each is enforced by a test. -| v1 failure | 2.0 rule | Enforced by | +| v1 failure | AniMathIO 2 rule | Enforced by | | --- | --- | --- | | Live Konva nodes, `