Commit Graph
1179 Commits
Author SHA1 Message Date
Tanish Manku 2ac002c364 Merge outside PR #476: fix(xfl): read shape hints written as morphHintsList (M8)
# Conflicts:
#	CHANGELOG.md
2026-11-19 14:42:00 -07:00
Tanish Manku 7d65ba5618 Merge outside PR #469: fix(ui): fit stage on Hand tool double-click (M8) 2026-11-19 14:41:47 -07:00
Tanish Manku d6933e809b Merge outside PR #129: Fix Decomposed::lerp hanging on huge or non-finite rotation (M8) 2026-11-19 14:41:46 -07:00
Tanish Manku 5d3fe79746 Merge outside PR #131: Write non-finite path coordinates as 0 so saved paths reload (M8) 2026-11-19 14:41:46 -07:00
Tanish Manku 18b2c3759f Merge outside PR #132: Keep y-axis direction in Affine::decompose when x scale is zero (M8) 2026-11-19 14:41:45 -07:00
Tanish Manku da3b3166ba Merge outside PR #133: Clamp out-of-range SetProperty values in sanitize_actions (M8) 2026-11-19 14:41:44 -07:00
Tanish Manku c4483df819 Merge outside PR #140: Reject sign characters in Rgba::parse_hex (M8) 2026-11-19 14:41:44 -07:00
Tanish Manku adc234ba16 Merge outside PR #465: Keep smooth anchors smooth when bending a segment (M8) 2026-11-19 14:41:43 -07:00
Tanish Manku e73d63171f Merge outside PR #472: Draw default ovals with eight nodes instead of four (M8) 2026-11-19 14:41:42 -07:00
Tanish Manku e9eb9b6645 Merge outside PR #467: Capture document tabs in Windows guide screenshots (M8) 2026-11-19 14:41:41 -07:00
Tanish Manku 23553ffe18 Merge outside PR #468: Preserve the caller’s extraction output setting in PowerShell (M8) 2026-11-19 14:41:41 -07:00
Tanish Manku 176c6968a7 Merge outside PR #470: Resolve Windows signing paths literally (M8) 2026-11-19 14:41:31 -07:00
Tanish Manku 91de4f60f5 Merge outside PR #471: Keep guide heading anchors unique when suffixes collide (M8) 2026-11-19 14:41:31 -07:00
Tanish Manku 80c56285d8 Merge outside PR #474: Reject nonfinite CLI frame rates and export scales (M8) 2026-11-19 14:41:30 -07:00
Tanish Manku 147c1d3448 Merge outside PR #493: fix(web): use literal Windows build paths (M8) 2026-11-19 14:41:29 -07:00
Tanish Manku f445e6c264 Merge outside PR #494: fix(engine): report oversized indices without overflow (M8) 2026-11-19 14:41:29 -07:00
Tanish Manku e0e92068e1 Merge outside PR #495: fix(engine): import UTF-8 BOM preset files (M8) 2026-11-19 14:41:28 -07:00
Dylan M. Taylor b953748e3a render: share SVG and Lottie writing and native envelope (#492)
* render: share SVG and Lottie writing and native envelope

* engine: bump craft-anicraft-format for write_version and fix lottie call

* test(lottie): accept array o/i easing tangents from craft-lottie
2026-11-19 16:25:09 -05:00
Mex 0f14bcc0c4 fix(filters): accept UTF-8 BOM preset files (M8)
Follow the existing leading-BOM convention at the JSON boundary and extend the exported filter-preset round trip.
2026-11-19 22:20:56 +01:00
Mex 87e6cdc037 test(web): avoid shadowing the PowerShell profile variable (M8)
Rename the test-only profile directory variable; the actual-script release/dev regression still passes.
2026-11-19 22:19:33 +01:00
Mex 0cca5f5dbb fix(brush): accept UTF-8 BOM preset files (M8)
Apply the existing leading-BOM convention at the JSON boundary and extend the exported brush-set round trip.
2026-11-19 22:17:59 +01:00
Mex cb3ff111b5 fix(swatches): accept UTF-8 BOM JSON files (M8)
Follow the existing command-file BOM convention while preserving the raw-byte size limit and GPL parser path. Add an exported-file round-trip regression.
2026-11-19 22:15:16 +01:00
Mex f32a746366 fix(engine): report oversized SVG frame indices (M8)
Widen only diagnostic arithmetic, and cover rejection without overwriting an existing memory-backed file plus a normal export control.
2026-11-19 21:43:13 +01:00
Mex ee7f141a34 fix(engine): report oversized scene indices (M8)
Widen diagnostic-only ordinal arithmetic and add Session regressions for invalid scene targets and delete confirmation.
2026-11-19 21:40:44 +01:00
Mex 881cd625fa test(web): cover bracketed Windows build paths (M8) 2026-11-19 21:20:54 +01:00
Mex efff41e453 fix(web): use literal Windows build paths (M8) 2026-11-19 21:19:36 +01:00
Dylan M. Taylor 2cd14dee58 svg: keep object-bounds gradients for converted Q/T quadratics (#491)
* fix(svg): preserve Q/T quadratic provenance for gradient parity

* svg: keep object-bounds gradients for converted Q/T quadratics

* fix(svg): pin merged quadratic-preserving shared parser
2026-11-19 13:25:20 -05:00
Rob CoenenandClaude Opus 5.5 01ca8b7702 fix(xfl): read shape hints written as morphHintsList
Animate saves a shape tween's hints as `<morphHintsList>` on the tween's
start keyframe, one `<MorphHint startPoint="x, y" endPoint="x, y" key="0"/>`
per hint in letter order. The importer read only `<shapeHints>` (through
craft-xfl), so hints in real files were silently dropped.

Coordinates are decimal or `#` hex fixed point (signed 24.8) in units of
256 twips. Learned by observation: in the Animate-saved twins checked, the
decoded start points land exactly on edge vertices of the start shape.

A small app-local reader (`morph_hints.rs`) handles that layout and feeds
the existing ordering, limits, pairing and snapping, so both spellings map
to the same `ShapeHint`s. `shapeHints` is still read first. Malformed
values become "without a position" reports, never panics. ADR 0023 §9 gets
a dated note. The reader belongs in craft-xfl `shape_hints` eventually.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:18:48 +01:00
Dylan M. Taylor bcfea81647 chore(svg): bump craft-svg to craft-libs main (010702ee) (#473) 2026-11-18 18:15:34 -05:00
Mex af2eaf3a71 fix(cli): reject nonfinite frame rates and scales (M8) 2026-11-18 23:31:38 +01:00
NetterSilverandClaude Haiku 5.5 55d70cbea3 Draw default ovals with eight nodes instead of four
Fixes #459

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 22:22:13 +00:00
Mex c2df99baa4 test(guide): cover numbered heading collisions (M8) 2026-11-18 23:12:52 +01:00
Mex 6860bed540 fix(guide): reserve generated heading slugs (M8)
Refactor unique_slug function to ensure unique IDs are generated by checking existing keys in the seen map and incrementing appropriately.
2026-11-18 23:12:02 +01:00
Mex 8f5034dd7a fix(packaging): preserve literal signing and cleanup paths (M8) 2026-11-18 22:56:02 +01:00
Mex 97fe843488 fix(packaging): resolve Windows signing inputs literally (M8) 2026-11-18 22:43:14 +01:00
Call4han 9b277ef84e fix(ui): fit stage on Hand tool double-click (M8) 2026-11-18 16:40:22 -05:00
Mex 614c0bd568 fix(i18n): restore extraction output environment setting (M8) 2026-11-18 22:37:16 +01:00
Mex f777990bec fix(docs): capture document tabs in Windows guide shots (M8) 2026-11-18 22:32:43 +01: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
NetterSilverandClaude Opus 5.5 785cf0050c Keep smooth anchors smooth when bending a segment
Fixes #460

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:22:07 +01:00
Tanish Manku 5f94e2de20 Merge pull request #453 from storytold/m8/user-themes
feat(shell): user themes from a folder, checked for contrast (M8)
2026-11-18 07:33:25 -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 f90a3c45c1 docs: ADR 0117 (user themes from a folder), the guide, UI guidelines, roadmap, changelog and attribution (M8) 2026-11-18 06:27:11 -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 ffb5c07ec1 docs(adr): reserve ADR 0117 for user themes from a folder (M8) 2026-11-18 06:26:29 -07:00
Tanish Manku 4286606905 Merge pull request #449 from storytold/m5/audio-keyframes
feat(audio): Convert Audio to Keyframes and auto lip-sync (M5)
2026-11-18 06:23:44 -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 4488b2cdfd Merge pull request #450 from storytold/m1/pen-and-squash
feat(pen): Pen parity (break, adjust, add, delete, continue) and tweens that keep area (M1)
2026-11-18 05:34:21 -07:00
Tanish Manku cffaa42fc7 docs(guide): the command reference with layer parenting and the sound commands together (M5) 2026-11-18 04:50:07 -07:00
Tanish Manku 1c31c9959b Merge remote-tracking branch 'origin/main' into HEAD 2026-11-18 04:49:55 -07:00