Xteink-X4-crosspoint-reader/lib/Epub/Epub
Dave Allie f264efdb12
Extract EPUB TOC into temp file before parsing (#85)
## Summary

* Extract EPUB TOC into temp file before parsing
* Streaming ZIP -> XML parser uses up a lot of memory as we're
allocating inflation buffers while also holding a few copies of the
buffer in different forms
* Instead, but streaming the inflated file down to the SD card (like we
do for HTML parsing, we can lower memory usage)

## Additional Context

* This should help with
https://github.com/daveallie/crosspoint-reader/issues/60 and
https://github.com/daveallie/crosspoint-reader/issues/10. It won't
remove those class of issues completely, but will allow for many more
books to be opened.
2025-12-21 17:08:34 +11:00
..
blocks Move to smart pointers and split out ParsedText class (#6) 2025-12-12 22:13:34 +11:00
parsers Extract EPUB TOC into temp file before parsing (#85) 2025-12-21 17:08:34 +11:00
EpubTocEntry.h Extract EPUB TOC into temp file before parsing (#85) 2025-12-21 17:08:34 +11:00
FsHelpers.cpp Move to smart pointers and split out ParsedText class (#6) 2025-12-12 22:13:34 +11:00
FsHelpers.h Move to smart pointers and split out ParsedText class (#6) 2025-12-12 22:13:34 +11:00
htmlEntities.cpp Public release 2025-12-03 22:06:45 +11:00
htmlEntities.h Public release 2025-12-03 22:06:45 +11:00
Page.cpp Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
Page.h Bump page file version 2025-12-13 00:42:17 +11:00
ParsedText.cpp Build out lines when parsing html and holding >750 words in buffer (#73) 2025-12-21 13:43:19 +11:00
ParsedText.h Build out lines when parsing html and holding >750 words in buffer (#73) 2025-12-21 13:43:19 +11:00
Section.cpp Rename Screens to Activities and restructure files (#44) 2025-12-17 23:32:18 +11:00
Section.h Small code cleanup (#83) 2025-12-21 15:43:53 +11:00