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

12 Commits

Author SHA1 Message Date
Tigran Aivazian
609089629c Cleanup InfoMessage:inform() API and its usage
This patch changes the second argument of InfoMessage:inform() function
to be either DINFO_DELAY or DINFO_NODELAY with the following
semantics:

DINFO_DELAY - display the message and delay DINFO_DELAY ms before
returning. Save and restore the screen content.

DINFO_NODELAY - display the message and return immediately without
saving/restoring the screen content.

Also, tidy up the call to modBBox() from Shift-X command handler, it
should be unireader:modBBox() and not self:modBBox(unireader) --- there
is no need to pass the reader object to the :modBBox() method.
2012-11-15 13:35:41 +00:00
Tigran Aivazian
fd0120ad69 Bugfix: toggle popup windows don't disappear
Thanks to kai771's idea of setting the value of DINFO_TIMEOUT_FAST=1
(in defaults.lua) we can still have the same behaviour of calls to
InfoMessage:inform(..DINFO_TIMEOUT_FAST..) on both the emulator and the
Kindle without the need to manually refresh the page after the call.
Also, now we don't need to set pagedirty=true in filechooser when
displaying a popup window with DINFO_TIMEOUT_FAST flag.
Also, add space to the end of the text messages passed to :inform() for
symmetry.
2012-11-14 19:38:05 +00:00
kai771
5a3eca91d2 moved comment about pdb from readerchooser.lua to defaults.lua 2012-11-14 19:44:02 +01:00
kai771
b14d79d225 Adds zip ext to PDFReader and makes extensions accesible through defaults.lua
A lot of manga comes as .zip, and not .cbz (for all intents and purposes, it
is the same thing, just the extension is different). This allows the user to
choose the reader to open her zip files - PDFReader or CREReader, in the same
way she can choose to use PDFReader or PDFReflow for pdf files. I also moved
the list of supported extensions to defaults.lua.
2012-11-14 17:41:02 +01:00
kai771
c12a02f236 DINFO_TIMEOUT_SLOW set to 1500 2012-11-12 00:12:39 +01:00
kai771
9c6ad7387a info_timeout2 - fixes issues reported by tigran123 in #560 2012-11-11 23:33:26 +01:00
kai771
12974cffbe enable overlap in comics_mode 2012-11-11 18:31:56 +01:00
kai771
39eb6e5e29 Info_timeout in emulator and defaults.lua clean-up 2012-11-11 15:31:55 +01:00
kai771
3293acd3a3 Implements page mode as a toggle 2012-11-09 00:58:40 +01:00
Tigran Aivazian
15aee5f4f2 Make battery logging optional, disabled by default
The key that toggles the battery logging is ALT+KEY_DOT and it works
both in the readers and filechooser.
2012-11-05 20:02:06 +00:00
kai771
84aa00bbe4 adds DBACKGROUND_COLOR to defaults 2012-11-04 17:22:28 +01:00
kai771
255aa6c761 fixes suggested by tigran123 2012-11-04 15:51:00 +01:00