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/plugins
NiLuJe 86c35ad066
A host of low power states related tweaks (#9036)
* Disable all non power management related input during suspend. (This prevents wonky touch events from being tripped when closing a sleep cover on an already-in-suspend device, among other things).
* Kobo: Use our WakeupMgr instance, not the class.
* WakupMgr: split `removeTask` in two: 
* `removeTask`, which *only* takes a queue index as input, and only removes a single task. Greatly simplifies the function (i.e., it's just a `table.remove`).
* `removeTasks`, which takes an epoch or a cb ref, and removes *every* task that matches.
* Both of these will also *always* re-schedule the next task (if any) on exit, since we can have multiple WakeupMgr tasks queued, but we can only have a single RTC wake alarm set ;).
* `wakeupAction` now takes a `proximity` argument, which it passes on to its `validateWakeupAlarmByProximity` call, allowing call sites to avoir having to duplicate that call themselves when they want to use a custom proximity window.
* `wakeupAction` now re-schedules the next task (if any) on exit.
* Simplify `Kobo:checkUnexpectedWakeup`, by removing the duplicate `WakerupMgr:validateWakeupAlarmByProximity` call, now that we can pass a proximity window to `WakeuoMgr:wakeupAction`.
* The various network activity timeouts are now halved when autostandby is enabled.
* Autostandby: get rid of the dummy deadline_guard task, as it's no longer necessary since #9009.
* UIManager: The previous change allows us to simplify `getNextTaskTimes` into a simpler `getNextTaskTime` variant, getting rid of a table & a loop.
* ReaderFooter & ReaderHeader: Make sure we only perform a single refresh when exiting standby.
* Kobo: Rewrite sysfs writes to use ANSI C via FFI instead of stdio via Lua, as it obscured some common error cases (e.g., EBUSY on /sys/power/state).
* Kobo: Simplify `suspend`, now that we have sane error handling in sysfs writes.
* Kobo.powerd: Change `isCharging` & `isAuxCharging` behavior to match the behavior of the NTX ioctl (i.e., Charging == Plugged-in). This has the added benefit of making the AutoSuspend checks behave sensibly in the "fully-charged but still plugged in" scenario (because being plugged in is enough to break PM on `!canPowerSaveWhileCharging` devices).
* AutoSuspend: Disable our `AllowStandby` handler when auto standby is disabled, so as to not interfere with other modules using `UIManager:allowStandby` (fix #9038).
* PowerD: Allow platforms to implement `isCharged`, indicating that the battery is full while still plugged in to a power source (battery icon becomes a power plug icon).
* Kobo.powerd: Implement `isCharged`, and kill charging LEDs once battery is full.
* Kindle.powerd: Implement `isCharged` on post-Wario devices. (`isCharging` is still true in that state, as it ought to).
2 years ago
..
SSH.koplugin [feat] Non-touch improvements (#8859) 2 years ago
autofrontlight.koplugin Tame BackgroundRunner: stop running when no more job (#6605) 4 years ago
autostandby.koplugin SpinWidget: similar size in portrait and landscape (#8226) 3 years ago
autosuspend.koplugin A host of low power states related tweaks (#9036) 2 years ago
autoturn.koplugin Autosuspend: add autostandby (#8815) 2 years ago
autowarmth.koplugin Autosuspend: add autostandby (#8815) 2 years ago
backgroundrunner.koplugin Minor Input & TimeVal cleanups 3 years ago
batterystat.koplugin Battery Stat: for real (#8694) 2 years ago
bookshortcuts.koplugin Book Shortcuts: allow recursively searching folders 2 years ago
calibre.koplugin Calibre plugin - Series/Tag browser updated to show back button. (#8869) 2 years ago
coverbrowser.koplugin [feat, UX] CoverBrowser: add progressbar in Mosaic View (#8915) 2 years ago
coverimage.koplugin [feat] Non-touch improvements (#8859) 2 years ago
docsettingtweak.koplugin [plugin] DocSettingTweak: disable on NT devices (#8599) 2 years ago
exporter.koplugin [plugin] Exporter: properly sort highlights when exporting (#9021) 2 years ago
gestures.koplugin [feat] Non-touch improvements (#8859) 2 years ago
hello.koplugin Dispatcher: Revamp sections and item order 3 years ago
japanese.koplugin Minor Lua I/O cleanups (#8921) 2 years ago
keepalive.koplugin Use PluginShare to share the keepalive state (#7416) 3 years ago
kosync.koplugin kosync: send progress as a string to the server (#8758) 2 years ago
movetoarchive.koplugin ReaderUI: Saner FM/RD lifecycle 3 years ago
newsdownloader.koplugin Revert NewsDownloader (#8953) 2 years ago
opds.koplugin Add OPDS PSE 1.0 support (#8919) 2 years ago
perceptionexpander.koplugin [feat] Non-touch improvements (#8859) 2 years ago
profiles.koplugin [feat] Non-touch improvements (#8859) 2 years ago
qrclipboard.koplugin [fix] Minor doc touchups re. QR encode (#6861) 4 years ago
readtimer.koplugin DateTimeWidget: replaces DateWidget and TimeWidget (#8240) 3 years ago
statistics.koplugin Minor Lua I/O cleanups (#8921) 2 years ago
systemstat.koplugin [plugin] String and formatting (#8980) 2 years ago
terminal.koplugin Terminal: Make sure devpts is mounted on Kobo (#8998) 2 years ago
texteditor.koplugin [feat] Non-touch improvements (#8859) 2 years ago
timesync.koplugin Cleanup eye-gouging madness around io.read calls (#7149) 3 years ago
wallabag.koplugin [plugin] Wallabag: archive instead of deleting read articles by default (#9018) 2 years ago