1 Xapian-bindings 1.4.26 (2024-07-18):
5 * README: Add link to separately maintained Guile bindings. Patch from Arun
8 * README: Add link to separately maintained R bindings.
12 * configure: NetBSD automatically pulls in library dependencies, so set
13 link_all_deplibs_CXX=no there.
15 * Use `override` for subclassing functors. This is good practice as it gives a
16 clear compile error if we have to change the signature of an virtual method
17 on such a functor. See #830.
19 Xapian-bindings 1.4.25 (2024-03-08):
23 * configure: DragonflyBSD automatically pulls in library dependencies, so set
24 link_all_deplibs_CXX=no there.
26 * configure: Avoid using lt_cv_objdir, which seems to be a libtool implementation
27 detail. We already have its value available via a documented interface.
31 * Fix conversion of POD to HTML when builddir!=srcdir.
33 * Simplify uninstall-local to use the shared object extension in PERL_SO.
37 * Use PHP_SHLIB_SUFFIX as the filename extension for the compiled extension
38 module. Previously we used the extension libtool thought appropriate for
39 the current platform. We're not aware of a platform where the two don't
40 agree, but should they not agree we should use what PHP expects.
44 * Fix `make check` when builddir!=srcdir.
48 * Fix `make check` when builddir!=srcdir.
52 * Fix probe for rdoc to default to using the rdoc which matches the Ruby
53 interpreter. This was always the intention, but the code was buggy and
54 this default previously never kicked in. This was likely to only be a
55 problem if you were overriding RUBY=/path/to/ruby but not overriding RDOC as
56 well. Reported by Vitaly Chikunov on the xapian-devel list.
58 Xapian-bindings 1.4.24 (2023-11-06):
62 * swig-depcomp: Strip CR from generated files which fixes an issue in some
63 cases when building from git on Microsoft Windows.
67 * Use pkg-config for Lua flags instead of some rather ad-hoc configure probes.
68 This improves portability to platforms which require linking to a Lua
69 library, or which install the Lua headers directly without a versioned
74 * Update configure probe PHP_LIBS on cygwin. Based on patch found in cygwin
75 packaging, authored by Yaakov Selkowitz.
79 * Fix to handle the case of tcl_pkgPath not existing, which happens on
80 Microsoft Windows builds of Tcl.
82 * run-tcl-test: Fix not to hardcode smoketest.tcl and instead run the program
83 specified on the command line.
85 * Use TCL_SHLIB_EXT for the installed extension which is what Tcl expects.
86 Previously the installed Tcl extension used the filename extension that
87 libtool thinks is right for modules on the current platform. We're not
88 currently aware of platform where these actually differ, so this may be just
91 * Improve configure probe for stub library to work if the tclConfig.sh we find
92 forwards to a different script, as is the case with /usr/lib/tclConfig.sh on
93 current Debian. On Debian at least our method for finding the tclConfig.sh
94 to use doesn't find such a forwarding script, but it seems better to be
97 * Eliminate special cygwin handling which is no longer needed.
99 Xapian-bindings 1.4.23 (2023-07-07):
103 * Where we document how to build the bindings, link to the download page so
104 the reader can easily find the source to download. Reported by John G. Heim.
106 * Update lists of debian packages to install for bindings development to
107 show be for the latest stable release and the one before (bookworm and
110 * HACKING: Fix typos in deprecation warning section
112 * HACKING: Update link to Pike bindings
114 * HACKING: Document issues caused by macOS SIP. Fixes #732.
118 * Add `FLAG_NGRAMS` as a preferred new alias for `FLAG_CJK_NGRAM` and
119 `SNIPPET_NGRAMS` as a preferred new alias for `SNIPPET_CJK_NGRAM`.
120 In the next release series these features have been expanded to cover many
121 more languages so the "CJK" in the name has become inaccurate as it stands
122 for "Chinese, Japanese and Korean").
124 * Avoid running pwd in makefiles since the directories we need are available in
129 * SmokeTest.cs: Fix some incorrect messages if testcases fail.
131 * Smoketest.cs: Test stemmer description.
135 * Update docs for supported Lua versions.
139 * Generate HTML docs for each class.
141 * Document all QueryParser FLAG_* constants.
143 * Update one place which didn't correctly indicate the current status of the
144 Perl bindings. Fixes #523.
148 * Fix bug in wrapper for xapian.Query when constructing OP_WILDCARD queries.
149 A workaround for this bug which works with existing releases is to pass
150 0 for the third and fourth optional parameters like so:
152 xapian.Query(xapian.Query.OP_WILDCARD, "xyz", 0, 0)
156 * Fix bug in wrapper for xapian.Query when constructing OP_WILDCARD queries.
157 A workaround for this bug which works with existing releases is to pass
158 0 for the third and fourth optional parameters like so:
160 xapian.Query(xapian.Query.OP_WILDCARD, "xyz", 0, 0)
164 * Improve documentation about __call__ methods.
166 Xapian-bindings 1.4.22 (2023-02-02):
170 * When passing a Lua function for a Xapian functor object, the wrapper
171 object was leaked in most cases (except for Xapian::StemImplementation).
175 * Fix testsuite and docs for Perl 5.36.0 change.
177 Prior to Perl 5.36.0 retrieving the string value of an integer could set
178 the flag read by "SvPOK()", but that's no longer the case in Perl 5.36.0
181 We already document the need to explicitly stringify numeric values
182 passed where a string is needed, so just add the missing stringification
183 to the testcase and document that it's required in more places when using
184 Perl 5.36.0 and later.
188 * Add support for PHP8 (PHP 8.0, 8.1 and 8.2 should all work).
190 The PHP bindings are now implemented entirely in C++ code using PHP's
191 C extension API, and the `xapian.php` wrapper file no longer exists.
192 This change means smaller and faster bindings. See the documentation for a
193 recommended way to write code which works with both PHP7 and PHP8 bindings.
195 To add PHP8 support we've had to drop support for PHP7. PHP7.4 reached end
196 of life on 2022-11-28 so hopefully this isn't a problem for too many people,
197 but if you need support for PHP7 please use xapian-bindings <= 1.4.21.
199 Fixes #817, reported by Ryan Schmidt.
201 * We now set the version in the metadata of the PHP module to the
202 xapian-bindings version (previously it was unversioned).
206 * Drop support for Python 2.6. We need to use SWIG 4.1.0 for PHP8 support, but
207 that no longer supports Python 2.6 so we have to raise the minimum Python 2
208 version to Python 2.7.
210 The last Python 2.6 release was in 2013 so hopefully this isn't a problem for
211 anyone, but if you still need to use Python 2.6 please use xapian-bindings <=
216 * Drop support for Python 3.2. We need to use SWIG 4.1.0 for PHP8 support, but
217 that no longer supports Python 3.2 so we have to raise the minimum Python 3
218 version to Python 3.3.
220 The last Python 3.2 release was in 2014 so hopefully this isn't a problem for
221 anyone, but if you still need to use Python 3.2 please use xapian-bindings <=
226 * Fix new Ruby 3.2 warning "undefining the allocator of T_DATA class
227 swig_runtime_data" (fixed by the change to using a newer SWIG version).
229 Xapian-bindings 1.4.21 (2022-09-22):
233 * Consistently say "macOS" not "Mac OS X", "OS X", etc.
237 * Update to use AX_CXX_COMPILE_STDCXX which is a replacement for
238 AX_CXX_COMPILE_STDCXX_11 (which we were using) which also supports newer C++
239 standards versions which will be useful. For C++11 the only difference seems
240 to be that the macro now checks for attribute support - we use C++11
241 attributes so that seems a good thing.
245 * Drop special handling of MACOSX_DEPLOYMENT_TARGET. This was only relevant
246 for macOS 10.3 and (for powerpc only) 10.4, and Apple dropped support for
251 * Document where to install .jar on macOS. Partly addresses #774, reported by
254 Xapian-bindings 1.4.20 (2022-07-04):
258 * Enable -fvisibility-inlines-hidden option if the compiler supports it.
262 * Add missing reference tracking. XapianEnquire now keeps a reference to the
263 current XapianSorter object (if any). XapianQueryParser now keeps a
264 reference to any set XapianFieldProcessor objects. Test coverage for keeping
265 references to set functor objects is now more comprehensive.
267 * smoketest.php: Remove bogus extra null parameters. PHP ignores these extra
268 parameters, but it's more helpful to be testing valid usage.
272 * The configure probes for Python3 no longer use the deprecated distutils and
273 imp modules (both of which are slated for removal in Python 3.12). We now
274 use sysconfig to get the directory to install the xapian module to, which may
275 result in it being installed in a different place (it should still work, but
276 if you're packaging the bindings you may need to update the list of files to
277 include in the package).
279 Xapian-bindings 1.4.19 (2021-12-31):
283 * configure: Add missing AC_ARG_VAR for all programs so that they are
284 documented in --help output, and so that autoconf knows they are "precious"
285 and preserves them if configure is rerun even when they're specified via an
286 environment variable.
290 * Replace uses of obsolete autoconf macros, fixing warnings if configure is
291 regenerated with a recent release of autoconf.
295 * Add missing wrappers for some QueryParser FLAG_* constants.
297 * Fix incorrect formatting in the processed POD documentation due to missing
298 escaping of `>` in code snippets.
302 * Make configure PHP5 version check more robust. Previously it would have
303 incorrectly accepted any (future) PHP version >= 10.0.0.
307 * configure: We now reject PHP8 since it isn't currently supported
308 by a released version of SWIG. SWIG 4.1.0 will supports PHP8.
310 * configure: Check for php-config7.4 as well as earlier 7.x versions
315 * Fix deprecation warnings with Python >= 3.9.
317 * Remove more files/dirs on "make clean". Reported by Gaurav Arora.
321 * Fix build with Ruby 3.0 and clang. Reported by Eduard Panov on macos, where
322 clang is the default compiler.
324 * Improve markup in Ruby bindings docs.
326 Xapian-bindings 1.4.18 (2021-01-14):
330 * Support macOS 11.0 - AC_CANONICAL_HOST identifies this as darwin20, which
331 wasn't caught by our glob pattern. Patch from FX Coudert in
332 https://github.com/xapian/xapian/pull/319
336 * Wrap const std::string* parameters to accept a string or null in C#. See #204.
340 * Wrap const std::string* parameters to accept a String or null in Java.
344 * Fix minor documentation typo.
346 Xapian-bindings 1.4.17 (2020-08-21):
348 * No user-visible change except for bumping the version to indicate
349 compatibility with Xapian-core 1.4.17.
351 Xapian-bindings 1.4.16 (2020-06-08):
355 * Remove code to support SVN snapshots since we stopped using SVN more than 5
358 * Ignore overloads for logical ops, *, /. These were already ignored for
359 several languages, and aren't actually usefully wrapped for any of the other
364 * Work around mono terminfo parsing bug in more cases. With this, "make",
365 "make check", "make install" and "make uninstall" all work on Ubuntu 18.10.
366 Patch from Dipanshu Garg, fixes https://github.com/xapian/xapian/pull/287 and
371 * Allow passing a Lua function as a MatchSpy. This was supposed to be
372 supported already, but the typemaps weren't set up.
374 * On platforms where sizeof(long) is 4, SWIG was wrapping Xapian::BAD_VALUENO
375 as a negative constant in Lua, which was then rejected by a check which
376 disallows passing negative values for unsigned C++ types. We now direct SWIG
377 to handle Xapian::valueno as double (which is what numbers in Lua usually
378 actually are) which gives us an unsigned constant, and also eliminates the
379 negative value check.
381 * Correct documentation - get_description() is wrapped as tostring() in Lua,
382 not str() as we previously claimed.
384 * Add test coverage for passing Lua function for a Stopper.
388 * Resolve the remaining issues and remove the "experimental" marker:
390 + Add search_xapian_compat() function which sets up aliases in the
391 Search::Xapian namespace to aid writing code which uses either
392 Search::Xapian or this module.
394 + Allow passing Perl sub for simpler Xapian functor classes. This fills in a
395 missing feature compared to Search::Xapian. See #523.
397 + Remove useless PerlStopper class which was an incomplete copy of the
398 apparently non-functional Search::Xapian::PerlStopper. We now support
399 passing a Perl sub for a Stopper object.
401 + Adjust some method names to match Search::Xapian. Iterators now support
402 inc() (and dec() where the C++ class supports operator--) like
403 Search::Xapian, rather than increment() and prev(). Reported by Eric Wong
406 + Drop undocumented and unexpected extra equals() method.
408 + Provide compatibility with ENQ_ASCENDING, etc constants. SWIG wraps these
409 as $Xapian::Enquire::ASCENDING, which better matches the C++ API, but
410 Search::Xapian wraps this as Search::Xapian::ENQ_ASCENDING, etc so provide
411 those too for compatibility. Reported by Eric Wong in #523.
413 + Drop stringification and int conversion overloads. These seem more
414 confusing than helpful, and overloading stringification works badly
415 with SWIG-generated bindings.
417 + Document remaining known differences from Search::Xapian.
419 * Update recently tested versions in README.
421 * Improve documentation.
423 * Fix t/02pod.t to look for files in right directory.
427 * Don't print iterator sizes to stdout. This was some debugging accidentally
428 left in as part of a change in 1.4.12. Patch from Dan Callaghan.
430 Xapian-bindings 1.4.15 (2020-02-24):
434 * Improve comment about App::Prove.
440 Xapian-bindings 1.4.14 (2019-11-23):
444 * Remove broken replicationtest.py. It's never worked reliably, and because
445 of that was disabled shortly after being added over a decade ago.
446 Unsurprisingly it's bit-rotted at least a bit since. Nobody seems interested
447 in fixing it, so it's time to just get rid of it. Closes #320.
451 * Remove broken replicationtest.py. It's never worked reliably, and because
452 of that was disabled shortly after being added over a decade ago.
453 Unsurprisingly it's bit-rotted at least a bit since. Nobody seems interested
454 in fixing it, so it's time to just get rid of it. Closes #320.
456 Xapian-bindings 1.4.13 (2019-10-14):
460 * Omit SWIG exception handling for destructors. Since C++11, destructors can't
461 throw by default and we don't override that default, so there's no point
462 adding exception handling code for them.
464 * Ensure doccomments.i is distributed. If you unpacked a distribution tarball,
465 configured it and then ran "make dist" python/doccomments.i and
466 python3/doccomments.i would be missing unless you configured the tree with
467 --enable-maintainer-mode.
471 * Check for php-config5.6 and php-config5.5 in configure as these versioned
472 names are used in some packages (such as those from the ondrej/php PPA).
476 * Work around build failure on Illuminos. Fixes
477 https://trac.xapian.org/ticket/793, reported by Amitai Schleier.
481 * smoketest.rb: Use #push not #append on Array to restore compatibility with
482 Ruby < 2.5 (broken by changes in 1.4.12).
484 * Expand tabs in Ruby code since using spaces for indentation seems to be
485 preferred Ruby style.
487 * Remove trailing `;` from Ruby code.
489 Xapian-bindings 1.4.12 (2019-07-23):
493 * Update bindings HACKING document. Reported as out of date by Niwesh Gupta.
497 * Work around mono terminfo parsing bug - older cli-sn fails with e.g.
498 TERM=xterm-256color due to: https://github.com/mono/mono/issues/6752
499 Encountered on Kubuntu 18.10 and debugged by Tejasvi Tomar. Seems to be
500 fixed in the mono version in Debian buster.
504 * Suppress warnings from older Perl headers due to use of constructs which look
505 like C++11 user-defined literals. They're fixed in newer versions so they're
506 just noise in our build. We were working around these in the CI build, so
507 drop that workaround as we want to make the build warning-clean for users
508 too. Reported by daniel93 on #xapian.
512 * Fix build for changes in Sphinx 2.0 (which drops support for sphinx.main()).
513 Fixes #778, reported by karolyi. Also reported by Gaurav Arora.
515 * We now throw UnicodeEncodeError for bad Unicode string input. Previously
516 cases such as a lone surrogate would be handled by quietly skipping the bad
517 codepoints when converting to UTF-8 to pass to Xapian.
519 * We no longer use the deprecated old-style Py_UNICODE API, which currently
520 gives deprecation warnings and is slated to be removed in Python 4.0.
524 * Add support for block iteration. All the iterator methods in the Ruby API
525 now accept an optional block. If no block is given an array is returned so
526 existing code will still work. Partly based on a patch in
527 https://github.com/xapian/xapian/pull/232 from Cong Ding.
529 * Add missing wrappers for all the C++ methods returning iterators which
530 weren't wrapped for Ruby. Fixes #777, reported by do.
532 * Suppress warnings from Ruby 2.3 headers due to use of register and
533 constructs which look like C++11 user-defined literals. They're fixed in
534 newer versions so they're just noise in our build. We were working around
535 these in the CI build, so drop that workaround as we want to make the build
536 warning-clean for users too. Reported by daniel93 on #xapian.
538 * smoketest.rb: Don't leave temporary databases behind in /tmp.
540 Xapian-bindings 1.4.11 (2019-03-02):
544 * Make MatchAll and MatchNothing readonly.
548 * Simplify load-time setup of Query.OP_OR, etc which are provided for
549 compatibility with the original hand-written JNI bindings.
553 * We now load the module for "make check" using -d extension=xapian which
554 avoids needing to turn off safe_mode and turn on enable_dl, and matches how
555 the module is usually loaded in production use.
559 * Fix access to already released memory during PHP module shutdown, which often
560 didn't cause visible problems, but could result in segmentation faults, bus
563 * Fix generated code to compile when using a ZTS-enabled build of PHP.
565 * We now load the module for "make check" using -d extension=xapian which
566 avoids needing to turn off safe_mode and turn on enable_dl, and matches how
567 the module is usually loaded in production use.
569 Xapian-bindings 1.4.10 (2019-02-12):
573 * Use https for URLs where supported.
577 * Wrap new DatabaseClosedError and DatabaseNotFoundError exceptions.
578 See #772 and #773. Patches from Vaibhav Kansagara.
580 * Update expected query descriptions in tests for the xapian-core
581 change to produce flatter Query trees.
583 * Workaround Perl 5.28 -i quirk when postprocessing SWIG-generated code.
584 The commands in question are only run when maintainer-mode is enabled.
588 * C++ constant Xapian::BAD_VALUENO is now wrapped without using a getter.
589 This shouldn't affect existing user code.
593 * C++ constant Xapian::BAD_VALUENO is now wrapped as Java constant
594 Xapian.BAD_VALUENO. The previous Java wrapping as function
595 Xapian.getBAD_VALUENO() is still supported for compatibility with
598 * Remove redundant std::string initialisation.
602 * C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
603 an immutable attribute. This shouldn't affect existing user code.
607 * C++ constant Xapian::BAD_VALUENO is now wrapped as Perl constant
608 Xapian::BAD_VALUENO. The previous Perl wrapping as variable
609 $Xapian::BAD_VALUENO is still supported for compatibility with existing
612 * Note in the POD documentation that the Error base classes which are abstract
613 in C++ don't have a new method in Perl.
617 * C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
618 Xapian::BAD_VALUENO. The previous PHP wrapping as function
619 Xapian::BAD_VALUENO_get() is still supported for compatibility with existing
622 * Remove code to work around a SWIG bug which was fixed in 2006.
626 * C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
627 Xapian::BAD_VALUENO. The previous PHP wrapping as function
628 Xapian::BAD_VALUENO_get() is still supported for compatibility with existing
631 * configure: Check for php-config7.3 and php-config7.2 as well as
632 php-config7.1, php-config7.0 and php-config.
634 * Correct references to PHP5 in PHP7 script comments.
636 * Remove some C code which is no longer needed with PHP7.
640 * C++ constant Xapian::BAD_VALUENO is now wrapped as Ruby constant
641 Xapian::BAD_VALUENO. The previous Ruby wrapping as function
642 Xapian::BAD_VALUENO() is still supported for compatibility with existing
645 * We now recommend using String#encode instead of the Iconv class, since the
646 latter is no longer included with Ruby.
650 * C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
651 variable which can't be written to. This shouldn't affect existing user
654 Xapian-bindings 1.4.9 (2018-11-02):
658 * Fix to build with upcoming PHP 7.3 release, which changes array_init()
659 to not return a value instead of always returning the constant SUCCESS.
660 We were checking this return value but no longer do.
662 Xapian-bindings 1.4.8 (2018-10-25):
666 * Wrap new STEM_SOME_FULL_POS constant.
668 * Add STEM_ALL_Z to qpstem export tag and POD docs.
670 * Fix Perl bindings documentation typos.
674 * Fix RST formatting warning during build.
678 * Fix RST formatting warning during build.
680 Xapian-bindings 1.4.7 (2018-07-19):
684 * Fix -Wconversion-null warnings with newer GCC.
686 Xapian-bindings 1.4.6 (2018-07-02):
690 * Stop using "probabilistic" to mean "weighted" - we've supported other
691 families of weighting schemes since 1.3.2.
695 * Use https for tarball URLs in .spec files. This provides protection against
696 MITM attacks on people building packages using these spec files, and is also
697 slightly more efficient as the http: URLs redirect to the https: versions
702 * Use SWIG_exception() to handle exceptions. It seems this didn't used to work
703 with older SWIG, but it does with current versions, and using it means that
704 we skip any return value translation logic when an exception has been thrown.
708 * Use SWIG_exception() to handle exceptions. It seems this didn't used to work
709 with older SWIG, but it does with current versions, and using it means that
710 we skip any return value translation logic when an exception has been thrown.
712 * Fix leaks in binary std::string typemaps. These are used for document values
715 * Improve VPATH build. Previously we looked for class files and java sources
716 in srcdir first, then in builddir. That's backwards from how autotools
717 VPATH builds search for targets and prerequisites so reverse this order to
718 make handling of Java files more consistent.
722 * Invoke prove via the App::Prove module. This avoids potentially using
723 prove from a different Perl installation to perl (previously the user
724 needed to manually specify the corresponding PROVE= if they specify PERL= to
725 configure). In particular this is useful on macOS when using Perl from
728 * Improve Perl Enquire::set_docid_order documentation by syncing improvements
729 from the C++ API docs.
733 * Support sphinx >= 1.7 while still working with < 1.7. Patch from
736 * Suppress clang -Wdeprecated-register warnings about uses register in C code
737 in Python.h. We can't do anything about these other than suppress them.
741 * Support sphinx >= 1.7 while still working with < 1.7. Patch from
744 * Suppress clang -Wdeprecated-register warnings about uses register in C code
745 in Python.h. We can't do anything about these other than suppress them
746 (and they appear to have been removed in Python 3.4 and later).
748 * Remove unused MSet::__cmp__ extend method. This was used in Python 2, but
749 Python 3 does things differently. There doesn't seem a good reason to
750 provide comparison operations for MSet objects, and we don't for other
751 classes, so let's just drop this feature - it seems nobody has noticed it has
754 * Simplify generated wrapper post-processing.
756 Xapian-bindings 1.4.5 (2017-10-16):
760 * HACKING: Add details of Debian PHP7 packages to install for development.
764 * Use a pattern match to ignore methods meant for internal use only rather
765 than having to list them all - they're consistently named to end with an
768 * Stop using deprecated Xapian::percent typedef in bindings-specific code.
769 Deprecation warnings are suppressed when building the bindings (because the
770 bindings usually still need to wrap deprecated C++ features) so this probably
771 has no user-visible consequences.
775 * Fix JNI code to be compatible with Java 6 and earlier, where the final
776 parameter of SetByteArrayRegion() was not const. This also seems to affect
777 GCJ (though GCJ was removed in GCC 7). The incompatibility was introduced in
782 * Support subclassing of RangeProcessor in Lua.
786 * Add CLONE_SKIP to RangeProcessor and subclases to avoid double deletion
787 if the Perl threads module is in use.
789 * Keep references for set RangeProcessor objects, like how we do for
790 ValueRangeProcessor and various other functor objects.
792 * Use RangeProcessor instead of ValueRangeProcessor in perl examples, as
793 ValueRangeProcessor is now deprecated.
797 * Keep references for set RangeProcessor objects, like how we do for
798 ValueRangeProcessor and various other functor objects.
800 * Add type hints to QueryParser::add_rangeprocessor().
804 * Keep references for set RangeProcessor objects, like how we do for
805 ValueRangeProcessor and various other functor objects.
807 * Add type hints to QueryParser::add_rangeprocessor().
809 * Fix PHP7 "make check" to use right path separator. It was using the PHP5
810 one, which in general is going to be the same but we won't have probed for
811 that unless we're also building the PHP5 bindings, which means "make check"
812 failed for PHP7 unless you also had the PHP5 bindings enabled.
816 * Fix "make check" under Python 3.2, which was broken in 1.4.4 because Python
817 3.2 doesn't support the u'foo' syntax.
819 * Copy over Python2 check which aims to catch any internal functions, methods,
820 constants, etc which have accidentally been wrapped.
824 * Fix dependency generation for Ruby SWIG command (only relevant at all if
825 you configure with --enable-maintainer-mode).
827 Xapian-bindings 1.4.4 (2017-04-19):
831 * Update tests for xapian-core changes to avoid unnecessary "0 *" in query
832 descriptions in certain cases.
836 * Ship java.i in tarball.
840 * Handle object serialisations and document values as Java byte[]. These will
841 usually contain binary data, so Java String doesn't work well and byte[] is a
844 * Correct various errors in java examples and documentation on how to run them.
846 * Fix java examples not to abuse doc values as fields - use the document data
849 * "make clean" now removes additional class files.
853 * Update version of SWIG required to >= 3.0.12 so that the code generated
854 for PHP7 no longer results in a segmentation fault on module unload with
855 PHP 7.1. Fixes #748, reported by Victor Sakovich.
859 * Fix QueryParser methods add_boolean_prefix() and add_prefix() to accept a
860 string for the `grouping` parameter. Reported by Jameson Graef Rollins in
861 https://bugs.debian.org/849722
863 * Fix configure --with-python to fail if sphinx isn't found. Patch from
864 Patricio Paez. Fixes #749.
868 * Fix QueryParser methods add_boolean_prefix() and add_prefix() to accept a
869 string for the `grouping` parameter. Reported by Jameson Graef Rollins in
870 https://bugs.debian.org/849722
872 Xapian-bindings 1.4.3 (2017-01-25):
876 * Remove compatibility code for Python < 2.5 - 1.4.x requires Python >= 2.6.
878 * Avoid unnecessary pointer indirection in XapianSWIG_anystring() helper
879 function, which should be a little more efficient and makes the Python 2
880 code more closely match the Python 3 code.
884 * "make clean" should only remove docs/xapian.rb if configure option
885 --enable-documentation was used to enable all rules to rebuild documentation.
886 Reported by Samuel Williams on xapian-discuss.
888 * Fix make rule for running rdoc for the cases where srcdir != builddir.
890 * Use 'test a = b' rather than 'test a == b' - the former is portable, the
891 latter a bashism. In many cases the autotools will set SHELL = /bin/bash in
892 the makefiles, but if it doesn't and /bin/sh isn't bash, then this will
893 cause "make install" and "make uninstall" to fail for the Ruby bindings.
895 Xapian-bindings 1.4.2 (2016-12-26):
899 * configure: Fail with clear error with xapian-core < 1.4.0.
901 * Work around OS X "System Integrity Protection". We can't address the problem
902 of being unable to run tests against an uninstalled tree when the interpreter
903 is in a system directory (you have to "make install" in xapian-core for that
904 case), but we can at least make this work for interpreters which aren't in
909 * Disable parallel make for java subdirectory as it causes random build
910 failures. Reported by Lucas Nussbaum in https://bugs.debian.org/848733
912 * Disable automatic use of -Xcheck:jni for now as it seems to report false
913 positives with OpenJDK 8 and 9.
917 * Generates smaller PHP wrappers by only emitting each unique arginfo
918 combination once (~6% saving in stripped extension module size for
919 PHP7 on x86_64 Linux).
921 * Fix to work again with a version of PHP5 built with ZTS enabled (which is the
922 default on Microsoft Windows).
924 * Add support for PHP7.
926 * Drop workaround for PHP4 from test code.
930 * Handle sphinx-build being a shell script wrapper by invoking sphinx.main()
931 from a command line Python code snippet. Reported by Alex Dunn in
932 https://github.com/xapian/xapian/pull/126 and solved with help from James
935 * Hold python reference to set RangeProcessor objects - until #714 is fixed we
936 need to keep such a reference (as we already do for ValueRangeProcessor and
937 several other classes).
941 * Handle sphinx-build being a shell script wrapper by invoking sphinx.main()
942 from a command line Python code snippet. Reported by Alex Dunn in
943 https://github.com/xapian/xapian/pull/126 and solved with help from James
946 * Hold python reference to set RangeProcessor objects - until #714 is fixed we
947 need to keep such a reference (as we already do for ValueRangeProcessor and
948 several other classes).
952 * Use more conventional Ruby variable names in the examples (Ruby convention
953 uses underscores not camelcase) and fix comma/space transposition in a couple
956 Xapian-bindings 1.4.1 (2016-10-21):
960 * Fix --disable-documentation - in maintainer-mode, we still tried to make
961 docs/index.html for most of the bindings, which failed because the rule to do
966 * Update for additions to C++ API.
968 * When a backend is disabled in the xapian-core we're building against, we
969 have a stub version of any factory functions so the bindings still have
970 something to wrap. Update these for 1.4:
971 + Disable stub for InMemory::open() when
972 XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES is defined (Perl, Python3).
973 + Add new optional flags parameter to both overloaded forms of
974 Remote::open_writable().
978 * Drop compiler options that are no longer useful:
979 + -fshow-column is the default in all GCC versions we now support
980 (checked as GCC 4.6).
981 + -Wno-long-long is no longer necessary now that we require C++11 where
982 "long long" is a standard type.
986 * Use a cleaner technique to insert the Java code to load JNI library into the
987 generated wrapper - we now use "%pragma(java) jniclasscode" instead of using
988 Perl to post-process the generated wrapper. Suggested by James Aylett.
990 * Run Java tests with -Xcheck:jni if supported, which should help catch any
991 any bugs in the JNI code.
993 * Fix configure to find jni_md.h under Cygwin. There doesn't seem to be an way
994 to automatically determine the machine-dependent JNI include path, so add
995 another case to use "win32" on Cygwin. Reported by John Bankert on
998 * Add more special cases to find jni_md.h on Cygwin, OS X, *BSD, AIX.
999 There doesn't seem to be an explicit list of these directories anywhere, but
1000 grepping the OpenJDK 8 source code finds additional values "darwin" and
1001 "aix", *BSD seems to use "bsd", and Cygwin uses "win32" (reported by John
1002 Bankert on xapian-discuss).
1004 * Generate xapian.jar rather than xapian_jni.jar - the fact that JNI is
1005 involved is really just an implementation detail.
1007 * SmokeTest.java: Add simple test of subclassing FieldProcessor.
1011 * Merge Perl POD doc improvements from Search::Xapian. The most notable
1012 improvement is a number of methods previously lacking docs now have them.
1014 * Fix typo in POD docs for Perl bindings ("outputing" -> "outputting").
1015 Reported by knowledgejunkie in #730.
1019 * Fix repr() to not return None. Reported by Stuart Prescott on IRC.
1021 * Fix Python2 bindings to work out of the box. SWIG changed the code it
1022 generates for importing the compiled module in a recent version, and
1023 the newer code no longer works with the wrapper renamed to
1024 xapian/__init__.py. There's currently no way to configure SWIG to produce
1025 what we need so for now we run a "fixup" script over the generated wrapper
1026 which replaces the complex import code with a single statement which does
1027 what we want. It also strips out various unneeded code, mostly to do with
1028 handling Python 3.x (which we don't need since we have an entirely
1029 separate set of bindings for that). Reported by James Aylett in #731.
1030 The way we were importing the bindings to generate the .pyc and .pyo
1031 files was masking this problem, so rework that as suggested by James.
1033 * Make sphinx docs dependent on SWIG wrapper. Without this dependency,
1034 parallel builds (make -j) may attempt to schedule the sphinx doc build before
1035 the relevant wrapper has been compiled and moved into position. This won't
1036 result in a build failure, but will silently omit API docs that sphinx
1037 would otherwise include. Patch from James Aylett.
1039 * doxy2swig: Specify encoding when reading doxygen's XML output so UTF-8 in
1040 doxygen comments is handled. Patch from Vivek Pal.
1042 * Specify Python2 wrapper encoding is UTF-8. This is needed when we pick up
1043 doxygen comments from the C++ API which contain UTF-8. For Python3, the
1044 default source encoding is UTF-8, so we don't need the equivalent change
1049 * Fix repr() to not return None. Reported by Stuart Prescott on IRC.
1051 * Fix Python3 bindings to work out of the box. SWIG changed the code it
1052 generates for importing the compiled module in a recent version, and
1053 the newer code no longer works with the wrapper renamed to
1054 xapian/__init__.py. There's currently no way to configure SWIG to produce
1055 what we need so for now we run a "fixup" script over the generated wrapper
1056 which replaces the complex import code with a single statement which does
1057 what we want. It also strips out various unneeded code, mostly to do with
1058 handling Python 2.x (which we don't need since we have an entirely
1059 separate set of bindings for that). Reported by James Aylett in #731.
1060 The way we were importing the bindings to generate the .pyc and .pyo
1061 files was masking this problem, so rework that as suggested by James.
1063 * Make sphinx docs dependent on SWIG wrapper. Without this dependency,
1064 parallel builds (make -j) may attempt to schedule the sphinx doc build before
1065 the relevant wrapper has been compiled and moved into position. This won't
1066 result in a build failure, but will silently omit API docs that sphinx
1067 would otherwise include. Patch from James Aylett.
1069 * Fix memory leak converting string from Python to C++.
1070 XapianSWIG_anystring_as_ptr() was failing to flag the returned value as
1071 allocated, so it wasn't being deleted. Reported by Sean Robinson in #729.
1073 Xapian-bindings 1.4.0 (2016-06-24):
1077 * Mark SWIG-generated Java and Perl bindings as "experimental" until we've
1078 had a chance to sort out any remaining changes we want to make.
1080 Xapian-bindings 1.3.7 (2016-06-01):
1084 * Remove long out-dated reference to tinderbox.
1088 * Use SWIG 3.0.9 to generate the bindings. There's nothing very important to
1089 us in the changes since the git snapshot we were using - mostly this means
1090 we're using a released version, which seems preferable.
1094 * Fix segfault in tcl bindings "make check". The location of tclConfig.sh
1095 wasn't being found, so libtclstub wasn't being linked to, which is required
1098 Xapian-bindings 1.3.6 (2016-05-09):
1102 * Update for changes to the C++ API.
1104 * Use WritableDatabase::commit() instead of flush() in testcases, as the
1105 latter is now formally deprecated.
1109 * Fix syntax error in SmokeTest.java, introduced by the DB_BACKEND_INMEMORY
1110 change. Noted on #xapian-discuss by Aakash Muttineni.
1112 * Update Java TODO list.
1114 * SmokeTest.java: Port over version checks from SmokeTest.cs.
1116 * Update list of recently tested JDK versions.
1120 * Note Lua bindings work with Lua 5.3.
1124 * Explicitly specify POD docs encoding as utf8. Fixes warning in generated
1127 * Convert POD to HTML when building from a source tarball - the conversion
1128 code comes as standard with Perl. In 1.3.5 we were failing to ship the HTML
1129 output, as reported by Anthony Basile.
1131 * For extra robustness, convert POD to HTML using the bundled Pod::Html module
1132 from the Perl interpreter found by configure, rather than assuming pod2html
1133 is on PATH, and the right one (this matters more now that it's not just
1134 people building from git who build these docs).
1136 * Improve Perl bindings POD documentation.
1138 * Remove workaround for Perl macro vs C++11 header. SWIG 3.0.6 and later adds
1139 a different workaround to the generated C++ wrapper file, and we require SWIG
1140 3.0.8 for a Python fix, so we no longer need our workaround.
1144 * Fix "make check" in VPATH build. Nothing seems to have changed in our build
1145 system, so I'm guessing this is now required due to a change in the code SWIG
1150 * Fix "make check" in VPATH build. Nothing seems to have changed in our build
1151 system, so I'm guessing this is now required due to a change in the code SWIG
1154 * Fix install location for python3 docs. They were being install to the same
1155 path as the python docs - now the path includes "python3" instead of
1160 * Increase minimum Ruby version to 2.1, as older versions are no longer
1161 supported by the Ruby developers.
1163 Xapian-bindings 1.3.5 (2016-04-01):
1165 This release includes all changes from 1.2.23 which are relevant.
1169 * Fix to install docs when not in maintainer-mode.
1171 * Note open_stub() is deprecated (most of the bindings already noted this, but
1172 now ruby and tcl do too).
1176 * Update for changes to the C++ API.
1178 * PostingSource is now fully wrapped for the bindings. Fixes #499, reported by
1181 * Ship swig-depcomp and doxy2swig scripts in the source tarball.
1183 * Add installcheck-local make targets for most languages - these run the
1184 testsuites using the installed bindings.
1188 * configure: Stop checking for obsolete mono compiler names - gmcs, smcs and
1189 dmcs were all deprecated in Mono 2.11.
1191 * configure: Strip out handling of DotGNU - it's been inactive for years, and
1192 was officially "decommissioned" in December 2012.
1194 * README: Update list of mono versions recently tested with.
1198 * smoketest.lua: Fix to work with newer lua - coercing a number to a string
1199 now appends ".0" for whole numbers.
1203 * Run pod2html with explicit --podpath=. - recent versions of pod2html seem to
1204 need this to correctly handle references to other Xapian classes. Reported
1205 on #xapian-discuss by HowManny and abhishek_rand0wn.
1209 * Run sphinx at build time. It's an extra tool for people building from source
1210 to have to install, but its output is rather large (this change reduces our
1211 tar.xz size by ~20%), and its output includes a source-less minified copy of
1216 * Run sphinx at build time. It's an extra tool for people building from source
1217 to have to install, but its output is rather large (this change reduces our
1218 tar.xz size by ~20%), and its output includes a source-less minified copy of
1221 * Fix handling of integer values larger than a C int by bootstraping with a
1222 newer version of SWIG. Fixes #703, reported by Barry Warsaw.
1224 * Remove xapian.inmemory_open() - we've deprecated the corresponding C++
1225 function, and the Python3 bindings haven't yet had a stable release.
1229 * Run rdoc at build time - it is included as part of the Ruby core
1230 distribution, so we can assume it is available if ruby is, and avoid shipping
1231 its rather large generated output in our source tarball.
1233 Xapian-bindings 1.3.4 (2016-01-01):
1235 This release includes all changes from 1.2.22 which are relevant.
1239 * Wrap new and changed features in C++ API.
1241 * PostingSource set_maxweight() is now accessible to the bindings. Fixes #498,
1242 reported by Richard Boulton.
1244 * configure script now defaults to looking for xapian-config-1.3. This is now
1245 automatically done for development series (odd middle component of the
1246 version number), but not for stable series (even middle component). Fixes
1247 #695, reported by Jorge C. Leitão
1251 * Make PHP 5.5 the minimum officially supported version, as 5.4 has now reached
1254 * In the examples, when iterating an MSet with foreach, don't throw the docid
1255 away as $dummy, put it in $docid and use it - the code looks cleaner, and
1256 this avoids an extra call to C++ to get the docid on each iteration.
1260 * Drop support for Python 2.5.
1264 * Document installation of Python 3 bindings. Fixes #694, reported by Jorge C.
1267 * Fix testsuite for changes in Python 3.5. Fixes #690, patch from UsusDei.
1269 * Handle renaming of .pyo to .opt-1.pyc files due to PEP-0488. Fixes #689,
1272 * Fix Python 3 version check to accept 3.10.
1274 Xapian-bindings 1.3.3 (2015-06-01):
1276 This release includes all changes from 1.2.20-1.2.21 which are relevant.
1280 * INSTALL: IRIX is past EOL so drop information about IRIX make.
1284 * Add DB_RETRY_LOCK as a constant to wrap.
1286 * Don't wrap Query::LEAF_* - they're for internal use in xapian-core.
1288 * Fix "make install" from a git tree configured with --disable-documentation.
1289 (Fixes #658, reported by Germán M. Bravo)
1291 * Fix "make install" when building from git with --disable-documentation.
1293 * Fix to handle a VPATH build from a tarball when the generated docs will be in
1296 * Update testcases for lazy wildcard expansion change in xapian-core.
1298 * Update for addition of XAPIAN_NOEXCEPT.
1300 * Don't wrap internal methods of Xapian::Weight.
1304 * Require a compiler with good C++11 support, like xapian-core now does.
1306 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags from newer
1309 * configure: Update check for -fvisibility to match xapian-core's.
1313 * Fix configure test for whether $CLI can run CSharp programs - previously it
1314 would always fail, which would mean that the CSharp tests wouldn't be run on
1315 platforms where CSharp programs can't be run directly.
1319 * java/docs/examples/SimpleSearch.java: Update to actually build and work.
1323 * The Lua bindings are no longer considered to be "experimental" (in reality
1324 they haven't been for some time).
1328 * Add a "LICENSE" section to the main POD.
1330 * Add 'use strict' to all testcases, and add missing instances of 'my' that
1331 this change uncovered.
1333 * Wrap new WILDCARD_LIMIT_* constants as constants.
1337 * Don't release the GIL when constructing a Query object from a sequence of
1338 Query objects and/or strings.
1340 * python/smoketest.py: Add new testcase to catch any internal functions,
1341 methods, constants, etc which have accidentally been wrapped.
1345 * The Python3 bindings are no longer considered to be "experimental".
1347 * Don't release the GIL when constructing a Query object from a sequence of
1348 Query objects and/or strings. (fixes #346)
1350 * python3/pythontest.py: Expand comment about disabling test_import_star under
1355 * Require Tcl 8.5 as older versions are no longer supported upstream, and this
1356 version added ::tcl::pkgconfig, which makes the configure tests simpler and
1359 * Adjust precedence of the typecheck typemap for wrapping constructing a query
1360 from a Tcl list so that we disambiguate this from the new OP_WILDCARD
1361 constructor correctly.
1363 Xapian-bindings 1.3.2 (2014-11-24):
1365 This release includes all changes from 1.2.16-1.2.19 which are relevant.
1369 * Convert HTML docs to reStructured text. (Patch from Mayank Chaudhary)
1371 * Update for deprecation of Xapian::Chert::open().
1373 * Update for renaming of "brass" backend to "glass".
1375 * Remove SVN "$Date" placeholders as they aren't expanded by git, and the "last
1376 updated" information isn't all that informative anyway - there can still be
1377 stale information even if the file was updated very recently.
1381 * Releases and snapshots are now bootstrapped using a more recent version of
1382 SWIG (a git snapshot from after the 3.0.3 release).
1384 * configure: Fix SWIG version check to accept 3.x, and update the minimum
1385 accepted version to be what we actually currently want.
1387 * Wrap new C++ API features, and in particular all the new weighting schemes,
1388 the changes to opening databases, and Xapian::Snipper.
1390 * Wrap Xapian::Database::check() for the bindings ignoring the std::ostream*
1391 argument which the C++ API takes. If opts != 0, then output is sent to
1392 stdout, otherwise no output is produced.
1394 * Object descriptions are now always valid UTF-8. (see #620)
1396 * Provide a SimpleStopper constructor which provides the ability to initialise
1397 from a stopword list in a file. Based on patch from Assem Chelli.
1401 * README: Note that C# bindings now need .NET 2 or later (because that's what
1402 SWIG-generated code now requires).
1406 * Add testcase that FLAG_SPELLING is now wrapped in a usable way. Patch from
1407 Anish Kanchan. (see #616, reported by "Naveen")
1411 * Document that constants can now be accessed using CLASS.CONSTANT as well as
1416 * Move the new SWIG-based Perl bindings into a 'Xapian' module, to smooth the
1417 overlap with the hand-coded XS 'Search::Xapian' module.
1419 * Perl tests are ordering-dependent, so use .NOTPARALLEL to avoid problems
1420 during parallel builds.
1422 * Use croak_sv() or ERRSV if defined.
1426 * Make PHP 5.4 the minimum version we officially support, as 5.3 has now
1429 * Wrap Xapian iterator classes as PHP iterators - requires PHP 5.5 for full
1430 support, under PHP 5.4 you can't use `foreach ($it as $k => $c)`, but
1431 `foreach ($it as $c)` works and allows iterating through the equivalent of
1432 C++ operator* on the iterator. (fixes#652)
1434 * Fix handling of an exception thrown from a PHP implementation of
1435 FieldProcessor::apply().
1437 * smoketest.php: Add tests of get_eset() with an ExpandDecider and with a min
1440 * In current PHP releases, dl() is disabled in most SAPIs, and even where
1441 available it will now only look in the configured extension directory. The
1442 upshot is that there no longer seems to be a sane way to install the PHP
1443 bindings without being root. Fixes #661, reported by Felix Ostmann.
1447 * The python testsuite already tested if any constants weren't marked with
1448 the CONSTANT macro in xapian-headers.i, but the resulting error didn't
1449 clearly point to the actual problem. Now we report the names of any
1452 * In the testsuite, use the xapian.WritableDatabase constructor rather than
1453 chert_open() - that code dates back to when chert was the only disk-based
1454 backend to support valuestreams, but flint was the default backend.
1456 * Fix typo in code to keep a reference to a FieldProcessor object, reported by
1457 Germán M. Bravo in github PR59.
1459 * Generate Python API docs with Sphinx. (Fixes #138, patch from Assem Chelli)
1463 * Python 3 support has been split off into its own subdirectory, and should now
1464 be usable. 3.2 is the minimum supported version currently. Existing code
1465 will need updating for Python 3, and the wrapped API is necessarily different
1466 in how Unicode is handled, so we've dropped deprecated features (such as
1467 'MSet.items' and 'ESet.items') from the Python 3 bindings. (see #346)
1469 * Fix typo in code to keep a reference to a FieldProcessor object, reported by
1470 Germán M. Bravo in github PR59.
1472 * Generate Python API docs with Sphinx. (Fixes #138, patch from Assem Chelli)
1476 * configure: Don't prefer ruby1.8 to ruby when looking for a ruby interpreter -
1477 these days it's more likely to ignore ruby 1.9 or 2.0 rather than avoid
1480 Xapian-bindings 1.3.1 (2013-05-03):
1482 This release includes all changes from 1.2.10-1.2.15 which are relevant.
1486 * HACKING: Document Debian packages needed for each language.
1490 * Wrap new C++ API features.
1492 * Use new XAPIAN_NOTHROW markers in C++ API headers to avoid generating
1493 unnecessary exception handling code where we call such functions and
1496 * Tweak wrapping of Query from list constructor so the needed number of
1497 elements get preallocated.
1499 * Ignore Query(Query::Internal&) constructor, which is for internal use
1502 * For all languages except C# and Java, wrap the functions declared in
1503 xapian/dbfactory.h by getting SWIG to parse the header. This means we now
1504 wrap the WritableDatabase form of Xapian::Auto::open_stub() for these
1507 * swig-depcomp: Script which wraps invoking SWIG, tells it to generate
1508 dependencies, and adjusts the generated dependencies to work in our build
1511 * Remove support for 'configure --enable-quiet', 'make QUIET=' and 'make
1512 QUIET=y' - automake now supports 'configure --enable-silent-rules', 'make
1513 V=1' and 'make V=0' which are broadly equivalent and more standard.
1515 * Fix the tests to work with the new automake parallel test driver.
1519 * Improve workaround which allows building against an uninstalled xapian-core
1520 on OS X - this should now work with any uninstalled xapian-core (not only in
1521 a tree with the same layout as an SVN or git checkout) and it also won't try
1522 to build against "../xapian-core/.libs" just because it happens to exist.
1527 * configure: The variable to specify the interpreter is now CLI (was MONO, but
1528 didn't actually work properly).
1532 * Document that we aim to support JDK 1.6 (Java 6) and later.
1534 * Avoid generating a temporary C++ vector of Query objects when constructing
1535 a Query from a Java array of Query objects or a Java array of strings.
1537 * Implement and test MSetIterator, ESetIterator. Fix PostingIterator,
1538 ValueIterator, and TermIterator.
1540 * Add Enquire.getMatchingTerms().
1542 * Use JAVACFLAGS when running JAVAC to allow extra flags to be specified when
1543 building, e.g. "make JAVACFLAGS=-g".
1545 * java/SmokeTest.java: Avoid using System.err.printf() which fails to compile
1546 with (the rather elderly) ECJ 3.3.1.
1550 * Fix PostingIterator wrapper to work.
1552 * Update list of unwrapped things in POD documentation.
1554 * Improve test coverage.
1556 * perl/t/10query.t: Adjust regexp which checks expected error message to work
1557 with Perl 5.16, which adds a '.' after "at foo line 123". (ticket#610)
1559 * Probe for the test running tool 'prove' in configure.
1563 * Avoid using zend_error_noreturn() as it doesn't work with all builds of PHP.
1564 Instead we now wrap it in a SWIG_FAIL() function which we annotate as
1565 "noreturn" for GCC to avoids warnings. This also reduces the size of the
1566 compiled PHP module by 6%.
1568 * php/smoketest.php: Add more tests of geospatial API.
1572 * Drop support for Python 2.4.
1574 * python/smoketest2.py: Add more testcases.
1576 * python/smoketest2.py: Improve reporting of test failures for certain
1579 * Update Python 3 tests from Python 2 versions using 2to3.
1581 Xapian-bindings 1.3.0 (2012-03-14):
1585 * In maintainer builds, run doxygen to generate XML for the bindings in the
1586 bindings build system, not as a side-effect in xapian-core's. (ticket#262)
1590 * Wrap new geospatial API.
1592 * Wrap new database checking API.
1594 * Deprecated features scheduled for removal in 1.3.0 have been removed.
1596 * Wrap ExpandDecider even if we don't have director support - there's a
1597 ExpandDeciderFilterTerms subclass which is useful in itself, though it still
1598 needs some typemap work to actually get it usefully wrapped.
1602 + Add --disable-visibility option to match xapian-core.
1604 + Add -fshow-column for GCC.
1606 + Don't put -Werror in SWIG_FLAGS - instead put it in a new SWIG_WERROR
1607 variable, so that it's easy to override it if you're getting a new warning
1608 from SWIG but want to just ignore it for the time being.
1610 * Exception handling now uses Error::get_description() rather than get_type +
1611 ": " + get_msg(). In many cases this is the same, but if context or errno
1612 are available, get_description() includes them. Catch and report
1613 std::exception rather than handling it as an unknown error (so in particular
1614 std::bad_alloc will now be reported more helpfully).
1618 * Avoid generating unwanted wrapper sources
1619 SWIGTYPE_p_std__vectorT_std__string_t.cs and
1620 SWIGTYPE_p_std__vectorT_Xapian__Query_t.cs.
1624 * The hand-coded JNI Java bindings have been removed and the SWIG-based Java
1625 bindings promoted in their place. This means almost the entire C++ API is
1626 now wrapped for Java, but the downside is there are some changes required
1627 to existing code. Overall we feel the short-term pain is worth the long
1628 term benefits of having Java bindings which stay up to date.
1630 * java/SmokeTest.java: Add test that string passing is zero byte safe.
1634 * Improve error messages.
1638 * Fix "Use of qw(...) as parentheses is deprecated" warnings in test cases with
1641 * Fix Search::Xapian::Query->new() to work.
1643 * Enable warnings for all test cases and make them fatal.
1645 * Add "use Carp;" where we use functions from that module.
1647 * Improve POD docs for Document and TermGenerator methods - "weight" is
1648 misleading, so use "wdfinc" and "wdfdec" like the C++ API docs do.
1650 * The Query constructor which takes an array of subqueries is now wrapped more
1651 efficiently - previous a temporary C++ std::vector was built but now we avoid
1656 * PHP >= 5.3 is now required.
1658 * Add PHP type hints to the class wrappers. Fixes ticket#577.
1660 * The XapianQuery constructor which takes an array of subqueries is now
1661 wrapped more efficiently - previous a temporary C++ std::vector was built
1662 but now we avoid doing this.
1666 * Python >= 2.4 is now required.
1668 * Remove deprecated Stem_get_available_languages().
1670 * Hide away the deprecated non-pythonic iterators - we still need them to
1671 implement the pythonic iterators, so we can't entirely remove them.
1673 * Replace SWIG's thread locking with code which does nothing unless threads
1674 are already initialised, to avoid the overhead of thread locking in the
1675 common case of single-threaded Python code. This seems to be about 5-10%
1676 faster for pythontest2.py modified to repeat the tests 100 times.
1678 * Handle the GIL in a way which also works in sub-interpreters. Fixes ticket
1681 * The Query constructor which takes an array of subqueries is now wrapped more
1682 efficiently - previous a temporary C++ std::vector was built but now we avoid
1687 * The XapianQuery constructor which takes an array of subqueries is now
1688 wrapped more efficiently - previous a temporary C++ std::vector was built
1689 but now we avoid doing this.
1693 * The XapianQuery constructor which takes an array of subqueries is now
1694 wrapped more efficiently - previous a temporary C++ std::vector was built
1695 but now we avoid doing this.
1697 Xapian-bindings 1.2.23 (2016-03-28):
1701 * Update links to Xapian website and trac to use https, which is now supported,
1702 thanks to James Aylett.
1706 * Check that the PHP interpreter we find is actually PHP5, and if not look
1707 harder. On current Debian unstable, php-config5 --php-binary reports
1708 /usr/bin/php which can be PHP7.
1710 * Document that PHP7 isn't currently supported, and explicitly check for and
1711 reject it in configure.
1715 * configure: Stop preferring rdoc-1.8 to rdoc (this only happened in a
1716 fall-back case when rdoc wasn't found in the same directory as the ruby
1719 Xapian-bindings 1.2.22 (2015-12-29):
1723 * Stop maintaining ChangeLog files. They make merging patches harder, and stop
1724 'git cherry-pick' from working as it should. The git repo history should be
1725 sufficient for complying with GPLv2 2(a).
1729 * Stop wrapping internal methods of Xapian::Weight.
1731 * Return Error::get_description() rather than get_type + ": " + get_msg(). In
1732 many cases this is the same, but if context or errno are available,
1733 get_description() includes them.
1735 * Catch and report std::exception rather than handling it as an unknown error
1736 (so in particular std::bad_alloc will now be reported more helpfully).
1740 * Fix configure test for whether $MONO can run CSharp programs - previously it
1741 would always fail, which would mean that the CSharp tests would only be run
1742 on systems where CSharp programs can be run directly.
1746 * Send stderr from lua version check to config.log instead of letting it appear
1751 * Fix memory leak and crash when using PHP subclasses of Xapian functors.
1753 * Subclasses of XapianMatchSpy and XapianPostingSource with implicit
1754 constructors now work.
1758 * Add new testcase to catch any internal functions, methods, constants, etc
1759 which have accidentally been wrapped.
1761 Xapian-bindings 1.2.21 (2015-05-20):
1765 * README: Remove note about the Lua bindings being experimental - it's not
1766 really been true for some time now.
1770 * Wrap missing constants OP_SYNONYM and STEM_ALL_Z.
1772 * Add workaround for Perl defining a seed() macro which breaks compilation with
1773 GCC in C++11 mode (due to <algorithm> now pulling in random number generation
1774 classes with a method called seed).
1776 * Update list of unwrapped things in POD documentation.
1778 * Perl tests are ordering-dependent, so use .NOTPARALLEL to avoid problems
1779 during parallel builds.
1781 * Add test coverage for Enquire::set_collapse_key() with 1 and 2 parameters.
1783 * Add test that we can create all the stemmers returned by
1784 Stem::get_available_languages().
1786 * t/symbol-test.t: If the symboltest module build fails, skip the test - it's
1787 likely due to external reasons, like incompatible compiler flags being taken
1788 from Perl's Config module, due to Perl having been built with a different
1791 * Use croak_sv() or ERRSV if defined.
1795 * README: Remove note about the subclassing bug with PHP 5.4 and later - that
1796 was fixed in 1.2.19.
1800 * README: Add note that 1.3.2 has Python 3 support, and that this will be in
1801 stable release 1.4.0.
1805 * smoketest.rb: Fix "warning: assigned but unused variable - mset".
1807 * Ship generate-rdoc-stubs in the tarball. Reported by Matthias Klose in
1808 https://bugs.debian.org/782270
1810 Xapian-bindings 1.2.20 (2015-03-04):
1814 * configure: Avoid using \? in sed command in Lua detection - it isn't
1815 supported by all sed implementations.
1819 * configure: Rework LUA_SO checks to be clearer and to properly handle LUA_SO
1820 being specified without a leading '.'.
1822 * configure: Add an example of specifying LUA_SO to --help output.
1826 * Remove text about subclassing bug with PHP 5.4 and later - that was fixed in
1829 * In current PHP releases, dl() is disabled in most SAPIs, and even where
1830 available it will now only look in the configured extension directory. The
1831 upshot is that there no longer seems to be a sane way to install the PHP
1832 bindings without being root, so update the documentation to reflect this.
1833 Fixes #661, reported by Felix Ostmann.
1835 Xapian-bindings 1.2.19 (2014-10-21):
1839 * Fix up SWIG generated C++ wrapper code so that subclassing of wrapped classes
1840 in PHP works with PHP 5.4 and later. (Fixes #652, reported by Sebastian
1843 * Fix XapianQueryParser::set_stopper() and XapianTermGenerator::set_stopper()
1844 which were getting incorrectly wrapped such that they didn't actually do
1845 anything. Fixes #659, reported by jmienert. This bug was introduced by the
1846 reference tracking fix in 1.2.14.
1850 * README: Note that Ruby 2.1 works too.
1852 Xapian-bindings 1.2.18 (2014-06-22):
1856 * README: Add links to Erlang and Node.js bindings.
1860 * lua/smoketest.lua: Change expect() parameter order to the more natural (got,
1861 expected), which most of the calls already used, and fix up the few calls
1862 which passed (expected, got).
1866 * php/smoketest.php: Add missing "exit(1);" after reporting failure of check
1867 that MatchDecider returns an MSet with the expected docid in. Luckily this
1868 wasn't masking a test failure.
1872 * python/pythontest.py: There's no longer a need to use chert_open() explicitly
1873 - chert is the default backend now, and both chert and brass support the
1874 required functionality for the tests which do this, so this just needlessly
1875 causes the tests to fail if chert is disabled in xapian-core.
1877 * configure: If the Python version is too new or too old, only report it once
1882 * configure: Fix Ruby bindings to build on Windows (and other platforms where
1883 allow_undefined_flag=unsupported. (fixes#634, reported by Alexis Denis)
1885 Xapian-bindings 1.2.17 (2014-01-29):
1889 * Improve workaround which allows building against an uninstalled xapian-core
1890 on OS X - this should now work with any uninstalled xapian-core (not only in
1891 a tree with the same layout as an SVN or git checkout) and it also won't try
1892 to build against "../xapian-core/.libs" just because it happens to exist.
1893 (Backported from 1.3.1; fixes #322)
1897 * configure: Some distros now point /usr/bin/python at Python 3, so the check
1898 for a Python 2 interpreter now checks for 'python2' first, and checks that
1899 the version of found interpreter is 2.x.
1903 * Tweak configure to work with Ruby 2.0.
1907 * Link against -ltclstubX.Y for Tcl 8.5 and later (reported by Sergei Golovan
1908 in https://bugs.debian.org/724830).
1910 * Use a better check for TCL_INC for Tcl 8.5 and later.
1912 Xapian-bindings 1.2.16 (2013-12-04):
1916 * README: Note that the SWIG Perl bindings should replace the XS ones in 1.4.x.
1920 * Compress source tarballs with xz instead of gzip.
1922 * configure: Handle git snapshot naming.
1926 * configure: Update list of platforms where we tell libtool not to link in
1927 deplibs to match the list used for xapian-core.
1931 * Pass 0 instead of NULL for non-pointer parameter to av_fetch (spotted due to
1934 * symboltest.t: Pass $CPPFLAGS and $CXXFLAGS from the environment through to
1935 the sub-build, fixing failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
1939 * smoketest.php: If running under PHP >= 5.4, skip the tests we know will fail
1940 with a message explaining this.
1944 * Provide bindings version in xapian.__version__ as per PEP 396. (see #346)
1946 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over the ESet.
1948 * pythontest.py: Fix testcase checking we get an exception from using
1949 non-random-access iterators after then have advanced - previously these
1950 didn't actually test as fully as intended.
1954 * Omit internal classes and methods from the rdocs.
1956 Xapian-bindings 1.2.15 (2013-04-16):
1960 * Fix configure --enable-quiet option to actually work for the bindings.
1964 * Fix doc typo: "as as" -> "as a"
1968 * Fix deprecation warning in configure from Ruby 1.9.3.
1970 Xapian-bindings 1.2.14 (2013-03-14):
1974 * Fix typo in doccomment.
1978 * Keep references to the PHP wrapper object when an object is set on another
1979 object. (fixes #614)
1983 * Allow TCL_INC to be passed to configure. (fixes #612)
1985 Xapian-bindings 1.2.13 (2012-11-09):
1989 * configure: Overhaul checks for C# tools to use modern names in preference.
1993 * Fix examples to use str(query) to get the query description. (Fixes #600)
1995 * Document that get_description() is mapped to str(), and end() to _end().
1997 * Fix functor wrappers which return strings to be zero-byte clean.
2001 * Forward port tests of StringValueRangeProcessor with a prefix or suffix from
2002 1.2's XS Search::Xapian. (ticket#607)
2004 * Update testsuite not to use UNIVERSAL::isa() as a function, since doing so
2009 * Document that subclassing Xapian classes in PHP currently doesn't work with
2012 Xapian-bindings 1.2.12 (2012-06-27):
2014 No changes since 1.2.11 except to bump the version - this release was made to
2015 fix an incorrect library version information update in xapian-core 1.2.11.
2017 Xapian-bindings 1.2.11 (2012-06-26):
2021 * Ship the scripts which generate the except.i files for Lua, Perl and Python.
2025 * In generated C++ code, pass 0 instead of NULL for non-pointer parameter to
2026 av_fetch() (spotted due to GCC 4.7 warning).
2030 * Fix "make check" to work for PHP when building from a release tarball with
2033 * Work around "undefined symbol: zend_error_noreturn" error.
2035 Xapian-bindings 1.2.10 (2012-05-09):
2039 * Use -keyfile and -keycontainer options to the C# compiler, because it warns
2040 us to do this instead of setting them in AssemblyInfo.cs.
2042 * Use diff's -c option when comparing the files SWIG generated against those we
2043 were expecting to get as the output should be easier to understand.
2045 * Sort both the lists of expected and of found SWIG-generated sources with
2046 Perl, to avoid problems with locale-specific sort orders.
2050 * Remove now superfluous old check that SWIG generated at least the sources we
2051 want - we now check it generated *exactly* the sources we want.
2053 * Use diff's -c option when comparing the files SWIG generated against those we
2054 were expecting to get as the output should be easier to understand.
2056 * Sort both the lists of expected and of found SWIG-generated sources with
2057 Perl, to avoid problems with locale-specific sort orders.
2061 * Now works with Lua 5.2.
2063 * "require 'xapian'" now returns the module table. (ticket #593)
2065 * lua/smoketest.lua: Improve reporting of test failures.
2069 * Avoid importing isa from UNIVERSAL to fix Perl 5.12 deprecation warning.
2071 * Remove #! lines with -W to fix "Name "Test::More::TODO" used only once:
2072 possible typo at /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
2076 * python/docs/examples/simpleexpand.py: Update to not use deprecated MSet
2077 iteration features which have been removed on trunk. This also fixes a
2078 segfault if there are no matches and no documents are explicitly marked as
2081 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a simple
2082 way to rerun tests with verbose output.
2086 * configure: Make sure the ruby subdirectory exists before trying to create
2087 ruby/rubyio.h, so this works in a VPATH build from a clean tree.
2089 Xapian-bindings 1.2.9 (2012-03-08):
2093 * configure: Fix test for jni.h to try looking for jni.h relative to the real
2094 location of javac, which should work for more JDKs.
2098 * Handle an exception from C++ by raising a xapian.Error object as an error in
2101 * Rename get_description() methods to __tostring(), so that you can use write
2102 tostring(obj) in Lua.
2104 * configure: Honour LUA_LIB if already set. Fixes #581.
2106 * configure: Improve probing for LUA_LIB, and also probe for LUA_SO so we
2107 support platforms where the compiled Lua module isn't called .so.
2111 * Add tests of Document::get_docid().
2115 * Add a test that Query constructor taking OP_NEAR with a window size works.
2119 * python/testsuite2.py: Don't run off the traceback looking for a test function
2120 if the exception wasn't from a test function.
2122 Xapian-bindings 1.2.8 (2011-12-13):
2126 * Wrap user-subclassable functor objects by allowing the user to pass a
2127 Lua function where the functor object would be passed in the C++ API.
2131 * Fix "PHP Notice: Undefined variable: r in xapian.php". (Fixes bug#576)
2133 * The PHP bindings will now work again with a version of PHP built with ZTS
2134 enabled (which is the default on Microsoft Windows). This was broken by
2135 the changes to support subclassing in PHP in the version of SWIG used since
2140 * Add a module docstring. (Fixes bug #573)
2142 * The python testsuite now checks for object leaks during each testcase.
2144 * In test_matchingterms_iter, run the code we're testing for leaks twice, and
2145 only check for leaks the second time to avoid falsely reporting a leak when
2146 some cached value gets initialised under Python 2.5.
2150 * Wrap optional prefix parameter to Database::allterms.
2152 Xapian-bindings 1.2.7 (2011-08-10):
2156 * INSTALL: Pull in a few updates from the latest version of the automake
2157 document which this file was originally based on. Add in the missing
2158 copyright and licensing information.
2160 * INSTALL: Add --with-lua to list of options.
2162 * INSTALL,README: It's no longer noteworthy that Mac OS X 10.1 and 10.2 aren't
2163 supported as Apple ditched them long ago, so drop this as a "Known Issue" in
2164 INSTALL and instead just say "Mac OS X >= 10.3" in the discussion of
2165 supported platforms in the README.
2167 * HACKING: Update and start section on deprecation warnings for the bindings.
2171 * Add missing wrappers for Database::has_positions() and
2172 TermIterator::positionlist_count(), and correct the return type of
2173 Database::get_doclength() from double to Xapian::termcount.
2177 * README: Note a recent version of Mono which we've tested the C# bindings
2180 * Check that exactly the sources we expect are generated, and add some sources
2181 which were missing from the list.
2183 * Fix "make uninstall" so the compiled C++ module (typically _XapianSharp.so)
2186 * Fix iterator ++ and -- so that the reference to the object isn't released
2187 prematurely, which was causing an occasional crash if the garbage collection
2188 happened at just the wrong moment,
2190 * Add test coverage for QueryParser.ParseQuery() with flags argument.
2192 * Wrap Query::MatchAll and Query::MatchNothing. (ticket#158)
2196 * SmokeTest.java: Fix == comparisons with strings to use equals().
2198 * Add test that string passing is zero byte safe.
2200 * Fix MyExpandDecider.accept() to really check the passed parameter.
2204 * Put the SWIG-generated Java bindings in package org.xapian.
2206 * Wrap Query::MatchAll and Query::MatchNothing. (ticket#158)
2208 * SmokeTest.java: Fix == comparisons with literal strings to use equals()
2210 * Add test that string passing is zero byte safe.
2212 * Fix MyExpandDecider.accept() to really check the passed parameter.
2214 * Fix the compile JNI code to have a .jnilib extension on Mac OS X.
2216 * Create an HTML documentation page based on java/README.
2218 * Copy java examples from the hand-coded JNI ones.
2220 * docs/examples/SimpleIndex.java: Update to use commit() rather than flush().
2222 * Check that exactly the sources we expect are generated, and add some sources
2223 which were missing from the list.
2227 * Merge latest Lua changes from Xiaona Han.
2229 * lua/smoketest.lua: Add simple test for Database::positionlist_begin().
2231 * simpleexpand.lua: Don't try to add anything to the RSet if there are no
2236 * Sync updates to examples from XS Search::Xapian:
2238 + Require Perl >= 5.6 so we can "use warnings;".
2240 + Loop over file using while() (which reads a line per iteration) not
2241 foreach() (which reads the whole file up front).
2243 * Wrap MatchAll and MatchNothing for Perl (as Search::Xapian::Query::MatchAll
2244 and Search::Xapian::Query::MatchNothing). (ticket#158)
2246 * perl/t/termgenerator.t: Test TermIterator::index_text() with two arguments.
2248 * perl/Makefile.am: Fix "make check".
2250 * perl/t/symbol-test.t: Fix to work when built against an installed
2251 xapian-core. (ticket#558)
2255 * php/smoketest.php: Install an error handler so the test fails if there are
2256 any errors, warnings, notices, etc.
2258 * Change PHP examples and test program to use 'include "xapian.php"' like user
2259 code should (rather than 'include "php5/xapian.php"' as they did previously).
2261 * Wrap MatchAll and MatchNothing for PHP as XapianQuery::MatchAll() and
2262 XapianQuery::MatchNothing(). (ticket#158)
2266 * Wrap MatchAll and MatchNothing for Ruby. (ticket#158)
2268 Xapian-bindings 1.2.6 (2011-06-12):
2272 * SWIG-based bindings are now generated with a newer version of SWIG
2277 * On Mac OS X 10.5 or later, and 10.4 on x86, build Java JNI library with a
2278 .jnilib extension as we do for older versions.
2282 * Upgrading to newer SWIG fixes issues with strings with newer C# versions.
2286 * Fix memory leaks when functions taking string parameters throw exceptions.
2288 * Previously a hash table was used to map Java objects to C++ ones, but we
2289 now just cast the address of the C++ object to a jlong (which is 64 bits
2290 so will hold a pointer on current platforms). This is more efficient and
2291 avoids the need for thread locks around accesses to the hash table.
2293 * Remove explicit checks for NULL around calls to delete.
2295 * Mark makefiles which build Java code as .NOTPARALLEL to avoid race conditions
2296 during parallel builds.
2300 * Add support for Lua, which is being developed by Xiaona Han during GSoC this
2301 year. The current support should be regarded as experimental - it passes
2302 its automated tests, but the details of the Lua API are likely to evolve as
2303 the project progresses.
2307 * README: say that Perl bindings probably need Perl 5.8 or later.
2311 * Directors now work for PHP (ticket#488). New simplematchdecider.php example.
2315 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always collect
2316 all the garbage, so repeat until no further objects are freed.
2317 (https://bugs.debian.org/625679 and https://bugs.gentoo.org/349484).
2321 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() - just skip
2322 the compaction tests for these versions.
2324 Xapian-bindings 1.2.5 (2011-04-04):
2328 * README: Update info on SWIG-based Perl bindings.
2330 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL. Replace VPATH
2331 section with better equivalent from xapian-core/INSTALL.
2335 * Wrap ESet::get_eset() with min_wt parameter (new in C++ API in 1.2.5).
2337 * configure: If xapian-core is a different release series, promote the
2338 mismatched versions warning to an error.
2342 * Mac OS X: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and later, or
2343 10.4 on x86, as the default if unset on these versions is the current OS
2344 version. (ticket#541)
2346 * python/pythontest2.py: In test_compactor(), close any open databases before
2347 removing the directory as you can't delete an open database on Microsoft
2348 Windows. (ticket#526)
2352 * Don't pass extra flags to Microsoft's gacutil. (ticket#516)
2354 * Clarify the licence is GPL "version 2 or later" in the meta information
2355 we put in the module.
2359 * Remove old and broken Enquire.get_matching_terms() method. We deprecated
2360 Enquire.get_matching_terms() in 1.0.x, and removed it in 1.1.0, but
2361 accidentally left an older version of get_matching_terms() exposed.
2363 * Remove broken implementation of MSet.__contains__. This appears never to
2364 have worked, and to have been broken for at least the past 3.5 years without
2365 anyone mentioning it, and is probably of little use anyway, so no need to
2368 * python/docs/index.html: Document that MSet.items and ESet.items are
2369 deprecated, and what to use instead. Note that MSET_DOCUMENT never worked on
2370 the tuple returned by MSet.items. (ticket#531)
2372 * Add test coverage for mset.items.
2376 * Add test coverage for Xapian::Compactor.
2378 * Handle an empty response to $RUBY --version specially. This gives a less
2379 opaque error in cases where the user specified RUBY but the value given
2380 wasn't an executable file.
2382 Xapian-bindings 1.2.4 (2010-12-19):
2386 * Wrap the new Xapian::Compactor class. The resolve_duplicate_metadata()
2387 virtual method is wrapped for subclassing for Python and Ruby currently.
2389 * Eliminate separate Makefile.am in the docs subdirectory of each language
2390 subdirectory and just inline any rules into the main sub-Makefile.am, which
2391 allows more of the build to run in parallel.
2393 * Don't ship some files which are generated at build time.
2395 * configure: Need python in maintainer mode to run doxy2swig.py.
2399 * RPM: Package the Perl bindings.
2401 * RPM: Don't package _XapianSharp.la.
2405 * For Mac OS X builds, set DYLD_LIBRARY_PATH to allow tests to find an
2406 uninstalled Xapian library. See ticket #322.
2408 * configure: Fix typo in code to set PYTHON_LIBS under cygwin. (ticket#509)
2412 * Don't install _XapianSharp.la.
2416 * Merge SWIG-based Perl bindings originally developed by Kosei Moriyama during
2417 GSoC 2009. These are close to being a compatible replacement for the
2418 hand-coded XS bindings in Search::Xapian but also offer a more complete
2419 wrapping of the C++ API. We're planning to replace the XS bindings with the
2420 SWIG ones for easier maintenance. We encourage you to try them and let us
2421 know how you get on - particularly if you find cases where code which works
2422 with the XS bindings doesn't work with the SWIG ones.
2426 * Document that iterators shouldn't be dereferenced or advanced when at their
2427 end points (ticket#520).
2431 * Fix memory leaks in typemaps which return Python lists.
2433 * MatchSpy can now be subclassed in Python. Remote use isn't currently
2436 * configure: Use sys.version_info tuple, rather than string splicing which
2437 assumes the Python "major.minor" is 3 characters (which would fail if Python
2438 2.10 were ever released, for example).
2440 Xapian-bindings 1.2.3 (2010-08-24):
2444 * xapian-bindings.spec: Don't run autoreconf - it's no longer required.
2446 Xapian-bindings 1.2.2 (2010-06-27):
2448 * No user-visible change except for bumping the version to indicate
2449 compatibility with Xapian-core 1.2.2.
2451 Xapian-bindings 1.2.1 (2010-06-22):
2453 This release includes all changes from 1.0.21 which are relevant.
2457 * Wrap Xapian::StemImplementation. Currently this has only been tested for
2458 Python. (ticket#448)
2462 * Remove non-functional disabled guile bindings left over from Open Muscat
2463 days - if someone wanted to add guile bindings, it would be easier to start
2468 * Update list of generated java sources in the SWIG-based Java bindings.
2472 * zend_throw_exception() returns, so return control to PHP directly after
2473 calling it to avoid needless extra work and possible issues.
2477 * Fix "from xapian import *". (ticket#477)
2479 * Fix testcase weight_normalise - a change in xapian-core means that
2480 get_max_possible() can now return zero for a non-existent term, so don't
2481 blindly calculate the reciprocal of it.
2483 * python/replicationtest2.py: Extend to check that changesets get applied
2486 * python/smoketest2.py: Check len(mset) works (improving test coverage of
2487 Python-specific wrapping).
2489 Xapian-bindings 1.2.0 (2010-04-28):
2491 This release includes all changes from 1.0.20 which are relevant.
2495 * configure: Tell libtool not to link in deplibs on platforms where we know
2498 * configure: On Linux, extract the library search path from ldconfig which
2499 gives us the default entries reliably.
2501 Xapian-bindings 1.1.5 (2010-04-15):
2503 This release includes all changes from 1.0.19 which are relevant.
2507 * tcl8/docs/index.html: Document WritableDatabase::close() as a way to
2508 sidestep the whole destructor issue. (ticket#62)
2510 Xapian-bindings 1.1.4 (2010-02-15):
2512 This release includes all changes from 1.0.18 which are relevant.
2516 * Update for the new Brass backend and other C++ API changes.
2518 * Wrap Database::get_doclength_lower_bound(),
2519 Database::get_doclength_upper_bound(), Database::get_wdf_upper_bound(),
2520 Database::valuestream_begin() and Database::valuestream_end() for all
2521 languages. (ticket#431)
2523 * Wrap ValueIterator::skip_to() and ValueIterator::check() for all languages.
2527 * Wrap valuestreams as Database.valuestream(), returning a ValueStreamIter
2528 object which dereferences to a ValueStreamItem object,
2530 * Fix Enquire.clear_matchspies() wrapper which crashed in 1.1.3.
2534 * Add safe wrapper for the valuestream iterator.
2536 Xapian-bindings 1.1.3 (2009-11-18):
2538 This release includes all changes from 1.0.15-1.0.17 which are relevant.
2542 * configure: Default to looking for xapian-config-1.1 unless XAPIAN_CONFIG is
2545 * Wrap the new MatchSpy class, and associated features.
2547 * Don't wrap PostingSource::serialise(), Weight::serialise() and
2548 Weight::unserialise() as they aren't useful from the bindings.
2550 * Update for the Sorter to KeyMaker changes.
2554 * Fix PHP bindings to build when PHP has been compiled in multithreaded mode,
2555 as it standardly is on Microsoft Windows. Fixes #411.
2557 * Merged the PHP "smoketest" back together now we don't need to support
2562 * Fix a memory leak on error (in theory - we've not got a way to generate this
2563 error, so haven't been able to reproduce the leak or test the fix).
2565 Xapian-bindings 1.1.2 (2009-07-23):
2567 This release includes all changes from 1.0.14 which are relevant to trunk.
2571 * Several changes towards fully supporting Python 3, but more work is required.
2574 Xapian-bindings 1.1.1 (2009-06-09):
2576 This release includes all changes from 1.0.13 which are relevant to trunk.
2580 * Wrap the recently added extra parameter to Enquire::set_collapse_key().
2584 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2585 C# yet, and to use Query("") and Query() instead.
2587 * configure: If we don't find a C# compiler, don't test an empty command name
2588 further which saves a fork and avoids an odd looking message.
2592 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2593 PHP yet, and to use Query("") and Query() instead.
2597 * Wrap Query::MatchAll and Query::MatchNothing for Python and document how they
2598 are wrapped (ticket#158).
2600 * python/smoketest2.py,python/smoketest3.py: Update tests with FLAG_PARTIAL to
2601 expect SYNONYM in generated query.
2605 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2606 Ruby yet, and to use Query("") and Query() instead.
2610 * Wrap Query::MatchAll and Query::MatchNothing for Tcl and document how they
2611 are wrapped (ticket#158).
2613 Xapian-bindings 1.1.0 (2009-04-22):
2617 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so update
2618 the instructions to suggest users use this standard location for installing
2619 without root access.
2623 * All deprecated features slated for removal in 1.1.0 have been removed.
2625 * All new C++ API features have been wrapped. Also, since we now supply some
2626 standard MatchDecider subclasses, we now wrap Enquire::get_mset() so that
2627 these can be passed in even for languages for which SWIG doesn't support
2632 * xapian-bindings.spec: Updated to reflect the new Python packaging.
2636 * configure: Use XAPIAN_CXXFLAGS for test compiles since it may include options
2637 to put the compiler into ISO C++ mode).
2641 * PHP4 support has been removed, since PHP4 is no longer supported upstream
2646 * Python 2.3 or later is now required. 2.2 is essentially unsupported
2649 * The import method used has been changed (by using a newer SWIG version)
2650 and no longer gives a warning with Python 2.6.
2652 * Initial support for Python 3.0 has been added. This currently doesn't
2653 work correctly and should be treated as experimental. (ticket#346)
2655 * The newer SWIG version handles exceptions in director methods correctly
2656 so we no longer need our workaround for ticket #289.
2658 * Database::metadata_keys_begin() and Database::metadata_keys_end() are
2659 wrapped for Python as Database.metadata_keys().
2661 * The Python bindings are now installed as a python package, with the
2662 files in a xapian subdirectory, hiding the internal _xapian module
2665 * Python now flags deprecation warnings for the single argument form and old
2666 parameter name (ascending) in set_sort_by_key(), set_sort_by_value() and
2669 Xapian-bindings 1.0.23 (2011-01-14):
2673 * configure: Fix typo in code to set PYTHON_LIBS under cygwin. (ticket#509)
2677 * Document that iterators shouldn't be dereferenced or advanced when at their
2678 end points (ticket#520).
2682 * Fix memory leaks in typemaps which return Python lists.
2684 Xapian-bindings 1.0.22 (2010-10-03):
2688 * RPM: Don't package _XapianSharp.la.
2692 * Don't install _XapianSharp.la.
2696 * configure: Use sys.version_info tuple, rather than string splicing which
2697 assumes the Python "major.minor" is 3 characters (which would fail if Python
2698 2.10 were ever released, for example).
2700 * Add test_xapian_star.py to distribution - fixes failure of "test_import_star"
2701 testcase in pythontest.py.
2703 Xapian-bindings 1.0.21 (2010-06-18):
2707 * xapian.BAD_VALUENO is now wrapped as a constant rather than variable which
2708 can't be written to. (ticket#297)
2710 * Fix cleaning of test directories to use "rm -rf" rather than "rm -f".
2712 * Add test to check that "from xapian import *" works.
2714 Xapian-bindings 1.0.20 (2010-04-27):
2718 * Set PYTHONDONTWRITEBYTECODE=1 in the environment to prevent Python from
2719 generating .pyc files in srcdir for Python >= 2.6, and use a Bourne shell
2720 trap to delete them after running tests for older versions of Python.
2725 * configure: Fix typo so path to ruby is reported if Ruby < 1.8 is found.
2727 Xapian-bindings 1.0.19 (2010-04-15):
2731 * tcl8/docs/index.html: Improve wording in a few places.
2733 Xapian-bindings 1.0.18 (2010-02-14):
2737 * Wrap new C++ API method Document::add_boolean_term().
2741 * Generate entries in the Ruby rdocs for all classes which aren't documented
2742 because of Ruby-specific methods. Fixes ticket#417.
2744 * Avoid absolute paths in the generated rdocs.
2746 Xapian-bindings 1.0.17 (2009-11-18):
2750 * Improve RPM package summaries - the files are needed to *use* scripts as well
2751 as to develop them. Use "Tcl" instead of "TCL" as the former is more
2756 * python/Makefile.am: Restore the "./" path to the sourced file
2757 libtoolconfig.tmp as ksh requires it.
2761 * Fix memory leak when passing a MatchDecider to Enquire::get_mset().
2763 Xapian-bindings 1.0.16 (2009-09-10):
2767 * Improved docstrings for QueryParser::set_default_op() and
2768 QueryParser::get_default_op() (automatically generated from changes in
2771 Xapian-bindings 1.0.15 (2009-08-26):
2775 * Don't break long words when wrapping text in the generated API documentation
2776 comments as this was causing identifiers to be broken in two.
2778 Xapian-bindings 1.0.14 (2009-07-21):
2782 * configure: If $CSC is empty, don't try to run it. This was a cosmetic bug
2783 and the only side-effect was an odd looking message.
2787 * Rename methods at build-time using SWIG rather than a run-time in Python, as
2788 the latter approach adds a small time overhead when the module is being
2793 * Fix to accept an integer value > MAXINT for a double parameter.
2795 Xapian-bindings 1.0.13 (2009-05-23):
2799 * xapian-bindings.spec: Update C# packaging for rename of XapianSharp.so to
2800 _XapianSharp.so in 1.0.11.
2802 * xapian-bindings.spec: Update Tcl8 packaging for where we now install the
2803 bindings since 1.0.6.
2807 * Backport fix from SWIG SVN for misuse of formatted error function in
2808 SWIG-generated code.
2812 * Change the SWIG-generated wrapper code so it doesn't attempt to acquire
2813 Python's Global Interpreter Lock (GIL) in situations where we know that it
2814 will already be locked. This avoids some dead-locks with mod_python (due to
2815 mod_python bugs which are apparently unlikely to ever be fixed), and results
2816 in smaller wrappers which run a little faster (in tests with Xapian on x86-64
2817 Ubuntu 9.04, the stripped wrapper library was 11% smaller and ran 2.7%
2818 faster). (ticket#185)
2820 * README,python/docs/index.html: Update documentation of the above mod_python
2821 issue and also document the related mod_wsgi issue. The status is now that
2822 everything seems to work if you stick to the main interpreter (ticket#364).
2824 * Backport fix from SWIG SVN for misuse of formatted error function in
2825 SWIG-generated code.
2827 * python/docs/examples/simplematchdecider.py: Read "avoid_value" from the
2828 second parameter, not the third.
2830 * python/docs/examples/simplematchdecider.py,
2831 python/docs/examples/simplesearch.py: Make use of str.join() for simpler,
2836 * README: Note that the testsuite fails due to a bug in the test/unit module in
2837 Ruby 1.9.0, but applications using the bindings should work, and that the
2838 testsuite works with Ruby 1.9.1. Drop all mention of Ruby 1.6.x as that
2839 appears to be completely dead both upstream and in the wild.
2841 Xapian-bindings 1.0.12 (2009-04-19):
2845 * INSTALL: Add a note about being able to pass variables to configure to pick
2846 which of several parallel installations of a language to build for.
2850 * python/pythontest.py: Round the weights returned for the OP_SCALE_WEIGHT
2851 test to avoid failing due to rounding differences.
2853 * python/testsuite.py: Remove bare except: handlers from testsuite, so Ctrl-C
2854 stop the whole testsuite, not just the currently running testcase.
2856 Xapian-bindings 1.0.11 (2009-03-15):
2860 * README: Note that 1.0.x doesn't (and isn't currently planned to) support
2861 Python 3, and possible current issues with Ruby 1.9.
2865 * Merge fixes from Cygwin Ports, so bindings should build out of the box on
2870 * python/docs/examples/: Use str(obj) rather than obj.get_description() (the
2871 latter is deprecated, and support was removed in 1.0.0).
2873 * Add support for using the new name ("reverse") for the second argument of
2874 set_sort_by_key() and set_sort_by_value() and friends as a named parameter.
2875 The old name ("ascending") is still supported, but will be deprecated in
2878 * Keep Python references to Sorter, Stopper, and ValueRangeProcessor objects
2879 which get set on other objects to avoid segmentation faults if they go out
2880 of scope before the object they are set on does. (ticket#341)
2884 * Fixes for Ruby 1.9 compatibility (ticket#323). The test harness currently
2885 fails so "make check" doesn't pass, but code using the bindings should work.
2887 Xapian-bindings 1.0.10 (2008-12-23):
2891 * Need to clean testsuite.pyc from srcdir since that's where it gets generated
2892 as things stand (upstream fix for Debian bug 506090).
2894 Xapian-bindings 1.0.9 (2008-10-31):
2898 * configure: Add support for "--enable-quiet" like xapian-core and omega have.
2900 * Wrap new Database::metadata_keys_begin() and Database::metadata_keys_end()
2903 Xapian-bindings 1.0.8 (2008-09-04):
2907 * configure: Report bug report URL in --help output.
2911 * Fix mangling of exceptions thrown from Python subclasses of Xapian classes.
2914 * Fix memory leaks in the xapian.Query constructor. (bug#294)
2916 Xapian-bindings 1.0.7 (2008-07-14):
2920 * Document how all the database factory functions and library version functions
2921 are wrapped for all languages.
2925 * Fix to build against a xapian-core which has quartz and/or flint disabled.
2927 * The "program" version of Remote::open() has been wrapped for some time, so
2928 update the documentation which said it wasn't.
2932 * xapian-bindings.spec: Remove "www." from xapian.org and oligarchy.co.uk URLs.
2936 * For Java, Python, and Ruby, use the libtool -shrext option to specify a
2937 different module extension rather than our own ugly bodge.
2941 * Make passing string from Java to C++ zero-byte safe. It doesn't appear to be
2942 simple to make C++ to Java work though.
2946 * Add test that OP_VALUE_GE works for PHP.
2950 * Several corrections to the Python documentation.
2952 * configure: Fix problem with building under mingw.
2956 * Include simplematchdecider.rb example.
2958 * smoketest.rb: Test the version reporting functions.
2962 * Include simpleexpand.tcl example.
2964 * Fix where the Tcl module gets installed.
2966 * README: Note that Tcl 8.3 and earlier are no longer supported by upstream.
2968 Xapian-bindings 1.0.6 (2008-03-17):
2972 * Wrap OP_VALUE_GE and OP_VALUE_LE and the new Query constructor which they are
2975 * configure: Correct the required SWIG version given in an error message.
2979 * php/smoketest.php: Add note that this script should be run using 'make check'
2980 in the build tree (rather than trying to copy it to a webserver as someone
2983 * php/smoketest.php: Fix to work under PHP4.
2987 * The Python module now always has the extension which Python expects, which
2988 fixes a failure on Mac OS X.
2992 * Automatically install/uninstall the Ruby rdoc-generated documentation along
2993 with the ruby bindings.
2997 * configure: Sort out the default value of TCL_LIB, which could end up being
2998 under /usr/share in xapian-bindings 1.0.4 and 1.0.5.
3000 Xapian-bindings 1.0.5 (2007-12-21):
3004 * Wrap Xapian::Sorter and subclasses.
3006 * Wrap Enquire::set_sort_by_key(), Enquire::set_sort_by_key_then_relevance(),
3007 and Enquire::set_sort_by_relevance_then_key().
3009 * Factor out the code to protect multitarget rules against parallel make, and
3010 fix it to handle the source being changed while the rule is executing, and to
3011 correctly return an error code if we fail while trying to recover from the
3012 removal of a target of a multi-target rule.
3014 * configure: Improve the clarity of the error given when none of the tools
3015 needed for any supported language are found.
3017 * configure: SWIG 1.3.32 has now been released, so require at least this
3018 released version for maintainer builds.
3022 * Add explicit '#include <cstring>' to fix build with the latest snapshots of
3025 * configure: Log the output of trying to compile conftest.java in config.log;
3026 if the test fails, report whether the failure was compiling or running the
3029 * Check for directory existence rather than calling mkdir unconditionally as
3030 despite the "(ignored)", the error message seems to confuse some people.
3034 * Add feature test for XapianMultiValueSorter.
3036 * php/smoketest5.php: Fix use of Database_get_document to new style OO
3037 interface. Fix the error reported when the PHP5 exception test fails.
3039 * php/smoketest.php: Add feature test to confirm that optional arguments to
3040 XapianQuery's "term" constructor are wrapped.
3044 * Don't drop the GIL when calling Xapian.MSet.items and Xapian.ESet.items -
3045 these properties build a python list, so dropping the GIL isn't safe and
3046 may cause undefined behaviour in multithreaded environments.
3048 * configure: Update error message to reflect requirement for at least python
3051 * configure: Change "print foo" to "print(foo)" in python version checks, for
3052 compatibility with python 3.0.
3056 * The Ruby bindings now work on Mac OS X (the Ruby module's extension was
3057 previously incorrect).
3059 * Run "rdoc" to generate HTML for the Ruby-specific API documentation which
3060 ruby/docs/index.html previously had a dead link to.
3064 * configure: Overhaul code to find tcl.h since the old version no longer worked
3065 with Debian unstable.
3067 * tcl8/docs/index.html: Update documentation to cover flint and mention that
3068 quartz is now deprecated.
3070 * Remove code to handle `const char *' exceptions - as of 1.0.0 the QueryParser
3071 throws QueryParserError instead.
3073 Xapian-bindings 1.0.4 (2007-10-30):
3077 * Wrap new OP_SCALE_WEIGHT query operator, and corresponding Query constructor.
3078 Add feature tests for all languages.
3080 * The "bindings.html" file documenting each of the bindings has been renamed to
3085 * Fix the PHP Makefile.am to work with autoconf < 2.60 to fix RPM builds for
3090 * Fix warnings when compiling with GCC 4.2.
3094 * Update to newer SWIG SVN snapshot to fix memory leaks in wrapped constructors
3095 and methods/functions which return a wrapped class.
3097 * For PHP4, wrap Xapian::sortable_serialise() as xapian_sortable_serialise()
3098 and Xapian::sortable_unserialise() as xapian_sortable_unserialise().
3100 * Document how non-class functions are wrapped.
3102 * Fix wrapping of NumberValueRangeProcessor for PHP4.
3104 * smoketest.php: Split the regression test for bug#193 into separate
3105 versions for PHP4 and PHP5 as the previous version only worked for PHP5.
3109 * python/docs/index.html: Promote the Pythonic iterators, and deprecate the
3110 non-pythonic iterators. Make it clearer that the "sequence API" is
3113 * Add test of a custom ValueRangeProcessor (ie, one written in python).
3115 * Update the examples to use the new-style attributes to access MSet item
3116 values rather than the old-style MSET_* constants.
3118 * Document MSET_DOCUMENT.
3122 * smoketest.rb: Rename test of metadata access methods which had been named the
3123 same as the matchdecider test due to a copy-and-paste error.
3125 Xapian-bindings 1.0.3 (2007-09-28):
3129 * Wrap new methods Database::get_metadata() and
3130 WritableDatabase::set_metadata().
3132 * "make uninstall" now removes the loadable module we install for each of
3135 * "make distcheck" now works.
3137 * Distribution tarballs are now in the POSIX "ustar" format since it saves
3138 about 40KB and we need to use it for xapian-core anyway.
3142 * RPMs: Package xapian.php.
3146 * Remove wrapper for ValueRangeProcessor::operator(), since it can't be
3147 usefully used currently.
3151 * Remove wrappers for the Muscat36 backend, which has now been dropped from the
3154 * "make clean" now removes the class files generated for inner classes.
3158 * Add feature test for DateValueRangeProcessor when used with QueryParser.
3160 * ValueRangeProcessor::apply() can now be called from PHP (bug#193). This
3161 isn't actually very useful, since you can't subclass it in PHP currently.
3163 * Fixed wrapping of Enquire::set_cutoff() - previously this would only work
3164 if the third parameter was specified and a floating point number (e.g. 0.0).
3166 * php/docs/bindings.html: Fix errors in example code.
3170 * ValueRangeProcessor::operator() is now wrapped as a __call__ method in
3171 Python which takes two strings and returns a 3-tuple (value_number,
3172 modified_begin, modified_end). Previously this always failed with a
3173 type error, so this doesn't break existing code.
3175 * python/pythontest.py: Interpret any commandline arguments as a list of
3176 tests to be run (the default is to run all tests).
3178 * README,python/docs/bindings.html: Add a note about the problems with
3179 mod-python (as described in bug #185).
3181 * python/pythontest.py: Delete the database handles before deleting a database
3182 to fix problems running the Python tests on MS Windows (bug#179).
3184 * "make clean" now removes testsuite.pyc.
3188 * Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the environment or on
3189 the configure command-line. The defaults for RUBY_LIB and RUBY_LIB_ARCH are
3190 now the site-specific directories, which is more correct when building
3191 from source. Debian packages, etc can override this by setting RUBY_LIB and
3196 * Check for TCL_LIB in the environment or on the configure command-line to
3197 allow installing without root access more cleanly.
3199 Xapian-bindings 1.0.2 (2007-07-05):
3203 * Document use of PYTHON_LIB and PHP_EXTENSION_DIR instead of pylibdir and
3206 * Remove documentation of removed "--with-swig" configure option.
3210 * Add methods of NumberValueRangeProcessor for serialising and
3211 unserialising doubles.
3213 * Add methods and constants supporting spelling correction and synonyms.
3215 * Value of XAPIAN_CONFIG supplied to configure is now passed to distcheck,
3216 to ensure that it works with uninstalled copies of Xapian.
3218 * Value of PYTHON_LIB supplied to configure is now respected - previously
3219 it was documented, but ignored.
3221 * Add support for supplying PHP_EXTENSION_DIR to configure.
3223 * Change to using "%include", rather than reproducing contents of header
3224 files, for "queryparser.h", "document.h" and "postingiterator.h".
3226 * Add new form of get_mset() which allows a matchspy matchdecider to be
3229 * RPMs: Don't mention %makeinstall in a .spec file comment as that makes RPM
3230 explode. Add in a missing "mv" in the command for installing tcl8
3235 * Fix rule handling parallel make to include xapian_wrap.h
3239 * Install xapian.php as <PREFIX>/share/php<PHPMAJOR>/xapian.php. There
3240 doesn't seem to be a standard location, but this works for Debian at
3241 least, and it seems better to at least try to install it.
3243 * Rename ValueRangeProcessor and subclasses and TermGenerator to have a Xapian
3248 * Fix a threading problem: the GIL was not being acquired in the exception
3249 handling code before setting the Python exception state, leading to
3250 various memory corruption symptoms in threaded programs.
3252 * Add special iterators to Database for synonyms, synonym_keys and
3255 * Add test cases for OP_VALUE_RANGE queries, getting spelling corrections,
3256 synonym iterators and spelling iterators.
3258 * In the test suite, expect_query() now adds "Xapian::Query(" and ")" around
3259 the expected description to make the tests more readable.
3261 Xapian-bindings 1.0.1 (2007-06-11):
3265 * NEWS: Fix the recent headings which said "Xapian-core" to say
3270 * Wrap Xapian::Query constructor for creating ValueRange queries.
3272 * Wrap new forms of Xapian::Database::allterms_begin() and allterms_end()
3273 which take a prefix.
3277 * RPMs: Use "make install" instead of %makeinstall to avoid doubled
3278 %{buildroot} prefix on most files which we then have to work around.
3282 * SimpleIndex now uses Xapian.TermGenerator.
3284 * SimpleSearch now uses Xapian.QueryParser.
3286 * New SimpleExpand example.
3288 * Document explicitly how STEM_SOME constants are currently wrapped.
3290 * Update GetTermName() reference in documentation to GetTerm().
3292 * SmokeTest.cs: Update comment about Portable.NET bug - the bug is fixed in
3293 their CVS repo, and the fix should be in their 0.8.2 release.
3297 * `configure --help' documented that environmental variable JNI_INCLUDE_DIR was
3298 looked at, but in fact its value was read but ignored. We now use it as the
3299 first place to look for jni.h.
3301 * configure will now automatically add an extra "-I" for the
3302 linux/solaris/win32 subdirectory which Sun's JDK requires.
3304 * Document JAVA_HOME and JDK_HOME in ./configure --help and mark them as
3305 "precious" so their values are preserved for when configure is automatically
3310 * Enquire::get_mset(first, maxitems, omrset) now works for PHP5.
3312 * The PHP examples have been rewritten to be clearer and to make use of the
3313 new XapianTermGenerator class.
3317 * Python examples now use xapian.QueryParser and xapian.TermGenerator.
3319 * Add support for prefix-restricted pythonic allterms iterators.
3321 * Update documentation in a couple of places to refer to updated replacements
3324 * Change testsuite output to be more vim-friendly (vim should be able to jump
3325 to the right lines now).
3327 * __str__ on Xapian::Error now includes extra information in some cases (the
3328 error_string and context, if they are set).
3330 * python/smoketest.py: Eliminate uses of the legacy sequence API.
3332 * python/pythontest.py: The legacy sequence API is only supported for Python
3333 2.3 and later, so don't run tests for it when running under Python 2.2.
3335 * We now generate and install xapian.pyo as well as xapian.pyc.
3339 * The Ruby examples now use the Xapian::QueryParser and Xapian::TermGenerator
3342 * Add missing rename for the C++ TermGenerator::set_document() method so it can
3343 be used as "tg.document = doc" in Ruby.
3345 * Fixed compilation on Mac OS X and warning from GCC on 32-bit Linux platforms.
3349 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate relevance
3350 feedback, based on C++ simpleexpand.cc.
3352 * tcl8/docs/example/simpleindex.tcl: New simpler example making use of the
3353 TermGenerator class.
3355 * tcl8/docs/example/simplesearch.tcl: New simpler example making use of the
3358 * tcl8/docs/bindings.html: Document how constants are wrapped.
3360 * Update smoketest and examples to require version 1.0.0 - previously this
3361 required 0.9.6, which failed since TCL doesn't accept differing major
3364 * pkgIndex.tcl is now generated by configure.
3368 * The required automake version has been lowered to 1.8.3, so RPMs can now be
3369 built on RHEL 4 and SLES 9.
3371 Xapian-bindings 1.0.0 (2007-05-17):
3375 * Document Unicode support for each language.
3377 * Assorted minor improvements and typo fixes.
3381 * Add wrappers for ExpandDecider, and Enquire::get_eset() variants which use
3382 it, for languages where SWIG supports directors.
3384 * Wrap new features: TermGenerator, ValueRangeProcessor hierarchy, the
3385 OP_VALUE_RANGE query operator, the new overloaded form of parse_query, which
3386 allows the "default_prefix" argument to be supplied, QueryParser flags
3387 FLAG_PURE_NOT and FLAG_PARTIAL.
3389 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3391 * Remove wrappers for deprecated features removed from the C++ API (see
3392 docs/deprecation.html in xapian-core for full details and upgrade
3395 * Deprecate ESetIterator::get_termname() in favour of ESetIterator::get_term().
3397 * QueryParserError is now a real error, so remove special handling for "const
3400 * Use a stamp file in "make" rules with multiple targets so that parallel
3403 * configure: Now quotes $PYTHON, etc so that you can specify a program with
3406 * configure: If the user specifies a program which doesn't exist (e.g.
3407 PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it.
3409 * configure: Disable probes for f77, gcj, and rc completely by preventing
3410 the probe code from even appearing in configure - this reduces the size of
3411 configure by 28% and should speed it up significantly.
3413 * configure: If the version check against the xapian-core version detects a
3414 mismatch, we now issue a warning rather than a hard error since if you're
3415 careful this can work. The warning is issued late on in configure, so it's
3416 harder for the user to miss.
3418 * configure: The --with-swig option has been removed. It no longer has a
3419 purpose as we now ship the files which are generated by SWIG.
3423 * The PHP bindings can now be built with MSVC for Microsoft Windows.
3427 * When using Mono 1.2, we must build with gmcs (the C# 2.0 compiler) rather
3428 than mcs to avoid segmentation faults at runtime due to unimplemented
3429 features in mcs. Document this, and update configure to prefer gmcs.
3431 * The return type of MatchDecider::operator() is now `bool' rather than `int'
3432 (in line with the same change in the C++ API).
3434 * Xapian.Stem.StemWord() deprecated in favour of Xapian.Stem.Apply().
3438 * The Java bindings have been updated to use C++ replacements for deprecated
3439 methods, so they still build. The Java wrappers still provide the old
3440 deprecated names for now though. The longer term plan is to replace the
3441 hand-written JNI with SWIG generated wrappers (work has now begun on this)
3442 which is likely to require some API changes, and it seems more sensible to
3443 make any changes to align with C++ API changes at the same time.
3445 * Enquire.getQuery() is implemented entirely in Java, so strip out the unused
3446 MyQuery mechanism, and so fix a memory link which it caused (bug#105).
3450 * Fix undefined behaviour in get_matching_terms().
3452 * Document the (existing) renaming of methods which are PHP reserved words
3453 (empty() to is_empty() and clone() to clone_object()).
3455 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3459 * The Python bindings now throw exceptions as classes with a hierarchy which
3460 mirrors that of the C++ Xapian::Error and its subclasses. The xapian.Error
3461 base class inherits from the standard Python Exception class.
3463 * All Python methods which accept strings can now be passed either a unicode
3464 object or a simple string. Strings are returned as simple strings: unicode
3465 input will be returned as utf-8 encoded output. The documentation now
3466 contains a "Unicode" section.
3468 * The Python bindings should now be usable more efficiently from threaded
3469 Python applications since we now use SWIG's -threads option when generating
3470 them, so that the GIL is released during long-running Xapian operations
3473 * Most classes, methods, functions, etc now have docstrings which are either
3474 automatically extracted from the C++ documentation comments, or overridden by
3475 more appropriate versions.
3477 * Most of the Pythonic iterators now return an object instead of a sequence,
3478 which means they now lazily fetch the information which previously had to be
3479 fetched to put it in the sequence. The old sequence API is supported for
3480 compatibility, but is scheduled for removal in Xapian 1.1.0.
3482 * Those Python iterators which have skip_to() methods now return the item
3483 skipped to, and next() will return the following item. Previously, they
3484 returned None, and next() returned the item skipped to. Several bugs in the
3485 skip_to() wrappers were fixed.
3487 * Because of the lazy access, some objects returned by iterators will raise
3488 an error if the lazy evaluation happens after the iterator has moved on
3489 (since the underlying Xapian API doesn't allow efficient access to the
3490 information in this situation). The exact semantics are defined in the
3491 docstrings for each iterator.
3493 * Those Pythonic iterators which return only a list of terms now return
3494 simple strings, instead of a sequence or an object containing the term. This
3495 is an incompatible change with earlier releases. The affected iterators are
3496 Enquire.matching_terms, Query.__iter__, QueryParser.stoplist and
3497 QueryParser.unstemlist.
3499 * The contents of an MSet can now be iterated in the standard Python way.
3500 The iteration will return MSetItem objects. The __contains__ and __getitem__
3501 methods are also implemented, allowing the "in" and [] operators to work.
3502 MSet.__getitem__ is a synonym for MSet.get_hit.
3504 * MSet.get_hit() now returns an MSetItem object instead of an MSetIterator,
3505 so that lazy access to its attributes is supported. MSetItem has some
3506 deprecated methods which mimic the MSetIterator interface to allow old code
3507 to work without modification until release 1.1.0.
3509 * MSetItem provides access to the collapse_key and collapse_count, which
3510 weren't accessible from the sequence returned by the iterators before this
3513 * Out-of-range access to MSets will now raise an IndexError - it used to
3514 cause undefined behaviour (usually a crash).
3516 * The Python testsuite is now much more extensive, and supports colour output
3517 and verbosity levels, much like the C++ testsuite. Tests of deprecated
3518 features are separated out, so that they can easily be removed when the
3519 features are removed. The Python tests currently focus mainly on Python
3520 specific iterators and related functionality - general Xapian behaviour is
3521 tested by the C++ testsuite.
3523 * The pure Python code in the bindings now uses new-style classes, since we
3524 have required Python >= 2.2 since Xapian release 0.9.9.
3526 * Enquire.get_matching_terms is now deprecated - use Enquire.matching_terms
3529 * The get_description() method which many classes support has been deprecated
3530 in favour of new more pythonic __str__ methods, so that the str() builtin can
3531 be used. get_description() is deprecated and scheduled for removal in 1.1.0.
3535 * We no longer regard the Ruby bindings as "beta quality", so remove the
3536 warning from their documentation.
3538 * Document that that C++ operator() becomes the method "call" in Ruby.
3540 * Don't read termfreq in safe wrapper for Document::termlist_begin(). Don't
3541 read wdf in safe wrapper for Database::allterms_begin() (bug#133).
3545 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3547 Xapian-bindings 0.9.10.1 (2007-04-04):
3551 * Fix PHP5 class wrapper generation in a few cases for overloaded methods with
3552 default parameters. The most notable case was a missing Query constructor
3553 which meant that QueryParser was unusable.
3555 * Fix compilation of the PHP4 bindings with ZTS-enabled versions of PHP
3556 (which mostly seems to mean the MS Windows version).
3558 * Fix PHP5 crash on exit with ZTS-enabled versions of PHP (which mostly
3559 seems to mean the MS Windows version).
3561 * Add note to the documentation that PHP examples are written for CLI version
3562 of PHP, but that the bindings work with any version.
3564 * Add check to all PHP examples that they are being run under a CLI version of
3569 * simpleexpand.py: Print each term's expand weight as a floating point value,
3574 * INSTALL: document how to install Xapian's Ruby bindings in your home
3577 Xapian-bindings 0.9.10 (2007-03-04):
3581 * Under Mac OS X, automatically look in the standard location for jni.h,
3582 and automatically rename the JNI library we build to ".jnilib", as is
3583 required by the OS X JVM.
3585 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the requirement
3586 to add the linux header directory to the include path when using this JDK.
3588 * Add missing default constructor for RSet class - it's not much use without
3591 * Fix Enquire.getESet() to actually work.
3593 * Fix bug in ESetIterator.hasNext().
3595 * Fix MatchDecider and ExpandDecider so subclassing in Java actually works.
3597 * Fix memory leak with some JVMs in the "Query from array" constructor.
3599 * Fix memory leak in Enquire.setQuery().
3601 * SmokeTest.java: Add regression tests for RSet default constructor,
3602 Enquire.getESet(), ESetIterator.hasNext(), MatchDecider, ExpandDecider.
3603 Add feature tests for Enquire.getQuery(), and to make sure we get passed
3604 the right document in a java subclass of MatchDecider.
3606 * configure: Look for jni.h in $JAVA_HOME/include and $JDK_HOME/include if the
3607 respective variables are set.
3611 * Update the documentation to fix out-of-date information and document the
3612 differences between the PHP4 and PHP5 wrappers.
3614 * Update the examples to use the new Object Oriented API, and provide versions
3615 for both PHP4 and PHP5.
3617 * Add a "simpleexpand" example.
3619 * For PHP4, Xapian::DB_CREATE_OR_OPEN should be wrapped as
3620 Xapian_DB_CREATE_OR_OPEN not DB_CREATE_OR_OPEN, so wrap it with the
3621 new name, but keep the old name for now for backward compatibility.
3623 * configure: Try `$(PHP_CONFIG) --php-binary` when looking for a PHP
3624 interpreter - this works with PHP5.
3626 * configure: Remove the sanity check for PHP_EXTENSION_DIR added in Xapian
3627 0.9.8 - if Xapian is the first PHP extension to be installed, the extension
3628 directory may not exist and "make install" will create it.
3630 * configure: If zend.h isn't found and configure was run with "--with-php",
3631 exit with an error rather than automatically disabling PHP support.
3635 * Fix a problem which preventing building for Python 2.5 on 64 bit platforms.
3639 * RPMs: Add support for passing "--without python" to rpmbuild. Document the
3640 various "--without" options in a comment at the start of the .spec file.
3642 * RPMs: Remove "." from the end of the Summary.
3644 Xapian-bindings 0.9.9 (2006-11-09):
3648 * Ship our custom INSTALL file rather than the generic one from autoconf which
3649 we've accidentally been shipping instead since 0.9.5.
3653 * Wrap Flint::open() and Flint::open_writable().
3655 * configure: Require SWIG 1.3.30 (1.3.30 isn't out yet, but 1.3.30rc1 is
3660 * Generate the bindings using SWIG 1.3.30rc1 which fixes a build error on 64
3661 bit platforms with Python 2.5.
3665 * RPMs: Prevent binaries getting an rpath for /usr/lib64 on FC6.
3667 * RPMs: The Python bindings now require Python >= 2.2.
3671 * configure: Remove unnecessary backticks from tclsh version test.
3673 Xapian-bindings 0.9.8 (2006-11-02):
3677 * Wrap the "prog" form of Remote::open() (which is suitable for general purpose
3678 use as of 0.9.7) and the Remote::open_writable() methods (new in 0.9.7).
3680 * The C++ method QueryParser::parse_query() current throws "std:string"
3681 exceptions if there's a parse error. Previously the bindings didn't catch
3682 these. Now we catch them and handle them as if they were exceptions of
3683 type Xapian::QueryParserError (in anticipation of this changing in
3684 xapian-core). Added testcases for this for PHP, Python, and C#.
3686 * configure: Note that SWIG is only useful for Xapian developers in --help
3689 * configure: If we failed to find any languages to build for, give a more
3694 * SmokeTest.cs: Fix warning about unused variable in OP_ELITE_SET check.
3698 * configure: Fix check for jni.h in /usr/lib/jvm/java-gcj/include to actually
3699 work rather than using the cached failure of the first jni.h check.
3701 * SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
3703 * SmokeTest.java: Avoid gcj "set but not used" warning.
3707 * configure: Sanity check PHP_EXTENSION_DIR and PHP_INC.
3709 * smoketest4.php,smoketest5.php: Check the exception message given by the
3710 DocNotFoundError testcase.
3714 * Drop support for Python 2.1.
3716 Xapian-bindings 0.9.7 (2006-10-10):
3720 * NEWS: Fix the recent headings which said "Xapian-core" to say
3725 * Specify required automake version in the call to AM_INIT_AUTOMAKE in
3728 * If we're building with GCC 4.0 or higher, pass -fvisibility=hidden when
3729 compiling SWIG generated code which makes the compiled modules a few percent
3730 smaller and perhaps a little faster.
3732 * Wrap the newly implemented transaction API.
3734 * configure: Use "-fno-strict-aliasing" when compiling all the SWIG bindings
3735 (this option was supposed to be used to compile the Python bindings from
3736 0.9.3 onwards, but this wasn't actually working correctly).
3738 * Use CVS snapshot of SWIG to generate files (fixes bugs #83, #85).
3740 * In maintainer-mode, "make clean" now removes the SWIG generated files
3741 which would otherwise only be removed on "make maintainer-clean".
3745 * Xapian::MatchDecider can now be subclassed in C#.
3747 * The value of OP_ELITE_SET was wrong in C# which caused an error if you tried
3748 to use it. This has been fixed and a regression test added.
3750 * SmokeTest.cs: Added exception handling test.
3754 * Correct two misuses of delete to delete[]. Fixes bug#78.
3756 * configure: We need to look for jni.h in /usr/lib/jvm/java-gcj/include on some
3757 Debian and Ubuntu boxes at least.
3761 * We now generate class wrappers for PHP5.
3763 * We now generate proxy classes for PHP4, which is an incompatible change
3764 from previous versions of xapian-bindings. A perl script to upgrade
3765 your scripts is included.
3769 + Now that we're throwing PHP exceptions with PHP5 we need separate versions
3770 of the exception handling test for PHP4 and PHP5. Fixes bug#76.
3772 + Rely on xapian.php to load the extension module for us.
3774 + Fix error messages to show PHP code, not Python code.
3776 * When running smoketest.php, pass the "-q" option to php, which suppresses
3777 HTTP header output for PHP < 4.3 and is ignored for compatibility by more
3778 recent versions of PHP.
3780 * configure: Fix typo - PHP_tried should be PHP_found. This might have caused
3781 the PHP interpreter not to be found in some cases when it was actually
3782 available, but it's only used to run the smoketest not for building the
3787 * configure: Fixed check for PYTHON_PATHSEP to use $PYTHON rather than python,
3788 and also report the check and its result to the user.
3790 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la has been
3791 built, so add an explicit dependency so that this works reliably in parallel
3792 builds. Fixes bug#77.
3794 * In examples and documentation, don't call the MatchDecider class/object
3795 "matcher", since we use the term "matcher" to mean something else in
3796 the library documentation.
3800 + Add test of exception handling.
3802 + Add test that MatchDecider can be subclassed successfully.
3804 * Wrap TermIterator::skip_to() so that it can be used from the TermIter
3805 pythonic iterator class.
3809 * Xapian::MatchDecider can now be subclassed in Ruby.
3811 * configure: Look for ruby interpreter as "ruby1.8" since it's called that
3812 (with no "ruby" alias) on Ubuntu dapper at least.
3814 * simplesearch.rb: Lowercase terms before stemming. "First ten" is inaccurate
3815 since we may have less than 10 matches, so say "1-<N>" instead.
3817 * simplematchdecider.rb: Implemented.
3821 * Implement saner exception handling for Tcl and document it.
3825 + Add check that xapian::Query_OP_ELITE_SET has the right value.
3827 + Rework how the smoketest gets run to eliminate special code for using
3828 uninstalled bindings from smoketest.tcl itself. This allows the smoketest
3829 to be run using installed bindings, and also makes it a better example
3832 + Add test for exception handling.
3834 + Send error messages to stderr.
3836 + Add comment about Tcl storing zero bytes as \xc0\x80.
3838 * simpleindex.tcl,simplesearch.tcl: Print $errorCode in the exception handler.
3840 * For SVN snapshots, remove any _svn6789 suffix from the Xapian version number
3841 used for the Tcl bindings.
3843 Xapian-bindings 0.9.6 (2006-05-15):
3847 * INSTALL: Add section describing how to install without root access.
3851 * Updated to reflect the renaming of Xapian::xapian_version_string and
3852 companions to Xapian::version_string.
3854 * Wrap optional length parameter to Enquire::set_query().
3856 * In PHP, Python, and Tcl bindings, rename get_document_id to get_docid for
3857 consistency. Keep get_document_id as an alias for now for backward
3860 * Fixed ESet::empty() to return bool instead of Xapian::termcount (this was
3861 probably a largely harmless error).
3863 * Stop SWIG from adding exception handling wrappers to the calls which return
3864 version strings, since they can't throw exceptions.
3866 * xapian.i: Removed superfluous "const" from return type "docid" which is just
3867 a typedef for an unsigned integer type.
3869 * configure: Add some missing "checking ..." messages so the user has more idea
3872 * Language specific util.i files can now define
3873 XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
3874 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP to indicate which optional typemaps
3875 are provided for each language. This avoids needing to keep this
3876 information in two different places.
3878 * xapian.i: Uncomment commented-out parameter names and fix duplicate
3879 parameter names (for the benefit of bindings which use the parameter names,
3880 like the OO PHP5 patch for SWIG I'm working on...)
3884 * configure: Fix warning flags passed for Intel C++ compiler.
3888 * We now support building with Portable.NET.
3890 * Note that the passing of strings from C# into Xapian and back isn't currently
3891 zero byte safe. If you try to handle string containing zero bytes, you'll
3892 find they get truncated at the zero byte.
3894 * C# bindings now build and pass tests when srcdir != builddir.
3896 * In configure.ac, the "#" in "C#" seems to sometimes confuse autoconf so
3897 always say "CSharp" instead.
3899 * Not all machines are set up to run compiled C# programs when invoked
3900 directly, so get configure to check if we can, and otherwise see if using
3901 mono or ilrun works. If not, just skip the C# tests.
3903 * configure: If "mcs" isn't found, we now look for a CSharp compiler as "gmcs"
3904 (alternative name for "mcs"), "cscc" (Portable.NET), and then "csc"
3905 (Microsoft, but we check it isn't the unrelated Chicken csc program.)
3907 * Move the C# specific %rename list to csharp/util.i.
3909 * Store the strong name key in the key container so we reuse it for later
3912 * Wrap the version functions as more sensible names and document them (and
3913 continue to provide the older undocumented names for now just in case anyone
3916 * Set the version of XapianSharp.dll correctly when building a snapshot from
3917 SVN and set informational attributes (which e.g. MS Windows Explorer shows.)
3919 * SmokeTest.cs: Add test of version functions.
3923 * The Guile bindings don't work and aren't being actively worked on, so we're
3924 no longer including them in the distributed tarball to avoid disappointing
3925 users who notice a "guile" subdirectory. It also makes the download smaller.
3929 * Simplify (and improve portability of) run-java-test by using "libtool
3930 --mode=execute"'s -dlopen option.
3932 * Need to make sure "built" subdirectory exists or building from clean fails.
3934 * Fix "make check" to work when srcdir != builddir.
3938 * Using "php -c myphp.ini" still loads the system php.ini (at least for PHP
3939 4.3.10), so use "php -n" and then set the options we specifically want using
3942 * Fix the smoketest invocation to work better when srcdir != builddir.
3944 * Look for PHP interpreter first in prefix given by "php-config --prefix".
3946 * Fix SWIG_RuntimeError to be handled as an exception in PHP5.
3948 * simplesearch.php: MAX_PROB_TERM_LENGTH isn't used here so remove it.
3952 + Add test for version reporting functions
3954 + If a test fails, say which one to aid debugging.
3956 + Added simple test that zero-bytes are handled correctly when passing
3957 strings to and from Xapian.
3961 * README: Note that Python bindings have been built with MSVC.
3963 * Install xapian.py and xapian.pyc as _DATA not _SCRIPTS because we don't want
3964 to make them executable (they don't have a #! line).
3966 * simplematchdecider.py: Rename confusingly-named "mymatcher" to
3967 "mymatchdecider". Add description of what this example does.
3969 * simpleexpand.py: Don't define MAX_PROB_TERM_LENGTH as it isn't used.
3971 * smoketest.py: Added simple test that zero-bytes are handled when passing
3972 strings to and from Xapian.
3976 * Added new Ruby bindings from Paul Legato.
3982 + Add test for version reporting functions
3984 + If a test fails, say which one to aid debugging.
3986 + Added simple test that zero-bytes are handled correctly when passing
3987 strings to and from Xapian.
3989 Xapian-bindings 0.9.5 (2006-04-08):
3993 * HACKING,README: Split off HACKING to contain information which is only
3994 relevant to those wishing to modify the bindings.
3998 * SWIG-based bindings are now built with SWIG 1.3.29.
4000 * configure: Report which languages we're building bindings for just before
4003 * xapian.i: Make the stub definitions for disabled backends static.
4005 * configure: Don't quote $PHP in AC_PATH_PROGS to avoid "checking for ... no"
4008 * xapian.i: Wrap new method Enquire::set_sort_by_relevance_then_value().
4012 * RPMs: xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
4013 Python bindings to support 64 bit systems.
4015 * RPMs: Package the C# bindings.
4019 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH has a
4022 * configure: Detect Intel's C++ compiler and set suitable warning flags to
4023 avoid noise from compiling generated code.
4027 * Rename Database::GetDoccount() to Database::GetDocCount() for consistency.
4031 * configure: Disable --with-guile since Guile support doesn't currently work.
4035 * Override deprecation warnings for Xapian methods/functions/etc.
4037 * SmokeTest.java: Write a helpful diagnostic to stderr if a check fails so we
4038 have some idea what went wrong!
4040 * Rework how we include headers to get hash_map to avoid compiler warnings
4041 since it's usually not in the std namespace nowadays.
4043 * Previously the "all" target also ran the "install" target, but this has
4044 proved very problematic, so change "make check" to use the uninstalled JNI
4045 glue library, and update the instructions to say that "make install" is now
4048 * Use JAVA_PATHSEP when specifying the classpath for compiling .java files to
4051 * README: Note that some platforms need "-pthread" or similar flags.
4053 * Add a new Query constructor wrapper which take an OP_xxx and an array of
4056 * Compiling a .java file to a .class file now deletes the .jar file to ensure
4061 * php -n avoids reading any php.ini, but the compiled in default may be to
4062 enable the dubiously named "safe_mode" which prevents dl() being used so
4063 "make check" fails. So instead provide a very simple php.ini which turns off
4064 safe_mode and makes sure enable_dl is on.
4066 * Fix handling of bool parameters when resolving overloaded methods and/or
4067 default arguments. This fixes Enquire_sort_by_value() to work when the
4068 second argument is specified. Added regression test for this case.
4070 * simpleindex.php: Lowercase terms before stemming. Fixes bug#73.
4072 * Fix segmentation fault when PHP "Null" is passed where C++ wants an object
4073 passed by reference. Fixes bug#74.
4075 * simpleindex.php: Flushing after every call to WritableDatabase_add_document
4076 isn't required and will kill performance, so stop doing it. Fixes bug#75.
4080 * Use the fairly new "swig -O" option for the "modern" python bindings as
4081 it generates a smaller glue library and runs faster. Some of the features
4082 enabled also work on python 2.1, so enable these for the "olde" bindings.
4084 * configure: Catch the case where the user has python installed but not the
4085 module "distutils.sysconfig" and explain that they probably need to install a
4086 python-dev or python-devel package.
4088 * "make check" now works in VPATH builds.
4090 * smoketest.py: If a check fails, write a diagnostic message to stderr so we
4091 know which check it was!
4093 * smoketest.py: catch Exception objects and print them.
4095 * smoketest.py: Add feature tests for the various pythonic iterator
4098 * python/docs/bindings.html: Document the Pythonic iterators.
4100 * Fix TermIter not to try to read termfreqs or positions if they aren't
4101 meaningful for the current TermIter.
4103 Xapian-bindings 0.9.4 (2006-02-21):
4107 * COPYING: Updated FSF address.
4111 * Wrap Stopper::get_description().
4113 * Wrap xapian_version_string() and related functions.
4117 * If we're overriding MACOSX_DEPLOYMENT_TARGET then override it for commands
4118 run from "make" too.
4122 * Fix so that generated code compiles with ZTS-enabled PHP (which is the
4123 default on Windows).
4127 * smoketest.py: Test wrapping of xapian_version_string() and related functions.
4129 Xapian-bindings 0.9.3 (2006-02-16):
4133 * README: Updated and expanded (now covers supported platforms, and lists
4134 criteria which bindings for an additional language need to fulfil before
4135 we're likely to accept them).
4137 * INSTALL: Updated and improved.
4139 * TODO: Move C#-specific TODO to top level so we can track to-do items for
4144 * configure: Change how the user selects which bindings to build. If no
4145 --with* arguments are passed, then we default to building bindings we detect
4146 the required tools for (as before). But instead of requiring the user to
4147 deselect all bindings they don't actually want, we now let them select the
4148 bindings they do want. So "./configure --with-python" will only build the
4149 python bindings (and will fail if the required tools aren't installed).
4151 * Every wrapped method contains exception handling code. The bulk of this
4152 is now factored out into a single helper function, which cuts the compile
4153 time by around a factor of 3 and halves the size of the stripped library
4154 (figures are for Tcl on x86_64).
4156 * configure: Rework how XAPIAN_CXXFLAGS is passed through so that the user can
4157 override CXXFLAGS in the make invocation like so: make CXXFLAGS=-g
4159 * configure: Bump required SWIG version to 1.3.28 and drop the special
4160 requirement for 1.3.22 for PHP (hurrah!) Note that you don't need
4161 SWIG to install the bindings - SWIG is run by the Xapian developers
4162 so these updated requirements are only relevant if you want to modify
4165 * Eliminate separate Makefile in each examples subdirectory, which makes the
4166 build system simpler, smaller, and a little faster.
4168 * xapian.i: Include default constructors for all classes so that SWIG knows it
4169 doesn't have to use SwigValueWrapper for them, which makes the bindings code
4170 a bit smaller and faster. Also stop SWIG using SwigValueWrapper for
4173 * configure: Document special environmental variables which configure
4174 recognises. Enhance handling of environmental variables so you can
4175 e.g. './configure PYTHON=python23' (previously you had to give a full
4176 path in such environmental variables or they would be ignored.
4182 + Automatically detect the python version.
4184 + Rename "php4" references to "php".
4186 + Automatically detect the PHP extension directory.
4188 + Relax Tcl requirement to >= 8.1, since that's what we actually require.
4190 + Add support for "--without php" and --without tcl8" options to rpmbuild.
4194 * configure: On Mac OS X, ensure MACOSX_DEPLOYMENT_TARGET is set to at least
4195 10.3. This is required to link the bindings, and it doesn't seem to be
4196 possible to link them on 10.1 or 10.2 anyway.
4198 * configure: Add -lstdc++ to XAPIAN_LIBS if we're using GCC. OpenBSD needs it
4199 to be explicitly specified and libtool correctly handles platforms where it
4200 would have been implicitly linked with anyway.
4202 * Try to enable PHP bindings to build out of the box on cygwin (needs testing).
4204 * configure: Add missing ";;" on the last alternative in some case statements.
4206 * Only pass -no-undefined on platforms where it is required in order to link a
4207 shared library at all (it causes problems on Mac OS X in some cases).
4211 * This release includes a lot of improvements for the C# bindings. They're
4212 now pretty much on a par with the other language bindings.
4214 * Added documentation and examples.
4216 * Method and function names are now renamed to match C# conventions
4217 (e.g. from get_description() to GetDescription()). This is obviously an
4218 incompatible change, but the C# bindings haven't been suitable for real world
4219 use prior to this release.
4221 * Optional parameters are now wrapped so no longer need be specified
4224 * Overload ++ and -- for iterators.
4226 * Overload == and != for iterators. Now comparisons with the end iterator
4227 work as expected, and SmokeTest passes.
4229 * SmokeTest now reports exceptions verbosely.
4231 * Xapian::InMemory::open() is now wrapped as Xapian.InMemory.Open(), and
4232 similarly for other database factory functions.
4234 * Heed compatibility warnings from mcs and use different forms for
4235 command-line switches to the C# compiler (presumably for compatibility with
4236 Microsoft's compiler, though the warnings don't actually say that
4241 * Rewrote guile/util.i. The old version caused SWIG warnings and wasn't
4242 zero-byte safe. The guile bindings are still a long way from actually
4247 * Wrap optional second parameter (query length) to Enquire::set_query().
4249 * configure now probes for the Java path separator, which we then use to
4250 separate entries in the java -classpath command line option so we can
4251 build on platforms where it isn't ":".
4253 * SmokeTest.java: Expand to test more features.
4257 + Note that the bindings work with the Eclipse javac and GIJ 4.0.1.
4259 + Add note about how wrapped methods are named.
4261 * Query.java: OP_* code 9 no longer exists, so add it to those rejected by the
4264 * Query.java: Comment out unused code.
4266 * Fixed memory leak in Query-from-array-of-strings constructor.
4268 * Eliminate the "_errormap" hashmap - we don't need to use RTTI here, since
4269 Xapian::Error subclasses can tell you their typename directly (using
4274 * Some problems with overloaded methods in PHP have been fixed by a major
4275 overhaul of SWIG's PHP support. So we no longer rename such methods
4276 for PHP. This is an incompatible change, but it's easy to update your
4277 PHP scripts (just change new_Query_from_term_pair -> new_Query, etc).
4279 * Previously the documentation and simpleindex.php suggested that you
4280 should call delete_CLASS(). This was incorrect and resulted in a
4281 double-free() in some cases, so we've fixed the documentation and
4282 examples and eliminated the delete_CLASS() wrappers. This is another
4283 incompatible change, but again easy to update for.
4285 * We now support PHP5 as well as PHP4, so the configure test now looks
4286 for either and all references to "PHP4" or "php4" have been adjusted.
4288 * PHP5 supports exceptions, so throw exceptions under PHP5. For PHP4
4289 we now handle DocNotFoundError and FeatureUnavailableError by issuing a
4290 warning and making the method return "Null". This isn't ideal, but it's
4291 the best we can easily do without proper exceptions.
4293 * For the smoketest, instead of using "$(PHP) -c $(srcdir)" and having an
4294 empty php.ini in srcdir (which we were failing to distribute anyway), use
4295 "$(PHP) -n" which tells PHP not to use any php.ini file.
4297 * Update PHP documentation to include new features.
4299 * Redo Xapian section in phpinfo() to look more like most other modules.
4301 * You can now construct a Query object from an array of strings or Query
4302 objects (or even a mixture).
4304 * PHP examples now give a more useful error message if a database can't be
4307 * smoketest.php: Expanded the tests performed, including feature tests for
4308 the new Query-from-list constuctor.
4310 * simplesearch.php: Use newly wrapped Query-from-list constructor.
4312 * Use std::string::data() instead of c_str() as it may be more efficient for
4313 some STL implementations.
4315 * Enquire::get_matching_terms() now generates the PHP list directly from the
4316 TermIterator rather than constructing a temporary C++ std::list, which is
4317 faster and requires less temporary memory.
4321 * The Python constructor xapian.Query(OP, LIST_OF_STRINGS [, PARAM]) works
4322 once again (it has been broken since 0.9.0). Added a regression test to
4323 help keep this working.
4325 * Enhance the above constructor to accept any Python sequence (e.g. a tuple
4326 instead of a list). Also the sequence can contain xapian.Query objects or
4327 strings or a mixture. Documented these enhancements.
4329 * smoketest.py: Expanded the tests performed.
4331 * Convert C++ strings to python ones in a zero-byte clean way.
4333 * Added more error checking of the results of calls into the python
4336 * If using GCC, compile the python bindings with -fno-strict-aliasing (python
4337 itself is compiled with this option to avoid problems and it appears we ought
4338 to use it too to avoid the risk of hitting the same problems, although I'm
4339 not aware of anyone actually encountering such problems).
4341 * When making xapian.pyc, "import _xapian;" before we "import xapian;" to
4342 avoid creating a broken xapian.pyc is the shared library can't be loaded for
4345 * Enquire::get_matching_terms() now generates the Python list directly from the
4346 TermIterator rather than constructing a temporary C++ std::list, which is
4347 faster and requires less temporary memory.
4351 * Terms with a leading underscore now work (thanks to changes in SWIG).
4353 * Implement custom typemaps for Tcl, so that you can now construct a Query from
4354 a list of Query objects and/or strings, and Enquire::get_matching_terms is
4357 * simplesearch.tcl: Use the new Query from list constructor.
4359 * simplesearch.tcl: Fix to lowercase and stem query terms.
4361 * simpleindex.tcl: Tweak regex to not tokenise "foo--bar" as "foo-" and "bar".
4363 * simpleindex.tcl,simplesearch.tcl: Need explicit "xapian::" on constants.
4365 Xapian-bindings 0.9.2 (2005-07-15):
4369 * Added wrappers for new optional flags argument to QueryParser::parse_query().
4373 * Enhance configure to check that "mcs" is actually GNU Mono mcs and not
4374 another tool with the same name.
4378 * Include SmokeTest.java in the distribution so "make check" works.
4380 * Added success report for Sun java 1.4.1_01a.
4384 * When converting a python list to vector<string> we know the number of elements
4385 so reserve that number in the vector.
4387 Xapian-bindings 0.9.1 (2005-06-06):
4391 * Releases are now created using libtool 1.5.18 and automake 1.9.5.
4395 * Updated documentation to include information from Michael Schlenker about how
4396 to delete a database object such that the destructor gets called.
4398 Xapian-bindings 0.9.0 (2005-05-13):
4402 * Updated SWIG-based bindings to latest Xapian API
4404 * Improve support for building the bindings on MS Windows:
4406 + Provide stub versions of any backend functions which are disabled in the
4407 library we're wrapping to avoid a link failure on MS Windows (where the
4408 remote backend is automatically disabled). These stubs just throw
4409 Xapian::FeatureUnavailableError.
4411 + Add -no-undefined to *_la_LDFLAGS.
4413 + Use $(PATH_SEPARATOR) or Python's os.pathsep instead of ':' where
4416 + For python, paths for finding headers and installing libraries are now
4417 handled so they work on MS Windows; an extra static library needs to be
4420 * Wrap the Muscat36 Database factory functions (easy to do now we have stubs
4421 for disabled backends).
4423 * Don't wrap MSet::max_size() as it's there for STL compatibility rather than
4424 being useful functionality.
4426 * configure: Fix all SWIG warnings and pass -Werror to SWIG so any which get
4427 introduced in future get fixed.
4429 * configure: Fix version test to allow for _svn6789 suffix which SVN snapshots
4432 * Generate SWIG bindings with SWIG 1.3.24 (except for PHP which we still use
4433 1.3.22 for as more recent versions don't work with methods with optional
4434 arguments - the arguments become non-optional!)
4438 * configure: Disable guile by default, as it needs more work.
4442 * Updated to compile against 0.9.0 API.
4444 * Added missing make rule to build SmokeTestWrap.class to "make check" works.
4446 * Wrap optional parameters to Query(term) constructor.
4450 * For PHP4, rename default Database constructor to Database_empty
4451 instead of suppressing the much more useful Database(const string &path)
4454 * Use a blank config file when running PHP4 tests to avoid problems
4455 when the bindings are already installed as an extension which is
4456 loaded automatically in the default config.
4458 * configure.ac: If configure can't find the PHP interpreter (as php4 or php),
4459 it probably just means it's not in PATH. We only need it for running tests,
4460 so substitute a trivial shell script which just exits with code 77 so PHP
4461 tests are skipped (previously we substituted "missing" which caused the tests
4466 * Added Python-style iterators ESetIter, TermIter, PostingIter, PositionIter,
4469 * configure: If python is found, also check that Python.h exists (it may not be
4470 if the python-dev package (or similar) isn't installed).
4472 Xapian-bindings 0.8.5.1 (2005-02-23):
4476 * configure: Run compiler feature tests using the C++ compiler, not the C
4479 * Allow bindings version to have an extra "patchlevel", yet still match with
4480 corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
4484 * Added a missing .java source file and removed several unused ones.
4486 * Fixed several glitches in the java bindings automake build system.
4488 * Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
4489 warnings in generated code (we were carefully passing "-Wunused"
4490 which is the opposite of what is needed!)
4492 * Fixed a couple of warnings from GCJ.
4494 * Wrapped a few missing methods added since Eric created the bindings. There
4495 are still some missing methods - there's now a (probably incomplete) list in
4498 * Added various useful bits of information to java/README.
4500 * Tweaked SimpleSearch.java to be more like the C++ version.
4504 * 0.8.5 was generated with SWIG 1.3.24, but PHP support is broken there so
4505 we now generate the PHP bindings with SWIG 1.3.22 and everything else with
4506 a more recent version.
4508 * configure: Check for "php" as a program name as well as "php4", and
4509 fall-back to missing so the error message from "make check" is better.
4511 Xapian-bindings 0.8.5 (2004-12-23):
4515 * INSTALL: Added non-generic installation instructions.
4519 * Fixed bytecode compilation of xapian.py. xapian.pyc was being generated in
4520 the same directory as xapian.py, but Makefile.am was looking in current
4521 directory when installing it. Additionally, VPATH builds were broken.
4522 These problems were introduced by changes in 0.8.4.
4524 Xapian-bindings 0.8.4 (2004-12-08):
4528 * README: Now clearly says which languages we currently support, which people
4529 are working on, etc.
4531 * Instead of requiring the user to have a really recent SWIG installed, ship
4532 the files SWIG generates. Disable all the SWIG rules unless configure is run
4533 with --enable-maintainer-mode to make sure they aren't triggered accidentally
4534 (e.g. by make with dodgy VPATH).
4536 * configure: Require SWIG 1.3.22 or higher (but note that SWIG is no longer
4537 needed if you just want to install the bindings).
4539 * Wrap the new Database and WritableDatabase constructors which replace
4542 * It turns out that we do need to wrap MSet::MSet() (wrapping removed in 0.8.2)
4543 (for example, simpleexpand.py needs it).
4545 * In the Query constructor which takes a vector of terms, only call set_window
4546 if window is non-zero. Otherwise things go wrong if we're passed an empty
4549 * Second argument to Document::add_posting() isn't optional, but xapian.i
4550 indicated that it was.
4552 * xapian.i: Added wrappers for Xapian::Weight and standard subclasses.
4553 Deriving your own weight class in the scripting language isn't currently
4556 * xapian.i: %name is deprecated, so use %rename instead. This also works
4557 around a bug in SWIG 1.3.23.
4559 * configure: Removed pointless probe for a C compiler - everything we compile
4562 * configure: Reinstated the check that the bindings version matches the version
4563 of the xapian library. It was added in 0.8.2, but accidentally removed in
4566 * Use newly added option `xapian-config --swigflags` which (a) avoids always
4567 passing -I/usr/include which could cause problems if we're using a Xapian
4568 install not in /usr and there's another one in /usr and (b) avoids problems
4569 if `xapian-config --cxxflags` contains flags other than -I<something>.
4573 * Richard Boulton has put together bindings for C#. These build successfully
4574 with the Mono tools, but the smoketest currently fails. Unclear if the
4575 problem is the bindings or the smoketest code.
4579 * The guile bindings now build successfully, so we've enabled the guile
4580 detection machinery in configure. They're untested though (we don't
4581 know guile!) so success or failure reports are encouraged!
4585 * Mention the example scripts near the start of the documentation, not right at
4588 * Remove documentation explicitly saying how we wrap Xapian::QueryParser and
4589 Xapian::Stem since we wrap them exactly as we wrap everything else we don't
4594 * Make overloaded Query(Query::op, vector<string>*, termpos) constructor
4597 * Changed examples to use the newly wrapped Query from list of terms ctor.
4599 * Mention the example scripts near the start of the documentation, not right at
4602 * python/Makefile.am: Added xapian_wrap.h as a target for the rule which runs
4605 * Remove documentation explicitly saying how we wrap Xapian::QueryParser and
4606 Xapian::Stem since we wrap them exactly as we wrap everything else we don't
4609 * Mention simpleexpand example in documentation.
4611 * Examples now report messages for Xapian exceptions.
4613 * Removed MAX_PROB_TERM_LENGTH from example scripts which don't use it.
4615 * Make the example MatchDecider exclude documents matching a value, rather than
4616 a term. The latter is a very inefficient way to do what AND_NOT does, and we
4617 don't want examples to mislead like that.
4619 * python/docs/bindings.html: Note that you can construct a query
4620 from a list of terms, even if you can't from a list of queries.
4621 Add HTML links to the examples.
4623 * simpleindex.py: Trim spaces from the start as well as from the end of each
4624 line. Simplify the loop slightly.
4628 * Wrap in a tcl8 namespace "Xapian".
4630 * Added a smoketest.
4632 * Translated simpleindex and simplesearch into Tcl.
4634 * Set the Tcl package version.
4636 * Create pkgIndex.tcl so the package can be loaded in the usual Tcl way.
4638 * Install in "xapian<VERSION>" directory in the conventional Tcl way.
4640 * Added documentation for tcl8 bindings.
4642 * Use the TCL_STUBS mechanism so that compiled extensions are portable between
4643 different versions of Tcl. This needs Tcl 8.1, so bump the required Tcl
4646 * configure.ac: Noted that the bindings can easily be compiled for use with
4647 Tcl 8.0, in case anybody needs that for some reason.
4649 * Don't wrap the factory functions which return a quartz WritableDatabase as
4650 the destructor never gets called so changes aren't flushed and the lock file
4653 Xapian-bindings 0.8.3 (2004-09-20):
4657 * Fixed mismatching versions of libtool used to produce configure and
4658 ltmain.sh. The obvious symptom was ".so" missing from the shared object
4661 * RPM spec file contributed by Fabrice Colin. Currently this packages Python,
4662 PHP4, and Tcl bindings.
4666 * Pass -classpath to javac to fix build problems.
4668 * Make sure errors subdirectory is built before we try to build the jar file.
4670 * Fixed "make install" to not give libtool error.
4674 * Include PHP4 documentation and exmples in the tarball.
4676 * Reverted "Use special SWIG PHP ldflags when linking the PHP glue library."
4677 change from 0.8.2 - it turns out we only need to pass these flags if we use
4678 swig's -noruntime option (which we don't do).
4682 * Use swig's -modern switch for Python 2.2 and up - it gives cleaner, leaner,
4683 faster Python wrapper code.
4687 * Don't install xapian.la.
4689 * Improved configure check for tcl.h to work with Fedora Core 2.
4691 Xapian-bindings 0.8.2 (2004-09-13):
4695 * Added wrappers for recently added methods: ESet::back() and
4696 Database::get_lastdocid(), and wrap the new optional third parameter
4697 to Enquire::set_sorting().
4699 * No longer wrap MSet::MSet() - it's not of use in scripting languages.
4701 * Wrap operator-- as prev() for MSetIterator and ESetIterator.
4703 * Wrap Quartz, InMemory, and Remote database factory functions as
4704 quartz_open(), inmemory_open(), and remote_open().
4706 * Added missing wrappers for static Stem::get_available_languages() and
4707 Stem::get_description().
4709 * Wrap renamed method Query::empty() (was Query::is_empty()).
4711 * Remove renaming of other empty() methods to is_empty() (but keep is_empty()
4712 as an alias for now).
4714 * Require autoconf 2.59 and automake 1.8.5.
4716 * configure: Added check that the bindings version matches the version of
4719 * configure: Check if we're using GCC and only pass GCC specific warning
4720 control options if we are.
4722 * configure: When running with GCC, also pass -Wno-uninitialized so the
4723 SWIG glue builds without warnings.
4725 * README: Updated list of languages which SWIG supports.
4729 * Document that the 2 argument form of Xapian::Auto::open() for opening a
4730 writable database is wrapped as open_writable() (bug #32).
4732 * Include Xapian version in output from phpinfo().
4734 * Build the SWIG glue library like we build the others rather than using
4735 SWIG's -phpfull option. This avoids problems with newer automake versions
4736 and means we can build against an uninstalled xapian library.
4738 * Corrected documentation to refer to Xapian::DB_* not Xapian::Auto::DB_*.
4739 Fixed documentation of how Xapian::Query::OP_* are wrapped.
4741 * Use special SWIG PHP ldflags when linking the PHP glue library.
4743 * simplesearch.py now works with multi-term queries.
4745 * Added documentation on how to install the PHP4 bindings.
4747 * Added a simple testcase to at least ensure the PHP4 bindings can be
4748 initialised and some simple operations work.
4752 * configure: Now checks for Python >= 2.1 which we need for __cmp__ and __eq__.
4754 * Don't install _xapian.la and _xapian.a.
4756 * Byte compile xapian.py to xapian.pyc and install it.
4758 * Suppress SWIG warning about MatchDecider::operator() director discarding
4761 * "make clean" no longer leaves "xapian_wrap.h" behind.
4763 * Added a simple testcase to at least ensure the python bindings can be
4764 initialised and some simple operations work.
4768 * configure: Disable building tcl8 bindings if the headers are missing
4769 (probably because the tcl8.X-dev package isn't installed).
4771 Xapian-bindings 0.8.1 (2004-06-30):
4775 * configure: Require SWIG 1.3.20 or higher (previously was 1.3.14).
4777 * Add "-I/usr/include" to the swig line. This is needed when xapian is
4778 installed with a prefix of /usr, since "xapian-config --cxxflags" carefully
4779 doesn't emit -I/usr/include in this situation (because it causes problems
4780 with some GCC versions).
4782 * Fixed the %exception handler to cover all the exceptions Xapian can throw,
4787 * Removed wrappers for unused error classes which have been pruned from C++.
4789 * Make finalize() methods of Database and WritableDatabase public so they can
4790 be called from by the user.
4792 * Document Document.add_term_nopos() as deprecated.
4796 * Make sure that PHP bindings build a module which exports get_module() so PHP
4799 * Configure now checks that phpize can actually be run, rather than just that
4800 it's executable (test -x isn't portable anyhow).
4802 * Added basic documentation and examples to PHP4 bindings.
4804 * Rename overloaded methods and constructors.
4806 * Add simple access to the prefixes map in QueryParser.
4808 * Correct simpleindex ports to never generate empty termnames.
4812 * configure: Use $PYTHON instead of python when running python to determine
4813 library and include paths and version number.
4815 * Actually ship python examples and documentation.
4817 Xapian-bindings 0.8.0 (2004-04-20):
4819 * README: Started collecting information on supporting Xapian from even
4822 * Added configure tests to enable bindings only where the necessary tools
4823 are installed and have a supported version. ./configure --without-LANGUAGE
4824 allows particular languages to be forcibly disabled.
4826 * Added Xapian::Document::add_term() - the new name for add_term_nopos().
4828 * A couple of Xapian::Query constructors weren't being wrapped - fixed.
4830 * Added Eric B. Ridge's JNI bindings for Java. The JNI bindings themselves
4831 have been well tested, but integration with the xapian-bindings configure
4832 system hasn't been tested at all - please alert us to any problems.
4834 * Xapian can now be used from TCL.
4836 * Python: MSet now provides a Python iterator.
4838 * Python: OMMSET_* and OMESET_* renamed to MSET_* and ESET_*.
4840 * Python: enable directors for MatchDecider, to allow subclassing in Python.
4842 * Python: Added basic documentation, and some examples.