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
cacheitem.lua
configurable.lua
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
logger.lua
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
pluginshare.lua
random.lua
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
util.lua unified calibre plugin (#6177) 4 years ago
version.lua