The gyro translation hooks run on events from every open input fd, so
now that ExternalKeyboard can attach keyboards on Kindle (#15248), a
hotplugged device that reports EV_ABS:ABS_PRESSURE (e.g. a keyboard
with a digitizer collection in its HID descriptor) can flip the screen
into the opposite landscape, bypassing both rotation locks (the
gsensor lock only checks the orientation axis, and both landscape
modes share it).
Remember the fds opened by the rotation device scan and have the hooks
ignore ABS_PRESSURE events from any other fd. ev.fd requires the
koreader-base counterpart; until the base bump this is a no-op.
Signed-off-by: Lucas Zampieri <lcasmz54@gmail.com>
Including the archive dir in the result of Wallabag:getLocalArticles
causes all archived articles' statuses to be synced with Wallabag every
time. That leads to an increase in sync times from seconds to minutes
(or even more if one's archive is larger than hundreds…).
The fix is simple: skip the archive dir when scanning.
(As a side effect, this allows one to organise their archive dir using
subdirs, which is similar to the motivation of the PR that broke this…)
Fixes: 896646bf8b ("Reworked the Wallabag plugin to recursively scan the download directory (#15558)")
Fixes: https://github.com/koreader/koreader/pull/15558#issuecomment-5136923551
- [fix] blitfuffer.c: prevent SIGFPE in large anti-aliased rounded corners (koreader/koreader-base#2454)
- fix(mupdf): update annotations and fix BGR check (koreader/koreader-base#2457, close#5010, close#12186)
- posix: rework read / write API (koreader/koreader-base#2458)
- base/cre: no need to include "crengine.h" (koreader/koreader-base#2460)
- cmake: use `CMAKE_COLOR_DIAGNOSTICS` (koreader/koreader-base#2461)
Replace the re-flash approach (which caused banding) with a redraw
approach that closes and redraws the sleep screen widget between flashes.
Also make flash count and delay configurable via a spinner widget, and
calculate suspend_wait_timeout dynamically based on the configured values.
Fixes#15702
* pdfdocument: rename deleteMarkupAnnotation call to deleteAnnotation
Follows the koreader-base rename of the subtype-agnostic delete helper
(pdf_delete_annot) from deleteMarkupAnnotation to deleteAnnotation.
Companion to koreader/koreader-base#2444.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* bump base
- mupdf: expose ink annotation support in the FFI layer (koreader/koreader-base#2444)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>