Commit Graph
11328 Commits
Author SHA1 Message Date
Frans de Jonge d3c5ee3d6f Add .htmlz to supported filetypes (#14240)
Closes #13436.

Also see <https://wiki.mobileread.com/wiki/HTMLZ>.
2025-08-29 12:14:09 +02:00
David 6c25d045eb Invert progress bar direction, independently of UI layout (LTR/RTL) (#13382) 2025-08-29 08:13:01 +02:00
David 1ad234d754 [Device, kindle] early return if kindleGetCurrentProfile() is nil (#14219)
fixes #14215
2025-08-28 23:01:58 +02:00
NiLuJe e1b990a464 Kobo: Don't send PowerPress twice when fudging page turn button events for pageturn_power (#14216)
* Kobo: Don't send `PowerPress` twice when fudging page turn button events for `pageturn_power`

Should help with *some* #12787 reports, but not all, since that
issue predates the PR that implemented the above feature (#13669)

* Only fudge release events, dwallow press and repeat.

Always follow your first instinct ;).
2025-08-28 23:00:37 +02:00
Márton Kónya 51aad4b054 Add Hungarian keyboard layout (#14237) 2025-08-28 22:58:50 +02:00
Frans de Jonge 42b61d29e8 Wallabag: fix archive_finished initialization logic (#14221)
Closes #14214.
2025-08-27 18:13:11 +02:00
hius07 36b8732134 readerfooter: skip dynamic filler in items cycling (#14232) 2025-08-27 18:14:53 +03:00
hius07 d0abd59143 readerhighlight: fix long-press with Do nothing (#14227) 2025-08-26 18:18:53 +03:00
hius07 826455961d Export highlights: customizable export filename (#14212) 2025-08-26 09:41:09 +03:00
Noa Himesaka a7afd230ba fix/remarkable: rM2 RM2FB check fix (#14222) 2025-08-24 16:51:07 +02:00
Benoit Pierre bd2e33e696 tests: fix remarkable device test (#14217) 2025-08-23 23:32:39 +02:00
Noa Himesaka c6b1eb9ffa fix/remarkable: remove disable xochitl autosuspend and add explicit qtfb-shim check (#14211) 2025-08-23 12:03:12 +02:00
hius07 8deeedb09c Collections: option to skip scanning folder (#14203) 2025-08-23 09:28:53 +03:00
hius07 7e6e8b3615 File browser: make the Plus menu user-patchable (#14197) 2025-08-23 09:28:29 +03:00
hius07 6c7efa1bdf expandString(): replace patterns with data (#14181) 2025-08-23 09:27:10 +03:00
Benoit Pierre 4571160f19 ci: fix call to ldoc (#14207)
Since luarocks >= 3.12.0 is broken, and does not honor `wrap_bin_scripts
= false` anymore, just call ldoc directly so it works even if a wrapper
script is used.
2025-08-22 10:58:04 +02:00
Zeedif 73b4dd4bb0 fix(opds): ensure correct file extension on server-provided filenames (#14199)
The `getServerFileName` function could result in a filename without an extension in two main scenarios. First, a server might provide a `content-disposition` header where the `filename` attribute is present but lacks a file extension. Second, the fallback logic of extracting the name from the URL path often fails for dynamic endpoints (e.g., `/download?id=123`) which do not contain a filename.

This change improves the logic by checking if the extracted filename has an extension. If one is missing, the expected `filetype` (which is already known at this point) is appended. This ensures files are always saved with the correct extension (e.g., `.cbz`, `.epub`).
2025-08-20 16:52:32 +02:00
adva-cg 6c0a5c30ba Add support for character-by-character highlighting for partial word translation (#14153)
Long-pressing on the "edit" buttons switches between "word" and "char" modes of the following single taps.
Long-pressing always moves the boundary by char.
2025-08-20 08:33:14 +03:00
hius07 aa69907976 CloudStorage: add action in Dispatcher (#14189) 2025-08-19 17:17:57 +03:00
Benoit Pierre 4c161ccceb ci: bump docker image (#14178) 2025-08-19 13:28:46 +02:00
Benoit Pierre b35725329f bump base (#14177)
- https://github.com/koreader/koreader-base/pull/2135
- https://github.com/koreader/koreader-base/pull/2136
- https://github.com/koreader/koreader-base/pull/2137
- https://github.com/koreader/koreader-base/pull/2138
- https://github.com/koreader/koreader-base/pull/2139
- https://github.com/koreader/koreader-base/pull/2140
- https://github.com/koreader/koreader-base/pull/2141
- https://github.com/koreader/koreader-base/pull/2142
- https://github.com/koreader/koreader-base/pull/2143
- https://github.com/koreader/koreader-base/pull/2144
- https://github.com/koreader/koreader-base/pull/2145
- https://github.com/koreader/koreader-base/pull/2147
- https://github.com/koreader/koreader-base/pull/2148
2025-08-19 13:28:33 +02:00
dependabot[bot] a5dfcd060e build(deps): bump actions/checkout from 4 to 5 (#14192)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-08-18 17:20:14 +02:00
Frans de Jonge 19f3278d6b Update translations after v2025.08 (#14184)
To keep things in sync a bit.
2025-08-17 12:33:54 +02:00
hius07 7d400453b9 ReaderFooter: document position is not used (#14076) 2025-08-17 07:42:19 +03:00
spfenwick c00df15aee OPDS Plugin: Ensure the default download filename is consistent across different platforms (#13709)
* Ensure the default download filename is consistent across different platforms.
The OPDS plugin correctly uses util.getSafeFilename() to remove any special characters from the filename for downloads. However this function works differently on different platforms, with some common characters like : and ? being allowed on some platforms but not others. In particular this may break Process Sync if it is configured to rely on file names. This change gives a better default behaviour by ensuring the default filename is the same across different platforms, while still letting the user change the filename to include special characters if the platform supports them.

* Make util.replaceAllInvalidChars() global and call it rather than copying code.
2025-08-16 21:33:01 +02:00
weijiuqiao bfd2bbb15b VocabBuilder.koplugin: supports removing word in-place after addition (#14127) 2025-08-16 21:29:22 +02:00
Noa Himesaka 0a09f23532 fix/remarkable: indentation (#14175) 2025-08-16 10:35:16 +02:00
Benoit Pierre 9017bccaba tools/mkrelease: fix shellcheck 0.11.0 false positive (#14169) 2025-08-15 10:25:37 +02:00
Noa Himesaka 9a357cc87b fix/remarkable: proper OTA model for remarkable-aarch64, do not set 8bpp depth for rMPP (#14163) 2025-08-13 15:12:43 +02:00
Noa Himesaka dd4a7fdb71 fix/remarkable: update for new AppLoad/qtfb-shim (#14162) 2025-08-12 21:52:06 +02:00
NiLuJe e1c7445c71 Input: Handle BTN_TOOL_DOUBLETAP Kindle quirks (#13714)
* Input: Log BTN_TOOL_DOUBLETAP

* Input: Try to handle cyttsp's BTN_TOOL_DOUBLETAP madness...

Fix https://github.com/koreader/koreader/issues/13706
Fix https://github.com/koreader/koreader/issues/13040

* Input: Properly deal with the BTN_TOOL_DOUBLETAP protocol violation

Instancing a *new* ABS_MT_SLOT *requires* x & y coordinates in the
*same* frame.
2025-08-11 14:02:30 +02:00
David 1eb9b55ab2 [ReaderDictionary] bug fix: use individual gsubs for "·", "|" and "↑" (#14118) 2025-08-11 14:00:37 +02:00
Gropinou 3ca37983db [Android] Add Go Color 7 II to devices that follow gravity (#14156) 2025-08-09 09:07:01 +02:00
hius07 92a6c7c6dc readerhighlight: fix datetime_updated for new highlights (#14155) 2025-08-09 09:43:39 +03:00
hius07 176d3dec6c Profiles: auto exec promptly (#14133) 2025-08-05 12:25:00 +03:00
Michael Cummings c4f9c60742 [Kobo] Enable wake on page turn buttons (#13669)
Adds menu items (toggles) and functionality to turn a kobo back on with the page turn buttons.

Fix #13668
2025-08-03 21:43:17 +02:00
hugleo a44e8e958e bump luajit-launcher, Add Hyread Gaze Note Plus CC to color devices (#14125) 2025-08-02 09:26:43 +02:00
Yvan 1377108116 [reMarkable] Fix wifi management and add xovi env variables (#14096) 2025-08-01 19:34:48 +02:00
Frans de Jonge 11d008e93b Add .footnote1 class to classic classname footnotes style tweak (#14119)
These would be likely to show up after a calibre conversion. See <https://www.mobileread.com/forums/showthread.php?p=4527981#post4527981>.

I'm not entirely sure to what extent it's wise to add, but we already have some equivalents after all.
2025-07-31 20:26:58 +02:00
zwim 400c774bcc [touchmenu] simplify code and finish early (#14113) 2025-07-30 16:29:36 +02:00
ly-pa a674bc8510 AutoWarmth: add option to hide the "night mode changed" warning (#13253)
Closes #13163.
2025-07-30 14:30:50 +02:00
zwim 5009d36d79 Fix submenu creation 2025-07-29 20:19:37 +02:00
zwim e48a73cf31 Fix nightmode only in non Expert-Mode 2025-07-29 20:19:37 +02:00
Zeedif 49465b2929 feat(opds): enhance facet menu with icons
This commit enhances the new facet context menu by adding icons for better visual distinction of actions like "Add catalog," "Search," and facet groups.

It also corrects the main menu trigger icon to `appbar.menu` for consistency with its function.
2025-07-28 10:18:38 +02:00
Zeedif f7b160bdda feat(opds): add support for facets via a context menu
This commit introduces support for OPDS 1.2 facets, enabling advanced filtering and sorting in compatible catalogs.

To maintain a clean and uncluttered book list, facet options are presented in a dedicated context menu. When a catalog provides facets or a search link, the top-left button now triggers a menu with all available actions.

- Facet links are parsed and grouped by the `opds:facetGroup` attribute.
- The context menu includes facet groups, search, and bookmarking.
- Adds support for `opds:activeFacet` and `thr:count`.
- The parsing logic now cleanly separates feed-level links from entries, correctly handling catalogs with facets but no initial items.
- Unrelated style changes were reverted and the test suite was improved for reliability.
2025-07-28 10:18:38 +02:00
Benoit Pierre f5b1208a3e [plugin] terminal: avoid blowing the stack with recursive calls
```
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
[…]
strike_callback
transmit
refresh
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
strike_callback
transmit
refresh
```
2025-07-25 11:29:25 +02:00
Benoit Pierre a2633b6374 [plugin] terminal: avoid potential out-of-bound read access
When reading `CHUNK_SIZE` characters. Additionally, avoid suboptimal
code (`ffi.string(…)` on the whole buffer followed by `string.sub(…)`
+ concatenation) by using a string buffer.
2025-07-25 11:29:25 +02:00
zwim 6fd1335196 Fix some typos (harmless) (#14079) 2025-07-21 21:18:13 +02:00
Benoit Pierre ac03e9cf06 kodev: use LLDB for debugging on macOS (#14072) 2025-07-20 16:09:24 +02:00
Offlinemaker fd63e03b30 Allow toggling Kosync auto sync from gestures (#14037) 2025-07-20 12:44:06 +02:00