letor_internal.h: Minor whitespace tweaks.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16608 6b2f1b92-a4f3-0310-943f-de3cbe41748b
htmlparsetest.cc,myhtmlparse.cc,myhtmlparse.h: Change parsing of
multiple <body> tags and text outside of <body> to match the
behaviour if modern web browsers.  (ticket#599)

git-svn-id: file:///home/xapian-svn/xapian/trunk@16609 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Commit empty m4 directory.


git-svn-id: file:///home/xapian-svn/xapian/trunk@16610 6b2f1b92-a4f3-0310-943f-de3cbe41748b
backends/brass/,backends/chert/: After closing the database, methods
which try to use the termlist would throw FeatureUnavailableError
with message "Database has no termlist", assuming that the termlist
table not being open meant it wasn't present.  Fix to check if the
postlist_table is open to determine which case we're in.
tests/api_closedb.cc: Improve test coverage for closed databases.
(ticket#337)

git-svn-id: file:///home/xapian-svn/xapian/trunk@16611 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/api_closedb.cc: We now test almost all methods of Database
and WritableDatabase after calling close().  (ticket#337)

git-svn-id: file:///home/xapian-svn/xapian/trunk@16612 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/Makefile.am: Pass -ldl last when compiling zlib-vg.so, as that
seems to be needed on Ubuntu 12.04.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16613 6b2f1b92-a4f3-0310-943f-de3cbe41748b
backends/inmemory/inmemory_database.cc: Check if the database is
closed when asked to iterate metadata keys.  Fixes recently added
testcase closedb10 for inmemory.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16614 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/runtest.in: Fix comment typo.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16616 6b2f1b92-a4f3-0310-943f-de3cbe41748b
tests/runsrv.in: Add explanation of why we have this script.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16617 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/queryinternal.cc,api/queryinternal.h: Drop MatchNothing
subqueries in OR-like situations in add_subquery() rather than
adding them and then handling it later.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16620 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/queryinternal.cc: Handle QueryAndLike with a MatchNothing
subquery in add_subquery() rather than done().

git-svn-id: file:///home/xapian-svn/xapian/trunk@16621 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/queryinternal.cc: Handle the left side of AND_NOT and
AND_MAYBE being MatchNothing in add_subquery() rather than
in done().

git-svn-id: file:///home/xapian-svn/xapian/trunk@16622 6b2f1b92-a4f3-0310-943f-de3cbe41748b
configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
VPATH build using a release tarball.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16623 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/,include/xapian/query.h: Rework QueryBranch to use a special
QueryVector class rather than std::vector<Xapian::Query>.  The
special class is no bigger than std::vector<Xapian::Query>, and
handles up to two entries by holding them within the object (at
least GCC's std::vector doesn't currently do this space optimisation)
which significantly reduces the memory used by a pairwise operator,
which is very desirable as we no longer flatten a tree of the same
pairwise operator as we build the query.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16624 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/valuesetmatchdecider.cc,include/xapian/valuesetmatchdecider.h:
"Limited" to "Ltd" in (C) two statements, for consistency (and with
Charlie's agreement on IRC).

git-svn-id: file:///home/xapian-svn/xapian/trunk@16625 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/queryparser.h,queryparser/queryparser.lemony:
Add new QueryParser::STEM_ALL_Z stemming strategy, which stems all
terms and adds a Z prefix.  (Patch from Sehaj Singh Kalra, fixes
ticket#562)
tests/queryparsertest.cc: Add test coverage for
QueryParser::STEM_ALL_Z.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16626 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/queryparser.h: Add doc comment for stem_strategy
typedef.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16627 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/termgenerator.h,queryparser/termgenerator.cc,
queryparser/termgenerator_internal.cc,
queryparser/termgenerator_internal.h: Add
TermGenerator::set_stemming_strategy() method, with strategies which
correspond to those of QueryParser.  Based on patch from Sehaj Singh
Kalra, with some tweaks for adding term positions in more cases.
(Fixes ticket#563)
tests/termgentest.cc: Add test coverage for the new features.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16628 6b2f1b92-a4f3-0310-943f-de3cbe41748b
backends/flint_lock.h: Mark FlintLock::throw_databaselockerror() as
XAPIAN_NORETURN.

git-svn-id: file:///home/xapian-svn/xapian/trunk@16629 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/weight.h: Fix documentation comment typo ("k1" ->
"k").

git-svn-id: file:///home/xapian-svn/xapian/trunk@16630 6b2f1b92-a4f3-0310-943f-de3cbe41748b