Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8278cf202f
Fetching contributors…

Cannot retrieve contributors at this time

9123 lines (5899 sloc) 339.86 kB
Tue Aug 28 04:33:21 GMT 2012 Dan Colish <dcolish@gmail.com>
* java/SmokeTest.java,java/java.i: Implement and test MSetIterator,
ESetIterator. Fix PostingIterator, ValueIterator, and TermIterator.
Sun Aug 12 05:45:32 GMT 2012 Dan Colish <dcolish@gmail.com>
* java/Makefile.am,java/run-java-test: Remove jdb target from
Makefile.
Sun Aug 12 04:54:04 GMT 2012 Dan Colish <dcolish@gmail.com>
* java/Makefile.am,java/SmokeTest.java,java/java.i: Add a typemap for
TermIterator pairs to String[] for the Enquire.getMatchingTerms
API. Use debug symbols when configured with MAINTAINER_MODE.
Sun Aug 12 04:46:59 GMT 2012 Dan Colish <dcolish@gmail.com>
* java/Makefile.am,java/SmokeTest.java,java/java.i: Add typemap for
TermIterator pairs to String[] to conform with the
Enquire::getMatchingterms binding API. Build bindings with
debugging symbols.
Tue Jul 24 09:06:14 GMT 2012 Olly Betts <olly@survex.com>
* lua/util.i: Fix functor wrappers which return strings to be zero-byte
clean.
Tue Jul 24 06:06:24 GMT 2012 Olly Betts <olly@survex.com>
* lua/util.i: Fix wrapping of FieldProcessor.
* lua/smoketest.lua: Add test coverage for wrapping of FieldProcessor.
Tue Jul 24 04:11:50 GMT 2012 Olly Betts <olly@survex.com>
* php/smoketest.php: Fix XapianFieldProcessor testcase.
Tue Jul 24 03:45:15 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java/Makefile.am,lua/util.i,perl/util.i.in,
python/extra.i,python/generate-python-exceptions,xapian-headers.i:
Wrap FieldProcessor.
* php/smoketest.php: Add simple test of subclassing
XapianFieldProcessor.
Sat Jul 21 13:18:48 GMT 2012 Olly Betts <olly@survex.com>
* lua/docs/examples/simpleexpand.lua,
lua/docs/examples/simplematchdecider.lua,
lua/docs/examples/simplesearch.lua: query:get_description() should
be str(query). Fixes #600.
* lua/docs/index.html: Document that get_description() is mapped to
str(), and end() to _end().
Thu Jul 12 05:11:26 GMT 2012 Olly Betts <olly@survex.com>
* configure.ac: Overhaul checking the C# tools to use modern names in
preference.
Tue Jul 03 03:13:40 GMT 2012 Dan Colish <dcolish@gmail.com>
* generic/.gitignore,php/.gitignore,tcl8/.gitignore: Update for
except.i generation
Tue Jul 03 03:10:19 GMT 2012 Dan Colish <dcolish@gmail.com>
* configure.ac,generic/generic.mk:Configure DYLD_LIBRARY_PATH on OSX
separately from MACOSX_DEPLOYMENT_TARGET
Sun Jul 01 11:37:53 GMT 2012 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and 1.2 branch.
Sun Jun 10 05:42:34 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
tcl8/Makefile.am: Fix recent swig-depcomp change to use '=' rather than
the apparently less portable ':='.
Mon Jun 04 12:07:08 GMT 2012 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac,csharp/csharp.i,fake_dbfactory.i,
java/java.i,lua/lua.i,perl/perl.i,php/php.i,python/python.i,
ruby/extra.i,ruby/ruby.i,ruby/xapian.rb,tcl8/tcl.i,xapian-headers.i,
xapian.i: For all languages except C# and Java, wrap the functions
declared in xapian/dbfactory.h by getting SWIG to parse the header.
This means we now wrap the WritableDatabase form of
Xapian::Auto::open_stub() for these languages.
Mon Jun 04 12:01:06 GMT 2012 Olly Betts <olly@survex.com>
* swig-depcomp: Script which wraps a call to SWIG and tells it to
generate dependencies, and then adjust the generated dependencies.
* csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
php/Makefile.am,python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am:
Use swig-depcomp.
Mon Jun 04 07:07:28 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap xapian/dbfactory.h functions
directly, except for C# and Java, where we use a fake class hack.
* python/smoketest2.py: Enable test that WritableDatabase form of
xapian.open_stub() is now wrapped.
* php/smoketest.php: Check that Xapian::Auto::open_stub() is wrapped
as Xapian::auto_open_stub().
Mon Jun 04 06:23:02 GMT 2012 Olly Betts <olly@survex.com>
* python/smoketest2.py: Test xapian.open_stub() is wrapped.
Mon Jun 04 05:01:17 GMT 2012 Olly Betts <olly@survex.com>
* python/smoketest2.py: Add tests that the database factory functions
are wrapped as we expected.
Mon Jun 04 04:47:06 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i: Fix comment typo.
Mon Jun 04 04:46:41 GMT 2012 Olly Betts <olly@survex.com>
* csharp/docs/index.html: Update Mono version tested with.
Sun Jun 03 22:51:29 GMT 2012 Olly Betts <olly@survex.com>
* README: Fix 'Jit' -> 'it'. Typo introduced in r15713.
Sun Jun 03 13:04:18 GMT 2012 Olly Betts <olly@survex.com>
* xapian.i: Remove the old %extend Query constructors, as they are no
longer used for any of the languages.
Sun Jun 03 12:54:25 GMT 2012 Olly Betts <olly@survex.com>
* lua/util.i,php/php.i,python/python.i,ruby/ruby.i,tcl8/tcl.i: Mark
XapianSWIGQueryItor implementations as random_access_iterator, and
implement XapianSWIGQueryItor::operator-(), so Xapian::Query's
template constructor knows how many elements to preallocate.
Sun Jun 03 11:48:31 GMT 2012 Olly Betts <olly@survex.com>
* java/java.i: Use the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP
approach for Java too (though we don't actually support mixed
subqueries in the case of Java, so it's now a bit misnamed now!)
Sat Jun 02 12:41:12 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/parser.t: Fix accidentally pasted comment.
Sat Jun 02 12:39:58 GMT 2012 Olly Betts <olly@survex.com>
* INSTALL,Makefile.am,README,debian/rules,doxygen_xml.conf.in,
generic/generic.mk,perl/t/: Change `...' quoting in prose to '...'.
Tue May 29 06:11:50 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Only rename operator() for languages
where SWIG doesn't already. SWIG's %rename comes first and that
means ours was ignored previously for some languages, which is
liable to cause confusion.
Tue May 29 05:26:22 GMT 2012 Olly Betts <olly@survex.com>
* php/Makefile.am: Add dependency on new generated except.i.
Tue May 29 03:53:25 GMT 2012 Olly Betts <olly@survex.com>
* generic/generate-generic-exceptions: Ensure that generic subdirectory
exists to handle srcdir!=builddir from a clean tree.
Mon May 28 07:22:39 GMT 2012 Olly Betts <olly@survex.com>
* doxygen_xml.conf.in: Hide new function attribute macros, and the
less new deprecation macros, from doxygen.
Sun May 27 13:47:44 GMT 2012 Olly Betts <olly@survex.com>
* Makefile.am,generic/except.i,generic/generate-generic-exceptions:
Generate generic/except.i so we can skip exception handling for
XAPIAN_NOTHROW methods for all the remaining SWIG-generated bindings.
Sun May 27 13:37:06 GMT 2012 Olly Betts <olly@survex.com>
* php/Makefile.am,php/except.i,php/generate-php-exceptions: Generate
php/except.i so we can skip exception handling for XAPIAN_NOTHROW
methods.
Sun May 27 12:57:29 GMT 2012 Olly Betts <olly@survex.com>
* tcl8/Makefile.am,tcl8/except.i,tcl8/generate-tcl-exceptions: Generate
tcl8/except.i so we can skip exception handling for XAPIAN_NOTHROW
methods.
Sun May 27 12:37:37 GMT 2012 Olly Betts <olly@survex.com>
* lua/Makefile.am,perl/Makefile.am,python/Makefile.am: Ship the scripts
which generate the except.i files.
Sun May 27 12:13:29 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i: Ignore Xapian API class constructor taking
Internal& instead of Internal* (as Query does, to avoid an
ambiguity for Query(NULL).
Sun May 27 12:12:45 GMT 2012 Olly Betts <olly@survex.com>
* python/generate-python-exceptions: Fix to use tabs for indentation in
a couple of places where we were using spaces.
Sun May 27 11:48:56 GMT 2012 Olly Betts <olly@survex.com>
* python/generate-python-exceptions: Don't name exception object we
don't inspect.
Sun May 27 10:08:25 GMT 2012 Olly Betts <olly@survex.com>
* perl/perl.i: Pass 0 instead of NULL for non-pointer parameter to
av_fetch (spotted due to GCC 4.7 warning).
Sun May 27 07:32:47 GMT 2012 Olly Betts <olly@survex.com>
* python/generate-python-exceptions: Remove superfluous ';' after
"namespace { [...] }".
Sun May 27 07:29:48 GMT 2012 Olly Betts <olly@survex.com>
* lua/generate-lua-exceptions,perl/generate-perl-exceptions,
python/generate-python-exceptions: Have a single copyright statement
at the top of the script (in a $copyright variable), and substitute
this into the generated script.
Sun May 27 01:52:08 GMT 2012 Olly Betts <olly@survex.com>
* lua/generate-lua-exceptions,perl/generate-perl-exceptions,
python/generate-python-exceptions: Use new XAPIAN_NOTHROW markers
in API headers to avoid generate exception handling code around
the calls SWIG generates to such functions and methods.
Sun May 27 01:51:28 GMT 2012 Olly Betts <olly@survex.com>
* xapian-head.i: Hide XAPIAN_CONST_FUNCTION, XAPIAN_PURE_FUNCTION, and
XAPIAN_NOTHROW from SWIG.
Sun May 27 01:40:32 GMT 2012 Olly Betts <olly@survex.com>
* generic/except.i: Don't name exceptions objects we don't inspect.
Tue May 22 08:21:43 GMT 2012 Olly Betts <olly@survex.com>
* configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
VPATH build using a release tarball.
Tue May 15 11:41:05 GMT 2012 Olly Betts <olly@survex.com>
* python/pythontest3.py: Sync with pythontest2.
Tue May 15 11:31:48 GMT 2012 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and 1.2.10.
Thu May 10 09:23:02 GMT 2012 Olly Betts <olly@survex.com>
* configure.ac: "checking ruby/io.h" -> "checking for ruby/io.h".
Wed May 09 03:23:44 GMT 2012 Olly Betts <olly@survex.com>
* python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a
simple way to rerun tests with verbose output.
Wed May 09 03:22:43 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i: Wrap Xapian::DBCHECK_FIX properly so we don't get
xapian.cvar in Python.
Sun Apr 22 13:04:47 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java/Makefile.am: Sort both the lists of expected
and of found SWIG-generated sources with Perl, to avoid problems with
locale-specific sort orders.
Sun Apr 22 11:00:21 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/writabledatabase.t: Forward port additional test coverage
for Database::close() from Search::Xapian in 1.2 branch.
Mon Apr 16 23:02:18 GMT 2012 Olly Betts <olly@survex.com>
* configure.ac: Make sure the ruby subdirectory exists before
trying to create ruby/rubyio.h, so this works in a VPATH
build from a clean tree.
Mon Apr 16 06:47:58 GMT 2012 Olly Betts <olly@survex.com>
* csharp/AssemblyInfo.cs.in,csharp/Makefile.am: Use -keyfile and
-keycontainer options to the C# compiler, because it warns us
to do this instead of setting them in AssemblyInfo.cs.
Mon Apr 16 06:39:25 GMT 2012 Olly Betts <olly@survex.com>
* java/Makefile.am: Remove now superfluous old check that SWIG
generated at least the sources we wanted - we now check it generated
*exactly* the sources we wanted.
Mon Apr 16 06:34:30 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java/Makefile.am: Use diff's -c option when
comparing the files SWIG generated against those we were expecting to
get as the output should be easier to understand.
Wed Apr 11 02:54:46 GMT 2012 Olly Betts <olly@survex.com>
* python/smoketest3.py,python/testsuite3.py: Update Python 3 tests
from Python 2 versions using 2to3.
Thu Apr 05 04:25:45 GMT 2012 Olly Betts <olly@survex.com>
* README,configure.ac,lua/docs/index.html,lua/util.i: Fix compatibility
with Lua 5.2.
Thu Apr 05 04:23:22 GMT 2012 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Remove bogus \ before q.
Thu Apr 05 03:45:08 GMT 2012 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Convert tabs to spaces.
Thu Apr 05 03:43:52 GMT 2012 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Check behaviour of "require 'xapian'" - SWIG 2.0.4
and earlier got this wrong. Part of patch from istr in #593, plus
a few tweaks.
Thu Apr 05 03:28:50 GMT 2012 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Improve expect() function to take an option
failure message, to report how values differed, and to compare tables
in a smarter way. Part of patch from istr in #593.
Thu Apr 05 02:46:21 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/thread.t,perl/t/writabledatabase.t: Remove #! lines with -W
to fix "Name "Test::More::TODO" used only once: possible typo at
/usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
Wed Apr 04 14:06:47 GMT 2012 Olly Betts <olly@survex.com>
* python/docs/examples/simpleexpand.py: Update to not use deprecated
MSet iteration features which have been removed on trunk. This
also fixes a segfault if there are no matches and no documents
are explicitly marked as relevant.
Wed Mar 28 09:22:48 GMT 2012 Olly Betts <olly@survex.com>
* xapian-head.i: Update for new deprecation macros.
Fri Mar 23 00:42:11 GMT 2012 Olly Betts <olly@survex.com>
* php/smoketest.php: More tests of geospatial API.
Thu Mar 22 23:49:50 GMT 2012 Olly Betts <olly@survex.com>
* perl/util.i.in: Avoid importing isa from UNIVERSAL to fix Perl 5.12
deprecation warning.
Tue Mar 20 02:04:51 GMT 2012 Olly Betts <olly@survex.com>
* php/smoketest.php: More tests of geospatial API.
Sun Mar 18 00:38:48 GMT 2012 Dan Colish <dcolish@gmail.com>
* .gitignore: Ignore doxygen artifacts
Wed Mar 14 02:25:51 GMT 2012 Olly Betts <olly@survex.com>
* NEWS: Update from 1.2.9 and ChangeLog for 1.3.0.
Tue Mar 13 22:41:01 GMT 2012 Olly Betts <olly@survex.com>
* php/smoketest.php: Test constructing XapianLatLongCoord.
Tue Mar 13 00:32:37 GMT 2012 Olly Betts <olly@survex.com>
* php/add-php-type-hints: Fix typo "XapianStemmer" -> "XapianStem".
* php/smoketest.php: Add regression test coverage.
Thu Mar 08 05:51:38 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/: Enable warnings for all test cases and make them fatal.
Thu Mar 08 05:37:47 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/symbol-test.t: Remove lingering reference to @args which is
no longer set, and enable warnings and make them fatal so we don't
regress on this.
Fri Jan 27 01:21:18 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/10query.t: Check that Search::Xapian::Query->new("") works.
Fri Jan 27 01:19:45 GMT 2012 Olly Betts <olly@survex.com>
* perl/perl.i: Fix Search::Xapian->new() to work.
* perl/t/10query.t: Add testcase for this.
Thu Jan 26 23:41:55 GMT 2012 Olly Betts <olly@survex.com>
* perl/perl.i: Add "use Carp;" where we use functions from that module.
* perl/t/10query.t: Add regression test.
Fri Jan 20 23:53:12 GMT 2012 Olly Betts <olly@survex.com>
* perl/t/document.t,perl/t/index.t: Add tests of Document::get_docid().
Thu Jan 19 00:19:52 GMT 2012 Olly Betts <olly@survex.com>
* java/Makefile.am: Update list of generated files for the geospatial
API.
Thu Jan 19 00:17:11 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i: Ignore unserialise() variant taking const char**
and Database::check() variant taking std::ostream &.
Wed Jan 18 13:43:55 GMT 2012 Olly Betts <olly@survex.com>
* xapian-headers.i: Handle DBCHECK_* constants like we do DB_* ones.
Factor out this special handliing into a SWIG macro called CONSTANT.
Wed Jan 18 13:22:34 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Update list of generated file for geospatial API.
Wed Jan 18 10:41:41 GMT 2012 Olly Betts <olly@survex.com>
* csharp/Makefile.am,python/extra.i,python/pythontest2.py,
ruby/smoketest.rb,ruby/xapian.rb,xapian-headers.i: Merge bindings
changes for geospatial API.
Wed Jan 04 06:03:09 GMT 2012 Olly Betts <olly@survex.com>
* php/smoketest.php: Add a test that Query ctor taking OP_NEAR with a
window size works.
Fri Dec 30 13:44:17 GMT 2011 Olly Betts <olly@survex.com>
* perl/perl.i: Refactor to use XapianSWIGQueryItor class instead
of temporary std::vector<Xapian::Query> (but not via a SWIG
typemap currently).
Fri Dec 30 13:17:15 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Add begin() and end() methods to XapianSWIGQueryItor
instead of using ctors and assignment.
Fri Dec 30 13:16:00 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Improve error message.
Fri Dec 30 13:13:12 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Eliminate "else" after "return".
Fri Dec 30 13:12:34 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Remove "return;" at end of function.
Fri Dec 30 13:09:00 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Fix typo in error message.
Fri Dec 30 13:07:06 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Reindent and fix other whitespace oddities.
Fri Dec 30 12:23:38 GMT 2011 Olly Betts <olly@survex.com>
* php/php.i: Add begin() method to XapianSWIGQueryItor instead of
using a ctor and assignment.
Fri Dec 30 03:15:31 GMT 2011 Olly Betts <olly@survex.com>
* ruby/ruby.i: Add begin() and end() methods to XapianSWIGQueryItor
as that's clearer than overloaded ctors with dummy parameters.
Fri Dec 30 01:59:46 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,xapian.i: We don't use
XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for C#, but we also don't
use the fake ctors added by %extend if this isn't defined, so also
skip them if SWIGCSHARP is defined.
Fri Dec 30 01:18:03 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: While we don't currently use
XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for perl, we also don't
use the fake ctors added by %extend if this isn't defined, so also
skip them if SWIGPERL is defined.
Fri Dec 30 01:13:31 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Remove left-over comment associated with
XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP.
Fri Dec 30 01:05:52 GMT 2011 Olly Betts <olly@survex.com>
* python/python.i: Use a SWIG freearg typemap to release the fast
sequence object when we're done with it, rather than carefully
adjusting its reference count when the iterator objects get copied or
assigned.
Fri Dec 30 00:54:51 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Remove XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP, since none
of the currently supported languages now use it, and we should use
the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for all
future languages which have containers which allow mixed content.
Fri Dec 30 00:53:07 GMT 2011 Olly Betts <olly@survex.com>
* python/python.i,python/util.i: Implement
XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for Python.
Fri Dec 30 00:04:27 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: Use list comprehensions rather than append
loops.
Thu Dec 29 23:26:18 GMT 2011 Olly Betts <olly@survex.com>
* python/testsuite2.py: Rephrase so VERBOSE=1 is there to cut and
paste.
Thu Dec 29 22:52:20 GMT 2011 Olly Betts <olly@survex.com>
* python/testsuite2.py: Don't run off the traceback looking for a
test function if the exception wasn't from a test function.
Thu Dec 29 11:35:51 GMT 2011 Olly Betts <olly@survex.com>
* csharp/SmokeTest.cs,java/SmokeTest.java,lua/smoketest.lua,
perl/t/10query.t,perl/t/parser.t,perl/t/search.t,php/smoketest.php,
python/pythontest2.py,python/smoketest2.py,python/testsuite2.py,
ruby/smoketest.rb,tcl8/smoketest.tcl,xapian-headers.i,xapian.i:
Update for Query internals changes.
Thu Dec 29 11:20:48 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Fix test for jni.h to try looking for jni.h relative to
the real location of javac, which should work for more JDKs.
Fri Dec 23 01:25:56 GMT 2011 Olly Betts <olly@survex.com>
* python/python.i: If configure didn't find a way to do TLS, fall back
to using pthread_getspecific() etc, which should work on Mac OS X.
Thu Dec 22 12:00:57 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
with Perl 5.14.
Wed Dec 21 13:48:27 GMT 2011 Olly Betts <olly@survex.com>
* php/add-php-type-hints: Don't add a type hint to apply($doc) as that
would break existing subclasses as the signature must match.
Wed Dec 21 10:06:30 GMT 2011 Olly Betts <olly@survex.com>
* perl/Search/Xapian/Document.pm,perl/Search/Xapian/TermGenerator.pm:
Improve POD docs for Document and TermGenerator methods - "weight"
is misleading, so use "wdfinc" and "wdfdec" like the C++ API docs
do.
Wed Dec 21 10:05:48 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i,perl/perl.i: Change Xapian::weight to double.
Wed Dec 21 08:43:37 GMT 2011 Olly Betts <olly@survex.com>
* php/add-php-type-hints: XapianSorter should be XapianKeyMaker.
Wed Dec 21 08:42:57 GMT 2011 Olly Betts <olly@survex.com>
* php/Makefile.am: Rebuild wrappers if "add-php-type-hints" changes.
Wed Dec 21 04:12:36 GMT 2011 Olly Betts <olly@survex.com>
* php/Makefile.am,php/add-php-type-hints: Add PHP type hints to the
class wrappers. Fixes ticket#577.
Tue Dec 20 11:03:37 GMT 2011 Olly Betts <olly@survex.com>
* README,configure.ac,python/docs/index.html,python/python.i: Handle
the GIL in a way which also works in sub-interpreters. Fixes
ticket #364.
* python/pythontest2.py: Run tests as before, and then (if Python
supports threads) in a separate thread.
Mon Dec 19 10:19:06 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Improve description of PERL_SO.
Mon Dec 19 10:18:36 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Fix cosmetic typo in recent Lua change.
Mon Dec 19 10:11:30 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,lua/Makefile.am: Remove Lua cygwin-specific configure
code and -DUSE_LUA_STUBS - both were copied from the Tcl support
with Tcl changed to Lua, and have no basis in reality that I can
find.
Mon Dec 19 09:08:15 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,lua/Makefile.am: Improve probing for LUA_LIB, and also
probe for LUA_SO so we support platforms where the compiled Lua
module isn't called .so.
Sun Dec 18 02:04:16 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Improve LUA_LIB description and probe message - the
module won't have an ".so" extension on all platforms.
Sun Dec 18 01:55:39 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: m4 quoting tweaks (cosmetic only).
Sun Dec 18 01:50:48 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Honour LUA_LIB if already set. Fixes #581.
Thu Dec 15 14:44:09 GMT 2011 Olly Betts <olly@survex.com>
* perl/generate-perl-exceptions: Remove superfluous ';' after closing
'}' of namespace. Tweak whitespace.
Thu Dec 15 12:50:42 GMT 2011 Olly Betts <olly@survex.com>
* generic/except.i: Correct comments about how and where this file gets
included - this changed in the major restructuring a few months ago.
* generic/except.i,php/except.i,tcl8/except.i: Return
Error::get_description() rather than get_type + ": " + get_msg(). In
many cases this is the same, but if context or errno are available,
get_description() includes them. Catch and report std::exception
rather than handling it as an unknown error (so in particular
std::bad_alloc will now be reported more helpfully).
Thu Dec 15 12:30:15 GMT 2011 Olly Betts <olly@survex.com>
* perl/generate-perl-exceptions: Whitespace tweak.
Thu Dec 15 11:40:39 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/index.html,lua/generate-lua-exceptions,lua/smoketest.lua,
lua/util.i: Handle an exception from C++ by raising a xapian.Error
object as an error in Lua. Rename get_description() methods to
__tostring(), so that you can use write tostring(obj) in Lua. Fix
indentation not to assume tabs are two spaces.
Wed Dec 14 10:54:03 GMT 2011 Olly Betts <olly@survex.com>
* lua/generate-lua-exceptions: Restore other copyright holders to
generated file - it seems likely this constitutes a derived work
and it is better to err on the side of caution.
Tue Dec 13 14:29:34 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from 1.2.8 and ChangeLog.
Sun Oct 30 21:42:48 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/Makefile.am: Add module_top.py to tarballs.
Sat Oct 29 15:05:34 GMT 2011 Olly Betts <olly@survex.com>
* python/Makefile.am,python/module_top.py: Add a module docstring
(fixes #573).
Wed Oct 05 13:31:25 GMT 2011 Olly Betts <olly@survex.com>
* ruby/smoketest.rb,ruby/xapian.rb: Wrap optional prefix parameter to
Database::allterms.
Mon Aug 22 11:22:34 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: Use "if x is not None:" rather than "if x !=
None:" (PEP 8).
Wed Aug 17 11:07:41 GMT 2011 Olly Betts <olly@survex.com>
* lua/Makefile.am: Add dependency on except.i so it gets (re)generated
when it should.
Wed Aug 17 10:11:52 GMT 2011 Olly Betts <olly@survex.com>
* lua/Makefile.am,lua/docs/examples/simpleexpand.lua,lua/: Merge latest
Lua improvements from Xiaona Han.
Mon Aug 15 01:28:51 GMT 2011 Olly Betts <olly@survex.com>
* python/doxy2swig.py,python/pythontest2.py,python/testsuite2.py:
Remove trailing whitespace.
Mon Aug 15 01:19:06 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py,python/testsuite2.py: Move the check for
leaked objects into the testsuite harness so all tests get checked,
not just the two which are regression tests for leaks in older
versions. This also gives us a single place to disable it if it
should prove problematic in alternative Python implementations.
Sun Aug 14 12:45:09 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: In test_matchingterms_iter, run the code
we're testing for leaks twice, and only check for leaks the second
time to avoid falsely reporting a leak when some cached value gets
initialised under Python 2.5.
Fri Aug 12 23:18:20 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from 1.2.7 and ChangeLog.
Mon Aug 08 03:35:23 GMT 2011 Olly Betts <olly@survex.com>
* java/SmokeTest.java: Fix == comparisons with literal strings.
Thu Aug 04 07:34:14 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap iterator operator++ and operator--
methods with a new INC_OR_DEC macro, replacing the old NEXT and
PREV macros.
Thu Aug 04 07:21:36 GMT 2011 Olly Betts <olly@survex.com>
* xapian-head.i,xapian-headers.i: We no longer need special handling
for ValueIteratorEnd_ in the bindings, as that hack is gone from the
C++ API headers.
Thu Aug 04 07:15:53 GMT 2011 Olly Betts <olly@survex.com>
* xapian-head.i,xapian.i: Update for the Xapian::timeout -> useconds_t
change.
Thu Aug 04 06:45:38 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: JAVA_CXXFLAGS is no longer used, so remove it.
Thu Aug 04 00:24:22 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Add --disable-visibility option to match xapian-core.
Thu Aug 04 00:04:47 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Add -fshow-column for GCC.
Tue Aug 02 03:49:27 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/symbol-test.t: Fix to work when built against an installed
xapian-core. (ticket#558)
Sat Jul 30 12:05:02 GMT 2011 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac,doxygen_xml.conf.in,python/Makefile.am,
ruby/Makefile.am,ruby/generate-rdoc-stubs: Run doxygen to generate
XML for the bindings in the bindings build system, not as a
side-effect in xapian-core's. (ticket#262)
Sat Jul 30 06:22:37 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
lua/Makefile.am,perl/Makefile.am,php/Makefile.am,python/Makefile.am,
ruby/Makefile.am,tcl8/Makefile.am: Don't put -Werror in SWIG_FLAGS
- instead put it in a new SWIG_WERROR variable, so that it's easy
to override it if you're getting a new warning from SWIG but want
to just ignore it for the time being.
Fri Jul 29 13:49:51 GMT 2011 Olly Betts <olly@survex.com>
* php/smoketest.php: Add regression test for recently fixed SWIG bug
which caused "return $r;" to be generated in some cases when $r
wasn't set.
Fri Jul 29 03:41:02 GMT 2011 Olly Betts <olly@survex.com>
* php/smoketest.php: Install an error handler so the test fails if
there are any errors, warnings, notices, etc.
Mon Jul 25 07:36:26 GMT 2011 Olly Betts <olly@survex.com>
* java/SmokeTest.java: Add test that string passing is zero byte safe.
Mon Jul 25 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
* java/SmokeTest.java: Fix MyExpandDecider.accept to really check the
passed parameter.
Mon Jul 25 05:52:29 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Don't return iterator from C# Next() and Prev() methods by
reference as that results in it being eligible for garbage collection
while we're still using it.
* csharp/SmokeTest.cs: Add regression test.
Sat Jul 23 15:27:27 GMT 2011 Olly Betts <olly@survex.com>
* lua/util.i: Whitespace tweaks.
Sat Jul 23 15:18:24 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/examples/simpleexpand.lua,
lua/docs/examples/simplematchdecider.lua,
lua/docs/examples/simplesearch.lua,lua/docs/index.html,
lua/smoketest.lua,lua/util.i: Merge latest Lua changes from Xiaona
Han.
Thu Jul 07 23:28:24 GMT 2011 Olly Betts <olly@survex.com>
* Makefile.am: Restore ruby to DIST_SUBDIRS (accidentally removed when
java-swig was renamed to java).
Wed Jul 06 12:26:38 GMT 2011 Olly Betts <olly@survex.com>
* lua/Makefile.am: Include new example in tarball.
Tue Jul 05 02:10:02 GMT 2011 Olly Betts <olly@survex.com>
* python/python.i: By default, SWIG's thread locking code for Python
always initialises threads, which just adds overhead for single
threaded Python code. So instead we now replace SWIG's thread
locking with a version which does nothing unless threads are already
initialised. This seems to be about 5-10% faster for pythontest2.py
modified to repeat the tests 100 times.
Tue Jul 05 01:32:07 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/examples/simplematchdecider.lua: Wrap comment to <80
characters.
Tue Jul 05 01:25:49 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/examples/simplematchdecider.lua: New example from Xiaona
Han's git repo.
* lua/docs/index.html: Add link to simplematchdecider.lua.
Mon Jul 04 15:04:36 GMT 2011 Olly Betts <olly@survex.com>
* lua/smoketest.lua,lua/util.i: Fix whitespace inconsistencies.
Mon Jul 04 14:58:34 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/index.html,lua/smoketest.lua,lua/util.i: Merge latest Lua
changes from Xiaona Han.
Mon Jul 04 01:35:50 GMT 2011 Olly Betts <olly@survex.com>
* java/Makefile.am: Use the same NEED_JNILIB_EXT machinery which the
hand-coded JNI bindings had, so that on Mac OS X the JNI library
has a .jnilib extension.
Sun Jul 03 11:01:21 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/: Actually rename to java/.
Sun Jul 03 10:36:13 GMT 2011 Olly Betts <olly@survex.com>
* java/: Actually remove the old hand-coded JNI Java bindings.
Wed Jun 29 22:38:29 GMT 2011 Olly Betts <olly@survex.com>
* php/Makefile.am,php/docs/examples/,php/smoketest.php: Change
'include "php5/xapian.php"' to 'include "xapian.php"' in
smoketest.php and the examples, and set include_path=php5 in
TESTS_ENVIRONMENT so smoketest.php finds the uninstalled
xapian.php.
Wed Jun 29 01:04:51 GMT 2011 Olly Betts <olly@survex.com>
* csharp/SmokeTest.cs: Add test coverage for QueryParser.ParseQuery()
with flags argument.
Wed Jun 29 00:00:25 GMT 2011 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac: Rename java-swig subdirectory to java.
Tue Jun 28 23:52:13 GMT 2011 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Add simple test for
Database::positionlist_begin().
Tue Jun 28 12:14:17 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Mon Jun 27 15:22:22 GMT 2011 Olly Betts <olly@survex.com>
* python/Makefile.am,python/python.i,python/util.i: If
MAINTAINER_NO_DOCS is true, then just create an empty doccomments.i
rather then carefully arranging not to include it.
Mon Jun 27 15:04:59 GMT 2011 Olly Betts <olly@survex.com>
* python/extra.i: Clarify that extra.i is for extra *Python* code.
Mon Jun 27 14:39:26 GMT 2011 Olly Betts <olly@survex.com>
* TODO: Wrapping Xapian::Weight isn't possible. (ticket#401)
Mon Jun 27 14:34:24 GMT 2011 Olly Betts <olly@survex.com>
* perl/perl.i,perl/util.i.in: Move the SWIG typemaps into perl.i,
leaving just the %perlcode in util.i.in.
Mon Jun 27 14:23:54 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Remove %module line which is no longer used.
Mon Jun 27 14:10:19 GMT 2011 Olly Betts <olly@survex.com>
* perl/util.i.in: WritableDatabase::delete_document() was broken by
the migration to wrapping <xapian/database.h> directly - now fixed
and cleaned up how we wrap delete_document_by_term(),
replace_document() and replace_document_by_term().
Mon Jun 27 11:21:10 GMT 2011 Olly Betts <olly@survex.com>
* tcl8/tcl.i: Use the iterator approach for wrapping the mixed array
Query ctor in Tcl.
Mon Jun 27 11:05:10 GMT 2011 Olly Betts <olly@survex.com>
* ruby/ruby.i: Use the iterator approach for wrapping the mixed array
Query ctor in Ruby.
Mon Jun 27 08:18:02 GMT 2011 Olly Betts <olly@survex.com>
* php/php.i,xapian.i: Wrap the XapianQuery ctor which takes a mixed
array of XapianQuery objects and strings by defining an iterator so
subqueries get added directly rather than creating an intermediate
std::vector.
Mon Jun 27 03:08:40 GMT 2011 Olly Betts <olly@survex.com>
* php/php.i: Tweak the phpinfo() generation code.
Mon Jun 27 02:40:29 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/docs/examples/SimpleIndex.java: Update to use commit()
rather than flush(). Remove reference to quartz.
Sun Jun 26 15:32:50 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap <xapian/query.h> in xapian-headers.i,
except for the current %extend part which I'm looking to reimplement
in a slicker way.
Sun Jun 26 14:54:09 GMT 2011 Olly Betts <olly@survex.com>
* ruby/ruby.i: Fix to work with direct wrapping on xapian/enquire.h
- the signature in that file has Xapian:: qualifiers on the
arguments types for set_query() so it wasn't getting renamed.
Missed this because of incorrect dependencies, as fixed in the
last commit.
Sun Jun 26 14:47:20 GMT 2011 Olly Betts <olly@survex.com>
* ruby/Makefile.am: Fix automatic dependency generation for files
generated by SWIG.
Sun Jun 26 14:09:33 GMT 2011 Olly Betts <olly@survex.com>
* csharp/docs/index.html,java-swig/docs/index.html: Document wrapping
of MatchAll and MatchNothing.
Sun Jun 26 10:24:55 GMT 2011 Olly Betts <olly@survex.com>
* csharp/SmokeTest.cs,csharp/csharp.i,java-swig/SmokeTest.java,
java-swig/java.i: Wrap Query::MatchAll and Query::MatchNothing for C#
and Java. (ticket#158)
Sun Jun 26 03:35:43 GMT 2011 Olly Betts <olly@survex.com>
* php/docs/index.html,php/smoketest.php,xapian.i: Wrap MatchAll and
MatchNothing for PHP as XapianQuery::MatchAll() and
XapianQuery::MatchNothing(). (ticket#158)
Sat Jun 25 15:58:08 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap <xapian/weight.h> using the new
macros.
Sat Jun 25 15:38:14 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap <xapian/valuesetmatchdecider.h> in
xapian-headers.i.
Sat Jun 25 15:32:31 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap Xapian::Stem using the new macros.
Sat Jun 25 15:15:19 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java-swig/Makefile.am: Upon "make
maintainer-clean", delete the directories which we get SWIG to
generate the source files into, and also the 'built' subdirectory for
java-swig.
Sat Jun 25 15:10:21 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Port over from csharp/Makefile.am the smarter
check that we got exactly the sources generated which we wanted.
Add missing new source ExpandDeciderAnd.java.
Sat Jun 25 15:08:59 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Delete all files in generated-csharp before
running swig, not just those in $(XAPIAN_SWIG_CS_SRCS).
Sat Jun 25 15:01:48 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,xapian-headers.i,xapian.i: Wrap enquire.h and
expanddecider.h by parsing the headers directly. Wrap ExpandDecider
even if we don't have director support - there's a
ExpandDeciderFilterTerms subclass which is useful in itself, though
it still needs some typemap work to actually get it usefully wrapped.
Ignore copy ctors for all classes (rather than just some) for all
languages except Tcl where we now consistently ignore none of them.
Sat Jun 25 11:13:34 GMT 2011 Olly Betts <olly@survex.com>
* python/util.i: Rename SWIG_anystring_as_ptr to
XapianSWIG_anystring_as_ptr as it's not a part of SWIG itself.
Handle generating XapianSWIG_anystring_as_ptr in the right place
in the file by specifying it with %fragment, and specify its
dependency on the fragment SWIG_AsPtr_std_string.
Sat Jun 25 07:50:56 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Put the generated C# sources into a subdirectory
to make it easier to manage them. Check that exactly the sources in
XAPIAN_SWIG_CS_SRCS are generated previously we checked that the
sources in that list were generated, but not if extra ones were).
Add six missing sources to XAPIAN_SWIG_CS_SRCS.
Fri Jun 24 17:16:19 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap Database and WritableDatabase by
using %include <xapian/database.h>. Adds missing wrappers for
Database::has_positions(), wrapping of Database::reopen()'s new
bool return type, and corrects the return type of
Database::get_doclength() from double to Xapian::termcount.
Fri Jun 24 15:47:50 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap MatchSpy and PostingSource with
SUBCLASSABLE macro.
Fri Jun 24 15:30:27 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Add SUBCLASSABLE macro to indicate a class
which is subclassable in the target language (assuming SWIG supports
directors for that language).
Fri Jun 24 12:44:07 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Factor out ignoring of internal stuff and
operator= from INPUT_ITERATOR_METHODS into new STANDARD_IGNORES
macro. Use STANDARD_IGNORES to wrap Xapian::Document. Wrap
ValueIterator via %include <xapian/valueiterator.h>.
Fri Jun 24 09:29:46 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Wrap TermIterator via %include
<xapian/termiterator.h>. TermIterator::positionlist_count() is now
wrapped.
Fri Jun 24 09:15:11 GMT 2011 Olly Betts <olly@survex.com>
* xapian-headers.i,xapian.i: Do setup for %include <postingiterator.h>
using a parameterised macro INPUT_ITERATOR_METHODS(). Use this new
macro to wrap %include <xapian/positioniterator.h> instead of having
its declarations repeated in xapian.i.
Fri Jun 24 05:39:20 GMT 2011 Olly Betts <olly@survex.com>
* Makefile.am,xapian-headers.i,xapian.i: Start a new interface file
to contain wrapping of xapian-core API headers by getting SWIG to
parse them directly rather than duplicated declarations in the
interface file.
Fri Jun 24 04:33:50 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Update JNI comments.
Fri Jun 24 04:06:17 GMT 2011 Olly Betts <olly@survex.com>
* HACKING,Makefile.am,README,configure.ac,java-swig/SmokeTest.java,
java/,java/native/,java/org/xapian/,java/org/xapian/errors/,
java/org/xapian/examples/,java/run-java-test: Remove the hand-coded
JNI bindings.
Fri Jun 24 03:37:25 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/Makefile.am,java-swig/docs/: Copy java examples
from the JNI ones, and create an HTML documentation page
based on java/README.
Fri Jun 24 03:13:15 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Switch java bindings to java-swig.
Wed Jun 22 15:08:04 GMT 2011 Olly Betts <olly@survex.com>
* INSTALL: Add --with-lua and sort the list of --with-* options.
Wed Jun 22 15:01:44 GMT 2011 Olly Betts <olly@survex.com>
* INSTALL: Pull in a few updates from the latest version of the
automake document which this file was originally based on.
Add in the missing copyright and licensing information.
Wed Jun 22 14:35:33 GMT 2011 Olly Betts <olly@survex.com>
* INSTALL,README: It's not really noteworthy that Mac OS X 10.1 and
10.2 aren't supported as Apple ditched them long ago, so drop this
as a "Known Issue" in INSTALL and instead just say "Mac OS X >= 10.3"
in the discussion of supported platforms in the README.
Wed Jun 22 08:50:52 GMT 2011 Olly Betts <olly@survex.com>
* perl/Makefile.am: Need to build except.i before we run swig.
Wed Jun 22 08:46:50 GMT 2011 Olly Betts <olly@survex.com>
* python/Makefile.am: Need to build except.i and doccomments.i before
we run swig.
Wed Jun 22 04:41:26 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/Makefile.am,java-swig/SmokeTest.java: Put the
SWIG-generated Java bindings in package org.xapian.
Wed Jun 22 03:26:21 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/SmokeTest.java: Add more FIXME notes.
Wed Jun 22 02:55:38 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Clean up MyMatchDecider.class and
MyExpandDecider.class. Include Query$1.class in the jar file.
Wed Jun 22 01:47:24 GMT 2011 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Update for Xapian::Compactor.
Wed Jun 22 01:23:23 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Use the same trick as in java-swig/ to check that
SWIG generated all the sources we expected it to.
Wed Jun 22 01:21:19 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java-swig/Makefile.am,lua/Makefile.am,
perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
tcl8/Makefile.am: Include explicit '$(srcdir)/' path on the main SWIG
interface file to work better in a VPATH build.
Tue Jun 21 16:12:38 GMT 2011 Olly Betts <olly@survex.com>
* python/Makefile.am: Pass -I. to SWIG so it finds generated
doccomments.i in a VPATH build.
Tue Jun 21 14:55:17 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,csharp/csharp.i,csharp/util.i,generic/except.i,
generic/generic.mk,java-swig/Makefile.am,java-swig/java.i,
java-swig/util.i,lua/Makefile.am,lua/lua.i,perl/Makefile.am,
perl/perl.i,php/Makefile.am,php/php.i,php/util.i,python/Makefile.am,
python/python.i,python/util.i,ruby/Makefile.am,ruby/ruby.i,
ruby/util.i,tcl8/Makefile.am,tcl8/tcl.i,tcl8/util.i,xapian-head.i,
xapian.i: Change how the inclusion of SWIG interface files works -
instead of carefully setting up include paths so that files get
pulled in from language-specific directories, with fallbacks to
generic files in some cases, we now have a master interface file for
each language which explicitly includes all the other files we want.
Tue Jun 21 14:34:47 GMT 2011 Olly Betts <olly@survex.com>
* generic/generic.mk: 'macosx' -> 'Mac OS X'.
Tue Jun 21 14:16:52 GMT 2011 Olly Betts <olly@survex.com>
* README: Note a recent version of Mono which we've tested the C#
bindings with.
Tue Jun 21 13:52:22 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Combine the two uninstall-local targets so the
commands from both actually get run.
Tue Jun 21 11:09:59 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Wrap sources used by AC_COMPILE_IFELSE in
AC_LANG_SOURCE to fix warning from autoconf.
Tue Jun 21 06:54:00 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Update comment about MatchAll/MatchNothing.
Tue Jun 21 06:49:56 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/10query.t,perl/util.i.in: Wrap MatchAll and MatchNothing for
Perl (as Search::Xapian::Query::MatchAll and
Search::Xapian::Query::MatchNothing). (ticket#158)
Tue Jun 21 06:00:41 GMT 2011 Olly Betts <olly@survex.com>
* ruby/docs/index.html,ruby/extra.i,ruby/smoketest.rb,xapian.i: Wrap
MatchAll and MatchNothing for Ruby. (ticket#158)
Tue Jun 21 05:09:20 GMT 2011 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Fix whitespace inconsistencies.
Tue Jun 21 05:07:30 GMT 2011 Olly Betts <olly@survex.com>
* lua/smoketest.lua: Restore semicolons to licence text.
Tue Jun 21 05:01:55 GMT 2011 Olly Betts <olly@survex.com>
* lua/docs/index.html,lua/smoketest.lua,xapian.i: Merge latest Lua
changes from Xiaona Han.
Tue Jun 21 04:16:05 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/termgenerator.t: Test TermIterator::index_text() with two
arguments.
Fri Jun 17 08:11:12 GMT 2011 Olly Betts <olly@survex.com>
* HACKING: Start section on deprecation warnings for the bindings.
Fri Jun 17 07:43:31 GMT 2011 Olly Betts <olly@survex.com>
* HACKING: Update.
Thu Jun 16 09:24:18 GMT 2011 Olly Betts <olly@survex.com>
* perl/Makefile.am: Fix "make check".
Thu Jun 16 07:48:38 GMT 2011 Olly Betts <olly@survex.com>
* python/Makefile.am: Improve comment about replicationtest.py.
Thu Jun 16 06:34:33 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Remove unnecessary nested single quotes. Remove
superfluous trailing ; from Perl one-liners.
Thu Jun 16 06:10:25 GMT 2011 Olly Betts <olly@survex.com>
* php/docs/index.html: Drop references to Xapian versions before 1.0.0.
Thu Jun 16 06:05:45 GMT 2011 Olly Betts <olly@survex.com>
* README,configure.ac,php/docs/index.html: Raise the minimum required
PHP version to 5.2 as older versions are no longer supported by the
PHP developers. Even 5.2.x was recently declared unsupported
upstream.
Thu Jun 16 05:56:59 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Simplify probe for PHP CLI - we dropped PHP4 support in
1.1.0 so we can rely on having php-config --php-binary available.
Wed Jun 15 14:13:09 GMT 2011 Olly Betts <olly@survex.com>
* README,configure.ac,python/docs/index.html: Update required Python
version to 2.4.
Wed Jun 15 07:46:04 GMT 2011 Olly Betts <olly@survex.com>
* xapian-bindings/lua/docs/examples/simpleexpand.lua: Don't try to add
anything to the RSet if there are no matches.
Tue Jun 14 03:50:57 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/symbol-test/SymbolTest.pm: Sync update from XS Search::Xapian
- add "1;" to end of test module.
Tue Jun 14 03:48:04 GMT 2011 Olly Betts <olly@survex.com>
* perl/docs/examples/: Sync updates from XS Search::Xapian: Require
Perl >= 5.6 so we can "use warnings;"; loop over file using while()
(which reads a line per iteration) not foreach() (which reads the
whole file up front).
Mon Jun 13 17:00:27 GMT 2011 Olly Betts <olly@survex.com>
* perl/generate-perl-exceptions: Simplify.
Mon Jun 13 16:49:52 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java-swig/Makefile.am,
perl/generate-perl-exceptions,python/generate-python-exceptions:
More references to Sorter and MultiValueSorter removed.
Mon Jun 13 16:43:58 GMT 2011 Olly Betts <olly@survex.com>
* perl/t/sorter.t,php/smoketest.php,python/pythontest2.py,xapian.i:
Update in line with the removed deprecations from xapian-core.
Mon Jun 13 13:37:48 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/extra.i: Change function names defined inside wrapper()
closures to match the name which the result of the closure will
be assigned to, so that help text for the functions displays the
correct function name.
Mon Jun 13 13:15:00 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/pythontest2.py: Extend coverage of tests of removed features.
Mon Jun 13 12:56:48 GMT 2011 Olly Betts <olly@survex.com>
* java/native/Enquire.cc: Update for Enquire::set_sort_by_value()
change.
Mon Jun 13 12:50:39 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/pythontest2.py: Change checks for removed attributes to
use a neater approach.
Mon Jun 13 12:48:00 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/testsuite2.py: Add support to expect_exception for passing
None as the message, to skip checking the message for the raised
exception. Add documentation comment describing the parameters.
Mon Jun 13 12:37:31 GMT 2011 Olly Betts <olly@survex.com>
* xapian.i: Remove deprecated Enquire::set_sort_by_* methods.
Mon Jun 13 12:10:39 GMT 2011 Olly Betts <olly@survex.com>
* python/extra.i: Remove checks for deprecated forms of Enquire
set_sort_* methods, which have now been removed from the C++ API.
Mon Jun 13 11:43:20 GMT 2011 Olly Betts <olly@survex.com>
* python/extra.i,python/util.i: Hide away the deprecated non-pythonic
iterators - we still need them to implement the pythonic iterators,
so we can't entirely remove them.
* python/pythontest2.py: Check that the deprecated methods are no
longer accessible (not all methods are checked).
* docs/index.html: Update documentation to say they've been removed.
Mon Jun 13 10:35:29 GMT 2011 Olly Betts <olly@survex.com>
* python/extra.i: Remove deprecated Stem_get_available_languages().
* python/pythontest2.py: Add test to make sure it stays removed!
Mon Jun 13 10:10:56 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: Fix odd ordering of line and comment (which
has been that way since I committed the change which added the
code around the comment.
Mon Jun 13 09:54:20 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
lua/docs/index.html,php/docs/index.html,python/docs/index.html,
ruby/docs/index.html,tcl8/docs/index.html,xapian-head.i,xapian.i:
Update for removal of flint.
Mon Jun 13 09:34:05 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Update version to 1.3.0.
Sun Jun 12 23:34:24 GMT 2011 Olly Betts <olly@survex.com>
* php/Makefile.am: The SWIG upgrade means we now have xapian_wrap.h as
well as xapian_wrap.cc. Really the final update for 1.2.6.
Sun Jun 12 13:06:16 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Lua's _VERSION reports "Lua 5.0.3" for Lua 5.0.3, so
add '|5.0.*' to the pattern since '5.0' won't match.
Sun Jun 12 11:47:03 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Final update for 1.2.6.
Sun Jun 12 07:47:04 GMT 2011 Olly Betts <olly@survex.com>
* NEWS.SKELETON: Add Lua and Perl headings.
Sun Jun 12 07:29:29 GMT 2011 Olly Betts <olly@survex.com>
* README: Move C# first so the languages are all in alphabetical
order.
Sun Jun 12 07:28:52 GMT 2011 Olly Betts <olly@survex.com>
* README: Add Lua.
Sun Jun 12 07:24:17 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Need to quote [01234] to stop m4 eating the [].
Sun Jun 12 07:19:37 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,lua/docs/examples/simpleexpand.lua,
lua/docs/examples/simpleindex.lua,lua/docs/index.html,lua/util.i:
Fix whitespace issues.
Sun Jun 12 07:07:18 GMT 2011 Xiaona Han <xiaonahappy@gmail.com>
* Makefile.am,configure.ac,lua/Makefile.am,
lua/docs/examples/simpleexpand.lua,lua/docs/examples/simpleindex.lua,
lua/docs/examples/simplesearch.lua,lua/docs/index.html,
lua/smoketest.lua,lua/util.i: Merge in current state of Lua
bindings.
Fri Jun 10 12:08:17 GMT 2011 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update in preparation for 1.2.6.
Fri Jun 10 09:11:02 GMT 2011 Olly Betts <olly@survex.com>
* java/LICENSE: Remove, since it is explicitly included in each source
file it applies to.
Fri Jun 10 06:43:10 GMT 2011 Olly Betts <olly@survex.com>
* php/Makefile.am: Add simplematchdecider.php5 example to tarball.
Fri Jun 10 06:40:46 GMT 2011 Olly Betts <olly@survex.com>
* php/php.ini: Remove file which is no longer used.
Fri Jun 10 01:21:21 GMT 2011 Olly Betts <olly@survex.com>
* xapian-head.i,xapian.i: Update for addition of
XAPIAN_DEPRECATED_CLASS.
Thu Jun 02 03:07:35 GMT 2011 Olly Betts <olly@survex.com>
* php/docs/examples/simplematchdecider.php5: Change start tag from <?
to <?php - issue pointed out by Daniel Menard in ticket#488.
Mon May 30 10:34:16 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Mon May 30 07:06:00 GMT 2011 Olly Betts <olly@survex.com>
* tcl8/docs/index.html: Fix <i> to </i> (reported by Xiaona Han).
Mon May 30 07:04:00 GMT 2011 Olly Betts <olly@survex.com>
* php/docs/examples/simplematchdecider.php5,php/smoketest.php: Objects
passed to virtual methods overridden in PHP are now wrapped properly.
(ticket#488)
Sun May 29 14:41:13 GMT 2011 James Aylett <james@tartarus.org>
* configure.ac: set NEED_JNILIB_EXT for all Mac OS versions
Sun May 29 14:36:55 GMT 2011 James Aylett <james@tartarus.org>
* java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am,
java/org/xapian/examples/Makefile.am: use .NOTPARALLEL when
compiling Java classfiles to avoid race condition during
parallel builds
Sun May 29 13:27:10 GMT 2011 Olly Betts <olly@survex.com>
* java/native/Makefile.am: XapianObjectHolder.h was removed so stop
trying to ship it.
Fri May 27 05:28:09 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Fri May 27 05:09:42 GMT 2011 Olly Betts <olly@survex.com>
* java/native/utils.cc: Remove another unused <typeinfo>.
Fri May 27 05:01:47 GMT 2011 Olly Betts <olly@survex.com>
* java/native/: Factor out Java jstring -> C++ std::string conversion
into cpp_string() function, which also fixes memory leaks upon
exceptions.
Fri May 27 04:29:19 GMT 2011 Olly Betts <olly@survex.com>
* java/native/xapian_jni.h: Remove unused <typeinfo>.
Fri May 27 04:25:39 GMT 2011 Olly Betts <olly@survex.com>
* java/native/xapian_jni.h: Remove unused struct streq.
Fri May 27 04:02:01 GMT 2011 Olly Betts <olly@survex.com>
* java/native/,java/org/xapian/: Instead of using an unordered_map to
track id -> pointer mappings, just use reinterpret_cast - jlong is
64 bits, which will hold a pointer on current platforms.
* java/README: This avoids needing thread locks, so remove pthread
linking issues from TODO list.
Thu May 26 13:06:13 GMT 2011 Olly Betts <olly@survex.com>
* java/native/: C++'s delete operator will ignore a NULL pointer, so
remove checks that the pointer is non-NULL before calling it.
Thu May 26 11:30:22 GMT 2011 Olly Betts <olly@survex.com>
* java/native/unordered_map.h: Portability wrapper around various ways
to get unordered_map with different compilers.
* java/native/XapianObjectHolder.h: Use new unordered_map.h which fixes
warnings about using deprecated headers with recent GCC versions.
Wed May 25 13:58:21 GMT 2011 Olly Betts <olly@survex.com>
* php/util.i,xapian.i: Move PHP special cases to php/util.i (generated
code is identical before and after this change).
Wed May 25 13:20:06 GMT 2011 Olly Betts <olly@survex.com>
* php/docs/examples/simplematchdecider.php5,php/docs/index.html: Add
simplematchdecider.php example.
Wed May 25 12:17:11 GMT 2011 Olly Betts <olly@survex.com>
* php/util.i: Now we have directors enabled, stop ignoring Xapian::Sorter
and uncomment directorin typemap for passing a count and array of
std::string.
Tue May 24 15:08:24 GMT 2011 Olly Betts <olly@survex.com>
* php/smoketest.php,php/util.i,python/generate-python-exceptions,
ruby/Makefile.am: Update to newer SWIG (ticket#538). Fixes C#
binding issues with strings with newer C# versions. Directors
now work for PHP (ticket#488).
Mon May 23 13:58:43 GMT 2011 Olly Betts <olly@survex.com>
* README: say that Perl bindings probably need Perl 5.8 or later.
Mon May 23 07:47:24 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Get the Ruby version from the rbconfig module, rather
than parsing the potentially more variable output of ruby --version.
Wed May 11 21:50:11 GMT 2011 Olly Betts <olly@survex.com>
* ruby/xapian.rb: Fix comments on "end" keywords to match function
names.
Wed May 11 03:50:18 GMT 2011 Olly Betts <olly@survex.com>
* ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() -
just skip the compaction tests for these versions.
Mon May 09 01:36:56 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: With Python 2.7, gc.collect() doesn't always
collect all the garbage, so repeat until no further objects are
freed. (http://bugs.debian.org/625679 and
https://bugs.gentoo.org/349484).
Mon Apr 04 13:58:45 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update release date.
Mon Mar 28 12:02:56 GMT 2011 Olly Betts <olly@survex.com>
* NEWS,configure.ac: 1.2.5.
Sat Mar 26 14:50:41 GMT 2011 Olly Betts <olly@survex.com>
* INSTALL: Fix typo in recent commit.
Sat Mar 26 14:44:53 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Fix m4 quoting so that the release series check works.
Sat Mar 26 14:34:10 GMT 2011 Olly Betts <olly@survex.com>
* INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
Replace VPATH section with better equivalent from
xapian-core/INSTALL.
Sat Mar 26 14:29:32 GMT 2011 Olly Betts <olly@survex.com>
* ruby/smoketest.rb: Test Xapian::Compactor.
Sun Mar 20 10:53:32 GMT 2011 Olly Betts <olly@survex.com>
* python/smoketest2.py: Remove two print statements left over from
debugging.
Fri Mar 18 13:46:05 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and
later, or 10.4 on x86 as the default if unset on these platforms
is the current OS version.
Fri Mar 18 11:33:26 GMT 2011 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Second part of ticket#516 fix.
Fri Mar 18 05:29:01 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Don't pass extra flags to Microsoft's gacutil.
(ticket#516)
Wed Mar 16 05:29:31 GMT 2011 Olly Betts <olly@survex.com>
* python/smoketest2.py: Add test coverage for min_wt argument of
get_eset().
Wed Mar 16 05:13:42 GMT 2011 Olly Betts <olly@survex.com>
* python/smoketest2.py: Fix comment typo.
Wed Mar 16 03:33:13 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Handle an empty response to $RUBY --version specially.
This gives a less opaque error in cases where the user specified
RUBY but the value given wasn't an executable file.
Tue Mar 15 23:09:04 GMT 2011 Dan Colish <dcolish@gmail.com>
* xapian.i: Expose ESet.get_eset with min_wt parameter
Tue Mar 01 11:51:19 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Mon Feb 21 14:47:10 GMT 2011 Olly Betts <olly@survex.com>
* python/docs/index.html: Document that MSet.items and ESet.items are
deprecated, and what to use instead. Note that MSET_DOCUMENT never
worked on the tuple returned by MSet.items.
Sat Jan 29 05:25:15 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: Add test coverage for mset.items.
Sat Jan 29 02:12:43 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: If xapian-core is a different release series, promote
the mismatched versions warning to an error.
Sat Jan 15 12:03:31 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,csharp/AssemblyInfo.cs.in: Revert COMPAT_VERSION
change - we need to strip the _svnNNNNN suffix for snapshots, and
it isn't any extra effort to handle an optional subrevision in the
same sed regexp.
Sat Jan 15 11:38:40 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac: Fix comment typo.
Sat Jan 15 11:36:05 GMT 2011 Olly Betts <olly@survex.com>
* csharp/AssemblyInfo.cs.in: Clarify the licence is GPL "version 2 or
later".
Sat Jan 15 11:32:46 GMT 2011 Olly Betts <olly@survex.com>
* configure.ac,csharp/AssemblyInfo.cs.in: Remove COMPAT_VERSION
machinery - we've not used it since 0.9.10.1, and it seems unlikely
we will again. If we do, we can reverse this change.
Sat Jan 15 11:20:33 GMT 2011 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.
Thu Jan 13 01:50:18 GMT 2011 Olly Betts <olly@survex.com>
* python/pythontest2.py: In test_compactor(), close any open databases
before removing the directory as you can't delete an open database
on Microsoft Windows. (ticket#526)
Mon Jan 10 12:53:51 GMT 2011 Richard Boulton <richard@tartarus.org>
* python/extra.i: Remove broken implementation of
MSet.__contains__. This appears never to have worked, and to
have been broken for at least the past 3.5 years without anyone
mentioning it, and is probably of little use anyway, so no need
to deprecate.
Tue Dec 21 12:18:03 GMT 2010 Olly Betts <olly@survex.com>
* README: Update info on SWIG-based Perl bindings.
Mon Dec 20 09:54:52 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/util.i: Remove old and broken Enquire.get_matching_terms()
method. We deprecated Enquire.get_matching_terms() in 1.0.x, and
removed it in 1.1.0, but accidentally left an older version of
get_matching_terms() exposed.
* python/docs/index.html: Also, remove the old documentation for
get_matching_terms().
Mon Dec 20 09:53:56 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/pythontest2.py: Remove test of
Enquire.get_matching_terms(), and the associated contortions to
get a corresponding msetiter to pass to it.
Sun Dec 19 12:40:39 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Update release date.
Sat Dec 18 15:09:06 GMT 2010 Olly Betts <olly@survex.com>
* NEWS,configure.ac: 1.2.4.
Thu Dec 16 10:11:35 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Pass CPPFLAGS, CXX, CXXFLAGS to the testsuite.
Tue Dec 14 14:23:07 GMT 2010 Olly Betts <olly@survex.com>
* perl/t/symbol-test.t: Merge VPATH fixes from Search::Xapian.
Tue Dec 14 05:25:10 GMT 2010 Olly Betts <olly@survex.com>
* perl/t/: Disable tests from the XS version which don't yet pass
here with a $disable_fixme variable, so they are more clearly marked
and can easily be reenabled for testing.
Tue Dec 14 03:01:43 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am,perl/t/symbol-test.t,perl/util.i.in: Merge fix and
adapt testcase for it from XS Search::Xapian:
[Changes contributed by David F. Skoll and Dave O'Neill]
- Tell DynaLoader to load the module with RTLD_GLOBAL so exceptions
still work when multiple Perl modules which link to xapian-core are
loaded. (ticket#522)
Tue Dec 14 02:46:52 GMT 2010 Olly Betts <olly@survex.com>
* perl/util.i.in: Whitespace tweaks.
Mon Dec 13 20:22:13 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/pythontest2.py,python/util.i: Fix memory leak in
Enquire.get_matching_terms() method, and add coverage for this
method. Check gc.get_objects() is the same before and after the
calls to get the matching terms; this failed before the fix.
Mon Dec 13 12:04:28 GMT 2010 Olly Betts <olly@survex.com>
* php/docs/index.html: Document that iterators shouldn't be
dereferenced or advanced when at their end points (ticket#520).
Mon Dec 13 06:04:08 GMT 2010 Olly Betts <olly@survex.com>
* php/util.i: Add commented out typemap for director support for
Compactor::resolve_duplicate_metadata().
Sat Dec 11 23:20:29 GMT 2010 Olly Betts <olly@survex.com>
* python/generate-python-exceptions: Remove PostingSource's serialise
method from the list as we %ignore it in xapian.i.
Sat Dec 11 10:31:30 GMT 2010 Olly Betts <olly@survex.com>
* python/generate-python-exceptions,xapian.i: Wrap MatchSpy as a
director class so it can be subclassed in Python.
* python/pythontest2.py: Add test that subclassing MatchSpy works.
Tue Dec 07 04:10:37 GMT 2010 Olly Betts <olly@survex.com>
* python/pythontest2.py: Add regression test for last fix.
Tue Dec 07 03:10:24 GMT 2010 Olly Betts <olly@survex.com>
* python/util.i: Fix memory leaks in typemaps which return Python
lists (reported by AlexB on #xapian).
Tue Dec 07 02:51:51 GMT 2010 Olly Betts <olly@survex.com>
* python/util.i: Remove unused typemap.
Wed Nov 17 10:13:00 GMT 2010 Olly Betts <olly@survex.com>
* ruby/util.i: Wrap Compactor::resolve_duplicate_metadata().
Mon Nov 08 12:33:31 GMT 2010 Olly Betts <olly@survex.com>
* ruby/util.i: Remove unused, commented-out typemap for wrapping a pair
of TermIterators.
Sun Nov 07 14:17:08 GMT 2010 Olly Betts <olly@survex.com>
* python/pythontest2.py,python/util.i: Wrap updated
Compactor::resolve_duplicate_metadata() method signature.
Sat Nov 06 11:59:23 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Thu Nov 04 12:44:51 GMT 2010 Richard Boulton <richard@tartarus.org>
* generic/generic.mk: For Mac OS X builds, set DYLD_LIBRARY_PATH to
allow tests to find uninstalled xapian library. See ticket #322.
Mon Oct 11 12:29:20 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: We don't want to distribute util.i - configure
generates it from util.i.in.
Mon Oct 11 12:28:14 GMT 2010 Olly Betts <olly@survex.com>
* csharp/Makefile.am: No need to list AssemblyInfo.cs.in in EXTRA_DIST
or AssemblyInfo.cs in CLEANFILES - automake takes care of
distributing and cleaning these.
Mon Oct 11 12:21:33 GMT 2010 Olly Betts <olly@survex.com>
* tcl8/Makefile.am: No need to list pkgIndex.tcl.in in EXTRA_DIST or
pkgIndex.tcl in CLEANFILES - automake takes care of distributing and
cleaning these.
Mon Oct 11 12:18:06 GMT 2010 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java-swig/Makefile.am,perl/Makefile.am,
php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
tcl8/Makefile.am: Don't list swig-built files in CLEANFILES.
Mon Oct 11 11:58:21 GMT 2010 Olly Betts <olly@survex.com>
* Makefile.am: Don't explicitly list files in EXTRA_DIST which automake
will ship anyway. Don't ship xapian-version.h as configure will
generate that (xapian.spec is different - we put that in the tarball
so rpmbuild can find it).
Mon Oct 11 11:51:57 GMT 2010 Olly Betts <olly@survex.com>
* Makefile.am: No need to explicitly list xapian-version.h in
DISTCLEANFILES - automake will remove in for us on "make distclean"
since it is created by AC_CONFIG_FILES in configure.ac.
Fri Oct 08 13:32:38 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Fix typo in code to set PYTHON_LIBS under cygwin.
(ticket#509)
Fri Oct 01 12:10:55 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am,python/generate-python-exceptions,
python/pythontest2.py,xapian.i: Wrap the new Xapian::Compactor
class as a Director class, and add a testcase for it in python.
Wed Sep 29 05:35:03 GMT 2010 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Fix to delete libxapian_jni.la rather than
xapian.la.
Wed Sep 29 05:33:43 GMT 2010 Olly Betts <olly@survex.com>
* csharp/Makefile.am,xapian-bindings.spec.in: Don't install or package
_XapianSharp.la.
Wed Sep 29 05:19:44 GMT 2010 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Package the Perl bindings too (patch from
Tim Brody).
Wed Sep 29 04:44:24 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Don't install Xapian.la.
Wed Sep 29 02:30:49 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am,perl/t/10query.t,perl/util.i.in: Fix building a
Query from subqueries which are themselves Query objects. Patch
from Tim Brody.
Mon Sep 27 13:00:33 GMT 2010 Olly Betts <olly@survex.com>
* php/Makefile.am: Fix $(PHP_MAJOR_VERSION) to literal 5 in two places.
Mon Sep 27 12:51:19 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Need python in maintainer mode to run doxy2swig.py.
Wed Sep 08 03:10:33 GMT 2010 Olly Betts <olly@survex.com>
* perl/t/01use.t: Revert debug change, as it has served its purpose.
* configure.ac: Handle the "_svn<rev>" suffix of snapshot versions
specially for Perl, to match how this is handled for Search::Xapian.
Wed Sep 08 02:00:34 GMT 2010 Olly Betts <olly@survex.com>
* perl/t/01use.t: This test is mysteriously failing in the snapshot
builder, so add a line of code to help debug this.
Wed Sep 08 00:24:58 GMT 2010 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Remove commented out SUBDIRS line.
Wed Sep 08 00:24:22 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Fix to create docs subdirectory when srcdir !=
builddir.
Tue Sep 07 11:54:58 GMT 2010 Olly Betts <olly@survex.com>
* ruby/Makefile.am,ruby/docs/generate-rdoc-stubs,
ruby/generate-rdoc-stubs: Fix generation of rdocs to work when srcdir
!= buildir (broken by last but one commit).
Tue Sep 07 10:46:36 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am: Eliminate
csharp/docs/Makefile.am similarly.
Tue Sep 07 10:28:25 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac,php/Makefile.am,php/docs/Makefile.am,python/Makefile.am,
python/docs/Makefile.am,ruby/Makefile.am,ruby/docs/Makefile.am,
tcl8/Makefile.am,tcl8/docs/Makefile.am: Eliminate separate
Makefile.am in docs subdirectory of each language subdirectory and
just inline any rules into the main sub-Makefile.am, which allows
make to run more of the build in parallel.
Tue Sep 07 10:19:55 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac,perl/Makefile.am: Install
architecture-independent perl files in the appropriate directory.
* perl/Makefile.am,perl/lib/,perl/Search/Xapian/: Structure source
and build trees more like installed tree so we don't need to create
symlinks to run tests in the uninstalled tree. Fix tests to work
when srcdir != builddir.
Mon Sep 06 05:40:34 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Don't try to generate perl/docs/Makefile.
Mon Sep 06 05:37:06 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am,perl/docs/Makefile.am: Merge perl/docs/Makefile.am
into perl/Makefile.am and fix to install.
Mon Sep 06 03:30:58 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Fix "make clean" to work properly.
Mon Sep 06 03:17:01 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Fix path to index.html in rule.
Mon Sep 06 02:43:47 GMT 2010 Olly Betts <olly@survex.com>
* perl/t/: Update with newer testcases from Search::Xapian.
Mon Sep 06 02:27:35 GMT 2010 Olly Betts <olly@survex.com>
* perl/Makefile.am: Build shared object as Xapian.la not xapian.la as
Perl looks for it capitalised.
Mon Sep 06 02:14:06 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: No need to m4 quote shell fragments without [] in.
Remove trailing ; from statements.
Mon Sep 06 02:07:11 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Whitespace tweaks.
Mon Sep 06 02:02:42 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Tweak help message for PERL_INC.
Sun Sep 05 23:24:05 GMT 2010 Olly Betts <olly@survex.com>
* Merge Kosei's SWIG-based Perl bindings from GSoC 2009.
Sun Sep 05 12:55:13 GMT 2010 Olly Betts <olly@survex.com>
* INSTALL: Fix typo ("Ruby" should be "Perl").
Sun Sep 05 12:49:20 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Remove accidentally added ';' from Ruby checks.
Fri Aug 14 16:45:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/lib/:Add "1;" into end of lib/*.pm files.
Thu Aug 13 12:36:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix some lines and clean up code.
Wed Aug 12 14:11:49 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* INSTALL,perl/util.i.in:Add and fix some lines to describe
SWIG based perl biding.
Wed Aug 12 12:59:30 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am,perl/docs/index.html:Fix Makefile to
generate docs/index.html from pod document of Search::Xapian.
Wed Aug 12 09:32:17 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Remove and replace some lines and clean
up code.
Wed Aug 12 06:22:31 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am,perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/,
perl/util.i.in:Remove perl code from lib/*.pm files, add pod
document of Search::Xapian to util.i.in, and fix test environment
and test programs in Makefile.am.
Tue Aug 11 10:01:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix set_sort_by_key(), set_sort_by_key_then_relevance()
and set_sort_by_relevance_then_key() of Enquire using %feature("shadow")
directive.
Mon Aug 10 16:11:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/t/search.t: Modifire some tests to use get_termname()
instead of stringification operator because now we haven't
support it, and remove some machdecider tests since we also
haven't support it.
* perl/util.i.in:Fix MSetIterator::clone(), remove
MSetIterator::get_docid() since same function is already
defined at xapian.i, and add overloaded operators of
ESetIterator.
Mon Aug 10 16:03:10 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add CLONE_SKIP functions for thread support.
Sat Aug 08 03:35:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix internal function call of MSet::FETCH.
Fri Aug 07 15:29:21 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add tie support of MSetIterator and
ESetIterator. Wrap function MSet::matches() and
MSet::items(). Add class MSet::Tied. Wrap overload operators
of ESet.
Fri Aug 07 06:03:05 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/lib/TermIterator.pm,perl/lib/ValueIterator.pm,
perl/t/document.t,perl/t/index.t,perl/util.i.in:
Remove "" operator wrapping, modify test cases and
pod documents. Because modifying SWIG is needed to
support "" operator.
Thu Aug 06 08:29:25 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Wrap operator overload of MSetIterator.
Wed Aug 05 14:42:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Replace each iterator's function 'inc()'
to 'increment()', which is macro 'NEXT' defined in xapian.i
and renamed in per/util.i, because both two function's
operation is same.
Wed Aug 05 14:39:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Remove new object constructing operation
in TermIterator's inc() function. Because it prevents a
destruction of other object (such as WritableDatabase).
Fri Jul 31 16:32:19 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add constant variable FLAG_SPELLING for
TermGenerator::set_flags().
Fri Jul 31 16:28:53 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Replace get_mset() definition to %rename.
Thu Jul 30 11:54:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Modifying some proxy functions using %feature("shadow")
directive for removing repeatedly defined functions (constructor of
QueryParser, SimpleStopper and WritableDatabase).
Wed Jul 29 10:04:51 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/t/index.t,perl/t/parser.t: Fix exception tests because
previous test suppose working of XS binding with bug.
Wed Jul 29 01:24:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix add_valuerangeprocessor to push
ValueRangeProcessors object into it's member array
since storing all ValueRangeProcessors objects which
added.
Tue Jul 28 06:09:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix set_stopper of TermGenerator to keep
SimpleStopper reference in the object for it won't be deleted.
Similar fix for set_sort_by_key, set_sort_by_key_then_relevance,
set_sort_by_relevance_then_key to keep MultiValueSorter.
Tue Jul 28 03:56:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Fix set_stopper to keep SimpleStopper reference
in object for it won't be deleted. Same fix for add_valuerangeprocessor.
Mon Jul 27 09:31:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add operator overload support for PositionIterator,
fix new3_WritableDatabase, and TermIterator::clone for overloading
operator '='.
Mon Jul 27 06:40:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add function new3_WritableDatabase and
WritableDatabase::new to construct WritableDatabase
correctly.
Thu Jul 23 16:58:26 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in: Wrap functions SimpleStopper::stop_word,
QueryParser::new and SimpleStopper::new.
Wed Jul 22 15:23:39 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Add wrapper functions for Stem::stem_word,
WritableDatabase::replace_document_by_term,
writabledatabase::delete_document_by_term,
some ValueIterator functions and some TermIterator functions.
Add operator overload support for ValueIterator and
TermIterator, but now double quotation operator is
commented out temporarily to avoid error.
Tue Jul 21 17:20:01 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am:Fix the way of compile xapian_wrap.cc
and Xapian.pm for multiple file compilation.
Tue Jul 21 17:05:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Ignore Xapian::Query::Query for taking away
duplication of definition. Change some argument handling process
of Xapian::Query::new* functions.
Mon Jul 20 13:37:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in: Add wrapper function get_mset() and it's
internal function get_mset1. Fix newN() function to handle
multiple query argument well by introducing typemap which
maps perl array to SV **.
Fri Jul 17 14:52:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am,perl/generate-perl-exceptions: Add exception
wrapping refering python/generate-python-exceptions and
search-xapian/handle_exception.cc .
Thu Jul 16 13:45:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in:Rename constructors of Query and Enquire::set_query,
add wrapper function newN for generatig new query, add function
Database::enquire, Query::new and Enquire::set_query.
Tue Jul 14 15:02:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* configure.ac: Fix PERL_XAPIAN_VERSION to get binding's
version number. Previously it gets from xaian-core's one.
Tue Jul 14 07:52:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am: Add some options for testing.
* perl/util.i.in: Fix for variable $VERSION.
Mon Jul 13 11:43:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in: Add a valiable $VERSION for adjusting
usage how to get version number.
Mon Jul 13 11:32:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am: Add swig's -const and -proxy option to
wrap constant values correctly.
* perl/util.i.in: Add %constant directive for wraipping
constant values. Fix generation process of OP_NAMES, DB_NAMES,
FLAG_NAMES and STEM_NAMES because of change of above constant
value handling.
Sun Jul 12 23:47:54 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/util.i.in: Fix that array OP_NAMES, DB_NAMES, FLAG_NAMES
and STEM_NAES could contain values correctory.
* perl/Makefile.am: Fix a spelling mistake.
Mon Jul 06 05:50:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am,perl/util.i.in: Add some hashes such as EXPORT_TAGS
for exporter module. And add arrays OP_NAMES, DB_NAMES, FLAG_NAMES and
STEM_NAMES to util.i.in.
* perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/:Rename directory
name 'Xapian' to 'lib' to process Test::Pod.
Sun Jun 28 20:44:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* configure.ac,perl/util.i,perl/util.i.in: Add VERSION variable
into Xapian.pm. To do this, add #define directive into perl/util.i
and get version number from configure.
Sun Jun 28 17:56:03 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/Makefile.am: To override module name (from 'xapian'
to 'Search::Xapian') add swig's '-module Search::Xapian' option,
change test environment from 'perl' to 'prove', and change directory
to install Xapian.pm.
* configure.ac: Remove '/auto/Search/Xapian' from PERL_LIB variable,
and add dot into PERL_SO variable.
Mon Jun 22 02:53:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* configure.ac,perl/Makefile.am: Add configure test to get appropriate
setting for directories to install perl files into. Also add test to
get perl module extension.
* perl/util.i: Add %rename directive to rename "next()" function in
xapian-bindings/xapian.i and "next(Xapian::weight min_wt)" function
in xapian-core/include/xapian/postingsource.h because these functions
conflicts perl's "next" keyword.
Sun Jun 21 21:45:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
* perl/xapian.pm: remove a generated file (xapian.pm) from repository.
* ChangeLog: add log message of revision 12910 (Mon Jun 15 17:58:09 GMT 2009).
Mon Jun 15 17:58:09 GMT 2009 Kosei Moriyama <cou929@gmail.comm>
* Makefile.am,configure.ac: Add --with-perl configure option,
and add configure test to get appropriate setting for include
path for perl.
* perl/Makefile.am, perl/docs/Makefile.am,
perl/docs/examples/, perl/docs/index.html,
perl/t/, perl/util.i, perl/xapian.pm: Add perl subdirectory to
build system.
Wed Aug 25 15:15:36 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Use sys.version_info tuple, rather than string splicing
which assumes the Python "major.minor" is 3 characters (which would
fail if Python 2.10 were ever released, for example).
Tue Aug 24 06:02:17 GMT 2010 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.2.3.
Tue Aug 24 05:09:10 GMT 2010 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Don't run autoreconf - it's no longer
required.
Sun Jun 27 05:24:00 GMT 2010 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.2.2.
Sat Jun 26 16:01:26 GMT 2010 Olly Betts <olly@survex.com>
* NEWS.SKELETON: Template NEWS entry.
Thu Jun 24 15:19:10 GMT 2010 Olly Betts <olly@survex.com>
* php/util.i: COMPILE_DL_XAPIAN is no longer used now we have dropped
PHP4 support, so remove.
Tue Jun 22 15:18:44 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/pythontest3.py,python/smoketest3.py: Update python3 tests
to match the changes in the python 2 versions. (They're not
expected to work currently, though, due to unicode handling
problems with the python 3 wrappers.)
Tue Jun 22 15:17:13 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/extra.i: Remove wrapping of QueryParser.set_stemmer() and
TermGenerator.set_stemmer(), which isn't needed with the better
way of handling ownership of python stemmer subclasses which Olly
committed in r14742.
Tue Jun 22 13:42:27 GMT 2010 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.2.1.
Tue Jun 22 13:23:49 GMT 2010 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Now get StemImplementation.cs instead of
SWIGTYPE_p_Xapian__StemImplementation.cs.
* java-swig/Makefile.am: Add StemImplementation.java.
Tue Jun 22 13:22:10 GMT 2010 Olly Betts <olly@survex.com>
* csharp/util.i,java-swig/util.i: XAPIAN_SWIG_NO_DISOWN is no longer
needed, so revert that.
Tue Jun 22 11:18:41 GMT 2010 Olly Betts <olly@survex.com>
* xapian.i: We don't need to use the DISOWN typemap now.
Tue Jun 22 10:55:03 GMT 2010 Olly Betts <olly@survex.com>
* python/extra.i: Call __disown__() on the StemImplementation rather
than storing a reference to it.
Tue Jun 22 10:19:49 GMT 2010 Olly Betts <olly@survex.com>
* python/smoketest2.py: Add coverage for wrapping the same MyStemmer
in a xapian.Stem more than once.
Tue Jun 22 10:17:23 GMT 2010 Olly Betts <olly@survex.com>
* python/smoketest2.py: Check that all MyStemmer objects get deleted,
and that none get deleted more than once.
Tue Jun 22 08:29:11 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/extra.i: Wrap Stem.__init__, QueryParser.set_stemmer, and
TermGenerator.set_stemmer to put a reference to the python
object supplied into the object which will be using it. This
ensures that the python object doesn't get deleted too soon, and
hopefully fixes #448.
* python/smoketest2.py: Modify test so that a reference to the
newly created stemmer objects isn't explicitly held, to check
that automatic references are being held correctly.
Mon Jun 21 13:17:01 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Sync with 1.0.21 and update from ChangeLog.
Mon Jun 21 05:58:52 GMT 2010 Olly Betts <olly@survex.com>
* python/smoketest2.py,xapian.i: Sort out disowning of
StemImplementation so you don't need to call __disown__() explicitly.
Fixes ticket#448.
Sat Jun 12 11:57:55 GMT 2010 Olly Betts <olly@survex.com>
* python/pythontest2.py: Fix testcase weight_normalise - for a
non-existent term, get_max_possible() can now return zero so you
can't calculate the reciprocal of it.
Sat Jun 12 06:25:08 GMT 2010 Olly Betts <olly@survex.com>
* python/util.i: Add workaround so xapian.BAD_VALUENO is a constant
rather than variable which can't be written to. (ticket#297)
* python/smoketest2.py: Add regression test for this by checking that
xapian.cvar doesn't exist.
Thu Jun 10 04:26:31 GMT 2010 Olly Betts <olly@survex.com>
* xapian.i: Change MatchDecider and ExpandDecider dtors to be
declarations rather than empty definitions (should make no
difference, but it's cleaner if they match the Xapian headers).
Wed Jun 09 13:44:25 GMT 2010 Olly Betts <olly@survex.com>
* xapian.i: Only mark Xapian::StemImplementation as a director class if
we aren't ignoring it.
Wed Jun 09 13:36:54 GMT 2010 Olly Betts <olly@survex.com>
* python/Makefile.am: Fix cleaning of test directories to use "rm -rf"
rather than "rm -f".
Thu Jun 03 15:21:13 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am: Add missing
SWIGTYPE_p_Xapian__StemImplementation.cs file.
Tue Jun 01 16:23:23 GMT 2010 Olly Betts <olly@survex.com>
* csharp/util.i,java-swig/util.i,python/generate-python-exceptions,
python/smoketest2.py,xapian.i: Wrap Xapian::StemImplementation.
Currently only tested for Python, and requires explicit use of
__disown__() there.
Thu May 27 22:30:54 GMT 2010 Olly Betts <olly@survex.com>
* xapian.i: Ignore Xapian::StemImplementation for now so that the
tree builds while I sort out wrapping it properly.
Thu May 27 09:34:13 GMT 2010 Olly Betts <olly@survex.com>
* php/except.i: zend_throw_exception() returns, so we should return
control to PHP directly after calling it to avoid needless extra
work and possible issues.
Wed May 19 09:12:36 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/extra.i: Ensure that __all__ is populated after local
symbols are deleted - this fixes "from xapian import *". Fixes
#477.
* python/pythontest2.py,python/test_xapian_star.py: Add a test that
"from xapian import *" works - unfortunately, this requires a
separate file, since the syntax is only valid at module level,
and we don't want to pollute the namespace of the rest of the
tests.
Sun May 16 13:27:17 GMT 2010 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Update list of generated java sources.
Sun May 16 12:05:29 GMT 2010 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac,guile/Makefile.am,guile/util.i: Remove
non-functional disabled guile bindings left over from Open Muscat
days - if someone wanted to add guile bindings, it would be easier to
start from scratch.
Tue May 04 19:47:40 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/replicationtest2.py: Some modifications to the replication
test to check that changesets get applied correctly.
Tue May 04 15:26:53 GMT 2010 Olly Betts <olly@survex.com>
* python/smoketest2.py: Check len(mset) works (improving test coverage
of Python-specific wrapping).
Wed Apr 28 10:43:28 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Sync with 1.0.20.
Wed Apr 28 10:41:45 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Tell libtool not to link in deplibs on platforms where
we know they aren't needed.
* configure.ac: On Linux, extract the library search path from ldconfig
which gives us the default entries reliably.
* NEWS,configure.ac: 1.2.0.
Wed Apr 21 03:09:49 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Fix typo so path to ruby is reported in Ruby < 1.8 is
found.
Tue Apr 20 11:57:03 GMT 2010 Olly Betts <olly@survex.com>
* python/Makefile.am: Set a sh trap to clean up any .pyc files created
by running a testsuite program. Remove *.pyc (not just
testsuite.pyc) on "make clean".
Tue Apr 20 11:06:55 GMT 2010 Olly Betts <olly@survex.com>
* python/Makefile.am: Set PYTHONDONTWRITEBYTECODE=1 in the environment
to prevent generating .pyc files in srcdir for Python >= 2.6. Partly
addresses ticket#315.
Thu Apr 15 04:36:01 GMT 2010 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.1.5.
Wed Mar 03 06:25:54 GMT 2010 Olly Betts <olly@survex.com>
* tcl8/docs/index.html: Document WritableDatabase's close method as
a way to sidestep the whole destructor issue. (ticket#62)
Improve wording in a few places.
Mon Feb 15 14:01:20 GMT 2010 Olly Betts <olly@survex.com>
* configure.ac: Update for 1.1.4.
Mon Feb 15 13:46:41 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Fix typo in 1.1.3 NEWS. Add missing note that 1.1.3
includes all relevant changes from 1.0.15-1.0.17. Add note that
1.1.4 includes all relevant changes from 1.0.18.
Mon Feb 15 13:17:39 GMT 2010 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and 1.0.18.
Mon Feb 15 12:17:03 GMT 2010 Olly Betts <olly@survex.com>
* php/util.i: Remove (C) header since the code it was added for was
reverted.
Fri Feb 05 11:42:29 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am,php/smoketest.php,php/util.i,python/extra.i,
python/pythontest2.py,python/util.i: Update to match the removal
of ValueCountMatchSpy from core.
Wed Feb 03 17:52:44 GMT 2010 Richard Boulton <richard@tartarus.org>
* xapian.i: Add wrappers for Database::get_doclength_lower_bound(),
Database::get_doclength_upper_bound(),
Database::get_wdf_upper_bound() for all languages. Also, expose
the skip_to() and check() methods on ValueIterator, and expose
Database::valuestream_begin() and Database::valuestream_end().
Fixes ticket #431.
* python/: Add ValueStreamItem and ValueStreamIter to wrap the
iterators returned from the valuestream methods. Wrap and
replace the C++ valuestream_begin() and valuestream_end() methods
with a Database.valuestream() method which returns a
ValueStreamIter. Add a test for this (test_valuestream_iter()).
* ruby/: Add safe wrapper for the valuestream iterator, add a
"docid" member to the Value wrapper for ValueIterator, and add a
test for this.
Wed Feb 03 15:17:27 GMT 2010 Richard Boulton <richard@tartarus.org>
* ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Wrap and test
ValueCountMatchSpy::values_begin() and values_end() for ruby.
Wed Feb 03 15:11:39 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/docs/index.html: Document ValueCountMatchSpy.values() and
top_values().
Wed Feb 03 15:09:09 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/extra.i,python/pythontest2.py: Wrap the
ValueCountMatchSpy::values_begin() and values_end() methods as a
values() pythonic iterator.
Wed Feb 03 13:37:22 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/util.i: Remove unused typemap pair which was used for
wrapping the old ValueCountMatchSpy::get_top_values() method.
Wed Feb 03 13:22:25 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am,python/extra.i,python/pythontest2.py,
ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Update to add
support and tests for the new TermIterator-based
ValueCountMatchSpy::top_values methods. Also for the removal of
StringAndFrequency from the API.
Tue Feb 02 15:28:28 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/Makefile.am: Comment out replicationtest by default again;
it's still not reliable.
Tue Feb 02 15:22:29 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am: Remove one more reference to NumericRange
which slipped through the net.
Tue Feb 02 15:18:57 GMT 2010 Richard Boulton <richard@tartarus.org>
* csharp/Makefile.am,python/extra.i,python/pythontest2.py,xapian.i:
Remove NumericRanges from trunk - their API is still uncertain,
so I want to do a bit more development work on them on the
matchspy branch before committing to support them for several
years.
Tue Feb 02 14:05:07 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/Makefile.am: replicationtest.py should be working now, so
re-enable it. If it still fails occasionally, I'd like to
investigate why; it works for me.
Tue Feb 02 14:03:26 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/replicationtest2.py: Fix the replication test to work; was
broken by the change to chert as the default database format.
The tests needs to fiddle with the database's uuid to simulate
various situations, so now needs to fiddle with the iamchert file
instead of the uuid file.
Tue Feb 02 13:52:17 GMT 2010 Richard Boulton <richard@tartarus.org>
* xapian-head.i: Remove <xapian/replication.h> include which I'd
missed.
Tue Feb 02 13:02:00 GMT 2010 Richard Boulton <richard@tartarus.org>
* xapian.i: Remove the replication API from the bindings. Access
to replication, for now, is via the command-line scripts: this is
similiar to the access to running a remote database server, and
the access to database compaction and checking. See ticket #347
for some commentary.
Tue Feb 02 12:56:25 GMT 2010 Richard Boulton <richard@tartarus.org>
* php/smoketest.php,php/util.i,python/extra.i,python/pythontest2.py:
Add copyright lines missed from the previous two commits.
Tue Feb 02 12:37:55 GMT 2010 Richard Boulton <richard@tartarus.org>
* php/smoketest.php,php/util.i: Add typemap to convert the output
for ValueCountMatchSpy::get_values() to an array, and test for it.
Fixes #216.
Tue Feb 02 11:46:59 GMT 2010 Richard Boulton <richard@tartarus.org>
* python/extra.i,python/pythontest2.py: Fix bug in
Enquire.clear_matchspies(), and add regression test.
Tue Dec 22 23:09:03 GMT 2009 Olly Betts <olly@survex.com>
* ruby/Makefile.am,ruby/docs/Makefile.am,ruby/docs/generate-rdoc-stubs,
ruby/generate-rdoc-stubs: Adjust the rdoc generation code to avoid
including a reference to a mysterious "rdoc.rb" with an ugly path.
Tue Dec 22 12:37:20 GMT 2009 Olly Betts <olly@survex.com>
* csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
php/docs/index.html,python/docs/index.html,ruby/docs/index.html,
tcl8/docs/index.html,xapian-head.i,xapian.i: Update for the new
Brass backend.
Fri Dec 18 00:47:34 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Fix the fixed fix for the previous fix.
Thu Dec 17 14:52:03 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Fix fix for previous fix.
Thu Dec 17 00:12:45 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Fix previous fix.
Wed Dec 16 12:56:45 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Fix previous change to work in VPATH build.
Wed Dec 16 08:21:43 GMT 2009 Olly Betts <olly@survex.com>
* ruby/Makefile.am,ruby/docs/Makefile.am,ruby/generate-rdoc-stubs,
ruby/xapian.rb: Generate entries in the rdocs for all classes which
aren't documented via xapian.rb. Fixes ticket#417.
Mon Dec 07 01:15:49 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Run rdoc with the current directory set to
where xapian.rb is so we don't build absolute paths into the
generated HTML. Should address part of ticket#417.
Thu Dec 03 06:07:07 GMT 2009 Olly Betts <olly@survex.com>
* php/util.i: Use const string & instead of string.
Wed Nov 18 10:56:54 GMT 2009 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.1.3.
Wed Nov 18 02:56:22 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update from 1.0.17 and ChangeLog.
Tue Nov 03 06:09:39 GMT 2009 Olly Betts <olly@survex.com>
* java/native/Enquire.cc: Fix memory leak when passing a matchdecider
to Enquire::get_mset().
Thu Oct 29 09:40:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* php/except.i: Add a call to TSRMLS_FETCH to start of
XapianExceptionHandler(), as seems to be required by PHP if
compiled with multithreaded mode. Fixes #411.
Thu Sep 17 15:20:14 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Update the comment about visibility.h and deprecated.h and
remove the FIXME.
Thu Sep 17 15:13:55 GMT 2009 Olly Betts <olly@survex.com>
* csharp/Makefile.am,python/generate-python-exceptions,xapian.i:
Update for the Sorter->KeyMaker changes.
Thu Sep 17 13:11:47 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Thu Sep 17 12:59:22 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Ignore PostingSource::serialise(), Weight::serialise()
and Weight::unserialise() as they aren't useful to wrap.
Tue Sep 15 02:11:06 GMT 2009 Olly Betts <olly@survex.com>
* python/Makefile.am: Restore the "./" path to the sourced file
libtoolconfig.tmp as ksh requires it.
Fri Sep 11 00:50:38 GMT 2009 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Add support for building RPM packages of
Ruby, from a patch from Ben Walton.
Fri Sep 11 00:28:47 GMT 2009 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Improve package summaries - the files are
needed to *use* scripts as well as to develop them. Use "Tcl"
instead of "TCL" as the former is more conventional.
Thu Sep 10 13:33:57 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Comment tweak.
Thu Sep 10 13:24:52 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Default to looking for xapian-config-1.1.
Thu Sep 10 06:49:10 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Sync changes from 1.0.15 and 1.0.16 and update from ChangeLog.
Wed Aug 26 14:44:33 GMT 2009 Olly Betts <olly@survex.com>
* ruby/docs/index.html: www.xapian.org -> xapian.org.
Wed Aug 26 05:37:25 GMT 2009 Olly Betts <olly@survex.com>
* python/Makefile.am: No need for "./" relative path on sourced file.
Mon Aug 17 12:46:17 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* csharp/Makefile.am: Add missing assemblys.
Mon Aug 17 07:39:32 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Add support to the NumericRanges object to get
the ranges as a dict.
* python/util.i: Fix a memory leak on error (in theory - I've not
got a way to generate this error, so haven't been able to produce
the leak or test the fix).
* python/pythontest2.py: Update tests to cover new NumericRanges
object.
Mon Aug 10 13:09:12 GMT 2009 Olly Betts <olly@survex.com>
* csharp/Makefile.am,xapian.i: Update for SerialisationContext to
Registry rename.
Sun Aug 02 12:21:05 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest3.py: Sync with pythontest2.
Sun Aug 02 12:19:24 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
Merge from matchspy branch
* csharp/Makefile.am,python/extra.i,python/pythontest2.py,
python/util.i,xapian.i: Add support for new MatchSpy class, and
the matchspy.h header.
Sat Aug 01 10:07:02 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest3.py: Update to match pythontest2.py (after 2to3
conversion).
Sat Aug 01 09:58:32 GMT 2009 Olly Betts <olly@survex.com>
* php/Makefile.am,php/smoketest.php,php/smoketest5.php: Merged the PHP
"smoketest" back together now we don't need to support PHP4 as well.
Sun Jul 26 21:55:47 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/doxy2swig.py: Tell textwrap not to break long words -
fixes a load of places in the documentation comments where C++
names and type names were cut in two. Also fixes a problem on
the postingsource branch where actual python identifiers were
being cut in two (for some very long identifiers).
Thu Jul 23 04:13:02 GMT 2009 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.1.2.
Tue Jul 21 17:12:06 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.
Tue Jul 21 04:38:51 GMT 2009 Olly Betts <olly@survex.com>
* python/extra.i: Sort out iterators to work with the Python 3
next()/__next__() changes. (ticket#246)
Tue Jul 21 03:37:38 GMT 2009 Olly Betts <olly@survex.com>
* python/extra.i: Python 3 doesn't support unbound methods, so use
lambda to work around this in a way which also works with Python 2.
Mon Jul 20 14:51:10 GMT 2009 Olly Betts <olly@survex.com>
* python/util.i: Remove unused empty Xapian::PythonProblem C++ class.
Mon Jul 20 14:46:24 GMT 2009 Olly Betts <olly@survex.com>
* python/pythontest2.py,python/pythontest3.py: Cast the result of
integer division to an integer - in Python 3 this returns a float
and even in Python 2 the cast makes the intent clearer.
Mon Jul 20 14:03:39 GMT 2009 Olly Betts <olly@survex.com>
* python/extra.i,python/util.i: Use a multi-arg argout typemap to
avoid having to mess around with ValueRangeProcessor.__call__().
Mon Jul 20 12:54:51 GMT 2009 Olly Betts <olly@survex.com>
* python/extra.i,python/util.i: Use %rename for renaming get_hit to
_get_hit_internal. Taken from patch in ticket #246.
Mon Jul 20 12:32:10 GMT 2009 Olly Betts <olly@survex.com>
* python/extra.i,python/util.i: Rename metadata_keys_begin and
metadata_keys_end using %rename rather than using delete and
assignment in Python. This should reduce start-up time for the
Python bindings a fraction. Taken from Peter Kelm's patch in
ticket#246.
Mon Jul 20 11:58:30 GMT 2009 Olly Betts <olly@survex.com>
* python/Makefile.am: Need to run doxy2swig.py from $(srcdir).
Mon Jul 20 03:31:44 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac,python/doxy2swig.py,python/doxy2swig.py.in: We
explicitly run doxy2swig.py from the Makefile using $(PYTHON) so
there is no need to AC_CONFIG_FILES it to substitute @PYTHON@ in the
#! line.
Mon Jul 20 02:40:09 GMT 2009 Olly Betts <olly@survex.com>
* python/pythontest3.py,python/smoketest3.py: Fix "from .testsuite
import *" to "from testsuite import *".
Fri Jun 26 10:24:51 GMT 2009 Olly Betts <olly@survex.com>
* ruby/smoketest.rb: Add regression test for failing to accept an
integer value > MAXINT for a double parameter, fixed by upgrading
to using the latest SWIG SVN trunk.
Wed Jun 10 01:12:23 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Update for 1.1.1.
Tue Jun 09 14:01:04 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update for 1.1.1.
Wed May 27 05:52:20 GMT 2009 Olly Betts <olly@survex.com>
* README: Add note about GSoC 2009 project to reimplement Perl bindings
using SWIG.
Wed May 20 20:55:13 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Add overloaded version of set_collapse_key() to
bindings which exposes the new parameter.
Tue May 19 09:21:33 GMT 2009 Olly Betts <olly@survex.com>
* python/docs/index.html,python/extra.i,python/smoketest2.py,
tcl8/docs/index.html,tcl8/smoketest.tcl,xapian.i: Wrap
Query::MatchAll and Query::MatchNothing for Python and Tcl8 and
document how they are wrapped (ticket#158).
* csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html:
Document that Query::MatchAll and Query::MatchNothing aren't wrapped
for these languages yet, and to use Query("") and Query() instead.
Tue May 19 09:17:41 GMT 2009 Olly Betts <olly@survex.com>
* php/util.i: %pragma(php4) -> %pragma(php) (purely cosmetic change).
Tue May 19 04:48:06 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Don't test an empty $CSC further which saves a fork
and avoids an odd looking message.
Sat May 16 08:51:15 GMT 2009 Olly Betts <olly@survex.com>
* python/docs/examples/simplematchdecider.py: Pick "avoid_value" from
the second parameter, not the third.
* python/docs/examples/simplematchdecider.py,
python/docs/examples/simplesearch.py: Use str.join() for simpler,
clearer code.
Mon May 11 12:20:31 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Oops, make that PostingSource::register_matcher_().
Mon May 11 10:50:21 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Fix for PostingSource::set_matcher_() change.
Sat May 09 07:59:10 GMT 2009 Olly Betts <olly@survex.com>
* xapian-head.i: Update to work with new ValueIteratorEnd_ proxy
class.
Wed May 06 06:45:22 GMT 2009 Olly Betts <olly@survex.com>
* README,python/docs/index.html: Update documentation for mod_python
issues and also document the related mod_wsgi issue. The status
is now that everything seems to work if you stick to the main
interpreter (ticket#185 and ticket#364).
Tue May 05 13:11:43 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
Merge from opsynonym branch:
* python/smoketest2.py,python/smoketest3.py: Update tests with
FLAG_PARTIAL to expect SYNONYM in generated query.
Wed Apr 29 15:42:37 GMT 2009 Olly Betts <olly@survex.com>
* README: Note that the testsuite fails due to a bug in the test/unit
module in Ruby 1.9.0, but applications using the bindings should
work, and that the testsuite works with Ruby 1.9.1. Drop all mention
of Ruby 1.6.x as that appears to be completely dead both upstream
and in the wild.
Wed Apr 29 13:06:55 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Update required SWIG version to r11194 to get better
Python 3 support (ticket#346) and to eliminate superfluous GIL
locking calls (ticket#185).
Mon Apr 27 08:43:37 GMT 2009 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Update for rename of XapianSharp.so to
_XapianSharp.so.
Mon Apr 27 08:37:22 GMT 2009 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Update for where we now install the tcl8
bindings.
Thu Apr 23 06:59:22 GMT 2009 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am,
generic/generic.mk,guile/Makefile.am,java-swig/Makefile.am,
java/Makefile.am,java/native/Makefile.am,java/org/xapian/Makefile.am,
java/org/xapian/errors/Makefile.am,
java/org/xapian/examples/Makefile.am,php/Makefile.am,
php/docs/Makefile.am,python/Makefile.am,python/docs/Makefile.am,
ruby/Makefile.am,ruby/docs/Makefile.am,tcl8/Makefile.am,
tcl8/docs/Makefile.am: Fix things up so that in a bootstrapped SVN
tree, automatic regeneration of autotools-generated files uses the
in-tree versions of the autotools.
* configure.ac,java/Makefile.am,java/org/Makefile.am: Eliminate
java/org/Makefile.am which just forwards to its "xapian"
subdirectory.
Wed Apr 22 13:57:58 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Fix date.
Wed Apr 22 13:51:21 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update for 1.1.0.
Wed Apr 22 11:55:48 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Put XAPIAN_CXXFLAGS in CXXFLAGS (rather than
AM_CXXFLAGS) for the duration of configure, since AM_CXXFLAGS isn't
used for test compiles by configure (we need it as it may include
options to put the compiler into ISO C++ mode).
Tue Apr 21 06:40:37 GMT 2009 Olly Betts <olly@survex.com>
* INSTALL: Python 2.6 and later look in ~/.local for Python modules so
update the instructions to suggest users use this standard location
for installing without root access.
Tue Apr 21 05:59:29 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Clean up for release.
Mon Apr 20 14:23:47 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Sync changes from 1.0.12.
Sat Apr 18 08:25:11 GMT 2009 Olly Betts <olly@survex.com>
* INSTALL: Speak of 0.9.3 in the past tense. Add a note about being
able to pass variables to configure to pick which of several
parallel installations of a language to build for.
Sun Apr 05 03:59:31 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog.
Fri Mar 27 03:27:03 GMT 2009 Olly Betts <olly@survex.com>
* csharp/util.i,java-swig/util.i,ruby/util.i: Remove %rename
directives for get_sumpart_needs_doclength as this method no longer
exists.
Wed Mar 25 17:31:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Change deletion of database objects to
Database.close() calls, which should be more robust across
different python implementations, and should also avoid problems
on windows when the temporary database directories are deleted if
other objects which aren't deleted have lingering references to
the database.
Tue Mar 24 12:37:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* ruby/Makefile.am: Fix dependency target in ruby's xapian_wrap.d
file.
Mon Mar 23 11:49:10 GMT 2009 Olly Betts <olly@survex.com>
* python/generate-python-exceptions,python/pythontest2.py,
python/pythontest3.py: Update for PostingSource::reset() ->
PostingSource::init() rename.
Wed Mar 18 06:05:31 GMT 2009 Olly Betts <olly@survex.com>
* python/docs/index.html: Non-pythonic iterators now being removed
in 1.3.0, not 1.2.0.
Mon Mar 16 14:05:50 GMT 2009 Olly Betts <olly@survex.com>
* NEWS: Sync with 1.0.11.
Wed Mar 11 11:31:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py,python/pythontest3.py: Round the weights
returned for the OP_SCALE_WEIGHT test, to avoid failing due to
rounding errors.
Wed Mar 11 11:18:57 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Updated to wrap xapian/weight.h directly, such that it
builds with the new Xapian::Weight class.
Wed Mar 11 11:15:18 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/testsuite2.py,python/testsuite3.py: Remove bare except:
handlers from testsuite, so ctrl-C stop the whole testsuite, not
just one test.
Wed Mar 11 00:06:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest3.py: Update to match pythontest2.py (after
passing through 2to3).
Tue Mar 10 18:02:08 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i,python/pythontest2.py: Preserve posting sources on
queries when set on enquire, and when retrieved from enquire
objects.
Tue Mar 10 17:46:48 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: When making a query object, keep references to
posting sources in the query. Copy references for sub queries
into parent queries, too.
* python/pythontest2.py: Modify test to include regression test for
the above.
Tue Mar 10 17:06:56 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Add better support for deprecation of single
argument form of the Enquire::set_sort_by_* methods, and for
deprecation of the old name ("ascending") for the second
argument. Add deprecation warnings to the remaining three
set_sort_by_*value* methods, too.
Tue Mar 10 09:14:44 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Keep references to Stoppers and Sorters set on
objects, to avoid segfaults when they go out of scope, and add
deprecation warnings for single argument form of the set_sort_by_*
methods.
* python/pythontest2.py: Tests for the above.
Thu Mar 05 10:34:38 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: There are now several useful built-in posting sources,
so remove the code which ignores postingsource.h if there aren't
directors.
Thu Mar 05 08:01:18 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Fix comment to match code.
Wed Mar 04 23:37:29 GMT 2009 Olly Betts <olly@survex.com>
* python/pythontest2.py: Fix comment typo.
Wed Mar 04 23:33:17 GMT 2009 Olly Betts <olly@survex.com>
* php/docs/examples/simpleindex.php5,python/pythontest2.py,
python/pythontest3.py,python/replicationtest2.py,
tcl8/docs/examples/simpleindex.tcl,xapian.i: Update for the
"WritableDatabase::flush()" to "WritableDatabase::commit()" change.
Wed Mar 04 23:23:14 GMT 2009 Olly Betts <olly@survex.com>
* xapian.i: Wrap MSet::get_uncollapsed_matches_lower_bound(),
MSet::get_uncollapsed_matches_estimated(), and
MSet::get_uncollapsed_matches_upper_bound().
Wed Mar 04 16:56:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: When ValueRangeProcessors are passed to the
QueryParser, keep a list of them so that they're not deleted
until the QueryParser is.
* python/pythontest2.py: Regression test that the proxying works -
this test crashed without the patch to extra.i.
Mon Mar 02 20:45:09 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Remove Document_unserialise and
Query_unserialise from API.
Mon Mar 02 10:32:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* csharp/Makefile.am,xapian.i: Update with new serialisation
context class.
Mon Mar 02 08:38:36 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Extend "database closed" test slightly, to
cover a case which caused a segfault with core before revision
r11980.
Thu Feb 26 04:09:04 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac,ruby/Makefile.am: Workaround rubyio.h vs ruby/io.h
incompatibility. Fix defaulting of RUBY_INC_ARCH to RUBY_INC.
Thu Feb 26 03:12:11 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac,ruby/Makefile.am: Fixes for Ruby 1.9 compatibility
(bug#323).
Mon Feb 16 11:09:20 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/generate-python-exceptions,python/pythontest2.py,xapian.i:
Update for new posting source interface.
Sat Feb 07 00:18:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Add python test of document and query
serialisation and unserialisation.
Tue Jan 20 13:55:54 GMT 2009 Olly Betts <olly@survex.com>
* ruby/util.i: Fix for Ruby 1.9 compatibility.
Mon Jan 19 23:16:13 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Use rubyhdrdir if it exists (it was added at some
point during Ruby 1.9 development). See bug#323.
Tue Jan 06 00:54:51 GMT 2009 Olly Betts <olly@survex.com>
* python/Makefile.am: Temporarily disable replicationtest.py
for now, as it just seems to fail most of the time. See bug#320.
Tue Jan 06 00:43:58 GMT 2009 Olly Betts <olly@survex.com>
* python/Makefile.am: Clean up any left over test databases on "make
clean".
Tue Jan 06 00:43:01 GMT 2009 Olly Betts <olly@survex.com>
* python/pythontest2.py: All but two testcases delete the database(s)
they create if they pass, so fix the remaining two to do the same.
Mon Jan 05 04:09:05 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Allow Python buildings to be built on Cygwin (taken
from patch 1.0.7-python.patch from Cygwin Ports, and adapted for
Python 3.0 compatibility).
Mon Jan 05 02:14:17 GMT 2009 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Rename the compiled C++ wrapper from
XapianSharp.la to _XapianSharp.la to avoid a name clash on with the
C# assembly XapianSharp.dll on Microsoft Windows.
Mon Jan 05 00:36:48 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac: Allow PHP bindings to be built on Cygwin (patch
1.0.7-php.patch from Cygwin Ports).
Mon Jan 05 00:18:39 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac,ruby/Makefile.am: Allow ruby bindings to be built on
Cygwin (need to pass -lruby there).
Sun Jan 04 23:45:24 GMT 2009 Olly Betts <olly@survex.com>
* configure.ac,tcl8/Makefile.am: Allow tcl8 bindings to be built on
Cygwin (based on patch 1.0.7-tcl.patch from Cygwin Ports).
Mon Dec 29 16:54:54 GMT 2008 James Aylett <james@tartarus.org>
* python/docs/examples/: get_description() is now __str__() in Python.
Fri Dec 26 15:22:01 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Add Database.close() method.
Tue Dec 23 05:59:02 GMT 2008 Olly Betts <olly@survex.com>
* csharp/xapian_wrap.d ruby/xapian_wrap.d php/xapian_wrap.d i
tcl8/xapian_wrap.d: svn:ignore dependency makefile fragments
generated by swig -MD.
Tue Dec 23 05:55:20 GMT 2008 Olly Betts <olly@survex.com>
* python/: svn:ignore new generated databases.
Tue Dec 23 05:52:54 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac,python/Makefile.am,python/generate-python-exceptions,
python/generate-python-exceptions.in: Explicitly run
generate-python-exceptions using $(PERL) rather than generating it
with AC_OUTPUT just to substitute the "#!" line.
Mon Dec 22 15:08:33 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Add replicationtest2.py to distribution.
Mon Dec 22 13:48:56 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Enable the replication test by default, now
that it passes.
Mon Dec 22 13:47:05 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/replicationtest.py,python/replicationtest2.py: Make
replication test a bit more stringent, and don't trigger
potential problems with swapping a database back in place by
updating the uuids, so each replicated database is effectively
brand new, as far as replication is concerned.
Sat Dec 20 11:41:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Pass the default value of PYTHONPATH through
to python tests (just make sure our recently compiled modules are
at the start of it). Pass abs_builddir in the TESTS_ENVIRONMENT
variable, since the replication test needs it.
* python/replicationtest2.py: Add a test (currently failing) of
database replication under heavy concurrent modification load.
Sat Dec 20 10:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Fix test of get_eset() to match change in
behaviour of get_eset().
* python/pythontest3.py: Bring up to date with pythontest2.py
Mon Dec 08 03:45:20 GMT 2008 Olly Betts <olly@survex.com>
* debian/: Sync with 1.0 branch.
Mon Dec 08 03:18:22 GMT 2008 Olly Betts <olly@survex.com>
* python/Makefile.am: Need to clean testsuite.pyc from srcdir since
that's where it gets generated as things stand (upstream fix for
Debian bug 506090).
Sat Nov 01 01:52:29 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Sync with 1.0.9 and update from ChangeLog.
Fri Oct 31 22:53:13 GMT 2008 Olly Betts <olly@survex.com>
* python/docs/index.html: Document Python-specific
Database.metadata_keys(prefix) method.
Fri Oct 31 19:22:53 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/generate-python-exceptions.in: Convert
XapianSetPythonException to Xapian::SetPythonException, and
export it. This is neccessary to allow separately compiled
extension modules to handle xapian errors appropriately.
Thu Oct 09 09:53:39 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.
Sun Sep 28 14:31:49 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Change test_value_mods() to test chert
instead of flint, for extra regression test of recently fixed bug
in chert, and fix doccomment for test function.
Fri Sep 26 19:02:19 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py: Add a test of adding, modifying, and
deleting values. This passed with flint (as committed), but
fails currently if the test is changed to use chert.
Fri Sep 26 04:54:39 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Add testsuite2.py and testsuite3.py to
distribution.
Wed Sep 10 15:28:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/generate-python-exceptions.in: Back out patch which added
XapianDirectorException to work around exception mangling bug in
swig, now that we're using a version of swig which has the bug
fixed.
Wed Sep 10 15:21:26 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* ../swig: Update version of swig in use to current HEAD (swig
revision 10831. Changes python import method to avoid giving a
warning with the upcoming 2.6 release (and failing with 2.7 or
later). Also includes a different fix for ticket #289, so we
could back out our XapianDirectorException class now.
No other significant changes in the generated files - several
warning fixes, some rearrangement of the order of variable
declarations, some removal of code which wasn't used anyway.
Fri Sep 05 11:03:38 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest2.py,python/pythontest3.py: Add test for
get_uuid() (not really python specific, but I can't easily add
this test to smoketest because it needs an on-disk database,
which there's no infrastructure in smoketest to clean up).
Fri Sep 05 09:59:02 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Add Database::get_uuid() to wrappers.
Thu Sep 04 04:30:09 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Sync with 1.0.8.
Thu Sep 04 04:28:12 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Set version to 1.1.0.
Wed Sep 03 06:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/generate-python-exceptions.in: Use our own
XapianDirectorException, to avoid the unwanted side effects of
the default SWIG mechanism. Fixes ticket #289.
* python/pythontest2.py,python/pythontest3.py: Add
test_director_exception(), which tests the fix for ticket #289.
Wed Sep 03 05:22:09 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/util.i: Fix memory leaks in query constructor typemaps.
Also, remove old, commented out, code which almost certainly had
similar memory leaks - I don't think we're going to want this
code, but if we do, rewriting it by copying the maintained and
working code for the query constructor is less likely to lead to
subtle errors.
Mon Aug 04 05:06:46 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Sync against 1.0.7 release.
Wed Jul 30 01:13:43 GMT 2008 Olly Betts <olly@survex.com>
* python/generate-python-exceptions.in: Fix tiny comment typo.
Mon Jul 21 12:22:02 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Put the bug report URL as the third parameter to
AC_INIT. Add proper m4 quoting in a few places (nowhere that
should actually change behaviour). Use "dnl" comments in preference
to "#" comments to help reduce the size of the configure script.
Wed Jul 16 17:45:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/: Rename test files to end with ...2.py, and add versions
generated by 2to3 named ...3.py. (2to3 seems to be quite buggy
still, so the generated versions need some hand editing after
running it; in future, we should probably remove the ...3.py
versions and just automatically generate them.)
Thu Jul 10 10:47:50 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: LT_PREREQ seems to need to be just before LT_INIT.
Wed Jul 09 23:02:02 GMT 2008 Olly Betts <olly@survex.com>
* Makefile.am: Revert dist-hook fix - that problem is caused by using
libtool 1.5.x and we now require 2.2.x.
* configure.ac: Add "LT_PREREQ([2.2.4])" to enforce this requirement.
Use LT_INIT instead of now deprecated AC_PROG_LIBTOOL.
Wed Jul 09 14:52:54 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* Makefile.am: Add $(distdir) to directory names in dist-hook rule
to make it actually work.
Wed Jul 09 14:31:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* Makefile.am: Add dist-hook rule to ensure that the m4 directory
exists; if it doesn't, autoreconf reports "couldn't open
directory `m4'".
Wed Jul 09 10:46:36 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: The workaround to avoid probe code for F77, GCJ, and
RC being added to configure is no longer required now that we're
using libtool 2.2 so remove it.
Wed Jul 09 10:30:16 GMT 2008 Olly Betts <olly@survex.com>
* csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
java/Makefile.am,java/native/Makefile.am,php/Makefile.am,
python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: More changes
neeed for --enable-quiet support.
Wed Jul 09 10:19:38 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Replace AM_CONFIG_HEADER with the more modern
AC_CONFIG_HEADERS.
Wed Jul 09 10:17:57 GMT 2008 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac: Add support for "--enable-quiet" like
xapian-core and omega have.
Wed Jul 09 10:14:47 GMT 2008 Olly Betts <olly@survex.com>
* Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.
Tue Jul 01 21:05:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest.py,python/smoketest.py,python/testsuite.py:
Fixes to make tests closer to being compatible with python 3.0.
Mon Jun 30 19:56:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/util.i: Fix #if PY_VERSION_HEX statements which aren't
inside %{ %} to be %#if. Similarly for the corresponding #else
and #endifs.
Fri Jun 27 00:40:54 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and against 1.0 branch.
Thu Jun 26 03:08:06 GMT 2008 Olly Betts <olly@survex.com>
* csharp/docs/index.html,php/docs/index.html,python/docs/index.html,
ruby/docs/index.html,tcl8/docs/index.html: Document all the database
factory functions for all languages. Document the library version
functions for all languages.
Thu Jun 26 03:06:43 GMT 2008 Olly Betts <olly@survex.com>
* java/native/: Make passing string from Java to C++ zero-byte safe.
It doesn't appear to be simple to make C++ to Java work though.
Thu Jun 26 00:47:16 GMT 2008 Olly Betts <olly@survex.com>
* ruby/smoketest.rb: Update copyright notice for previous change.
Thu Jun 26 00:02:30 GMT 2008 Olly Betts <olly@survex.com>
* ruby/smoketest.rb: Test the version reporting functions.
Wed Jun 25 21:35:49 GMT 2008 Olly Betts <olly@survex.com>
* ruby/docs/index.html: Document how database factory functions are
wrapped.
Wed Jun 25 21:06:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Tidy up the documentation comments for
TermListItem.
Tue Jun 24 18:21:12 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/doxy2swig.py.in: Adjust to be compatible with python 3.0.
Fortunately, this can be done without breaking it for python 2.x.
Sat Jun 14 23:35:34 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/util.i: Fix previous commit - one of the pieces of
conditional code was the wrong way round.
Sat Jun 14 12:09:45 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/util.i: Fixes for compilation with python 3.0;
conditionally replace PyString_ methods with PyBytes_ methods.
Mon Jun 02 11:55:23 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Add modern/xapian_wrap.d to CLEANFILES in
maintainer mode.
Mon Jun 02 11:54:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Add support for the new Database methods,
get_value_freq(), get_value_lower_bound() and
get_value_upper_bound().
* python/pythontest.py: Add test of these methods.
Sun Jun 01 15:13:07 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Update version to 1.0.7 to match 1.0 branch.
Sun May 25 22:45:36 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog and sync with 1.0 branch.
Sun May 25 17:15:43 GMT 2008 Olly Betts <olly@survex.com>
* xapian-head.i: Fix dummy Chert and Flint Database factory functions,
used when Chert and/or Flint are disabled.
Sat May 24 08:51:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest.py: Rename one of the two test_postingsource()
functions, so that they both get run!
Thu May 22 11:53:23 GMT 2008 Olly Betts <olly@survex.com>
* csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html,
tcl8/docs/index.html: The "program" version of Remote::open() *is*
now wrapped, so update the documentation.
Thu May 22 11:16:54 GMT 2008 Olly Betts <olly@survex.com>
* python/docs/index.html: Fix typo (Database.synonym and synonym_begin
should be synonyms and synonyms_begin).
Thu May 22 11:07:24 GMT 2008 Olly Betts <olly@survex.com>
* python/docs/index.html: The "program" version of Remote::open() *is*
now wrapped, so update the documentation.
Sun May 18 05:36:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/docs/index.html: Update documentation of pythonic
iterators.
* python/extra.i: Correct documentation comment for
Database.spellings().
Thu May 15 09:00:26 GMT 2008 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Remove SWIGTYPE_p_bool.java as it is no
longer generated.
Thu May 15 08:11:04 GMT 2008 Olly Betts <olly@survex.com>
* csharp/Makefile.am: Remove SWIGTYPE_p_bool.cs as it is no longer
generated.
Mon May 12 06:51:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest.py: Add test of ValueWeightPostingSource.
Mon May 05 16:02:03 GMT 2008 Olly Betts <olly@survex.com>
* php/except.i: Remove PHP4-specific stuff and tweak to maximise the
amount of exception handling code which is in the helper function.
Fix the copyright statements which were copied verbatim from
xapian.i whereas the code here is all fairly recent.
Mon May 05 11:03:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* csharp/Makefile.am: Change names of generated files to match
those made by new SWIG version.
Mon May 05 11:58:45 BST 2008 Richard Boulton <richard@lemurconsulting.com>
* ../swig: Update version of swig in use to current HEAD. Causes
few changes other than whitespace to the generated bindings, but
makes new features in swig (such as better support for reference
counted pointers) available. Also only performs initialisation
of swig wrapper once when there are multiple interpreters in use,
which could possibly help a little with bug #185.
Sat May 03 18:10:04 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* configure.ac: Fix breakage introduced when I changed "print foo"
to "print(foo)" - join strings in the print with + instead of ,.
mingw builds can't have worked with this, though they may still
not!
Sat May 03 14:00:55 GMT 2008 Olly Betts <olly@survex.com>
* xapian-bindings.spec.in: Remove "www." from xapian.org and
oligarchy.co.uk URLs. Bump minimum required Python version to 2.3.
Sat May 03 10:59:58 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Improve code which prevents probing for f77, etc.
Fri May 02 17:24:17 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Seemed to work
for python, so use SWIG's -MD flag for all the other swig targets
too.
Fri May 02 15:21:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Use SWIG's -MD flag to generate dependencies.
Fri May 02 15:21:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i: Correct typo in comment.
Mon Apr 28 17:07:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest.py: Fix python test of PostingSource to include
a reset() method.
Mon Apr 28 02:31:42 GMT 2008 Olly Betts <olly@survex.com>
* python/generate-python-exceptions.in: Mark PostingSource::reset() as
a directed method.
Thu Apr 24 02:18:46 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac,generic/generic.mk: Back out the --swigheaders change.
Thu Apr 24 01:55:25 GMT 2008 Olly Betts <olly@survex.com>
* python/Makefile.am: Use "-rmdir" rather than "|| true" for
consistency.
Wed Apr 23 18:14:10 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/pythontest.py: Remove references to "flint" from test
database names (use "db_" instead). Add a simple test of the
posting source stuff.
Wed Apr 23 17:42:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Give up on MKDIR_P, and just use "-test -d
xapian || mkdir xapian" instead.
Wed Apr 23 17:03:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am: Use $(MKDIR_P) instead of @MKDIR_P@, as
suggested by the automake documentation.
Wed Apr 23 15:23:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* debian/python-xapian.install,python/Makefile.am,python/xapian.pth,
xapian-bindings.spec.in: Change way python bindings are installed
again, hopefully more successfully this time. We found a problem
with the .pth method on some systems, so instead we now put all
the python files in a subdirectory called xapian/, but rename the
xapian.py file to __init__.py (and similarly for the .pyc and
.pyo files). This makes it into a python package, and seems to
work well, and also hides the internal _xapian module from public
view.
Wed Apr 23 11:02:45 GMT 2008 Olly Betts <olly@survex.com>
* csharp/Makefile.am,java-swig/Makefile.am,
python/generate-python-exceptions.in,xapian.i: Only wrap
PostingSource where we have directors. Fix up various issues
with the wrapping.
Wed Apr 23 09:43:06 GMT 2008 Olly Betts <olly@survex.com>
* README: Note Python 2.3 or later is required.
Wed Apr 23 09:21:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* configure.ac: Require python 2.3 or greater. 2.2 is essentially
unsupported upstream.
Wed Apr 23 08:39:18 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/doxy2swig.py.in: Revert earlier change, since it would
result in the bindings varying massively depending on the version
of python in use at maintainer-build time, which doesn't seem
helpful. python2.2 currently works with a non maintainer-mode
build, so there's an easy workaround for the problem.
Wed Apr 23 07:55:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian-bindings.spec.in: Update RPM .spec file to reflect the new
location of the python packages, and the .pth file.
Wed Apr 23 07:51:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* debian/changelog,debian/patch,debian/python-xapian.install:
Update debian packaging to remove the patch which is currently
applied (since it's included in HEAD now), and to get the python
packages from the new locations (and include the .pth file).
Wed Apr 23 07:38:20 GMT 2008 Olly Betts <olly@survex.com>
* xapian.i: Use "%include <xapian/query.h>" to wrap Xapian::Query so
we automatically pick up new features (in this case, the new
PostingSource constructor).
Wed Apr 23 03:41:28 GMT 2008 Olly Betts <olly@survex.com>
* Makefile.am,csharp/Makefile.am,java-swig/Makefile.am,
tcl8/docs/index.html,xapian-head.i,xapian.i: Split the header chunk
of xapian.i out into xapian-head.i. Remove lingering references to
quartz. Wrap chert.
Wed Apr 23 02:47:00 GMT 2008 Olly Betts <olly@survex.com>
* python/extra.i: Update comment.
Wed Apr 23 00:25:46 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/doxy2swig.py.in: Fix build with --enable-maintainer-mode
and python 2.2, by providing fallback for the "textwrap" module,
which isn't present by default in 2.2.
Wed Apr 23 00:15:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/Makefile.am,python/xapian.pth: Change installation
location for the python bindings to use a "xapian" subdirectory
to hold the files, and use a "xapian.pth" file to ensure that the
contents of this directory are on the path. Seems to be the more
usual way to install python extensions these days, and matches
the way we need to install on windows.
Tue Apr 22 16:16:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* php/smoketest.php,php/smoketest5.php: Add test that VALUE_GE
works for PHP.
Thu Apr 17 22:54:37 GMT 2008 Olly Betts <olly@survex.com>
* tcl8/Makefile.am: Remove bogus "../" from tcllibdir.
Thu Apr 17 05:41:21 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Add missing m4 quoting so that TCL_LIB is correctly
determined.
Tue Apr 15 09:38:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/docs/index.html,python/extra.i,python/pythontest.py:
Remove the deprecated legacy support for the sequence API on
pythonic iterators.
Mon Apr 14 07:18:50 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* python/extra.i,xapian.i: Add support for
Database.metadata_keys_begin() and Database.metadata_keys_end().
For python, these are wrapped as simply "metadata_keys()".
* python/pythontest.py: Test Database.metadata_keys().
Mon Apr 07 07:28:14 GMT 2008 Olly Betts <olly@survex.com>
* README: Note that Tcl 8.3 and earlier are no longer supported by
upstream.
Tue Apr 01 04:27:43 GMT 2008 Olly Betts <olly@survex.com>
* java/native/Makefile.am,python/Makefile.am,ruby/Makefile.am: Use
the libtool -shrext option to specify a different module extension
rather than our own ugly bodge.
Mon Mar 31 02:10:22 GMT 2008 Olly Betts <olly@survex.com>
* php/smoketest.php: Remove stray extra blank line.
Fri Mar 28 10:18:27 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* configure.ac: Bump version number to 1.0.6 to match xapian-core.
Fri Mar 28 00:22:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Modify wrapping of get_mset() to match the new
definitions in xapian/enquire.h (though this shouldn't change
user-visible behaviour in the bindings). Also, allow a
mdecider (and matchspy) parameter to be passed even for languages
which don't have director support, now that we have a built-in
match decider. Also, wrap valuesetmatchdecider.h, so that the
built-in match decider defined there can be used.
* php/smoketest.php,python/pythontest.py: Add tests that
ValueSetMatchDecider works in python and PHP.
Wed Mar 19 01:02:21 GMT 2008 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Ship simplematchdecider.rb.
* tcl8/docs/Makefile.am: Ship simpleexpand.tcl.
Wed Mar 12 09:01:04 GMT 2008 Olly Betts <olly@survex.com>
* java-swig/: Remove Quartz.* from svn:ignore.
Wed Mar 12 08:59:30 GMT 2008 Olly Betts <olly@survex.com>
* python/Makefile.am: Clean up libtoolconfig.tmp after use.
Wed Mar 12 08:57:55 GMT 2008 Olly Betts <olly@survex.com>
* README,configure.ac,php/Makefile.am,php/docs/Makefile.am,
php/docs/examples/simpleexpand.php4,
php/docs/examples/simpleindex.php4,
php/docs/examples/simplesearch.php4,php/docs/index.html,
php/smoketest4.php,php/util.i,xapian-bindings.spec.in,xapian.i:
Remove PHP4 support.
Wed Mar 12 08:29:06 GMT 2008 Olly Betts <olly@survex.com>
* csharp/Makefile.am,csharp/SmokeTest.cs,csharp/util.i,
java-swig/Makefile.am,java-swig/SmokeTest.java,
java/native/Enquire.cc,java/native/Query.cc,
java/native/org_xapian_XapianJNI.h,java/org/xapian/Enquire.java,
java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,php/util.i,
python/,ruby/util.i,ruby/xapian.rb,xapian.i: Remove all deprecated
features slated for removal in 1.1.0.
Tue Mar 11 20:32:26 GMT 2008 Olly Betts <olly@survex.com>
* java-swig/util.i: Xapian::weight::clone() collides with Java's
Object.clone(), so rename to cloneWeight(). Wrap Xapian::valueno
as Java type int to avoid a conflict with SWIG/Java's machinery.
Tue Mar 11 04:51:00 GMT 2008 Olly Betts <olly@survex.com>
* java-swig/Makefile.am: Add MultiValueSorter.java, Sorter.java, and
TermGenerator$flags.class.
Wed Mar 05 22:36:46 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Update to HEAD with un-backported changes kept separate.
Wed Mar 05 21:30:13 GMT 2008 Olly Betts <olly@survex.com>
* NEWS: Update to 1.0 branch point.
Sun Feb 24 11:02:44 GMT 2008 Olly Betts <olly@survex.com>
* java-swig/Makefile.am,php/Makefile.am,ruby/Makefile.am,
tcl8/Makefile.am: Minor comment correction (we only remove a single
file in each case).
Sun Feb 24 01:11:25 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac,python/Makefile.am: The Python module now has the
extension which Python expects, which fixes a failure on Mac OS X.
PYTHON_PATHSEP is no longer required.
Sat Feb 23 23:09:05 GMT 2008 Olly Betts <olly@survex.com>
* configure.ac: Correct SWIG version in error message.
Thu Feb 21 00:28:20 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* configure.ac,generic/generic.mk: Use the new --swigheaders option
in xapian-config to get the list of header files for the core,
and add all of these as a dependency for the rules to run swig.
This is currently an overly inclusive dependency, but it's hard
to keep track of exactly which header files are being included,
and the plan is to eventually include all of them.
Mon Jan 28 11:52:59 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Ignore various unwanted bits of DatabaseReplica.
Mon Jan 28 03:22:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Include replication.h in the bindings.
Wed Jan 09 22:41:24 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* csharp/Makefile.am: Add MultiValueSorter.cs to
XAPIAN_SWIG_CS_SRCS so that it gets cleaned up correctly.
* xapian.i: Put OP_VALUE_GE and OP_VALUE_LE in the right place in
the enum, so that they get the right values in language bindings.
Wed Jan 09 22:00:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
* xapian.i: Add OP_VALUE_GE and OP_VALUE_LE to Query, and add
constructor which they are used with.
Sun Dec 23 03:29:32 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac: Sort out the default value of TCL_LIB, which could
end up being under /usr/share in 1.0.4 and 1.0.5.
Sat Dec 22 18:25:19 GMT 2007 Olly Betts <olly@survex.com>
* php/smoketest.php: Add note that this script should be run using
'make check' in the build tree (rather than trying to copy it to
a webserver as someone recently tried to).
Sat Dec 22 18:24:05 GMT 2007 Olly Betts <olly@survex.com>
* php/smoketest.php: Fix to work under PHP4.
Sat Dec 22 04:32:39 GMT 2007 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: We need a custom install-data-local rule to
get the rdocs subdirectory installed (and a corresponding
uninstall-local rule to uninstall it).
Fri Dec 21 18:14:06 GMT 2007 Olly Betts <olly@survex.com>
* NEWS: Too late for the 1.0.5 release, but reword the Python GIL fix
description in terms of user-visible API.
Fri Dec 21 02:14:35 GMT 2007 Olly Betts <olly@survex.com>
* NEWS: Bump release date.
Wed Dec 19 03:46:09 GMT 2007 Olly Betts <olly@survex.com>
* NEWS,configure.ac: Update for 1.0.5.
Wed Dec 19 01:18:58 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac: If rdoc isn't found, set RDOC="$MISSING rdoc" so the
user gets a better error if make tries to build the RDocs.
Wed Dec 19 00:34:45 GMT 2007 Olly Betts <olly@survex.com>
* NEWS: Updated.
Tue Dec 18 18:58:36 GMT 2007 Olly Betts <olly@survex.com>
* php/smoketest.php: Add feature test to ensure that optional
arguments to XapianQuery's "term" constructor are wrapped.
* xapian.i: Remove comment "FIXME wrap optional arguments in PHP?"
referring to XapianQuery's "term" constructor as they are already
wrapped.
Mon Dec 17 21:02:38 GMT 2007 Olly Betts <olly@survex.com>
* php/Makefile.am,python/Makefile.am: Having moved the directory
creation out of the locked region, we now need to ignore errors
from 'test -d DIR || mkdir DIR' as two make processes might try
to create the directory at the same time.
Fri Dec 14 10:43:03 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
* php/Makefile.am,python/Makefile.am: Ensure that the directories
that stamp files will be placed in exist before calling
$(multitarget_begin). Fixes compilation failures in clean trees.
Thu Dec 13 01:58:58 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac: Improve the clarity of the error given when none
of the tools neeed for any supported language are found.
Thu Dec 13 01:50:17 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac,ruby/Makefile.am: Fix the Ruby module's extension so it
works on Mac OS X.
Thu Dec 13 01:14:29 GMT 2007 Olly Betts <olly@survex.com>
* csharp/Makefile.am,generic/generic.mk,java-swig/Makefile.am,
php/Makefile.am,python/Makefile.am,ruby/Makefile.am: Factor
out the code to lock multitarget rules against parallel make,
and fix it to handle the source being changed while the rule
is executing, and to correct return an error code if we fail
while trying to recover from the removal of a target of a
multi-target rule.
Thu Dec 13 01:04:04 GMT 2007 Olly Betts <olly@survex.com>
* xapian.i: Wrap Enquire::set_sort_by_relevance_then_key().
Wed Dec 12 02:22:58 GMT 2007 Olly Betts <olly@survex.com>
* NEWS: Update from ChangeLog in preparation for 1.0.5.
Tue Dec 11 15:09:37 GMT 2007 Olly Betts <olly@survex.com>
* ruby/docs/Makefile.am: Fix rule to build rdocs.
Tue Dec 11 01:33:23 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac,ruby/docs/Makefile.am: Run "rdoc" to generate the
Ruby-specific API documentation which ruby/docs/index.html has
a (previously dead) link to.
* ruby/xapian.rb: Tweak ":nodoc:" directive so rdoc recognises it.
Thu Nov 29 02:48:06 GMT 2007 Olly Betts <olly@survex.com>
* php/: Add test for XapianMultiValueSorter.
Thu Nov 29 02:47:17 GMT 2007 Olly Betts <olly@survex.com>
* xapian.i: Wrap Enquire::set_sort_by_key() and
Enquire::set_sort_by_key_then_relevance().
Thu Nov 29 02:06:10 GMT 2007 Olly Betts <olly@survex.com>
* php/smoketest5.php: Fix use of Database_get_document to new style OO
interface. Fix error string when the PHP5 exception test fails.
Wed Nov 28 20:17:09 GMT 2007 Olly Betts <olly@survex.com>
* csharp/Makefile.am,python/generate-python-exceptions.in,xapian.i:
Wrap Xapian::Sorter and subclasses.
Wed Nov 28 19:19:08 GMT 2007 Olly Betts <olly@survex.com>
* ruby/Makefile.am: SWIG has accepted -initname in at least one
released version, so switch to using it instead of the now
deprecated -feature option.
Wed Nov 28 11:17:40 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
* python/util.i: Don't drop the GIL when calling
Xapian_MSet_items_get() and Xapian_ESet_items_get() - these
methods build a python list, and return a PyObject, so it's not
safe to do so, and doing so may cause undefined behaviour in
multithreaded environments.
Wed Nov 28 00:52:46 GMT 2007 Olly Betts <olly@survex.com>
* configure.ac: Change remaining uses of "print" in python to bracket
their arguments.
Wed Nov