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
yparitcher a9d4e97115
[plugin] Dispatcher: for profiles & gestures (#6106)
add a Dispatcher module that allows for dispatching multiple events at once.
This will allow for profiles & for gestures that do multiple things.

it has 2 methods:
Execute which is given a kv table of settings to change and fires an event for each of them.
addSubMenu adds a menu item to a menu to allow for modifying which events are called
it also has settingsList which is a master table of all allowed setting and their corresponding info
(it is mostly from ReaderGesture and needs a lot of work)

to allow for a new setting all one has to do is add a entry to settingsList with a corresponding event and it will work out of the box.

the profile plugin is right now still a stub, just to test Dispatcher. the plan is to finish it and eventually refactor ReaderGesture to rely on this.
This also needs effort to move many functions out of reader gesture into events where they belong.
4 years ago
..
data Fix missing glyphs Ï and Ö in keyboard popup (#6254) 4 years ago
elements [plugin] Dispatcher: for profiles & gestures (#6106) 4 years ago
message [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
network android: switch to connectivity manager 4 years ago
plugin SwitchPlugin and BackgroundTaskPlugin with tests (#3137) 7 years ago
widget Fix bottom menu item titles truncation (#6273) 4 years ago
bidi.lua [RTL UI] Bidi-wrap filenames, paths, urls, metadata 5 years ago
cloudmgr.lua [feat] Synchronize local folder with dropbox (#5591) 5 years ago
downloadmgr.lua PathChooser: clearer usage and behaviour (#4133) 6 years ago
event.lua [doc] Add internal documentation references (#5285) 5 years ago
font.lua Update fonts & add Noto Sans Devanagari UI (#5803) 4 years ago
geometry.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
gesturerange.lua Text input fixes and enhancements (#4084) 6 years ago
hook_container.lua Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
language.lua [i18n] Fix Romanian plural forms (#5692) 5 years ago
menusorter.lua [fix] MenuSorter: don't add empty menu item (#4848) 5 years ago
opdsparser.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
otamanager.lua Unbreak OTA on crappy shells (#5850) 4 years ago
quickstart.lua [CI] Switch to custom xgettext build to extract multiline strings (#5242) 5 years ago
renderimage.lua decouple device from pdfdocument, font & bgr checking 5 years ago
rendertext.lua UI font rendering: use available bold fonts for bold (#5675) 5 years ago
screensaver.lua [feat] Allow message to be overlaid on other screensavers (#6238) 4 years ago
size.lua [UX] Thicker loading bar (#5581) 5 years ago
timeval.lua [fix] TimeVal: add dbg:guard against incorrect subtraction order (#4669) 5 years ago
translator.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
trapper.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
uimanager.lua Fix partial HW dithered refreshes sometimes appearing to shift refreshed content (#6267) 4 years ago
wikipedia.lua Floor dimension computations (mul/div). (#6264) 4 years ago