2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

1932 Commits

Author SHA1 Message Date
Qingping Hou
b0d4915977 progressbar: fix infill offset in bookstatus 2016-03-06 22:45:41 -08:00
Qingping Hou
10ded583b9 minor: adjust kvpage and dictlookup for new closebutton 2016-03-06 22:45:41 -08:00
Qingping Hou
34e0238b6f readermenu: move book status to info tab & minor cleanup 2016-03-06 22:45:41 -08:00
Qingping Hou
a99ab5a976 bookstatus: adjust layout and spacing for bookstatus page 2016-03-06 22:45:40 -08:00
Qingping Hou
b65983da1a multi-touch: add tests for gesturerange moudle 2016-03-06 22:45:40 -08:00
Qingping Hou
6fccb610c4 doc: update rendertext 2016-03-06 22:45:40 -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
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
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
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
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
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
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
Qingping Hou
d4254e5266 fix: unschedule auto refresh footer task on document close 2016-02-29 23:13:52 -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
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
Qingping Hou
0772fd1439 touchmenu: fix menu height calculation 2016-02-28 13:32:25 -08:00
zijiehe
a183c1c64b Slightly refector device & powerd component, remove some magic code 2016-02-28 14:38:14 +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
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
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
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
zijiehe
8861365264 Add rename function for filemanager 2016-02-20 23:53:05 +08:00
Qingping Hou
8e35a6e4ab fix inputcontainer 2016-02-18 21:21:19 -08:00
Qingping Hou
4598284bbb fix(readerfontlight): crash in toggle 2016-02-17 09:53:29 -08:00
Qingping Hou
03e81cfa4d test: fix readerui instance reset test 2016-02-17 00:06:55 -08:00
Qingping Hou
72e7cd5cf4 style: move functions around 2016-02-16 23:26:08 -08:00
Qingping Hou
b63ddb8736 fix: kill in fly hinting event on document close 2016-02-16 23:26:08 -08:00
Frans de Jonge
df6935c20b Merge pull request #1823 from koreader/houqp-master
build: fix travis build
2016-02-16 20:57:23 +01:00
Frans de Jonge
d692a42f97 Merge pull request #1824 from NiLuJe/master
Add a bunch of OTA mirrors...
2016-02-16 20:56:51 +01:00
NiLuJe
a4137fd8a6 Add a bunch of OTA mirrors...
With much better peerings & bandwidth than my fallback.
-eu is in Central Europe
-af is in Western Europe
-na is in North America
2016-02-16 20:45:37 +01:00
Qingping Hou
1f082d7f5c build: fix travis build 2016-02-16 09:58:24 -08:00
chrox
1cef9278f1 do full screen refresh on KV after waked up
from screensaver
this should fix #1800
2016-02-16 22:43:54 +08:00
Qingping Hou
87c28a72cf doc: update closebutton 2016-02-15 23:21:36 -08:00
Qingping Hou
e422842256 minor: a lot of luacheck fixes 2016-02-15 23:10:07 -08:00
Qingping Hou
6a6469fa09 more luacheck fixes 2016-02-15 22:34:28 -08:00
Qingping Hou
3c647ff244 minor: various luacheck fixes 2016-02-15 18:08:04 -08:00
Qingping Hou
3bec9cea89 ui(kvpage) truncate title/key/value if it's too long 2016-02-15 17:56:13 -08:00
Qingping Hou
e410ce14df doc: types/functions for font and rendertext module 2016-02-15 16:14:15 -08:00