Commit Graph
11911 Commits
Author SHA1 Message Date
Igor VelkovandClaude Opus 4.8 8a48cc4ff5 [InputText] Toggle on-screen keyboard with a lone Sym/ScreenKB tap (#15669)
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>
2026-07-12 22:20:20 +02:00
Frans de Jonge c6f6e75021 Revert "[Kindle Scribe] Add support for kindle scribe stylus events (#14908)" (#15675)
This reverts commit 9f7a0e420d.
2026-07-12 22:09:04 +02:00
hius07 5c8826a2a1 cloudstorage: add natural sort (#15662) 2026-07-11 16:45:16 +03:00
Tong 533c1612d1 Support SDL stylus input (#15344) 2026-07-11 08:55:29 +02:00
Noa Himesaka cf9c59a4a8 feat(reMarkable): Oxide/libblight support (#15611)
Companion PR to koreader/koreader-base#2417.
2026-07-09 09:27:16 +02:00
hugo2233 c49ab9f8f1 Refactor DepGraph node handling (#15659)
Behavior is unchanged.
2026-07-09 07:14:12 +02:00
Benoit Pierre 555f6e0c5f bump base (#15657)
- feat(reMarkable): Oxide/libblight support (koreader/koreader-base#2417)
- libk2pdfopt: drop unnecessary dependencies (koreader/koreader-base#2437)
- leptonica: switch to VCS archive (koreader/koreader-base#2438)
- leptonica: add missing zlib dependency (koreader/koreader-base#2439)
- xz: fix build (koreader/koreader-base#2440)
2026-07-08 21:59:04 +02:00
Frans de Jonge 7b2cdc05f2 NetworkListener: fix typo (#15656) 2026-07-08 20:49:17 +02:00
collaed 009367df7a KOSync: queue failed progress updates for retry on reconnect (#15324)
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
2026-07-08 19:27:10 +02:00
anaxonda 72d4c924a1 DjVu: preserve text-layer reading order in selection (#15298)
Fixes #15286.
2026-07-08 19:15:16 +02:00
picospuch b2a9eb0a1b fix: locale C or en_US has its own plural manipulation, the default one (#15375) 2026-07-08 19:13:36 +02:00
d0nizam 96e9e1e9cd SSH.koplugin: add force‑close toggle for stop (#15338)
* 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
2026-07-08 19:11:50 +02:00
Christo dfbe99e457 OPDSParser: handle self-closing content tags (#15515)
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
2026-07-08 19:06:33 +02:00
Frans de Jonge be7fc98452 NetworkListener: guard against auto_disable_wifi enabled by user on unsupported devices (#15655)
Closes #15397.

Also see #15183.
2026-07-08 19:05:20 +02:00
Benoit Pierre 14fcf302eb bump base (#15653)
- bump crengine: font manager tweaks and fixes (koreader/koreader-base#2427)
- LuaSocket: fix CLOEXEC flag setting in enforce-cloexec.patch (koreader/koreader-base#2428)
- djvulibre: update to 3.5.30.1-2-g69e23da (koreader/koreader-base#2430)
- sdl: update to 3.4.12 (koreader/koreader-base#2431)
- libjpeg-turbo: update to 3.2.0 (koreader/koreader-base#2432)
- fix `TARGET=linux` ARM build (koreader/koreader-base#2433)
- dropbear: update to 2026.92 (koreader/koreader-base#2434)
- luajit: update to 2.1.1783415239 (koreader/koreader-base#2435)
- openssh: update to 10.4p1 (koreader/koreader-base#2436)
2026-07-08 18:42:07 +02:00
Evan Krummel 93efd883e6 Add hall_file support to KindleTouch and KindleBasic4 (#15654)
Same as #13603 and #13615.
2026-07-08 18:41:14 +02:00
Benoit Pierre cc63764721 document: fix another background_cleanup check (#15648)
Cf. https://github.com/koreader/koreader/pull/15644#issuecomment-4901852542.
2026-07-08 12:55:51 +02:00
hius07 0d5a2724a5 QuickMenu position (#15640) 2026-07-07 17:35:25 +03:00
Benoit Pierre 0e35ffa884 document: fix crash when opening single images (#15644)
```
./luajit: frontend/document/document.lua:391: attempt to concatenate field 'background_cleanup' (a nil value)
stack traceback:
	frontend/document/document.lua:391: in function 'getFullPageHash'
	frontend/document/document.lua:413: in function 'renderPage'
	frontend/document/document.lua:534: in function 'drawPage'
	frontend/apps/reader/modules/readerview.lua:450: in function 'drawSinglePage'
	frontend/apps/reader/modules/readerview.lua:198: in function 'paintTo'
	frontend/ui/widget/container/inputcontainer.lua:91: in function 'paintTo'
	frontend/ui/uimanager.lua:1262: in function '_repaint'
	frontend/ui/uimanager.lua:1485: in function 'handleInput'
	frontend/ui/uimanager.lua:1585: in function 'run'
	reader.lua:251: in main chunk
	[C]: at 0x559b746b885b
```

Cf. #15401.
2026-07-06 22:51:25 +02:00
hius07 aa8a84bd51 Clipboard snippets (#15627) 2026-07-06 10:20:51 +03:00
Benoit Pierre 8a9d16e23d dictionaries: fix / update some dictionaries (#15641)
- fix "Wiktionary Bokmål-Svenska" URL
- drop "GNU/FDL Anglicko/Český slovník" & "GNU/FDL Německo/Český slovník"
  dictionaries: URLs are not valid anymore, and the updated Debian package
  sources don't include the final StartDict dictionaries

Command used to check:
```
curl --head --no-show-headers -s -L --out-null \
-w '%{url} %{http_code} %header{content-length} %header{etag}\n' \
$(sed -n 's/^\s*url = "\(.*\)",\?/\1/p' 'frontend/ui/data/dictionaries.lua' | sort)
```
2026-07-06 07:51:20 +02:00
Benoit Pierre 751b497848 device/generic: drop unused Device:unpackArchive 2026-07-05 22:57:20 +02:00
Benoit Pierre 8a42c46001 readerdictionary: fix & improve downloading dictionaries
- 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)
2026-07-05 22:57:20 +02:00
WarliumandClaude Sonnet 4.6 730285210c NetworkMgr: re-DHCP after Wi-Fi network switch on Kobo (#14790) (#15618)
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
2026-07-01 21:50:26 +02:00
Hackerdude f0906a41a7 kindle: Fix launch script path detection issues on older firmwares (#15625)
Fixes #15622
2026-07-01 17:08:48 +02:00
David 74a1732a78 [ReaderLink, Back] clear page links with Back key (#15613) 2026-06-30 18:02:49 +01:00
hius07 7182dda32b Highlights: note format (#15599) 2026-06-30 08:17:48 +03:00
Benoit Pierre e2d4ef3cae bump base (#15617)
- turbo: fix and trim the fat (koreader/koreader-base#2399)
- ffi/posix_h: fix regression on older glibc (koreader/koreader-base#2418)
- certifi: update to 2026.6.17 (koreader/koreader-base#2419)
- djvulibre: update to 3.5.30-1 (koreader/koreader-base#2420)
- dkjson: update to 2.10 (koreader/koreader-base#2421)
- libarchive: update to 3.8.8 (koreader/koreader-base#2422)
- luajit: update to 2.1.1782381659 (koreader/koreader-base#2423)
- sqlite: update to 3.53.3 (koreader/koreader-base#2424)
- luajit: update to 2.1.1782726002 (koreader/koreader-base#2425)
- tree-sitter: update to 0.26.10 (koreader/koreader-base#2426)
2026-06-29 20:24:52 +02:00
David 86357d12a6 [InputDialog] NT: remove separator from widget's layout (#15602) 2026-06-29 16:19:31 +01:00
Hackerdude 51b08aff13 kindle: Stop awesome regardless whether KOReader was launched from KUAL or not (#15608) 2026-06-27 22:51:29 +02:00
kerivin 1b1c0d2b9b Background cleanup over dewatermark (#15555) 2026-06-27 20:53:33 +02:00
Hackerdude 1b3d2babfb kindle: More non-standard installation fixes and default NO_EIPS_SLEEP when not launched from KUAL (#15601) 2026-06-26 21:05:40 +02:00
hius07 f5579dd5fa Disable external plugins and user-patches (#15593) 2026-06-26 18:32:34 +03:00
Grigorii Ioffe 5549f8ac6c Move kosync plugin settings into a separate file (#15591) 2026-06-26 17:07:59 +02:00
Benoit Pierre 27a8f635d6 device/generic: update Device:ping4() & Device:retrieveNetworkInfo()
- `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
2026-06-26 14:57:14 +02:00
Benoit Pierre ce99f48128 device/generic: cosmetic 2026-06-26 14:57:14 +02:00
Benoit Pierre a4aeb322c7 plugin/terminal: remove FFI cdefs
Now provided by `ffi/posix_h` too.
2026-06-26 14:57:14 +02:00
Benoit Pierre b6956cde0e kopt: fix pthread cdefs
Now provided by `ffi/posix_h`.
2026-06-26 14:57:14 +02:00
Benoit Pierre 74a360c8e7 bump base
- ffi/posix_h: updated and corrected version (koreader/koreader-base#2398)
- ffi/netinfo: new module to retrieve network information (koreader/koreader-base#2414)
2026-06-26 14:57:14 +02:00
hius07 16d97965b2 TextViewer: view html, markdown (#15588) 2026-06-26 08:38:58 +03:00
Grigorii Ioffe 49caca9481 NewsDownloader: fix for shadowing _() (#15597)
Actual fix for #15573.
2026-06-25 17:15:31 +02:00
Grigorii Ioffe 78c7c9b04d NewsDownloader: check relative urls using socket.url.parse() (#15595)
Closes #15573.
2026-06-25 17:04:14 +02:00
hius07 fe6e2b30e7 cloudstorage: fix servers order when adding new server (#15580) 2026-06-23 13:10:05 +03:00
Mickaël Schoentgen 610df09e7a feat: add dutch reader.dict monolingual dictionary (#15589) 2026-06-23 09:31:21 +02:00
Hackerdude 8b42bfbc96 kindle: fix issues when running from nonstandard location (#15579) 2026-06-23 08:14:40 +02:00
poire-z b62723bc6b bump base & crengine: Font Manager enhancements and fixes (#15587)
Includes:
- lvfntman: SetAlias cleanup
- lvfntman: synthetic small caps
- lvfntman: fix duplicated @font-face handling
- lvfntman: resurrect getFontFileNameAndFaceIndex()
- CSS: allow arbitrary font-weights
- DrawBuf: allow drawing colors inverted
cre.cpp: drawCurrentPage() set invert_colors when invert_images
provided.
Also:
feat(ffi): invert screenshots in night mode
2026-06-23 00:37:01 +02:00
Commodore64user 4d9c47bf55 correct tense 2026-06-22 23:00:59 +01:00
Commodore64user c03625c5d5 insert book_title_button only in vocab_builder widget 2026-06-22 23:00:59 +01:00
Ahmed El Yaacoub 40f34e1d09 screensaver: add option to reduce cover sleep screen ghosting (#15568)
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
2026-06-22 21:02:46 +02:00
hius07 80f0d16e56 filemanagercollection: fix removing book via file dialog (#15577) 2026-06-22 17:26:12 +03:00