2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
koreader/frontend
NiLuJe 38919c22eb
ImageViewer: Clamp zoom factor to sane values (#9529)
Should avoid egregious values that would potentially alloc insanely large buffers (and likely fail to do so).

In the process, tweak the scale_factor computations when zooming so as to produce slightly less annoying behavior.
2022-09-19 23:25:18 +02:00
..
apps Misc: Unify error logging on network errors (#9523) 2022-09-17 00:08:00 +02:00
device add custom mapping for tolino buttons (#9509) 2022-09-16 12:42:45 +02:00
document ImageViewer: Clamp zoom factor to sane values (#9529) 2022-09-19 23:25:18 +02:00
ui ImageViewer: Clamp zoom factor to sane values (#9529) 2022-09-19 23:25:18 +02:00
cache.lua ImageViewer: Clamp zoom factor to sane values (#9529) 2022-09-19 23:25:18 +02:00
cacheitem.lua Cache: Some more tweaks after #7624 2021-05-09 23:10:44 +02:00
configurable.lua KOPTInterface: Minor optimization when hashing the configurable status 2021-05-09 23:10:44 +02:00
dbg.lua Minor Lua I/O cleanups (#8921) 2022-03-19 23:57:31 +01:00
depgraph.lua Tame a few tests that relied on pairs being somewhat deterministic (#6371) 2020-07-14 18:25:26 +02:00
device.lua Truly silence the attempt at loading SDL2 2021-05-19 20:55:00 +02:00
dispatcher.lua [UIManager] Outsource device specific event handlers (was: some nits) (#9448) 2022-09-10 13:45:31 +02:00
docsettings.lua docsettings fix no name file (#8517) 2021-12-05 22:08:20 +01:00
dump.lua Make luacheck >= 0.26 happy (#9174) 2022-06-11 19:06:06 +02:00
fontlist.lua FontList: Always use the binary cache format (#9519) 2022-09-15 04:42:13 +02:00
gettext.lua Make luacheck >= 0.26 happy (#9174) 2022-06-11 19:06:06 +02:00
httpclient.lua build: enforce luacheck in travis build 2016-02-09 23:01:52 -08:00
languagesupport.lua *: luacheck fixes (#8368) 2021-10-24 10:58:14 +02:00
logger.lua use android log categories 2019-01-03 08:56:29 +01:00
luadata.lua Use fsync() for more robust setting files saving 2019-12-10 23:57:32 +01:00
luasettings.lua LuaSettings: Add a method to initialize a setting properly (#7371) 2021-03-06 22:44:18 +01:00
luxl.lua [fix] Don't break OPDS parsing on HR tags (#5949) 2020-03-14 21:17:42 +01:00
optmath.lua [autosuspend, plugin] Switch to datetimewidget and provide default values (#8480) 2021-11-28 22:18:44 +01:00
persist.lua Cache: Fix a whole lot of things. 2021-05-05 20:37:33 +02:00
pluginloader.lua remove send2ebook plugin (#8747) 2022-01-30 22:01:51 +01:00
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 2017-08-24 09:10:57 +02:00
random.lua Faster blitting @ BB8/BBRGB32 when no processing is needed (#4847) 2019-03-27 22:50:44 +01:00
readcollection.lua Minor util & ffi/util cleanups (#6657) 2020-09-15 20:39:32 +02:00
readhistory.lua Book Shortcuts: allow recursively searching folders 2022-03-24 22:49:34 -04:00
socketutil.lua Unify LuaSocket usage (#7405) 2021-03-15 01:25:10 +01:00
userpatch.lua userpatch: allow monkey-patching KOReader (#9104) 2022-06-25 22:46:43 +02:00
util.lua ImageViewer: Clamp zoom factor to sane values (#9529) 2022-09-19 23:25:18 +02:00
version.lua Version::getShortVersion: handle "rev" being empty (#9502) 2022-09-16 17:45:42 +02:00