mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
37a01100b7
* 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. |
||
---|---|---|
.. | ||
autofrontlight_spec.lua | ||
autosuspend_spec.lua | ||
background_runner_spec.lua | ||
background_task_plugin_spec.lua | ||
batterystat_spec.lua | ||
benchmark.lua | ||
cache_spec.lua | ||
commonrequire.lua | ||
dbg_spec.lua | ||
defaults_spec.lua | ||
depgraph_spec.lua | ||
device_spec.lua | ||
docsettings_spec.lua | ||
document_registry_spec.lua | ||
document_spec.lua | ||
eink_optimization_spec.lua | ||
evernote_plugin_main_spec.lua | ||
filemanager_spec.lua | ||
filemanagerconverter_spec.lua | ||
focusmanager_spec.lua | ||
font_spec.lua | ||
frontlight_spec.lua | ||
gesturedetector_spec.lua | ||
gesturerange_spec.lua | ||
gettext_spec.lua | ||
hook_container_spec.lua | ||
httpclient_spec.lua | ||
imagewidget_spec.lua | ||
input_spec.lua | ||
inputtext_spec.lua | ||
koptinterface_spec.lua | ||
kosync_spec.lua | ||
luadata_spec.lua | ||
luasettings_spec.lua | ||
menu_table_screen_color_spec.lua | ||
menusorter_spec.lua | ||
mock_time_spec.lua | ||
mock_time.lua | ||
network_manager_spec.lua | ||
networksetting_spec.lua | ||
nickel_conf_spec.lua | ||
opds_spec.lua | ||
optmath_spec.lua | ||
quickstart_spec.lua | ||
random_spec.lua | ||
readerbookmark_spec.lua | ||
readerdictionary_spec.lua | ||
readerfooter_spec.lua | ||
readerhighlight_spec.lua | ||
readerlink_spec.lua | ||
readerpaging_spec.lua | ||
readerrolling_spec.lua | ||
readersearch_spec.lua | ||
readertoc_spec.lua | ||
readerui_spec.lua | ||
readerview_spec.lua | ||
readhistory_spec.lua | ||
screenshoter_spec.lua | ||
size_spec.lua | ||
spore_spec.lua | ||
switch_plugin_spec.lua | ||
textboxwidget_spec.lua | ||
timeval_spec.lua | ||
toggleswitch_spec.lua | ||
touch_probe_spec.lua | ||
translator_spec.lua | ||
uimanager_bench.lua | ||
uimanager_spec.lua | ||
util_spec.lua | ||
version_spec.lua | ||
wakeupmgr_spec.lua | ||
widget_inputcontainer_spec.lua | ||
widget_menu_spec.lua | ||
widget_progresswidget_spec.lua | ||
wikipedia_spec.lua |