Commit Graph

9808 Commits (f7d5828f084827f3011078a9c3ebb1cbf27cf148)
 

Author SHA1 Message Date
Benoit Pierre f7d5828f08
persist: fix possible leak on error (#10568) 12 months ago
hius07 46933035c5
Open with: images (#10561) 12 months ago
Benoit Pierre c95b17410b
tests: fix EPUB test (#10566)
Otherwise the test fail in my environment because of some user fonts.
12 months ago
Benoit Pierre bb7ae20697
kindle: show require error trace (#10569) 12 months ago
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.
12 months ago
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.
12 months ago
zwim c9e1b76a14
[plugin] AutoWarmth: Fix nightmode issue on non natural light devices (#10556)
This should fix #10491.
12 months ago
zwim 1ce1fe1780
[plugin] AutoWarmth: Fix resume and frontlight issue (#10557)
Fixes a regression introduced in #10426, when suspending during night and resuming during daylight.
12 months ago
hius07 fc7181419f
CoverImage: custom cover support (#10553) 12 months ago
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.
12 months ago
hius07 23feb0c9cd
Bookmarks: filter by highlight style (#10549) 12 months ago
hius07 01e6593dd4
File popup dialog buttons (#10537) 12 months ago
yparitcher f7fd1ee0ce
bump base: expose the kindle mxcfb temperature constants (#10548) 1 year ago
poire-z 18cd6b79d8
BookMap: fix help text wording (#10544)
See https://github.com/koreader/koreader/pull/10530#discussion_r1217635869.
1 year ago
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.
1 year ago
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).
1 year ago
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.
1 year ago
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.
1 year ago
poire-z fa68c1e488 PageBrowser: smaller margins if no thumbnail page numbers
Also fix possibly unbalanced left and right margins.
1 year ago
hius07 38bb4a1983
QuickMenu: scrollable (#10528) 1 year ago
hius07 6cb245f86f
MoveToArchive register to Dispatcher (#10524) 1 year ago
hius07 5405fff837
Profiles: disable inapplicable actions in QuickMenu (#10500) 1 year ago
Frans de Jonge 1c0905bee2
Update translations for v2023.05.1 (#10523) 1 year ago
NiLuJe 2797a74a96
Kobo: Handle the newer Nia HW revision (#10520)
Fix #9590, closes #9591
1 year ago
hius07 66b661b726
Update readerhighlight_spec.lua (#10515) 1 year ago
hius07 1944f54aa0
Custom cover: fix (#10513)
Somehow have overlooked in testing.
Closes #10512.
1 year ago
hius07 a8244ddd23
FileChooser: fix legacy "Files and folders mixed" collate setting (#10514)
Closes #10509.
1 year ago
Glen Sawyer 128f205324
[plugin] Statistics: fix sync caused by semicolon in SQL comment (#10503)
Follow-up to <https://github.com/koreader/koreader/pull/10498>.
1 year ago
Glen Sawyer 2aa11b13ad
[plugin] Statistics: sync the `last_open` field (#10498) 1 year ago
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
1 year ago
hius07 eadf76e992
Profiles: fix showing some bad values (#10495) 1 year ago
hius07 57f4ff2c68
ReaderHighlight: manage overlapped highlights (#10492) 1 year ago
hius07 177092243f
readcollection: fix mandatory for deleted files (#10488) 1 year ago
hius07 46578c0e12
documentregistry: fix DocSettings (#10478) 1 year ago
ElimGarak1 a18afc24b8
PB: Fix Inkpad 4 device id (#10481)
Turns out it's a lowercase G, and that matters ;).
1 year ago
Sunny 9e0f185174
rM: Work around LD_PRELOAD weirdness on forks on rM 2 (#10490) 1 year ago
roshavagarga d54c5acc11
PB: Add Inkpad 4 (#10468)
Fix #10444
1 year ago
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
1 year ago
hius07 6c0bfb1c0a
FileManagerCollection: Fix crash on "Execute shell script" 1 year ago
hius07 919d67656d
readerhighlight: fix translator auto lang (#10469) 1 year ago
Frans de Jonge 710614752d
[doc, plugin] Exporter: manually specify module name (#10465)
Follow-up to <https://github.com/koreader/koreader/pull/10464>.
1 year ago
hius07 09425ea729
Exporter: fix comment for ldoc (#10464) 1 year ago
poire-z 011c168686
Wikipedia EPUBs: strip out invalid-XHTML <link> (#10462) 1 year ago
hius07 3d5775241d
Exporter: selected files (#10453)
Export highlights for selected files.
Having a button "Select all files in folder", it is easy to export the whole folder.
So, closes #10402.

To keep even number of buttons, added a feature "Show selected files list". May be useful to check selections before an operation. Just a sorted list, no titlebar or popup menu, tapping a file jumps to its folder.
1 year ago
NiLuJe 7e98b9de4b
PM: Minor refactor to suspend/resume code flow (#10426)
Make sure we only send Suspend/Resume events when we *actually* suspend/resume. This is done via the Device `_beforeSuspend`/`_afterResume` methods, and those were called by the *input handlers*, not the PM logic; which means they would fire, while the PM logic could actually take a smarter decision and *not* do what the event just sent implied ;).

(i.e., sleep with a cover -> suspend + actual suspend, OK; but if you then resume with a button -> input assumes resume, but PM will actually suspend again!).

Existing design issue made more apparent by #9448 ;).

Also fixes/generalizes a few corner-cases related to screen_saver_lock handling (e.g., don't allow USBMS during a lock).

And deal with the fallout of the main change to the Kobo frontlight ramp behavior ;).
1 year ago
hius07 7ab832081b
[plugin] Exporter: choose folder (#10448)
Default is still koreader/clipboard.
1 year ago
hrdl 20101baef6
pdfdocument: cache page text (#10450)
Updating the selection queries the same page tens of times per second. This prevents KOReader from keeping up with high-frequency input event streams.

Fixes #10443. Relies on koreader/koreader-base#1612.
1 year ago
Frans de Jonge 796574e5cd
Bump base (#10458)
* https://github.com/koreader/koreader-base/pull/1613
* https://github.com/koreader/koreader-base/pull/1612
* https://github.com/koreader/koreader-base/pull/1533
1 year ago
hius07 5f59ee6417
readerhighlight: fix translate (#10451)
Fix translation for books without "language" in properties (it is "", Translator expects nil).
Regression after #10438.
1 year ago
夏鲁豫 4c9231a8f8
[plugin] Exporter: add memos export (#10411)
Add an export method for memos, which originates from [flomo](https://flomoapp.com/) and now has an open-source self-deployment solution:[memos](https://github.com/usememos/memos)
1 year ago