Commit Graph

2123 Commits (4036e2c460f6c58191f3dea30b2ba6b99a3b487a)

Author SHA1 Message Date
Qingping Hou 4036e2c460 kobo(fix): do not wake up device when cover is closed 8 years ago
Qingping Hou 93b3262db7 kobo(fix): make sure sleep cover is not interrupting sleeping when ignore_power_sleepcover is set 8 years ago
Qingping Hou 22964a77a0 kobo(fix): always put device to suspend state when cover is closed 8 years ago
Qingping Hou ebc7055b43 chore: move kobo specific code into kobo/device.lua 8 years ago
Qingping Hou c619de324e chore: more luacheck fixes 8 years ago
Qingping Hou 6d578b26f5 minor: use io.write instead of print for dbg module 8 years ago
Qingping Hou 76cef07c07 Merge pull request #2251 from MMihelic/master
Aura One support
8 years ago
Qingping Hou 31470efa3b Merge pull request #2250 from Hzj-jie/master2
Add readhistory_spec / docsettings_spec
8 years ago
Matej Mihelič 6600410c08 Aura One support 8 years ago
Zijie He ced671bc69 Add readhistory_spec / docsettings_spec 8 years ago
Zijie He 9b66bf1149 Restore WIFI state when koreader starts. 8 years ago
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
8 years ago
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.
8 years ago
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.
8 years ago
chrox 166aa52a24 move painting and drawing debug log to verbose 8 years ago
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.
8 years ago
chrox 2fa8ebb7c4 don't consume swipe gesture event in readerlink
if location stack is empty
8 years ago
chrox 9afad43a3e refactoring utils to tools as discussed in #2197 8 years ago
Qingping Hou 7857f6964b Merge pull request #2197 from Hzj-jie/master2
Update kosync plugin
8 years ago
Zijie He 820a39c8f7 Update KOSyncClient 8 years ago
bingo619 8e28ef6251 Oasis orientation 8 years ago
bingo619 43797ed813 Oasis orientation 8 years ago
Qingping Hou ec6da5318c screensaver(fix): add back menu toggle to support screensaver folder 8 years ago
Qingping Hou 29578d74eb touchmenu(fix): reset page num before switching to sub menu 8 years ago
bingo619 1edad106c3 Oasis page buttons (#2199)
Oasis page buttons
8 years ago
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
8 years ago
Hzj_jie 3df363165a Fix crash in readertoc.lua
This issue has been mentioned in https://github.com/koreader/koreader/issues/2186.
8 years ago
NiLuJe 2f7e32fa20 Fix KT3 input device
It's a zforce2 IR grid...

Fix #2195
8 years ago
Hzj_jie ccbf8eac0c Add a network info page (#2187)
Add network info page
8 years ago
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
8 years ago
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.
8 years ago
Qingping Hou 086dbdb657 scrolltextwidget(fix): add moveCursor method 8 years ago
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.
8 years ago
Huang Xin 6a7f55f812 Merge pull request #2160 from koreader/houqp-master
set scroll mode as default
8 years ago
Huang Xin 71b3fd3fcc Merge pull request #2167 from NiLuJe/master
Fix KT3 battery sysfs entries
8 years ago
NiLuJe 88e3f54967 Fix KT3 battery sysfs entries 8 years ago
Qingping Hou f30e487959 readerpaging(fix): set the corrent page number on GoBackLink event 8 years ago
Qingping Hou 0d9fc17d7c chore: rename SetDefaults:SaveSettings 8 years ago
chrox 1d887f4fe1 book reading statistics for djvu documents 8 years ago
Hzj_jie d4c31d683f Add a setting to disable save document (#2138)
* Add a setting to disable save document
* Add UI elements to control save-document settings
8 years ago
Qingping Hou 483963cd71 Merge pull request #2156 from NiLuJe/master
Fix a few Kindle device codes
8 years ago
NiLuJe e565ee289e Fix a few Kindle device codes 8 years ago
chrox 41c79407b9 diable double tap by default in the widget stack
This should fix #2141 and fix #2130.
8 years ago
Huang Xin 014abf21bc Merge pull request #2153 from houqp/houqp-master
reader(fix): fix crash when DAUTO_SAVE_PAGING_COUNT is set to 0
8 years ago
Qingping Hou 4cdafedcc8 Merge pull request #2147 from koreader/houqp-master
move setDirty call from TextWidget:setText to FileManager
8 years ago
Qingping Hou 726259f5a1 reader(fix): fix crash when DAUTO_SAVE_PAGING_COUNT is set to 0
* setup autoSaveSettings callback on ReaderReady event
* delay calling autoSaveSettings with UIManager:nextTick
8 years ago
Huang Xin b8f23d162d filemanager(fix): refresh banner in filemanager insteand of TextWidget 8 years ago
Qingping Hou 304b0f218e chore: fix some of the luacheck errors 8 years ago
Qingping Hou 20eb36a03d feat: add network management UI for kobo 8 years ago
Qingping Hou ab9a86788f dbg: prefix log with datetime 8 years ago