Skip to content

Patch v0.3.1 - #3

Merged
Jonathan-Schaefer-git merged 6 commits into
mainfrom
dev
Oct 5, 2026
Merged

Jonathan-Schaefer-git merged 6 commits into
mainfrom
dev

Conversation

@Jonathan-Schaefer-git

Copy link
Copy Markdown
Collaborator

What this changes

Fixes several bugs of 0.3.0

Checklist

  • dotnet build is warning-free
  • dotnet test is green
  • The TeX gates ran, or the output says SKIPPED: and I have said so below
  • New public API has a runnable example in docs/guide.md or examples/
  • CHANGELOG.md updated under [Unreleased], if this is user-visible

Jonathan-Schaefer-git and others added 6 commits October 5, 2026 18:44
Ten of fifteen Geom cases projected their own arrays at construction, against the series' scales
as they were then, while the layer's points were projected at compile time through the scales the
panel ended up with. unify, withXDomain/withYDomain and withXLog/withYLog moved the points and
left the arrays behind: a ±0.5 m error bar added to a 0–10 m line spanned 0–10 m. Live since 0.2.0.

The union is now GeomOf<'p>, generic over the space its payloads live in. Geom = GeomOf<1>
carries data with its measure spent by the typed constructor as before; Geom.project puts it on a
panel, and Figure.fs calls it with the layer's final scales beside Erase.projectXY. Baselines are
the data value zero, clamped at projection, so D50 survives a domain that widens past zero.
Geom.onSeries projects through a geom's own series, for drawing outside a figure.

Gate 1 of m4-plan.md: ten geoms x three domain-changing operations, each against an oracle built
on a series whose scales already are the final ones. Failed 28 of 30 before the fix (the two that
passed are area and bar on a log axis, where zero cannot be in the domain); 30 of 30 after. 1151
tests, all 46 baselines byte-identical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st one's

arrangeUnion took the grid from the state with the most panels, ties broken by rows, so a shot
over a 1×2 and a 2×1 state arranged against the 2×1 grid and the 1×2 state's right panel had
no region; toSceneIn drew it as nothing. Reported by review on the 0.3.0 PR (it named the other
tie-break, with the same consequence). Two tests, both failing before the fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SvgPathData.parse read a number after Z as a repeat of Z, which consumes nothing, so M0 0 Z 1
appended ClosePath forever. Reproduced as a 15 s timeout; the test runs on a worker with a
deadline so a regression fails instead of hanging the suite. Reported by review on the 0.3.0 PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NaN fails both comparisons the clamp is made of and reached the IR untouched; SVG wrote it out
and Skia's own clamp passed it to a byte conversion. A translucent value has a nearest legal
opacity and NaN has none, which is Anim's reason for validating a duration. Reported by review
on the 0.3.0 PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A formula is the public TextRun.Tex field and may come from data. On a TeX configured with
shell_escape = t, \immediate\write18{…} in one ran the command. --disable-write18 is the
spelling TeX Live and MiKTeX both accept. The gate typesets through a wrapper engine that turns
shell escape on, with a control run proving the wrapper does, so it cannot pass vacuously; it
failed before the fix. Reported by review on the 0.3.0 PR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s written

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 5, 2026 17:02

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Jonathan-Schaefer-git
Jonathan-Schaefer-git requested a lite review from Copilot October 5, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Jonathan-Schaefer-git
Jonathan-Schaefer-git merged commit a81a082 into main Oct 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants