zwim
488721e62e
[Android] Add support for custom startup scripts ( #6275 )
...
Add the possibility to run *.sh scripts:
After an update of koreader all *.sh scripts in /sdcard/koreader/scripts.afterupdate
are executed.
On every start of koreader run all *.sh scripts in /sdcard/koreader/scripts.always
2020-06-19 21:23:47 +02:00
Martín Fernández
765b35a7bf
android: add a toggle to ignore back button events ( #6269 )
...
Requires koreader/android-luajit-launcher#233
Requires koreader/koreader-base#1117
It is a workaround for #6263 but can be useful on some devices with erratic back key behaviour too (yep, Onyx)
2020-06-15 07:43:37 +02:00
Martín Fdez
835f9f62c6
fix ANRs in Kosync plugin login/register
2020-06-13 19:05:10 +02:00
NiLuJe
1f994f8ede
Floor dimension computations (mul/div). ( #6264 )
...
* floor most every dimension computations involving MUL or DIV
Should avoid passing nonsensical floating point coordinates/dimensions
to the UI code.
* Update base
* https://github.com/koreader/koreader-base/pull/1113
* https://github.com/koreader/koreader-base/pull/1114
* https://github.com/koreader/koreader-base/pull/1115
* Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/230
https://github.com/koreader/android-luajit-launcher/pull/231
2020-06-13 01:56:36 +02:00
Martín Fernández
9a789335c3
mobiscribe: add full screen update support ( #6051 )
2020-04-14 20:27:58 +02:00
Martín Fernández
e7b191ca6a
android: same version code for all archs ( #5972 )
...
+ new Boyue model
2020-03-16 22:57:07 +01:00
Martín Fernández
69f4144dc1
[Android] Prevent previous book reopening in some situations ( #5880 )
...
Fixes #5877 .
2020-02-19 08:50:51 +01:00
Frans de Jonge
5f10e8d6df
Bump luajit-launcher for Package refactor + LuaJIT bump ( #5868 )
...
https://github.com/koreader/android-luajit-launcher/pull/224
2020-02-15 21:57:26 +01:00
Martín Fernández
3856f04445
android: switch to connectivity manager
...
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2020-02-07 16:54:01 +01:00
NiLuJe
9a20fb5836
Switch to zsync2 ( #5810 )
...
* Switch to zsync2
Requires https://github.com/koreader/koreader-base/pull/1036
* Simplify FBInk syntax
The weird-ass workarounds for -s's subopts handling are
no longer needed w/ FBInk >= 1.21.0
* Update base
* Re-enable HW dithering on Kindle
(https://github.com/koreader/koreader-base/pull/1034 )
* Update SQLite to 3.31.1
(https://github.com/koreader/koreader-base/pull/1035 )
* reMarkable port
(https://github.com/koreader/koreader-base/pull/1023 )
* zsync2
(https://github.com/koreader/koreader-base/pull/1036 )
* zsync2 means we can finally have nice things
(OpenStack backed storage)
* We also no longer need that insane workaround on ARM
* And comment out @chrox's mirror, which appears to be down.
* Warn that a malformed URL will horribly blow up in fun and interesting
ways
2020-02-04 03:14:23 +01:00
Martín Fdez
f60b4c36ce
fix #5781
2020-01-22 01:19:41 +01:00
Martín Fernández
b111ccc2b8
bump android, fixes ntx landscape tearing, thanks to @char11
2020-01-16 00:22:44 +01:00
Martín Fernández
081825285f
bump luajit-launcher
2020-01-05 16:21:45 +01:00
Martín Fernández
51ed411ee4
android: OTA fallback using the browser
...
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2020-01-04 21:08:17 +01:00
Martín Fernández
419b42cf2c
android: call EPD test from within KOReader ( #5737 )
...
* android: call EPD test from within KOReader
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2020-01-04 20:53:49 +01:00
Martín Fernández
9c120c6d7a
bump luajit-launcher
2020-01-02 01:28:20 +01:00
Martín Fernández
7fb2db8f02
android: fix app crash when a bluetooth keyboard is connected/disconnected, ( #5702 )
...
use the freescale surfaceview on Crema devices
add support for nook 510
2019-12-22 20:08:20 +01:00
Martín Fernández
c6f553a1bd
bump luajit launcher
2019-12-12 21:17:03 +01:00
Martín Fernández
bd793d1ddd
bump android-luajit-launcher
2019-12-07 17:22:00 +01:00
Frans de Jonge
0cbceca98a
Bump luajit-launcher ( #5637 )
...
For eink: more devices https://github.com/koreader/android-luajit-launcher/pull/197
2019-11-24 21:03:31 +01:00
Martín Fernández
87334801ea
android: fix ko paths when primary storage is a SD card
2019-10-14 09:11:58 +02:00
Martín Fernández
5530a36bb1
android: fix clipboard copy/paste
2019-10-10 01:13:40 +02:00
Martín Fernández
e131443834
bump android-luajit-launcher: migration to kotlin and more...
...
splashscreen with ko icon
e-ink friendly spinner while uncompressing assets
reworked timeout settings, explicit WRITE_SETTINGS request
...
2019-10-08 18:22:56 +02:00
Frans de Jonge
4da512ce4e
Bump luajit-luancher for overwrite files, show resume at the end of extraction ( #5357 )
...
https://github.com/koreader/android-luajit-launcher/pull/182
Fixes <https://github.com/koreader/koreader/issues/5355 >.
2019-09-10 22:20:29 +02:00
Frans de Jonge
3fa4087fe2
[fix, Android] Set executable bit ( #5349 )
...
Partially reverts d2536d8b7e
.
Fixes <https://github.com/koreader/koreader/issues/5347 >.
2019-09-09 17:17:07 +02:00
Robert
ae50569055
Frontlight - Add checkbox use system settings ( #5307 )
...
See: https://github.com/koreader/koreader/issues/5205#issuecomment-526935357
Devices with `hasLightLevelFallback = true` (for now Android) has extra checkbutton `Use system settings`. Default unchecked.
2019-09-04 20:52:24 +02:00
Martín Fernández
621a84c1d3
bump luajit-launcher
2019-08-30 16:42:57 +02:00
Martín Fernández
d2536d8b7e
android: fix some warnings on launcher script,
...
no need to chmod binaries as they are uncompressed on each update,
A becomes android
2019-08-30 16:42:57 +02:00
Frans de Jonge
fd5fe7dfef
[doc, fix, Android] Bump luajit-launcher ( #5254 )
...
Includes:
* workaround for Tolinos on FW10 (<https://github.com/koreader/android-luajit-launcher/pull/172 >)
* [doc] Android module documentation stub (<https://github.com/koreader/android-luajit-launcher/pull/173 >)
2019-08-24 11:32:18 +02:00
Martín Fernández
c6862780a1
bump luajit-launcher
2019-08-20 16:26:39 +02:00
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
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
Martín Fernández
2da0e54b7a
bump android-luajit-launcher
2019-07-26 23:16:23 +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
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
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
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