Commit Graph
481 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 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 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 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
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
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
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
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
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 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
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
yusufmntmandClaude Opus 5.5 eff4bc4049 feat(stage): Lasso tool for freehand selections (#515)
New Lasso tool (L): draw a freehand loop to cut out and select the parts of
merged fills and lines inside it and pick objects wholly inside it, on every
visible, unlocked layer. Shift adds, Esc cancels. The new raw.select_area
command does the work, so the selection is scriptable and a Polygon mode
can reuse it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 03:52:29 +03:00
yusufmntmandClaude Opus 5.5 b8e0520c6e feat(engine): Smooth, Straighten and Optimize Curves in Modify > Shape (#510)
New geometry module anicraft_geom::curve with optimize, smooth and
straighten, and the commands modify.smooth, modify.straighten and
modify.optimize (with a strength and passes dialog). They work on raw
fills, strokes and drawing objects, remerge raw shapes, keep paints and
stroke settings, and are one undo step each.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 03:50:48 +03:00
yusufmntmandClaude Opus 5.5 d362bcf7f9 feat(stage): Alt-drag an anchor with Subselection to pull out curve handles (#615)
Holding Alt and dragging from an anchor pulls out mirrored Bezier handles on
drawing objects and merged drawings, live, in one undo step; Shift snaps the
handle to 45-degree steps. path.convert_point and raw.convert_points take an
optional handle: [dx, dy] so the same edit works headless.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 03:50:45 +03:00
yusufmntmandClaude Opus 5.5 4848a49dbb feat(engine): Create Object button for raw shapes (#614)
Properties shows a Create Object button when raw (merge-drawing) shapes are
selected; it runs the new modify.create_object command, also in Modify >
Combine Objects and the stage context menu. One raw shape becomes a drawing
object in place; several are united as Union does. One undo step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 03:45:28 +03:00
Tanish Manku eb4ec89181 chore: merge main into fix/backlog-animate-files 2026-11-24 16:26:55 -07:00
yusufmntmandClaude Opus 5.5 9a3ffa34d7 fix(motion): ask before Create Motion Tween turns raw artwork into a symbol (#604)
Create Motion Tween on raw shapes, a bitmap, a group or several objects
now opens a confirmation dialog with the symbol type choice (shared with
Convert to Symbol) and changes nothing on Cancel. A keyframe that already
holds one symbol instance tweens directly.

timeline.create_motion_tween takes an optional `kind` (default graphic)
and reports `symbol`, `symbol_name` and `symbol_kind` when it converts,
still in one undo step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 02:08:36 +03: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