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
04ad3bcfe5
Merge pull request #1765 from etdub/patch-1
...
Fix typo
2016-01-04 12:17:50 -08:00
Eric
c8250a92f1
Fix typo
2016-01-04 12:17:10 -08:00
Huang Xin
5ca62eb323
Merge pull request #1763 from houqp/houqp-master
...
support screenshot in filemanager
2016-01-04 21:21:27 +08:00
Qingping Hou
1faf614bdd
fix base version
2016-01-03 01:21:41 -08:00
Qingping Hou
6fe9f7870b
chore: more luacheck fixes
2016-01-03 01:18:54 -08:00
Qingping Hou
2dc5eb8586
minor: no need to override function arg with local
2016-01-03 01:08:26 -08:00
Qingping Hou
9c46cafc9c
chore: fix luacheck warning
2016-01-03 00:56:55 -08:00
Qingping Hou
3b92bdc084
feat: support screenshot in filemanager
2016-01-03 00:47:44 -08:00
Qingping Hou
83b35fc99a
minor: create git-rev inside install dir
2016-01-02 23:53:40 -08:00
Qingping Hou
4759def09c
chore: fix static-check errors
2016-01-02 23:45:23 -08:00
Qingping Hou
c06209265a
build: use install instead of mkdir -p
2016-01-02 23:45:23 -08:00
Qingping Hou
e2f4367f6e
Merge pull request #1762 from lgeek/master
...
Mark suspend.sh for Kobo as executable
2016-01-02 16:57:31 -08:00
Cosmin Gorgovan
856ec6d075
Mark suspend.sh for Kobo as executable
...
Otherwise suspend fails to work when running koreader from a FS
which supports execute permissions.
2016-01-03 00:32:10 +00:00
Huang Xin
f3dba98034
Merge pull request #1758 from houqp/fixscheduler
...
Fix scheduler in UIManager
2015-12-27 18:50:51 +08:00
Qingping Hou
5aefb41631
fix readerfooter spec
2015-12-26 14:20:51 -08:00
Qingping Hou
ab98097e72
add tests for scheduler
2015-12-26 12:59:57 -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
Huang Xin
4abedc3dee
Merge pull request #1757 from houqp/fixstats
...
Fix crashes casued by read stats in footer
2015-12-26 14:19:13 +08:00
Qingping Hou
55234ef899
fix: read stats crashes pdf/djvu documents
2015-12-25 20:57:11 -08:00
Qingping Hou
90d1101ab7
minor: quit uimanager properly on coroutine error
2015-12-25 20:35:58 -08:00
Huang Xin
bbde70fb3d
Merge pull request #1754 from houqp/fixstats
...
fix(ReaderFooter:getDataFromStatistics): return na if book has no stats history
2015-12-23 22:54:54 +08:00
Qingping Hou
41240464ca
minor: fail loudly with stack trace when doShowReader crashed
2015-12-23 00:01:43 -08:00
Qingping Hou
ffd438de18
fix(ReaderFooter:getDataFromStatistics): return na if book has no stats history
2015-12-22 22:35:46 -08:00
Huang Xin
be00e43daa
Merge pull request #1753 from frankyifei/fix-font
...
fix font
2015-12-22 23:09:02 +08:00
frankyifei
a33c1e91a1
fix showing space with "?"
2015-12-22 17:53:53 +10:30
Huang Xin
38ef2d6154
Merge pull request #1751 from apletnev/#1750
...
#1750 TB feature/statistics issue
2015-12-21 21:18:36 +08:00
Alex Pletnev
6bf9d75807
#1750 TB feature/statistics issue
...
Change time to read book formula to: ((total_read_time / read_pages) * (all_pages - current_page))
2015-12-21 08:49:03 +02:00
Huang Xin
16509e2d7f
Merge pull request #1727 from apletnev/#1723
...
#1723 Add time to read into the status bar
2015-11-28 07:56:51 +08:00
Alex Pletnev
ce4e32e01c
#1723 Add time to read into the status bar
...
Add new statuses:
TB - book time to read
TC - chapter time to read
Fix backward compatible in statistics plugin
2015-11-27 17:13:01 +02:00
Huang Xin
239ee06fb8
Merge pull request #1721 from apletnev/#1718
...
#1718 Save the statistics data into the history file
2015-11-26 23:24:57 +08:00
Alex Pletnev
daebb00f50
#1718 Save the statistics data into the history file
2015-11-23 21:37:36 +02:00
Huang Xin
151291da96
Merge pull request #1715 from NiLuJe/master
...
Update base
2015-11-15 17:28:26 +08:00
NiLuJe
b79e6fa0a3
Update base
2015-11-13 18:20:50 +01:00
Frans de Jonge
96062a3481
Merge pull request #1713 from chrox/fix_broken_busted
...
set busted version to busted-2.0.rc11-0
2015-11-10 20:08:43 +01:00
chrox
8233ab2518
update to busted-2.0.rc11-0
2015-11-10 21:45:48 +08:00
Huang Xin
9e0be45e4b
Merge pull request #1709 from apletnev/#1707
...
#1707 FR: Time to Read. Add "Time to read" into "current" section for…
2015-11-07 10:07:20 +08:00
Alex Pletnev
698374c948
#1707 FR: Time to Read. Add "Time to read" into "current" section for statistics plugin
2015-11-07 00:44:38 +02:00
Qingping Hou
01b2fea21d
Merge pull request #1708 from chrox/fix_1701
...
fix hold-to-set font size not effective
2015-11-06 09:13:39 -08:00
chrox
d00e391042
fix #1699
2015-11-06 23:11:21 +08:00
chrox
79e0f3fe65
fix hold-to-set font size not effective
2015-11-06 22:59:53 +08:00
Qingping Hou
6c51645bb4
Merge pull request #1696 from chrox/fix_flush_settings
...
fix FlushSettings event consumed by statistics plugin
2015-10-26 22:57:09 -07:00
chrox
394c9cf948
fix dimen returned by getSize used as dimen in inputcontainer
2015-10-26 23:53:07 +08:00
chrox
9d041fd5a3
fix FlushSettings event consumed by statistics plugin
...
so that ReaderUI cannot receive that event and all devices
don't flush settings when going into suspend or background.
2015-10-26 22:11:11 +08:00
Qingping Hou
9ccd1e7794
Merge pull request #1693 from chrox/fix_mcode_allocation
...
fix mcode allocation failure on Android
2015-10-25 00:50:30 -07:00
chrox
f3dbf9ce2e
move mmap workaround to android-luajit-launcher
2015-10-25 12:34:20 +08:00
chrox
3df4832265
fix mcode allocation failure on Android
...
This workaround makes a reservation of mmap slots that are hopefully
near the address of `mcode_alloc_at`. Then it unmaps those slots and
lets luajit allocate a large slot for mcode.
2015-10-24 23:35:21 +08:00
Qingping Hou
5dc899f5d2
Merge pull request #1684 from chrox/fix_kobo_touch_probe
...
fix kobo touch probe
2015-10-22 21:59:37 -07:00
Huang Xin
a600e61fe2
Merge pull request #1686 from frankyifei/2015-10-22
...
exclude those broken kindle system fonts
2015-10-23 08:40:59 +08:00
Yifei(Frank) ZHU
c955e71c84
Merge pull request #2 from chrox/frankyifei-2015-10-22
...
code refactoring: use hash table index instead of loop
2015-10-23 10:25:50 +10:30