Commit Graph
122 Commits
Author SHA1 Message Date
Tanish Manku 1cbfe1bb03 chore: merge main (Library management) into multi-frame editing (M1) 2026-11-11 00:24:09 -07:00
Tanish Manku c68c9a0eaf feat(shell): Edit Multiple Frames edits, Free Transform about one pivot, and onion skin inside symbols (M1) 2026-11-11 00:02:29 -07:00
Tanish Manku 8a2ed97981 feat(ui): Library folders, inline rename, drag into folders, sort, search, use counts, unused items, preview and item properties; Swap Symbol in Properties (M2) 2026-11-10 23:51:24 -07:00
Tanish Manku c2fd4a8d67 Merge origin/main (motion path pins) into m1/raw-points (M1) 2026-11-10 20:29:18 -07:00
Tanish Manku 6435915774 Merge origin/main (stroke styles, onion skin) into m1/raw-points (M1)
Hit testing keeps main's pick_index, picking in the symbol open in place. Onion skin and
Edit Multiple Frames switch off while a symbol is open in place; the multi-frame listing
evaluates the open timeline. A double-click on a Library symbol opens it for editing, as in
Animate. Raw point edits keep a stroke's StrokeStyle (tested).
2026-11-10 20:16:16 -07:00
Tanish Manku 6ba7fb86e2 feat(ui): pinned motion path points on the stage, Motion Editor, timeline and Properties (M2) 2026-11-10 19:55:54 -07:00
Tanish Manku 0aa25bf1fa chore: merge main (onion skin) into stroke styles (M7) 2026-11-10 19:22:53 -07:00
Tanish Manku 6c35cfd6cc test(shell): Edit Multiple Frames select, marquee, nudge and undo, onion prefs; fix the marquee's rectangle (M1) 2026-11-10 19:10:58 -07:00
Tanish Manku ca7c961089 fix(ui): key the line style menus by place, not a string (M7) 2026-11-10 19:09:56 -07:00
Tanish Manku 0290891468 feat(stage): edit symbols in place: double-click an instance, Ctrl+E, the edit bar's path back; Library Edit Symbol (M1) 2026-11-10 19:07:18 -07:00
Tanish Manku c62d327ce1 feat(timeline): onion skin markers, tint, fade, outlines, keyframes only, and Edit Multiple Frames (M1) 2026-11-10 18:54:35 -07:00
Tanish Manku fbff29bb04 feat(ui): Properties and tool options stroke Style (dash editor), Cap, Join and Miter rows (M7) 2026-11-10 18:51:47 -07:00
Tanish Manku 96229c97ba feat(stage): raw points in the editor: Delete, Make Smooth/Corner, adding with the Pen and Subselection, Alt breaks handle pairs, shape tools snap, Ctrl+Shift+/ (M1) 2026-11-10 18:50:08 -07:00
Tanish Manku 87c1d4e427 chore: merge main (selection across layers) into ActionScript tier 2 (M6) 2026-11-10 17:16:54 -07:00
Tanish Manku a31a6b5aaa Merge origin/main (localisation, ADR 0040) into m1/selection-across-layers (M1)
Conflicts in CHANGELOG.md, src/erasertool.rs, src/panels.rs, src/stage.rs and
src/timeline.rs resolved keeping both sides: the selection across layers, with
every new interface string through tr!/trn! ("{n} elements {on_layers}" with
the layers' phrase as its own plural, "mixed", "has selected artwork").
2026-11-10 16:47:50 -07:00
Tanish Manku c08ec1d337 feat(ui): Script view shows whether a script runs and its problems in place; Test Movie counts the scripts that don't run (M6) 2026-11-10 16:41:13 -07:00
Tanish Manku 98097dbaaa feat(ui): --open selection shows a selection across layers (M1) 2026-11-10 16:05:11 -07:00
Tanish Manku 6c8d4e2c67 feat(ui): timeline marks layers with selected artwork, Properties shows mixed values (M1)
Every layer row that holds selected items shows a square in the layer's
colour after its name (and screen readers hear it). Properties lists the
selection from every layer, titles it with how many layers it spans, shows the
combined box's position for several elements and marks values that differ as
mixed.
2026-11-10 15:59:00 -07:00
Tanish Manku 2c6ff5e7ea feat(engine): a selection of (layer, element) pairs across layers (M1)
The session's selection becomes a set of (layer, element) references at the
playhead (ADR 0044, issue #42). Commands that edit the selection run their
single-layer body once per layer that has selected items (move, delete,
duplicate, arrange, transforms, colour effects, filters, break apart, raw
merges); align/distribute, the Free Transform box, copy and snapping read
across the layers; paste keeps each copied layer; Convert to Symbol keeps the
layers inside the symbol and lands the instance on the topmost. The marquee
and Select All gather from every visible, unlocked layer, cutting raw parts
per layer. Locked or hidden layers are never selected. A selection on the
active layer alone behaves exactly as before.
2026-11-10 15:58:48 -07:00
Tanish Manku 0421ba5dd1 chore: merge main (Bone tool and IK) into localisation; its strings through tr! (M8) 2026-11-10 15:49:58 -07:00
Tanish Manku 972ed4d635 chore: merge main (Subselection on raw drawings) into localisation; its strings through tr! (M8) 2026-11-10 15:36:03 -07:00
Tanish Manku 1c62bf2b12 fix(ui): needless borrow in App::announce (M8) 2026-11-10 15:11:13 -07:00
Tanish Manku d54c27b91c feat(ui): Bone tool, bones on the stage, IK posing and bone Properties (M7)
The Bone tool (M) drags from one symbol instance to another to add a
bone (starting on a bone's end continues the chain) and clicks to pick
a bone. Bones draw as wedges in the armature layer's colour, the picked
one in the selection colour. The Selection tool drags a bone or a posed
instance to pose by IK, and the root instance to move the armature; each
drag is one undo step. Properties shows the bone's angle, joint limits,
pin and Remove Bone; Delete removes the picked bone.
2026-11-10 15:11:11 -07:00
Tanish Manku 70f1305bb6 feat(doc): armature layers, joint-angle poses and CCD inverse kinematics (M7)
An armature layer holds symbol instances joined by bones (a joint on the
parent instance, the child turning about it). Keyframes store poses as
joint angles, tweened with the span's easing and applied by forward
kinematics in evaluate_layer_elements, so every export, the GPU stage and
the player see them. bone.add/remove/set_limits/pin/pose/solve/info
commands; IK by cyclic coordinate descent with joint limits and pins.
2026-11-10 15:10:36 -07:00
Tanish Manku 7c1579934c test(ui): App::announce, the status line for each command result, checked for every result in the pseudo-locale (M8) 2026-11-10 14:59:09 -07:00
Tanish Manku def08d03ec chore: merge main (Selection tool on raw drawings) into localisation; its undo labels through tr_noop! (M8) 2026-11-10 14:48:05 -07:00
Tanish MankuandClaude 17d766536d feat(ui): Subselection shows and moves connected raw points and handles; Snap to Objects magnet (M1)
* Subselection on merged drawings: a click shows the anchors of every
  connected raw shape (hollow squares, selected ones solid) and the
  handles of the selected anchors and the clicked edge; Shift adds or
  removes; dragging an anchor moves it with the other selected ones and
  every shape on them (snapping); dragging a handle bends the edge in
  every shape that has it; dragging a line or fill moves everything
  connected; the marquee takes whole shapes on the active layer and
  selects the anchors inside; arrow keys nudge (1 / 10 screen px).
* Snap to Objects: View > Snapping, a magnet under the tools, and a
  checkbox in the Selection, Subselection and Free Transform options.
* rawsub screenshot setup, in the accessibility audit.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-10 14:30:31 -07:00
Tanish Manku 27f77a992f test(ui): lookups as Languages methods tested on a catalog, tool status lines, number fields stepped (M8) 2026-11-10 14:16:16 -07:00
Tanish Manku 8c1d63d5ce test(ui): use every control of the main window states in the pseudo-locale (M8)
Clicks each control through AccessKit (as a screen reader does) and steps
number fields, in the default window, three selections, seven panels and
five tools: nothing panics and every popup, dialog and status line it
leads to is translated. 3.3 s for the shell's 84 tests.
2026-11-10 14:03:25 -07:00
Tanish Manku 6fbb6ffb1f test(ui): every menu item, status line and more window states checked in the pseudo-locale (M8) 2026-11-10 13:51:44 -07:00
Tanish Manku ce7f4070f4 feat(ui): Selection tool bends, moves shared points, snaps and cuts marquee parts (M1)
On raw shapes, a drag from an unselected corner or end moves it with every
shape that shares it, from an unselected segment or fill edge bends it, from
a fill or a selection moves the selection; points and selections snap within
10 screen px with a snap ring; corner and curve marks by the pointer show what
a drag will do; the marquee runs raw.select_rect. Each drag is one undo step
and merges again on release. --open rawparts / rawedit show the states.

perf: on 1,320 raw shapes (debug-opt build) a hover test takes 0.04 ms, a
bend frame 0.14 ms, a point frame with snapping 0.22 ms, a snapping
selection move 0.29 ms, the merge on release 0.22 ms, a marquee cut and heal
1.8 ms.
2026-11-10 13:40:27 -07:00
Tanish Manku bc34f4fbfb chore: merge main into localisation (M8) 2026-11-10 13:34:33 -07:00
Tanish Manku 23ad007760 feat(ui): translate the sound envelope editor, layer volume and mute, and show the real Undo key in messages (M8)
The strings from sound effects (#100) and the ActionScript Script view
(#99) go through tr!/trn!; the envelope editor joins the pseudo-locale
accessibility audit. Messages that said "Ctrl+Z" now fill {undo} from
App::undo_key (the rebindable Undo key, through platform::shortcut_label,
so macOS reads ⌘Z). ADR 0040 leaves the reservations table.
2026-11-10 13:34:27 -07:00
FredApps 72a445c753 test(motion_path): cover the pointer and keyboard paths headlessly
Raises new-code coverage of src/motion_path.rs (SonarCloud reported 187 of 340 new lines uncovered).
2026-11-10 12:42:43 +01:00
Tanish Manku 562dd48e3f chore: merge main (sound effects, ActionScript tier 1, motion path points) into localisation; new strings still to route through tr! (M8) 2026-11-10 00:58:12 -07:00
Tanish Manku cddd1ea2e0 feat(ui): interface languages: tr! everywhere in the shell, craft-i18n catalogs, pseudo-locale (M8)
A translation layer in the shell (src/i18n): English source text is the
key (tr!, trn! with CLDR plurals, trc!, tr_noop!), catalogs in the
craft-i18n TSV format read by our own parser and embedded from
CRAFT_I18N_DIR by build.rs, fallback app > shared > base > English.
Preferences > Appearance > Language (system language by default) and
--lang for one run. Every shell string and screen-reader name goes through
it; menus translate the registry's labels when drawn, ids stay English.

Guardrails: a source guideline test fails on prose literals outside the
macros, a pseudo-locale accessibility audit fails on untranslated names,
and scripts/i18n-extract.sh writes the translators' template (1173
strings) and per-locale coverage. Lookups: 13 ns from a catalog, 16 ns
pseudo, none in English.
2026-11-10 00:41:54 -07:00
Tanish Manku d7c0434a25 chore: merge main (ActionScript tier 1) into sound effects; tests build with Symbol.linkage (M5) 2026-11-10 00:35:46 -07:00
Tanish Manku 990ea2c116 fix(ui): name the class field's widget id plainly (M6) 2026-11-10 00:10:50 -07:00
Tanish Manku 95a83ee2a0 feat(ui): Script view in the Actions panel, class rows in Properties (M6)
The Actions panel's Frame tab gets a Type row (Actions, Plug-in, Script);
Script shows and edits a keyframe's kept script in a monospace editor with
line numbers and its language, live and undoable. Graphic and button
timelines and guide layers show their kept scripts too. Properties shows the
symbol linkage class and the document class in documents that use scripts;
Test Movie says how many kept scripts don't run. The panel's pickers and
title bar are named for screen readers; --open script for screenshots.
2026-11-10 00:10:38 -07:00
Tanish Manku de38e47aa3 feat(audio): sound effect envelopes, layer volume and mute, sounds inside symbols (M5)
Frame sounds get Animate's Effect presets and Custom envelopes (up to 16
points per channel, seconds from the sound's start), shaped over the time
the sound is heard. Layers get a volume and Mute, multiplied down through
symbols. Graphic symbols play their sounds on their own frames mapped to
the parent's time (streams join mid-way), movie clips on a loop from when
the instance appeared; the interactive player reports entered sounds so
Test Movie plays them, following the audio clock. The mixer applies
per-channel envelopes and start offsets sample-exactly. HTML canvas
export carries envelopes, volumes and graphic sounds. Edit Envelope
window, timeline mute toggle, waveform shaped by the envelope.
2026-11-10 00:02:17 -07:00
Tanish Manku 5d3dc8dae0 feat(ui): edit motion path points and move the whole path on the stage (M2)
Subselection selects several anchors (Shift), double-click on the path
adds a point, Delete removes points (the ends stay, the status says
why), right-click makes them smooth or corners or straightens the path.
The Pen's Alt-click adds a point to the motion path or a selected
shape. Ctrl/Cmd-drag on the path or its object moves the whole path in
one undo step, and Properties shows the path's start to move it by
number. New screenshot and audit state: --open motionedit.
2026-11-09 23:43:06 -07:00
Tanish Manku a87728ba50 chore: merge main (eraser, eyedropper, XFL corpus) into the web build (M8) 2026-11-09 23:15:49 -07:00
Tanish Manku 7dcd01041e feat(shell): web build of the editor: browser entry, file picker and downloads, autosave to browser storage (M8)
src/web.rs starts the editor on a page canvas with eframe's WebRunner (WebGL2 via glow) and
provides the browser's services; platform.rs decides when: picked files go to the engine's
in-memory store and the command runs, saves and exports leave as downloads, preferences and
recovery copies live in localStorage, Web Locks tell open tabs from crashed ones, and leaving
with unsaved work asks first. The GPU stage and sound output become build cfgs that are off
on wasm. Video export and plug-in installs are dimmed in the browser with the reason.

scripts/build-web.sh and .ps1 build web/ with the wasm-bindgen CLI pinned to Cargo.lock's
version, from packaging/web/index.html. The web profile (opt-level s, stripped, renderer and
geometry at opt-level 3) gives an 8973 KB module, 3278 KB gzipped, in 41 s.
crates/engine/tests/wasm.rs runs the engine inside WebAssembly in Node (3 tests, 0.6 s).
2026-11-09 22:36:09 -07:00
Tanish Manku 3862732928 feat(shell): Eraser (E) with erase modes, Faucet and Erase Everything, and Eyedropper (I) (M7)
The Eraser sweeps the brush tip with a live preview in the stage colour, [ and ] size it, and a double-click on its tool button (or Erase Everything in its options) clears the stage at this frame after asking. The Eyedropper picks a fill (solid, gradient, bitmap) or a line into the tool style, applies it to selected shapes, then becomes the Paint Bucket or the Ink Bottle; Shift-click picks into the other swatch. New original icons; --open eraser|erasing|eyedropper for screenshots.
2026-11-09 22:18:41 -07:00
Tanish Manku 86f76dbc82 feat(engine): draw.erase with Animate's erase modes, the faucet and Erase Everything; paint.pick and paint.apply_style (M7)
The eraser sweeps the brush tip (ADR 0033) and goes into the planar merge as a fill whose regions come out empty, placed by the mode: on top (Erase Normal), between fills and lines (Erase Fills), over the lines only (Erase Lines), right above the selected fills or the fill the stroke starts on. Only raw shapes are erased; a stroke that erases nothing leaves no step (exact area and length compare). The Eyedropper picks a fill's paint (solid, gradient or bitmap, in stage space) or a line's colour, width and profile into the tool style; the Paint Bucket and the shape tools use a picked gradient where it is on the stage.
2026-11-09 22:13:26 -07:00
Tanish Manku 478c70feb8 feat(shell): Brush tool (B) with tool options, pen pressure, live preview and [ ] sizes (M7) 2026-11-09 21:20:59 -07:00
Tanish Manku 863e8af60a fix(gpu): tests and bench build with merge drawing's Shape.merge; ADR renumbered to 0032 after merge drawing took 0031 (M3) 2026-11-09 20:45:47 -07:00
Tanish Manku 02c4e1fc13 chore: merge main into the GPU stage third slice (M3) 2026-11-09 20:44:05 -07:00
BFlat e8bbc45dab Merge drawing, first slice: raw shapes cut and join as in Animate (#92)
Part of #42. ADR 0031: raw shapes cut and join on the layer (exact Bezier planar merge), Object Drawing (J), dot-pattern selection, double-click connected, drop on move, screen-pixel nudge.
2026-11-10 10:08:36 +07:00
Tanish Manku 3f3f280806 fix(shell): unit tests never start the GPU stage (M3)
With the GPU the default, app-level tests started its start-up thread; on
CI (lavapipe installed) it was still in the Vulkan driver when the test
process exited, which crashed it (SIGSEGV after all tests passed).
2026-11-09 20:03:11 -07:00