292 Commits
Author SHA1 Message Date
Tanish Manku 95feb87d49 chore: merge main (parity batch, core batch 3) into legacy .fla import (M4)
Open reports the import's fields from either importer; the imported path now comes with the
session's info, as main does. Both web tests kept.
2026-11-24 21:50:16 -07:00
Tanish Manku 982ee59bda chore: merge main (parity batch, egui 0.37) into the third outside core batch (M8)
The swatch drop test reads its swatches with Id::unique, as egui 0.37 names ids.
2026-11-24 21:08:21 -07:00
Tanish Manku 150264ea5f chore: merge main into the outside parity batch (M8)
# Conflicts:
#	CHANGELOG.md
#	src/app.rs
#	src/stage.rs
2026-11-24 19:27:51 -07:00
Tanish Manku 43bf7cdb80 chore: merge main into feat/legacy-fla-review (M4) 2026-11-24 19:23:38 -07:00
Tanish Manku 05b44a2dcf chore: merge main into the second batch of small outside fixes (M8)
# Conflicts:
#	CHANGELOG.md
#	crates/cli/src/lib.rs
2026-11-24 19:23:33 -07:00
Tanish Manku eb4ec89181 chore: merge main into fix/backlog-animate-files 2026-11-24 16:26:55 -07:00
Tanish Manku d52b0f30bb chore: merge main (timeline and panel fixes) into the outside parity batch (M8)
# Conflicts:
#	CHANGELOG.md
#	src/timeline.rs
2026-11-24 15:58:40 -07:00
Tanish Manku 37017e023a docs: ADR 0134, changelog, credits and final roadmap states for the outside parity batch; room for the Align panel's new row (M8) 2026-11-24 15:49:56 -07:00
Tanish Manku 99db705a2e chore: merge main into fix/backlog-memory-frames 2026-11-24 15:49:05 -07:00
Tanish Manku 82be6b6228 docs: P-039 in the changelog, roadmap, parity matrix, credits and ADR 0120's integration review (M4) 2026-11-24 15:36:52 -07:00
Tanish Manku 4fab451e88 docs(roadmap): the batch's pull requests as merged, with what changed on top (M8) 2026-11-24 15:27:04 -07:00
Tanish Manku 478e7e6976 Merge outside PR #578: feat(engine): Match Size and Space Evenly in Align (#566)
# Conflicts:
#	ATTRIBUTION.md
#	crates/engine/src/tests.rs
#	docs/guide/reference/commands.md
#	src/icons.rs
2026-11-24 15:14:54 -07:00
Tanish Manku 4130fc55b1 Merge outside PR #579: feat(engine): Distribute to Layers (Ctrl+Shift+D) (#517) 2026-11-24 15:14:30 -07:00
Tanish Manku c2e52cd5f5 docs(roadmap): slot nineteen outside pull requests before the parity batch (M8) 2026-11-24 15:13:39 -07:00
Tanish Manku fc04e76cfc docs(roadmap): slot the open outside pull requests of the second small-fix batch (M8) 2026-11-24 15:13:28 -07:00
Tanish Manku b49652a32e Merge pull request #478 from rcoenen/feat/legacy-fla-import: open Flash 8 to CS4 binary .fla files (M4) 2026-11-24 15:10:40 -07:00
Tanish Manku 4e06254b3a chore: merge main into fix/backlog-animate-files 2026-11-24 15:08:01 -07:00
Tanish Manku 324093bf96 chore: merge main into fix/backlog-memory-frames 2026-11-24 14:55:21 -07:00
Tanish Manku d8a2e32203 chore: merge main into fix/backlog-timeline-panels 2026-11-24 14:42:22 -07:00
Rob CoenenandClaude Opus 5.5 37df736299 chore: merge main into feat/legacy-fla-import
Resolves the Cargo.toml conflict by keeping both new workspace
dependencies: craft-cfb (this branch) and craft-text (main).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:23:29 +01:00
Tanish Manku 9ade013d63 docs: ADR 0133, the import report's new lines, P-006 in the roadmap and parity (M4) 2026-11-23 18:58:20 -07:00
Tanish Manku 1e68e3ec1a chore: merge main (hardening, stage tools, reliability) into text direction and fallback faces (M5) 2026-11-23 18:39:34 -07:00
Tanish Manku df6b6e67af docs(performance): memory and frame time before and after, and what is left of P-004 (M8) 2026-11-23 18:29:29 -07:00
Tanish Manku d5d9a1a4fb fix(stage): a zoom gesture draws once it rests, and tiles of states and zooms no longer shown go (M8)
The stage tells the render service which picture set is on screen, drops the
textures of other sets when the view is whole, asks for nothing while the zoom
is changing, and in the browser draws for at most 8 ms of a frame while moving
around. ADR 0132, changelog, roadmap. #314, #477, P-004.
2026-11-23 18:29:25 -07:00
Tanish Manku 58c116e7fb chore: merge main into fix/backlog-stage-tools 2026-11-23 17:56:13 -07:00
Tanish Manku 0b9cb79ec9 docs: P-009 and P-010 in the changelog, roadmap, parity matrix and credits (M8) 2026-11-23 17:14:35 -07:00
Tanish Manku 0a0885fa57 chore: merge main into fix/backlog-model-hardening 2026-11-23 13:16:48 -07:00
Tanish Manku 912d524c6e feat(text): carets move the way the arrows point through mixed directions, and the commands say which font lent letters (M5)
In a field while a movie plays, Left and Right move the caret by where text is displayed,
crossing lines by the paragraph's direction, and a selection across a change of direction is
highlighted in its separate stretches. text.create and text.edit return a note naming the
families letters were borrowed from and how many characters no installed font has; the stage
shows it in the status bar. craft-text is pinned to the craft-libs commit the app already
uses. ADR 0130, the guide, the roadmap and the parity matrix say what is done and what is
left; outside PRs #39 and #40 are credited.
2026-11-23 13:11:02 -07:00
Ayberk A.andClaude Opus 5.5 465e30c7dd feat(engine): Distribute to Layers (Ctrl+Shift+D) (#517)
modify.distribute_to_layers puts each selected object (symbol instance,
group, drawing object, text, bitmap) at the playhead on a new layer of its
own, just above its layer and in the same folder or mask, named after its
symbol, stacked as the objects were and holding it for the frames its
keyframe covered. With Break Apart first, a symbol's contents spread over
layers. Raw shapes stay; a tweened keyframe is refused with a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:34:10 +03:00
Ayberk A.andClaude Opus 5.5 352b4c3f67 feat(engine): Match Size and Space Evenly in Align (#566)
Five Align commands: align.match_width, align.match_height and
align.match_size make each selected object (a raw drawing as one) the
largest one's width and/or height, or the stage's with to_stage, scaled
about its own top-left corner; align.space_h and align.space_v make the
gaps between three or more objects equal, the outer two unmoved. The
Align panel has buttons for them (five original icons on Lucide's grid),
the stage's Align menu lists them, and Edit Multiple Frames leaves them
off as it does Distribute.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:08:33 +03:00
Rob CoenenandClaude Opus 5.5 10117b1c54 refactor(fla): read the container through craft-cfb; ADR 0096 becomes 0120
At review, the compound binary container moves to the shared craft-cfb reader
from craft-libs (rev b67b9f9, the one craft-xfl and craft-xml already use).
crates/fla's own MS-CFB reader is removed. The `cfb` module keeps only the
importer's policy: the ADR 0054 caps (1 GiB per file, 256 MiB per stream),
stream lookup by full path, and one-sentence errors. Chain walks, cycle
guards and directory bounds are craft-cfb's.

Container errors that named one structural fault each (bad header,
truncated, looping chain or tree) are now `Damaged`, carrying craft-cfb's
reason. craft-cfb is more tolerant in two places, and the tests now pin it:
- a FAT count the file could hold but its DIFAT doesn't list opens;
- a root that overstates its mini stream opens, read to the file's end at
  most.
In both cases nothing past the file is reserved. The test of the removed
reader's internal chain budget (`the_directory_reads_no_further_than_the_most_entries`)
is dropped with the code it tested.

Checked against the nine EDAP legacy files: the same streams, sizes and
record tags in `fla-dump`, the same `info`, and byte-identical frame
renders with the old and the new reader.

The ADR is renumbered to 0120, reserved for this PR (0096 is the guide
search ADR on main). Its references move with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:39:24 +01:00
Tanish Manku 0454782d3c docs: ADR 0129, the long-stroke numbers, and P-003 and P-005 in the roadmap and parity matrix (M8) 2026-11-21 14:11:49 -07:00
Tanish Manku d6bb4dfd60 docs(adr): ADR 0128, the work allowance and frames that say what they left out; roadmap, parity, changelog and credits for P-002, P-011 and P-012 (M8) 2026-11-21 13:51:26 -07:00
Tanish Manku 740cf824c6 docs: the reliability pass in the changelog and roadmap (M8) 2026-11-21 13:06:46 -07:00
Rob CoenenandClaude Opus 5.5 1af2631044 docs: changelog and honest status for Flash 8–CS4 .fla import
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:32:43 +01:00
Rob CoenenandClaude Opus 5.5 83707ef757 feat(fla): legacy texts, bitmaps, sounds, buttons, scripts and library folders
Wires the CPicText decoder and the anicraft-flamedia payload decoder into
the legacy importer. Contents' CMediaBits/CMediaSound items become library
bitmaps and sounds; CPicBitmap instances are placed as the XFL importer
places them; frame sound blocks carry sound, sync, loops and envelope.
CPicButton settings give instance names; handler scripts are reported and
frame scripts kept verbatim as ActionScript source, never run. Label kinds,
shape hints (CMorphHintItem) and library folders come across too. Filters,
component settings, bitmap fills and dashed strokes stay skipped and
counted.

Verified against the Animate twins on every corpus pair: 335/335 texts on
keyframes, 9/9 bitmap instances and items, 5/5 frame sounds, 4/4 sound
items, 4457/4457 instance symbols and names, 328/328 symbol types and
library paths, 39/39 folders. kinefox frame 1 and movietemplate frames 1,
120 and 500 render byte-identical to the twin's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:32:26 +01:00
Rob CoenenandClaude Opus 5.5 ffa8650721 feat(xfl): decode Animate's own bitmap and sound .dat payloads
Animate often keeps a library image or sound only as its own data file
(bin/*.dat in zip/XFL packages; the same bytes are the Media <n> /
M <n> <stamp> streams of legacy Flash 8-CS4 .fla files). These were
reported as "stored in Animate's own format" and left out.

New L0 crate anicraft-flamedia (miniz_oxide and craft-audio, both
already in the tree) decodes them, with bounded memory and no panics:

* bitmaps: 26-byte header (kind 03, format 05 = A,R,G,B, row bytes,
  width, height, frame in twips, has-alpha, compressed), then u16-length
  chunks ending in u16 0 that join into one zlib stream inflating to
  exactly row bytes x height; premultiplied ARGB becomes straight RGBA8.
  Other pixel formats, uncompressed and JPEG-backed variants are
  refused with a clear reason, not guessed at. Edges capped at 8192,
  inflate capped at the size the header promises.
* sounds: raw s16le PCM, interleaved; rate and channels from the XFL
  item's format ("44kHz 16bit Stereo") or the legacy CMediaSound format
  byte; checked against sampleCount and wrapped losslessly as WAV.

The XFL importer now brings these bitmaps and sounds in (raw PCM only
when the data is exactly sampleCount frames long, so an MP3 kept as it
came, or a payload without a sampleCount, is not misread as PCM).
Unobserved variants are named in the report with why.

Tests: synthetic payloads built from the grammar (every truncation,
every damaged byte, oversize and zlib-bomb refusal, premultiplied
conversion, chunking, padded rows, format parsing, WAV wrapping), an
import test, and an env-gated differential test against the corpus
twins (ANICRAFT_FLA_CORPUS): every twin's 88x31 badge decodes to the
same pixels, and the movie template's four sounds come across with
their 12376/7072/901680/21216 frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:32:11 +01:00
Tanish Manku 6156d33820 docs(roadmap): a flaky shell test joins the reliability tier (M8) 2026-11-20 19:57:11 -07:00
Tanish Manku 0196463f0e docs(roadmap): a prioritised backlog with a slot for every outside pull request (M8) 2026-11-20 19:42:09 -07: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 019a1b1e5a docs: ADR 0107, the guide's text chapter, roadmap and changelog; screenshot states for path editing, htmlText and embedding (M5) 2026-11-20 15:07:51 -07:00
Tanish Manku 6111e2d085 chore: merge main into fix/mcp-automation-roots 2026-11-20 14:58:23 -07:00
Tanish Manku d6f3933700 docs: automation roots in the MCP notes, the guide, the control protocol, the changelog and ADR 0124 (M8) 2026-11-20 06:28:52 -07:00
Tanish Manku 8fb6f92203 docs: changelog and roadmap for the second issue batch; font names marked exempt (M8) 2026-11-20 06:03:26 -07:00
Tanish Manku 129145f1ed docs: the second batch of artists' requests in the changelog, the guide and the roadmap (M8) 2026-11-20 04:12:15 -07:00
Tanish Manku f73d319f14 chore: merge main into fix/outside-batch-core-2 2026-11-20 02:12:49 -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
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