Commit Graph

71 Commits (011370882f3d6da5c8f59b9c90c006182918cfa2)

Author SHA1 Message Date
Frans de Jonge 32bbf17003
[Android] Update logcat command for kodev run android (#4516)
This filters out useless messages using the "intended" way (without
grep).
5 years ago
Martín Fernández 6de5927dc2 [build] Add support for Debian packages (#4434)
* Add support for Debian packages

* SDL: add device probe
5 years ago
Frans de Jonge fb1c3606d7
[fix, build] kodev: test for PB TC in $PATH (#4344)
Includes and depends on base bump with:

* [build, fix] Support PocketBook TC in path https://github.com/koreader/koreader-base/pull/765
6 years ago
Frans de Jonge 349485e240
[fix] Minor kodev shellscript issues (#4302)
Use `-z` instead of `! -n`.

See https://github.com/koalaman/shellcheck/wiki/SC2236
6 years ago
Martín Fernández 1e69fae7bc [feat] Add support for BQ/Fnac devices (#4294)
Adds support for devices found in https://blog.bq.com/es/bq-ereaders-developers-program/. Tested on BQ Cervantes 4 (last BQ device from 2017).

It adds a new touch input event handler (discussed in #4275) which should work on other single touch devices (ie: Kobo Touch, Mini, Glo, Aura HD) but wasn't tested.

Includes base bump with: [feat] Add BQ/Fnac device support (https://github.com/koreader/koreader-base/pull/745)
6 years ago
Frans de Jonge d1298ff8e5
[feat] Smaller version on annotated tag (#4295) 6 years ago
Qingping Hou e869b40625 fix(kodev): match clean command debug flag with build command 6 years ago
Matias N 94d8f2d397 Sony PRSTUX support (#4198)
* Sony PRSTUX support
6 years ago
NiLuJe e2a0929c51
Better KOA2 support (#4037)
* Better KOA2 support
    * Fix FL
    * Add physical pageturn keys
    * Add accelerometer support
* Possibly better NaturalLight handling on the Clara
* Fix WiFi module name used in some(?) Mk7 Kobos
* A bunch of kodev fixes
6 years ago
onde2rock c6c740d1da [build] Remove kindle5 target (#3902) 6 years ago
onde2rock 2e094f97c9 [chore] Remove kindle4 from legacy target (#3879)
Same hardware/software as kindle5, see https://github.com/koreader/koreader-base/pull/640#issuecomment-379886833
6 years ago
Frans de Jonge ab712f1a29
[feat] Build AppImage (#3850)
References #1417.
6 years ago
Frans de Jonge fb6dbf0428
[fix] kodev update $VERSION for `run android` (#3801)
As in 16061370f4, leftover from #3723.

Also replaced a few non-standard `which` by `command -v` as per new shellcheck rule.
See https://github.com/koalaman/shellcheck/wiki/SC2230
6 years ago
Frans de Jonge 430796ff30
[fix] kodev: add back KODEBUG_SUFFIX for kodev run android (#3719) 6 years ago
poire-z 6df0824474 kodev: two small fixes (#3575)
- kodev-run: fix use of $args
- kodev-build: build the emulator in debug mode, for consistency
with kodev-run
- kodev build: add --debug / --no-debug options
6 years ago
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) 7 years ago
Qingping Hou b33c9268d2 build(fix): fail release command by default if make po failed 7 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
7 years ago
Qingping Hou 76e427cbb4 kodev: add device simulation option for run command (#2802) 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 7241575f42 kodev(feat): add cov command 7 years ago
Frans de Jonge 6d86118b53 kodev: correct "luarocks path bin" to "luarocks path --bin" and miscellaneous ShellCheck code quality issues
References #2613
7 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 8 years ago