Commit Graph
3751 Commits
Author SHA1 Message Date
Benoit Pierre 11de1afc13 otamanager: new update mechanism 2026-08-02 21:46:38 +02:00
Ahmed El Yaacoub b9e7c549db screensaver: refactor anti-ghosting flash sequence into named methods 2026-08-02 17:54:03 +02:00
Ahmed El Yaacoub 406a5e535e screensaver: fix anti-ghosting black flash breaking transparency 2026-08-02 17:54:03 +02:00
Benoit Pierre 92bb03b979 otamanager: fix http proxy handling
Only use it if it's enabled, close #15787.
2026-08-02 17:52:07 +02:00
Benoit Pierre edf3cb7677 otamanager: add zsync command debug trace 2026-08-02 17:52:07 +02:00
Jacques PERON a6b22d8fb1 HtmlBoxWidget: don't error on MuPdf failures (#15737) 2026-08-02 09:52:59 +02:00
Donie Leigh 6820d60716 Screenshoter: fix registering screenshot folder shortcut (#15776) 2026-08-01 20:13:00 +03:00
hius07 8e26ac7b57 Highlight: custom colors (#15676) 2026-08-01 20:09:33 +03:00
Commodore64user 23230cf5a0 use screenkb to call lookinputword 2026-07-24 17:47:04 +01:00
hius07 76bd77d52a menu_activate: fix bottom menu activation (#15733) 2026-07-24 18:12:38 +03:00
hius07 7243a1f147 bookmarkbrowser: persistent filters (#15711) 2026-07-21 17:24:51 +03:00
gilgulgamesh be93502dab Quickstart: teach about menu search (#15712) 2026-07-20 20:50:50 +02:00
Sai Asish Y 535061fc68 NetworkSetting: guard against missing scan result flags (#15714) 2026-07-20 20:32:05 +02:00
hius07 d542cee104 booklist: safeguard series index for sorting (#15705) 2026-07-20 16:03:06 +03:00
Ahmed El Yaacoub a1b956d621 screensaver: add default values to anti-ghosting redraws spinner (#15710) 2026-07-20 08:54:33 +02:00
Ahmed El Yaacoub d67b6373aa screensaver: improve extra flash option to fix banding (#15703)
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
2026-07-19 22:34:39 +02:00
Doy Bachtiar c7895372d6 Add id Indonesian translation to UI (#15693) 2026-07-16 17:48:09 +02:00
xxyzz 6ae320c332 Update wiktionary_stardict files (#15686)
https://github.com/xxyzz/wiktionary_stardict/releases/tag/20260715
2026-07-15 20:10:20 +02:00
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