2
0
mirror of https://github.com/koreader/koreader synced 2024-11-04 12:00:25 +00:00
Commit Graph

5770 Commits

Author SHA1 Message Date
Frans de Jonge
7376c57ceb [ci] after_success.sh: add --verbose flag to luacov-coveralls 2017-08-18 10:51:59 +02:00
poire-z
3dd18d2a3b Fix "start with history" misalignment
due to a side effect with coverbrowser. CenterContainer is no
more needed as History is now full screen.
2017-08-18 10:37:46 +02:00
poire-z
3b5cd4c23b CoverBrowser plugin: alt views for File Browser and History (#2940)
* CoverBrowser plugin: alt views for File Browser and History

* Added Prune cache and Compact cache menu actions

* Support for book descriptions, and settings stored in db
2017-08-17 19:34:36 +02:00
Frans de Jonge
7277059176 add unit test 2017-08-17 11:18:28 +02:00
Frans de Jonge
c8c4df2f31 [fix] util.isEmptyDir() crashes on non-existent dir
lfs.dir will crash rather than return nil if directory doesn't exist

Proper fix for 9f5e446701 which is nothing but a workaround. However, I do think creating more of those data dirs automatically is more user-friendly because otherwise Android users will have to look it up or guess.
2017-08-17 11:18:28 +02:00
Frans de Jonge
6bdb96c0f8 [UX] FileManager: add ConfirmBox for purge .sdr
Notified of destructive action without confirmation in https://www.mobileread.com/forums/showthread.php?p=3566978#post3566978
2017-08-17 08:54:10 +02:00
Zijie He
2ba079e3eb Reserve last good docsetting 2017-08-17 08:50:15 +02:00
Frans de Jonge
1fd8989906 [ci] readerlink_spec.lua: #nocov on failing tests 2017-08-16 17:44:16 +02:00
Frans de Jonge
7b12954cad [ci] #nocov on BatteryState
All tests fail while trying to do coverage.
2017-08-16 17:15:12 +02:00
Frans de Jonge
9ba69f4c4f fix coverage 2017-08-16 16:32:21 +02:00
Robert
7f58a13626 Ability to setup clock (#3085)
* Ability to setup clock
2017-08-15 19:54:02 +02:00
Frans de Jonge
76a2dbc7c5 Bump base (LuaJIT to 2.1.0-beta3) 2017-08-14 22:57:11 +02:00
Frans de Jonge
16f8f7226e [chore] util: deprecated string.gfind to string.gmatch 2017-08-14 22:39:38 +02:00
robert00s
ddd36d4150 Fix: Zsync -> Share this document crashes 2017-08-14 20:30:52 +02:00
Frans de Jonge
23cd585fae Support history as default view for filemanager (#3058)
Fixes #2774

* make history view borderless
* add new menu for what to start with

Should combine nicely with #2940
2017-08-14 13:15:12 +02:00
robert00s
5e402419ed Swipe down to close config menu 2017-08-14 12:59:54 +02:00
robert00s
6bded7aaf7 readerconfigmenu(fix): override pan gesture from scrolling 2017-08-14 11:24:40 +02:00
Robert
27c4e28e84 Fix: Cloud Storage not working on Kobo Aura ONE (#3077)
* Fix: Cloud storage opens in landscape mode when display is in portrait mode
Fix: If return is pressed when in root, koreader crashes
2017-08-13 12:57:19 +02:00
Frans de Jonge
74f3d6e820 Revert #3071 bump sdcv
Turns out it was merrily compiling for x86 instead of the intended architectures. Fixes #3075 but obviously needs follow-up.
2017-08-12 21:27:08 +02:00
Frans de Jonge
9f5e446701 [fix] DataStorage: create data/dict to prevent Android crash
```
08-12 14:32:17.325  9188  9216 E luajit-launcher: Failed to run script: frontend/util.lua:291: cannot open /storage/emulated/0/koreader/data/dict: No such file or directory
08-12 14:32:17.333  9188  9216 V threaded_app: android_app_destroy!
```
2017-08-12 14:39:02 +02:00
Frans de Jonge
16dd5170b8 Newsdownloader: add HTTPS support and fixes
* Fixes #3041 (HTTPS)
* Fixes unlimited (limit = 0) was broken
* Fixes titles and links with attributes
2017-08-11 21:02:21 +02:00
Marcin Mielniczuk
128d60a6d3 Fall back to ANDROID_NDK if NDK not set (#3064)
* Fall back to ANDROID_NDK if NDK not set
2017-08-11 17:28:54 +02:00
Frans de Jonge
8073a1d12f Bump base (sdcv to upstream)
Should fix #2951
2017-08-11 16:42:10 +02:00
Frans de Jonge
7545d38198 fix: really skip en_US:us in gettext.changeLang
`new_lang` isn't `en_US` but `en_US:en`

Also see https://github.com/koreader/koreader/issues/3069#issuecomment-321769322
2017-08-11 14:56:23 +02:00
Frans de Jonge
06d7eea507 [Kindle] Add support for Kindle PW3 "manga" model
Model number either `0LK` or `0LL`

See discussion in https://www.mobileread.com/forums/showthread.php?p=3565878#post3565878
2017-08-11 00:05:32 +02:00
robert00s
dfba135f10 Fix: Advanced settings crashes 2017-08-09 20:54:29 +02:00
Frans de Jonge
e3c17aa6d0 Travis: run luacheck on unit tests (#3059)
* Travis: run luacheck on unit tests
2017-08-08 13:35:40 -07:00
Robert
1bfad22af0 Fix: Footer hides text (#3056)
This patch should resolve issue #2257 (Footer hides text)
Sometimes, depending on an epub style, some text is hidden by the progress bar (the mini one at the bottom).
2017-08-08 19:06:11 +02:00
robert00s
64529b5391 Option to choose gesture to open menu 2017-08-08 18:45:14 +02:00
Hzj_jie
a8513c95b6 Several minor fixes (#3057)
1. Android.getScreenBrightness() is used in frontend/device/android/powerd.lua to retrieve the frontlight intensity.
2. kosync.koplugin won't save settings for whisper sync.
3. batterstat.koplugin won't work correctly if several on* events are fired.
2017-08-08 08:29:57 +02:00
poire-z
0d38547990 Wikipedia save as epub: fix some image download failures 2017-08-07 13:37:08 +02:00
robert00s
7919026a19 Fix: crash when incorrect value in input page number 2017-08-06 15:58:37 +02:00
Frans de Jonge
b4167672fd Read timer: various improvements
* no timeout on alarm
* autoclose menu when starting timer
* show time in menu when active
2017-08-05 21:49:41 +02:00
Robert
21c63a297e Gesture to show only config menu (#3051)
* Gesture to show only config menu

* Show config menu from bottom
2017-08-05 21:49:00 +02:00
robert00s
4b9fc6333f Fix: Unable to click on highlighted text in tap menu zone 2017-08-04 17:26:50 +02:00
Robert
46c19ba8e9 Option to disable keyboard flashing (#3050)
* Option to disable keyboard flashing
2017-08-04 14:01:06 +02:00
Frans de Jonge
fd7382514e Bump luajit-launcher
Fixes #3038

Also includes "Fullscreen status bar height" https://github.com/koreader/android-luajit-launcher/pull/56
2017-08-04 10:53:12 +02:00
Robert
2d89e16fab Fix: Can't long-press lookup word inside bookmark tap zone (#3048)
* Fix: Can't long-press lookup word inside bookmark tap zone
2017-08-03 20:06:30 +02:00
robert00s
f650ac1ecc Fix: Backspace will delete the character before the one on the left of the cursor 2017-08-03 14:29:33 +02:00
robert00s
e6ec1d4198 Fix: KOReader dies after clicking AEB four times on keyboard 2017-08-02 20:18:20 +02:00
Robert
7432100981 KeyValuePage navigation buttons (#3043)
* KeyValuePage navigation buttons
2017-08-02 19:17:56 +02:00
Robert
b883979fba Option to make password visible when entering (#3040)
* Option to make password visible when entering
2017-08-02 14:00:42 +02:00
robert00s
6d5859d11d Read bookmarks without having to view ebook page 2017-07-31 20:36:06 +02:00
Robert
c7417c45b3 Wrap text in TextViewer (#3036)
* Wrap text in TextViewer
2017-07-31 19:03:32 +02:00
Robert
4d0f66a354 Fix: Unhighlight is not clickable in dictionary view and Deleting highlights in bookmarks does not take effect (#3034)
* Fix: Unhighlight is not clickable in dictionary view
* Fix: Deleting highlights in bookmarks does not take effect
2017-07-28 22:39:54 +02:00
Hzj_jie
c9a997f42c BackgroundRunner (#3008)
* Use getCapacityHW() to ensure latest battery capacity can be retrieved

* BackgroundRunner

* Start background_runner_spec.lua

* AutofrontLight plugin now uses BackgroundRunner plugin
2017-07-28 16:48:19 +02:00
robert00s
ba96506483 Fix event AddHightligh and add event DelHighlight 2017-07-27 20:25:26 +02:00
robert00s
a675d21e34 Enable text justification in GoodReads review 2017-07-25 21:26:15 +02:00
robert00s
4651954364 Prevent liblipclua crashes 2017-07-25 09:51:53 +02:00
Hzj_jie
d6845d94b1 ReadHistory: support reload (#3003)
Allows ReadHistory to reload according to the modification timestamp of history.lua.
2017-07-19 14:56:17 +02:00