Commit Graph

336 Commits (4345201e0ea70ee8e3adf6c03e906ecf28e1bf75)

Author SHA1 Message Date
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.
9 years ago
chrox 5c9a9198fb add Document:fastDigest method to calculate document hash without performance overhead 9 years ago
chrox 07ff30f89c add md5:update and md5:sum methods 9 years ago
Qingping Hou f1d44ec809 test: add imagewidget_spec 10 years ago
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.
10 years ago
chrox d6c4465c47 fix coverage test fails on OPDS browser module
for some reason luxl.lua has problem when being set hook for luacov
10 years ago
Frans de Jonge 47d7a48555 OPDS: refactored unit test and fixed a minor bug with undefined image_rel 10 years ago
Frans de Jonge c25254a7ec OPDS: embryonic unit test for OPDS browser
This initial seed specifically tests against what recently broke in Gutenberg and FeedBooks.
10 years ago
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.
10 years ago
chrox 08dff3a158 turn off debug in unit test by default
Uncommnet the `DEBUG:turnOn()` line to turn it on.
10 years ago
chrox 08f0f14ba3 fix dictionary spec 10 years ago
chrox 566586619a add unit tests for readerdictionary and readerhighlight 10 years ago
chrox 033ffb1d0f update readersearch and readertoc specs as crengine is updated 10 years ago
chrox b80dd1f966 add fulltext search for PDF documents 10 years ago
Hans-Werner Hilse 841e8bd9fa add test for md5 implementation 10 years ago
chrox 616ef3ba8e quit uimanager before run uimanager in test 10 years ago
chrox ae1dd3b380 screenshot to PNG files by default 10 years ago
chrox bd0975896d add fulltext search for EPUB documents 10 years ago
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.
10 years ago
Qingping Hou df61760c82 test: add spec for Menu.itemTableFromTouchMenu 10 years ago
chrox 7c9130744c add collapsable TOC menu 10 years ago
chrox de38ea1199 count only leaf nodes of toc tree when level is zero 10 years ago
chrox b422eb90cc refactoring readerrolling
and fix lossing progress when switching screen mode
10 years ago
chrox cec8ee3c29 add isChapterBegin/End API for readertoc
and add missing test epub
10 years ago
chrox b09bb87d4e refactoring readertoc and readerfooter
so that they don't repeat themselves.
10 years ago
chrox d0b4fa2665 refactoring unit testsuite 10 years ago
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'.
10 years ago
chrox 794baf4d8a benchmark has no specifications so won't be run by default 10 years ago
chrox 8294a629b8 treate quoted slash as plain text in attribute value 10 years ago
chrox 21dcf787da add OPDS support
This PR implements a simple OPDS browser which can be launched
from filemanager menu.
10 years ago
chrox 7048ca971b add getCoverPageImage api for CreDocument 10 years ago
chrox b6393b543b no need of luagettext module 10 years ago
chrox da84daf17f add cache spec 10 years ago
chrox 2ad371853a add reflowing benchmark 10 years ago
chrox 5d77abd804 add spec of document rendering benchmark 10 years ago
chrox 71eda7a0ca busted test for frontend 10 years ago