11947 Commits
Author SHA1 Message Date
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 bf970e9291 fix: missing saturation in copyPageState (#15455) 2026-05-25 18:52:44 +02:00
hius07 b984f94f76 DocSettingTweak main: path patterns (#15440) 2026-05-25 12:32:40 +03:00
AndyHazz f6fede38fe ReadCollection: fix per-collection write filter typo on removeItem (#15454)
self:write({ collection_name = true }) used the literal string
"collection_name" as the table key instead of the variable's value.
write() consults the table as a per-collection allowlist
(updated_collections[coll_name]), so the gate never matched any
real collection and the per-collection saveSetting branch was
silently skipped -- the in-memory removal didn't reach disk.

Stock FM avoids the path (the collection dialog uses
addRemoveItemMultiple + full write()), so end-users have not been
impacted. Plugins calling removeItem(file, name) directly do hit
it. Fixes #15453.
2026-05-25 11:32:14 +02:00
Benoit Pierre 59bf0ec9c2 mxcfb: fix kobo FFI cdecls (#15446)
Cf. koreader/koreader-base#2375, close #15444.
2026-05-24 16:29:04 +02:00
Noa Himesaka 06c9eea0d4 feat: saturation control (#15381) 2026-05-24 08:14:27 +02:00
Benoit Pierre bc0ef5a078 Drop remains of non-functional Ubuntu Touch target (#15442)
In favor of the standard Linux build with koreader/koreader-base#2373.

Close #4960.
2026-05-23 15:17:55 +02:00
hius07 ed773c6f01 Profiles: auto-executing list; path patterns (#15439) 2026-05-23 10:29:14 +03:00
hius07 5e9f418559 Flat file list (no subfolders) (#15425) 2026-05-23 10:28:43 +03:00
Benoit Pierre 1bad43518a sdl: better init trace (#15438)
Cf. koreader/koreader-base#2372.
2026-05-22 16:01:26 +02:00
Benoit Pierre ed1a2c09ec doc: update build requirements (#15437)
- curl is not needed anymore
- update requirements for generating FFI cdecls
2026-05-22 15:53:47 +02:00
Benoit Pierre 3e09de1e67 bump base (#15436)
- make: change android targets to `android-xxx` (koreader/koreader-base#2357)
- ffi-cdecl: new implementation based on tree-sitter (koreader/koreader-base#2360)
- make: minor cleanup (koreader/koreader-base#2368)
- use certifi for CA certificates + prefer wget over curl (koreader/koreader-base#2369)
- ci: check FFI cdecls on all platforms (koreader/koreader-base#2370)
- luacheck: align with koreader's configuration (koreader/koreader-base#2371)
2026-05-22 15:11:03 +02:00
Benoit Pierre 540c94bfda luacheck: minor configuration cleanups
- drop < 0.24.0 (2020) setting
- explain all disabled warnings
2026-05-22 08:41:27 +02:00
hius07 676b26fc4c QRClipboard main: fix extending highlight to sentence (#15431) 2026-05-21 18:51:39 +03:00
poire-z 621dff830b bump base & crengine: support for initial-letter, and other fixes (#15429)
Includes:
- fix GCC 16 warnings (-Wunused-but-set-variable)
- ldomXRange::getRangeText(): newline on <br/>
- createXPointer(pt)/getRect(): use formatter src->t.text
- getRect(): unify one-char-long word width handling
- CSS ::first-letter: use non-letter char if no letter in first text node
- CSS ::first-line: properly handle inline-block
- createXPointer(pt): return source text node on pseudoElem[FirstLetter]
- getSegmentRects(): compare .bottom additionally to .top
- lvfntman: add getCapHeight()
- CSS initial-letter: add CSS parsing and style slot
- CSS initial-letter: render ::first-letter via inline-box

Also includes:
- MuPDF: check if page has smask before applying it

credocument: fix call cache statistics
2026-05-21 00:57:11 +02: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
Benoit Pierre baf14f456f make: drop duplicate AppImage stuff 2026-05-20 00:51:23 +02:00
Benoit Pierre cfd35da5fe bump base
- KOPTContext: add white threshold (koreader/koreader-base#2363)
- miscellaneous cleanups (koreader/koreader-base#2365)
- make: add support for $(NINJA_GOALS) + AppImage helpers (koreader/koreader-base#2366)
2026-05-20 00:51:23 +02:00
Frans de Jonge b83b24307d ReaderHighlight: clear selection after showing OCR infomessage (#15213)
Fixes #15209.
2026-05-19 22:50:09 +02:00
hius07 21ead54aaf CloudStorage: save 'upload folder' (#15408) 2026-05-19 17:04:26 +03:00
hius07 a8336db203 Statistics main: fix pic documents; enable deleting settings (#15387) 2026-05-19 17:03:52 +03:00
Kulllerkeks 7f51689651 Add support for Pocketbook Era Lite (#15415) 2026-05-19 15:46:18 +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
Frans de Jonge 659a649732 Bump base (#15411)
* Support SDL3 pen events (koreader/koreader-base#2351)
* dropbear: update to 2026.91 (koreader/koreader-base#2359)
* Isolate PDF SMask (koreader/koreader-base#2361)
2026-05-18 17:58:07 +02:00
Mihai Vasiliu 56e5c42fc9 Increase viewport for PB743K3 (#15410)
The viewport introduced in #11302 is a bit conservative and as a result, after opening KOReader menus, some artifacts remain on the right screen margin as black bars, which are disturbing.

Solution: Increase the viewport until no artifacts can be seen and also make sure book is not rendered behind the screen bezel.
2026-05-18 17:37:22 +02:00
hius07 7b4b759678 getHomeFolder() (#15400) 2026-05-18 10:27:50 +03:00
poire-z 93170259b1 Highlighting: avoid crash on PDF when nothing selected
Oversight in 148449df6.
2026-05-18 01:05:10 +02: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
AndyHazz f37f66c58b plugins/calibre: preserve author_sort in slim metadata (#15398)
Calibre's author_sort field carries the curated "Surname, Forename"
form for each author -- distinct from the display string in authors,
and the only reliable way to get surname-ordering right for compound
names, particles, and inverted-naming cultures (CJK, Hungarian).

slim() currently strips this field when writing the device-side
.metadata.calibre after a wireless transfer, even when desktop Calibre
includes it in the transfer payload. Downstream plugins that want
correct surname ordering can't get at it for libraries synced via the
Calibre Companion plugin -- reported in the Bookshelf koplugin issue
tracker by a user with ~2250 books all showing empty author_sort
after sync, despite their desktop Calibre having the field populated
on every book.

Add "author_sort" to the used_metadata whitelist so it's preserved on
the device-side file. Books without the field continue to load
cleanly (slim's "or rapidjson.null" handles missing fields); on-disk
size grows by a small per-book constant.

search_used_metadata stays unchanged -- search displays the author
string, not the sort form.
2026-05-17 10:19:56 +02:00
hius07 f51eb40d70 Perception expander: minor fixes (#15364) 2026-05-16 13:08:18 +03:00
Alexander Sulfrian 0380d2125a kobo: Fix detection of 'Kobo mode' of Tolino devices (#15389)
If you have a Tolino device and have switched it into "Kobo mode" using the
developer options, the codename of the device is updated as well. This adds the
codenames for these devices to the device detection for Kobo devices.
2026-05-15 17:30:53 +02:00
hius07 4a66d792a9 OPDS: 'crawlable' relation (#15384) 2026-05-15 07:40:45 +03:00
hius07 c5687b320a NewsDownloader main: enable deleting plugin settings (#15382) 2026-05-15 07:40:14 +03:00
hius07 225fe6b8de Wallabag main: settings fixes (#15383) 2026-05-15 07:39:49 +03:00
hius07 09da1ee0aa KoSync main: enable deleting plugin settings (#15379) 2026-05-14 07:43:29 +03:00
hius07 ebfad3f6b9 BatteryStat main: enable deleting plugin settings (#15378) 2026-05-14 07:43:07 +03:00
hius07 c72db24d4f Hide parent folder (#15374) 2026-05-14 07:42:34 +03:00
hius07 9bcad05e8c QR from clipboard: enable highlight button on devices without clipboard (#15363) 2026-05-12 20:41:01 +03:00
hius07 649a2668f6 HttpInspector: enable deleting plugin settings (#15373) 2026-05-12 20:40:05 +03:00
hius07 8c1c241aa5 VocabBuilder main: sync action; enable deleting settings (#15372) 2026-05-12 20:39:28 +03:00
hius07 e36a1e4104 Fix opening file with associated provider (#15367) 2026-05-12 07:41:25 +03:00
Ichnilatis c812812b8e datetime: add gettext context to abbreviated months (#15369)
Fixes https://github.com/koreader/koreader/issues/15368
2026-05-11 13:58:52 +02:00
hius07 606597fd2e Plugins' menu items (#15360) 2026-05-11 07:46:16 +03:00
Benoit Pierre 651eae828f kindle: add SSH server support to KUAL extension (#15352)
So the server can be started/stopped from there.
2026-05-10 13:01:45 +02:00
Frans de Jonge 4181d51a1d Improve EmmyLua config (#15362) 2026-05-10 13:01:07 +02:00
hius07 fe3775b077 DocSettingsTweak main: open settings file when needed only (#15355) 2026-05-10 08:26:30 +03:00