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>
On devices with a physical keyboard (e.g. Kindle), the on-screen keyboard
can already be toggled while a text field is focused via Shift/ScreenKB +
Home. This adds a lone tap of the physical Sym key as an additional, more
natural trigger.
Sym is otherwise a held modifier for the symbol layer, and Input:handleKeyBoardEv
swallows a bare modifier press/release before it becomes a key event. Detect a
Sym press+release with no other key in between and surface it as a dedicated
"SymPress" key event, which InputText handles the same way as the existing
Shift/ScreenKB + Home toggle. The symbol layer (Sym+<key>) is unaffected: any
intervening key press clears the lone-tap state, so only a true solo tap fires.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
When the sync server is unreachable (offline reading, intermittent WiFi,
server down), progress updates are now queued locally instead of being
silently dropped. Queued items are drained on the next successful network
connection.
Queue behavior:
- One entry per document per day (preserves daily reading statistics)
- Entries expire after 4 weeks
- Hard cap of 200 entries as safety net
- Auth failures (401) are not queued (won't resolve by retrying)
- Queue is cleared on logout
Integration points:
- updateProgress: queues on pcall failure or non-auth callback failure
- _onNetworkConnected: drains queue before pulling remote progress
- _onCloseDocument: queues immediately if offline instead of blocking
with goOnlineToRun (avoids WiFi prompts on document close)
Fixes#9267, fixes#10678, fixes#11105
* Adds an optional setting to kill all dropbear processes when stopping the server, giving users control over whether active sessions are terminated.
* Modify signal sending to use pkill and kill
A self-closing content tag (`<content type="text"/>`) has no `">` of its own,
so the lazy `.-` in the `<content type=".-">` rewrite runs forward to the next
entry's content tag and collapses everything in between -- links included --
into a single `<content>`. luxl then parses a mangled tree: entries are dropped
and covers get paired with the wrong titles.
Normalize self-closing content tags to an empty `<content />` element before
that rewrite. Adds a regression test with a self-closing content tag between
two entries.
Fixes#15511