2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

5735 Commits

Author SHA1 Message Date
poire-z
e6fcea6e26 Fix crash with keyboard navigation of onHold buttontables (#3307)
* Fix crash with keyboard navigation of onHold buttontables

Would crash when encountering a separator or when the number
of buttons in a row changes.

* Reset previous selected item on new buttontable
2017-10-07 12:11:00 +02:00
poire-z
b7785753c6 [fix] Crash on highlight in some situations (#3306) 2017-10-06 15:58:58 +02:00
poire-z
b483c54be8 Fix footer, stats, TOC position with cre in scroll mode (#3304)
This gives the page position to these modules even in scroll mode.
Also, in readerrolling: don't query battery/charging status
when crengine does not need it (used only when it shows its top
progress bar).
2017-10-05 21:49:59 +02:00
Frans de Jonge
ac7119c433 [fix] Android screen blackout on first light change (#3303) 2017-10-05 17:13:11 +02:00
poire-z
301892f4b6 [fix] Avoid multiple refreshes when opening credocuments (#3300)
Only noticeable on Kindle (which uses REAGL as partial refresh).
2017-10-05 17:12:49 +02:00
Frans de Jonge
34ad91c3f0 Bump base (#3301)
Includes:

* [fix] Android viewport (fixes #3148)
* Makefile: add luajit-clean target and auto-call it (https://github.com/koreader/koreader-base/pull/531)
2017-10-04 23:25:37 +02:00
Robert
ceb7cf9771 Migrate Goodreads to https (#3298) 2017-10-04 18:31:54 +02:00
Frans de Jonge
5786449021 ISSUE_TEMPLATE: add request to share crash.log (#3296) 2017-10-04 17:22:08 +02:00
Frans de Jonge
7eefff284d [fix] kodev: default NDKABI=14 if not set for NDK 15 standalone toolkit 2017-10-04 12:49:56 +02:00
Frans de Jonge
59cfde8558 kodev: add run android convenience shortcut (#3297) 2017-10-04 11:46:13 +02:00
Frans de Jonge
db6c35c144 README: small typo 2017-10-04 08:53:00 +02:00
poire-z
5a2c8e4b5e Revert 2 commits that caused crengine scroll mode side effects (#3295)
394be8a (#2855) and 2b3b310 (#3183) introduced side effects (scroll mode
crashing and TOC being reset and rebuild). This reverts parts of them
not yet reverted.
2017-10-03 21:33:12 +02:00
Frans de Jonge
bf61e6f093 [fix] Android frontlight control 2017-10-03 21:14:38 +02:00
Fabian Müller-Knapp
7d81aa5cf4 [feat] Pocketbook840 enable frontlight (#3294)
* Detect PocketBook840 by GetSoftwareVersion()

* implement Frontlight-support for 840 via inkview
2017-10-03 14:59:41 +02:00
poire-z
b55265ba91 CoverBrowser: avoid crash when indexing some cre documents (#3293) 2017-10-03 00:31:36 +02:00
poire-z
26def92983 credocument reader optimisation (avoid multiple TOC builds) (#3292)
Avoid unnecessary work in ReaderView:onSetViewMode() and
ReaderRolling:updatePos() that would result in TOC being reset
and rebuilt (which can take time on books with huge TOC) during
reader setup.
2017-10-03 00:31:14 +02:00
Frans de Jonge
e5675af467 README: Change gcc requirement to 4.8
Technically 4.7 is probably fine for all but debugging symbols, for which a simple version check and workaround could be added. However, since all of the CI tests run 4.8 there is no regression prevention and it would be more future maintenance trouble than it's worth.
2017-10-02 22:03:54 +02:00
Frans de Jonge
83e0ce7750 [fix] KOSync server TLS connection (#3291)
Bumps base for updated luasec.

The forum reminded me Sync was broken https://www.mobileread.com/forums/showthread.php?p=3587993 (as I don't use it myself). This finishes 23e2183931.

Thanks to @houqp for helping with debugging Cloudflare. See https://support.cloudflare.com/hc/en-us/articles/203135314-How-can-I-enable-SSLv3-

Fixes #2738. Fixes #2178. (Duplicate bug reports by @Hzj-jie. :-P) Fixes #3159. Fixes #3158. Fixes #2877.
2017-10-02 21:27:15 +02:00
poire-z
308c243238 Inform once about color rendering on supported devices (#3289) 2017-10-02 15:17:17 +02:00
Frans de Jonge
23e2183931 [fix] KOSync plugin server location (#3288)
This is only step one. It remains to be determined why the connection is downgraded to sslv3, which will result in a handshake failure.
2017-10-02 09:51:34 +02:00
poire-z
1f038055d3 [Fix] Full refresh when showing ImageViewer 2017-10-02 08:28:09 +02:00
poire-z
1a97b4289c [Fix] Show 'Follow Link' even when no dict installed 2017-10-02 08:28:09 +02:00
poire-z
92e0067466 Enable color rendering on Android 2017-10-02 00:10:29 +02:00
poire-z
53f083f516 Allow for toggling color rendering
New menu item in Screen submenu.
hasColorScreen enabled for SDL device.
2017-10-02 00:10:29 +02:00
Robert
f45188fb9d Time reader with normal time format v2 (#3279) 2017-10-01 18:15:59 +02:00
Frans de Jonge
3a9651702f kodev: run with catchsegv by default (#3283)
See https://github.com/koreader/koreader/issues/2878#issuecomment-326796777

Also fix `./kodev run -h` as alias for `--help` as it's always overwritten by `-h` in the sense of the much more important `--screen-height`.
2017-10-01 17:13:47 +02:00
Robert
7323d04c1b Fix refresh in Time range (#3278) 2017-10-01 14:28:12 +02:00
Frans de Jonge
3dfbd3b2e6 [lang] OPDSCatalog ConfirmBox ok_text/cancel_text (#3281) 2017-10-01 14:27:02 +02:00
poire-z
180f5755f4 Allow for colored rendering (#3276)
* Allow for colored rendering

Available with all engines (CRE, PDF, Images).
Needs to manually add setting: "color_rendering" = true

* Disable color for djvudocument

* Use Screen:isColorEnabled()

* Bump base
2017-10-01 00:16:38 +02:00
Robert
a2ea46bfdc Rename bookmark (#3275) 2017-09-30 18:17:48 +02:00
poire-z
e350e0e35a CoverBrowser: use a cache for crengine books extraction (#3277)
We previously disabled cache, but that may cause excessive
memory usage with big books. We now use a temporary
cache directory, that we clean when no more needed.
2017-09-30 18:02:35 +02:00
Frans de Jonge
7da2998322 README: typo and grammar 2017-09-29 13:55:18 +02:00
Frans de Jonge
a3ae46136c README: update info about screen size/DPI 2017-09-29 13:36:10 +02:00
Frans de Jonge
994606e70e README: more grammar 2017-09-28 21:49:03 +02:00
poire-z
48d888bedb CoverBrowser: use MuPDF for down-scaling images (#3272) 2017-09-28 21:47:05 +02:00
Frans de Jonge
0d7999e7a5 [fix] Add hold_callback to IconButton (#3271)
Also fix path display update.

Fixes #3270.
2017-09-28 21:26:16 +02:00
Frans de Jonge
5da6624ec6 README: various style, grammar, clarifications & updates 2017-09-28 21:23:30 +02:00
Robert
af356a819b [fix] Avoid crash when set home (#3269) 2017-09-28 19:33:01 +02:00
Frans de Jonge
ac02d1551b README: update Android NDK/SDK info 2017-09-28 18:06:04 +02:00
Frans de Jonge
35af912f77 [UX] Smaller borders (#3266)
For years they've been smaller on higher DPI devices and likely very few people realized it was technically a bug. These values round up on lower DPI and smaller screen devices.

References https://github.com/koreader/koreader/issues/3265
2017-09-28 16:25:00 +02:00
Robert
8d765e7d0d Add back button to statistics (#3267)
Closes: #3236 and #3235
Details:

> Also, when looking in days, we see info how many hours we read. It would be great if we could tap a day, it opens info on book(s) we read that day with info pertaining to that day, and if we tap on book, we receive book info for that book.

>  Statistics plugin is really great, I started to look in my reading statistics now much more, but all the time I can go only in one way. And I need to exit at lowest level of info. It would be great if I can use statistics plugin like part of menu, to go up and down within statistics data and exit at my wish, not when I have to.

Also added:

 * new statistics book by week
 * new statistics book by month
 * last year by week now we can see days in selected week
2017-09-28 15:35:25 +02:00
Frans de Jonge
ff3ca5d98d [Android] Enable CoverBrowser (#3264)
I was reminded by @KenMaltby that this is disabled on Android.

https://www.mobileread.com/forums/showthread.php?p=3586162#post3586162
2017-09-28 15:03:04 +02:00
Frans de Jonge
94c0e01b7f [fix, Android] restore patch.lua and fix odd anonymous function issue
See https://github.com/koreader/koreader/issues/3214#issuecomment-332218408 and https://github.com/koreader/koreader/issues/3118#issuecomment-332633481
2017-09-27 21:45:07 +02:00
Frans de Jonge
0fc5a378bc [UX] Add home button (#3263)
Tap to go HOME. Hold to set current folder as HOME. When no HOME is set yet tap also asks to set current folder as HOME.

See https://github.com/koreader/koreader/issues/2957#issuecomment-308513062

Closes #3200.
2017-09-27 18:15:11 +02:00
Frans de Jonge
6275453855 [fix] Some Android issues (#3262)
Bump base for versioned Android libs.

Fixes #3214. Fixes #3112. Fixes #3091. Fixes #3039. Fixes #2976. Fixes #2960. Fixes #2947.
2017-09-26 14:09:17 +02:00
poire-z
0aa0b9b2de ImageWidget: use MuPDF for scaling images (#3260)
* Cache scaled images with scale_for_dpi

* Don't update original self.scale_for_dpi

A same ImageWidget object can be free()'d and re-render()ed,
and we would then lose scale_for_dpi on next renderings
2017-09-26 10:21:58 +02:00
Frans de Jonge
35be7c08ea README: fix typo 2017-09-25 22:57:49 +02:00
Frans de Jonge
a2b0fb270c Bump base for smoother image scaling (#3259) 2017-09-24 23:16:53 +02:00
mwoz123
e7da93da89 Adapt ND to changes in code where 0 means no limit (#3258)
+ reorganize config, improved comments
2017-09-24 18:30:45 +02:00
poire-z
9448a52515 [UX] Smaller bottom menu icons (#3257)
And unrelated small optimisation in imagewidget
2017-09-24 15:22:06 +02:00