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

4415 Commits

Author SHA1 Message Date
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
chrox
55ba1450d4 code refactoring: use hash table index instead of loop 2015-10-22 23:15:41 +08:00
Huang Xin
98bf9f21fd Merge pull request #1687 from NiLuJe/master
Play with the Kobo suspend script...
2015-10-22 21:20:07 +08:00
frankyifei
86d6d46770 add isKindle check 2015-10-22 23:49:34 +10:30
NiLuJe
f9925a8c82 Play with the Kobo suspend script...
Because apparently it's not behaving as it should? IDK...
2015-10-22 14:16:05 +02:00
frankyifei
1f14a9e80d try to exclude those broken system fonts
these fonts can not be used by freetype and will cause hang up
2015-10-22 19:32:21 +10:30
chrox
42d139ce07 enlarge maximum cache size to reflect hardware development in the last 4 years
Actually I'm not sure if the hardware manufacturers double their RAM in
the last 4 years. Moore's law? Are you kidding me?
This should close #1672.
2015-10-21 23:04:50 +08:00
chrox
fb073c4d63 fix kobo touch probe
The KOBO_TOUCH_MIRRORED is only used when init input device,
after the initialization setting it will have no effect on the
event adjust hook.
2015-10-21 22:53:39 +08:00
Qingping Hou
46aed752c7 Merge pull request #1680 from erosennin/opds-title
OPDS: fix parsing entry titles on ManyBooks (and possible other sites)
2015-10-18 15:43:55 -07:00
Qingping Hou
8cff0f3ba9 Merge pull request #1679 from erosennin/opds-author
OPDS: include author's name into the file name
2015-10-18 15:40:42 -07:00
Andrey Golovizin
63e0605080 OPDS: fix entry titles on ManyBooks 2015-10-18 21:39:29 +02:00
Andrey Golovizin
dbac03e5f4 OPDS: include author's name into the file name 2015-10-18 19:54:54 +02:00