Commit Graph

445 Commits (9bd2d428340004cfb6fcdc1bc900b02bd0c8ff1d)

Author SHA1 Message Date
Qingping Hou 9bd2d42834 build: enforce luacheck in travis build 8 years ago
Alex Pletnev c0a2b3d4d9 #1730 Create complete book feature 8 years ago
Alex Pletnev 0f9bfbf147 #1730 Create complete book feature 8 years ago
Qingping Hou 2f0544b1b7 refactor(statistics): avoid magic 0.1 schedule with PostRender event 8 years ago
Qingping Hou daf754d0f4 minor(readerhinting): access document directly instead of from ui 8 years ago
Qingping Hou e2096ed8d9 doc: add documentation build infrastructure 8 years ago
chrox 41d3642467 add auto refresh time option for status bar, close #1769 8 years ago
Huang Xin 1dff6c7bc6 Merge pull request #1784 from koreader/houqp-master
minor FM fix
8 years ago
Qingping Hou 1609becd61 Merge pull request #1772 from dset0x/frontlight-sync
WIP Synchronise frontlight level with nickel config
8 years ago
Qingping Hou fb0606aa9c style(FM): rename internal only method into function 8 years ago
Qingping Hou 34515484d1 fix: remove invalid setDirty in FileManager:restoreScreenMode 8 years ago
Qingping Hou e19f73bdba style(util): rename tablelength to tableSize 8 years ago
Andrey Golovizin bb1d4c60b3 Choose hyphenation dict by document language 8 years ago
Dimitrios Semitsoglou-Tsiapos eb47c5a39f Synchronise frontlight level with nickel config
* Drops support for mocking the frontlight setting internally which may
  cause incorrect in-memory values.

* Adds new supported value for `KOBO_LIGHT_ON_START` (-2), which sets
  'Kobo eReader.conf' as the source to update `settings.reader.lua`'s
  brightness setting on startup, thus using the value from it
  indirectly.

* Adds the `KOBO_SYNC_BRIGHTNESS_WITH_NICKEL` configuration variable
  which updates 'Kobo eReader.conf' every time the brightness setting is
  changed within koreader.

* Fixes missing call to save brightness when modifying via two-finger
  swipe.

Closes #1523.
8 years ago
Qingping Hou d1ca8bc494 fix(filemanager): delete document with settings 8 years ago
Qingping Hou 7caeae8701 fix: make screenshoter always active for filemanager 8 years ago
Qingping Hou 6fe9f7870b chore: more luacheck fixes 9 years ago
Qingping Hou 9c46cafc9c chore: fix luacheck warning 9 years ago
Qingping Hou 3b92bdc084 feat: support screenshot in filemanager 9 years ago
Qingping Hou 4759def09c chore: fix static-check errors 9 years ago
Qingping Hou 55234ef899 fix: read stats crashes pdf/djvu documents 9 years ago
Qingping Hou 90d1101ab7 minor: quit uimanager properly on coroutine error 9 years ago
Qingping Hou 41240464ca minor: fail loudly with stack trace when doShowReader crashed 9 years ago
Qingping Hou ffd438de18 fix(ReaderFooter:getDataFromStatistics): return na if book has no stats history 9 years ago
Alex Pletnev 6bf9d75807 #1750 TB feature/statistics issue
Change time to read book formula to: ((total_read_time / read_pages) * (all_pages - current_page))
9 years ago
Alex Pletnev ce4e32e01c #1723 Add time to read into the status bar
Add new statuses:
TB - book time to read
TC - chapter time to read

Fix backward compatible in statistics plugin
9 years ago
chrox 79e0f3fe65 fix hold-to-set font size not effective 9 years ago
chrox 8b85cbf157 add support for password protected zip/cbz documents 9 years ago
chrox 96dc338812 fix #1570 to disable swipe to go back by default 9 years ago
chrox f2d38336c1 fix #1642 GFW block in China may also cause Network unavailable error 9 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
Huang Xin d393fbb180 Merge pull request #1628 from apletnev/#1581
Add Statistic plugin (#1581 Amount of hours spent on a book)
9 years ago
Alexander Pletnev c45328f14e Add Statistic plugin (#1581 Amount of hours spent on a book)
Changes based on comments
9 years ago
chrox 5ec384efb5 fix #1593 cannot download from COPS OPDS server
and get rid of the ugly baseurl workaround for "Internet Archive",
actually the url building of all these catalogs is perfectly
handled with `url.absolute(base, relative)`.
9 years ago
Qingping Hou 63e88baf33 fix: stop self.dimen polution for inputcontainers
Without this fix, self.dimen is shared among all inputcontainers
intances, which breaks some of the UI rendering. All widget should
set/initialize their own self.dimen in self:init() method.
9 years ago
NiLuJe ce5f66ccbc Prefix battery percentage w/ a + when charging.
Adresses comments on MR.
Add a comment explaining the magic behind CRe's charging icon when using
CRE's full (top) status bar.
9 years ago
Alexander Pletnev 52d821df00 Add Statistic plugin (#1581 Amount of hours spent on a book) 9 years ago
Qingping Hou f09f6e0db8 Merge pull request #1621 from Frenzie/readerfont
Fix set default or fallback font string isn't picked up by lua_xgettext
9 years ago
Frans de Jonge 30a95c8fc3 Fix set default or fallback font string isn't picked up by lua_xgettext 9 years ago
NiLuJe a4ebfee83b Handle the PW3
(Dry-coded, assume it's basically a PW2 w/ the KV screen ;p)
9 years ago
Frans de Jonge f84b537954 Make 'default' and 'fallback' strings translatable 9 years ago
Frans de Jonge e935ef3ada Merge pull request #1615 from frankyifei/2015-9-3
implement GUI dialog for setting crengine fallback font
9 years ago
frankyifei 059de23037 implement GUI dialog for setting crengine fallback font 9 years ago
Frans de Jonge f1e8710f0f Implement persistent global style setting 9 years ago
Frans de Jonge f9d415642a Fix clear external styles not persistent in document settings
References #1601
9 years ago
chrox ec1d9e4b7d partial refresh after deleting highlights
This should fix #1558.
9 years ago
chrox 612ee99707 dictionary lookup now supports phrase
This should fix #1537.
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
Qingping Hou 186673587e chore: fix some of the luacheck errors 9 years ago
NiLuJe 50dbf6b581 Switch a few widgets to ui refresh modes
More closely matches native behavior on REAGL devices.
Closing those widgets should still trigger a partial refresh though,
because we usually get back to the reader, and text, so we want REAGL
;).
9 years ago