2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
zwim
31b16ba3e1
UIManager: get rid of self._running and self._run_forever (#9669) 2022-10-27 22:08:38 +02:00
NiLuJe
62059f8d68
Misc: Get rid of the legacy defaults.lua globals (#9546)
* This removes support for the following deprecated constants: `DTAP_ZONE_FLIPPING`, `DTAP_ZONE_BOOKMARK`, `DCREREADER_CONFIG_DEFAULT_FONT_GAMMA`
* The "Advanced settings" panel now highlights modified values in bold (think about:config in Firefox ;)).
* LuaData: Isolate global table lookup shenanigans, and fix a few issues in unused-in-prod codepaths.
* CodeStyle: Require module locals for Lua/C modules, too.
* ScreenSaver: Actually garbage collect our widget on close (ScreenSaver itself is not an instantiated object).
* DateTimeWidget: Code cleanups to ensure child widgets can be GC'ed.
2022-09-28 01:10:50 +02:00
Frans de Jonge
e3c17aa6d0 Travis: run luacheck on unit tests (#3059)
* Travis: run luacheck on unit tests
2017-08-08 13:35:40 -07:00
Qingping Hou
0b9c9d6ddb test(chore): remove side effects 2017-01-30 05:53:44 -08:00
chrox
19979fb8f8 postpone loading of httpclient module in unit test 2015-10-07 23:00:49 +08:00
chrox
f0dbd5939c fix travis build segfault hopefully 2015-09-13 03:28:17 +08:00
chrox
d468b05567 Use turbo looper on Android 2015-04-28 11:06:38 +08:00
chrox
d7faba5b5c request from async http client only accept one callback
and error should be checked in the callback
2015-03-07 11:19:43 +08:00
chrox
0191dc6530 revert busted to v1.10.0 to avoid segmentation fault in testing 2015-03-05 17:56:03 +08:00
chrox
e74d1fa557 turn off debug in unit test 2015-03-02 17:24:35 +08:00
chrox
9299b9a5e8 add async http client
it uses non-blocking turbo I/O looper to process http request
so that multiple http request can be handled simultaneously and http request
won't block user input, and most importantly, in Lua's way.
2015-03-02 17:21:26 +08:00