Martín Fernández
6de5927dc2
[build] Add support for Debian packages ( #4434 )
...
* Add support for Debian packages
* SDL: add device probe
2019-01-03 18:21:35 +01:00
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
2018-11-18 18:26:38 +01:00
Frans de Jonge
349485e240
[fix] Minor kodev shellscript issues ( #4302 )
...
Use `-z` instead of `! -n`.
See https://github.com/koalaman/shellcheck/wiki/SC2236
2018-11-02 11:42:34 +01:00
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 )
2018-10-31 23:48:36 +01:00
Frans de Jonge
d1298ff8e5
[feat] Smaller version on annotated tag ( #4295 )
2018-10-31 23:34:11 +01:00
Qingping Hou
e869b40625
fix(kodev): match clean command debug flag with build command
2018-10-14 09:14:35 -07:00
Matias N
94d8f2d397
Sony PRSTUX support ( #4198 )
...
* Sony PRSTUX support
2018-09-08 01:37:04 +02:00
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
2018-07-01 17:35:12 +02:00
onde2rock
c6c740d1da
[build] Remove kindle5 target ( #3902 )
2018-04-22 15:22:11 +02:00
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
2018-04-15 14:56:45 +02:00
Frans de Jonge
ab712f1a29
[feat] Build AppImage ( #3850 )
...
References #1417 .
2018-04-08 22:39:52 +02:00
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
2018-03-26 13:08:45 +02:00
Frans de Jonge
430796ff30
[fix] kodev: add back KODEBUG_SUFFIX for kodev run android ( #3719 )
2018-03-05 11:39:31 +01:00
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
2018-01-04 18:35:02 +01:00
Frans de Jonge
3e19ff81ce
[fix] kodev: grep filter debug/no-debug dir ( #3506 )
...
Fixes https://github.com/koreader/koreader/issues/3504 .
2017-11-21 09:49:24 +01:00
Frans de Jonge
d3a8338c76
kodev: added setup_env to run android
...
Otherwise it didn't pick up on the -debug suffix.
2017-10-28 12:07:44 +02:00
Frans de Jonge
9000ed1bd3
[build] Add -debug suffix to KODEBUG builds ( #3439 )
2017-10-27 20:36:36 +02:00
Frans de Jonge
97aee14adf
kodev: add assert_ret_zero after make android-ndk ( #3438 )
...
Fixes #3408 .
2017-10-27 17:13:53 +02:00
Frans de Jonge
9f24b04362
kodev: add debug flags ( #3379 )
...
* `--gdb=X`
* `--valgrind=X`
2017-10-20 13:59:53 +00:00
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
2017-10-13 21:43:58 +02:00
Frans de Jonge
a394e644b5
Add gettext_spec stub ( #3343 )
2017-10-11 14:22:11 +02:00
Frans de Jonge
7eefff284d
[fix] kodev: default NDKABI=14 if not set for NDK 15 standalone toolkit
2017-10-04 12:49:56 +02:00
Frans de Jonge
59cfde8558
kodev: add run android convenience shortcut ( #3297 )
2017-10-04 11:46:13 +02:00
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`.
2017-10-01 17:13:47 +02:00
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 .
2017-09-17 16:04:43 +02:00
Frans de Jonge
24948e9c4f
kodev: add --graph option for rudimentary memory use tracking ( #3209 )
...
Usage:
`./kodev run --graph`
2017-09-16 17:01:31 +02:00
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
2017-09-14 13:19:20 +02:00
Marcin Mielniczuk
128d60a6d3
Fall back to ANDROID_NDK if NDK not set ( #3064 )
...
* Fall back to ANDROID_NDK if NDK not set
2017-08-11 17:28:54 +02:00
Hzj_jie
30378eb2a8
Add restart koreader function and ensure FlushSettings event can be delivered to all widgets ( #2772 )
2017-05-16 02:11:11 -07:00
Qingping Hou
b33c9268d2
build(fix): fail release command by default if make po failed
2017-05-11 03:23:13 -07:00
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
2017-04-27 01:25:17 -07:00
Qingping Hou
76e427cbb4
kodev: add device simulation option for run command ( #2802 )
2017-04-23 12:32:58 +08:00
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
```
2017-04-11 15:30:23 +02:00
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)
2017-04-09 10:42:16 +02:00
Qingping Hou
7241575f42
kodev(feat): add cov command
2017-03-06 07:47:20 +01:00
Frans de Jonge
6d86118b53
kodev: correct "luarocks path bin" to "luarocks path --bin" and miscellaneous ShellCheck code quality issues
...
References #2613
2017-03-05 13:46:48 -08:00
Dimitrios Semitsoglou-Tsiapos
2ed6cf760d
Finish renaming utils
to tools
...
Continues the work of 9afad43a3e
2016-11-25 14:43:08 -08:00
Qingping Hou
dae4a5a413
refactor: move bootstrap code into setupkoenv.lua
...
add ffi.load patch
add kodev prompt command
2016-11-12 23:48:56 -08:00
Qingping Hou
3de3fb9b14
kodev: error out on invalid test suit
2016-11-02 01:39:07 -07:00
Qingping Hou
ca14b32204
kodev: add transifex pull in release command
2016-10-16 01:29:02 -07:00
Alexandre Robert de Massy
74eeffb129
fixed script to support OSX bash 3.x
2016-10-10 16:36:50 -04:00
Qingping Hou
1b48059a2a
add more kindle targets
2016-10-09 23:52:19 -07:00
Qingping Hou
8ff9a916da
kodev(minor): style clean up & fixes
2016-10-09 12:05:12 -07:00
Qingping Hou
e41e489528
kodev(fix): update plugins before tests
2016-10-08 15:53:02 -07:00
Qingping Hou
ebc7055b43
chore: move kobo specific code into kobo/device.lua
2016-09-19 01:10:53 -07:00
Qingping Hou
ab9a86788f
dbg: prefix log with datetime
2016-07-10 23:25:32 -07:00
Qingping Hou
c127a33acc
kodev(feat): check for submodules in build command
2016-06-01 20:39:47 -07:00
Qingping Hou
82a3e0f9ad
automatically adjust ev time for kobo touch
2016-05-23 23:21:14 -07:00
Frans de Jonge
6e9208ac50
kodev code quality
2016-05-06 14:06:48 +02:00
Qingping Hou
ef4004e72b
test(fix): disable footer in readerlink_spec
2016-04-28 20:31:17 -07:00