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/apps/reader/modules
NiLuJe 21b067792d Cache: Rewrite based on lua-lru
Ought to be faster than our naive array-based approach.
Especially for the glyph cache, which has a solid amount of elements,
and is mostly cache hits.
(There are few things worse for performance in Lua than
table.remove @ !tail and table.insert @ !tail, which this was full of :/).

DocCache: New module that's now an actual Cache instance instead of a
weird hack. Replaces "Cache" (the instance) as used across Document &
co.
Only Cache instance with on-disk persistence.

ImageCache: Update to new Cache.

GlyphCache: Update to new Cache.
Also, actually free glyph bbs on eviction.
3 years ago
..
readeractivityindicator.lua ReaderActivityIndicator: fix isStub() 3 years ago
readerback.lua Notification: closed by any event, but not consuming it 3 years ago
readerbookmark.lua ReaderBookmark: Don't confuse bookmarks with highlights 3 years ago
readerconfig.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readercoptlistener.lua ReaderHeader: Skip the refresh if we're not visible 3 years ago
readercropping.lua ReaderZooming: Fix defaults handling (#7463) 3 years ago
readerdevicestatus.lua Floor dimension computations (mul/div). (#6264) 4 years ago
readerdictionary.lua SortWidget: More tweaks 3 years ago
readerdogear.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readerflipping.lua Update UI layout code to use new SVG icons 3 years ago
readerfont.lua ReaderUI: Saner FM/RD lifecycle 3 years ago
readerfooter.lua Status bar: do not hide alone empty indicators (#7602) 3 years ago
readergoto.lua [RFC] Pagination UI shenanigans (#7335) 3 years ago
readerhighlight.lua Minor Input & TimeVal cleanups 3 years ago
readerhinting.lua minor(readerhinting): access document directly instead of from ui 8 years ago
readerkoptlistener.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readerlink.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readermenu.lua ReaderUI: Saner FM/RD lifecycle 3 years ago
readerpagemap.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readerpaging.lua Gestures: Allow disabling tap and/or swipes for page turns (#7572) 3 years ago
readerpanning.lua feat: add logger module & rewrite kobo suspend script in lua 7 years ago
readerrolling.lua Gestures: Allow disabling tap and/or swipes for page turns (#7572) 3 years ago
readerrotation.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
readersearch.lua [UX] Search dialogs: don't close when searching with nothing entered (#7501) 3 years ago
readerstatus.lua Show only 1 End Document Dialog at a time 3 years ago
readerstyletweak.lua LuaSettings: Add a method to initialize a setting properly (#7371) 3 years ago
readertoc.lua ReaderToc: Unbreak ToC depth detection (#7569) 3 years ago
readertypeset.lua Screensaver: Unbreak screensaver_stretch_images (#7403) 3 years ago
readertypography.lua Centralize one time migration code after updates (#7531) 3 years ago
readerview.lua Minor Input & TimeVal cleanups 3 years ago
readerwikipedia.lua [UX] Search dialogs: don't close when searching with nothing entered (#7501) 3 years ago
readerzooming.lua Cache: Rewrite based on lua-lru 3 years ago