Commit Graph

5683 Commits (b483c54be8c727160d829c8a385f60b5b2a9097c)
 

Author SHA1 Message Date
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).
7 years ago
Frans de Jonge ac7119c433 [fix] Android screen blackout on first light change (#3303) 7 years ago
poire-z 301892f4b6 [fix] Avoid multiple refreshes when opening credocuments (#3300)
Only noticeable on Kindle (which uses REAGL as partial refresh).
7 years ago
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)
7 years ago
Robert ceb7cf9771 Migrate Goodreads to https (#3298) 7 years ago
Frans de Jonge 5786449021 ISSUE_TEMPLATE: add request to share crash.log (#3296) 7 years ago
Frans de Jonge 7eefff284d [fix] kodev: default NDKABI=14 if not set for NDK 15 standalone toolkit 7 years ago
Frans de Jonge 59cfde8558 kodev: add run android convenience shortcut (#3297) 7 years ago
Frans de Jonge db6c35c144 README: small typo 7 years ago
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.
7 years ago
Frans de Jonge bf61e6f093 [fix] Android frontlight control 7 years ago
Fabian Müller-Knapp 7d81aa5cf4 [feat] Pocketbook840 enable frontlight (#3294)
* Detect PocketBook840 by GetSoftwareVersion()

* implement Frontlight-support for 840 via inkview
7 years ago
poire-z b55265ba91 CoverBrowser: avoid crash when indexing some cre documents (#3293) 7 years ago
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.
7 years ago
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.
7 years ago
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.
7 years ago
poire-z 308c243238 Inform once about color rendering on supported devices (#3289) 7 years ago
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.
7 years ago
poire-z 1f038055d3 [Fix] Full refresh when showing ImageViewer 7 years ago
poire-z 1a97b4289c [Fix] Show 'Follow Link' even when no dict installed 7 years ago
poire-z 92e0067466 Enable color rendering on Android 7 years ago
poire-z 53f083f516 Allow for toggling color rendering
New menu item in Screen submenu.
hasColorScreen enabled for SDL device.
7 years ago
Robert f45188fb9d Time reader with normal time format v2 (#3279) 7 years ago
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`.
7 years ago
Robert 7323d04c1b Fix refresh in Time range (#3278) 7 years ago
Frans de Jonge 3dfbd3b2e6 [lang] OPDSCatalog ConfirmBox ok_text/cancel_text (#3281) 7 years ago
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
7 years ago
Robert a2ea46bfdc Rename bookmark (#3275) 7 years ago
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.
7 years ago
Frans de Jonge 7da2998322 README: typo and grammar 7 years ago
Frans de Jonge a3ae46136c README: update info about screen size/DPI 7 years ago
Frans de Jonge 994606e70e README: more grammar 7 years ago
poire-z 48d888bedb CoverBrowser: use MuPDF for down-scaling images (#3272) 7 years ago
Frans de Jonge 0d7999e7a5 [fix] Add hold_callback to IconButton (#3271)
Also fix path display update.

Fixes #3270.
7 years ago
Frans de Jonge 5da6624ec6 README: various style, grammar, clarifications & updates 7 years ago
Robert af356a819b [fix] Avoid crash when set home (#3269) 7 years ago
Frans de Jonge ac02d1551b README: update Android NDK/SDK info 7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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
7 years ago
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.
7 years ago
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.
7 years ago
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
7 years ago
Frans de Jonge 35be7c08ea README: fix typo 7 years ago
Frans de Jonge a2b0fb270c Bump base for smoother image scaling (#3259) 7 years ago
mwoz123 e7da93da89 Adapt ND to changes in code where 0 means no limit (#3258)
+ reorganize config, improved comments
7 years ago
poire-z 9448a52515 [UX] Smaller bottom menu icons (#3257)
And unrelated small optimisation in imagewidget
7 years ago
poire-z 2735c6d369 [fix, UX] Remove rounded corners from fullscreen History (#3256)
Prevent visibility of readers's footer edges.
7 years ago
Robert 88aba421cb Timer Reader with normal time format (#3244) 7 years ago