Martín Fernández
84b06d2824
bump luajit-launcher
2019-08-15 15:28:28 +02:00
Frans de Jonge
0b8d15416a
[Android] Bump luajit-launcher for big refactor with better logging ( #5201 )
...
https://github.com/koreader/android-luajit-launcher/pull/161
2019-08-13 11:52:09 +02:00
B YI
53b77e3ae4
[shell] Avoid hard-coded path ( #5197 )
...
Although the current hard-coded paths work on debian, they may fail on many other distros. Other distros may pack koreader based on the released deb file. I personally have problem using current script on nixos, as it does not use the paths `/bin/bash` and `/usr/lib/`.
2019-08-11 21:30:35 +02:00
Martín Fernández
cf7aada82b
android: fix little delay on touch events
2019-08-03 04:22:14 +02:00
Martín Fernández
10456169e5
Android: ignore touchscreen by user request (using a hardware key) ( #5164 )
...
* android: ignore touchscreen by user request (using a hardware key)
2019-08-03 01:02:50 +02:00
Martín Fernández
91b2faae6a
android: add an option to ignore volume keys or use them to turn pages
2019-08-01 19:05:23 +02:00
NiLuJe
e9eca55d90
Minor auto_restore_wifi tweaks ( #5143 )
...
* Try to make sure restoreWifiAsync eventually sends a NetworkConnected
event...
re: #5109
* Take a page from @shermp's book, and make sure wpa_supplicant managed to
connect to the AP before acquiring an IP.
Tear down WiFi modules in case of failure.
c.f., https://github.com/shermp/Kobo-UNCaGED/pull/21
* Don't let restore-wifi-async.sh enable WiFi behind our back when we're
killing it to start Nickel...
* Don't even call ping if there's no default gw
2019-07-31 01:00:51 +02:00
Martín Fernández
2da0e54b7a
bump android-luajit-launcher
2019-07-26 23:16:23 +02:00
NiLuJe
327933d12f
Make the KUAL extension autonomous on Kindle ( #5112 )
...
* Sever its dependency on various things from KOReader's own directory.
2019-07-09 19:38:32 +02:00
Frans de Jonge
dec5a17a25
Bump Android ( #5111 )
...
Contains https://github.com/koreader/android-luajit-launcher/pull/156
For https://github.com/koreader/koreader/pull/5108
2019-07-08 14:19:09 +02:00
Martín Fernández
dca24e0ac5
patch.lua is not needed for screen height workarounds, but can be useful as it is the only file that allow us to change KOReader behaviour on Android without rebuilding the application
2019-07-06 17:09:18 +02:00
Frans de Jonge
a3356483ba
[Android] Bump luajit-launcher ( #5105 )
...
Contains build eink-test for supported abis only https://github.com/koreader/android-luajit-launcher/pull/154
Should hopefully fix the build in our "minimal" Android Docker image.
2019-07-01 21:40:00 +02:00
Martín Fernández
64cc7e0827
[Android] update ndk/sdk paths on demand, bump sdk tools.. ( #5103 )
2019-07-01 09:01:15 +02:00
Martín Fernández
bcac5b845b
switch from ant to gradle, ( #5096 )
...
add support for runtime permissions on api23+
add support for devices with a notch on api28+
fix some potential memory leaks
do not check luajit-launcher shell scripts
2019-06-29 19:56:14 +02:00
Martín Fernández
c60d672b04
bump base & luajit-launcher: workaround for buggy firmwares and more
2019-06-13 22:16:58 +02:00
Frans de Jonge
3850fcc011
[Android] Add full support for eink refreshes on compatible devices(ntx) ( #5068 )
...
Tested on Tolino Vision 2, Tolino Shine 3 and Nook Glowlight 3. It should work on other Freescale/NTX devices too. Thanks to @pazos.
See https://github.com/koreader/koreader-base/pull/920 and https://github.com/koreader/android-luajit-launcher/pull/146
Fixes #3517 .
2019-06-10 15:26:41 +02:00
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
2019-05-01 21:02:50 +02:00
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
2019-04-22 21:49:04 +02:00
Frans de Jonge
f38918a6f2
[Ubuntu Touch] Strip OTA update code ( #4962 )
...
It distracts the developers. ;-)
2019-04-22 15:48:40 +02:00
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…
2019-04-22 10:16:59 +02:00
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
2019-04-20 14:28:34 +02:00
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 )
2019-04-17 20:04:07 +02:00
Martín Fernández
dde301e765
[Android] use the same tag for all logs ( #4862 )
2019-04-01 15:48:10 +02:00
NiLuJe
b72a2000b1
A few minor fixes after #4847 ( #4850 )
...
* Add a toggle to disable the C blitter in the Dev menu (depends on https://github.com/koreader/koreader-base/pull/882 ) (never shown if the JIT is disabled, grayed out if the C blitter is not installed)
* Fix a few sizeUtf8Text call sites that were doing a nil check in order to account for the new return type.
* Tweak statusbar handling to avoid spurious sizeUtf8Text warnings when it's hidden, and unify its behavior between being hidden via toggle, and hidden on book open (at least when all-at-once is not enabled).
* c.f., https://github.com/koreader/koreader-base/pull/882 (Android, PB, RGB32 & Legacy Kindle regression fixes).
2019-03-29 20:12:09 +01:00
NiLuJe
7210fb478d
Faster blitting @ BB8/BBRGB32 when no processing is needed ( #4847 )
...
* Pickup the eponymous blitting performance tweaks from koreader/koreader-base#878
* Cleanup BitOpts usage (require & cache)
* Unify oddness checks (MOD -> AND)
* Enforce the native Portrait orientation on Kobo (except @ 16bpp, i.e., KSM w/ 8bpp swap disabled), to allow for faster blitting when unrotted.
* Switch CRe BB to 32BPP on color screens
* Minor cleanups
2019-03-27 22:50:44 +01:00
Frans de Jonge
2f65fb94ec
[Android, UX] Add Device:openLink() implementation ( #4824 )
...
Fixes https://github.com/koreader/koreader/issues/4821
Same as https://github.com/koreader/koreader/pull/4822
Thanks to @pazos who implemented the Android backend, see https://github.com/koreader/android-luajit-launcher/pull/133
2019-03-20 17:28:19 +01:00
Martín Fernández
bc9b43aa64
[Android] add support for likebook mars/muses ( #4818 )
2019-03-19 15:49:27 +01:00
NiLuJe
90df2f1997
Fix fb rotation on the Forma w/ KSM ( #4779 )
...
* Enforce Portrait rotation on the Forma *everywhere*, KSM included.
KSM is currently emulating a bogus rotation, which causes issues with
FBInk, but also happens to be insidiously quirky in weird corner-cases.
2019-03-13 19:24:30 +01:00
NiLuJe
7c2df53808
Update FBInk ( #4765 )
...
* Add a bit of logging before fbdepth calls, to make the progression
easier to grasp.
* Bump base (pickup FBInk update)
2019-03-10 00:59:49 +01:00
Frans de Jonge
b1075fba60
Bump luajit-launcher for 7z 19.00 ( #4742 )
...
https://github.com/koreader/android-luajit-launcher/pull/128
2019-03-05 21:53:28 +01:00
Martín Fernández
b1e2123a2c
bump android-luajit-launcher: ignore intents for schemes other than file
2019-03-05 20:46:47 +01:00
NiLuJe
bb3f49a566
[feat, Kobo] On Kobo, drop fb to 8bpp on startup ( #4637 )
...
* The Great 8bpp Experiment
Swap to 8bpp on Kobo, because we're 'effing grayscale, for pete's sake!
* Always swap to 8bpp, no matter the launch method.
Because it turned out that, even when restarting Nickel, we had to
restore the expected bitdepth ourselves, because pickel/Nickel didn't do
the job completely.
(I'm going to guess the grayscale flag wasn't getting flipped properly).
* Dither every non-transparent icon to the eInk palette
* Make sure hasBGRFrameBuffer is only enabled when the Kobo fb actually is
@ 32bpp...
* Re-process badly grayscaled icons
* And re-grayscale that one w/ gamma correction so the squares show up
better.
* Allow the fbdepth switch to be disabled (in Developer settings).
Also, allow setting debug mode that way.
Also, forcibly disable verbose logging when disabling debug.
* Update setting name to piggyback on the existing check in reader.lua
* Update icons postprocessing info
2019-03-03 12:31:55 +01:00
Frans de Jonge
42346d8197
[Android] Bump luajit-launcher for build flavors ( #4719 )
...
See https://github.com/koreader/android-luajit-launcher/pull/126
2019-03-03 11:05:22 +01:00
Martín Fernández
97c6c1244f
add support for likebook mimas e-ink updates ( #4686 )
2019-03-01 08:36:10 +01:00
Frans de Jonge
76028513ea
[Android] Bump luajit-launcher for basic download & notification support ( #4647 )
...
https://github.com/koreader/android-luajit-launcher/pull/122
For https://github.com/koreader/koreader/pull/4639
2019-02-23 14:24:08 +01:00
Frans de Jonge
365a5ad876
[chore] Deprecate Android OTA code ( #4636 )
...
Fixes #4632 .
2019-02-22 12:02:26 +01:00
Frans de Jonge
388871a2c3
[fix, Android] Bump luajit-launcher to unbreak fullscreen toggle in api14-15 ( #4619 )
...
* add support for older energy ereaders https://github.com/koreader/android-luajit-launcher/pull/116
* README: slight tweaks https://github.com/koreader/android-luajit-launcher/pull/117
* [chore] Fix README codacy issues https://github.com/koreader/android-luajit-launcher/pull/118
* fix codacy issues, part one: unused imports and minor fixes https://github.com/koreader/android-luajit-launcher/pull/120
* unbreak fullscreen toggle in api14-15 https://github.com/koreader/android-luajit-launcher/pull/119
2019-02-19 08:01:59 +01:00
NiLuJe
b70eaa7322
Warn that the restart may fail...
...
(Hopefully, only when there are actual changes to the startup script,
which should be a rare occurence).
2019-02-18 15:59:06 +01:00
NiLuJe
a3f8e49a0d
Use a temporary copy of our tar binary during OTA updating, to avoid the
...
potential for a SIGBUS error...
Fix #4602
2019-02-18 15:59:06 +01:00
NiLuJe
3bc29aa618
Re-order tar CLI args to be closer to other platforms
2019-02-18 15:59:06 +01:00
Martín Fernández
48013dc70d
move dicts from external storage to internal partition,
...
do this after usbms seasons
2019-02-16 17:32:43 +01:00
Martín Fernández
301aa580cc
cervantes: add usb storage on devices w/updated 3rd party tools
2019-02-16 17:32:43 +01:00
Martín Fernández
62f25351b4
use fractional sleep as a fallback for devices where usleep isn't present
2019-02-16 17:32:43 +01:00
Frans de Jonge
35e5c24cb8
[Android] Bump luajit-launcher for os.execute quote problem half-fix ( #4598 )
...
There is at least one very obvious issue remaining (i.e., one quotes arguments to enclose spaces) but it's not caused by this PR.
Fixes #4586 .
2019-02-16 15:24:26 +01:00
Frans de Jonge
8026ffbddb
[Android, fix] Fullscreen, bigger aspect ratio ( #4589 )
...
Fixes #4584
Includes https://github.com/koreader/android-luajit-launcher/pull/113
2019-02-14 15:02:46 +01:00
Frans de Jonge
0b2f586d28
[Android] Bump luajit-launcher for Boyue Likebook Plus ( #4573 )
...
Includes https://github.com/koreader/android-luajit-launcher/pull/112
References https://github.com/koreader/koreader/issues/4551#issuecomment-461743510
Also log time elapsed installing
2019-02-09 18:10:44 +01:00
Frans de Jonge
154c1cd1c4
[Android] Miscellaneous fixes: refactor & Prime HD support ( #4559 )
...
* Refactor https://github.com/koreader/android-luajit-launcher/pull/104
* fix support for inkbook prime hd https://github.com/koreader/android-luajit-launcher/pull/111
References https://github.com/koreader/koreader/issues/4551#issuecomment-461526228
2019-02-08 12:17:25 +01:00
Frans de Jonge
5d21990b0e
[Android] Add E Ink support for Inkbook Prime HD & exit after crash ( #4552 )
...
* add eink support for Inkbook Prime HD (https://github.com/koreader/android-luajit-launcher/pull/110 ) @pazos (references #4551 )
* [fix] Exit after crashing to avoid unknown states (https://github.com/koreader/android-luajit-launcher/pull/109 ) @pazos
2019-02-05 21:01:22 +01:00
Frans de Jonge
81a2423982
[Android, feat] Set APK version to a sane automated value ( #4546 )
...
Includes "set android versionCode and android versionName at buildtime" (<https://github.com/koreader/android-luajit-launcher/pull/106 >)
* versionCode uses the number of Git commits, because Google doesn't like values larger than `2100000000`
* versionName uses our existing version string
References #2040 .
2019-02-03 20:19:52 +01:00
Frans de Jonge
2709fb2432
[chore] Bump third-party libraries ( #4545 )
...
* LuaJIT 20190110 in luajit-launcher & base
* HB v2.3.1
* glib 2.58.3
* FBInk v1.10.1
https://github.com/koreader/koreader-base/pull/801
5a17ca7521
2019-02-03 16:55:42 +01:00