Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id F0EEF7A20E for ; Wed, 13 Jan 2016 20:59:16 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 98B5D85EAB; Wed, 13 Jan 2016 20:59:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2745985E62 for ; Wed, 13 Jan 2016 20:59:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 02IoeqexVtYb for ; Wed, 13 Jan 2016 20:59:15 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 6388485E2B for ; Wed, 13 Jan 2016 20:59:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 59256FBB5; Wed, 13 Jan 2016 20:59:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 13 Jan 2016 20:59:15 +0000 From: "Amitai Schlair" Subject: CVS commit: pkgsrc/textproc/xapian To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20160113205915.59256FBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: schmonz Date: Wed Jan 13 20:59:15 UTC 2016 Modified Files: pkgsrc/textproc/xapian: Makefile PLIST distinfo Log Message: Update to 1.2.22. From the changelog: API: * Add FLAG_CJK_NGRAM for QueryParser and TermGenerator. Has the same effect as setting the environment variable XAPIAN_CJK_NGRAM. Fixes #180, reported by Richard Boulton, with contributions from Pavel Strashkin, Mikkel Kamstrup Erlandsen and Brandon Schaefer. * Fix bug parsing multiple non-exclusive filter terms - previously this could result in such filters effectively being ignored. * Fix Database::get_doclength_lower_bound() over multiple databases when some are empty or consist only of zero-length documents. Previously this would report a lower bound of zero, now it reports the same lowest bound as a single database containing all the same documents. * Make Database::get_wdf_upper_bound("") return 0. * Mark constructors taking a single argument as "explicit" to avoid unwanted implicit conversions. testsuite: * If command line option --verbose/-v isn't specified, set the verbosity level from environmental variable VERBOSE. * Skip timed tests if $AUTOMATED_TESTING is set. Fixes #553, reported by Dagobert Michelsen. * Don't leave an extra fd open when starting xapian-tcpsrv for remotetcp tests. * apitest: Revert disabling of part of adddoc5 for clang - the test failure was in fact due to a bug in 1.3.x, and 1.2.x was never affected. * apitest: Tweak bounds checks in dbstats1 testcase - multi backends should give tight bounds. brass backend: * Format limit on docid now correctly imposed when sizeof(int) > 4. * Avoid potential DB corruption with full-compaction when using 64K blocks. chert backend: * Format limit on docid now correctly imposed when sizeof(int) > 4. * Avoid potential DB corruption with full-compaction when using 64K blocks. flint backend: * Format limit on docid now correctly imposed when sizeof(int) > 4. * Avoid potential DB corruption with full-compaction when using 64K blocks. remote backend: * Fix to handle total document length exceeding 34,359,738,368. (Fixes #678, reported by matf). * Avoid dividing by zero when getting the average length for an empty database. * Stop apparent error from remote server when read-only client disconnects. A read-only client just closes the connection when done, but the server previously reported "Got exception NetworkError: Received EOF", which sounds like there was a problem. Now we just say "Connection closed" here, and "Connection closed unexpectedly" if the client connects in the middle of an exchange. Possibly fixes #654, reported by German M. Bravo. * Give a clearer error message when the client and server remote protocol versions aren't compatible. * Check length of key in MSG_SETMETADATA. build system: * pkg-config: Fix library name in .pc file to say "xapian" not "xapian-core". Reported by Eric Lindblad to the xapian-devel list. * Private symbol decode_length() is no longer visible outside the library. documentation: * Stop maintaining ChangeLog files. They make merging patches harder, and stop 'git cherry-pick' from working as it should. The git repo history should be sufficient for complying with GPLv2 2(a). * Strip out "quickstart" examples which are out of date and rather redundant with the "simple" examples. * Correct documentation of Enquire::get_query(). If no query has been set, the documentation said Xapian::InvalidArgumentError was thrown, but in fact we just return a default initialised Query object (i.e. Query()). This seems reasonable behaviour and has been the case since Xapian 0.9.0. * Document xapian-compact --blocksize takes an argument. * Update snowball website link to snowballstem.org. tools: * xapian-replicate: Fix replication for files > 4GB on 32-bit platforms. Previously replication would fail to copy a file whose size didn't fit in size_t. Fixes #685, reported by Josh Elsasser. * xapian-tcpsrv: Better error if -p/--port not specified * quest: Support `-f cjk_ngram`. examples: * xapian-metadata: Extend "list" subcommand to take optional key prefix. portability: * Fix new warnings from recent versions of GCC and clang. * Add spaces between literal strings and macros which expand to literal strings for C++11 compatibility in __WIN32__-specific code. * Need for unlink() on FreeBSD, reported by Germán M. Bravo via github PR 72. * Fix testsuite to build when S_ISSOCK() isn't defined. * Don't provide our own implementation of sleep() under __WIN32__ if there already is one - mingw provides one, and in some situations it seems to clash with ours. Reported to xapian-discuss by John Alveris. * Add missing '#include ' to htons(). Seems to be implicitly included on most platforms, but Interix needs it. Reported by Eric Lindblad on xapian-discuss. * Disable " is expected to return a value" warning from Sun's C++ compiler, as it fires for functions ending in a "throw" statement. Genuine instances will be caught by compilers with superior warning machinery. * Prefer scalbn() to ldexp() where possible, since the former doesn't ever set errno. * '#include ' in the "simple" examples, as when compiling with xlC on AIX, _LARGE_FILES gets defined by AC_SYS_LARGEFILE to enable large file support, and defining this changes the ABI of std::string, so it also needs to be defined when compiling code using Xapian. * On cygwin, include instead of winsock headers for htons() and htonl(). * Include for CYGWIN_VERSION_API_MAJOR. * Avoid referencing static members via an object in that object's own definition, as this doesn't work with all compilers (noted with GCC 3.3), and is a bit of an odd construct anyway. Reported by Eric Lindblad on xapian-discuss. * GCC < 3.4.2 lacks operator<< overloads for unsigned long long on some platforms, so simply work around this by using str(), as this isn't performance sensitive code. Reported by Eric Lindblad on xapian-discuss. * Fix delete which should be delete[] in brass backend cursor code. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 pkgsrc/textproc/xapian/Makefile cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/xapian/PLIST cvs rdiff -u -r1.20 -r1.21 pkgsrc/textproc/xapian/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.