2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
koreader/frontend/ui
Hans-Werner Hilse 45cf927ee8 Fix double-check of task list
Since commit 12a76fee33, we had a potential
bug on the event mechanism:

It introduced (besides the checkTasks method itself) a second run of the
checkTasks() method. In the second run, however, scheduled events were
not taken into consideration in how long to wait for input events
afterwards.

So when the after the first run of checkTasks() there were new scheduled
tasks added to the task queue, they were not properly scheduled and
and depended on an already existing scheduled event or an input event
to trigger.

This might have led to unexpected order of execution (though the order
is not guaranteed by the task scheduling anyway!) or to events triggering
not at all until the next input event.
2014-11-14 09:12:46 +01:00
..
data Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
elements add option to turn off e-ink optimization 2014-11-06 13:16:35 +08:00
message fix run out of memory when receiving large files from Calibre 2014-09-29 14:22:33 +08:00
widget Make ScrollTextWidget updates regional 2014-11-12 15:55:30 +01:00
downloadmgr.lua fix #1034 by refactoring path chooser to a download manager 2014-10-28 17:14:06 +08:00
event.lua cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
font.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
geometry.lua fix #1011 2014-10-21 17:26:16 +08:00
gesturerange.lua range field in gesturerange can be function now 2014-07-24 22:08:26 +08:00
language.lua Minor English improvements. 2014-11-12 12:29:38 +01:00
networkmgr.lua Minor English improvements. 2014-11-12 12:29:38 +01:00
opdsparser.lua add OPDS support 2014-09-05 21:07:43 +08:00
otamanager.lua fix #1154 2014-11-13 14:43:20 +08:00
rendertext.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
screen.lua Refactoring hardware abstraction 2014-11-02 21:19:04 +01:00
screensaver.lua fix(screensaver): lastfile will be nil for fresh installation 2014-11-05 01:02:12 -05:00
timeval.lua fix typo 2014-06-08 19:56:42 +08:00
translator.lua don't require ssl.https since it cannot yet be built for win32 2014-09-25 22:33:06 +08:00
uimanager.lua Fix double-check of task list 2014-11-14 09:12:46 +01:00
wikipedia.lua don't require ssl.https since it cannot yet be built for win32 2014-09-25 22:33:06 +08:00