2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/frontend/apps/filemanager
NiLuJe 812e595608
Enable HW dithering in a few key places (#4541)
* Enable HW dithering on supported devices (Clara HD, Forma; Oasis 2, PW4)
  * FileManager and co. (where appropriate, i.e., when covers are shown)
  * Book Status
  * Reader, where appropriate:
    * CRe: on pages whith image content (for over 7.5% of the screen area, should hopefully leave stuff like bullet points or small scene breaks alone).
    * Other engines: on user-request (in the gear tab of the bottom menu), via the new "Dithering" knob (will only appear on supported devices).
  * ScreenSaver
  * ImageViewer
* Minimize repaints when flash_ui is enabled (by, almost everywhere, only repainting the flashing element, and not the toplevel window which hosts it).
  (The first pass of this involved fixing a few Button instances whose show_parent was wrong, in particular, chevrons in the FM & TopMenu).
* Hunted down a few redundant repaints (unneeded setDirty("all") calls),
  either by switching the widget to nil when only a refresh was needed, and not a repaint,
  or by passing the appropritate widget to setDirty.
  (Note to self: Enable *verbose* debugging to catch broken setDirty calls via its post guard).
  There were also a few instances of 'em right behind a widget close.
* Don't repaint the underlying widget when initially showing TopMenu & ConfigDialog.
  We unfortunately do need to do it when switching tabs, because of their variable heights.
* On Kobo, disabled the extra and completely useless full refresh before suspend/reboot/poweroff, as well as on resume. No more double refreshes!
* Fix another debug guard in Kobo sysfs_light
* Switch ImageWidget & ImageViewer mostly to "ui" updates, which will be better suited to image content pretty much everywhere, REAGL or not.

PS: (Almost 💯 commits! :D)
2019-02-07 01:14:37 +01:00
..
lib Swipe for menu and quickstart guide (#2761) 2017-04-15 14:45:56 +02:00
filemanager.lua Enable HW dithering in a few key places (#4541) 2019-02-07 01:14:37 +01:00
filemanagerbookinfo.lua BookInformation: speedup getting EPUB metadata/cover (#3767) 2018-03-17 00:28:37 +01:00
filemanagerconverter.lua Replace remaining 'local gettext' with '_' (#4160) 2018-08-15 21:56:35 +02:00
filemanagerfilesearcher.lua File search: search in current folder, or home folder (#4093) 2018-07-24 21:11:25 +02:00
filemanagerhistory.lua [fix] Ensure "Open last/previous" point to existing files (#4367) 2018-11-28 21:14:07 +01:00
filemanagermenu.lua android: disable exit menu 2019-01-22 14:27:14 +01:00
filemanagersearch.lua CreDocument: fix document loading interferences (#4349) 2018-11-20 21:07:59 +01:00
filemanagersetdefaults.lua Fix focus/unfocus in MultiInputDialog (#4060) 2018-07-08 00:45:27 +02:00
filemanagershortcuts.lua Adds Folder shortcuts to Plus menu (#4165) 2018-08-22 22:34:20 +02:00
filemanagerutil.lua [fix] Ensure "Open last/previous" point to existing files (#4367) 2018-11-28 21:14:07 +01:00