[Changes contributed by Nick Morrott]
- Fix typo in POD documentation (fixes#730).
[Changes contributed by Olly Betts]
- Allow building against xapian-core 1.4.x as well as xapian-core
1.2.x.
[Changes contributed by Olly Betts]
- makehtmldocs: Fix inter-class links in generated HTML.
- Fix typo in POD documentation.
- Update Xapian website and trac links to use https, which is now
supported, thanks to James Aylett.
[Changes contributed by Val Rosca, updated by Andreas Marienborg]
- Wrap MatchSpy and ValueCountMatchSpy classes
- Wrap Enquire's add_matchspy and clear_matchspies methods, keeping
track of references to Perl MatchSpy objects to avoid leaks.
- t/facets.t
[Changes contributed by Olly Betts]
- Fix infinite loop trying to build with CPANPLUS (fixes#692, reported
by Andreas Vögele).
- t/termgenerator.t: If a memory leak is detected, report how many
objects were allocated before and after the test.
- Allow for "_gitN" tag on snapshots when checking for version
compatibility with xapian-core.
- META.yml: Fix specified licence to be a valid name ('perl' instead of
'perl_5').
Problems found locating distfiles:
Package cabocha: missing distfile cabocha-0.68.tar.bz2
Package convertlit: missing distfile clit18src.zip
Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
[Changes contributed by Olly Betts]
- Support passing collapse_max argument to Enquire::set_collapse_key().
Fixes#669, reported by Felix Ostmann.
- Add missing 'my' to testcases.
- Add 'use strict' to all testcases.
- Add a "LICENSE" section to the main POD.
- META.yml: Specify licence and minimum Perl version.
- Fix t/symboltest.t to work when built against an installed version
of xapian-core (broken by changes in 1.2.20.0).
- Fix "Filehandle STDOUT reopened as M only for input" warning from
running "perl Makefile.PL".
- Remove TODO for wrapping MatchAll and MatchNothing - these were added
in 1.2.13.0. Reported by Will Crawford.
- Wrap Xapian::BAD_VALUENO.
- Fix "make test" to use the Xapian.so we just built, rather than an
installed version.
[Changes contributed by Dmitry Karasik]
- Fix deliberate leaks in QueryParser::add_valuerangeprocessor() and
QueryParser::set_stopper() by tracking object ownership properly.
(ticket#647)
[Changes contributed by Olly Betts]
- Fix deliberate leaks in TermGenerator::set_stopper() and Enquire
methods which allow specifying a Sorter object similarly.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
- Bump the version to indicate compatibility with Xapian 1.2.17.
- t/symbol-test/Makefile.PL: Pass $CPPFLAGS and $CXXFLAGS from the
environment through to the sub-build, fixing symbol-test.t failure
when built with CPPFLAGS=-D_GLIBCXX_DEBUG. [Olly Betts]
1.2.15.0 Tue Apr 16 23:43:24 UTC 2013
[Changes contributed by Olly Betts]
- Remove superfluous duplicate method wrappers from WritableDatabase
for methods wrapped in Database parent class.
- Improve test coverage.
- Fix minor typo in POD documentation.
1.2.14.0 Thu Mar 14 23:12:38 UTC 2013
[Changes contributed by Olly Betts]
- Perl 5.16.1 adds a '.' after "at foo line 123" so adjust regexp in
testcase t/10query.t to allow an optional '.' there. (ticket#610)
1.2.13.0 Wed Jan 9 11:19:20 UTC 2013
[Changes contributed by Adam Sjøgren]
- Wrap 2 and 3 parameter forms of StringValueRangeProcessor
constructor so prefixes and suffixes can be specified.
(ticket#607)
[Changes contributed by Olly Betts]
- Wrap the zero argument Query constructor.
- Add wrappers for Query::MatchAll and Query::MatchNothing.
- Don't pointlessly reinitialise default std::string parameters to an
empty string (performance and code size micro-optimisation).
1.2.12.0 Wed Jun 27 12:17:26 UTC 2012
- No change except for bumping the version to indicate compatibility
with Xapian 1.2.12.
1.2.11.0 Tue Jun 26 12:13:39 UTC 2012
- No change except for bumping the version to indicate compatibility
with Xapian 1.2.11.
1.2.10.0 Wed May 9 10:45:51 UTC 2012
[Changes contributed by Olly Betts]
- Wrap Database::close() (was previously only wrapped for
WritableDatabase).
- Suppress warnings about "not a known MakeMaker parameter name" in a
way which also works for newer versions of Perl.
1.2.9.0 Thu Mar 8 07:19:27 UTC 2012
[Changes contributed by Olly Betts]
- Wrap Document::get_docid() method.
- Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
with Perl 5.14.
- Improve test coverage of TermGenerator (backported from trunk).
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
1.2.8.0 Tue Dec 13 14:45:07 UTC 2011
[Changes contributed by Olly Betts]
- Add note to README about documentation, pointing out that the docs
for Xapian are useful.
- Improve note in README about moving to SWIG-generated wrappers in the
next release series.
1.2.7.0 Wed Aug 10 06:14:53 UTC 2011
[Changes contributed by Olly Betts]
- Note in README that the hand-coded XS wrappers are heading for
retirement.
1.2.6.0 Sun Jun 12 11:55:42 UTC 2011
[Changes contributed by Adam Sjøgren]
- Wrap new method QueryParser::set_max_wildcard_expansion().
(ticket#350)
1.2.5.0 Mon Apr 4 14:00:38 UTC 2011
[Changes contributed by Olly Betts]
- simpleindex.pl - use 'while' to loop over input lines - 'foreach'
reads them all in and then loops over them, while reads and processes
line by line.
- Add '1;' to the end of t/symbol-test/SymbolTest.pm.
1.2.4.0 Thu Dec 19 12:41:49 UTC 2010
[Changes contributed by Olly Betts]
- Xapian exceptions were still being thrown as strings in Perl in
some cases. Now all cases throw a subclass of Search::Xapian::Error.
For compatibility with code which expects the previous behaviour
these subclasses auto-stringify to the string which would have been
thrown before.
- Make sure all Perl files have 'use strict;' and 'use warnings;'.
- Remove superfluous 'use Carp;' from generated error classes.
- t/document.t,t/index.t,t/search.t: Test TermIterator::get_termname().
- Makefile.PL now looks for CXXFLAGS and CPPFLAGS passed on the
command line, and adds them to CCFLAGS in the generated Makefile.
[Changes contributed by Tim Brody]
- New testcase t/10query.t.
[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)
1.2.3.0 Tue Aug 24 06:03:12 UTC 2010
[Changes contributed by Tim Brody]
- Allow user-specified ExpandDecider to be specified to get_eset().
[Changes contributed by Jess Robinson]
- Fix bogus "can't find libtool" error when rerunning Makefile.PL and
XAPIAN_CONFIG isn't explicitly specified.
1.1.4.0 Mon Feb 15 14:08:51 UTC 2010
[Changes contributed by Henry Combrinck]
- Add wrappers for the spelling correction functionality (ticket#420).
- Add wrapper for Database::close() (ticket#422).
1.1.3.0 Wed Nov 18 11:00:23 UTC 2009
[Changes contributed by Olly Betts]
- Wrap new Xapian::SerialisationError class.
- Ship simplematchdecider.pl example, which was added in 1.0.13.1 but
accidentally not added to 1.1.1.0.
- Work around odd rerunning of Makefile.PL by MakeMaker when srcdir !=
builddir.
1.1.1.0 Tue Jun 9 13:22:07 UTC 2009
[Changes contributed by Olly Betts]
- Add Search::Xapian::MSet::items() method which returns an array
tied to the MSet (much like Search::Xapian::Enquire::matches(), but
you get easy access to the MSet object itself too).
- Add the ability to tie an ESet to an array and a new
Search::Xapian::ESet::items() method to make use of it.
- Add new translated version of the simple examples from the Python
bindings.
- Add more fully featured examples: full-indexer.pl and
full-searcher.pl.
- Add better test coverage for MatchDecider.
- Catch C++ exceptions from methods of Document and rethrow as Perl
exceptions (ticket#284).
- Add dependency to regenerate Makefile if Xapian.pm changes (since the
former contains a version number extracted from the latter).
1.1.0.0 Thu Apr 22 13:56:31 GMT 2009
[Changes contributed by Andreas Marienborg and Olly Betts]
- Xapian C++ exceptions classes are now wrapped and C++ exceptions
are caught and rethrown in Perl as the wrapped classes.
[Changes contributed by Olly Betts]
- Xapian-core now uses libtool 2.2.x, which has required changes to
the how we cram libtool into the MakeMaker-generated Makefile.
However, there's still a wrinkle in this change - you can't currently
run "make install" in a tree configured to use an uninstalled
xapian-core.
1.0.23.0 Fri Jan 14 04:18:24 UTC 2011
[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).
1.0.22.0 Sun Oct 3 12:36:44 UTC 2010
[Changes contributed by Jess Robinson]
- Fix bogus "can't find libtool" error when rerunning Makefile.PL and
XAPIAN_CONFIG isn't explicitly specified.
[Changes contributed by Tim Brody]
- New testcase t/10query.t.
- Avoid importing isa from UNIVERSAL to fix Perl 5.12 deprecation
warning (Debian bug#578559).
- Fix testcase t/04functions.t to work with Perl compiled with
-Duselongdouble (Debian bug#578558).
- Wrap Document::add_boolean_term() (new in C++ API in 1.0.18).
- Add test coverage for Document::remove_term().
- Add wrappers for the spelling correction functionality (ticket#420).
- Fix to build with compilers other than GCC by disabling Perl's
#define for bool. (ticket#404)
- Improve documentation of QueryParser::set_default_op() and
QueryParser::get_default_op().
- examples/: Use MSet::items() (new in 1.0.13.1).
- examples/simpleexpand.pl: Remove debug print statement left in by
accident.
- Add dependency to regenerate Makefile if Xapian.pm changes (since the
former contains a version number extracted from the latter).
- Add better test coverage for MatchDecider.
- Run POD coverage tests if TEST_POD_COVERAGE is set rather than
TEST_POD so that the other POD tests can easily be enabled without
enabling the coverage tests.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
- Updating package for p5 module Search::Xapian from 1.0.12.0 to
1.0.13.1
- Setting license to ${PERL5_LICENSE} according to README file
- Adding PKG_DESTDIR_SUPPORT
Upstream changes:
1.0.13.1 Tue May 26 13:51:18 GMT 2009
[Changes contributed by Olly Betts]
- Deprecate Search::Xapian::MSet::matches() and make it issue a
warning. Please use Search::Xapian::MSet::items() instead.
- Add another translated example: simplematchdecider.pl
1.0.13.0 Sat May 23 15:10:39 GMT 2009
[Changes contributed by Olly Betts]
- Add Search::Xapian::MSet::matches() method which returns an array
tied to the MSet (much like Search::Xapian::Enquire::matches(), but
you get access to the MSet object itself).
- Add new translated version of the simple examples from the Python
bindings.
- Add more fully featured examples: full-indexer.pl and
full-searcher.pl.
- Add handling of exceptions from Database::get_metadata() and methods
of Enquire which might throw DatabaseModifiedError to address
situation reported in ticket#284.
- Skip thread.t testcase if Perl is new enough, but wasn't built with
thread support (reported by Felix Antonius Wilhelm Ostmann).
- Fix "fake VPATH" mode to work better.
- Add test coverage for more WritableDatabase methods.
- Wrap the new FLAG_DEFAULT constant which gives the QueryParser
default flag settings, allowing you to easily add flags to the
default ones.
- Makefile.PL now supports a "fake VPATH" mode, to better support for
building from SVN. If you run "perl /path/to/Makefile.PL" then
Makefile.PL will run Makefile.PL as nomal in /path/to, and then
create a stub Makefile in the current directory which forwards any
make invocations.
- Wrap Search::Xapian::get_major_version(), get_minor_version(),
get_revision(), sortable_serialise(), and sortable_unserialise().
- Reject xapian-core < 1.0 with an error rather than just a warning.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").