richard | 1 Mar 2009 13:46

11973: branches/geospatial/xapian-core/ branches/geospatial/xapian-core/geospatial/ branches/geospatial/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11973
Date:           2009-03-01 12:46:42 +0000 (Sun, 01 Mar 2009)

Log message (3 lines):
geospatial/latlong_posting_source.cc,include/xapian/geospatial.h:
Update to work with new posting source API, and be a subclass of
ValuePostingSource.

Modified files:
U   branches/geospatial/xapian-core/ChangeLog
U   branches/geospatial/xapian-core/geospatial/latlong_posting_source.cc
U   branches/geospatial/xapian-core/include/xapian/geospatial.h

Links:
http://xapian.org/C?11973
http://xapian.org/C?11973?branches/geospatial/xapian-core/ChangeLog
http://xapian.org/C?11973?branches/geospatial/xapian-core/geospatial/latlong_posting_source.cc
http://xapian.org/C?11973?branches/geospatial/xapian-core/include/xapian/geospatial.h
richard | 1 Mar 2009 14:08

11974: trunk/xapian-core/ trunk/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11974
Date:           2009-03-01 13:08:20 +0000 (Sun, 01 Mar 2009)

Log message (5 lines):
include/xapian/postingsource.h: Add comments as discussed in
ticket #295 to make clear that in a multi-database search,
PostingSources are passed a single sub-database.  Also mention
that the returned value of clone() will be deallocated with
delete.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/include/xapian/postingsource.h

Links:
http://xapian.org/C?11974
http://xapian.org/C?11974?trunk/xapian-core/ChangeLog
http://xapian.org/C?11974?trunk/xapian-core/include/xapian/postingsource.h
richard | 1 Mar 2009 16:35

11975: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11975
Date:           2009-03-01 15:35:16 +0000 (Sun, 01 Mar 2009)

Log message (4 lines):
tests/api_db.cc: Fix MyDontAskWeightPostingSource to use the
database passed to reset(), rather than one passed to its
constructor.  This allows externalsource4 to be enabled for
multidatabases.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/api_db.cc

Links:
http://xapian.org/C?11975
http://xapian.org/C?11975?trunk/xapian-core/ChangeLog
http://xapian.org/C?11975?trunk/xapian-core/tests/api_db.cc
richard | 1 Mar 2009 18:50

11976: trunk/xapian-core/ trunk/xapian-core/matcher/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11976
Date:           2009-03-01 17:50:17 +0000 (Sun, 01 Mar 2009)

Log message (4 lines):
matcher/mergepostlist.cc: Fix ticket #336 by calling
recalc_maxweight when a sub-posting list finishes (other than
after the last one, where there is no point in calling
recalc_maxweight).

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/matcher/mergepostlist.cc

Links:
http://xapian.org/C?11976
http://xapian.org/C?11976?trunk/xapian-core/ChangeLog
http://xapian.org/C?11976?trunk/xapian-core/matcher/mergepostlist.cc
richard | 1 Mar 2009 19:19

11977: trunk/xapian-core/ trunk/xapian-core/backends/inmemory/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11977
Date:           2009-03-01 18:19:49 +0000 (Sun, 01 Mar 2009)

Log message (1 line):
backends/inmemory/inmemory_document.h: Fix a typo in a comment.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/inmemory/inmemory_document.h

Links:
http://xapian.org/C?11977
http://xapian.org/C?11977?trunk/xapian-core/ChangeLog
http://xapian.org/C?11977?trunk/xapian-core/backends/inmemory/inmemory_document.h
richard | 1 Mar 2009 19:21

11978: trunk/xapian-core/ trunk/xapian-core/backends/inmemory/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11978
Date:           2009-03-01 18:21:18 +0000 (Sun, 01 Mar 2009)

