Commit Graph

8517 Commits (972b8fac1a6ed7e50379d2746b97178a12bad3c6)
 

Author SHA1 Message Date
Frans de Jonge 972b8fac1a
Update translations for 2021.08 (#8109) 3 years ago
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
3 years ago
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!)
3 years ago
NiLuJe c044480658 Don't exclude the full .kobo directory tree
Only exclude the useless/dangerous bits.
Allows getting to the Dropbox folder.

Fix #8101
3 years ago
NiLuJe c73745c6a7 Raise DocumentCache hard cap to 512MB
Soft cap is still 40% of available memory on startup.
3 years ago
Galunid 611a5311b6
Fix warmth settings on some android devices (#8104) 3 years ago
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.
3 years ago
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).
3 years ago
poire-z 4e65b74b73
Footer: add "Include current page in pages left" setting (#8093) 3 years ago
Frans de Jonge 51d262bf67
Fix F-Droid build (#8096)
See https://github.com/koreader/koreader-base/pull/1399
3 years ago
poire-z 55a4d6fd1f Button: avoid cut words when switching to multilines
Followup to 954ba960
3 years ago
poire-z 6e02e62dcb Dict: avoid list items bullet/digit truncation with HTML dicts 3 years ago
poire-z 5df84bcb4f Footnote popups/in-page: support type/role=endnote 3 years ago
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.
3 years ago
hius07 a8b39c17ed
ReaderDeviceStatus: show only one alert (#8086) 3 years ago
hius07 19f43c47e1
CheckButton: accurate vertical alignment (#8083) 3 years ago
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)
3 years ago
zwim 1a526a33c2
CoverImage plugin: allow writing grayscale BMPs (#8054) 3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago
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.
3 years ago
hius07 3c597d1d84
FileSearcher: allow call with a search string (#8073) 3 years ago
hius07 fa4784cf13
Screenshoter: options to View and Delete after screenshot (#8050)
Also remove code duplication in ImageViewer.
3 years ago
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
3 years ago
Martín Fernández 2222f25422
bump luajit-launcher (#8071) 3 years ago
hius07 c8a7f52672
Checkbutton: ensure max width, multiline if needed (#8066) 3 years ago
hius07 b622d6edd8
ReaderDeviceStatus: add high battery level alert (#8037) 3 years ago
Martín Fdez 6fb52528cd disable light settings on ChromeOS, android TV and e-ink devices without lights 3 years ago
Martín Fdez 8bf19a7327 flush settings before being killed 3 years ago
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
3 years ago
NiLuJe f4cd12a48c
Merge pull request #8057 from NiLuJe/master
A bunch of tweaks & fixes
3 years ago
NiLuJe 330b268fc6 Bump base
https://github.com/koreader/koreader-base/pull/1397
3 years ago
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)
3 years ago
NiLuJe 6d30835b3b Handle new stuff from 4.28.18220
While we're in the vicinity... ;).
3 years ago
zwim b3c4b8dc94
[fix, lang] SortWidget: make "go to page" string translateable (#8061) 3 years ago
Frans de Jonge 3f8d389ee4
[fix, lang] KeyValuePage: make "go to page" string translateable (#8059) 3 years ago
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.
3 years ago
NiLuJe 1e9346aec6 Fix Wi-Fi toggle on the Elipsa
It turns out that the kernel needs a little push now that the dedicated
wifi power control module is gone ;).

Issue was only exposed if you booted KOReader while the Wi-Fi was down.
3 years ago
NiLuJe 2d12f8a8ee Mention that arguments are always evaluated, to curb enthusiasm at
putting too much fancy stuff in a logger call ;).

(Not actually an issue in our current codebase).
3 years ago
NiLuJe 0acf1a2b29 Kill NanoClock on startup
It's not terribly useful for us, as we already provide similar
functionaility.

(It'll be restarted automatically when nickel restarts).
3 years ago
NiLuJe ba6fef4d7b
Bump base & android-luajit-launcher (#8052)
* Bump base
https://github.com/koreader/koreader-base/pull/1395
* Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/328
https://github.com/koreader/android-luajit-launcher/pull/329
https://github.com/koreader/android-luajit-launcher/pull/330
https://github.com/koreader/android-luajit-launcher/pull/331
3 years ago
NiLuJe bc133e70d3
Input: Minor simplifications around pen/finger discrimination & the snow protocol (#8021)
* Decode EV_KEY:KEY_BATTERY
* Input: Only drop hovering *pen* events.
  There are currently too many broken 0-pressure *finger* events being
  reported on the Elipsa, making a dumb rejection highly annoying.
* Bump base
https://github.com/koreader/koreader-base/pull/1393
* Rely on actual events to detect loss of contact for the "snow"
protocol.
  Allows simplifying the whole thing.
* Use `ipairs` over `pairs` for pure arrays.
3 years ago
Martín Fernández 83554c6180
add doctype to template (#8040) 3 years ago
Frans de Jonge acfc5eec2b
[lang] Add a couple of plurals (#8028)
Reported by @ichnilatis-gr , see https://www.mobileread.com/forums/showthread.php?p=4140493#post4140493 and following.
3 years ago
hius07 e5f28a0f60
"Page turns" menu development (#8022)
Make "Taps and gestures - Page turns" available only in reader.
Move there other page turn related menu items from Navigation.
Remove duplicated code. Added standard "star" for default RTL.
3 years ago
Martín Fernández 990b6768f4
disable battery level on desktop Linux (#8026)
This also include ChromeOS laptops (chromebooks) since the power sysfs attributes don't exist in linux containers.
3 years ago
Evan Boehs 9bb6b70c7a
Check for update → Check for updates (#8027) 3 years ago
Martín Fernández ef5095f806
bump luajit-launcher (#8025)
Namely the Boyue P78, a JDRead, the Fidibook and a new, mysterious, Boyue Lemon smile

Related to #4551
3 years ago
NiLuJe af4a88315c
Bump base (#8019)
https://github.com/koreader/koreader-base/pull/1390
https://github.com/koreader/koreader-base/pull/1392
3 years ago