mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-04 13:03:19 -05:00
* fix(reader): bound malformed-object load diagnostics (#2670) * fix(reader): share diagnostic budget across eager load paths (#2670) * M1: share diagnostic budgets through compressed Length lookups * M1: share warning budgets across encrypted object streams * M1: count encrypted stream failures and bound lookup warnings * #2670: document bounded reader diagnostics and regressions * M7: the Preferences language test opens the app menu on macOS On macOS the in-window menu bar takes the Mac layout (Target::current() in menus.rs), which moves Preferences out of Edit into the app menu as Settings…. The test opened Edit and found no Preferences row, so it failed on every macOS run. CI runs the tests only on Ubuntu and Windows, so it never saw this. The test now opens the menu that holds Preferences on the platform it runs on: the PdfCraft app menu and its Settings… row on macOS, Edit and Preferences elsewhere. The Windows and Linux path is unchanged, and so is the app. * M7: a doc comment on the Preferences language test Says what the test checks and where each platform keeps Preferences, for the docstring coverage check. * M7: a doc comment on the Ukrainian Preferences test The doc comment added above the next test touches this one too, so CodeRabbit's docstring check counts it. * M7: doc comments on the neighboring language and state tests Each doc comment's context reaches the test above it, so CodeRabbit's docstring check counts those too. * M14: the comments panel lays out only the cards in view (#5488) With more than 100 comments, a card or page header out of view that was measured at the current width only takes up its height instead of being laid out every frame. The selected card is always drawn, so it still scrolls itself into view. Shorter lists are laid out whole and keep every card in the accessibility tree. The 500-comment panel in tests/perf.rs drops from about 23 ms to 5 ms per frame locally, well inside the 40 ms budget it overran on CI. * ci: retrigger checks after the GitHub Actions outage --------- Co-authored-by: Eric Kaden <[email protected]> Co-authored-by: Perchenko Anton <[email protected]> Co-authored-by: Lcoding15 <[email protected]> Co-authored-by: Anton Pepperok <[email protected]> Co-authored-by: PerchAnton <[email protected]>