Commit Graph
1415 Commits
Author SHA1 Message Date
Rob CoenenandClaude Opus 5.5 ef01fc0b5d fix(engine): a bare .xfl's package is "." so reopening finds its tab
import_package returned an empty folder for a bare "walk.xfl", which
same_file can't resolve, so reopening it imported the package a second
time. It now returns ".", which Import::of and the tab lookup both resolve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:59:47 +01:00
Rob CoenenandClaude Opus 5.5 b474a01a27 fix(shell): an import reached through a nameless path keeps its name
Review follow-ups (ADR 0009 note):

* A bare relative "walk.xfl" has an empty package folder: it resolves as
  ".", so Save suggests an .anicraft beside the folder, not inside it.
* When the opened path has no name of its own ("walk/sub/.."), the tab and
  window title use the package folder's name instead of "Untitled".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:18:55 +01: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 837c3edfd6 Merge pull request #598 from storytold/fix/backlog-text-direction
feat(text): mixed directions read right, and letters a font lacks come from a fallback face (M5)
2026-11-23 19:03:49 -07: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 59b195bce7 Merge pull request #559 from storytold/fix/backlog-stage-tools
fix(brush): a long Brush stroke never freezes the window; Free Transform on a skewed symbol tested (M8)
2026-11-23 18:19:15 -07:00
Tanish Manku 58c116e7fb chore: merge main into fix/backlog-stage-tools 2026-11-23 17:56:13 -07:00
Tanish Manku 766b867ece Merge pull request #558 from storytold/fix/backlog-model-hardening
fix(doc): a work allowance nothing nests past, guided shape-tween outlines, and small fixes from outside (M8)
2026-11-23 17:42:46 -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 19efbd7e54 perf(text): remember the fallback faces and which letters they have (M5)
A block that keeps needing a fallback face is laid out again on every edit; asking each
listed face for each letter again opened about thirty font files a time. Measured on a
three-character block with two characters no face has: 1.0 ms a layout before, 0.09 ms after.
2026-11-23 13:11:03 -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 386c018421 feat(text): mixed directions follow the bidi algorithm, and letters a face lacks come from a fallback face (M5)
Layout resolves embedding levels with craft-text's bidi module (UAX #9), shapes each run in
stretches of one direction and one script, finds lines in reading order on shaped clusters
and then puts each line in the order it is displayed. A cluster its run's face has no glyph
for is shaped again, whole, in the first fallback face that has all of it: the listed
families first, then any installed face. Carets carry each cluster's box and the paragraph's
direction.

Rebuilds outside PRs #39 and #40 (SoldierPePe) on the styled-text layout of ADR 0085: lines
in reading order and never inside a cluster, the fallback family list, a cluster moving whole
with its marks, invisible format characters not counted as missing.

Tests run on fonts made in memory, so they are the same on every computer.
2026-11-23 13:10:54 -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 ad7c82ea24 fix(engine): an import's package is the folder itself, resolved
Review follow-ups (ADR 0009 note):

* A package reached through "." or ".." is resolved before its name and
  Save suggestion are taken, so the suggestion lands beside the folder,
  not inside it as animation.anicraft.
* Only a regular file named *.xfl stands for the XFL folder around it; a
  folder named inner.xfl is a package of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 21:07:55 +01:00
