You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/document
Aleksa Sarai 3ffb4c1692 kopt: add fallbacks for cases where kctx is not in cache
There were a handful of cases where if there was no cached kctx there
was no fallback and several KoptInterface methods would return nil,
causing issues in various parts of KOReader (this happened with the
migration to selected_text everywhere but it's unclear how that change
caused this regression).

In any case, from a correctness perspective it makes sense to have the
corresponding fallback paths to create a new kctx if we couldn't find a
cached one.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
3 years ago
..
canvascontext.lua add hasSystemFonts device property (#7535) 3 years ago
credocument.lua credocument: update getTextFromXPointers wrapper to support selections 3 years ago
djvudocument.lua Kobo/Elipsa: More fine-grained control over the amount of online CPU 3 years ago
doccache.lua DocCache: Only compute cache size once 3 years ago
document.lua Kobo/Elipsa: More fine-grained control over the amount of online CPU 3 years ago
documentregistry.lua DocumentRegistry: Downgrade refcount warnings to debug logging. 3 years ago
koptinterface.lua kopt: add fallbacks for cases where kctx is not in cache 3 years ago
pdfdocument.lua Kobo/Elipsa: More fine-grained control over the amount of online CPU 3 years ago
picdocument.lua DocumentRegistry: Downgrade refcount warnings to debug logging. 3 years ago
tilecacheitem.lua PDF written highlights: fix boxes, trash cached tiles 3 years ago