Commit Graph

6922 Commits (73c8e5c5cd93992c011ff8f491b472a2f62a6d16)
 

Author SHA1 Message Date
NiLuJe aec7594af5
Blacklist the C BB on devices where it cannot be used (#4989)
Either at all, or because it would impose reduced functionality.

Meaning:
* On 4bpp fb, because those are completely unsupported by the C BB
* On 24bpp fb, because it has limited support for that target format (no alpha blending).
* On 8bpp Linux eInk fb with an inverted palette (that's basically only the K4 ;)).
* On Linux eInk devices w/ no HW inversion support, as that would render NightMode inoperable.

That last point means that it's currently *always* blacklisted on PocketBook, because I don't have a PB device, so I don't know how safe HW inversion would be, meaning none of them are marked as being HW invert capable.

(I was a tiny bit hasty with https://github.com/koreader/koreader-base/pull/912 ;).)
5 years ago
poire-z bf07c44009
CRe margins: add toggle to sync top and bottom margins (#4990)
Also fix DogEar size update on margin change.
Also re-order cre bottom tabs to be like with kopt.
5 years ago
Frans de Jonge 4515a36059
[Android] Bump luajit-launcher for SurfaceView hack (#4991)
See https://github.com/koreader/android-luajit-launcher/pull/143

References https://github.com/koreader/koreader/issues/3517#issuecomment-485347562
5 years ago
NiLuJe 4c14ef737e
Bump base (#4988)
Mainly for the switch to the C BB by default on Kobo/Kindle/PB

But also includes:

CI tweaks: https://github.com/koreader/koreader-base/pull/907
           https://github.com/koreader/koreader-base/pull/911
DjVu tweaks: https://github.com/koreader/koreader-base/pull/909
SDL2 tweaks: https://github.com/koreader/koreader-base/pull/910
5 years ago
NiLuJe 888d3591b2
Give more control over CRe margins (#4945)
Without having to resort to weird custom defaults.

* Split the current margins setting in three:
  * Horizontal margins (because you generally want those two to be balanced).
  * Top margin & Bottom margin (because you may want to tweak those separately to deal with quirky status bar/final line shenanigans).

* Also, add a "Reclaim bar height from bottom margin" toggle to the status bar menu, to optionally make sure the status bar won't eat into the bottom margin.

* Includes a free fix to diacritics popup refresh handling in the keyboard ;).
5 years ago
Tom Hall 9b41adb2f1 NewsDownloader: Fix UI when downloading multiple feeds (#4987)
Wrap the whole of loadConfigAndProcessFeeds with Trapper:wrap so that feeds are downloaded sequentially, otherwise they become interleaved and the UI progress updates get confusing. Use Trapper:info in place of manually constructed InfoMessages.
5 years ago
Tom Hall 8e23d2a937 NewsDownloader: Process articles sequentially
Lift the Trapper:wrap call out of the individual article processing code,
so that articles are processed one by one, in order to:
* Avoid concurrent progress updates fighting over the UI dialog
* Avoid trying to download many images at the same time
5 years ago
Tom Hall cad4d25d24 NewsDownloader: Add flag 'include_images' to feed config
Allow the user to specify whether to download images for each individual
feed specified in feed_config.lua. Default to false to stay closest to
existing behaviour.
5 years ago
Tom Hall 1588d4c64a NewsDownloader: Download images and output EPUBs
Initial commit of new NewsDownloader which downloads images as well as text
and packs it all into an epub.

Based on Wikipedia "Download as EPUB" code.
5 years ago
Frans de Jonge 96179670f8
[fix] Close calibre search when opening document (#4978)
Fixes https://github.com/koreader/koreader/issues/4225.
5 years ago
Frans de Jonge 5690998124
kodev: pass correct --lpath for base test (#4973) 5 years ago
Frans de Jonge 3f670baaa2
[UX] Keyboard popup: add X (#4977) 5 years ago
Frans de Jonge 65d72d0244
[CI] CircleCI: save test results (#4974)
It should be a path to a directory, not a file.

https://circleci.com/docs/2.0/configuration-reference/#store_test_results

> Path (absolute, or relative to your working_directory) to directory containing subdirectories of JUnit XML or Cucumber JSON test metadata files

Perhaps the file needs to be named results.xml. We'll see.
5 years ago
Frans de Jonge 27ddd6f313
[spec] Better insulation (#4972)
Some combination of Travis and/or older Busted necessitated insufficient insulation.

Follow-up to https://github.com/koreader/koreader/pull/4970

Space condensing carried over; reset at the start of readertoc.
5 years ago
Frans de Jonge 4dc116ed6a
[fix, spec] re-enable ReaderView tests (#4970)
It's not clear to me where the value is set as expected when running all tests linearly because it doesn't seem to be ReaderFooter.
5 years ago
Frans de Jonge e869041632
[chore] kodev: make kodev test consistent with build & run (#4969) 5 years ago
Qingping Hou 080c079d01 chore: add test for screen color toggle 5 years ago
Qingping Hou 11a38b33f1 kodev: stop test command if build failed 5 years ago
Frans de Jonge c0ba6ae48e
[CI] Bump busted to v2.0.rc13-0 (#4966)
Includes https://github.com/koreader/koreader-base/pull/906

Cf. https://github.com/koreader/koreader-base/issues/905
5 years ago
Frans de Jonge 2c6cc258a2
bump luajit-launcher to fix Android build (for real) (#4965)
* Fix LuaJIT build after the recent buildsystem tweaks https://github.com/koreader/android-luajit-launcher/pull/142
5 years ago
Frans de Jonge 8023af0b54
bump base (#4964)
* Don't disable exp2 & log2 in LuaJIT https://github.com/koreader/koreader-base/pull/902
* fix incorrect merge with master from https://github.com/koreader/koreader-base/pull/843 https://github.com/koreader/koreader-base/pull/901
5 years ago
Frans de Jonge 3568c86584
bump base for SDL_FULLSCREEN fix & simplified DPI handling (#4963)
* [fix] ffi/SDL2: crash with `SDL_FULLSCREEN` https://github.com/koreader/koreader-base/pull/900
* simplify framebuffer dpi handling https://github.com/koreader/koreader-base/pull/843
5 years ago
Frans de Jonge 5c95597f0a
README: remove Ubuntu Touch and add screenshot (#4959)
The Ubuntu Touch build has been broken for three years and since I have no way to test I can't fix it.

References #4904.
5 years ago
Frans de Jonge f38918a6f2
[Ubuntu Touch] Strip OTA update code (#4962)
It distracts the developers. ;-)
5 years ago
Frans de Jonge 7d742e156a
[Android] Bump luajit-launcher to fix build (#4957)
* [fix] Add LuaJIT patch to sync with koreader-base https://github.com/koreader/android-luajit-launcher/pull/141

A bit of an emergency fix to just get it working ASAP. A patch was added to base LuaJIT in https://github.com/koreader/koreader-base/pull/892, which caused a mismatch and build failures over here. Unfortunately that was hidden by some excessive Android verbosity inadvertently introduced in https://github.com/koreader/koreader-base/pull/888, and on my local instance where I did a sanity check LuaJIT was already compiled…
5 years ago
Frans de Jonge c9d0fc36cb
bump base for Clang fix (#4955)
https://github.com/koreader/koreader-base/pull/897
5 years ago
NiLuJe d9ab5d2f43 Make sure the AutoWarmth feature will never try to turn the light back (#4953)
on if it's off.
Because, on the KA1, since wetting the warmth *has* to set the
brightness, it could ;).

Patch only actually needed on Kobo, as all Cervantes devices with warmth
support have a mixer, which mean they *can* set the warmth without
affecting the brightness ;).
5 years ago
Frans de Jonge 8f0a3dda7a
bump base for silent iconv & gettext build (#4954)
Otherwise Travis CI and GitLab CI have log length issues on Android.

https://github.com/koreader/koreader-base/pull/898
5 years ago
Frans de Jonge ff843e0eb7 [i18n] Change user-facing floating punctuation text to hanging punctuation
See https://www.mobileread.com/forums/showthread.php?t=316787
5 years ago
Frans de Jonge 4782f5ffc1
[UX] Keyboard popup: add = (#4950)
As suggested by @Biep in https://github.com/koreader/koreader/pull/4889#issuecomment-485158316
5 years ago
Frans de Jonge c092979848
bump base to bump some dependencies (#4948)
https://github.com/koreader/koreader-base/pull/896
* Bump HarfBuzz to 2.4.0
* Bump K2pdfopt to pickup the CJK thingy
* Bump libpng to 1.6.37
* Bump FBInk to 1.15.0

[fix, build] Don't fail quietly on patching failure https://github.com/koreader/koreader-base/pull/895
5 years ago
Frans de Jonge 5d3c45a96b
[Ubuntu Touch] Minor updates (#4947)
Cf. https://github.com/koreader/koreader/issues/4361#issuecomment-484959506 and https://github.com/koreader/koreader/pull/4946
5 years ago
Frans de Jonge 4371422898
[fix, Ubuntu Touch] Actually bundle libSDL2.so! (#4946)
Accidentally broken in https://github.com/koreader/koreader/pull/2132.
5 years ago
Frans de Jonge 837e9d85cb
[fix] plugins/send2ebook: crash on setting download dir (#4944)
Also fix weird indentation.

Reported on the forum: https://www.mobileread.com/forums/showthread.php?p=3833021#post3833021
5 years ago
Frans de Jonge ab4d7ee4e1
bump base for Android OpenSSL fix & pixel density (#4943)
* scale density independent pixel by 160 instead of 167 https://github.com/koreader/koreader-base/pull/885
* [fix, Android] Versioned OpenSSL libs https://github.com/koreader/koreader-base/pull/894
5 years ago
Frans de Jonge b5b4b0dcfd
Bump base for correctly MuPDF library linking (#4941)
https://github.com/koreader/koreader-base/pull/892
5 years ago
Frans de Jonge 8ec42d1e60
[fix] Actually commit V popup data (#4940)
Overlooked in https://github.com/koreader/koreader/pull/4938
5 years ago
NiLuJe 9134594119
Allow toggling CRe's new dithering & scaling (#4922)
Smooth scaling toggle is per document, in the gear tab.
Dithering is in the Dev top menu ;).
5 years ago
Frans de Jonge 6203fbb633
[UX] Keyboard popup: add V diacritics (#4938) 5 years ago
Galunid 9759ffa381 [feat] GestureManager: Implement action to change highlight style using gesture manager (#4936) 5 years ago
Frans de Jonge c053e48526
[UX] Keyboard popup: add Y diacritics (#4935) 5 years ago
Frans de Jonge 04c39a8591
[UX] Keyboard popup: add R diacritics (IPA edition) (#4934) 5 years ago
Martín Fernández a69c09a275 [Android] do not log verbose blitbuffer messages on release builds, unless specified in settings.lua. Keep debug builds as they are (#4933) 5 years ago
Frans de Jonge 1299ae93a8
[UX] Keyboard popup: add P (#4932)
Only Greek pi seems to make sense here.
5 years ago
B. Wilson 558e71c936 Ignore all top-level files and dirs `kindle-*` and `*.sdr`
This subsumes a family of ignore rules that were fiddy and hard to
maintanin.
5 years ago
Frans de Jonge 8882cdf0c5 [chore] Show FileManager in case of showReaderCoroutine failure
Same as https://github.com/koreader/koreader/pull/2956.

Fixes https://github.com/koreader/koreader/issues/4928.
5 years ago
Frans de Jonge 39b48d56c0
[UX] Keyboard popup: add N and M diacritics (#4930) 5 years ago
NiLuJe 717db55566
Some more FL fixes when we start with the FL off (#4924)
* Don't override hw_intensity when we start with the FL off
* And add an insane workaround to make the first toggle behave sanely in this case.
* And also handle the sneakier case where the first toggle happening would not be manual, but triggered by a suspend/resume cycle.
5 years ago
NiLuJe 33946aa732
Some FL regression fixes after #4901 (#4921)
* Make hasNaturalLight* caps safe to call without a device check. (fix #4919)
Make it clear that it's expecting the NTX implementation, though.
* Don't turn the FL on on resume if it was off on suspend
* Make sure turnOn/turnOff actually updates hw_intensity in the process where it matters, instead of just in a short lived fork ;). (fix #4923)
5 years ago
Frans de Jonge 7e06db9c2a
[UX] Keyboard popup: add H and J (#4920) 5 years ago