Update iOS app for rect/matrix pass by reference.
Apple broke external scripts yet again.

Disable the automatic "make generate" step from the build, since it
doesn't work anymore. There appears to be some hidden environment
setting used by the compiler which breaks external make compiling
for host while Xcode is set to cross compile.

This is a pointless waste of time to track down and fix, so now you
will have to run the "make generate" step manually.
Bump version number strings and dates for 1.2 release.
Update doc/example.c for passing rect/matrix by reference.
Update doc/multi-threaded.c for passing rect/matrix by reference.
Add CHANGES file.
Redraw reflow icons in Xara to get better antialiasing.
Android: highlight reflow icon when in reflow mode
Update jbig2dec thirdparty to latest.
Change to Affero license.
Fix whitespace.
Bug 693639: Use strlcpy instead of strncpy!

strncpy is *not* the correct function to use. It does not null terminate,
and it needlessly zeroes past the end. It was designed for fixed length
database records, not strings. Use fz_strlcpy and strlcat instead.
Bug 693639: fix potential NULL pointer dereference in base_context.c

Thanks to zeniko.
Bug 693639: fix incomplete error handling in null device.

Thanks to zeniko.
Bug 693639: don't take references on global (static) resource objects.

Thanks to zeniko.
Bug 693639: fix integer overflow in image_tiff.c

Thanks to zeniko.
Bug 693639: plug various memory leaks.

Thanks to zeniko.

Also ensure that pdf_free_annot copes with NULL.
Bug 693639: bring fitz.h in line with source use of restrict keyword.

Thanks to zeniko.
Bug 693639: fix warnings.

Thanks to zeniko.
Bug 693639: allow OpenXPS extension and XML namespaces.

Thanks to zeniko.