Commit Graph
456 Commits
Author SHA1 Message Date
Tanish Manku a18c0aded1 Merge origin/main into fix/backlog-model-hardening (M8) 2026-11-21 13:44:04 -07:00
Tanish Manku c7d2fdb6d5 feat(stage): the status bar says when the frame shown has artwork left out (M8) 2026-11-21 13:32:05 -07:00
Tanish Manku 0000ba2c4b fix(doc): Rgba::to_hex stays opaque; to_hex_alpha is the form that reads back (M8) 2026-11-21 13:08:39 -07:00
Tanish Manku 2fb9cfc04e Merge pull request #486 from hrb9: private-use language tags are not right-to-left (M8) 2026-11-21 12:59:16 -07:00
Tanish Manku b5e90e1d77 test(architecture): the layering check reads target and per-dependency tables (M8) 2026-11-20 21:09:20 -07:00
Tanish Manku 27a20a3dfd fix(tabs): History picks and Save As Command stay with their document (M8) 2026-11-20 21:09:20 -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 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 de8688ba20 feat(export): embedded glyph outlines for dynamic text fields in the HTML page, with the fsType licence check (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku 472e3972ae feat(fields): the change event in actions.set and the Actions panel; end-to-end Test Movie test (M5) 2026-11-20 15:07:31 -07:00
Tanish Manku 72fd12b4c2 feat(text): edit a text's path in place with the Subselection tool; lines on a path tested end to end (M5) 2026-11-20 15:07:30 -07:00
Tanish Manku bcbabf0938 feat(text): several lines on a path and editing a text's path with the point commands (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
Tanish Manku 8993a6011f feat(cli): mcp refuses to start without --automation-read-root and --automation-write-root; the bridge carries them to the window (M8) 2026-11-20 06:18:05 -07:00
Tanish Manku 8fb6f92203 docs: changelog and roadmap for the second issue batch; font names marked exempt (M8) 2026-11-20 06:03:26 -07:00
Tanish Manku 464fb4a485 fix(ui): names in scripts the interface's fonts lack get a face of this computer (M8)
Inter, JetBrains Mono and egui's own fonts have no Japanese, Chinese, Korean,
Arabic, Thai or Indic letters, so text in them showed as empty boxes in the Movie
Explorer, the timeline, the Library and Properties, while the stage drew it.
Each frame the painted text is checked for characters no interface font has; a
background thread then finds an installed face that has them (the system's own
interface faces first, ordered by the system's language for Han characters) and
it is added after every other font. Nothing loads until such text is shown; at
most 6 faces of at most 48 MB, each character looked up once.

Also adds the docsettings screenshot state.

Fixes #482
2026-11-20 06:03:18 -07:00
Tanish Manku cdef1932d4 fix(stage): a moved raw selection merges when it is deselected, not when the drag ends (M8)
A fill or stroke dragged onto another cut it the moment the mouse was let go,
while still selected. In Animate it cuts nothing until the selection lets go of
it, so it can be moved on, or back. The editor now floats a moved selection
(draw.float: whole, on top, as a paste already was) and the drawing takes it in
when it is deselected; undo takes back the move and the cut together. draw.drop
stays for scripts. ADR 0122 amends ADR 0031.

Also regenerates the guide's command and shortcut reference (draw.float,
Ctrl+J for Document Settings, all_layers on Remove Frame and Clear Keyframe).

Fixes #487
2026-11-20 06:03:18 -07:00
Tanish Manku 624745de41 fix(timeline): Shift+F5 and Shift+F6 with no frame selection act on every layer (M8)
F5 with no frame selection extends every layer at the playhead, but Shift+F5 took
the frame off the active layer only, and Shift+F6 cleared only its keyframe.
timeline.remove_frame and timeline.clear_keyframe take all_layers, which the
editor sends when no frames are selected; the playhead steps back when its frame
is removed, so the key can be held. The question before artwork is lost counts
every layer the key acts on.

Fixes #438
2026-11-20 06:03:18 -07:00
Tanish Manku 541d2b170b fix(app): Modify > Document Settings opens a dialog (M8)
The menu item ran doc.set_stage with nothing to set, so nothing happened. It now
opens Document Settings (stage size, frame rate, stage colour; OK is one undo
step, Cancel changes nothing), with Animate's Ctrl+J. Headless, the command takes
the values as before.

Fixes #505
2026-11-20 06:03:18 -07:00
Tanish Manku 51e27953e2 fix(timeline): a long layer name is cut before the row's toggles (M8)
A layer named after a long file (an imported sound) drew its name under the eye,
lock and outline toggles. The name now ends in an ellipsis where they begin.
The other half of #440, the side panels growing with a long name until the window
could not be used, was fixed by the narrow-panel work (ADR 0087): with a 110
character sound name the docks keep their width.

Fixes #440
2026-11-20 06:03:18 -07:00
HagaiBA fbb76cb9c3 Merge remote-tracking branch 'origin/main' into feat/hebrew-locale-prep
# Conflicts:
#	src/i18n/tests.rs
2026-11-20 14:19:44 +02:00
Tanish Manku d7754ef9f4 fix(theme): scroll handles toned down at rest, still in their own lane (M8)
The always-shown bars (#483) took the text colour at full strength, striping the dark theme with
white. They now rest at 45 % (about 3:1 against the panel, a control's contrast), brighten under
the pointer and while dragged, and still take a lane as wide as the bar. egui applies handle
opacity only to floating bars, so the bar floats with a full-width allocated lane; the guideline
test now checks that lane and the bar's visibility at rest rather than the flag.
2026-11-20 04:57:57 -07:00
Tanish Manku 8835f27ca2 fix(timeline): the header's new fields fit, its toolbar keeps a thin scroll bar, and the reference pages list the new commands and keys (M8) 2026-11-20 04:12:15 -07:00
Tanish Manku ac1eb2d6a8 feat(colour): the picker's top row shows the swatch under the pointer, one button swaps palette and mixer, and the palette is in the order artists know (#432, #434, #435, #437) (M8) 2026-11-20 04:12:15 -07:00
Tanish Manku 8ed4122a6a fix(ui): scroll bars are always shown, in their own lane and wide enough to grab (#483) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku 40937fac69 fix(menus): with one menu open, pointing at another title opens it (#455) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku ab583b3da7 feat(shell): every panel opens and closes from the keyboard, and F4 hides them all (#456) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku 587d9c7839 feat(timeline): the current frame and the frame rate are fields in the timeline header (#462, #461) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku 51a6cbdf8b feat(export): Export SVG Sequence, one SVG file per frame (#504) (M8) 2026-11-20 04:12:14 -07:00
Tanish Manku f73d319f14 chore: merge main into fix/outside-batch-core-2 2026-11-20 02:12:49 -07:00
Tanish Manku cdce1f52f4 chore: merge main (data tables, video import) into the second outside features batch (M8) 2026-11-20 01:15:42 -07:00
Tanish Manku 577054a3be Merge origin/main (video import, data tables) into the outside batch (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-19 19:13:22 -07:00
Tanish Manku 9ea84dad3a chore: merge main (video import) into data tables (M6)
Bindings apply after the reference video is placed, where main now unwraps the layer's shown
elements; command lists keep both sides' entries.
2026-11-19 15:32:59 -07:00
Tanish Manku c5c73ace34 fix(a11y): an eight-node oval is still read as an Oval (M8)
#472 gives the Oval tool eight arcs; the stage's screen-reader names
knew an oval by its four, so a new oval was announced as a Shape.
2026-11-19 15:13:38 -07:00
Tanish Manku 5a777bac61 fix(trace): bound the areas a trace grows, with numbers, credits and docs for the outside batch (M8)
Follow-up to outside PRs #489, #404 and #486. Trace Bitmap counts areas of colour while it grows them and stops at 2,000,000 with one sentence: a 4096 x 4096 image of noise at threshold 1 made 16.7 million regions, each with an adjacency map (gigabytes). Measured in release: photo-like 1024 px 50 ms, 2048 px 225 ms, 4096 px 0.85 s; noise 2048 px at the defaults 1.9 s. Adds --open tracebitmap for screenshots, the ATTRIBUTION row for the tracer, AUTHORS, CHANGELOG credits, the roadmap's honest status and the guide's limits.
2026-11-19 15:08:43 -07:00
Tanish Manku 217cb3453b fix(i18n): keep the i18n files' formatting, credit Noto Sans Hebrew, and say what the face is for (M8)
Follow-up to outside PR #486: restores the untouched lines rustfmt rewrapped (READY and the test lists other tracks edit), renames the Hebrew test for what it checks (never offered yet), checks Georgian still draws with the Hebrew face behind it, adds the ATTRIBUTION row, and words the docs for what the face does today: Hebrew letters in names, not an interface language.
2026-11-19 14:44:15 -07:00
Tanish Manku 362a276d4c Merge outside PR #489: Trace Bitmap and Convert to Bitmap (M8) 2026-11-19 14:40:08 -07:00
Tanish Manku 48ea68a58e Merge outside PR #486: Hebrew font, iw normalization and RTL direction prep (M8, ADR 0040) 2026-11-19 14:40:07 -07:00
Tanish Manku 14345b5bfc Merge outside PR #404: Improve raw artwork selection visibility (M1)
# Conflicts:
#	src/stage.rs
2026-11-19 14:40:05 -07:00
HagaiBA 6b2f21f047 fix(i18n): return false for private-use-only x-* tags in is_rtl_code 2026-11-19 23:39:38 +02:00
Tanish Manku f80e11f75d Merge remote-tracking branch 'origin/main' into HEAD 2026-11-19 14:26:54 -07:00
HagaiBA 5b69fa035c fix(i18n): inspect only RFC 5646 script position in is_rtl_code 2026-11-19 22:40:09 +02:00
HagaiBA cddc15092b fix(i18n): keep Hebrew out of ready_codes until bidi exists and respect script subtags 2026-11-19 20:58:29 +02:00
Silvertree2010 a2f7def6e5 feat(modify): Trace Bitmap and Convert to Bitmap (#463) 2026-11-19 17:05:48 +00:00
HagaiBA 8f13fb08fa feat(i18n): embed Noto Sans Hebrew, offer Hebrew locale, and expose RTL direction helper 2026-11-19 18:11:32 +02:00
HagaiBA 163cc0c24f feat(i18n): normalize legacy iw locale tags to Hebrew (he) 2026-11-19 11:47:36 +02:00
Call4han 9b277ef84e fix(ui): fit stage on Hand tool double-click (M8) 2026-11-18 16:40:22 -05:00
FredAppsandDylan M. Taylor 4a75c49e3b refactor(svg): read SVG text and path data through craft-svg (#386)
* refactor(svg): read SVG text and path data through craft-svg

SVG import now decodes its bytes with craft-svg (SVGZ, UTF-16 and Latin-1,
within the shared size limit) and refuses entity bombs, very wide elements
and deep nesting with craft-svg's guards before anicraft_xml builds a tree.

Path data (SVG import, the path.d and motion path commands, the interface
icons) is read by craft_svg::path_data. anicraft-geom keeps only the
elliptical-arc-to-cubic geometry; its own tokenizer is removed.

craft-svg is pinned to craft-libs main 57288eda.

Refs storytold/craft-libs#778, storytold/craft-libs#789

* refactor(svg): pin craft-svg to #1848 and parse colours through it

craft-svg is now at craft-libs main b836a718 (#1848), with default features
off, so the lock no longer pulls vectorcraft or the image codecs. Colours
go through parse_color_alpha; transparent stays in the app because the
shared parser rejects it. Percentage rgb channels follow the shared
parser's 8-bit rounding (50% is 128/255).

* fix(svg): clip out-of-range rgb() and bound decoded text

parse_color_alpha rejects rgb(300,0,0); CSS clips that to red, and so
did the previous local parser. If the shared parser fails, clip rgb()
channels and try once more. Also refuse text that grows past the 64 MiB
limit after Latin-1 or UTF-16 decoding, which svgz::text does not count.

* refactor(svg): pin craft-svg to #1878

craft-svg is now at craft-libs main c7a872e2 (#1878), which bounds the
entity-declaration scan and resets smooth-control history after Z.
default-features stays false. The other craft-libs pins are unchanged.

* fix(svg): bound rgb() components and emit integer channels

clipped_rgb now stops at a fifth component instead of collecting an
unbounded comma list, and number-form channels are retried as integers
so a value such as 127.5 is accepted by the shared parser.

* fix(svg): finish parser routing and reject missing moveto

Route the newer Continue Path entry point through the shared adapter. Require an initial moveto and assert precise preflight refusal variants. Focused geom/SVG tests: 137 + 31 passed. Quadratic gradient parity remains a separate merge blocker.

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-18 15:14:56 -05:00
Tanish Manku 34afad8f20 fix(shell): a needless borrow, and a widget id parameter not named like a cryptographic salt (M6) 2026-11-18 09:19:51 -07:00
Tanish Manku ffd8abe510 feat(data): data tables that drive animation: tables in the Library, bindings applied in evaluate, bake, data.* commands and the shell (M6)
Numeric tables kept in the document (CSV, TSV through craft-csv, JSON), bindings of a column to a symbol instance's x, y, scale, rotation, alpha or the frame a graphic shows, applied purely in evaluate; Bake to Keyframes; a table viewer and a Data section in Properties.

Measured (test profile, Windows 10): import of 100 000 rows x 10 columns from 3.2 MB of CSV in 63 ms; evaluate of 200 instances 15 us unbound, 82 us with 200 bindings on a 1 000-row keyed table; bake of those 200 instances in 4.9 ms.
2026-11-18 08:50:41 -07:00