11947 Commits
Author SHA1 Message Date
skitty 20a666bd92 fix(vocabbuilder): leaked db conn breaking sync (#15531)
closes #14002
2026-06-14 17:43:45 +02:00
Noa Himesaka fc1b163686 [reMarkable] fix: native QTFB OTA update (#15538) 2026-06-14 15:59:48 +02:00
Benoit Pierre cd724ff0e0 bump base (#15535)
- tree-sitter: update to 0.26.9 (koreader/koreader-base#2379)
- ci/circle: bump docker images (new ffi-cdecl version) (koreader/koreader-base#2389)
- sqlite: update to 3.53.2 (koreader/koreader-base#2390)
- harfbuzz: update to 14.2.1 (koreader/koreader-base#2391)
- sdl: update to 3.4.10 (koreader/koreader-base#2392)
- luajit: update to 2.1.1781341259 (koreader/koreader-base#2395)
2026-06-13 19:52:39 +02:00
Benoit Pierre 72889452a2 ci: bump docker image (#15536) 2026-06-13 19:52:05 +02:00
weijiuqiao 6b567a2bfc vocabbuilder.koplugin: Add "got it" button in "Vocabulary exists" popup window (#15534)
Added got it functionality per follow-up request in https://github.com/koreader/koreader/issues/15291#issuecomment-4682605447
2026-06-13 13:01:37 +02:00
skitty 3f479943a7 fix(cloudstorage): choose folder not showing for empty dirs (#15533) 2026-06-13 09:05:08 +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
hius07 5598a6ee44 Cloud storage: download/delete selected files (#15522) 2026-06-11 20:31:21 +03:00
hius07 290a232887 BookShortcuts main: fix open folder from Reader (#15517) 2026-06-09 10:20:30 +03: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
Commodore64user 3980752af0 swap top/second rows in lookupInputWord 2026-06-04 17:41:26 +01:00
Commodore64user cf7023f05d replace readerrolling broadcast events with single-dispatch calls 2026-06-04 17:41:26 +01:00
hius07 9c5e596098 Exporter clip: exclude page bookmarks (#15493) 2026-06-02 19:09:32 +03:00
hius07 70b8c529ee Open file: more honor associated provider (#15489) 2026-06-02 19:08:47 +03:00
Christo 50a7fc66a6 SDL: shell-escape openLink and external dict lookup args (#15491)
A PDF-controlled URL flowed into `os.execute` via single-quote
concatenation in `Device:openLink`. An embedded `'` in the URL closed
the intended quoting and the remainder was interpreted by the shell,
giving arbitrary command execution as the KOReader user once the user
chose "Open in browser" on an external link.

The same pattern existed in `doExternalDictLookup`'s command path:
the dictionary text was concatenated directly into the shell command
and `cleanSelection` does not remove shell metacharacters.

Use `util.shell_escape` at both sinks. The helper has been in the
codebase for years (used e.g. in `util.lua:928` for `df -kP`) and
quotes args with single quotes plus `'\''` escaping.

Fixes #15490
2026-06-01 18:38:31 +02: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
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