Update to latest config.guess and config.sub
[xapian.git] / xapian-bindings / NEWS
blob690ac1e2f2277cfda06310f4c7e38abbea30f29d
1 Xapian-bindings 1.4.21 (2022-09-22):
3 Documentation:
5 * Consistently say "macOS" not "Mac OS X", "OS X", etc.
7 General:
9 * Update to use AX_CXX_COMPILE_STDCXX which is a replacement for
10   AX_CXX_COMPILE_STDCXX_11 (which we were using) which also supports newer C++
11   standards versions which will be useful.  For C++11 the only difference seems
12   to be that the macro now checks for attribute support - we use C++11
13   attributes so that seems a good thing.
15 Portability:
17 * Drop special handling of MACOSX_DEPLOYMENT_TARGET.  This was only relevant
18   for macOS 10.3 and (for powerpc only) 10.4, and Apple dropped support for
19   10.4 in 2009.
21 Java:
23 * Document where to install .jar on macOS. Partly addresses #774, reported by
24   Ryan Schmidt.
26 Xapian-bindings 1.4.20 (2022-07-04):
28 General:
30 * Enable -fvisibility-inlines-hidden option if the compiler supports it.
32 PHP7:
34 * Add missing reference tracking. XapianEnquire now keeps a reference to the
35   current XapianSorter object (if any).  XapianQueryParser now keeps a
36   reference to any set XapianFieldProcessor objects.  Test coverage for keeping
37   references to set functor objects is now more comprehensive.
39 * smoketest.php: Remove bogus extra null parameters.  PHP ignores these extra
40   parameters, but it's more helpful to be testing valid usage.
42 Python3:
44 * The configure probes for Python3 no longer use the deprecated distutils and
45   imp modules (both of which are slated for removal in Python 3.12).  We now
46   use sysconfig to get the directory to install the xapian module to, which may
47   result in it being installed in a different place (it should still work, but
48   if you're packaging the bindings you may need to update the list of files to
49   include in the package).
51 Xapian-bindings 1.4.19 (2021-12-31):
53 Documentation:
55 * configure: Add missing AC_ARG_VAR for all programs so that they are
56   documented in --help output, and so that autoconf knows they are "precious"
57   and preserves them if configure is rerun even when they're specified via an
58   environment variable.
60 General:
62 * Replace uses of obsolete autoconf macros, fixing warnings if configure is
63   regenerated with a recent release of autoconf.
65 Perl:
67 * Add missing wrappers for some QueryParser FLAG_* constants.
69 * Fix incorrect formatting in the processed POD documentation due to missing
70   escaping of `>` in code snippets.
72 PHP:
74 * Make configure PHP5 version check more robust.  Previously it would have
75   incorrectly accepted any (future) PHP version >= 10.0.0.
77 PHP7:
79 * configure: We now reject PHP8 since it isn't currently supported
80   by a released version of SWIG.  SWIG 4.1.0 will supports PHP8.
82 * configure: Check for php-config7.4 as well as earlier 7.x versions
83   and php-config.
85 Python3:
87 * Fix deprecation warnings with Python >= 3.9.
89 * Remove more files/dirs on "make clean".  Reported by Gaurav Arora.
91 Ruby:
93 * Fix build with Ruby 3.0 and clang. Reported by Eduard Panov on macos, where
94   clang is the default compiler.
96 * Improve markup in Ruby bindings docs.
98 Xapian-bindings 1.4.18 (2021-01-14):
100 Portability:
102 * Support macOS 11.0 - AC_CANONICAL_HOST identifies this as darwin20, which
103   wasn't caught by our glob pattern.  Patch from FX Coudert in
104   https://github.com/xapian/xapian/pull/319
106 CSharp:
108 * Wrap const std::string* parameters to accept a string or null in C#.  See #204.
110 Java:
112 * Wrap const std::string* parameters to accept a String or null in Java.
114 Perl:
116 * Fix minor documentation typo.
118 Xapian-bindings 1.4.17 (2020-08-21):
120 * No user-visible change except for bumping the version to indicate
121   compatibility with Xapian-core 1.4.17.
123 Xapian-bindings 1.4.16 (2020-06-08):
125 General:
127 * Remove code to support SVN snapshots since we stopped using SVN more than 5
128   years ago.
130 * Ignore overloads for logical ops, *, /.  These were already ignored for
131   several languages, and aren't actually usefully wrapped for any of the other
132   languages.
134 CSharp:
136 * Work around mono terminfo parsing bug in more cases.  With this, "make",
137   "make check", "make install" and "make uninstall" all work on Ubuntu 18.10.
138   Patch from Dipanshu Garg, fixes https://github.com/xapian/xapian/pull/287 and
139   #801.
141 Lua:
143 * Allow passing a Lua function as a MatchSpy.  This was supposed to be
144   supported already, but the typemaps weren't set up.
146 * On platforms where sizeof(long) is 4, SWIG was wrapping Xapian::BAD_VALUENO
147   as a negative constant in Lua, which was then rejected by a check which
148   disallows passing negative values for unsigned C++ types.  We now direct SWIG
149   to handle Xapian::valueno as double (which is what numbers in Lua usually
150   actually are) which gives us an unsigned constant, and also eliminates the
151   negative value check.
153 * Correct documentation - get_description() is wrapped as tostring() in Lua,
154   not str() as we previously claimed.
156 * Add test coverage for passing Lua function for a Stopper.
158 Perl:
160 * Resolve the remaining issues and remove the "experimental" marker:
162   + Add search_xapian_compat() function which sets up aliases in the
163     Search::Xapian namespace to aid writing code which uses either
164     Search::Xapian or this module.
166   + Allow passing Perl sub for simpler Xapian functor classes.  This fills in a
167     missing feature compared to Search::Xapian.  See #523.
169   + Remove useless PerlStopper class which was an incomplete copy of the
170     apparently non-functional Search::Xapian::PerlStopper.  We now support
171     passing a Perl sub for a Stopper object.
173   + Adjust some method names to match Search::Xapian.  Iterators now support
174     inc() (and dec() where the C++ class supports operator--) like
175     Search::Xapian, rather than increment() and prev().  Reported by Eric Wong
176     in #523.
178   + Drop undocumented and unexpected extra equals() method.
180   + Provide compatibility with ENQ_ASCENDING, etc constants.  SWIG wraps these
181     as $Xapian::Enquire::ASCENDING, which better matches the C++ API, but
182     Search::Xapian wraps this as Search::Xapian::ENQ_ASCENDING, etc so provide
183     those too for compatibility.  Reported by Eric Wong in #523.
185   + Drop stringification and int conversion overloads.  These seem more
186     confusing than helpful, and overloading stringification works badly
187     with SWIG-generated bindings.
189   + Document remaining known differences from Search::Xapian.
191 * Update recently tested versions in README.
193 * Improve documentation.
195 * Fix t/02pod.t to look for files in right directory.
197 Ruby:
199 * Don't print iterator sizes to stdout.  This was some debugging accidentally
200   left in as part of a change in 1.4.12.  Patch from Dan Callaghan.
202 Xapian-bindings 1.4.15 (2020-02-24):
204 Perl:
206 * Improve comment about App::Prove.
208 Ruby:
210 * Support Ruby 2.7.
212 Xapian-bindings 1.4.14 (2019-11-23):
214 Python:
216 * Remove broken replicationtest.py.  It's never worked reliably, and because
217   of that was disabled shortly after being added over a decade ago.
218   Unsurprisingly it's bit-rotted at least a bit since.  Nobody seems interested
219   in fixing it, so it's time to just get rid of it.  Closes #320.
221 Python3:
223 * Remove broken replicationtest.py.  It's never worked reliably, and because
224   of that was disabled shortly after being added over a decade ago.
225   Unsurprisingly it's bit-rotted at least a bit since.  Nobody seems interested
226   in fixing it, so it's time to just get rid of it.  Closes #320.
228 Xapian-bindings 1.4.13 (2019-10-14):
230 General:
232 * Omit SWIG exception handling for destructors.  Since C++11, destructors can't
233   throw by default and we don't override that default, so there's no point
234   adding exception handling code for them.
236 * Ensure doccomments.i is distributed.  If you unpacked a distribution tarball,
237   configured it and then ran "make dist" python/doccomments.i and
238   python3/doccomments.i would be missing unless you configured the tree with
239   --enable-maintainer-mode.
241 PHP:
243 * Check for php-config5.6 and php-config5.5 in configure as these versioned
244   names are used in some packages (such as those from the ondrej/php PPA).
246 PHP7:
248 * Work around build failure on Illuminos.  Fixes
249   https://trac.xapian.org/ticket/793, reported by Amitai Schleier.
251 Ruby:
253 * smoketest.rb: Use #push not #append on Array to restore compatibility with
254   Ruby < 2.5 (broken by changes in 1.4.12).
256 * Expand tabs in Ruby code since using spaces for indentation seems to be
257   preferred Ruby style.
259 * Remove trailing `;` from Ruby code.
261 Xapian-bindings 1.4.12 (2019-07-23):
263 Documentation:
265 * Update bindings HACKING document.  Reported as out of date by Niwesh Gupta.
267 CSharp:
269 * Work around mono terminfo parsing bug - older cli-sn fails with e.g.
270   TERM=xterm-256color due to: https://github.com/mono/mono/issues/6752
271   Encountered on Kubuntu 18.10 and debugged by Tejasvi Tomar.  Seems to be
272   fixed in the mono version in Debian buster.
274 Perl:
276 * Suppress warnings from older Perl headers due to use of constructs which look
277   like C++11 user-defined literals.  They're fixed in newer versions so they're
278   just noise in our build.  We were working around these in the CI build, so
279   drop that workaround as we want to make the build warning-clean for users
280   too.  Reported by daniel93 on #xapian.
282 Python3:
284 * Fix build for changes in Sphinx 2.0 (which drops support for sphinx.main()).
285   Fixes #778, reported by karolyi.  Also reported by Gaurav Arora.
287 * We now throw UnicodeEncodeError for bad Unicode string input.  Previously
288   cases such as a lone surrogate would be handled by quietly skipping the bad
289   codepoints when converting to UTF-8 to pass to Xapian.
291 * We no longer use the deprecated old-style Py_UNICODE API, which currently
292   gives deprecation warnings and is slated to be removed in Python 4.0.
294 Ruby:
296 * Add support for block iteration.  All the iterator methods in the Ruby API
297   now accept an optional block.  If no block is given an array is returned so
298   existing code will still work.  Partly based on a patch in
299   https://github.com/xapian/xapian/pull/232 from Cong Ding.
301 * Add missing wrappers for all the C++ methods returning iterators which
302   weren't wrapped for Ruby.  Fixes #777, reported by do.
304 * Suppress warnings from Ruby 2.3 headers due to use of register and
305   constructs which look like C++11 user-defined literals.  They're fixed in
306   newer versions so they're just noise in our build.  We were working around
307   these in the CI build, so drop that workaround as we want to make the build
308   warning-clean for users too.  Reported by daniel93 on #xapian.
310 * smoketest.rb: Don't leave temporary databases behind in /tmp.
312 Xapian-bindings 1.4.11 (2019-03-02):
314 CSharp:
316 * Make MatchAll and MatchNothing readonly.
318 Java:
320 * Simplify load-time setup of Query.OP_OR, etc which are provided for
321   compatibility with the original hand-written JNI bindings.
323 PHP:
325 * We now load the module for "make check" using -d extension=xapian which
326   avoids needing to turn off safe_mode and turn on enable_dl, and matches how
327   the module is usually loaded in production use.
329 PHP7:
331 * Fix access to already released memory during PHP module shutdown, which often
332   didn't cause visible problems, but could result in segmentation faults, bus
333   errors, etc.
335 * Fix generated code to compile when using a ZTS-enabled build of PHP.
337 * We now load the module for "make check" using -d extension=xapian which
338   avoids needing to turn off safe_mode and turn on enable_dl, and matches how
339   the module is usually loaded in production use.
341 Xapian-bindings 1.4.10 (2019-02-12):
343 Documentation:
345 * Use https for URLs where supported.
347 General:
349 * Wrap new DatabaseClosedError and DatabaseNotFoundError exceptions.
350   See #772 and #773.  Patches from Vaibhav Kansagara.
352 * Update expected query descriptions in tests for the xapian-core
353   change to produce flatter Query trees.
355 * Workaround Perl 5.28 -i quirk when postprocessing SWIG-generated code.
356   The commands in question are only run when maintainer-mode is enabled.
358 CSharp:
360 * C++ constant Xapian::BAD_VALUENO is now wrapped without using a getter.
361   This shouldn't affect existing user code.
363 Java:
365 * C++ constant Xapian::BAD_VALUENO is now wrapped as Java constant
366   Xapian.BAD_VALUENO.  The previous Java wrapping as function
367   Xapian.getBAD_VALUENO() is still supported for compatibility with
368   existing code.
370 * Remove redundant std::string initialisation.
372 Lua:
374 * C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
375   an immutable attribute.  This shouldn't affect existing user code.
377 Perl:
379 * C++ constant Xapian::BAD_VALUENO is now wrapped as Perl constant
380   Xapian::BAD_VALUENO.  The previous Perl wrapping as variable
381   $Xapian::BAD_VALUENO is still supported for compatibility with existing
382   code.
384 * Note in the POD documentation that the Error base classes which are abstract
385   in C++ don't have a new method in Perl.
387 PHP:
389 * C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
390   Xapian::BAD_VALUENO.  The previous PHP wrapping as function
391   Xapian::BAD_VALUENO_get() is still supported for compatibility with existing
392   code.
394 * Remove code to work around a SWIG bug which was fixed in 2006.
396 PHP7:
398 * C++ constant Xapian::BAD_VALUENO is now wrapped as PHP constant
399   Xapian::BAD_VALUENO.  The previous PHP wrapping as function
400   Xapian::BAD_VALUENO_get() is still supported for compatibility with existing
401   code.
403 * configure: Check for php-config7.3 and php-config7.2 as well as
404   php-config7.1, php-config7.0 and php-config.
406 * Correct references to PHP5 in PHP7 script comments.
408 * Remove some C code which is no longer needed with PHP7.
410 Ruby:
412 * C++ constant Xapian::BAD_VALUENO is now wrapped as Ruby constant
413   Xapian::BAD_VALUENO.  The previous Ruby wrapping as function
414   Xapian::BAD_VALUENO() is still supported for compatibility with existing
415   code.
417 * We now recommend using String#encode instead of the Iconv class, since the
418   latter is no longer included with Ruby.
420 Tcl:
422 * C++ constant Xapian::BAD_VALUENO is now wrapped as a constant rather than
423   variable which can't be written to.  This shouldn't affect existing user
424   code.
426 Xapian-bindings 1.4.9 (2018-11-02):
428 PHP7:
430 * Fix to build with upcoming PHP 7.3 release, which changes array_init()
431   to not return a value instead of always returning the constant SUCCESS.
432   We were checking this return value but no longer do.
434 Xapian-bindings 1.4.8 (2018-10-25):
436 Perl:
438 * Wrap new STEM_SOME_FULL_POS constant.
440 * Add STEM_ALL_Z to qpstem export tag and POD docs.
442 * Fix Perl bindings documentation typos.
444 Python:
446 * Fix RST formatting warning during build.
448 Python3:
450 * Fix RST formatting warning during build.
452 Xapian-bindings 1.4.7 (2018-07-19):
454 Ruby:
456 * Fix -Wconversion-null warnings with newer GCC.
458 Xapian-bindings 1.4.6 (2018-07-02):
460 Documentation:
462 * Stop using "probabilistic" to mean "weighted" - we've supported other
463   families of weighting schemes since 1.3.2.
465 Packaging:
467 * Use https for tarball URLs in .spec files.  This provides protection against
468   MITM attacks on people building packages using these spec files, and is also
469   slightly more efficient as the http: URLs redirect to the https: versions
470   anyway.
472 CSharp:
474 * Use SWIG_exception() to handle exceptions.  It seems this didn't used to work
475   with older SWIG, but it does with current versions, and using it means that
476   we skip any return value translation logic when an exception has been thrown.
478 Java:
480 * Use SWIG_exception() to handle exceptions.  It seems this didn't used to work
481   with older SWIG, but it does with current versions, and using it means that
482   we skip any return value translation logic when an exception has been thrown.
484 * Fix leaks in binary std::string typemaps.  These are used for document values
485   and serialised data.
487 * Improve VPATH build.  Previously we looked for class files and java sources
488   in srcdir first, then in builddir.  That's backwards from how autotools
489   VPATH builds search for targets and prerequisites so reverse this order to
490   make handling of Java files more consistent.
492 Perl:
494 * Invoke prove via the App::Prove module.  This avoids potentially using
495   prove from a different Perl installation to perl (previously the user
496   needed to manually specify the corresponding PROVE= if they specify PERL= to
497   configure).  In particular this is useful on macOS when using Perl from
498   homebrew.
500 * Improve Perl Enquire::set_docid_order documentation by syncing improvements
501   from the C++ API docs.
503 Python:
505 * Support sphinx >= 1.7 while still working with < 1.7.  Patch from
506   James Aylett.
508 * Suppress clang -Wdeprecated-register warnings about uses register in C code
509   in Python.h.  We can't do anything about these other than suppress them.
511 Python3:
513 * Support sphinx >= 1.7 while still working with < 1.7.  Patch from
514   James Aylett.
516 * Suppress clang -Wdeprecated-register warnings about uses register in C code
517   in Python.h.  We can't do anything about these other than suppress them
518   (and they appear to have been removed in Python 3.4 and later).
520 * Remove unused MSet::__cmp__ extend method.  This was used in Python 2, but
521   Python 3 does things differently.  There doesn't seem a good reason to
522   provide comparison operations for MSet objects, and we don't for other
523   classes, so let's just drop this feature - it seems nobody has noticed it has
524   gone.
526 * Simplify generated wrapper post-processing.
528 Xapian-bindings 1.4.5 (2017-10-16):
530 Documentation:
532 * HACKING: Add details of Debian PHP7 packages to install for development.
534 General:
536 * Use a pattern match to ignore methods meant for internal use only rather
537   than having to list them all - they're consistently named to end with an
538   underscore.
540 * Stop using deprecated Xapian::percent typedef in bindings-specific code.
541   Deprecation warnings are suppressed when building the bindings (because the
542   bindings usually still need to wrap deprecated C++ features) so this probably
543   has no user-visible consequences.
545 Java:
547 * Fix JNI code to be compatible with Java 6 and earlier, where the final
548   parameter of SetByteArrayRegion() was not const.  This also seems to affect
549   GCJ (though GCJ was removed in GCC 7).  The incompatibility was introduced in
550   1.4.4.
552 Lua:
554 * Support subclassing of RangeProcessor in Lua.
556 Perl:
558 * Add CLONE_SKIP to RangeProcessor and subclases to avoid double deletion
559   if the Perl threads module is in use.
561 * Keep references for set RangeProcessor objects, like how we do for
562   ValueRangeProcessor and various other functor objects.
564 * Use RangeProcessor instead of ValueRangeProcessor in perl examples, as
565   ValueRangeProcessor is now deprecated.
567 PHP:
569 * Keep references for set RangeProcessor objects, like how we do for
570   ValueRangeProcessor and various other functor objects.
572 * Add type hints to QueryParser::add_rangeprocessor().
574 PHP7:
576 * Keep references for set RangeProcessor objects, like how we do for
577   ValueRangeProcessor and various other functor objects.
579 * Add type hints to QueryParser::add_rangeprocessor().
581 * Fix PHP7 "make check" to use right path separator.  It was using the PHP5
582   one, which in general is going to be the same but we won't have probed for
583   that unless we're also building the PHP5 bindings, which means "make check"
584   failed for PHP7 unless you also had the PHP5 bindings enabled.
586 Python3:
588 * Fix "make check" under Python 3.2, which was broken in 1.4.4 because Python
589   3.2 doesn't support the u'foo' syntax.
591 * Copy over Python2 check which aims to catch any internal functions, methods,
592   constants, etc which have accidentally been wrapped.
594 Ruby:
596 * Fix dependency generation for Ruby SWIG command (only relevant at all if
597   you configure with --enable-maintainer-mode).
599 Xapian-bindings 1.4.4 (2017-04-19):
601 General:
603 * Update tests for xapian-core changes to avoid unnecessary "0 *" in query
604   descriptions in certain cases.
606 Packaging:
608 * Ship java.i in tarball.
610 Java:
612 * Handle object serialisations and document values as Java byte[].  These will
613   usually contain binary data, so Java String doesn't work well and byte[] is a
614   much better fit.
616 * Correct various errors in java examples and documentation on how to run them.
618 * Fix java examples not to abuse doc values as fields - use the document data
619   instead.
621 * "make clean" now removes additional class files.
623 PHP7:
625 * Update version of SWIG required to >= 3.0.12 so that the code generated
626   for PHP7 no longer results in a segmentation fault on module unload with
627   PHP 7.1.  Fixes #748, reported by Victor Sakovich.
629 Python:
631 * Fix QueryParser methods add_boolean_prefix() and add_prefix() to accept a
632   string for the `grouping` parameter.  Reported by Jameson Graef Rollins in
633   https://bugs.debian.org/849722
635 * Fix configure --with-python to fail if sphinx isn't found.  Patch from
636   Patricio Paez.  Fixes #749.
638 Python3:
640 * Fix QueryParser methods add_boolean_prefix() and add_prefix() to accept a
641   string for the `grouping` parameter.  Reported by Jameson Graef Rollins in
642   https://bugs.debian.org/849722
644 Xapian-bindings 1.4.3 (2017-01-25):
646 Python:
648 * Remove compatibility code for Python < 2.5 - 1.4.x requires Python >= 2.6.
650 * Avoid unnecessary pointer indirection in XapianSWIG_anystring() helper
651   function, which should be a little more efficient and makes the Python 2
652   code more closely match the Python 3 code.
654 Ruby:
656 * "make clean" should only remove docs/xapian.rb if configure option
657   --enable-documentation was used to enable all rules to rebuild documentation.
658   Reported by Samuel Williams on xapian-discuss.
660 * Fix make rule for running rdoc for the cases where srcdir != builddir.
662 * Use 'test a = b' rather than 'test a == b' - the former is portable, the
663   latter a bashism.  In many cases the autotools will set SHELL = /bin/bash in
664   the makefiles, but if it doesn't and /bin/sh isn't bash, then this will
665   cause "make install" and "make uninstall" to fail for the Ruby bindings.
667 Xapian-bindings 1.4.2 (2016-12-26):
669 General:
671 * configure: Fail with clear error with xapian-core < 1.4.0.
673 * Work around OS X "System Integrity Protection".  We can't address the problem
674   of being unable to run tests against an uninstalled tree when the interpreter
675   is in a system directory (you have to "make install" in xapian-core for that
676   case), but we can at least make this work for interpreters which aren't in
677   system directories.
679 Java:
681 * Disable parallel make for java subdirectory as it causes random build
682   failures.  Reported by Lucas Nussbaum in https://bugs.debian.org/848733
684 * Disable automatic use of -Xcheck:jni for now as it seems to report false
685   positives with OpenJDK 8 and 9.
687 PHP:
689 * Generates smaller PHP wrappers by only emitting each unique arginfo
690   combination once (~6% saving in stripped extension module size for
691   PHP7 on x86_64 Linux).
693 * Fix to work again with a version of PHP5 built with ZTS enabled (which is the
694   default on Microsoft Windows).
696 * Add support for PHP7.
698 * Drop workaround for PHP4 from test code.
700 Python:
702 * Handle sphinx-build being a shell script wrapper by invoking sphinx.main()
703   from a command line Python code snippet.  Reported by Alex Dunn in
704   https://github.com/xapian/xapian/pull/126 and solved with help from James
705   Aylett.
707 * Hold python reference to set RangeProcessor objects - until #714 is fixed we
708   need to keep such a reference (as we already do for ValueRangeProcessor and
709   several other classes).
711 Python3:
713 * Handle sphinx-build being a shell script wrapper by invoking sphinx.main()
714   from a command line Python code snippet.  Reported by Alex Dunn in
715   https://github.com/xapian/xapian/pull/126 and solved with help from James
716   Aylett.
718 * Hold python reference to set RangeProcessor objects - until #714 is fixed we
719   need to keep such a reference (as we already do for ValueRangeProcessor and
720   several other classes).
722 Ruby:
724 * Use more conventional Ruby variable names in the examples (Ruby convention
725   uses underscores not camelcase) and fix comma/space transposition in a couple
726   of places.
728 Xapian-bindings 1.4.1 (2016-10-21):
730 Documentation:
732 * Fix --disable-documentation - in maintainer-mode, we still tried to make
733   docs/index.html for most of the bindings, which failed because the rule to do
734   so was disabled.
736 General:
738 * Update for additions to C++ API.
740 * When a backend is disabled in the xapian-core we're building against, we
741   have a stub version of any factory functions so the bindings still have
742   something to wrap.  Update these for 1.4:
743   + Disable stub for InMemory::open() when
744     XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES is defined (Perl, Python3).
745   + Add new optional flags parameter to both overloaded forms of
746     Remote::open_writable().
748 Portability:
750 * Drop compiler options that are no longer useful:
751   + -fshow-column is the default in all GCC versions we now support
752     (checked as GCC 4.6).
753   + -Wno-long-long is no longer necessary now that we require C++11 where
754     "long long" is a standard type.
756 Java:
758 * Use a cleaner technique to insert the Java code to load JNI library into the
759   generated wrapper - we now use "%pragma(java) jniclasscode" instead of using
760   Perl to post-process the generated wrapper.  Suggested by James Aylett.
762 * Run Java tests with -Xcheck:jni if supported, which should help catch any
763   any bugs in the JNI code.
765 * Fix configure to find jni_md.h under Cygwin.  There doesn't seem to be an way
766   to automatically determine the machine-dependent JNI include path, so add
767   another case to use "win32" on Cygwin.  Reported by John Bankert on
768   xapian-discuss.
770 * Add more special cases to find jni_md.h on Cygwin, OS X, *BSD, AIX.
771   There doesn't seem to be an explicit list of these directories anywhere, but
772   grepping the OpenJDK 8 source code finds additional values "darwin" and
773   "aix", *BSD seems to use "bsd", and Cygwin uses "win32" (reported by John
774   Bankert on xapian-discuss).
776 * Generate xapian.jar rather than xapian_jni.jar - the fact that JNI is
777   involved is really just an implementation detail.
779 * SmokeTest.java: Add simple test of subclassing FieldProcessor.
781 Perl:
783 * Merge Perl POD doc improvements from Search::Xapian.  The most notable
784   improvement is a number of methods previously lacking docs now have them.
786 * Fix typo in POD docs for Perl bindings ("outputing" -> "outputting").
787   Reported by knowledgejunkie in #730.
789 Python:
791 * Fix repr() to not return None.  Reported by Stuart Prescott on IRC.
793 * Fix Python2 bindings to work out of the box.  SWIG changed the code it
794   generates for importing the compiled module in a recent version, and
795   the newer code no longer works with the wrapper renamed to
796   xapian/__init__.py.  There's currently no way to configure SWIG to produce
797   what we need so for now we run a "fixup" script over the generated wrapper
798   which replaces the complex import code with a single statement which does
799   what we want.  It also strips out various unneeded code, mostly to do with
800   handling Python 3.x (which we don't need since we have an entirely
801   separate set of bindings for that).  Reported by James Aylett in #731.
802   The way we were importing the bindings to generate the .pyc and .pyo
803   files was masking this problem, so rework that as suggested by James.
805 * Make sphinx docs dependent on SWIG wrapper.  Without this dependency,
806   parallel builds (make -j) may attempt to schedule the sphinx doc build before
807   the relevant wrapper has been compiled and moved into position.  This won't
808   result in a build failure, but will silently omit API docs that sphinx
809   would otherwise include.  Patch from James Aylett.
811 * doxy2swig: Specify encoding when reading doxygen's XML output so UTF-8 in
812   doxygen comments is handled.  Patch from Vivek Pal.
814 * Specify Python2 wrapper encoding is UTF-8.  This is needed when we pick up
815   doxygen comments from the C++ API which contain UTF-8.  For Python3, the
816   default source encoding is UTF-8, so we don't need the equivalent change
817   there.
819 Python3:
821 * Fix repr() to not return None.  Reported by Stuart Prescott on IRC.
823 * Fix Python3 bindings to work out of the box.  SWIG changed the code it
824   generates for importing the compiled module in a recent version, and
825   the newer code no longer works with the wrapper renamed to
826   xapian/__init__.py.  There's currently no way to configure SWIG to produce
827   what we need so for now we run a "fixup" script over the generated wrapper
828   which replaces the complex import code with a single statement which does
829   what we want.  It also strips out various unneeded code, mostly to do with
830   handling Python 2.x (which we don't need since we have an entirely
831   separate set of bindings for that).  Reported by James Aylett in #731.
832   The way we were importing the bindings to generate the .pyc and .pyo
833   files was masking this problem, so rework that as suggested by James.
835 * Make sphinx docs dependent on SWIG wrapper.  Without this dependency,
836   parallel builds (make -j) may attempt to schedule the sphinx doc build before
837   the relevant wrapper has been compiled and moved into position.  This won't
838   result in a build failure, but will silently omit API docs that sphinx
839   would otherwise include.  Patch from James Aylett.
841 * Fix memory leak converting string from Python to C++.
842   XapianSWIG_anystring_as_ptr() was failing to flag the returned value as
843   allocated, so it wasn't being deleted.  Reported by Sean Robinson in #729.
845 Xapian-bindings 1.4.0 (2016-06-24):
847 Documentation:
849 * Mark SWIG-generated Java and Perl bindings as "experimental" until we've
850   had a chance to sort out any remaining changes we want to make.
852 Xapian-bindings 1.3.7 (2016-06-01):
854 Documentation:
856 * Remove long out-dated reference to tinderbox.
858 General:
860 * Use SWIG 3.0.9 to generate the bindings.  There's nothing very important to
861   us in the changes since the git snapshot we were using - mostly this means
862   we're using a released version, which seems preferable.
864 Tcl:
866 * Fix segfault in tcl bindings "make check".  The location of tclConfig.sh
867   wasn't being found, so libtclstub wasn't being linked to, which is required
868   with Tcl >= 8.6.
870 Xapian-bindings 1.3.6 (2016-05-09):
872 General:
874 * Update for changes to the C++ API.
876 * Use WritableDatabase::commit() instead of flush() in testcases, as the
877   latter is now formally deprecated.
879 Java:
881 * Fix syntax error in SmokeTest.java, introduced by the DB_BACKEND_INMEMORY
882   change.  Noted on #xapian-discuss by Aakash Muttineni.
884 * Update Java TODO list.
886 * SmokeTest.java: Port over version checks from SmokeTest.cs.
888 * Update list of recently tested JDK versions.
890 Lua:
892 * Note Lua bindings work with Lua 5.3.
894 Perl:
896 * Explicitly specify POD docs encoding as utf8.  Fixes warning in generated
897   HTML docs.
899 * Convert POD to HTML when building from a source tarball - the conversion
900   code comes as standard with Perl.  In 1.3.5 we were failing to ship the HTML
901   output, as reported by Anthony Basile.
903 * For extra robustness, convert POD to HTML using the bundled Pod::Html module
904   from the Perl interpreter found by configure, rather than assuming pod2html
905   is on PATH, and the right one (this matters more now that it's not just
906   people building from git who build these docs).
908 * Improve Perl bindings POD documentation.
910 * Remove workaround for Perl macro vs C++11 header.  SWIG 3.0.6 and later adds
911   a different workaround to the generated C++ wrapper file, and we require SWIG
912   3.0.8 for a Python fix, so we no longer need our workaround.
914 Python:
916 * Fix "make check" in VPATH build.  Nothing seems to have changed in our build
917   system, so I'm guessing this is now required due to a change in the code SWIG
918   generates.
920 Python3:
922 * Fix "make check" in VPATH build.  Nothing seems to have changed in our build
923   system, so I'm guessing this is now required due to a change in the code SWIG
924   generates.
926 * Fix install location for python3 docs.  They were being install to the same
927   path as the python docs - now the path includes "python3" instead of
928   "python".
930 Ruby:
932 * Increase minimum Ruby version to 2.1, as older versions are no longer
933   supported by the Ruby developers.
935 Xapian-bindings 1.3.5 (2016-04-01):
937 This release includes all changes from 1.2.23 which are relevant.
939 Documentation:
941 * Fix to install docs when not in maintainer-mode.
943 * Note open_stub() is deprecated (most of the bindings already noted this, but
944   now ruby and tcl do too).
946 General:
948 * Update for changes to the C++ API.
950 * PostingSource is now fully wrapped for the bindings.  Fixes #499, reported by
951   Joost Cassee.
953 * Ship swig-depcomp and doxy2swig scripts in the source tarball.
955 * Add installcheck-local make targets for most languages - these run the
956   testsuites using the installed bindings.
958 CSharp:
960 * configure: Stop checking for obsolete mono compiler names - gmcs, smcs and
961   dmcs were all deprecated in Mono 2.11.
963 * configure: Strip out handling of DotGNU - it's been inactive for years, and
964   was officially "decommissioned" in December 2012.
966 * README: Update list of mono versions recently tested with.
968 Lua:
970 * smoketest.lua: Fix to work with newer lua - coercing a number to a string
971   now appends ".0" for whole numbers.
973 Perl:
975 * Run pod2html with explicit --podpath=. - recent versions of pod2html seem to
976   need this to correctly handle references to other Xapian classes.  Reported
977   on #xapian-discuss by HowManny and abhishek_rand0wn.
979 Python:
981 * Run sphinx at build time.  It's an extra tool for people building from source
982   to have to install, but its output is rather large (this change reduces our
983   tar.xz size by ~20%), and its output includes a source-less minified copy of
984   jquery.
986 Python3:
988 * Run sphinx at build time.  It's an extra tool for people building from source
989   to have to install, but its output is rather large (this change reduces our
990   tar.xz size by ~20%), and its output includes a source-less minified copy of
991   jquery.
993 * Fix handling of integer values larger than a C int by bootstraping with a
994   newer version of SWIG.  Fixes #703, reported by Barry Warsaw.
996 * Remove xapian.inmemory_open() - we've deprecated the corresponding C++
997   function, and the Python3 bindings haven't yet had a stable release.
999 Ruby:
1001 * Run rdoc at build time - it is included as part of the Ruby core
1002   distribution, so we can assume it is available if ruby is, and avoid shipping
1003   its rather large generated output in our source tarball.
1005 Xapian-bindings 1.3.4 (2016-01-01):
1007 This release includes all changes from 1.2.22 which are relevant.
1009 General:
1011 * Wrap new and changed features in C++ API.
1013 * PostingSource set_maxweight() is now accessible to the bindings.  Fixes #498,
1014   reported by Richard Boulton.
1016 * configure script now defaults to looking for xapian-config-1.3.  This is now
1017   automatically done for development series (odd middle component of the
1018   version number), but not for stable series (even middle component).  Fixes
1019   #695, reported by Jorge C. Leitão
1021 PHP:
1023 * Make PHP 5.5 the minimum officially supported version, as 5.4 has now reached
1024   EOL.
1026 * In the examples, when iterating an MSet with foreach, don't throw the docid
1027   away as $dummy, put it in $docid and use it - the code looks cleaner, and
1028   this avoids an extra call to C++ to get the docid on each iteration.
1030 Python:
1032 * Drop support for Python 2.5.
1034 Python3:
1036 * Document installation of Python 3 bindings.  Fixes #694, reported by Jorge C.
1037   Leitão.
1039 * Fix testsuite for changes in Python 3.5.  Fixes #690, patch from UsusDei.
1041 * Handle renaming of .pyo to .opt-1.pyc files due to PEP-0488.  Fixes #689,
1042   patch from UsusDei.
1044 * Fix Python 3 version check to accept 3.10.
1046 Xapian-bindings 1.3.3 (2015-06-01):
1048 This release includes all changes from 1.2.20-1.2.21 which are relevant.
1050 Documentation:
1052 * INSTALL: IRIX is past EOL so drop information about IRIX make.
1054 General:
1056 * Add DB_RETRY_LOCK as a constant to wrap.
1058 * Don't wrap Query::LEAF_* - they're for internal use in xapian-core.
1060 * Fix "make install" from a git tree configured with --disable-documentation.
1061   (Fixes #658, reported by Germán M. Bravo)
1063 * Fix "make install" when building from git with --disable-documentation.
1065 * Fix to handle a VPATH build from a tarball when the generated docs will be in
1066   $(srcdir).
1068 * Update testcases for lazy wildcard expansion change in xapian-core.
1070 * Update for addition of XAPIAN_NOEXCEPT.
1072 * Don't wrap internal methods of Xapian::Weight.
1074 Portability:
1076 * Require a compiler with good C++11 support, like xapian-core now does.
1078 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags from newer
1079   doxygen.
1081 * configure: Update check for -fvisibility to match xapian-core's.
1083 CSharp:
1085 * Fix configure test for whether $CLI can run CSharp programs - previously it
1086   would always fail, which would mean that the CSharp tests wouldn't be run on
1087   platforms where CSharp programs can't be run directly.
1089 Java:
1091 * java/docs/examples/SimpleSearch.java: Update to actually build and work.
1093 Lua:
1095 * The Lua bindings are no longer considered to be "experimental" (in reality
1096   they haven't been for some time).
1098 Perl:
1100 * Add a "LICENSE" section to the main POD.
1102 * Add 'use strict' to all testcases, and add missing instances of 'my' that
1103   this change uncovered.
1105 * Wrap new WILDCARD_LIMIT_* constants as constants.
1107 Python:
1109 * Don't release the GIL when constructing a Query object from a sequence of
1110   Query objects and/or strings.
1112 * python/smoketest.py: Add new testcase to catch any internal functions,
1113   methods, constants, etc which have accidentally been wrapped.
1115 Python3:
1117 * The Python3 bindings are no longer considered to be "experimental".
1119 * Don't release the GIL when constructing a Query object from a sequence of
1120   Query objects and/or strings.  (fixes #346)
1122 * python3/pythontest.py: Expand comment about disabling test_import_star under
1123   threads.
1125 Tcl:
1127 * Require Tcl 8.5 as older versions are no longer supported upstream, and this
1128   version added ::tcl::pkgconfig, which makes the configure tests simpler and
1129   more reliable.
1131 * Adjust precedence of the typecheck typemap for wrapping constructing a query
1132   from a Tcl list so that we disambiguate this from the new OP_WILDCARD
1133   constructor correctly.
1135 Xapian-bindings 1.3.2 (2014-11-24):
1137 This release includes all changes from 1.2.16-1.2.19 which are relevant.
1139 Documentation:
1141 * Convert HTML docs to reStructured text.  (Patch from Mayank Chaudhary)
1143 * Update for deprecation of Xapian::Chert::open().
1145 * Update for renaming of "brass" backend to "glass".
1147 * Remove SVN "$Date" placeholders as they aren't expanded by git, and the "last
1148   updated" information isn't all that informative anyway - there can still be
1149   stale information even if the file was updated very recently.
1151 General:
1153 * Releases and snapshots are now bootstrapped using a more recent version of
1154   SWIG (a git snapshot from after the 3.0.3 release).
1156 * configure: Fix SWIG version check to accept 3.x, and update the minimum
1157   accepted version to be what we actually currently want.
1159 * Wrap new C++ API features, and in particular all the new weighting schemes,
1160   the changes to opening databases, and Xapian::Snipper.
1162 * Wrap Xapian::Database::check() for the bindings ignoring the std::ostream*
1163   argument which the C++ API takes.  If opts != 0, then output is sent to
1164   stdout, otherwise no output is produced.
1166 * Object descriptions are now always valid UTF-8. (see #620)
1168 * Provide a SimpleStopper constructor which provides the ability to initialise
1169   from a stopword list in a file.  Based on patch from Assem Chelli.
1171 CSharp:
1173 * README: Note that C# bindings now need .NET 2 or later (because that's what
1174   SWIG-generated code now requires).
1176 Java:
1178 * Add testcase that FLAG_SPELLING is now wrapped in a usable way.  Patch from
1179   Anish Kanchan.  (see #616, reported by "Naveen")
1181 Lua:
1183 * Document that constants can now be accessed using CLASS.CONSTANT as well as
1184   CLASS_CONSTANT.
1186 Perl:
1188 * Move the new SWIG-based Perl bindings into a 'Xapian' module, to smooth the
1189   overlap with the hand-coded XS 'Search::Xapian' module.
1191 * Perl tests are ordering-dependent, so use .NOTPARALLEL to avoid problems
1192   during parallel builds.
1194 * Use croak_sv() or ERRSV if defined.
1196 PHP:
1198 * Make PHP 5.4 the minimum version we officially support, as 5.3 has now
1199   reached EOL.
1201 * Wrap Xapian iterator classes as PHP iterators - requires PHP 5.5 for full
1202   support, under PHP 5.4 you can't use `foreach ($it as $k => $c)`, but
1203   `foreach ($it as $c)` works and allows iterating through the equivalent of
1204   C++ operator* on the iterator.  (fixes#652)
1206 * Fix handling of an exception thrown from a PHP implementation of
1207   FieldProcessor::apply().
1209 * smoketest.php: Add tests of get_eset() with an ExpandDecider and with a min
1210   weight threshold.
1212 * In current PHP releases, dl() is disabled in most SAPIs, and even where
1213   available it will now only look in the configured extension directory.  The
1214   upshot is that there no longer seems to be a sane way to install the PHP
1215   bindings without being root.  Fixes #661, reported by Felix Ostmann.
1217 Python2:
1219 * The python testsuite already tested if any constants weren't marked with
1220   the CONSTANT macro in xapian-headers.i, but the resulting error didn't
1221   clearly point to the actual problem.  Now we report the names of any
1222   such constants.
1224 * In the testsuite, use the xapian.WritableDatabase constructor rather than
1225   chert_open() - that code dates back to when chert was the only disk-based
1226   backend to support valuestreams, but flint was the default backend.
1228 * Fix typo in code to keep a reference to a FieldProcessor object, reported by
1229   Germán M. Bravo in github PR59.
1231 * Generate Python API docs with Sphinx.  (Fixes #138, patch from Assem Chelli)
1233 Python3:
1235 * Python 3 support has been split off into its own subdirectory, and should now
1236   be usable.  3.2 is the minimum supported version currently.  Existing code
1237   will need updating for Python 3, and the wrapped API is necessarily different
1238   in how Unicode is handled, so we've dropped deprecated features (such as
1239   'MSet.items' and 'ESet.items') from the Python 3 bindings.  (see #346)
1241 * Fix typo in code to keep a reference to a FieldProcessor object, reported by
1242   Germán M. Bravo in github PR59.
1244 * Generate Python API docs with Sphinx.  (Fixes #138, patch from Assem Chelli)
1246 Ruby:
1248 * configure: Don't prefer ruby1.8 to ruby when looking for a ruby interpreter -
1249   these days it's more likely to ignore ruby 1.9 or 2.0 rather than avoid
1250   picking ruby 1.6.
1252 Xapian-bindings 1.3.1 (2013-05-03):
1254 This release includes all changes from 1.2.10-1.2.15 which are relevant.
1256 Documentation:
1258 * HACKING: Document Debian packages needed for each language.
1260 General:
1262 * Wrap new C++ API features.
1264 * Use new XAPIAN_NOTHROW markers in C++ API headers to avoid generating
1265   unnecessary exception handling code where we call such functions and
1266   methods.
1268 * Tweak wrapping of Query from list constructor so the needed number of
1269   elements get preallocated.
1271 * Ignore Query(Query::Internal&) constructor, which is for internal use
1272   only.
1274 * For all languages except C# and Java, wrap the functions declared in
1275   xapian/dbfactory.h by getting SWIG to parse the header.  This means we now
1276   wrap the WritableDatabase form of Xapian::Auto::open_stub() for these
1277   languages.
1279 * swig-depcomp: Script which wraps invoking SWIG, tells it to generate
1280   dependencies, and adjusts the generated dependencies to work in our build
1281   system.
1283 * Remove support for 'configure --enable-quiet', 'make QUIET=' and 'make
1284   QUIET=y' - automake now supports 'configure --enable-silent-rules', 'make
1285   V=1' and 'make V=0' which are broadly equivalent and more standard.
1287 * Fix the tests to work with the new automake parallel test driver.
1289 Portability:
1291 * Improve workaround which allows building against an uninstalled xapian-core
1292   on OS X - this should now work with any uninstalled xapian-core (not only in
1293   a tree with the same layout as an SVN or git checkout) and it also won't try
1294   to build against "../xapian-core/.libs" just because it happens to exist.
1295   (Fixes #322)
1297 CSharp:
1299 * configure: The variable to specify the interpreter is now CLI (was MONO, but
1300   didn't actually work properly).
1302 Java:
1304 * Document that we aim to support JDK 1.6 (Java 6) and later.
1306 * Avoid generating a temporary C++ vector of Query objects when constructing
1307   a Query from a Java array of Query objects or a Java array of strings.
1309 * Implement and test MSetIterator, ESetIterator.  Fix PostingIterator,
1310   ValueIterator, and TermIterator.
1312 * Add Enquire.getMatchingTerms().
1314 * Use JAVACFLAGS when running JAVAC to allow extra flags to be specified when
1315   building, e.g. "make JAVACFLAGS=-g".
1317 * java/SmokeTest.java: Avoid using System.err.printf() which fails to compile
1318   with (the rather elderly) ECJ 3.3.1.
1320 Perl:
1322 * Fix PostingIterator wrapper to work.
1324 * Update list of unwrapped things in POD documentation.
1326 * Improve test coverage.
1328 * perl/t/10query.t: Adjust regexp which checks expected error message to work
1329   with Perl 5.16, which adds a '.' after "at foo line 123".  (ticket#610)
1331 * Probe for the test running tool 'prove' in configure.
1333 PHP:
1335 * Avoid using zend_error_noreturn() as it doesn't work with all builds of PHP.
1336   Instead we now wrap it in a SWIG_FAIL() function which we annotate as
1337   "noreturn" for GCC to avoids warnings.  This also reduces the size of the
1338   compiled PHP module by 6%.
1340 * php/smoketest.php: Add more tests of geospatial API.
1342 Python:
1344 * Drop support for Python 2.4.
1346 * python/smoketest2.py: Add more testcases.
1348 * python/smoketest2.py: Improve reporting of test failures for certain
1349   testcases.
1351 * Update Python 3 tests from Python 2 versions using 2to3.
1353 Xapian-bindings 1.3.0 (2012-03-14):
1355 Documentation:
1357 * In maintainer builds, run doxygen to generate XML for the bindings in the
1358   bindings build system, not as a side-effect in xapian-core's.  (ticket#262)
1360 General:
1362 * Wrap new geospatial API.
1364 * Wrap new database checking API.
1366 * Deprecated features scheduled for removal in 1.3.0 have been removed.
1368 * Wrap ExpandDecider even if we don't have director support - there's a
1369   ExpandDeciderFilterTerms subclass which is useful in itself, though it still
1370   needs some typemap work to actually get it usefully wrapped.
1372 * configure:
1374   + Add --disable-visibility option to match xapian-core.
1376   + Add -fshow-column for GCC.
1378   + Don't put -Werror in SWIG_FLAGS - instead put it in a new SWIG_WERROR
1379     variable, so that it's easy to override it if you're getting a new warning
1380     from SWIG but want to just ignore it for the time being.
1382 * Exception handling now uses Error::get_description() rather than get_type +
1383   ": " + get_msg().  In many cases this is the same, but if context or errno
1384   are available, get_description() includes them.  Catch and report
1385   std::exception rather than handling it as an unknown error (so in particular
1386   std::bad_alloc will now be reported more helpfully).
1388 CSharp:
1390 * Avoid generating unwanted wrapper sources
1391   SWIGTYPE_p_std__vectorT_std__string_t.cs and
1392   SWIGTYPE_p_std__vectorT_Xapian__Query_t.cs.
1394 Java:
1396 * The hand-coded JNI Java bindings have been removed and the SWIG-based Java
1397   bindings promoted in their place.  This means almost the entire C++ API is
1398   now wrapped for Java, but the downside is there are some changes required
1399   to existing code.  Overall we feel the short-term pain is worth the long
1400   term benefits of having Java bindings which stay up to date.
1402 * java/SmokeTest.java: Add test that string passing is zero byte safe.
1404 Lua:
1406 * Improve error messages.
1408 Perl:
1410 * Fix "Use of qw(...) as parentheses is deprecated" warnings in test cases with
1411   Perl 5.14.
1413 * Fix Search::Xapian::Query->new() to work.
1415 * Enable warnings for all test cases and make them fatal.
1417 * Add "use Carp;" where we use functions from that module.
1419 * Improve POD docs for Document and TermGenerator methods - "weight" is
1420   misleading, so use "wdfinc" and "wdfdec" like the C++ API docs do.
1422 * The Query constructor which takes an array of subqueries is now wrapped more
1423   efficiently - previous a temporary C++ std::vector was built but now we avoid
1424   doing this.
1426 PHP:
1428 * PHP >= 5.3 is now required.
1430 * Add PHP type hints to the class wrappers.  Fixes ticket#577.
1432 * The XapianQuery constructor which takes an array of subqueries is now
1433   wrapped more efficiently - previous a temporary C++ std::vector was built
1434   but now we avoid doing this.
1436 Python:
1438 * Python >= 2.4 is now required.
1440 * Remove deprecated Stem_get_available_languages().
1442 * Hide away the deprecated non-pythonic iterators - we still need them to
1443   implement the pythonic iterators, so we can't entirely remove them.
1445 * Replace SWIG's thread locking with code which does nothing unless threads
1446   are already initialised, to avoid the overhead of thread locking in the
1447   common case of single-threaded Python code.  This seems to be about 5-10%
1448   faster for pythontest2.py modified to repeat the tests 100 times.
1450 * Handle the GIL in a way which also works in sub-interpreters.  Fixes ticket
1451   #364.
1453 * The Query constructor which takes an array of subqueries is now wrapped more
1454   efficiently - previous a temporary C++ std::vector was built but now we avoid
1455   doing this.
1457 Ruby:
1459 * The XapianQuery constructor which takes an array of subqueries is now
1460   wrapped more efficiently - previous a temporary C++ std::vector was built
1461   but now we avoid doing this.
1463 Tcl:
1465 * The XapianQuery constructor which takes an array of subqueries is now
1466   wrapped more efficiently - previous a temporary C++ std::vector was built
1467   but now we avoid doing this.
1469 Xapian-bindings 1.2.23 (2016-03-28):
1471 Documentation:
1473 * Update links to Xapian website and trac to use https, which is now supported,
1474   thanks to James Aylett.
1476 PHP:
1478 * Check that the PHP interpreter we find is actually PHP5, and if not look
1479   harder.  On current Debian unstable, php-config5 --php-binary reports
1480   /usr/bin/php which can be PHP7.
1482 * Document that PHP7 isn't currently supported, and explicitly check for and
1483   reject it in configure.
1485 Ruby:
1487 * configure: Stop preferring rdoc-1.8 to rdoc (this only happened in a
1488   fall-back case when rdoc wasn't found in the same directory as the ruby
1489   interpreter).
1491 Xapian-bindings 1.2.22 (2015-12-29):
1493 Documentation:
1495 * Stop maintaining ChangeLog files.  They make merging patches harder, and stop
1496   'git cherry-pick' from working as it should.  The git repo history should be
1497   sufficient for complying with GPLv2 2(a).
1499 General:
1501 * Stop wrapping internal methods of Xapian::Weight.
1503 * Return Error::get_description() rather than get_type + ": " + get_msg().  In
1504   many cases this is the same, but if context or errno are available,
1505   get_description() includes them.
1507 * Catch and report std::exception rather than handling it as an unknown error
1508   (so in particular std::bad_alloc will now be reported more helpfully).
1510 CSharp:
1512 * Fix configure test for whether $MONO can run CSharp programs - previously it
1513   would always fail, which would mean that the CSharp tests would only be run
1514   on systems where CSharp programs can be run directly.
1516 Lua:
1518 * Send stderr from lua version check to config.log instead of letting it appear
1519   on the terminal.
1521 PHP:
1523 * Fix memory leak and crash when using PHP subclasses of Xapian functors.
1525 * Subclasses of XapianMatchSpy and XapianPostingSource with implicit
1526   constructors now work.
1528 Python:
1530 * Add new testcase to catch any internal functions, methods, constants, etc
1531   which have accidentally been wrapped.
1533 Xapian-bindings 1.2.21 (2015-05-20):
1535 Lua:
1537 * README: Remove note about the Lua bindings being experimental - it's not
1538   really been true for some time now.
1540 Perl:
1542 * Wrap missing constants OP_SYNONYM and STEM_ALL_Z.
1544 * Add workaround for Perl defining a seed() macro which breaks compilation with
1545   GCC in C++11 mode (due to <algorithm> now pulling in random number generation
1546   classes with a method called seed).
1548 * Update list of unwrapped things in POD documentation.
1550 * Perl tests are ordering-dependent, so use .NOTPARALLEL to avoid problems
1551   during parallel builds.
1553 * Add test coverage for Enquire::set_collapse_key() with 1 and 2 parameters.
1555 * Add test that we can create all the stemmers returned by
1556   Stem::get_available_languages().
1558 * t/symbol-test.t: If the symboltest module build fails, skip the test - it's
1559   likely due to external reasons, like incompatible compiler flags being taken
1560   from Perl's Config module, due to Perl having been built with a different
1561   compiler to Xapian.
1563 * Use croak_sv() or ERRSV if defined.
1565 PHP:
1567 * README: Remove note about the subclassing bug with PHP 5.4 and later - that
1568   was fixed in 1.2.19.
1570 Python:
1572 * README: Add note that 1.3.2 has Python 3 support, and that this will be in
1573   stable release 1.4.0.
1575 Ruby:
1577 * smoketest.rb: Fix "warning: assigned but unused variable - mset".
1579 * Ship generate-rdoc-stubs in the tarball.  Reported by Matthias Klose in
1580   https://bugs.debian.org/782270
1582 Xapian-bindings 1.2.20 (2015-03-04):
1584 Portability:
1586 * configure: Avoid using \? in sed command in Lua detection - it isn't
1587   supported by all sed implementations.
1589 Lua:
1591 * configure: Rework LUA_SO checks to be clearer and to properly handle LUA_SO
1592   being specified without a leading '.'.
1594 * configure: Add an example of specifying LUA_SO to --help output.
1596 PHP:
1598 * Remove text about subclassing bug with PHP 5.4 and later - that was fixed in
1599   1.2.19.
1601 * In current PHP releases, dl() is disabled in most SAPIs, and even where
1602   available it will now only look in the configured extension directory.  The
1603   upshot is that there no longer seems to be a sane way to install the PHP
1604   bindings without being root, so update the documentation to reflect this.
1605   Fixes #661, reported by Felix Ostmann.
1607 Xapian-bindings 1.2.19 (2014-10-21):
1609 PHP:
1611 * Fix up SWIG generated C++ wrapper code so that subclassing of wrapped classes
1612   in PHP works with PHP 5.4 and later.  (Fixes #652, reported by Sebastian
1613   Gottfried)
1615 * Fix XapianQueryParser::set_stopper() and XapianTermGenerator::set_stopper()
1616   which were getting incorrectly wrapped such that they didn't actually do
1617   anything.  Fixes #659, reported by jmienert.  This bug was introduced by the
1618   reference tracking fix in 1.2.14.
1620 Ruby:
1622 * README: Note that Ruby 2.1 works too.
1624 Xapian-bindings 1.2.18 (2014-06-22):
1626 Documentation:
1628 * README: Add links to Erlang and Node.js bindings.
1630 Lua:
1632 * lua/smoketest.lua: Change expect() parameter order to the more natural (got,
1633   expected), which most of the calls already used, and fix up the few calls
1634   which passed (expected, got).
1636 PHP:
1638 * php/smoketest.php: Add missing "exit(1);" after reporting failure of check
1639   that MatchDecider returns an MSet with the expected docid in.  Luckily this
1640   wasn't masking a test failure.
1642 Python:
1644 * python/pythontest.py: There's no longer a need to use chert_open() explicitly
1645   - chert is the default backend now, and both chert and brass support the
1646   required functionality for the tests which do this, so this just needlessly
1647   causes the tests to fail if chert is disabled in xapian-core.
1649 * configure: If the Python version is too new or too old, only report it once
1650   not twice.
1652 Ruby:
1654 * configure: Fix Ruby bindings to build on Windows (and other platforms where
1655   allow_undefined_flag=unsupported. (fixes#634, reported by Alexis Denis)
1657 Xapian-bindings 1.2.17 (2014-01-29):
1659 Portability:
1661 * Improve workaround which allows building against an uninstalled xapian-core
1662   on OS X - this should now work with any uninstalled xapian-core (not only in
1663   a tree with the same layout as an SVN or git checkout) and it also won't try
1664   to build against "../xapian-core/.libs" just because it happens to exist.
1665   (Backported from 1.3.1; fixes #322)
1667 Python:
1669 * configure: Some distros now point /usr/bin/python at Python 3, so the check
1670   for a Python 2 interpreter now checks for 'python2' first, and checks that
1671   the version of found interpreter is 2.x.
1673 Ruby:
1675 * Tweak configure to work with Ruby 2.0.
1677 Tcl:
1679 * Link against -ltclstubX.Y for Tcl 8.5 and later (reported by Sergei Golovan
1680   in https://bugs.debian.org/724830).
1682 * Use a better check for TCL_INC for Tcl 8.5 and later.
1684 Xapian-bindings 1.2.16 (2013-12-04):
1686 Documentation:
1688 * README: Note that the SWIG Perl bindings should replace the XS ones in 1.4.x.
1690 General:
1692 * Compress source tarballs with xz instead of gzip.
1694 * configure: Handle git snapshot naming.
1696 Portability:
1698 * configure: Update list of platforms where we tell libtool not to link in
1699   deplibs to match the list used for xapian-core.
1701 Perl:
1703 * Pass 0 instead of NULL for non-pointer parameter to av_fetch (spotted due to
1704   GCC 4.7 warning).
1706 * symboltest.t: Pass $CPPFLAGS and $CXXFLAGS from the environment through to
1707   the sub-build, fixing failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
1709 PHP:
1711 * smoketest.php: If running under PHP >= 5.4, skip the tests we know will fail
1712   with a message explaining this.
1714 Python:
1716 * Provide bindings version in xapian.__version__ as per PEP 396.  (see #346)
1718 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over the ESet.
1720 * pythontest.py: Fix testcase checking we get an exception from using
1721   non-random-access iterators after then have advanced - previously these
1722   didn't actually test as fully as intended.
1724 Ruby:
1726 * Omit internal classes and methods from the rdocs.
1728 Xapian-bindings 1.2.15 (2013-04-16):
1730 General:
1732 * Fix configure --enable-quiet option to actually work for the bindings.
1734 Perl:
1736 * Fix doc typo: "as as" -> "as a"
1738 Ruby:
1740 * Fix deprecation warning in configure from Ruby 1.9.3.
1742 Xapian-bindings 1.2.14 (2013-03-14):
1744 Python:
1746 * Fix typo in doccomment.
1748 PHP:
1750 * Keep references to the PHP wrapper object when an object is set on another
1751   object.  (fixes #614)
1753 Tcl:
1755 * Allow TCL_INC to be passed to configure.  (fixes #612)
1757 Xapian-bindings 1.2.13 (2012-11-09):
1759 CSharp:
1761 * configure: Overhaul checks for C# tools to use modern names in preference.
1763 Lua:
1765 * Fix examples to use str(query) to get the query description.  (Fixes #600)
1767 * Document that get_description() is mapped to str(), and end() to _end().
1769 * Fix functor wrappers which return strings to be zero-byte clean.
1771 Perl:
1773 * Forward port tests of StringValueRangeProcessor with a prefix or suffix from
1774   1.2's XS Search::Xapian.  (ticket#607)
1776 * Update testsuite not to use UNIVERSAL::isa() as a function, since doing so
1777   is deprecated.
1779 PHP:
1781 * Document that subclassing Xapian classes in PHP currently doesn't work with
1782   PHP 5.4.
1784 Xapian-bindings 1.2.12 (2012-06-27):
1786 No changes since 1.2.11 except to bump the version - this release was made to
1787 fix an incorrect library version information update in xapian-core 1.2.11.
1789 Xapian-bindings 1.2.11 (2012-06-26):
1791 General:
1793 * Ship the scripts which generate the except.i files for Lua, Perl and Python.
1795 Perl:
1797 * In generated C++ code, pass 0 instead of NULL for non-pointer parameter to
1798   av_fetch() (spotted due to GCC 4.7 warning).
1800 PHP:
1802 * Fix "make check" to work for PHP when building from a release tarball with
1803   srcdir != builddir.
1805 * Work around "undefined symbol: zend_error_noreturn" error.
1807 Xapian-bindings 1.2.10 (2012-05-09):
1809 CSharp:
1811 * Use -keyfile and -keycontainer options to the C# compiler, because it warns
1812   us to do this instead of setting them in AssemblyInfo.cs.
1814 * Use diff's -c option when comparing the files SWIG generated against those we
1815   were expecting to get as the output should be easier to understand.
1817 * Sort both the lists of expected and of found SWIG-generated sources with
1818   Perl, to avoid problems with locale-specific sort orders.
1820 Java-SWIG:
1822 * Remove now superfluous old check that SWIG generated at least the sources we
1823   want - we now check it generated *exactly* the sources we want.
1825 * Use diff's -c option when comparing the files SWIG generated against those we
1826   were expecting to get as the output should be easier to understand.
1828 * Sort both the lists of expected and of found SWIG-generated sources with
1829   Perl, to avoid problems with locale-specific sort orders.
1831 Lua:
1833 * Now works with Lua 5.2.
1835 * "require 'xapian'" now returns the module table.  (ticket #593)
1837 * lua/smoketest.lua: Improve reporting of test failures.
1839 Perl:
1841 * Avoid importing isa from UNIVERSAL to fix Perl 5.12 deprecation warning.
1843 * Remove #! lines with -W to fix "Name "Test::More::TODO" used only once:
1844   possible typo at /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
1846 Python:
1848 * python/docs/examples/simpleexpand.py: Update to not use deprecated MSet
1849   iteration features which have been removed on trunk.  This also fixes a
1850   segfault if there are no matches and no documents are explicitly marked as
1851   relevant.
1853 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a simple
1854   way to rerun tests with verbose output.
1856 Ruby:
1858 * configure: Make sure the ruby subdirectory exists before trying to create
1859   ruby/rubyio.h, so this works in a VPATH build from a clean tree.
1861 Xapian-bindings 1.2.9 (2012-03-08):
1863 Java:
1865 * configure: Fix test for jni.h to try looking for jni.h relative to the real
1866   location of javac, which should work for more JDKs.
1868 Lua:
1870 * Handle an exception from C++ by raising a xapian.Error object as an error in
1871   Lua.
1873 * Rename get_description() methods to __tostring(), so that you can use write
1874   tostring(obj) in Lua.
1876 * configure: Honour LUA_LIB if already set.  Fixes #581.
1878 * configure: Improve probing for LUA_LIB, and also probe for LUA_SO so we
1879   support platforms where the compiled Lua module isn't called .so.
1881 Perl:
1883 * Add tests of Document::get_docid().
1885 PHP:
1887 * Add a test that Query constructor taking OP_NEAR with a window size works.
1889 Python:
1891 * python/testsuite2.py: Don't run off the traceback looking for a test function
1892   if the exception wasn't from a test function.
1894 Xapian-bindings 1.2.8 (2011-12-13):
1896 Lua:
1898 * Wrap user-subclassable functor objects by allowing the user to pass a
1899   Lua function where the functor object would be passed in the C++ API.
1901 PHP:
1903 * Fix "PHP Notice:  Undefined variable: r in xapian.php".  (Fixes bug#576)
1905 * The PHP bindings will now work again with a version of PHP built with ZTS
1906   enabled (which is the default on Microsoft Windows).  This was broken by
1907   the changes to support subclassing in PHP in the version of SWIG used since
1908   1.2.6.
1910 Python:
1912 * Add a module docstring.  (Fixes bug #573)
1914 * The python testsuite now checks for object leaks during each testcase.
1916 * In test_matchingterms_iter, run the code we're testing for leaks twice, and
1917   only check for leaks the second time to avoid falsely reporting a leak when
1918   some cached value gets initialised under Python 2.5.
1920 Ruby:
1922 * Wrap optional prefix parameter to Database::allterms.
1924 Xapian-bindings 1.2.7 (2011-08-10):
1926 Documentation:
1928 * INSTALL: Pull in a few updates from the latest version of the automake
1929   document which this file was originally based on.  Add in the missing
1930   copyright and licensing information.
1932 * INSTALL: Add --with-lua to list of options.
1934 * INSTALL,README: It's no longer noteworthy that Mac OS X 10.1 and 10.2 aren't
1935   supported as Apple ditched them long ago, so drop this as a "Known Issue" in
1936   INSTALL and instead just say "Mac OS X >= 10.3" in the discussion of
1937   supported platforms in the README.
1939 * HACKING: Update and start section on deprecation warnings for the bindings.
1941 General:
1943 * Add missing wrappers for Database::has_positions() and
1944   TermIterator::positionlist_count(), and correct the return type of
1945   Database::get_doclength() from double to Xapian::termcount.
1947 CSharp:
1949 * README: Note a recent version of Mono which we've tested the C# bindings
1950   with.
1952 * Check that exactly the sources we expect are generated, and add some sources
1953   which were missing from the list.
1955 * Fix "make uninstall" so the compiled C++ module (typically _XapianSharp.so)
1956   gets removed.
1958 * Fix iterator ++ and -- so that the reference to the object isn't released
1959   prematurely, which was causing an occasional crash if the garbage collection
1960   happened at just the wrong moment,
1962 * Add test coverage for QueryParser.ParseQuery() with flags argument.
1964 * Wrap Query::MatchAll and Query::MatchNothing. (ticket#158)
1966 Java:
1968 * SmokeTest.java: Fix == comparisons with strings to use equals().
1970 * Add test that string passing is zero byte safe.
1972 * Fix MyExpandDecider.accept() to really check the passed parameter.
1974 Java-SWIG:
1976 * Put the SWIG-generated Java bindings in package org.xapian.
1978 * Wrap Query::MatchAll and Query::MatchNothing. (ticket#158)
1980 * SmokeTest.java: Fix == comparisons with literal strings to use equals()
1982 * Add test that string passing is zero byte safe.
1984 * Fix MyExpandDecider.accept() to really check the passed parameter.
1986 * Fix the compile JNI code to have a .jnilib extension on Mac OS X.
1988 * Create an HTML documentation page based on java/README.
1990 * Copy java examples from the hand-coded JNI ones.
1992 * docs/examples/SimpleIndex.java: Update to use commit() rather than flush().
1994 * Check that exactly the sources we expect are generated, and add some sources
1995   which were missing from the list.
1997 Lua:
1999 * Merge latest Lua changes from Xiaona Han.
2001 * lua/smoketest.lua: Add simple test for Database::positionlist_begin().
2003 * simpleexpand.lua: Don't try to add anything to the RSet if there are no
2004   matches.
2006 Perl:
2008 * Sync updates to examples from XS Search::Xapian:
2010   + Require Perl >= 5.6 so we can "use warnings;".
2012   + Loop over file using while() (which reads a line per iteration) not
2013     foreach() (which reads the whole file up front).
2015 * Wrap MatchAll and MatchNothing for Perl (as Search::Xapian::Query::MatchAll
2016   and Search::Xapian::Query::MatchNothing).  (ticket#158)
2018 * perl/t/termgenerator.t: Test TermIterator::index_text() with two arguments.
2020 * perl/Makefile.am: Fix "make check".
2022 * perl/t/symbol-test.t: Fix to work when built against an installed
2023   xapian-core.  (ticket#558)
2025 PHP:
2027 * php/smoketest.php: Install an error handler so the test fails if there are
2028   any errors, warnings, notices, etc.
2030 * Change PHP examples and test program to use 'include "xapian.php"' like user
2031   code should (rather than 'include "php5/xapian.php"' as they did previously).
2033 * Wrap MatchAll and MatchNothing for PHP as XapianQuery::MatchAll() and
2034   XapianQuery::MatchNothing(). (ticket#158)
2036 Ruby:
2038 * Wrap MatchAll and MatchNothing for Ruby.  (ticket#158)
2040 Xapian-bindings 1.2.6 (2011-06-12):
2042 General:
2044 * SWIG-based bindings are now generated with a newer version of SWIG
2045   (ticket#538).
2047 Portability:
2049 * On Mac OS X 10.5 or later, and 10.4 on x86, build Java JNI library with a
2050   .jnilib extension as we do for older versions.
2052 CSharp:
2054 * Upgrading to newer SWIG fixes issues with strings with newer C# versions.
2056 Java:
2058 * Fix memory leaks when functions taking string parameters throw exceptions.
2060 * Previously a hash table was used to map Java objects to C++ ones, but we
2061   now just cast the address of the C++ object to a jlong (which is 64 bits
2062   so will hold a pointer on current platforms).  This is more efficient and
2063   avoids the need for thread locks around accesses to the hash table.
2065 * Remove explicit checks for NULL around calls to delete.
2067 * Mark makefiles which build Java code as .NOTPARALLEL to avoid race conditions
2068   during parallel builds.
2070 Lua:
2072 * Add support for Lua, which is being developed by Xiaona Han during GSoC this
2073   year.  The current support should be regarded as experimental - it passes
2074   its automated tests, but the details of the Lua API are likely to evolve as
2075   the project progresses.
2077 Perl:
2079 * README: say that Perl bindings probably need Perl 5.8 or later.
2081 PHP:
2083 * Directors now work for PHP (ticket#488).  New simplematchdecider.php example.
2085 Python:
2087 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always collect
2088   all the garbage, so repeat until no further objects are freed.
2089   (https://bugs.debian.org/625679 and https://bugs.gentoo.org/349484).
2091 Ruby:
2093 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() - just skip
2094   the compaction tests for these versions.
2096 Xapian-bindings 1.2.5 (2011-04-04):
2098 Documentation:
2100 * README: Update info on SWIG-based Perl bindings.
2102 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.  Replace VPATH
2103   section with better equivalent from xapian-core/INSTALL.
2105 General:
2107 * Wrap ESet::get_eset() with min_wt parameter (new in C++ API in 1.2.5).
2109 * configure: If xapian-core is a different release series, promote the
2110   mismatched versions warning to an error.
2112 Portability:
2114 * Mac OS X: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and later, or
2115   10.4 on x86, as the default if unset on these versions is the current OS
2116   version.  (ticket#541)
2118 * python/pythontest2.py: In test_compactor(), close any open databases before
2119   removing the directory as you can't delete an open database on Microsoft
2120   Windows.  (ticket#526)
2122 CSharp:
2124 * Don't pass extra flags to Microsoft's gacutil.  (ticket#516)
2126 * Clarify the licence is GPL "version 2 or later" in the meta information
2127   we put in the module.
2129 Python:
2131 * Remove old and broken Enquire.get_matching_terms() method.  We deprecated
2132   Enquire.get_matching_terms() in 1.0.x, and removed it in 1.1.0, but
2133   accidentally left an older version of get_matching_terms() exposed.
2135 * Remove broken implementation of MSet.__contains__.  This appears never to
2136   have worked, and to have been broken for at least the past 3.5 years without
2137   anyone mentioning it, and is probably of little use anyway, so no need to
2138   deprecate.
2140 * python/docs/index.html: Document that MSet.items and ESet.items are
2141   deprecated, and what to use instead.  Note that MSET_DOCUMENT never worked on
2142   the tuple returned by MSet.items.  (ticket#531)
2144 * Add test coverage for mset.items.
2146 Ruby:
2148 * Add test coverage for Xapian::Compactor.
2150 * Handle an empty response to $RUBY --version specially.  This gives a less
2151   opaque error in cases where the user specified RUBY but the value given
2152   wasn't an executable file.
2154 Xapian-bindings 1.2.4 (2010-12-19):
2156 General:
2158 * Wrap the new Xapian::Compactor class.  The resolve_duplicate_metadata()
2159   virtual method is wrapped for subclassing for Python and Ruby currently.
2161 * Eliminate separate Makefile.am in the docs subdirectory of each language
2162   subdirectory and just inline any rules into the main sub-Makefile.am, which
2163   allows more of the build to run in parallel.
2165 * Don't ship some files which are generated at build time.
2167 * configure: Need python in maintainer mode to run doxy2swig.py.
2169 Packaging:
2171 * RPM: Package the Perl bindings.
2173 * RPM: Don't package _XapianSharp.la.
2175 Portability:
2177 * For Mac OS X builds, set DYLD_LIBRARY_PATH to allow tests to find an
2178   uninstalled Xapian library.  See ticket #322.
2180 * configure: Fix typo in code to set PYTHON_LIBS under cygwin.  (ticket#509)
2182 CSharp:
2184 * Don't install _XapianSharp.la.
2186 Perl:
2188 * Merge SWIG-based Perl bindings originally developed by Kosei Moriyama during
2189   GSoC 2009.  These are close to being a compatible replacement for the
2190   hand-coded XS bindings in Search::Xapian but also offer a more complete
2191   wrapping of the C++ API.  We're planning to replace the XS bindings with the
2192   SWIG ones for easier maintenance.  We encourage you to try them and let us
2193   know how you get on - particularly if you find cases where code which works
2194   with the XS bindings doesn't work with the SWIG ones.
2196 PHP:
2198 * Document that iterators shouldn't be dereferenced or advanced when at their
2199   end points (ticket#520).
2201 Python:
2203 * Fix memory leaks in typemaps which return Python lists.
2205 * MatchSpy can now be subclassed in Python.  Remote use isn't currently
2206   supported.
2208 * configure: Use sys.version_info tuple, rather than string splicing which
2209   assumes the Python "major.minor" is 3 characters (which would fail if Python
2210   2.10 were ever released, for example).
2212 Xapian-bindings 1.2.3 (2010-08-24):
2214 Packaging:
2216 * xapian-bindings.spec: Don't run autoreconf - it's no longer required.
2218 Xapian-bindings 1.2.2 (2010-06-27):
2220 * No user-visible change except for bumping the version to indicate
2221   compatibility with Xapian-core 1.2.2.
2223 Xapian-bindings 1.2.1 (2010-06-22):
2225 This release includes all changes from 1.0.21 which are relevant.
2227 General:
2229 * Wrap Xapian::StemImplementation.  Currently this has only been tested for
2230   Python.  (ticket#448)
2232 Guile:
2234 * Remove non-functional disabled guile bindings left over from Open Muscat
2235   days - if someone wanted to add guile bindings, it would be easier to start
2236   from scratch.
2238 Java-SWIG:
2240 * Update list of generated java sources in the SWIG-based Java bindings.
2242 PHP:
2244 * zend_throw_exception() returns, so return control to PHP directly after
2245   calling it to avoid needless extra work and possible issues.
2247 Python:
2249 * Fix "from xapian import *".  (ticket#477)
2251 * Fix testcase weight_normalise - a change in xapian-core means that
2252   get_max_possible() can now return zero for a non-existent term, so don't
2253   blindly calculate the reciprocal of it.
2255 * python/replicationtest2.py: Extend to check that changesets get applied
2256   correctly.
2258 * python/smoketest2.py: Check len(mset) works (improving test coverage of
2259   Python-specific wrapping).
2261 Xapian-bindings 1.2.0 (2010-04-28):
2263 This release includes all changes from 1.0.20 which are relevant.
2265 Portability:
2267 * configure: Tell libtool not to link in deplibs on platforms where we know
2268   they aren't needed.
2270 * configure: On Linux, extract the library search path from ldconfig which
2271   gives us the default entries reliably.
2273 Xapian-bindings 1.1.5 (2010-04-15):
2275 This release includes all changes from 1.0.19 which are relevant.
2277 Tcl:
2279 * tcl8/docs/index.html: Document WritableDatabase::close() as a way to
2280   sidestep the whole destructor issue.  (ticket#62)
2282 Xapian-bindings 1.1.4 (2010-02-15):
2284 This release includes all changes from 1.0.18 which are relevant.
2286 General:
2288 * Update for the new Brass backend and other C++ API changes.
2290 * Wrap Database::get_doclength_lower_bound(),
2291   Database::get_doclength_upper_bound(), Database::get_wdf_upper_bound(),
2292   Database::valuestream_begin() and Database::valuestream_end() for all
2293   languages. (ticket#431)
2295 * Wrap ValueIterator::skip_to() and ValueIterator::check() for all languages.
2297 Python:
2299 * Wrap valuestreams as Database.valuestream(), returning a ValueStreamIter
2300   object which dereferences to a ValueStreamItem object,
2302 * Fix Enquire.clear_matchspies() wrapper which crashed in 1.1.3.
2304 Ruby:
2306 * Add safe wrapper for the valuestream iterator.
2308 Xapian-bindings 1.1.3 (2009-11-18):
2310 This release includes all changes from 1.0.15-1.0.17 which are relevant.
2312 General:
2314 * configure: Default to looking for xapian-config-1.1 unless XAPIAN_CONFIG is
2315   specified.
2317 * Wrap the new MatchSpy class, and associated features.
2319 * Don't wrap PostingSource::serialise(), Weight::serialise() and
2320   Weight::unserialise() as they aren't useful from the bindings.
2322 * Update for the Sorter to KeyMaker changes.
2324 PHP:
2326 * Fix PHP bindings to build when PHP has been compiled in multithreaded mode,
2327   as it standardly is on Microsoft Windows.  Fixes #411.
2329 * Merged the PHP "smoketest" back together now we don't need to support
2330   PHP4 now.
2332 Python:
2334 * Fix a memory leak on error (in theory - we've not got a way to generate this
2335   error, so haven't been able to reproduce the leak or test the fix).
2337 Xapian-bindings 1.1.2 (2009-07-23):
2339 This release includes all changes from 1.0.14 which are relevant to trunk.
2341 Python:
2343 * Several changes towards fully supporting Python 3, but more work is required.
2344   (ticket#246)
2346 Xapian-bindings 1.1.1 (2009-06-09):
2348 This release includes all changes from 1.0.13 which are relevant to trunk.
2350 General:
2352 * Wrap the recently added extra parameter to Enquire::set_collapse_key().
2354 CSharp:
2356 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2357   C# yet, and to use Query("") and Query() instead.
2359 * configure: If we don't find a C# compiler, don't test an empty command name
2360   further which saves a fork and avoids an odd looking message.
2362 PHP:
2364 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2365   PHP yet, and to use Query("") and Query() instead.
2367 Python:
2369 * Wrap Query::MatchAll and Query::MatchNothing for Python and document how they
2370   are wrapped (ticket#158).
2372 * python/smoketest2.py,python/smoketest3.py: Update tests with FLAG_PARTIAL to
2373   expect SYNONYM in generated query.
2375 Ruby:
2377 * Document that Query::MatchAll and Query::MatchNothing aren't wrapped for
2378   Ruby yet, and to use Query("") and Query() instead.
2380 Tcl:
2382 * Wrap Query::MatchAll and Query::MatchNothing for Tcl and document how they
2383   are wrapped (ticket#158).
2385 Xapian-bindings 1.1.0 (2009-04-22):
2387 Documentation:
2389 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so update
2390   the instructions to suggest users use this standard location for installing
2391   without root access.
2393 General:
2395 * All deprecated features slated for removal in 1.1.0 have been removed.
2397 * All new C++ API features have been wrapped.  Also, since we now supply some
2398   standard MatchDecider subclasses, we now wrap Enquire::get_mset() so that
2399   these can be passed in even for languages for which SWIG doesn't support
2400   subclassing.
2402 Packaging:
2404 * xapian-bindings.spec: Updated to reflect the new Python packaging.
2406 Portability:
2408 * configure: Use XAPIAN_CXXFLAGS for test compiles since it may include options
2409   to put the compiler into ISO C++ mode).
2411 PHP:
2413 * PHP4 support has been removed, since PHP4 is no longer supported upstream
2414   as of 2008-08-08.
2416 Python:
2418 * Python 2.3 or later is now required.  2.2 is essentially unsupported
2419   upstream.
2421 * The import method used has been changed (by using a newer SWIG version)
2422   and no longer gives a warning with Python 2.6.
2424 * Initial support for Python 3.0 has been added.  This currently doesn't
2425   work correctly and should be treated as experimental. (ticket#346)
2427 * The newer SWIG version handles exceptions in director methods correctly
2428   so we no longer need our workaround for ticket #289.
2430 * Database::metadata_keys_begin() and Database::metadata_keys_end() are
2431   wrapped for Python as Database.metadata_keys().
2433 * The Python bindings are now installed as a python package, with the
2434   files in a xapian subdirectory, hiding the internal _xapian module
2435   better.
2437 * Python now flags deprecation warnings for the single argument form and old
2438   parameter name (ascending) in set_sort_by_key(), set_sort_by_value() and
2439   friends.
2441 Xapian-bindings 1.0.23 (2011-01-14):
2443 Portability:
2445 * configure: Fix typo in code to set PYTHON_LIBS under cygwin.  (ticket#509)
2447 PHP:
2449 * Document that iterators shouldn't be dereferenced or advanced when at their
2450   end points (ticket#520).
2452 Python:
2454 * Fix memory leaks in typemaps which return Python lists.
2456 Xapian-bindings 1.0.22 (2010-10-03):
2458 Packaging:
2460 * RPM: Don't package _XapianSharp.la.
2462 CSharp:
2464 * Don't install _XapianSharp.la.
2466 Python:
2468 * configure: Use sys.version_info tuple, rather than string splicing which
2469   assumes the Python "major.minor" is 3 characters (which would fail if Python
2470   2.10 were ever released, for example).
2472 * Add test_xapian_star.py to distribution - fixes failure of "test_import_star"
2473   testcase in pythontest.py.
2475 Xapian-bindings 1.0.21 (2010-06-18):
2477 Python:
2479 * xapian.BAD_VALUENO is now wrapped as a constant rather than variable which
2480   can't be written to. (ticket#297)
2482 * Fix cleaning of test directories to use "rm -rf" rather than "rm -f".
2484 * Add test to check that "from xapian import *" works.
2486 Xapian-bindings 1.0.20 (2010-04-27):
2488 Python:
2490 * Set PYTHONDONTWRITEBYTECODE=1 in the environment to prevent Python from
2491   generating .pyc files in srcdir for Python >= 2.6, and use a Bourne shell
2492   trap to delete them after running tests for older versions of Python.
2493   (ticket#315)
2495 Ruby:
2497 * configure: Fix typo so path to ruby is reported if Ruby < 1.8 is found.
2499 Xapian-bindings 1.0.19 (2010-04-15):
2501 Tcl:
2503 * tcl8/docs/index.html: Improve wording in a few places.
2505 Xapian-bindings 1.0.18 (2010-02-14):
2507 General:
2509 * Wrap new C++ API method Document::add_boolean_term().
2511 Ruby:
2513 * Generate entries in the Ruby rdocs for all classes which aren't documented
2514   because of Ruby-specific methods.  Fixes ticket#417.
2516 * Avoid absolute paths in the generated rdocs.
2518 Xapian-bindings 1.0.17 (2009-11-18):
2520 Packaging:
2522 * Improve RPM package summaries - the files are needed to *use* scripts as well
2523   as to develop them.  Use "Tcl" instead of "TCL" as the former is more
2524   conventional.
2526 Portability:
2528 * python/Makefile.am: Restore the "./" path to the sourced file
2529   libtoolconfig.tmp as ksh requires it.
2531 Java:
2533 * Fix memory leak when passing a MatchDecider to Enquire::get_mset().
2535 Xapian-bindings 1.0.16 (2009-09-10):
2537 Python:
2539 * Improved docstrings for QueryParser::set_default_op() and
2540   QueryParser::get_default_op() (automatically generated from changes in
2541   xapian-core).
2543 Xapian-bindings 1.0.15 (2009-08-26):
2545 Python:
2547 * Don't break long words when wrapping text in the generated API documentation
2548   comments as this was causing identifiers to be broken in two.
2550 Xapian-bindings 1.0.14 (2009-07-21):
2552 General:
2554 * configure: If $CSC is empty, don't try to run it.  This was a cosmetic bug
2555   and the only side-effect was an odd looking message.
2557 Python:
2559 * Rename methods at build-time using SWIG rather than a run-time in Python, as
2560   the latter approach adds a small time overhead when the module is being
2561   loaded.
2563 Ruby:
2565 * Fix to accept an integer value > MAXINT for a double parameter.
2567 Xapian-bindings 1.0.13 (2009-05-23):
2569 Packaging:
2571 * xapian-bindings.spec: Update C# packaging for rename of XapianSharp.so to
2572   _XapianSharp.so in 1.0.11.
2574 * xapian-bindings.spec: Update Tcl8 packaging for where we now install the
2575   bindings since 1.0.6.
2577 PHP:
2579 * Backport fix from SWIG SVN for misuse of formatted error function in
2580   SWIG-generated code.
2582 Python:
2584 * Change the SWIG-generated wrapper code so it doesn't attempt to acquire
2585   Python's Global Interpreter Lock (GIL) in situations where we know that it
2586   will already be locked.  This avoids some dead-locks with mod_python (due to
2587   mod_python bugs which are apparently unlikely to ever be fixed), and results
2588   in smaller wrappers which run a little faster (in tests with Xapian on x86-64
2589   Ubuntu 9.04, the stripped wrapper library was 11% smaller and ran 2.7%
2590   faster). (ticket#185)
2592 * README,python/docs/index.html: Update documentation of the above mod_python
2593   issue and also document the related mod_wsgi issue.  The status is now that
2594   everything seems to work if you stick to the main interpreter (ticket#364).
2596 * Backport fix from SWIG SVN for misuse of formatted error function in
2597   SWIG-generated code.
2599 * python/docs/examples/simplematchdecider.py: Read "avoid_value" from the
2600   second parameter, not the third.
2602 * python/docs/examples/simplematchdecider.py,
2603   python/docs/examples/simplesearch.py: Make use of str.join() for simpler,
2604   clearer code.
2606 Ruby:
2608 * README: Note that the testsuite fails due to a bug in the test/unit module in
2609   Ruby 1.9.0, but applications using the bindings should work, and that the
2610   testsuite works with Ruby 1.9.1.  Drop all mention of Ruby 1.6.x as that
2611   appears to be completely dead both upstream and in the wild.
2613 Xapian-bindings 1.0.12 (2009-04-19):
2615 Documentation:
2617 * INSTALL: Add a note about being able to pass variables to configure to pick
2618   which of several parallel installations of a language to build for.
2620 Python:
2622 * python/pythontest.py: Round the weights returned for the OP_SCALE_WEIGHT
2623   test to avoid failing due to rounding differences.
2625 * python/testsuite.py: Remove bare except: handlers from testsuite, so Ctrl-C
2626   stop the whole testsuite, not just the currently running testcase.
2628 Xapian-bindings 1.0.11 (2009-03-15):
2630 Documentation:
2632 * README: Note that 1.0.x doesn't (and isn't currently planned to) support
2633   Python 3, and possible current issues with Ruby 1.9.
2635 Portability:
2637 * Merge fixes from Cygwin Ports, so bindings should build out of the box on
2638   Cygwin.
2640 Python:
2642 * python/docs/examples/: Use str(obj) rather than obj.get_description() (the
2643   latter is deprecated, and support was removed in 1.0.0).
2645 * Add support for using the new name ("reverse") for the second argument of
2646   set_sort_by_key() and set_sort_by_value() and friends as a named parameter.
2647   The old name ("ascending") is still supported, but will be deprecated in
2648   1.1.0.
2650 * Keep Python references to Sorter, Stopper, and ValueRangeProcessor objects
2651   which get set on other objects to avoid segmentation faults if they go out
2652   of scope before the object they are set on does.  (ticket#341)
2654 Ruby:
2656 * Fixes for Ruby 1.9 compatibility (ticket#323).  The test harness currently
2657   fails so "make check" doesn't pass, but code using the bindings should work.
2659 Xapian-bindings 1.0.10 (2008-12-23):
2661 Python:
2663 * Need to clean testsuite.pyc from srcdir since that's where it gets generated
2664   as things stand (upstream fix for Debian bug 506090).
2666 Xapian-bindings 1.0.9 (2008-10-31):
2668 General:
2670 * configure: Add support for "--enable-quiet" like xapian-core and omega have.
2672 * Wrap new Database::metadata_keys_begin() and Database::metadata_keys_end()
2673   methods.
2675 Xapian-bindings 1.0.8 (2008-09-04):
2677 General:
2679 * configure: Report bug report URL in --help output.
2681 Python:
2683 * Fix mangling of exceptions thrown from Python subclasses of Xapian classes.
2684   (bug#289)
2686 * Fix memory leaks in the xapian.Query constructor.  (bug#294)
2688 Xapian-bindings 1.0.7 (2008-07-14):
2690 Documentation:
2692 * Document how all the database factory functions and library version functions
2693   are wrapped for all languages.
2695 General:
2697 * Fix to build against a xapian-core which has quartz and/or flint disabled.
2699 * The "program" version of Remote::open() has been wrapped for some time, so
2700   update the documentation which said it wasn't.
2702 Packaging:
2704 * xapian-bindings.spec: Remove "www." from xapian.org and oligarchy.co.uk URLs.
2706 Portability:
2708 * For Java, Python, and Ruby, use the libtool -shrext option to specify a
2709   different module extension rather than our own ugly bodge.
2711 Java:
2713 * Make passing string from Java to C++ zero-byte safe.  It doesn't appear to be
2714   simple to make C++ to Java work though.
2716 PHP:
2718 * Add test that OP_VALUE_GE works for PHP.
2720 Python:
2722 * Several corrections to the Python documentation.
2724 * configure: Fix problem with building under mingw.
2726 Ruby:
2728 * Include simplematchdecider.rb example.
2730 * smoketest.rb: Test the version reporting functions.
2732 Tcl:
2734 * Include simpleexpand.tcl example.
2736 * Fix where the Tcl module gets installed.
2738 * README: Note that Tcl 8.3 and earlier are no longer supported by upstream.
2740 Xapian-bindings 1.0.6 (2008-03-17):
2742 General:
2744 * Wrap OP_VALUE_GE and OP_VALUE_LE and the new Query constructor which they are
2745   used with.
2747 * configure: Correct the required SWIG version given in an error message.
2749 PHP:
2751 * php/smoketest.php: Add note that this script should be run using 'make check'
2752   in the build tree (rather than trying to copy it to a webserver as someone
2753   recently tried to).
2755 * php/smoketest.php: Fix to work under PHP4.
2757 Python:
2759 * The Python module now always has the extension which Python expects, which
2760   fixes a failure on Mac OS X.
2762 Ruby:
2764 * Automatically install/uninstall the Ruby rdoc-generated documentation along
2765   with the ruby bindings.
2767 Tcl:
2769 * configure: Sort out the default value of TCL_LIB, which could end up being
2770   under /usr/share in xapian-bindings 1.0.4 and 1.0.5.
2772 Xapian-bindings 1.0.5 (2007-12-21):
2774 General:
2776 * Wrap Xapian::Sorter and subclasses.
2778 * Wrap Enquire::set_sort_by_key(), Enquire::set_sort_by_key_then_relevance(),
2779   and Enquire::set_sort_by_relevance_then_key().
2781 * Factor out the code to protect multitarget rules against parallel make, and
2782   fix it to handle the source being changed while the rule is executing, and to
2783   correctly return an error code if we fail while trying to recover from the
2784   removal of a target of a multi-target rule.
2786 * configure: Improve the clarity of the error given when none of the tools
2787   needed for any supported language are found.
2789 * configure: SWIG 1.3.32 has now been released, so require at least this
2790   released version for maintainer builds.
2792 Java:
2794 * Add explicit '#include <cstring>' to fix build with the latest snapshots of
2795   GCC 4.3.
2797 * configure: Log the output of trying to compile conftest.java in config.log;
2798   if the test fails, report whether the failure was compiling or running the
2799   test program.
2801 * Check for directory existence rather than calling mkdir unconditionally as
2802   despite the "(ignored)", the error message seems to confuse some people.
2804 PHP:
2806 * Add feature test for XapianMultiValueSorter.
2808 * php/smoketest5.php: Fix use of Database_get_document to new style OO
2809   interface.  Fix the error reported when the PHP5 exception test fails.
2811 * php/smoketest.php: Add feature test to confirm that optional arguments to
2812   XapianQuery's "term" constructor are wrapped.
2814 Python:
2816 * Don't drop the GIL when calling Xapian.MSet.items and Xapian.ESet.items -
2817   these properties build a python list, so dropping the GIL isn't safe and
2818   may cause undefined behaviour in multithreaded environments.
2820 * configure: Update error message to reflect requirement for at least python
2821   2.2.
2823 * configure: Change "print foo" to "print(foo)" in python version checks, for
2824   compatibility with python 3.0.
2826 Ruby:
2828 * The Ruby bindings now work on Mac OS X (the Ruby module's extension was
2829   previously incorrect).
2831 * Run "rdoc" to generate HTML for the Ruby-specific API documentation which
2832   ruby/docs/index.html previously had a dead link to.
2834 Tcl:
2836 * configure: Overhaul code to find tcl.h since the old version no longer worked
2837   with Debian unstable.
2839 * tcl8/docs/index.html: Update documentation to cover flint and mention that
2840   quartz is now deprecated.
2842 * Remove code to handle `const char *' exceptions - as of 1.0.0 the QueryParser
2843   throws QueryParserError instead.
2845 Xapian-bindings 1.0.4 (2007-10-30):
2847 General:
2849 * Wrap new OP_SCALE_WEIGHT query operator, and corresponding Query constructor.
2850   Add feature tests for all languages.
2852 * The "bindings.html" file documenting each of the bindings has been renamed to
2853   "index.html".
2855 Packaging:
2857 * Fix the PHP Makefile.am to work with autoconf < 2.60 to fix RPM builds for
2858   older distros.
2860 Portability:
2862 * Fix warnings when compiling with GCC 4.2.
2864 PHP:
2866 * Update to newer SWIG SVN snapshot to fix memory leaks in wrapped constructors
2867   and methods/functions which return a wrapped class.
2869 * For PHP4, wrap Xapian::sortable_serialise() as xapian_sortable_serialise()
2870   and Xapian::sortable_unserialise() as xapian_sortable_unserialise().
2872 * Document how non-class functions are wrapped.
2874 * Fix wrapping of NumberValueRangeProcessor for PHP4.
2876 * smoketest.php: Split the regression test for bug#193 into separate
2877   versions for PHP4 and PHP5 as the previous version only worked for PHP5.
2879 Python:
2881 * python/docs/index.html: Promote the Pythonic iterators, and deprecate the
2882   non-pythonic iterators.  Make it clearer that the "sequence API" is
2883   deprecated.
2885 * Add test of a custom ValueRangeProcessor (ie, one written in python).
2887 * Update the examples to use the new-style attributes to access MSet item
2888   values rather than the old-style MSET_* constants.
2890 * Document MSET_DOCUMENT.
2892 Ruby:
2894 * smoketest.rb: Rename test of metadata access methods which had been named the
2895   same as the matchdecider test due to a copy-and-paste error.
2897 Xapian-bindings 1.0.3 (2007-09-28):
2899 General:
2901 * Wrap new methods Database::get_metadata() and
2902   WritableDatabase::set_metadata().
2904 * "make uninstall" now removes the loadable module we install for each of
2905   the bindings.
2907 * "make distcheck" now works.
2909 * Distribution tarballs are now in the POSIX "ustar" format since it saves
2910   about 40KB and we need to use it for xapian-core anyway.
2912 Packaging:
2914 * RPMs: Package xapian.php.
2916 CSharp:
2918 * Remove wrapper for ValueRangeProcessor::operator(), since it can't be
2919   usefully used currently.
2921 Java:
2923 * Remove wrappers for the Muscat36 backend, which has now been dropped from the
2924   C++ library.
2926 * "make clean" now removes the class files generated for inner classes.
2928 PHP:
2930 * Add feature test for DateValueRangeProcessor when used with QueryParser.
2932 * ValueRangeProcessor::apply() can now be called from PHP (bug#193).  This
2933   isn't actually very useful, since you can't subclass it in PHP currently.
2935 * Fixed wrapping of Enquire::set_cutoff() - previously this would only work
2936   if the third parameter was specified and a floating point number (e.g. 0.0).
2938 * php/docs/bindings.html: Fix errors in example code.
2940 Python:
2942 * ValueRangeProcessor::operator() is now wrapped as a __call__ method in
2943   Python which takes two strings and returns a 3-tuple (value_number,
2944   modified_begin, modified_end).  Previously this always failed with a
2945   type error, so this doesn't break existing code.
2947 * python/pythontest.py: Interpret any commandline arguments as a list of
2948   tests to be run (the default is to run all tests).
2950 * README,python/docs/bindings.html: Add a note about the problems with
2951   mod-python (as described in bug #185).
2953 * python/pythontest.py: Delete the database handles before deleting a database
2954   to fix problems running the Python tests on MS Windows (bug#179).
2956 * "make clean" now removes testsuite.pyc.
2958 Ruby:
2960 * Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the environment or on
2961   the configure command-line.  The defaults for RUBY_LIB and RUBY_LIB_ARCH are
2962   now the site-specific directories, which is more correct when building
2963   from source.  Debian packages, etc can override this by setting RUBY_LIB and
2964   RUBY_LIB_ARCH.
2966 Tcl:
2968 * Check for TCL_LIB in the environment or on the configure command-line to
2969   allow installing without root access more cleanly.
2971 Xapian-bindings 1.0.2 (2007-07-05):
2973 Documentation:
2975 * Document use of PYTHON_LIB and PHP_EXTENSION_DIR instead of pylibdir and
2976   phpextdir.
2978 * Remove documentation of removed "--with-swig" configure option.
2980 General:
2982 * Add methods of NumberValueRangeProcessor for serialising and
2983   unserialising doubles.
2985 * Add methods and constants supporting spelling correction and synonyms.
2987 * Value of XAPIAN_CONFIG supplied to configure is now passed to distcheck,
2988   to ensure that it works with uninstalled copies of Xapian.
2990 * Value of PYTHON_LIB supplied to configure is now respected - previously
2991   it was documented, but ignored.
2993 * Add support for supplying PHP_EXTENSION_DIR to configure.
2995 * Change to using "%include", rather than reproducing contents of header
2996   files, for "queryparser.h", "document.h" and "postingiterator.h".
2998 * Add new form of get_mset() which allows a matchspy matchdecider to be
2999   set.
3001 * RPMs: Don't mention %makeinstall in a .spec file comment as that makes RPM
3002   explode.  Add in a missing "mv" in the command for installing tcl8
3003   documentation.
3005 CSharp:
3007 * Fix rule handling parallel make to include xapian_wrap.h
3009 PHP:
3011 * Install xapian.php as <PREFIX>/share/php<PHPMAJOR>/xapian.php.  There
3012   doesn't seem to be a standard location, but this works for Debian at
3013   least, and it seems better to at least try to install it.
3015 * Rename ValueRangeProcessor and subclasses and TermGenerator to have a Xapian
3016   prefix for PHP4.
3018 Python:
3020 * Fix a threading problem: the GIL was not being acquired in the exception
3021   handling code before setting the Python exception state, leading to
3022   various memory corruption symptoms in threaded programs.
3024 * Add special iterators to Database for synonyms, synonym_keys and
3025   spellings.
3027 * Add test cases for OP_VALUE_RANGE queries, getting spelling corrections,
3028   synonym iterators and spelling iterators.
3030 * In the test suite, expect_query() now adds "Xapian::Query(" and ")" around
3031   the expected description to make the tests more readable.
3033 Xapian-bindings 1.0.1 (2007-06-11):
3035 Documentation:
3037 * NEWS: Fix the recent headings which said "Xapian-core" to say
3038   "Xapian-bindings".
3040 General:
3042 * Wrap Xapian::Query constructor for creating ValueRange queries.
3044 * Wrap new forms of Xapian::Database::allterms_begin() and allterms_end()
3045   which take a prefix.
3047 Packaging:
3049 * RPMs: Use "make install" instead of %makeinstall to avoid doubled
3050   %{buildroot} prefix on most files which we then have to work around.
3052 CSharp:
3054 * SimpleIndex now uses Xapian.TermGenerator.
3056 * SimpleSearch now uses Xapian.QueryParser.
3058 * New SimpleExpand example.
3060 * Document explicitly how STEM_SOME constants are currently wrapped.
3062 * Update GetTermName() reference in documentation to GetTerm().
3064 * SmokeTest.cs: Update comment about Portable.NET bug - the bug is fixed in
3065   their CVS repo, and the fix should be in their 0.8.2 release.
3067 Java:
3069 * `configure --help' documented that environmental variable JNI_INCLUDE_DIR was
3070   looked at, but in fact its value was read but ignored.  We now use it as the
3071   first place to look for jni.h.
3073 * configure will now automatically add an extra "-I" for the
3074   linux/solaris/win32 subdirectory which Sun's JDK requires.
3076 * Document JAVA_HOME and JDK_HOME in ./configure --help and mark them as
3077   "precious" so their values are preserved for when configure is automatically
3078   rerun.
3080 PHP:
3082 * Enquire::get_mset(first, maxitems, omrset) now works for PHP5.
3084 * The PHP examples have been rewritten to be clearer and to make use of the
3085   new XapianTermGenerator class.
3087 Python:
3089 * Python examples now use xapian.QueryParser and xapian.TermGenerator.
3091 * Add support for prefix-restricted pythonic allterms iterators.
3093 * Update documentation in a couple of places to refer to updated replacements
3094   for MSetIterator.
3096 * Change testsuite output to be more vim-friendly (vim should be able to jump
3097   to the right lines now).
3099 * __str__ on Xapian::Error now includes extra information in some cases (the
3100   error_string and context, if they are set).
3102 * python/smoketest.py: Eliminate uses of the legacy sequence API.
3104 * python/pythontest.py: The legacy sequence API is only supported for Python
3105   2.3 and later, so don't run tests for it when running under Python 2.2.
3107 * We now generate and install xapian.pyo as well as xapian.pyc.
3109 Ruby:
3111 * The Ruby examples now use the Xapian::QueryParser and Xapian::TermGenerator
3112   classes.
3114 * Add missing rename for the C++ TermGenerator::set_document() method so it can
3115   be used as "tg.document = doc" in Ruby.
3117 * Fixed compilation on Mac OS X and warning from GCC on 32-bit Linux platforms.
3119 Tcl:
3121 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate relevance
3122   feedback, based on C++ simpleexpand.cc.
3124 * tcl8/docs/example/simpleindex.tcl: New simpler example making use of the
3125   TermGenerator class.
3127 * tcl8/docs/example/simplesearch.tcl: New simpler example making use of the
3128   QueryParser class.
3130 * tcl8/docs/bindings.html: Document how constants are wrapped.
3132 * Update smoketest and examples to require version 1.0.0 - previously this
3133   required 0.9.6, which failed since TCL doesn't accept differing major
3134   version numbers.
3136 * pkgIndex.tcl is now generated by configure.
3138 Packaging:
3140 * The required automake version has been lowered to 1.8.3, so RPMs can now be
3141   built on RHEL 4 and SLES 9.
3143 Xapian-bindings 1.0.0 (2007-05-17):
3145 Documentation:
3147 * Document Unicode support for each language.
3149 * Assorted minor improvements and typo fixes.
3151 General:
3153 * Add wrappers for ExpandDecider, and Enquire::get_eset() variants which use
3154   it, for languages where SWIG supports directors.
3156 * Wrap new features: TermGenerator, ValueRangeProcessor hierarchy, the
3157   OP_VALUE_RANGE query operator, the new overloaded form of parse_query, which
3158   allows the "default_prefix" argument to be supplied, QueryParser flags
3159   FLAG_PURE_NOT and FLAG_PARTIAL.
3161 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3163 * Remove wrappers for deprecated features removed from the C++ API (see
3164   docs/deprecation.html in xapian-core for full details and upgrade
3165   information).
3167 * Deprecate ESetIterator::get_termname() in favour of ESetIterator::get_term().
3169 * QueryParserError is now a real error, so remove special handling for "const
3170   char *" exceptions.
3172 * Use a stamp file in "make" rules with multiple targets so that parallel
3173   make works.
3175 * configure: Now quotes $PYTHON, etc so that you can specify a program with
3176   arguments.
3178 * configure: If the user specifies a program which doesn't exist (e.g.
3179   PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it.
3181 * configure: Disable probes for f77, gcj, and rc completely by preventing
3182   the probe code from even appearing in configure - this reduces the size of
3183   configure by 28% and should speed it up significantly.
3185 * configure: If the version check against the xapian-core version detects a
3186   mismatch, we now issue a warning rather than a hard error since if you're
3187   careful this can work.  The warning is issued late on in configure, so it's
3188   harder for the user to miss.
3190 * configure: The --with-swig option has been removed.  It no longer has a
3191   purpose as we now ship the files which are generated by SWIG.
3193 Portability:
3195 * The PHP bindings can now be built with MSVC for Microsoft Windows.
3197 CSharp:
3199 * When using Mono 1.2, we must build with gmcs (the C# 2.0 compiler) rather
3200   than mcs to avoid segmentation faults at runtime due to unimplemented
3201   features in mcs.  Document this, and update configure to prefer gmcs.
3203 * The return type of MatchDecider::operator() is now `bool' rather than `int'
3204   (in line with the same change in the C++ API).
3206 * Xapian.Stem.StemWord() deprecated in favour of Xapian.Stem.Apply().
3208 Java:
3210 * The Java bindings have been updated to use C++ replacements for deprecated
3211   methods, so they still build.  The Java wrappers still provide the old
3212   deprecated names for now though.  The longer term plan is to replace the
3213   hand-written JNI with SWIG generated wrappers (work has now begun on this)
3214   which is likely to require some API changes, and it seems more sensible to
3215   make any changes to align with C++ API changes at the same time.
3217 * Enquire.getQuery() is implemented entirely in Java, so strip out the unused
3218   MyQuery mechanism, and so fix a memory link which it caused (bug#105).
3220 PHP:
3222 * Fix undefined behaviour in get_matching_terms().
3224 * Document the (existing) renaming of methods which are PHP reserved words
3225   (empty() to is_empty() and clone() to clone_object()).
3227 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3229 Python:
3231 * The Python bindings now throw exceptions as classes with a hierarchy which
3232   mirrors that of the C++ Xapian::Error and its subclasses.  The xapian.Error
3233   base class inherits from the standard Python Exception class.
3235 * All Python methods which accept strings can now be passed either a unicode
3236   object or a simple string.  Strings are returned as simple strings: unicode
3237   input will be returned as utf-8 encoded output.  The documentation now
3238   contains a "Unicode" section.
3240 * The Python bindings should now be usable more efficiently from threaded
3241   Python applications since we now use SWIG's -threads option when generating
3242   them, so that the GIL is released during long-running Xapian operations
3243   (bug#137).
3245 * Most classes, methods, functions, etc now have docstrings which are either
3246   automatically extracted from the C++ documentation comments, or overridden by
3247   more appropriate versions.
3249 * Most of the Pythonic iterators now return an object instead of a sequence,
3250   which means they now lazily fetch the information which previously had to be
3251   fetched to put it in the sequence.  The old sequence API is supported for
3252   compatibility, but is scheduled for removal in Xapian 1.1.0.
3254 * Those Python iterators which have skip_to() methods now return the item
3255   skipped to, and next() will return the following item.  Previously, they
3256   returned None, and next() returned the item skipped to.  Several bugs in the
3257   skip_to() wrappers were fixed.
3259 * Because of the lazy access, some objects returned by iterators will raise
3260   an error if the lazy evaluation happens after the iterator has moved on
3261   (since the underlying Xapian API doesn't allow efficient access to the
3262   information in this situation).  The exact semantics are defined in the
3263   docstrings for each iterator.
3265 * Those Pythonic iterators which return only a list of terms now return
3266   simple strings, instead of a sequence or an object containing the term.  This
3267   is an incompatible change with earlier releases.  The affected iterators are
3268   Enquire.matching_terms, Query.__iter__, QueryParser.stoplist and
3269   QueryParser.unstemlist.
3271 * The contents of an MSet can now be iterated in the standard Python way.
3272   The iteration will return MSetItem objects.  The __contains__ and __getitem__
3273   methods are also implemented, allowing the "in" and [] operators to work.
3274   MSet.__getitem__ is a synonym for MSet.get_hit.
3276 * MSet.get_hit() now returns an MSetItem object instead of an MSetIterator,
3277   so that lazy access to its attributes is supported.  MSetItem has some
3278   deprecated methods which mimic the MSetIterator interface to allow old code
3279   to work without modification until release 1.1.0.
3281 * MSetItem provides access to the collapse_key and collapse_count, which
3282   weren't accessible from the sequence returned by the iterators before this
3283   release.
3285 * Out-of-range access to MSets will now raise an IndexError - it used to
3286   cause undefined behaviour (usually a crash).
3288 * The Python testsuite is now much more extensive, and supports colour output
3289   and verbosity levels, much like the C++ testsuite.  Tests of deprecated
3290   features are separated out, so that they can easily be removed when the
3291   features are removed.  The Python tests currently focus mainly on Python
3292   specific iterators and related functionality - general Xapian behaviour is
3293   tested by the C++ testsuite.
3295 * The pure Python code in the bindings now uses new-style classes, since we
3296   have required Python >= 2.2 since Xapian release 0.9.9.
3298 * Enquire.get_matching_terms is now deprecated - use Enquire.matching_terms
3299   instead.
3301 * The get_description() method which many classes support has been deprecated
3302   in favour of new more pythonic __str__ methods, so that the str() builtin can
3303   be used.  get_description() is deprecated and scheduled for removal in 1.1.0.
3305 Ruby:
3307 * We no longer regard the Ruby bindings as "beta quality", so remove the
3308   warning from their documentation.
3310 * Document that that C++ operator() becomes the method "call" in Ruby.
3312 * Don't read termfreq in safe wrapper for Document::termlist_begin().  Don't
3313   read wdf in safe wrapper for Database::allterms_begin() (bug#133).
3315 Tcl:
3317 * Deprecated Xapian::Stem's stem_word() method in favour of apply().
3319 Xapian-bindings 0.9.10.1 (2007-04-04):
3321 PHP:
3323 * Fix PHP5 class wrapper generation in a few cases for overloaded methods with
3324   default parameters.  The most notable case was a missing Query constructor
3325   which meant that QueryParser was unusable.
3327 * Fix compilation of the PHP4 bindings with ZTS-enabled versions of PHP
3328   (which mostly seems to mean the MS Windows version).
3330 * Fix PHP5 crash on exit with ZTS-enabled versions of PHP (which mostly
3331   seems to mean the MS Windows version).
3333 * Add note to the documentation that PHP examples are written for CLI version
3334   of PHP, but that the bindings work with any version.
3336 * Add check to all PHP examples that they are being run under a CLI version of
3337   PHP.
3339 Python:
3341 * simpleexpand.py: Print each term's expand weight as a floating point value,
3342   not an integer.
3344 Ruby:
3346 * INSTALL: document how to install Xapian's Ruby bindings in your home
3347   directory.
3349 Xapian-bindings 0.9.10 (2007-03-04):
3351 Java:
3353 * Under Mac OS X, automatically look in the standard location for jni.h,
3354   and automatically rename the JNI library we build to ".jnilib", as is
3355   required by the OS X JVM.
3357 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the requirement
3358   to add the linux header directory to the include path when using this JDK.
3360 * Add missing default constructor for RSet class - it's not much use without
3361   this!
3363 * Fix Enquire.getESet() to actually work.
3365 * Fix bug in ESetIterator.hasNext().
3367 * Fix MatchDecider and ExpandDecider so subclassing in Java actually works.
3369 * Fix memory leak with some JVMs in the "Query from array" constructor.
3371 * Fix memory leak in Enquire.setQuery().
3373 * SmokeTest.java: Add regression tests for RSet default constructor,
3374   Enquire.getESet(), ESetIterator.hasNext(), MatchDecider, ExpandDecider.
3375   Add feature tests for Enquire.getQuery(), and to make sure we get passed
3376   the right document in a java subclass of MatchDecider.
3378 * configure: Look for jni.h in $JAVA_HOME/include and $JDK_HOME/include if the
3379   respective variables are set.
3381 PHP:
3383 * Update the documentation to fix out-of-date information and document the
3384   differences between the PHP4 and PHP5 wrappers.
3386 * Update the examples to use the new Object Oriented API, and provide versions
3387   for both PHP4 and PHP5.
3389 * Add a "simpleexpand" example.
3391 * For PHP4, Xapian::DB_CREATE_OR_OPEN should be wrapped as
3392   Xapian_DB_CREATE_OR_OPEN not DB_CREATE_OR_OPEN, so wrap it with the
3393   new name, but keep the old name for now for backward compatibility.
3395 * configure: Try `$(PHP_CONFIG) --php-binary` when looking for a PHP
3396   interpreter - this works with PHP5.
3398 * configure: Remove the sanity check for PHP_EXTENSION_DIR added in Xapian
3399   0.9.8 - if Xapian is the first PHP extension to be installed, the extension
3400   directory may not exist and "make install" will create it.
3402 * configure: If zend.h isn't found and configure was run with "--with-php",
3403   exit with an error rather than automatically disabling PHP support.
3405 Python:
3407 * Fix a problem which preventing building for Python 2.5 on 64 bit platforms.
3409 Packaging:
3411 * RPMs: Add support for passing "--without python" to rpmbuild.  Document the
3412   various "--without" options in a comment at the start of the .spec file.
3414 * RPMs: Remove "." from the end of the Summary.
3416 Xapian-bindings 0.9.9 (2006-11-09):
3418 Documentation:
3420 * Ship our custom INSTALL file rather than the generic one from autoconf which
3421   we've accidentally been shipping instead since 0.9.5.
3423 General:
3425 * Wrap Flint::open() and Flint::open_writable().
3427 * configure: Require SWIG 1.3.30 (1.3.30 isn't out yet, but 1.3.30rc1 is
3428   suitable).
3430 Python:
3432 * Generate the bindings using SWIG 1.3.30rc1 which fixes a build error on 64
3433   bit platforms with Python 2.5.
3435 Packaging:
3437 * RPMs: Prevent binaries getting an rpath for /usr/lib64 on FC6.
3439 * RPMs: The Python bindings now require Python >= 2.2.
3441 Portability:
3443 * configure: Remove unnecessary backticks from tclsh version test.
3445 Xapian-bindings 0.9.8 (2006-11-02):
3447 General:
3449 * Wrap the "prog" form of Remote::open() (which is suitable for general purpose
3450   use as of 0.9.7) and the Remote::open_writable() methods (new in 0.9.7).
3452 * The C++ method QueryParser::parse_query() current throws "std:string"
3453   exceptions if there's a parse error.  Previously the bindings didn't catch
3454   these.  Now we catch them and handle them as if they were exceptions of
3455   type Xapian::QueryParserError (in anticipation of this changing in
3456   xapian-core).  Added testcases for this for PHP, Python, and C#.
3458 * configure: Note that SWIG is only useful for Xapian developers in --help
3459   output.
3461 * configure: If we failed to find any languages to build for, give a more
3462   helpful message.
3464 CSharp:
3466 * SmokeTest.cs: Fix warning about unused variable in OP_ELITE_SET check.
3468 Java:
3470 * configure: Fix check for jni.h in /usr/lib/jvm/java-gcj/include to actually
3471   work rather than using the cached failure of the first jni.h check.
3473 * SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
3475 * SmokeTest.java: Avoid gcj "set but not used" warning.
3477 PHP:
3479 * configure: Sanity check PHP_EXTENSION_DIR and PHP_INC.
3481 * smoketest4.php,smoketest5.php: Check the exception message given by the
3482   DocNotFoundError testcase.
3484 Python:
3486 * Drop support for Python 2.1.
3488 Xapian-bindings 0.9.7 (2006-10-10):
3490 Documentation:
3492 * NEWS: Fix the recent headings which said "Xapian-core" to say
3493   "Xapian-bindings".
3495 General:
3497 * Specify required automake version in the call to AM_INIT_AUTOMAKE in
3498   configure.ac.
3500 * If we're building with GCC 4.0 or higher, pass -fvisibility=hidden when
3501   compiling SWIG generated code which makes the compiled modules a few percent
3502   smaller and perhaps a little faster.
3504 * Wrap the newly implemented transaction API.
3506 * configure: Use "-fno-strict-aliasing" when compiling all the SWIG bindings
3507   (this option was supposed to be used to compile the Python bindings from
3508   0.9.3 onwards, but this wasn't actually working correctly).
3510 * Use CVS snapshot of SWIG to generate files (fixes bugs #83, #85).
3512 * In maintainer-mode, "make clean" now removes the SWIG generated files
3513   which would otherwise only be removed on "make maintainer-clean".
3515 CSharp:
3517 * Xapian::MatchDecider can now be subclassed in C#.
3519 * The value of OP_ELITE_SET was wrong in C# which caused an error if you tried
3520   to use it.  This has been fixed and a regression test added.
3522 * SmokeTest.cs: Added exception handling test.
3524 Java:
3526 * Correct two misuses of delete to delete[].  Fixes bug#78.
3528 * configure: We need to look for jni.h in /usr/lib/jvm/java-gcj/include on some
3529   Debian and Ubuntu boxes at least.
3531 PHP:
3533 * We now generate class wrappers for PHP5.
3535 * We now generate proxy classes for PHP4, which is an incompatible change
3536   from previous versions of xapian-bindings.  A perl script to upgrade
3537   your scripts is included.
3539 * smoketest.php:
3541   + Now that we're throwing PHP exceptions with PHP5 we need separate versions
3542     of the exception handling test for PHP4 and PHP5.  Fixes bug#76.
3544   + Rely on xapian.php to load the extension module for us.
3546   + Fix error messages to show PHP code, not Python code.
3548 * When running smoketest.php, pass the "-q" option to php, which suppresses
3549   HTTP header output for PHP < 4.3 and is ignored for compatibility by more
3550   recent versions of PHP.
3552 * configure: Fix typo - PHP_tried should be PHP_found.  This might have caused
3553   the PHP interpreter not to be found in some cases when it was actually
3554   available, but it's only used to run the smoketest not for building the
3555   bindings.
3557 Python:
3559 * configure: Fixed check for PYTHON_PATHSEP to use $PYTHON rather than python,
3560   and also report the check and its result to the user.
3562 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la has been
3563   built, so add an explicit dependency so that this works reliably in parallel
3564   builds.  Fixes bug#77.
3566 * In examples and documentation, don't call the MatchDecider class/object
3567   "matcher", since we use the term "matcher" to mean something else in
3568   the library documentation.
3570 * smoketest.py:
3572   + Add test of exception handling.
3574   + Add test that MatchDecider can be subclassed successfully.
3576 * Wrap TermIterator::skip_to() so that it can be used from the TermIter
3577   pythonic iterator class.
3579 Ruby:
3581 * Xapian::MatchDecider can now be subclassed in Ruby.
3583 * configure: Look for ruby interpreter as "ruby1.8" since it's called that
3584   (with no "ruby" alias) on Ubuntu dapper at least.
3586 * simplesearch.rb: Lowercase terms before stemming.  "First ten" is inaccurate
3587   since we may have less than 10 matches, so say "1-<N>" instead.
3589 * simplematchdecider.rb: Implemented.
3591 Tcl:
3593 * Implement saner exception handling for Tcl and document it.
3595 * smoketest.tcl:
3597   + Add check that xapian::Query_OP_ELITE_SET has the right value.
3599   + Rework how the smoketest gets run to eliminate special code for using
3600     uninstalled bindings from smoketest.tcl itself.  This allows the smoketest
3601     to be run using installed bindings, and also makes it a better example
3602     program.
3604   + Add test for exception handling.
3606   + Send error messages to stderr.
3608   + Add comment about Tcl storing zero bytes as \xc0\x80.
3610 * simpleindex.tcl,simplesearch.tcl: Print $errorCode in the exception handler.
3612 * For SVN snapshots, remove any _svn6789 suffix from the Xapian version number
3613   used for the Tcl bindings.
3615 Xapian-bindings 0.9.6 (2006-05-15):
3617 Documentation:
3619 * INSTALL: Add section describing how to install without root access.
3621 General:
3623 * Updated to reflect the renaming of Xapian::xapian_version_string and
3624   companions to Xapian::version_string.
3626 * Wrap optional length parameter to Enquire::set_query().
3628 * In PHP, Python, and Tcl bindings, rename get_document_id to get_docid for
3629   consistency.  Keep get_document_id as an alias for now for backward
3630   compatibility.
3632 * Fixed ESet::empty() to return bool instead of Xapian::termcount (this was
3633   probably a largely harmless error).
3635 * Stop SWIG from adding exception handling wrappers to the calls which return
3636   version strings, since they can't throw exceptions.
3638 * xapian.i: Removed superfluous "const" from return type "docid" which is just
3639   a typedef for an unsigned integer type.
3641 * configure: Add some missing "checking ..." messages so the user has more idea
3642   what is going on.
3644 * Language specific util.i files can now define
3645   XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
3646   XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP to indicate which optional typemaps
3647   are provided for each language.  This avoids needing to keep this
3648   information in two different places.
3650 * xapian.i: Uncomment commented-out parameter names and fix duplicate
3651   parameter names (for the benefit of bindings which use the parameter names,
3652   like the OO PHP5 patch for SWIG I'm working on...)
3654 Portability:
3656 * configure: Fix warning flags passed for Intel C++ compiler.
3658 CSharp:
3660 * We now support building with Portable.NET.
3662 * Note that the passing of strings from C# into Xapian and back isn't currently
3663   zero byte safe.  If you try to handle string containing zero bytes, you'll
3664   find they get truncated at the zero byte.
3666 * C# bindings now build and pass tests when srcdir != builddir.
3668 * In configure.ac, the "#" in "C#" seems to sometimes confuse autoconf so
3669   always say "CSharp" instead.
3671 * Not all machines are set up to run compiled C# programs when invoked
3672   directly, so get configure to check if we can, and otherwise see if using
3673   mono or ilrun works.  If not, just skip the C# tests.
3675 * configure: If "mcs" isn't found, we now look for a CSharp compiler as "gmcs"
3676   (alternative name for "mcs"), "cscc" (Portable.NET), and then "csc"
3677   (Microsoft, but we check it isn't the unrelated Chicken csc program.)
3679 * Move the C# specific %rename list to csharp/util.i.
3681 * Store the strong name key in the key container so we reuse it for later
3682   builds.
3684 * Wrap the version functions as more sensible names and document them (and
3685   continue to provide the older undocumented names for now just in case anyone
3686   was using them.)
3688 * Set the version of XapianSharp.dll correctly when building a snapshot from
3689   SVN and set informational attributes (which e.g. MS Windows Explorer shows.)
3691 * SmokeTest.cs: Add test of version functions.
3693 Guile:
3695 * The Guile bindings don't work and aren't being actively worked on, so we're
3696   no longer including them in the distributed tarball to avoid disappointing
3697   users who notice a "guile" subdirectory.  It also makes the download smaller.
3699 Java:
3701 * Simplify (and improve portability of) run-java-test by using "libtool
3702   --mode=execute"'s -dlopen option.
3704 * Need to make sure "built" subdirectory exists or building from clean fails.
3706 * Fix "make check" to work when srcdir != builddir.
3708 PHP:
3710 * Using "php -c myphp.ini" still loads the system php.ini (at least for PHP
3711   4.3.10), so use "php -n" and then set the options we specifically want using
3712   "-d".
3714 * Fix the smoketest invocation to work better when srcdir != builddir.
3716 * Look for PHP interpreter first in prefix given by "php-config --prefix".
3718 * Fix SWIG_RuntimeError to be handled as an exception in PHP5.
3720 * simplesearch.php: MAX_PROB_TERM_LENGTH isn't used here so remove it.
3722 * smoketest.php:
3724   + Add test for version reporting functions
3726   + If a test fails, say which one to aid debugging.
3728   + Added simple test that zero-bytes are handled correctly when passing
3729     strings to and from Xapian.
3731 Python:
3733 * README: Note that Python bindings have been built with MSVC.
3735 * Install xapian.py and xapian.pyc as _DATA not _SCRIPTS because we don't want
3736   to make them executable (they don't have a #! line).
3738 * simplematchdecider.py: Rename confusingly-named "mymatcher" to
3739   "mymatchdecider".  Add description of what this example does.
3741 * simpleexpand.py: Don't define MAX_PROB_TERM_LENGTH as it isn't used.
3743 * smoketest.py: Added simple test that zero-bytes are handled when passing
3744   strings to and from Xapian.
3746 Ruby:
3748 * Added new Ruby bindings from Paul Legato.
3750 Tcl:
3752 * smoketest.tcl:
3754   + Add test for version reporting functions
3756   + If a test fails, say which one to aid debugging.
3758   + Added simple test that zero-bytes are handled correctly when passing
3759     strings to and from Xapian.
3761 Xapian-bindings 0.9.5 (2006-04-08):
3763 Documentation:
3765 * HACKING,README: Split off HACKING to contain information which is only
3766   relevant to those wishing to modify the bindings.
3768 General:
3770 * SWIG-based bindings are now built with SWIG 1.3.29.
3772 * configure: Report which languages we're building bindings for just before
3773   configure finishes.
3775 * xapian.i: Make the stub definitions for disabled backends static.
3777 * configure: Don't quote $PHP in AC_PATH_PROGS to avoid "checking for ... no"
3778   message.
3780 * xapian.i: Wrap new method Enquire::set_sort_by_relevance_then_value().
3782 Packaging:
3784 * RPMs: xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
3785   Python bindings to support 64 bit systems.
3787 * RPMs: Package the C# bindings.
3789 Portability:
3791 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH has a
3792   different name.
3794 * configure: Detect Intel's C++ compiler and set suitable warning flags to
3795   avoid noise from compiling generated code.
3797 CSharp:
3799 * Rename Database::GetDoccount() to Database::GetDocCount() for consistency.
3801 Guile:
3803 * configure: Disable --with-guile since Guile support doesn't currently work.
3805 Java:
3807 * Override deprecation warnings for Xapian methods/functions/etc.
3809 * SmokeTest.java: Write a helpful diagnostic to stderr if a check fails so we
3810   have some idea what went wrong!
3812 * Rework how we include headers to get hash_map to avoid compiler warnings
3813   since it's usually not in the std namespace nowadays.
3815 * Previously the "all" target also ran the "install" target, but this has
3816   proved very problematic, so change "make check" to use the uninstalled JNI
3817   glue library, and update the instructions to say that "make install" is now
3818   required.
3820 * Use JAVA_PATHSEP when specifying the classpath for compiling .java files to
3821   .class files.
3823 * README: Note that some platforms need "-pthread" or similar flags.
3825 * Add a new Query constructor wrapper which take an OP_xxx and an array of
3826   Query objects.
3828 * Compiling a .java file to a .class file now deletes the .jar file to ensure
3829   it gets updated.
3831 PHP:
3833 * php -n avoids reading any php.ini, but the compiled in default may be to
3834   enable the dubiously named "safe_mode" which prevents dl() being used so
3835   "make check" fails.  So instead provide a very simple php.ini which turns off
3836   safe_mode and makes sure enable_dl is on.
3838 * Fix handling of bool parameters when resolving overloaded methods and/or
3839   default arguments.  This fixes Enquire_sort_by_value() to work when the
3840   second argument is specified.  Added regression test for this case.
3842 * simpleindex.php: Lowercase terms before stemming.  Fixes bug#73.
3844 * Fix segmentation fault when PHP "Null" is passed where C++ wants an object
3845   passed by reference.  Fixes bug#74.
3847 * simpleindex.php: Flushing after every call to WritableDatabase_add_document
3848   isn't required and will kill performance, so stop doing it.  Fixes bug#75.
3850 Python:
3852 * Use the fairly new "swig -O" option for the "modern" python bindings as
3853   it generates a smaller glue library and runs faster.  Some of the features
3854   enabled also work on python 2.1, so enable these for the "olde" bindings.
3856 * configure: Catch the case where the user has python installed but not the
3857   module "distutils.sysconfig" and explain that they probably need to install a
3858   python-dev or python-devel package.
3860 * "make check" now works in VPATH builds.
3862 * smoketest.py: If a check fails, write a diagnostic message to stderr so we
3863   know which check it was!
3865 * smoketest.py: catch Exception objects and print them.
3867 * smoketest.py: Add feature tests for the various pythonic iterator
3868   wrappers
3870 * python/docs/bindings.html: Document the Pythonic iterators.
3872 * Fix TermIter not to try to read termfreqs or positions if they aren't
3873   meaningful for the current TermIter.
3875 Xapian-bindings 0.9.4 (2006-02-21):
3877 Documentation:
3879 * COPYING: Updated FSF address.
3881 General:
3883 * Wrap Stopper::get_description().
3885 * Wrap xapian_version_string() and related functions.
3887 Portability:
3889 * If we're overriding MACOSX_DEPLOYMENT_TARGET then override it for commands
3890   run from "make" too.
3892 PHP:
3894 * Fix so that generated code compiles with ZTS-enabled PHP (which is the
3895   default on Windows).
3897 Python:
3899 * smoketest.py: Test wrapping of xapian_version_string() and related functions.
3901 Xapian-bindings 0.9.3 (2006-02-16):
3903 Documentation:
3905 * README: Updated and expanded (now covers supported platforms, and lists
3906   criteria which bindings for an additional language need to fulfil before
3907   we're likely to accept them).
3909 * INSTALL: Updated and improved.
3911 * TODO: Move C#-specific TODO to top level so we can track to-do items for
3912   all languages.
3914 General:
3916 * configure: Change how the user selects which bindings to build.  If no
3917   --with* arguments are passed, then we default to building bindings we detect
3918   the required tools for (as before).  But instead of requiring the user to
3919   deselect all bindings they don't actually want, we now let them select the
3920   bindings they do want.  So "./configure --with-python" will only build the
3921   python bindings (and will fail if the required tools aren't installed).
3923 * Every wrapped method contains exception handling code.  The bulk of this
3924   is now factored out into a single helper function, which cuts the compile
3925   time by around a factor of 3 and halves the size of the stripped library
3926   (figures are for Tcl on x86_64).
3928 * configure: Rework how XAPIAN_CXXFLAGS is passed through so that the user can
3929   override CXXFLAGS in the make invocation like so: make CXXFLAGS=-g
3931 * configure: Bump required SWIG version to 1.3.28 and drop the special
3932   requirement for 1.3.22 for PHP (hurrah!)  Note that you don't need
3933   SWIG to install the bindings - SWIG is run by the Xapian developers
3934   so these updated requirements are only relevant if you want to modify
3935   the bindings.
3937 * Eliminate separate Makefile in each examples subdirectory, which makes the
3938   build system simpler, smaller, and a little faster.
3940 * xapian.i: Include default constructors for all classes so that SWIG knows it
3941   doesn't have to use SwigValueWrapper for them, which makes the bindings code
3942   a bit smaller and faster.  Also stop SWIG using SwigValueWrapper for
3943   std::pair<...>.
3945 * configure: Document special environmental variables which configure
3946   recognises.  Enhance handling of environmental variables so you can
3947   e.g. './configure PYTHON=python23' (previously you had to give a full
3948   path in such environmental variables or they would be ignored.
3950 Packaging:
3952 * RPM spec file:
3954   + Automatically detect the python version.
3956   + Rename "php4" references to "php".
3958   + Automatically detect the PHP extension directory.
3960   + Relax Tcl requirement to >= 8.1, since that's what we actually require.
3962   + Add support for "--without php" and --without tcl8" options to rpmbuild.
3964 Portability:
3966 * configure: On Mac OS X, ensure MACOSX_DEPLOYMENT_TARGET is set to at least
3967   10.3.  This is required to link the bindings, and it doesn't seem to be
3968   possible to link them on 10.1 or 10.2 anyway.
3970 * configure: Add -lstdc++ to XAPIAN_LIBS if we're using GCC.  OpenBSD needs it
3971   to be explicitly specified and libtool correctly handles platforms where it
3972   would have been implicitly linked with anyway.
3974 * Try to enable PHP bindings to build out of the box on cygwin (needs testing).
3976 * configure: Add missing ";;" on the last alternative in some case statements.
3978 * Only pass -no-undefined on platforms where it is required in order to link a
3979   shared library at all (it causes problems on Mac OS X in some cases).
3981 CSharp:
3983 * This release includes a lot of improvements for the C# bindings.  They're
3984   now pretty much on a par with the other language bindings.
3986 * Added documentation and examples.
3988 * Method and function names are now renamed to match C# conventions
3989   (e.g. from get_description() to GetDescription()).  This is obviously an
3990   incompatible change, but the C# bindings haven't been suitable for real world
3991   use prior to this release.
3993 * Optional parameters are now wrapped so no longer need be specified
3994   explicitly.
3996 * Overload ++ and -- for iterators.
3998 * Overload == and != for iterators.  Now comparisons with the end iterator
3999   work as expected, and SmokeTest passes.
4001 * SmokeTest now reports exceptions verbosely.
4003 * Xapian::InMemory::open() is now wrapped as Xapian.InMemory.Open(), and
4004   similarly for other database factory functions.
4006 * Heed compatibility warnings from mcs and use different forms for
4007   command-line switches to the C# compiler (presumably for compatibility with
4008   Microsoft's compiler, though the warnings don't actually say that
4009   explicitly).
4011 Guile:
4013 * Rewrote guile/util.i.  The old version caused SWIG warnings and wasn't
4014   zero-byte safe.  The guile bindings are still a long way from actually
4015   working though.
4017 Java:
4019 * Wrap optional second parameter (query length) to Enquire::set_query().
4021 * configure now probes for the Java path separator, which we then use to
4022   separate entries in the java -classpath command line option so we can
4023   build on platforms where it isn't ":".
4025 * SmokeTest.java: Expand to test more features.
4027 * java/README:
4029   + Note that the bindings work with the Eclipse javac and GIJ 4.0.1.
4031   + Add note about how wrapped methods are named.
4033 * Query.java: OP_* code 9 no longer exists, so add it to those rejected by the
4034   validity check.
4036 * Query.java: Comment out unused code.
4038 * Fixed memory leak in Query-from-array-of-strings constructor.
4040 * Eliminate the "_errormap" hashmap - we don't need to use RTTI here, since
4041   Xapian::Error subclasses can tell you their typename directly (using
4042   get_type()).
4044 PHP:
4046 * Some problems with overloaded methods in PHP have been fixed by a major
4047   overhaul of SWIG's PHP support.  So we no longer rename such methods
4048   for PHP.  This is an incompatible change, but it's easy to update your
4049   PHP scripts (just change new_Query_from_term_pair -> new_Query, etc).
4051 * Previously the documentation and simpleindex.php suggested that you
4052   should call delete_CLASS().  This was incorrect and resulted in a
4053   double-free() in some cases, so we've fixed the documentation and
4054   examples and eliminated the delete_CLASS() wrappers.  This is another
4055   incompatible change, but again easy to update for.
4057 * We now support PHP5 as well as PHP4, so the configure test now looks
4058   for either and all references to "PHP4" or "php4" have been adjusted.
4060 * PHP5 supports exceptions, so throw exceptions under PHP5.  For PHP4
4061   we now handle DocNotFoundError and FeatureUnavailableError by issuing a
4062   warning and making the method return "Null".  This isn't ideal, but it's
4063   the best we can easily do without proper exceptions.
4065 * For the smoketest, instead of using "$(PHP) -c $(srcdir)" and having an
4066   empty php.ini in srcdir (which we were failing to distribute anyway), use
4067   "$(PHP) -n" which tells PHP not to use any php.ini file.
4069 * Update PHP documentation to include new features.
4071 * Redo Xapian section in phpinfo() to look more like most other modules.
4073 * You can now construct a Query object from an array of strings or Query
4074   objects (or even a mixture).
4076 * PHP examples now give a more useful error message if a database can't be
4077   opened.
4079 * smoketest.php: Expanded the tests performed, including feature tests for
4080   the new Query-from-list constuctor.
4082 * simplesearch.php: Use newly wrapped Query-from-list constructor.
4084 * Use std::string::data() instead of c_str() as it may be more efficient for
4085   some STL implementations.
4087 * Enquire::get_matching_terms() now generates the PHP list directly from the
4088   TermIterator rather than constructing a temporary C++ std::list, which is
4089   faster and requires less temporary memory.
4091 Python:
4093 * The Python constructor xapian.Query(OP, LIST_OF_STRINGS [, PARAM]) works
4094   once again (it has been broken since 0.9.0).  Added a regression test to
4095   help keep this working.
4097 * Enhance the above constructor to accept any Python sequence (e.g. a tuple
4098   instead of a list).  Also the sequence can contain xapian.Query objects or
4099   strings or a mixture.  Documented these enhancements.
4101 * smoketest.py: Expanded the tests performed.
4103 * Convert C++ strings to python ones in a zero-byte clean way.
4105 * Added more error checking of the results of calls into the python
4106   interpreter.
4108 * If using GCC, compile the python bindings with -fno-strict-aliasing (python
4109   itself is compiled with this option to avoid problems and it appears we ought
4110   to use it too to avoid the risk of hitting the same problems, although I'm
4111   not aware of anyone actually encountering such problems).
4113 * When making xapian.pyc, "import _xapian;" before we "import xapian;" to
4114   avoid creating a broken xapian.pyc is the shared library can't be loaded for
4115   some reason.
4117 * Enquire::get_matching_terms() now generates the Python list directly from the
4118   TermIterator rather than constructing a temporary C++ std::list, which is
4119   faster and requires less temporary memory.
4121 Tcl:
4123 * Terms with a leading underscore now work (thanks to changes in SWIG).
4125 * Implement custom typemaps for Tcl, so that you can now construct a Query from
4126   a list of Query objects and/or strings, and Enquire::get_matching_terms is
4127   now wrapped.
4129 * simplesearch.tcl: Use the new Query from list constructor.
4131 * simplesearch.tcl: Fix to lowercase and stem query terms.
4133 * simpleindex.tcl: Tweak regex to not tokenise "foo--bar" as "foo-" and "bar".
4135 * simpleindex.tcl,simplesearch.tcl: Need explicit "xapian::" on constants.
4137 Xapian-bindings 0.9.2 (2005-07-15):
4139 General:
4141 * Added wrappers for new optional flags argument to QueryParser::parse_query().
4143 CSharp:
4145 * Enhance configure to check that "mcs" is actually GNU Mono mcs and not
4146   another tool with the same name.
4148 Java:
4150 * Include SmokeTest.java in the distribution so "make check" works.
4152 * Added success report for Sun java 1.4.1_01a.
4154 Python:
4156 * When converting a python list to vector<string> we know the number of elements
4157   so reserve that number in the vector.
4159 Xapian-bindings 0.9.1 (2005-06-06):
4161 General:
4163 * Releases are now created using libtool 1.5.18 and automake 1.9.5.
4165 Tcl:
4167 * Updated documentation to include information from Michael Schlenker about how
4168   to delete a database object such that the destructor gets called.
4170 Xapian-bindings 0.9.0 (2005-05-13):
4172 General:
4174 * Updated SWIG-based bindings to latest Xapian API
4176 * Improve support for building the bindings on MS Windows:
4178   + Provide stub versions of any backend functions which are disabled in the
4179     library we're wrapping to avoid a link failure on MS Windows (where the
4180     remote backend is automatically disabled).  These stubs just throw
4181     Xapian::FeatureUnavailableError.
4183   + Add -no-undefined to *_la_LDFLAGS.
4185   + Use $(PATH_SEPARATOR) or Python's os.pathsep instead of ':' where
4186     appropriate.
4188   + For python, paths for finding headers and installing libraries are now
4189     handled so they work on MS Windows; an extra static library needs to be
4190     linked in too.
4192 * Wrap the Muscat36 Database factory functions (easy to do now we have stubs
4193   for disabled backends).
4195 * Don't wrap MSet::max_size() as it's there for STL compatibility rather than
4196   being useful functionality.
4198 * configure: Fix all SWIG warnings and pass -Werror to SWIG so any which get
4199   introduced in future get fixed.
4201 * configure: Fix version test to allow for _svn6789 suffix which SVN snapshots
4202   have.
4204 * Generate SWIG bindings with SWIG 1.3.24 (except for PHP which we still use
4205   1.3.22 for as more recent versions don't work with methods with optional
4206   arguments - the arguments become non-optional!)
4208 Guile:
4210 * configure: Disable guile by default, as it needs more work.
4212 Java:
4214 * Updated to compile against 0.9.0 API.
4216 * Added missing make rule to build SmokeTestWrap.class to "make check" works.
4218 * Wrap optional parameters to Query(term) constructor.
4220 PHP4:
4222 * For PHP4, rename default Database constructor to Database_empty
4223   instead of suppressing the much more useful Database(const string &path)
4224   constructor.
4226 * Use a blank config file when running PHP4 tests to avoid problems
4227   when the bindings are already installed as an extension which is
4228   loaded automatically in the default config.
4230 * configure.ac: If configure can't find the PHP interpreter (as php4 or php),
4231   it probably just means it's not in PATH.  We only need it for running tests,
4232   so substitute a trivial shell script which just exits with code 77 so PHP
4233   tests are skipped (previously we substituted "missing" which caused the tests
4234   to fail).
4236 Python:
4238 * Added Python-style iterators ESetIter, TermIter, PostingIter, PositionIter,
4239   and ValueIter.
4241 * configure: If python is found, also check that Python.h exists (it may not be
4242   if the python-dev package (or similar) isn't installed).
4244 Xapian-bindings 0.8.5.1 (2005-02-23):
4246 General:
4248 * configure: Run compiler feature tests using the C++ compiler, not the C
4249   compiler.
4251 * Allow bindings version to have an extra "patchlevel", yet still match with
4252   corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
4254 Java:
4256 * Added a missing .java source file and removed several unused ones.
4258 * Fixed several glitches in the java bindings automake build system.
4260 * Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
4261   warnings in generated code (we were carefully passing "-Wunused"
4262   which is the opposite of what is needed!)
4264 * Fixed a couple of warnings from GCJ.
4266 * Wrapped a few missing methods added since Eric created the bindings.  There
4267   are still some missing methods - there's now a (probably incomplete) list in
4268   java/README.
4270 * Added various useful bits of information to java/README.
4272 * Tweaked SimpleSearch.java to be more like the C++ version.
4274 PHP4:
4276 * 0.8.5 was generated with SWIG 1.3.24, but PHP support is broken there so
4277   we now generate the PHP bindings with SWIG 1.3.22 and everything else with
4278   a more recent version.
4280 * configure: Check for "php" as a program name as well as "php4", and
4281   fall-back to missing so the error message from "make check" is better.
4283 Xapian-bindings 0.8.5 (2004-12-23):
4285 General:
4287 * INSTALL: Added non-generic installation instructions.
4289 Python:
4291 * Fixed bytecode compilation of xapian.py.  xapian.pyc was being generated in
4292   the same directory as xapian.py, but Makefile.am was looking in current
4293   directory when installing it.  Additionally, VPATH builds were broken.
4294   These problems were introduced by changes in 0.8.4.
4296 Xapian-bindings 0.8.4 (2004-12-08):
4298 General:
4300 * README: Now clearly says which languages we currently support, which people
4301   are working on, etc.
4303 * Instead of requiring the user to have a really recent SWIG installed, ship
4304   the files SWIG generates.  Disable all the SWIG rules unless configure is run
4305   with --enable-maintainer-mode to make sure they aren't triggered accidentally
4306   (e.g. by make with dodgy VPATH).
4308 * configure: Require SWIG 1.3.22 or higher (but note that SWIG is no longer
4309   needed if you just want to install the bindings).
4311 * Wrap the new Database and WritableDatabase constructors which replace
4312   Auto::open().
4314 * It turns out that we do need to wrap MSet::MSet() (wrapping removed in 0.8.2)
4315   (for example, simpleexpand.py needs it).
4317 * In the Query constructor which takes a vector of terms, only call set_window
4318   if window is non-zero.  Otherwise things go wrong if we're passed an empty
4319   vector.
4321 * Second argument to Document::add_posting() isn't optional, but xapian.i
4322   indicated that it was.
4324 * xapian.i: Added wrappers for Xapian::Weight and standard subclasses.
4325   Deriving your own weight class in the scripting language isn't currently
4326   supported.
4328 * xapian.i: %name is deprecated, so use %rename instead.  This also works
4329   around a bug in SWIG 1.3.23.
4331 * configure: Removed pointless probe for a C compiler - everything we compile
4332   is C++.
4334 * configure: Reinstated the check that the bindings version matches the version
4335   of the xapian library.  It was added in 0.8.2, but accidentally removed in
4336   0.8.3.
4338 * Use newly added option `xapian-config --swigflags` which (a) avoids always
4339   passing -I/usr/include which could cause problems if we're using a Xapian
4340   install not in /usr and there's another one in /usr and (b) avoids problems
4341   if `xapian-config --cxxflags` contains flags other than -I<something>.
4343 CSharp:
4345 * Richard Boulton has put together bindings for C#.  These build successfully
4346   with the Mono tools, but the smoketest currently fails.  Unclear if the
4347   problem is the bindings or the smoketest code.
4349 Guile:
4351 * The guile bindings now build successfully, so we've enabled the guile
4352   detection machinery in configure.  They're untested though (we don't
4353   know guile!) so success or failure reports are encouraged!
4355 PHP4:
4357 * Mention the example scripts near the start of the documentation, not right at
4358   the end.
4360 * Remove documentation explicitly saying how we wrap Xapian::QueryParser and
4361   Xapian::Stem since we wrap them exactly as we wrap everything else we don't
4362   mention!
4364 Python:
4366 * Make overloaded Query(Query::op, vector<string>*, termpos) constructor
4367   work in Python.
4369 * Changed examples to use the newly wrapped Query from list of terms ctor.
4371 * Mention the example scripts near the start of the documentation, not right at
4372   the end.
4374 * python/Makefile.am: Added xapian_wrap.h as a target for the rule which runs
4375   SWIG.
4377 * Remove documentation explicitly saying how we wrap Xapian::QueryParser and
4378   Xapian::Stem since we wrap them exactly as we wrap everything else we don't
4379   mention!
4381 * Mention simpleexpand example in documentation.
4383 * Examples now report messages for Xapian exceptions.
4385 * Removed MAX_PROB_TERM_LENGTH from example scripts which don't use it.
4387 * Make the example MatchDecider exclude documents matching a value, rather than
4388   a term.  The latter is a very inefficient way to do what AND_NOT does, and we
4389   don't want examples to mislead like that.
4391 * python/docs/bindings.html: Note that you can construct a query
4392   from a list of terms, even if you can't from a list of queries.
4393   Add HTML links to the examples.
4395 * simpleindex.py: Trim spaces from the start as well as from the end of each
4396   line.  Simplify the loop slightly.
4398 Tcl:
4400 * Wrap in a tcl8 namespace "Xapian".
4402 * Added a smoketest.
4404 * Translated simpleindex and simplesearch into Tcl.
4406 * Set the Tcl package version.
4408 * Create pkgIndex.tcl so the package can be loaded in the usual Tcl way.
4410 * Install in "xapian<VERSION>" directory in the conventional Tcl way.
4412 * Added documentation for tcl8 bindings.
4414 * Use the TCL_STUBS mechanism so that compiled extensions are portable between
4415   different versions of Tcl.  This needs Tcl 8.1, so bump the required Tcl
4416   version (was 8.0).
4418 * configure.ac: Noted that the bindings can easily be compiled for use with
4419   Tcl 8.0, in case anybody needs that for some reason.
4421 * Don't wrap the factory functions which return a quartz WritableDatabase as
4422   the destructor never gets called so changes aren't flushed and the lock file
4423   isn't removed.
4425 Xapian-bindings 0.8.3 (2004-09-20):
4427 General:
4429 * Fixed mismatching versions of libtool used to produce configure and
4430   ltmain.sh.  The obvious symptom was ".so" missing from the shared object
4431   names.
4433 * RPM spec file contributed by Fabrice Colin.  Currently this packages Python,
4434   PHP4, and Tcl bindings.
4436 Java:
4438 * Pass -classpath to javac to fix build problems.
4440 * Make sure errors subdirectory is built before we try to build the jar file.
4442 * Fixed "make install" to not give libtool error.
4444 PHP4:
4446 * Include PHP4 documentation and exmples in the tarball.
4448 * Reverted "Use special SWIG PHP ldflags when linking the PHP glue library."
4449   change from 0.8.2 - it turns out we only need to pass these flags if we use
4450   swig's -noruntime option (which we don't do).
4452 Python:
4454 * Use swig's -modern switch for Python 2.2 and up - it gives cleaner, leaner,
4455   faster Python wrapper code.
4457 Tcl:
4459 * Don't install xapian.la.
4461 * Improved configure check for tcl.h to work with Fedora Core 2.
4463 Xapian-bindings 0.8.2 (2004-09-13):
4465 General:
4467 * Added wrappers for recently added methods: ESet::back() and
4468   Database::get_lastdocid(), and wrap the new optional third parameter
4469   to Enquire::set_sorting().
4471 * No longer wrap MSet::MSet() - it's not of use in scripting languages.
4473 * Wrap operator-- as prev() for MSetIterator and ESetIterator.
4475 * Wrap Quartz, InMemory, and Remote database factory functions as
4476   quartz_open(), inmemory_open(), and remote_open().
4478 * Added missing wrappers for static Stem::get_available_languages() and
4479   Stem::get_description().
4481 * Wrap renamed method Query::empty() (was Query::is_empty()).
4483 * Remove renaming of other empty() methods to is_empty() (but keep is_empty()
4484   as an alias for now).
4486 * Require autoconf 2.59 and automake 1.8.5.
4488 * configure: Added check that the bindings version matches the version of
4489   the xapian library.
4491 * configure: Check if we're using GCC and only pass GCC specific warning
4492   control options if we are.
4494 * configure: When running with GCC, also pass -Wno-uninitialized so the
4495   SWIG glue builds without warnings.
4497 * README: Updated list of languages which SWIG supports.
4499 PHP4:
4501 * Document that the 2 argument form of Xapian::Auto::open() for opening a
4502   writable database is wrapped as open_writable() (bug #32).
4504 * Include Xapian version in output from phpinfo().
4506 * Build the SWIG glue library like we build the others rather than using
4507   SWIG's -phpfull option.  This avoids problems with newer automake versions
4508   and means we can build against an uninstalled xapian library.
4510 * Corrected documentation to refer to Xapian::DB_* not Xapian::Auto::DB_*.
4511   Fixed documentation of how Xapian::Query::OP_* are wrapped.
4513 * Use special SWIG PHP ldflags when linking the PHP glue library.
4515 * simplesearch.py now works with multi-term queries.
4517 * Added documentation on how to install the PHP4 bindings.
4519 * Added a simple testcase to at least ensure the PHP4 bindings can be
4520   initialised and some simple operations work.
4522 Python:
4524 * configure: Now checks for Python >= 2.1 which we need for __cmp__ and __eq__.
4526 * Don't install _xapian.la and _xapian.a.
4528 * Byte compile xapian.py to xapian.pyc and install it.
4530 * Suppress SWIG warning about MatchDecider::operator() director discarding
4531   const.
4533 * "make clean" no longer leaves "xapian_wrap.h" behind.
4535 * Added a simple testcase to at least ensure the python bindings can be
4536   initialised and some simple operations work.
4538 Tcl8:
4540 * configure: Disable building tcl8 bindings if the headers are missing
4541   (probably because the tcl8.X-dev package isn't installed).
4543 Xapian-bindings 0.8.1 (2004-06-30):
4545 General:
4547 * configure: Require SWIG 1.3.20 or higher (previously was 1.3.14).
4549 * Add "-I/usr/include" to the swig line.  This is needed when xapian is
4550   installed with a prefix of /usr, since "xapian-config --cxxflags" carefully
4551   doesn't emit -I/usr/include in this situation (because it causes problems
4552   with some GCC versions).
4554 * Fixed the %exception handler to cover all the exceptions Xapian can throw,
4555   not just a subset.
4557 Java:
4559 * Removed wrappers for unused error classes which have been pruned from C++.
4561 * Make finalize() methods of Database and WritableDatabase public so they can
4562   be called from by the user.
4564 * Document Document.add_term_nopos() as deprecated.
4566 PHP4:
4568 * Make sure that PHP bindings build a module which exports get_module() so PHP
4569   is able to load it.
4571 * Configure now checks that phpize can actually be run, rather than just that
4572   it's executable (test -x isn't portable anyhow).
4574 * Added basic documentation and examples to PHP4 bindings.
4576 * Rename overloaded methods and constructors.
4578 * Add simple access to the prefixes map in QueryParser.
4580 * Correct simpleindex ports to never generate empty termnames.
4582 Python:
4584 * configure: Use $PYTHON instead of python when running python to determine
4585   library and include paths and version number.
4587 * Actually ship python examples and documentation.
4589 Xapian-bindings 0.8.0 (2004-04-20):
4591 * README: Started collecting information on supporting Xapian from even
4592   more languages.
4594 * Added configure tests to enable bindings only where the necessary tools
4595   are installed and have a supported version.  ./configure --without-LANGUAGE
4596   allows particular languages to be forcibly disabled.
4598 * Added Xapian::Document::add_term() - the new name for add_term_nopos().
4600 * A couple of Xapian::Query constructors weren't being wrapped - fixed.
4602 * Added Eric B. Ridge's JNI bindings for Java.  The JNI bindings themselves
4603   have been well tested, but integration with the xapian-bindings configure
4604   system hasn't been tested at all - please alert us to any problems.
4606 * Xapian can now be used from TCL.
4608 * Python: MSet now provides a Python iterator.
4610 * Python: OMMSET_* and OMESET_* renamed to MSET_* and ESET_*.
4612 * Python: enable directors for MatchDecider, to allow subclassing in Python.
4614 * Python: Added basic documentation, and some examples.