Qingping Hou
6fccb610c4
doc: update rendertext
2016-03-06 22:45:40 -08:00
Huang Xin
2fda2d0a2b
Merge pull request #1869 from koreader/houqp-master
...
fix double crash in readerui...
2016-03-06 08:48:15 +08:00
Qingping Hou
e812f7d0d6
kobo: fix typo during refactoring, luacheck is the best check
2016-03-05 13:02:33 -08:00
Qingping Hou
7a22282dbe
statistics: show current value in setting
2016-03-05 12:59:32 -08:00
Qingping Hou
5e8c5243c4
uimanager: fix crash on crash....
2016-03-05 12:37:45 -08:00
Qingping Hou
cf70e86552
kobo: move reader setting outside of nicke_conf module
2016-03-02 23:25:39 -08:00
Qingping Hou
58e7103c34
Merge pull request #1863 from NiLuJe/master
...
Minor Kobo tweaks
2016-03-02 14:54:29 -05:00
NiLuJe
e60de3044c
Keep intensity in sync at the config level too
...
Make sure frontlight_intensity in reader.lua settings matches what we
write into Nikcel's config
2016-03-02 19:16:02 +01:00
NiLuJe
a82fe3ac44
is_fl_on -> is_frontlight_on outside of powerd
...
Matches the reader setting we're reading/writing at that point,
and avoids confusion related to scoping because it doesn't necessarily
match powerd.is_fl_on at that point.
Well, at least I had to wrap my mind around it ^^
2016-03-02 19:15:11 +01:00
NiLuJe
45bb1ef79e
Bump base
2016-03-02 18:26:13 +01:00
Qingping Hou
4751aba46c
kobo: rewording, turns out has_toggle_btn != has_state_cfg :(
2016-03-02 18:25:17 +01:00
Qingping Hou
399d676cf0
kobo: rename frontlight_state config to is_frontlight_on
2016-03-02 18:25:17 +01:00
Qingping Hou
8190093f83
kobo: don't create FrontLightState config if it didn't exist to begin with
2016-03-02 18:25:17 +01:00
Qingping Hou
8b7658b8cd
kobo: always keep intensity value and is_fl_on in sync
2016-03-02 18:25:17 +01:00
Qingping Hou
08b08d69f7
kobo: always set light intensity to 0 if state is nil or false
2016-03-02 18:25:17 +01:00
Qingping Hou
cf3b97537b
kobo: build fl_state based on fl_intensity if model does not support toggle
2016-03-02 18:25:17 +01:00
Qingping Hou
9afae91b13
chore: rename frontlight related variables to keep style consistent
...
flIntensity -> fl_intensity
flState -> is_fl_on
fallback_FrontLightLevel -> fallback_fl_level
2016-03-02 18:25:17 +01:00
Qingping Hou
32874b18c5
kodev: fix clean command for android
2016-03-02 18:25:17 +01:00
NiLuJe
f213fb6405
Bypass flState on suspend/wakeup
...
We pretty much always want to turn it off on suspend, and turn it on to
some measure on wakeup.
That, and nickel's FrontLightState is completely nonsensical on my device anyway...
2016-03-02 18:24:14 +01:00
NiLuJe
770625d756
Tweak the 'IR down on resume' workaround...
...
Only apply it when started from nickel, because I'm guessing we'd have
seen a number of reports of this if it happened more widely...
2016-03-02 18:24:14 +01:00
NiLuJe
85737e2b9d
Forcibly re-activate IR grid on resume...
...
re #1862
2016-03-02 18:24:14 +01:00
NiLuJe
ea382aea86
Tweak the sd is ro check a bit
...
Inspired from MRPI, but without a strict check of the device name,
because I'm not sure it'll be the same across the whole range of
Kobos...
2016-03-02 18:24:13 +01:00
NiLuJe
150aac1630
More comment tweaks re: Kobo suspend
2016-03-02 18:24:13 +01:00
NiLuJe
06e1bd4ed2
Slightly more accurate comments re: Kobo suspend
2016-03-02 18:24:10 +01:00
NiLuJe
fe13af9d7e
More Kobo suspend tweaks...
...
Basically more loging to debug suspend issues...
AFAICT, having anything plugged in over USB will screw things up, for
instance.
2016-03-02 18:09:38 +01:00
NiLuJe
6c8bbfd470
Unbreak Kobo frontlight -> off when suspending.
...
If no-one touches anything, flState stays false...
And anyway, we should unconditionally disable the fl on sleep.
2016-03-02 18:09:38 +01:00
Huang Xin
203048cf40
Merge pull request #1864 from koreader/houqp-master
...
unschedule footer clock refresh task on document close.
2016-03-01 22:50:44 +08:00
Qingping Hou
d4254e5266
fix: unschedule auto refresh footer task on document close
2016-02-29 23:13:52 -08:00
Qingping Hou
93b9e245a9
doc: update hacking
2016-02-29 23:13:52 -08:00
Huang Xin
09d477418c
Merge pull request #1861 from NiLuJe/master
...
Some more Kindle 5.7 fixes...
2016-03-01 07:52:55 +08:00
NiLuJe
7d0c354ffb
Unbreak battery status refresh on resume on Kindle
...
Went kaput w/ #1854
2016-02-29 19:49:37 +01:00
NiLuJe
aa0450ab5d
Fix volumd's USBMS splash screen on FW 5.7.x
...
That clears up my previous queries abour the dual checks ;p.
2016-02-29 18:22:52 +01:00
NiLuJe
b0c2821ed8
More accurate comment.
...
I think better on a full stomach ;p.
2016-02-29 18:09:24 +01:00
NiLuJe
278f060c2a
Disable the Kindle passcode while we're running
...
Because we cannot deal with it properly...
We'd need to be able to stop eating all input, and have a lot of luck
with refresh timings to actually have the popup visible at the right
time.
TL;DR: it's a mess, kill it with fire.
Fix #1811
2016-02-29 17:09:44 +01:00
NiLuJe
4510625d37
Unbreak native screensavers on Kindle >= 5.7.2
...
Which I broke the last time I touched this.
NOTE: I'm not quire sure why the bbsave/bbrestore on stop/resume did a
double check (screensaver & charging), because that effectiely disabled
it when charging, which I don't quite understand...
Also makes sure the needsScreenRefreshAfterResume flag is honored on
Kindles, because we need it on FW >= 5.7.2
Note that this *breaks* the behavior with passcode enabled, which was
unwittingly fixed in said previous changes...
re #1811
2016-02-29 16:59:15 +01:00
Huang Xin
f56b5311fb
Merge pull request #1860 from frankyifei/new
...
update
2016-02-29 22:59:20 +08:00
frankyifei
d0a8d51049
update
2016-02-29 21:43:19 +10:30
Huang Xin
03d7b7d61c
Merge pull request #1855 from koreader/houqp-master
...
bump base for android fix
2016-02-29 07:50:57 +08:00
Qingping Hou
0772fd1439
touchmenu: fix menu height calculation
2016-02-28 13:32:25 -08:00
Qingping Hou
71184cfb73
kodev: add log command for android
2016-02-28 12:17:13 -08:00
Qingping Hou
427abd1cf6
bump base for android fix
2016-02-28 12:17:13 -08:00
Qingping Hou
9a12bd780c
Merge pull request #1854 from Hzj-jie/master
...
Slightly refector device & powerd component, remove some magic code
2016-02-28 02:20:09 -05:00
zijiehe
a183c1c64b
Slightly refector device & powerd component, remove some magic code
2016-02-28 14:38:14 +08:00
Huang Xin
2d7d7f8b8b
Merge pull request #1856 from houqp/fixmd5
...
fix: use ffi/md5 in plugins
2016-02-28 08:40:12 +08:00
Qingping Hou
ac9888f106
fix: use ffi/md5 in plugins
2016-02-27 12:58:11 -08:00
Frans de Jonge
7b11491dcd
Merge pull request #1853 from koreader/houqp-master
...
add current page to goto input hint
2016-02-26 13:53:18 +01:00
Qingping Hou
4e43dd2870
build: increase retry time for make testfront to 5
2016-02-26 00:44:04 -08:00
Qingping Hou
46ade8e795
readergoto: show current page in input hint
2016-02-26 00:20:09 -08:00
Qingping Hou
847837c5c1
readergoto: use the term page and location based on doc type
2016-02-26 00:20:09 -08:00
Qingping Hou
f0dca7e9e9
Merge pull request #1848 from Hzj-jie/master
...
Add Nickle.frontLightState, save and restore frontlight toggle state when koreader starts
2016-02-26 03:18:27 -05:00