Skip to content

refactor: make reader invariants and fallbacks explicit - #1142

Merged
andiwand merged 2 commits into
mainfrom
review/124-explicit-reader-invariants
Oct 6, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/124-explicit-reader-invariants

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Pass validated Type3 data into the glyph renderer, keep CFB traversal checks at the loop boundary, and give fixed XML attribute names null-terminated types. Make intentional unsupported-operation fallbacks explicit and remove unnecessary copies and an unused forward declaration.

Validation: targeted document, spreadsheet, container, PNG and PDF extractor tests pass; changed implementation files pass LLVM 22 clang-tidy with the unrelated inheritance checks excluded. Existing coverage is reused.

@andiwand
andiwand force-pushed the review/123-formula-analysis branch from 0fcf423 to 034c1cb Compare October 6, 2026 13:15
Base automatically changed from review/123-formula-analysis to main October 6, 2026 13:17
andiwand and others added 2 commits October 6, 2026 15:17
The comments at the OOXML relationship and number-format fallbacks said
why the code continues. The rewrite only repeated the continue, so the
original reasons stand above it again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxyTMutqSUJRGfxA8CyzMc
@andiwand
andiwand force-pushed the review/124-explicit-reader-invariants branch from 717f6ba to c60c215 Compare October 6, 2026 13:19
@andiwand
andiwand merged commit 8161ece into main Oct 6, 2026
23 checks passed
@andiwand
andiwand deleted the review/124-explicit-reader-invariants branch October 6, 2026 13:27
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.

1 participant