Up to [cvs.NetBSD.org] / pkgsrc / textproc / p5-Xapian
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 10 17:54:30 2020 UTC (3 months, 1 week ago) by schmonz
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)
Update to 1.4.16. From the changelog: 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. Bindings: * 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.
Revision 1.4 / (download) - annotate - [select for diffs], Mon Sep 10 10:30:06 2018 UTC (2 years ago) by schmonz
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
Parameterize loadable module extension. Should fix packaging on non-Darwin.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 6 16:23:11 2018 UTC (2 years, 2 months ago) by schmonz
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
Update xapian bindings for 1.4.6.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 14 12:55:45 2017 UTC (3 years, 2 months ago) by joerg
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)
Collect patches for xapian in a common subdirectory. Put distinfo for modules into a separate file as well. Don't hard-code -lstdc++ for broken ancient OpenBSD versions of GCC. Sync p5-Xapian PLIST with reality.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jul 10 17:34:04 2017 UTC (3 years, 2 months ago) by schmonz
Add Xapian language bindings for C#, Lua, Perl, PHP, Python, Ruby, and Tcl.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.