* Try to make sure restoreWifiAsync eventually sends a NetworkConnected
event...
re: #5109
* Take a page from @shermp's book, and make sure wpa_supplicant managed to
connect to the AP before acquiring an IP.
Tear down WiFi modules in case of failure.
c.f., https://github.com/shermp/Kobo-UNCaGED/pull/21
* Don't let restore-wifi-async.sh enable WiFi behind our back when we're
killing it to start Nickel...
* Don't even call ping if there's no default gw
Close: #4997
This PR add support arrow key and mouse scroll wheel for next/previous page.
- Document in page mode:
PageDown, Arrow down, Arrow right - go to next page
PageUp, Arrow up, arrow left - go to prev page
Mouse scroll wheel down - go to next page
Mouse scroll wheel up - go to prev page
- Document in scroll mode:
PageDown, Arrow right - go to next page
PageUp, Arrow, arrow left - go to prev page
Arrow down - scroll document down
Arrow up - scroll document up
Mouse scroll wheel down - scroll document down
Mouse scroll wheel up - scroll document up
Option to show all files in cloudstorage also not supported by KOReader. We can also download any file.
To show all files in CS we need to enable option Show unsupported files in file manager (introducing in #5129)
Close: #5006
* Fix Kindle model detection in some corner-cases
We were (currently) unaffected because we don't support the K1.
Still, this should be slightly more robust.
Provides a bit more granularity than the generic "Ignore all
publisher margins" - and allow the same for paddings for books
that wrongly use paddings for that effect.
Main thumbnails and galleries items will float in "book" and
"web" modes.
Also use a honest User-Agent when requesting Wikipedia to
comply with their policy and avoid rate limitation (and
broken images).
- Updated "Avoid page break" tweaks to work on our latest epub.css.
- Added "New page on headings>" menu, as we no more break page on
H1, H2, H3 in EPUBs.
- Added "Center headings" as we no more have them centered.
- Added "Pure black and white" which can make some documents
more readable.
Adds "Render mode" toggle with 4 modes, to enable some or all
of crengine's new enhanced block rendering features.
Use "legacy" rendering for previously opened books to not mess
with bookmarks, and "web" (all of the new features) for new books.
Also make available the added "HTML5" stylesheet to the Style menu.
base:
- Bump FreeType to 2.10.1
- [Android] some tolino/nook waveform fixes
- Update FBInk to 1.17.0
crengine:
- Fix bad word spacing in lines ending with a single char word
- Fix "list-style-position: inside" with "list-style-type: none"
- Fix missing in-page footnotes from imbricated tables
- Avoid page split with lines taller than page height
- CSS: adds more attribute selectors, handle case insensitivity flag
- Allow reentrant use of LVFormatter
- EBR1/9 Enhanced Block Rendering: selectable features set
- EBR2/9 CSS: parse and store "float:" and "clear:"
- EBR3/9 DOM/initRendMethod: wrap floats in a floatBox element
- EBR4/9 Upgrade RenderRectAccessor to cache new fields
- EBR5/9 Implement enhanced renderBlockElement()
- ERB6/9 Enhanced final block rendering and text formatting
- EBR7/9 Update drawing code to handle floats and overflows
- EBR8/9 Update XPointers/pt translation methods to handle floats
- EBR9/9 Add "-cr-only-if:" private CSS property, update epub.css
- Adds HTML5 suggested rendering stylesheet (html5.css) (#300)
* Make toggling Gyro events more robust
Actually ask to turn it on/off depending on the setting, instead of a
blind toggle
A quick succession of suspend/resume events could otherwise leave it
in an unexpected state (i.e., off when it should have been on).
add support for runtime permissions on api23+
add support for devices with a notch on api28+
fix some potential memory leaks
do not check luajit-launcher shell scripts
Specifically, how we ignore it.
No longer do anything specific and potentially racy, and let the
unexpected wakeup handler take care of putting us back to sleep.
Also add an option to only ignore wakeup events from the SleepCover.
Re #5098
Re #5087
For some mysterious reason, I have a duplicate default gateway on my
Forma, one with no metrics, and a proper one.
This ensures we pick the proper one.
I'm fairly sure this is temporary insanity on the part of my device,
but, still, it can't hurt.
route -n:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 208 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 208 0 0 eth0
ip r:
default via 192.168.0.1 dev eth0
default via 192.168.0.1 dev eth0 metric 208
192.168.0.0/24 dev eth0 src 192.168.0.49 metric 208
* Make the cover thumbnail respect the cover's AR in the widget
* Add a "Mark as read/unread" button in the FM's longpress menu.
* Make sure the cover_info cache is wiped if necessary (sidecar purge/BookInfo cache clear).
The contained widget may not have integer position/dimen
(which should probably be fixed in those that don't ensure
that), and our maths could eventually make them even more
shifted by fractional parts.
In the end, when closing the widget, the refresh code may
miss painting/cleaning 1px and leave a border of the widget
on the screen.
Includes:
- Make our nightmode trickery behave with transparent images
- Ensure internal element body>stylesheet is kept hidden
- Tables: remove split avoid between 2 last rows
- List items: marker should be displayed outside left padding
- List items: fix huge marker width when CSS absolute font size
- Fix ldomNode::getSurroundingAddedHeight() computation
- resizeImage: avoid resizing to negative values
- Fix measurement glitch inside very long paragraph
- Fix: empty single or last paragraph line should have 0-height
- Fix some ignored BR, cleanup renderFinalBlock flags/baseflags
- Optimisation: avoid uneeded clearing of _renderedBlockCache