You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/ui/widget
NiLuJe 37a01100b7
Various Wi-Fi QoL improvements (#6424)
* Revamped most actions that require an internet connection to a new/fixed backend that allows forwarding the initial action and running it automatically once connected. (i.e., it'll allow you to set "Action when Wi-Fi is off" to "turn_on", and whatch stuff connect and do what you wanted automatically without having to re-click anywhere instead of showing you a Wi-Fi prompt and then not doing anything without any other feedback).
* Speaking of, fixed the "turn_on" beforeWifi action to, well, actually work. It's no longer marked as experimental.
* Consistently use "Wi-Fi" everywhere.
* On Kobo/Cervantes/Sony, implemented a "Kill Wi-Fi connection when inactive" system that will automatically disconnect from Wi-Fi after sustained *network* inactivity (i.e., you can keep reading, it'll eventually turn off on its own). This should be smart and flexible enough not to murder Wi-Fi while you need it, while still not keeping it uselessly on and murdering your battery.
(i.e., enable that + turn Wi-Fi on when off and enjoy never having to bother about Wi-Fi ever again).
* Made sending `NetworkConnected` / `NetworkDisconnected` events consistent (they were only being sent... sometimes, which made relying on 'em somewhat problematic).
* restoreWifiAsync is now only run when really needed (i.e., we no longer stomp on an existing working connection just for the hell of it).
* We no longer attempt to kill a bogus non-existent Wi-Fi connection when going to suspend, we only do it when it's actually needed.
* Every method of enabling Wi-Fi will now properly tear down Wi-Fi on failure, instead of leaving it in an undefined state.
* Fixed an issue in the fancy crash screen on Kobo/reMarkable that could sometime lead to the log excerpt being missing.
* Worked-around a number of sneaky issues related to low-level Wi-Fi/DHCP/DNS handling on Kobo (see the lengthy comments [below](https://github.com/koreader/koreader/pull/6424#issuecomment-663881059) for details). Fix #6421 
Incidentally, this should also fix the inconsistencies experienced re: Wi-Fi behavior in Nickel when toggling between KOReader and Nickel (use NM/KFMon, and run a current FW for best results).
* For developers, this involves various cleanups around NetworkMgr and NetworkListener. Documentation is in-line, above the concerned functions.
4 years ago
..
container Statistics: new Calendar view (#5854) 4 years ago
bboxwidget.lua Add support for physical button for page crop (#6091) 4 years ago
bookstatuswidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
button.lua Reorganize bottom menu config panels (#6131) 4 years ago
buttondialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
buttondialogtitle.lua Floor dimension computations (mul/div). (#6264) 4 years ago
buttonprogresswidget.lua [UX] Better align buttonprogress in configdialog (#5427) 5 years ago
buttontable.lua [UX] Switch ButtonTable to COLOR_GRAY (#5585) 5 years ago
checkbutton.lua Enable HW dithering in a few key places (#4541) 5 years ago
checkmark.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
closebutton.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
configdialog.lua Fix ConfigDialog's ButtonProgress Fine tune updating presets (#6433) 4 years ago
confirmbox.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
datewidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
dictquicklookup.lua Floor dimension computations (mul/div). (#6264) 4 years ago
doublespinwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
eventlistener.lua Add restart koreader function and ensure FlushSettings event can be delivered to all widgets (#2772) 7 years ago
filechooser.lua Implement numeric collator (natural sorting) in file manager (#6378) 4 years ago
fixedtextwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
focusmanager.lua [feat] FocusManager: wrap around horizontally (#6315) 4 years ago
footnotewidget.lua Style tweaks: limit EPUB/FB2 footnotes to these formats 4 years ago
frontlightwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
horizontalgroup.lua [RTL UI] update low-level widgets to handle mirroring 4 years ago
horizontalspan.lua cleanup: expand tab to 4 spaces 10 years ago
htmlboxwidget.lua use screen for UI color control 5 years ago
iconbutton.lua Fix: Unable to hold top right corner in FileManager (#5248) 5 years ago
imageviewer.lua Allow running shell scripts from the FileManager/Favorites (#5804) 4 years ago
imagewidget.lua Allow toggling CRe's new dithering & scaling (#4922) 5 years ago
infomessage.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
inputdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
inputtext.lua [RTL UI] use auto or LTR text direction in some specific cases 4 years ago
keyboardlayoutdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
keyvaluepage.lua Statistics: some fixes, reordering and rewording (#6194) 4 years ago
linewidget.lua [chore] Convert a couple more todos (#5267) 5 years ago
linkbox.lua Various blitting related cleanups (#4789) 5 years ago
listview.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
logindialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
menu.lua [fix] Use orderedPairs in touch menu item table (#6404) 4 years ago
multiconfirmbox.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
multiinputdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
naturallightwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
networksetting.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
notification.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
numberpickerwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
opdsbrowser.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
openwithdialog.lua Floor dimension computations (mul/div). (#6264) 4 years ago
overlapgroup.lua Statistics: new Calendar view (#5854) 4 years ago
pathchooser.lua PathChooser: fetch 'show_hidden' setting on each use (#5923) 4 years ago
physicalkeyboard.lua Various blitting related cleanups (#4789) 5 years ago
progresswidget.lua [RTL UI] update low-level widgets to handle mirroring 4 years ago
radiobutton.lua [fix] Prevent xtext crash by not freeing TextWidget prematurely (#5616) 5 years ago
radiobuttontable.lua Various blitting related cleanups (#4789) 5 years ago
rectspan.lua cleanup: expand tab to 4 spaces 10 years ago
screensaverwidget.lua A few minor fixes after #4541 (#4561) 5 years ago
screenshoter.lua Screenshot: use month number instead of name (#6062) 4 years ago
scrollhtmlwidget.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
scrolltextwidget.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
sortwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
spinwidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
textboxwidget.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
textviewer.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
textwidget.lua Text widgets, crengine: fix wrong vertical positioning (#6093) 4 years ago
timewidget.lua Floor dimension computations (mul/div). (#6264) 4 years ago
toggleswitch.lua [RTL UI] update widgets and apps for UI mirroring 4 years ago
touchmenu.lua SDL: use platform as model for desktop computers, report battery if available 4 years ago
trapwidget.lua TextWidget: small refactoring, better handle max_width (#5503) 5 years ago
verticalgroup.lua [RTL UI] update low-level widgets to handle mirroring 4 years ago
verticalscrollbar.lua Text input related fixes & enhancements (#4124) 6 years ago
verticalspan.lua cleanup: expand tab to 4 spaces 10 years ago
virtualkeyboard.lua [UX] German keyboard layout qwertz (#6385) 4 years ago
widget.lua doc: fix document build 7 years ago