backends/brass/brass_database.cc,backends/chert/chert_database.cc,
backends/flint/flint_database.cc,net/remoteconnection.cc,
tests/api_replicate.cc: Pass O_BINARY when opening replication
related files in some places where we weren't before, which will
probably help solve bugs such as #472.  Changes are roughly
equivalent in effect to r16961 and r16962 on trunk, but done in a
very different way to be less invasive.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17007 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
configure.ac: Update comment - we've supported the prog backend on
Windows for more than 5 years now!

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17008 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
configure.ac: Expand comment about DJGPP.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17009 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS: Update from ChangeLog.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17010 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
omindex.cc: Calculate the md5 from the loaded file contents when
indexing SVG and Atom files.  Use a const ref to avoid a string
copy of the file contents for HTML and uncompressed ABI word.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17011 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
md5wrap.cc: If we get a read error while calculating the md5 checksum
of a file, fail rather than returning the checksum of the file up to
that point.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17012 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
Makefile.am: In automake, INCLUDES is now deprecated in favour of
AM_CPPFLAGS so update to use the latter.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17013 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
diritor.cc: MAGIC_MIME_TYPE was added in 4.22, so note that in the
comment about its conditional use.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17014 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
omindex.cc: When generating a sample for a CSV file, limit the
reserved size to the CSV file size as sample_size could be set
really high by the user.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17015 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
omindex.cc: Note default size limit on files to index is unlimited.
Update --help to reflect that --sample-size now accepts the same
formats as --max-size).

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17016 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Backport change from trunk:
commonhelp.cc: Tweak wording about default to match other options
better.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17017 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS: Format new entries.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17018 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS: Format new entries.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17019 6b2f1b92-a4f3-0310-943f-de3cbe41748b
README,php/docs/index.html: Document problem with PHP 5.4.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17020 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS,configure.ac: Updated for 1.2.13.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17021 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS,configure.ac: Update for 1.2.13.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17022 6b2f1b92-a4f3-0310-943f-de3cbe41748b
NEWS,configure.ac: Update for 1.2.13.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17023 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Update for 1.2.13.0


git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17024 6b2f1b92-a4f3-0310-943f-de3cbe41748b
AUTHORS: Update for 1.2.13.

git-svn-id: file:///home/xapian-svn/xapian/branches/1.2@17025 6b2f1b92-a4f3-0310-943f-de3cbe41748b