Commit Graph
235 Commits
Author SHA1 Message Date
Tanish Manku fea891cf59 feat(shell): File › Import › Import Video: options, progress with Cancel, reference videos on the stage, relink in Layer Properties (M5) 2026-11-18 08:05:29 -07:00
Tanish Manku a8b43fd8c8 feat(audio): Convert Audio to Keyframes and Auto Lip-Sync note when the sound is not Stream-synced (M8) 2026-11-18 06:36:26 -07:00
Tanish Manku 0a5547b6b1 feat(shell): user themes from a folder, checked for contrast, with two-tone icons and accent bars (M8) 2026-11-18 06:26:30 -07:00
Tanish Manku 2128f16c2c chore: merge main (pen and keep area, layer parenting) into audio to keyframes (M5) 2026-11-18 05:48:09 -07:00
Tanish Manku 1c31c9959b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-18 04:49:55 -07:00
Tanish Manku d2238584ab feat(shell): Convert Audio to Keyframes and Auto Lip-Sync dialog with a live graph and stage preview, from Modify › Timeline and Properties (M5) 2026-11-18 04:30:42 -07:00
mocenigo 309634a67c Fix the macOS crash when a file dialog is resized: show it as a sheet (#128)
Show macOS file dialogs as sheets so resizing them no longer crashes.
Finder and Dock opens wait while a file dialog, Save As question, or
plug-in Browse sheet is up. After document tabs landed, CloseFlow also
waits while the deferred system Save As panel is pending.
2026-11-18 18:23:40 +07:00
Tanish Manku e51292e7fd feat(shell): screenshot states for Keep area and the Pen on a path; the Motion Editor explains a following axis (M1) 2026-11-18 03:56:47 -07:00
Tanish Manku 47f7a8d585 feat(shell): the Pen breaks, adjusts, continues, adds and deletes points, with Shift steps and pointer marks (M1) 2026-11-18 03:54:33 -07:00
Tanish Manku ce8315ddda feat(shell): the timeline's parenting view: a parent column with draggable dots, a parent menu, the arm sample (M7) 2026-11-18 02:30:59 -07:00
Tanish Manku 0f90ef98bc feat(shell): document tabs above the stage, each with its own session, view and autosave; New and Open bring a tab, closing asks about unsaved changes, quitting asks once for all (M8) 2026-11-18 01:24:58 -07:00
Tanish Manku 963de39541 feat(shell): Free Transform's turned box, a draggable transformation point, and layer opacity in Layer Properties and the timeline (M1) 2026-11-17 23:33:06 -07:00
Tanish Manku bd3fb93138 chore: merge main (shape commands, issue requests) into the editing issue fixes (M1)
Pasting keeps its float parameter beside the transform-origin parameters; the stage keeps the
resize tracking and the picker's eyedropper.
2026-11-17 22:46:56 -07:00
Tanish Manku 0566b715b9 chore: merge main into the editing issue batch (M1)
# Conflicts:
#	CHANGELOG.md
#	docs/guide/drawing.md
#	docs/roadmap.md
2026-11-17 21:50:44 -07:00
Tanish Manku cb366ee6bb feat(shell): Modify › Shape dialogs, the picker's eyedropper and Transform about (M1)
Expand Fill and Soften Fill Edges ask for a distance, direction and steps and
remember them; the Modify › Shape items are enabled by what the selection has.
While a colour picker popup is open the stage is its eyedropper: a chip shows
the colour under the pointer, a click gives it to the picker, Esc closes it.
Free Transform sends the transformation origin with turns, scales and skews,
marks each object's own point, and Properties shows Transform about.
2026-11-17 21:21:34 -07:00
Tanish Manku 6c1d1459d2 chore: merge main into the editing issue batch (M1)
# Conflicts:
#	CHANGELOG.md
2026-11-17 20:15:36 -07:00
Tanish Manku 199d7af539 docs: ADR 0108, the guide, changelog and roadmap for the editing issue batch (M1)
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.
2026-11-17 20:15:27 -07:00
Tanish Manku cec0f3dab1 feat(shell): Paste takes a picture copied in another app (M1)
Paste only knew AniCraft's own clipboard, so a picture copied in Paint.NET or
Aseprite, or a screenshot, gave 'the clipboard is empty', and Ctrl+V did nothing
at all: egui-winit turns that key into a paste event only when the clipboard
holds text. Paste (menu, context menu and Ctrl/Cmd+V) now places the system
clipboard's picture as a bitmap in the middle of the view, in the Library too,
when it is newer than what AniCraft copied (its own Copy leaves a text note on
the system clipboard). The swallowed key is recognised by its release. Reading
the clipboard is platform code and uses arboard, the library eframe already
uses for text, so no crate is added. Desktop only; vectors from other apps are
not read yet.

Fixes #263
2026-11-17 20:02:12 -07:00
Tanish Manku 01348ae851 chore: merge main (outside UI batch, start-up fixes) into issue requests (M8) 2026-11-17 20:00:14 -07:00
Tanish Manku 33bdebad51 fix(stage): a relaxed double-click counts, as on the desktop around the app (M1)
A double-click on a raw fill selects it with its outline (since #92), but egui
only counts two clicks up to 0.3 s apart, measured in frames: a relaxed
double-click, or a slow frame after the first click, made it two clicks. The
app now allows the half second Windows and macOS do.

Fixes #192
2026-11-17 19:40:11 -07:00
Tanish Manku 895b842624 fix(engine): pasted raw artwork floats, selected, until it is deselected (M1)
Paste in Center and Paste in Place merged raw shapes into the drawing at once,
so a copy pasted over its original joined it before it could be dragged away.
The editor now pastes with float: the raw shapes stay whole and selected on
top, and go into the drawing when the selection lets go of them (or when they
are dropped after a move), as in Animate. The merge belongs to the step around
it, so undoing the paste restores the drawing from before it. Scripts that
paste without float still merge at once.

Fixes #391
2026-11-17 19:30:28 -07:00
Tanish Manku 008cdd1b3e chore: merge main into fix/issues-start-files 2026-11-17 19:13:25 -07:00
Tanish Manku 968946ea0b chore: merge main (outside features batch: skew) into the outside UI batch (M8) 2026-11-17 18:30:16 -07:00
Tanish Manku feda02ade4 feat(shell): drag layers to reorder, all-layer buttons, a draggable layer column, Size in Properties, brushes keep their settings (#407, #422, #384, #294, #331) (M8) 2026-11-17 17:37:10 -07:00
Tanish Manku ef3fc8b2e0 chore: merge main (outside core batch) into the outside features batch (M8) 2026-11-17 17:11:07 -07:00
Tanish Manku c81de6d649 fix(gpu): submit stage work on the window's device only inside a frame (M8)
The stage renderer shares the window's device and submitted its work from the
render service's threads at any time. A window reconfigures its surface when
it opens and when it is resized, and wgpu fails that when another thread
submits meanwhile: 'Surface::configure: Failed to wait for GPU to come idle
before reconfiguring the Surface'. In 0.2.1 that error was a panic, so
AniCraft closed at start-up or on a resize (#264, #309, and with them the
'won't open' reports #421 #412 #313 #286 #285 #268 #164); since ADR 0092 it
is survived, at the cost of a skipped frame, an autosave and a status line
blaming the graphics driver.

A SubmitGate (crates/gpu) is open while the window's thread runs the app's
frame and closed otherwise, also around windows drawn inside the frame (Test
Movie, floating panels). Work waits for it (asking for a frame), at most
250 ms; the renderer's starting self-test goes through it too.

Measured on Windows 10, RTX 5090, Vulkan, --screenshot starts: the error in
3 of 20 starts before, 0 of 20 after; 2.81 s and 2.80 s per run.
2026-11-17 16:48:36 -07:00
Tanish Manku 68898eb549 Merge origin/main into the outside pull request batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-17 16:02:56 -07:00
Tanish Manku da82dc71ea Merge origin/main into the outside pull request batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-17 15:18:08 -07:00
Tanish Manku c2472cd639 chore: merge main (styled text, mixed armatures) into filter tracks (M5)
Text keeps its filters next to its styled runs. In HTML export, static text in several colours
with filters is one item of pieces (pp), so the pieces share one filtered group as evaluate
draws them; the page's player draws such items piece by piece.
2026-11-17 14:55:39 -07:00
Tanish Manku b9b5c998c9 chore: merge main (styled text) into the outside batch (M8)
# Conflicts:
#	CHANGELOG.md
#	src/main.rs
2026-11-17 14:47:15 -07:00
Tanish Manku b5f3e5f0a8 chore: merge main into m7/mixed-armatures 2026-11-17 14:13:32 -07:00
Tanish Manku 6304cf2f2b fix(shell): every prompt selects the name it offers, through one helper (M8) 2026-11-17 13:51:07 -07:00
Kushagra Kumar bbb808e73f fix(camera): allow canvas artwork editing when camera layer is hidden (#126) (M8)
Cherry-picked from outside PR #141 (first commit only).
2026-11-17 13:37:16 -07:00
Tanish Manku f694b14240 Merge outside PR #219: fix(shell): Ctrl+C, Ctrl+X and Ctrl+V copy, cut and paste on the stage (M8) 2026-11-17 13:37:09 -07:00
Tanish Manku f779ebde87 Merge outside PR #367: feat(shell): an editable zoom field with its own presets arrow (M8)
# Conflicts:
#	src/app.rs
2026-11-17 13:36:48 -07:00
Tanish Manku 94e74ce0d4 Merge outside PR #368: feat(panels): a Scale lock that keeps width and height in proportion (M8)
# Conflicts:
#	src/panels.rs
2026-11-17 13:36:36 -07:00
Tanish Manku 484a84517c Merge outside PR #355: Select existing names in rename dialogs (M8) 2026-11-17 13:36:21 -07:00
Tanish Manku 6f1adc4ea2 Merge outside PR #216: feat(control): live control port and MCP bridge (ADR 0104) (M8)
# Conflicts:
#	CHANGELOG.md
#	docs/roadmap.md
#	src/main.rs
2026-11-17 13:34:18 -07:00
Tanish Manku 204352cff9 Merge outside PR #176: feat(transform): skew/shear by dragging a box edge in Free Transform (M8)
# Conflicts:
#	src/app.rs
2026-11-17 13:31:38 -07:00
Tanish Manku 471049a06c chore: merge main (saved commands, shared crates) into styled text (M5)
The Save As Command and Manage Saved Commands windows open through windows::new, so they stay
below the menu bar like every other floating window.
2026-11-17 13:27:01 -07:00
Tanish Manku cc3cdbb3c2 feat(ui): filter colour and stepped rows in the Motion Editor, filters on text and built-in presets in Properties (M5)
* Motion Editor: a row per filter colour with a swatch that keys the whole
  colour and a diamond for its four channels; click it to list red, green,
  blue and alpha, each a curve, with the colour over the span along the
  graph's foot. Quality and the switches are tick boxes and Low/Medium/High,
  drawn as steps, without ease handles.
* Properties: the Filters section on text; built-in presets in the presets
  menu, with a submenu to hide and show them (kept in the preferences).
* Screenshots: --open motioncolour, --open textshadow.
2026-11-16 19:18:16 -07:00
Tanish Manku 2972440207 feat(bones): mixed armatures, symbol instances and shapes in one armature (M7)
Bones marked with the shape they are inside bend it through that shape's skin;
other bones move an instance or a whole shape. One pose, solver and tween.
A document with a mixed armature is written as format version 4; every other
document byte for byte as before.

Measured (optimised test profile): 25 bones, two shapes of 1,002 points and
8 instances bind in 1.6 ms and pose in 0.066 ms per frame; IK through all 25
bones 0.07 ms.
2026-11-16 18:32:56 -07:00
Tanish Manku 307bf03a00 docs: ADR 0085 styled text, the guide's text chapter, roadmap, changelog and screenshot demo (M5) 2026-11-16 18:26:51 -07:00
Tanish Manku ea15b6b2f3 feat(ui): style selected characters while typing on the stage; floating windows stay below the menu bar (M5) 2026-11-16 18:26:39 -07:00
Tanish Manku 4a25817937 chore: merge main (guide search and context help) into saved commands (M6)
Context help gains the macro namespace and the Save As Command and Manage Saved Commands
windows; the guide's chapter list numbers both new chapters.
2026-11-16 18:26:04 -07:00
Madhav Agarwal e677a3d529 feat(shell): an editable zoom field with a separate presets arrow (#43) 2026-11-15 16:40:31 +05:30
Madhav Agarwal 516e818b1c feat(panels): a Scale lock that keeps width and height in proportion (#304) 2026-11-15 16:40:31 +05:30
Untoldent 23cbead12c Select existing names in rename dialogs
Select the current name on opening Rename Layer, Rename Scene, and Layer Properties. Add regression tests for each workflow.
2026-11-14 16:44:20 -05:00
Tanish Manku 9e2c643091 fix(app): saved commands: History footer wraps in a narrow dock, plural and sample names for the catalogs (M6) 2026-11-14 04:13:02 -07:00
Tanish Manku 98bb6e98e5 feat(app): Save As Command in History, saved commands in the Commands menu, Manage Saved Commands (M6) 2026-11-14 04:13:01 -07:00