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
zijiehe
e84093c414
Add a flState in Kobo, and KoboPowerD:toggleFrontlight uses flState to control the light instead of intensity.
2016-02-26 15:34:23 +08:00
Huang Xin
a1d4a9603a
Merge pull request #1843 from koreader/houqp-master
...
push doc update from travis & show book status at the end of the book
2016-02-24 23:14:01 +08:00
Qingping Hou
9857cfb93a
defaults: change minimal cre font size to 12
2016-02-24 00:02:34 -08:00
Qingping Hou
8c01835458
fix: only show reader status at the end of the book
2016-02-23 22:43:35 -08:00
Qingping Hou
69f9ebd528
build: fix doc generation
...
also moved MD5 to koreader-base/ffi
2016-02-23 22:01:12 -08:00
Qingping Hou
042d94c3ef
kodev: add verbose build option
2016-02-23 22:01:12 -08:00
Qingping Hou
abd4727a0b
Merge pull request #1845 from Hzj-jie/master
...
Mount SD card as RW on kobo, but ignore errors
2016-02-23 19:51:31 -05:00
zijiehe
e7b8bdcde2
Check whether sd card is presenting and mounting as RO, before do the real remount
2016-02-23 20:46:57 +08:00
zijiehe
38553b5ef8
Mount SD card as RW on kobo, but ignore errors, since we may not have sd
...
card installed.
2016-02-22 17:23:43 +08:00
Qingping Hou
7003c68083
Merge pull request #1842 from NiLuJe/master
...
Some Kindle fixes
2016-02-21 11:28:15 -05:00
Qingping Hou
c2ec448513
Merge pull request #1841 from chrox/chrox-master
...
fix broken extended InputDialog components
2016-02-21 11:25:00 -05:00
NiLuJe
693e732a71
Fix exit when running from KUAL on FW >= 5.6.5
...
Properly refresh the screen with useful stuff, instead of leaving
us hanging with an unusable mix of framework and our own crap.
2016-02-21 16:36:05 +01:00
chrox
529cb801c1
fix broken extended InputDialog components
...
eg. LoginDialog and MultiInputDialog
since the style refactoring in #1783 .
2016-02-21 23:30:06 +08:00
NiLuJe
af743d106e
When started from KUAL on FW >= 5.6.5...
...
try to refresh the screen with more useful stuff on exit.
And because I forgot in my last commit, the issue was reported here:
http://www.mobileread.com/forums/showpost.php?p=3258045&postcount=903
2016-02-21 16:27:07 +01:00
NiLuJe
d3333fe81d
Prevent the status bar clock from peeking out...
...
When launched from KUAL on FW >= 5.7.2
2016-02-21 16:18:05 +01:00
NiLuJe
6413390490
Make Amazon's additional CJK fonts available to us
...
Should be a no-op on systems which don't have any.
Fix #1802
2016-02-21 16:07:26 +01:00