Commit Graph
509 Commits
Author SHA1 Message Date
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 4229691eec Merge outside PR #562: feat(properties): turn a selected line into a fill from Shape properties 2026-11-24 15:15:23 -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 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 62f849aec0 Merge outside PR #584: feat(timeline): View only the active layer (#529)
# Conflicts:
#	src/timeline.rs
2026-11-24 15:14:28 -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 c2e52cd5f5 docs(roadmap): slot nineteen outside pull requests before the parity batch (M8) 2026-11-24 15:13:39 -07: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 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 58c116e7fb chore: merge main into fix/backlog-stage-tools 2026-11-23 17:56:13 -07:00
Rob Coenen 338079417d Merge remote-tracking branch 'origin/main' into feat/import-shows-source-name
# Conflicts:
#	CHANGELOG.md
2026-11-23 21:20:06 +01: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
Tanish Manku afb4826a77 Merge outside PRs #39 and #40 (mixed directions, fallback faces) by SoldierPePe (M5)
Both were written against the single-style layout that lived in crates/text/src/lib.rs
before ADR 0085 moved layout to styled runs in rich.rs, so their changes to lib.rs,
cmds_text.rs and the roadmap conflict and are resolved to main's side here. The commits
that follow rebuild the same behaviour on the styled-text layout and carry over their
ideas and tests: line breaks found in reading order and never inside a cluster, a face
chosen per cluster with its marks, invisible format characters not counted as missing,
the fallback family list, and the note that says which characters show as boxes.

Kept from the merge as it is: the ADR 0012 paragraph and the unicode-bidi entry, which
the next commit replaces with craft-text's bidi module.
2026-11-23 13:10:54 -07: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
Tanish Manku b66e3ec427 chore: merge main (principal review) into the reliability pass (M8)
Main already fixed the picture cache race and split the command fuzz (#525), so this keeps
main's versions of both; what remains here is the longer thread deadlines in tests.
2026-11-23 12:24:14 -07: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 817d4dd0ac feat(timeline): View only the active layer (#529)
A toggle beside the Layers heading hides every timeline row but the
active layer's, following the active layer as it changes; clicked again,
every row is back. View state: the stage and the document are unchanged.
The icon is an AniCraft original on Lucide's grid.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:41:17 +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
Ayberk A.andClaude Opus 5.5 2c792b93c1 fix(engine): Distribute to Layers keeps layer settings and refuses what it can't keep
Review: the new layers now take their layer's settings (camera depth and
depth keys, attachment, the layer it follows, sound volume). Refused with
a message: the end of a tween (its artwork is what the tween ends on), an
instance that goes on from the keyframe before or after (on a layer of
its own it would start playing again), a layer below full opacity (it
fades as one group), and layers other than ordinary ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:14:17 +03:00
Ayberk A.andClaude Opus 5.5 656d953d3d feat(engine): PNG frames and sequences can export transparent (#536)
Export Frame as PNG and Export PNG Sequence always painted the stage
colour behind the artwork, though the guide said they were transparent.
Both take background (default true: as before; false: real alpha where
the stage has nothing), and Publish Settings has "Stage colour as
background" for both, kept in the document's publish profile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:04:24 +03:00
Ayberk A.andClaude Opus 5.5 9ca07dc565 fix(engine): Space Evenly keeps order and the outer objects; clearer Match docs
Review: an object much longer than the rest could make the gap so
negative that Space Evenly passed one object over the next; that is now
refused, moving nothing. The gap and the running position are in f64, so
rounding over many objects can't move the last one. The Match commands'
descriptions and the guide say what each does per side, that the width
and height may come from two objects, and that a straight line keeps its
zero side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:54:35 +03:00
Ayberk A.andClaude Opus 5.5 ea6755ea2a fix(engine): the marquee takes the objects it touches (#522)
The Selection tool's marquee selected a symbol instance, group, drawing
object, text or bitmap only when it lay wholly inside; one it covered
partly was left out. It now takes every object it touches, whole, as
the reference app does. Raw shapes are still cut at its edges.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:50:18 +03: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
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 6b24865995 fix(stage): the left-out notice leads with what happened (M8) 2026-11-21 14:07:29 -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
Cursor AgentandNeel Patel dd3daba35a feat(properties): turn a selected line into a fill from Shape properties
The button at the top of a shape's properties runs modify.lines_to_fills.
A fill with no line leaves the button unavailable, so a click changes nothing.

Co-authored-by: Neel Patel <N-NeelPatel@users.noreply.github.com>
2026-11-21 20:13:15 +00:00
Tanish Manku 740cf824c6 docs: the reliability pass in the changelog and roadmap (M8) 2026-11-21 13:06:46 -07:00
Tanish Manku d171c8db30 chore: merge main into docs/principal-review 2026-11-21 12:44:27 -07:00
Tanish Manku 940c372f5a docs(review): final test timings (M8) 2026-11-20 21:22:41 -07:00
Tanish Manku e8aa4477d8 docs(review): principal-engineer review of AniCraft's own decisions (M8) 2026-11-20 21:12:15 -07:00
Tanish Manku 1ed8b1a110 docs: architecture.md and seven ADR status lines match the code (M8) 2026-11-20 21:09:21 -07: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 cca29cda91 docs(adr): ADR 0125, the roadmap as a guideline, with the principal-engineer review step (M8) 2026-11-20 19:42:09 -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 831df5d7dd docs(parity): a feature-by-feature matrix against the reference app (M8) 2026-11-20 19:38:22 -07:00
Tanish Manku 331ed27435 docs(adr): reserve ADR 0125 for the roadmap as a guideline (M8) 2026-11-20 19:29:53 -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 1a7394def6 test(text): hostile parameters on text paths, embeds and change events; regenerate the command reference (M5) 2026-11-20 15:07:51 -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 46293a6fac docs(adr): reserve ADR 0107 for text paths and the text-field API (M5) 2026-11-20 15:07:30 -07:00
Tanish Manku 6111e2d085 chore: merge main into fix/mcp-automation-roots 2026-11-20 14:58:23 -07:00