Commit Graph
11316 Commits
Author SHA1 Message Date
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
poire-z c348861f6d bump crengine: improve md rendering, fix some stylesheet issues
Includes:
- mdfmt: improve rendering
- ci: lint `mdfmt.cpp` too
- DrawBackgroundImage: handle %-encoded urls
- lvstsheet: parsing: ignore parens inside quotes
- lvstsheet: fix crash on "color/font-family: initial"
- ldomElementWriter: fix minor parsing issue
2025-07-19 19:22:16 +02:00
poire-z 9e6492f650 bump base: update mupdf and others
Includes:
- sqlite: enable FTS5 extension
- ci/macos: fix "Dump build timings" step
- sdl2: always compile on macOS
- kindle & kobo-usbms: move setting `DEBUG` where it belongs
- make: align `KODEBUG` default with kodev
- sqlite: update to 3.50.2
- mupdf: fix possible disparity when generating FFI cdecls
- mupdf: update to 1.26.3
- xz: always build a static library
- Patch lua-spore to properly set filename in form-data
- libpng: update to 1.6.50
- libwebp: update to 1.6.0
- luasystem: update to 0.6.2
- xz: fix android non-monolibtic build
- ffi/libarchive: fix cdecls
2025-07-19 19:22:16 +02:00
Benoit Pierre bc83fc6c05 ci: update build configurations (#14069)
Explicitly set `KODEBUG` in preparation for bumping base
with https://github.com/koreader/koreader-base/pull/2118.
2025-07-19 11:44:45 +02:00
Volterxien de789615ac Add the ability to launch read timer with a gesture (#14061)
Closes #14014.
2025-07-18 12:12:41 +02:00
Frans de Jonge 70039c9f04 [plugin] Terminal Emulator: implement delWord for terminal (#14059)
Fixes #14049.
2025-07-15 15:40:48 +02:00
David 105abfa159 [ReaderDictionary] Clean interpuncts, pipes and up arrows from text selection (#14031) 2025-07-14 22:48:01 +02:00
Peter Snajczuk 9ad9d52cef Support Kindle Oasis (KOA) charging cover "soda" (#13133)
Much of this code was taken from the Kobo implementation of an auxiliary battery. The biggest difference between the Kobo and Kindle implementation is that the status file for the charging cover is not present when the cover is detached, so the check for status there will result in the file failing to read.
2025-07-14 08:44:45 +02:00
Michał Mnich 8db0dee5e0 [fix] Improve handling of illegal vFAT filenames. (#14043)
This change fixes an issue where a file/directory is not created when its name contains trailing spaces or dots.
The issue has been observed on a Kobo device, but probably also applies to other systems using vFAT.

We also might want to consider handling other illegal vFAT filenames like `NUL` or `AUX`.

Please see the [official Microsoft documentation](https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions)
for more details on the naming conventions of vFAT (this change addresses the last bullet point).
2025-07-13 22:34:17 +02:00
fkaduk 9b07f943f5 Wallabag: allow filtering download to starred articles (#14051) 2025-07-13 13:15:22 +02:00
hius07 c4c95a0e90 ReaderHighlight: fix long-pressing on image (#14048) 2025-07-12 20:29:41 +03:00
Volterxien 655ba58ae5 Moving download all and remove all buttons in OPDS download menu (#14024) 2025-07-12 09:40:47 +03:00
hius07 e0c8530651 touchmenu: no empty menus (#14040) 2025-07-09 13:46:48 +03:00