Commit Graph

67 Commits (master)

Author SHA1 Message Date
Qingping Hou d6c48b06f9 chore: fix all luacheck issues 8 years ago
Qingping Hou c619de324e chore: more luacheck fixes 8 years ago
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.
8 years ago
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.
8 years ago
Qingping Hou 304b0f218e chore: fix some of the luacheck errors 8 years ago
chrox 551857ce6e fix some luacheck warnings 8 years ago
Qingping Hou 2e417cfbd8 filemanager(refactor): use purge method from docsettings 8 years ago
Qingping Hou 31206cb80f ci: fix coverage report 8 years ago
Qingping Hou bab7dda089 ci: no more crazy retry in travis 8 years ago
Qingping Hou eb37d9b8b6 kobo: fix screen probe for touch 8 years ago
Qingping Hou 144fd170f1 uimanager(refactor): replace autosuspend if check with noop 8 years ago
Qingping Hou 2c23f79098 doc: use git add -A to pick up deleted files in travis 8 years ago
Qingping Hou f1ba3ef10d doc: add new files in travis doc push 8 years ago
Qingping Hou 4e43dd2870 build: increase retry time for make testfront to 5 8 years ago
Qingping Hou 8c01835458 fix: only show reader status at the end of the book 8 years ago
Qingping Hou 69f9ebd528 build: fix doc generation
also moved MD5 to koreader-base/ffi
8 years ago
Qingping Hou 83cc67b660 build: deploy doc update after sucess 8 years ago