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
NiLuJe 5c24470ea9
Logger: Use serpent instead of dump (#9588)
* Persist: support serpent, and use by default over dump (as we assume consistency > readability in Persist).
* Logger/Dbg: Use serpent instead of dump to dump tables (it's slightly more compact, honors __tostring, and will tag tables with their ref, which can come in handy when debugging).
* Dbg: Don't duplicate Logger's log function, just use it directly.
* Fontlist/ConfigDialog: Use serpent for the debug dump.
* Call `os.setlocale(C, "numeric")` on startup instead of peppering it around dump calls. It's process-wide, so it didn't make much sense.
* Trapper: Use LuaJIT's serde facilities instead of dump. They're more reliable in the face of funky input, much faster, and in this case, the data never makes it to human eyes, so a human-readable format didn't gain us anything.
2 years ago
..
apps Clarify our OOP semantics across the codebase (#9586) 2 years ago
device Clarify our OOP semantics across the codebase (#9586) 2 years ago
document Clarify our OOP semantics across the codebase (#9586) 2 years ago
ui Logger: Use serpent instead of dump (#9588) 2 years ago
cache.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
cacheitem.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
configurable.lua KOPTInterface: Minor optimization when hashing the configurable status 3 years ago
dbg.lua Logger: Use serpent instead of dump (#9588) 2 years ago
depgraph.lua Tame a few tests that relied on `pairs` being somewhat deterministic (#6371) 4 years ago
device.lua Truly silence the attempt at loading SDL2 3 years ago
dispatcher.lua Dispatcher: Fixes, Sort & QuickMenu 2 years ago
docsettings.lua Logger: Use serpent instead of dump (#9588) 2 years ago
dump.lua Logger: Use serpent instead of dump (#9588) 2 years ago
fontlist.lua Logger: Use serpent instead of dump (#9588) 2 years ago
gettext.lua Make luacheck >= 0.26 happy (#9174) 2 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
languagesupport.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
logger.lua Logger: Use serpent instead of dump (#9588) 2 years ago
luadata.lua Logger: Use serpent instead of dump (#9588) 2 years ago
luadefaults.lua Logger: Use serpent instead of dump (#9588) 2 years ago
luasettings.lua Logger: Use serpent instead of dump (#9588) 2 years ago
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 4 years ago
optmath.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 3 years ago
persist.lua Logger: Use serpent instead of dump (#9588) 2 years ago
pluginloader.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
pluginshare.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 5 years ago
readcollection.lua Minor util & ffi/util cleanups (#6657) 4 years ago
readhistory.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
socketutil.lua Clarify our OOP semantics across the codebase (#9586) 2 years ago
userpatch.lua userpatch: allow monkey-patching KOReader (#9104) 2 years ago
util.lua Logger: Use serpent instead of dump (#9588) 2 years ago
version.lua Version::getShortVersion: handle "rev" being empty (#9502) 2 years ago