Commit Graph
381 Commits
Author SHA1 Message Date
Tanish Manku a18c0aded1 Merge origin/main into fix/backlog-model-hardening (M8) 2026-11-21 13:44:04 -07:00
Tanish Manku 80508758dd fix(doc): on a guided shape tween every raw outline rides with the fill it edges (M5) 2026-11-21 13:43:52 -07:00
Tanish Manku a812c1c9e7 Merge pull request #238 from jayzed80: shape-tween strokes at junctions, dashed and profiled runs, and along a motion guide (M5) 2026-11-21 13:32:18 -07:00
Tanish Manku d9b8bcadd1 feat(engine): exports, info and the MCP render say when a frame's artwork was left out (M8) 2026-11-21 13:28:27 -07:00
Tanish Manku eae761cacb test(engine): keep #500's link test to the lines it adds (M8) 2026-11-21 13:10:59 -07:00
Tanish Manku b9abf659f4 Merge pull request #500 from FredApps: a test that linked SVG artwork survives export and re-import (M8) 2026-11-21 13:08:53 -07:00
Tanish Manku 0000ba2c4b fix(doc): Rgba::to_hex stays opaque; to_hex_alpha is the form that reads back (M8) 2026-11-21 13:08:39 -07:00
Tanish Manku ed39b458c4 test(engine): the command sweep is one test per starting document (M8) 2026-11-20 21:09:21 -07:00
Tanish Manku 4d42fa535f fix(engine): pictures still being drawn are not kept once forgotten (M8) 2026-11-20 21:09:20 -07:00
Tanish Manku 182722d677 fix(engine): a saved document is on the disk before it replaces the old one (M8) 2026-11-20 21:09:20 -07:00
Dylan M. Taylor 1762633919 test(render,engine): verify SVG and Lottie export parity (native + wasm) (#521)
* test(render,engine): audit SVG and Lottie export parity (native + wasm)

* fix(tests): fix Bitmap::from_rgba and std::path::Path shadowing

* fix(tests): generate linked SVG via to_svg instead of string replace

* fix(render): match craft_xml double-quoted attribute escaping for apostrophe

* fix(tests): satisfy clippy::field_reassign_with_default

* fix(tests): remove unused mut in svg_parity

* test(lottie): narrow tangent parity test name and cite #499 for rounding
2026-11-20 19:56:24 -05:00
Tanish Manku 093efdd169 fix(access): path.move_points edits a drawn path, not a file (M5)
Main's automation roots (ADR 0124) list every command whose parameters name a path; text on a
path made path.move_points mention one. It edits vector points, so it goes in NOT_FILES.
2026-11-20 16:18:07 -07:00
Tanish Manku 1a7394def6 test(text): hostile parameters on text paths, embeds and change events; regenerate the command reference (M5) 2026-11-20 15:07:51 -07:00
Tanish Manku de8688ba20 feat(export): embedded glyph outlines for dynamic text fields in the HTML page, with the fsType licence check (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku 472e3972ae feat(fields): the change event in actions.set and the Actions panel; end-to-end Test Movie test (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku 564e4ba387 feat(fields): htmlText, Event.CHANGE, change actions, maxChars and restrict in the script IR and the player (M5) 2026-11-20 15:07:30 -07:00
Tanish Manku 72fd12b4c2 feat(text): edit a text's path in place with the Subselection tool; lines on a path tested end to end (M5) 2026-11-20 15:07:30 -07:00
Tanish Manku bcbabf0938 feat(text): several lines on a path and editing a text's path with the point commands (M5) 2026-11-20 15:07:30 -07:00
Tanish Manku 6111e2d085 chore: merge main into fix/mcp-automation-roots 2026-11-20 14:58:23 -07:00
Tanish Manku 00679e8d36 fix(engine): links after a missing folder are followed, ffmpeg gets the checked path, plug-in folder links and the soundtrack's staging file are covered (M8) 2026-11-20 07:12:59 -07:00
Tanish Manku ba4ba1c2fd fix(engine): paths on another computer and device paths are refused by their spelling under automation roots; the CLI takes --flag=value (M8) 2026-11-20 06:35:49 -07:00
Tanish Manku d170ed6838 feat(engine): automation roots: commands under a policy touch files inside its read and write roots only (M8) 2026-11-20 06:14:44 -07:00
Tanish Manku cdef1932d4 fix(stage): a moved raw selection merges when it is deselected, not when the drag ends (M8)
A fill or stroke dragged onto another cut it the moment the mouse was let go,
while still selected. In Animate it cuts nothing until the selection lets go of
it, so it can be moved on, or back. The editor now floats a moved selection
(draw.float: whole, on top, as a paste already was) and the drawing takes it in
when it is deselected; undo takes back the move and the cut together. draw.drop
stays for scripts. ADR 0122 amends ADR 0031.

Also regenerates the guide's command and shortcut reference (draw.float,
Ctrl+J for Document Settings, all_layers on Remove Frame and Clear Keyframe).

Fixes #487
2026-11-20 06:03:18 -07:00
Tanish Manku 21dcd99736 fix(doc): a motion guide made of several strokes is followed to its end (M8)
A guide drawn as a zigzag with the Line tool is one raw stroke per straight run
(merge drawing cuts lines at their corners), and only the first shape's first
line was the path: the guided object ran along one run and stopped at the first
sharp peak or valley. The guide is now its first line continued through every
line on the layer that meets it end to end (within 0.75 px; at most 512 lines),
in either direction, so speed is even along the whole path and orient to path
turns at each corner.

Fixes #490
2026-11-20 06:03:18 -07:00
Tanish Manku 624745de41 fix(timeline): Shift+F5 and Shift+F6 with no frame selection act on every layer (M8)
F5 with no frame selection extends every layer at the playhead, but Shift+F5 took
the frame off the active layer only, and Shift+F6 cleared only its keyframe.
timeline.remove_frame and timeline.clear_keyframe take all_layers, which the
editor sends when no frames are selected; the playhead steps back when its frame
is removed, so the key can be held. The question before artwork is lost counts
every layer the key acts on.

Fixes #438
2026-11-20 06:03:18 -07:00
Tanish Manku 541d2b170b fix(app): Modify > Document Settings opens a dialog (M8)
The menu item ran doc.set_stage with nothing to set, so nothing happened. It now
opens Document Settings (stage size, frame rate, stage colour; OK is one undo
step, Cancel changes nothing), with Animate's Ctrl+J. Headless, the command takes
the values as before.

Fixes #505
2026-11-20 06:03:18 -07:00
Tanish Manku 449df1dde2 fix(engine): the command registry no longer leaks its text params docs on every call (M8)
The menu bar rebuilds the registry each frame, and cmds_text::specs leaked four
formatted strings per call: about 1.5 kB a frame while the window repaints
(playback, a blinking caret, an animation), which is 2.6 GB over a night.

Measured (release, Windows): looping playback grew 220.7 -> 246.5 MB working set
in 5 minutes; a headless run of App::frame kept +1,522 B per frame. The docs are
now built once. A window that draws nothing was already flat (341 MB over 3 min).

Fixes #454
2026-11-20 06:03:18 -07:00
Tanish Manku 51a6cbdf8b feat(export): Export SVG Sequence, one SVG file per frame (#504) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku 13cab907eb test(engine): an imported bitmap turns about the centre of its box (#466) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku 669080676e Merge remote-tracking branch 'origin/main' into HEAD 2026-11-20 02:43:49 -07:00
Tanish Manku f73d319f14 chore: merge main into fix/outside-batch-core-2 2026-11-20 02:12:49 -07:00
Tanish Manku 531699f46b fix(video): retry starting ffmpeg while its file is briefly busy (M5)
On Linux, starting a program that was written a moment ago fails with ETXTBSY while another
process that forked meanwhile still holds it open for writing. The stand-in ffmpeg test hit it
on the Linux gate. Starting ffmpeg now retries that error for up to half a second.
2026-11-20 02:04:28 -07:00
Tanish Manku cdce1f52f4 chore: merge main (data tables, video import) into the second outside features batch (M8) 2026-11-20 01:15:42 -07:00
Tanish Manku 577054a3be Merge origin/main (video import, data tables) into the outside batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-19 19:13:22 -07:00
FredApps 50cfd2f321 test: initialize SVG roundtrip document without reassignment 2026-11-20 02:27:30 +01:00
FredApps 0cdf704bdf style: format SVG acceptance test source 2026-11-20 02:15:03 +01:00
FredApps 2cd16209af test(engine): verify SVG link export and rendered reimport parity 2026-11-20 02:07:43 +01:00
Tanish Manku 9ea84dad3a chore: merge main (video import) into data tables (M6)
Bindings apply after the reference video is placed, where main now unwraps the layer's shown
elements; command lists keep both sides' entries.
2026-11-19 15:32:59 -07:00
Tanish Manku 5a777bac61 fix(trace): bound the areas a trace grows, with numbers, credits and docs for the outside batch (M8)
Follow-up to outside PRs #489, #404 and #486. Trace Bitmap counts areas of colour while it grows them and stops at 2,000,000 with one sentence: a 4096 x 4096 image of noise at threshold 1 made 16.7 million regions, each with an adjacency map (gigabytes). Measured in release: photo-like 1024 px 50 ms, 2048 px 225 ms, 4096 px 0.85 s; noise 2048 px at the defaults 1.9 s. Adds --open tracebitmap for screenshots, the ATTRIBUTION row for the tracer, AUTHORS, CHANGELOG credits, the roadmap's honest status and the guide's limits.
2026-11-19 15:08:43 -07:00
Tanish Manku 263e7aa32c Merge outside PR #136: Write safe values for non-finite numbers when saving .anicraft files (M8)
# Conflicts:
#	crates/engine/src/format.rs
2026-11-19 15:03:42 -07:00
Tanish Manku 5f947b0008 test(engine): bend the middle of an eight-node oval's arc (M8)
#472 gives an oval a node every 45 degrees, so the point #465's test
dragged (the old south-east arc's middle) became an anchor. Drag the
middle of the first arc, at 22.5 degrees, instead.
2026-11-19 15:02:14 -07:00
Tanish Manku 66fb6040d7 Merge outside PR #14: fix(doc): enforce the frame limit on loaded documents (M8)
# Conflicts:
#	crates/doc/src/lib.rs
2026-11-19 14:43:36 -07:00
Tanish Manku adc234ba16 Merge outside PR #465: Keep smooth anchors smooth when bending a segment (M8) 2026-11-19 14:41:43 -07:00
Tanish Manku e73d63171f Merge outside PR #472: Draw default ovals with eight nodes instead of four (M8) 2026-11-19 14:41:42 -07:00
Tanish Manku f445e6c264 Merge outside PR #494: fix(engine): report oversized indices without overflow (M8) 2026-11-19 14:41:29 -07:00
Tanish Manku e0e92068e1 Merge outside PR #495: fix(engine): import UTF-8 BOM preset files (M8) 2026-11-19 14:41:28 -07:00
Tanish Manku 362a276d4c Merge outside PR #489: Trace Bitmap and Convert to Bitmap (M8) 2026-11-19 14:40:08 -07:00
Tanish Manku f80e11f75d Merge remote-tracking branch 'origin/main' into HEAD 2026-11-19 14:26:54 -07:00
Dylan M. Taylor b953748e3a render: share SVG and Lottie writing and native envelope (#492)
* render: share SVG and Lottie writing and native envelope

* engine: bump craft-anicraft-format for write_version and fix lottie call

* test(lottie): accept array o/i easing tangents from craft-lottie
2026-11-19 16:25:09 -05:00
Mex 0f14bcc0c4 fix(filters): accept UTF-8 BOM preset files (M8)
Follow the existing leading-BOM convention at the JSON boundary and extend the exported filter-preset round trip.
2026-11-19 22:20:56 +01:00