Commit Graph
11535 Commits
Author SHA1 Message Date
poire-z e1c5f35d37 Wikipedia: revamp languages handling
Replace the cumbersome implementation of language rotation
with a more natural language selection:
- replace the "en > fr" button with a "Language" button,
  which on tap shows a popup with the user languages allowing
  direct selection (instead of having to rotate through
  all the intermediate languages and wait for each result)
- we don't touch anymore the user-set wikipedia_languages
  array when switching language
- the newly selected language is stored in doc_settings, and
  will be used for next queries on this book. It is also
  stored in G_reader_settings as the language to be used
  for next newly opened books and for lookups done when
  in FileBrowser

Also:
On Wikipedia full articles, the top left hamburger menu
shows a popup with the other Wikipedia languages the
current article is available for, and allows reading
them.
Wikipedia article ToC: the 'sections' properties
of the Wikipedia API is now deprecated: use its
replacement 'tocdata'.
2026-01-08 21:11:30 +01:00
poire-z 43d52a1c08 ScrollTextWidget: fix resetScroll()
Could cause some refreshes (actually triggered when
the scrollbar changes) in DictQuickLookup to be ignored
in some rare circonstances (2 consecutive results from
a text dictionary having the exact same nb of lines).
2026-01-08 21:11:30 +01:00
poire-z e72ca3045e KeyValuePage, scrollablecontainer: allow mousewheel scrolling 2026-01-08 21:11:30 +01:00
oscargolding 338f3b059a fix: 429 when querying Wikipedia images (#14766)
Avoid 429 error messages from Wikipedia by caching the returned cookie
from the initial response header. Using a cookie for image requests
treats each koreader image request as its own user with separate throttling
rates.
2026-01-08 14:51:46 +01:00
Benoit Pierre 4186cde33a move startup script check where it belongs
At reader startup, so the intended use case is correctly handled:
- an update is downloaded, and the user restarts KOReader
- the LuaJIT process returns control to the startup script which extracts the update
- the LuaJIT process is restarted, and if the startup script was changed, the user
  is asked to quit and restart KOReader from the parent launcher
2026-01-06 21:26:30 +01:00
Benoit Pierre 0b53cefb9f cervantes: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2026-01-06 21:26:30 +01:00
Benoit Pierre 8d7b0792fb kindle / pocketbook / remarkable: fix startup script change detection
- prior to #14719, `$KOREADER_DIR` was not part of the environment,
  so an update relying on it without a restart from the parent
  launcher would crash KOReader on startup
- pocketbook: fix check (`koreader.app` is located in `$KOREADER_DIR/..`)
- remarkable: ensure `$KOREADER_DIR` remain correct after relocalization
2026-01-06 21:26:30 +01:00
Benoit Pierre f731870427 kobo: simplify startup script change detection 2026-01-06 21:26:30 +01:00
hius07 6dbc1be8fa Status bar: adjustable font face (#14755) 2026-01-06 13:25:19 +02:00
hius07 610fc24f8a readerfooter: percent_finished in continious mode (#14794) 2026-01-05 21:04:02 +02:00
hius07 1da6dfe1e5 ReaderRolling: save percent_finished on flushing settings (#14787) 2026-01-04 08:00:57 +02:00
poire-z 7353a2e5a4 bump base: thirparty updates, crengine tweaks (#14785)
Includes:
- harfbuzz: update to 12.3.0
- tesseract: update to 5.5.2
- bump crengine: page/image splitting tweaks, update Ru_EnUS hyph
  - Russian_EnUS hyphenation: add more exceptions
  - CSS/Images: add -cr-hint: no-cap-image-size
  - Page splitting: avoid cutting images even when break:avoid
2026-01-01 20:52:36 +01:00
xydone 7a67649bc8 feat(archiveviewer): extract all files button (#14770) 2026-01-01 14:39:16 +02:00
hius07 6ab2a8fe75 "Ignore long-press on corners for time period" action (#14764) 2026-01-01 09:51:11 +02:00
hius07 bf707d45ff menu_activate: no restart (#14771) 2025-12-31 09:51:06 +02:00
Benoit Pierre 23eafce2e6 bump base (#14760)
- https://github.com/koreader/koreader-base/pull/2242
- https://github.com/koreader/koreader-base/pull/2243 (close #14759)
2025-12-27 21:45:02 +01:00
hius07 05faeb0597 filemanagerbookinfo: fix "time left in chapter" (#14754) 2025-12-26 16:55:54 +02:00
NiLuJe 3712e14a82 Kindle: Autodetect & handle the fancy gesture_tap input device (#14506)
The input device is autodetected by FBInk, which should hopefully mean we don't have to think about this again when it hits new devices ;).

(Supported devices were the PW6 & CS at time of writing)

Re #14461
2025-12-26 03:33:20 +01:00
hugleo eb1827c016 bump luajit-launcher (#14753)
[feat: Boox Palma 2 Pro support (](https://github.com/koreader/android-luajit-launcher/commit/b2434073bf4c1383d46de6b423406f38d61ccfb0) 575)

[Add support for new e-ink devices: Boox Poke5S, Boox C67ML, Boox Note S, BOOX Darwin 5, Boox Go Color 7, Crema Soundup, Nook Glowlight plus 7.8" (2019) (](https://github.com/koreader/android-luajit-launcher/commit/6d84bf671d0919e822e6b092f1ee1db321ff04c6) 576)
2025-12-25 16:51:25 +01:00
Benoit Pierre 6ee248d800 bump base (#14738)
- https://github.com/koreader/koreader-base/pull/2232
- https://github.com/koreader/koreader-base/pull/2236
- https://github.com/koreader/koreader-base/pull/2237
- https://github.com/koreader/koreader-base/pull/2238
- https://github.com/koreader/koreader-base/pull/2239
- https://github.com/koreader/koreader-base/pull/2240
- https://github.com/koreader/koreader-base/pull/2241
2025-12-21 11:29:37 +01:00
fenuks cd2f06a29c [plugin] Wallabag: fix status handling regression in article archiving (#14700) 2025-12-19 11:48:48 +01:00
shinobu 2d69e59d73 Decode Serverfilename on OPDS Download (#14732)
Fixes #14679
2025-12-17 19:19:37 +01:00
dependabot[bot] 99e40bae12 build(deps): bump actions/cache from 4 to 5 (#14727)
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 12:21:20 +01:00
dependabot[bot] 5b0cc788a3 build(deps): bump actions/upload-artifact from 5 to 6 (#14726)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-15 11:11:13 +01:00
Benoit Pierre 2e2a4875c9 remarkable: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre 0094ea2cb0 pocketbook: detect if launcher script has changed
And a complete restart from the parent launcher is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre c93624d2c5 kindle: detect if launcher script has changed
And a complete restart from the parent launcher (e.g. KUAL) is needed.
2025-12-13 10:59:04 +01:00
Benoit Pierre e04f1800ba kobo: minor cleanups 2025-12-13 10:59:04 +01:00
Benoit Pierre 3644299a66 appimage: fix possible issue with the appimagetool binary (#14717)
Zero-out AppImage magic bytes from the ELF header extended ABI version so
binfmt+qemu can be used (e.g. when executed from `docker run --platform …`).

Cf.:
- https://github.com/AppImage/AppImageKit/issues/1056
- https://github.com/AppImage/AppImageSpec/blob/master/draft.md#type-2-image-format
- https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#:~:text=EI_ABIVERSION
2025-12-12 22:59:37 +01:00
Benoit Pierre 5c3dfb2d88 doc: fix and improve build requirements (#14713)
- gettext is required since the switch to binary translations catalogs
- add shellcheck and shfmt to the optional dependencies for linting
- clarify minimum required and recommended versions
2025-12-12 22:58:05 +01:00
hius07 3882a22fb0 cloudstorage: fix onClose (#14711) 2025-12-11 19:57:46 +02:00
hius07 f8175e34a4 koptinterface: prevent crash when word is nil (#14705) 2025-12-10 14:18:33 +02:00
hius07 5b2f2cbdb3 Sleep screen: improve 'Exit sleep screen' message (#14691) 2025-12-10 14:17:58 +02:00
hius07 776eb69184 screensaverwidget: fix unlock (#14689) 2025-12-10 14:17:26 +02:00
hius07 9dc068b50d TextViewer: pin page (#14668) 2025-12-09 07:43:23 +02:00
poire-z 757f8f300a bump base: thirparty updates, crengine fixes (#14701)
Includes:
- sqlite: update to 3.51.1
- luajit: update to 2.1.1764511371
- libarchive: update to 3.8.4
- mupdf: update to 1.26.12
- sqlite: re-enable JSON support
- cmake: fix condition for shipping the STL
- libpng: update to 1.6.53
- luajit: update to 2.1.1765007043
- ffi/crypto: fix loading of crypto library
- bump crengine: update en_US hyphenation, CSS fixes
  - English_US hyphenation: add more exceptions
  - Revert "Word expansion: avoid going too far"
  - text: simplify measureText()'s harfbuzz check
  - SVG embedded images: handle %-encoded urls
  - XML parsing: slightly better parsing of <style>
  - CSS: improve support of "@supports"
2025-12-08 22:50:26 +01:00
poire-z fd54ddbd8f TextBoxWidget: clear highlights when hold release on an image
Otherwise, any highlight made while panning would stick even
after we show and close ImageViewer, even when turning pages.
2025-12-08 13:18:51 +01:00
poire-z 8723b25f9e Menu: avoid crash with large post_text
Currently not met with our current use of it,
but let's avoid this crash when experimenting.
2025-12-08 13:18:51 +01:00
poire-z f4a87ba22a Style tweaks: Ignore publisher font families: keep monospace 2025-12-08 13:18:51 +01:00
David 29328abad4 Add hidden flows to nt dispatcher (#14682) 2025-12-02 16:01:18 +01:00
Benoit Pierre c76f5f9805 android: drop no longer working make target (#14673)
Leftover from 2019, the `dev` target was removed in koreader/android-luajit-launcher@0bd2f4b.
2025-11-30 13:33:41 +01:00
Natalie 9486753946 bump luajit-launcher to 75e7eaf (#14672) 2025-11-30 09:54:22 +01:00
jonnyl2 562fc113cb ReaderScrolling: Radio buttons for scrolling options (#14647) 2025-11-28 19:34:42 +01:00
Christoph Michel a155e372e1 [feat, plugin] NewsDownloader: continue processing feed on download error (#14650) 2025-11-28 17:56:19 +01:00
Benoit Pierre 60a475773c progressbardialog: fix refresh 2025-11-28 08:43:41 +01:00
Benoit Pierre ea3a8a7dbe progressbardialog: support dismissing the dialog 2025-11-28 08:43:41 +01:00
Benoit Pierre d6310207f7 progressbardialog: tweak API
So `reportProgress` returns true when the progress bar was actually updated.
2025-11-28 08:43:41 +01:00
Benoit Pierre 6ce4b5d8ee inputcontainer: handle horizontal center alignment 2025-11-28 08:43:41 +01:00
Benoit Pierre 9ee84c33a6 bump base (#14662)
- https://github.com/koreader/koreader-base/pull/2219
- https://github.com/koreader/koreader-base/pull/2220
- https://github.com/koreader/koreader-base/pull/2221
- https://github.com/koreader/koreader-base/pull/2222
2025-11-25 22:48:10 +01:00
Benoit Pierre fec9c1ea38 platform: remove leftovers from old install on update (#14637)
Files present in the old `ota/package.index` but not in the new one.
2025-11-25 15:37:58 +01:00