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>
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.
The guide still said a .fla saved by Flash CS4 or earlier can't be read.
Opening Animate files gets a "Flash 8 to CS4 files" section with what
comes across, that frame scripts are kept but not run, and what is not
read yet (filters, component settings, bitmap fills; dashed and dotted
strokes drawn solid), from the changelog and Honest status. The "save it
again in Animate" advice is kept for Flash MX 2004 and earlier, and the
FAQ's old-.fla entry says the same and links to the new section.
Also names the new 1 GB limit on image data in Animate's own format.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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.
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
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.
Floating paste, pictures from the system clipboard, refused merges and the
Fill/Stroke memory are recorded in ADR 0108. The command reference is
regenerated; clippy findings in the new tests are fixed.