Also: minor revamp of the setting handling by having
onToggleFloatingPunctuation() accepting nil/true/false/0/1
and being the sole manager of self.floating_punctuation.
Fixes 2 cases where we could get stuck in an exepected state:
- if onHold would get us nothing to act on, we would stay stuck
in "hold" state (until a next hold) and taps for page turn
would not work
- if text selection would get us some text (ie. some punctuation)
that would be stripped to an empty string, we would just not
do the lookup, but the selection would stay: best to do that
lookup and get a "no result" window, that when closed would
do the normal cleanup.
- don't truncate version (stop removing arguably the most important part)
- add `macos` to the name to avoid confusion with other artifacts
- add deployment target too
- add missing requirements (that would normally be already installer or
transitively installed by other requirements on most distributions)
- drop perl (no longer needed since the switch from OpenSSL to LibreSSL)
- fix SDL3 Ubuntu requirements
- add instructions for OpenSUSE
Creating the cover image delays rotation a little bit (half a second,
even if cached), although it could be several seconds on some PocketBook
devices since #14985 which synchronously invokes `sync` after creating
the cover.
To work around this, skip creating the image in the onSetRotationMode
event hook if "Rotate image" is disabled as the resulting image would be
exactly the same. The speedup is noticeable even if the cover cache gets
hit.
(The issue with synchronous `sync` taking several seconds will be fixed
later once we figure out whether any PocketBook devices actually need
the `sync` or not.)
Related: https://github.com/koreader/koreader/issues/15177
Related: https://github.com/koreader/koreader/pull/14985
Includes:
- CHM: improve Chinese encoding handling
- renderFinalBlock(): fix background color propagation among inlines
- first-letter: resets some CSS, ignore invisible, stop on <br/>
- CSS: support for pseudo element ::first-line
- CSS: add support for float/clear: inline-start/inline-end
- lvfntman, lvdrawbuf: add COLR v0 color font rendering support
Also add style tweaks to disable first-letter and first-line.
Adds in-definition search to DictQuickLookup relaying on MuPDF's word-matching implementation, uses tap handling for navigation by allowing temporary disable/restore of Tap events.