mirror of
https://github.com/readest/readest.git
synced 2026-11-29 19:02:28 +00:00
crengine 137cba4 writes [1] on every step only for books opened at DOM version 20260812 or later. Books KOReader opened before keep their older version and the unindexed form, so both forms stay in use. The oracle script takes the DOM version as a fourth argument and checks that crengine reads each pointer the same with its [1]s dropped, the form Readest writes. New fixtures for the four oracle books were dumped from the KOReader emulator with 137cba4 cherry-picked, at 20260812. The 20240114 dumps from the same build match the committed fixtures exactly. The EPUB oracle now pulls through getCFIFromXPointerRange, the path the sync hooks use. Verified: - oracle test with this PR's xcfi.ts: 8 passed - with main's xcfi.ts: the 4 new fixtures fail "KOReader -> Readest: 707/707, 108/108, 19/19, 160/160 mismatches"; the 4 old ones pass - unindexed_mismatches is empty in every new fixture - xcfi and kosyncProgress suites: 98 passed; pnpm lint and pnpm format:check clean Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build-koplugin.mjs | ||
| build-localsend-bins.mjs | ||
| extract-i18n.js | ||
| lint-koplugin.mjs | ||
| test-koplugin.mjs | ||
| xpointer-oracle.lua | ||