2
0
mirror of https://github.com/koreader/koreader synced 2024-11-16 06:12:56 +00:00
Commit Graph

4841 Commits

Author SHA1 Message Date
Qingping Hou
fab1f9572f ignore legacy build dir 2016-01-31 14:58:05 -08:00
Huang Xin
70872a99e9 Merge pull request #1781 from koreader/houqp-master
bump base
2016-01-25 19:47:30 +08:00
Qingping Hou
3e71e07488 bump base 2016-01-24 08:05:27 -08:00
Qingping Hou
0219a3501c Merge pull request #1775 from erosennin/hyphenation-auto
Automatically choose the hyphenation dictionary based on the document language
2016-01-22 00:26:11 -08:00
Andrey Golovizin
bb1d4c60b3 Choose hyphenation dict by document language 2016-01-21 17:01:01 +01:00
Andrey Golovizin
a8d4372949 Update base 2016-01-17 14:02:50 +01: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
Huang Xin
a97d06e527 Merge pull request #1766 from houqp/houqp-master
fix #1764 & bump koreader-base
2016-01-10 22:07:48 +08:00
Qingping Hou
a0d22ac06c update base 2016-01-09 16:52:06 -08:00
Qingping Hou
cc8e079548 doc: update description for KUAL 2016-01-09 15:51:24 -08:00
Qingping Hou
d1ca8bc494 fix(filemanager): delete document with settings 2016-01-09 12:12:10 -08:00
Qingping Hou
722eaed4b2 feat: docsettings:getSidecarDir 2016-01-09 12:12:10 -08:00
Qingping Hou
cdbc8e594d build: add dist-clean target 2016-01-09 12:12:10 -08:00
Frans de Jonge
bf38af41c2 Merge pull request #1768 from koreader/fix
fix: make screenshoter always active for filemanager
2016-01-09 11:03:41 +01:00
Qingping Hou
7caeae8701 fix: make screenshoter always active for filemanager 2016-01-08 23:30:02 -08: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