2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Qingping Hou
f1d44ec809 test: add imagewidget_spec 2014-12-18 03:33:44 -05:00
chrox
4f35834b2e wrap computation intensive functions in hook free env when makeing coverage test
so that Travis CI job won't fail because of timeout.
2014-12-03 11:01:12 +08:00
chrox
d6c4465c47 fix coverage test fails on OPDS browser module
for some reason luxl.lua has problem when being set hook for luacov
2014-12-01 14:46:17 +08:00
Frans de Jonge
47d7a48555 OPDS: refactored unit test and fixed a minor bug with undefined image_rel 2014-11-30 21:44:47 +01:00
Frans de Jonge
c25254a7ec OPDS: embryonic unit test for OPDS browser
This initial seed specifically tests against what recently broke in Gutenberg and FeedBooks.
2014-11-30 19:06:27 +01:00
chrox
fe885be563 refactoring readerbookmark to show both bookmarks and highlights
in the bookmark menu
and use binary search of the sorted bookmarks table whenever is
possible.
2014-11-27 22:01:57 +08:00
chrox
08dff3a158 turn off debug in unit test by default
Uncommnet the `DEBUG:turnOn()` line to turn it on.
2014-11-27 22:01:57 +08:00
chrox
08f0f14ba3 fix dictionary spec 2014-11-21 18:45:07 +08:00
chrox
566586619a add unit tests for readerdictionary and readerhighlight 2014-11-21 18:32:43 +08:00
chrox
033ffb1d0f update readersearch and readertoc specs as crengine is updated 2014-11-18 16:08:39 +08:00
chrox
b80dd1f966 add fulltext search for PDF documents 2014-11-17 17:58:44 +08:00
Hans-Werner Hilse
841e8bd9fa add test for md5 implementation 2014-11-11 16:24:26 +01:00
chrox
616ef3ba8e quit uimanager before run uimanager in test 2014-11-05 18:06:05 +08:00
chrox
ae1dd3b380 screenshot to PNG files by default 2014-11-05 16:58:09 +08:00
chrox
bd0975896d add fulltext search for EPUB documents 2014-11-05 12:28:28 +08:00
Hans-Werner Hilse
3066c86e38 Refactoring hardware abstraction
This is a major overhaul of the hardware abstraction layer.
A few notes:

General platform distinction happens in
  frontend/device.lua
which will delegate everything else to
  frontend/device/<platform_name>/device.lua
which should extend
  frontend/device/generic/device.lua

Screen handling is implemented in
  frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.

The same goes for input handling.
2014-11-02 21:19:04 +01:00
Qingping Hou
df61760c82 test: add spec for Menu.itemTableFromTouchMenu 2014-10-25 19:32:30 -04:00
chrox
7c9130744c add collapsable TOC menu 2014-10-14 21:34:56 +08:00
chrox
de38ea1199 count only leaf nodes of toc tree when level is zero 2014-10-11 21:10:07 +08:00
chrox
b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
2014-10-10 18:14:33 +08:00
chrox
cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
2014-10-07 17:44:10 +08:00
chrox
b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
2014-10-07 17:10:48 +08:00
chrox
d0b4fa2665 refactoring unit testsuite 2014-10-07 13:06:06 +08:00
chrox
f1f8d8dc4f make coverage target for code coverage for the unit test
so that we can easily find which module needs unit test

In order to run 'make coverage' `luacov` need to be installed
with 'sudo luarocks install luacov'.
2014-10-06 21:31:08 +08:00
chrox
794baf4d8a benchmark has no specifications so won't be run by default 2014-10-06 21:22:38 +08:00
chrox
8294a629b8 treate quoted slash as plain text in attribute value 2014-09-10 13:27:14 +08:00
chrox
21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
2014-09-05 21:07:43 +08:00
chrox
7048ca971b add getCoverPageImage api for CreDocument 2014-08-22 21:32:03 +08:00
chrox
b6393b543b no need of luagettext module 2014-05-30 23:22:13 +08:00
chrox
da84daf17f add cache spec 2014-05-30 23:20:55 +08:00
chrox
2ad371853a add reflowing benchmark 2014-05-30 23:16:40 +08:00
chrox
5d77abd804 add spec of document rendering benchmark 2014-05-18 23:39:32 +08:00
chrox
71eda7a0ca busted test for frontend 2014-05-15 16:11:26 +08:00