Tanish Manku 49b6331df4 Merge pull request #557 from storytold/fix/test-reliability
fix(test): reliability pass: a render-cache race fixed, the command fuzz split per start (M8)
2026-11-23 13:02:20 -07:00
Dylan M. Taylor 2cc951ca11 revert: restore scheduled release.yml dry-run on main (#597) 2026-11-23 14:44:41 -05: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
Dylan M. Taylor 9c2687dd37 ci(release): publish scheduled nightly prereleases (#593) 2026-11-23 13:16:33 -05:00
Dylan M. Taylor 7ce262d54e ci(release): forward ARTCRAFT_SERVICES_DISPATCH_TOKEN secret (#591) 2026-11-23 09:33:09 -05:00
Tanish Manku 96f22a2e65 fix(cli): the stroke bench builds for the web, with a test of its steps (M8) 2026-11-21 14:52:04 -07: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 5183081863 test(shell): Free Transform's handles on a skewed symbol, end to end (M8) 2026-11-21 14:11:41 -07:00
Tanish Manku bd127b811e feat(cli): bench --stroke measures a long Brush stroke, and --stroke-file a document's artwork (M8) 2026-11-21 14:11:41 -07:00
Tanish Manku 361decf8cc feat(shell): a long Brush stroke's outline is traced off the window's thread, the stroke shown as drawn until it is painted (M8) 2026-11-21 14:11:41 -07:00
Tanish Manku 579cd30e58 perf(shell): a selection's stipple is cut by the artwork in its own rows, not by every span above it (M8) 2026-11-21 14:11:41 -07:00
Tanish Manku dcb45b9301 feat(engine): draw.brush takes an outline traced ahead for the same stroke (M8) 2026-11-21 14:11:40 -07:00
Tanish Manku fcef993757 perf(geom): a brush stroke's field sampling is bounded, and paint already laid is skipped (M8) 2026-11-21 14:11:40 -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
Tanish Manku a18c0aded1 Merge origin/main into fix/backlog-model-hardening (M8) 2026-11-21 13:44:04 -07:00
Tanish Manku 80508758dd fix(doc): on a guided shape tween every raw outline rides with the fill it edges (M5) 2026-11-21 13:43:52 -07:00
Tanish Manku 2df7775907 Merge pull request #525 from storytold/docs/principal-review
docs(review): principal-engineer review of AniCraft's own decisions, with seven fixes (M8)
2026-11-21 13:41:22 -07:00
Tanish Manku a812c1c9e7 Merge pull request #238 from jayzed80: shape-tween strokes at junctions, dashed and profiled runs, and along a motion guide (M5) 2026-11-21 13:32:18 -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 d9b8bcadd1 feat(engine): exports, info and the MCP render say when a frame's artwork was left out (M8) 2026-11-21 13:28:27 -07:00
Tanish Manku 1a9b44da8f fix(doc): one work allowance for layers, outlines, lookups and the player's step, and frames that say when artwork is left out (M8) 2026-11-21 13:16:44 -07:00
Tanish Manku eae761cacb test(engine): keep #500's link test to the lines it adds (M8) 2026-11-21 13:10:59 -07:00
Tanish Manku b9abf659f4 Merge pull request #500 from FredApps: a test that linked SVG artwork survives export and re-import (M8) 2026-11-21 13:08:53 -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 740cf824c6 docs: the reliability pass in the changelog and roadmap (M8) 2026-11-21 13:06:46 -07:00
Tanish Manku 654e4efbe4 test: polling deadlines are a minute, not two seconds; the stroke test skips work it never read (M8) 2026-11-21 13:06:27 -07:00
Tanish Manku 26c54d7471 test(engine): the command fuzz is one test per start, spread over the runner's threads (M8) 2026-11-21 13:06:26 -07:00
Tanish Manku 5c4e3d5bf8 fix(render): a document put aside keeps no pictures that were still being drawn (M8) 2026-11-21 13:06:26 -07:00
Tanish Manku 60ff0d83af Merge pull request #233 from Silvertree2010: keep alpha in a colour's hex form (M8)
# Conflicts:
#	crates/render/src/lottie.rs
2026-11-21 13:01:59 -07:00
Tanish Manku f21016222c perf(geom): Vec2::length takes hypot only where the squares leave f32 (M8) 2026-11-21 13:01:43 -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 817c5e3197 Merge pull request #130 from Silvertree2010: a test for SVG path numbers past f32 (M8) 2026-11-21 12:59:16 -07:00