Frans de Jonge
d0f95ec669
[UX] Use ProgressWidget in frontlight ( #5373 )
...
This makes it behave like a pretty decent slider.
Cf. <https://github.com/koreader/koreader/issues/5314 >.
2019-09-27 00:38:44 +02:00
NiLuJe
abc86323fc
[Kobo/Cervantes] Always use setBrightness to set the brightness ( #5429 )
...
sysfs_light handles every case sanely already, no need to be cute ;).
This prevents always setting the warmth when setting the FL on NL
devices with a mixer, because, besides being useless, it's also slow
(lua does mmap'ed io, so every handle requires an fstat + mmap).
It was subtly affecting the fluidity of the toggle ramp, and much less
subtly wreaking havoc on #5373 ;).
KA1 owners might want to investigate keeping the fds around one way or
another, like we do for the fl ioctl, to alleviate the overhead of doing
that for not one but three or four fds...
I won't be doing that, since I lack the hardware to test it, and FL+NL
stuff is pain.
* Do the same on Cervantes
* Bump base to pickup related ioctl tweaks
2019-09-26 23:59:31 +02:00
Jörg Derungs
c8a6c144fa
[fix] Make set defaults self contained ( #5419 )
...
Fixes #5418 .
2019-09-26 23:13:35 +02:00
Robert
3de3ea04ff
[UX] Better align buttonprogress in configdialog ( #5427 )
...
Similar to #5420
2019-09-26 11:46:23 +02:00
yparitcher
09d49e29ad
[UX] Add inverse reading order to gesture manager ( #5423 )
...
Also fixes #5354 .
2019-09-26 00:28:07 +02:00
Robert
67abf9a26a
Better align toggleswitch in configdialog ( #5420 )
2019-09-25 19:44:57 +02:00
Robert
0778ec09fc
Fix: incorrect chapter markers ( #5425 )
2019-09-25 19:40:00 +02:00
NiLuJe
e7cfc65780
[Kobo] Unbreak the FL ramp-up/down ( #5421 )
...
I got my wires crossed.
It's fast on Mk. 5, slow on Mk. 7.
So, slow it down on Mk. 5 so we actually get a ramp and not a jump.
2019-09-24 20:27:28 +02:00
Robert
02218cb9e2
[UX] Add fine tune in contrast ( #5413 )
2019-09-24 00:24:45 +02:00
NiLuJe
f96cfe940b
Use the proper LED driver on the Libra ( #5416 )
...
So that we can actually set the warmth ;)
2019-09-23 18:06:57 +02:00
yparitcher
31b9f78384
[UX] Add Hebrew keyboard ( #5414 )
2019-09-22 22:21:00 +02:00
NiLuJe
bcceb94603
Hotfix the startup orientation on the Kobo Libra ( #5409 )
2019-09-22 02:22:22 +02:00
NiLuJe
1c2c471c5f
[Kobo/Cervantes] Prefer using the ioctl over sysfs when setting the FL. ( #5407 )
...
* Prefer using the ioctl over sysfs when setting the FL.
It's much lower latency (re #5373 ).
We can do so on NL devices with a mixer.
2019-09-22 02:11:18 +02:00
poire-z
5bc6bf046c
bump crengine, show progress meter on load/re-rendering ( #5406 )
...
Includes:
- Adds tinyNodeCollection::getStatistics()
- epubfmt.cpp: cleanup indentation and small optimisation
- Add more progress callback events
- Optimisation: avoid re-init for EPUBs with embedded fonts
- Fix: don't draw border when border-color: transparent
- CSS: ignore 'inherit' inside font-family
Show a small progress meter at top left of screen when
crengine is loading, re-rendering, and saving cache file
(after a 2 second delay to not be bothered on small books).
Also add a wrapper for the last remaining bit of code that
was accessing _document directly (:getPageOffsetX()).
2019-09-21 18:59:05 +02:00
Robert
e2c771dd2d
Two-line footer ( #5405 )
...
Close : #1933
New option that moves progress bar to separate line in footer.
2019-09-20 09:33:29 +02:00
Frans de Jonge
d456a076af
[feat, UX] Ignore hold corners ( #5404 )
...
Closes <https://github.com/koreader/koreader/issues/5401 >.
2019-09-19 16:51:47 +02:00
Robert
28e2e664b1
fix: Truncate text in spinwidget ( #5393 )
2019-09-19 11:54:53 +02:00
noEmbryo
fe9ab1c77c
Move accented Greek characters to the "Accented" group ( #5402 )
2019-09-19 11:53:14 +02:00
Robert
8c1610b4e9
Fix: Incorrect width of separator line ( #5403 )
...
Fix : #5399
2019-09-19 11:51:55 +02:00
noEmbryo
6a2e4b7a08
Update el_keyboard.lua ( #5400 )
...
Set the Greek characters as the default
Cf. https://github.com/koreader/koreader/pull/5318#issuecomment-532705016
2019-09-18 18:50:33 +02:00
tobiasarndt
a2f605ba38
[fix] added PocketBook InkPad 3 Pro to device.lua ( #5398 )
2019-09-18 15:21:04 +02:00
Robert
d08516bd89
Fix: footer offset when orientation changes ( #5396 )
...
Fix : #5395
2019-09-18 11:13:51 +02:00
Robert
a7c358b080
[UX] Sort footer elements ( #5389 )
...
Close : #5329
- new option for footer - `Sort items`
- new widget `SortWidget`
2019-09-17 14:50:03 +02:00
Robert
e315d8690d
[chore] Remove unnecessary indent on new line ( #5391 )
2019-09-17 14:27:51 +02:00
Robert
b7d464ae4b
Set screenshot output folder ( #5382 )
...
Close : #4230
2019-09-17 13:01:40 +02:00
Frans de Jonge
5bc9700c24
[feat] Allow setting any document cover as screensaver ( #5369 )
...
Cf. suggestion by @KenMaltby in <https://github.com/koreader/koreader/issues/3033#issuecomment-526657352 >.
2019-09-16 15:27:49 +02:00
poire-z
788e6d90df
Fix: don't create sidecar file when indexing pdf documents ( #5384 )
2019-09-16 08:22:26 +02:00
Robert
54568d4dcd
[UX] Add fine tune in line spacing ( #5375 )
...
See https://github.com/koreader/koreader/issues/5312#issuecomment-528506421
Progress widget has a new extra button ⋮ that triggers SpinWidget.
2019-09-14 16:30:25 +02:00
Frans de Jonge
672d29fbcc
[fix] WakeupMgr: pass through task epoch for proximity check
2019-09-14 16:27:54 +02:00
Frans de Jonge
0c290be055
WakeupMgr: add log when scheduling wakeup
2019-09-14 16:27:54 +02:00
Frans de Jonge
3836184f9d
[Kobo] Always write scheduled wakeup info to log
2019-09-14 16:27:54 +02:00
NiLuJe
4363576066
Support the Kobo Libra
...
(Hopefully?).
2019-09-12 14:27:05 +02:00
Frans de Jonge
e257c4e45e
[feat, Kobo] Autoshutdown ( #5335 )
...
The methods used here will likely work on most embedded devices, which is why I put them in their own WakeupMgr interface/scheduler module, separate from Kobo.
See https://www.mobileread.com/forums/showthread.php?p=3886403#post3886403 for more context.
Fixes #3806 .
2019-09-12 14:15:08 +02:00
Robert
9163a85b3c
Messages in numberpicker widget ( #5353 )
...
See: #5342
2019-09-11 21:39:58 +02:00
Frans de Jonge
0dad707e2e
[fix, Kobo] Don't crash trying to sync frontlight with Nickel. ( #5361 )
...
When reasonably possible, the program should only crash in debug mode.
Adds a couple of extra unit tests to prevent regressions and adds docs.
Fixes <https://github.com/koreader/koreader/issues/5356 >.
2019-09-11 18:11:24 +02:00
Robert
deaa5d98e6
Disable show chapter markers when progress bar is hidden in footer ( #5345 )
2019-09-11 17:56:26 +02:00
Frans de Jonge
6c93415f67
[fix] Filesearcher crash on empty file attributes ( #5351 )
...
Fixes <https://github.com/koreader/koreader/issues/5343 >.
2019-09-09 18:39:36 +02:00
Frans de Jonge
ed4396821f
[fix] ReadSettings Inverse reading order ( #5350 )
...
`self.inverse_reading_order == nil and G_reader_settings:has("inverse_reading_order")` could easily be false, which would then incorrectly turn the setting off.
Fixes <https://github.com/koreader/koreader/issues/5346 >.
2019-09-09 17:34:27 +02:00
Frans de Jonge
07116b9898
[fix] Add keyboard layout to filemanager menu ( #5338 )
...
Overlooked in <https://github.com/koreader/koreader/pull/5318 >.
2019-09-07 20:49:44 +02:00
Frans de Jonge
59355200dc
[fix] PdfDocument: Hash collision ( #5337 )
...
A typo introduced in <https://github.com/koreader/koreader/pull/5282 >.
This might resolve <https://github.com/koreader/koreader/issues/5323 >, <https://github.com/koreader/koreader/issues/5327 >.
2019-09-07 17:15:12 +02:00
NiLuJe
a3acc667d6
[Kobo] Restart KOReader after a crash ( #5328 )
...
* Restart KOReader after a crash, after showing a fancy crash recap screen (our very own Gray Screen of Death!).
Kobo only, because it's possibly the platform where getting booted out
of KOReader is the most annoying.
Keeps track of crashes, to be able to give up after a while, in order to
avoid boot loops in the unlikely event of a crash loop on startup.
Adds a dev option to *always* exit KOReader after the crash screen.
2019-09-07 03:19:18 +02:00
Frans de Jonge
872c145f3a
[fix] ReaderGesture: Use getCurrentNetwork().ssid ( #5334 )
...
Otherwise ffi/util.template crashes on a table.
2019-09-06 22:51:45 +02:00
Frans de Jonge
17e437dbd0
[UX] Allow keyboard layout selection ( #5318 )
...
Fixes <https://github.com/koreader/koreader/issues/3998 >.
This isn't quite what I want but I've been letting this slip for
too long due to fancier keyboard interaction concepts.
2019-09-06 17:01:37 +02:00
Martín Fernández
20ebb55703
[Cervantes] Disable wifi before returning to QT, improved sysfs read ( #5326 )
2019-09-06 15:56:16 +02:00
NiLuJe
5f189beba9
You have failed this city! ( #5321 )
...
Switch two finger swipe icons to double arrows
2019-09-06 15:49:41 +02:00
Frans de Jonge
7019ff15bd
[chore] Drop SDL 1.2 ( #5324 )
...
Depends on https://github.com/koreader/koreader-base/pull/963 .
Also includes Initial import of <linux/rtc.h> related stuff https://github.com/koreader/koreader-base/pull/965
2019-09-05 23:30:13 +02:00
Robert
2d95a09e93
[UX] Option to show horizontal line separator in footer ( #5309 )
...
The separator is hidden by default.
2019-09-05 13:58:34 +02:00
Martín Fernández
cb2a3d9e72
Cervantes: Add back to stock reader ( #5316 )
2019-09-04 20:54:43 +02:00
Robert
ae50569055
Frontlight - Add checkbox use system settings ( #5307 )
...
See: https://github.com/koreader/koreader/issues/5205#issuecomment-526935357
Devices with `hasLightLevelFallback = true` (for now Android) has extra checkbutton `Use system settings`. Default unchecked.
2019-09-04 20:52:24 +02:00
Frans de Jonge
2cd9b50137
[Android] Don't ship Noto ( #5310 )
...
Follow-up to <https://github.com/koreader/koreader/pull/5252 >. This greatly reduces the Android package size.
See discussion in <https://github.com/koreader/koreader/pull/5264#issuecomment-525517001 >.
2019-09-04 20:50:25 +02:00