2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/frontend
poire-z 85ac59ae00 CreDocument: fix document loading interferences (#4349)
When a main document is opened for displaying, some other
document openings (for getting metadata or cover image)
could affect the main document.
Split some code from CreDocument:init() into another new
method CreDocument:setupDefaultView(), that will only be
called by ReaderUI when opening the main document (and not
by these other openings like Book inforation, View cover...)

Also speed up some of these other openings (Search, Screensaver)
by using doc:loadDocument(false) to load only metadata and
avoid parsing the HTML.

Details in https://github.com/koreader/koreader/issues/4346#issuecomment-440036496
2018-11-20 21:07:59 +01:00
..
apps CreDocument: fix document loading interferences (#4349) 2018-11-20 21:07:59 +01:00
device Fix frontlight sysfs path on the PW4 (#4350) 2018-11-20 19:46:53 +01:00
document CreDocument: fix document loading interferences (#4349) 2018-11-20 21:07:59 +01:00
ui CreDocument: fix document loading interferences (#4349) 2018-11-20 21:07:59 +01:00
cache.lua [fix] Cache: don't overwrite same CacheItem (#3847) 2018-04-08 16:02:48 +02:00
cacheitem.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
configurable.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
dbg.lua [chore] Handle SDL_MOUSEWHEEL and less hackish SDL events (#3826) 2018-04-03 14:56:28 +02:00
depgraph.lua Gesture manager (initial) (#4240) 2018-09-29 23:15:57 +02:00
device.lua [feat] Add support for BQ/Fnac devices (#4294) 2018-10-31 23:48:36 +01:00
docsettings.lua Fix crash and History with books in read-only directories (#4138) 2018-08-06 21:30:05 +02:00
dump.lua Docs: dump & random 2017-04-14 11:40:35 -07:00
gettext.lua turn missing translations into a warning (#3752) 2018-03-14 15:15:14 +01:00
httpclient.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
logger.lua feat: add logger module & rewrite kobo suspend script in lua 2017-01-02 19:52:09 -08:00
luadata.lua Add LuaData and Dictionary Lookup History (#3161) 2017-10-07 22:13:46 +02:00
luasettings.lua luasettings: backup previous file and auto-recover (#3625) 2018-01-21 18:44:15 +01:00
luxl.lua treate quoted slash as plain text in attribute value 2014-09-10 13:27:14 +08:00
optmath.lua doc: fix document build 2016-12-25 12:13:53 -08:00
pluginloader.lua [Fix] Don't load disabled plugins (#4169) 2018-08-18 20:41:37 +02:00
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 2017-08-24 09:10:57 +02:00
random.lua Docs: dump & random 2017-04-14 11:40:35 -07:00
readhistory.lua Fix sort-by-last-read when partition is mounted noatime (#3990) 2018-05-30 06:50:15 +02:00
up_reg.list adapt widgets to new refresh/repaint API 2014-11-30 00:17:50 +00:00
util.lua Text editor plugin, InputDialog enhancements (#4135) 2018-08-06 21:16:30 +02:00
version.lua [fix] Version pattern: add two extra numbers for point release 2018-11-07 20:46:07 +01:00