- correctly extract root-less dictionary archives (e.g. "reader.dict …"
dictionaries, close#15139), and avoid left-overs from a previous
extraction (to help in cases like #15448)
- fix extraction when a dictionary name contains characters that are
invalid for the target filesystem (e.g. the ":" in "Dictionnaire de
l'Académie Française: 8ème edition" on Kindle)
- improve download UI, including avoiding overlapping / out-of-order
dialogs ("Downloaded […]" dialog showing below the "Downloading" one)
On Kobo, isConnected is aliased to ifHasAnAddress, which returns true as
long as the interface holds any IP — including a stale lease from a
previous network. The early-return gate in turnOnWifiAndWaitForConnection
short-circuits before obtainIP() ever runs, so after switching networks
KOReader reports "Connected" while every request times out on the old
subnet's gateway.
Track the SSID a lease was obtained for (lease_ssid) and add
hasLeaseForCurrentNetwork(), which compares it against wpa_supplicant's
reported association. Guard the fast-path gates in
turnOnWifiAndWaitForConnection and doNothingAndWaitForConnection with it:
on a stale lease, release the old IP and fall through to the normal
reconnect path. lease_ssid is set in reconnectOrShowNetworkMenu (sync
connect) and connectivityCheck (async restore), and cleared when Wi-Fi
goes down or a connection is aborted.
When the backend cannot report an SSID (non-wpa_supplicant platforms),
hasLeaseForCurrentNetwork() returns true so connections are never churned
on uncertainty, preserving existing behaviour everywhere but Kobo.
Refs #14790, #14478, #14716
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GjgwQjZY2xoZPSuSXBJqv8
- `Device:ping4()`: do not use `struct icmphdr` (Linux specific),
idem with `struct iphdr`, which also need to be declared
differently depending on endianness (due to bitfields)
- `Device:retrieveNetworkInfo()`: use new `ffi/netinfo` module
Adds 'Extra flash' setting that refreshes the cover image twice after
it is shown, reducing ghosting on affected devices (e.g. Kobo Libra 2).
Fixes#12950
looking for article files. Only scans the directory once per operation.
This allows you to sort articles into subdirectories once they have been
downloaded if you want to.
Includes:
- TextLang, hyphenation: add Malayalam (ml)
- findText(): return list of ldomXRange instead of ldomWord
- findText(): implement tweakable enhanced search
- cre.cpp findText() and findAllText():
Updated to handle returned ldomXRange instead of ldomWord,
and added optional searchFlags params.
ReaderTypography: add Malayalam to the list of supported languages.