NiLuJe
14e7e270c3
Bump android/luajit-launcher ( #6661 )
...
(https://github.com/koreader/android-luajit-launcher/pull/251 )
2020-09-16 17:08:53 +02:00
Galunid
cc42265a67
Bump luajit-launcher ( #6595 )
...
Includes native frontlight for onyx nova 2 (koreader/android-luajit-launcher#248 )
2020-08-29 21:42:10 +02:00
zwim
66e8087c66
[android]: fix backlight toggle ( #6520 )
...
* check on startup if frontlight can be changed.
* Init fl_min if necessary not to use intensity==0
2020-08-25 14:42:39 +02:00
Martín Fdez
9037a1f4f2
bump luajit-launcher and remove frontlightwidget leftovers
2020-08-06 17:19:12 +02:00
zwim
a6763465b4
[Android]: Native light dialog ( #6426 )
...
* Adds support for Tolino Epos 2 warmth light
2020-08-02 22:27:49 +02:00
Martín Fernández
fa55152465
Handle all possible Android configuration changes without recreating the activity ( #6416 )
2020-07-22 15:26:53 +02:00
Frans de Jonge
a0e563858e
Bump base & luajit-launcher for new LuaJIT ( #6389 )
...
Also for Nia support, cf. <https://github.com/koreader/koreader-base/pull/1142 >.
2020-07-17 23:39:30 +02:00
Martín Fdez
7094519e1b
android: support for native surface rotation
2020-07-09 01:08:47 +02:00
Martín Fdez
8e61a8f285
disable runtime behaviour changes on fdroid
2020-06-24 12:49:14 +02:00
Martín Fernández
699ee3efc1
[Android] Migrate user directories after update ( #6287 )
...
I've played a bit with #6275 , to make the iterator available for non-power users too.
this PR automate user data migration (which happens once per update). If the folder `koreader/scripts.afterupdate` contains a file `migrate` then files will be copied to internal dir preserving their relative path. Thus user data **needs** to have the same hierarchy as internal directories.
Shell scripts will be find and run if the folder `koreader/scripts.afterupdate` exists and has no `migrate file`.
In the case of `koreader/scripts.always` there's no migration available, just shell scripts.
Digging a bit seems not possible to create new directories on app internal storage (it just crashes on the emulator since API25). So very fancy extensions are not supported, but it is ok to override files and create new files if dir already exists.
Tested with:
```find scripts.afterupdate/
scripts.afterupdate/
scripts.afterupdate/data
scripts.afterupdate/data/hyph
scripts.afterupdate/data/hyph/Roman.pattern
scripts.afterupdate/data/example.css
scripts.afterupdate/migrate
```
Results:
```
06-20 16:16:33.590 3584 3597 I KOReader: after-update: running migration
06-20 16:16:33.596 3584 3597 I KOReader: command cp /storage/emulated/0/koreader/scripts.afterupdate/data/hyph/Roman.pattern /data/user/0/org.koreader.launcher/files/data/hyph/Roman.pattern returned 0
06-20 16:16:33.600 3584 3597 I KOReader: command cp /storage/emulated/0/koreader/scripts.afterupdate/data/example.css /data/user/0/org.koreader.launcher/files/data/example.css returned 0
06-20 16:16:33.604 3584 3597 I KOReader: command rm /data/user/0/org.koreader.launcher/files/afterupdate.marker returned 0
```
2020-06-20 18:06:24 +02:00
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