Commit Graph

4426 Commits (eb47c5a39fbabd07a45d79629ecf88c6a9fad557)
 

Author SHA1 Message Date
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.
9 years ago
Qingping Hou 04ad3bcfe5 Merge pull request #1765 from etdub/patch-1
Fix typo
9 years ago
Eric c8250a92f1 Fix typo 9 years ago
Huang Xin 5ca62eb323 Merge pull request #1763 from houqp/houqp-master
support screenshot in filemanager
9 years ago
Qingping Hou 1faf614bdd fix base version 9 years ago
Qingping Hou 6fe9f7870b chore: more luacheck fixes 9 years ago
Qingping Hou 2dc5eb8586 minor: no need to override function arg with local 9 years ago
Qingping Hou 9c46cafc9c chore: fix luacheck warning 9 years ago
Qingping Hou 3b92bdc084 feat: support screenshot in filemanager 9 years ago
Qingping Hou 83b35fc99a minor: create git-rev inside install dir 9 years ago
Qingping Hou 4759def09c chore: fix static-check errors 9 years ago
Qingping Hou c06209265a build: use install instead of mkdir -p 9 years ago
Qingping Hou e2f4367f6e Merge pull request #1762 from lgeek/master
Mark suspend.sh for Kobo as executable
9 years ago
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.
9 years ago
Huang Xin f3dba98034 Merge pull request #1758 from houqp/fixscheduler
Fix scheduler in UIManager
9 years ago
Qingping Hou 5aefb41631 fix readerfooter spec 9 years ago
Qingping Hou ab98097e72 add tests for scheduler 9 years ago
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.
9 years ago
Huang Xin 4abedc3dee Merge pull request #1757 from houqp/fixstats
Fix crashes casued by read stats in footer
9 years ago
Qingping Hou 55234ef899 fix: read stats crashes pdf/djvu documents 9 years ago
Qingping Hou 90d1101ab7 minor: quit uimanager properly on coroutine error 9 years ago
Huang Xin bbde70fb3d Merge pull request #1754 from houqp/fixstats
fix(ReaderFooter:getDataFromStatistics): return na if book has no stats history
9 years ago
Qingping Hou 41240464ca minor: fail loudly with stack trace when doShowReader crashed 9 years ago
Qingping Hou ffd438de18 fix(ReaderFooter:getDataFromStatistics): return na if book has no stats history 9 years ago
Huang Xin be00e43daa Merge pull request #1753 from frankyifei/fix-font
fix font
9 years ago
frankyifei a33c1e91a1 fix showing space with "?" 9 years ago
Huang Xin 38ef2d6154 Merge pull request #1751 from apletnev/#1750
#1750 TB feature/statistics issue
9 years ago
Alex Pletnev 6bf9d75807 #1750 TB feature/statistics issue
Change time to read book formula to: ((total_read_time / read_pages) * (all_pages - current_page))
9 years ago
Huang Xin 16509e2d7f Merge pull request #1727 from apletnev/#1723
#1723 Add time to read into the status bar
9 years ago
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
9 years ago
Huang Xin 239ee06fb8 Merge pull request #1721 from apletnev/#1718
#1718 Save the statistics data into the history file
9 years ago
Alex Pletnev daebb00f50 #1718 Save the statistics data into the history file 9 years ago
Huang Xin 151291da96 Merge pull request #1715 from NiLuJe/master
Update base
9 years ago
NiLuJe b79e6fa0a3 Update base 9 years ago
Frans de Jonge 96062a3481 Merge pull request #1713 from chrox/fix_broken_busted
set busted version to busted-2.0.rc11-0
9 years ago
chrox 8233ab2518 update to busted-2.0.rc11-0 9 years ago
Huang Xin 9e0be45e4b Merge pull request #1709 from apletnev/#1707
#1707 FR: Time to Read. Add "Time to read" into "current" section for…
9 years ago
Alex Pletnev 698374c948 #1707 FR: Time to Read. Add "Time to read" into "current" section for statistics plugin 9 years ago
Qingping Hou 01b2fea21d Merge pull request #1708 from chrox/fix_1701
fix hold-to-set font size not effective
9 years ago
chrox d00e391042 fix #1699 9 years ago
chrox 79e0f3fe65 fix hold-to-set font size not effective 9 years ago
Qingping Hou 6c51645bb4 Merge pull request #1696 from chrox/fix_flush_settings
fix FlushSettings event consumed by statistics plugin
9 years ago
chrox 394c9cf948 fix dimen returned by getSize used as dimen in inputcontainer 9 years ago
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.
9 years ago
Qingping Hou 9ccd1e7794 Merge pull request #1693 from chrox/fix_mcode_allocation
fix mcode allocation failure on Android
9 years ago
chrox f3dbf9ce2e move mmap workaround to android-luajit-launcher 9 years ago
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.
9 years ago
Qingping Hou 5dc899f5d2 Merge pull request #1684 from chrox/fix_kobo_touch_probe
fix kobo touch probe
9 years ago
Huang Xin a600e61fe2 Merge pull request #1686 from frankyifei/2015-10-22
exclude those broken kindle system fonts
9 years ago
Yifei(Frank) ZHU c955e71c84 Merge pull request #2 from chrox/frankyifei-2015-10-22
code refactoring: use hash table index instead of loop
9 years ago