Commit Graph

287 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 daf754d0f4 minor(readerhinting): access document directly instead of from ui 8 years ago
chrox 41d3642467 add auto refresh time option for status bar, close #1769 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 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 3b92bdc084 feat: support screenshot in filemanager 8 years ago
Qingping Hou 4759def09c chore: fix static-check errors 8 years ago
Qingping Hou 55234ef899 fix: read stats crashes pdf/djvu documents 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 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
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
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
chrox d345f21c39 Fix sdcv on Android cannot handle morphological changes 9 years ago
chrox 402806d32b Dictionary on Android
Stardict dictionary files should be copied to
/sdcard/koreader/data/dict/ directory.
9 years ago
chrox 263309d0f3 Add option to disable swipe to go back
and add a menu entry "Go back".
This should fix #1443.
9 years ago
chrox 0788709f26 Popup goto dialog only when holding on visible status bar 9 years ago
chrox 946f527bb5 Remember scroll mode in flipping mode
This is a follow-up workaround on #1439.
9 years ago
chrox 82393f0ed3 fix loading frontend/JSON.lua for json.lua on Kindle
The VFAT file system of `/mnt/us` is case insensitive so that
require("json") from Spore which intends to load luajson module in
rock directory actually will load `frontend/JSON.lua`, the two JSON
parser libraries have slightly different APIs.

This patch remove the pure Lua JSON library in favor of `luajson` which
uses LPeg pattern marching backend for better performance.
9 years ago
chrox ff3a42e503 typo fix of #1462 9 years ago
chrox 90a5e09bdc disable highlight in dict window if it's highlighted already
This should fix #1418.
9 years ago
chrox 2ad21dcaa2 only strip punctuations when highlight to search
This should fix #1419.
9 years ago
chrox 3224eb1797 fix inproper variable name for pages left 9 years ago
chrox 992e769aaf support goto relative page number
We can input relative page number now in the reader goto dialog.
Goto "+4" will page forward 4 pages and goto "-4" will page
backward 4 pages.

This implements #1437.
9 years ago
chrox ea76d91ed4 save zoom mode in flipping mode
This is a workaround to fix #1439.
9 years ago
chrox 35abf4bfaf move minibar configurations to reader menu
and fix #1446 by adding progress percentage in minibar.
9 years ago
chrox d08e22ec2e add simple sync service as a plugin
The 'KOSync' plugin will synchronize furthest reading progress
across different koreader devices after users registering their
devices.

The synchronizing service is open-sourced as the project
[koreader/koreader-sync-server](https://github.com/koreader/koreader-sync-server).
9 years ago