Commit Graph

8529 Commits

Author SHA1 Message Date
mergen3107
fdae07e2cc VirtualKeyboard: redesign and enhancements (#8089)
See #8089 for all the details.
2021-08-24 23:51:39 +02:00
hius07
684fd6c12d Standardize select/choose to choose (#8128)
Closes #8105.
2021-08-24 22:19:07 +02:00
Frans de Jonge
a558376471 [plugin] Change OPDS filetype algorithm to extension first, mimetype second (#8115)
Fixes <https://github.com/koreader/koreader/issues/7995>.
2021-08-23 12:44:07 +02:00
hius07
b56897f61e Kindle: don't kill kb service on start (#8122)
https://github.com/koreader/koreader/pull/6233#issuecomment-903300554
Tested on my Voyage with KOL 1.1, very nice.
2021-08-23 11:31:18 +02:00
John Beard
5d0ae3dde8 WebDAV: Handle non-self-closing tag for empty collection (#8121)
Some servers serve <D:resourcetype></D:resourcetype> rather
than <D:resourcetype/>. So handle this case when deciding
if an item is not a collection.
2021-08-23 08:51:33 +02:00
asynchronous-sheep
c16d2712ef Fix link for Portuguese dictionary “Dicionário Aberto” (#8118) 2021-08-22 17:07:42 +02:00
hius07
3c3361addf File browser, Path chooser: fix margin of the long folder name in the header (#8103)
* Filemanager: margin of the folder name in the header

* Menu: margin of the folder name in the header
2021-08-22 09:35:22 +02:00
Frans de Jonge
f2ce7d1f3a Various third-party bumps (#8113)
https://github.com/koreader/koreader-base/pull/1400
https://github.com/koreader/koreader-base/pull/1401

https://github.com/koreader/android-luajit-launcher/pull/334
https://github.com/koreader/android-luajit-launcher/pull/333
2021-08-22 09:29:53 +02:00
hius07
66b644295a Checkbutton: remove unused (#8108)
* Inputtext checkbutton: add "parent"
2021-08-22 09:10:35 +02:00
NiLuJe
1c739f1d54 ReadTimer: More QoL tweaks (#8107)
* Cleanup util.secondsFrom*Clock stuff (simpler maths, tail calls, meaningful printf tokens).
* Use util.secondsToClockDuration in ReadTimer instead of reinventing the wheel three different ways.
* Reschedule unexpired timers properly on resume (as best as we can, given the unreliable nature of REALTIME).
* Make clock timers tick on the dot, instead of at the same second as when being set.
* Speaking of clock timers, leave the math to os.date & os.time, don't reinvent the wheel yet again.
2021-08-22 00:34:09 +02:00
Frans de Jonge
04d1d23c2f [plugin] OPDS: prevent crash if link.type is nil (#8111)
It can happen… somewhere, while clicking around http://arxiv.maplepop.com/catalog a bit. (The magical crash/bug finder from <https://github.com/koreader/koreader/issues/3023>.)
2021-08-21 15:54:31 +02:00
Frans de Jonge
f1b1d14fab Readme: add link to user guide (#8110) v2021.08 2021-08-21 07:23:34 +02:00
Frans de Jonge
972b8fac1a Update translations for 2021.08 (#8109) 2021-08-20 20:58:34 +02:00
NiLuJe
056c03a262 ReadTimer: Small QoL fixes
* Never show negative relative time values.
* Make sure the alarm fires on resume if it expired during suspend.

Fix #8031
2021-08-19 22:40:04 +02:00
NiLuJe
edfb29b406 Fix duplicate suspend scheduling in Device:onPowerEvent
We should always unschedule suspend before scheduling it again (i.e.,
use rescheduleSuspend ;)).

Fix #8097 (many thanks to @Mel-kior for the detailed repro!)
2021-08-19 22:40:04 +02:00
NiLuJe
c044480658 Don't exclude the full .kobo directory tree
Only exclude the useless/dangerous bits.
Allows getting to the Dropbox folder.

Fix #8101
2021-08-19 22:40:04 +02:00
NiLuJe
c73745c6a7 Raise DocumentCache hard cap to 512MB
Soft cap is still 40% of available memory on startup.
2021-08-19 22:40:04 +02:00
Galunid
611a5311b6 Fix warmth settings on some android devices (#8104) 2021-08-19 15:55:11 +02:00
hius07
b4ec68d8c0 [UX] File search: add hold in search results (#8100)
Currently we see filenames only.

Added hold action to show the full path. Go to on a file will open the folder with a focused file.
2021-08-18 16:17:27 +02:00
poire-z
1a12e8555e Translator: add "Translate from book language" option (#8094)
When enabled, if the book has some supported language tag
in its metadata, use it as the source language. Otherwise,
fallback to the current settings (auto-detect or selected
source language).
2021-08-18 00:42:14 +02:00
poire-z
4e65b74b73 Footer: add "Include current page in pages left" setting (#8093) 2021-08-17 22:51:54 +02:00
Frans de Jonge
51d262bf67 Fix F-Droid build (#8096)
See https://github.com/koreader/koreader-base/pull/1399
2021-08-17 22:35:32 +02:00
poire-z
55a4d6fd1f Button: avoid cut words when switching to multilines
Followup to 954ba960
2021-08-17 21:44:48 +02:00
poire-z
6e02e62dcb Dict: avoid list items bullet/digit truncation with HTML dicts 2021-08-17 21:44:48 +02:00
poire-z
5df84bcb4f Footnote popups/in-page: support type/role=endnote 2021-08-17 21:44:48 +02:00
hius07
b875ccc6f9 InputText: fix hold handling, add clipboard empty hint (#8091)
Before: when holding the input box in input dialogs
for calling the Clipboard, hold release was passed to
MovableContainer and input dialog moved a little bit.
2021-08-17 15:24:44 +02:00
hius07
a8b39c17ed ReaderDeviceStatus: show only one alert (#8086) 2021-08-17 15:22:31 +02:00
hius07
19f43c47e1 CheckButton: accurate vertical alignment (#8083) 2021-08-17 15:20:41 +02:00
Hyphen-ated
b3eef2f20b Advertise the fact that it is FAST (#8090)
I looked at the readme for this project over a year ago and it didn't say anything about improved performance, so I didn't bother to try it out. I don't really care about any of the features currently advertised.

I have learned that on my Kobo Aura HD, KOReader is much much faster than the built in reading software. I wish I would have been using it this whole time! (see https://www.mobileread.com/forums/showthread.php?p=4147051&posted=1#post4147051 for my test videos if you're interested)
2021-08-17 09:27:37 +02:00
zwim
1a526a33c2 CoverImage plugin: allow writing grayscale BMPs (#8054) 2021-08-16 02:11:54 +02:00
zwim
5bbcb9ea79 Autostart Profiles (#8049)
Add the possibility to autostart profiles when KOReader is started with filemanager or lastfile.
Discussed in #8020

If more profiles are selected, they are started in alphabetically order.
2021-08-15 13:25:19 +02:00
poire-z
54eb2e1137 Quick start guide: fix links to images (#8072)
"../resources/..." was not working on some devices like
Android. Build the correct relative path on all devices.
2021-08-14 22:53:46 +02:00
poire-z
954ba9608e Button: reduce font size to avoid truncation (#8078)
If the button text would be truncated, try to avoid
it by reducing the font size, and even switching to
a 2-lines TextBoxWidget.
TextBoxWidget: fix possible glyphs truncations when
a small line_height is used. Also avoid some bad
result from getFontSizeToFitHeight(), possible due
to some rounding errors.
2021-08-14 22:15:01 +02:00
hius07
ef1dea990e Menu/GoTo: tweak go to page/letter dialog layout (#8056)
2 columns instead of 3, to get larger buttons and
avoid truncation with some translations.
2021-08-14 21:29:25 +02:00
hius07
3c597d1d84 FileSearcher: allow call with a search string (#8073) 2021-08-14 17:53:39 +02:00
hius07
fa4784cf13 Screenshoter: options to View and Delete after screenshot (#8050)
Also remove code duplication in ImageViewer.
2021-08-14 17:52:29 +02:00
NiLuJe
1a583af4a2 Unbreak Wi-Fi on < Mk.8 (#8077)
Don't pass empty parameters to insmod, it apparently doesn't like it...

Fix #8075
Regression since a91ba05e34
2021-08-14 17:28:26 +02:00
Martín Fernández
2222f25422 bump luajit-launcher (#8071) 2021-08-14 16:14:43 +02:00
hius07
c8a7f52672 Checkbutton: ensure max width, multiline if needed (#8066) 2021-08-14 00:49:19 +02:00
hius07
b622d6edd8 ReaderDeviceStatus: add high battery level alert (#8037) 2021-08-14 00:00:47 +02:00
Martín Fdez
6fb52528cd disable light settings on ChromeOS, android TV and e-ink devices without lights 2021-08-13 11:35:43 +02:00
Martín Fdez
8bf19a7327 flush settings before being killed 2021-08-13 11:35:43 +02:00
hius07
ace3f0ee16 ConfirmBox: new properties (#8065)
* keep_dialog_open, default to false.
Set to true to keep dialog open upon pressing any button, except Cancel and dismissable tap.

* other_buttons_first, default to false.
Set to true to put other buttons above Cancel - OK row
2021-08-13 00:45:10 +02:00
NiLuJe
f4cd12a48c Merge pull request #8057 from NiLuJe/master
A bunch of tweaks & fixes
2021-08-11 22:06:25 +02:00
NiLuJe
330b268fc6 Bump base
https://github.com/koreader/koreader-base/pull/1397
2021-08-11 20:16:08 +02:00
yparitcher
7148aed51c ReaderStatus: end book action: delete file: go to current directory in FM (#8042)
Go to the directory of the deleted file, instead of the folder you happend to switch into the reader from as this may have changed (via changing books from history etc)
2021-08-11 09:54:44 +02:00
NiLuJe
6d30835b3b Handle new stuff from 4.28.18220
While we're in the vicinity... ;).
2021-08-10 23:02:56 +02:00
zwim
b3c4b8dc94 [fix, lang] SortWidget: make "go to page" string translateable (#8061) 2021-08-10 21:19:07 +02:00
Frans de Jonge
3f8d389ee4 [fix, lang] KeyValuePage: make "go to page" string translateable (#8059) 2021-08-10 21:18:38 +02:00
NiLuJe
a91ba05e34 Set the WiFi regulatory domain properly on the Elipsa
No idea how restrictive the defaults are, but stuff is weird in the 5G
band, so, do it right.
2021-08-09 21:12:17 +02:00