Commit Graph
866 Commits
Author SHA1 Message Date
Tanish Manku 040e18d230 fix(shell): the Frame Picker's controls fit the narrowest dock; layer.set_properties answers one layer as before (M7) 2026-11-28 18:36:29 -07:00
Tanish Manku 8e85ebc364 feat(render): layer and keyframe effects in the HTML export, checked against the evaluator (M7) 2026-11-28 16:15:38 -07:00
Tanish Manku db56d0485a feat(engine): layer and frame effects commands, filter commands on a layer's list, Layer Properties for several layers, a keyframe option on element.set_loop and a paged list of a symbol's frames (M7) 2026-11-28 16:13:31 -07:00
Tanish Manku 89a42b356c feat(doc): effects on a layer and on a keyframe, evaluated as the layer's group (M7) 2026-11-28 16:04:33 -07:00
Tanish Manku 580e638469 chore: merge main (hairline, web build, outside features batch 3) into issues batch 3 (M8)
The parity summary is recounted from its rows (several areas were stale on main); the guide
now lists the Lasso as present; the roadmap keeps both sides' rows and drops P-013, done.
2026-11-28 15:20:18 -07:00
Tanish Manku 72b9f09c1c chore: merge main into fix/outside-batch-features-3 2026-11-28 14:42:10 -07:00
Tanish Manku df8d219731 feat(timeline): keyframe stepping says when it stays, with tests, the guide and parity; eases and the fixture recorded (M8) 2026-11-28 04:24:01 -07:00
DadStay d002a68a68 feat(timeline): Previous Keyframe and Next Keyframe (M8)
Taken by hand from outside PR #619 (one commit of 16,000 lines that no longer
applies to main): the two commands and their function, unchanged.
2026-11-28 04:08:57 -07:00
Tanish Manku 574c3b8161 test(xfl): the two corpus goldens with an eased tween drawn in Flash's direction (M8) 2026-11-28 04:07:40 -07:00
Tanish Manku 99aae2848b test(fla): the real Flash 8 file's eased tweens start as Flash drew them (M8) 2026-11-28 04:05:51 -07:00
Tanish Manku ec7b5ab526 Merge outside PR #663: fix(import): eased tweens from Animate files ease the way Flash draws them
# Conflicts:
#	CHANGELOG.md
2026-11-28 04:03:48 -07:00
Tanish Manku 9b54264b78 Merge outside PR #661: test(fla): a genuine Flash 8 file as a committed fixture 2026-11-28 04:03:38 -07:00
Tanish Manku 03205fd648 Merge remote-tracking branch 'origin/main' into fix/issues-batch-3
# Conflicts:
#	CHANGELOG.md
2026-11-28 04:03:33 -07:00
Tanish Manku b8c8352fde Merge remote-tracking branch 'origin/main' into HEAD 2026-11-28 00:51:52 -07:00
Tanish Manku 82e1c89215 fix(engine): a History click with an edit still open is not an error (M8)
travel_to closed the open gesture inside its first redo, which dropped the steps
it was about to redo, so it failed with "nothing to redo" after checking there
was one; the History panel showed that untranslated. Found by the pseudo-locale
sweep on macOS once this batch's controls changed which ones it reaches.
2026-11-28 00:43:46 -07:00
FredApps 30196dc151 Merge pull request #665 from storytold/rfc-0018-anicraft-cli
refactor(cli): anicraft-cli follows RFC-0018
2026-11-28 07:52:43 +01:00
Tanish Manku 865a7a7100 test(xfl): the filters golden without the stage showing through a shared edge (ADR 0138) (M1) 2026-11-27 23:49:25 -07:00
Tanish Manku f25ee66308 perf(render): joined fills cost what unjoined ones do: whole pixels drawn at once, run buffers kept per thread (M1) 2026-11-27 23:49:25 -07:00
Tanish Manku f2abf5c19d fix(gpu): filtered layers still draw on the GPU in the browser, where submissions can't be waited for (M8) 2026-11-27 23:49:24 -07:00
Tanish Manku 87224f3b90 feat(selection): a preference for whether the marquee takes objects it only touches (M1) 2026-11-27 23:49:24 -07:00
Tanish Manku dfcc11abb7 fix(render): fills of one merged drawing join without a seam (#182) (M1) 2026-11-27 23:49:24 -07:00
FredApps 1b1d7cd4c1 Merge pull request #664 from Untoldent/fix/filtered-gpu-scratch-accounting
fix(gpu): account for in-flight filtered scratch memory
2026-11-28 07:26:33 +01:00
Tanish Manku baba8fa92c fix(engine): review fixes on the merged outside PRs (M8)
camera.set's held-frame note can't overflow and is in the command's text (#674);
library.new_symbol answers {symbol} like its siblings (#668); Optimize leaves an
outline far past the fitter's limit alone, and Straighten keeps a thin closed
fill instead of flattening it to nothing (#623).
2026-11-27 23:03:26 -07:00
Tanish Manku 584d0f9115 fix(engine): paint.set_fill keeps each fill's own kind, and element.set_fill takes an alpha alone (M8)
On top of outside PRs #634 and #650. With no type, paint.set_fill forced the
swatch's kind on the selection, so a stop added to a selected gradient under a
solid swatch made the shape solid (#626); the picker now also names the whole
gradient, so the swatch follows it. element.set_fill {alpha} changes only the
opacity of solid fills (#645).
2026-11-27 23:03:26 -07:00
Tanish Manku 31bc75f4f8 Merge outside PR #618 into the third issue batch (M8) 2026-11-27 18:30:46 -07:00
Tanish Manku 9a1c95ca5d Merge outside PR #624 into the third issue batch (M8) 2026-11-27 18:30:42 -07:00
Tanish Manku 9967f6b36a Merge outside PR #623 into the third issue batch (M8) 2026-11-27 18:30:40 -07:00
Tanish Manku 3b89a06f3d Merge outside PR #622 into the third issue batch (M8) 2026-11-27 18:30:39 -07:00
Tanish Manku cea8f7b493 Merge outside PR #621 into the third issue batch (M8) 2026-11-27 18:30:35 -07:00
Tanish Manku fb65413e95 Merge outside PR #674 into the third issue batch (M8) 2026-11-27 18:26:57 -07:00
Tanish Manku c6028ef295 Merge outside PR #668 into the third issue batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-27 18:26:57 -07:00
yusufmntmandClaude Opus 5.5 caa9372f9c fix(geom): Smooth's collapse guard measures covered area
Signed area let opposite-winding lobes cancel, so a visible path was rejected as collapsed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 00:25:56 +03:00
Will JacksonandClaude Opus 5.5 c2d04d2fe0 fix(engine): camera.set on a held frame says which keyframe it edited
camera.set edits the keyframe that holds the requested frame when the frame
has no keyframe of its own (as editing a held frame on the stage does), but
reported plain success. It now adds `keyframe` (the edited keyframe's start)
and a `note` on how to key the requested frame instead.

Fixes #673.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:52:25 -05:00
FredApps d8c95f203d fix(engine): a batch taken just before forget_pictures is always thrown away (M8)
forget_pictures cleared the queue and the cache under two separate locks, and the worker read the cache's clear count only after it had taken a batch from the queue. A batch taken before the queue was cleared could therefore read the count after the cache was cleared, and its pictures of the forgotten document were kept. The cache is now cleared while the queue is held, and the worker reads the count while it still holds the queue, so a batch taken before a clear always sees the older count.
2026-11-27 09:55:38 +01:00
Untoldent d49db99bda test(gpu): exercise queued uploads on recording failure 2026-11-26 22:13:06 -05:00
yusufmntmandClaude Opus 5.5 dc623ef74d feat(library): Insert > New Symbol creates an empty symbol (#655)
A new library.new_symbol command (Ctrl+F8, Insert > New Symbol...) adds
an empty graphic, movie clip or button symbol to the Library, optionally
in a folder, and opens it for editing, as one undo step. A small Create
New Symbol dialog asks for the name, type and folder; the Library panel
gains a New Symbol button and context-menu entry. Parity P-021 is done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 03:02:52 +03:00
FredApps 3bdd2dbef7 test(cli): the non-Unicode path test skips macOS, whose file system refuses such names 2026-11-26 23:56:31 +01:00
FredApps 7a1a75b894 refactor(cli): anicraft-cli follows RFC-0018 (clap, typed errors, run(args, out, err), exit codes 0/1/2) 2026-11-26 23:25:02 +01:00
Untoldent 425ae69e2c fix(gpu): account for queued uploads on recording failure 2026-11-26 16:02:48 -05:00
Untoldent 79928dc649 fix(gpu): account for in-flight filtered scratch memory 2026-11-26 14:19:37 -05:00
Rob CoenenandClaude Opus 5.5 5de7ebd46e fix(import): eased tweens from Animate files ease the way Flash draws them
A classic tween's `acceleration` in an XFL or legacy .fla file runs the
other way from AniCraft's Classic Ease strength: Flash 8's own exported
frames of a tween at +100 start slowly and speed up, and at -100 start
quickly and slow down. Both importers passed the value through
unchanged, so every eased tween played back the wrong way round
(reported on #163 for the XFL and the legacy file).

Both importers now convert through Easing::from_flash_acceleration,
which flips the sign. Classic Ease itself, and documents made in
AniCraft, are unchanged. The tests that pinned the old sign are
updated, and a new one pins the direction.

Checked against goodtestingtube's Flash 8 test file and its PNG export
from Flash 8: the ball's eased frames were up to about 45 px off and
now match within 1 px on all 24 frames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 19:06:09 +01:00
Rob CoenenandClaude Opus 5.5 223f840f0d test(fla): a genuine Flash 8 file as a committed fixture
goodtestingtube (now shitgasring) drew a small test file in their own copy
of Flash 8 and released it under MIT on storytold/anicraft#478. It is the
first legacy .fla the repository can commit: the EDAP corpus is
CC BY-NC-SA and stays out.

The new integration test opens it and checks what a plausible change could
break and only the env-gated corpus tests covered before: one symbol of each
kind, the guide layer, the graphic's first frame advancing per keyframe, a
linear classic tween placing the instance between its keyframes, the
graphic's shape tween, the button's UTF-16 static text, and nothing skipped
but the movie clip's component data.

Provenance is in crates/fla/tests/fixtures/README.md and ATTRIBUTION.md,
with the MIT text in licenses/fixtures/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 18:15:08 +01:00
yusufmntmandClaude Opus 5.5 0e04b6fb50 fix(engine): Create Object refuses a warped bitmap fill instead of unwarping it
The merge writes its pieces without a warp. Outlines keep their bent shape, but a bitmap fill
is drawn through the warp mesh only while the warp is there, so it showed unwarped and lost
its pins. Refuse the selection, before any change, and point to Remove Warp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 20:14:12 +03:00
yusufmntmandClaude Opus 5.5 f90ad35117 fix(geom): Smooth keeps a closed loop whose candidate goes flat
A closed subpath with three or more collinear anchors could be smoothed onto one line while
its overshooting cubics kept a nonzero diagonal, so neither collapse check caught it and the
fill vanished. Reject a closed candidate that keeps under 1% of the original's enclosed area.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 20:02:11 +03:00
yusufmntmandClaude Opus 5.5 001062e2b0 fix(engine): review fixes for Smooth, Straighten and Optimize Curves
- Optimize at strength 0 validates the selection but no longer charges the
  shape budget; `after` counts the raw shapes the remerge committed.
- Straighten simplifies flat line runs and keeps a zero-chord cubic loop.
- Optimize keeps a long subpath unchanged rather than thinning out its peaks,
  and never moves an open endpoint.
- Smooth keeps a closed two-anchor loop's anchors and refuses a collapsed fill.
- Enter in the dialog's Strength number field submits; the dialog's
  accessibility test fails when no tree arrives.
- Parity summary counts match the changed row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 17:11:11 +03:00
yusufmntmandClaude Opus 5.5 073390743f fix(stage): Lasso review fixes: real overlap, atomic failure, one multi-frame selection
- raw.select_area cuts only raw shapes the loop really overlaps, not every
  shape whose bounds touch it (tween interiors fell back to whole shapes).
- A mutating command that fails after healing a provisional cut restores the
  cut, so a bad raw.select_area leaves the earlier piece selected.
- With Edit Multiple Frames on, a Lasso selection clears the multi-frame
  selection, and the multi-frame tools let go of the stage selection, so
  Delete, Cut, Copy and the arrow keys act on what the stage shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:53:49 +03:00
yusufmntmandClaude Opus 5.5 0f4a171d7f fix(stage): review fixes for Alt-drag curve handles
- raw.convert_points returns the ids of the elements that exist after the
  merge, and reports merged: false when the merge declined.
- set_smooth_handles makes the closing edge after the anchor explicit, not
  the first one in the path, so an anchor after an earlier Close keeps its
  command index.
- Once a handle pull has started, moving back within the drag threshold
  still updates the handle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 16:44:50 +03:00
yusufmntmandClaude Opus 5.5 e920a5b072 fix(engine): Create Object and Modify > Combine refuse a group past the nesting limit
When the result of Create Object, Union, Punch or Crop is a group and the
open groups are already MAX_GROUP_DEPTH deep, refuse with the same error the
group command gives, so reopening the file can't drop the artwork.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 15:24:02 +03:00
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