Qingping Hou
ca93494783
base: pick up djvu TOC page number fix
2016-09-21 23:32:56 -07:00
Qingping Hou
71afe3606c
kobo(fix): set suspend wait timeout to 15 seconds
...
Otherwise, suspend might fail and the device will ended up in a false
sleep state and drain the battery.
2016-09-21 23:32:52 -07:00
Qingping Hou
4036e2c460
kobo(fix): do not wake up device when cover is closed
2016-09-21 23:29:22 -07:00
Qingping Hou
93b3262db7
kobo(fix): make sure sleep cover is not interrupting sleeping when ignore_power_sleepcover is set
2016-09-21 23:29:22 -07:00
Qingping Hou
22964a77a0
kobo(fix): always put device to suspend state when cover is closed
2016-09-21 23:29:17 -07:00
Qingping Hou
ebc7055b43
chore: move kobo specific code into kobo/device.lua
2016-09-19 01:10:53 -07:00
Qingping Hou
c619de324e
chore: more luacheck fixes
2016-09-19 01:10:53 -07:00
Qingping Hou
fedc2b2983
Merge pull request #2254 from Hzj-jie/master2
...
Use android.externalStorage instead of hardcoded string for android data path
2016-09-16 14:06:33 -07:00
Hzj_jie
3bf8b185d3
Use android.externalStorage instead of hardcoded string for android data path
2016-09-16 10:13:02 -07:00
Qingping Hou
6d578b26f5
minor: use io.write instead of print for dbg module
2016-09-13 21:57:10 -07:00
Qingping Hou
76cef07c07
Merge pull request #2251 from MMihelic/master
...
Aura One support
2016-09-13 00:36:09 -07:00
Qingping Hou
31470efa3b
Merge pull request #2250 from Hzj-jie/master2
...
Add readhistory_spec / docsettings_spec
2016-09-13 00:35:28 -07:00
Qingping Hou
77fff7f928
Merge pull request #2249 from Hzj-jie/master3
...
Restore WIFI state when koreader starts
2016-09-13 00:26:10 -07:00
Matej Mihelič
6600410c08
Aura One support
2016-09-13 06:50:07 +01:00
Zijie He
ced671bc69
Add readhistory_spec / docsettings_spec
2016-09-12 20:04:13 -07:00
Zijie He
125fb6dfc6
unload network manager package to ensure it is initialized correctly.
2016-09-12 14:52:22 -07:00
Zijie He
9b66bf1149
Restore WIFI state when koreader starts.
2016-09-12 11:53:42 -07:00
Qingping Hou
0ba2417e24
Merge pull request #2244 from tobias-93/patch-1
...
Update documentation to clarify the process
2016-09-08 23:22:44 -07:00
Tobias Feijten
b80e6b50a1
Update documentation to clarify the process
...
I've finally managed to build the release of KOreader for Android, but I've run into some issues.
I've updated the manual to reflect the solutions I've found.
The issues I've found are:
1. The version of the needed Android SDK platform isn't described anywhere;
2. xutils-dev is missing from the prerequisites, while it provides the `makedepend` utility used by the openssl build system;
3. Finally, for the Android build it is necessary to install JDK version 8.
2016-09-09 13:37:09 +08:00
Qingping Hou
7a1d6ccae8
Merge pull request #2243 from frankyifei/bump
...
bump base
2016-09-07 21:36:55 -07:00
frankyifei
2ef90019a2
bump
2016-09-08 11:07:43 +09:30
Hzj_jie
da2c57f93a
Automatically connect WIFI after Kobo has been resumed ( #2215 )
...
* Add bash scripts to control WIFI / IP, so we can share them with frontend/device/kobo/device.lua.
* add test cases
2016-09-01 00:05:40 -07:00
Qingping Hou
95b571a4c7
Merge pull request #2233 from Frenzie/master
...
kosync: improve a couple of strings
2016-08-29 01:58:13 -04:00
Frans de Jonge
88fd5501d9
kosync: improve a couple of strings
2016-08-28 21:12:20 +02:00
Frans de Jonge
a55a987de4
Merge pull request #2227 from chrox/fix_2225_2226
...
revert 9ab005a
changes to UIManager:sendEvent
2016-08-18 19:12:05 +02:00
chrox
b0498ec9b9
revert 9ab005a
changes to UIManager:sendEvent
...
which would make readerui handle swipe event twice.
And use broadcastEvent to emit `FlushSettings` event.
This should fix #2225 and fix #2226 .
2016-08-19 00:00:01 +08:00
Qingping Hou
e80b62a535
Merge pull request #2222 from chrox/coverage
...
various test/coverage optimization
2016-08-14 23:15:09 -04:00
chrox
001433e6bc
various test/coverage optimization
2016-08-15 00:32:40 +08:00
Qingping Hou
7e4dc7a3fe
Merge pull request #2220 from chrox/fix_2219
...
fix #2219
2016-08-14 00:30:10 -04:00
chrox
7fd6037bb0
fix #2219
...
The ABS_PRESSURE ABS code is also detected on some KOBO devices
if ABS_PRESSURE events are feeded to handle orientation those devices
will have a unresponsive screen as described in #2219 .
This patch registers an event adjustment handler for Kindle Oasis to
adjust the ABS_PRESSURE code to ABS_OASIS_ORIENTATION code so that
it won't affect event handling on other devices.
2016-08-13 18:57:15 +08:00
Huang Xin
aa8d4f27ae
Merge pull request #2218 from chrox/fix_swipe_paging
...
fix unit test of readerlink and readerpaging
2016-08-13 18:56:53 +08:00
chrox
166aa52a24
move painting and drawing debug log to verbose
2016-08-12 17:47:35 +08:00
chrox
9ab005a1d3
fix unit test of readerlink and readerpaging
...
and have more confidence with the unit testing framework.
Now `make testfront` won't retry on failure and testing files are
ordered in each run so that it's possible to reproduce testing failure.
And this patch also fix flush settings not working before suspend issue:
at some point the `FlushSettings` event is sent to `UIManager` instead
of `ReaderUI`, but `UIManager` only delegated events to active widgets
and `ReaderUI` is actually not an active widgets thus will miss the event.
This patch also add a verbose debug mode with "-v" as a switch to turn
on this mode. With verbose mode on, event handling will be logged.
2016-08-12 17:05:07 +08:00
chrox
2fa8ebb7c4
don't consume swipe gesture event in readerlink
...
if location stack is empty
2016-08-12 09:33:31 +08:00
Qingping Hou
61b6896391
Merge pull request #2217 from chrox/benchmark_tool
...
fix k2pdfopt performance degradation
2016-08-11 13:37:39 -04:00
Qingping Hou
5ae8d4b536
Merge pull request #2212 from koreader/chrox-master
...
fix broken unit tests on Travis CI
2016-08-11 13:31:44 -04:00
chrox
214c8971e7
fix k2pdfopt performance degradation
2016-08-11 22:53:00 +08:00
chrox
9afad43a3e
refactoring utils to tools as discussed in #2197
2016-08-11 19:29:09 +08:00
chrox
7ea12c0198
fix broken unit tests on Travis CI
...
1. It turns out that `device_id` is not defined in unit test environment
which makes the `assert(self.kosync_device_id)` fail and somehow makes `luajit` segmentation fault.
2. In the device spec, stubbing `io.open` will make subsquent `require`
all return boolean value and segmentation fault `luajit`.
This patch is a minimum viable change that makes CI work on both my
local box and Travis.
2016-08-11 18:17:09 +08:00
Qingping Hou
7857f6964b
Merge pull request #2197 from Hzj-jie/master2
...
Update kosync plugin
2016-08-10 17:22:34 -07:00
Zijie He
820a39c8f7
Update KOSyncClient
2016-08-10 10:42:51 -07:00
Qingping Hou
34287c348b
Merge pull request #2209 from bingo619/master
...
Oasis orientation
2016-08-09 01:00:24 -07:00
bingo619
8e28ef6251
Oasis orientation
2016-08-08 19:57:40 +10:00
Qingping Hou
084e2a6f14
Merge pull request #2206 from bingo619/master
...
Oasis orientation
2016-08-03 03:05:31 -07:00
bingo619
43797ed813
Oasis orientation
2016-08-02 19:43:16 +10:00
Frans de Jonge
c0cc3b677c
Merge pull request #2202 from koreader/houqp-master
...
bring back toggle to enable screensaver folder
2016-08-01 10:05:20 +02:00
Qingping Hou
73dc44a639
minor: ignore kobo builds
2016-07-31 18:26:42 -07:00
Qingping Hou
ec6da5318c
screensaver(fix): add back menu toggle to support screensaver folder
2016-07-31 18:26:26 -07:00
Qingping Hou
29578d74eb
touchmenu(fix): reset page num before switching to sub menu
2016-07-31 18:22:41 -07:00
bingo619
1edad106c3
Oasis page buttons ( #2199 )
...
Oasis page buttons
2016-07-31 15:25:34 -07:00