Commit Graph

11271 Commits

Author SHA1 Message Date
Michał Mnich
8db0dee5e0 [fix] Improve handling of illegal vFAT filenames. (#14043)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
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)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-13 13:15:22 +02:00
hius07
c4c95a0e90 ReaderHighlight: fix long-pressing on image (#14048)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-12 20:29:41 +03:00
Volterxien
655ba58ae5 Moving download all and remove all buttons in OPDS download menu (#14024)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-12 09:40:47 +03:00
hius07
e0c8530651 touchmenu: no empty menus (#14040)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-09 13:46:48 +03:00
hius07
6a567406e2 touchmenu: optimize (#14027)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-08 09:50:59 +03:00
Frans de Jonge
07845f29a3 Revert "doc: fix macOS build instructions (#14030)" (#14033)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
This reverts commit 8a7e077cdd.
2025-07-07 19:40:27 +02:00
Benoit Pierre
8a7e077cdd doc: fix macOS build instructions (#14030)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Add missing flock dependency.

Close #14029.
2025-07-07 08:24:12 +02:00
hius07
18621018fd File browser Plus: fix add/remove folder shortcut (#14032) 2025-07-07 08:17:41 +02:00
TnS-hun
5d3c71724f Dictionary: fix invalid highlight when switching dictionary (#14028)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
When the contents of the HtmlBoxWidget changed the page boxes were not invalidated, this resulted the highlight to show up at a wrong coordinate.

Fixes #14013
2025-07-06 23:39:51 +02:00
Volterxien
095b0d7421 Add OPDS sync feature (#13946)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Closes #8494.
2025-07-04 18:02:28 +02:00
hius07
ad3dddbdd2 readerhighlight: fix accidental tap while long-pressing (#14004)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-07-01 21:44:39 +03:00
hius07
29bbc84de2 Touchmenu: fix menu refreshing on check (#13996) 2025-07-01 21:43:51 +03:00
hrm
7d89cb2ed4 [plugin] Fix wallabag directories' trailing slashes (#14001)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-30 10:07:00 +02:00
Wim de With
97fac90779 Pass ui parameter to all collate item_funcs (#13981)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-29 09:56:16 +02:00
Benoit Pierre
76eb1221c4 ci/macos: fix "Dump build timings" step (#13992)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Update ninjatracing to account for latest ninja log format.
2025-06-26 08:57:03 +02:00
Benoit Pierre
633e5c8bd4 ota: increase re-use during updates
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
- use the latest stable release tag date for all files modification time
- tweak tar command tar to ignore read-errors (so missing files don't
  result in a failure to create the installation archive)
2025-06-24 20:22:23 +02:00
Benoit Pierre
c7c5337e99 otamanager: align tar command line flags with tools/mkrelease 2025-06-24 20:22:23 +02:00
Benoit Pierre
7fae7009f6 otamanager: minor factorization 2025-06-24 20:22:23 +02:00
Benoit Pierre
9b3cf826cc tools/mkrelease: tweak tar command
Add `--numeric-owner` for a very minor size reduction.
2025-06-24 20:22:23 +02:00
hius07
a4bb9d688b util: enable comma in filenames (#13985)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-23 20:53:33 +02:00
hius07
b2895731f1 Gesture overview (#13909)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-23 12:18:54 +03:00
David
899c257904 [fix] Close keyboard after calling search with preset (#13976) 2025-06-23 09:22:03 +02:00
Benoit Pierre
c456d18fa3 make: tweak release excludes
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Make sure we don't include some gettext tests leftovers.
2025-06-21 17:47:15 +02:00
Benoit Pierre
456ce2fa36 gettext: switch to binary catalogs
Binary catalogs are more space efficient (total translations disk usage:
14MB instead of 35MB), and easier and faster (roughly 10 times) to load:
no parsing, and less processing (no need to unescape strings).

Not much difference on the Android APK size (a ~600KB reduction), but
other TAR.GZ / ZIP distributions see a reduction of ~3.5MB.
2025-06-21 17:47:15 +02:00
David
b2f9530788 [DictQuickLookup] create addQueryWordToFirstResult method (#13911)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
So it can be disabled with a userpatch.
2025-06-21 11:37:13 +02:00
David
d993146480 [ReaderHighlight] NT: add better support for extending highlights (#13917) 2025-06-21 11:37:01 +02:00
David
6bc5b16282 [ReaderHighlight] NT: add key event to simulate a very long press (#13914) 2025-06-21 11:36:10 +02:00
David
306fd6c514 [Hotkeys] remove alphabetic hotkeys from K4 (#13950) 2025-06-21 08:12:03 +02:00
Benoit Pierre
f266aa2bdc bump base (#13971)
- https://github.com/koreader/koreader-base/pull/2096
- https://github.com/koreader/koreader-base/pull/2097
- https://github.com/koreader/koreader-base/pull/2098
- https://github.com/koreader/koreader-base/pull/2099
- https://github.com/koreader/koreader-base/pull/2100 (close #13821)
- https://github.com/koreader/koreader-base/pull/2101
- https://github.com/koreader/koreader-base/pull/2102
- https://github.com/koreader/koreader-base/pull/2103
- https://github.com/koreader/koreader-base/pull/2104
- https://github.com/koreader/koreader-base/pull/2105
- https://github.com/koreader/koreader-base/pull/2106
- https://github.com/koreader/koreader-base/pull/2107
- https://github.com/koreader/koreader-base/pull/2108
- https://github.com/koreader/koreader-base/pull/2109
- https://github.com/koreader/koreader-base/pull/2110
- https://github.com/koreader/koreader-base/pull/2111
2025-06-21 07:56:23 +02:00
David
30499e33b0 Add new presets.lua module and dictionary presets (#13774)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
2025-06-20 23:33:45 +02:00
Benoit Pierre
0594f619c3 gettext: fix handling of fuzzy translations
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
The code would incorrectly load part of them, examples:

- the fuzzy translation is not ignored (because of the context, which is itself ignored):
```
msgctxt "Status of group of books"
msgid "All"
msgstr "Kaikki"
```

- not ignored, with an invalid original string (`"Please configure it in the settings."`):
```po
msgid ""
"The download folder is not valid.\n"
"Please configure it in the settings."
msgstr ""
"Le répertoire de téléchargement est invalide.\n"
"Veuillez le configurer dans les paramètres."
```

- and in this case the second fuzzy entry end up overwriting the valid translation (with `"لم يتم حفظ الملف في:\n%1"`):
```po
msgid ""
"%1\n"
"%2"
msgstr ""
"%1\n"
"%2"

msgid ""
"Could not save file to:\n"
"%1\n"
"%2"
msgstr ""
"لم يتم حفظ الملف في:\n"
"%1"
```
2025-06-20 09:35:17 +02:00
Benoit Pierre
bfe329dfad gettext: filter out more empty translations 2025-06-20 09:35:17 +02:00
hugleo
f2c678c205 bump luajit-launcher (#13924)
Some checks failed
macos / macOS 13 x86-64 🔨15.2 🎯10.15 (push) Has been cancelled
macos / macOS 14 ARM64 🔨15.4 🎯11.0 (push) Has been cancelled
Removed ONYX Book GO COLOR 7 From Onyx/Qualcomm EDP (b0fd95f289)
Remove Boox Go7 from EDP driver and add support for Hisense Touch Lite (3468bdbf0d)
JNI: always use the C interface (473ccd5a93)
Add Onyx Boox Go7 and Palma to ADB for improved lighting (https://github.com/koreader/android-luajit-launcher/pull/560)
2025-06-19 15:06:49 +02:00
Linus045
3f19a2a05e feat: Adds progress bar to cloud storage downloads (#13650) 2025-06-19 10:15:40 +02:00
hius07
e9e2de27c5 readcollection: minor speedup (#13958) 2025-06-19 08:15:48 +03:00
Emre
72573fb393 [Calibre] React to SEND_BOOK_METADATA opcode (#13920)
Fixes #12922.
2025-06-17 12:27:11 +02:00
Benoit Pierre
4dc4339bc7 doc: update testing instructions 2025-06-14 21:18:19 +02:00
Benoit Pierre
ce8d338d94 kodev: update activate command
There's no need for messing with the LUA environment using luarocks
anymore, since all testing requirements are already provided by the
build system, and luacheck can be run with a different LUA version
than the one being checked.
2025-06-14 21:18:19 +02:00
Benoit Pierre
b373941a6f doc: update building instructions
- remove unnecessary LUA requirements already provided by the build system
- clarify necessary vs optional requirements
- simplify macOS instructions around the minimum targeted deployment version
2025-06-14 21:18:19 +02:00
Benoit Pierre
b8369d743a tests: fix newsdownloader tests isolation (#13954)
Cf. https://github.com/koreader/koreader/pull/13953#issuecomment-2972614736.
2025-06-14 21:14:25 +02:00
hius07
e41d00fca1 bookstatuswidget: minor fixes (#13943) 2025-06-14 10:49:43 +03:00
Frans de Jonge
da245628e0 [plugin] NewsDownloader: fix getEmptyFeed() call (#13945)
Accidentally changed in #13806.

Closes #13933.
2025-06-13 11:51:57 +02:00
hius07
b59734dfab Minor fixes (#13930) 2025-06-13 07:42:08 +03:00
weijiuqiao
7df7ab0da1 VocabBuilder plugin: show copy button on duplication when adding (#13876) 2025-06-10 20:25:27 +02:00
hius07
3d3e79f198 ToC: search (#13906) 2025-06-10 08:58:24 +03:00
David
c3352ee171 [ReaderDictionary] Match words when they are Capitalised in non-fuzzy search (#13884) 2025-06-05 08:04:22 +02:00
hius07
6133a43512 TouchMenu: optimize item removal (#13901) 2025-06-04 08:15:02 +03:00
Björn Schießle
946638e984 [plugin] Add setting to change the category of the Nextcloud notes (#13883)
Allow to define a category in Nextcloud Notes for exported highlights, default stays "KOReader" if the user doesn't remove it or set another category.
2025-06-03 06:12:19 +02:00
David
06661b05ab [DictQuickLookup] Enable temporary large window for open dictionary window (#13862) 2025-06-02 14:58:24 +02:00