Commit Graph

9719 Commits

Author SHA1 Message Date
poire-z
04fba2205d PageBrowser: show page number alongside thumbnails
Add a top left menu item -/+ to show none, only on the
first thumbnail of a row, or on all thumbnails.
Also make the page slot separator longer in the bottom
ribbon before pages that start a thumbnails row.
Also show a little spike in the bottom ribbon below page
slots that get their page number displayed, to ease
figuring out the connection.
2023-04-30 20:46:09 +02:00
poire-z
7bae2ed920 Dispatcher: add "Save book metadata" 2023-04-30 20:46:09 +02:00
Frans de Jonge
744f2d185f [fix] Reintroduce "Start with" default to prevent nil string on startup (#10369)
Regression from #10198.

Fixes #10368.
2023-04-30 13:01:55 +02:00
Mochitto
0db042fd0c Fix crash exporting to Markdown with missing authors (#10278) 2023-04-29 01:22:47 +02:00
Mochitto
53079441f9 Fix: exporting all notes and single doc now both use metadata for author and title (#10280) 2023-04-29 01:21:00 +02:00
Mochitto
c0615c3bda Feature: Export to kindle's myClippings (#10263)
* Feature: Added the possibility to export using kindle's myClippings formatting
* Fix: files that have the same extension don't collide anymore
2023-04-29 01:19:13 +02:00
weijiuqiao
cb9cbff10e KeyValuePage: fix corner-case alignment bug (#10326)
Change algorithm to comparing all kv pairs.
Also ignore any pairs where the value is "" when computing
the alignment, since they usually are intended more as
a title and should not interfere.
2023-04-28 23:53:37 +02:00
yparitcher
b5fda00a8b kodev check: enforce default submodule.recurse=false for shellcheck & shfmt on submodules (#10362)
Otherwise results might be unexpected for people who set submodule.recurse to true

Regression of sorts since #10344
v2023.04
2023-04-27 15:45:28 +02:00
Frans de Jonge
6c2f230639 Bump luajit-launcher (#10360)
* Add Boyue S62 root light controller (koreader/android-luajit-launcher#408) @RamKromberg
* Onyx Leaf: fix lights (koreader/android-luajit-launcher#414) @pazos
2023-04-26 22:11:45 +02:00
hius07
fd8cb14c00 CoverBrowser: fix getting cached info (#10346) 2023-04-26 10:19:01 +03:00
Frans de Jonge
b04639a9e6 Update translations for v2023.04 (#10359) 2023-04-25 18:20:41 +02:00
Frans de Jonge
e6f1804694 Bump luajit-launcher (#10358)
Adds Tagus Gea

* https://github.com/koreader/android-luajit-launcher/pull/412 @Alfedi
2023-04-25 18:17:57 +02:00
NiLuJe
53e6cf563a Deal with table.pack corner-cases properly (#10350)
c.f., https://github.com/koreader/koreader-base/pull/1603 for more
details.

Re: #9624
2023-04-24 00:21:05 +02:00
zwim
60849aed12 kodev: don't check shfm, same as in #8636 (#10344) 2023-04-19 21:08:06 +02:00
Frans de Jonge
a8ab5e84e5 Bump base for HiDPI support (#10341)
Fixes <https://github.com/koreader/koreader/issues/8630>. Might require the `SDL_VIDEODRIVER=wayland` environment variable.

Includes:

* SDL: add idiotic workaround to be less blurry on HiDPI (koreader/koreader-base#1602)
* SDL: avoid silly ABS_MT_TRACKING_ID for mouse button presses (koreader/koreader-base#1600)
2023-04-18 23:22:32 +02:00
hius07
99265ba1b7 BookInfo: fix crash on show cover (#10315) 2023-04-16 21:46:09 +02:00
Frans de Jonge
5dd88535ba Bump base for SDL: add multitouch support (#10334)
Includes:

* Fix build on Mac OS X 13.3+ (missing ifr_netmask) (koreader/koreader-base#1596)
* Add C declarations needed for zmq http server (koreader/koreader-base#1595)
* SDL: add multitouch support (koreader/koreader-base#1599)
2023-04-16 12:00:57 +02:00
hius07
af45ec75c3 ReaderThumbnails: update cached page thumbnail on bookmark note change (#10303) 2023-04-14 07:53:05 +03:00
hius07
be7d6008d1 Reader: do not apply line spacing out of range (#10307)
* readercoptlistener: fix line spacing out of range

* readerkoptlistener: fix line spacing out of range

* creoptions: fix line spacing limit
2023-04-13 20:43:04 +02:00
weijiuqiao
34c2dab54b statistic.koplugin: fix today's timeline showing next day when within custom offset (#10299)
Continuing https://github.com/koreader/koreader/pull/10254#issuecomment-1494697269
2023-04-07 09:02:23 +02:00
zwim
4dbaca180a PM: Optimize task queue handling around standby (#10203)
Instead of firing on(Enter|Leave)Standby Events, and having every other piece of code that might care about that handle re-scheduling their stuff themselves; simply make the standby implementation (i.e., AutoSuspend's) shift the whole task queue by the amount of time spent in standby to re-sync everything automatically.

(This is necessary in the first place because Linux, as the task queue ticks in CLOCK_MONOTONIC, which does *not* tick during suspend/standby; while we expect most of the tasks scheduled to actually reflect real world clock delays).
2023-04-05 20:54:47 +02:00
weijiuqiao
86ddfc856d SSH.koplugin: fix cant stop SSH server bug when pid file's stale (#10300)
Fixes #9812.
2023-04-05 08:39:56 +02:00
hius07
483a005cc2 File browser: show Folder Menu on long-press on Home icon (#10298) 2023-04-05 08:24:41 +03:00
hius07
b01e1c5918 Reader: do not apply font size out of range (#10295) 2023-04-04 08:11:02 +03:00
hius07
14de514ae8 filechooser: fix show files in bold (#10296) 2023-04-03 12:18:38 +03:00
Frans de Jonge
89b4c737e2 Bump base for M1 building (#10291)
* Makefile / library path modifications to make M1 building work (koreader-base#1570)
* thirdparty/luasec 1.3.1 (koreader-base#1591)
* [CI] Update all but Android to new CMake 3.16 image (koreader-base#1487)
2023-04-02 23:26:28 +02:00
yparitcher
3452462fa7 Make kodev check feature complete (#8682) 2023-04-02 21:00:45 +02:00
poire-z
960671a16c PageBrowser: tweak scrolling behaviour at book start/end
Handle scroll by row or page a bit differently, so we dont
constrain and readjust the focus page when reaching book
start or end: when later scrolling in the other direction,
we'll find exactly the view as it was (this means that
we allow a single thumbnail in the view, but it's less
confusing this way).
2023-04-02 20:54:14 +02:00
poire-z
7c5c7bb9cf Calendar view's day view: thicker separator at 00:00
When using the new option "Daily timeline starts at",
make the separator line between 23:00 and 00:00 thicker.
Also tweak time picker to pick minutes by units of 10,
and remove max hour (06:00) limitation.
2023-04-02 20:54:14 +02:00
hius07
b7c4e1c21b ListMenu: show mark for books with highlights (#10276) 2023-04-02 16:58:51 +03:00
hius07
34ab0d8ac6 Folder Menu: sign for Home folder (#10288) 2023-04-02 15:46:51 +02:00
hius07
827581ac72 readerbookmark: fix writing pdf annotation (#10287) 2023-04-02 10:31:43 +03:00
Mochitto
d39cc78f9c [plugin] Exporter: use util.getSafeFilename() to remove illegal characters from output filename (#10282)
Fixes #10281.
2023-04-01 23:32:30 +02:00
Piotrek Marciniak
2e630286df Sync book statistics: add to dispatcher (#10285) 2023-04-01 22:20:57 +02:00
hius07
b98fee3dd0 filechooser: fix bug with "unreadable content" (#10283) 2023-04-01 20:32:59 +03:00
weijiuqiao
5648c942c1 Calendar view: add options to change start time of days (#10254)
Can be set for example to 04:00 to see after-midnight readings
with those of the previous evening in day timeline.
Also fix possible shifts in day start when crossing DST changes
with prev/next.
Also fix sorting (by reverse reading duration) of books at top
2023-04-01 19:15:36 +02:00
hius07
59a0139a60 File browser: add Folder Menu (#10275) 2023-03-31 19:35:27 +03:00
nairyo
983e083a0b Center pdf manual zoom mode (#10246)
Center PDF content when its width is smaller than the screen

fix #9967
2023-03-31 17:29:16 +02:00
hius07
a3080b042a BookInfo: add page information (#10255) 2023-03-31 12:59:11 +03:00
hius07
d992fd3cfe Dispatcher: translate QuickMenu title (#10271)
Closes #10270.
2023-03-30 20:11:29 +02:00
hius07
3a37d30ad6 Dispatcher: use translated labels for Zoom Mode actions (#10269) 2023-03-30 08:36:41 +03:00
yparitcher
bc5d354225 ReaderLink: allow a forward location stack (#10228)
this allows going back and forth from links (think of undo / redo)

when going back and no forward locations and when we are not on the same page as the last saved location, add the current location to the forward stack, helping if one goes back by mistake they can jump back to their current location

when going back and no forward locations and when we are not on the same page as the last saved location, add the current location to the forward stack, helping if one goes back by mistake they can jump back to thier current location
2023-03-29 18:32:44 +02:00
Mochitto
3a894f954c Fix: Updated legacy directory, which crashed the program (#10260)
Fixes #10259
2023-03-29 15:19:49 +02:00
hius07
91fc8a0061 readhistory: fix clear missing (#10257) 2023-03-28 20:04:40 +03:00
hius07
4d26650ad6 Filesearcher: add search in book metadata (#10198) 2023-03-28 16:16:53 +03:00
hius07
df9c2bcb7f History: fix book info buttons disable (#10244) 2023-03-26 21:11:19 +03:00
hius07
c6a7f083c9 readerstyletweak: update profiles on unregistering in dispatcher (#10247) 2023-03-26 21:10:39 +03:00
hius07
aedb713f82 Menu widget: cleanup (#10241) 2023-03-25 09:48:30 +02:00
poire-z
b3fe90c927 bump crengine: fix parsing of multibytes encodings
Includes:
- LVTextFileBase: fix parsing of multibytes encodings
2023-03-23 20:28:38 +01:00
poire-z
f16fbf1d0b Book style tweak: add button with CSS suggestions
Mostly non-standard CSS declarations (so, possibly unknown
to users) that can be useful for solving certain issues.
2023-03-23 20:28:38 +01:00