Commit Graph

13 Commits

Author SHA1 Message Date
Arthur Tazhitdinov
b540fbc6fd Refactor ContentOpfParser to simplify item handling and improve TOC parsing 2025-12-16 17:43:09 +03:00
Arthur Tazhitdinov
6750380400 Refactor TOC parsing logic to streamline cover image and NCX item retrieval 2025-12-15 20:00:54 +03:00
Arthur Tazhitdinov
496c20cba0 Merge branch 'master' into toc-parsing-fixes 2025-12-15 19:44:26 +03:00
Arthur Tazhitdinov
7e28af02d1 Enhance TOC parsing and chapter selection logic
- Update .gitignore to include additional paths
- Refactor Epub::parseContentOpf to improve NCX item retrieval
- Modify ContentOpfParser to store media type in ManifestItem
- Implement rebuildVisibleSpineIndices in EpubReaderChapterSelectionScreen for better chapter navigation
- Adjust rendering logic to handle empty chapter lists gracefully
2025-12-15 19:39:07 +03:00
Dave Allie
c262f222de
Parse cover image path from content.opf file (#24)
Some checks are pending
CI / build (push) Waiting to run
2025-12-16 03:15:54 +11:00
Dave Allie
ead39fd04b
Return -1 from getTocIndexForSpineIndex if TOC item does not exist 2025-12-13 21:17:22 +11:00
Dave Allie
c7a32fe41f
Remove tinyxml2 dependency replace with expat parsers (#9) 2025-12-13 19:36:01 +11:00
Dave Allie
69f357998e
Move to smart pointers and split out ParsedText class (#6)
* Move to smart pointers and split out ParsedText class

* Cleanup ParsedText

* Fix clearCache functions and clear section cache if page load fails

* Bump Page and Section file versions

* Combine removeDir implementations in Epub

* Adjust screen margins
2025-12-12 22:13:34 +11:00
Dave Allie
07cc589e59
Cleanup serial output 2025-12-08 22:39:23 +11:00
Dave Allie
de453fed1d
Stream inflated EPUB HTMLs down to disk instead of inflating in memory (#4)
* Downgrade miniz for stability

* Stream HTML from ZIP down to disk instead of loading all in mem
2025-12-08 00:39:17 +11:00
Dave Allie
7704772ebe
Handle nested navpoint elements in nxc TOC 2025-12-03 22:30:50 +11:00
Dave Allie
4186c7da9e
Remove debug lines 2025-12-03 22:30:13 +11:00
Dave Allie
2ccdbeecc8
Public release 2025-12-03 22:06:45 +11:00