Frans de Jonge
3e19ff81ce
[fix] kodev: grep filter debug/no-debug dir ( #3506 )
...
Fixes https://github.com/koreader/koreader/issues/3504 .
7 years ago
Frans de Jonge
d3a8338c76
kodev: added setup_env to run android
...
Otherwise it didn't pick up on the -debug suffix.
7 years ago
Frans de Jonge
9000ed1bd3
[build] Add -debug suffix to KODEBUG builds ( #3439 )
7 years ago
Frans de Jonge
97aee14adf
kodev: add assert_ret_zero after make android-ndk ( #3438 )
...
Fixes #3408 .
7 years ago
Frans de Jonge
9f24b04362
kodev: add debug flags ( #3379 )
...
* `--gdb=X`
* `--valgrind=X`
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
a394e644b5
Add gettext_spec stub ( #3343 )
7 years ago
Frans de Jonge
7eefff284d
[fix] kodev: default NDKABI=14 if not set for NDK 15 standalone toolkit
7 years ago
Frans de Jonge
59cfde8558
kodev: add run android convenience shortcut ( #3297 )
7 years ago
Frans de Jonge
3a9651702f
kodev: run with catchsegv by default ( #3283 )
...
See https://github.com/koreader/koreader/issues/2878#issuecomment-326796777
Also fix `./kodev run -h` as alias for `--help` as it's always overwritten by `-h` in the sense of the much more important `--screen-height`.
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
24948e9c4f
kodev: add --graph option for rudimentary memory use tracking ( #3209 )
...
Usage:
`./kodev run --graph`
7 years ago
Frans de Jonge
e566a7ffc6
kodev: add hidpi shortcut and dpi argument ( #3208 )
...
* [doc] also generate base ffi doc
* kodev: add hidpi shortcut and dpi argument
* Bump base
7 years ago
Marcin Mielniczuk
128d60a6d3
Fall back to ANDROID_NDK if NDK not set ( #3064 )
...
* Fall back to ANDROID_NDK if NDK not set
7 years ago
Hzj_jie
30378eb2a8
Add restart koreader function and ensure FlushSettings event can be delivered to all widgets ( #2772 )
8 years ago
Qingping Hou
b33c9268d2
build(fix): fail release command by default if make po failed
8 years ago
Frans de Jonge
b3a93d1456
Travis: update shfmt to v1.3.0 ( #2821 )
...
* Travis: update shfmt to v1.3.0
* better error message
* fix kodev problem & fix slightly broken formatting
8 years ago
Qingping Hou
76e427cbb4
kodev: add device simulation option for run command ( #2802 )
8 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
```
8 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)
8 years ago
Qingping Hou
7241575f42
kodev(feat): add cov command
8 years ago
Frans de Jonge
6d86118b53
kodev: correct "luarocks path bin" to "luarocks path --bin" and miscellaneous ShellCheck code quality issues
...
References #2613
8 years ago
Dimitrios Semitsoglou-Tsiapos
2ed6cf760d
Finish renaming `utils` to `tools`
...
Continues the work of 9afad43a3e
8 years ago
Qingping Hou
dae4a5a413
refactor: move bootstrap code into setupkoenv.lua
...
add ffi.load patch
add kodev prompt command
8 years ago
Qingping Hou
3de3fb9b14
kodev: error out on invalid test suit
8 years ago
Qingping Hou
ca14b32204
kodev: add transifex pull in release command
8 years ago
Alexandre Robert de Massy
74eeffb129
fixed script to support OSX bash 3.x
8 years ago
Qingping Hou
1b48059a2a
add more kindle targets
8 years ago
Qingping Hou
8ff9a916da
kodev(minor): style clean up & fixes
8 years ago
Qingping Hou
e41e489528
kodev(fix): update plugins before tests
8 years ago
Qingping Hou
ebc7055b43
chore: move kobo specific code into kobo/device.lua
8 years ago
Qingping Hou
ab9a86788f
dbg: prefix log with datetime
8 years ago
Qingping Hou
c127a33acc
kodev(feat): check for submodules in build command
8 years ago
Qingping Hou
82a3e0f9ad
automatically adjust ev time for kobo touch
8 years ago
Frans de Jonge
6e9208ac50
kodev code quality
9 years ago
Qingping Hou
ef4004e72b
test(fix): disable footer in readerlink_spec
9 years ago
Qingping Hou
eb71d29716
kodev(minor): fix arg test
9 years ago
Qingping Hou
c22a3747d8
fix all the tests
9 years ago
Qingping Hou
cc98ba7604
kodev: spawn subshell in activate command
9 years ago
Qingping Hou
3f2944ee84
kodev: add active command
9 years ago
Qingping Hou
9b989605fd
kodev(fix): support filename with spaces in run command
9 years ago
Qingping Hou
d208a7dbfa
kodev: add -w, -h options to run command
9 years ago
Qingping Hou
55fa046d49
android: set android log tag to KOReader
9 years ago
Qingping Hou
e52c74afcc
test: more uimanager scheduler test
9 years ago
Qingping Hou
32874b18c5
kodev: fix clean command for android
9 years ago
Qingping Hou
71184cfb73
kodev: add log command for android
9 years ago
Qingping Hou
8c01835458
fix: only show reader status at the end of the book
9 years ago
Qingping Hou
69f9ebd528
build: fix doc generation
...
also moved MD5 to koreader-base/ffi
9 years ago
Qingping Hou
042d94c3ef
kodev: add verbose build option
9 years ago
Qingping Hou
90a258daf1
kodev: add --tags option to test command
9 years ago
Qingping Hou
3c647ff244
minor: various luacheck fixes
9 years ago
Qingping Hou
12c6bd7121
test: fix readerbookmark unit test
9 years ago
Qingping Hou
af54d405eb
build: update help page for kodev
9 years ago
Qingping Hou
9fff21cbe7
kodev: add test command
9 years ago
Qingping Hou
c6a18c0b57
kodev: catch build error
9 years ago
Qingping Hou
b480145134
build: add kodev script
9 years ago