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

1284 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
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
399d676cf0 kobo: rename frontlight_state config to is_frontlight_on 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
0772fd1439 touchmenu: fix menu height calculation 2016-02-28 13:32:25 -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
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
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
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
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
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
Qingping Hou
d7879db90f font: add default font size 2016-02-15 15:00:38 -08:00
Qingping Hou
59c17ef420 minor: more luacheck fixes 2016-02-15 01:33:48 -08:00
Qingping Hou
11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 2016-02-14 21:54:17 -08:00
Alex Pletnev
fbf98ed920 #1710 FR: Add support of statistics plugin for pdf 2016-02-12 16:55:02 +02:00
Alex Pletnev
a6ebbe9adb #1807 FR: Add separator into menu 2016-02-11 18:47:27 +02:00
Qingping Hou
8f4fae7a09 minore: more static check fixes 2016-02-10 10:30:05 -08:00
Qingping Hou
ba1ef91df2 minor: translate progress bar text with template 2016-02-09 23:10:37 -08:00
Qingping Hou
b8ee33871f style: clean up statuswidget a bit 2016-02-09 23:01:19 -08:00
Alex Pletnev
c0a2b3d4d9 #1730 Create complete book feature 2016-02-09 14:51:55 +02:00
Qingping Hou
7625621c84 feat(ui): support text alignment in TextBoxWidget 2016-02-08 23:16:06 -08:00
Alex Pletnev
0f9bfbf147 #1730 Create complete book feature 2016-02-08 18:16:55 +02:00
Qingping Hou
1609becd61 Merge pull request #1772 from dset0x/frontlight-sync
WIP Synchronise frontlight level with nickel config
2016-02-01 21:15:00 -08:00
Qingping Hou
5a3b9c6856 style: make staick-check happier 2016-01-31 15:08:24 -08:00
Qingping Hou
59e791db82 feat: support numeric input for keyboard only devices 2016-01-31 15:08:13 -08:00
Qingping Hou
0a492bee3c add(ui): topcontainer 2016-01-31 14:58:06 -08:00
Qingping Hou
68ead0c9b2 feat(inputcontainer): support showing inputcontainer without content 2016-01-31 14:58:05 -08:00
Qingping Hou
72b0b8197b style(inputdialog): rename self.input to self.input_widget 2016-01-31 14:58:05 -08:00
Dimitrios Semitsoglou-Tsiapos
699781de68 nickel_conf: handle missing file/key/section 2016-01-12 16:22:37 +02:00
Dimitrios Semitsoglou-Tsiapos
eb47c5a39f Synchronise frontlight level with nickel config
* Drops support for mocking the frontlight setting internally which may
  cause incorrect in-memory values.

* Adds new supported value for `KOBO_LIGHT_ON_START` (-2), which sets
  'Kobo eReader.conf' as the source to update `settings.reader.lua`'s
  brightness setting on startup, thus using the value from it
  indirectly.

* Adds the `KOBO_SYNC_BRIGHTNESS_WITH_NICKEL` configuration variable
  which updates 'Kobo eReader.conf' every time the brightness setting is
  changed within koreader.

* Fixes missing call to save brightness when modifying via two-finger
  swipe.

Closes #1523.
2016-01-11 23:30:22 +02:00
Qingping Hou
6fe9f7870b chore: more luacheck fixes 2016-01-03 01:18:54 -08:00
Qingping Hou
3b92bdc084 feat: support screenshot in filemanager 2016-01-03 00:47:44 -08:00
Qingping Hou
4759def09c chore: fix static-check errors 2016-01-02 23:45:23 -08:00
Qingping Hou
b1a1aeca0a fix(task scheduler): many race conditions
_checkTasks first get number of tasks in the stack and does a numeric
for loop to go through each task. The problem is a task might call
schedule or unschedule, which will reorder tasks in the stack. This will
invalidate many of the table indexes used in the for loop.

This patch turns the task stack into an ordered queue, so _checkTasks
only pops one item out of the queue each time instead of setting up a
for loop at the beginning. This should avoid the race condition
mentioned above.
2015-12-26 12:59:48 -08:00
chrox
394c9cf948 fix dimen returned by getSize used as dimen in inputcontainer 2015-10-26 23:53:07 +08:00
chrox
55ba1450d4 code refactoring: use hash table index instead of loop 2015-10-22 23:15:41 +08:00
frankyifei
86d6d46770 add isKindle check 2015-10-22 23:49:34 +10:30