expand.cc: Fix warning when built with GCC 4.7.2 using -Os.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17922 6b2f1b92-a4f3-0310-943f-de3cbe41748b
expand.cc: Fix mis-indentation of two lines.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17923 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Use latest SWIG trunk (3.0.0 + a few fixes)


git-svn-id: file:///home/xapian-svn/xapian/trunk@17924 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/stem.h,languages/Makefile.mk,
languages/earlyenglish.sbl,languages/stem.cc,tests/api_stem.cc:
Add an early english stemmer.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17925 6b2f1b92-a4f3-0310-943f-de3cbe41748b
configure.ac: Don't report Python version twice if it's too new or
too old.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17926 6b2f1b92-a4f3-0310-943f-de3cbe41748b
python/Makefile.am,python3/Makefile.am: Pass
-DSWIG_PYTHON_LEGACY_BOOL to SWIG to revert strict bool typemap to
the more Pythonic older typemap.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17927 6b2f1b92-a4f3-0310-943f-de3cbe41748b
lua/smoketest.lua: Change expect() parameter order to the more
natural (got, expected), which most of the calls already used,
and fix up the few calls which passed (expected, got).

git-svn-id: file:///home/xapian-svn/xapian/trunk@17928 6b2f1b92-a4f3-0310-943f-de3cbe41748b
lua/smoketest.lua: Whitespace tweak.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17929 6b2f1b92-a4f3-0310-943f-de3cbe41748b
lua/docs/index.rst: RST source formatting tweak.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17930 6b2f1b92-a4f3-0310-943f-de3cbe41748b
lua/docs/index.rst: Note that constants can now be accessed using
CLASS.CONSTANT as well as CLASS_CONSTANT.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17931 6b2f1b92-a4f3-0310-943f-de3cbe41748b
include/xapian/termgenerator.h: Make TermGenerator flags an
anonymous enum, and typedef TermGenerator::flags to int for backward
compatibility with existing user code which uses it.  (fixes #616)

git-svn-id: file:///home/xapian-svn/xapian/trunk@17932 6b2f1b92-a4f3-0310-943f-de3cbe41748b
java/SmokeTest.java: Add testcase that FLAG_SPELLING is now wrapped
in a usable way.  (see #616)

git-svn-id: file:///home/xapian-svn/xapian/trunk@17933 6b2f1b92-a4f3-0310-943f-de3cbe41748b
matcher/localsubmatch.cc: Don't refetch the termfreq if we already
have it.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17934 6b2f1b92-a4f3-0310-943f-de3cbe41748b
matcher/localsubmatch.cc,weight/weight.cc,weight/weightinternal.cc,
weight/weightinternal.h: Replace Weight::Internal methods to get
termfreq, reltermfreq and colltermfreq with a single inlined
get_stats() method, which only needs to search the map once.
Shaves ~1.6% off the time to do a wildcard query with a lot of
terms.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17935 6b2f1b92-a4f3-0310-943f-de3cbe41748b
backends/remote/remote-database.cc,net/remoteserver.cc,
net/serialise.cc,net/serialise.h: Avoid returning
Xapian::Weight::Internal by value from unserialise_stats().

git-svn-id: file:///home/xapian-svn/xapian/trunk@17936 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/omenquire.cc,api/omenquireinternal.h,common/submatch.h,matcher/,
net/remoteserver.cc,net/serialise.cc,weight/weight.cc,
weight/weightinternal.cc,weight/weightinternal.h: Eliminate the
map<string, TermFreqAndWeight> in MSet::Internal, and instead just
preserve the Weight::Internal object there as that holds all the
information we need.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17937 6b2f1b92-a4f3-0310-943f-de3cbe41748b
weight/weightinternal.cc: Enhance
Weight::Internal::get_description() to report TermFreqs.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17938 6b2f1b92-a4f3-0310-943f-de3cbe41748b
net/serialise.cc,weight/weightinternal.h: Make Weight::Internal
track if any max_part values are set, so we don't need to
serialise them when they've not been set.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17939 6b2f1b92-a4f3-0310-943f-de3cbe41748b
perl/Makefile.am: Perl tests are ordering-dependent, so
use .NOTPARALLEL to avoid problems during parallel builds.


git-svn-id: file:///home/xapian-svn/xapian/trunk@17940 6b2f1b92-a4f3-0310-943f-de3cbe41748b
Fix messed-up ChangeLog.


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