451 Commits
Author SHA1 Message Date
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
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 99db705a2e chore: merge main into fix/backlog-memory-frames 2026-11-24 15:49:05 -07:00
Tanish Manku eba6c2c3b7 fix(engine): the bounded read that opens a .fla is checked against the read root (M4) 2026-11-24 15:33:47 -07:00
Tanish Manku 3b2ec2c2bf fix(engine): To Stage in a group inside a symbol, an import's path through vfs, every setting a check item (M8) 2026-11-24 15:22:45 -07:00
Tanish Manku 9dccedc136 Merge outside PR #596: feat(shell): an imported Animate file keeps its name on its tab and in the title 2026-11-24 15:15:53 -07:00
Tanish Manku c981725103 Merge outside PR #581: feat(engine): PNG frames and sequences can export transparent (#536)
# Conflicts:
#	crates/engine/src/cmds_file.rs
2026-11-24 15:15:41 -07:00
Tanish Manku 093fa17eae Merge outside PR #587: Optionally fit the stage to imported SVG artwork 2026-11-24 15:15:22 -07:00
Tanish Manku 18819adf63 Merge outside PR #588: Hide selection edges without clearing the selection 2026-11-24 15:15:21 -07:00
Tanish Manku d25c75bbc1 Merge outside PR #574: fix(engine): align and distribute line up outlines, not stroke edges (#569)
# Conflicts:
#	crates/engine/src/tests.rs
2026-11-24 15:15:10 -07:00
Tanish Manku 426ae1bd08 Merge outside PR #575: fix(engine): To Stage inside a symbol aligns to the symbol's own space (#568) 2026-11-24 15:14:58 -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 8adbf377ba Merge outside PR #580: fix(engine): the marquee takes the objects it touches (#522) 2026-11-24 15:14:29 -07:00
Tanish Manku 35bd65b241 Merge outside PR #541: fix(engine): preserve the active edit when deleting an earlier scene 2026-11-24 15:13:51 -07:00
Tanish Manku 6aaba6e948 Merge outside PR #543: fix(recents): preserve literal backslashes on macOS 2026-11-24 15:13:50 -07:00
Tanish Manku c223b3894a Merge outside PR #545: Keep the frame clipboard when Cut Frames fails 2026-11-24 15:13:49 -07:00
Tanish Manku 8b69b8b81c Merge outside PR #548: Keep F5 from adding frames to a folder layer 2026-11-24 15:13:49 -07:00
Tanish Manku 0804c719c1 Merge outside PR #583: fix(timeline): Next and Previous Frame stop at the ends (#561) 2026-11-24 15:13:45 -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
Rob CoenenandClaude Opus 5.5 ef01fc0b5d fix(engine): a bare .xfl's package is "." so reopening finds its tab
import_package returned an empty folder for a bare "walk.xfl", which
same_file can't resolve, so reopening it imported the package a second
time. It now returns ".", which Import::of and the tab lookup both resolve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:59:47 +01: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
Rob CoenenandClaude Opus 5.5 b474a01a27 fix(shell): an import reached through a nameless path keeps its name
Review follow-ups (ADR 0009 note):

* A bare relative "walk.xfl" has an empty package folder: it resolves as
  ".", so Save suggests an .anicraft beside the folder, not inside it.
* When the opened path has no name of its own ("walk/sub/.."), the tab and
  window title use the package folder's name instead of "Untitled".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:18:55 +01:00
Rob Coenen af3abf3396 Merge remote-tracking branch 'origin/main' into feat/import-shows-source-name
# Conflicts:
#	CHANGELOG.md
2026-11-24 16:55:03 +01:00
Tanish Manku a70f1b3577 fix(xfl): an Animate shape is never cut down quietly: unknown strokes drawn solid, a damaged outline run costs only itself, every drop counted (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 19e5527afa test(engine): the web build's memory over a long drag, measured in Node; scenes shared across the worker's passes (M8) 2026-11-23 18:29:25 -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 c319badcc1 fix(engine): the picture cache keeps the state and zoom on screen, not every one passed through (M8)
Pictures belong to a set (a document state at a scale); the cache keeps the set
shown and the one before. Visible tiles are drawn before look-ahead, and with no
render thread a view fills in within a time budget per frame. #314, #477, P-004.
2026-11-23 18:29:16 -07:00
Tanish Manku 58c116e7fb chore: merge main into fix/backlog-stage-tools 2026-11-23 17:56:13 -07:00
Tanish Manku 61ee25c33d fix(engine): the Mask command's parameter text names no other product (M8) 2026-11-23 17:41:04 -07:00
Tanish Manku b73a9b029c feat(engine): several layers selected in the layer list move, delete and go into a new folder together; a new mask is locked (M8)
layer.select takes add: toggle | range (Ctrl- and Shift-click, #512). The
selection is session state and counts only while it holds the active layer.
layer.move and layer.delete act on it (or on layers: [ids]) in one undo step,
all or none; layer.new_folder puts several selected layers into the folder.
layer.toggle_mask locks the mask it makes, as the SVG importer does and as
Animate leaves it, so the result shows without the mask's edge (#429).
2026-11-23 17:14:03 -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
Rob CoenenandClaude Opus 5.5 ad7c82ea24 fix(engine): an import's package is the folder itself, resolved
Review follow-ups (ADR 0009 note):

* A package reached through "." or ".." is resolved before its name and
  Save suggestion are taken, so the suggestion lands beside the folder,
  not inside it as animation.anicraft.
* Only a regular file named *.xfl stands for the XFL folder around it; a
  folder named inner.xfl is a package of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:07:55 +01:00
Rob CoenenandClaude Opus 5.5 ea281bd334 fix(shell): settle an import's package and Save suggestion when it opens
Review follow-ups on the import name (ADR 0009 note):

* Session::imported is an `Import` {source, package, save_as}, fixed at
  import time: removing an XFL package's DOMDocument.xml afterwards no
  longer moves the Save suggestion inside the folder.
* Duplicate-tab lookup compares packages (`import_package`), so an XFL
  folder and the .xfl in it are one document and share a tab.
* In a browser an import isn't matched by path: an upload is known only by
  its name, and two different files may share one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:33:56 +01:00
Rob Coenen de0424171d Merge remote-tracking branch 'origin/main' into feat/import-shows-source-name
# Conflicts:
#	CHANGELOG.md
#	src/platform.rs
2026-11-23 20:09:49 +01:00
ViktorBystrov72 8e29565018 feat(stage): hide selection edges without losing the selection 2026-11-23 17:51:12 +05:00
ViktorBystrov72 fbdefb3999 feat(engine): optionally fit the stage to an imported SVG 2026-11-23 17:41:43 +05:00
Ayberk A.andClaude Opus 5.5 1e3188703e perf(engine): Distribute to Layers checks the selection's set, not a list
Review: membership went through a Vec, so a keyframe with many selected
elements cost elements × selected; it now asks the selection's own set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:44:41 +03:00
Ayberk A.andClaude Opus 5.5 711d4df2a6 test(engine): a transparent PNG's empty stage is fully clear
Review: the check took any alpha but 255 as transparent; it now asks for 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:33:02 +03:00
Ayberk A.andClaude Opus 5.5 23d322163d fix(timeline): Next and Previous Frame stop at the ends (#561)
"." on the last frame went round to the first, and "," on the first to
the last. They now stay there, as the timeline's arrow keys already did,
and Next no longer pulls a playhead that is past the last frame back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:30:49 +03:00