2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Qingping Hou
d6c48b06f9 chore: fix all luacheck issues 2016-09-22 00:38:10 -07:00
Qingping Hou
c619de324e chore: more luacheck fixes 2016-09-19 01:10:53 -07:00
chrox
9ab005a1d3 fix unit test of readerlink and readerpaging
and have more confidence with the unit testing framework.

Now `make testfront` won't retry on failure and testing files are
ordered in each run so that it's possible to reproduce testing failure.

And this patch also fix flush settings not working before suspend issue:
at some point the `FlushSettings` event is sent to `UIManager` instead
of `ReaderUI`, but `UIManager` only delegated events to active widgets
and `ReaderUI` is actually not an active widgets thus will miss the event.

This patch also add a verbose debug mode with "-v" as a switch to turn
on this mode. With verbose mode on, event handling will be logged.
2016-08-12 17:05:07 +08:00
chrox
7ea12c0198 fix broken unit tests on Travis CI
1. It turns out that `device_id` is not defined in unit test environment
which makes the `assert(self.kosync_device_id)` fail and somehow makes `luajit` segmentation fault.
2. In the device spec, stubbing `io.open` will make subsquent `require`
all return boolean value and segmentation fault `luajit`.

This patch is a minimum viable change that makes CI work on both my
local box and Travis.
2016-08-11 18:17:09 +08:00
Qingping Hou
304b0f218e chore: fix some of the luacheck errors 2016-07-12 20:49:09 -07:00
chrox
551857ce6e fix some luacheck warnings 2016-06-28 00:43:23 +08:00
Qingping Hou
2e417cfbd8 filemanager(refactor): use purge method from docsettings 2016-06-03 22:06:02 -07:00
Qingping Hou
31206cb80f ci: fix coverage report 2016-04-20 23:56:38 -07:00
Qingping Hou
bab7dda089 ci: no more crazy retry in travis 2016-04-19 01:00:31 -07:00
Qingping Hou
eb37d9b8b6 kobo: fix screen probe for touch 2016-04-02 23:06:09 -07:00
Qingping Hou
144fd170f1 uimanager(refactor): replace autosuspend if check with noop 2016-03-29 10:02:53 -07:00
Qingping Hou
2c23f79098 doc: use git add -A to pick up deleted files in travis 2016-03-10 18:31:30 -08:00
Qingping Hou
f1ba3ef10d doc: add new files in travis doc push 2016-03-09 19:14:29 -08:00
Qingping Hou
4e43dd2870 build: increase retry time for make testfront to 5 2016-02-26 00:44:04 -08:00
Qingping Hou
8c01835458 fix: only show reader status at the end of the book 2016-02-23 22:43:35 -08:00
Qingping Hou
69f9ebd528 build: fix doc generation
also moved MD5 to koreader-base/ffi
2016-02-23 22:01:12 -08:00
Qingping Hou
83cc67b660 build: deploy doc update after sucess 2016-02-19 01:14:42 -08:00