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
NiLuJe 7e98b9de4b
PM: Minor refactor to suspend/resume code flow (#10426)
Make sure we only send Suspend/Resume events when we *actually* suspend/resume. This is done via the Device `_beforeSuspend`/`_afterResume` methods, and those were called by the *input handlers*, not the PM logic; which means they would fire, while the PM logic could actually take a smarter decision and *not* do what the event just sent implied ;).

(i.e., sleep with a cover -> suspend + actual suspend, OK; but if you then resume with a button -> input assumes resume, but PM will actually suspend again!).

Existing design issue made more apparent by #9448 ;).

Also fixes/generalizes a few corner-cases related to screen_saver_lock handling (e.g., don't allow USBMS during a lock).

And deal with the fallout of the main change to the Kobo frontlight ramp behavior ;).
1 year ago
..
data OTM: Attempt to deal with wonky config states (#10429) 1 year ago
elements Translator: translate current page (#10438) 1 year ago
message Calibre: Log errors on wireless connection failures (#9914) 1 year ago
network Fix some screen refresh effects (#10306) 1 year ago
plugin Clarify our OOP semantics across the codebase (#9586) 2 years ago
widget Translator: translate current page (#10438) 1 year ago
bidi.lua Bidi: keep invert() generic, handle settings in ReaderView (#8876) 2 years ago
downloadmgr.lua CloudStorage: remove cloudmgr (#9532) 2 years ago
event.lua Cleanup various varargs shenanigans (#9624) 2 years ago
font.lua UI font fallbacks: use bold fonts if present for bold (#9621) 2 years ago
geometry.lua ImageViewer: Followup to #9529 (#9544) 2 years ago
gesturerange.lua [feat] Replace TimeVal (RIP) with time, fixed point time seconds (#8999) 2 years ago
hook_container.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
language.lua [i18n] Enable Farsi (#10017) 1 year ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
otamanager.lua OTAManager: pick the right binaries on Android x86_64 1 year ago
quickstart.lua Quick start guide: fix links to images (#8072) 3 years ago
renderimage.lua Misc: Get rid of the legacy defaults.lua globals (#9546) 2 years ago
rendertext.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
screensaver.lua Custom book covers (#10329) 1 year ago
size.lua [RFC] Pagination UI shenanigans (#7335) 3 years ago
time.lua time: Fix another subtle FP issue in split_s_us 2 years ago
translator.lua Translator: translate current page (#10438) 1 year ago
trapper.lua Deal with table.pack corner-cases properly (#10350) 1 year ago
uimanager.lua PM: Minor refactor to suspend/resume code flow (#10426) 1 year ago
viewhtml.lua View HTML: add CSS helpers with long-press 1 year ago
wikipedia.lua DictQuickLookup: add button to show list of results 1 year ago