pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/xapian



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 10 16:10:31 UTC 2012

Modified Files:
        pkgsrc/textproc/xapian: Makefile distinfo

Log Message:
Update to 1.2.12:

Xapian-core 1.2.12 (2012-06-27):

build system:

* 1.2.11 had its library version information incorrectly set.  This resulted in
  the shared library having an incorrect SONAME - e.g. on Linux,
  libxapian.so.21 instead of libxapian.so.22.  This release has been made to
  fix this problem.

documentation:

* AUTHORS: Add the GSoC students.

Xapian-core 1.2.11 (2012-06-26):

API:

* Add new QueryParser::STEM_ALL_Z stemming strategy, which stems all terms and
  adds a Z prefix.  (Patch from Sehaj Singh Kalra, fixes ticket#562)

* Add TermGenerator::set_stemming_strategy() method, with strategies which
  correspond to those of QueryParser.  Based on patch from Sehaj Singh Kalra,
  with some tweaks for adding term positions in more cases.  (Fixes ticket#563)

* Correct "BM25Weight" to "TradWeight" in exception message from TradWeight.

* We were failing to call init() for user-defined Weight objects providing the
  term-independent weight.  These now get called with init(0.0).

* Xapian::Auto::open_stub() now throws a Xapian::DatabaseOpeningError exception
  if the stub file can't be opened.  Previously we failed to check for this
  condition, which resulted in us treating the file as empty.

testsuite:

* When the testsuite is using valgrind, we used to run remote servers under
  valgrind too (but with --tool=none) to get consistent behaviour as valgrind's
  emulation of x87 excess precision isn't exact.  Now we only do this if x87 FP
  instructions are actually in use (which means x86 architecture and configure
  run with --disable-sse).

* Make sure XAPIAN_MAX_CHANGESETS gets unset after replication testcases which
  set it, so further testcases don't waste time generating changesets.

* Improved test coverage (including more tests for closed databases -
  ticket#337).

brass backend:

* After closing the database, methods which try to use the termlist would throw
  FeatureUnavailableError with message "Database has no termlist", assuming
  that the termlist table not being open meant it wasn't present.  Fix to check
  if the postlist_table is open to determine which case we're in.

chert backend:

* After closing the database, methods which try to use the termlist would throw
  FeatureUnavailableError with message "Database has no termlist", assuming
  that the termlist table not being open meant it wasn't present.  Fix to check
  if the postlist_table is open to determine which case we're in.

inmemory backend:

* Check if the database is closed in metadata_keys_begin() for InMemory
  Databases.

build system:

* xapian-config: Don't interpret a missing .la file as meaning that we only
  have static libraries.

documentation:

* Fix API documentation for Query constructors - both XOR and ELITE_SET can
  take any number of subqueries, not only exactly two.

* Backport missing API documentation comments for operator++ and operator*
  methods or PositionIterator, PostingIterator and TermGenerator.

* docs/replication.rst: Update documentation - since 1.2.5, the value of
  XAPIAN_MAX_CHANGESETS determines how many changesets we keep.

* docs/admin_notes.rst: Correction - we don't "create a lock file", we "lock a
  file".

* Fix API documentation for TradWeight constructor - "k1" should be "k".

portability:

* configure: Overhaul handling of compilers which pretend to be GCC.  Clang
  is now detected, and we only pass it warning flags it actually understands.
  And we now check for symbol visibility support with Intel's compiler.

* configure: Solaris automatically pulls in library dependencies, so set
  link_all_deplibs_CXX=no there.

* configure: We now check -Bsymbolic-functions for all compilers.

* configure: Enable -Wdouble-promotion for GCC >= 4.6.

* Pass -ldl last when compiling zlib-vg.so, as that seems to be needed on
  Ubuntu 12.04.

* Fix incorrect use of "delete" which should be "delete []".  This is
  undefined behaviour in C++, though the type is POD, so in practice this
  probably worked OK on many platforms.

* In BM25Weight when k1 or b is zero (not the default), we used to multiply
  an uninitialised double by zero, which is undefined behaviour, but in
  practice will often give zero, leading to the desired results.

* xapian.h: Add check for Qt headers being included before us and defining
  'slots' as a macro - if they are, give a clear error advising how to work
  around this (previously compilation would fail with a confusing error).

Xapian-core 1.2.10 (2012-05-09):

API:

testsuite:

* apitest: Extend tradweight1 to test that TradWeight(0) means that wdf and
  document length don't affect the weight of a term.

* termgentest: Check that TermGenerator discards words > 64 bytes.

matcher:

* Don't count unweighted subqueries of MultiAndPostList in percentage
  calculations, as OP_FILTER maps to MultiAndPostList now.  (ticket#590)

brass backend:

* When compacting, if the output database is empty, don't write out a metainfo
  tag.  Take care not to divide by zero when computing the percentage size
  change for a table.

chert backend:

* When compacting, if the output database is empty, don't write out a metainfo
  tag.  Take care not to divide by zero when computing the percentage size
  change for a table.

documentation:

* API documentation:

 + Note version when Database::close() was added.

 + Fix switched lower and upper in API documentation for Weight methods
   get_doclength_lower_bound() and get_doclength_upper_bound().  Correct
   maximum to minimum in get_doclength_lower_bound() comment and note that this
   excludes zero length documents.  Fix "An lower" to "A lower".

* docs/admin_notes.html: Mention that postlist and termlist tables also hold
  value info for chert.  Mention that xapian-chert-update was removed in 1.3.0.
  Mention that you need to use copydatabase from 1.2.x to convert flint to
  chert.

* HACKING: Update section on patches to mention git (git diff and git
  format-patch), and using "-r" with normal diff, and also that ptardiff offers
  a nice way to diff against an unpacked tarball.

debug code:

* Fix use of AssertEq() on NULL, which doesn't compile, at least with recent
  GCC.

Xapian-core 1.2.9 (2012-03-08):

API:

* QueryParser: Fix FLAG_AUTO_SYNONYMS not to enable auto multi-word synonyms
  too (but in a different way to trunk so as to not break the ABI).

matcher:

* Fix issue with running AND, OR and XOR queries against a database with no
  documents in it - this was leading to a divide by zero, which led to
  MSet::get_matches_estimated() reporting 2147483648 on i386.

build system:

* Remove configure's --with-stlport and --with-stlport-compiler options, as
  they don't allow you to actually specify what you need to (at least to use
  the Debian STLport package), and instead document what to pass to configure
  to enable building with STLport (though it seems to no longer be actively
  maintained, and the debug mode (which is probably the most interesting
  feature now) doesn't seem to work on Debian stable).

documentation:

* Document that OP_ELITE_SET with non-term subqueries might pick subqueries
  which don't match anything.  Closes ticket#49.

* Document that you can define a static operator delete method in your subclass
  if deallocation needs to be handled specially.  (Closes ticket#554)

* Assorted minor documentation improvements.

portability:

* Address new warnings from GCC 4.6.

* Fix argument order when linking xapian-check to fix mingw build.
  (ticket#567)

* Add some missing explicit header includes to fix build with STLport.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/textproc/xapian/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/xapian/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index