2
0
mirror of https://github.com/koreader/koreader synced 2024-11-11 19:11:14 +00:00
Commit Graph

9820 Commits

Author SHA1 Message Date
NiLuJe
2f1435f1a7 Bump base
https://github.com/koreader/koreader-base/pull/1616
https://github.com/koreader/koreader-base/pull/1618
https://github.com/koreader/koreader-base/pull/1621
https://github.com/koreader/koreader-base/pull/1627
2023-06-29 14:33:23 +02:00
NiLuJe
5c8143d9ac SDL: Fix initial position & size
Also keep sdl_window in sync with enforced dimensions on the emu.
2023-06-29 14:33:23 +02:00
NiLuJe
4ae25794a8
Add a config file for the Lua LSP (#10611) 2023-06-25 16:14:01 +02:00
NiLuJe
55869b82cb
PowerD: Unbreak frontlight toggle notifications outside of Kobo (#10597)
Fix #10588
Regression since #10305

While we're there, rejig the FL toggle callback shenanigans so that implementation details don't leak through to *other* implementations.
(i.e., leave the Kobo mess in Kobo land, with only a minimal impact on the public API and its implementation).
2023-06-25 11:25:33 +02:00
hius07
4a775b03f1
History: update short date/time correctly (#10601)
Further to #10594, fix updating the mandatory.
2023-06-22 21:42:41 +02:00
hius07
45428dda49
History: shorten date/time field (#10594) 2023-06-21 07:33:09 +03:00
hius07
54ab0a04f8
Archive viewer (#10584) 2023-06-21 07:32:24 +03:00
Frans de Jonge
64f778d97d
PocketBook: add alternative definition for PB840 (#10582)
Cf. #10579.
2023-06-15 13:54:15 +02:00
hius07
eef99dafd6
Overlap: fix detecting reflow mode (#10576) 2023-06-14 07:36:37 +03:00
hius07
1d4e256c82
credocument: epub alternative mimetype (#10575)
Used by Flibusta OPDS.
2023-06-13 12:16:36 +02:00
yparitcher
1f62091b73
HtmlboxWidget: pairs->ipairs (#10574)
thanks @poire-z
Closes: #10565
2023-06-13 11:52:46 +02:00
zwim
3e3cc690f3
Fix regression after 10557 (#10570) 2023-06-13 07:51:31 +02:00
Benoit Pierre
f7d5828f08
persist: fix possible leak on error (#10568) 2023-06-12 09:25:54 +02:00
hius07
46933035c5
Open with: images (#10561) 2023-06-12 09:08:56 +03:00
Benoit Pierre
c95b17410b
tests: fix EPUB test (#10566)
Otherwise the test fail in my environment because of some user fonts.
2023-06-11 22:20:46 +02:00
Benoit Pierre
bb7ae20697
kindle: show require error trace (#10569) 2023-06-11 21:46:46 +02:00
Frans de Jonge
f7d633cc3d
readerhighlight_spec: add #nocov to some highlight tests (#10559)
The problem stems from <https://github.com/koreader/koreader/pull/10492> but we need the translations to go through.
2023-06-09 22:14:41 +02:00
hius07
3eee5dd14c
OPDS: view book cover (#10555)
(1) New "Book cover" button in the download dialog.
(2) Detect book that can be borrowed only (Internet Archive).
There is no support for borrowing, just showing a disabled button.
(3) Fixed some libraries, all of them work except Gallica.
2023-06-09 20:58:50 +02:00
zwim
c9e1b76a14
[plugin] AutoWarmth: Fix nightmode issue on non natural light devices (#10556)
This should fix #10491.
2023-06-09 20:57:49 +02:00
zwim
1ce1fe1780
[plugin] AutoWarmth: Fix resume and frontlight issue (#10557)
Fixes a regression introduced in #10426, when suspending during night and resuming during daylight.
2023-06-09 20:56:46 +02:00
hius07
fc7181419f
CoverImage: custom cover support (#10553) 2023-06-09 10:36:34 +03:00
poire-z
976284e44d
bump crengine: minor NCX ToC and createXPointer(pt) fixes (#10554)
Includes https://github.com/koreader/crengine/pull/518 : 
- EPUB NCX ToC: don't ignore items with invalid targets
- ldomDocument::createXPointer(pt): handle some edge case
  Closes #10505.
2023-06-08 11:08:03 +02:00
hius07
23feb0c9cd
Bookmarks: filter by highlight style (#10549) 2023-06-08 08:28:43 +03:00
hius07
01e6593dd4
File popup dialog buttons (#10537) 2023-06-08 08:27:52 +03:00
yparitcher
f7fd1ee0ce
bump base: expose the kindle mxcfb temperature constants (#10548) 2023-06-06 10:26:02 +02:00
poire-z
18cd6b79d8
BookMap: fix help text wording (#10544)
See https://github.com/koreader/koreader/pull/10530#discussion_r1217635869.
2023-06-05 18:45:41 +02:00
poire-z
04425b74fc BookMap: add "Overview" mode
Add a restricted but convenient mode showing BookMap like
in initial view, while still allowing chapter levels to be
tweaked. This allows getting back to this view with another
gesture to see the overall progress in the book, while
still having the normal BookMap in flat mode acting as
an alternative ToC.
Available as an action to associate to a gesture, and
with long-press on the "Book map" menu item.
2023-06-05 00:58:15 +02:00
poire-z
b7078caf29 BookMap: add option "10-page markers"
Allows hairy-boxes amateurs to get small markers (under
the baseline) every 10 pages (with -/+ to get small or
medium markers, with optionally smaller ones every 5 pages).
2023-06-05 00:58:15 +02:00
poire-z
5f4cd9df00 BookMap: add option "Page browser on tap"
Enabled by default, to get the current behaviour.
Disabling it allows people with small fingers to jump
directly to that page in Reader.
2023-06-05 00:58:15 +02:00
poire-z
ac159928dd BookMap: nicer alignment of the vertical page number
Align page numbers (the vertical ones, on the left of
a BookMapRow) on the baseline of the BookMapRow, where
page slots rise from.
Also tweak the page number spike below the baseline used
in PageBrowser.
2023-06-05 00:58:15 +02:00
poire-z
fa68c1e488 PageBrowser: smaller margins if no thumbnail page numbers
Also fix possibly unbalanced left and right margins.
2023-06-05 00:58:15 +02:00
hius07
38bb4a1983
QuickMenu: scrollable (#10528) 2023-06-04 15:29:30 +03:00
hius07
6cb245f86f
MoveToArchive register to Dispatcher (#10524) 2023-06-02 18:55:22 +03:00
hius07
5405fff837
Profiles: disable inapplicable actions in QuickMenu (#10500) 2023-06-02 18:54:54 +03:00
Frans de Jonge
1c0905bee2
Update translations for v2023.05.1 (#10523) 2023-06-01 20:45:51 +02:00
NiLuJe
2797a74a96
Kobo: Handle the newer Nia HW revision (#10520)
Fix #9590, closes #9591
2023-06-01 19:04:52 +02:00
hius07
66b661b726
Update readerhighlight_spec.lua (#10515) 2023-05-31 18:57:01 +03:00
hius07
1944f54aa0
Custom cover: fix (#10513)
Somehow have overlooked in testing.
Closes #10512.
2023-05-31 14:28:07 +02:00
hius07
a8244ddd23
FileChooser: fix legacy "Files and folders mixed" collate setting (#10514)
Closes #10509.
2023-05-31 14:26:13 +02:00
Glen Sawyer
128f205324
[plugin] Statistics: fix sync caused by semicolon in SQL comment (#10503)
Follow-up to <https://github.com/koreader/koreader/pull/10498>.
2023-05-30 22:56:25 +02:00
Glen Sawyer
2aa11b13ad
[plugin] Statistics: sync the last_open field (#10498) 2023-05-29 12:48:00 +02:00
yparitcher
8034858180 WakeupMgr: kinde: use a 90 sec proximity
sometimes my kindle fires the rtc alarm a tad too late so use a more generous timeout

the real fix would be to have validateWakeupAlarmByProximity return differently if the alarm is past or in the future, but i am too lazy
2023-05-28 10:03:19 -04:00
hius07
eadf76e992
Profiles: fix showing some bad values (#10495) 2023-05-28 08:06:29 +03:00
hius07
57f4ff2c68
ReaderHighlight: manage overlapped highlights (#10492) 2023-05-28 08:05:48 +03:00
hius07
177092243f
readcollection: fix mandatory for deleted files (#10488) 2023-05-28 08:05:07 +03:00
hius07
46578c0e12
documentregistry: fix DocSettings (#10478) 2023-05-28 08:04:25 +03:00
ElimGarak1
a18afc24b8
PB: Fix Inkpad 4 device id (#10481)
Turns out it's a lowercase G, and that matters ;).
2023-05-26 20:52:18 +02:00
Sunny
9e0f185174
rM: Work around LD_PRELOAD weirdness on forks on rM 2 (#10490) 2023-05-26 20:51:15 +02:00
roshavagarga
d54c5acc11
PB: Add Inkpad 4 (#10468)
Fix #10444
2023-05-21 01:24:27 +02:00
NiLuJe
17d5934712
Notification: NOP conflicting event handlers from our base class (#10471)
Notification is a toast, so it doesn't stop event popagation.
If we don't disable thoses handlers inside Notification, we get spurious
duplicate handlers being fired ;).

Fix #10461
2023-05-21 01:23:41 +02:00