Commit Graph
6644 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
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
Frans de Jonge 7b2cdc05f2 NetworkListener: fix typo (#15656) 2026-07-08 20:49:17 +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
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
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
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
David 86357d12a6 [InputDialog] NT: remove separator from widget's layout (#15602) 2026-06-29 16:19:31 +01:00
kerivin 1b1c0d2b9b Background cleanup over dewatermark (#15555) 2026-06-27 20:53:33 +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 b6956cde0e kopt: fix pthread cdefs
Now provided by `ffi/posix_h`.
2026-06-26 14:57:14 +02:00
hius07 16d97965b2 TextViewer: view html, markdown (#15588) 2026-06-26 08:38:58 +03:00
Mickaël Schoentgen 610df09e7a feat: add dutch reader.dict monolingual dictionary (#15589) 2026-06-23 09:31:21 +02:00
Commodore64user 4d9c47bf55 correct tense 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
David bb3514bdf1 flash word when starting indicator (#15571) 2026-06-21 17:29:57 +01:00
hius07 dc5cdf95bf dispatcher: rename QuickMenu actions (#15564) 2026-06-20 15:17:58 +03:00
Benoit Pierre cdd94c6f8d kindle: fix possible crash when not connected to a network but wifi is on (#15519) 2026-06-18 13:26:55 +02:00
David 33b7143223 [ReaderKeySelection] NT: add indicator overlay (#15547) 2026-06-17 19:24:46 +01:00
Nidhi 0557ada637 Add Malayalam keyboard (FUTO layout) (#15560) 2026-06-17 14:04:58 +02:00
kerivin 73182fd087 Enable 'Saturation' option if 'Color rendering' is on (#15542) 2026-06-16 19:44:44 +02:00
hius07 6c7954b5a0 page overlap: no indicator; actions (#15541) 2026-06-16 20:36:20 +03:00
Khiem Nguyen 399925003b fix(language): remove duplicate Vietnamese language entry (#15552) 2026-06-16 13:20:21 +02:00
poire-z a92dccfb39 ReaderSearch: enhanced search on CreDocuments 2026-06-16 07:38:40 +02:00
poire-z fd8bd1d8ff bump crengine: enhanced findText(); Malayalam hypnehation
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.
2026-06-16 07:38:40 +02:00
skitty 221547722b fix(cloudstorage): webdav not listing folders (#15532)
my webdav server (using [dav-server](https://crates.io/crates/dav-server/)) returns
```xml
<D:collection></D:collection>
```
instead of
```xml
<D:collection/>
```
2026-06-13 08:12:25 +02:00
Zhiqi Yao ce727e7736 Screen rotation: always show rotation mode options in file browser (#15505)
Previously rotation mode options were gated behind FileManager.instance,
which becomes nil when the Reader is opened (ReaderUI:doShowReader
explicitly closes the FileManager). This made manual rotation
inaccessible from the Reader view on all platforms, especially
noticeable on Android where hasGSensor is false and the menu otherwise
offers no way to change orientation.

Original reasoning from <https://github.com/koreader/koreader/pull/6309>:
> Before this PR we were always setting a screenmode and the checking what rotation to use, now we set rotations, and let koreader figure out what is the screenmode. (besides for the FM, which does not support landscape) now the only thing setting a screenmode is the FM.
> 
> This separates the rotation (physical) from the screenmode (portrait/landscape or H>W/W>H). I did not get into why the FM has to be portrait but if someone fixes that then the rotation and screenmode will be totally independent.
2026-06-06 21:18:10 +02:00
Frans de Jonge fa6b3cde8f [SDL,plugin/hotkeys] Process gamepad events (#15449)
Gives Hotkeys the ability to configure gamepads, at least to a degree. Advanced users might wish to use a shoulder button or a trigger as a modifier like in Tony Hawk or Devil May Cry. But in that case I suggest they might be advanced enough to make a follow-up PR as well. It's out of scope for this one anyway.

Things like deadzones might prefer to be independently configurable in the future, but then again it's a reader app.

Depends on <https://github.com/koreader/koreader-base/pull/2376>.
2026-06-06 20:56:55 +02:00
Commodore64user fb1dfebd9c add page turn event to textviewer 2026-06-06 14:34:06 +01:00
hius07 86f2f902a0 menu: search next entry (#15502) 2026-06-05 16:49:50 +03:00
hius07 e48161c166 Highlights: temporary highlight color (#15486) 2026-06-05 16:48:41 +03:00
Commodore64user 32a8c30c1f switch to single BD.mirroredUILayout call during registerKeyEvents 2026-06-04 17:41:26 +01:00
Commodore64user 25de07cab6 clear 'find in definition' search with TitleBar's close button (X) 2026-06-04 17:41:26 +01:00