The input device is autodetected by FBInk, which should hopefully mean we don't have to think about this again when it hits new devices ;).
(Supported devices were the PW6 & CS at time of writing)
Re #14461
Cache the result of `android.isColorScreen()` once and for all
(since the result is static). This fix a regression from #14505,
where `Device:hasColorScreen()` is called from a fork when the
file browser tries to generate covers, resulting in a crash:
```
… F reader.launche: thread.cc:1326] Check failed: FindStackTop() > reinterpret_cast<void*>(tlsPtr_.stack_end) …
```
* Kobo: Don't send `PowerPress` twice when fudging page turn button events for `pageturn_power`
Should help with *some* #12787 reports, but not all, since that
issue predates the PR that implemented the above feature (#13669)
* Only fudge release events, dwallow press and repeat.
Always follow your first instinct ;).
Much of this code was taken from the Kobo implementation of an auxiliary battery. The biggest difference between the Kobo and Kindle implementation is that the status file for the charging cover is not present when the cover is detached, so the check for status there will result in the file failing to read.
- ArchiveViewer: instead of using unzip and to support more formats
(only CBR & RAR for now)
- NewsDownloader & Wikipedia plugins: instead of using `ZipWriter`
- device: re-implement `Device:unpackArchive` and get rid of device
specific `untar` implementations
- readerui: instead of using unzip for document provider detection
Currently you can only toggle page turn buttons to inverted or not. This
commit adds the ability to also have an option in dispatcher to set the
value instead of just toggling.
This can be useful for profiles that want to set the value rather then
toggle.
ATM you can only toggle G sensor lock in dispatcher, this commit adds
the ability to set the lock to on or off.
This can be useful in profiles that want to set an explicit mode
instead of toggling the setting.
- Updated changelog with proper version & date.
- Updated description (based on common metadata)
- Removed duplicated files that are condensed in /usr/share/doc/koreader
Misc:
- make `frontend/device/devicelistener.lua` non executable
- make `plugins/terminal.koplugin/profile` executable
* GestureDetector:adjustGesCoordinate: Remove one layer of indirectiçon in
direction translation
That function call wrapper felt pretty unnecessary to me ;).
* GestureDetector: Translate complex gesture positions, too
i.e., if there's a start and end position, translate those, too.
Fix#13090
Problem: when you install Kiwix from FDroid or as a standalone apk (ergo not via
the Play Store) it installs as `org.kiwix.kiwixmobile.standalone`, which before
this commit isn't supported.
This commit simply just adds it as a seperate option :)