2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

46 Commits

Author SHA1 Message Date
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
Qingping Hou
eb71d29716 kodev(minor): fix arg test 2016-04-23 21:22:57 -07:00
Qingping Hou
c22a3747d8 fix all the tests 2016-04-19 00:01:28 -07:00
Qingping Hou
cc98ba7604 kodev: spawn subshell in activate command 2016-04-18 23:51:06 -07:00
Qingping Hou
3f2944ee84 kodev: add active command 2016-03-27 17:18:45 -07:00
Qingping Hou
9b989605fd kodev(fix): support filename with spaces in run command 2016-03-27 15:39:59 -07:00
Qingping Hou
d208a7dbfa kodev: add -w, -h options to run command 2016-03-16 23:05:09 -07:00
Qingping Hou
55fa046d49 android: set android log tag to KOReader 2016-03-13 19:49:13 -07:00
Qingping Hou
e52c74afcc test: more uimanager scheduler test 2016-03-07 22:52:52 -08:00
Qingping Hou
32874b18c5 kodev: fix clean command for android 2016-03-02 18:25:17 +01:00
Qingping Hou
71184cfb73 kodev: add log command for android 2016-02-28 12:17:13 -08:00
Qingping Hou
8c01835458 fix: only show reader status at the end of the book 2016-02-23 22:43:35 -08:00
Qingping Hou
69f9ebd528 build: fix doc generation
also moved MD5 to koreader-base/ffi
2016-02-23 22:01:12 -08:00
Qingping Hou
042d94c3ef kodev: add verbose build option 2016-02-23 22:01:12 -08:00
Qingping Hou
90a258daf1 kodev: add --tags option to test command 2016-02-15 22:34:48 -08:00
Qingping Hou
3c647ff244 minor: various luacheck fixes 2016-02-15 18:08:04 -08:00
Qingping Hou
12c6bd7121 test: fix readerbookmark unit test 2016-02-14 23:55:32 -08:00
Qingping Hou
af54d405eb build: update help page for kodev 2016-02-12 21:25:05 -08:00
Qingping Hou
9fff21cbe7 kodev: add test command 2016-02-03 23:37:00 -08:00
Qingping Hou
c6a18c0b57 kodev: catch build error 2016-02-03 20:34:10 -08:00
Qingping Hou
b480145134 build: add kodev script 2016-02-01 00:26:07 -08:00