Commit Graph

4960 Commits

Author SHA1 Message Date
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
Qingping Hou 5aae4c6b73 Merge pull request #2200 from NiLuJe/master
Some more Kobo scripts tweaks
2016-07-31 13:37:40 -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
NiLuJe 0f184e30ed Tweak nickel restart script
Also restart sickel...
2016-07-31 18:13:16 +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
Qingping Hou c67dc8d9b7 Merge pull request #2196 from NiLuJe/master
Fix KT3 input device
2016-07-29 10:27:42 -07:00
NiLuJe 2f7e32fa20 Fix KT3 input device
It's a zforce2 IR grid...

Fix #2195
2016-07-29 14:34:43 +02:00
Huang Xin 37d39759e4 Merge pull request #2193 from NiLuJe/master
Update base
2016-07-28 19:50:21 +08:00
NiLuJe 967c1e54be Update base
Hopefully fixes arm builds on Ubuntu TCs.

Fix #2188
2016-07-28 11:48:46 +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
Huang Xin 0d70840504 Merge pull request #2182 from koreader/houqp-master
footer(fix): avoid setting mini footer to invisible when full progress bar is on
2016-07-24 18:23:30 +08: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
Huang Xin 06bd4d7afc Merge pull request #2168 from koreader/houqp-master
scrolltextwidget(fix): add moveCursor method
2016-07-19 14:04:59 +08: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
Huang Xin 6a7f55f812 Merge pull request #2160 from koreader/houqp-master
set scroll mode as default
2016-07-19 07:42:18 +08:00
Huang Xin 71b3fd3fcc Merge pull request #2167 from NiLuJe/master
Fix KT3 battery sysfs entries
2016-07-19 07:40:57 +08:00
NiLuJe 88e3f54967 Fix KT3 battery sysfs entries 2016-07-18 21:11:50 +02:00
Qingping Hou f30e487959 readerpaging(fix): set the corrent page number on GoBackLink event 2016-07-18 01:33:35 -07:00
Qingping Hou 3339ed4e5f test(fix): update tests for default scroll mode 2016-07-17 23:33:03 -07:00
Qingping Hou eb3a0942a9 build: bump base for gitlab mirrors 2016-07-16 23:07:29 -07:00
Qingping Hou 5382a06858 readerpaging: set scroll mode as the default view mode 2016-07-16 22:47:19 -07:00
Qingping Hou 0d9fc17d7c chore: rename SetDefaults:SaveSettings 2016-07-16 22:47:19 -07:00
Frans de Jonge 95e391dc90 Merge pull request #2158 from chrox/djvu_stats
book reading statistics for djvu documents
2016-07-15 19:28:57 +02:00
chrox 1d887f4fe1 book reading statistics for djvu documents 2016-07-15 23:00:46 +08:00
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
2016-07-14 10:38:00 -07:00
Qingping Hou 483963cd71 Merge pull request #2156 from NiLuJe/master
Fix a few Kindle device codes
2016-07-14 10:37:22 -07:00
NiLuJe e565ee289e Fix a few Kindle device codes 2016-07-14 19:05:46 +02:00
Qingping Hou 1d2150c72c Merge pull request #2155 from chrox/fix_2131_2130
diable double tap by default in the widget stack
v2016.07.14-nightly
2016-07-13 18:57:11 -07:00
chrox 41c79407b9 diable double tap by default in the widget stack
This should fix #2141 and fix #2130.
2016-07-14 08:56:10 +08:00
Huang Xin 014abf21bc Merge pull request #2153 from houqp/houqp-master
reader(fix): fix crash when DAUTO_SAVE_PAGING_COUNT is set to 0
2016-07-14 08:08:56 +08:00
Qingping Hou 4cdafedcc8 Merge pull request #2147 from koreader/houqp-master
move setDirty call from TextWidget:setText to FileManager
2016-07-13 10:52:32 -07:00
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
2016-07-12 23:54:01 -07:00
Huang Xin b8f23d162d filemanager(fix): refresh banner in filemanager insteand of TextWidget 2016-07-12 21:34:17 -07:00
Qingping Hou 304b0f218e chore: fix some of the luacheck errors 2016-07-12 20:49:09 -07:00
Huang Xin fc5d350f8c Merge pull request #2151 from houqp/network
network setting menu for kobo
2016-07-12 21:13:19 +08:00
Qingping Hou 20eb36a03d feat: add network management UI for kobo 2016-07-11 23:50:19 -07:00
Qingping Hou ab9a86788f dbg: prefix log with datetime 2016-07-10 23:25:32 -07:00