Qingping Hou
ad711d8033
minor: show wifi scan error in UI
2016-10-17 22:28:13 -07:00
Frans de Jonge
6091378bc6
Various low-hanging language fruits
...
* Record to location, see https://github.com/koreader/koreader/pull/2268#issuecomment-252416860
* Defect size, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/11979947?issue=yes
* Stop publisher/subscriber, see https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031159?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031160?issue=yes and https://www.transifex.com/houqp/koreader/translate/#nl_NL/koreader/27031161?issue=yes
2016-10-17 10:19:33 -07:00
ycrichard
f3149b0b2c
add frontlight information in the footer including context menu
2016-10-16 13:35:07 -07:00
Qingping Hou
31d22dfc17
fix(kobofrontligh): initialize dimen with nil value
2016-10-14 19:51:24 -07:00
Qingping Hou
67ae10742a
defaults: try parse int from user input
2016-10-14 19:50:49 -07:00
ycrichard
17e9a8e45b
add kobo frontlight gesture ( #2284 )
...
* add kobo frontlight gesture
2016-10-14 11:11:35 -07:00
Qingping Hou
abbb72b6d3
readerrolling(fix): do not emit PageUpdate event until document is ready
2016-10-08 15:53:58 -07:00
Qingping Hou
c998120a78
progressbar(performance): reuse calcauted value for ticks loop
2016-10-08 15:53:58 -07:00
Qingping Hou
0ace252b64
device(minor): call restoreWifiAsync with self
2016-10-08 15:53:02 -07:00
Qingping Hou
ef5c8ced60
chore: disable wrong usbplug event handler
2016-10-08 15:53:02 -07:00
Qingping Hou
58500ba01b
fix: delay screen refresh on resume
2016-10-08 15:53:02 -07:00
Qingping Hou
404702914e
minor: adjust wording for fallback font setting based on Frenzie's suggestion
2016-10-08 15:53:02 -07:00
Qingping Hou
d6c48b06f9
chore: fix all luacheck issues
2016-09-22 00:38:10 -07:00
Qingping Hou
252100891f
fix(defaults): override defaults with persistent defaults for advanced setting menu
2016-09-22 00:38:03 -07:00
Qingping Hou
ca21ab4be5
fix(defaults): type casting for user input
2016-09-21 23:57:45 -07:00
Qingping Hou
902403bf0a
kobo(fix): prevent usb plug events from interrupting sleep
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
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
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
9b66bf1149
Restore WIFI state when koreader starts.
2016-09-12 11:53:42 -07:00
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
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
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
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
chrox
9afad43a3e
refactoring utils to tools as discussed in #2197
2016-08-11 19:29: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
bingo619
8e28ef6251
Oasis orientation
2016-08-08 19:57:40 +10:00
bingo619
43797ed813
Oasis orientation
2016-08-02 19:43:16 +10: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
NiLuJe
2013a66fdd
Some more Kobo suspend tweaks...
...
Disable wakeup_count handling, that's often causing more harm than
anything else...
Nickel doesn't even use it, that should have been a hint ;).
Make the logging slightly less confusing.
Add commented out debug features (dumping relevant dmesg output).
Re #2188
2016-07-31 19:01:15 +02:00
Hzj_jie
3df363165a
Fix crash in readertoc.lua
...
This issue has been mentioned in https://github.com/koreader/koreader/issues/2186 .
2016-07-29 22:47:44 -07:00
NiLuJe
2f7e32fa20
Fix KT3 input device
...
It's a zforce2 IR grid...
Fix #2195
2016-07-29 14:34:43 +02:00
Hzj_jie
ccbf8eac0c
Add a network info page ( #2187 )
...
Add network info page
2016-07-26 21:32:13 -07:00
NiLuJe
04d07699cf
Fix touch input on the 3G KOA ( #2189 )
...
* Fix touch input on the 3G KOA
There's an extra controller in there screwing things up for us,
because reasons, I guess?
Fix #2181
* Avoid touch_dev duplication
2016-07-26 21:30:12 -07:00
Qingping Hou
1c5543358c
readerfooter(fix): avoid setting mini footer to invisible when full progress bar is on
...
Our previous assumption is user will only choose between full or min
bar. The does not hold anymore as many more info has been added to the
mini bar and sometimes user might want to have both of them on. This
patch makes the reader behavior consistent when both bars are set to be
on for a document.
2016-07-23 18:00:37 -07:00
Qingping Hou
086dbdb657
scrolltextwidget(fix): add moveCursor method
2016-07-18 22:38:54 -07:00
Hzj_jie
7493fc89f6
Add removed item name in "Remove this item from history" and fix wrong items deleted issue. ( #2164 )
...
* Add removed item name in "Remove this item from history".
* Fix #2162 , wrong history items deleted.
2016-07-18 22:37:57 -07:00