Commit Graph

6280 Commits

Author SHA1 Message Date
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
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
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
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
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
hius07
e41d00fca1 bookstatuswidget: minor fixes (#13943) 2025-06-14 10:49:43 +03:00
hius07
b59734dfab Minor fixes (#13930) 2025-06-13 07:42:08 +03: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
David
06661b05ab [DictQuickLookup] Enable temporary large window for open dictionary window (#13862) 2025-06-02 14:58:24 +02:00
Benedikt McMullin
cfc67797e2 css_tweaks: add generic setting for smaller inpage footnotes (#13613)
Replaces the 3 '... (smaller)' tweaks.
2025-06-01 20:03:24 +02:00
hius07
521401c113 ButtonDialog: add widgets (#13893) 2025-06-01 08:21:17 +03:00
hius07
b6e5cd120f djvudocument: add getTextBoxes() (#13897)
Crash reported in #13895.
Also crashed when changing highlight boundaries.
2025-05-31 10:22:54 +02:00
hius07
89a14f4158 filemanagercollection: fix manual sorting (#13898)
Closes #13843.
2025-05-31 10:21:46 +02:00
Jadehawk
a38a578d74 Added Onyx Boox Go 7 to devices that follow gravity. (#13872)
(https://github.com/koreader/koreader/issues/9223, https://github.com/koreader/koreader/issues/12423)

* Sorted in Alphabetical Order 

Ref: https://github.com/koreader/koreader/pull/13872

Followed Windows Sort Order.
2025-05-31 09:38:23 +02:00
Benoit Pierre
6d6e9495d7 ota: prevent deadlock delaying an update (#13889)
When selecting "Later" after being prompted for installing an update
now, the next info box would be undismissable, deadlocking the UI.
2025-05-30 09:51:58 +02:00
jonnyl2
f592c3865e FileChooser: un-blacklist 'dict' and 'custom-dict' dirs in file browser (#13829)
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-05-26 19:28:26 +02:00
Benoit Pierre
f63c76d6d4 Use new Archiver module where applicable (#13782)
- ArchiveViewer: instead of using unzip and to support more formats
  (only CBR & RAR for now)
- NewsDownloader & Wikipedia plugins: instead of using `ZipWriter`
- device: re-implement `Device:unpackArchive` and get rid of device
  specific `untar` implementations
- readerui: instead of using unzip for document provider detection
2025-05-26 16:52:38 +02:00
Kevin Hellemun
0bb14ad84b [feat] Dispatcher: Add 'Set page-turn button inversion' (#13836)
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
Currently you can only toggle page turn buttons to inverted or not. This
commit adds the ability to also have an option in dispatcher to set the
value instead of just toggling.

This can be useful for profiles that want to set the value rather then
toggle.
2025-05-25 18:52:11 +02:00
Benedikt McMullin
4116c6d35b style tweak: Extend inpage footnotes (#13554)
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-05-25 13:30:59 +02:00
David
c2acb1f66e [MovableContainer] Allow widget repositioning on non-touch devices (#13703) 2025-05-25 09:11:07 +02:00
hius07
20fee6536d Coverbrowser: optimize display mode switching (#13822)
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-05-22 18:00:35 +03:00
hius07
d358b26d61 Highlights: extend (#13815) 2025-05-22 17:59:44 +03:00
hius07
905ee56566 Fulltext search: start page (#13798) 2025-05-22 17:58:45 +03:00
hius07
178bb823f0 Dispatcher: update action name or value (#13831) 2025-05-22 17:57:36 +03:00
Kevin Hellemun
0eff9ede4d feat: add set lock orientation in dispatcher (#13835)
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
ATM you can only toggle G sensor lock in dispatcher, this commit adds
the ability to set the lock to on or off.

This can be useful in profiles that want to set an explicit mode
instead of toggling the setting.
2025-05-22 00:21:41 +02:00
David
2512f06eb0 [ReaderDictionary] Enable dictionary prioritisation via new menu (#13768)
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-05-21 19:16:00 +02:00
jonnyl2
f1fa4cbfb5 Add DictTango ext dictionary (#13832)
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-05-20 13:53:13 +02:00
Gropinou
223ef68038 android: Go Color 7 follows gravity (#13823) 2025-05-20 13:52:52 +02:00
Benoit Pierre
8f71c00440 ImageViewer: small optimization (#13807)
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
Avoid decoding the first image twice (and decompressing it twice when used through ArchiveViewer).
2025-05-17 09:25:46 +02:00
Noa Himesaka
4c5b0a292c reMarkable: Make sleep/waking up w/o launcher work and properly exit when KO_DONT_GRAB_INPUT is set (#13795) 2025-05-16 09:49:47 +02:00
David
af1829a270 [ScreenSaver] Handle case where a file is lastfile but has now been reset (#13747)
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-05-15 23:32:12 +02:00
hius07
14d2848362 Status bar: fixes (#13746)
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-05-14 18:09:52 +03:00
Benoit Pierre
08bc71895a pdfdocument: register CBR file format
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-05-13 18:47:16 +02:00
hius07
082e818e67 Annotations export/import: merge (keep existing annotations) (#13751) 2025-05-13 18:09:51 +03:00
David
be7b8b4358 Emulator: set useDPadAsActionKeys flag with DISABLE_TOUCH (#13769)
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-05-11 09:09:06 +02:00
ElimGarak1
fecb2600ec Add PocketBook Verse Lite (PB619) (#13760)
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-05-09 21:02:45 +02:00
hius07
b1f28dd9e1 readerfooter: fix dynamic filter and presets (#13739)
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-05-06 19:28:40 +03:00
jonnyl2
fce94ce1de ReaderHighlight, ReaderBookmark: Highlight button labels, Bookmark details button order (#13735)
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 Xs to highlight erase buttons

* Change order of buttons
2025-05-05 21:57:04 +02:00