Android: add core method returning the words on a page
Android: add text selection

although not actually do anything with the selection yet
Android: implement text selection in separate class for future reuse

Also invalidate search view on every select box change and
avoid creating multiple get-text tasks
Android: implement copying of selected text to clipboard
Update openjpeg with fixes
Bug 693546: Improve Bitmap recycling in Android app.

Thanks to Andre Ferreira for bringing this up and submitting a
patch. (Andre should have &eacute, but this upsets git/my editor, sorry!)

Change BitmapHolder handling so that we explicitly recycle bitmaps.
Old versions of Android need this to avoid bitmaps 'sticking' in
memory, and it doesn't hurt on new versions.

Also, explicitly empty the bitmap holder before creating a new
bitmap. This avoids us holding more than one copy of the (potentially
large) bitmaps.
Bug 693547: Android external hyperlink support

Paul had written code before to detect clicks on hyperlinks, but
we hadn't actually done anything with these clicks once detected.
Andre Ferreira supplied a couple of lines of Android magic to form
the Intent from the URL and execute it. Incorporate that here.
(Andre should have &eacute; but this upsets git/my editor, sorry)

As part of this patch, we now respond to links at a higher priority
than the left/right clicks to flip pages (but only if link following
mode is enabled).
Bug 693503: Fix NULL dereference in atoi.

If a PDF xref subsection is broken in the wrong place, we can get
NULL back from fz_strsep, which causes a SEGV when fed to atoi.

Add a new fz_atoi that copes with NULL to avoid this.

Problem found in a test file, 3959.pdf.SIGSEGV.ad4.3289 supplied
by Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google
Security Team using Address Sanitizer. Many thanks!
Attempt to fix SEGVs seen in fax decoder.

Talking to zeniko, he reports that SEGVs still occur in find_changing
within the fax decoder; he doesn't have an example that shows the
problem though (either one he can share, or one he cannot). Presumably
he has some sort of online feedback thing in the event of crashes.

Having stared at the code for a while, I see a potential problem.
I think the code may read too many bytes in the case where we
are entered with x already within the last byte of w. (i.e. where
x >= ((w-1)>>3)<<3). Fixed here.
Revert "Update openjpeg with fixes"

This reverts commit 57c0f109b4c0d13813ca6cbc463468b503f91048
which slipped through when it should not have.
Bug 693519: Replace char * with const char * in open document.

Simple patch to replace const char * with char *. I made the patch
myself, but I suspect it's extremely close to the one submitted
by Evgeniy A Dushistov, who reported the bug - many thanks!
Bug 693545: Extend pdfwrite to remove identical streams.

When writing pdf files, we currently have the option to remove duplicate
copies of objects; all streams are treated as being different though.

Here we add the option to spot duplicate streams too.

Based on a patch submitted by Heng Liu. Many thanks!
Bug 693534: 0 bits of antialiasing broken

When I optimised sharp edge rendering back in commit 720859d,
I made a mistake that can result in broken renderings.

Fixed here. Thanks for Dan Waleke for reporting this.
Use $DESTDIR in Makefile install target.