Merge pull request #269 from giorgio130/master

Suspend support for kobos
Merge pull request #296 from giorgio130/master

Safer installing process for Kobos
fix wrong zoom value after returning from cropping dialog
synchronize hightlights in non-/reflowing modes
and there is no need to OCR word if we can extract text from
original page in reflowing mode thanks to the rect maps between
normal page and reflowed page.
Merge pull request #302 from chrox/master

synchronize highlights in non-/reflowing modes
emulator has keyboard now
free blitbuffer as soon as tile is kicked out from cache
other than waiting for the lazy garbage collector of lua
add DSHOWHIDDENFILES in defaults.lua
this should fix #239
update page info layout in menu
this should fix #281
fix toggle color inconsistency
change medium and large defect sizes to 3.0 and 5.0 respectively
add DEBUGBT function to traceback certain location
fix extra page rendering when starts up in landscape mode
remove chi_tra lang code in defaults.lua
add width param in ToggleSwitch
Merge pull request #303 from chrox/master

free blitbuffer as soon as tile is kicked out from cache
fix getAutoBBox failed bug
If getAutoBBox is fed with a blank page the returned bbox will be
much smaller than the native page dimensions. The problem is that
in zoom to 'content*' mode document renderer will try to render
the whole page at a zoom level that can cover the screen with the
bbox region of the page. That's if the blank page size is 3000*4000
and the returned autobbox is 300*400, the screen size is 600*800,
then the page will be rendered in 3000*(600/300)*4000*(800/400)
which is so large that the cache manager will not accept.

This patch just check if the returned autobbox is considerablely
much smaller than the native page dimensions. If so it will return
the manual bbox.

This patch should fix #293. And it's tested with the case provided
by @Markismus in #291.
Merge pull request #308 from chrox/master

fix getAutoBBox failed bug
use pixels from reflowed page when doing OCR in reflowing mode
I hope it will get back OCR accuracy as in build 545.
Merge pull request #310 from chrox/master

use pixels from reflowed page when doing OCR in reflowing mode