Commit Graph
11824 Commits
Author SHA1 Message Date
Noa Himesaka 644a80bce1 fix: appload quirk workaround (#15475)
AppLoad's quirk of removing framebuffer when nothing's holding framebuffer even though app is running prevented crash handling and restarting KOReader to fail, so introduce a keep-alive process (which was LLM assisted, and it's very cursed, but it works!) to work around this issue.

It wasn't a problem for shimmed version since shim loaded even for sh handling shell script too, which acted as keep-alive.
2026-05-31 12:09:04 +02:00
hius07 d246323ba2 Screensaver: don't load the module on unsupported devices (#15465) 2026-05-29 09:08:51 +03:00
Benoit Pierre 4f24cb6a3d sony-prstux: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 783793d212 remarkable: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 6fddfd1634 pocketbook: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre ba02608092 kobo: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 08cc80158a kindle: add support for TAR.XZ OTA updates to KUAL extension 2026-05-28 17:45:14 +02:00
Benoit Pierre 1459ebdee1 kindle: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 66cb7f7b42 cervantes: add new OTA package generation 2026-05-28 17:45:14 +02:00
Benoit Pierre 5fb3d38f10 linux: tweak release compression options
In this case, we don't need separate XZ blocks, ensure maximum compression by using only one.
2026-05-28 17:45:14 +02:00
Benoit Pierre bd89284d59 tools/mkrelease: tweak TAR.XZ output for new OTA mechanism
Create one XZ block per TAR entry.
2026-05-28 17:45:14 +02:00
Benoit Pierre 8f919f993f make: change android targets to android-xxx (#15351)
Cf. koreader/koreader-base#2357.
2026-05-28 17:12:05 +02:00
Benoit Pierre af18761160 fix common/koreader.sh arguments handling on restart (#15312)
Cf. https://github.com/koreader/koreader/pull/15271#pullrequestreview-4116067869.
2026-05-28 17:11:31 +02:00
hius07 67fcd424d6 ReaderDictionary: prettify dict download list (#15452) 2026-05-27 17:13:52 +03:00
Commodore64user 5789a09ded KeySelection: open links at current indicator position, footnote handling 2026-05-27 14:21:26 +02:00
Commodore64user 0f01690a19 KeySelection: start select mode when page is turned during text selection, see https://github.com/koreader/koreader/issues/13132 2026-05-27 14:21:26 +02:00
Commodore64user 2c0f541516 KeySelection: add per-doc support for RTL traversal 2026-05-27 14:21:26 +02:00
Commodore64user 82a5f20b25 KeySelection: snap crosshairs to words within crengine documents
for pdf/djvu files the crosshairs continues to work freely as before. This commit introduces primaraly the methods _getAdjacentLineWordRolling and _getAdjacentWordRolling which handle finding the next word vertically and horizontally respectviely. We now handle hyphenated words much more predictably in _isSplitHyphenatedWord as we no longer require using heuristics.
2026-05-27 14:21:26 +02:00
Commodore64user 952ebafe2d KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui 2026-05-27 14:21:26 +02:00
Commodore64user 3d1b954f52 KeySelection: add getNearestWordAndBoxFromPosition, see https://github.com/koreader/koreader-base/pull/2345 2026-05-27 14:21:26 +02:00
Commodore64user adf60de731 KeySelection: add registerToMainMenu in readerkeyselection, remove old creation from readerhighlight 2026-05-27 14:21:26 +02:00
Commodore64user 41c562c4c4 KeySelection: move text selection from readerhighlight to readerkeyselection 2026-05-27 14:21:26 +02:00
Noa Himesaka 4cca61acc1 feat: reMarkable Paper Pure support (#15463) 2026-05-27 10:57:22 +02:00
hius07 7ea3a7b668 Book metadata archive: fix saving (#15445) 2026-05-27 09:59:14 +03:00
Noa Himesaka 82ac90db76 feat: QTFB input/framebuffer support (#15461)
Frontend changes for koreader/koreader-base#2381. Makes the new QTFB backend deafult for reMarkable devices with appload.
2026-05-27 07:34:09 +02:00
Benoit Pierre 5000f97be0 bump base (#15459)
- fix: drawcontext init (koreader/koreader-base#2377, close #15458)
- harfbuzz: update to 14.2.0 (koreader/koreader-base#2378)
- luajit: update to 2.1.1779665312 (koreader/koreader-base#2380)
2026-05-25 23:36:46 +02: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 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