java/Makefile.am: Don't automatically pass -g to javac when in
maintainer-mode, as the two should really be orthogonal.  Instead
use JAVACFLAGS when running JAVAC to allow extra flags to be
specified by running "make JAVACFLAGS=-g".

git-svn-id: file:///home/xapian-svn/xapian/trunk@17030 6b2f1b92-a4f3-0310-943f-de3cbe41748b
java/run-java-test: Document how to run tests under gdb.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17031 6b2f1b92-a4f3-0310-943f-de3cbe41748b
configure.ac,generic/generic.mk: Improve workaround which allows
building against an uninstalled xapian-core on OS X - this should
now work with any uninstalled xapian-core (not only in a tree
with the same layout as an SVN or git checkout) and it also won't
try to build against "../xapian-core/.libs" just because it happens
to exist.  (Fixes #322)

git-svn-id: file:///home/xapian-svn/xapian/trunk@17032 6b2f1b92-a4f3-0310-943f-de3cbe41748b
api/omenquire.cc: Don't cache documents retrieved by
MSet::get_document() unless they were requested with fetch().  This
avoids using a lot of memory when many MSet entries are retrieved.
(Fixes #604)

git-svn-id: file:///home/xapian-svn/xapian/trunk@17033 6b2f1b92-a4f3-0310-943f-de3cbe41748b
ruby/smoketest.rb: Extend testcase to check returned MSet size.

git-svn-id: file:///home/xapian-svn/xapian/trunk@17034 6b2f1b92-a4f3-0310-943f-de3cbe41748b
HACKING,Makefile.am: Rename CHK_SOURCES to check_sources - variables
ending _SOURCES usually have a special meaning in automake, so it's
confusing to have one which doesn't.

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