olly | 2 Aug 2008 03:46

11040: trunk/xapian-core/ trunk/xapian-core/backends/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11040
Date:           2008-08-02 02:46:01 +0100 (Sat, 02 Aug 2008)

Log message (3 lines):
backends/dbfactory.cc: Add support for "inmemory" to stub database
files (it's useful now they can be writable).  Don't just ignore
lines with no spaces in in stub database files.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/dbfactory.cc

Links:
http://xapian.org/C?11040
http://xapian.org/C?11040?trunk/xapian-core/ChangeLog
http://xapian.org/C?11040?trunk/xapian-core/backends/dbfactory.cc
olly | 2 Aug 2008 03:50

11041: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11041
Date:           2008-08-02 02:50:26 +0100 (Sat, 02 Aug 2008)

Log message (3 lines):
tests/Makefile.am: Remove the cached test databases in before
running the testsuite by making check-local do the same as
clean-local.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/Makefile.am

Links:
http://xapian.org/C?11041
http://xapian.org/C?11041?trunk/xapian-core/ChangeLog
http://xapian.org/C?11041?trunk/xapian-core/tests/Makefile.am
olly | 2 Aug 2008 06:35

11042: trunk/xapian-core/ trunk/xapian-core/backends/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11042
Date:           2008-08-02 05:35:41 +0100 (Sat, 02 Aug 2008)

Log message (2 lines):
backends/dbfactory.cc: Fix handling of new "inmemory" type in stub
databases.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/dbfactory.cc

Links:
http://xapian.org/C?11042
http://xapian.org/C?11042?trunk/xapian-core/ChangeLog
http://xapian.org/C?11042?trunk/xapian-core/backends/dbfactory.cc
olly | 2 Aug 2008 06:37

11043: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11043
Date:           2008-08-02 05:37:07 +0100 (Sat, 02 Aug 2008)

Log message (1 line):
tests/apitest.h: Use std::string() in preference to "".

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/apitest.h

Links:
http://xapian.org/C?11043
http://xapian.org/C?11043?trunk/xapian-core/ChangeLog
http://xapian.org/C?11043?trunk/xapian-core/tests/apitest.h
olly | 2 Aug 2008 06:41

11044: trunk/xapian-core/ trunk/xapian-core/tests/harness/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11044
Date:           2008-08-02 05:41:36 +0100 (Sat, 02 Aug 2008)

Log message (5 lines):
tests/harness/: Adjust the BackendManager interface to reduce code
duplication in subclasses - for backends where the concept of a
path to the database makes sense, we now support a
get_database_path() method and use this in the default
implementation of get_database() in the base class.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/tests/harness/backendmanager.cc
U   trunk/xapian-core/tests/harness/backendmanager.h
U   trunk/xapian-core/tests/harness/backendmanager_chert.cc
U   trunk/xapian-core/tests/harness/backendmanager_chert.h
U   trunk/xapian-core/tests/harness/backendmanager_flint.cc
U   trunk/xapian-core/tests/harness/backendmanager_flint.h
U   trunk/xapian-core/tests/harness/backendmanager_inmemory.cc
U   trunk/xapian-core/tests/harness/backendmanager_inmemory.h
U   trunk/xapian-core/tests/harness/backendmanager_multi.cc
U   trunk/xapian-core/tests/harness/backendmanager_multi.h
U   trunk/xapian-core/tests/harness/backendmanager_remoteprog.cc
U   trunk/xapian-core/tests/harness/backendmanager_remoteprog.h
U   trunk/xapian-core/tests/harness/backendmanager_remotetcp.cc
U   trunk/xapian-core/tests/harness/backendmanager_remotetcp.h

Links:
(Continue reading)

olly | 2 Aug 2008 06:47

11045: trunk/xapian-core/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11045
Date:           2008-08-02 05:47:13 +0100 (Sat, 02 Aug 2008)

Log message (7 lines):
tests/api_db.cc,tests/apitest.cc: Make use of new
BackendManager::get_database_path() to eliminate knowledge of
BackendManagerFlint's implementation from test stubdb1.  Put the
stubdb files in a .stub subdirectory and don't remove them after
each test to aid debugging failing tests.  Also now run stubdb tests
under chert and multi backends.  Add more stubdb tests for the
recently added features.

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

Links:
http://xapian.org/C?11045
http://xapian.org/C?11045?trunk/xapian-core/ChangeLog
http://xapian.org/C?11045?trunk/xapian-core/tests/api_db.cc
http://xapian.org/C?11045?trunk/xapian-core/tests/apitest.cc
olly | 2 Aug 2008 06:51

11046: trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11046
Date:           2008-08-02 05:51:58 +0100 (Sat, 02 Aug 2008)

Log message (1 line):
Add .stub api_valuestats.h .valgrind.log

Modified files:
_U  trunk/xapian-core/tests/

Links:
http://xapian.org/C?11046
olly | 2 Aug 2008 07:12

11047: trunk/xapian-core/ trunk/xapian-core/api/ trunk/xapian-core/common/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11047
Date:           2008-08-02 06:12:44 +0100 (Sat, 02 Aug 2008)

Log message (4 lines):
api/replication.cc,common/utils.cc,common/utils.h: Change
removedir() to just return if passed a non-existent path and
document this.  Make use of this to avoid having to call
dir_exists() before remove_dir().

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/api/replication.cc
U   trunk/xapian-core/common/utils.cc
U   trunk/xapian-core/common/utils.h

Links:
http://xapian.org/C?11047
http://xapian.org/C?11047?trunk/xapian-core/ChangeLog
http://xapian.org/C?11047?trunk/xapian-core/api/replication.cc
http://xapian.org/C?11047?trunk/xapian-core/common/utils.cc
http://xapian.org/C?11047?trunk/xapian-core/common/utils.h
olly | 2 Aug 2008 15:07

11048: trunk/xapian-core/ trunk/xapian-core/backends/chert/ trunk/xapian-core/backends/flint/ trunk/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11048
Date:           2008-08-02 14:07:37 +0100 (Sat, 02 Aug 2008)

Log message (5 lines):
backends/chert/chert_cursor.cc,backends/flint/flint_cursor.cc: Fix
FlintCursor::del() and ChertCursor::del() to leave the cursor on the
next key when iterating over the unflushed revision (previously the
cursor would end up an extra key along in this case).  (Bug#287)
tests/api_wrdb.cc: Add regression test cursordelbug1.

Modified files:
U   trunk/xapian-core/ChangeLog
U   trunk/xapian-core/backends/chert/chert_cursor.cc
U   trunk/xapian-core/backends/flint/flint_cursor.cc
U   trunk/xapian-core/tests/api_wrdb.cc

Links:
http://xapian.org/C?11048
http://xapian.org/C?11048?trunk/xapian-core/ChangeLog
http://xapian.org/C?11048?trunk/xapian-core/backends/chert/chert_cursor.cc
http://xapian.org/C?11048?trunk/xapian-core/backends/flint/flint_cursor.cc
http://xapian.org/C?11048?trunk/xapian-core/tests/api_wrdb.cc
olly | 2 Aug 2008 15:50

11049: branches/1.0/xapian-core/ branches/1.0/xapian-core/backends/flint/ branches/1.0/xapian-core/tests/

SVN root:       svn://svn.xapian.org/xapian
Changes by:     olly
Revision:       11049
Date:           2008-08-02 14:50:20 +0100 (Sat, 02 Aug 2008)

Log message (6 lines):
Backport change from trunk:
backends/flint/flint_cursor.cc: Fix FlintCursor::del() to leave the
cursor on the next key when iterating over the unflushed revision
(previously the cursor would end up an extra key along in this
case).  (Bug#287)
tests/api_wrdb.cc: Add regression test cursordelbug1.

Modified files:
U   branches/1.0/xapian-core/ChangeLog
U   branches/1.0/xapian-core/backends/flint/flint_cursor.cc
U   branches/1.0/xapian-core/tests/api_wrdb.cc

Links:
http://xapian.org/C?11049
http://xapian.org/C?11049?branches/1.0/xapian-core/ChangeLog
http://xapian.org/C?11049?branches/1.0/xapian-core/backends/flint/flint_cursor.cc
http://xapian.org/C?11049?branches/1.0/xapian-core/tests/api_wrdb.cc

Gmane