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
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
..
apps unified calibre plugin (#6177) 4 years ago
device unified calibre plugin (#6177) 4 years ago
document handle newlines in exported pdf highlights (#6247) 4 years ago
ui [plugin] Dispatcher: for profiles & gestures (#6106) 4 years ago
cache.lua rename runtimectl to document/canvascontext 5 years ago
cacheitem.lua cleanup: expand tab to 4 spaces 10 years ago
configurable.lua decouple UI definitions from document modules 5 years ago
dbg.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
depgraph.lua Touch zones: fix loss of overrides when re-registering a zone (#5658) 5 years ago
device.lua Remarkable port (#5828) 4 years ago
dispatcher.lua [plugin] Dispatcher: for profiles & gestures (#6106) 4 years ago
docsettings.lua bump crengine, migrate books to normalized xpointers 4 years ago
dump.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
fontlist.lua desktop: disable battery on touch menu and reader footer 4 years ago
gettext.lua [i18n] GetText: ignore fuzzy strings (#5807) 4 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
logger.lua use android log categories 5 years ago
luadata.lua Use fsync() for more robust setting files saving 5 years ago
luasettings.lua Use fsync() for more robust setting files saving 5 years ago
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
optmath.lua [[doc] Add documentation to optmath (#6258) 4 years ago
pluginloader.lua Add vertical edge gesture (#5156) 5 years ago
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 5 years ago
readcollection.lua [feat] Favorites: organize book into collections (#5527) 5 years ago
readhistory.lua History: fix possible issues when saving and loading 4 years ago
up_reg.list adapt widgets to new refresh/repaint API 10 years ago
util.lua unified calibre plugin (#6177) 4 years ago
version.lua [doc, fix] Some documentation issues (#5066) 5 years ago