Commit Graph
3733 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 7b2cdc05f2 NetworkListener: fix typo (#15656) 2026-07-08 20:49:17 +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
hius07 0d5a2724a5 QuickMenu position (#15640) 2026-07-07 17:35:25 +03: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
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 86357d12a6 [InputDialog] NT: remove separator from widget's layout (#15602) 2026-06-29 16:19:31 +01: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
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
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
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
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
Commodore64user 25de07cab6 clear 'find in definition' search with TitleBar's close button (X) 2026-06-04 17:41:26 +01:00
Commodore64user 3980752af0 swap top/second rows in lookupInputWord 2026-06-04 17:41:26 +01:00
hius07 203f6aa164 Highlights: pre-highlighting prompt (#15473) 2026-06-01 08:19:10 +03:00
David c35c508be7 [TextBoxWidget] Find in definition (wiki edition) (#15356) 2026-05-31 13:52:30 +01:00
hius07 d246323ba2 Screensaver: don't load the module on unsupported devices (#15465) 2026-05-29 09:08:51 +03:00
xxyzz 148a678ba1 Add some Wiktionary StarDict files (#15451)
* Add some Wiktionary StarDict files

add files from https://xxyzz.github.io/wiktionary_stardict/
required fonts: https://xxyzz.github.io/wiktionary_stardict/fonts.html

* Remove downloaded archive file after successful extraction

delete compressed dictionary file to save space
2026-05-25 21:59:39 +02:00
Mickaël Schoentgen 6df19ceb38 feat: add turkish reader.dict monolingual dictionary (#15457) 2026-05-25 21:49:45 +02:00
Karl Bartel 6934e07920 Add WikDict bilingual dictionaries (#15456)
Adds 424 bilingual StarDict dictionaries from WikDict
(https://www.wikdict.com). #9037 requested dictionaries from both
ebook-reader-dict and WikDict; the ebook-reader-dict (reader.dict) entries
are already present, and this adds the WikDict side. Source data is
Wiktionary via DBnary; the dictionaries are licensed CC BY-SA 3.0 and hosted
at download.wikdict.com.

The entries are kept in a separate file, dictionaries_wikdict.lua, instead
of being inlined into dictionaries.lua, because:

- The list is large (424 pairs) and would dominate the hand-curated
  dictionaries.lua, making that file harder to review and diff.
- It is generated programmatically from the published dictionaries (via
  wikdict-gen's `helper.py koreader`), so it is regenerated wholesale on
  each WikDict release. Keeping it as its own file makes an update a single
  file replacement with no manual merging.

dictionaries.lua appends the entries with table.move and still returns one
flat dictionaries table, so nothing else needs to change.
2026-05-25 19:52:20 +02:00
Noa Himesaka 06c9eea0d4 feat: saturation control (#15381) 2026-05-24 08:14:27 +02:00
hius07 5e9f418559 Flat file list (no subfolders) (#15425) 2026-05-23 10:28:43 +03:00
kerivin bd1dd7dfd4 Add white threshold for paged documents (#15412) 2026-05-20 16:36:49 +02:00
David 17b9a64aed [DictQuickLookUp] bug_fix: don't mutate default_layout (#15422)
reported https://github.com/koreader/koreader/pull/15184#issuecomment-4485312065
2026-05-20 09:54:04 +02:00
oscargolding 5e86e27b4e fix: wikipedia enforced image step sizes (#15399)
Using the wikipedia enforced image step sizes to avoid 429 errors. Also
respecting the 'retry-after' field so that epub downloads are not rate
limited on retrieving images.
2026-05-19 09:46:18 +02:00
kerivin cb46108e4c Isolate PDF SMask (#15401)
Closes #7992.
2026-05-18 19:15:02 +02:00
hius07 7b4b759678 getHomeFolder() (#15400) 2026-05-18 10:27:50 +03:00
poire-z 4104265ff4 TouchMenu: allow mousewheel scrolling 2026-05-18 01:05:10 +02:00
hius07 fd986fa119 BookShortcuts: fix settings (#15392) 2026-05-17 17:03:25 +03:00
hius07 c72db24d4f Hide parent folder (#15374) 2026-05-14 07:42:34 +03:00
hius07 649a2668f6 HttpInspector: enable deleting plugin settings (#15373) 2026-05-12 20:40:05 +03:00
Francisco Riordan 5f6c1b02f8 fix: bump Lemma Greek-English Dictionary URL to v1.3.3 (#15359) 2026-05-09 08:33:31 +02:00
Francisco Riordan 5b01ba48cd feat: add Lemma Greek-English dictionary (#15357) 2026-05-08 22:06:29 +02:00
David 98cf880b17 Bug fix: ensure default_layout is up to date when generating menu (#15340)
* ensure self.default_layout is up to date when callig menu
* add spacebar key_event as requested in #15158
2026-05-06 21:14:21 +01:00
Commodore64user 8dfdbbe48f add spacebar key_event as requested in #15158 2026-05-06 14:03:23 +01:00
hius07 6eeb42f445 Sort by rating (#15327) 2026-05-06 09:24:54 +03:00
Commodore64user 2797d940bb ensure self.default_layout is up to date when callig menu 2026-05-06 02:05:12 +01:00
David ed695fe34f [DictQuickLookup] add custom button layout (#15184)
Provides an API for plugins and patches to add buttons to dictionary widget
2026-05-04 22:34:40 +01:00
hius07 76330cae5d Folder shortcuts: standard folders (#15323) 2026-05-02 09:58:22 +03:00
hius07 8a3054342b Book metadata archive (#15264) 2026-04-29 19:34:20 +03:00
David 1e0e859ba8 [Hotkeys] add single-key shortcuts (#14867) 2026-04-28 15:09:12 +01:00