Log message (6 lines):
backends/inmemory/inmemory_alltermslist.cc,
backends/inmemory/inmemory_database.cc,
backends/inmemory/inmemory_database.h: Add a flag to mark whether
the database is closed, and add guards before all methods which
access content which goes away when the database is closed, to
raise an exception if the database is closed.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/inmemory/inmemory_alltermslist.cc
U   trunk/xapian-core/backends/inmemory/inmemory_database.cc
U   trunk/xapian-core/backends/inmemory/inmemory_database.h

Links:
http://xapian.org/C?11978
http://xapian.org/C?11978?trunk/xapian-core/ChangeLog
http://xapian.org/C?11978?trunk/xapian-core/backends/inmemory/inmemory_alltermslist.cc
http://xapian.org/C?11978?trunk/xapian-core/backends/inmemory/inmemory_database.cc
http://xapian.org/C?11978?trunk/xapian-core/backends/inmemory/inmemory_database.h
richard | 1 Mar 2009 19:23

11979: trunk/xapian-core/ trunk/xapian-core/include/xapian/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11979
Date:           2009-03-01 18:23:44 +0000 (Sun, 01 Mar 2009)

Log message (4 lines):
include/xapian/database.h: Update documentation comments for
reopen() and close() to document the API we're aiming for (ie,
that closed databases either return the right result from cache,
or raise a DatabaseError).

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/include/xapian/database.h

Links:
http://xapian.org/C?11979
http://xapian.org/C?11979?trunk/xapian-core/ChangeLog
http://xapian.org/C?11979?trunk/xapian-core/include/xapian/database.h
richard | 1 Mar 2009 20:35

11980: trunk/xapian-core/ trunk/xapian-core/backends/chert/ trunk/xapian-core/backends/flint/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11980
Date:           2009-03-01 19:35:46 +0000 (Sun, 01 Mar 2009)

Log message (6 lines):
backends/chert/chert_table.cc,backends/flint/flint_table.cc:
Add a few guards to throw DatabaseError when the database has
been permanently closed, rather than behaving as if the table is
empty in that situation.  Also, don't delete the resources in the
table when Database::close() is called, because they may still be
used to attempt to look up cached content.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/chert/chert_table.cc
U   trunk/xapian-core/backends/flint/flint_table.cc

Links:
http://xapian.org/C?11980
http://xapian.org/C?11980?trunk/xapian-core/ChangeLog
http://xapian.org/C?11980?trunk/xapian-core/backends/chert/chert_table.cc
http://xapian.org/C?11980?trunk/xapian-core/backends/flint/flint_table.cc
richard | 1 Mar 2009 20:42

11981: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     richard
Revision:       11981
Date:           2009-03-01 19:42:27 +0000 (Sun, 01 Mar 2009)

Log message (6 lines):
tests/api_closedb.cc: Merge closedb1 and closedb2 into a single
test, and add lots more checking to it.  Rename closedb3 to
closedb2, to avoid leaving an odd gap.  closedb1 needs more work,
but is a useful start; committing now, rather than once I've done
this work, since the old test is failing in buildbot, and I don't
want to get in the way of snapshot tarballs.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/api_closedb.cc

Links:
http://xapian.org/C?11981
http://xapian.org/C?11981?trunk/xapian-core/ChangeLog
http://xapian.org/C?11981?trunk/xapian-core/tests/api_closedb.cc
olly | 2 Mar 2009 04:20

11982: trunk/xapian-core/ trunk/xapian-core/matcher/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11982
Date:           2009-03-02 03:20:05 +0000 (Mon, 02 Mar 2009)

Log message (2 lines):
matcher/mergepostlist.cc: Change "do { ... } while (true);" to the
more usual "while (true) { ... }".

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/matcher/mergepostlist.cc

Links:
http://xapian.org/C?11982
http://xapian.org/C?11982?trunk/xapian-core/ChangeLog
http://xapian.org/C?11982?trunk/xapian-core/matcher/mergepostlist.cc

Gmane