Merge pull request #1018 from houqp/dxg

fix: various fixes for kindle dxg
show 50 ticks on the mini progress bar at most
expand/collapse TOC only by tap on the icon
Merge pull request #1019 from chrox/fix_1017

Fix #1017
use new FFI based mupdf API

This will use the new API where the Lua/C interface was used before
and also drop usage of mupdfimg wrapper which is now implemented
within the mupdf interface
update to latest base
fix #1013
Merge pull request #1020 from chrox/fix_1013

fix #1013
fix renderImage invocation
fix #1011
The #1011 bug is caused by the `contains` check of link box with
visible area. When the link is at the very right (left?) of
the page, enlarged link box often exceeds the page bound rendering
the mentioned `contains` check failed. This patch uses an `intersectWith`
test to check if the link is in current page.
Merge pull request #4 from chrox/fix_1014

fix renderImage invocation
Merge pull request #1014 from hwhw/master

use new FFI based mupdf API
Merge pull request #1021 from chrox/fix_1011

fix #1011
fix #1024
if toc item has expand/collapse state and tap select on the left side
the state switch action is triggered, otherwise goto the
linked page.
expand/collapse for the left one third region should be more resonable
optimize png image to grayscale mode
Merge pull request #1025 from chrox/fix_1024

fix #1024
protected call of mupdf.renderImage
fix #1028
update base to use new libcrengine