mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
7f6bc28eca
* Avoid the Lua string copies when compressing/uncompressing the bb thumbs * Delay the statement reset so that the pointer returned by the BLOB query is actually usable ;). * Re-use a ZSTD decompression context * Store date & mtime for successfully extracted documents c.f., https://github.com/NiLuJe/koreader/commit/10477501f90471e84df68f561274f19a9a202dfb#r44914917 * Switch to user_version pragma to handle DB schema versioning * Update file size/date on *each* extraction attempt. @poirez-z raised a good point, this ought to be useful to deem a file re-parseable after an update. * Remove xutil Functionality has been moved to ffi/zlib & ffi/zstd * Preserve settings when migrating the BookInfo DB * Warn via InfoMessage that the DB was updated * Only store the series name in series, and move the index in series_index (Column names chosen to match Calibre's). * Handle the new series_index column in BookInfo consumers * This allows us to get rid of the code that stripped empty decimals from series index in *most* places, since it's now a real Lua number, and the string formatting library does that magic on its own.