Commit Graph

66 Commits (master)

Author SHA1 Message Date
Qingping Hou 11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 8 years ago
Qingping Hou 9bd2d42834 build: enforce luacheck in travis build 8 years ago
Qingping Hou 722eaed4b2 feat: docsettings:getSidecarDir 8 years ago
chrox a60544b1ad Koreader Ubuntu-touch port
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
9 years ago
chrox 34ea9ac574 add datastorage module to handle data directory on various platform
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
9 years ago
Hans-Werner Hilse 5b48c165b3 factor out dump() function, handle reference loops 10 years ago
chrox 6ee8f22d73 add clear api for DocSettings
to remove both history settings and sidecar settings
10 years ago
WS64 d47af7e368 minor code optimizing optimizing 10 years ago
WS64 f7c640e550 Code optimization 10 years ago
chrox b7c7287bab remove more global variables 10 years ago
chrox 3b25af4f4d protected call to open sidecar history file
This should fix #724.
10 years ago
chrox a3a4e7f7fb fix dofile of nil filename 10 years ago
chrox 2900432efb read/save document settings in document sidecar too 10 years ago
Qingping Hou 8162192a9d fix(setting): handle empty setting files properly
empty reader setting evalues to nil
10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago