Commit Graph

4457 Commits

Author SHA1 Message Date
Qingping Hou f1c8c5e594 Merge pull request #1787 from koreader/chrox-master
add auto refresh time option for status bar, close #1769
2016-02-03 20:18:52 -08:00
chrox 41d3642467 add auto refresh time option for status bar, close #1769 2016-02-04 11:28:50 +08:00
Huang Xin 1dff6c7bc6 Merge pull request #1784 from koreader/houqp-master
minor FM fix
2016-02-02 23:07:43 +08: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 fb0606aa9c style(FM): rename internal only method into function 2016-02-01 18:25:33 -08:00
Qingping Hou 34515484d1 fix: remove invalid setDirty in FileManager:restoreScreenMode 2016-02-01 18:25:33 -08:00
Huang Xin 1c64335e7d Merge pull request #1783 from houqp/keyboard
support input for keyboard only devices like kindle k3 and dxg
2016-02-02 10:05:57 +08:00
Qingping Hou b480145134 build: add kodev script 2016-02-01 00:26:07 -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 0e8eb3320c minor(build): replace comment with echo 2016-01-31 14:58:05 -08:00
Qingping Hou 5cca28fabc feat(util): add array.Append helper 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
Qingping Hou e19f73bdba style(util): rename tablelength to tableSize 2016-01-31 14:58:05 -08:00
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