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 .
5 years ago
Frans de Jonge
8026ffbddb
[Android, fix] Fullscreen, bigger aspect ratio ( #4589 )
...
Fixes #4584
Includes https://github.com/koreader/android-luajit-launcher/pull/113
5 years ago
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
5 years ago
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
5 years ago
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
5 years ago
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 .
5 years ago
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
5 years ago
Frans de Jonge
b0570460cb
[fix, Android] Bump luajit-launcher to keep all the binaries in ./bin ( #4535 )
...
I forgot to push this local change in #4532 .
* [fix] Keep all the binaries in ./bin https://github.com/koreader/android-luajit-launcher/pull/102
5 years ago
Frans de Jonge
b68cdc202d
[Android] Add release/debug APK switch ( #4532 )
...
References #2040 .
Includes https://github.com/koreader/android-luajit-launcher/pull/99
5 years ago
Frans de Jonge
4874751020
[Android] Bump base & luajit-launcher for basic E Ink refresh support ( #4529 )
...
Prerequisite for #4517 .
* Add basic support for RK30xx eink devices https://github.com/koreader/android-luajit-launcher/pull/96
* Add basic support for full eink updates https://github.com/koreader/koreader-base/pull/798
5 years ago
Frans de Jonge
e592468f38
[Android] Bump luajit-launcher ( #4500 )
...
* Disable wakelocks by default (https://github.com/koreader/android-luajit-launcher/pull/95 )
5 years ago
Frans de Jonge
6ec3143f2f
[fix, Android] Bump luajit-launcher to silence warning on Android 9 ( #4494 )
...
* https://github.com/koreader/android-luajit-launcher/pull/93
Fixes #4348 .
5 years ago
Frans de Jonge
166e3f9421
[Android, fix] Bump luajit-launcher ( #4491 )
...
For https://github.com/koreader/android-luajit-launcher/pull/92
Cf. #4478 , #4489 .
5 years ago
Frans de Jonge
81e160692d
[Android] Bump luajit-launcher for #4478 ( #4489 )
5 years ago
Martín Fernández
2093bf6d94
use getIntent from luajit-launcher
6 years ago
Martín Fernández
2009ffa12f
android: keep screen awake toggle (using wakelocks) & bump luajit-launcher
6 years ago
Martín Fernández
dbea29b139
do not print intent file path if file == nil
6 years ago
Frans de Jonge
db404537bf
[fix, Android] Android 2.3 getScreenSize crash ( #4356 )
...
* [fix] Android 2.3 getSceenSize https://github.com/koreader/android-luajit-launcher/pull/87
Also includes:
* 7z: update to 18.05 https://github.com/koreader/android-luajit-launcher/pull/88
If nothing else, from 18.03:
> The speed for single-thread LZMA/LZMA2 decoding was increased by 30% in x64 version and by 3% in x86 version.
6 years ago
NiLuJe
c14eae335a
Bump base & Android launcher ( #4335 )
...
* Bump luajit-launcher (luajit)
* Bump base (libjpeg-turbo 2.0.1)
6 years ago
NiLuJe
5871132c25
UI Behavior tweaks ( #3983 )
...
* Switch all initial highlights to "fast" update
i.e., everything that does an invert
Plus a few other things that refresh small UI elements onTap
Re #3130
* Tweak refreshtype for a number of widgets:
* Fix iconbutton dimen
* Make touchmenu flash on close & initial menu popup. Full-screen on close.
* Use flashing updates when opening/closing dictionary popup. Full-screen on close.
* Switch FileManager to partial.
It's mostly text, and we want flash promotion there.
* Make configdialog & menu flash on exit
* Make FLWidget flash on close
* virtualkeyboard: flash on layout change & popup.
* Potentially not that great workaround to ensure we actually see the
highlights in the FM's chevrons
* Flash when closing BookStatus Widget
* Optimize away a quirk of the dual "fast" update in touchmenu
* Promote updates to flashing slightly more agressively.
* Document what each refreshtype actually does.
With a few guidelines on their optimal usecases.
* Switch remaining scheduleIn(0.0) to nextTick()
* Tighter scheduling timers
Shaving a hundred ms off UI callbacks...
* Cache FFI C Library namespace
* Ask MuPDF to convert pixmaps to BGR on Kobo
Fix #3949
* Mention koxtoolchain in the README
re #3972
* Kindle: Handle *all* fonts via EXT_FONT_DIR instead of bind mounts insanity
* Make black flashes in UI elements user-configurable
(All or nothing).
* Jot down some random KOA2 sysfs path
6 years ago
Frans de Jonge
975a5834d7
[Android] Update icon to new logo ( #3882 )
...
Includes
https://github.com/koreader/android-luajit-launcher/pull/83
References
koreader/koreader-icons#1
koreader/koreader#3881
koreader/koreader#3858
koreader/koreader#2000
6 years ago
Frans de Jonge
6c3ace9940
[Android] Makefile: only use VERSION, not REVISION ( #3811 )
...
Fixes always reinstalling resource package.
See https://github.com/koreader/koreader/pull/3723#issuecomment-376508917
6 years ago
Frans de Jonge
4c1c8b8c2e
[Android] bump for setFullscreen() without delay as well ( #3721 )
6 years ago
Frans de Jonge
aadb81eb48
[feat] Add Android clipboard definition ( #3479 )
...
References https://github.com/koreader/koreader/issues/3441
6 years ago
Frans de Jonge
e928276d73
[Android] Update luajit-launcher 7z to 18.00 ( #3617 )
...
See https://github.com/koreader/android-luajit-launcher/pull/79
6 years ago
Frans de Jonge
51f2fa1845
[fix, Android] android-luajit-launcher: update 7z URL/commit hash ( #3604 )
...
Fixes Android nightly builds, see https://github.com/koreader/koreader/issues/3100#issuecomment-357499189
7 years ago
Huang Xin
a44b39fda6
[build] Darwin build of Android port ( #3520 )
7 years ago
poire-z
af48c7c2b7
Android: Change screenOrientation to sensorPortrait ( #3474 )
7 years ago
Frans de Jonge
575fc82081
Bump android-luajit-launcher
7 years ago
Frans de Jonge
8b36566c6a
[Android] Bump luajit-launcher (more lib loading debug info) ( #3401 )
7 years ago
Frans de Jonge
e0bc0a1649
Bump android-luajit-launcher (contains x86 nightly build fix) ( #3384 )
7 years ago
Huang Xin
c22b8393d7
[android] fix hide nav bar on activity create ( #3357 )
7 years ago
Frans de Jonge
b4bb32254a
kodev: Add $ANDROID_ARCH to enable x86 build ( #3353 )
...
You'll still have to call it with `ANDROID_ARCH=x86 ./kodev build/release/run android`.
Don't forget to `./mk-luajit.sh clean` in luajit-launcher when changing architectures.
* Bump android-luajit-launcher
This includes the fix for Android 8. Fixes #3126 .
* Bump base
7 years ago
Frans de Jonge
ac7119c433
[fix] Android screen blackout on first light change ( #3303 )
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
Huang Xin
a4e1a3ba5e
reflect changes in koreader/android-luajit-launcher#62 ( #3254 )
7 years ago
Frans de Jonge
87cf2864d9
Bump Android stuff ( #3251 )
...
https://github.com/koreader/koreader-base/pull/516
https://github.com/koreader/android-luajit-launcher/pull/62
7 years ago
Frans de Jonge
4360837e3b
[Android] Update to NDK 15 ( #3233 )
...
Also improve SDK installation for ease of setting up development system.
This also puts in place most of the missing pieces to finish the intent in #3064 .
7 years ago
Frans de Jonge
110c882bba
Bump android-luajit-launcher (fixes nightly build) ( #3229 )
7 years ago
Frans de Jonge
70e6aa9093
Bump android-luajit-launcher ( #3227 )
...
Part of the spirit of #3064 . Making it easier to test different things.
7 years ago
Frans de Jonge
abaa699080
Bump android-luajit-launcher
...
* Sync LuaJIT with koreader-base at v2.1.0-beta2 https://github.com/koreader/android-luajit-launcher/pull/58
7 years ago
Frans de Jonge
fd7382514e
Bump luajit-launcher
...
Fixes #3038
Also includes "Fullscreen status bar height" https://github.com/koreader/android-luajit-launcher/pull/56
7 years ago
Frans de Jonge
f95c52f680
Bump luajit-launcher
...
Fixes #3006
7 years ago
Frans de Jonge
6870bc2996
Bump luajit-launcher
...
Includes
* Android fullscreen mode (fa9dd61)
* add lib file name without suffix as fallback (c139b54)
7 years ago
Frans de Jonge
e8c01274f4
Travis: enforce shellscript coding style
...
* enormous coding style update
* update luajit-launcher
All changes are formatting only except for:
* new more correct pushd/popd style
* keeps useful indentation
* prevents execution of commands when pushd failed (cf. https://github.com/koalaman/shellcheck/wiki/SC2164 and https://github.com/koalaman/shellcheck/issues/863 )
```
pushd some_dir && {
command1
command2
} || exit
popd
```
7 years ago
Frans de Jonge
e5bcdee85e
Add ShellCheck and shfmt shell code quality analysis ( #2712 )
...
* Add ShellCheck and shfmt shell code quality analysis
* kobo/koreader.sh: remove useless $PREFIX
* kobo/koreader.sh: fix rotation issue caused by #2731
* Travis: speed up (caching Luarocks should shave a minute off install process)
7 years ago
Qingping Hou
3d79d44381
build: fix android and pocketbook builds
8 years ago
Qingping Hou
cc4e510194
bump koreader base for android build tweaks
8 years ago
chrox
687b6df4f2
add support of screen brightness settings for Android
...
and use standrad Android API to query battery level and charging status
This should fix #2025 , fix #1759 and fix #1415 .
8 years ago
chrox
f3e0d44cc4
disable jit on some modules on android
...
to make koreader on Android more stable
and with these opt params:
```
require("jit.opt").start("sizemcode=64","maxmcode=64", "hotloop=10000")
```
The strategy here is that we only use precious mcode memory (jitting)
on deep loops like the several blitting methods in blitbuffer.lua and
the pixel-copying methods in mupdf.lua. So that a small amount of mcode
memory (64KB) allocated when koreader is launched in the android.lua
is enough for the program and it won't need to jit other parts of lua
code and thus won't allocate mcode memory any more which by our
observation will be harder and harder as we run koreader.
8 years ago