Merge pull request #258 from hwhw/master

fix debug message
Update freetype
Match the stock reader more closely on Kindle...

Regarding the hist_*_waveform_mode fields of an update
Get rid of some magic numbers, for my sanity
Handle REAGL waveforms for Kobo devices

... Quick'n dirty, need an actual check to differentiate between
phoenix|dahlia and everyone else.
Minor comment tweaks
Or am I dreaming?
Oops, fix MXCFB_WAIT_FOR_UPDATE_COMPLETE on Kobo...
Why not be optimistic?

Detect the Voyage as REAGL-aware ;).
Update our frankensteined mxcfb-kindle.h header...

Merge the changes found in FW 5.5.0 (Kindle Voyage), and
FW 5.6.0.1 (Kindle Basic).
Revamp the wait for marker stuff.

Shuffle the logic around, and make it smarter.
Relies on the relevant changes in koreader.
Simplify the wait_for_marker logic

Only wait for the previous update when queuing FULL updates.
Since all REAGL updates are FULL, this is good enough.

Always use MXCFB_WAIT_FOR_SUBMISSION on REAGL-awaire Kindle devices.
This might prove to be overkill, in which case we could get rid of the
whole refresh() signature change, since a simple check for refreshtype
FULL would be enough :).
Fix previous commit.

Awesome typo. >_<"
Add a note about the whole wait_for_marker thing
Update ffi mxcfb stuff...

Preparation for the next commit :).
Don't duplicate the mxcfb constants

Get them via ffi instead.
Re-hardcode that one, it's not in the Kobo headers

...
Tweak a comment
Update FT
Tweak a comment