mirror of https://github.com/koreader/koreader
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.
bb949afb7f
docsettings can be stored either as a sidecar file (prefered, when possible), or as a .lua file in the koreader/history/ folder (good, when book is in a read-only directory where we can't create the .sdr/ directory). They are managed correctly if for some reason, the book directory becomes writable: the docsettings in history/ is read, used, and removed when a docsetting in a .sdr/ can be saved. These docsettings in koreader/history/ contribute to the History list build: they are put it in history.lua, and the duplicates on followups history.lua builds are removed. This fix a crash when a book is in a read-only directory. Also fix History containing strange entries like "Book.epub.lua", that came from the koreader/history/book.epub.lua.old backup, that weren't removed as they are not a duplicate. |
6 years ago | |
---|---|---|
.. | ||
apps | 6 years ago | |
device | 6 years ago | |
document | 6 years ago | |
ui | 6 years ago | |
cache.lua | 7 years ago | |
cacheitem.lua | ||
configurable.lua | ||
dbg.lua | 7 years ago | |
depgraph.lua | ||
device.lua | ||
docsettings.lua | 6 years ago | |
dump.lua | ||
gettext.lua | ||
httpclient.lua | ||
logger.lua | ||
luadata.lua | ||
luasettings.lua | ||
luxl.lua | ||
optmath.lua | ||
pluginloader.lua | 6 years ago | |
pluginshare.lua | ||
random.lua | ||
readhistory.lua | 6 years ago | |
up_reg.list | ||
util.lua | 6 years ago | |
version.lua | 6 years ago |