From 49aa6445c5202fbde61bc3036f4bc24fee8d180e Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Mon, 8 Jun 2020 15:57:54 +1200 Subject: [PATCH] Update for 1.4.16 --- xapian-applications/omega/NEWS | 28 ++++++++++++ xapian-applications/omega/configure.ac | 2 +- xapian-bindings/NEWS | 79 ++++++++++++++++++++++++++++++++++ xapian-bindings/configure.ac | 2 +- xapian-core/AUTHORS | 5 +++ xapian-core/NEWS | 57 ++++++++++++++++++++++++ xapian-core/configure.ac | 5 ++- 7 files changed, 174 insertions(+), 4 deletions(-) diff --git a/xapian-applications/omega/NEWS b/xapian-applications/omega/NEWS index a04767315..90d62b41f 100644 --- a/xapian-applications/omega/NEWS +++ b/xapian-applications/omega/NEWS @@ -1,3 +1,31 @@ +Omega 1.4.16 (2020-06-08): + +indexers: + +* Fix handling of XML empty tag syntax when there's a quoted parameter right + before the closing `/>`. This caused `` to treat + the body text as the document title. Spotted by Gaurav Arora. + +* omindex: Fix killing of filter child process if the parent process receives a + signal. Spotted by Gaurav Arora. + +omega: + +* Reject $setrelevant without an argument list. This has never been documented + as allowed, and previously crashed with a segfault. Fixes #802, reported by + Gaurav Arora. + +* If there's an error opening the databases we now close any we managed to open + successfully before the error so that things like $dbsize can't end up + reporting values for a subset of the specified databases. + +portability: + +* Use our own autoconf cache variable namespace (xo_cv_ prefix instead of + ac_cv_) to avoid colliding with standard autoconf macro use if config.site or + a shared config.cache is used. The former case caused a build failure for + the OpenBSD port with 1.4.15, reported by Lucas R. + Omega 1.4.15 (2020-02-24): documentation: diff --git a/xapian-applications/omega/configure.ac b/xapian-applications/omega/configure.ac index 8bdc9088d..533be6e0e 100644 --- a/xapian-applications/omega/configure.ac +++ b/xapian-applications/omega/configure.ac @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -m4_define([project_version], [1.4.15]) +m4_define([project_version], [1.4.16]) AC_INIT([xapian-omega], project_version, [https://xapian.org/bugs]) AC_PREREQ([2.63]) AM_INIT_AUTOMAKE([1.11 -Wportability subdir-objects tar-ustar no-dist-gzip dist-xz]) diff --git a/xapian-bindings/NEWS b/xapian-bindings/NEWS index e9f1affa5..8003c0f88 100644 --- a/xapian-bindings/NEWS +++ b/xapian-bindings/NEWS @@ -1,3 +1,82 @@ +Xapian-bindings 1.4.16 (2020-06-08): + +General: + +* Remove code to support SVN snapshots since we stopped using SVN more than 5 + years ago. + +* Ignore overloads for logical ops, *, /. These were already ignored for + several languages, and aren't actually usefully wrapped for any of the other + languages. + +CSharp: + +* Work around mono terminfo parsing bug in more cases. With this, "make", + "make check", "make install" and "make uninstall" all work on Ubuntu 18.10. + Patch from Dipanshu Garg, fixes https://github.com/xapian/xapian/pull/287 and + #801. + +Lua: + +* Allow passing a Lua function as a MatchSpy. This was supposed to be + supported already, but the typemaps weren't set up. + +* On platforms where sizeof(long) is 4, SWIG was wrapping Xapian::BAD_VALUENO + as a negative constant in Lua, which was then rejected by a check which + disallows passing negative values for unsigned C++ types. We now direct SWIG + to handle Xapian::valueno as double (which is what numbers in Lua usually + actually are) which gives us an unsigned constant, and also eliminates the + negative value check. + +* Correct documentation - get_description() is wrapped as tostring() in Lua, + not str() as we previously claimed. + +* Add test coverage for passing Lua function for a Stopper. + +Perl: + +* Resolve the remaining issues and remove the "experimental" marker: + + + Add search_xapian_compat() function which sets up aliases in the + Search::Xapian namespace to aid writing code which uses either + Search::Xapian or this module. + + + Allow passing Perl sub for simpler Xapian functor classes. This fills in a + missing feature compared to Search::Xapian. See #523. + + + Remove useless PerlStopper class which was an incomplete copy of the + apparently non-functional Search::Xapian::PerlStopper. We now support + passing a Perl sub for a Stopper object. + + + Adjust some method names to match Search::Xapian. Iterators now support + inc() (and dec() where the C++ class supports operator--) like + Search::Xapian, rather than increment() and prev(). Reported by Eric Wong + in #523. + + + Drop undocumented and unexpected extra equals() method. + + + Provide compatibility with ENQ_ASCENDING, etc constants. SWIG wraps these + as $Xapian::Enquire::ASCENDING, which better matches the C++ API, but + Search::Xapian wraps this as Search::Xapian::ENQ_ASCENDING, etc so provide + those too for compatibility. Reported by Eric Wong in #523. + + + Drop stringification and int conversion overloads. These seem more + confusing than helpful, and overloading stringification works badly + with SWIG-generated bindings. + + + Document remaining known differences from Search::Xapian. + +* Update recently tested versions in README. + +* Improve documentation. + +* Fix t/02pod.t to look for files in right directory. + +Ruby: + +* Don't print iterator sizes to stdout. This was some debugging accidentally + left in as part of a change in 1.4.12. Patch from Dan Callaghan. + Xapian-bindings 1.4.15 (2020-02-24): Perl: diff --git a/xapian-bindings/configure.ac b/xapian-bindings/configure.ac index 20b9e94e5..e36573d5c 100644 --- a/xapian-bindings/configure.ac +++ b/xapian-bindings/configure.ac @@ -4,7 +4,7 @@ dnl See xapian-core's HACKING document for details of the reasons for required dnl versions. AC_PREREQ([2.63]) -m4_define([project_version], [1.4.15]) +m4_define([project_version], [1.4.16]) AC_INIT([xapian-bindings], project_version, [https://xapian.org/bugs]) dnl See xapian-core's HACKING document for details of the reasons for required diff --git a/xapian-core/AUTHORS b/xapian-core/AUTHORS index 48997aae4..64d5acf10 100644 --- a/xapian-core/AUTHORS +++ b/xapian-core/AUTHORS @@ -251,3 +251,8 @@ Helpful comments, bug reports, small patches: kumaran Lucas R A. Wilcox + Dipanshu Garg + Dan Callaghan + srinivasyadav22 + boda sadalla + sec^nd diff --git a/xapian-core/NEWS b/xapian-core/NEWS index d7d5822aa..90b9db45b 100644 --- a/xapian-core/NEWS +++ b/xapian-core/NEWS @@ -1,3 +1,60 @@ +Xapian-core 1.4.16 (2020-06-08): + +API: + +* MSet::snippet(): The snippet now includes trailing punctuation which carries + meaning or gives useful context. See + https://github.com/xapian/xapian/pull/180, reported by Robert Stepanek. + +* MSet::snippet(): Fix segfault generating snippet from default-constructed + MSet. This probably isn't something you'd typically do, but it shouldn't + crash. Found during extended testing of #803 (which only affected git + master) which was reported by Robert Stepanek. + +* Remove trailing full stop from exception messages. We conventionally don't + include one, but a few cases didn't follow that convention. + +testsuite: + +* Replace direct use of ftime() which gives deprecation warnings with recent + mingw. Reported by srinivasyadav22. + +matcher: + +* Fix segfault in rare cases in the query optimiser. We keep a pointer to the + most recent posting list to use as a hint for opening the next posting list, + but the existing mechanism to take ownership of this hint had a flaw. We now + invalidate the hint in situations where it might be indirectly deleted which + is safe, but somewhat conservative. + +* Improve the optimisation of an always-matching OP_VALUE_GE to also take + effect when the value slot's lower bound is equal to the limit of the + OP_VALUE_GE. Patch from boda sadalla. + +glass backend: + +* Report the correct errno value if commit() fails. We were potentially + reporting ENOENT from an unlink() call cleaning up a temporary file prior to + throwing the exception instead. + +documentation: + +* Fix missing menus in API documentation. Newer doxygen generates .js files + which we also need to distribute and install. Reported by sec^nd on #xapian. + +* Note OP_FILTER ignored subquery bug fixed in 1.4.15 as present in 1.4.14 and + older. + +portability: + +* Use our own autoconf cache variable namespace (xo_cv_ prefix instead of + ac_cv_) to avoid colliding with standard autoconf macro use if config.site or + a shared config.cache is used. The former case caused a build failure for + the OpenBSD port with 1.4.15, reported by Lucas R. + +* Use clock_gettime() and nanosleep() under modern mingw as these allow higher + precision than what we previously used. + Xapian-core 1.4.15 (2020-02-24): API: diff --git a/xapian-core/configure.ac b/xapian-core/configure.ac index 3ff244237..4c1519ae6 100644 --- a/xapian-core/configure.ac +++ b/xapian-core/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl NB When updating the version for a release, update LIBRARY_VERSION_INFO dnl below too. -AC_INIT([xapian-core], [1.4.15], [https://xapian.org/bugs]) +AC_INIT([xapian-core], [1.4.16], [https://xapian.org/bugs]) dnl See HACKING document for details of the reasons for required versions. AC_PREREQ([2.64]) dnl Extract from the libtool info manual: @@ -46,7 +46,8 @@ dnl 39:0:9 1.4.12 Database::size() method dnl 39:1:9 1.4.13 No API changes dnl 40:0:10 1.4.14 Xapian::Stem changes dnl 40:1:10 1.4.15 No API changes -LIBRARY_VERSION_INFO=40:1:10 +dnl 40:2:10 1.4.16 No API changes +LIBRARY_VERSION_INFO=40:2:10 AC_SUBST([LIBRARY_VERSION_INFO]) LIBRARY_VERSION_SUFFIX= -- 2.11.4.GIT