1 Sun May 24 13:07:47 GMT 2015 Olly Betts <olly@survex.com>
3 * configure.ac: Fix configure test for whether $CLI can run CSharp
4 programs - previously it would always fail, which would mean that
5 the CSharp tests wouldn't be run if CSharp programs can't be run
8 Fri May 22 06:13:49 GMT 2015 Olly Betts <olly@survex.com>
12 Fri May 22 04:48:35 GMT 2015 Olly Betts <olly@survex.com>
14 * NEWS.SKELETON: Add "Python3" section.
16 Thu May 21 04:37:31 GMT 2015 Olly Betts <olly@survex.com>
18 * README,configure.ac: Require Tcl 8.5 as older versions are no longer
19 supported upstream, and this version added ::tcl::pkgconfig, which
20 makes the configure tests simpler and more reliable.
22 Tue May 19 05:45:48 GMT 2015 Olly Betts <olly@survex.com>
24 * perl/t/symbol-test.t: If the symboltest module build fails, skip the
25 test - it's likely due to external reasons, like incompatible
26 compiler flags being taken from Perl's Config module, due to Perl
27 having been built with a different compiler to Xapian.
29 Fri May 15 11:31:59 GMT 2015 Olly Betts <olly@survex.com>
31 * perl/perl.i: Just call the existing Perl Xapian::inmemory_open()
32 function rather than defining and wrapping an inline C++
33 new3_WritableDatabase() function which calls InMemory::open().
35 Fri May 15 06:49:50 GMT 2015 Olly Betts <olly@survex.com>
37 * perl/util.i.in: Add a "LICENSE" section to the main POD.
39 Fri May 15 04:50:28 GMT 2015 Olly Betts <olly@survex.com>
41 * python3/pythontest.py: Expand comment about disabling
42 test_import_star under threads.
44 Thu May 14 13:50:24 GMT 2015 Olly Betts <olly@survex.com>
46 * README: Remove the experimental markers from Lua and Python3,
47 and the note welcoming patches for Python 3.1.x support (since
48 Python 3.1.x was EOL-ed 3 years ago).
50 Tue May 12 07:39:04 GMT 2015 Olly Betts <olly@survex.com>
52 * configure.ac: Fix typo.
54 Mon May 11 06:55:32 GMT 2015 Olly Betts <olly@survex.com>
56 * doxygen_xml.conf.in,xapian-head.i: Update for addition of
59 Sun May 10 13:27:23 GMT 2015 Olly Betts <olly@survex.com>
61 * xapian-headers.i: Update for optional reference counting of
64 Sun May 10 11:21:55 GMT 2015 Olly Betts <olly@survex.com>
66 * xapian-headers.i: Update for optional reference counting of
69 Fri May 08 11:01:03 GMT 2015 Olly Betts <olly@survex.com>
71 * perl/t/: Add 'use strict' to all testcases.
73 Fri May 08 11:00:14 GMT 2015 Olly Betts <olly@survex.com>
75 * perl/t/document.t,perl/t/writabledatabase.t: Add missing 'my'.
77 Fri May 08 10:55:32 GMT 2015 Olly Betts <olly@survex.com>
79 * perl/perl.i: Wrap missing constants.
81 Fri May 08 10:54:51 GMT 2015 Olly Betts <olly@survex.com>
83 * perl/perl.i,perl/t/parser.t: Wrap WILDCARD_LIMIT_* constants as
86 Fri May 08 10:48:20 GMT 2015 Olly Betts <olly@survex.com>
88 * perl/t/parser.t: Update to use Test::More.
90 Fri May 08 09:56:52 GMT 2015 Olly Betts <olly@survex.com>
92 * perl/perl.i: Remove duplicate %constant for OP_WILDCARD.
94 Tue May 05 04:56:25 GMT 2015 Olly Betts <olly@survex.com>
96 * python/pythontest.py,python3/pythontest.py: Fix typo in test context
97 ("multipler" -> "multiplier").
99 Tue May 05 04:09:24 GMT 2015 Olly Betts <olly@survex.com>
101 * perl/Makefile.am,perl/t/collapse.t: Add test coverage for
102 Enquire::set_collapse_key() with 1 and 2 parameters.
104 Fri May 01 12:16:29 GMT 2015 Olly Betts <olly@survex.com>
106 * configure.ac: Update check for -fvisibility to match xapian-core's.
108 Fri May 01 12:15:28 GMT 2015 Olly Betts <olly@survex.com>
110 * configure.ac: Simplify test of Ruby version.
112 Fri May 01 12:14:31 GMT 2015 Olly Betts <olly@survex.com>
114 * INSTALL: IRIX is past EOL so drop information about IRIX make.
116 Fri May 01 12:05:53 GMT 2015 Olly Betts <olly@survex.com>
118 * perl/perl.i: Add workaround for Perl defining a seed() macro which
119 breaks '#include <algorithm>' undef C++11 with GCC.
121 Fri May 01 11:04:33 GMT 2015 Olly Betts <olly@survex.com>
123 * configure.ac,m4/ax_cxx_compile_stdcxx_11.m4: Require a C++11
126 Fri Apr 24 03:26:10 GMT 2015 Olly Betts <olly@survex.com>
128 * xapian-headers.i: Don't wrap Query::LEAF_* - they're for internal
130 * python/smoketest.py: Add test_internal_enums_not_wrapped to check
131 that xapian.Query has no attributes starting with "LEAF_".
133 Mon Apr 13 06:22:15 GMT 2015 Olly Betts <olly@survex.com>
135 * tcl8/tcl.i: Adjust precedence of the typecheck typemap for wrapping
136 constructing a query from a Tcl list so that we disambiguate this
137 from the new OP_WILDCARD constructor correctly.
139 Thu Apr 09 21:47:28 GMT 2015 Olly Betts <olly@survex.com>
141 * ruby/Makefile.am: Ship generate-rdoc-stubs in the tarball. Reported
142 by Matthias Klose in https://bugs.debian.org/782270
144 Fri Mar 13 10:33:47 GMT 2015 Olly Betts <olly@survex.com>
146 * python/Makefile.am,python3/Makefile.am: Fix 'make install' when
147 building from git with --disable-documentation. Fix to handle a
148 VPATH build from a tarball when the generated docs will be in
151 Fri Mar 13 05:28:28 GMT 2015 Olly Betts <olly@survex.com>
153 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
154 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Fix "make
155 install" from a git tree configured with --disable-documentation.
156 (Fixes #658, reported by German M. Bravo)
158 Tue Mar 03 04:04:36 GMT 2015 Olly Betts <olly@survex.com>
160 * java/docs/examples/SimpleSearch.java: getPercent() returns an
163 Tue Mar 03 04:01:46 GMT 2015 Ashley <ashley@eclipso.ch>
165 * java/docs/examples/SimpleSearch.java: Fix build and update example.
167 Fri Feb 13 13:10:11 GMT 2015 Olly Betts <olly@survex.com>
169 * python/smoketest.py,python3/smoketest.py: Update testcases for lazy
170 wildcard expansion change in xapian-core.
172 Wed Jan 07 04:00:24 GMT 2015 Olly Betts <olly@survex.com>
174 * configure.ac: Don't AC_SUBST LUA_INC as we never use it.
176 Thu Dec 18 00:30:06 GMT 2014 Olly Betts <olly@survex.com>
178 * python/python.i: Don't release the GIL when using
179 XapianSWIGQueryItor as it uses Python C API calls.
181 Thu Dec 18 00:19:56 GMT 2014 Olly Betts <olly@survex.com>
183 * python3/pythontest.py: Actually reenable the test case which was
184 failing before the previous commit fixed the underlying problem.
186 Thu Dec 18 00:18:07 GMT 2014 Olly Betts <olly@survex.com>
188 * python3/python.i: Don't release the GIL when using
189 XapianSWIGQueryItor as it uses Python C API calls. (fixes #346)
191 Wed Dec 17 23:01:35 GMT 2014 Olly Betts <olly@survex.com>
193 * python/generate-python-exceptions,
194 python3/generate-python-exceptions: Remove comment which is no
195 longer correct since #538 was fixed 4.5 years ago.
197 Mon Dec 15 00:10:42 GMT 2014 Olly Betts <olly@survex.com>
199 * xapian-headers.i: Add DB_RETRY_LOCK as a constant to wrap.
201 Fri Dec 05 11:26:16 GMT 2014 Olly Betts <olly@survex.com>
203 * ChangeLog,configure.ac: Fix typos reported by Veres Lajos.
205 Fri Dec 05 11:20:17 GMT 2014 Olly Betts <olly@survex.com>
207 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags
210 Sun Nov 30 22:00:58 GMT 2014 Olly Betts <olly@survex.com>
212 * configure.ac: Add an example of specifying LUA_SO to --help output.
214 Sun Nov 30 21:49:48 GMT 2014 Olly Betts <olly@survex.com>
216 * configure.ac: Rework LUA_SO checks to be clearer and to properly
217 handle LUA_SO being specified without a leading '.'.
219 Sun Nov 30 15:46:08 GMT 2014 James Aylett <james@tartarus.org>
221 * configure.ac: use \{0,1\} instead of \? for better sed
224 Mon Nov 24 19:58:34 GMT 2014 Olly Betts <olly@survex.com>
226 * NEWS,configure.ac: Update for 1.3.2.
228 Mon Nov 24 10:45:30 GMT 2014 Olly Betts <olly@survex.com>
230 * configure.ac: Update comment about MACOSX_DEPLOYMENT_TARGET -
231 OS X 10.2 is long obsolete now.
233 Sun Nov 23 23:57:02 GMT 2014 Olly Betts <olly@survex.com>
235 * NEWS,csharp/Makefile.am,csharp/docs/index.rst,fake_dbfactory.i,
236 java/Makefile.am,lua/docs/index.rst,php/docs/index.rst,
237 python/docs/introduction.rst,python/smoketest.py,
238 python3/docs/introduction.rst,python3/smoketest.py,
239 ruby/docs/index.rst,tcl8/docs/index.rst,xapian-head.i,
240 xapian-headers.i: Update for renaming of 'brass' backend to 'glass'.
242 Sun Nov 23 05:14:03 GMT 2014 Olly Betts <olly@survex.com>
244 * python/docs/introduction.rst: Fix typo.
246 Sun Nov 09 22:48:08 GMT 2014 Olly Betts <olly@survex.com>
250 Tue Nov 04 20:38:38 GMT 2014 Olly Betts <olly@survex.com>
252 * php/docs/index.rst: Note that PHP < 5.4 are now out of security
255 Tue Nov 04 04:38:06 GMT 2014 Olly Betts <olly@survex.com>
257 * php/smoketest.php: Iterating foreach ($it as $k => $c) doesn't work
258 unless $k is a string or integer in PHP < 5.5, so test the old way
259 under older versions.
261 Tue Nov 04 04:25:57 GMT 2014 Olly Betts <olly@survex.com>
263 * php/smoketest.php: Remove disabling of subclassing tests for PHP
266 Mon Nov 03 22:11:19 GMT 2014 Olly Betts <olly@survex.com>
268 * INSTALL,php/docs/index.rst: In current PHP releases, dl() will only
269 look in the configured extension directory, and only accepts a
270 leafname, and dl() is disabled in most SAPIs, so update the
271 documentation about how to install the PHP bindings without being
272 root. Fixes #661, reported by Felix Ostmann.
274 Sun Nov 02 20:51:03 GMT 2014 Olly Betts <olly@survex.com>
276 * NEWS: Update for 1.2.19 release.
278 Fri Oct 24 23:06:25 GMT 2014 Gaurav Arora <gauravarora.daiict@gmail.com>
280 * csharp/Makefile.am,java/Makefile.am: Update for addition of LMWeight
283 Mon Oct 20 00:53:59 GMT 2014 Olly Betts <olly@survex.com>
285 * .gitignore,csharp/.gitignore,java/.gitignore,lua/.gitignore,
286 perl/.gitignore,php/.gitignore,python/.gitignore,python3/.gitignore,
287 python3/docs/.gitignore,ruby/.gitignore,tcl8/.gitignore: Update to
288 ignore new generated files.
290 Sun Oct 19 09:40:09 GMT 2014 Olly Betts <olly@survex.com>
292 * README: Note that Ruby 2.1 works too.
294 Mon Oct 13 11:41:18 GMT 2014 Olly Betts <olly@survex.com>
298 Fri Oct 10 11:43:55 GMT 2014 Olly Betts <olly@survex.com>
300 * php/add-php-ref-handling: Be careful to pick up just the parameter
301 name and not any default value. (Fixes #659, reported by jmienert)
302 * php/smoketest.php: Add regression test.
304 Thu Sep 18 02:23:53 GMT 2014 Olly Betts <olly@survex.com>
306 * python3/: Remove executable bits from a number of files which
309 Thu Sep 18 02:19:54 GMT 2014 Olly Betts <olly@survex.com>
311 * python3/extra.i: Fix typo in code to keep a reference to a
312 FieldProcessor object, reported by Germán M. Bravo in github PR59.
313 * python3/smoketest.py: Add regression test.
315 Thu Sep 18 02:12:47 GMT 2014 Olly Betts <olly@survex.com>
317 * python/extra.i: Fix typo in code to keep a reference to a
318 FieldProcessor object, reported by Germán M. Bravo in github PR59.
319 * python/smoketest.py: Add regression test.
321 Thu Sep 18 01:53:02 GMT 2014 Olly Betts <olly@survex.com>
323 * java/java.i: Update to use the new Xapian::iterator_valid() API.
325 Fri Sep 12 16:21:34 GMT 2014 Olly Betts <olly@survex.com>
327 * php/docs/index.rst: Align entries in tables in ReST source.
329 Fri Sep 12 16:19:55 GMT 2014 Olly Betts <olly@survex.com>
331 * php/docs/examples/simpleexpand.php5,
332 php/docs/examples/simplematchdecider.php5,
333 php/docs/examples/simplesearch.php5,php/docs/index.rst,php/php.i,
334 php/smoketest.php: Wrap Xapian iterator classes as PHP iterators.
337 Fri Sep 12 13:40:48 GMT 2014 Olly Betts <olly@survex.com>
339 * xapian-headers.i: Ignore new iterator API (which we see via friend
342 Fri Sep 12 13:35:25 GMT 2014 Olly Betts <olly@survex.com>
344 * HACKING,README,php/docs/index.rst: Make PHP 5.4 the minimum
345 officially supported version, as 5.3 has now reached EOL.
347 Thu Sep 11 17:02:10 GMT 2014 Olly Betts <olly@survex.com>
349 * php/smoketest.php: Add regression test for throwing an exception from
350 a PHP implementation of FieldProcessor::apply(), fixed by newer SWIG.
352 Thu Sep 11 16:59:14 GMT 2014 Olly Betts <olly@survex.com>
354 * configure.ac: Fix SWIG version check to not fail on 3.* by making the
355 pattern match all older versions rather than some newer ones, and
356 update the minimum checked for to be what we actually currently want
357 - it was 1.3.40 which is 5 years old!
359 Wed Sep 03 19:15:34 GMT 2014 Olly Betts <olly@survex.com>
361 * xapian-head.i,xapian-headers.i: Define XAPIAN_IN_XAPIAN_H rather
362 than XAPIAN_LIB_BUILD to avoid the direct subheader inclusion
365 Fri Aug 29 21:36:39 GMT 2014 Olly Betts <olly@survex.com>
367 * xapian-headers.i: Add DBCHECK_SHOW_FREELIST as a constant to wrap.
369 Thu Aug 21 08:53:48 GMT 2014 Olly Betts <olly@survex.com>
371 * xapian-headers.i: Add DB_FULL_SYNC as a constant to wrap.
373 Tue Aug 05 12:46:08 GMT 2014 Olly Betts <olly@survex.com>
377 Fri Aug 01 06:34:31 GMT 2014 Olly Betts <olly@survex.com>
379 * configure.ac: Enable automake option 'subdir-objects' as (a) this
380 avoids a warning with newer automake and (b) it better to put the
381 objects alongside the source in this case anyway (less cluttered,
382 and the objects and generated sources will both get cleaned up
383 if the directory is removed).
385 Wed Jul 30 04:03:09 GMT 2014 Olly Betts <olly@survex.com>
387 * perl/Makefile.am,php/Makefile.am: Restore explicit dependencies of
388 except.i - they are needed so that except.i gets generated before
389 the automatically generated dependency information is available.
391 Tue Jul 22 01:04:29 GMT 2014 Olly Betts <olly@survex.com>
393 * php/Makefile.am: Add add-php-ref-handling script as a dependency of
394 the stamp file, so we regenerate if this script changes.
396 Tue Jul 22 01:02:48 GMT 2014 Olly Betts <olly@survex.com>
398 * perl/Makefile.am,php/Makefile.am: Remove unnecessary explicit
399 dependencies on except.i, as swig-depcomp finds this automatically.
401 Tue Jul 22 01:02:04 GMT 2014 Olly Betts <olly@survex.com>
403 * csharp/Makefile.am: Fix to generate dependencies for stamp file
406 Tue Jul 22 01:01:33 GMT 2014 Olly Betts <olly@survex.com>
408 * csharp/Makefile.am: Update for Snipper wrapping.
410 Mon Jul 21 23:50:00 GMT 2014 Mihai Bivol <mm.bivol@gmail.com>
412 * java/Makefile.am,xapian-headers.i: Add Snipper in xapian bindings.
414 Wed Jul 09 01:14:43 GMT 2014 Olly Betts <olly@survex.com>
416 * python/Makefile.am,python3/Makefile.am: Fix "make dist" to include
417 the sphinx-generated docs when DOCUMENTATION_RULES=0.
419 Tue Jul 08 13:33:01 GMT 2014 Olly Betts <olly@survex.com>
421 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
422 ruby/Makefile.am,tcl8/Makefile.am: Fix "make dist" when
423 DOCUMENTATION_RULES is off but generated index.html files exist.
425 Mon Jun 30 04:11:46 GMT 2014 Olly Betts <olly@survex.com>
427 * python/smoketest.py: Fix typo in SimpleStopper with file testcase.
429 Mon Jun 30 02:18:04 GMT 2014 Olly Betts <olly@survex.com>
431 * python/pythontest.py,python3/pythontest.py: Add a comment to explain
432 why the PostingSource is in a list in the "postingsource" testcase,
433 and add a term to the list to make it a less artificial test.
435 Sat Jun 28 11:15:47 GMT 2014 Olly Betts <olly@survex.com>
437 * Makefile.am,shortstop.list: Add and distribute new data file
438 'shortstop.list', needed for new SimpleStopper ctor testcase.
440 Sat Jun 28 09:34:15 GMT 2014 Olly Betts <olly@survex.com>
442 * xapian-head.i,xapian-headers.i: Provide a SimpleStopper constructor
443 which provides the ability to initialise from a stopword list in a
444 file. Based on patch from Assem Chelli.
445 * python/smoketest.py: Add testcoverage for this new wrapping.
447 Mon Jun 23 02:49:37 GMT 2014 Olly Betts <olly@survex.com>
449 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
450 ruby/Makefile.am,tcl8/Makefile.am: Don't guard installation of
451 index.html generated from RST by "if DOCUMENTATION_RULES".
453 Mon Jun 23 02:23:40 GMT 2014 Olly Betts <olly@survex.com>
455 * configure.ac: Add hints for which package to install for rst2html
456 and sphinx-build (the latter is particularly useful, as there are at
457 least 3 different open source projects using the name "sphinx").
459 Mon Jun 23 00:56:02 GMT 2014 Olly Betts <olly@survex.com>
461 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
462 php/Makefile.am,python/Makefile.am,python3/Makefile.am,
463 ruby/Makefile.am,tcl8/Makefile.am: Use $(MKDIR_P).
465 Mon Jun 23 00:55:14 GMT 2014 Olly Betts <olly@survex.com>
467 * configure.ac: Use AS_MKDIR_P instead of test -d || mkdir.
469 Sun Jun 22 13:47:03 GMT 2014 Olly Betts <olly@survex.com>
473 Sat Jun 21 01:29:37 GMT 2014 Olly Betts <olly@survex.com>
475 * perl/Xapian/RSet.pm: Fix duplicate "1;" at end of module.
477 Sat Jun 21 01:27:55 GMT 2014 Olly Betts <olly@survex.com>
479 * perl/Xapian/,perl/docs/examples/,perl/generate-perl-exceptions,
480 perl/perl.i,perl/t/databasemodified.t,perl/t/search.t,
481 perl/t/writabledatabase.t,perl/util.i.in: Whitespace clean-up.
483 Sat Jun 21 01:00:59 GMT 2014 Olly Betts <olly@survex.com>
485 * HACKING,README,perl/Makefile.am,perl/Search/Xapian/,perl/Xapian/,
486 perl/docs/examples/,perl/generate-perl-exceptions,perl/perl.i,
487 perl/t/,perl/util.i.in,xapian-bindings.spec.in: Move the new
488 SWIG-based Perl bindings into a 'Xapian' module, to smooth the
489 overlap with the hand-coded XS 'Search::Xapian' module.
491 Fri Jun 20 23:25:33 GMT 2014 Olly Betts <olly@survex.com>
493 * python/docs/examples/simpleindex.py: Eliminate needless differences
494 with the python3 version - drop a duplicate blank line, and prefer
495 "line = line.strip()" to "line = string.strip(line)".
497 Fri Jun 20 12:51:35 GMT 2014 Olly Betts <olly@survex.com>
499 * python3/docs/examples/simpleexpand.py,
500 python3/docs/examples/simpleindex.py: Fix Python3 examples to
501 actually work. (see #346)
503 Fri Jun 20 06:14:05 GMT 2014 Olly Betts <olly@survex.com>
505 * perl/Search/Xapian/MultiValueSorter.pm: Fix documentation comment
506 typo ("foward" -> "forward").
508 Mon Jun 16 13:01:39 GMT 2014 Olly Betts <olly@survex.com>
510 * configure.ac: List the python-related files in AC_CONFIG_FILES
513 Mon Jun 16 13:01:14 GMT 2014 Olly Betts <olly@survex.com>
515 * configure.ac,python/docs/examples.rst,python/docs/index.rst,
516 python/docs/xapian.rst,python3/docs/examples.rst,
517 python3/docs/index.rst,python3/docs/xapian.rst: Whitespace tweaks.
519 Mon Jun 16 12:54:14 GMT 2014 Olly Betts <olly@survex.com>
521 * python/Makefile.am,python3/Makefile.am: Remove echo statements from
522 rules which report the rule ran successfully - we don't have these
525 Mon Jun 16 12:38:54 GMT 2014 Olly Betts <olly@survex.com>
527 * python3/docs/index.rst,python3/docs/introduction.rst,
528 python3/docs/introduction3.rst: Resolve inconsistencies in what we
529 think the introduction for Python 3 is called, fixing a build error
532 Mon Jun 16 12:33:39 GMT 2014 Assem Chelli <assem.ch@gmail.com>
534 * configure.ac,python/Makefile.am,python/docs/,python3/Makefile.am,
535 python3/docs/: Generate Python API docs with Sphinx. (Fixes #138)
537 Thu May 01 00:28:43 GMT 2014 Olly Betts <olly@survex.com>
539 * php/smoketest.php: Add tests of get_eset() with an ExpandDecider and
540 with a min weight threshold.
542 Sun Apr 06 19:40:12 GMT 2014 James Aylett <james@tartarus.org>
544 * perl/Makefile.am: Perl tests are ordering-dependent, so
545 use .NOTPARALLEL to avoid problems during parallel builds.
547 Sun Mar 30 22:57:50 GMT 2014 Anish Kanchan <anishgkanchan@gmail.com>
549 * java/SmokeTest.java: Add testcase that FLAG_SPELLING is now wrapped
550 in a usable way. (see #616)
552 Sun Mar 30 22:06:54 GMT 2014 Olly Betts <olly@survex.com>
554 * lua/docs/index.rst: Note that constants can now be accessed using
555 CLASS.CONSTANT as well as CLASS_CONSTANT.
557 Sun Mar 30 22:04:43 GMT 2014 Olly Betts <olly@survex.com>
559 * lua/docs/index.rst: RST source formatting tweak.
561 Thu Mar 27 23:02:39 GMT 2014 Olly Betts <olly@survex.com>
563 * lua/smoketest.lua: Whitespace tweak.
565 Thu Mar 27 23:00:56 GMT 2014 Olly Betts <olly@survex.com>
567 * lua/smoketest.lua: Change expect() parameter order to the more
568 natural (got, expected), which most of the calls already used,
569 and fix up the few calls which passed (expected, got).
571 Thu Mar 27 10:45:27 GMT 2014 Olly Betts <olly@survex.com>
573 * python/Makefile.am,python3/Makefile.am: Pass
574 -DSWIG_PYTHON_LEGACY_BOOL to SWIG to revert strict bool typemap to
575 the more Pythonic older typemap.
577 Thu Mar 27 07:21:08 GMT 2014 Olly Betts <olly@survex.com>
579 * configure.ac: Don't report Python version twice if it's too new or
582 Mon Mar 10 11:17:12 GMT 2014 Olly Betts <olly@survex.com>
584 * README: Add links to Erlang and Node.js bindings.
586 Mon Mar 10 02:35:19 GMT 2014 Olly Betts <olly@survex.com>
588 * csharp/docs/index.rst,lua/docs/index.rst,php/docs/index.rst,
589 python/docs/index.rst,ruby/docs/index.rst,tcl8/docs/index.rst:
590 Remove use of "$Date" as it's not expanded by git, and the "last
591 updated" information isn't all that informative anyway - there can
592 still be stale information even if the file was updated very
595 Mon Mar 10 02:27:52 GMT 2014 Olly Betts <olly@survex.com>
597 * ruby/Makefile.am: Fix to build Ruby docs from reStructured text,
598 which I somehow failed to apply from Mayank's patch.
600 Sun Mar 09 10:14:38 GMT 2014 Mayank Chaudhary <mayankchaudhary.iitr@gmail.com>
602 * csharp/Makefile.am,csharp/docs/index.html,csharp/docs/index.rst,
603 java/Makefile.am,java/docs/index.html,java/docs/index.rst,
604 lua/Makefile.am,lua/docs/index.html,lua/docs/index.rst,
605 php/Makefile.am,php/docs/index.html,php/docs/index.rst,
606 python/Makefile.am,python/docs/index.html,python/docs/index.rst,
607 ruby/docs/index.html,ruby/docs/index.rst,tcl8/Makefile.am,
608 tcl8/docs/index.html,tcl8/docs/index.rst: Convert HTML docs to
611 Sun Feb 23 22:06:31 GMT 2014 Olly Betts <olly@survex.com>
613 * configure.ac: Remove unnecessary m4 quoting.
615 Fri Feb 21 07:26:26 GMT 2014 Olly Betts <olly@survex.com>
617 * configure.ac: Fix Ruby bindings to build on Windows (and other
618 platforms where allow_undefined_flag=unsupported. (fixes#634)
620 Mon Feb 17 05:02:47 GMT 2014 Olly Betts <olly@survex.com>
622 * README: Note that C# bindings now need .NET 2 or later (because
623 that's what SWIG-generated code now requires).
625 Mon Feb 17 04:16:07 GMT 2014 Olly Betts <olly@survex.com>
627 * php/smoketest.php: Add missing "exit(1);" after check that
628 MatchDecider returns an MSet with the expected docid in.
630 Sun Feb 16 05:51:00 GMT 2014 Olly Betts <olly@survex.com>
632 * python3/python.i: Update (no longer recognised)
633 XAPIAN_BINDINGS_SKIP_BRASS_AND_CHERT_FACTORIES to
634 XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES so deprecated db
635 factories aren't wrapped.
636 * python3/smoketest.py: Update testcases to test factories which
637 shouldn't be wrapped aren't, and that the replacements work.
639 Wed Jan 29 04:01:36 GMT 2014 Olly Betts <olly@survex.com>
641 * python3/Makefile.am,python3/run-python-test: Pass Python 3
642 interpreter as PYTHON3 not PYTHON, and default to python3 if not
645 Fri Jan 10 09:00:05 GMT 2014 Olly Betts <olly@survex.com>
647 * xapian-headers.i: Update for xapian-core Database::check() optional
650 Thu Jan 09 03:34:17 GMT 2014 Olly Betts <olly@survex.com>
652 * python/pythontest.py,python3/pythontest.py,xapian-head.i,
653 xapian-headers.i: Wrap Xapian::Database::check() for the bindings
654 with arguments (path, opts = 0), and if opts != 0, send output to
657 Mon Jan 06 12:10:08 GMT 2014 Olly Betts <olly@survex.com>
659 * python/pythontest.py,python3/pythontest.py: When testing
660 valuestreams, just use the xapian.WritableDatabase constructor
661 rather than chert_open() - that code dates back to when chert was
662 the only disk-based backend to support valuestreams, and it wasn't
665 Wed Jan 01 04:22:36 GMT 2014 Olly Betts <olly@survex.com>
667 * python3/Makefile.am: Fix handling of DOCUMENTATION_RULES.
669 Wed Dec 25 20:30:49 GMT 2013 Olly Betts <olly@survex.com>
671 * configure.ac: Quote $PYTHON, etc in backward compatibility code.
673 Wed Dec 25 06:29:07 GMT 2013 Olly Betts <olly@survex.com>
675 * configure.ac: Fix some issues with the previous change, so it works
678 Tue Dec 24 21:26:27 GMT 2013 Olly Betts <olly@survex.com>
680 * python3/Makefile.am: Use PYTHON to run doxy2swig, as that's reliably
681 set when we're in maintainer mode.
683 Tue Dec 24 21:21:17 GMT 2013 Olly Betts <olly@survex.com>
685 * Makefile.am,configure.ac,python/Makefile.am: Rename the variables
686 used for the python2 bindings to begin PYTHON2 instead of PYTHON.
687 Try python2 before python when looking for an interpreter for the
688 python2 bindings, as some distros now point /usr/bin/python at
691 Sat Dec 21 01:06:19 GMT 2013 Olly Betts <olly@survex.com>
693 * python3/smoketest.py: Add parentheses around print arguments.
695 Fri Dec 20 03:50:50 GMT 2013 Olly Betts <olly@survex.com>
697 * xapian-headers.i: Update for addition of Xapian::DB_NO_TERMLIST.
699 Fri Dec 20 00:22:02 GMT 2013 Olly Betts <olly@survex.com>
701 * csharp/docs/index.html,lua/docs/index.html,php/docs/index.html,
702 php/smoketest.php,python/docs/index.html,python3/docs/index.rst,
703 xapian-headers.i: Update for addition of Xapian::DB_BACKEND_STUB
704 and deprecationg of Xapian::Auto::open_stub().
706 Thu Dec 19 09:48:04 GMT 2013 Olly Betts <olly@survex.com>
708 * NEWS: Update from 1.2.16 and ChangeLog.
710 Thu Dec 19 06:45:17 GMT 2013 Olly Betts <olly@survex.com>
712 * csharp/docs/index.html,lua/docs/index.html,perl/perl.i,
713 php/docs/index.html,python/docs/index.html,python3/docs/index.rst,
714 python3/python.i,ruby/docs/index.html,tcl8/docs/index.html,
715 xapian-head.i,xapian-headers.i: Update for deprecation of
716 Xapian::Brass::open() and Xapian::Chert::open().
718 Thu Dec 19 02:26:03 GMT 2013 Olly Betts <olly@survex.com>
720 * xapian-headers.i: Update for new Xapian::DB_* constants.
722 Thu Dec 19 02:17:15 GMT 2013 Olly Betts <olly@survex.com>
724 * python3/docs/index.rst: Wording tweaks.
726 Thu Dec 19 02:15:09 GMT 2013 Olly Betts <olly@survex.com>
728 * python/smoketest.py,python3/smoketest.py: If constants weren't
729 handled in xapian-headers.i with the CONSTANT() macro, we ended up
730 with xapian.cvar being created, and an obscure error from
731 smoketest.py. Now we report what the variables are in the
734 Wed Dec 18 23:10:53 GMT 2013 Olly Betts <olly@survex.com>
736 * xapian-headers.i: Update for addition of xapian/constants.h.
738 Fri Dec 06 05:29:53 GMT 2013 Olly Betts <olly@survex.com>
740 * configure.ac: Link against -ltclstubX.Y for Tcl 8.5 and later
741 (reported by Sergei Golovan in http://bugs.debian.org/724830).
742 Also, use a better check for TCL_INC for Tcl 8.5 and later.
744 Fri Dec 06 03:31:50 GMT 2013 Olly Betts <olly@survex.com>
746 * README,configure.ac: Tweak configure to work with Ruby 2.0.
748 Tue Dec 03 07:38:49 GMT 2013 Olly Betts <olly@survex.com>
750 * configure.ac: Sync link_all_deplibs_CXX check with xapian-core.
752 Fri Nov 08 10:32:13 GMT 2013 Olly Betts <olly@survex.com>
754 * configure.ac: Remove duplicate check for thread-local storage
757 Tue Oct 22 05:52:54 GMT 2013 Olly Betts <olly@survex.com>
759 * python3/Makefile.am: Make sure docs subdirectory exists in builddir
760 before running $(RST2HTML) to fix build when srcdir != builddir.
762 Mon Oct 14 09:59:27 GMT 2013 Olly Betts <olly@survex.com>
764 * ruby/generate-rdoc-stubs: Skip internal classes.
766 Fri Oct 11 08:29:23 GMT 2013 Olly Betts <olly@survex.com>
768 * python3/docs/examples/: Update syntax of examples for Python3.
770 Fri Oct 11 07:37:59 GMT 2013 Olly Betts <olly@survex.com>
772 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over
775 Fri Oct 11 05:50:45 GMT 2013 Olly Betts <olly@survex.com>
777 * python3/docs/index.rst: Strip trailing whitespace.
779 Fri Oct 11 05:14:21 GMT 2013 Olly Betts <olly@survex.com>
781 * configure.ac,python3/Makefile.am,python3/docs/.gitignore,
782 python3/docs/index.html,python3/docs/index.rst: Overhaul Python3
783 documentation and convert it to reStructured Text. (see #346)
785 Thu Oct 10 23:57:56 GMT 2013 Olly Betts <olly@survex.com>
787 * python3/python.i,python3/smoketest.py: Make xapian.version_string()
788 return a Unicode string. (see #346)
790 Thu Oct 10 23:47:18 GMT 2013 Olly Betts <olly@survex.com>
792 * python3/python.i,python3/pythontest.py: Make unserialise methods and
793 functions only accept bytes. (see #346)
795 Tue Oct 08 02:29:28 GMT 2013 Olly Betts <olly@survex.com>
797 * perl/generate-perl-exceptions: Use croak_sv() or ERRSV if defined.
799 Sun Oct 06 23:48:07 GMT 2013 Olly Betts <olly@survex.com>
801 * configure.ac: Don't prefer ruby1.8 to ruby when looking for a ruby
802 interpreter - these days it's more likely to ignore ruby 1.9 rather
803 than avoid picking ruby 1.6.
805 Fri Oct 04 00:32:38 GMT 2013 Olly Betts <olly@survex.com>
807 * python3/pythontest.py: Don't run postingsource testcase under
808 threads for now as it segfaults for unknown reasons.
810 Fri Oct 04 00:29:04 GMT 2013 Olly Betts <olly@survex.com>
812 * python3/pythontest.py,python3/smoketest.py,python3/util.i: Drop the
813 deprecated 'MSet.items' and 'ESet.items' for Python3 - people are
814 going to need to make code updates anyway, so keeping existing code
815 working unchanged isn't a realistic concern.
816 * python3/docs/index.html: Drop discussion of removed features.
818 Fri Oct 04 00:27:13 GMT 2013 Olly Betts <olly@survex.com>
820 * README: Document 3.2 as the minimum supported Python3 version, and
821 update the status to "mostly functional".
823 Thu Oct 03 23:51:26 GMT 2013 Olly Betts <olly@survex.com>
825 * configure.ac,python/,python3/: Provide bindings version in
826 xapian.__version__ as per PEP 396. (see #346)
828 Sat Sep 28 00:02:21 GMT 2013 Olly Betts <olly@survex.com>
830 * python3/pythontest.py: Fix test_postingsource testcase.
832 Fri Sep 27 23:37:28 GMT 2013 Olly Betts <olly@survex.com>
834 * python3/pythontest.py: Fix test_allterms_iter testcase.
836 Fri Sep 27 23:37:01 GMT 2013 Olly Betts <olly@survex.com>
838 * python3/extra.i: Fix ValueStreamIter.__next__().
840 Fri Sep 27 23:36:23 GMT 2013 Olly Betts <olly@survex.com>
842 * python3/extra.i: Correct comments for next() changes in Python3.
844 Fri Sep 27 23:28:47 GMT 2013 Olly Betts <olly@survex.com>
846 * python3/testsuite.py: Remove unnecessary next() helper from
849 Fri Sep 27 23:28:20 GMT 2013 Olly Betts <olly@survex.com>
851 * python3/extra.i: Fix LatLongCoordsIter.__next__().
853 Fri Sep 27 23:14:33 GMT 2013 Olly Betts <olly@survex.com>
855 * python/pythontest.py,python3/pythontest.py: Fix testcases which
856 check that non-random-access iterators which have moved on give
857 an exception if you try to use the old value - previously these
858 didn't actually test all the old values, only the last one.
860 Fri Sep 27 07:53:45 GMT 2013 Olly Betts <olly@survex.com>
862 * python3/smoketest.py,python3/util.i: smoketest.py now passes.
864 Fri Sep 27 04:23:54 GMT 2013 Olly Betts <olly@survex.com>
866 * python3/docs/examples/simplesearch.py,python3/python.i,
867 python3/pythontest.py,python3/smoketest.py: All methods returning
868 std::string now return 'bytes' in Python, except for
869 get_description()/__str__(). (see #346)
871 Wed Sep 25 02:50:39 GMT 2013 Olly Betts <olly@survex.com>
873 * php/smoketest.php: Reenable the FieldProcessor subclass test for PHP
874 5.4, as this one does work.
876 Tue Sep 24 10:00:05 GMT 2013 Olly Betts <olly@survex.com>
878 * .gitignore: Update for switch from gzip to xz.
880 Tue Sep 24 09:55:17 GMT 2013 Olly Betts <olly@survex.com>
882 * configure.ac,xapian-bindings.spec.in: Compress source tarballs with
885 Thu Sep 19 06:52:11 GMT 2013 Olly Betts <olly@survex.com>
887 * Makefile.am,configure.ac,python/,python3/.gitignore,
888 python3/Makefile.am,python3/docs/examples/,python3/docs/index.html,
889 python3/: Split python3 bindings into a separate subdirectory, to
890 make it simpler to handle differences between python2 and python3.
891 This also makes it easier to test both, as a tree can now be
892 configured for both at once.
894 Wed Sep 18 12:58:51 GMT 2013 Olly Betts <olly@survex.com>
896 * python/Makefile.am: Further updates for PEP 3147.
898 Wed Sep 18 12:50:00 GMT 2013 Olly Betts <olly@survex.com>
900 * python/util.i: Fix std::string input typemaps for Python 3.
903 Wed Sep 18 10:56:35 GMT 2013 Olly Betts <olly@survex.com>
905 * configure.ac,python/Makefile.am: Handle the PEP 3147 names which
906 .pyc and .pyo files use in newer Python 3 versions. (see #346)
908 Wed Sep 18 00:36:50 GMT 2013 Olly Betts <olly@survex.com>
910 * python/util.i: Rename next() to __next__() for Python 3 as iterators
911 need to have a __next__() method there. (see #346)
913 Mon Sep 16 12:00:41 GMT 2013 Olly Betts <olly@survex.com>
915 * perl/t/parser.t: Update for xapian-core change to always return
916 UTF-8 object descriptions. (see #620)
918 Mon Jul 15 12:10:18 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
920 * csharp/Makefile.am,java/Makefile.am: Update for DPHWeight.
922 Sun Jul 14 07:07:42 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
924 * csharp/Makefile.am,java/Makefile.am: Update for PL2Weight.
926 Wed Jul 10 12:58:17 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
928 * csharp/Makefile.am,java/Makefile.am: Update for DLHWeight.
930 Sun Jul 07 11:54:44 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
932 * csharp/Makefile.am,java/Makefile.am: Update for BB2Weight.
934 Wed Jul 03 14:02:55 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
936 * csharp/Makefile.am,java/Makefile.am: Update for IneB2Weight.
938 Wed Jul 03 13:38:34 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
940 * csharp/Makefile.am,java/Makefile.am: Update for IfB2Weight.
942 Wed Jul 03 12:01:08 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
944 * csharp/Makefile.am,java/Makefile.am: Update for InL2Weight.
946 Wed Jun 26 02:03:04 GMT 2013 Olly Betts <olly@survex.com>
948 * configure.ac: Fix stripping of _git suffix from snapshot versions
949 not to relying of sed having support for \| as it doesn't on OS X.
951 Mon Jun 24 10:56:34 GMT 2013 Olly Betts <olly@survex.com>
953 * perl/t/symbol-test/Makefile.PL: Pass $CPPFLAGS and $CXXFLAGS from
954 the environment through to the sub-build, fixing symbol-test.t
955 failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
957 Sat Jun 22 06:26:34 GMT 2013 Olly Betts <olly@survex.com>
959 * php/smoketest.php: If running under PHP >= 5.4, skip the tests we
960 know will fail with a message.
962 Sun May 12 06:16:06 GMT 2013 Olly Betts <olly@survex.com>
964 * configure.ac: Handle git snapshot naming.
966 Wed May 08 11:21:23 GMT 2013 Olly Betts <olly@survex.com>
968 * Makefile.am,generic/generic.mk: SVN -> git.
970 Thu May 02 23:21:10 GMT 2013 olly <olly@survex.com>
972 * NEWS: Update release date.
974 Thu May 02 12:08:35 GMT 2013 Olly Betts <olly@survex.com>
976 * NEWS,configure.ac: Update for 1.3.1.
978 Thu May 02 06:31:51 GMT 2013 Olly Betts <olly@survex.com>
980 * NEWS: Update from ChangeLog.
982 Thu May 02 06:11:41 GMT 2013 Olly Betts <olly@survex.com>
984 * README: Update details of tested and supported versions. C#: drop
985 mentions of Portable.NET (which seems dead) and Mono 1.x (old);
986 Java: Require JDK 1.6 (1.5 is old and out of free support); Python:
987 Require 2.5 (was 2.4, but that's old now).
989 Thu May 02 05:47:58 GMT 2013 Olly Betts <olly@survex.com>
991 * configure.ac: Change to use CLI rather than MONO to specify the
992 bytecode interpreter to use to run tests with. Previously we'd
993 check the setting of MONO worked and then use "mono" (literally)
994 instead - since setting MONO didn't previously really work, we
995 haven't added compatibility handling for it.
997 Thu May 02 04:27:00 GMT 2013 Olly Betts <olly@survex.com>
999 * HACKING: Add more Debian package requirements.
1001 Wed May 01 07:05:45 GMT 2013 Olly Betts <olly@survex.com>
1003 * python/Makefile.am: Drop fixup after 2to3 as it is no longer needed,
1004 and comment suggesting manual tweaks are probably needed.
1006 Wed May 01 07:04:06 GMT 2013 Olly Betts <olly@survex.com>
1008 * python/testsuite2.py: Use iteritems() instead of items() as it's lazy
1009 and works unchanged in Python 3 (change suggested by Richard Boulton).
1011 Wed May 01 06:18:29 GMT 2013 olly <olly@survex.com>
1013 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests from
1014 Python 2 versions using new 2to3 target.
1016 Wed May 01 06:16:44 GMT 2013 olly <olly@survex.com>
1018 * python/Makefile.am: Add 2to3 rule for maintainers to help automate
1019 updating the Python 3 version from the Python 2 one.
1021 Wed May 01 05:39:13 GMT 2013 olly <olly@survex.com>
1023 * python/Makefile.am: Move comment about using -outdir to a more
1026 Fri Apr 26 10:32:59 GMT 2013 Olly Betts <olly@survex.com>
1028 * php/Makefile.am: Run add-php-ref-handling before add-php-type-hints
1029 as the other order doesn't fully work.
1031 Fri Apr 26 09:39:10 GMT 2013 Olly Betts <olly@survex.com>
1033 * Forward port change from branches/1.2:
1034 * php/Makefile.am,php/add-php-ref-handling,php/smoketest.php: Keep
1035 references to the PHP wrapper object when an object is set on
1036 another object. (Fixes #614)
1038 Fri Apr 26 09:08:32 GMT 2013 Olly Betts <olly@survex.com>
1040 * NEWS: Update from ChangeLog.
1042 Mon Apr 22 05:25:34 GMT 2013 olly <olly@survex.com>
1044 * python/smoketest2.py: Need to raise exception, not just construct it!
1046 Mon Apr 22 05:25:00 GMT 2013 olly <olly@survex.com>
1048 * python/testsuite2.py: Export TestFail class from testsuite.
1050 Mon Apr 22 05:23:02 GMT 2013 olly <olly@survex.com>
1052 * python/testsuite2.py: Swap order of arguments in call to expect() so
1053 error makes more sense.
1055 Mon Apr 22 05:19:42 GMT 2013 olly <olly@survex.com>
1057 * HACKING: Document Debian packages needed for each language.
1059 Sun Apr 21 07:08:10 GMT 2013 Olly Betts <olly@survex.com>
1061 * java/SmokeTest.java: Avoid using System.err.printf() which fails
1062 to compile with the java compiler on atreus for some reason.
1064 Sun Apr 21 07:05:42 GMT 2013 Olly Betts <olly@survex.com>
1066 * xapian-head.i: Defined XAPIAN_LIB_BUILD so that we don't get errors
1067 about processing headers individually with SWIG.
1069 Wed Apr 17 03:19:11 GMT 2013 Olly Betts <olly@survex.com>
1071 * NEWS: Update from 1.2.15 and ChangeLog.
1073 Mon Apr 08 06:31:46 GMT 2013 Olly Betts <olly@survex.com>
1075 * csharp/Makefile.am,java/Makefile.am: Update for new class
1078 Sat Apr 06 23:09:53 GMT 2013 Olly Betts <olly@survex.com>
1080 * tcl8/Makefile.am: Fix typo in AM_TESTS_ENVIRONMENT value.
1082 Fri Apr 05 06:15:39 GMT 2013 Olly Betts <olly@survex.com>
1084 * perl/perl.i,perl/util.i.in: Fix PostingIterator wrapper to work.
1085 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1086 Add missing test coverage for this, and some other features.
1088 Thu Apr 04 06:40:09 GMT 2013 Olly Betts <olly@survex.com>
1090 * Makefile.am,configure.ac,generic/generic.mk: Remove support for
1091 'make QUIET=y' - automake now supports 'make V=0' which is broadly
1092 equivalent and more standard.
1094 Thu Apr 04 06:17:32 GMT 2013 Olly Betts <olly@survex.com>
1096 * configure.ac,perl/Makefile.am: Probe for 'prove' in configure.
1098 Thu Apr 04 06:05:54 GMT 2013 Olly Betts <olly@survex.com>
1100 * configure.ac,csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,
1101 perl/Makefile.am,php/Makefile.am,python/Makefile.am,
1102 python/run-python-test,ruby/Makefile.am,tcl8/Makefile.am: Fix the
1103 tests to work with the new automake parallel test driver.
1105 Thu Mar 28 04:27:46 GMT 2013 Olly Betts <olly@survex.com>
1107 * csharp/Makefile.am,java/Makefile.am: Update for new
1108 ExpandDeciderFilterPrefix class.
1110 Tue Mar 19 06:07:04 GMT 2013 Olly Betts <olly@survex.com>
1112 * python/Makefile.am: Fix dependency generation to take into account
1115 Mon Mar 18 10:59:39 GMT 2013 Olly Betts <olly@survex.com>
1117 * NEWS: Update from 1.2.14 and ChangeLog.
1119 Mon Mar 18 04:11:01 GMT 2013 Olly Betts <olly@survex.com>
1121 * configure.ac: Fix deprecation warning from Ruby 1.9.3.
1123 Thu Mar 14 09:56:27 GMT 2013 Olly Betts <olly@survex.com>
1125 * python/extra.i: Fix typo in doccomment.
1127 Thu Mar 14 09:16:45 GMT 2013 Olly Betts <olly@survex.com>
1129 * csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
1130 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1131 swig-depcomp: Fix handling of stamp file by swig-depcomp script.
1133 Sat Feb 16 02:08:29 GMT 2013 Olly Betts <olly@survex.com>
1135 * configure.ac: Allow TCL_INC to be passed to configure. (fixes #612)
1137 Wed Jan 23 00:07:52 GMT 2013 Olly Betts <olly@survex.com>
1139 * perl/t/10query.t: Perl 5.16.1 adds a '.' after "at foo line 123" so
1140 adjust regexp in testcase to allow an optional '.' there.
1143 Wed Jan 16 10:00:00 GMT 2013 Olly Betts <olly@survex.com>
1145 * NEWS: Start to update in preparation for 1.3.1 release.
1147 Wed Jan 16 02:32:38 GMT 2013 Olly Betts <olly@survex.com>
1149 * ruby/smoketest.rb: Extend testcase to check returned MSet size.
1151 Wed Jan 16 01:41:33 GMT 2013 Olly Betts <olly@survex.com>
1153 * configure.ac,generic/generic.mk: Improve workaround which allows
1154 building against an uninstalled xapian-core on OS X - this should
1155 now work with any uninstalled xapian-core (not only in a tree
1156 with the same layout as an SVN or git checkout) and it also won't
1157 try to build against "../xapian-core/.libs" just because it happens
1158 to exist. (Fixes #322)
1160 Wed Jan 16 01:34:09 GMT 2013 Olly Betts <olly@survex.com>
1162 * java/run-java-test: Document how to run tests under gdb.
1164 Wed Jan 16 01:30:28 GMT 2013 Olly Betts <olly@survex.com>
1166 * java/Makefile.am: Don't automatically pass -g to javac when in
1167 maintainer-mode, as the two should really be orthogonal. Instead
1168 use JAVACFLAGS when running JAVAC to allow extra flags to be
1169 specified by running "make JAVACFLAGS=-g".
1171 Wed Jan 09 11:57:01 GMT 2013 Olly Betts <olly@survex.com>
1173 * NEWS: Update from ChangeLog and 1.2 branch.
1175 Mon Dec 24 05:15:56 GMT 2012 Olly Betts <olly@survex.com>
1177 * perl/Search/Xapian/Stem.pm: Fix documentation typo.
1179 Mon Dec 24 05:15:12 GMT 2012 Olly Betts <olly@survex.com>
1181 * perl/util.i.in: Update list of unwrapped things.
1183 Mon Dec 24 04:42:42 GMT 2012 Olly Betts <olly@survex.com>
1185 * perl/Makefile.am,perl/t/stem.t: Add test that we can create all the
1186 stemmers returned by Stem::get_available_languages().
1188 Mon Dec 17 02:13:16 GMT 2012 Olly Betts <olly@survex.com>
1190 * README,php/docs/index.html: Bump minimum supported PHP version to
1191 5.3 - 5.2 was officially EOLed 2011-01-06, and the only distros
1192 which seem to still have PHP 5.2 are Ubuntu hardy (which will reach
1193 EOL in April 2013) and older probably RHEL (which are aimed at the
1194 ultra-conservative types who would likely be happy to stick with
1197 Sat Oct 13 04:28:16 GMT 2012 Olly Betts <olly@survex.com>
1199 * perl/t/databasemodified.t,perl/t/index.t,perl/t/parser.t: Using
1200 UNIVERSAL::isa() as a function is deprecated.
1202 Sat Oct 13 02:57:22 GMT 2012 Olly Betts <olly@survex.com>
1204 * perl/t/parser.t: Forward port tests of StringValueRangeProcessor
1205 with a prefix or suffix from 1.2's XS Search::Xapian. (ticket#607)
1207 Tue Aug 28 04:33:21 GMT 2012 Dan Colish <dcolish@gmail.com>
1209 * java/SmokeTest.java,java/java.i: Implement and test MSetIterator,
1210 ESetIterator. Fix PostingIterator, ValueIterator, and TermIterator.
1212 Sun Aug 12 05:45:32 GMT 2012 Dan Colish <dcolish@gmail.com>
1214 * java/Makefile.am,java/run-java-test: Remove jdb target from
1217 Sun Aug 12 04:54:04 GMT 2012 Dan Colish <dcolish@gmail.com>
1219 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add a typemap for
1220 TermIterator pairs to String[] for the Enquire.getMatchingTerms
1221 API. Use debug symbols when configured with MAINTAINER_MODE.
1223 Sun Aug 12 04:46:59 GMT 2012 Dan Colish <dcolish@gmail.com>
1225 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add typemap for
1226 TermIterator pairs to String[] to conform with the
1227 Enquire::getMatchingterms binding API. Build bindings with
1230 Tue Jul 24 09:06:14 GMT 2012 Olly Betts <olly@survex.com>
1232 * lua/util.i: Fix functor wrappers which return strings to be zero-byte
1235 Tue Jul 24 06:06:24 GMT 2012 Olly Betts <olly@survex.com>
1237 * lua/util.i: Fix wrapping of FieldProcessor.
1238 * lua/smoketest.lua: Add test coverage for wrapping of FieldProcessor.
1240 Tue Jul 24 04:11:50 GMT 2012 Olly Betts <olly@survex.com>
1242 * php/smoketest.php: Fix XapianFieldProcessor testcase.
1244 Tue Jul 24 03:45:15 GMT 2012 Olly Betts <olly@survex.com>
1246 * csharp/Makefile.am,java/Makefile.am,lua/util.i,perl/util.i.in,
1247 python/extra.i,python/generate-python-exceptions,xapian-headers.i:
1248 Wrap FieldProcessor.
1249 * php/smoketest.php: Add simple test of subclassing
1250 XapianFieldProcessor.
1252 Sat Jul 21 13:18:48 GMT 2012 Olly Betts <olly@survex.com>
1254 * lua/docs/examples/simpleexpand.lua,
1255 lua/docs/examples/simplematchdecider.lua,
1256 lua/docs/examples/simplesearch.lua: query:get_description() should
1257 be str(query). Fixes #600.
1258 * lua/docs/index.html: Document that get_description() is mapped to
1259 str(), and end() to _end().
1261 Thu Jul 12 05:11:26 GMT 2012 Olly Betts <olly@survex.com>
1263 * configure.ac: Overhaul checking the C# tools to use modern names in
1266 Tue Jul 03 03:13:40 GMT 2012 Dan Colish <dcolish@gmail.com>
1268 * generic/.gitignore,php/.gitignore,tcl8/.gitignore: Update for
1271 Tue Jul 03 03:10:19 GMT 2012 Dan Colish <dcolish@gmail.com>
1273 * configure.ac,generic/generic.mk:Configure DYLD_LIBRARY_PATH on OSX
1274 separately from MACOSX_DEPLOYMENT_TARGET
1276 Sun Jul 01 11:37:53 GMT 2012 Olly Betts <olly@survex.com>
1278 * NEWS: Update from ChangeLog and 1.2 branch.
1280 Sun Jun 10 05:42:34 GMT 2012 Olly Betts <olly@survex.com>
1282 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1283 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1284 tcl8/Makefile.am: Fix recent swig-depcomp change to use '=' rather than
1285 the apparently less portable ':='.
1287 Mon Jun 04 12:07:08 GMT 2012 Olly Betts <olly@survex.com>
1289 * Makefile.am,configure.ac,csharp/csharp.i,fake_dbfactory.i,
1290 java/java.i,lua/lua.i,perl/perl.i,php/php.i,python/python.i,
1291 ruby/extra.i,ruby/ruby.i,ruby/xapian.rb,tcl8/tcl.i,xapian-headers.i,
1292 xapian.i: For all languages except C# and Java, wrap the functions
1293 declared in xapian/dbfactory.h by getting SWIG to parse the header.
1294 This means we now wrap the WritableDatabase form of
1295 Xapian::Auto::open_stub() for these languages.
1297 Mon Jun 04 12:01:06 GMT 2012 Olly Betts <olly@survex.com>
1299 * swig-depcomp: Script which wraps a call to SWIG and tells it to
1300 generate dependencies, and then adjust the generated dependencies.
1301 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1302 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am:
1305 Mon Jun 04 07:07:28 GMT 2012 Olly Betts <olly@survex.com>
1307 * xapian-headers.i,xapian.i: Wrap xapian/dbfactory.h functions
1308 directly, except for C# and Java, where we use a fake class hack.
1309 * python/smoketest2.py: Enable test that WritableDatabase form of
1310 xapian.open_stub() is now wrapped.
1311 * php/smoketest.php: Check that Xapian::Auto::open_stub() is wrapped
1312 as Xapian::auto_open_stub().
1314 Mon Jun 04 06:23:02 GMT 2012 Olly Betts <olly@survex.com>
1316 * python/smoketest2.py: Test xapian.open_stub() is wrapped.
1318 Mon Jun 04 05:01:17 GMT 2012 Olly Betts <olly@survex.com>
1320 * python/smoketest2.py: Add tests that the database factory functions
1321 are wrapped as we expected.
1323 Mon Jun 04 04:47:06 GMT 2012 Olly Betts <olly@survex.com>
1325 * xapian-headers.i: Fix comment typo.
1327 Mon Jun 04 04:46:41 GMT 2012 Olly Betts <olly@survex.com>
1329 * csharp/docs/index.html: Update Mono version tested with.
1331 Sun Jun 03 22:51:29 GMT 2012 Olly Betts <olly@survex.com>
1333 * README: Fix 'Jit' -> 'it'. Typo introduced in r15713.
1335 Sun Jun 03 13:04:18 GMT 2012 Olly Betts <olly@survex.com>
1337 * xapian.i: Remove the old %extend Query constructors, as they are no
1338 longer used for any of the languages.
1340 Sun Jun 03 12:54:25 GMT 2012 Olly Betts <olly@survex.com>
1342 * lua/util.i,php/php.i,python/python.i,ruby/ruby.i,tcl8/tcl.i: Mark
1343 XapianSWIGQueryItor implementations as random_access_iterator, and
1344 implement XapianSWIGQueryItor::operator-(), so Xapian::Query's
1345 template constructor knows how many elements to preallocate.
1347 Sun Jun 03 11:48:31 GMT 2012 Olly Betts <olly@survex.com>
1349 * java/java.i: Use the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP
1350 approach for Java too (though we don't actually support mixed
1351 subqueries in the case of Java, so it's now a bit misnamed now!)
1353 Sat Jun 02 12:41:12 GMT 2012 Olly Betts <olly@survex.com>
1355 * perl/t/parser.t: Fix accidentally pasted comment.
1357 Sat Jun 02 12:39:58 GMT 2012 Olly Betts <olly@survex.com>
1359 * INSTALL,Makefile.am,README,debian/rules,doxygen_xml.conf.in,
1360 generic/generic.mk,perl/t/: Change `...' quoting in prose to '...'.
1362 Tue May 29 06:11:50 GMT 2012 Olly Betts <olly@survex.com>
1364 * xapian-headers.i,xapian.i: Only rename operator() for languages
1365 where SWIG doesn't already. SWIG's %rename comes first and that
1366 means ours was ignored previously for some languages, which is
1367 liable to cause confusion.
1369 Tue May 29 05:26:22 GMT 2012 Olly Betts <olly@survex.com>
1371 * php/Makefile.am: Add dependency on new generated except.i.
1373 Tue May 29 03:53:25 GMT 2012 Olly Betts <olly@survex.com>
1375 * generic/generate-generic-exceptions: Ensure that generic subdirectory
1376 exists to handle srcdir!=builddir from a clean tree.
1378 Mon May 28 07:22:39 GMT 2012 Olly Betts <olly@survex.com>
1380 * doxygen_xml.conf.in: Hide new function attribute macros, and the
1381 less new deprecation macros, from doxygen.
1383 Sun May 27 13:47:44 GMT 2012 Olly Betts <olly@survex.com>
1385 * Makefile.am,generic/except.i,generic/generate-generic-exceptions:
1386 Generate generic/except.i so we can skip exception handling for
1387 XAPIAN_NOTHROW methods for all the remaining SWIG-generated bindings.
1389 Sun May 27 13:37:06 GMT 2012 Olly Betts <olly@survex.com>
1391 * php/Makefile.am,php/except.i,php/generate-php-exceptions: Generate
1392 php/except.i so we can skip exception handling for XAPIAN_NOTHROW
1395 Sun May 27 12:57:29 GMT 2012 Olly Betts <olly@survex.com>
1397 * tcl8/Makefile.am,tcl8/except.i,tcl8/generate-tcl-exceptions: Generate
1398 tcl8/except.i so we can skip exception handling for XAPIAN_NOTHROW
1401 Sun May 27 12:37:37 GMT 2012 Olly Betts <olly@survex.com>
1403 * lua/Makefile.am,perl/Makefile.am,python/Makefile.am: Ship the scripts
1404 which generate the except.i files.
1406 Sun May 27 12:13:29 GMT 2012 Olly Betts <olly@survex.com>
1408 * xapian-headers.i: Ignore Xapian API class constructor taking
1409 Internal& instead of Internal* (as Query does, to avoid an
1410 ambiguity for Query(NULL).
1412 Sun May 27 12:12:45 GMT 2012 Olly Betts <olly@survex.com>
1414 * python/generate-python-exceptions: Fix to use tabs for indentation in
1415 a couple of places where we were using spaces.
1417 Sun May 27 11:48:56 GMT 2012 Olly Betts <olly@survex.com>
1419 * python/generate-python-exceptions: Don't name exception object we
1422 Sun May 27 10:08:25 GMT 2012 Olly Betts <olly@survex.com>
1424 * perl/perl.i: Pass 0 instead of NULL for non-pointer parameter to
1425 av_fetch (spotted due to GCC 4.7 warning).
1427 Sun May 27 07:32:47 GMT 2012 Olly Betts <olly@survex.com>
1429 * python/generate-python-exceptions: Remove superfluous ';' after
1430 "namespace { [...] }".
1432 Sun May 27 07:29:48 GMT 2012 Olly Betts <olly@survex.com>
1434 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1435 python/generate-python-exceptions: Have a single copyright statement
1436 at the top of the script (in a $copyright variable), and substitute
1437 this into the generated script.
1439 Sun May 27 01:52:08 GMT 2012 Olly Betts <olly@survex.com>
1441 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1442 python/generate-python-exceptions: Use new XAPIAN_NOTHROW markers
1443 in API headers to avoid generate exception handling code around
1444 the calls SWIG generates to such functions and methods.
1446 Sun May 27 01:51:28 GMT 2012 Olly Betts <olly@survex.com>
1448 * xapian-head.i: Hide XAPIAN_CONST_FUNCTION, XAPIAN_PURE_FUNCTION, and
1449 XAPIAN_NOTHROW from SWIG.
1451 Sun May 27 01:40:32 GMT 2012 Olly Betts <olly@survex.com>
1453 * generic/except.i: Don't name exceptions objects we don't inspect.
1455 Tue May 22 08:21:43 GMT 2012 Olly Betts <olly@survex.com>
1457 * configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
1458 VPATH build using a release tarball.
1460 Tue May 15 11:41:05 GMT 2012 Olly Betts <olly@survex.com>
1462 * python/pythontest3.py: Sync with pythontest2.
1464 Tue May 15 11:31:48 GMT 2012 Olly Betts <olly@survex.com>
1466 * NEWS: Update from ChangeLog and 1.2.10.
1468 Thu May 10 09:23:02 GMT 2012 Olly Betts <olly@survex.com>
1470 * configure.ac: "checking ruby/io.h" -> "checking for ruby/io.h".
1472 Wed May 09 03:23:44 GMT 2012 Olly Betts <olly@survex.com>
1474 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a
1475 simple way to rerun tests with verbose output.
1477 Wed May 09 03:22:43 GMT 2012 Olly Betts <olly@survex.com>
1479 * xapian-headers.i: Wrap Xapian::DBCHECK_FIX properly so we don't get
1480 xapian.cvar in Python.
1482 Sun Apr 22 13:04:47 GMT 2012 Olly Betts <olly@survex.com>
1484 * csharp/Makefile.am,java/Makefile.am: Sort both the lists of expected
1485 and of found SWIG-generated sources with Perl, to avoid problems with
1486 locale-specific sort orders.
1488 Sun Apr 22 11:00:21 GMT 2012 Olly Betts <olly@survex.com>
1490 * perl/t/writabledatabase.t: Forward port additional test coverage
1491 for Database::close() from Search::Xapian in 1.2 branch.
1493 Mon Apr 16 23:02:18 GMT 2012 Olly Betts <olly@survex.com>
1495 * configure.ac: Make sure the ruby subdirectory exists before
1496 trying to create ruby/rubyio.h, so this works in a VPATH
1497 build from a clean tree.
1499 Mon Apr 16 06:47:58 GMT 2012 Olly Betts <olly@survex.com>
1501 * csharp/AssemblyInfo.cs.in,csharp/Makefile.am: Use -keyfile and
1502 -keycontainer options to the C# compiler, because it warns us
1503 to do this instead of setting them in AssemblyInfo.cs.
1505 Mon Apr 16 06:39:25 GMT 2012 Olly Betts <olly@survex.com>
1507 * java/Makefile.am: Remove now superfluous old check that SWIG
1508 generated at least the sources we wanted - we now check it generated
1509 *exactly* the sources we wanted.
1511 Mon Apr 16 06:34:30 GMT 2012 Olly Betts <olly@survex.com>
1513 * csharp/Makefile.am,java/Makefile.am: Use diff's -c option when
1514 comparing the files SWIG generated against those we were expecting to
1515 get as the output should be easier to understand.
1517 Wed Apr 11 02:54:46 GMT 2012 Olly Betts <olly@survex.com>
1519 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests
1520 from Python 2 versions using 2to3.
1522 Thu Apr 05 04:25:45 GMT 2012 Olly Betts <olly@survex.com>
1524 * README,configure.ac,lua/docs/index.html,lua/util.i: Fix compatibility
1527 Thu Apr 05 04:23:22 GMT 2012 Olly Betts <olly@survex.com>
1529 * lua/smoketest.lua: Remove bogus \ before q.
1531 Thu Apr 05 03:45:08 GMT 2012 Olly Betts <olly@survex.com>
1533 * lua/smoketest.lua: Convert tabs to spaces.
1535 Thu Apr 05 03:43:52 GMT 2012 Olly Betts <olly@survex.com>
1537 * lua/smoketest.lua: Check behaviour of "require 'xapian'" - SWIG 2.0.4
1538 and earlier got this wrong. Part of patch from istr in #593, plus
1541 Thu Apr 05 03:28:50 GMT 2012 Olly Betts <olly@survex.com>
1543 * lua/smoketest.lua: Improve expect() function to take an option
1544 failure message, to report how values differed, and to compare tables
1545 in a smarter way. Part of patch from istr in #593.
1547 Thu Apr 05 02:46:21 GMT 2012 Olly Betts <olly@survex.com>
1549 * perl/t/thread.t,perl/t/writabledatabase.t: Remove #! lines with -W
1550 to fix "Name "Test::More::TODO" used only once: possible typo at
1551 /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
1553 Wed Apr 04 14:06:47 GMT 2012 Olly Betts <olly@survex.com>
1555 * python/docs/examples/simpleexpand.py: Update to not use deprecated
1556 MSet iteration features which have been removed on trunk. This
1557 also fixes a segfault if there are no matches and no documents
1558 are explicitly marked as relevant.
1560 Wed Mar 28 09:22:48 GMT 2012 Olly Betts <olly@survex.com>
1562 * xapian-head.i: Update for new deprecation macros.
1564 Fri Mar 23 00:42:11 GMT 2012 Olly Betts <olly@survex.com>
1566 * php/smoketest.php: More tests of geospatial API.
1568 Thu Mar 22 23:49:50 GMT 2012 Olly Betts <olly@survex.com>
1570 * perl/util.i.in: Avoid importing isa from UNIVERSAL to fix Perl 5.12
1571 deprecation warning.
1573 Tue Mar 20 02:04:51 GMT 2012 Olly Betts <olly@survex.com>
1575 * php/smoketest.php: More tests of geospatial API.
1577 Sun Mar 18 00:38:48 GMT 2012 Dan Colish <dcolish@gmail.com>
1579 * .gitignore: Ignore doxygen artifacts
1581 Wed Mar 14 02:25:51 GMT 2012 Olly Betts <olly@survex.com>
1583 * NEWS: Update from 1.2.9 and ChangeLog for 1.3.0.
1585 Tue Mar 13 22:41:01 GMT 2012 Olly Betts <olly@survex.com>
1587 * php/smoketest.php: Test constructing XapianLatLongCoord.
1589 Tue Mar 13 00:32:37 GMT 2012 Olly Betts <olly@survex.com>
1591 * php/add-php-type-hints: Fix typo "XapianStemmer" -> "XapianStem".
1592 * php/smoketest.php: Add regression test coverage.
1594 Thu Mar 08 05:51:38 GMT 2012 Olly Betts <olly@survex.com>
1596 * perl/t/: Enable warnings for all test cases and make them fatal.
1598 Thu Mar 08 05:37:47 GMT 2012 Olly Betts <olly@survex.com>
1600 * perl/t/symbol-test.t: Remove lingering reference to @args which is
1601 no longer set, and enable warnings and make them fatal so we don't
1604 Fri Jan 27 01:21:18 GMT 2012 Olly Betts <olly@survex.com>
1606 * perl/t/10query.t: Check that Search::Xapian::Query->new("") works.
1608 Fri Jan 27 01:19:45 GMT 2012 Olly Betts <olly@survex.com>
1610 * perl/perl.i: Fix Search::Xapian->new() to work.
1611 * perl/t/10query.t: Add testcase for this.
1613 Thu Jan 26 23:41:55 GMT 2012 Olly Betts <olly@survex.com>
1615 * perl/perl.i: Add "use Carp;" where we use functions from that module.
1616 * perl/t/10query.t: Add regression test.
1618 Fri Jan 20 23:53:12 GMT 2012 Olly Betts <olly@survex.com>
1620 * perl/t/document.t,perl/t/index.t: Add tests of Document::get_docid().
1622 Thu Jan 19 00:19:52 GMT 2012 Olly Betts <olly@survex.com>
1624 * java/Makefile.am: Update list of generated files for the geospatial
1627 Thu Jan 19 00:17:11 GMT 2012 Olly Betts <olly@survex.com>
1629 * xapian-headers.i: Ignore unserialise() variant taking const char**
1630 and Database::check() variant taking std::ostream &.
1632 Wed Jan 18 13:43:55 GMT 2012 Olly Betts <olly@survex.com>
1634 * xapian-headers.i: Handle DBCHECK_* constants like we do DB_* ones.
1635 Factor out this special handliing into a SWIG macro called CONSTANT.
1637 Wed Jan 18 13:22:34 GMT 2012 Olly Betts <olly@survex.com>
1639 * csharp/Makefile.am: Update list of generated file for geospatial API.
1641 Wed Jan 18 10:41:41 GMT 2012 Olly Betts <olly@survex.com>
1643 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
1644 ruby/smoketest.rb,ruby/xapian.rb,xapian-headers.i: Merge bindings
1645 changes for geospatial API.
1647 Wed Jan 04 06:03:09 GMT 2012 Olly Betts <olly@survex.com>
1649 * php/smoketest.php: Add a test that Query ctor taking OP_NEAR with a
1652 Fri Dec 30 13:44:17 GMT 2011 Olly Betts <olly@survex.com>
1654 * perl/perl.i: Refactor to use XapianSWIGQueryItor class instead
1655 of temporary std::vector<Xapian::Query> (but not via a SWIG
1658 Fri Dec 30 13:17:15 GMT 2011 Olly Betts <olly@survex.com>
1660 * lua/util.i: Add begin() and end() methods to XapianSWIGQueryItor
1661 instead of using ctors and assignment.
1663 Fri Dec 30 13:16:00 GMT 2011 Olly Betts <olly@survex.com>
1665 * lua/util.i: Improve error message.
1667 Fri Dec 30 13:13:12 GMT 2011 Olly Betts <olly@survex.com>
1669 * lua/util.i: Eliminate "else" after "return".
1671 Fri Dec 30 13:12:34 GMT 2011 Olly Betts <olly@survex.com>
1673 * lua/util.i: Remove "return;" at end of function.
1675 Fri Dec 30 13:09:00 GMT 2011 Olly Betts <olly@survex.com>
1677 * lua/util.i: Fix typo in error message.
1679 Fri Dec 30 13:07:06 GMT 2011 Olly Betts <olly@survex.com>
1681 * lua/util.i: Reindent and fix other whitespace oddities.
1683 Fri Dec 30 12:23:38 GMT 2011 Olly Betts <olly@survex.com>
1685 * php/php.i: Add begin() method to XapianSWIGQueryItor instead of
1686 using a ctor and assignment.
1688 Fri Dec 30 03:15:31 GMT 2011 Olly Betts <olly@survex.com>
1690 * ruby/ruby.i: Add begin() and end() methods to XapianSWIGQueryItor
1691 as that's clearer than overloaded ctors with dummy parameters.
1693 Fri Dec 30 01:59:46 GMT 2011 Olly Betts <olly@survex.com>
1695 * csharp/Makefile.am,xapian.i: We don't use
1696 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for C#, but we also don't
1697 use the fake ctors added by %extend if this isn't defined, so also
1698 skip them if SWIGCSHARP is defined.
1700 Fri Dec 30 01:18:03 GMT 2011 Olly Betts <olly@survex.com>
1702 * xapian.i: While we don't currently use
1703 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for perl, we also don't
1704 use the fake ctors added by %extend if this isn't defined, so also
1705 skip them if SWIGPERL is defined.
1707 Fri Dec 30 01:13:31 GMT 2011 Olly Betts <olly@survex.com>
1709 * xapian.i: Remove left-over comment associated with
1710 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP.
1712 Fri Dec 30 01:05:52 GMT 2011 Olly Betts <olly@survex.com>
1714 * python/python.i: Use a SWIG freearg typemap to release the fast
1715 sequence object when we're done with it, rather than carefully
1716 adjusting its reference count when the iterator objects get copied or
1719 Fri Dec 30 00:54:51 GMT 2011 Olly Betts <olly@survex.com>
1721 * xapian.i: Remove XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP, since none
1722 of the currently supported languages now use it, and we should use
1723 the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for all
1724 future languages which have containers which allow mixed content.
1726 Fri Dec 30 00:53:07 GMT 2011 Olly Betts <olly@survex.com>
1728 * python/python.i,python/util.i: Implement
1729 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for Python.
1731 Fri Dec 30 00:04:27 GMT 2011 Olly Betts <olly@survex.com>
1733 * python/pythontest2.py: Use list comprehensions rather than append
1736 Thu Dec 29 23:26:18 GMT 2011 Olly Betts <olly@survex.com>
1738 * python/testsuite2.py: Rephrase so VERBOSE=1 is there to cut and
1741 Thu Dec 29 22:52:20 GMT 2011 Olly Betts <olly@survex.com>
1743 * python/testsuite2.py: Don't run off the traceback looking for a
1744 test function if the exception wasn't from a test function.
1746 Thu Dec 29 11:35:51 GMT 2011 Olly Betts <olly@survex.com>
1748 * csharp/SmokeTest.cs,java/SmokeTest.java,lua/smoketest.lua,
1749 perl/t/10query.t,perl/t/parser.t,perl/t/search.t,php/smoketest.php,
1750 python/pythontest2.py,python/smoketest2.py,python/testsuite2.py,
1751 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian-headers.i,xapian.i:
1752 Update for Query internals changes.
1754 Thu Dec 29 11:20:48 GMT 2011 Olly Betts <olly@survex.com>
1756 * configure.ac: Fix test for jni.h to try looking for jni.h relative to
1757 the real location of javac, which should work for more JDKs.
1759 Fri Dec 23 01:25:56 GMT 2011 Olly Betts <olly@survex.com>
1761 * python/python.i: If configure didn't find a way to do TLS, fall back
1762 to using pthread_getspecific() etc, which should work on Mac OS X.
1764 Thu Dec 22 12:00:57 GMT 2011 Olly Betts <olly@survex.com>
1766 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1767 Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
1770 Wed Dec 21 13:48:27 GMT 2011 Olly Betts <olly@survex.com>
1772 * php/add-php-type-hints: Don't add a type hint to apply($doc) as that
1773 would break existing subclasses as the signature must match.
1775 Wed Dec 21 10:06:30 GMT 2011 Olly Betts <olly@survex.com>
1777 * perl/Search/Xapian/Document.pm,perl/Search/Xapian/TermGenerator.pm:
1778 Improve POD docs for Document and TermGenerator methods - "weight"
1779 is misleading, so use "wdfinc" and "wdfdec" like the C++ API docs
1782 Wed Dec 21 10:05:48 GMT 2011 Olly Betts <olly@survex.com>
1784 * lua/util.i,perl/perl.i: Change Xapian::weight to double.
1786 Wed Dec 21 08:43:37 GMT 2011 Olly Betts <olly@survex.com>
1788 * php/add-php-type-hints: XapianSorter should be XapianKeyMaker.
1790 Wed Dec 21 08:42:57 GMT 2011 Olly Betts <olly@survex.com>
1792 * php/Makefile.am: Rebuild wrappers if "add-php-type-hints" changes.
1794 Wed Dec 21 04:12:36 GMT 2011 Olly Betts <olly@survex.com>
1796 * php/Makefile.am,php/add-php-type-hints: Add PHP type hints to the
1797 class wrappers. Fixes ticket#577.
1799 Tue Dec 20 11:03:37 GMT 2011 Olly Betts <olly@survex.com>
1801 * README,configure.ac,python/docs/index.html,python/python.i: Handle
1802 the GIL in a way which also works in sub-interpreters. Fixes
1804 * python/pythontest2.py: Run tests as before, and then (if Python
1805 supports threads) in a separate thread.
1807 Mon Dec 19 10:19:06 GMT 2011 Olly Betts <olly@survex.com>
1809 * configure.ac: Improve description of PERL_SO.
1811 Mon Dec 19 10:18:36 GMT 2011 Olly Betts <olly@survex.com>
1813 * configure.ac: Fix cosmetic typo in recent Lua change.
1815 Mon Dec 19 10:11:30 GMT 2011 Olly Betts <olly@survex.com>
1817 * configure.ac,lua/Makefile.am: Remove Lua cygwin-specific configure
1818 code and -DUSE_LUA_STUBS - both were copied from the Tcl support
1819 with Tcl changed to Lua, and have no basis in reality that I can
1822 Mon Dec 19 09:08:15 GMT 2011 Olly Betts <olly@survex.com>
1824 * configure.ac,lua/Makefile.am: Improve probing for LUA_LIB, and also
1825 probe for LUA_SO so we support platforms where the compiled Lua
1826 module isn't called .so.
1828 Sun Dec 18 02:04:16 GMT 2011 Olly Betts <olly@survex.com>
1830 * configure.ac: Improve LUA_LIB description and probe message - the
1831 module won't have an ".so" extension on all platforms.
1833 Sun Dec 18 01:55:39 GMT 2011 Olly Betts <olly@survex.com>
1835 * configure.ac: m4 quoting tweaks (cosmetic only).
1837 Sun Dec 18 01:50:48 GMT 2011 Olly Betts <olly@survex.com>
1839 * configure.ac: Honour LUA_LIB if already set. Fixes #581.
1841 Thu Dec 15 14:44:09 GMT 2011 Olly Betts <olly@survex.com>
1843 * perl/generate-perl-exceptions: Remove superfluous ';' after closing
1844 '}' of namespace. Tweak whitespace.
1846 Thu Dec 15 12:50:42 GMT 2011 Olly Betts <olly@survex.com>
1848 * generic/except.i: Correct comments about how and where this file gets
1849 included - this changed in the major restructuring a few months ago.
1850 * generic/except.i,php/except.i,tcl8/except.i: Return
1851 Error::get_description() rather than get_type + ": " + get_msg(). In
1852 many cases this is the same, but if context or errno are available,
1853 get_description() includes them. Catch and report std::exception
1854 rather than handling it as an unknown error (so in particular
1855 std::bad_alloc will now be reported more helpfully).
1857 Thu Dec 15 12:30:15 GMT 2011 Olly Betts <olly@survex.com>
1859 * perl/generate-perl-exceptions: Whitespace tweak.
1861 Thu Dec 15 11:40:39 GMT 2011 Olly Betts <olly@survex.com>
1863 * lua/docs/index.html,lua/generate-lua-exceptions,lua/smoketest.lua,
1864 lua/util.i: Handle an exception from C++ by raising a xapian.Error
1865 object as an error in Lua. Rename get_description() methods to
1866 __tostring(), so that you can use write tostring(obj) in Lua. Fix
1867 indentation not to assume tabs are two spaces.
1869 Wed Dec 14 10:54:03 GMT 2011 Olly Betts <olly@survex.com>
1871 * lua/generate-lua-exceptions: Restore other copyright holders to
1872 generated file - it seems likely this constitutes a derived work
1873 and it is better to err on the side of caution.
1875 Tue Dec 13 14:29:34 GMT 2011 Olly Betts <olly@survex.com>
1877 * NEWS: Update from 1.2.8 and ChangeLog.
1879 Sun Oct 30 21:42:48 GMT 2011 Richard Boulton <richard@tartarus.org>
1881 * python/Makefile.am: Add module_top.py to tarballs.
1883 Sat Oct 29 15:05:34 GMT 2011 Olly Betts <olly@survex.com>
1885 * python/Makefile.am,python/module_top.py: Add a module docstring
1888 Wed Oct 05 13:31:25 GMT 2011 Olly Betts <olly@survex.com>
1890 * ruby/smoketest.rb,ruby/xapian.rb: Wrap optional prefix parameter to
1893 Mon Aug 22 11:22:34 GMT 2011 Olly Betts <olly@survex.com>
1895 * python/pythontest2.py: Use "if x is not None:" rather than "if x !=
1898 Wed Aug 17 11:07:41 GMT 2011 Olly Betts <olly@survex.com>
1900 * lua/Makefile.am: Add dependency on except.i so it gets (re)generated
1903 Wed Aug 17 10:11:52 GMT 2011 Olly Betts <olly@survex.com>
1905 * lua/Makefile.am,lua/docs/examples/simpleexpand.lua,lua/: Merge latest
1906 Lua improvements from Xiaona Han.
1908 Mon Aug 15 01:28:51 GMT 2011 Olly Betts <olly@survex.com>
1910 * python/doxy2swig.py,python/pythontest2.py,python/testsuite2.py:
1911 Remove trailing whitespace.
1913 Mon Aug 15 01:19:06 GMT 2011 Olly Betts <olly@survex.com>
1915 * python/pythontest2.py,python/testsuite2.py: Move the check for
1916 leaked objects into the testsuite harness so all tests get checked,
1917 not just the two which are regression tests for leaks in older
1918 versions. This also gives us a single place to disable it if it
1919 should prove problematic in alternative Python implementations.
1921 Sun Aug 14 12:45:09 GMT 2011 Olly Betts <olly@survex.com>
1923 * python/pythontest2.py: In test_matchingterms_iter, run the code
1924 we're testing for leaks twice, and only check for leaks the second
1925 time to avoid falsely reporting a leak when some cached value gets
1926 initialised under Python 2.5.
1928 Fri Aug 12 23:18:20 GMT 2011 Olly Betts <olly@survex.com>
1930 * NEWS: Update from 1.2.7 and ChangeLog.
1932 Mon Aug 08 03:35:23 GMT 2011 Olly Betts <olly@survex.com>
1934 * java/SmokeTest.java: Fix == comparisons with literal strings.
1936 Thu Aug 04 07:34:14 GMT 2011 Olly Betts <olly@survex.com>
1938 * xapian-headers.i,xapian.i: Wrap iterator operator++ and operator--
1939 methods with a new INC_OR_DEC macro, replacing the old NEXT and
1942 Thu Aug 04 07:21:36 GMT 2011 Olly Betts <olly@survex.com>
1944 * xapian-head.i,xapian-headers.i: We no longer need special handling
1945 for ValueIteratorEnd_ in the bindings, as that hack is gone from the
1948 Thu Aug 04 07:15:53 GMT 2011 Olly Betts <olly@survex.com>
1950 * xapian-head.i,xapian.i: Update for the Xapian::timeout -> useconds_t
1953 Thu Aug 04 06:45:38 GMT 2011 Olly Betts <olly@survex.com>
1955 * configure.ac: JAVA_CXXFLAGS is no longer used, so remove it.
1957 Thu Aug 04 00:24:22 GMT 2011 Olly Betts <olly@survex.com>
1959 * configure.ac: Add --disable-visibility option to match xapian-core.
1961 Thu Aug 04 00:04:47 GMT 2011 Olly Betts <olly@survex.com>
1963 * configure.ac: Add -fshow-column for GCC.
1965 Tue Aug 02 03:49:27 GMT 2011 Olly Betts <olly@survex.com>
1967 * perl/t/symbol-test.t: Fix to work when built against an installed
1968 xapian-core. (ticket#558)
1970 Sat Jul 30 12:05:02 GMT 2011 Olly Betts <olly@survex.com>
1972 * Makefile.am,configure.ac,doxygen_xml.conf.in,python/Makefile.am,
1973 ruby/Makefile.am,ruby/generate-rdoc-stubs: Run doxygen to generate
1974 XML for the bindings in the bindings build system, not as a
1975 side-effect in xapian-core's. (ticket#262)
1977 Sat Jul 30 06:22:37 GMT 2011 Olly Betts <olly@survex.com>
1979 * configure.ac,csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
1980 lua/Makefile.am,perl/Makefile.am,php/Makefile.am,python/Makefile.am,
1981 ruby/Makefile.am,tcl8/Makefile.am: Don't put -Werror in SWIG_FLAGS
1982 - instead put it in a new SWIG_WERROR variable, so that it's easy
1983 to override it if you're getting a new warning from SWIG but want
1984 to just ignore it for the time being.
1986 Fri Jul 29 13:49:51 GMT 2011 Olly Betts <olly@survex.com>
1988 * php/smoketest.php: Add regression test for recently fixed SWIG bug
1989 which caused "return $r;" to be generated in some cases when $r
1992 Fri Jul 29 03:41:02 GMT 2011 Olly Betts <olly@survex.com>
1994 * php/smoketest.php: Install an error handler so the test fails if
1995 there are any errors, warnings, notices, etc.
1997 Mon Jul 25 07:36:26 GMT 2011 Olly Betts <olly@survex.com>
1999 * java/SmokeTest.java: Add test that string passing is zero byte safe.
2001 Mon Jul 25 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
2003 * java/SmokeTest.java: Fix MyExpandDecider.accept to really check the
2006 Mon Jul 25 05:52:29 GMT 2011 Olly Betts <olly@survex.com>
2008 * xapian.i: Don't return iterator from C# Next() and Prev() methods by
2009 reference as that results in it being eligible for garbage collection
2010 while we're still using it.
2011 * csharp/SmokeTest.cs: Add regression test.
2013 Sat Jul 23 15:27:27 GMT 2011 Olly Betts <olly@survex.com>
2015 * lua/util.i: Whitespace tweaks.
2017 Sat Jul 23 15:18:24 GMT 2011 Olly Betts <olly@survex.com>
2019 * lua/docs/examples/simpleexpand.lua,
2020 lua/docs/examples/simplematchdecider.lua,
2021 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2022 lua/smoketest.lua,lua/util.i: Merge latest Lua changes from Xiaona
2025 Thu Jul 07 23:28:24 GMT 2011 Olly Betts <olly@survex.com>
2027 * Makefile.am: Restore ruby to DIST_SUBDIRS (accidentally removed when
2028 java-swig was renamed to java).
2030 Wed Jul 06 12:26:38 GMT 2011 Olly Betts <olly@survex.com>
2032 * lua/Makefile.am: Include new example in tarball.
2034 Tue Jul 05 02:10:02 GMT 2011 Olly Betts <olly@survex.com>
2036 * python/python.i: By default, SWIG's thread locking code for Python
2037 always initialises threads, which just adds overhead for single
2038 threaded Python code. So instead we now replace SWIG's thread
2039 locking with a version which does nothing unless threads are already
2040 initialised. This seems to be about 5-10% faster for pythontest2.py
2041 modified to repeat the tests 100 times.
2043 Tue Jul 05 01:32:07 GMT 2011 Olly Betts <olly@survex.com>
2045 * lua/docs/examples/simplematchdecider.lua: Wrap comment to <80
2048 Tue Jul 05 01:25:49 GMT 2011 Olly Betts <olly@survex.com>
2050 * lua/docs/examples/simplematchdecider.lua: New example from Xiaona
2052 * lua/docs/index.html: Add link to simplematchdecider.lua.
2054 Mon Jul 04 15:04:36 GMT 2011 Olly Betts <olly@survex.com>
2056 * lua/smoketest.lua,lua/util.i: Fix whitespace inconsistencies.
2058 Mon Jul 04 14:58:34 GMT 2011 Olly Betts <olly@survex.com>
2060 * lua/docs/index.html,lua/smoketest.lua,lua/util.i: Merge latest Lua
2061 changes from Xiaona Han.
2063 Mon Jul 04 01:35:50 GMT 2011 Olly Betts <olly@survex.com>
2065 * java/Makefile.am: Use the same NEED_JNILIB_EXT machinery which the
2066 hand-coded JNI bindings had, so that on Mac OS X the JNI library
2067 has a .jnilib extension.
2069 Sun Jul 03 11:01:21 GMT 2011 Olly Betts <olly@survex.com>
2071 * java-swig/: Actually rename to java/.
2073 Sun Jul 03 10:36:13 GMT 2011 Olly Betts <olly@survex.com>
2075 * java/: Actually remove the old hand-coded JNI Java bindings.
2077 Wed Jun 29 22:38:29 GMT 2011 Olly Betts <olly@survex.com>
2079 * php/Makefile.am,php/docs/examples/,php/smoketest.php: Change
2080 'include "php5/xapian.php"' to 'include "xapian.php"' in
2081 smoketest.php and the examples, and set include_path=php5 in
2082 TESTS_ENVIRONMENT so smoketest.php finds the uninstalled
2085 Wed Jun 29 01:04:51 GMT 2011 Olly Betts <olly@survex.com>
2087 * csharp/SmokeTest.cs: Add test coverage for QueryParser.ParseQuery()
2088 with flags argument.
2090 Wed Jun 29 00:00:25 GMT 2011 Olly Betts <olly@survex.com>
2092 * Makefile.am,configure.ac: Rename java-swig subdirectory to java.
2094 Tue Jun 28 23:52:13 GMT 2011 Olly Betts <olly@survex.com>
2096 * lua/smoketest.lua: Add simple test for
2097 Database::positionlist_begin().
2099 Tue Jun 28 12:14:17 GMT 2011 Olly Betts <olly@survex.com>
2101 * NEWS: Update from ChangeLog.
2103 Mon Jun 27 15:22:22 GMT 2011 Olly Betts <olly@survex.com>
2105 * python/Makefile.am,python/python.i,python/util.i: If
2106 MAINTAINER_NO_DOCS is true, then just create an empty doccomments.i
2107 rather then carefully arranging not to include it.
2109 Mon Jun 27 15:04:59 GMT 2011 Olly Betts <olly@survex.com>
2111 * python/extra.i: Clarify that extra.i is for extra *Python* code.
2113 Mon Jun 27 14:39:26 GMT 2011 Olly Betts <olly@survex.com>
2115 * TODO: Wrapping Xapian::Weight isn't possible. (ticket#401)
2117 Mon Jun 27 14:34:24 GMT 2011 Olly Betts <olly@survex.com>
2119 * perl/perl.i,perl/util.i.in: Move the SWIG typemaps into perl.i,
2120 leaving just the %perlcode in util.i.in.
2122 Mon Jun 27 14:23:54 GMT 2011 Olly Betts <olly@survex.com>
2124 * xapian.i: Remove %module line which is no longer used.
2126 Mon Jun 27 14:10:19 GMT 2011 Olly Betts <olly@survex.com>
2128 * perl/util.i.in: WritableDatabase::delete_document() was broken by
2129 the migration to wrapping <xapian/database.h> directly - now fixed
2130 and cleaned up how we wrap delete_document_by_term(),
2131 replace_document() and replace_document_by_term().
2133 Mon Jun 27 11:21:10 GMT 2011 Olly Betts <olly@survex.com>
2135 * tcl8/tcl.i: Use the iterator approach for wrapping the mixed array
2138 Mon Jun 27 11:05:10 GMT 2011 Olly Betts <olly@survex.com>
2140 * ruby/ruby.i: Use the iterator approach for wrapping the mixed array
2143 Mon Jun 27 08:18:02 GMT 2011 Olly Betts <olly@survex.com>
2145 * php/php.i,xapian.i: Wrap the XapianQuery ctor which takes a mixed
2146 array of XapianQuery objects and strings by defining an iterator so
2147 subqueries get added directly rather than creating an intermediate
2150 Mon Jun 27 03:08:40 GMT 2011 Olly Betts <olly@survex.com>
2152 * php/php.i: Tweak the phpinfo() generation code.
2154 Mon Jun 27 02:40:29 GMT 2011 Olly Betts <olly@survex.com>
2156 * java-swig/docs/examples/SimpleIndex.java: Update to use commit()
2157 rather than flush(). Remove reference to quartz.
2159 Sun Jun 26 15:32:50 GMT 2011 Olly Betts <olly@survex.com>
2161 * xapian-headers.i,xapian.i: Wrap <xapian/query.h> in xapian-headers.i,
2162 except for the current %extend part which I'm looking to reimplement
2165 Sun Jun 26 14:54:09 GMT 2011 Olly Betts <olly@survex.com>
2167 * ruby/ruby.i: Fix to work with direct wrapping on xapian/enquire.h
2168 - the signature in that file has Xapian:: qualifiers on the
2169 arguments types for set_query() so it wasn't getting renamed.
2170 Missed this because of incorrect dependencies, as fixed in the
2173 Sun Jun 26 14:47:20 GMT 2011 Olly Betts <olly@survex.com>
2175 * ruby/Makefile.am: Fix automatic dependency generation for files
2178 Sun Jun 26 14:09:33 GMT 2011 Olly Betts <olly@survex.com>
2180 * csharp/docs/index.html,java-swig/docs/index.html: Document wrapping
2181 of MatchAll and MatchNothing.
2183 Sun Jun 26 10:24:55 GMT 2011 Olly Betts <olly@survex.com>
2185 * csharp/SmokeTest.cs,csharp/csharp.i,java-swig/SmokeTest.java,
2186 java-swig/java.i: Wrap Query::MatchAll and Query::MatchNothing for C#
2187 and Java. (ticket#158)
2189 Sun Jun 26 03:35:43 GMT 2011 Olly Betts <olly@survex.com>
2191 * php/docs/index.html,php/smoketest.php,xapian.i: Wrap MatchAll and
2192 MatchNothing for PHP as XapianQuery::MatchAll() and
2193 XapianQuery::MatchNothing(). (ticket#158)
2195 Sat Jun 25 15:58:08 GMT 2011 Olly Betts <olly@survex.com>
2197 * xapian-headers.i,xapian.i: Wrap <xapian/weight.h> using the new
2200 Sat Jun 25 15:38:14 GMT 2011 Olly Betts <olly@survex.com>
2202 * xapian-headers.i,xapian.i: Wrap <xapian/valuesetmatchdecider.h> in
2205 Sat Jun 25 15:32:31 GMT 2011 Olly Betts <olly@survex.com>
2207 * xapian-headers.i,xapian.i: Wrap Xapian::Stem using the new macros.
2209 Sat Jun 25 15:15:19 GMT 2011 Olly Betts <olly@survex.com>
2211 * csharp/Makefile.am,java-swig/Makefile.am: Upon "make
2212 maintainer-clean", delete the directories which we get SWIG to
2213 generate the source files into, and also the 'built' subdirectory for
2216 Sat Jun 25 15:10:21 GMT 2011 Olly Betts <olly@survex.com>
2218 * java-swig/Makefile.am: Port over from csharp/Makefile.am the smarter
2219 check that we got exactly the sources generated which we wanted.
2220 Add missing new source ExpandDeciderAnd.java.
2222 Sat Jun 25 15:08:59 GMT 2011 Olly Betts <olly@survex.com>
2224 * csharp/Makefile.am: Delete all files in generated-csharp before
2225 running swig, not just those in $(XAPIAN_SWIG_CS_SRCS).
2227 Sat Jun 25 15:01:48 GMT 2011 Olly Betts <olly@survex.com>
2229 * csharp/Makefile.am,xapian-headers.i,xapian.i: Wrap enquire.h and
2230 expanddecider.h by parsing the headers directly. Wrap ExpandDecider
2231 even if we don't have director support - there's a
2232 ExpandDeciderFilterTerms subclass which is useful in itself, though
2233 it still needs some typemap work to actually get it usefully wrapped.
2234 Ignore copy ctors for all classes (rather than just some) for all
2235 languages except Tcl where we now consistently ignore none of them.
2237 Sat Jun 25 11:13:34 GMT 2011 Olly Betts <olly@survex.com>
2239 * python/util.i: Rename SWIG_anystring_as_ptr to
2240 XapianSWIG_anystring_as_ptr as it's not a part of SWIG itself.
2241 Handle generating XapianSWIG_anystring_as_ptr in the right place
2242 in the file by specifying it with %fragment, and specify its
2243 dependency on the fragment SWIG_AsPtr_std_string.
2245 Sat Jun 25 07:50:56 GMT 2011 Olly Betts <olly@survex.com>
2247 * csharp/Makefile.am: Put the generated C# sources into a subdirectory
2248 to make it easier to manage them. Check that exactly the sources in
2249 XAPIAN_SWIG_CS_SRCS are generated previously we checked that the
2250 sources in that list were generated, but not if extra ones were).
2251 Add six missing sources to XAPIAN_SWIG_CS_SRCS.
2253 Fri Jun 24 17:16:19 GMT 2011 Olly Betts <olly@survex.com>
2255 * xapian-headers.i,xapian.i: Wrap Database and WritableDatabase by
2256 using %include <xapian/database.h>. Adds missing wrappers for
2257 Database::has_positions(), wrapping of Database::reopen()'s new
2258 bool return type, and corrects the return type of
2259 Database::get_doclength() from double to Xapian::termcount.
2261 Fri Jun 24 15:47:50 GMT 2011 Olly Betts <olly@survex.com>
2263 * xapian-headers.i,xapian.i: Wrap MatchSpy and PostingSource with
2266 Fri Jun 24 15:30:27 GMT 2011 Olly Betts <olly@survex.com>
2268 * xapian-headers.i,xapian.i: Add SUBCLASSABLE macro to indicate a class
2269 which is subclassable in the target language (assuming SWIG supports
2270 directors for that language).
2272 Fri Jun 24 12:44:07 GMT 2011 Olly Betts <olly@survex.com>
2274 * xapian-headers.i,xapian.i: Factor out ignoring of internal stuff and
2275 operator= from INPUT_ITERATOR_METHODS into new STANDARD_IGNORES
2276 macro. Use STANDARD_IGNORES to wrap Xapian::Document. Wrap
2277 ValueIterator via %include <xapian/valueiterator.h>.
2279 Fri Jun 24 09:29:46 GMT 2011 Olly Betts <olly@survex.com>
2281 * xapian-headers.i,xapian.i: Wrap TermIterator via %include
2282 <xapian/termiterator.h>. TermIterator::positionlist_count() is now
2285 Fri Jun 24 09:15:11 GMT 2011 Olly Betts <olly@survex.com>
2287 * xapian-headers.i,xapian.i: Do setup for %include <postingiterator.h>
2288 using a parameterised macro INPUT_ITERATOR_METHODS(). Use this new
2289 macro to wrap %include <xapian/positioniterator.h> instead of having
2290 its declarations repeated in xapian.i.
2292 Fri Jun 24 05:39:20 GMT 2011 Olly Betts <olly@survex.com>
2294 * Makefile.am,xapian-headers.i,xapian.i: Start a new interface file
2295 to contain wrapping of xapian-core API headers by getting SWIG to
2296 parse them directly rather than duplicated declarations in the
2299 Fri Jun 24 04:33:50 GMT 2011 Olly Betts <olly@survex.com>
2301 * configure.ac: Update JNI comments.
2303 Fri Jun 24 04:06:17 GMT 2011 Olly Betts <olly@survex.com>
2305 * HACKING,Makefile.am,README,configure.ac,java-swig/SmokeTest.java,
2306 java/,java/native/,java/org/xapian/,java/org/xapian/errors/,
2307 java/org/xapian/examples/,java/run-java-test: Remove the hand-coded
2310 Fri Jun 24 03:37:25 GMT 2011 Olly Betts <olly@survex.com>
2312 * java-swig/Makefile.am,java-swig/docs/: Copy java examples
2313 from the JNI ones, and create an HTML documentation page
2314 based on java/README.
2316 Fri Jun 24 03:13:15 GMT 2011 Olly Betts <olly@survex.com>
2318 * configure.ac: Switch java bindings to java-swig.
2320 Wed Jun 22 15:08:04 GMT 2011 Olly Betts <olly@survex.com>
2322 * INSTALL: Add --with-lua and sort the list of --with-* options.
2324 Wed Jun 22 15:01:44 GMT 2011 Olly Betts <olly@survex.com>
2326 * INSTALL: Pull in a few updates from the latest version of the
2327 automake document which this file was originally based on.
2328 Add in the missing copyright and licensing information.
2330 Wed Jun 22 14:35:33 GMT 2011 Olly Betts <olly@survex.com>
2332 * INSTALL,README: It's not really noteworthy that Mac OS X 10.1 and
2333 10.2 aren't supported as Apple ditched them long ago, so drop this
2334 as a "Known Issue" in INSTALL and instead just say "Mac OS X >= 10.3"
2335 in the discussion of supported platforms in the README.
2337 Wed Jun 22 08:50:52 GMT 2011 Olly Betts <olly@survex.com>
2339 * perl/Makefile.am: Need to build except.i before we run swig.
2341 Wed Jun 22 08:46:50 GMT 2011 Olly Betts <olly@survex.com>
2343 * python/Makefile.am: Need to build except.i and doccomments.i before
2346 Wed Jun 22 04:41:26 GMT 2011 Olly Betts <olly@survex.com>
2348 * java-swig/Makefile.am,java-swig/SmokeTest.java: Put the
2349 SWIG-generated Java bindings in package org.xapian.
2351 Wed Jun 22 03:26:21 GMT 2011 Olly Betts <olly@survex.com>
2353 * java-swig/SmokeTest.java: Add more FIXME notes.
2355 Wed Jun 22 02:55:38 GMT 2011 Olly Betts <olly@survex.com>
2357 * java-swig/Makefile.am: Clean up MyMatchDecider.class and
2358 MyExpandDecider.class. Include Query$1.class in the jar file.
2360 Wed Jun 22 01:47:24 GMT 2011 Olly Betts <olly@survex.com>
2362 * java-swig/Makefile.am: Update for Xapian::Compactor.
2364 Wed Jun 22 01:23:23 GMT 2011 Olly Betts <olly@survex.com>
2366 * csharp/Makefile.am: Use the same trick as in java-swig/ to check that
2367 SWIG generated all the sources we expected it to.
2369 Wed Jun 22 01:21:19 GMT 2011 Olly Betts <olly@survex.com>
2371 * csharp/Makefile.am,java-swig/Makefile.am,lua/Makefile.am,
2372 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
2373 tcl8/Makefile.am: Include explicit '$(srcdir)/' path on the main SWIG
2374 interface file to work better in a VPATH build.
2376 Tue Jun 21 16:12:38 GMT 2011 Olly Betts <olly@survex.com>
2378 * python/Makefile.am: Pass -I. to SWIG so it finds generated
2379 doccomments.i in a VPATH build.
2381 Tue Jun 21 14:55:17 GMT 2011 Olly Betts <olly@survex.com>
2383 * csharp/Makefile.am,csharp/csharp.i,csharp/util.i,generic/except.i,
2384 generic/generic.mk,java-swig/Makefile.am,java-swig/java.i,
2385 java-swig/util.i,lua/Makefile.am,lua/lua.i,perl/Makefile.am,
2386 perl/perl.i,php/Makefile.am,php/php.i,php/util.i,python/Makefile.am,
2387 python/python.i,python/util.i,ruby/Makefile.am,ruby/ruby.i,
2388 ruby/util.i,tcl8/Makefile.am,tcl8/tcl.i,tcl8/util.i,xapian-head.i,
2389 xapian.i: Change how the inclusion of SWIG interface files works -
2390 instead of carefully setting up include paths so that files get
2391 pulled in from language-specific directories, with fallbacks to
2392 generic files in some cases, we now have a master interface file for
2393 each language which explicitly includes all the other files we want.
2395 Tue Jun 21 14:34:47 GMT 2011 Olly Betts <olly@survex.com>
2397 * generic/generic.mk: 'macosx' -> 'Mac OS X'.
2399 Tue Jun 21 14:16:52 GMT 2011 Olly Betts <olly@survex.com>
2401 * README: Note a recent version of Mono which we've tested the C#
2404 Tue Jun 21 13:52:22 GMT 2011 Olly Betts <olly@survex.com>
2406 * csharp/Makefile.am: Combine the two uninstall-local targets so the
2407 commands from both actually get run.
2409 Tue Jun 21 11:09:59 GMT 2011 Olly Betts <olly@survex.com>
2411 * configure.ac: Wrap sources used by AC_COMPILE_IFELSE in
2412 AC_LANG_SOURCE to fix warning from autoconf.
2414 Tue Jun 21 06:54:00 GMT 2011 Olly Betts <olly@survex.com>
2416 * xapian.i: Update comment about MatchAll/MatchNothing.
2418 Tue Jun 21 06:49:56 GMT 2011 Olly Betts <olly@survex.com>
2420 * perl/t/10query.t,perl/util.i.in: Wrap MatchAll and MatchNothing for
2421 Perl (as Search::Xapian::Query::MatchAll and
2422 Search::Xapian::Query::MatchNothing). (ticket#158)
2424 Tue Jun 21 06:00:41 GMT 2011 Olly Betts <olly@survex.com>
2426 * ruby/docs/index.html,ruby/extra.i,ruby/smoketest.rb,xapian.i: Wrap
2427 MatchAll and MatchNothing for Ruby. (ticket#158)
2429 Tue Jun 21 05:09:20 GMT 2011 Olly Betts <olly@survex.com>
2431 * lua/smoketest.lua: Fix whitespace inconsistencies.
2433 Tue Jun 21 05:07:30 GMT 2011 Olly Betts <olly@survex.com>
2435 * lua/smoketest.lua: Restore semicolons to licence text.
2437 Tue Jun 21 05:01:55 GMT 2011 Olly Betts <olly@survex.com>
2439 * lua/docs/index.html,lua/smoketest.lua,xapian.i: Merge latest Lua
2440 changes from Xiaona Han.
2442 Tue Jun 21 04:16:05 GMT 2011 Olly Betts <olly@survex.com>
2444 * perl/t/termgenerator.t: Test TermIterator::index_text() with two
2447 Fri Jun 17 08:11:12 GMT 2011 Olly Betts <olly@survex.com>
2449 * HACKING: Start section on deprecation warnings for the bindings.
2451 Fri Jun 17 07:43:31 GMT 2011 Olly Betts <olly@survex.com>
2455 Thu Jun 16 09:24:18 GMT 2011 Olly Betts <olly@survex.com>
2457 * perl/Makefile.am: Fix "make check".
2459 Thu Jun 16 07:48:38 GMT 2011 Olly Betts <olly@survex.com>
2461 * python/Makefile.am: Improve comment about replicationtest.py.
2463 Thu Jun 16 06:34:33 GMT 2011 Olly Betts <olly@survex.com>
2465 * configure.ac: Remove unnecessary nested single quotes. Remove
2466 superfluous trailing ; from Perl one-liners.
2468 Thu Jun 16 06:10:25 GMT 2011 Olly Betts <olly@survex.com>
2470 * php/docs/index.html: Drop references to Xapian versions before 1.0.0.
2472 Thu Jun 16 06:05:45 GMT 2011 Olly Betts <olly@survex.com>
2474 * README,configure.ac,php/docs/index.html: Raise the minimum required
2475 PHP version to 5.2 as older versions are no longer supported by the
2476 PHP developers. Even 5.2.x was recently declared unsupported
2479 Thu Jun 16 05:56:59 GMT 2011 Olly Betts <olly@survex.com>
2481 * configure.ac: Simplify probe for PHP CLI - we dropped PHP4 support in
2482 1.1.0 so we can rely on having php-config --php-binary available.
2484 Wed Jun 15 14:13:09 GMT 2011 Olly Betts <olly@survex.com>
2486 * README,configure.ac,python/docs/index.html: Update required Python
2489 Wed Jun 15 07:46:04 GMT 2011 Olly Betts <olly@survex.com>
2491 * xapian-bindings/lua/docs/examples/simpleexpand.lua: Don't try to add
2492 anything to the RSet if there are no matches.
2494 Tue Jun 14 03:50:57 GMT 2011 Olly Betts <olly@survex.com>
2496 * perl/t/symbol-test/SymbolTest.pm: Sync update from XS Search::Xapian
2497 - add "1;" to end of test module.
2499 Tue Jun 14 03:48:04 GMT 2011 Olly Betts <olly@survex.com>
2501 * perl/docs/examples/: Sync updates from XS Search::Xapian: Require
2502 Perl >= 5.6 so we can "use warnings;"; loop over file using while()
2503 (which reads a line per iteration) not foreach() (which reads the
2504 whole file up front).
2506 Mon Jun 13 17:00:27 GMT 2011 Olly Betts <olly@survex.com>
2508 * perl/generate-perl-exceptions: Simplify.
2510 Mon Jun 13 16:49:52 GMT 2011 Olly Betts <olly@survex.com>
2512 * csharp/Makefile.am,java-swig/Makefile.am,
2513 perl/generate-perl-exceptions,python/generate-python-exceptions:
2514 More references to Sorter and MultiValueSorter removed.
2516 Mon Jun 13 16:43:58 GMT 2011 Olly Betts <olly@survex.com>
2518 * perl/t/sorter.t,php/smoketest.php,python/pythontest2.py,xapian.i:
2519 Update in line with the removed deprecations from xapian-core.
2521 Mon Jun 13 13:37:48 GMT 2011 Richard Boulton <richard@tartarus.org>
2523 * python/extra.i: Change function names defined inside wrapper()
2524 closures to match the name which the result of the closure will
2525 be assigned to, so that help text for the functions displays the
2526 correct function name.
2528 Mon Jun 13 13:15:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2530 * python/pythontest2.py: Extend coverage of tests of removed features.
2532 Mon Jun 13 12:56:48 GMT 2011 Olly Betts <olly@survex.com>
2534 * java/native/Enquire.cc: Update for Enquire::set_sort_by_value()
2537 Mon Jun 13 12:50:39 GMT 2011 Richard Boulton <richard@tartarus.org>
2539 * python/pythontest2.py: Change checks for removed attributes to
2540 use a neater approach.
2542 Mon Jun 13 12:48:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2544 * python/testsuite2.py: Add support to expect_exception for passing
2545 None as the message, to skip checking the message for the raised
2546 exception. Add documentation comment describing the parameters.
2548 Mon Jun 13 12:37:31 GMT 2011 Olly Betts <olly@survex.com>
2550 * xapian.i: Remove deprecated Enquire::set_sort_by_* methods.
2552 Mon Jun 13 12:10:39 GMT 2011 Olly Betts <olly@survex.com>
2554 * python/extra.i: Remove checks for deprecated forms of Enquire
2555 set_sort_* methods, which have now been removed from the C++ API.
2557 Mon Jun 13 11:43:20 GMT 2011 Olly Betts <olly@survex.com>
2559 * python/extra.i,python/util.i: Hide away the deprecated non-pythonic
2560 iterators - we still need them to implement the pythonic iterators,
2561 so we can't entirely remove them.
2562 * python/pythontest2.py: Check that the deprecated methods are no
2563 longer accessible (not all methods are checked).
2564 * docs/index.html: Update documentation to say they've been removed.
2566 Mon Jun 13 10:35:29 GMT 2011 Olly Betts <olly@survex.com>
2568 * python/extra.i: Remove deprecated Stem_get_available_languages().
2569 * python/pythontest2.py: Add test to make sure it stays removed!
2571 Mon Jun 13 10:10:56 GMT 2011 Olly Betts <olly@survex.com>
2573 * python/pythontest2.py: Fix odd ordering of line and comment (which
2574 has been that way since I committed the change which added the
2575 code around the comment.
2577 Mon Jun 13 09:54:20 GMT 2011 Olly Betts <olly@survex.com>
2579 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
2580 lua/docs/index.html,php/docs/index.html,python/docs/index.html,
2581 ruby/docs/index.html,tcl8/docs/index.html,xapian-head.i,xapian.i:
2582 Update for removal of flint.
2584 Mon Jun 13 09:34:05 GMT 2011 Olly Betts <olly@survex.com>
2586 * configure.ac: Update version to 1.3.0.
2588 Sun Jun 12 23:34:24 GMT 2011 Olly Betts <olly@survex.com>
2590 * php/Makefile.am: The SWIG upgrade means we now have xapian_wrap.h as
2591 well as xapian_wrap.cc. Really the final update for 1.2.6.
2593 Sun Jun 12 13:06:16 GMT 2011 Olly Betts <olly@survex.com>
2595 * configure.ac: Lua's _VERSION reports "Lua 5.0.3" for Lua 5.0.3, so
2596 add '|5.0.*' to the pattern since '5.0' won't match.
2598 Sun Jun 12 11:47:03 GMT 2011 Olly Betts <olly@survex.com>
2600 * NEWS: Final update for 1.2.6.
2602 Sun Jun 12 07:47:04 GMT 2011 Olly Betts <olly@survex.com>
2604 * NEWS.SKELETON: Add Lua and Perl headings.
2606 Sun Jun 12 07:29:29 GMT 2011 Olly Betts <olly@survex.com>
2608 * README: Move C# first so the languages are all in alphabetical
2611 Sun Jun 12 07:28:52 GMT 2011 Olly Betts <olly@survex.com>
2615 Sun Jun 12 07:24:17 GMT 2011 Olly Betts <olly@survex.com>
2617 * configure.ac: Need to quote [01234] to stop m4 eating the [].
2619 Sun Jun 12 07:19:37 GMT 2011 Olly Betts <olly@survex.com>
2621 * configure.ac,lua/docs/examples/simpleexpand.lua,
2622 lua/docs/examples/simpleindex.lua,lua/docs/index.html,lua/util.i:
2623 Fix whitespace issues.
2625 Sun Jun 12 07:07:18 GMT 2011 Xiaona Han <xiaonahappy@gmail.com>
2627 * Makefile.am,configure.ac,lua/Makefile.am,
2628 lua/docs/examples/simpleexpand.lua,lua/docs/examples/simpleindex.lua,
2629 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2630 lua/smoketest.lua,lua/util.i: Merge in current state of Lua
2633 Fri Jun 10 12:08:17 GMT 2011 Olly Betts <olly@survex.com>
2635 * NEWS,configure.ac: Update in preparation for 1.2.6.
2637 Fri Jun 10 09:11:02 GMT 2011 Olly Betts <olly@survex.com>
2639 * java/LICENSE: Remove, since it is explicitly included in each source
2642 Fri Jun 10 06:43:10 GMT 2011 Olly Betts <olly@survex.com>
2644 * php/Makefile.am: Add simplematchdecider.php5 example to tarball.
2646 Fri Jun 10 06:40:46 GMT 2011 Olly Betts <olly@survex.com>
2648 * php/php.ini: Remove file which is no longer used.
2650 Fri Jun 10 01:21:21 GMT 2011 Olly Betts <olly@survex.com>
2652 * xapian-head.i,xapian.i: Update for addition of
2653 XAPIAN_DEPRECATED_CLASS.
2655 Thu Jun 02 03:07:35 GMT 2011 Olly Betts <olly@survex.com>
2657 * php/docs/examples/simplematchdecider.php5: Change start tag from <?
2658 to <?php - issue pointed out by Daniel Menard in ticket#488.
2660 Mon May 30 10:34:16 GMT 2011 Olly Betts <olly@survex.com>
2662 * NEWS: Update from ChangeLog.
2664 Mon May 30 07:06:00 GMT 2011 Olly Betts <olly@survex.com>
2666 * tcl8/docs/index.html: Fix <i> to </i> (reported by Xiaona Han).
2668 Mon May 30 07:04:00 GMT 2011 Olly Betts <olly@survex.com>
2670 * php/docs/examples/simplematchdecider.php5,php/smoketest.php: Objects
2671 passed to virtual methods overridden in PHP are now wrapped properly.
2674 Sun May 29 14:41:13 GMT 2011 James Aylett <james@tartarus.org>
2676 * configure.ac: set NEED_JNILIB_EXT for all Mac OS versions
2678 Sun May 29 14:36:55 GMT 2011 James Aylett <james@tartarus.org>
2680 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am,
2681 java/org/xapian/examples/Makefile.am: use .NOTPARALLEL when
2682 compiling Java classfiles to avoid race condition during
2685 Sun May 29 13:27:10 GMT 2011 Olly Betts <olly@survex.com>
2687 * java/native/Makefile.am: XapianObjectHolder.h was removed so stop
2690 Fri May 27 05:28:09 GMT 2011 Olly Betts <olly@survex.com>
2692 * NEWS: Update from ChangeLog.
2694 Fri May 27 05:09:42 GMT 2011 Olly Betts <olly@survex.com>
2696 * java/native/utils.cc: Remove another unused <typeinfo>.
2698 Fri May 27 05:01:47 GMT 2011 Olly Betts <olly@survex.com>
2700 * java/native/: Factor out Java jstring -> C++ std::string conversion
2701 into cpp_string() function, which also fixes memory leaks upon
2704 Fri May 27 04:29:19 GMT 2011 Olly Betts <olly@survex.com>
2706 * java/native/xapian_jni.h: Remove unused <typeinfo>.
2708 Fri May 27 04:25:39 GMT 2011 Olly Betts <olly@survex.com>
2710 * java/native/xapian_jni.h: Remove unused struct streq.
2712 Fri May 27 04:02:01 GMT 2011 Olly Betts <olly@survex.com>
2714 * java/native/,java/org/xapian/: Instead of using an unordered_map to
2715 track id -> pointer mappings, just use reinterpret_cast - jlong is
2716 64 bits, which will hold a pointer on current platforms.
2717 * java/README: This avoids needing thread locks, so remove pthread
2718 linking issues from TODO list.
2720 Thu May 26 13:06:13 GMT 2011 Olly Betts <olly@survex.com>
2722 * java/native/: C++'s delete operator will ignore a NULL pointer, so
2723 remove checks that the pointer is non-NULL before calling it.
2725 Thu May 26 11:30:22 GMT 2011 Olly Betts <olly@survex.com>
2727 * java/native/unordered_map.h: Portability wrapper around various ways
2728 to get unordered_map with different compilers.
2729 * java/native/XapianObjectHolder.h: Use new unordered_map.h which fixes
2730 warnings about using deprecated headers with recent GCC versions.
2732 Wed May 25 13:58:21 GMT 2011 Olly Betts <olly@survex.com>
2734 * php/util.i,xapian.i: Move PHP special cases to php/util.i (generated
2735 code is identical before and after this change).
2737 Wed May 25 13:20:06 GMT 2011 Olly Betts <olly@survex.com>
2739 * php/docs/examples/simplematchdecider.php5,php/docs/index.html: Add
2740 simplematchdecider.php example.
2742 Wed May 25 12:17:11 GMT 2011 Olly Betts <olly@survex.com>
2744 * php/util.i: Now we have directors enabled, stop ignoring Xapian::Sorter
2745 and uncomment directorin typemap for passing a count and array of
2748 Tue May 24 15:08:24 GMT 2011 Olly Betts <olly@survex.com>
2750 * php/smoketest.php,php/util.i,python/generate-python-exceptions,
2751 ruby/Makefile.am: Update to newer SWIG (ticket#538). Fixes C#
2752 binding issues with strings with newer C# versions. Directors
2753 now work for PHP (ticket#488).
2755 Mon May 23 13:58:43 GMT 2011 Olly Betts <olly@survex.com>
2757 * README: say that Perl bindings probably need Perl 5.8 or later.
2759 Mon May 23 07:47:24 GMT 2011 Olly Betts <olly@survex.com>
2761 * configure.ac: Get the Ruby version from the rbconfig module, rather
2762 than parsing the potentially more variable output of ruby --version.
2764 Wed May 11 21:50:11 GMT 2011 Olly Betts <olly@survex.com>
2766 * ruby/xapian.rb: Fix comments on "end" keywords to match function
2769 Wed May 11 03:50:18 GMT 2011 Olly Betts <olly@survex.com>
2771 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() -
2772 just skip the compaction tests for these versions.
2774 Mon May 09 01:36:56 GMT 2011 Olly Betts <olly@survex.com>
2776 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always
2777 collect all the garbage, so repeat until no further objects are
2778 freed. (http://bugs.debian.org/625679 and
2779 https://bugs.gentoo.org/349484).
2781 Mon Apr 04 13:58:45 GMT 2011 Olly Betts <olly@survex.com>
2783 * NEWS: Update release date.
2785 Mon Mar 28 12:02:56 GMT 2011 Olly Betts <olly@survex.com>
2787 * NEWS,configure.ac: 1.2.5.
2789 Sat Mar 26 14:50:41 GMT 2011 Olly Betts <olly@survex.com>
2791 * INSTALL: Fix typo in recent commit.
2793 Sat Mar 26 14:44:53 GMT 2011 Olly Betts <olly@survex.com>
2795 * configure.ac: Fix m4 quoting so that the release series check works.
2797 Sat Mar 26 14:34:10 GMT 2011 Olly Betts <olly@survex.com>
2799 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
2800 Replace VPATH section with better equivalent from
2801 xapian-core/INSTALL.
2803 Sat Mar 26 14:29:32 GMT 2011 Olly Betts <olly@survex.com>
2805 * ruby/smoketest.rb: Test Xapian::Compactor.
2807 Sun Mar 20 10:53:32 GMT 2011 Olly Betts <olly@survex.com>
2809 * python/smoketest2.py: Remove two print statements left over from
2812 Fri Mar 18 13:46:05 GMT 2011 Olly Betts <olly@survex.com>
2814 * configure.ac: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and
2815 later, or 10.4 on x86 as the default if unset on these platforms
2816 is the current OS version.
2818 Fri Mar 18 11:33:26 GMT 2011 Olly Betts <olly@survex.com>
2820 * csharp/Makefile.am: Second part of ticket#516 fix.
2822 Fri Mar 18 05:29:01 GMT 2011 Olly Betts <olly@survex.com>
2824 * configure.ac: Don't pass extra flags to Microsoft's gacutil.
2827 Wed Mar 16 05:29:31 GMT 2011 Olly Betts <olly@survex.com>
2829 * python/smoketest2.py: Add test coverage for min_wt argument of
2832 Wed Mar 16 05:13:42 GMT 2011 Olly Betts <olly@survex.com>
2834 * python/smoketest2.py: Fix comment typo.
2836 Wed Mar 16 03:33:13 GMT 2011 Olly Betts <olly@survex.com>
2838 * configure.ac: Handle an empty response to $RUBY --version specially.
2839 This gives a less opaque error in cases where the user specified
2840 RUBY but the value given wasn't an executable file.
2842 Tue Mar 15 23:09:04 GMT 2011 Dan Colish <dcolish@gmail.com>
2844 * xapian.i: Expose ESet.get_eset with min_wt parameter
2846 Tue Mar 01 11:51:19 GMT 2011 Olly Betts <olly@survex.com>
2848 * NEWS: Update from ChangeLog.
2850 Mon Feb 21 14:47:10 GMT 2011 Olly Betts <olly@survex.com>
2852 * python/docs/index.html: Document that MSet.items and ESet.items are
2853 deprecated, and what to use instead. Note that MSET_DOCUMENT never
2854 worked on the tuple returned by MSet.items.
2856 Sat Jan 29 05:25:15 GMT 2011 Olly Betts <olly@survex.com>
2858 * python/pythontest2.py: Add test coverage for mset.items.
2860 Sat Jan 29 02:12:43 GMT 2011 Olly Betts <olly@survex.com>
2862 * configure.ac: If xapian-core is a different release series, promote
2863 the mismatched versions warning to an error.
2865 Sat Jan 15 12:03:31 GMT 2011 Olly Betts <olly@survex.com>
2867 * configure.ac,csharp/AssemblyInfo.cs.in: Revert COMPAT_VERSION
2868 change - we need to strip the _svnNNNNN suffix for snapshots, and
2869 it isn't any extra effort to handle an optional subrevision in the
2872 Sat Jan 15 11:38:40 GMT 2011 Olly Betts <olly@survex.com>
2874 * configure.ac: Fix comment typo.
2876 Sat Jan 15 11:36:05 GMT 2011 Olly Betts <olly@survex.com>
2878 * csharp/AssemblyInfo.cs.in: Clarify the licence is GPL "version 2 or
2881 Sat Jan 15 11:32:46 GMT 2011 Olly Betts <olly@survex.com>
2883 * configure.ac,csharp/AssemblyInfo.cs.in: Remove COMPAT_VERSION
2884 machinery - we've not used it since 0.9.10.1, and it seems unlikely
2885 we will again. If we do, we can reverse this change.
2887 Sat Jan 15 11:20:33 GMT 2011 Olly Betts <olly@survex.com>
2889 * NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.
2891 Thu Jan 13 01:50:18 GMT 2011 Olly Betts <olly@survex.com>
2893 * python/pythontest2.py: In test_compactor(), close any open databases
2894 before removing the directory as you can't delete an open database
2895 on Microsoft Windows. (ticket#526)
2897 Mon Jan 10 12:53:51 GMT 2011 Richard Boulton <richard@tartarus.org>
2899 * python/extra.i: Remove broken implementation of
2900 MSet.__contains__. This appears never to have worked, and to
2901 have been broken for at least the past 3.5 years without anyone
2902 mentioning it, and is probably of little use anyway, so no need
2905 Tue Dec 21 12:18:03 GMT 2010 Olly Betts <olly@survex.com>
2907 * README: Update info on SWIG-based Perl bindings.
2909 Mon Dec 20 09:54:52 GMT 2010 Richard Boulton <richard@tartarus.org>
2911 * python/util.i: Remove old and broken Enquire.get_matching_terms()
2912 method. We deprecated Enquire.get_matching_terms() in 1.0.x, and
2913 removed it in 1.1.0, but accidentally left an older version of
2914 get_matching_terms() exposed.
2915 * python/docs/index.html: Also, remove the old documentation for
2916 get_matching_terms().
2918 Mon Dec 20 09:53:56 GMT 2010 Richard Boulton <richard@tartarus.org>
2920 * python/pythontest2.py: Remove test of
2921 Enquire.get_matching_terms(), and the associated contortions to
2922 get a corresponding msetiter to pass to it.
2924 Sun Dec 19 12:40:39 GMT 2010 Olly Betts <olly@survex.com>
2926 * NEWS: Update release date.
2928 Sat Dec 18 15:09:06 GMT 2010 Olly Betts <olly@survex.com>
2930 * NEWS,configure.ac: 1.2.4.
2932 Thu Dec 16 10:11:35 GMT 2010 Olly Betts <olly@survex.com>
2934 * perl/Makefile.am: Pass CPPFLAGS, CXX, CXXFLAGS to the testsuite.
2936 Tue Dec 14 14:23:07 GMT 2010 Olly Betts <olly@survex.com>
2938 * perl/t/symbol-test.t: Merge VPATH fixes from Search::Xapian.
2940 Tue Dec 14 05:25:10 GMT 2010 Olly Betts <olly@survex.com>
2942 * perl/t/: Disable tests from the XS version which don't yet pass
2943 here with a $disable_fixme variable, so they are more clearly marked
2944 and can easily be reenabled for testing.
2946 Tue Dec 14 03:01:43 GMT 2010 Olly Betts <olly@survex.com>
2948 * perl/Makefile.am,perl/t/symbol-test.t,perl/util.i.in: Merge fix and
2949 adapt testcase for it from XS Search::Xapian:
2950 [Changes contributed by David F. Skoll and Dave O'Neill]
2951 - Tell DynaLoader to load the module with RTLD_GLOBAL so exceptions
2952 still work when multiple Perl modules which link to xapian-core are
2953 loaded. (ticket#522)
2955 Tue Dec 14 02:46:52 GMT 2010 Olly Betts <olly@survex.com>
2957 * perl/util.i.in: Whitespace tweaks.
2959 Mon Dec 13 20:22:13 GMT 2010 Richard Boulton <richard@tartarus.org>
2961 * python/pythontest2.py,python/util.i: Fix memory leak in
2962 Enquire.get_matching_terms() method, and add coverage for this
2963 method. Check gc.get_objects() is the same before and after the
2964 calls to get the matching terms; this failed before the fix.
2966 Mon Dec 13 12:04:28 GMT 2010 Olly Betts <olly@survex.com>
2968 * php/docs/index.html: Document that iterators shouldn't be
2969 dereferenced or advanced when at their end points (ticket#520).
2971 Mon Dec 13 06:04:08 GMT 2010 Olly Betts <olly@survex.com>
2973 * php/util.i: Add commented out typemap for director support for
2974 Compactor::resolve_duplicate_metadata().
2976 Sat Dec 11 23:20:29 GMT 2010 Olly Betts <olly@survex.com>
2978 * python/generate-python-exceptions: Remove PostingSource's serialise
2979 method from the list as we %ignore it in xapian.i.
2981 Sat Dec 11 10:31:30 GMT 2010 Olly Betts <olly@survex.com>
2983 * python/generate-python-exceptions,xapian.i: Wrap MatchSpy as a
2984 director class so it can be subclassed in Python.
2985 * python/pythontest2.py: Add test that subclassing MatchSpy works.
2987 Tue Dec 07 04:10:37 GMT 2010 Olly Betts <olly@survex.com>
2989 * python/pythontest2.py: Add regression test for last fix.
2991 Tue Dec 07 03:10:24 GMT 2010 Olly Betts <olly@survex.com>
2993 * python/util.i: Fix memory leaks in typemaps which return Python
2994 lists (reported by AlexB on #xapian).
2996 Tue Dec 07 02:51:51 GMT 2010 Olly Betts <olly@survex.com>
2998 * python/util.i: Remove unused typemap.
3000 Wed Nov 17 10:13:00 GMT 2010 Olly Betts <olly@survex.com>
3002 * ruby/util.i: Wrap Compactor::resolve_duplicate_metadata().
3004 Mon Nov 08 12:33:31 GMT 2010 Olly Betts <olly@survex.com>
3006 * ruby/util.i: Remove unused, commented-out typemap for wrapping a pair
3009 Sun Nov 07 14:17:08 GMT 2010 Olly Betts <olly@survex.com>
3011 * python/pythontest2.py,python/util.i: Wrap updated
3012 Compactor::resolve_duplicate_metadata() method signature.
3014 Sat Nov 06 11:59:23 GMT 2010 Olly Betts <olly@survex.com>
3016 * NEWS: Update from ChangeLog.
3018 Thu Nov 04 12:44:51 GMT 2010 Richard Boulton <richard@tartarus.org>
3020 * generic/generic.mk: For Mac OS X builds, set DYLD_LIBRARY_PATH to
3021 allow tests to find uninstalled xapian library. See ticket #322.
3023 Mon Oct 11 12:29:20 GMT 2010 Olly Betts <olly@survex.com>
3025 * perl/Makefile.am: We don't want to distribute util.i - configure
3026 generates it from util.i.in.
3028 Mon Oct 11 12:28:14 GMT 2010 Olly Betts <olly@survex.com>
3030 * csharp/Makefile.am: No need to list AssemblyInfo.cs.in in EXTRA_DIST
3031 or AssemblyInfo.cs in CLEANFILES - automake takes care of
3032 distributing and cleaning these.
3034 Mon Oct 11 12:21:33 GMT 2010 Olly Betts <olly@survex.com>
3036 * tcl8/Makefile.am: No need to list pkgIndex.tcl.in in EXTRA_DIST or
3037 pkgIndex.tcl in CLEANFILES - automake takes care of distributing and
3040 Mon Oct 11 12:18:06 GMT 2010 Olly Betts <olly@survex.com>
3042 * csharp/Makefile.am,java-swig/Makefile.am,perl/Makefile.am,
3043 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
3044 tcl8/Makefile.am: Don't list swig-built files in CLEANFILES.
3046 Mon Oct 11 11:58:21 GMT 2010 Olly Betts <olly@survex.com>
3048 * Makefile.am: Don't explicitly list files in EXTRA_DIST which automake
3049 will ship anyway. Don't ship xapian-version.h as configure will
3050 generate that (xapian.spec is different - we put that in the tarball
3051 so rpmbuild can find it).
3053 Mon Oct 11 11:51:57 GMT 2010 Olly Betts <olly@survex.com>
3055 * Makefile.am: No need to explicitly list xapian-version.h in
3056 DISTCLEANFILES - automake will remove in for us on "make distclean"
3057 since it is created by AC_CONFIG_FILES in configure.ac.
3059 Fri Oct 08 13:32:38 GMT 2010 Olly Betts <olly@survex.com>
3061 * configure.ac: Fix typo in code to set PYTHON_LIBS under cygwin.
3064 Fri Oct 01 12:10:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3066 * csharp/Makefile.am,python/generate-python-exceptions,
3067 python/pythontest2.py,xapian.i: Wrap the new Xapian::Compactor
3068 class as a Director class, and add a testcase for it in python.
3070 Wed Sep 29 05:35:03 GMT 2010 Olly Betts <olly@survex.com>
3072 * java-swig/Makefile.am: Fix to delete libxapian_jni.la rather than
3075 Wed Sep 29 05:33:43 GMT 2010 Olly Betts <olly@survex.com>
3077 * csharp/Makefile.am,xapian-bindings.spec.in: Don't install or package
3080 Wed Sep 29 05:19:44 GMT 2010 Olly Betts <olly@survex.com>
3082 * xapian-bindings.spec.in: Package the Perl bindings too (patch from
3085 Wed Sep 29 04:44:24 GMT 2010 Olly Betts <olly@survex.com>
3087 * perl/Makefile.am: Don't install Xapian.la.
3089 Wed Sep 29 02:30:49 GMT 2010 Olly Betts <olly@survex.com>
3091 * perl/Makefile.am,perl/t/10query.t,perl/util.i.in: Fix building a
3092 Query from subqueries which are themselves Query objects. Patch
3095 Mon Sep 27 13:00:33 GMT 2010 Olly Betts <olly@survex.com>
3097 * php/Makefile.am: Fix $(PHP_MAJOR_VERSION) to literal 5 in two places.
3099 Mon Sep 27 12:51:19 GMT 2010 Olly Betts <olly@survex.com>
3101 * configure.ac: Need python in maintainer mode to run doxy2swig.py.
3103 Wed Sep 08 03:10:33 GMT 2010 Olly Betts <olly@survex.com>
3105 * perl/t/01use.t: Revert debug change, as it has served its purpose.
3106 * configure.ac: Handle the "_svn<rev>" suffix of snapshot versions
3107 specially for Perl, to match how this is handled for Search::Xapian.
3109 Wed Sep 08 02:00:34 GMT 2010 Olly Betts <olly@survex.com>
3111 * perl/t/01use.t: This test is mysteriously failing in the snapshot
3112 builder, so add a line of code to help debug this.
3114 Wed Sep 08 00:24:58 GMT 2010 Olly Betts <olly@survex.com>
3116 * java-swig/Makefile.am: Remove commented out SUBDIRS line.
3118 Wed Sep 08 00:24:22 GMT 2010 Olly Betts <olly@survex.com>
3120 * perl/Makefile.am: Fix to create docs subdirectory when srcdir !=
3123 Tue Sep 07 11:54:58 GMT 2010 Olly Betts <olly@survex.com>
3125 * ruby/Makefile.am,ruby/docs/generate-rdoc-stubs,
3126 ruby/generate-rdoc-stubs: Fix generation of rdocs to work when srcdir
3127 != buildir (broken by last but one commit).
3129 Tue Sep 07 10:46:36 GMT 2010 Olly Betts <olly@survex.com>
3131 * configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am: Eliminate
3132 csharp/docs/Makefile.am similarly.
3134 Tue Sep 07 10:28:25 GMT 2010 Olly Betts <olly@survex.com>
3136 * configure.ac,php/Makefile.am,php/docs/Makefile.am,python/Makefile.am,
3137 python/docs/Makefile.am,ruby/Makefile.am,ruby/docs/Makefile.am,
3138 tcl8/Makefile.am,tcl8/docs/Makefile.am: Eliminate separate
3139 Makefile.am in docs subdirectory of each language subdirectory and
3140 just inline any rules into the main sub-Makefile.am, which allows
3141 make to run more of the build in parallel.
3143 Tue Sep 07 10:19:55 GMT 2010 Olly Betts <olly@survex.com>
3145 * configure.ac,perl/Makefile.am: Install
3146 architecture-independent perl files in the appropriate directory.
3147 * perl/Makefile.am,perl/lib/,perl/Search/Xapian/: Structure source
3148 and build trees more like installed tree so we don't need to create
3149 symlinks to run tests in the uninstalled tree. Fix tests to work
3150 when srcdir != builddir.
3152 Mon Sep 06 05:40:34 GMT 2010 Olly Betts <olly@survex.com>
3154 * configure.ac: Don't try to generate perl/docs/Makefile.
3156 Mon Sep 06 05:37:06 GMT 2010 Olly Betts <olly@survex.com>
3158 * perl/Makefile.am,perl/docs/Makefile.am: Merge perl/docs/Makefile.am
3159 into perl/Makefile.am and fix to install.
3161 Mon Sep 06 03:30:58 GMT 2010 Olly Betts <olly@survex.com>
3163 * perl/Makefile.am: Fix "make clean" to work properly.
3165 Mon Sep 06 03:17:01 GMT 2010 Olly Betts <olly@survex.com>
3167 * perl/Makefile.am: Fix path to index.html in rule.
3169 Mon Sep 06 02:43:47 GMT 2010 Olly Betts <olly@survex.com>
3171 * perl/t/: Update with newer testcases from Search::Xapian.
3173 Mon Sep 06 02:27:35 GMT 2010 Olly Betts <olly@survex.com>
3175 * perl/Makefile.am: Build shared object as Xapian.la not xapian.la as
3176 Perl looks for it capitalised.
3178 Mon Sep 06 02:14:06 GMT 2010 Olly Betts <olly@survex.com>
3180 * configure.ac: No need to m4 quote shell fragments without [] in.
3181 Remove trailing ; from statements.
3183 Mon Sep 06 02:07:11 GMT 2010 Olly Betts <olly@survex.com>
3185 * configure.ac: Whitespace tweaks.
3187 Mon Sep 06 02:02:42 GMT 2010 Olly Betts <olly@survex.com>
3189 * configure.ac: Tweak help message for PERL_INC.
3191 Sun Sep 05 23:24:05 GMT 2010 Olly Betts <olly@survex.com>
3193 * Merge Kosei's SWIG-based Perl bindings from GSoC 2009.
3195 Sun Sep 05 12:55:13 GMT 2010 Olly Betts <olly@survex.com>
3197 * INSTALL: Fix typo ("Ruby" should be "Perl").
3199 Sun Sep 05 12:49:20 GMT 2010 Olly Betts <olly@survex.com>
3201 * configure.ac: Remove accidentally added ';' from Ruby checks.
3203 Fri Aug 14 16:45:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3205 * perl/lib/:Add "1;" into end of lib/*.pm files.
3207 Thu Aug 13 12:36:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3209 * perl/util.i.in:Fix some lines and clean up code.
3211 Wed Aug 12 14:11:49 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3213 * INSTALL,perl/util.i.in:Add and fix some lines to describe
3214 SWIG based perl biding.
3216 Wed Aug 12 12:59:30 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3218 * perl/Makefile.am,perl/docs/index.html:Fix Makefile to
3219 generate docs/index.html from pod document of Search::Xapian.
3221 Wed Aug 12 09:32:17 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3223 * perl/util.i.in:Remove and replace some lines and clean
3226 Wed Aug 12 06:22:31 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3228 * perl/Makefile.am,perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/,
3229 perl/util.i.in:Remove perl code from lib/*.pm files, add pod
3230 document of Search::Xapian to util.i.in, and fix test environment
3231 and test programs in Makefile.am.
3233 Tue Aug 11 10:01:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3235 * perl/util.i.in:Fix set_sort_by_key(), set_sort_by_key_then_relevance()
3236 and set_sort_by_relevance_then_key() of Enquire using %feature("shadow")
3239 Mon Aug 10 16:11:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3241 * perl/t/search.t: Modifire some tests to use get_termname()
3242 instead of stringification operator because now we haven't
3243 support it, and remove some machdecider tests since we also
3245 * perl/util.i.in:Fix MSetIterator::clone(), remove
3246 MSetIterator::get_docid() since same function is already
3247 defined at xapian.i, and add overloaded operators of
3250 Mon Aug 10 16:03:10 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3252 * perl/util.i.in:Add CLONE_SKIP functions for thread support.
3254 Sat Aug 08 03:35:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3256 * perl/util.i.in:Fix internal function call of MSet::FETCH.
3258 Fri Aug 07 15:29:21 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3260 * perl/util.i.in:Add tie support of MSetIterator and
3261 ESetIterator. Wrap function MSet::matches() and
3262 MSet::items(). Add class MSet::Tied. Wrap overload operators
3265 Fri Aug 07 06:03:05 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3267 * perl/lib/TermIterator.pm,perl/lib/ValueIterator.pm,
3268 perl/t/document.t,perl/t/index.t,perl/util.i.in:
3269 Remove "" operator wrapping, modify test cases and
3270 pod documents. Because modifying SWIG is needed to
3271 support "" operator.
3273 Thu Aug 06 08:29:25 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3275 * perl/util.i.in:Wrap operator overload of MSetIterator.
3277 Wed Aug 05 14:42:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3279 * perl/util.i.in:Replace each iterator's function 'inc()'
3280 to 'increment()', which is macro 'NEXT' defined in xapian.i
3281 and renamed in per/util.i, because both two function's
3284 Wed Aug 05 14:39:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3286 * perl/util.i.in:Remove new object constructing operation
3287 in TermIterator's inc() function. Because it prevents a
3288 destruction of other object (such as WritableDatabase).
3290 Fri Jul 31 16:32:19 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3292 * perl/util.i.in:Add constant variable FLAG_SPELLING for
3293 TermGenerator::set_flags().
3295 Fri Jul 31 16:28:53 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3297 * perl/util.i.in:Replace get_mset() definition to %rename.
3299 Thu Jul 30 11:54:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3301 * perl/util.i.in:Modifying some proxy functions using %feature("shadow")
3302 directive for removing repeatedly defined functions (constructor of
3303 QueryParser, SimpleStopper and WritableDatabase).
3305 Wed Jul 29 10:04:51 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3307 * perl/t/index.t,perl/t/parser.t: Fix exception tests because
3308 previous test suppose working of XS binding with bug.
3310 Wed Jul 29 01:24:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3312 * perl/util.i.in:Fix add_valuerangeprocessor to push
3313 ValueRangeProcessors object into it's member array
3314 since storing all ValueRangeProcessors objects which
3317 Tue Jul 28 06:09:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3319 * perl/util.i.in:Fix set_stopper of TermGenerator to keep
3320 SimpleStopper reference in the object for it won't be deleted.
3321 Similar fix for set_sort_by_key, set_sort_by_key_then_relevance,
3322 set_sort_by_relevance_then_key to keep MultiValueSorter.
3324 Tue Jul 28 03:56:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3326 * perl/util.i.in:Fix set_stopper to keep SimpleStopper reference
3327 in object for it won't be deleted. Same fix for add_valuerangeprocessor.
3329 Mon Jul 27 09:31:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3331 * perl/util.i.in:Add operator overload support for PositionIterator,
3332 fix new3_WritableDatabase, and TermIterator::clone for overloading
3335 Mon Jul 27 06:40:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3337 * perl/util.i.in:Add function new3_WritableDatabase and
3338 WritableDatabase::new to construct WritableDatabase
3341 Thu Jul 23 16:58:26 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3343 * perl/util.i.in: Wrap functions SimpleStopper::stop_word,
3344 QueryParser::new and SimpleStopper::new.
3346 Wed Jul 22 15:23:39 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3348 * perl/util.i.in:Add wrapper functions for Stem::stem_word,
3349 WritableDatabase::replace_document_by_term,
3350 writabledatabase::delete_document_by_term,
3351 some ValueIterator functions and some TermIterator functions.
3352 Add operator overload support for ValueIterator and
3353 TermIterator, but now double quotation operator is
3354 commented out temporarily to avoid error.
3356 Tue Jul 21 17:20:01 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3358 * perl/Makefile.am:Fix the way of compile xapian_wrap.cc
3359 and Xapian.pm for multiple file compilation.
3361 Tue Jul 21 17:05:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3363 * perl/util.i.in:Ignore Xapian::Query::Query for taking away
3364 duplication of definition. Change some argument handling process
3365 of Xapian::Query::new* functions.
3367 Mon Jul 20 13:37:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3369 * perl/util.i.in: Add wrapper function get_mset() and it's
3370 internal function get_mset1. Fix newN() function to handle
3371 multiple query argument well by introducing typemap which
3372 maps perl array to SV **.
3374 Fri Jul 17 14:52:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3376 * perl/Makefile.am,perl/generate-perl-exceptions: Add exception
3377 wrapping referring python/generate-python-exceptions and
3378 search-xapian/handle_exception.cc .
3380 Thu Jul 16 13:45:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3382 * perl/util.i.in:Rename constructors of Query and Enquire::set_query,
3383 add wrapper function newN for generatig new query, add function
3384 Database::enquire, Query::new and Enquire::set_query.
3386 Tue Jul 14 15:02:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3388 * configure.ac: Fix PERL_XAPIAN_VERSION to get binding's
3389 version number. Previously it gets from xaian-core's one.
3391 Tue Jul 14 07:52:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3393 * perl/Makefile.am: Add some options for testing.
3394 * perl/util.i.in: Fix for variable $VERSION.
3396 Mon Jul 13 11:43:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3398 * perl/util.i.in: Add a valiable $VERSION for adjusting
3399 usage how to get version number.
3401 Mon Jul 13 11:32:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3403 * perl/Makefile.am: Add swig's -const and -proxy option to
3404 wrap constant values correctly.
3405 * perl/util.i.in: Add %constant directive for wraipping
3406 constant values. Fix generation process of OP_NAMES, DB_NAMES,
3407 FLAG_NAMES and STEM_NAMES because of change of above constant
3410 Sun Jul 12 23:47:54 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3412 * perl/util.i.in: Fix that array OP_NAMES, DB_NAMES, FLAG_NAMES
3413 and STEM_NAES could contain values correctory.
3414 * perl/Makefile.am: Fix a spelling mistake.
3416 Mon Jul 06 05:50:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3418 * perl/Makefile.am,perl/util.i.in: Add some hashes such as EXPORT_TAGS
3419 for exporter module. And add arrays OP_NAMES, DB_NAMES, FLAG_NAMES and
3420 STEM_NAMES to util.i.in.
3421 * perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/:Rename directory
3422 name 'Xapian' to 'lib' to process Test::Pod.
3424 Sun Jun 28 20:44:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3426 * configure.ac,perl/util.i,perl/util.i.in: Add VERSION variable
3427 into Xapian.pm. To do this, add #define directive into perl/util.i
3428 and get version number from configure.
3430 Sun Jun 28 17:56:03 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3432 * perl/Makefile.am: To override module name (from 'xapian'
3433 to 'Search::Xapian') add swig's '-module Search::Xapian' option,
3434 change test environment from 'perl' to 'prove', and change directory
3435 to install Xapian.pm.
3436 * configure.ac: Remove '/auto/Search/Xapian' from PERL_LIB variable,
3437 and add dot into PERL_SO variable.
3439 Mon Jun 22 02:53:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3441 * configure.ac,perl/Makefile.am: Add configure test to get appropriate
3442 setting for directories to install perl files into. Also add test to
3443 get perl module extension.
3444 * perl/util.i: Add %rename directive to rename "next()" function in
3445 xapian-bindings/xapian.i and "next(Xapian::weight min_wt)" function
3446 in xapian-core/include/xapian/postingsource.h because these functions
3447 conflicts perl's "next" keyword.
3449 Sun Jun 21 21:45:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3451 * perl/xapian.pm: remove a generated file (xapian.pm) from repository.
3452 * ChangeLog: add log message of revision 12910 (Mon Jun 15 17:58:09 GMT 2009).
3454 Mon Jun 15 17:58:09 GMT 2009 Kosei Moriyama <cou929@gmail.comm>
3456 * Makefile.am,configure.ac: Add --with-perl configure option,
3457 and add configure test to get appropriate setting for include
3459 * perl/Makefile.am, perl/docs/Makefile.am,
3460 perl/docs/examples/, perl/docs/index.html,
3461 perl/t/, perl/util.i, perl/xapian.pm: Add perl subdirectory to
3464 Wed Aug 25 15:15:36 GMT 2010 Olly Betts <olly@survex.com>
3466 * configure.ac: Use sys.version_info tuple, rather than string splicing
3467 which assumes the Python "major.minor" is 3 characters (which would
3468 fail if Python 2.10 were ever released, for example).
3470 Tue Aug 24 06:02:17 GMT 2010 Olly Betts <olly@survex.com>
3472 * NEWS,configure.ac: Update for 1.2.3.
3474 Tue Aug 24 05:09:10 GMT 2010 Olly Betts <olly@survex.com>
3476 * xapian-bindings.spec.in: Don't run autoreconf - it's no longer
3479 Sun Jun 27 05:24:00 GMT 2010 Olly Betts <olly@survex.com>
3481 * NEWS,configure.ac: Update for 1.2.2.
3483 Sat Jun 26 16:01:26 GMT 2010 Olly Betts <olly@survex.com>
3485 * NEWS.SKELETON: Template NEWS entry.
3487 Thu Jun 24 15:19:10 GMT 2010 Olly Betts <olly@survex.com>
3489 * php/util.i: COMPILE_DL_XAPIAN is no longer used now we have dropped
3490 PHP4 support, so remove.
3492 Tue Jun 22 15:18:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3494 * python/pythontest3.py,python/smoketest3.py: Update python3 tests
3495 to match the changes in the python 2 versions. (They're not
3496 expected to work currently, though, due to unicode handling
3497 problems with the python 3 wrappers.)
3499 Tue Jun 22 15:17:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3501 * python/extra.i: Remove wrapping of QueryParser.set_stemmer() and
3502 TermGenerator.set_stemmer(), which isn't needed with the better
3503 way of handling ownership of python stemmer subclasses which Olly
3504 committed in r14742.
3506 Tue Jun 22 13:42:27 GMT 2010 Olly Betts <olly@survex.com>
3508 * NEWS,configure.ac: Update for 1.2.1.
3510 Tue Jun 22 13:23:49 GMT 2010 Olly Betts <olly@survex.com>
3512 * csharp/Makefile.am: Now get StemImplementation.cs instead of
3513 SWIGTYPE_p_Xapian__StemImplementation.cs.
3514 * java-swig/Makefile.am: Add StemImplementation.java.
3516 Tue Jun 22 13:22:10 GMT 2010 Olly Betts <olly@survex.com>
3518 * csharp/util.i,java-swig/util.i: XAPIAN_SWIG_NO_DISOWN is no longer
3519 needed, so revert that.
3521 Tue Jun 22 11:18:41 GMT 2010 Olly Betts <olly@survex.com>
3523 * xapian.i: We don't need to use the DISOWN typemap now.
3525 Tue Jun 22 10:55:03 GMT 2010 Olly Betts <olly@survex.com>
3527 * python/extra.i: Call __disown__() on the StemImplementation rather
3528 than storing a reference to it.
3530 Tue Jun 22 10:19:49 GMT 2010 Olly Betts <olly@survex.com>
3532 * python/smoketest2.py: Add coverage for wrapping the same MyStemmer
3533 in a xapian.Stem more than once.
3535 Tue Jun 22 10:17:23 GMT 2010 Olly Betts <olly@survex.com>
3537 * python/smoketest2.py: Check that all MyStemmer objects get deleted,
3538 and that none get deleted more than once.
3540 Tue Jun 22 08:29:11 GMT 2010 Richard Boulton <richard@tartarus.org>
3542 * python/extra.i: Wrap Stem.__init__, QueryParser.set_stemmer, and
3543 TermGenerator.set_stemmer to put a reference to the python
3544 object supplied into the object which will be using it. This
3545 ensures that the python object doesn't get deleted too soon, and
3546 hopefully fixes #448.
3547 * python/smoketest2.py: Modify test so that a reference to the
3548 newly created stemmer objects isn't explicitly held, to check
3549 that automatic references are being held correctly.
3551 Mon Jun 21 13:17:01 GMT 2010 Olly Betts <olly@survex.com>
3553 * NEWS: Sync with 1.0.21 and update from ChangeLog.
3555 Mon Jun 21 05:58:52 GMT 2010 Olly Betts <olly@survex.com>
3557 * python/smoketest2.py,xapian.i: Sort out disowning of
3558 StemImplementation so you don't need to call __disown__() explicitly.
3561 Sat Jun 12 11:57:55 GMT 2010 Olly Betts <olly@survex.com>
3563 * python/pythontest2.py: Fix testcase weight_normalise - for a
3564 non-existent term, get_max_possible() can now return zero so you
3565 can't calculate the reciprocal of it.
3567 Sat Jun 12 06:25:08 GMT 2010 Olly Betts <olly@survex.com>
3569 * python/util.i: Add workaround so xapian.BAD_VALUENO is a constant
3570 rather than variable which can't be written to. (ticket#297)
3571 * python/smoketest2.py: Add regression test for this by checking that
3572 xapian.cvar doesn't exist.
3574 Thu Jun 10 04:26:31 GMT 2010 Olly Betts <olly@survex.com>
3576 * xapian.i: Change MatchDecider and ExpandDecider dtors to be
3577 declarations rather than empty definitions (should make no
3578 difference, but it's cleaner if they match the Xapian headers).
3580 Wed Jun 09 13:44:25 GMT 2010 Olly Betts <olly@survex.com>
3582 * xapian.i: Only mark Xapian::StemImplementation as a director class if
3583 we aren't ignoring it.
3585 Wed Jun 09 13:36:54 GMT 2010 Olly Betts <olly@survex.com>
3587 * python/Makefile.am: Fix cleaning of test directories to use "rm -rf"
3588 rather than "rm -f".
3590 Thu Jun 03 15:21:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3592 * csharp/Makefile.am: Add missing
3593 SWIGTYPE_p_Xapian__StemImplementation.cs file.
3595 Tue Jun 01 16:23:23 GMT 2010 Olly Betts <olly@survex.com>
3597 * csharp/util.i,java-swig/util.i,python/generate-python-exceptions,
3598 python/smoketest2.py,xapian.i: Wrap Xapian::StemImplementation.
3599 Currently only tested for Python, and requires explicit use of
3602 Thu May 27 22:30:54 GMT 2010 Olly Betts <olly@survex.com>
3604 * xapian.i: Ignore Xapian::StemImplementation for now so that the
3605 tree builds while I sort out wrapping it properly.
3607 Thu May 27 09:34:13 GMT 2010 Olly Betts <olly@survex.com>
3609 * php/except.i: zend_throw_exception() returns, so we should return
3610 control to PHP directly after calling it to avoid needless extra
3611 work and possible issues.
3613 Wed May 19 09:12:36 GMT 2010 Richard Boulton <richard@tartarus.org>
3615 * python/extra.i: Ensure that __all__ is populated after local
3616 symbols are deleted - this fixes "from xapian import *". Fixes
3618 * python/pythontest2.py,python/test_xapian_star.py: Add a test that
3619 "from xapian import *" works - unfortunately, this requires a
3620 separate file, since the syntax is only valid at module level,
3621 and we don't want to pollute the namespace of the rest of the
3624 Sun May 16 13:27:17 GMT 2010 Olly Betts <olly@survex.com>
3626 * java-swig/Makefile.am: Update list of generated java sources.
3628 Sun May 16 12:05:29 GMT 2010 Olly Betts <olly@survex.com>
3630 * Makefile.am,configure.ac,guile/Makefile.am,guile/util.i: Remove
3631 non-functional disabled guile bindings left over from Open Muscat
3632 days - if someone wanted to add guile bindings, it would be easier to
3635 Tue May 04 19:47:40 GMT 2010 Richard Boulton <richard@tartarus.org>
3637 * python/replicationtest2.py: Some modifications to the replication
3638 test to check that changesets get applied correctly.
3640 Tue May 04 15:26:53 GMT 2010 Olly Betts <olly@survex.com>
3642 * python/smoketest2.py: Check len(mset) works (improving test coverage
3643 of Python-specific wrapping).
3645 Wed Apr 28 10:43:28 GMT 2010 Olly Betts <olly@survex.com>
3647 * NEWS: Sync with 1.0.20.
3649 Wed Apr 28 10:41:45 GMT 2010 Olly Betts <olly@survex.com>
3651 * configure.ac: Tell libtool not to link in deplibs on platforms where
3652 we know they aren't needed.
3653 * configure.ac: On Linux, extract the library search path from ldconfig
3654 which gives us the default entries reliably.
3655 * NEWS,configure.ac: 1.2.0.
3657 Wed Apr 21 03:09:49 GMT 2010 Olly Betts <olly@survex.com>
3659 * configure.ac: Fix typo so path to ruby is reported in Ruby < 1.8 is
3662 Tue Apr 20 11:57:03 GMT 2010 Olly Betts <olly@survex.com>
3664 * python/Makefile.am: Set a sh trap to clean up any .pyc files created
3665 by running a testsuite program. Remove *.pyc (not just
3666 testsuite.pyc) on "make clean".
3668 Tue Apr 20 11:06:55 GMT 2010 Olly Betts <olly@survex.com>
3670 * python/Makefile.am: Set PYTHONDONTWRITEBYTECODE=1 in the environment
3671 to prevent generating .pyc files in srcdir for Python >= 2.6. Partly
3672 addresses ticket#315.
3674 Thu Apr 15 04:36:01 GMT 2010 Olly Betts <olly@survex.com>
3676 * NEWS,configure.ac: Update for 1.1.5.
3678 Wed Mar 03 06:25:54 GMT 2010 Olly Betts <olly@survex.com>
3680 * tcl8/docs/index.html: Document WritableDatabase's close method as
3681 a way to sidestep the whole destructor issue. (ticket#62)
3682 Improve wording in a few places.
3684 Mon Feb 15 14:01:20 GMT 2010 Olly Betts <olly@survex.com>
3686 * configure.ac: Update for 1.1.4.
3688 Mon Feb 15 13:46:41 GMT 2010 Olly Betts <olly@survex.com>
3690 * NEWS: Fix typo in 1.1.3 NEWS. Add missing note that 1.1.3
3691 includes all relevant changes from 1.0.15-1.0.17. Add note that
3692 1.1.4 includes all relevant changes from 1.0.18.
3694 Mon Feb 15 13:17:39 GMT 2010 Olly Betts <olly@survex.com>
3696 * NEWS: Update from ChangeLog and 1.0.18.
3698 Mon Feb 15 12:17:03 GMT 2010 Olly Betts <olly@survex.com>
3700 * php/util.i: Remove (C) header since the code it was added for was
3703 Fri Feb 05 11:42:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3705 * csharp/Makefile.am,php/smoketest.php,php/util.i,python/extra.i,
3706 python/pythontest2.py,python/util.i: Update to match the removal
3707 of ValueCountMatchSpy from core.
3709 Wed Feb 03 17:52:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3711 * xapian.i: Add wrappers for Database::get_doclength_lower_bound(),
3712 Database::get_doclength_upper_bound(),
3713 Database::get_wdf_upper_bound() for all languages. Also, expose
3714 the skip_to() and check() methods on ValueIterator, and expose
3715 Database::valuestream_begin() and Database::valuestream_end().
3717 * python/: Add ValueStreamItem and ValueStreamIter to wrap the
3718 iterators returned from the valuestream methods. Wrap and
3719 replace the C++ valuestream_begin() and valuestream_end() methods
3720 with a Database.valuestream() method which returns a
3721 ValueStreamIter. Add a test for this (test_valuestream_iter()).
3722 * ruby/: Add safe wrapper for the valuestream iterator, add a
3723 "docid" member to the Value wrapper for ValueIterator, and add a
3726 Wed Feb 03 15:17:27 GMT 2010 Richard Boulton <richard@tartarus.org>
3728 * ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Wrap and test
3729 ValueCountMatchSpy::values_begin() and values_end() for ruby.
3731 Wed Feb 03 15:11:39 GMT 2010 Richard Boulton <richard@tartarus.org>
3733 * python/docs/index.html: Document ValueCountMatchSpy.values() and
3736 Wed Feb 03 15:09:09 GMT 2010 Richard Boulton <richard@tartarus.org>
3738 * python/extra.i,python/pythontest2.py: Wrap the
3739 ValueCountMatchSpy::values_begin() and values_end() methods as a
3740 values() pythonic iterator.
3742 Wed Feb 03 13:37:22 GMT 2010 Richard Boulton <richard@tartarus.org>
3744 * python/util.i: Remove unused typemap pair which was used for
3745 wrapping the old ValueCountMatchSpy::get_top_values() method.
3747 Wed Feb 03 13:22:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3749 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
3750 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Update to add
3751 support and tests for the new TermIterator-based
3752 ValueCountMatchSpy::top_values methods. Also for the removal of
3753 StringAndFrequency from the API.
3755 Tue Feb 02 15:28:28 GMT 2010 Richard Boulton <richard@tartarus.org>
3757 * python/Makefile.am: Comment out replicationtest by default again;
3758 it's still not reliable.
3760 Tue Feb 02 15:22:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3762 * csharp/Makefile.am: Remove one more reference to NumericRange
3763 which slipped through the net.
3765 Tue Feb 02 15:18:57 GMT 2010 Richard Boulton <richard@tartarus.org>
3767 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,xapian.i:
3768 Remove NumericRanges from trunk - their API is still uncertain,
3769 so I want to do a bit more development work on them on the
3770 matchspy branch before committing to support them for several
3773 Tue Feb 02 14:05:07 GMT 2010 Richard Boulton <richard@tartarus.org>
3775 * python/Makefile.am: replicationtest.py should be working now, so
3776 re-enable it. If it still fails occasionally, I'd like to
3777 investigate why; it works for me.
3779 Tue Feb 02 14:03:26 GMT 2010 Richard Boulton <richard@tartarus.org>
3781 * python/replicationtest2.py: Fix the replication test to work; was
3782 broken by the change to chert as the default database format.
3783 The tests needs to fiddle with the database's uuid to simulate
3784 various situations, so now needs to fiddle with the iamchert file
3785 instead of the uuid file.
3787 Tue Feb 02 13:52:17 GMT 2010 Richard Boulton <richard@tartarus.org>
3789 * xapian-head.i: Remove <xapian/replication.h> include which I'd
3792 Tue Feb 02 13:02:00 GMT 2010 Richard Boulton <richard@tartarus.org>
3794 * xapian.i: Remove the replication API from the bindings. Access
3795 to replication, for now, is via the command-line scripts: this is
3796 similar to the access to running a remote database server, and
3797 the access to database compaction and checking. See ticket #347
3798 for some commentary.
3800 Tue Feb 02 12:56:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3802 * php/smoketest.php,php/util.i,python/extra.i,python/pythontest2.py:
3803 Add copyright lines missed from the previous two commits.
3805 Tue Feb 02 12:37:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3807 * php/smoketest.php,php/util.i: Add typemap to convert the output
3808 for ValueCountMatchSpy::get_values() to an array, and test for it.
3811 Tue Feb 02 11:46:59 GMT 2010 Richard Boulton <richard@tartarus.org>
3813 * python/extra.i,python/pythontest2.py: Fix bug in
3814 Enquire.clear_matchspies(), and add regression test.
3816 Tue Dec 22 23:09:03 GMT 2009 Olly Betts <olly@survex.com>
3818 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/docs/generate-rdoc-stubs,
3819 ruby/generate-rdoc-stubs: Adjust the rdoc generation code to avoid
3820 including a reference to a mysterious "rdoc.rb" with an ugly path.
3822 Tue Dec 22 12:37:20 GMT 2009 Olly Betts <olly@survex.com>
3824 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
3825 php/docs/index.html,python/docs/index.html,ruby/docs/index.html,
3826 tcl8/docs/index.html,xapian-head.i,xapian.i: Update for the new
3829 Fri Dec 18 00:47:34 GMT 2009 Olly Betts <olly@survex.com>
3831 * ruby/docs/Makefile.am: Fix the fixed fix for the previous fix.
3833 Thu Dec 17 14:52:03 GMT 2009 Olly Betts <olly@survex.com>
3835 * ruby/docs/Makefile.am: Fix fix for previous fix.
3837 Thu Dec 17 00:12:45 GMT 2009 Olly Betts <olly@survex.com>
3839 * ruby/docs/Makefile.am: Fix previous fix.
3841 Wed Dec 16 12:56:45 GMT 2009 Olly Betts <olly@survex.com>
3843 * ruby/docs/Makefile.am: Fix previous change to work in VPATH build.
3845 Wed Dec 16 08:21:43 GMT 2009 Olly Betts <olly@survex.com>
3847 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/generate-rdoc-stubs,
3848 ruby/xapian.rb: Generate entries in the rdocs for all classes which
3849 aren't documented via xapian.rb. Fixes ticket#417.
3851 Mon Dec 07 01:15:49 GMT 2009 Olly Betts <olly@survex.com>
3853 * ruby/docs/Makefile.am: Run rdoc with the current directory set to
3854 where xapian.rb is so we don't build absolute paths into the
3855 generated HTML. Should address part of ticket#417.
3857 Thu Dec 03 06:07:07 GMT 2009 Olly Betts <olly@survex.com>
3859 * php/util.i: Use const string & instead of string.
3861 Wed Nov 18 10:56:54 GMT 2009 Olly Betts <olly@survex.com>
3863 * NEWS,configure.ac: Update for 1.1.3.
3865 Wed Nov 18 02:56:22 GMT 2009 Olly Betts <olly@survex.com>
3867 * NEWS: Update from 1.0.17 and ChangeLog.
3869 Tue Nov 03 06:09:39 GMT 2009 Olly Betts <olly@survex.com>
3871 * java/native/Enquire.cc: Fix memory leak when passing a matchdecider
3872 to Enquire::get_mset().
3874 Thu Oct 29 09:40:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3876 * php/except.i: Add a call to TSRMLS_FETCH to start of
3877 XapianExceptionHandler(), as seems to be required by PHP if
3878 compiled with multithreaded mode. Fixes #411.
3880 Thu Sep 17 15:20:14 GMT 2009 Olly Betts <olly@survex.com>
3882 * xapian.i: Update the comment about visibility.h and deprecated.h and
3885 Thu Sep 17 15:13:55 GMT 2009 Olly Betts <olly@survex.com>
3887 * csharp/Makefile.am,python/generate-python-exceptions,xapian.i:
3888 Update for the Sorter->KeyMaker changes.
3890 Thu Sep 17 13:11:47 GMT 2009 Olly Betts <olly@survex.com>
3892 * NEWS: Update from ChangeLog.
3894 Thu Sep 17 12:59:22 GMT 2009 Olly Betts <olly@survex.com>
3896 * xapian.i: Ignore PostingSource::serialise(), Weight::serialise()
3897 and Weight::unserialise() as they aren't useful to wrap.
3899 Tue Sep 15 02:11:06 GMT 2009 Olly Betts <olly@survex.com>
3901 * python/Makefile.am: Restore the "./" path to the sourced file
3902 libtoolconfig.tmp as ksh requires it.
3904 Fri Sep 11 00:50:38 GMT 2009 Olly Betts <olly@survex.com>
3906 * xapian-bindings.spec.in: Add support for building RPM packages of
3907 Ruby, from a patch from Ben Walton.
3909 Fri Sep 11 00:28:47 GMT 2009 Olly Betts <olly@survex.com>
3911 * xapian-bindings.spec.in: Improve package summaries - the files are
3912 needed to *use* scripts as well as to develop them. Use "Tcl"
3913 instead of "TCL" as the former is more conventional.
3915 Thu Sep 10 13:33:57 GMT 2009 Olly Betts <olly@survex.com>
3917 * configure.ac: Comment tweak.
3919 Thu Sep 10 13:24:52 GMT 2009 Olly Betts <olly@survex.com>
3921 * configure.ac: Default to looking for xapian-config-1.1.
3923 Thu Sep 10 06:49:10 GMT 2009 Olly Betts <olly@survex.com>
3925 * NEWS: Sync changes from 1.0.15 and 1.0.16 and update from ChangeLog.
3927 Wed Aug 26 14:44:33 GMT 2009 Olly Betts <olly@survex.com>
3929 * ruby/docs/index.html: www.xapian.org -> xapian.org.
3931 Wed Aug 26 05:37:25 GMT 2009 Olly Betts <olly@survex.com>
3933 * python/Makefile.am: No need for "./" relative path on sourced file.
3935 Mon Aug 17 12:46:17 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3937 * csharp/Makefile.am: Add missing assemblys.
3939 Mon Aug 17 07:39:32 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3941 * python/extra.i: Add support to the NumericRanges object to get
3942 the ranges as a dict.
3943 * python/util.i: Fix a memory leak on error (in theory - I've not
3944 got a way to generate this error, so haven't been able to produce
3945 the leak or test the fix).
3946 * python/pythontest2.py: Update tests to cover new NumericRanges
3949 Mon Aug 10 13:09:12 GMT 2009 Olly Betts <olly@survex.com>
3951 * csharp/Makefile.am,xapian.i: Update for SerialisationContext to
3954 Sun Aug 02 12:21:05 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3956 * python/pythontest3.py: Sync with pythontest2.
3958 Sun Aug 02 12:19:24 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3960 Merge from matchspy branch
3961 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
3962 python/util.i,xapian.i: Add support for new MatchSpy class, and
3963 the matchspy.h header.
3965 Sat Aug 01 10:07:02 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3967 * python/pythontest3.py: Update to match pythontest2.py (after 2to3
3970 Sat Aug 01 09:58:32 GMT 2009 Olly Betts <olly@survex.com>
3972 * php/Makefile.am,php/smoketest.php,php/smoketest5.php: Merged the PHP
3973 "smoketest" back together now we don't need to support PHP4 as well.
3975 Sun Jul 26 21:55:47 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3977 * python/doxy2swig.py: Tell textwrap not to break long words -
3978 fixes a load of places in the documentation comments where C++
3979 names and type names were cut in two. Also fixes a problem on
3980 the postingsource branch where actual python identifiers were
3981 being cut in two (for some very long identifiers).
3983 Thu Jul 23 04:13:02 GMT 2009 Olly Betts <olly@survex.com>
3985 * NEWS,configure.ac: Update for 1.1.2.
3987 Tue Jul 21 17:12:06 GMT 2009 Olly Betts <olly@survex.com>
3989 * NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.
3991 Tue Jul 21 04:38:51 GMT 2009 Olly Betts <olly@survex.com>
3993 * python/extra.i: Sort out iterators to work with the Python 3
3994 next()/__next__() changes. (ticket#246)
3996 Tue Jul 21 03:37:38 GMT 2009 Olly Betts <olly@survex.com>
3998 * python/extra.i: Python 3 doesn't support unbound methods, so use
3999 lambda to work around this in a way which also works with Python 2.
4001 Mon Jul 20 14:51:10 GMT 2009 Olly Betts <olly@survex.com>
4003 * python/util.i: Remove unused empty Xapian::PythonProblem C++ class.
4005 Mon Jul 20 14:46:24 GMT 2009 Olly Betts <olly@survex.com>
4007 * python/pythontest2.py,python/pythontest3.py: Cast the result of
4008 integer division to an integer - in Python 3 this returns a float
4009 and even in Python 2 the cast makes the intent clearer.
4011 Mon Jul 20 14:03:39 GMT 2009 Olly Betts <olly@survex.com>
4013 * python/extra.i,python/util.i: Use a multi-arg argout typemap to
4014 avoid having to mess around with ValueRangeProcessor.__call__().
4016 Mon Jul 20 12:54:51 GMT 2009 Olly Betts <olly@survex.com>
4018 * python/extra.i,python/util.i: Use %rename for renaming get_hit to
4019 _get_hit_internal. Taken from patch in ticket #246.
4021 Mon Jul 20 12:32:10 GMT 2009 Olly Betts <olly@survex.com>
4023 * python/extra.i,python/util.i: Rename metadata_keys_begin and
4024 metadata_keys_end using %rename rather than using delete and
4025 assignment in Python. This should reduce start-up time for the
4026 Python bindings a fraction. Taken from Peter Kelm's patch in
4029 Mon Jul 20 11:58:30 GMT 2009 Olly Betts <olly@survex.com>
4031 * python/Makefile.am: Need to run doxy2swig.py from $(srcdir).
4033 Mon Jul 20 03:31:44 GMT 2009 Olly Betts <olly@survex.com>
4035 * configure.ac,python/doxy2swig.py,python/doxy2swig.py.in: We
4036 explicitly run doxy2swig.py from the Makefile using $(PYTHON) so
4037 there is no need to AC_CONFIG_FILES it to substitute @PYTHON@ in the
4040 Mon Jul 20 02:40:09 GMT 2009 Olly Betts <olly@survex.com>
4042 * python/pythontest3.py,python/smoketest3.py: Fix "from .testsuite
4043 import *" to "from testsuite import *".
4045 Fri Jun 26 10:24:51 GMT 2009 Olly Betts <olly@survex.com>
4047 * ruby/smoketest.rb: Add regression test for failing to accept an
4048 integer value > MAXINT for a double parameter, fixed by upgrading
4049 to using the latest SWIG SVN trunk.
4051 Wed Jun 10 01:12:23 GMT 2009 Olly Betts <olly@survex.com>
4053 * configure.ac: Update for 1.1.1.
4055 Tue Jun 09 14:01:04 GMT 2009 Olly Betts <olly@survex.com>
4057 * NEWS: Update for 1.1.1.
4059 Wed May 27 05:52:20 GMT 2009 Olly Betts <olly@survex.com>
4061 * README: Add note about GSoC 2009 project to reimplement Perl bindings
4064 Wed May 20 20:55:13 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4066 * xapian.i: Add overloaded version of set_collapse_key() to
4067 bindings which exposes the new parameter.
4069 Tue May 19 09:21:33 GMT 2009 Olly Betts <olly@survex.com>
4071 * python/docs/index.html,python/extra.i,python/smoketest2.py,
4072 tcl8/docs/index.html,tcl8/smoketest.tcl,xapian.i: Wrap
4073 Query::MatchAll and Query::MatchNothing for Python and Tcl8 and
4074 document how they are wrapped (ticket#158).
4075 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html:
4076 Document that Query::MatchAll and Query::MatchNothing aren't wrapped
4077 for these languages yet, and to use Query("") and Query() instead.
4079 Tue May 19 09:17:41 GMT 2009 Olly Betts <olly@survex.com>
4081 * php/util.i: %pragma(php4) -> %pragma(php) (purely cosmetic change).
4083 Tue May 19 04:48:06 GMT 2009 Olly Betts <olly@survex.com>
4085 * configure.ac: Don't test an empty $CSC further which saves a fork
4086 and avoids an odd looking message.
4088 Sat May 16 08:51:15 GMT 2009 Olly Betts <olly@survex.com>
4090 * python/docs/examples/simplematchdecider.py: Pick "avoid_value" from
4091 the second parameter, not the third.
4092 * python/docs/examples/simplematchdecider.py,
4093 python/docs/examples/simplesearch.py: Use str.join() for simpler,
4096 Mon May 11 12:20:31 GMT 2009 Olly Betts <olly@survex.com>
4098 * xapian.i: Oops, make that PostingSource::register_matcher_().
4100 Mon May 11 10:50:21 GMT 2009 Olly Betts <olly@survex.com>
4102 * xapian.i: Fix for PostingSource::set_matcher_() change.
4104 Sat May 09 07:59:10 GMT 2009 Olly Betts <olly@survex.com>
4106 * xapian-head.i: Update to work with new ValueIteratorEnd_ proxy
4109 Wed May 06 06:45:22 GMT 2009 Olly Betts <olly@survex.com>
4111 * README,python/docs/index.html: Update documentation for mod_python
4112 issues and also document the related mod_wsgi issue. The status
4113 is now that everything seems to work if you stick to the main
4114 interpreter (ticket#185 and ticket#364).
4116 Tue May 05 13:11:43 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4118 Merge from opsynonym branch:
4119 * python/smoketest2.py,python/smoketest3.py: Update tests with
4120 FLAG_PARTIAL to expect SYNONYM in generated query.
4122 Wed Apr 29 15:42:37 GMT 2009 Olly Betts <olly@survex.com>
4124 * README: Note that the testsuite fails due to a bug in the test/unit
4125 module in Ruby 1.9.0, but applications using the bindings should
4126 work, and that the testsuite works with Ruby 1.9.1. Drop all mention
4127 of Ruby 1.6.x as that appears to be completely dead both upstream
4130 Wed Apr 29 13:06:55 GMT 2009 Olly Betts <olly@survex.com>
4132 * configure.ac: Update required SWIG version to r11194 to get better
4133 Python 3 support (ticket#346) and to eliminate superfluous GIL
4134 locking calls (ticket#185).
4136 Mon Apr 27 08:43:37 GMT 2009 Olly Betts <olly@survex.com>
4138 * xapian-bindings.spec.in: Update for rename of XapianSharp.so to
4141 Mon Apr 27 08:37:22 GMT 2009 Olly Betts <olly@survex.com>
4143 * xapian-bindings.spec.in: Update for where we now install the tcl8
4146 Thu Apr 23 06:59:22 GMT 2009 Olly Betts <olly@survex.com>
4148 * Makefile.am,configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am,
4149 generic/generic.mk,guile/Makefile.am,java-swig/Makefile.am,
4150 java/Makefile.am,java/native/Makefile.am,java/org/xapian/Makefile.am,
4151 java/org/xapian/errors/Makefile.am,
4152 java/org/xapian/examples/Makefile.am,php/Makefile.am,
4153 php/docs/Makefile.am,python/Makefile.am,python/docs/Makefile.am,
4154 ruby/Makefile.am,ruby/docs/Makefile.am,tcl8/Makefile.am,
4155 tcl8/docs/Makefile.am: Fix things up so that in a bootstrapped SVN
4156 tree, automatic regeneration of autotools-generated files uses the
4157 in-tree versions of the autotools.
4158 * configure.ac,java/Makefile.am,java/org/Makefile.am: Eliminate
4159 java/org/Makefile.am which just forwards to its "xapian"
4162 Wed Apr 22 13:57:58 GMT 2009 Olly Betts <olly@survex.com>
4166 Wed Apr 22 13:51:21 GMT 2009 Olly Betts <olly@survex.com>
4168 * NEWS: Update for 1.1.0.
4170 Wed Apr 22 11:55:48 GMT 2009 Olly Betts <olly@survex.com>
4172 * configure.ac: Put XAPIAN_CXXFLAGS in CXXFLAGS (rather than
4173 AM_CXXFLAGS) for the duration of configure, since AM_CXXFLAGS isn't
4174 used for test compiles by configure (we need it as it may include
4175 options to put the compiler into ISO C++ mode).
4177 Tue Apr 21 06:40:37 GMT 2009 Olly Betts <olly@survex.com>
4179 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so
4180 update the instructions to suggest users use this standard location
4181 for installing without root access.
4183 Tue Apr 21 05:59:29 GMT 2009 Olly Betts <olly@survex.com>
4185 * NEWS: Clean up for release.
4187 Mon Apr 20 14:23:47 GMT 2009 Olly Betts <olly@survex.com>
4189 * NEWS: Sync changes from 1.0.12.
4191 Sat Apr 18 08:25:11 GMT 2009 Olly Betts <olly@survex.com>
4193 * INSTALL: Speak of 0.9.3 in the past tense. Add a note about being
4194 able to pass variables to configure to pick which of several
4195 parallel installations of a language to build for.
4197 Sun Apr 05 03:59:31 GMT 2009 Olly Betts <olly@survex.com>
4199 * NEWS: Update from ChangeLog.
4201 Fri Mar 27 03:27:03 GMT 2009 Olly Betts <olly@survex.com>
4203 * csharp/util.i,java-swig/util.i,ruby/util.i: Remove %rename
4204 directives for get_sumpart_needs_doclength as this method no longer
4207 Wed Mar 25 17:31:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4209 * python/pythontest2.py: Change deletion of database objects to
4210 Database.close() calls, which should be more robust across
4211 different python implementations, and should also avoid problems
4212 on windows when the temporary database directories are deleted if
4213 other objects which aren't deleted have lingering references to
4216 Tue Mar 24 12:37:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4218 * ruby/Makefile.am: Fix dependency target in ruby's xapian_wrap.d
4221 Mon Mar 23 11:49:10 GMT 2009 Olly Betts <olly@survex.com>
4223 * python/generate-python-exceptions,python/pythontest2.py,
4224 python/pythontest3.py: Update for PostingSource::reset() ->
4225 PostingSource::init() rename.
4227 Wed Mar 18 06:05:31 GMT 2009 Olly Betts <olly@survex.com>
4229 * python/docs/index.html: Non-pythonic iterators now being removed
4230 in 1.3.0, not 1.2.0.
4232 Mon Mar 16 14:05:50 GMT 2009 Olly Betts <olly@survex.com>
4234 * NEWS: Sync with 1.0.11.
4236 Wed Mar 11 11:31:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4238 * python/pythontest2.py,python/pythontest3.py: Round the weights
4239 returned for the OP_SCALE_WEIGHT test, to avoid failing due to
4242 Wed Mar 11 11:18:57 GMT 2009 Olly Betts <olly@survex.com>
4244 * xapian.i: Updated to wrap xapian/weight.h directly, such that it
4245 builds with the new Xapian::Weight class.
4247 Wed Mar 11 11:15:18 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4249 * python/testsuite2.py,python/testsuite3.py: Remove bare except:
4250 handlers from testsuite, so ctrl-C stop the whole testsuite, not
4253 Wed Mar 11 00:06:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4255 * python/pythontest3.py: Update to match pythontest2.py (after
4256 passing through 2to3).
4258 Tue Mar 10 18:02:08 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4260 * python/extra.i,python/pythontest2.py: Preserve posting sources on
4261 queries when set on enquire, and when retrieved from enquire
4264 Tue Mar 10 17:46:48 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4266 * python/extra.i: When making a query object, keep references to
4267 posting sources in the query. Copy references for sub queries
4268 into parent queries, too.
4269 * python/pythontest2.py: Modify test to include regression test for
4272 Tue Mar 10 17:06:56 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4274 * python/extra.i: Add better support for deprecation of single
4275 argument form of the Enquire::set_sort_by_* methods, and for
4276 deprecation of the old name ("ascending") for the second
4277 argument. Add deprecation warnings to the remaining three
4278 set_sort_by_*value* methods, too.
4280 Tue Mar 10 09:14:44 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4282 * python/extra.i: Keep references to Stoppers and Sorters set on
4283 objects, to avoid segfaults when they go out of scope, and add
4284 deprecation warnings for single argument form of the set_sort_by_*
4286 * python/pythontest2.py: Tests for the above.
4288 Thu Mar 05 10:34:38 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4290 * xapian.i: There are now several useful built-in posting sources,
4291 so remove the code which ignores postingsource.h if there aren't
4294 Thu Mar 05 08:01:18 GMT 2009 Olly Betts <olly@survex.com>
4296 * configure.ac: Fix comment to match code.
4298 Wed Mar 04 23:37:29 GMT 2009 Olly Betts <olly@survex.com>
4300 * python/pythontest2.py: Fix comment typo.
4302 Wed Mar 04 23:33:17 GMT 2009 Olly Betts <olly@survex.com>
4304 * php/docs/examples/simpleindex.php5,python/pythontest2.py,
4305 python/pythontest3.py,python/replicationtest2.py,
4306 tcl8/docs/examples/simpleindex.tcl,xapian.i: Update for the
4307 "WritableDatabase::flush()" to "WritableDatabase::commit()" change.
4309 Wed Mar 04 23:23:14 GMT 2009 Olly Betts <olly@survex.com>
4311 * xapian.i: Wrap MSet::get_uncollapsed_matches_lower_bound(),
4312 MSet::get_uncollapsed_matches_estimated(), and
4313 MSet::get_uncollapsed_matches_upper_bound().
4315 Wed Mar 04 16:56:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4317 * python/extra.i: When ValueRangeProcessors are passed to the
4318 QueryParser, keep a list of them so that they're not deleted
4319 until the QueryParser is.
4320 * python/pythontest2.py: Regression test that the proxying works -
4321 this test crashed without the patch to extra.i.
4323 Mon Mar 02 20:45:09 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4325 * python/extra.i: Remove Document_unserialise and
4326 Query_unserialise from API.
4328 Mon Mar 02 10:32:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4330 * csharp/Makefile.am,xapian.i: Update with new serialisation
4333 Mon Mar 02 08:38:36 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4335 * python/pythontest2.py: Extend "database closed" test slightly, to
4336 cover a case which caused a segfault with core before revision
4339 Thu Feb 26 04:09:04 GMT 2009 Olly Betts <olly@survex.com>
4341 * configure.ac,ruby/Makefile.am: Workaround rubyio.h vs ruby/io.h
4342 incompatibility. Fix defaulting of RUBY_INC_ARCH to RUBY_INC.
4344 Thu Feb 26 03:12:11 GMT 2009 Olly Betts <olly@survex.com>
4346 * configure.ac,ruby/Makefile.am: Fixes for Ruby 1.9 compatibility
4349 Mon Feb 16 11:09:20 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4351 * python/generate-python-exceptions,python/pythontest2.py,xapian.i:
4352 Update for new posting source interface.
4354 Sat Feb 07 00:18:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4356 * python/pythontest2.py: Add python test of document and query
4357 serialisation and unserialisation.
4359 Tue Jan 20 13:55:54 GMT 2009 Olly Betts <olly@survex.com>
4361 * ruby/util.i: Fix for Ruby 1.9 compatibility.
4363 Mon Jan 19 23:16:13 GMT 2009 Olly Betts <olly@survex.com>
4365 * configure.ac: Use rubyhdrdir if it exists (it was added at some
4366 point during Ruby 1.9 development). See bug#323.
4368 Tue Jan 06 00:54:51 GMT 2009 Olly Betts <olly@survex.com>
4370 * python/Makefile.am: Temporarily disable replicationtest.py
4371 for now, as it just seems to fail most of the time. See bug#320.
4373 Tue Jan 06 00:43:58 GMT 2009 Olly Betts <olly@survex.com>
4375 * python/Makefile.am: Clean up any left over test databases on "make
4378 Tue Jan 06 00:43:01 GMT 2009 Olly Betts <olly@survex.com>
4380 * python/pythontest2.py: All but two testcases delete the database(s)
4381 they create if they pass, so fix the remaining two to do the same.
4383 Mon Jan 05 04:09:05 GMT 2009 Olly Betts <olly@survex.com>
4385 * configure.ac: Allow Python buildings to be built on Cygwin (taken
4386 from patch 1.0.7-python.patch from Cygwin Ports, and adapted for
4387 Python 3.0 compatibility).
4389 Mon Jan 05 02:14:17 GMT 2009 Olly Betts <olly@survex.com>
4391 * csharp/Makefile.am: Rename the compiled C++ wrapper from
4392 XapianSharp.la to _XapianSharp.la to avoid a name clash on with the
4393 C# assembly XapianSharp.dll on Microsoft Windows.
4395 Mon Jan 05 00:36:48 GMT 2009 Olly Betts <olly@survex.com>
4397 * configure.ac: Allow PHP bindings to be built on Cygwin (patch
4398 1.0.7-php.patch from Cygwin Ports).
4400 Mon Jan 05 00:18:39 GMT 2009 Olly Betts <olly@survex.com>
4402 * configure.ac,ruby/Makefile.am: Allow ruby bindings to be built on
4403 Cygwin (need to pass -lruby there).
4405 Sun Jan 04 23:45:24 GMT 2009 Olly Betts <olly@survex.com>
4407 * configure.ac,tcl8/Makefile.am: Allow tcl8 bindings to be built on
4408 Cygwin (based on patch 1.0.7-tcl.patch from Cygwin Ports).
4410 Mon Dec 29 16:54:54 GMT 2008 James Aylett <james@tartarus.org>
4412 * python/docs/examples/: get_description() is now __str__() in Python.
4414 Fri Dec 26 15:22:01 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4416 * xapian.i: Add Database.close() method.
4418 Tue Dec 23 05:59:02 GMT 2008 Olly Betts <olly@survex.com>
4420 * csharp/xapian_wrap.d ruby/xapian_wrap.d php/xapian_wrap.d i
4421 tcl8/xapian_wrap.d: svn:ignore dependency makefile fragments
4422 generated by swig -MD.
4424 Tue Dec 23 05:55:20 GMT 2008 Olly Betts <olly@survex.com>
4426 * python/: svn:ignore new generated databases.
4428 Tue Dec 23 05:52:54 GMT 2008 Olly Betts <olly@survex.com>
4430 * configure.ac,python/Makefile.am,python/generate-python-exceptions,
4431 python/generate-python-exceptions.in: Explicitly run
4432 generate-python-exceptions using $(PERL) rather than generating it
4433 with AC_OUTPUT just to substitute the "#!" line.
4435 Mon Dec 22 15:08:33 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4437 * python/Makefile.am: Add replicationtest2.py to distribution.
4439 Mon Dec 22 13:48:56 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4441 * python/Makefile.am: Enable the replication test by default, now
4444 Mon Dec 22 13:47:05 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4446 * python/replicationtest.py,python/replicationtest2.py: Make
4447 replication test a bit more stringent, and don't trigger
4448 potential problems with swapping a database back in place by
4449 updating the uuids, so each replicated database is effectively
4450 brand new, as far as replication is concerned.
4452 Sat Dec 20 11:41:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4454 * python/Makefile.am: Pass the default value of PYTHONPATH through
4455 to python tests (just make sure our recently compiled modules are
4456 at the start of it). Pass abs_builddir in the TESTS_ENVIRONMENT
4457 variable, since the replication test needs it.
4458 * python/replicationtest2.py: Add a test (currently failing) of
4459 database replication under heavy concurrent modification load.
4461 Sat Dec 20 10:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4463 * python/pythontest2.py: Fix test of get_eset() to match change in
4464 behaviour of get_eset().
4465 * python/pythontest3.py: Bring up to date with pythontest2.py
4467 Mon Dec 08 03:45:20 GMT 2008 Olly Betts <olly@survex.com>
4469 * debian/: Sync with 1.0 branch.
4471 Mon Dec 08 03:18:22 GMT 2008 Olly Betts <olly@survex.com>
4473 * python/Makefile.am: Need to clean testsuite.pyc from srcdir since
4474 that's where it gets generated as things stand (upstream fix for
4477 Sat Nov 01 01:52:29 GMT 2008 Olly Betts <olly@survex.com>
4479 * NEWS: Sync with 1.0.9 and update from ChangeLog.
4481 Fri Oct 31 22:53:13 GMT 2008 Olly Betts <olly@survex.com>
4483 * python/docs/index.html: Document Python-specific
4484 Database.metadata_keys(prefix) method.
4486 Fri Oct 31 19:22:53 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4488 * python/generate-python-exceptions.in: Convert
4489 XapianSetPythonException to Xapian::SetPythonException, and
4490 export it. This is necessary to allow separately compiled
4491 extension modules to handle xapian errors appropriately.
4493 Thu Oct 09 09:53:39 GMT 2008 Olly Betts <olly@survex.com>
4495 * configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.
4497 Sun Sep 28 14:31:49 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4499 * python/pythontest2.py: Change test_value_mods() to test chert
4500 instead of flint, for extra regression test of recently fixed bug
4501 in chert, and fix doccomment for test function.
4503 Fri Sep 26 19:02:19 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4505 * python/pythontest2.py: Add a test of adding, modifying, and
4506 deleting values. This passed with flint (as committed), but
4507 fails currently if the test is changed to use chert.
4509 Fri Sep 26 04:54:39 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4511 * python/Makefile.am: Add testsuite2.py and testsuite3.py to
4514 Wed Sep 10 15:28:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4516 * python/generate-python-exceptions.in: Back out patch which added
4517 XapianDirectorException to work around exception mangling bug in
4518 swig, now that we're using a version of swig which has the bug
4521 Wed Sep 10 15:21:26 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4523 * ../swig: Update version of swig in use to current HEAD (swig
4524 revision 10831. Changes python import method to avoid giving a
4525 warning with the upcoming 2.6 release (and failing with 2.7 or
4526 later). Also includes a different fix for ticket #289, so we
4527 could back out our XapianDirectorException class now.
4529 No other significant changes in the generated files - several
4530 warning fixes, some rearrangement of the order of variable
4531 declarations, some removal of code which wasn't used anyway.
4533 Fri Sep 05 11:03:38 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4535 * python/pythontest2.py,python/pythontest3.py: Add test for
4536 get_uuid() (not really python specific, but I can't easily add
4537 this test to smoketest because it needs an on-disk database,
4538 which there's no infrastructure in smoketest to clean up).
4540 Fri Sep 05 09:59:02 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4542 * xapian.i: Add Database::get_uuid() to wrappers.
4544 Thu Sep 04 04:30:09 GMT 2008 Olly Betts <olly@survex.com>
4546 * NEWS: Sync with 1.0.8.
4548 Thu Sep 04 04:28:12 GMT 2008 Olly Betts <olly@survex.com>
4550 * configure.ac: Set version to 1.1.0.
4552 Wed Sep 03 06:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4554 * python/generate-python-exceptions.in: Use our own
4555 XapianDirectorException, to avoid the unwanted side effects of
4556 the default SWIG mechanism. Fixes ticket #289.
4557 * python/pythontest2.py,python/pythontest3.py: Add
4558 test_director_exception(), which tests the fix for ticket #289.
4560 Wed Sep 03 05:22:09 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4562 * python/util.i: Fix memory leaks in query constructor typemaps.
4563 Also, remove old, commented out, code which almost certainly had
4564 similar memory leaks - I don't think we're going to want this
4565 code, but if we do, rewriting it by copying the maintained and
4566 working code for the query constructor is less likely to lead to
4569 Mon Aug 04 05:06:46 GMT 2008 Olly Betts <olly@survex.com>
4571 * NEWS: Sync against 1.0.7 release.
4573 Wed Jul 30 01:13:43 GMT 2008 Olly Betts <olly@survex.com>
4575 * python/generate-python-exceptions.in: Fix tiny comment typo.
4577 Mon Jul 21 12:22:02 GMT 2008 Olly Betts <olly@survex.com>
4579 * configure.ac: Put the bug report URL as the third parameter to
4580 AC_INIT. Add proper m4 quoting in a few places (nowhere that
4581 should actually change behaviour). Use "dnl" comments in preference
4582 to "#" comments to help reduce the size of the configure script.
4584 Wed Jul 16 17:45:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4586 * python/: Rename test files to end with ...2.py, and add versions
4587 generated by 2to3 named ...3.py. (2to3 seems to be quite buggy
4588 still, so the generated versions need some hand editing after
4589 running it; in future, we should probably remove the ...3.py
4590 versions and just automatically generate them.)
4592 Thu Jul 10 10:47:50 GMT 2008 Olly Betts <olly@survex.com>
4594 * configure.ac: LT_PREREQ seems to need to be just before LT_INIT.
4596 Wed Jul 09 23:02:02 GMT 2008 Olly Betts <olly@survex.com>
4598 * Makefile.am: Revert dist-hook fix - that problem is caused by using
4599 libtool 1.5.x and we now require 2.2.x.
4600 * configure.ac: Add "LT_PREREQ([2.2.4])" to enforce this requirement.
4601 Use LT_INIT instead of now deprecated AC_PROG_LIBTOOL.
4603 Wed Jul 09 14:52:54 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4605 * Makefile.am: Add $(distdir) to directory names in dist-hook rule
4606 to make it actually work.
4608 Wed Jul 09 14:31:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4610 * Makefile.am: Add dist-hook rule to ensure that the m4 directory
4611 exists; if it doesn't, autoreconf reports "couldn't open
4614 Wed Jul 09 10:46:36 GMT 2008 Olly Betts <olly@survex.com>
4616 * configure.ac: The workaround to avoid probe code for F77, GCJ, and
4617 RC being added to configure is no longer required now that we're
4618 using libtool 2.2 so remove it.
4620 Wed Jul 09 10:30:16 GMT 2008 Olly Betts <olly@survex.com>
4622 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4623 java/Makefile.am,java/native/Makefile.am,php/Makefile.am,
4624 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: More changes
4625 neeed for --enable-quiet support.
4627 Wed Jul 09 10:19:38 GMT 2008 Olly Betts <olly@survex.com>
4629 * configure.ac: Replace AM_CONFIG_HEADER with the more modern
4632 Wed Jul 09 10:17:57 GMT 2008 Olly Betts <olly@survex.com>
4634 * Makefile.am,configure.ac: Add support for "--enable-quiet" like
4635 xapian-core and omega have.
4637 Wed Jul 09 10:14:47 GMT 2008 Olly Betts <olly@survex.com>
4639 * Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
4640 ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.
4642 Tue Jul 01 21:05:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4644 * python/pythontest.py,python/smoketest.py,python/testsuite.py:
4645 Fixes to make tests closer to being compatible with python 3.0.
4647 Mon Jun 30 19:56:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4649 * python/util.i: Fix #if PY_VERSION_HEX statements which aren't
4650 inside %{ %} to be %#if. Similarly for the corresponding #else
4653 Fri Jun 27 00:40:54 GMT 2008 Olly Betts <olly@survex.com>
4655 * NEWS: Update from ChangeLog and against 1.0 branch.
4657 Thu Jun 26 03:08:06 GMT 2008 Olly Betts <olly@survex.com>
4659 * csharp/docs/index.html,php/docs/index.html,python/docs/index.html,
4660 ruby/docs/index.html,tcl8/docs/index.html: Document all the database
4661 factory functions for all languages. Document the library version
4662 functions for all languages.
4664 Thu Jun 26 03:06:43 GMT 2008 Olly Betts <olly@survex.com>
4666 * java/native/: Make passing string from Java to C++ zero-byte safe.
4667 It doesn't appear to be simple to make C++ to Java work though.
4669 Thu Jun 26 00:47:16 GMT 2008 Olly Betts <olly@survex.com>
4671 * ruby/smoketest.rb: Update copyright notice for previous change.
4673 Thu Jun 26 00:02:30 GMT 2008 Olly Betts <olly@survex.com>
4675 * ruby/smoketest.rb: Test the version reporting functions.
4677 Wed Jun 25 21:35:49 GMT 2008 Olly Betts <olly@survex.com>
4679 * ruby/docs/index.html: Document how database factory functions are
4682 Wed Jun 25 21:06:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4684 * python/extra.i: Tidy up the documentation comments for
4687 Tue Jun 24 18:21:12 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4689 * python/doxy2swig.py.in: Adjust to be compatible with python 3.0.
4690 Fortunately, this can be done without breaking it for python 2.x.
4692 Sat Jun 14 23:35:34 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4694 * python/util.i: Fix previous commit - one of the pieces of
4695 conditional code was the wrong way round.
4697 Sat Jun 14 12:09:45 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4699 * python/util.i: Fixes for compilation with python 3.0;
4700 conditionally replace PyString_ methods with PyBytes_ methods.
4702 Mon Jun 02 11:55:23 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4704 * python/Makefile.am: Add modern/xapian_wrap.d to CLEANFILES in
4707 Mon Jun 02 11:54:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4709 * xapian.i: Add support for the new Database methods,
4710 get_value_freq(), get_value_lower_bound() and
4711 get_value_upper_bound().
4712 * python/pythontest.py: Add test of these methods.
4714 Sun Jun 01 15:13:07 GMT 2008 Olly Betts <olly@survex.com>
4716 * configure.ac: Update version to 1.0.7 to match 1.0 branch.
4718 Sun May 25 22:45:36 GMT 2008 Olly Betts <olly@survex.com>
4720 * NEWS: Update from ChangeLog and sync with 1.0 branch.
4722 Sun May 25 17:15:43 GMT 2008 Olly Betts <olly@survex.com>
4724 * xapian-head.i: Fix dummy Chert and Flint Database factory functions,
4725 used when Chert and/or Flint are disabled.
4727 Sat May 24 08:51:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4729 * python/pythontest.py: Rename one of the two test_postingsource()
4730 functions, so that they both get run!
4732 Thu May 22 11:53:23 GMT 2008 Olly Betts <olly@survex.com>
4734 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html,
4735 tcl8/docs/index.html: The "program" version of Remote::open() *is*
4736 now wrapped, so update the documentation.
4738 Thu May 22 11:16:54 GMT 2008 Olly Betts <olly@survex.com>
4740 * python/docs/index.html: Fix typo (Database.synonym and synonym_begin
4741 should be synonyms and synonyms_begin).
4743 Thu May 22 11:07:24 GMT 2008 Olly Betts <olly@survex.com>
4745 * python/docs/index.html: The "program" version of Remote::open() *is*
4746 now wrapped, so update the documentation.
4748 Sun May 18 05:36:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4750 * python/docs/index.html: Update documentation of pythonic
4752 * python/extra.i: Correct documentation comment for
4753 Database.spellings().
4755 Thu May 15 09:00:26 GMT 2008 Olly Betts <olly@survex.com>
4757 * java-swig/Makefile.am: Remove SWIGTYPE_p_bool.java as it is no
4760 Thu May 15 08:11:04 GMT 2008 Olly Betts <olly@survex.com>
4762 * csharp/Makefile.am: Remove SWIGTYPE_p_bool.cs as it is no longer
4765 Mon May 12 06:51:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4767 * python/pythontest.py: Add test of ValueWeightPostingSource.
4769 Mon May 05 16:02:03 GMT 2008 Olly Betts <olly@survex.com>
4771 * php/except.i: Remove PHP4-specific stuff and tweak to maximise the
4772 amount of exception handling code which is in the helper function.
4773 Fix the copyright statements which were copied verbatim from
4774 xapian.i whereas the code here is all fairly recent.
4776 Mon May 05 11:03:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4778 * csharp/Makefile.am: Change names of generated files to match
4779 those made by new SWIG version.
4781 Mon May 05 11:58:45 BST 2008 Richard Boulton <richard@lemurconsulting.com>
4783 * ../swig: Update version of swig in use to current HEAD. Causes
4784 few changes other than whitespace to the generated bindings, but
4785 makes new features in swig (such as better support for reference
4786 counted pointers) available. Also only performs initialisation
4787 of swig wrapper once when there are multiple interpreters in use,
4788 which could possibly help a little with bug #185.
4790 Sat May 03 18:10:04 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4792 * configure.ac: Fix breakage introduced when I changed "print foo"
4793 to "print(foo)" - join strings in the print with + instead of ,.
4794 mingw builds can't have worked with this, though they may still
4797 Sat May 03 14:00:55 GMT 2008 Olly Betts <olly@survex.com>
4799 * xapian-bindings.spec.in: Remove "www." from xapian.org and
4800 oligarchy.co.uk URLs. Bump minimum required Python version to 2.3.
4802 Sat May 03 10:59:58 GMT 2008 Olly Betts <olly@survex.com>
4804 * configure.ac: Improve code which prevents probing for f77, etc.
4806 Fri May 02 17:24:17 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4808 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4809 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Seemed to work
4810 for python, so use SWIG's -MD flag for all the other swig targets
4813 Fri May 02 15:21:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4815 * python/Makefile.am: Use SWIG's -MD flag to generate dependencies.
4817 Fri May 02 15:21:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4819 * python/extra.i: Correct typo in comment.
4821 Mon Apr 28 17:07:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4823 * python/pythontest.py: Fix python test of PostingSource to include
4826 Mon Apr 28 02:31:42 GMT 2008 Olly Betts <olly@survex.com>
4828 * python/generate-python-exceptions.in: Mark PostingSource::reset() as
4831 Thu Apr 24 02:18:46 GMT 2008 Olly Betts <olly@survex.com>
4833 * configure.ac,generic/generic.mk: Back out the --swigheaders change.
4835 Thu Apr 24 01:55:25 GMT 2008 Olly Betts <olly@survex.com>
4837 * python/Makefile.am: Use "-rmdir" rather than "|| true" for
4840 Wed Apr 23 18:14:10 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4842 * python/pythontest.py: Remove references to "flint" from test
4843 database names (use "db_" instead). Add a simple test of the
4844 posting source stuff.
4846 Wed Apr 23 17:42:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4848 * python/Makefile.am: Give up on MKDIR_P, and just use "-test -d
4849 xapian || mkdir xapian" instead.
4851 Wed Apr 23 17:03:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4853 * python/Makefile.am: Use $(MKDIR_P) instead of @MKDIR_P@, as
4854 suggested by the automake documentation.
4856 Wed Apr 23 15:23:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4858 * debian/python-xapian.install,python/Makefile.am,python/xapian.pth,
4859 xapian-bindings.spec.in: Change way python bindings are installed
4860 again, hopefully more successfully this time. We found a problem
4861 with the .pth method on some systems, so instead we now put all
4862 the python files in a subdirectory called xapian/, but rename the
4863 xapian.py file to __init__.py (and similarly for the .pyc and
4864 .pyo files). This makes it into a python package, and seems to
4865 work well, and also hides the internal _xapian module from public
4868 Wed Apr 23 11:02:45 GMT 2008 Olly Betts <olly@survex.com>
4870 * csharp/Makefile.am,java-swig/Makefile.am,
4871 python/generate-python-exceptions.in,xapian.i: Only wrap
4872 PostingSource where we have directors. Fix up various issues
4875 Wed Apr 23 09:43:06 GMT 2008 Olly Betts <olly@survex.com>
4877 * README: Note Python 2.3 or later is required.
4879 Wed Apr 23 09:21:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4881 * configure.ac: Require python 2.3 or greater. 2.2 is essentially
4882 unsupported upstream.
4884 Wed Apr 23 08:39:18 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4886 * python/doxy2swig.py.in: Revert earlier change, since it would
4887 result in the bindings varying massively depending on the version
4888 of python in use at maintainer-build time, which doesn't seem
4889 helpful. python2.2 currently works with a non maintainer-mode
4890 build, so there's an easy workaround for the problem.
4892 Wed Apr 23 07:55:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4894 * xapian-bindings.spec.in: Update RPM .spec file to reflect the new
4895 location of the python packages, and the .pth file.
4897 Wed Apr 23 07:51:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4899 * debian/changelog,debian/patch,debian/python-xapian.install:
4900 Update debian packaging to remove the patch which is currently
4901 applied (since it's included in HEAD now), and to get the python
4902 packages from the new locations (and include the .pth file).
4904 Wed Apr 23 07:38:20 GMT 2008 Olly Betts <olly@survex.com>
4906 * xapian.i: Use "%include <xapian/query.h>" to wrap Xapian::Query so
4907 we automatically pick up new features (in this case, the new
4908 PostingSource constructor).
4910 Wed Apr 23 03:41:28 GMT 2008 Olly Betts <olly@survex.com>
4912 * Makefile.am,csharp/Makefile.am,java-swig/Makefile.am,
4913 tcl8/docs/index.html,xapian-head.i,xapian.i: Split the header chunk
4914 of xapian.i out into xapian-head.i. Remove lingering references to
4917 Wed Apr 23 02:47:00 GMT 2008 Olly Betts <olly@survex.com>
4919 * python/extra.i: Update comment.
4921 Wed Apr 23 00:25:46 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4923 * python/doxy2swig.py.in: Fix build with --enable-maintainer-mode
4924 and python 2.2, by providing fallback for the "textwrap" module,
4925 which isn't present by default in 2.2.
4927 Wed Apr 23 00:15:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4929 * python/Makefile.am,python/xapian.pth: Change installation
4930 location for the python bindings to use a "xapian" subdirectory
4931 to hold the files, and use a "xapian.pth" file to ensure that the
4932 contents of this directory are on the path. Seems to be the more
4933 usual way to install python extensions these days, and matches
4934 the way we need to install on windows.
4936 Tue Apr 22 16:16:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4938 * php/smoketest.php,php/smoketest5.php: Add test that VALUE_GE
4941 Thu Apr 17 22:54:37 GMT 2008 Olly Betts <olly@survex.com>
4943 * tcl8/Makefile.am: Remove bogus "../" from tcllibdir.
4945 Thu Apr 17 05:41:21 GMT 2008 Olly Betts <olly@survex.com>
4947 * configure.ac: Add missing m4 quoting so that TCL_LIB is correctly
4950 Tue Apr 15 09:38:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4952 * python/docs/index.html,python/extra.i,python/pythontest.py:
4953 Remove the deprecated legacy support for the sequence API on
4956 Mon Apr 14 07:18:50 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4958 * python/extra.i,xapian.i: Add support for
4959 Database.metadata_keys_begin() and Database.metadata_keys_end().
4960 For python, these are wrapped as simply "metadata_keys()".
4961 * python/pythontest.py: Test Database.metadata_keys().
4963 Mon Apr 07 07:28:14 GMT 2008 Olly Betts <olly@survex.com>
4965 * README: Note that Tcl 8.3 and earlier are no longer supported by
4968 Tue Apr 01 04:27:43 GMT 2008 Olly Betts <olly@survex.com>
4970 * java/native/Makefile.am,python/Makefile.am,ruby/Makefile.am: Use
4971 the libtool -shrext option to specify a different module extension
4972 rather than our own ugly bodge.
4974 Mon Mar 31 02:10:22 GMT 2008 Olly Betts <olly@survex.com>
4976 * php/smoketest.php: Remove stray extra blank line.
4978 Fri Mar 28 10:18:27 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4980 * configure.ac: Bump version number to 1.0.6 to match xapian-core.
4982 Fri Mar 28 00:22:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4984 * xapian.i: Modify wrapping of get_mset() to match the new
4985 definitions in xapian/enquire.h (though this shouldn't change
4986 user-visible behaviour in the bindings). Also, allow a
4987 mdecider (and matchspy) parameter to be passed even for languages
4988 which don't have director support, now that we have a built-in
4989 match decider. Also, wrap valuesetmatchdecider.h, so that the
4990 built-in match decider defined there can be used.
4991 * php/smoketest.php,python/pythontest.py: Add tests that
4992 ValueSetMatchDecider works in python and PHP.
4994 Wed Mar 19 01:02:21 GMT 2008 Olly Betts <olly@survex.com>
4996 * ruby/docs/Makefile.am: Ship simplematchdecider.rb.
4997 * tcl8/docs/Makefile.am: Ship simpleexpand.tcl.
4999 Wed Mar 12 09:01:04 GMT 2008 Olly Betts <olly@survex.com>
5001 * java-swig/: Remove Quartz.* from svn:ignore.
5003 Wed Mar 12 08:59:30 GMT 2008 Olly Betts <olly@survex.com>
5005 * python/Makefile.am: Clean up libtoolconfig.tmp after use.
5007 Wed Mar 12 08:57:55 GMT 2008 Olly Betts <olly@survex.com>
5009 * README,configure.ac,php/Makefile.am,php/docs/Makefile.am,
5010 php/docs/examples/simpleexpand.php4,
5011 php/docs/examples/simpleindex.php4,
5012 php/docs/examples/simplesearch.php4,php/docs/index.html,
5013 php/smoketest4.php,php/util.i,xapian-bindings.spec.in,xapian.i:
5014 Remove PHP4 support.
5016 Wed Mar 12 08:29:06 GMT 2008 Olly Betts <olly@survex.com>
5018 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/util.i,
5019 java-swig/Makefile.am,java-swig/SmokeTest.java,
5020 java/native/Enquire.cc,java/native/Query.cc,
5021 java/native/org_xapian_XapianJNI.h,java/org/xapian/Enquire.java,
5022 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,php/util.i,
5023 python/,ruby/util.i,ruby/xapian.rb,xapian.i: Remove all deprecated
5024 features slated for removal in 1.1.0.
5026 Tue Mar 11 20:32:26 GMT 2008 Olly Betts <olly@survex.com>
5028 * java-swig/util.i: Xapian::weight::clone() collides with Java's
5029 Object.clone(), so rename to cloneWeight(). Wrap Xapian::valueno
5030 as Java type int to avoid a conflict with SWIG/Java's machinery.
5032 Tue Mar 11 04:51:00 GMT 2008 Olly Betts <olly@survex.com>
5034 * java-swig/Makefile.am: Add MultiValueSorter.java, Sorter.java, and
5035 TermGenerator$flags.class.
5037 Wed Mar 05 22:36:46 GMT 2008 Olly Betts <olly@survex.com>
5039 * NEWS: Update to HEAD with un-backported changes kept separate.
5041 Wed Mar 05 21:30:13 GMT 2008 Olly Betts <olly@survex.com>
5043 * NEWS: Update to 1.0 branch point.
5045 Sun Feb 24 11:02:44 GMT 2008 Olly Betts <olly@survex.com>
5047 * java-swig/Makefile.am,php/Makefile.am,ruby/Makefile.am,
5048 tcl8/Makefile.am: Minor comment correction (we only remove a single
5051 Sun Feb 24 01:11:25 GMT 2008 Olly Betts <olly@survex.com>
5053 * configure.ac,python/Makefile.am: The Python module now has the
5054 extension which Python expects, which fixes a failure on Mac OS X.
5055 PYTHON_PATHSEP is no longer required.
5057 Sat Feb 23 23:09:05 GMT 2008 Olly Betts <olly@survex.com>
5059 * configure.ac: Correct SWIG version in error message.
5061 Thu Feb 21 00:28:20 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5063 * configure.ac,generic/generic.mk: Use the new --swigheaders option
5064 in xapian-config to get the list of header files for the core,
5065 and add all of these as a dependency for the rules to run swig.
5066 This is currently an overly inclusive dependency, but it's hard
5067 to keep track of exactly which header files are being included,
5068 and the plan is to eventually include all of them.
5070 Mon Jan 28 11:52:59 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5072 * xapian.i: Ignore various unwanted bits of DatabaseReplica.
5074 Mon Jan 28 03:22:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5076 * xapian.i: Include replication.h in the bindings.
5078 Wed Jan 09 22:41:24 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5080 * csharp/Makefile.am: Add MultiValueSorter.cs to
5081 XAPIAN_SWIG_CS_SRCS so that it gets cleaned up correctly.
5082 * xapian.i: Put OP_VALUE_GE and OP_VALUE_LE in the right place in
5083 the enum, so that they get the right values in language bindings.
5085 Wed Jan 09 22:00:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5087 * xapian.i: Add OP_VALUE_GE and OP_VALUE_LE to Query, and add
5088 constructor which they are used with.
5090 Sun Dec 23 03:29:32 GMT 2007 Olly Betts <olly@survex.com>
5092 * configure.ac: Sort out the default value of TCL_LIB, which could
5093 end up being under /usr/share in 1.0.4 and 1.0.5.
5095 Sat Dec 22 18:25:19 GMT 2007 Olly Betts <olly@survex.com>
5097 * php/smoketest.php: Add note that this script should be run using
5098 'make check' in the build tree (rather than trying to copy it to
5099 a webserver as someone recently tried to).
5101 Sat Dec 22 18:24:05 GMT 2007 Olly Betts <olly@survex.com>
5103 * php/smoketest.php: Fix to work under PHP4.
5105 Sat Dec 22 04:32:39 GMT 2007 Olly Betts <olly@survex.com>
5107 * ruby/docs/Makefile.am: We need a custom install-data-local rule to
5108 get the rdocs subdirectory installed (and a corresponding
5109 uninstall-local rule to uninstall it).
5111 Fri Dec 21 18:14:06 GMT 2007 Olly Betts <olly@survex.com>
5113 * NEWS: Too late for the 1.0.5 release, but reword the Python GIL fix
5114 description in terms of user-visible API.
5116 Fri Dec 21 02:14:35 GMT 2007 Olly Betts <olly@survex.com>
5118 * NEWS: Bump release date.
5120 Wed Dec 19 03:46:09 GMT 2007 Olly Betts <olly@survex.com>
5122 * NEWS,configure.ac: Update for 1.0.5.
5124 Wed Dec 19 01:18:58 GMT 2007 Olly Betts <olly@survex.com>
5126 * configure.ac: If rdoc isn't found, set RDOC="$MISSING rdoc" so the
5127 user gets a better error if make tries to build the RDocs.
5129 Wed Dec 19 00:34:45 GMT 2007 Olly Betts <olly@survex.com>
5133 Tue Dec 18 18:58:36 GMT 2007 Olly Betts <olly@survex.com>
5135 * php/smoketest.php: Add feature test to ensure that optional
5136 arguments to XapianQuery's "term" constructor are wrapped.
5137 * xapian.i: Remove comment "FIXME wrap optional arguments in PHP?"
5138 referring to XapianQuery's "term" constructor as they are already
5141 Mon Dec 17 21:02:38 GMT 2007 Olly Betts <olly@survex.com>
5143 * php/Makefile.am,python/Makefile.am: Having moved the directory
5144 creation out of the locked region, we now need to ignore errors
5145 from 'test -d DIR || mkdir DIR' as two make processes might try
5146 to create the directory at the same time.
5148 Fri Dec 14 10:43:03 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5150 * php/Makefile.am,python/Makefile.am: Ensure that the directories
5151 that stamp files will be placed in exist before calling
5152 $(multitarget_begin). Fixes compilation failures in clean trees.
5154 Thu Dec 13 01:58:58 GMT 2007 Olly Betts <olly@survex.com>
5156 * configure.ac: Improve the clarity of the error given when none
5157 of the tools neeed for any supported language are found.
5159 Thu Dec 13 01:50:17 GMT 2007 Olly Betts <olly@survex.com>
5161 * configure.ac,ruby/Makefile.am: Fix the Ruby module's extension so it
5164 Thu Dec 13 01:14:29 GMT 2007 Olly Betts <olly@survex.com>
5166 * csharp/Makefile.am,generic/generic.mk,java-swig/Makefile.am,
5167 php/Makefile.am,python/Makefile.am,ruby/Makefile.am: Factor
5168 out the code to lock multitarget rules against parallel make,
5169 and fix it to handle the source being changed while the rule
5170 is executing, and to correct return an error code if we fail
5171 while trying to recover from the removal of a target of a
5174 Thu Dec 13 01:04:04 GMT 2007 Olly Betts <olly@survex.com>
5176 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_key().
5178 Wed Dec 12 02:22:58 GMT 2007 Olly Betts <olly@survex.com>
5180 * NEWS: Update from ChangeLog in preparation for 1.0.5.
5182 Tue Dec 11 15:09:37 GMT 2007 Olly Betts <olly@survex.com>
5184 * ruby/docs/Makefile.am: Fix rule to build rdocs.
5186 Tue Dec 11 01:33:23 GMT 2007 Olly Betts <olly@survex.com>
5188 * configure.ac,ruby/docs/Makefile.am: Run "rdoc" to generate the
5189 Ruby-specific API documentation which ruby/docs/index.html has
5190 a (previously dead) link to.
5191 * ruby/xapian.rb: Tweak ":nodoc:" directive so rdoc recognises it.
5193 Thu Nov 29 02:48:06 GMT 2007 Olly Betts <olly@survex.com>
5195 * php/: Add test for XapianMultiValueSorter.
5197 Thu Nov 29 02:47:17 GMT 2007 Olly Betts <olly@survex.com>
5199 * xapian.i: Wrap Enquire::set_sort_by_key() and
5200 Enquire::set_sort_by_key_then_relevance().
5202 Thu Nov 29 02:06:10 GMT 2007 Olly Betts <olly@survex.com>
5204 * php/smoketest5.php: Fix use of Database_get_document to new style OO
5205 interface. Fix error string when the PHP5 exception test fails.
5207 Wed Nov 28 20:17:09 GMT 2007 Olly Betts <olly@survex.com>
5209 * csharp/Makefile.am,python/generate-python-exceptions.in,xapian.i:
5210 Wrap Xapian::Sorter and subclasses.
5212 Wed Nov 28 19:19:08 GMT 2007 Olly Betts <olly@survex.com>
5214 * ruby/Makefile.am: SWIG has accepted -initname in at least one
5215 released version, so switch to using it instead of the now
5216 deprecated -feature option.
5218 Wed Nov 28 11:17:40 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5220 * python/util.i: Don't drop the GIL when calling
5221 Xapian_MSet_items_get() and Xapian_ESet_items_get() - these
5222 methods build a python list, and return a PyObject, so it's not
5223 safe to do so, and doing so may cause undefined behaviour in
5224 multithreaded environments.
5226 Wed Nov 28 00:52:46 GMT 2007 Olly Betts <olly@survex.com>
5228 * configure.ac: Change remaining uses of "print" in python to bracket
5231 Wed Nov 28 00:50:41 GMT 2007 Olly Betts <olly@survex.com>
5233 * java-swig/Makefile.am,java/Makefile.am: Check for directory
5234 existence rather than calling mkdir unconditionally as despite the
5235 "(ignored)", the error message seems to confuse some people.
5237 Tue Nov 27 22:34:11 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5239 * configure.ac: Change "print foo" to "print(foo)" in python
5240 version checks, for compatibility with python 3.0.
5242 Tue Nov 27 03:08:51 GMT 2007 Olly Betts <olly@survex.com>
5244 * configure.ac: Log the output of trying to compile conftest.java in
5245 config.log; if the test fails, report whether the failure was
5246 compiling or running the test program.
5248 Tue Nov 20 01:04:31 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5250 * java/native/xapian_jni.h: Add include of <cstring> to fix
5251 compile error with gcc-4.3 snapshot.
5253 Fri Nov 16 15:58:57 GMT 2007 Olly Betts <olly@survex.com>
5255 * configure.ac: Update error message to reflect requirement for at
5258 Fri Nov 16 15:57:53 GMT 2007 Olly Betts <olly@survex.com>
5260 * configure.ac: SWIG 1.3.32 has now been released, so require at least
5261 this released version.
5263 Tue Nov 06 12:34:00 GMT 2007 Olly Betts <olly@survex.com>
5265 * java/org/xapian/Makefile.am: No need to set SUFFIXES manually for
5266 suffixes used in implicit rules.
5268 Sat Nov 03 01:07:39 GMT 2007 Olly Betts <olly@survex.com>
5270 * csharp/docs/index.html: Improve wording.
5272 Fri Nov 02 20:31:55 GMT 2007 Olly Betts <olly@survex.com>
5274 * tcl8/docs/index.html: Update documentation to cover flint and that
5275 quartz is now deprecated.
5277 Fri Nov 02 20:15:19 GMT 2007 Olly Betts <olly@survex.com>
5279 * tcl8/except.i: Remove code to handle `const char *' exceptions - as
5280 of 1.0.0 the QueryParser throws QueryParserError instead.
5282 Fri Nov 02 02:16:32 GMT 2007 Olly Betts <olly@survex.com>
5284 * configure.ac: Overhaul code to find tcl.h. The old way no longer
5285 worked with Debian unstable.
5287 Tue Oct 30 05:00:42 GMT 2007 Olly Betts <olly@survex.com>
5289 * NEWS: The GUARD macro I fixed in SWIG/Python isn't actually used by
5290 Xapian so remove the NEWS item about it.
5292 Tue Oct 30 04:56:13 GMT 2007 Olly Betts <olly@survex.com>
5294 * NEWS,configure.ac: Update for 1.0.4.
5296 Mon Oct 29 18:35:09 GMT 2007 Olly Betts <olly@survex.com>
5300 Mon Oct 29 17:15:20 GMT 2007 Olly Betts <olly@survex.com>
5302 * python/docs/index.html: Promote the Pythonic iterators more
5303 and deprecate the non-pythonic iterators. Make it clearer
5304 that the "sequence API" is deprecated.
5306 Mon Oct 29 16:50:28 GMT 2007 Olly Betts <olly@survex.com>
5308 * python/docs/index.html: Fix typo.
5310 Mon Oct 29 02:54:53 GMT 2007 Olly Betts <olly@survex.com>
5312 * NEWS,csharp/Makefile.am,python/extra.i,python/pythontest.py,
5313 python/util.i,xapian.i: Back out match spy changes in preparation
5314 for creating a branch for them.
5316 Sat Oct 27 06:05:56 BST 2007 Olly Betts <olly@survex.com>
5318 * csharp/SmokeTest.cs,ruby/smoketest.rb,tcl8/smoketest.tcl: Update for
5319 changed output for Query::get_description() for OP_SCALE_WEIGHT.
5321 Sat Oct 27 06:03:53 BST 2007 Olly Betts <olly@survex.com>
5323 * php/smoketest.php: Update for changed output for
5324 Query::get_description() for OP_SCALE_WEIGHT.
5326 Sat Oct 27 06:01:13 BST 2007 Olly Betts <olly@survex.com>
5330 Fri Oct 26 18:10:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5332 * python/docs/examples/simpleexpand.py,
5333 python/docs/examples/simplematchdecider.py,
5334 python/docs/examples/simplesearch.py: Change from using the
5335 old-style MSET_* constants to access the mset item values to the
5336 new-style attribute based method.
5338 Fri Oct 26 17:56:32 BST 2007 Olly Betts <olly@survex.com>
5340 * python/docs/index.html: Document MSET_DOCUMENT.
5342 Fri Oct 26 01:08:50 BST 2007 Olly Betts <olly@survex.com>
5344 * python/: Add xapian.pyo to svn:ignore.
5346 Fri Oct 26 01:04:47 BST 2007 Olly Betts <olly@survex.com>
5348 * python/smoketest.py: Update for changed output from
5349 Query::get_description().
5351 Thu Oct 25 18:11:40 BST 2007 Olly Betts <olly@survex.com>
5353 * php/Makefile.am: The php4 and php5 .cc and .h files are no longer
5354 identical so don't bother carefully interleaving them as it doesn't
5355 help the tarball compress better now.
5356 * php/Makefile.am: Use $(datadir) instead of $(datarootdir) so that
5357 the RPM spec file works with older versions of autoconf.
5359 Tue Oct 23 16:19:15 BST 2007 Olly Betts <olly@survex.com>
5361 * csharp/docs/Makefile.am,php/docs/Makefile.am,python/docs/Makefile.am,
5362 ruby/docs/Makefile.am,tcl8/docs/Makefile.am: Update for the
5363 bindings.html -> index.html change.
5365 Tue Oct 23 16:18:09 BST 2007 Olly Betts <olly@survex.com>
5367 * python/util.i: Fix warning with Python <= 2.4 and GCC >= 4.2.
5369 Mon Oct 22 22:45:08 BST 2007 Olly Betts <olly@survex.com>
5371 * csharp/docs/bindings.html,php/docs/bindings.html,
5372 python/docs/bindings.html,ruby/docs/bindings.html,
5373 tcl8/docs/bindings.html: Rename 'bindings.html' to 'index.html'.
5375 Mon Oct 22 22:34:42 BST 2007 Olly Betts <olly@survex.com>
5377 * python/docs/bindings.html: "character set" -> "character encoding".
5379 Wed Oct 17 00:49:39 BST 2007 Olly Betts <olly@survex.com>
5381 * NEWS: Update with changes due to using a newer SWIG SVN snapshot.
5383 Tue Oct 09 22:14:03 BST 2007 Olly Betts <olly@survex.com>
5387 Tue Oct 09 22:01:57 BST 2007 Olly Betts <olly@survex.com>
5389 * php/util.i: For PHP4, wrap Xapian::sortable_serialise() as
5390 xapian_sortable_serialise() and Xapian::sortable_unserialise() as
5391 xapian_sortable_unserialise().
5392 * php/docs/bindings.html: Document how non-class functions are
5395 Tue Oct 09 00:00:53 BST 2007 Olly Betts <olly@survex.com>
5397 * php/: Fix wrapping of NumberValueRangeProcessor for PHP4 - SWIG
5398 sees the Xapian::v102 namespace, but doesn't understand the
5399 "using" directive. Also split the regression test for bug#193
5400 into separate versions for PHP4 and PHP5 as the previous version
5401 only worked for PHP5.
5403 Sun Oct 07 19:47:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5405 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5406 php/smoketest5.php,python/pythontest.py,python/smoketest.py,
5407 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian.i: Update for the
5408 change from OP_MULT_WEIGHT to OP_SCALE_WEIGHT.
5410 Mon Oct 01 00:38:21 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5412 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5413 php/smoketest5.php,python/smoketest.py,ruby/smoketest.rb,
5414 tcl8/smoketest.tcl: Add tests for OP_MULT_WEIGHT and
5415 corresponding constructor to smoketests.
5418 Sun Sep 30 23:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5420 * xapian.i: Add OP_MULT_WEIGHT, and the new constructor needed to
5422 * python/pythontest.py: Add simple test of OP_MULT_WEIGHT feature,
5423 and a more involved test which uses the value of
5424 MSet.get_max_possible() from an initial query to get the factor
5425 necessary to normalise the weights from a subquery, and then uses
5426 this factor in a second query with OP_MULT_WEIGHT.
5429 Sun Sep 30 21:16:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5431 * csharp/Makefile.am,python/extra.i,python/pythontest.py,
5432 python/util.i,xapian.i: Re-apply changes which needed more
5433 thought or more work before being included in a release.
5434 * NEWS: Update with current descriptions of these changes.
5436 Sat Sep 29 01:29:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5438 * ruby/smoketest.rb: Change name of test for metadata to avoid
5439 collision with matchdecider test (and to be correctly
5442 Fri Sep 28 18:33:09 BST 2007 Olly Betts <olly@survex.com>
5444 * NEWS: Update for 1.0.3.
5446 Fri Sep 28 18:06:58 BST 2007 Olly Betts <olly@survex.com>
5448 * INSTALL,configure.ac: Allow the user to specify TCL_LIB=... on the
5449 configure command line to override autodetection.
5450 * Makefile.am: Automatically set up DISTCHECK_CONFIGURE_FLAGS so that
5451 "make distcheck" passes without user intervention, and remove the
5452 now redundant EXTRADISTCHECK_CONFIGURE_FLAGS variable.
5453 * INSTALL: Remove documentation for EXTRADISTCHECK_CONFIGURE_FLAGS.
5454 * INSTALL: Fix cut-and-paste error - the documentation for how to
5455 install the tcl module without root access suggested installing them
5456 in a directory named "my-python-modules"!
5458 Fri Sep 28 13:48:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5460 * python/smoketest.py: Test behaviour of empty metadata keys.
5462 Fri Sep 28 13:18:34 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5464 * csharp/SmokeTest.cs,ruby/smoketest.rb: Add tests for metadata
5467 Fri Sep 28 13:08:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5469 * xapian.i: Add support for get_metadata() and set_metadata() to
5471 * php/smoketest.php,python/smoketest.py: Add simple tests of
5474 Fri Sep 28 03:54:19 BST 2007 Olly Betts <olly@survex.com>
5476 * configure.ac: Update for 1.0.3. Use ustar format for tarball since
5477 we have to for xapian-core anyway.
5479 Fri Sep 28 03:46:22 BST 2007 Olly Betts <olly@survex.com>
5481 * csharp/Makefile.am,python/extra.i,python/pythontest.py,python/util.i,
5482 xapian.i: Back out changes for 1.0.3 corresponding to changes backed
5483 out for xapian-core.
5485 Fri Sep 28 03:43:56 BST 2007 Olly Betts <olly@survex.com>
5487 * csharp/util.i: Ignore ValueRangeProcessor::operator(), since
5488 we don't usefully wrap it at present.
5490 Fri Sep 28 03:38:22 BST 2007 Olly Betts <olly@survex.com>
5492 * configure.ac: Fix reversed sense tests for user overrides of
5493 RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH.
5495 Wed Sep 26 11:50:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5497 * python/testsuite.py: Add a "runonly" parameter to runtests(),
5498 allowing the set of tests to run to be specified.
5499 * python/pythontest.py: Use any commandline arguments to populate
5500 the "runonly" parameter, allowing the tests to run to be
5501 specified on the command line.
5503 Fri Sep 21 16:47:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5505 * python/docs/bindings.html: Suggest using Python version 2.4 or
5506 later if using mod-python: apparently, even with the
5507 "PythonInterpreter main_interpreter" workaround, mod-python gets
5508 into a deadlock with Xapian with Python 2.3.
5510 Wed Sep 19 16:11:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5512 * python/docs/bindings.html: Add documentation for python
5513 implementations of ValueRangeProcessors.
5515 Wed Sep 19 16:06:18 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5517 * python/pythontest.py,python/util.i: Implement conversion of the
5518 return value from ValueRangeProcessor subclasses implemented in
5519 Python from a tuple, so that such subclasses can change the
5520 values of begin and end.
5522 Wed Sep 19 14:11:22 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5524 * xapian.i: Add director directive for Xapian::ValueRangeProcessor,
5525 to allow implementations in the target language, where directors
5527 * python/generate-python-exceptions.in: Copy workaround for thread
5528 handling stuff for ValueRangeProcessor::operator().
5529 * python/pythontest.py: Add test_queryparser_custom_vrp() for
5530 ValueRangeProcessors implemented in Python, and clean up some of
5531 the other tests slightly.
5533 Wed Sep 19 00:46:31 BST 2007 Olly Betts <olly@survex.com>
5535 * python/util.i: Fix typo in comment.
5537 Tue Sep 18 19:59:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5539 * python/docs/bindings.html: Document the return value of
5540 ValueRangeProcessor.__call__()
5542 Tue Sep 18 19:42:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5544 * python/util.i,python/extra.i: Add support for
5545 ValueRangeProcessor.operator(); this is messy because we need to
5546 make special argout typemaps, and the parameter names (begin and
5547 end) are used for arguments of type "std::string&" elsewhere -
5548 therefore, we have to extend ValueRangeProcessor with a new
5549 __call() method with uniquely named arguments, and then override
5550 the original __call__ method with this (in the python code).
5551 ValueRangeProcessor.__call__() now returns a 3-tuple, (slotnum,
5552 begin, end) - previously, it always failed with a type error, so
5553 this won't break existing code. Fixes bug #193 for Python.
5554 * python/smoketest.py: Add test for DateValueRangeProcessor() when
5555 used in a query parser, a regression test for bug #193 (using a
5556 NumberValueRangeProcessor), and some other regression tests from
5559 Tue Sep 18 04:16:54 BST 2007 Olly Betts <olly@survex.com>
5561 * php/smoketest.php: Use single quotes for string with $ in.
5563 Tue Sep 18 04:09:55 BST 2007 Olly Betts <olly@survex.com>
5565 * php/smoketest.php: Add feature test for DateValueRangeProcessor
5566 when used with QueryParser.
5567 * php/smoketest.php: Add regression test for bug#193 which is fixed
5570 Tue Sep 18 04:03:11 BST 2007 Olly Betts <olly@survex.com>
5572 * php/util.i: Remove typemap for std::string which is no longer needed
5573 since SWIG now has the same version.
5575 Sun Sep 16 20:46:48 BST 2007 Olly Betts <olly@survex.com>
5577 * python/Makefile.am: Need to clean up testsuite.pyc too.
5579 Sun Sep 16 12:17:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5581 * java/native/Makefile.am: Change $(jnilib) to $(jnidir) in
5582 uninstall-local rule - there's no such variable as jnilib, so I
5583 think this was a typo.
5585 Sun Sep 16 04:26:02 BST 2007 Olly Betts <olly@survex.com>
5587 * java/org/xapian/Makefile.am: Rewrite comment I can't parse. Rename
5588 INNERCLASS_FILES to XAPIAN_INNER_CLASS_FILES for consistency.
5590 Sun Sep 16 04:22:16 BST 2007 Olly Betts <olly@survex.com>
5592 * java/native/org_xapian_XapianJNI.h,java/org/xapian/Xapian.java,
5593 java/org/xapian/XapianJNI.java: Remove wrappers for the Muscat36
5594 backend, which has now been dropped from the C++ library.
5596 Sun Sep 16 04:03:30 BST 2007 Olly Betts <olly@survex.com>
5598 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5599 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Restore the
5600 install-data-hook rules, and add uninstall-local rules so that
5601 "make uninstall" works (which also allows it to work for java on
5604 Sun Sep 16 00:00:27 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5606 * java/org/xapian/Makefile.am: Add list of files generated from
5607 inner classes to CLEANFILES. (Don't add them to noinst_DATA
5608 because there's no obvious rule which generates them, and adding
5609 them to noinst_DATA would make them prerequisites for the
5612 Sat Sep 15 23:39:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5614 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5615 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Remove
5616 install-data-hook rules which removed the installed .la files -
5617 these are needed for "make uninstall" to work (and hence, also
5618 for make distcheck to work).
5620 Sat Sep 15 23:13:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5622 * Makefile.am: Add support for a user-specified
5623 "EXTRADISTCHECK_CONFIGURE_FLAGS" variable, used to pass extra
5624 DISTCHECK_CONFIGURE_FLAGS to make to be passed to the configure
5625 run in distcheck. Users can't just set DISTCHECK_CONFIGURE_FLAGS
5626 because this would override the default value (which sets
5627 XAPIAN_CONFIG): unlike the more common options, there doesn't
5628 seem to be an AM_DISTCHECK_CONFIGURE_FLAGS variable for the
5630 * INSTALL: Document use of EXTRADISTCHECK_CONFIGURE_FLAGS.
5632 Tue Sep 04 02:47:17 BST 2007 Olly Betts <olly@survex.com>
5634 * php/docs/bindings.html: Fix errors in example code.
5636 Sun Aug 26 16:12:49 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5638 * csharp/Makefile.am: Fix changed assembly name, to match change in
5639 type of result of MatchSpy::get_values()
5641 Sun Aug 26 16:07:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5643 * python/util.i: Change size_t to Xapian::doccount in
5644 value_map_to_dict, to match ValueCountMatchSpy::get_values().
5645 Fixes compilation on atreus (and hopefully other 64 bit systems).
5647 Sat Aug 25 17:09:33 BST 2007 Olly Betts <olly@survex.com>
5649 * php/smoketest.php: Add regression test for bug#192.
5651 Fri Aug 24 12:13:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5653 * README,python/docs/bindings.html: Add a note about the problems
5654 with mod-python, as described in bug #185.
5656 Thu Aug 23 23:10:16 BST 2007 Olly Betts <olly@survex.com>
5658 * configure.ac: Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the
5659 environment. The defaults for RUBY_LIB and RUBY_LIB_ARCH are now
5660 the site-specific directories (which is more correct when building
5661 from source - debian packages, etc can override this by setting
5662 RUBY_LIB and RUBY_LIB_ARCH).
5663 * INSTALL: Update the instructions for installing Ruby bindings
5664 without root access to use RUBY_LIB and RUBY_LIB_ARCH.
5666 Fri Aug 03 20:13:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5668 * python/util.i: Extend StringListUnserialiser to support the same
5669 comparison operators as other iterator wrapping classes.
5671 Fri Aug 03 20:12:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5673 * xapian.i: Add %ignore and %extend commands to wrap the
5674 StringListUnserialiser iterator properly.
5676 Tue Jul 17 13:21:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5678 * python/pythontest.py: Add test of TermCountMatchSpy.get_top_terms().
5680 Tue Jul 17 12:31:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5682 * python/extra.i: Add workaround to keep a python reference to any
5683 match deciders supplied to MultipleMatchDecider, to ensure they
5684 don't get deleted too soon.
5685 * python/pythontest.py: Add test of MultipleMatchDecider.
5687 Tue Jul 17 11:30:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5689 * python/pythontest.py: Remove test of get_most_frequent_items() which
5690 is no longer a public function.
5691 * python/util.i: Update comments.
5693 Sat Jul 14 00:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5695 * csharp/Makefile.am: Add new generated source files to build.
5697 Sat Jul 14 00:23:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5699 * python/extra.i,python/util.i: Instead of convering the output of
5700 ValueCountMatchSpy::get_values() to a dict, add a separate method
5701 get_values_as_dict() which returns a dict(), and leave
5702 get_values() returning a C object, which can then be passed to
5703 get_most_frequent_items(). Similarly for
5704 TermCountMatchSpy::get_terms_as_dict(). Adjust argout typemap for
5705 return of old class "ValueAndFreqnecy" to use new name
5706 "StringAndFrequency".
5707 * python/pythontest.py: Convert old test of TopValueMatchSpy to
5708 test ValueCountMatchSpy and TermCountMatchSpy.
5710 Thu Jul 12 07:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5712 * python/util.i: Change some error handling to use SWIG_fail
5713 instead of "return NULL" - allows any cleanup code that SWIG adds
5714 to be called (no functional change in the generated code at
5715 present). Add typemaps to convert the output of
5716 ValueCountMatchSpy::get_values() into a dict, and the output of
5717 TopValueMatchSpy::get_top_values() into a list.
5718 * python/pythontest.py: Add tests for the matchspies (though not
5719 with an actual search - the tests just simulate the matchspies
5720 being called with some documents).
5722 Sat Jul 07 11:09:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5724 * xapian-bindings.spec.in: Update from Fabrice Colin: packages
5725 xapian.php, and replaces references to /usr/share with
5728 Thu Jul 05 21:01:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5730 * xapian.i: Wrap MatchDecider even for languages which don't
5731 support directors, since there's a C++ subclass of it now so it's
5734 Thu Jul 05 18:24:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5736 * xapian.i: %include matchspy.h - doesn't seem to need any
5739 Thu Jul 05 15:33:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5741 * python/pythontest.py: Delete the database handles before deleting
5742 a database - hopefully, this will fix problems on windows (bug
5745 Thu Jul 05 00:55:15 BST 2007 Olly Betts <olly@survex.com>
5747 * NEWS: Final update for 1.0.2.
5749 Wed Jul 04 21:21:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5751 * NEWS: Update with release date for release 1.0.2
5753 Wed Jul 04 20:42:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5755 * configure.ac: Bump version to 1.0.2.
5757 Wed Jul 04 19:52:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5761 Wed Jul 04 19:51:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5763 * xapian.i: Add the new matchspy form of get_mset.
5765 Wed Jul 04 17:58:13 BST 2007 Olly Betts <olly@survex.com>
5769 Wed Jul 04 17:48:38 BST 2007 Olly Betts <olly@survex.com>
5771 * php/Makefile.am: Install xapian.php.
5773 Wed Jul 04 17:44:59 BST 2007 Olly Betts <olly@survex.com>
5775 * java-swig/Makefile.am: Update for ValueRangeProcessor classes.
5777 Wed Jul 04 17:42:34 BST 2007 Olly Betts <olly@survex.com>
5779 * php/util.i: Rename the ValueRangeProcessor subclasses and
5780 TermGenerator to have a Xapian prefix for PHP4.
5782 Wed Jul 04 17:41:36 BST 2007 Olly Betts <olly@survex.com>
5784 * xapian-bindings.spec.in: Don't mention %makeinstall in a comment as
5785 that makes RPM explode. Add in a missing "mv" for installing tcl8
5788 Wed Jul 04 17:39:26 BST 2007 Olly Betts <olly@survex.com>
5790 * INSTALL: Remove documentation of the "phpextdir" and "pylibdir" ways
5791 of installing a local copy - setting PHP_EXTENSION_DIR or PYTHON_LIB
5792 at configure time is a better solution.
5794 Wed Jun 27 14:16:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5798 Wed Jun 27 14:15:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5800 * python/pythontest.py: Add tests of the Database.spellings()
5803 Wed Jun 27 14:13:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5807 Tue Jun 26 17:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5809 * python/extra.i,xapian.i: Add support for spellings_begin(), and
5810 add a python-specific term iterator for it, accessed as
5811 Database.spellings()
5813 Tue Jun 26 00:56:03 BST 2007 Olly Betts <olly@survex.com>
5815 * xapian.i: Fix for document.h wrapping.
5817 Tue Jun 26 00:01:38 BST 2007 Olly Betts <olly@survex.com>
5819 * xapian.i: Parse xapian/postingiterator.h directly.
5821 Mon Jun 25 23:21:45 BST 2007 Olly Betts <olly@survex.com>
5823 * xapian.i: Parse xapian/document.h directly.
5825 Mon Jun 25 18:07:36 BST 2007 Olly Betts <olly@survex.com>
5827 * xapian.i: Use "%include <xapian/queryparser.h>" to wrap
5828 Xapian::QueryParser, etc. This adds FLAG_SYNONYM and updates
5829 FLAG_MULTIWORD_SYNONYMS.
5831 Sat Jun 23 19:02:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5833 * xapian.i: Add new synonym_keys_begin() and synonym_keys_end()
5834 methods to Database.
5835 * python/extra.i: Add synonym_keys() python iterator to Database.
5836 * python/pythontest.py: Test synonym_keys() iterator, and tidy up
5837 earlier test for synonyms()
5839 Fri Jun 22 18:43:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5841 * xapian.i: Add synonym support: new methods on Database and
5842 WritableDatabase, and some new flags for the query parser.
5843 * python/extra.i: Add Database.synonyms, to iterator the synonyms
5845 * python/pythontest.py: Add a test for synonym iterators, and clean
5846 up after the tests which make their own databases.
5848 Wed Jun 20 21:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5850 * python/pythontest.py: Enable the spelling test, and also make it
5851 check that spellings can be corrected using a writable database
5852 before calling flush().
5854 Wed Jun 20 17:33:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5856 * python/pythontest.py: Add a test of the spelling stuff (at the
5857 database layer, not the queryparser layer yet). Currently fails,
5858 so has a "return" as the first line until it's fixed.
5860 Wed Jun 20 12:54:23 BST 2007 Olly Betts <olly@survex.com>
5862 * csharp/Makefile.am: Fix parallel make handling to include
5865 Wed Jun 20 08:11:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5867 * xapian.i: Add spelling correction methods and constants:
5868 Database::get_spelling_suggestion(),
5869 WritableDatabase::add_spelling() and remove_spelling(),
5870 QueryParser::FLAG_SPELLING_CORRECTION and
5871 QueryParser::get_corrected_query_string()
5873 Mon Jun 18 13:54:19 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5875 * xapian.i: Add the new static methods in NumberValueRangeProcessor
5876 for serialising and unserialising doubles to the bindings.
5878 Mon Jun 18 03:27:58 BST 2007 Olly Betts <olly@survex.com>
5880 * INSTALL: "--with-swig" has been removed, so don't mention it.
5882 Sun Jun 17 09:39:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5884 * configure.ac: Similarly, for PHP, respect a value of
5885 PHP_EXTENSION_DIR supplied to configure, and add it to the --help
5887 * INSTALL: Document PHP_EXTENSION_DIR (and tweak documentation for
5888 Python equivalent slightly).
5890 Sun Jun 17 09:23:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5892 * configure.ac: Respect the value of PYTHON_LIB supplied to
5893 configure; it was listed in the output of ./configure --help, but
5894 the value supplied was ignored.
5895 * HACKING: Document setting PYTHON_LIB as an alternative way to
5896 specify the python install location (at configure time instead of
5899 Sat Jun 16 11:06:59 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5901 * Makefile.am: Pass value of XAPIAN_CONFIG to distcheck, to ensure
5902 that it works with uninstalled copies of Xapian.
5904 Thu Jun 14 18:42:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5906 * python/generate-python-exceptions.in: Fix a threading problem:
5907 the GIL was not being re-acquired when an exception was thrown
5908 before setting the Python exception state. This was causing
5909 various memory corruption symptoms. Fixed by explicitly calling
5910 SWIG_PYTHON_THREAD_END_ALLOW() in the catch() clause (except for
5911 directory classes); this is a bit ugly, but I can't see how SWIG
5912 could be fixed to do this automatically, since it doesn't know
5913 what's going on in the "exception" clause.
5915 Tue Jun 12 02:46:01 BST 2007 Olly Betts <olly@survex.com>
5917 * python/smoketest.py,python/testsuite.py: Tweak expect_query() to add
5918 "Xapian::Query(" and ")" around the expected description.
5919 * python/smoketest.py: Add test case for OP_VALUE_RANGE query.
5921 Mon Jun 11 03:58:50 BST 2007 Olly Betts <olly@survex.com>
5923 * NEWS: Improve wording.
5925 Mon Jun 11 03:16:20 BST 2007 Olly Betts <olly@survex.com>
5927 * NEWS: Probably final update for 1.0.1.
5929 Mon Jun 11 03:08:13 BST 2007 Olly Betts <olly@survex.com>
5931 * python/docs/examples/: Update to use QueryParser and TermGenerator.
5933 Mon Jun 11 02:23:02 BST 2007 Olly Betts <olly@survex.com>
5935 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
5936 csharp/docs/examples/SimpleExpand.cs: Add SimpleExpand
5939 Mon Jun 11 01:23:52 BST 2007 Olly Betts <olly@survex.com>
5941 * xapian-bindings.spec.in: Use "make install" instead of %makeinstall
5942 to avoid doubled %{buildroot} prefix on most files which we then
5943 have to work around.
5945 Mon Jun 11 01:11:31 BST 2007 Olly Betts <olly@survex.com>
5947 * csharp/docs/examples/SimpleIndex.cs,
5948 csharp/docs/examples/SimpleSearch.cs: Update to use QueryParser and
5950 * csharp/docs/bindings.html: Document explicitly how STEM_SOME, etc
5951 are currently wrapped. Update GetTermName() reference to GetTerm().
5953 Sun Jun 10 22:01:47 BST 2007 Olly Betts <olly@survex.com>
5955 * configure.ac: Drop automake requirement to 1.8.3 to allow RPM spec
5956 file to work on SLES 9.
5958 Sun Jun 10 21:50:28 BST 2007 Olly Betts <olly@survex.com>
5960 * configure.ac: Bump version to 1.0.1.
5962 Fri Jun 08 20:40:00 BST 2007 Olly Betts <olly@survex.com>
5964 * ruby/docs/examples/: Update to use TermGenerator and QueryParser
5967 Fri Jun 08 20:10:42 BST 2007 Olly Betts <olly@survex.com>
5969 * ruby/util.i: Add missing rename for TermGenerator::set_document()
5970 so it can be used as "tg.document = doc" in Ruby.
5972 Thu Jun 07 01:06:17 BST 2007 Olly Betts <olly@survex.com>
5976 Thu Jun 07 01:01:05 BST 2007 Olly Betts <olly@survex.com>
5978 * configure.ac: Note new required SWIG SVN rev.
5980 Thu Jun 07 00:58:08 BST 2007 Olly Betts <olly@survex.com>
5982 * php/docs/examples/: Fix simpleexpand examples to put up to 5
5983 documents in the fake RSet as the comments say, not 4 as the
5984 code incorrectly did!
5985 * php/docs/examples/: Fix exception reporting in PHP5 examples.
5987 Thu Jun 07 00:49:23 BST 2007 Olly Betts <olly@survex.com>
5989 * tcl8/docs/examples/simpleindex.tcl,
5990 tcl8/docs/examples/simplesearch.tcl: Update to use TermGenerator
5991 and QueryParser, and to more closely match the new C++ versions.
5992 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate
5993 relevance feedback, based on C++ simpleexpand.cc.
5994 * tcl8/docs/bindings.html: Add link to new simpleexpand.tcl example.
5996 Thu Jun 07 00:05:25 BST 2007 Olly Betts <olly@survex.com>
5998 * php/docs/examples/: Fix missing "\n" in error message when we're run
5999 under a non-CLI version of PHP.
6001 Thu Jun 07 00:02:33 BST 2007 Olly Betts <olly@survex.com>
6003 * tcl8/runtest.tcl: Fix exit handling to work if the called script
6006 Thu Jun 07 00:00:17 BST 2007 Olly Betts <olly@survex.com>
6008 * tcl8/docs/bindings.html: Document how constants are wrapped.
6010 Wed Jun 06 23:47:03 BST 2007 Olly Betts <olly@survex.com>
6012 * tcl8/runtest.tcl: Enhance to allow calling a script with command
6013 line arguments (useful for testing the examples).
6015 Wed Jun 06 22:39:01 BST 2007 Olly Betts <olly@survex.com>
6017 * configure.ac: Note the SWIG SVN revision currently recommended.
6019 Wed Jun 06 12:34:18 BST 2007 Olly Betts <olly@survex.com>
6021 * php/docs/examples/: Rewrite examples to closely model the new C++
6024 Tue Jun 05 17:23:17 BST 2007 Olly Betts <olly@survex.com>
6026 * configure.ac: Fix comment typo.
6028 Mon Jun 04 17:48:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6030 * configure.ac,python/Makefile.am,python/util.i: Patch from James
6031 Aylett (slightly adapted) to avoid building doccoments.i in
6032 maintainer builds with --disable-documentation specified. In
6033 this situation, the generated python bindings won't have the
6034 doccomments extracted by doxygen from the xapian headers, but
6035 they will compile and work.
6037 Fri Jun 01 12:54:28 BST 2007 Olly Betts <olly@survex.com>
6039 * xapian.i: Remove "#ifndef SWIGGUILE" around a Query constructor -
6040 if anyone revives the guile bindings, they'll probably need to
6041 sort this out, but this "fix" certainly isn't correct.
6043 Fri Jun 01 12:53:36 BST 2007 Olly Betts <olly@survex.com>
6045 * guile/Makefile.am: Fix out-of-date "include". Use $(SWIG_CXXFLAGS)
6046 not @SWIG_CXXFLAGS@.
6048 Fri Jun 01 10:32:40 BST 2007 Olly Betts <olly@survex.com>
6050 * python/Makefile.am: Generate and install xapian.pyo.
6052 Thu May 31 19:15:58 BST 2007 Olly Betts <olly@survex.com>
6054 * configure.ac: Relax automake requirement to 1.9.2 to allow RPM
6057 Thu May 31 18:44:55 BST 2007 Olly Betts <olly@survex.com>
6059 * INSTALL,NEWS,README,configure.ac,java/README: Change "MacOS X" to
6062 Thu May 31 17:59:25 BST 2007 Olly Betts <olly@survex.com>
6064 * java-swig/Makefile.am: Use JAVA_CPPFLAGS so we find jni.h.
6066 Thu May 31 14:52:07 BST 2007 Olly Betts <olly@survex.com>
6068 * configure.ac: Automatically add an extra "-I" for the
6069 linux/solaris/win32 subdirectory which Sun's JDK requires.
6070 * java/README: Remove note saying that the user may have to do this
6073 Thu May 31 13:11:56 BST 2007 Olly Betts <olly@survex.com>
6075 * java-swig/Makefile.am: Distribute the generated .java sources.
6077 Thu May 31 12:34:25 BST 2007 Olly Betts <olly@survex.com>
6079 * configure.ac: Document JAVA_HOME and JDK_HOME in ./configure --help
6080 and mark their values as "precious" so they are preserved for when
6081 configure is automatically rerun.
6083 Wed May 30 23:54:23 BST 2007 Olly Betts <olly@survex.com>
6085 * python/smoketest.py: Update uses of the legacy sequence API.
6086 * python/pythontest.py: The legacy sequence API is only supported for
6087 Python 2.3 and later, so don't run tests for it when running under
6090 Wed May 30 22:27:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6092 * python/pythontest.py,python/smoketest.py: Revert the earlier
6093 change to the expected output from testcases which expect
6094 exceptions, in line with the new Error.__str__() method.
6096 Wed May 30 22:21:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6098 * python/generate-python-exceptions.in: Override the new default
6099 get_description() method in the Python bindings (which is renamed
6100 to __str__) with a similar method which doesn't include the type
6101 of the error message at the start of the error string. Python
6102 errors are almost always displayed preceded by the type of the
6103 error class, so this was causing the type of the error to be
6104 repeated in tracebacks and similar reports.
6106 Wed May 30 17:57:34 BST 2007 Olly Betts <olly@survex.com>
6108 * configure.ac: `configure --help' documented that environmental
6109 variable JNI_INCLUDE_DIR was looked at, but in fact its value
6110 was read but ignored. We now use it as the first place to
6113 Wed May 30 14:52:04 BST 2007 Olly Betts <olly@survex.com>
6115 * NEWS: Update. Add in all the standard subheadings. Fix all
6116 the "Xapian-core <version> (<date>):" headings to refer to
6117 "Xapian-bindings" instead.
6119 Wed May 30 13:20:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6121 * xapian.i: Wrap new forms of allterms_begin() and allterms_end()
6122 which take prefixes.
6123 * python/extra.i: Add support for prefix-restricted pythonic allterms
6125 * python/pythontest.py: Add test for new prefix-restricted allterms
6126 iterators. Update existing allterms text to set the context to
6129 Tue May 29 09:50:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6131 * python/docs/bindings.html: Update documentation in a couple of
6132 places to refer to updated replacements for MSetIterator.
6134 Tue May 29 09:49:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6136 * python/testsuite.py: Change testsuite output to be more
6137 vim-friendly (vim should be able to jump to the right lines now).
6139 Sun May 27 16:11:42 BST 2007 Olly Betts <olly@survex.com>
6141 * python/generate-python-exceptions.in: Remove __str__ method from
6142 %extend of Error class, since C++ now provides an
6143 Error::get_description() method which is automatically renamed to
6145 * python/pythontest.py,python/smoketest.py: New C++
6146 Error::get_description() method gives different output to the old
6147 Python-specific __str__, so update testcases to match.
6148 * python/generate-python-exceptions.in: Mark generated file using
6149 `@configure_input@'.
6151 Sun May 27 15:31:06 BST 2007 Olly Betts <olly@survex.com>
6153 * csharp/SmokeTest.cs: Update comment about Portable.NET bug - the bug
6154 is fixed in their CVS repo, and the fix should be in their 0.8.2
6157 Mon May 21 07:11:12 BST 2007 Olly Betts <olly@survex.com>
6159 * tcl8/docs/examples/simpleindex.tcl,
6160 tcl8/docs/examples/simplesearch.tcl: Need to update to
6161 "package require xapian 1.0.0" here too.
6163 Mon May 21 01:51:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6165 * xapian.i: Add Query constructor used to make ValueRange queries,
6166 which got missed out of the bindings.
6168 Fri May 18 12:59:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6170 * configure.ac,tcl8/Makefile.am,tcl8/pkgIndex.tcl.in: Generate
6171 tcl8/pkgIndex.tcl from a .in file, instead of using a special
6172 rule in tcl8/Makefile.am. Should make the dependencies more
6173 robust, and is generally cleaner.
6175 Fri May 18 09:16:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6177 * tcl8/smoketest.tcl: Update tcl smoketest.tcl to require version
6178 1.0.0 - it previously required 0.9.6, bug TCLs "package require"
6179 command doesn't accept differing major numbers, even if -exact
6181 * tcl8/Makefile.am: Add dependency on ../config.status to
6182 pkgIndex.tcl, so that it gets updated when the version number
6185 Thu May 17 22:27:08 BST 2007 Olly Betts <olly@survex.com>
6187 * NEWS: Final update before release.
6189 Thu May 17 22:10:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6191 * python/docs/bindings.html: Document iterators, and iterator
6192 properties, which have a problem with the lazy evaluation if the
6193 iterator has moved before the evaluation happens. Add a title to
6194 the table of equivalents to the old Sequence API.
6196 Thu May 17 21:51:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6198 * NEWS: Update the Python entries.
6200 Thu May 17 19:52:05 BST 2007 Olly Betts <olly@survex.com>
6202 * NEWS: Sort out the easier Python entries, since Richard seems to
6203 have fallen off the net.
6205 Thu May 17 19:11:38 BST 2007 Olly Betts <olly@survex.com>
6207 * configure.ac: Bump version to 1.0.0.
6209 Thu May 17 17:28:35 BST 2007 Olly Betts <olly@survex.com>
6213 Thu May 17 17:25:39 BST 2007 Olly Betts <olly@survex.com>
6215 * ruby/docs/bindings.html: Remove "beta quality" warning - the Ruby
6216 bindings seem as solid as the others and no problems have been
6218 * ruby/docs/bindings.html: Add section on Unicode support.
6220 Thu May 17 17:25:06 BST 2007 Olly Betts <olly@survex.com>
6222 * php/docs/bindings.html: Tweak the linked text.
6224 Thu May 17 16:41:19 BST 2007 Olly Betts <olly@survex.com>
6226 * NEWS: Minor fixes from Jenny's proofreading.
6228 Thu May 17 15:49:14 BST 2007 Olly Betts <olly@survex.com>
6230 * NEWS: Updated for 1.0.0 except for the Python changes.
6232 Thu May 17 15:48:16 BST 2007 Olly Betts <olly@survex.com>
6234 * php/smoketest.php: The PHP5 overloading issue was fixed in 0.9.10.1
6235 not 0.9.10, so update a comment to reflect this.
6237 Wed May 16 09:21:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6239 * csharp/Makefile.am,xapian.i: Add ValueRangeProcessors to the
6240 bindings, and add the OP_VALUE_RANGE query operator.
6242 Tue May 15 17:47:30 BST 2007 Olly Betts <olly@survex.com>
6244 * README: Tweak wording.
6245 * csharp/docs/bindings.html: Document Unicode support.
6247 Tue May 15 16:42:32 BST 2007 Olly Betts <olly@survex.com>
6249 * HACKING,README: Various updates.
6251 Tue May 15 04:58:21 BST 2007 Olly Betts <olly@survex.com>
6253 * python/docs/bindings.html: Reword "This is being changed to [...]".
6255 Tue May 15 04:41:15 BST 2007 Olly Betts <olly@survex.com>
6257 * tcl8/docs/bindings.html: Add Unicode section, documenting the issue
6260 Tue May 15 04:35:10 BST 2007 Olly Betts <olly@survex.com>
6262 * php/docs/bindings.html: Add note about Unicode support.
6264 Mon May 14 19:42:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6266 * python/smoketest.py: Fix query tests to match the output of the
6269 Mon May 14 16:16:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6271 * python/docs/bindings.html: Fix typo - NFKC is definitely probably
6274 Mon May 14 15:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6276 * python/pythontest.py,python/smoketest.py: Fix pythontest and
6277 smoketest to expect what I think should be the correct output.
6278 smoketest still doesn't pass, sadly, because the PARTIAL option
6279 isn't fully implemented for the new scheme yet.
6281 Sun May 13 04:55:30 BST 2007 Olly Betts <olly@survex.com>
6283 * java/org/xapian/XapianJNI.java,tcl8/docs/bindings.html: "writeable"
6286 Sun May 13 04:50:13 BST 2007 Olly Betts <olly@survex.com>
6288 * python/docs/bindings.html: "agnositc" -> "agnostic", and capitalise
6289 "Xapian" for consistency.
6291 Sat May 12 22:04:07 BST 2007 Olly Betts <olly@survex.com>
6293 * configure.ac: If SWIG has been explicitly specified (in the
6294 environment or with `./configure SWIG=xxx') then downgrade the
6295 AC_MSG_ERROR() if the version is wrong to a warning. Also,
6296 if no version is read, then say "(you have an unknown version)"
6297 rather than "(you have )".
6299 Thu May 10 18:18:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6301 * tcl8/except.i: Fix for change to return type of
6304 Wed May 09 17:20:25 BST 2007 Olly Betts <olly@survex.com>
6306 * csharp/Makefile.am: Add TermGenerator.cs to list of generated C#
6309 Wed May 09 16:44:50 BST 2007 Olly Betts <olly@survex.com>
6311 * java-swig/Makefile.am: Update for TermGenerator class.
6312 * ./: Update svn:ignore for TermGenerator class and xapian_wrap.stamp.
6314 Tue May 08 19:58:04 BST 2007 Olly Betts <olly@survex.com>
6316 * configure.ac: Fix incorrect second reference to SWIG SVN revision number
6317 needed. Add comment noting what we need perl for.
6319 Tue May 08 19:56:11 BST 2007 Olly Betts <olly@survex.com>
6321 * xapian.i: %include <xapian/deprecated.h> rather than assuming things
6322 about how it is implemented.
6324 Tue May 08 19:37:53 BST 2007 Olly Betts <olly@survex.com>
6326 * ruby/util.i: Deine SWIG_NO_EXPORT_ITERATOR_METHODS to suppress
6327 SWIG's new iterator support for Ruby which we don't use.
6329 Tue May 08 15:59:02 BST 2007 Olly Betts <olly@survex.com>
6331 * xapian.i: Tell SWIG about XAPIAN_DEPRECATED() earlier so that it
6332 copes with XAPIAN_DEPRECATED() being used in xapian/error.h.
6334 Tue May 08 15:50:21 BST 2007 Olly Betts <olly@survex.com>
6336 * xapian.i: Removed lingering reference to PYTHON_OLDE.
6338 Mon May 07 11:01:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6340 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6341 python/Makefile.am,ruby/Makefile.am: Fix rules with multiple
6342 targets to recover from the removal of one or more of the targets
6343 without removing the stamp file, as detailed in the automake
6346 Sun May 06 16:03:12 BST 2007 Olly Betts <olly@survex.com>
6348 * configure.ac: Set version to mythical 0.9.99.
6350 Fri May 04 20:00:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6352 * python/smoketest.py,xapian.i: Add TermGenerator to bindings, and
6353 a basic python smoketest (which currently fails, I think due to a
6354 bug in the TermGenerator).
6356 Fri Apr 27 09:28:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6358 * xapian.i: Add third overloaded form of parse_query, which allows
6359 the "default_prefix" argument to be supplied.
6361 Thu Apr 26 16:48:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6363 * python/extra.i: Change quotes on `start` to make epydoc happy.
6365 Thu Apr 26 15:29:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6367 * python/extra.i: Change termlist iterators which returned items in
6368 which only the term could be accessed to return the term directly.
6369 May break some old applications, but all the applications I've
6370 seen were just calling the internal iterator to get this
6371 behaviour anyway, and ignoring the sequence API method. Now is
6372 the only time this can be cleaned up, really. Allows idioms like
6373 ','.join(enq.matching_terms) to work.
6374 Also, change MSet.get_hit() to return an MSetItem instead of an
6375 MSetIterator: allows all our work on lazy access to be used. Add
6376 deprecated methods to MSetItem to allow code which was expecting
6377 an MSetIterator to work (for now).
6378 * python/pythontest.py: Change tests not to use deprecated
6379 features, except in marked sections designed for that purpose.
6380 Test out-of-range access to MSets (used to cause a crash).
6381 Adjust tests for termlists which return strings.
6382 * python/smoketest.py: Change reference to deprecated
6383 Enquire.get_matching_terms() to Enquire.matching_terms()
6385 Mon Apr 23 23:10:41 BST 2007 Olly Betts <olly@survex.com>
6387 * python/smoketest.py,xapian.i: Wrap Enquire::INCLUDE_QUERY_TERMS
6388 and Enquire::USE_EXACT_TERMFREQ.
6390 Mon Apr 23 20:48:43 BST 2007 Olly Betts <olly@survex.com>
6392 * xapian.i: Correct out-of-date comment.
6394 Mon Apr 23 17:20:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6396 * python/extra.i: Change code which sets __all__ to non-functional
6397 style syntax, because we want to support python 2.2 and 2.3.
6399 Mon Apr 23 15:54:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6401 * python/extra.i: Set __docformat__ and __all__ to make output from
6402 "help" and tools like epydoc nicer. __all__ is set by filtering
6403 the symbols returned by dir(), so the value it's set to shouldn't
6404 need much maintenance. Setting __all__ also makes it more
6405 reasonable to do "from xapian import *", but that's probably not
6406 really a good idea in anything but the simplest script.
6408 Mon Apr 23 13:59:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6410 * python/Makefile.am: Add -threads flag to SWIG command when
6411 generating python bindings: threads are used in so many python
6412 applications these days that we really need to support them.
6413 Hopefully fixes bugs #137.
6415 Mon Apr 23 12:58:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6417 * README: Mention that PHP now builds with MSVC, and remove comment
6418 that Python 2.0 and 2.1 could be made to work - it would be quite
6421 Mon Apr 23 12:56:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6423 * python/testsuite.py: Add extra VERBOSE=3 level, which displays
6424 the checks which were performed, even if they passed. Very
6425 useful for debugging code which unexpectedly segfaults.
6427 Mon Apr 23 11:34:47 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6429 * python/pythontest.py: Test exception which is thrown by a
6430 termlist from a freshly created document if the term frequency
6431 information is requested.
6433 Mon Apr 23 10:56:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6435 * python/extra.i: Change skip_to() methods to return item skipped
6436 to, and fix several bugs in them.
6437 * python/pythontest.py: Test skip_to() for termlists and posting
6440 Mon Apr 23 09:54:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6442 * python/extra.i: Fix documentation comments for TermListItem and
6443 improve code documentation. Implement support for lazy
6444 evaluation with posting lists.
6445 * python/pythontest.py: Test legacy sequence API for termlists, and
6446 fix small bug in test for document termlists (was passing, but
6447 not testing what it was meant to). Add new test for posting
6450 Sun Apr 22 21:14:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6452 * python/extra.i: Add documentation comments for position
6453 iterators and value iterators. Make value iterators return items
6454 with attributes, rather than arrays (using _SequenceMixIn to
6455 provide legacy interface, as for other iterators).
6456 * python/pythontest.py: Add tests for value and position iterators.
6458 Sun Apr 22 19:24:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6460 * csharp/Makefile.am,php/Makefile.am,python/Makefile.am,
6461 ruby/Makefile.am: Add xapian_wrap.stamp files to CLEANFILES when
6464 Sun Apr 22 17:50:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6466 * python/pythontest.py: Correct stoplist test to expect correct
6469 Sun Apr 22 00:13:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6471 * python/extra.i: Add documentation comments for queryparser
6472 stoplist and unstemlist.
6473 * python/pythontest.py: Add tests of stoplist and unstemlist
6476 Sat Apr 21 20:30:32 BST 2007 Olly Betts <olly@survex.com>
6478 * configure.ac: We require automake 1.9.5 for xapian-core, so require
6479 it here too for consistency. Turn on automake -Wportability option.
6481 Sat Apr 21 11:30:26 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6483 * python/extra.i: Change term iterators so that they can handle
6484 WDF and term frequency information either lazily or eagerly.
6485 Always handle positionlist information lazily. Return an error
6486 if the iterator has already moved on when a lazily accessed piece
6487 of information is requested. Set access to lazy or eager (or no
6488 access) for each item for each type of termlist iterator which
6489 can be returned, and document this in the documentation comments.
6490 This may impact some users of the legacy sequence API, but is
6491 likely to work for typical and reasonable usages of the API.
6492 Still needs to be documented in the python binding documentation
6494 * python/pythontest.py: Add tests for term iterators returned by
6495 matching terms, Query objects, alltermlists on databases,
6496 termlists on database, documents returned from databases, and
6497 newly created documents.
6499 Fri Apr 20 15:07:03 BST 2007 Olly Betts <olly@survex.com>
6501 * csharp/SmokeTest.cs,csharp/docs/bindings.html,
6502 java/native/Enquire.cc,xapian.i: Update for change of return type of
6503 MatchDecider::operator() and ExpandDecider::operator(). The only
6504 change visible in a wrapped language is in C# where the return type
6505 also changes from `int' to `bool'.
6506 * xapian.i: Where directors are supported, also wrap the alternative
6507 form of Enquire::get_eset() which doesn't take the flags or k
6509 * java-swig/util.i: Rename MatchDecider::operator() and
6510 ExpandDecider::operator() to `accept' in Java to match the JNI
6512 * java-swig/SmokeTest.java: Uncomment some more of the code which
6515 Fri Apr 20 10:48:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6517 * csharp/,ruby/: Ignore generated *.stamp files.
6519 Fri Apr 20 10:46:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6521 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6522 python/Makefile.am,ruby/Makefile.am: Add intermediate targets in
6523 all cases where swig generates multiple output files.
6525 Fri Apr 20 10:37:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6527 * python/Makefile.am: Add intermediate target when running swig, in
6528 line with comment recently added to xapian-core/HACKING regarding
6529 rules with multiple targets.
6531 Fri Apr 20 00:30:16 BST 2007 Olly Betts <olly@survex.com>
6533 * java-swig/util.i: Sort out typemap for the "Query from operator
6534 and array of Query objects" constructor.
6535 * java-swig/Makefile.am: Delete the "extra" .class files upon
6536 "make clean". Query$1.class seems to be useless, so don't
6537 include it in the .jar. Use perl to insert a call to load the JNI
6538 library automatically before we try to use it since SWIG doesn't
6539 seem to do this for us. Now "make check" passes, but with lots
6540 commented out still.
6542 Fri Apr 20 00:16:17 BST 2007 Olly Betts <olly@survex.com>
6544 * python/Makefile.am: Don't assume Perl is `perl' - use `$(PERL)'
6547 Thu Apr 19 22:37:05 BST 2007 Olly Betts <olly@survex.com>
6549 * java-swig/util.i: Rename get_description() methods to toString()
6552 Thu Apr 19 22:34:59 BST 2007 Olly Betts <olly@survex.com>
6554 * java-swig/Makefile.am: Fix bogus line-break in CLEANFILES.
6555 Add xapian_wrap.h to BUILT_SOURCES and swig running rule.
6557 Thu Apr 19 22:34:28 BST 2007 Olly Betts <olly@survex.com>
6559 * xapian.i: Query::get_description() is actually const.
6561 Thu Apr 19 18:20:59 BST 2007 Olly Betts <olly@survex.com>
6563 * java-swig/Makefile.am: Handle the extra .class files generated by
6566 Thu Apr 19 14:45:19 BST 2007 Olly Betts <olly@survex.com>
6568 * Makefile.am,configure.ac,java-swig/,xapian.i: First cut of Java
6569 bindings built using SWIG. Numerous things aren't wrapped in
6570 a compatible way (not sure if we can sensibly be 100% compatible
6571 anyway though) and 'make check' fails to run, but this has
6572 reached the stage where version control is needed.
6574 Thu Apr 19 00:41:25 BST 2007 Olly Betts <olly@survex.com>
6576 * ruby/docs/bindings.html: Note that C++ operator() becomes
6579 Wed Apr 18 23:35:52 BST 2007 Olly Betts <olly@survex.com>
6581 * ruby/util.i: Remove '%ignore' for deprecated methods we've now
6584 Wed Apr 18 23:32:35 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6586 * python/extra.i,python/pythontest.py: Fix legacy sequence API for
6589 Wed Apr 18 23:31:39 BST 2007 Olly Betts <olly@survex.com>
6591 * csharp/Makefile.am,java/org/xapian/Enquire.java,
6592 java/org/xapian/XapianJNI.java,ruby/util.i,xapian.i:
6593 Update for removal of Enquire::set_bias().
6595 Wed Apr 18 17:09:22 BST 2007 Olly Betts <olly@survex.com>
6597 * guile/util.i,python/extra.i,python/util.i,ruby/util.i,tcl8/except.i,
6598 tcl8/util.i: Sort out vim magic comments for all .i files.
6600 Wed Apr 18 16:41:37 BST 2007 Olly Betts <olly@survex.com>
6602 * python/: svn:ignore doccomments.i.
6604 Wed Apr 18 16:18:45 BST 2007 Olly Betts <olly@survex.com>
6606 * csharp/util.i,generic/except.i: Move C# specific exception stuff
6607 into C# specific file.i.
6608 * csharp/util.i: Add vim magic to use C++ highlighting (not perfect as
6609 this file also contains C# code, but better than vim's default for a
6612 Wed Apr 18 15:54:29 BST 2007 Olly Betts <olly@survex.com>
6614 * python/util.i: Use %inline to avoid duplicating MSET_DID, etc. Set
6617 Wed Apr 18 15:37:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6619 * python/doxy2swig.py.in: Fix issue with output from newer version
6620 of Doxygen which puts <ref/> nodes inside <parametername/> nodes.
6622 Wed Apr 18 02:34:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6624 * python/extra.i: Improve various documentation comments. Allow
6625 _SequenceMixIn to have default values for some parameters,
6626 instead of doing a lookup, to allow termlists and posting lists
6627 to return the fake values returned by the old sequence API. Add
6628 termlist iterators, and link them into the Enquire.matching_terms
6630 * python/pythontest.py: Add a check that xapian exceptions have
6631 Exception as a base class. Also, add a test of the new
6632 Enquire.matching_terms term iterators.
6634 Wed Apr 18 02:12:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6636 * README: Add comment about using gmcs and mcs.
6638 Wed Apr 18 02:01:43 BST 2007 Olly Betts <olly@survex.com>
6640 * configure.ac: Prefer gmcs to mcs when looking for a C# compiler
6641 since gmcs is the newer compiler targeting the 2.0 runtime.
6643 Wed Apr 18 01:12:39 BST 2007 Olly Betts <olly@survex.com>
6645 * csharp/util.i: Remove renaming exception for get_term - the
6646 automatic naming will handle that correctly.
6648 Wed Apr 18 00:29:57 BST 2007 Olly Betts <olly@survex.com>
6650 * java/native/Enquire.cc,java/native/Stem.cc: Update to use new
6651 C++ replacements for deprecated methods. The Java wrappers
6652 still provide the old deprecated names for now though.
6653 * ruby/smoketest.rb: For now, use @stem.call("foo").
6654 * ruby/util.i,xapian.i: Remove wrappers for deprecated methods and
6657 Wed Apr 18 00:15:40 BST 2007 Olly Betts <olly@survex.com>
6659 * python/Makefile.am: Need to distribute testsuite.py.
6661 Tue Apr 17 23:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6663 * python/util.i: add __str__ methods as aliases for the
6664 get_description() methods, and deprecate the get_description()
6667 Tue Apr 17 22:41:40 BST 2007 Olly Betts <olly@survex.com>
6669 * python/docs/examples/simpleexpand.py: Replace use of deprecated
6670 RSet::is_empty() with RSet::empty().
6672 Tue Apr 17 21:02:52 BST 2007 Olly Betts <olly@survex.com>
6674 * php/util.i,xapian.i: We need to keep is_empty() for PHP as empty()
6675 clashes with a reserved word! Refactor to use %rename in php/util.i
6676 instead of %ignore on empty() and a special is_empty() wrapper in
6678 * php/docs/bindings.html: Document renaming of empty() to
6679 is_empty() and clone() to clone_object().
6681 Tue Apr 17 19:57:03 BST 2007 Olly Betts <olly@survex.com>
6683 * configure.ac: Fix comment typo.
6685 Tue Apr 17 19:20:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6687 * csharp/Makefile.am: Add Flint.cs to list of generated files, so
6688 it gets cleaned and added to dist.
6690 Tue Apr 17 16:34:27 BST 2007 Olly Betts <olly@survex.com>
6692 * ruby/xapian.rb: Don't read termfreq in safe wrapper for
6693 Document::termlist_begin(). Don't read wdf in safe wrapper
6694 for Database::allterms_begin(). Fixes bug#133.
6696 Tue Apr 17 14:51:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6698 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
6699 csharp/docs/examples/SimpleSearch.cs: Change references to
6700 stem.StemWord() to stem.Apply()
6702 Tue Apr 17 14:30:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6704 * php/docs/examples/,php/smoketest.php,
6705 tcl8/docs/examples/simpleindex.tcl,
6706 tcl8/docs/examples/simplesearch.tcl,tcl8/smoketest.tcl:
6707 Replace references to deprecated stem.stem_word() with stem.apply()
6709 Tue Apr 17 10:14:01 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6711 * python/docs/examples/,python/smoketest.py: Change references to
6712 stem.stem_word() to stem()
6714 Tue Apr 17 08:57:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6716 * python/testsuite.py: Run tests in predicatable order, by sorting
6717 the list of tests if it's supplied as a dictionary.
6719 Mon Apr 16 18:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6721 * python/docs/bindings.html,python/docs/examples/simpleexpand.py:
6722 Document ESetIterator::get_term() instead of
6723 ESetIterator::get_termname()
6725 Mon Apr 16 18:32:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6727 * csharp/util.i,php/docs/examples/simpleexpand.php4,
6728 php/docs/examples/simpleexpand.php5: Change to use get_term()
6729 instead of get_termname().
6730 * php/docs/bindings.html,ruby/docs/bindings.html,
6731 tcl8/docs/bindings.html: Document ESetIterator::get_term()
6732 instead of ESetIterator::get_termname()
6734 Mon Apr 16 18:27:39 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6736 * xapian.i: Add ESetIterator::get_term() as alias for now
6737 ESetIterator::get_termname(), and mark the old get_termname as
6738 deprecated. Tidy up all comments about deprecated functions,
6739 giving the version they were deprecated in.
6741 Mon Apr 16 11:16:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6743 * python/extra.i,python/pythontest.py: Add nicer ESet iterators,
6746 Mon Apr 16 01:08:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6748 * python/extra.i,python/pythontest.py,xapian.i: Add access to the
6749 collapse_key() method of mset iterators. Add it to the new-style
6750 python MSet iterator, and test it. Add documentation strings for
6751 describing the python MSetItem properties and attributes.
6753 Mon Apr 16 00:23:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6755 * python/extra.i: Rework MSet iterators: they now return an
6756 MSetItem object instead of a sequence. The sequence API is
6757 emulated with a _SequenceMixIn baseclass. The MSetItem object
6758 allows access to all the properties returned in the list
6759 previously returned, and also allows access to the collapse_count
6760 property. In addition, it evaluates the document property
6761 lazily, so no work is done if we don't actually want to read it.
6762 Also, add support for __getitem__ on MSet items to access items
6763 in the MSet in a more pythonic way, and implement the other
6764 sequence methods "__len__" and "__contains__".
6765 * python/: Ignore some generated files.
6766 * python/Makefile.am: Add pythontest.py and extracomments.py
6767 * python/pythontest.py: New testsuite for Python-specific code.
6769 Mon Apr 16 00:19:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6771 * python/doxy2swig.py.in: Don't add information about C++ includes
6772 to docstrings - not useful to anyone.
6773 * python/extracomments.i: Add a new file to hold docstrings which
6774 override the automatically generated ones, or fill in gaps. There
6775 are going to be quite a few of these eventually, so best to keep
6776 thee separate from the other code from the start.
6777 * python/util.i: Include extracomments.i
6779 Mon Apr 16 00:14:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6781 * python/testsuite.py: Enhance and refactor the testsuite - it now
6782 supports the same environment variables that the C++ testsuite
6783 does, uses a little colour to highlight successes and failures,
6784 and has different levels of verbosity. In line with the C++
6785 testsuite, it is not verbose by default, but it does display a
6786 message describing how to turn the verbosity up.
6787 * python/docs/bindings.html: Document the test suite a little, fix
6788 a typo, and mention the work in progress on the iterators. (Will
6789 need more detailed revision once the work is completed.)
6791 Sun Apr 15 23:31:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6793 * python/doxy2swig.py.in: For methods, if there is a
6794 briefdescription node, output it first so that the short summary
6795 describes the purpose of the method, rather than being the C++
6798 Sun Apr 15 18:09:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6800 * python/smoketest.py,python/testsuite.py: Enhance testsuite to
6801 allow multiple test functions, and to format output similarly to
6802 C++ testsuite (including ANSI colour on output devices which
6803 support it). Colours can be disabled explicitly using
6804 XAPIAN_TESTSUITE_OUTPUT=plain, and verbose output can be turned
6805 on by setting VERBOSE=1.
6807 Sun Apr 15 00:21:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6809 * python/extra.i: Change to using new-style classes for pure python
6810 code, since we're depending on python >= 2.2 now.
6812 Sun Apr 15 00:13:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6814 * python/smoketest.py,python/testsuite.py: Refactor code for
6815 running the python tests into a separate file, so it can be used
6816 for a separate set of python-specific tests.
6818 Fri Apr 13 16:30:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6820 * python/doxy2swig.py.in: Add script to generate doccomments.i file
6821 from XML output of doxygen. Adds much useful documentation to
6822 the python bindings (it's still quite messy, but much better than
6823 nothing). Unfortunately, a bug in SWIG means that not all the
6824 documentation is visible - I've put a patch at
6825 http://sf.net/tracker/index.php?func=detail&aid=1700146&group_id=1645&atid=301645
6826 * python/util.i: Include generated doccomments.i file.
6827 * configure.ac: Add rules to generate python/doxy2swig.
6828 * python/Makefile.am: Rules to generate and depend on doccomments.i
6830 Fri Apr 13 13:40:03 BST 2007 Olly Betts <olly@survex.com>
6832 * python/extra.i: Only read wdf for termlists which actually support
6833 it. This was failing for alltermslist in a debug build, and now
6834 fails with InvalidOperationError in all builds.
6836 Thu Apr 12 17:56:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6838 * xapian.i: Parse the visibility support header file, so we don't
6839 get errors when we %include other xapian headers. Fixes error
6840 reported by python/except.i, which has a line saying
6841 %include "xapian/error.h"
6843 Wed Apr 11 13:42:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6845 * python/smoketest.py: Add the custom test failure messages back,
6846 and revert changes to tests which I made (which will be going
6847 into a custom python-specific test file in time). When a test
6848 fails, display context of the test failure together with the
6849 Xapian version and platform information.
6851 Wed Apr 11 10:30:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6853 * python/smoketest.py: Replace cut-and-pasted test checking code
6854 with functions, to simplify tests.
6856 Tue Apr 10 20:10:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6858 * python/smoketest.py: Remove check for version Python version 2.2
6859 before running iterator tests - we no longer support earlier
6862 Sun Apr 08 19:11:05 BST 2007 Olly Betts <olly@survex.com>
6864 * python/docs/bindings.html: Python 2.2 is the minimum required
6865 version so remove "Provided you're using Python 2.2 or newer".
6867 Thu Apr 05 10:38:37 BST 2007 Olly Betts <olly@survex.com>
6869 * php/util.i: Avoid undefined behaviour in get_matching_terms().
6870 This fixes the problem reported by Daniel Ménard under MSVC.
6872 Wed Apr 04 13:30:11 BST 2007 Olly Betts <olly@survex.com>
6874 * configure.ac: Look for jni.h in $JAVA_HOME/include and
6875 $JDK_HOME/include if the respective variables are set.
6877 Wed Apr 04 13:07:12 BST 2007 Olly Betts <olly@survex.com>
6879 * configure.ac: When passing $SWIG, $PERL, etc to AC_PATH_PROGS
6880 quote them to avoid splitting at spaces (paths with spaces still
6881 won't work here, but at least you should now be able to pass
6882 SWIG='swig -fakeversion 1.3.32' or similar (only do this if you're
6883 happy to accept the consequences in this particular case!) Also
6884 if the user specifies a program which doesn't exist (e.g.
6885 PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it
6886 (this still happens in a few cases, but the easy ones should now
6889 Wed Apr 04 11:19:03 BST 2007 Olly Betts <olly@survex.com>
6891 * configure.ac: Bump version to 0.9.10.1 so snapshots don't look older
6892 than releases. Note that SWIG SVN rev >= 9670 is now required for
6893 the PHP5 ZTS MSHUTDOWN fix.
6895 Wed Apr 04 10:31:34 BST 2007 Olly Betts <olly@survex.com>
6897 * php/util.i: Revert last change - I'm fixing this in SWIG and calling
6898 ts_free_id twice is likely to be a bad idea.
6900 Wed Apr 04 10:21:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6902 * php/util.i: Add %mshutdown section to allow cleanup properly for
6903 windows builds (or other builds with ZTS).
6905 Wed Apr 04 07:33:53 BST 2007 Olly Betts <olly@survex.com>
6907 * INSTALL: Add details for how to install Ruby bindings in your home
6910 Wed Apr 04 07:31:37 BST 2007 Olly Betts <olly@survex.com>
6912 * ./,csharp/,ruby/,java/,php/,guile/,tcl8/,generic/: svn:ignore all
6915 Wed Apr 04 07:29:08 BST 2007 Olly Betts <olly@survex.com>
6917 * xapian.i: Add vim magic comment at the end to get sane syntax
6918 highlighting automatically.
6920 Wed Apr 04 07:24:48 BST 2007 Olly Betts <olly@survex.com>
6922 * generic/except.i: Fix pathname in first comment. Dug through
6923 the SVN history to reveal who has actually worked on this code
6924 so updated the (C) lines.
6926 Wed Apr 04 06:45:44 BST 2007 Olly Betts <olly@survex.com>
6928 * python/: Oops, it's "except.i" not "exceptions.i".
6930 Wed Apr 04 06:42:27 BST 2007 Olly Betts <olly@survex.com>
6932 * python/: svn:ignore exceptions.i and all vim swapfiles (not just the
6933 first for a given files).
6935 Tue Apr 03 17:52:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6937 * python/util.i: Add typemap to allow strings to be returned by
6938 implementations of director methods which expect strings:
6939 currently this is only the get_description() method of a Stopper
6940 subclass, which is never actually called by C++, but this might
6941 be more generally useful in future, and covers the last point
6942 where Python strings can get passed to C++.
6943 * python/smoketest.py: Add some tests that the stoppers work as
6946 Tue Apr 03 13:54:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6948 * python/util.i: Add typemap for checking string type in overloaded
6949 functions, allowing unicode strings to be passed to binary Query
6950 constructor. Also add "freearg" typemap corresponding to the
6951 "in" typemap for string references, which doesn't change the
6952 output code but might make us more robust against future changes
6953 in the SWIG library.
6954 * python/smoketest.py: Test binary Query constructor with unicode
6957 Tue Apr 03 10:40:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6959 * python/util.i: Add some (fairly nasty) typedefs which handle
6960 almost all cases where a string object is supplied to an API
6961 function, and make them convert unicode strings to UTF-8 encoded
6962 simple strings automatically. There are three places left in the
6963 API which aren't covered by these typedefs, and will require
6964 individual handling. The typedefs are largely the same as the
6965 built-in typedefs for string handling, but point to a different
6966 wrapper function which performs the unicode conversion before
6967 calling the normal string-to-ptr conversion. Sadly, I can't see
6968 any way to modify the built-in typedefs for string handling
6969 without reproducing them as I have here, but if it is possible to
6970 just cause them to point at a different string-to-ptr routine,
6971 that would be desirable.
6972 * python/smoketest.py: Add tests for some of the functions which
6973 should accept unicode strings.
6974 * python/docs/bindings.html: Document how unicode handling is
6975 intended to work. Also document how to normalise unicode strings
6976 with the unicodedata module to make them ready to pass to Xapian.
6978 Tue Apr 03 05:19:52 BST 2007 Olly Betts <olly@survex.com>
6980 * xapian.i: Replace Xapian::Stem with "%include <xapian/stem.h>" and
6981 suitable %ignore directives. The generated code for all bindings
6982 is unchanged except for minor changes due to the old xapian.i
6983 failing to declare Stem::stem_word as "const".
6985 Mon Apr 02 14:50:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6987 * python/util.i: Convert unicode strings to
6988 UTF-8 strings in handler for strings in the sequence supplied to
6989 a Query constructor.
6990 * python/smoketest.py: Refactor repeated code which checks that a
6991 query description is as expected into a function, and add some
6992 checks of query constructors using unicode strings.
6993 * python/generate-python-exceptions.in: Add a catch clause for
6994 exceptions raised by the standard library.
6996 Sun Apr 01 23:05:10 BST 2007 Olly Betts <olly@survex.com>
6998 * xapian.i: Update SimpleStopper::add() parameter type.
7000 Sat Mar 31 13:28:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7002 * python/docs/bindings.html: Update documentation on exception
7005 Sat Mar 31 11:47:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7007 * python/Makefile.am: Postprocess the generated python file
7008 "modern/xapian.py" to make the Error class inherit from the
7009 standard Exception class, so that scripts can catch all
7010 exceptions which are sensible to catch using the standard idioms.
7011 Use perl rather than sed for this processing so that we can use
7012 exactly the same rule in the windows build system.
7014 Tue Mar 27 21:40:22 BST 2007 Olly Betts <olly@survex.com>
7016 * configure.ac: datarootdir is new in 2.60 too, so use datadir when
7017 setting docdir for 2.59.
7019 Tue Mar 27 21:36:10 BST 2007 Olly Betts <olly@survex.com>
7021 * python: svn:ignore generate-python-exceptions.
7023 Tue Mar 27 21:34:05 BST 2007 Olly Betts <olly@survex.com>
7025 * configure.ac: Ensure docdir is set for compatibility with autoconf
7027 * csharp/docs/Makefile.am,php/docs/Makefile.am,
7028 python/docs/Makefile.am,ruby/docs/Makefile.am,tcl8/docs/Makefile.am:
7029 Install docs and examples below $(docdir).
7031 Sat Mar 24 02:19:50 GMT 2007 Olly Betts <olly@survex.com>
7033 * xapian.i: Only wrap methods (or overloaded forms of methods) which
7034 take MatchDecider or ExpandDecider for languages where SWIG supports
7037 Sat Mar 24 02:19:13 GMT 2007 Olly Betts <olly@survex.com>
7039 * csharp/Makefile.am: Update list of generated .cs files now
7040 ExpandDecider is wrapped.
7042 Sat Mar 24 00:36:26 GMT 2007 Olly Betts <olly@survex.com>
7044 * python/smoketest.py,xapian.i: Wrap ExpandDecider for languages where
7045 SWIG supports directors (patch from William R Sowerbutts).
7047 Sat Mar 24 00:02:36 GMT 2007 Olly Betts <olly@survex.com>
7049 * python/docs/examples/simpleexpand.py: Print the document weight as
7050 a floating point value, not an integer.
7052 Fri Mar 23 23:53:10 GMT 2007 Olly Betts <olly@survex.com>
7054 * Forwardport change from branches/0.9:
7055 * configure.ac: Require unreleased SWIG 1.3.32 (SVN rev 9651) for
7058 Thu Mar 22 01:28:48 GMT 2007 Olly Betts <olly@survex.com>
7060 * configure.ac: Eliminate libtool probe code for f77, gcj, and rc
7061 which speeds up configure and knocks 28% off its size.
7063 Tue Mar 20 19:00:13 GMT 2007 Olly Betts <olly@survex.com>
7065 * php/docs/bindings.html: Add note that PHP examples are written for
7066 CLI version of PHP, but that the bindings work with any version.
7067 * php/docs/examples/: Add check to all PHP examples that they are
7068 being run under a CLI version of PHP.
7070 Fri Mar 09 14:14:47 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7072 * swig/xapian.i,xapian.i: Move swig/xapian.i back to top level.
7073 Olly prefers it here, and I don't really mind.
7074 * swig/defaults/except.i,generic/except.i: Move file.
7075 * swig/Makefile.mk,generic/generic.mk: Move file, and point to
7076 new locations of source files.
7077 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7078 php/Makefile.am,tcl8/Makefile.am: Include generic/generic.mk
7079 instead of swig/Makefile.mk
7080 * configure.ac: Look for xapian.i, not swig/xapian.i, in
7082 * Makefile.am: Point to new locations of files.
7084 Fri Mar 09 13:07:41 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7086 * python/generate-python-exceptions.in: New file - generates a
7087 python/except.i file from the exception_data.pm file in
7088 xapian-core. Only use in maintainer mode - requires the
7089 xapian-core module to exist in the same directory as the
7090 xapian-bindings module (eg, as would happen in a SVN checkout).
7091 This file changes the handling of xapian exceptions in the Python
7092 bindings - they are now translated into Python exception classes
7093 in a hierarchy matching that of the C++ exception hierarchy.
7094 * configure.ac: Require perl in maintainer mode, and add rules to
7095 generate python/generate-python-exceptions
7096 * python/Makefile.am: Add except.i to distribution, and add rules
7097 to generate and use it in maintainer mode.
7098 * python/smoketest.py: Change tests to expect xapian.Error
7101 Fri Mar 09 12:53:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7103 * tcl8/except.i: Tweak to add the license statement back into
7104 generated xapian_wrap.cc. Not sure if this is really desirable,
7105 but it's consistent with the earlier behaviour (and with what
7106 happens to other license statements from *.i files).
7108 Fri Mar 09 03:15:36 GMT 2007 Olly Betts <olly@survex.com>
7110 * csharp/util.i: Eliminate duplicated SWIG directive
7111 "%rename("GetValueNo") get_valueno;"
7113 Wed Mar 07 22:33:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7115 * php/except.i,swig/defaults/except.i: Split the PHP exception
7116 handling into a new file, since almost half the original file was
7117 conditionally compiled for PHP.
7118 * php/Makefile.am: Add php/except.i to dist and dependencies.
7120 Wed Mar 07 21:49:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7122 * tcl/except.i: New file, overriding swig/defaults/except.i for tcl.
7123 * tcl/util.i: Remove exception handling stuff - moved to except.i.
7124 No longer sets XAPIAN_EXCEPTION_HANDLER - presence of except.i has
7126 * tcl/Makefile.am: Add except.i to dist and dependencies.
7127 * swig/defaults/except.i: Remove checking of XAPIAN_EXCEPTION_HANDLER:
7128 no longer needed. Also, tweak comments (add licence and copyright;
7129 copyright is just copied from xapian.i, which this file was split
7130 from, and may thus claim copyright for people who never worked on
7131 this exact code). Also, fix whitespace.
7133 Wed Mar 07 16:35:13 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7135 * Makefile.am: Add swig/defaults/except.i to EXTRA_DIST.
7136 * swig/Makefile.mk: Add swig/defaults/except.i to SWIG_sources, and
7137 add swig/defaults/ to SWIG_includes, after language specific
7138 path entry (so language specific except.i files can be created to
7139 override the contents of swig/defaults/except.i).
7140 * swig/xapian.i,swig/defaults/except.i: Move the exception handling
7141 code out of swig/xapian.i and into swig/defaults/except.i
7143 Wed Mar 07 16:16:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7145 * xapian.i,swig/xapian.i: Move swig source file to a subdirectory,
7146 in preparation for splitting the language dependent stuff out.
7147 This commit shouldn't change the result of running swig.
7148 * swig/Makefile.mk: New makefile fragment, included by each
7149 language-specific SWIG-using Makefile.am, which defines the paths
7150 and flags to use when running SWIG. Also contains the
7151 MACOSX_DEPLOYMENT_TARGET stuff which was previously replicated in
7152 each SWIG-using Makefile.am
7153 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7154 php/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: Include
7155 swig/Makefile.mk to get the path to the language independent swig
7156 sources, and standard paths and flags to supply to SWIG. Update
7157 dependencies and rules for generating the xapian_wrap.cc files to
7158 use the values from swig/Makefile.mk. Remove the
7159 MACOSX_DEPLOYMENT_TARGET stuff (now in swig/Makefile.mk).
7160 * configure.ac: Reference swig/xapian.i from AC_CONFIG_SRCDIR
7162 * Makefile.am: Reference swig/xapian.i in EXTRA_DIST
7165 Tue Mar 06 01:56:36 GMT 2007 Olly Betts <olly@survex.com>
7167 * configure.ac: Bump version number to 0.9.10 so that snapshots don't
7168 look older than releases.
7170 Tue Mar 06 01:54:00 GMT 2007 Olly Betts <olly@survex.com>
7172 * configure.ac: Make the version check against the xapian-core version
7173 a warning not an error, and move it later on so it's harder for the
7174 user to miss. If you know what you're doing, it might be a useful
7175 thing to want to do.
7177 Sat Mar 03 04:23:26 GMT 2007 Olly Betts <olly@survex.com>
7179 * php/docs/Makefile.am,php/docs/bindings.html,php/docs/examples/:
7180 Update the documentation and examples to fix out-of-date information
7181 and document the differences between the PHP4 and PHP5 wrappers.
7182 * php/docs/example/simpleexpand.php4,
7183 php/docs/example/simpleexpand.php5: Add versions of simpleexpand.
7185 Sat Mar 03 04:17:07 GMT 2007 Olly Betts <olly@survex.com>
7187 * configure.ac: Fix handling of `$PHP_CONFIG --php-binary` - if it's
7188 not supported, we get a usage message on stdout which we don't want
7189 to try as a potential PHP interpreter!
7191 Sat Mar 03 03:34:12 GMT 2007 Olly Betts <olly@survex.com>
7193 * xapian.i: Don't hardcode the current literal numeric values
7194 for DB_CREATE_OR_OPEN, etc.
7195 * xapian.i: For PHP4, additionally define Xapian_DB_CREATE_OR_OPEN
7196 which will be the recommended name to use.
7198 Sat Mar 03 03:32:05 GMT 2007 Olly Betts <olly@survex.com>
7200 * php/smoketest.php: Add a testcase for the "SWIG didn't generate
7201 correct dispatch code in the wrapper in some cases" bug which
7204 Sat Mar 03 03:29:56 GMT 2007 Olly Betts <olly@survex.com>
7206 * php/smoketest5.php: Add the Error class name to differentiate the
7207 two previously identical error messages.
7209 Fri Mar 02 20:09:55 GMT 2007 Olly Betts <olly@survex.com>
7211 * csharp/Makefile.am: Remove Muscat36.cs.
7213 Fri Mar 02 19:49:12 GMT 2007 Olly Betts <olly@survex.com>
7215 * configure.ac: Try `$(PHP_CONFIG) --php-binary` when looking for a
7216 PHP interpreter - this works with PHP5.
7218 Fri Mar 02 19:00:52 GMT 2007 Olly Betts <olly@survex.com>
7220 * xapian.i: Remove Muscat 3.6 wrappers as support has already been
7221 removed from xapian-core.
7223 Fri Mar 02 02:22:12 GMT 2007 Olly Betts <olly@survex.com>
7225 * xapian-bindings.spec.in: Add support for passing "--without python"
7226 to rpmbuild. Document the various "--without" options in a comment
7227 at the start of the .spec file.
7229 Tue Feb 20 12:48:22 GMT 2007 Olly Betts <olly@survex.com>
7231 * xapian.i: QueryParserError is now a real error, so remove
7232 special handling for "const char *" exceptions.
7234 Sat Feb 10 01:19:26 GMT 2007 Olly Betts <olly@survex.com>
7236 * configure.ac,java/README,java/native/Makefile.am: On MacOS X, we
7237 need to rename the jni library to .jnilib.
7238 * java/README: MacOS X's JVM is documented to understand
7239 -Djava.library.path - the problem reported was likely due to the
7240 wrong extension on the jni library.
7242 Sat Feb 10 00:23:19 GMT 2007 Olly Betts <olly@survex.com>
7244 * configure.ac: Automatically look in the standard OS X JVM location
7246 * java/README: Document how to install the jni library on OS X.
7248 Sat Dec 30 14:40:22 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7250 * xapian.i: Add queryparser flags FLAG_PURE_NOT and FLAG_PARTIAL.
7251 * python/smoketest.py: Add tests for pure not and partial queries.
7253 Sat Dec 23 00:41:01 GMT 2006 Olly Betts <olly@survex.com>
7255 * java/native/org_xapian_XapianJNI.h,java/native/xapian_jni.h:
7256 Move header guards to surround the entire non-comment contents
7257 of the header files, which allows the compiler to optimise
7258 multiple inclusion (at least GCC does this).
7260 Sat Dec 23 00:38:49 GMT 2006 Olly Betts <olly@survex.com>
7262 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
7263 java/org/xapian/Enquire.java,java/org/xapian/XapianJNI.java:
7264 Enquire::getQuery() is implemented entirely in Java, so strip out
7265 the unused MyQuery mechanism, and so fix a memory link which it
7266 caused. Fixes the rest of bug#105.
7267 * java/SmokeTest.java: Add feature test for Enquire::getQuery().
7269 Fri Dec 22 18:48:46 GMT 2006 Olly Betts <olly@survex.com>
7271 * java/native/Query.cc: Release the array in the "Query from array"
7272 ctor to avoid a memory leak. Partly fixes bug#105.
7274 Fri Dec 22 18:30:44 GMT 2006 Olly Betts <olly@survex.com>
7276 * java/SmokeTest.java: Check getData() on the document in
7277 MyMatchDecider returns a non-empty string to make sure we are really
7278 getting the right document and not an empty document.
7280 Sat Dec 16 02:14:50 GMT 2006 Olly Betts <olly@survex.com>
7282 * configure.ac: Remove the sanity check for PHP_EXTENSION_DIR
7283 added in Xapian 0.9.8 - if this is the first PHP extension to be
7284 installed, the extension directory may not exist and "make install"
7286 * configure.ac: If zend.h isn't found and configure was run with
7287 "--with-php" we now die rather than disabling PHP support.
7289 Fri Dec 15 16:47:13 GMT 2006 Olly Betts <olly@survex.com>
7291 * configure.ac: Remove --with-swig option from configure - it no
7292 longer has a purpose as we now ship the files which are generated
7295 Tue Dec 12 21:51:23 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7297 * python/extra.i: Fix PostingIter for all-document iterators - was
7298 broken because positionlist_begin() throws an exception for
7299 all-document iterators. Fixed by keeping track of this and
7300 returning an empty list for positionlits iterators, in the same
7301 way as TermIter does.
7302 * python/smoketest.py: Add test for all-document iterators.
7304 Mon Dec 11 04:01:19 GMT 2006 Olly Betts <olly@survex.com>
7306 * java/Makefile.am: "make clean" now needs to remove
7307 MyMatchDecider.class and MyExpandDecider.class which are generated
7308 from SmokeTest.java.
7310 Fri Dec 08 04:13:32 GMT 2006 Olly Betts <olly@survex.com>
7312 * java/SmokeTest.java: Add feature/regression test for ExpandDecider
7313 which also now works thanks to the last checkin.
7315 Fri Dec 08 04:11:01 GMT 2006 Olly Betts <olly@survex.com>
7317 * java/native/Enquire.cc: Fix MatchDecider to work.
7318 * java/SmokeTest.java: Add feature/regression test for MatchDecider
7321 Thu Dec 07 02:25:25 GMT 2006 Olly Betts <olly@survex.com>
7323 * java/native/Enquire.cc: Fix MatchDecider and ExpandDecider to look
7324 for an "accept" method with the correct signature (bool return value
7325 not int). Reported by Alex Kushkuley.
7327 Thu Dec 07 02:08:56 GMT 2006 Olly Betts <olly@survex.com>
7329 * java/org/xapian/ESetIterator.java: Fix bug in ESetIterator.hasNext()
7330 reported by Alex Kushkuley.
7331 * java/SmokeTest.java: Add regression test.
7333 Mon Dec 04 03:31:36 GMT 2006 Olly Betts <olly@survex.com>
7335 * java/SmokeTest.java,java/native/Enquire.cc,
7336 java/org/xapian/Enquire.java: Fit Enquire.getESet() to be callable.
7338 Mon Dec 04 03:22:35 GMT 2006 Olly Betts <olly@survex.com>
7340 * java/SmokeTest.java,java/org/xapian/RSet.java: Add missing default
7341 constructor for RSet class - it's not much use without this!
7343 Thu Nov 16 04:01:23 GMT 2006 Olly Betts <olly@survex.com>
7345 * xapian-bindings.spec.in: Remove "." from the end of the Summary.
7347 Thu Nov 16 03:05:09 GMT 2006 Olly Betts <olly@survex.com>
7349 * configure.ac: As of xapian-core 0.8.0, XO_LIB_XAPIAN doesn't need to
7350 be called with arguments if you want a hard requirement on xapian,
7351 so remove the arguments.
7353 Wed Nov 15 19:55:57 GMT 2006 Olly Betts <olly@survex.com>
7355 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the
7356 requirement to add the linux header directory to the include path.
7358 Sun Nov 12 22:40:06 GMT 2006 Olly Betts <olly@survex.com>
7360 * NEWS: Update from ChangeLog file in preparation for branching and
7363 Sun Nov 12 21:35:42 GMT 2006 Olly Betts <olly@survex.com>
7365 * python/util.i: Need to use Py_ssize_t for length with
7366 PyString_AsStringAndSize() so the build with Python 2.5.
7368 Thu Nov 09 00:23:27 GMT 2006 Olly Betts <olly@survex.com>
7370 * NEWS,configure.ac: Update for 0.9.9.
7372 Wed Nov 08 22:47:56 GMT 2006 Olly Betts <olly@survex.com>
7374 * xapian-bindings.spec.in: We now require Python >= 2.2.
7376 Wed Nov 08 22:47:00 GMT 2006 Olly Betts <olly@survex.com>
7378 * xapian-bindings.spec.in: Run "autoreconf --force" to avoid rpath on
7381 Tue Nov 07 03:48:42 GMT 2006 Olly Betts <olly@survex.com>
7383 * xapian.i: Wrap Flint::open() and Flint::open_writable().
7385 Mon Nov 06 01:41:08 GMT 2006 Olly Betts <olly@survex.com>
7387 * configure.ac: Require SWIG 1.3.30 (1.3.30 isn't out yet, but
7388 1.3.30rc1 is suitable).
7389 * configure.ac: Remove unnecessary backticks from tclsh version test.
7391 Thu Nov 02 19:09:49 GMT 2006 Olly Betts <olly@survex.com>
7393 * NEWS,configure.ac: Update for 0.9.8.
7395 Thu Nov 02 17:54:41 GMT 2006 Olly Betts <olly@survex.com>
7397 * tcl8/run-tcl-test: Fix to work when /bin/sh is dash.
7398 * tcl8/util.i: Add handling for QueryParser std::string exceptions.
7399 Fix handling of unknown errors.
7400 * tcl8/smoketest.tcl: Add test.
7402 Thu Nov 02 13:43:31 GMT 2006 Olly Betts <olly@survex.com>
7404 * csharp/SmokeTest.cs: Test QueryParser parse error. Fix warning
7405 about unused variable in OP_ELITE_SET check.
7407 Tue Oct 31 02:01:43 GMT 2006 Olly Betts <olly@survex.com>
7409 * configure.ac: Sanity check PHP_EXTENSION_DIR and PHP_INC.
7411 Tue Oct 31 01:45:45 GMT 2006 Olly Betts <olly@survex.com>
7413 * configure.ac: Now tested on MacOS X 10.2, so update comment.
7415 Sat Oct 28 08:40:46 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7417 * python/smoketest.py: Add test to check QueryParser error
7420 Sat Oct 28 03:40:39 BST 2006 Olly Betts <olly@survex.com>
7422 * xapian.i: QueryParser::parse_query() throws const char *, not
7423 std::string. Make these exceptions look as if they are of
7424 type QueryParserError so this works the same way as 1.0 will.
7425 Also, return as SWIG_RuntimeError rather than SWIG_UnknownError - in
7426 particular so PHP4 turns this exception into a trappable warning
7427 rather than a hard error.
7428 * php/smoketest4.php,php/smoketest5.php: Add tests for the above.
7429 Also check the exception message given by the DocNotFoundError
7432 Fri Oct 27 11:28:48 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7434 * xapian.i: Catch exceptions of type "std:string", since the query
7435 parser currently throws these. This should probably be fixed in
7436 the query parser for release 1.0, but this fix prevents crashes
7437 due to these exceptions in a backwards compatible manner.
7439 Sun Oct 22 02:41:09 BST 2006 Olly Betts <olly@survex.com>
7441 * configure.ac: Fix check for jni.h in /usr/lib/jvm/java-gcj/include
7442 to actually work rather than using the cached failure of the first
7445 Sun Oct 22 02:29:09 BST 2006 Olly Betts <olly@survex.com>
7447 * java/SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
7448 * java/SmokeTest.java: Avoid gcj "set but not used" warning.
7450 Sat Oct 21 20:34:30 BST 2006 Olly Betts <olly@survex.com>
7452 * xapian.i: Wrap the "prog" form of Remote::open() (which is
7453 suitable for general purpose use as of 0.9.7) and the
7454 Remote::open_writable() methods (new in 0.9.7).
7456 Mon Oct 16 11:16:46 BST 2006 Olly Betts <olly@survex.com>
7458 * python/Makefile.am: Fix Python VPATH build to work again.
7460 Mon Oct 16 01:39:37 BST 2006 Olly Betts <olly@survex.com>
7462 * configure.ac: Note that SWIG is only useful for Xapian developers.
7464 Mon Oct 16 01:31:30 BST 2006 Olly Betts <olly@survex.com>
7466 * configure.ac: If we failed to find any languages to build for, give
7467 a more helpful message.
7469 Sun Oct 15 17:55:21 BST 2006 Olly Betts <olly@survex.com>
7471 * python/Makefile.am: Fix to work again in VPATH SVN checkout builds.
7473 Sun Oct 15 01:41:44 BST 2006 Olly Betts <olly@survex.com>
7475 * README,configure.ac,python/Makefile.am: Drop support for Python 2.1.
7477 Wed Oct 11 00:17:49 BST 2006 Olly Betts <olly@survex.com>
7479 * NEWS: Remove empty "Portability:" subheading.
7481 Tue Oct 10 22:08:21 BST 2006 Olly Betts <olly@survex.com>
7483 * csharp/Makefile.am,csharp/util.i,python/util.i,ruby/util.i,xapian.i:
7484 SWIG_DIRECTOR_TYPEMAPS isn't a reliable thing to test it appears, so
7485 define XAPIAN_SWIG_DIRECTORS ourselves for languages where SWIG
7486 supports directors and we are able to make use of them.
7488 Tue Oct 10 17:15:43 BST 2006 Olly Betts <olly@survex.com>
7490 * NEWS,configure.ac: Updated for 0.9.7.
7492 Tue Oct 10 17:04:40 BST 2006 Olly Betts <olly@survex.com>
7494 * csharp/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: In
7495 maintainer-mode, "make clean" should remove the SWIG generated files
7496 which would otherwise only be removed on "make maintainer-clean".
7498 Tue Oct 10 16:22:28 BST 2006 Olly Betts <olly@survex.com>
7500 * csharp/docs/bindings.html: Document MatchDecider subclassing.
7502 Tue Oct 10 16:05:02 BST 2006 Olly Betts <olly@survex.com>
7504 * python/docs/bindings.html: Call the example MatchDecider subclass
7505 "mymatchdecider" not "mymatcher".
7507 Tue Oct 10 16:04:40 BST 2006 Olly Betts <olly@survex.com>
7509 * ruby/docs/bindings.html: Document MatchDecider subclassing.
7511 Tue Oct 10 15:58:32 BST 2006 Olly Betts <olly@survex.com>
7515 Tue Oct 10 15:55:36 BST 2006 Olly Betts <olly@survex.com>
7517 * xapian.i: Only wrap MatchDecider where directors are supported.
7519 Tue Oct 10 13:16:08 BST 2006 Olly Betts <olly@survex.com>
7521 * csharp/Makefile.am,csharp/SmokeTest.cs,xapian.i: Add test of
7522 MatchDecider subclassing in C#.
7524 Tue Oct 10 11:39:46 BST 2006 Olly Betts <olly@survex.com>
7526 * ruby/util.i: Allow bool to be returned by ruby subclasses of
7528 * ruby/smoketest.rb: Add test of MatchDecider subclassing.
7530 Mon Oct 09 15:14:27 BST 2006 Olly Betts <olly@survex.com>
7532 * python/util.i,xapian.i: Enable directors everywhere that SWIG
7535 Sat Oct 07 10:45:07 BST 2006 Olly Betts <olly@survex.com>
7537 * php/smoketest.php,php/smoketest4.php,php/smoketest5.php: Factor out
7538 PHP version specific code into the smoketestN.php files, since we
7539 get parse errors from PHP4 otherwise.
7541 Fri Oct 06 21:40:09 BST 2006 Olly Betts <olly@survex.com>
7543 * php/: Rely on xapian.php to load the extension module for us.
7544 PHP4 bindings now generate proxy classes. Rewrite smoketest to
7545 handle either PHP4 or PHP5 proxy classes. Fix smoketest error
7546 messages to use PHP style code.
7548 Wed Oct 04 17:47:32 BST 2006 Olly Betts <olly@survex.com>
7550 * configure.ac,python/Makefile.am: Use -fno-strict-aliasing when
7551 compiling all SWIG bindings, not just python.
7553 Mon Oct 02 04:45:43 BST 2006 Olly Betts <olly@survex.com>
7555 * configure.ac: Only enable visibility annotations with GCC 4.0 or
7558 Sun Oct 01 13:40:49 BST 2006 Olly Betts <olly@survex.com>
7560 * ruby/docs/examples/simplesearch.rb: "First ten" is inaccurate since
7561 we may have less than 10 matches. Say "1-<N>" instead.
7562 * ruby/docs/examples/simplematchdecider.rb: Need to initialise
7563 super-class, and fix the value test in MyMatchDecider.
7565 Sun Oct 01 06:31:37 BST 2006 Olly Betts <olly@survex.com>
7567 * xapian.i: Use SWIGPHP instead of SWIGPHP4 since we want those
7568 parts for both PHP4 and PHP5 (SWIG's semantics have changed).
7570 Sun Oct 01 06:17:14 BST 2006 Olly Betts <olly@survex.com>
7572 * ruby/docs/examples/simplesearch.rb: Lowercase terms before stemming.
7574 * ruby/docs/examples/simplematchdecider.rb: Implemented, but the
7575 bindings don't currently enable directors for Ruby.
7577 Sun Oct 01 06:14:52 BST 2006 Olly Betts <olly@survex.com>
7579 * csharp/Makefile.am: SWIG C# now supports directors, so we get a
7580 xapian_wrap.h file generated too which we need to ship. Also
7581 remove the "nodist_" prefix from "XapianSharp_la_SOURCES" since
7582 we do want to distribute xapian_wrap.cc (and already mark it
7583 for explicit distribution elsewhere!)
7585 Sat Sep 30 19:49:18 BST 2006 Olly Betts <olly@survex.com>
7587 * python/docs/examples/simplematchdecider.py: Call the MyMatchDecider
7588 instance "mdecider" rather than "matcher", to avoid confusing the
7591 Sat Sep 30 03:30:33 BST 2006 Olly Betts <olly@survex.com>
7593 * ruby/Makefile.am: Oops, xapian.rb isn't a generated file. Undo
7594 last change, use the "dist_" prefix and let "make clean" remove
7595 the BUILT_SOURCES if we're in MAINTAINER_MODE.
7597 Sat Sep 30 03:28:19 BST 2006 Olly Betts <olly@survex.com>
7599 * ruby/Makefile.am: Add dependencies and clean rules for xapian.rb.
7601 Sat Sep 30 03:22:10 BST 2006 Olly Betts <olly@survex.com>
7603 * configure.ac: Look for ruby interpreter as "ruby1.8" since it's
7604 called that (with no "ruby" alias) on Ubuntu dapper at least.
7606 Sat Sep 30 03:03:30 BST 2006 Olly Betts <olly@survex.com>
7608 * python/docs/examples/simplematchdecider.py: Fix typo in comment.
7610 Sat Sep 30 03:01:22 BST 2006 Olly Betts <olly@survex.com>
7612 * python/Makefile.am: Prefer $(PYTHON_MODERN_OR_OLDE) to
7613 @PYTHON_MODERN_OR_OLDE@. No need to list xapian_wrap.h in
7616 Sat Sep 30 03:00:01 BST 2006 Olly Betts <olly@survex.com>
7618 * php/Makefile.am: When running smoketest.php, pass the "-q" option,
7619 which suppresses HTTP header output for PHP < 4.3 and is ignored for
7620 compatibility by more recent versions of PHP.
7622 Sat Sep 30 02:57:24 BST 2006 Olly Betts <olly@survex.com>
7624 * configure.ac,php/Makefile.am: Build PHP bindings for both PHP4 and
7625 PHP5 (using SWIG's new support for generating OO PHP5 wrappers).
7627 Sat Sep 30 02:41:23 BST 2006 Olly Betts <olly@survex.com>
7629 * python/smoketest.py: Added missing "sys.exit(1)" in
7630 TermIter.skip_to() test. Run exception handling tests and test for
7631 OP_ELITE_SET value whatever the python version is. Add test that
7632 MatchDecider can be subclassed successfully.
7634 Fri Sep 29 10:06:37 BST 2006 Olly Betts <olly@survex.com>
7636 * configure.ac: Fix typo - PHP_tried should be PHP_found. This might
7637 have caused the PHP interpreter not to be found in some cases when
7638 it was actually available, but it's only use to run the smoketest
7639 not for building the bindings.
7641 Fri Sep 29 07:02:10 BST 2006 Olly Betts <olly@survex.com>
7643 * tcl8/smoketest.tcl: Add comment about Tcl storing zero bytes as
7646 Thu Sep 28 15:05:07 BST 2006 Olly Betts <olly@survex.com>
7648 * python/extra.i,python/smoketest.py: Wrap TermIterator::skip_to().
7650 Thu Sep 28 12:09:52 BST 2006 Olly Betts <olly@survex.com>
7652 * csharp/SmokeTest.cs: Fix check that OP_ELITE_SET works to actually
7653 work, and also not give compiler warnings.
7654 * csharp/Makefile.am: Latest swig generates a "xapian_wrap.h" file, so
7655 ship that. Also don't mark xapian_wrap.cc as "nodist" in one place
7656 since we want to distribute it (and mark it so elsewhere).
7658 Thu Sep 28 11:54:46 BST 2006 Olly Betts <olly@survex.com>
7660 * java/SmokeTest.java,python/smoketest.py,ruby/smoketest.rb: Check
7661 that OP_ELITE_SET has the correct numerical value.
7663 Thu Sep 28 09:47:01 BST 2006 Olly Betts <olly@survex.com>
7665 * java/native/Makefile.am: Actually use JAVA_CPPFLAGS.
7667 Thu Sep 28 09:42:21 BST 2006 Olly Betts <olly@survex.com>
7669 * xapian.i: Explicitly set OP_ELITE_SET to 10, since some languages
7670 (e.g. Csharp) use the value from here rather than from the xapian
7672 * csharp/SmokeTest.cs: Check that OP_ELITE_SET works (until now it had
7673 the wrong value in C# so caused an exception).
7674 * php/smoketest.php: Check that OP_ELITE_SET has the correct numerical
7677 Mon Sep 11 06:51:25 BST 2006 Olly Betts <olly@survex.com>
7679 * configure.ac: Fix broken sed command in previous checkin.
7681 Fri Sep 08 03:27:36 BST 2006 Olly Betts <olly@survex.com>
7683 * configure.ac,tcl8/Makefile.am: For Tcl, remove any _svn6789 suffix
7684 from the version number.
7686 Tue Sep 05 21:14:33 BST 2006 Olly Betts <olly@survex.com>
7688 * configure.ac: Need to AC_SUBST(PYTHON_CXXFLAGS) so that we really
7689 add "-fno-strict-aliasing" when compiling the python bindings with
7692 Thu Aug 31 20:27:42 BST 2006 Olly Betts <olly@survex.com>
7694 * tcl8/Makefile.am,tcl8/run-tcl-test: Fix to work in VPATH build.
7696 Thu Aug 24 18:31:42 BST 2006 Olly Betts <olly@survex.com>
7698 * tcl8/smoketest.tcl: Add check that xapian::Query_OP_ELITE_SET has
7701 Thu Aug 24 18:03:47 BST 2006 Olly Betts <olly@survex.com>
7703 * tcl8/: Rework how the smoketest gets run to eliminate special code
7704 for using uninstalled bindings from smoketest.tcl itself. This
7705 allows the smoketest to be run using install bindings, and also
7706 make the smoketest a better example program.
7708 Fri Jun 09 04:10:18 BST 2006 Olly Betts <olly@survex.com>
7710 * configure.ac: We need to look for jni.h in
7711 /usr/lib/jvm/java-gcj/include on some Debian and Ubuntu boxes at
7714 Fri Jun 09 00:23:46 BST 2006 Olly Betts <olly@survex.com>
7716 * xapian.i: Add actual begin_transaction prototype.
7718 Mon May 29 11:19:32 BST 2006 Olly Betts <olly@survex.com>
7720 * php/Makefile.am: Distribute smoketest4.php and smoketest5.php.
7722 Thu May 25 08:09:15 BST 2006 Olly Betts <olly@survex.com>
7724 * php/smoketest5.php: Fix syntax of catch.
7726 Sat May 20 19:27:27 BST 2006 Olly Betts <olly@survex.com>
7728 * TODO: Add 2 entries for smoketest.rb.
7730 Sat May 20 18:09:32 BST 2006 Olly Betts <olly@survex.com>
7732 * php/: Now that we're throwing PHP exceptions with PHP5 we need
7733 separate versions of the exception handling test for PHP4 and
7736 Sat May 20 16:56:51 BST 2006 Olly Betts <olly@survex.com>
7738 * csharp/SmokeTest.cs: Added exception handling test.
7740 Sat May 20 16:36:30 BST 2006 Olly Betts <olly@survex.com>
7742 * tcl8/docs/examples/simpleindex.tcl,
7743 tcl8/docs/examples/simplesearch.tcl: Print $errorCode in
7744 the exception handler.
7746 Sat May 20 16:30:48 BST 2006 Olly Betts <olly@survex.com>
7748 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
7749 Implement saner exception handling for Tcl and document it.
7751 Sat May 20 14:28:39 BST 2006 Olly Betts <olly@survex.com>
7753 * tcl8/smoketest.tcl: Send error messages to stderr.
7754 * tcl8/smoketest.tcl: Add test of exception handling.
7756 Sat May 20 09:24:46 BST 2006 Olly Betts <olly@survex.com>
7758 * python/smoketest.py: Add test of exception handling.
7760 Sat May 20 06:18:43 BST 2006 Olly Betts <olly@survex.com>
7762 * Makefile.am,configure.ac: Specify required automake version in
7763 the call to AM_INIT_AUTOMAKE in configure.ac.
7765 Fri May 19 05:35:01 BST 2006 Olly Betts <olly@survex.com>
7767 * php/smoketest.php: Work out the name of the module we need to load.
7768 Check the return value of dl().
7770 Thu May 18 19:18:00 BST 2006 Olly Betts <olly@survex.com>
7772 * java/native/Query.cc: Correct two misuses of delete to delete[].
7775 Thu May 18 18:27:16 BST 2006 Olly Betts <olly@survex.com>
7777 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la
7778 has been built, so add an explicit dependency so that this works
7779 reliably in parallel builds. Fixes bug#77.
7781 Wed May 17 05:35:59 BST 2006 Olly Betts <olly@survex.com>
7783 * configure.ac: If we're building with GCC 3.4 or higher, pass
7784 -fvisibility=hidden when compiling SWIG generated code which makes
7785 the compiled modules a few percent smaller and perhaps a little
7788 Mon May 15 23:34:55 BST 2006 Olly Betts <olly@survex.com>
7790 * configure.ac: Fixed check for PYTHON_PATHSEP to use $PYTHON rather
7791 than python, and also report the check and its result to the user.
7793 Mon May 15 05:03:19 BST 2006 Olly Betts <olly@survex.com>
7795 * NEWS: Fix the recent headings which said "Xapian-core" to say
7798 Mon May 15 02:54:25 BST 2006 Olly Betts <olly@survex.com>
7800 * NEWS,configure.ac: Version 0.9.6.
7802 Sun May 14 04:15:07 BST 2006 Olly Betts <olly@survex.com>
7804 * csharp/Makefile.am: Fix compiling SmokeTest.cs when srcdir !=
7807 Sun May 14 03:26:11 BST 2006 Olly Betts <olly@survex.com>
7809 * README: Note that Python bindings have been built with MSVC.
7811 Sun May 14 02:52:40 BST 2006 Olly Betts <olly@survex.com>
7813 * csharp/SmokeTest.cs: Add URL for Portable.NET bug which means that
7814 "using Xapian;" is required.
7816 Sun May 14 01:25:07 BST 2006 Olly Betts <olly@survex.com>
7818 * csharp/SmokeTest.cs: The Portable.NET compiler seems to need "using
7819 Xapian;" to be able to see static member functions such as
7820 "Xapian.Version.Major()".
7822 Sun May 14 01:20:55 BST 2006 Olly Betts <olly@survex.com>
7824 * configure.ac,csharp/AssemblyInfo.cs.in: Set the version correctly
7825 when building a snapshot from SVN, store the key in the key
7826 container so we reuse it for later builds, and set informational
7829 Sat May 13 23:40:07 BST 2006 Olly Betts <olly@survex.com>
7831 * configure.ac: Passing /out: when compile a CSharp .exe as the
7832 Portable.NET compiler defaults to a.out. If we're using ilgac
7833 and sn isn't found, set SN=/bin/true since we don't need the
7835 * configure.ac: Look for mcs as gmcs too (since it's sometimes
7837 * README,TODO: We now support building with Portable.NET.
7839 Sat May 13 23:32:04 BST 2006 Olly Betts <olly@survex.com>
7841 * TODO: Update ruby todo list.
7843 Sat May 13 23:20:01 BST 2006 Olly Betts <olly@survex.com>
7845 * csharp/Makefile.am: When building SmokeTest.exe, pass
7846 -out:SmokeTest.exe because the Portable.NET compiler defaults to
7847 naming the output a.out.
7849 Sat May 13 21:14:24 BST 2006 Olly Betts <olly@survex.com>
7851 * csharp/Makefile.am: Fix to work when srcdir != builddir.
7853 Sat May 13 06:05:37 BST 2006 Olly Betts <olly@survex.com>
7855 * ruby/util.i: Rename set_XXX functions which take more than one
7856 parameter to XXX! rather than XXX=. set_query is almost always
7857 called with a single argument, so make than form XXX= and the
7858 two argument form XXX!.
7860 Sat May 13 05:52:03 BST 2006 Olly Betts <olly@survex.com>
7862 * xapian.i: Adding "throw()" to version functions doesn't actually
7863 seem to suppress %exception, so explicitly specify no-op %exception
7866 Sat May 13 02:00:27 BST 2006 Olly Betts <olly@survex.com>
7868 * TODO,csharp/Makefile.am,csharp/SmokeTest.cs,
7869 csharp/docs/bindings.html,csharp/util.i: Wrap the version functions
7870 as more sensible names and document them (and continue to provide
7871 the older undocumented names for now just in case anyone was using
7873 * csharp/Makefile.am: For consistency with other bindings, and
7874 to reduce the number of files called XapianSharp.*, rename
7875 XapianSharp.cc to xapian_wrap.cc.
7877 Sat May 13 00:56:44 BST 2006 Olly Betts <olly@survex.com>
7879 * csharp/docs/bindings.html: Note that the passing of strings from C#
7880 into Xapian and back isn't currently zero byte safe. If you try to
7881 handle string containing zero bytes, you'll find they get truncated
7884 Sat May 13 00:55:55 BST 2006 Olly Betts <olly@survex.com>
7888 Fri May 12 03:57:16 BST 2006 Olly Betts <olly@survex.com>
7890 * csharp/SmokeTest.cs,php/util.i,python/smoketest.py,ruby/util.i,
7891 tcl8/smoketest.tcl,xapian.i: Updated to reflect the
7892 Xapian::xapian_version_string -> Xapian::version_string change
7895 Fri May 12 03:55:56 BST 2006 Olly Betts <olly@survex.com>
7897 * python/docs/examples/simpleexpand.py: Don't define
7898 MAX_PROB_TERM_LENGTH as it isn't used.
7900 Fri May 12 03:46:45 BST 2006 Olly Betts <olly@survex.com>
7902 * php/smoketest.php: Whitespace tweak.
7904 Fri May 12 03:46:06 BST 2006 Olly Betts <olly@survex.com>
7906 * php/docs/examples/simplesearch.php: MAX_PROB_TERM_LENGTH isn't used
7909 Fri May 12 03:39:31 BST 2006 Olly Betts <olly@survex.com>
7911 * php/Makefile.am: Reinstate -noproxy which I accidentally removed on
7914 Fri May 12 00:32:41 BST 2006 Olly Betts <olly@survex.com>
7916 * configure.ac: Add partial support for the Portable.NET C# compiler.
7917 Currently the lack of strong naming support is a problem because
7918 our build system assumes we have it...
7920 Fri May 12 00:31:51 BST 2006 Olly Betts <olly@survex.com>
7922 * xapian.i: Wrap optional length parameter to Enquire::set_query().
7924 Fri May 12 00:30:51 BST 2006 Olly Betts <olly@survex.com>
7926 * ruby/util.i: Rename set_sort_by_relevance to sort_by_relevance!
7927 instead of sort_by_relevance= (as it doesn't take any parameters).
7929 Tue May 09 03:39:03 BST 2006 Olly Betts <olly@survex.com>
7931 * csharp/SmokeTest.cs: Add test of version functions.
7933 Tue May 09 03:21:44 BST 2006 Olly Betts <olly@survex.com>
7935 * php/smoketest.php: Added simple test that zero-bytes are handled
7936 when passing strings to and from Xapian.
7938 Tue May 09 03:12:03 BST 2006 Olly Betts <olly@survex.com>
7940 * python/smoketest.py: Added simple test that zero-bytes are handled
7941 when passing strings to and from Xapian.
7943 Tue May 09 00:50:00 BST 2006 Olly Betts <olly@survex.com>
7945 * tcl8/smoketest.tcl: Add test for version reporting functions; if a
7946 test fails, say which one to aid debugging.
7948 Mon May 08 21:57:49 BST 2006 Olly Betts <olly@survex.com>
7950 * tcl8/smoketest.tcl: Added simple test that zero-bytes are handled
7951 when passing strings to and from Xapian.
7953 Sun May 07 22:03:01 BST 2006 Olly Betts <olly@survex.com>
7955 * java/Makefile.am,java/run-java-test: Another fix "make check" when
7957 * HACKING: Add estimation of approximate effort required to implement
7958 bindings for another language.
7959 * NEWS: Updated ready for next release.
7961 Sun May 07 15:01:24 BST 2006 Olly Betts <olly@survex.com>
7963 * java/Makefile.am: Need to make sure "built" subdirectory exists or
7964 building from clean fails.
7965 * java/Makefile.am: Fix "make check" to work when srcdir != builddir.
7967 Sun May 07 03:48:30 BST 2006 Olly Betts <olly@survex.com>
7969 * ruby/smoketest.rb: Use hit instead of get_hit.
7970 * ruby/util.i: Don't provide the typemap for get_matching_terms since
7971 there's a hand-coded version in xapian.rb.
7973 Sun May 07 01:19:38 BST 2006 Olly Betts <olly@survex.com>
7975 * ruby/Makefile.am: Fix "make check" to work when srcdir != builddir.
7977 Sun May 07 01:16:25 BST 2006 Olly Betts <olly@survex.com>
7979 * php/Makefile.am: Using "php -c myphp.ini" still loads the system
7980 php.ini (at least for PHP 4.3.10), so use "php -n" and then set the
7981 options we specifically want using "-d". Also, fix the smoketest
7982 invocation to work better when srcdir != builddir.
7984 Sat May 07 01:13:58 BST 2006 Olly Betts <olly@survex.com>
7986 * configure.ac,csharp/Makefile.am: Not all machines are set up to run
7987 compiled C# programs when invoked directly, so get configure to
7988 probe if we can, or if using mono works. If not, just skip the
7991 Sat May 06 18:34:41 BST 2006 Olly Betts <olly@survex.com>
7993 * xapian.i: Uncomment commented-out parameter names and fix duplicate
7994 parameter names (for the benefit of bindings which use the parameter
7995 names, like the OO PHP5 patch for SWIG I'm working on...)
7997 Fri May 05 02:36:41 BST 2006 Olly Betts <olly@survex.com>
7999 * ruby/Makefile.am: Actually ship xapian.rb!
8001 Fri May 05 00:49:22 BST 2006 Paul Legato
8003 * ruby/util.i: Remove code left over from before we created xapian.rb.
8005 Thu May 04 18:30:26 BST 2006 Olly Betts <olly@survex.com>
8007 * configure.ac: Remove guile/Makefile from AC_CONFIG_FILES.
8009 Tue May 02 03:00:15 BST 2006 Olly Betts <olly@survex.com>
8011 * python/docs/examples/simplematchdecider.py: Rename confusingly-named
8012 "mymatcher" to "mymatchdecider". Add description of what this
8015 Sun Apr 30 01:27:06 BST 2006 Olly Betts <olly@survex.com>
8017 * configure.ac: The "#" in "C#" seems to sometimes confuse autoconf so
8018 always say "CSharp" instead. Add some missing "checking ..."
8019 messages so the user has more idea what is going on. Look for PHP
8020 interpreter first in prefix given by "php-config --prefix". Look
8021 for CSharp compiler as "csc" (if "mcs" isn't found) but check we
8022 don't find the unrelated Chicken csc program.
8024 Sat Apr 29 22:16:51 BST 2006 Olly Betts <olly@survex.com>
8026 * INSTALL,configure.ac: Remove mentions of guile from
8027 "./configure --help" and installation instructions.
8028 * Makefile.am: Don't include guile subdirectory in the tarball.
8029 * INSTALL: Mention --with-ruby.
8031 Sat Apr 29 21:46:36 BST 2006 Olly Betts <olly@survex.com>
8033 * HACKING,Makefile.am,README,TODO,configure.ac,ruby/Makefile.am,
8034 ruby/docs/Makefile.am,ruby/docs/bindings.html,ruby/docs/examples/,
8035 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb,xapian.i: Added Ruby
8036 bindings from Paul Legato.
8038 Sat Apr 29 13:57:49 BST 2006 Olly Betts <olly@survex.com>
8040 * php/docs/bindings.html,python/docs/bindings.html,
8041 tcl8/docs/bindings.html,xapian.i: Rename get_document_id to
8042 get_docid for consistency. Keep get_document_id as an alias
8043 for now for backward compatibility.
8045 Sat Apr 29 02:48:54 BST 2006 Olly Betts <olly@survex.com>
8047 * xapian.i: Fixed ESet::empty() to return bool instead of
8048 Xapian::termcount (this was probably a largely harmless error).
8050 Fri Apr 28 17:52:31 BST 2006 Olly Betts <olly@survex.com>
8052 * csharp/util.i,xapian.i: Move the C# specific %rename list to
8055 Fri Apr 28 17:38:12 BST 2006 Olly Betts <olly@survex.com>
8057 * xapian.i: PHP 4.1.2 doesn't define PHP_MAJOR_VERSION so rejig code
8060 Fri Apr 28 17:24:32 BST 2006 Olly Betts <olly@survex.com>
8062 * INSTALL: To install without root access, you need to specify
8063 --prefix to configure so that the docs and examples can be
8064 installed somewhere.
8066 Fri Apr 28 16:43:53 BST 2006 Olly Betts <olly@survex.com>
8068 * php/util.i,python/util.i,tcl8/util.i,xapian.i: Add
8069 XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
8070 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP which util.i can #define to
8071 specify which optional typemaps it provides so we don't need to
8072 encode this information in xapian.i.
8074 Fri Apr 28 14:32:22 BST 2006 Olly Betts <olly@survex.com>
8076 * xapian.i: Fix SWIG_RuntimeError to be handled as an exception in
8079 Fri Apr 28 14:26:20 BST 2006 Olly Betts <olly@survex.com>
8081 * xapian.i: Mark the calls which return version strings as "throw()"
8082 so that SWIG knows it can omit exception handling wrappers.
8084 Fri Apr 28 14:11:32 BST 2006 Olly Betts <olly@survex.com>
8086 * java/Makefile.am,java/run-java-test: Simplify (and improve
8087 portability of) run-java-test by using "libtool --mode=execute"'s
8090 Sun Apr 16 03:48:08 BST 2006 Olly Betts <olly@survex.com>
8092 * php/smoketest.php: Translated tests of the version number functions
8093 from smoketest.py. Failing tests now print a diagnostic before
8094 dying (again like smoketest.py).
8096 Thu Apr 13 19:50:16 BST 2006 Olly Betts <olly@survex.com>
8098 * INSTALL: Add section describing how to install without root access.
8100 Wed Apr 12 00:38:39 BST 2006 Olly Betts <olly@survex.com>
8102 * configure.ac: Fix warning flags passed for Intel C++ compiler.
8104 Tue Apr 11 22:43:59 BST 2006 Olly Betts <olly@survex.com>
8106 * xapian.i: Removed superfluous "const" from return type "docid"
8107 which is just a typedef for an unsigned integer type.
8109 Sun Apr 09 16:47:15 BST 2006 Olly Betts <olly@survex.com>
8111 * python/Makefile.am: Install xapian.py and xapian.pyc as _DATA not
8112 _SCRIPTS because we don't want to make them executable (they don't
8115 Sat Apr 08 20:09:39 BST 2006 Olly Betts <olly@survex.com>
8117 * NEWS,configure.ac: Updated for 0.9.5.
8119 Sat Apr 08 20:08:07 BST 2006 Olly Betts <olly@survex.com>
8121 * configure.ac: Disable "--with-guile" option.
8123 Fri Apr 07 22:54:54 BST 2006 Olly Betts <olly@survex.com>
8125 * configure.ac: Special case setting of compiler warnings to account
8126 for Intel's C++ compiler (which configure detects as GCC.
8128 Fri Apr 07 17:33:39 BST 2006 Olly Betts <olly@survex.com>
8130 * Makefile.am: Distribute HACKING.
8132 Fri Apr 07 17:31:40 BST 2006 Olly Betts <olly@survex.com>
8134 * HACKING,README: Split off HACKING to contain information which is
8135 only relevant to those wishing to modify the bindings.
8137 Fri Apr 07 16:49:37 BST 2006 Olly Betts <olly@survex.com>
8139 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH
8140 has a different name.
8142 Thu Apr 06 23:33:55 BST 2006 Olly Betts <olly@survex.com>
8144 * php/docs/examples/simpleindex.php: Flushing after every call to
8145 WritableDatabase_add_document isn't required and will kill
8146 performance, so stop doing it.
8148 Wed Apr 05 03:42:58 BST 2006 Olly Betts <olly@survex.com>
8150 * php/util.i: Add custom typemap for SWIGTYPE& to avoid SEGV when
8151 "Null" is passed where C++ wants an object passed by reference.
8154 Wed Apr 05 03:06:07 BST 2006 Olly Betts <olly@survex.com>
8156 * php/docs/examples/simpleindex.php: Lowercase terms before stemming.
8159 Wed Apr 05 00:48:00 BST 2006 Olly Betts <olly@survex.com>
8161 * configure.ac: Require SWIG 1.3.29.
8163 Tue Apr 04 22:05:37 BST 2006 Olly Betts <olly@survex.com>
8165 * php/smoketest.php: Added regression test to make sure that overload
8166 resolution involving boolean types works.
8168 Tue Apr 04 16:41:44 BST 2006 Olly Betts <olly@survex.com>
8170 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_value().
8172 Sun Apr 02 03:11:38 BST 2006 Olly Betts <olly@survex.com>
8174 * python/Makefile.am: Pass suitable SWIG optimisation options for
8176 * python/Makefile.am,xapian.i: Exclude pythonic iterator code from
8179 Sat Apr 01 16:34:32 BST 2006 Olly Betts <olly@survex.com>
8181 * python/docs/bindings.html,python/smoketest.py: Pythonic iterators
8182 require Python 2.2 or newer.
8184 Thu Mar 30 15:32:44 BST 2006 Olly Betts <olly@survex.com>
8186 * python/docs/bindings.html: Wrap unwrapped paragraphs. Use " to
8187 quote attribute values for consistency.
8189 Thu Mar 30 15:26:21 BST 2006 James Aylett <james@tartarus.org>
8191 * python/docs/bindings.html: Document the Pythonic iterators.
8193 Thu Mar 30 15:23:16 BST 2006 Olly Betts <olly@survex.com>
8195 * python/extra.i: Database's termlist iterator now supports positions.
8197 Tue Mar 28 21:58:21 BST 2006 Olly Betts <olly@survex.com>
8199 * xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
8200 Python bindings. Add package for C# bindings.
8202 Thu Mar 16 08:15:43 GMT 2006 Olly Betts <olly@survex.com>
8204 * php/util.i: Fix handling of bool parameters when resolving
8205 overloaded methods and/or default arguments. This fixes
8206 Enquire_sort_by_value() to work when the second argument
8209 Thu Mar 16 02:48:16 GMT 2006 Olly Betts <olly@survex.com>
8211 * python/extra.i: Fix TermIter not to try to read termfreqs or
8212 positions when they aren't meaningful for the current TermIter.
8213 * python/smoketest.py: Add feature tests for the various pythonic
8214 iterator wrappers; catch Exception objects and print them.
8216 Wed Mar 15 02:21:53 GMT 2006 Olly Betts <olly@survex.com>
8218 * python/smoketest.py: If a check fails, write a diagnostic message to
8219 stderr so we know which check it was!
8221 Wed Mar 15 01:41:40 GMT 2006 Olly Betts <olly@survex.com>
8223 * python/smoketest.py: Add feature test for MSetIter.
8225 Thu Mar 09 20:11:32 GMT 2006 Olly Betts <olly@survex.com>
8227 * java/SmokeTest.java,java/native/Query.cc,
8228 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
8229 java/org/xapian/XapianJNI.java: Add a new Query constructor
8230 wrapper which take an OP_xxx and an array of Query objects.
8231 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
8232 Compiling a .java file to a .class file now deletes the .jar file
8233 to ensure it gets updated.
8235 Thu Mar 09 20:08:17 GMT 2006 Olly Betts <olly@survex.com>
8237 * java/README: Note that some platforms need "-pthread" or similar
8240 Thu Mar 09 17:50:51 GMT 2006 Olly Betts <olly@survex.com>
8242 * csharp/SmokeTest.cs,xapian.i: Rename Database::GetDoccount() to
8243 Database::GetDocCount() for consistency.
8245 Thu Mar 09 14:57:20 GMT 2006 Olly Betts <olly@survex.com>
8247 * java/Makefile.am: Use JAVA_PATHSEP when specifying the classpath for
8248 compiling .java files to .class files.
8250 Thu Mar 09 06:12:44 GMT 2006 Olly Betts <olly@survex.com>
8252 * java/README,java/native/Makefile.am,java/run-java-test: Causing the
8253 "all" target to run the "install" target seems to be very
8254 problematic, so change "make check" to use the uninstalled JNI glue
8255 library, and update the instructions to say that "make install" is
8258 Thu Mar 09 05:16:19 GMT 2006 Olly Betts <olly@survex.com>
8260 * java/native/XapianObjectHolder.h,java/native/xapian_jni.h: Rework
8261 how we include headers to get hash_map to avoid compiler warnings
8262 since it's usually not in the std namespace nowadays.
8264 Wed Mar 08 23:39:34 GMT 2006 Olly Betts <olly@survex.com>
8266 * configure.ac: Fix poor English in comment.
8268 Wed Mar 08 22:49:57 GMT 2006 Olly Betts <olly@survex.com>
8270 * java/SmokeTest.java: Write a helpful diagnostic to stderr if a check
8271 fails so we have some idea what went wrong!
8273 Tue Mar 07 04:30:45 GMT 2006 Olly Betts <olly@survex.com>
8275 * python/Makefile.am: Use the fairly new "swig -O" option for the
8276 "modern" python bindings as it generates a smaller glue library
8279 Fri Mar 03 00:51:08 GMT 2006 Olly Betts <olly@survex.com>
8281 * configure.ac: Report which languages we're building bindings for
8282 just before configure finishes.
8284 Thu Mar 02 04:26:14 GMT 2006 Olly Betts <olly@survex.com>
8286 * configure.ac: Add a better check for Python's distutils.sysconfig
8287 not being available (the previous check didn't actually work), and
8288 mention in the warning/error that we give that the solution is
8289 probably to install a python-dev or python-devel package.
8291 Thu Mar 02 02:45:00 GMT 2006 Olly Betts <olly@survex.com>
8293 * php/Makefile.am,php/php.ini: php -n avoids reading any php.ini, but
8294 the compiled in default may be to enable the dubiously named
8295 "safe_mode" which prevents dl() being used so "make check" fails.
8296 So instead provide a very simple php.ini which turns off safe_mode
8297 and makes sure enable_dl is on.
8299 Thu Feb 23 16:15:41 GMT 2006 Olly Betts <olly@survex.com>
8301 * xapian.i: Make the stub definitions for disabled backends static.
8303 Tue Feb 21 23:23:59 GMT 2006 Olly Betts <olly@survex.com>
8305 * configure.ac: Catch the case where the user has python installed
8306 but not the module "distutils.sysconfig".
8308 Tue Feb 21 23:02:18 GMT 2006 Olly Betts <olly@survex.com>
8310 * python/Makefile.am: Fix so "make check" works in VPATH builds.
8312 Tue Feb 21 21:15:10 GMT 2006 Olly Betts <olly@survex.com>
8314 * java/native/,xapian.i: Override deprecation warnings for Xapian
8315 methods/functions/etc.
8317 Tue Feb 21 12:12:48 GMT 2006 Olly Betts <olly@survex.com>
8319 * configure.ac: Don't quote $PHP in AC_PATH_PROGS to avoid
8320 "checking for ... no" message.
8322 Tue Feb 21 00:19:57 GMT 2006 Olly Betts <olly@survex.com>
8324 * NEWS,configure.ac: Updated for 0.9.4.
8326 Sun Feb 19 23:21:29 GMT 2006 Olly Betts <olly@survex.com>
8328 * COPYING: Updated FSF address.
8330 Sun Feb 19 01:10:14 GMT 2006 Olly Betts <olly@survex.com>
8332 * xapian.i: Wrap Stopper::get_description().
8333 * xapian.i: Wrap xapian_version_string() and related functions.
8334 * python/smoketest.py: Test wrapping of xapian_version_string()
8335 and related functions.
8337 Sat Feb 18 15:35:06 GMT 2006 Olly Betts <olly@survex.com>
8339 * configure.ac: Actually, the windows special case code for PHP
8340 should *NOT* be active for cygwin too!
8342 Sat Feb 18 15:34:10 GMT 2006 Olly Betts <olly@survex.com>
8344 * php/util.i: Fix so that generated code compiles with ZTS-enabled
8345 PHP (which is the default on Windows).
8347 Fri Feb 17 14:10:08 GMT 2006 Olly Betts <olly@survex.com>
8349 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8350 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8351 tcl8/Makefile.am: If we're overriding MACOSX_DEPLOYMENT_TARGET
8352 then override it for commands run from "make" too.
8353 * configure.ac: The windows special case code for PHP should be
8354 active for cygwin too.
8356 Thu Feb 16 00:11:00 GMT 2006 Olly Betts <olly@survex.com>
8358 * NEWS,configure.ac: Updated for 0.9.3.
8359 * php/Makefile.am: Missing change for trying to enable PHP bindings
8360 to build out of the box on cygwin.
8362 Wed Feb 15 23:18:22 GMT 2006 Olly Betts <olly@survex.com>
8364 * configure.ac: Add missing ";;" on the last alternative in some
8366 * configure.ac: Try to enable PHP bindings to build out of the
8367 box on cygwin (needs testing).
8369 Wed Feb 15 21:02:42 GMT 2006 Olly Betts <olly@survex.com>
8371 * java/README: Updated the java TODO list.
8373 Tue Feb 14 17:13:36 GMT 2006 Olly Betts <olly@survex.com>
8375 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8376 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8377 tcl8/Makefile.am: Only pass -no-undefined on platforms where it
8378 is required in order to link a shared library at all (it causes
8379 problems on MacOS X in some cases).
8381 Tue Feb 14 14:45:34 GMT 2006 Olly Betts <olly@survex.com>
8383 * python/smoketest.py: Remove stray print statement left over from
8386 Tue Feb 14 14:37:15 GMT 2006 Olly Betts <olly@survex.com>
8388 * xapian.i: zend_throw_exception takes a non-const char * as the
8389 message to throw. Presumably it doesn't modify it, but there's
8390 no documentation so it's hard to be sure. Just cast away the const
8393 Tue Feb 14 14:22:35 GMT 2006 Olly Betts <olly@survex.com>
8395 * configure.ac: Change calls to AC_PATH_PROG(FOO, foo, ...)
8396 to AC_PATH_PROGS(FOO, [$FOO foo], ...) so that the user
8397 can do "./configure FOO=myfoo". By itself, AC_PATH_PROG
8398 ignore an explicitly specified FOO unless it has an absolute
8401 Tue Feb 14 11:31:36 GMT 2006 Olly Betts <olly@survex.com>
8403 * xapian-bindings.spec.in: Various updates, mostly from a patch by
8405 + Automatically detect the python version.
8406 + Automatically detect the PHP extension directory.
8407 + Relax Tcl requirement to >= 8.1, since that's what we actually
8409 + Add support for "--without php" and --without tcl8" options to
8411 + Rename "php4" references to "php".
8413 Tue Feb 14 09:21:52 GMT 2006 Olly Betts <olly@survex.com>
8415 * php/util.i: In SWIG 1.3.28, the PHP typecheck for numbers includes
8416 IS_STRING so force std::string to have a higher priority so that
8417 number/string overloads can be resolved as string. Fixes bug#68.
8419 Sun Feb 12 18:31:26 GMT 2006 Olly Betts <olly@survex.com>
8421 * java/SmokeTest.java: Expanded smoketest to cover more features.
8423 Sun Feb 12 16:01:29 GMT 2006 Olly Betts <olly@survex.com>
8425 * java/README: Note that the bindings work with the Eclipse javac
8428 Sun Feb 12 13:30:15 GMT 2006 Olly Betts <olly@survex.com>
8430 * guile/util.i: Replace with a rewrite which doesn't cause SWIG
8431 warnings and is zero-byte safe. The guile bindings are still
8432 a long way from actually working though.
8434 Sun Feb 12 12:31:21 GMT 2006 Olly Betts <olly@survex.com>
8436 * README: SWIG 1.3.28 now released so change "will add" to "added".
8438 Sun Feb 12 07:30:50 GMT 2006 Olly Betts <olly@survex.com>
8440 * java/org/xapian/Query.java: OP_* code 9 no longer exists, so add
8441 it to those rejected by the validity check.
8443 Sun Feb 12 07:28:11 GMT 2006 Olly Betts <olly@survex.com>
8445 * java/native/Query.cc: Fixed memory leak in
8446 Query-from-array-of-strings constructor.
8448 Sun Feb 12 07:22:39 GMT 2006 Olly Betts <olly@survex.com>
8450 * java/README: Add note about how wrapped methods are named.
8452 Sun Feb 12 07:13:36 GMT 2006 Olly Betts <olly@survex.com>
8454 * java/native/org_xapian_XapianJNI.cc,java/native/utils.cc,
8455 java/native/xapian_jni.h: Eliminate the "_errormap" hashmap -
8456 we don't need to use RTTI here, since Xapian::Error subclasses
8457 can tell you their typename directly (using get_type()).
8459 Sat Feb 11 13:10:04 GMT 2006 Olly Betts <olly@survex.com>
8461 * java/org/xapian/Query.java: Comment out no longer used nativeStuff
8464 Fri Feb 10 18:20:36 GMT 2006 Olly Betts <olly@survex.com>
8466 * java/native/xapian_jni.h: Fix 2 typos in comments.
8468 Fri Feb 10 10:17:12 GMT 2006 Olly Betts <olly@survex.com>
8470 * TODO: Update: SwigValueWrapper is no longer used for std::pair;
8471 CamelCase is now used for C#.
8472 * Makefile.am: Ship TODO.
8473 * README: Add reference to TODO.
8475 Fri Feb 10 08:15:54 GMT 2006 Olly Betts <olly@survex.com>
8477 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
8478 java/org/xapian/XapianJNI.java: Fix updated wrapper for
8480 * java/native/Enquire.cc: Clearer code in wrapper for
8482 * java/org/xapian/Query.java: Commented out unused
8483 'import java.io.StringReader;'.
8485 Fri Feb 10 08:10:51 GMT 2006 Olly Betts <olly@survex.com>
8487 * csharp/SmokeTest.cs: Corrected TermlistCount -> TermListCount, etc.
8489 Fri Feb 10 08:10:12 GMT 2006 Olly Betts <olly@survex.com>
8491 * xapian.i: Fix compilation issues with recent changes.
8493 Fri Feb 10 08:06:26 GMT 2006 Olly Betts <olly@survex.com>
8495 * csharp/Makefile.am: SWIG CVS HEAD now generates the same .cs
8496 filenames for templates as 1.3.27 did, so remove workaround
8497 for handling both cases.
8499 Fri Feb 10 06:51:03 GMT 2006 Olly Betts <olly@survex.com>
8501 * csharp/docs/: svn:ignore Makefile and Makefile.in.
8503 Fri Feb 10 06:49:07 GMT 2006 Olly Betts <olly@survex.com>
8505 * configure.ac: Require SWIG 1.3.28 (for automatic renaming to
8508 Fri Feb 10 06:47:21 GMT 2006 Olly Betts <olly@survex.com>
8510 * xapian.i: For C#, get_mset -> GetMSet; get_eset -> GetESet.
8511 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
8512 csharp/docs/examples/SimpleSearch.cs,csharp/util.i: Update
8513 for CamelCase changes.
8515 Fri Feb 10 06:33:10 GMT 2006 Olly Betts <olly@survex.com>
8517 * xapian.i,csharp/docs/bindings.html: Rename method names to
8520 Thu Feb 09 20:41:28 GMT 2006 Olly Betts <olly@survex.com>
8522 * xapian.i: Tidy up new exception handling code.
8523 * xapian.i: Add "%template() std::pair<Xapian::TermIterator,
8524 Xapian::TermIterator>;" which stops SWIG from using SwigValueWrapper
8527 Thu Feb 09 20:18:02 GMT 2006 Olly Betts <olly@survex.com>
8529 * .: svn:ignore xapian-version.h.
8531 Wed Feb 08 15:24:23 GMT 2006 Olly Betts <olly@survex.com>
8533 * xapian.i: Fix typo in exception throwing code for PHP5.
8535 Fri Feb 03 03:15:02 GMT 2006 Olly Betts <olly@survex.com>
8537 * Makefile.am,configure.ac,php/util.i,xapian-version.h.in: Put our
8538 PACKAGE_VERSION into xapian-version.h so we can #include that from
8539 php/util.i without clashing with PACKAGE_VERSION, etc defined by
8542 Thu Jan 12 19:51:52 GMT 2006 Olly Betts <olly@survex.com>
8546 Thu Jan 12 17:23:23 GMT 2006 Olly Betts <olly@survex.com>
8548 * INSTALL: Note that compile time (and probably memory usage) are much
8551 Thu Jan 12 17:18:10 GMT 2006 Olly Betts <olly@survex.com>
8553 * xapian.i: Pull out much of the common exception handling code into
8554 a helper function, drastically reducing the size of the compiled
8555 code for other languages like I recently did for tcl.
8557 Thu Jan 12 15:28:16 GMT 2006 Olly Betts <olly@survex.com>
8559 * python/Makefile.am: "import _xapian;" before we "import xapian;" to
8560 avoid creating a broken xapian.pyc is the shared library can't be
8561 loaded for some reason.
8563 Fri Jan 06 00:30:50 GMT 2006 Olly Betts <olly@survex.com>
8565 * php/util.i: Fix so that PACKAGE_VERSION is defined when compiling
8566 the SWIG generated C++ source code.
8568 Thu Jan 05 18:29:20 GMT 2006 Olly Betts <olly@survex.com>
8570 * xapian.i: SWIG/Tcl ignores the SWIG_XXXError code passed to
8571 SWIG_exception so special-case Tcl's %exception block to only
8572 look for the Xapian::Error baseclass. This cuts the compile
8573 time by about a factor of 3 and halves the size of the stripped
8576 Wed Jan 04 20:21:39 GMT 2006 Olly Betts <olly@survex.com>
8578 * xapian.i: Include default constructors for all classes so that SWIG
8579 knows it doesn't have to use SwigValueWrapper for them.
8581 Tue Jan 03 01:56:32 GMT 2006 Olly Betts <olly@survex.com>
8583 * README: Note that bindings for additional languages need a
8584 smoketest, documentation, and examples.
8586 Tue Jan 03 01:48:29 GMT 2006 Olly Betts <olly@survex.com>
8590 Tue Jan 03 01:45:11 GMT 2006 Olly Betts <olly@survex.com>
8592 * php/docs/bindings.html,php/smoketest.php,xapian.i: Translate Xapian
8593 exceptions to PHP exceptions for PHP5. For PHP4, handle
8594 DocNotFoundError and FeatureUnavailableError by issuing a warning
8595 and making the method return "Null".
8597 Tue Jan 03 01:41:11 GMT 2006 Olly Betts <olly@survex.com>
8599 * php/docs/examples/simplesearch.php: Use newly wrapped Query from
8602 Tue Jan 03 01:40:24 GMT 2006 Olly Betts <olly@survex.com>
8604 * tcl8/docs/examples/simpleindex.tcl: Fix typo in comment.
8605 * tcl8/docs/examples/simplesearch.tcl: Fix to lowercase and stem query
8608 Mon Jan 02 23:40:04 GMT 2006 Olly Betts <olly@survex.com>
8610 * tcl8/docs/examples/simpleindex.tcl,
8611 tcl8/docs/examples/simplesearch.tcl: Need explicit "xapian::" on
8613 * tcl8/docs/examples/simplesearch.tcl: Use the new Query from list
8615 * tcl8/docs/examples/simpleindex.tcl: Tweak regex to not tokenise
8616 "foo--bar" as "foo-" and "bar".
8617 * tcl8/smoketest.tcl: Removed commented out unused line.
8619 Mon Jan 02 23:25:48 GMT 2006 Olly Betts <olly@survex.com>
8621 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
8622 Implement custom typemaps for Tcl, so that you can now construct
8623 a Query from a list of Query objects and/or strings, and
8624 Enquire::get_matching_terms is now wrapped.
8626 Mon Jan 02 18:59:21 GMT 2006 Olly Betts <olly@survex.com>
8628 * configure.ac,php/docs/Makefile.am,php/docs/examples/Makefile.am,
8629 python/docs/Makefile.am,python/docs/examples/Makefile.am,
8630 tcl8/docs/Makefile.am,tcl8/docs/examples/Makefile.am: Eliminate
8631 separate Makefile in each examples subdirectory, which makes the
8632 build system simpler, smaller, and a little faster.
8634 Mon Jan 02 18:57:47 GMT 2006 Olly Betts <olly@survex.com>
8636 * README: Note that Python 2.0 and Tcl 8.0 wouldn't be too hard to
8637 support in case anyone is sufficiently motivated.
8639 Mon Jan 02 18:47:03 GMT 2006 Olly Betts <olly@survex.com>
8641 * csharp/docs/Makefile.am: Fix path for SimpleIndex.cs; add
8644 Mon Jan 02 18:12:59 GMT 2006 Olly Betts <olly@survex.com>
8646 * README: C# bindings are now usable.
8648 Mon Jan 02 07:06:58 GMT 2006 Olly Betts <olly@survex.com>
8650 * TODO,csharp/TODO: Move C# TODO to top level, update C# entries, and
8653 Mon Jan 02 07:05:05 GMT 2006 Olly Betts <olly@survex.com>
8655 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
8656 csharp/docs/examples/: Add C# examples.
8657 * csharp/docs/bindings.html: Document the slightly odd names that
8658 constants are currently wrapped as.
8660 Mon Jan 02 06:49:48 GMT 2006 Olly Betts <olly@survex.com>
8662 * csharp/util.i: Fixed to work!
8664 Mon Jan 02 02:48:35 GMT 2006 Olly Betts <olly@survex.com>
8666 * csharp/Makefile.am: Don't use $(ASSEMBLY).cc for the generated C++
8667 source. It doesn't work everywhere, so it's confusing to use it
8668 in just some places.
8669 * csharp/util.i: Implement operator== and operator!= for the iterator
8670 classes so that comparisons with the end iterator work as expected.
8671 * csharp/SmokeTest.cs: Add test for this.
8672 * csharp/docs/bindings.html: Document.
8674 Sat Dec 31 14:15:41 GMT 2005 Olly Betts <olly@survex.com>
8676 * csharp/Makefile.am: Removed another reference to
8677 SWIGTYPE_p_std__list_Tstd__string_t.
8679 Sat Dec 31 13:25:31 GMT 2005 Olly Betts <olly@survex.com>
8681 * csharp/Makefile.am: SWIGTYPE_p_std__list_Tstd__string_t.cs is no
8684 Sat Dec 31 06:43:37 GMT 2005 Olly Betts <olly@survex.com>
8686 * configure.ac: Remove php/util.i from AC_CONFIG_FILES.
8688 Sat Dec 31 06:42:41 GMT 2005 Olly Betts <olly@survex.com>
8690 * python/smoketest.py: Add more tests.
8692 Sat Dec 31 06:41:21 GMT 2005 Olly Betts <olly@survex.com>
8694 * php/smoketest.php: Add more tests.
8696 Sat Dec 31 06:40:24 GMT 2005 Olly Betts <olly@survex.com>
8698 * php/docs/bindings.html: Update documentation to include new
8701 Sat Dec 31 06:39:17 GMT 2005 Olly Betts <olly@survex.com>
8703 * php/Makefile.am: Clean up now php/util.i is no longer a generated
8706 Sat Dec 31 06:29:24 GMT 2005 Olly Betts <olly@survex.com>
8708 * php/util.i,php/util.i.in: Generating php/util.i from configure
8709 is unnecessary and risks lost changes if you fail to notice
8710 and edit the wrong file, so stop doing it. Redo Xapian section in
8711 phpinfo() to look more like most other modules; New PHP typemaps:
8712 you can now construct a Query object from an array of strings or
8713 Query objects (or a mixture).
8714 * php/util.i,python/util.i,xapian.i: Change the %extend method
8715 Enquire::get_matching_terms() to generate the PHP/Python list
8716 directly from the TermIterator rather than constructing a
8717 temporary C++ std::list.
8718 * python/util.i: Check for errors in more places.
8720 Sat Dec 31 06:17:56 GMT 2005 Olly Betts <olly@survex.com>
8722 * tcl8/docs/bindings.html: We've not implemented the typemaps
8723 which allow Enquire::get_matching_terms() to work yet, so
8724 comment out that section of the documentation.
8726 Sat Dec 31 06:15:55 GMT 2005 Olly Betts <olly@survex.com>
8728 * csharp/TODO,csharp/docs/bindings.html: Note that we need to write
8729 the custom typemaps for Enquire::get_matching_terms() and the
8730 Query list constructors.
8732 Mon Dec 26 18:14:37 GMT 2005 Olly Betts <olly@survex.com>
8734 * README: Added note about supported platforms.
8736 Sat Dec 24 15:10:53 GMT 2005 Olly Betts <olly@survex.com>
8738 * configure.ac: Added csharp/docs/Makefile to AC_CONFIG_FILES.
8740 Sat Dec 24 14:27:56 GMT 2005 Olly Betts <olly@survex.com>
8742 * php/util.i.in: Remove language name from %typemap as it's deprecated
8743 by SWIG and not needed since we only include the appropriate util.i
8744 for the language we're building bindings for.
8746 Sat Dec 24 13:13:26 GMT 2005 Olly Betts <olly@survex.com>
8748 * csharp/Makefile.am,csharp/extra.i,guile/Makefile.am,guile/extra.i,
8749 php/Makefile.am,php/extra.i,python/util.i,tcl8/Makefile.am,
8750 tcl8/extra.i,xapian.i: Eliminate all the empty extra.i files.
8751 Python's isn't empty, but we can just include that from Python's
8754 Sat Dec 24 13:08:16 GMT 2005 Olly Betts <olly@survex.com>
8756 * csharp/util.i,xapian.i: Make ++ and -- work on iterators.
8758 Sat Dec 24 12:21:59 GMT 2005 Olly Betts <olly@survex.com>
8760 * csharp/Makefile.am,csharp/TODO,csharp/docs/Makefile.am,
8761 csharp/docs/bindings.html: Added documentation for C# bindings.
8763 Thu Dec 22 23:31:40 GMT 2005 Olly Betts <olly@survex.com>
8765 * python/util.i: Comment out unused "get_py_int". Use
8766 PyString_AsStringAndSize() to get string and size in one.
8768 Wed Dec 21 09:27:19 GMT 2005 Olly Betts <olly@survex.com>
8770 * csharp/Makefile.am: Fix SWIG invocation rule to cope with either
8771 SWIG 1.3.27 or SWIG CVS HEAD (which uses a slightly different file
8772 naming convention for templates).
8774 Wed Dec 21 09:04:54 GMT 2005 Olly Betts <olly@survex.com>
8776 * python/util.i: Remove the language name from the %typemap arguments
8777 - it's superfluous (since we only include this file for python) and
8778 seems to be deprecated in SWIG.
8780 Tue Dec 20 20:40:57 GMT 2005 Olly Betts <olly@survex.com>
8782 * python/util.i: Test return value of SWIG_ConvertPtr < 0 for
8783 consistency with usage elsewhere.
8785 Tue Dec 20 16:51:49 GMT 2005 Olly Betts <olly@survex.com>
8787 * csharp/SmokeTest.cs,csharp/TODO: SWIG now supports optional
8788 parameters in C# so no need to specify them. Also the
8789 get_description() problem I noticed seems to have been
8790 fixed by a newer version of SWIG.
8792 Tue Dec 20 15:50:41 GMT 2005 Olly Betts <olly@survex.com>
8794 * xapian.i: Added a missing ";" and two missing "static" from the
8797 Tue Dec 20 13:05:07 GMT 2005 Olly Betts <olly@survex.com>
8799 * csharp/: svn:ignore SmokeTest.exe, and adjust other ignores to be
8801 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/TODO,xapian.i:
8802 SmokeTest now passes and reports exceptions verbosely.
8803 Xapian::InMemory::open() is wrapped as Xapian.InMemory.open(), and
8804 similarly for other database factory functions.
8805 * xapian.i: Removed workaround for SWIG 1.3.22's missing std_XXX.i
8806 typemap files for C#. Added workaround for SWIG 1.3.27's missing
8807 SWIG_exception() for C#. Stop renaming methods for PHP as it now
8808 support overloading. Add dtors for MSetIterator and ESetIterator
8809 as the classes do have them (they just do nothing) and SWIG will
8810 try to wrap the default ones anyway (and get it slightly wrong).
8812 Tue Dec 20 09:48:56 GMT 2005 Olly Betts <olly@survex.com>
8814 * csharp/Makefile.am: Heed compatibility warnings and use different
8815 forms for command-line switches to the C# compiler (presumably for
8816 compatibility with Microsoft's compiler, though the warnings don't
8817 actually say that explicitly).
8819 Mon Dec 19 12:51:19 GMT 2005 Olly Betts <olly@survex.com>
8821 * tcl8/util.i: Remove typemaps for handling std::string since SWIG
8824 Mon Dec 19 11:45:39 GMT 2005 Olly Betts <olly@survex.com>
8826 * php/docs/bindings.html,php/docs/examples/simpleindex.php: You aren't
8827 meant to call delete_CLASS() directly from PHP (and in fact it's
8828 usually not wrapped now).
8830 Mon Dec 19 11:37:16 GMT 2005 Olly Betts <olly@survex.com>
8832 * php/smoketest.php: Add feature tests for new Query wrapping stuff.
8834 Mon Dec 19 11:34:44 GMT 2005 Olly Betts <olly@survex.com>
8836 * python/util.i: Convert C++ strings to python ones in a zero-byte
8839 Mon Dec 19 11:01:31 GMT 2005 Olly Betts <olly@survex.com>
8841 * configure.ac,python/Makefile.am: If using GCC, compile the python
8842 bindings with -fno-strict-aliasing (python itself is compiled with
8843 this option to avoid problems and it appears we ought to use it too
8844 to avoid the same problems).
8846 Mon Dec 12 11:15:34 GMT 2005 Olly Betts <olly@survex.com>
8848 * php/util.i.in: Use std::string::data() instead of c_str() as it may
8849 be more efficient for some implementations.
8851 Mon Dec 12 04:26:24 GMT 2005 Olly Betts <olly@survex.com>
8853 * configure.ac: Fix java separator configure test to actually work.
8855 Mon Dec 12 02:54:10 GMT 2005 Olly Betts <olly@survex.com>
8857 * configure.ac,java/Makefile.am: Compile a small java program and
8858 run it to find what java wants as path separator in -classpath.
8860 Mon Dec 12 02:11:44 GMT 2005 Olly Betts <olly@survex.com>
8862 * java/Makefile.am,java/run-java-test: Use $(PATH_SEPARATOR) to
8863 separate entries in the java -classpath command line option so
8864 that it'll work on platforms where $(PATH_SEPARATOR) isn't ":".
8866 Sun Dec 11 07:58:51 GMT 2005 Olly Betts <olly@survex.com>
8868 * python/util.i,xapian.i: Support a mixture of xapian.Query objects
8869 and strings in the python xapian.Query(OP, SEQUENCE [, PARAM])
8871 * python/smoketest.py: Add feature test.
8872 * python/docs/bindings.html: Update documentation to mention recent
8875 Sun Dec 11 07:31:21 GMT 2005 Olly Betts <olly@survex.com>
8877 * python/util.i,xapian.i: Fix wrapper for Xapian::Query ctor taking
8878 operator and list of strings, plus optional parameter to work again.
8879 Add a new wrapper which is similar but takes a list of xapian.query
8880 objects instead of strings.
8881 * python/smoketest.py: Add regression test and feature test for
8884 Thu Dec 08 03:39:25 GMT 2005 Olly Betts <olly@survex.com>
8886 * python/extra.i,python/util.i: Tweak layout for better readability;
8888 * python/extra.i: Add vim modeline.
8890 Thu Dec 08 02:05:13 GMT 2005 Olly Betts <olly@survex.com>
8892 * php/docs/examples/simpleindex.php,
8893 php/docs/examples/simplesearch.php: Add a more useful error message
8894 if a database can't be opened; Fix inconsistent whitespace; Update
8897 Thu Dec 08 01:58:04 GMT 2005 Olly Betts <olly@survex.com>
8899 * INSTALL: Improved phrasing.
8900 * NEWS: Added draft entry for next release.
8902 Wed Dec 07 02:46:53 GMT 2005 Olly Betts <olly@survex.com>
8904 * php/docs/bindings.html: Fix typo.
8906 Wed Dec 07 02:42:51 GMT 2005 Olly Betts <olly@survex.com>
8908 * php/docs/bindings.html: Fix typo; note that SWIG doesn't currently
8909 support proxy classes in PHP5.
8911 Wed Nov 30 00:22:33 GMT 2005 Olly Betts <olly@survex.com>
8913 * java/README,java/native/Enquire.cc,java/org/xapian/Enquire.java:
8914 Wrap optional second parameter (query length) to
8915 Enquire::set_query().
8917 Tue Nov 29 04:31:44 GMT 2005 Olly Betts <olly@survex.com>
8921 Tue Nov 29 04:11:18 GMT 2005 Olly Betts <olly@survex.com>
8923 * configure.ac,php/Makefile.am: Bump required SWIG version to 1.3.26
8924 and drop the special requirement for 1.3.22 for PHP (hurrah!)
8926 Tue Nov 29 03:46:40 GMT 2005 Olly Betts <olly@survex.com>
8928 * php/Makefile.am,php/php.ini: Instead of "$(PHP) -c $(srcdir)" and
8929 having an empty php.ini in srcdir (which we were failing to
8930 distribute anyway), use "$(PHP) -n" which tells PHP not to use any
8933 Tue Nov 29 00:48:06 GMT 2005 Olly Betts <olly@survex.com>
8935 * README: Updated list of languages SWIG supports.
8937 Sun Oct 02 14:19:20 BST 2005 Olly Betts <olly@survex.com>
8939 * Makefile.am: Fixed "php4" -> "php" in DIST_SUBDIRS.
8941 Sun Oct 02 00:15:06 BST 2005 Olly Betts <olly@survex.com>
8943 * INSTALL,configure.ac: Add -lstdc++ to XAPIAN_LIBS if we're using
8944 GCC. OpenBSD needs it to be explicitly specified and libtool
8945 handles this if it would have been implicitly linked with anyway.
8946 * INSTALL: Improved and expanded the text in a few places.
8948 Sat Oct 01 14:04:51 BST 2005 Olly Betts <olly@survex.com>
8950 * README,configure.ac,php/,php4/: Fabrice Colin reports that the PHP4
8951 bindings also work with PHP5 so extend configure test to look for
8952 PHP5 too, rename "php4" directory to "php", and change other
8953 references to PHP4 too.
8955 Mon Sep 26 22:39:01 BST 2005 Olly Betts <olly@survex.com>
8957 * INSTALL,configure.ac: On darwin, ensure MACOSX_DEPLOYMENT_TARGET is
8958 set to at least 10.3. This is required to link the bindings, and
8959 it doesn't seem to be possible to link them on 10.1 or 10.2 anyway.
8960 * INSTALL: Update to reflect --with and --without option changes.
8961 * INSTALL: Added notes about OpenBSD issues and issues with compiling
8962 the bindings requiring a lot of memory.
8964 Mon Sep 19 13:19:59 BST 2005 Olly Betts <olly@survex.com>
8966 * configure.ac: Change how which bindings to build are selected. If
8967 no --with* arguments are passed, then we default to building
8968 bindings we detect the required tools for. But instead of requiring
8969 users to deselect bindings they don't want, they now select bindings
8970 they do want. So "./configure --with-python" will only build the
8971 python bindings (and will fail if the required tools aren't
8974 Sun Sep 18 23:58:08 BST 2005 Olly Betts <olly@survex.com>
8976 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8977 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
8978 tcl8/Makefile.am: Rework how XAPIAN_CXXFLAGS is passed through
8979 so that the user can override CXXFLAGS like so: make CXXFLAGS=-g
8981 Fri Jul 15 11:12:13 BST 2005 Olly Betts <olly@survex.com>
8983 * configure.ac: Updated for 0.9.2.
8985 Fri Jul 15 10:21:17 BST 2005 Olly Betts <olly@survex.com>
8987 * xapian.i: Added semicolon missing from recent change.
8989 Fri Jul 15 02:15:10 BST 2005 Olly Betts <olly@survex.com>
8991 * NEWS: Updated for 0.9.2.
8993 Fri Jul 15 02:10:07 BST 2005 Olly Betts <olly@survex.com>
8995 * xapian.i: Added wrappers for new optional flags argument to
8996 QueryParser::parse_query().
8998 Fri Jun 24 12:00:19 BST 2005 Olly Betts <olly@survex.com>
9000 * java/README: Add success report for Sun java 1.4.1_01a.
9002 Fri Jun 24 11:13:03 BST 2005 Olly Betts <olly@survex.com>
9004 * java/Makefile.am: Actually distribute SmokeTest.java.
9006 Fri Jun 17 03:18:19 BST 2005 Olly Betts <olly@survex.com>
9008 * configure.ac: csharp build uses a tool from GNU Mono called "mcs"
9009 but some UNIX variants ship with a tool called "mcs" which does
9010 something else. For now, simply check the "mcs --version" is
9013 Thu Jun 16 19:12:41 BST 2005 Olly Betts <olly@survex.com>
9015 * python/util.i: When converting a python list to vector<string> we
9016 know the number of elements so reserve that number in the vector.
9018 Thu Jun 16 19:02:03 BST 2005 Olly Betts <olly@survex.com>
9020 * python/util.i: Remove bogus ";" after closing "}" of "namespace {}".
9022 Mon Jun 06 18:50:54 BST 2005 Olly Betts <olly@survex.com>
9024 * NEWS: Updated for 0.9.1.
9026 Mon Jun 06 18:48:42 BST 2005 Olly Betts <olly@survex.com>
9028 * tcl8/docs/bindings.html: Added information from Michael Schlenker
9029 about how to delete a database object such that the destructor
9032 Mon Jun 06 17:58:16 BST 2005 Olly Betts <olly@survex.com>
9034 * configure.ac,NEWS: Updated for 0.9.1.
9036 Fri May 13 00:34:22 BST 2005 Olly Betts <olly@survex.com>
9038 * NEWS: Updated with Java information for 0.9.0.
9040 Fri May 13 00:29:31 BST 2005 Olly Betts <olly@survex.com>
9042 * java/native/Query.cc,java/native/org_xapian_XapianJNI.h,
9043 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,
9044 java/README: Wrap optional parameters of Query(term) ctor.
9046 Fri May 13 00:26:24 BST 2005 Olly Betts <olly@survex.com>
9048 * NEWS,configure.ac: Updated for 0.9.0.
9050 Wed May 11 02:15:23 BST 2005 Olly Betts <olly@survex.com>
9052 * java/native/Query.cc,java/native/MSet.cc,
9053 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
9054 java/org/xapian/MSet.java,java/org/xapian/XapianJNI.java: Updates to
9055 enable compilation with 0.9.0.
9056 * java/Makefile.am: Add .java.class: rule so SmokeTest can be built.
9057 * java/README: List API additions still to be wrapped.
9059 Tue May 10 21:01:57 BST 2005 Olly Betts <olly@survex.com>
9061 * python/extra.i: Should be ValueIter not ValueIterator, and fixed up
9062 a few typos in the code.
9064 Tue May 10 01:24:59 BST 2005 Olly Betts <olly@survex.com>
9066 * configure.ac,python/Makefile.am: Quote another setting of
9067 PYTHONPATH; Don't set PYTHON_LIBS on cygwin; fix undoubled []
9068 in setting of PYTHON_LIBS.
9070 Mon May 09 20:37:42 BST 2005 Olly Betts <olly@survex.com>
9072 * NEWS: Updated again.
9074 Mon May 09 18:47:46 BST 2005 Olly Betts <olly@survex.com>
9076 * configure.ac,python/Makefile.am: Changes to help building the python
9077 bindings under mingw.
9079 Mon May 09 15:22:30 BST 2005 Olly Betts <olly@survex.com>
9081 * python/Makefile.am: Add "" around PYTHONPATH setting in
9082 TESTS_ENVIRONMENT to protect PYTHON_PATHSEP from the shell
9083 (PYTHON_PATHSEP is ';' under Windows).
9084 * python/Makefile.am: Explicitly pass -outdir to SWIG because Windows
9085 versions of SWIG only consider '\' as a directory separator when
9086 extracting the directory from the argument to -o.
9088 Mon May 09 11:02:08 BST 2005 Olly Betts <olly@survex.com>
9090 * configure.ac: If python is found, also check that Python.h exists
9091 (it may not be if the python-dev package (or similar) isn't
9094 Mon May 09 11:00:08 BST 2005 Olly Betts <olly@survex.com>
9096 * python/extra.i: Removed python iter wrappers for removed methods
9097 QueryParser::termlist_begin() and termlist_end().
9099 Mon May 09 10:54:47 BST 2005 Olly Betts <olly@survex.com>
9101 * xapian.i: Removed wrappers for removed methods
9102 QueryParser::termlist_begin() and termlist_end().
9104 Fri May 06 23:22:28 BST 2005 Olly Betts <olly@survex.com>
9106 * NEWS: Updated in preparation for 0.9.0.
9108 Fri May 06 20:39:50 BST 2005 Olly Betts <olly@survex.com>
9110 * python/Makefile.am: Use correct path separator in PYTHONPATH when
9111 generating .pyc file.
9113 Fri May 06 17:57:05 BST 2005 Olly Betts <olly@survex.com>
9115 * configure.ac,python/Makefile.am: Make configure probe for correct
9116 separator to use in PYTHONPATH.
9118 Thu May 05 13:17:36 BST 2005 Olly Betts <olly@survex.com>
9120 * skiptest: Add skiptest script needed by last-but-one commit.
9122 Thu May 05 12:44:01 BST 2005 Olly Betts <olly@survex.com>
9124 * xapian.i: Back out PHP4 specific hacks added since 0.8.5 which
9125 were only needed for SWIG 1.3.23 and later,
9127 Wed May 04 18:07:49 BST 2005 Olly Betts <olly@survex.com>
9129 * configure.ac,Makefile.am: Setting PHP4 to "exit 77 #" doesn't
9130 actually work right, so use a trivial shell script to skip PHP
9131 tests if we can't find the PHP interpreter.
9133 Wed May 04 02:00:31 BST 2005 Olly Betts <olly@survex.com>
9135 * csharp/Makefile.am,python/Makefile.am,java/native/Makefile.am,
9136 guile/Makefile.am,tcl8/Makefile.am,php4/Makefile.am: Pass
9137 -no-undefined in *_la_LDFLAGS because libtool requires in on
9138 MS Windows. Also use $(PATH_SEPARATOR) instead of ':' when
9139 specifying search paths.
9141 Fri Apr 29 09:57:17 BST 2005 Olly Betts <olly@survex.com>
9143 * xapian.i: Rename second version of Muscat36::open_da() for guile
9144 like we do for PHP4.
9145 * configure.ac: Disable guile by default, as it needs more work.
9147 Thu Apr 28 21:21:23 BST 2005 Olly Betts <olly@survex.com>
9149 * xapian.i: If a backend is disabled in the xapian-core we're building
9150 against, provide stub definitions of the database factory functions
9151 so there isn't a link failure.
9152 * xapian.i: This means we can now wrap the Muscat36 factory functions.
9153 * xapian.i: QueryParser::set_stemming_options() has been renamed to
9154 set_stemming_strategy().
9156 Fri Apr 22 01:33:41 BST 2005 Olly Betts <olly@survex.com>
9158 * xapian.i: Updated to reflect 0.9.0 API.
9160 Thu Apr 07 23:49:51 BST 2005 Olly Betts <olly@survex.com>
9162 * xapian.i: Removed superfluous ';' after 'namespace { ... }'.
9164 Tue Apr 05 15:23:44 BST 2005 Olly Betts <olly@survex.com>
9166 * configure.ac: Fix version test to allow for any _svn6789 suffix.
9168 Tue Apr 05 00:50:36 BST 2005 Olly Betts <olly@survex.com>
9170 * csharp/.cvsignore,python/docs/.cvsignore,
9171 python/docs/examples/.cvsignore,python/.cvsignore,
9172 java/native/.cvsignore,java/org/xapian/errors/.cvsignore,
9173 java/org/xapian/.cvsignore,java/org/xapian/examples/.cvsignore,
9174 java/org/.cvsignore,java/.cvsignore,debian/.cvsignore,
9175 guile/.cvsignore,tcl8/docs/.cvsignore,tcl8/docs/examples/.cvsignore,
9176 tcl8/.cvsignore,php4/docs/.cvsignore,php4/docs/examples/.cvsignore,
9177 php4/.cvsignore,.cvsignore: Remove .cvsignore files, as they're not
9180 Tue Apr 05 00:34:09 BST 2005 Olly Betts <olly@survex.com>
9182 * configure.ac,php4/Makefile.am: There are problems with the PHP glue
9183 code produced by SWIG 1.3.23 and later - optional arguments aren't
9184 optional. So add back the SWIG_1_3_22 machinery.
9186 Tue Mar 29 15:14:11 BST 2005 Olly Betts <olly@survex.com>
9188 * csharp/Makefile.am: Updated list of generated .cs files.
9190 Tue Mar 29 14:48:21 BST 2005 Olly Betts <olly@survex.com>
9192 * xapian.i: Fix C# warnings.
9194 Tue Mar 29 13:57:36 BST 2005 Olly Betts <olly@survex.com>
9196 * xapian.i: For PHP4, rename default Database ctor to Database_empty
9197 instead of suppressing the Database(const string &path) ctor.
9199 Tue Mar 29 13:39:36 BST 2005 Olly Betts <olly@survex.com>
9201 * configure.ac: Pass -Werror to SWIG.
9202 * xapian.i: Fix all the SWIG warnings which are now errors.
9204 Tue Mar 29 13:29:47 BST 2005 James Aylett <james@tartarus.org>
9206 * don't wrap MSet::max_size() as it's there for STL
9207 compatibility rather than useful functionality.
9209 Tue Mar 29 11:55:26 BST 2005 James Aylett <james@tartarus.org>
9211 * when running PHP4 tests, use a blank config file so that if
9212 the xapian bindings are already installed as an extension and
9213 loaded automatically in the default config, they won't be
9214 during the test run.
9216 The tests use dl(), so will pick up the version we've just
9219 Tue Mar 29 10:32:36 BST 2005 Olly Betts <olly@survex.com>
9221 * configure.ac,php4/Makefile.am: SWIG > 1.3.22 *does* work for PHP -
9222 the problem was that I had an older PHP SWIG glue shared library
9223 installed and this clashes with new glue libraries (but not older
9224 ones). So strip out the machinery to use a different SWIG version
9226 * configure.ac: Require SWIG >= 1.3.24.
9228 Mon Mar 21 09:37:45 GMT 2005 James Aylett <james@tartarus.org>
9230 * xapian.i: updated SWIG-based bindings to latest API
9232 * python/extra.i: more Python-style iterators
9234 * tcl8/docs/.cvsignore, tcl8/docs/examples/.cvsignore: ignore
9235 autogenerated Makefile.in, Makefile
9237 Mon Mar 21 07:01:14 GMT 2005 Olly Betts <olly@survex.com>
9239 * configure.ac,php4/Makefile.am: Use SWIG 1.3.22 for PHP bindings
9240 as more recent versions don't work.
9241 * configure.ac: If configure can't find the php interpreter (as php4
9242 or php), it probably just means it's not on PATH. We only need it
9243 for running the smoketest, so substitute "exit 77 #" instead which
9244 will cause the test to skip (previously we substituted "missing"
9245 which causes the test to fail).
9247 Wed Feb 23 04:08:55 GMT 2005 Olly Betts <olly@survex.com>
9249 * NEWS: Updated for 0.8.5.1.
9251 Wed Feb 23 04:07:48 GMT 2005 Olly Betts <olly@survex.com>
9253 * README: Refer reader to java/README for java specific information.
9255 Tue Feb 22 16:12:55 GMT 2005 Olly Betts <olly@survex.com>
9257 * java/Makefile.am,java/README,java/native/Makefile.am,
9258 java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9259 Fixed how the jar file is made, and build it directory to the built
9260 subdirectory rather than requiring an "install" step. Updated the
9261 README to add a "how to build" section. Tweak the java commands in
9262 the README for running the examples to work around a bug in Debian
9263 gij's java wrapper script. Added a README section about tested java
9264 platforms. Automatically "install" the JNI glue library in "built"
9265 and remove the .la file (which is useless here).
9267 Tue Feb 22 01:38:14 GMT 2005 Olly Betts <olly@survex.com>
9269 * configure.ac: Set version to 0.8.5.1 and fix version check.
9271 Mon Feb 21 20:17:07 GMT 2005 Olly Betts <olly@survex.com>
9273 * COPYING: This code is under the GPL (except the Java bindings which
9274 are MIT-style, but that's GPL compatible anyway).
9276 Mon Feb 21 20:11:36 GMT 2005 Olly Betts <olly@survex.com>
9278 * configure.ac: Run tests using the C++ compiler; Allow bindings
9279 version to have an extra "patchlevel", yet still match with
9280 corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
9281 Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
9282 warnings in generated code (we were specially passing "-Wunused"
9283 which was a thinko I believe!)
9285 Mon Feb 21 20:08:56 GMT 2005 Olly Betts <olly@survex.com>
9287 * java/Makefile.am,java/org/xapian/examples/Makefile.am: "make clean"
9288 should remove the generated class files.
9290 Mon Feb 21 20:06:19 GMT 2005 Olly Betts <olly@survex.com>
9292 * java/README: Added list of unwrapped methods and classes.
9294 Mon Feb 21 20:03:06 GMT 2005 Olly Betts <olly@survex.com>
9296 * java/.cvsignore: Add "built" directory.
9298 Mon Feb 21 20:02:17 GMT 2005 Olly Betts <olly@survex.com>
9300 * java/Makefile.am,java/run-java-test: Run SmokeTest on "make check".
9302 Mon Feb 21 18:42:32 GMT 2005 Olly Betts <olly@survex.com>
9304 * java/org/xapian/ExpandDecider.java,
9305 java/org/xapian/MatchDecider.java: Fix GCJ warning.
9307 Mon Feb 21 18:42:03 GMT 2005 Olly Betts <olly@survex.com>
9309 * java/org/xapian/errors/Makefile.am: Remove lingering reference to
9310 InvalidDataError.java and InvalidDataError.class.
9312 Mon Feb 21 05:16:28 GMT 2005 Olly Betts <olly@survex.com>
9314 * java/.cvsignore,java/SmokeTest.java,java/native/,java/org/xapian/,
9315 java/org/xapian/errors/,java/org/xapian/examples/:
9316 Added missing .java sources and removed unused ones; Added java
9317 smoketest (not yet run automatically); Added .cvsignore files for
9318 generated files; Updated to use new ctors for Database and
9319 WritableDatabase which replace Auto::open(); Wrap
9320 Database::get_lastdocid(); Wrap ESetIterator::prev() and
9321 MSetIterator::prev(); Fixed glitches in automake build system;
9322 Prefer Query::empty() to Query::is_empty(); Wrap InMemory::open();
9323 Disable Eric's QueryParser - for consistency we should wrap the
9324 C++ version by default; Removed forced flush() from
9325 WritableDatabase::delete_document() wrapper.
9326 * java/org/xapian/examples/SimpleSearch.java: tweaked to be more like
9329 Mon Feb 21 05:02:30 GMT 2005 Olly Betts <olly@survex.com>
9331 * java/README: Need . in -classpath.
9333 Tue Jan 18 02:27:06 GMT 2005 Olly Betts <olly@survex.com>
9335 * java/org/xapian/Xapian.java: Another missing java source!
9337 Sun Jan 09 13:59:17 GMT 2005 Olly Betts <olly@survex.com>
9339 * configure.ac: Check for "php" as well as "php4", and fall-back to
9340 missing so the error message from "make check" is better.
9342 Thu Dec 23 19:17:39 GMT 2004 Olly Betts <olly@survex.com>
9344 * configure.ac,NEWS: Version 0.8.5.
9346 Thu Dec 23 19:16:53 GMT 2004 Olly Betts <olly@survex.com>
9348 * INSTALL,README: Added better installation instructions.
9350 Mon Dec 20 16:29:01 GMT 2004 Olly Betts <olly@survex.com>
9352 * python/Makefile.am: Simpler .pyc fix.
9354 Fri Dec 10 17:13:52 GMT 2004 Richard Boulton <richard@tartarus.org>
9356 * python/Makefile.am: Fixed bytecode compilation of xapian.py.
9357 xapian.pyc was being generated in the same directory
9358 as xapian.py, but Makefile.am was looking in current directory
9359 when installing it. Additionally, VPATH builds were broken.
9361 Wed Dec 08 16:18:39 GMT 2004 Olly Betts <olly@survex.com>
9363 * NEWS: Fixed typo, bumped date.
9365 Wed Dec 08 02:13:25 GMT 2004 Olly Betts <olly@survex.com>
9367 * php4/docs/bindings.html,python/docs/bindings.html,
9368 tcl8/docs/bindings.html: Reworked text about Xapian::Auto namespace
9369 and a few other tweaks.
9371 Tue Dec 07 19:55:48 GMT 2004 Olly Betts <olly@survex.com>
9373 * xapian.i,php4/docs/examples/simpleindex.php,
9374 php4/docs/examples/simplesearch.php,python/docs/examples/,
9375 tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl,
9376 tcl8/docs/examples/simplesearch.tcl: Wrap the new constructors
9377 for Database and WritableDatabase, use these in the examples,
9378 and removed mentions of Auto::open() from the documentation.
9379 Don't wrap the WritableDatabase forms of Auto::open() and
9380 Quartz::open() in tcl8 since the destructor never gets called.
9382 Tue Dec 07 19:53:48 GMT 2004 Olly Betts <olly@survex.com>
9384 * README: Updated to list fully supported languages and improved
9387 Thu Dec 02 13:31:40 GMT 2004 Olly Betts <olly@survex.com>
9389 * xapian.i: Weight::clone is for internal use - don't wrap it.
9390 * xapian.i: For PHP4, rename the default BM25Weight ctor to
9391 BM25Weight_default and the default TradWeight ctor to
9394 Thu Dec 02 13:30:55 GMT 2004 Olly Betts <olly@survex.com>
9396 * python/Makefile.am: test -d before mkdir to avoid worrying looking
9399 Thu Dec 02 03:40:16 GMT 2004 Olly Betts <olly@survex.com>
9403 Thu Dec 02 03:37:06 GMT 2004 Olly Betts <olly@survex.com>
9405 * configure.ac: SWIG 1.3.23 causes warnings (and quite likely problems)
9406 with PHP4. It helps C#, but since that's unfinished, PHP4
9407 definitely matters more, so drop back to SWIG 1.3.22.
9409 Thu Dec 02 03:27:37 GMT 2004 Olly Betts <olly@survex.com>
9411 * configure.ac: Added tcl8/docs/Makefile tcl8/docs/examples/Makefile
9414 Thu Dec 02 03:05:11 GMT 2004 Olly Betts <olly@survex.com>
9416 * NEWS,xapian.i: Removed the director for Xapian::Weight for now,
9417 since it was causing swig to generate code which didn't compile.
9419 Thu Dec 02 03:03:39 GMT 2004 Olly Betts <olly@survex.com>
9421 * python/.cvsignore: Updated.
9423 Thu Dec 02 03:00:56 GMT 2004 Olly Betts <olly@survex.com>
9425 * python/Makefile.am: Fixed PYTHONPATH for running smoketest.py.
9427 Wed Dec 01 21:32:02 GMT 2004 Olly Betts <olly@survex.com>
9429 * xapian.i: Prototype Weight::clone() method so that SWIG directors
9432 Wed Dec 01 16:11:32 GMT 2004 Olly Betts <olly@survex.com>
9434 * tcl8/Makefile.am,tcl8/docs/Makefile.am,
9435 tcl8/docs/examples/Makefile.am: Ship and install docs and examples
9438 Wed Dec 01 15:41:56 GMT 2004 Olly Betts <olly@survex.com>
9440 * Makefile.am: Distribute xapian-bindings.spec.in.
9442 Wed Dec 01 15:39:55 GMT 2004 Olly Betts <olly@survex.com>
9444 * xapian-bindings.spec.in: No longer need "BuildRequires: swig";
9445 disable building of csharp bindings; package tcl8 documentation;
9446 updated to package the tcl8 bindings at their new location.
9448 Wed Dec 01 05:59:24 GMT 2004 Olly Betts <olly@survex.com>
9450 * NEWS: It's now tomorrow, so bump the 0.8.4 release date.
9452 Wed Dec 01 05:57:41 GMT 2004 Olly Betts <olly@survex.com>
9454 * tcl8/docs/examples/simplesearch.tcl: Need Tcl 8.1 or later.
9456 Wed Dec 01 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9458 * tcl8/docs/examples/simpleindex.tcl: Tweaked to actually work.
9460 Wed Dec 01 05:18:18 GMT 2004 Olly Betts <olly@survex.com>
9462 * tcl8/docs/examples/simpleindex.tcl: Simpler, more idiomatic code
9463 which doesn't rely on features added since Tcl 8.1.
9465 Tue Nov 30 22:42:14 GMT 2004 Olly Betts <olly@survex.com>
9467 * NEWS,configure.ac: Updated for 0.8.4 release.
9469 Mon Nov 29 04:17:42 GMT 2004 Olly Betts <olly@survex.com>
9471 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9472 python/Makefile.am,tcl8/Makefile.am: Instead of requiring the user
9473 to have a really recent SWIG installed, ship the files SWIG
9474 generates. Disable all the SWIG rules unless configure is run
9475 with --enable-maintainer-mode to make sure they aren't triggered
9476 accidentally by make with dodgy VPATH or anything else.
9477 * csharp/Makefile.am: Updated the list of generated .cs files to
9478 include the subclasses of Weight.
9480 Sun Nov 28 02:51:37 GMT 2004 Olly Betts <olly@survex.com>
9482 * csharp/TODO: Note that SWIG 1.3.23 apparently implements optional
9485 Sun Nov 28 01:50:45 GMT 2004 Olly Betts <olly@survex.com>
9487 * csharp/Makefile.am: Wrapping for Xapian::Weight means we need to add
9488 Weight.cs to the list of generated sources.
9490 Sat Nov 27 03:00:24 GMT 2004 Olly Betts <olly@survex.com>
9492 * xapian.i: Mark Weight as needing a director for Python.
9494 Tue Nov 16 02:59:18 GMT 2004 Olly Betts <olly@survex.com>
9496 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9497 python/Makefile.am,tcl8/Makefile.am: Use newly added option
9498 `xapian-config --swigflags` which (a) avoids always passing
9499 -I/usr/include which could cause problems if we're using a Xapian
9500 install not in /usr and there's another one in /usr and (b) avoids
9501 problems if `xapian-config --cxxflags` contains flags other than
9504 Sun Nov 14 06:30:47 GMT 2004 Olly Betts <olly@survex.com>
9506 * xapian.i: Wrapped Xapian::Weight and subclasses (compiles, but
9507 otherwise totally untested). Nothing special is done about
9508 directors, so deriving your own Weight subclass in the scripting
9509 language probably won't currently work.
9511 Wed Nov 10 03:32:23 GMT 2004 Olly Betts <olly@survex.com>
9513 * README: Improved a bit.
9515 Wed Nov 10 03:24:08 GMT 2004 Olly Betts <olly@survex.com>
9517 * xapian.i: %name is deprecated, so use %rename instead. This also
9518 works around a bug currently in SWIG CVS HEAD.
9520 Wed Nov 10 01:47:33 GMT 2004 Olly Betts <olly@survex.com>
9522 * xapian.i: Second argument to Document::add_posting() isn't optional.
9524 Tue Nov 09 03:06:56 GMT 2004 Olly Betts <olly@survex.com>
9526 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9527 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9528 tcl8/Makefile.am: We now get -AA or -std strict_ansi from
9529 xapian-config, so we don't need to probe for them ourselves.
9531 Sat Nov 06 16:19:30 GMT 2004 Olly Betts <olly@survex.com>
9533 * configure.ac: Check GXX instead of GCC when deciding whether to pass
9534 GCC specific warning flags.
9536 Sat Nov 06 13:04:52 GMT 2004 Olly Betts <olly@survex.com>
9538 * configure.ac: Reinstated the check that the bindings version matches
9539 the version of the xapian library. It was added in 0.8.2, but
9540 accidentally removed in 0.8.3.
9542 Sat Nov 06 12:44:40 GMT 2004 Olly Betts <olly@survex.com>
9544 * configure.ac: Protect tcl header version test by prepending x to
9545 both the strings being tested.
9547 Tue Nov 02 05:59:54 GMT 2004 Olly Betts <olly@survex.com>
9549 * configure.ac: Removed pointless probe for a C compiler.
9551 Tue Nov 02 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9553 * configure.ac: Require SWIG 1.3.22 (for guile).
9555 Sat Oct 30 19:51:10 BST 2004 Olly Betts <olly@survex.com>
9557 * csharp/Makefile.am: Contents of xxx_SOURCES must be literal.
9559 Thu Oct 28 04:45:15 BST 2004 Olly Betts <olly@survex.com>
9561 * csharp/Makefile.am,csharp/SmokeTest.cs: Added a smoketest.
9563 * csharp/Makefile.am: Updated list of generated .cs files.
9565 Thu Oct 28 04:37:31 BST 2004 Olly Betts <olly@survex.com>
9567 * xapian.i: In the Query ctor which takes a vector of terms, only
9568 call set_window if window is non-zero. Otherwise things go wrong
9569 if we're passed an empty vector.
9571 Wed Oct 27 03:34:10 BST 2004 Olly Betts <olly@survex.com>
9573 * configure.ac: Added note that the bindings can easily be compiled
9574 for use with Tcl 8.0, in case anybody needs that for some reason.
9576 Sun Oct 24 02:07:31 BST 2004 Olly Betts <olly@survex.com>
9578 * python/docs/examples/simpleindex.py: Trim spaces from the start as
9579 well as from the end of each line. Simplify the loop slightly.
9581 Sun Oct 24 01:54:17 BST 2004 Olly Betts <olly@survex.com>
9583 * tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl: Added
9584 Tcl version of simpleindex from xapian-examples.
9586 Sat Oct 23 15:57:00 BST 2004 Olly Betts <olly@survex.com>
9588 * configure.ac,tcl8/Makefile.am: Use the TCL_STUBS mechanism so that
9589 compiled extensions are portable between different versions of Tcl.
9590 This needs Tcl 8.1, so bump the required Tcl version (was 8.0).
9591 Also install in the directory above $tcl_library so the built
9592 extension can be found by other Tcl versions.
9594 Fri Oct 22 03:24:11 BST 2004 Olly Betts <olly@survex.com>
9596 * php4/docs/bindings.html,python/docs/bindings.html,
9597 tcl8/docs/bindings.html: Mention the example scripts near the start
9598 of the documentation, not right at the end.
9599 * php4/docs/bindings.html: Remove documentation explicitly saying
9600 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9601 exactly as we wrap everything else we don't mention!
9603 Fri Oct 22 03:21:20 BST 2004 Olly Betts <olly@survex.com>
9605 * tcl8/.cvsignore,tcl8/Makefile.am: Pass -pkgversion to SWIG to set
9606 the Tcl package version; create pkgIndex.tcl so the package can
9607 be loaded in the usual Tcl way; install in "xapian<VERSION>"
9608 subdirectory of the Tcl library directory, as is the convention.
9610 Fri Oct 22 02:36:00 BST 2004 Olly Betts <olly@survex.com>
9612 * tcl8/docs/bindings.html: Added documentation for tcl8.
9614 Fri Oct 22 02:21:48 BST 2004 Olly Betts <olly@survex.com>
9616 * python/docs/examples/simpleexpand.py,
9617 python/docs/examples/simplematchdecider.py,
9618 python/docs/examples/simplesearch.py: Changed to use James' newly
9619 wrapped Query from list of terms ctor.
9620 * python/docs/examples/simplematchdecider.py: Make the example
9621 MatchDecider exclude documents matching a value, rather than a term.
9622 The latter is a very inefficient way to do what AND_NOT does, and
9623 we don't want examples to mislead like that.
9625 Thu Oct 21 18:00:14 BST 2004 Olly Betts <olly@survex.com>
9627 * python/docs/bindings.html: Note that you can construct a query
9628 from a list of terms, even if you can't from a list of queries.
9629 Add HTML links to the examples.
9631 Thu Oct 21 17:44:19 BST 2004 Olly Betts <olly@survex.com>
9633 * python/docs/bindings.html: Remove documentation explicitly saying
9634 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9635 exactly as we wrap everything else we don't mention! Also mention
9636 simpleexpand example.
9638 Thu Oct 21 16:59:03 BST 2004 Olly Betts <olly@survex.com>
9640 * php4/Makefile.am: Note why we pass -I. to SWIG.
9642 Thu Oct 21 02:45:15 BST 2004 Olly Betts <olly@survex.com>
9644 * xapian.i: It turns out that we do need to wrap MSet::MSet() after
9645 all (simpleexpand.py uses it, for example).
9647 Thu Oct 21 02:43:34 BST 2004 Olly Betts <olly@survex.com>
9649 * python/docs/examples/: Report messages for Xapian exceptions.
9650 Removed MAX_PROB_TERM_LENGTH from scripts which don't use it.
9652 Thu Oct 21 01:39:08 BST 2004 Olly Betts <olly@survex.com>
9654 * tcl8/smoketest.tcl: Explicitly require at least Tcl version 8.
9656 Thu Oct 21 01:35:28 BST 2004 Olly Betts <olly@survex.com>
9658 * tcl8/docs/examples/simplesearch.tcl: Use more idiomatic (and less
9659 idiotic) Tcl thanks to contributions from Michael Schlenker.
9661 Wed Oct 20 05:29:57 BST 2004 Olly Betts <olly@survex.com>
9663 * tcl8/docs/examples/simplesearch.tcl: Sussed out what Query::OP_OR
9666 Wed Oct 20 05:18:36 BST 2004 Olly Betts <olly@survex.com>
9668 * tcl8/docs/examples/simplesearch.tcl: Translated simplesearch into
9671 Tue Oct 19 21:07:06 BST 2004 Olly Betts <olly@survex.com>
9673 * python/Makefile.am: Added xapian_wrap.h as a target for the rule
9676 Tue Oct 19 21:05:11 BST 2004 Olly Betts <olly@survex.com>
9678 * tcl8/Makefile.am: Wrap in a tcl8 namespace "Xapian".
9679 * tcl8/Makefile.am,tcl8/smoketest.tcl: Added a smoketest.
9681 Wed Oct 6 17:28:54 BST 2004 James Aylett <james@tartarus.org>
9683 * get overloaded Query(Query::op, vector<string>*, termpos)
9684 constructor working in Python
9686 Thu Sep 30 02:29:13 BST 2004 Richard Boulton <richard@tartarus.org>
9688 * csharp/Makefile.am: Add XapianSharp.snk to CLEANFILES.
9689 Place generated bindings into C# namespace "Xapian".
9690 Change module name to Xapian. (Assembly remains as XapianSharp).
9691 Remove -noproxy option from swig.
9692 Update list of csharp source file to work with new swig options.
9693 * csharp/.cvsignore: Add XapianSharp.snk, now it's a generated
9696 Wed Sep 29 19:04:41 BST 2004 Olly Betts <olly@survex.com>
9698 * xapian.i: Reenabled inclusion of typemaps.i and exception.i for
9699 Guile. This was disabled in June 2000. 4 years later SWIG seems
9700 to process them successfully.
9702 Wed Sep 29 19:01:28 BST 2004 Olly Betts <olly@survex.com>
9704 * configure.ac,csharp/Makefile.am: Get configure to find sn.
9706 Wed Sep 29 17:23:23 BST 2004 Richard Boulton <richard@tartarus.org>
9708 * csharp/: Generate strong name file automatically.
9710 Wed Sep 29 14:17:50 BST 2004 Olly Betts <olly@survex.com>
9712 * csharp/Makefile.am: Added "touch op.cs" so the build system works
9713 on SWIG <= 1.3.21 as well as SWIG 1.3.22.
9715 Wed Sep 29 14:11:48 BST 2004 Olly Betts <olly@survex.com>
9717 * configure.ac: CSharp bindings now build, so enable them if the
9718 required tools are available.
9720 Wed Sep 29 03:00:05 BST 2004 Olly Betts <olly@survex.com>
9722 * csharp/Makefile.am: Removed hardcoded values for GACUTIL and CSC
9723 which were overriding any values configure tried to set.
9725 Wed Sep 29 02:57:07 BST 2004 Olly Betts <olly@survex.com>
9727 * csharp/Makefile.am: Fixed to build when srcdir != builddir.
9729 Tue Sep 28 20:33:21 BST 2004 Olly Betts <olly@survex.com>
9731 * configure.ac: The guile bindings do now build (though I don't
9732 know guile so can't test them), so enable the guile detection
9733 machinery in configure.
9735 Tue Sep 28 19:32:33 BST 2004 Olly Betts <olly@survex.com>
9737 * csharp/Makefile.am: Add op.cs to XAPIAN_SWIG_CS_SRCS.
9739 Tue Sep 28 19:06:02 BST 2004 Olly Betts <olly@survex.com>
9741 * configure.ac: AC_PATH_PROG calls AC_SUBST, so we don't need to.
9743 Tue Sep 28 19:04:17 BST 2004 Olly Betts <olly@survex.com>
9745 * csharp/Makefile.am: Set AM_CXXFLAGS.
9747 Tue Sep 28 16:45:25 BST 2004 Olly Betts <olly@survex.com>
9749 * xapian.i: Workaround not being able to include stl.i with C#.
9751 Tue Sep 28 16:22:47 BST 2004 Richard Boulton <richard@tartarus.org>
9753 * csharp/AssemblyInfo.cs.in: New file - includes strong name
9755 * csharp/Makefile.am: Build assembly with a strong name, to
9756 make gacutil happy. Use gacutil to install the assembly.
9757 Change xapian_wrap.cc to XapianSharp.cc
9758 * csharp/XapianSharp.snk: New file - strong name for XapianSharp.
9759 * csharp/.cvsignore: Ignore XapianSharp.{cc,loT}
9760 * configure.ac: Generate csharp/AssemblyInfo.cs
9762 Sun Sep 26 19:34:54 BST 2004 Richard Boulton <richard@tartarus.org>
9764 * README: Mention that I'm working on C# bindings.
9765 * csharp/.cvsignore: Ignore generated .cs and .dll files
9767 Sat Sep 25 02:51:22 BST 2004 Richard Boulton <richard@tartarus.org>
9769 * configure.ac,Makefile.am,csharp/: Add C sharp bindings, created
9770 with SWIG. Build disabled by default for now, because these are
9771 completely untested, and probably need quite a bit of work. In
9772 addition, all the SWIG packages I've found seem to require a
9773 patch to work correctly with csharp (various stl_*.i packages are
9774 reported missing, creating them with "touch" seems to work, but
9775 may break things subtly). I need to learn C# before I can test
9778 Mon Sep 20 15:28:04 BST 2004 Olly Betts <olly@survex.com>
9780 * NEWS,configure.ac: Version 0.8.3.
9782 Mon Sep 20 15:10:57 BST 2004 Olly Betts <olly@survex.com>
9784 * java/org/xapian/.cvsignore,java/org/xapian/errors/.cvsignore:
9785 Updated to ignore .class files.
9787 Sun Sep 19 23:28:14 BST 2004 Olly Betts <olly@survex.com>
9789 * .cvsignore,Makefile.am,configure.ac,xapian-bindings.spec.in:
9790 Added spec file contributed by Fabrice Colin.
9792 Sun Sep 19 17:56:32 BST 2004 Olly Betts <olly@survex.com>
9794 * guile/.cvsignore: Added xapian_wrap.cc and xapianc.la.
9796 Fri Sep 17 10:00:59 BST 2004 Olly Betts <olly@survex.com>
9798 * php4/docs/Makefile.am: Include php4/docs/bindings.html in the
9801 Fri Sep 17 00:54:12 BST 2004 Olly Betts <olly@survex.com>
9803 * php4/Makefile.am,python/Makefile.am: DIST_SUBDIRS is superfluous
9804 when it's identical to SUBDIRS.
9806 Fri Sep 17 00:52:47 BST 2004 Olly Betts <olly@survex.com>
9808 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9809 Pass -classpath to javac; make sure errors subdirectory is built
9810 before we try to build the jar file.
9812 Fri Sep 17 00:00:25 BST 2004 Olly Betts <olly@survex.com>
9814 * configure.ac,tcl8/Makefile.am: Improved check for tcl.h to work with
9817 Thu Sep 16 23:02:28 BST 2004 Olly Betts <olly@survex.com>
9819 * java/native/Makefile.am,java/org/xapian/Makefile.am: Fixed "make
9820 install" to not give libtool error.
9822 Thu Sep 16 22:51:26 BST 2004 Olly Betts <olly@survex.com>
9824 * php4/docs/examples/Makefile.am: Include simplesearch.php and
9825 simpleindex.php in the tarball.
9827 Wed Sep 15 18:47:58 BST 2004 Olly Betts <olly@survex.com>
9829 * configure.ac: Noted that -modern affects xapian.py (xapian_wrap.cc
9832 Wed Sep 15 18:22:23 BST 2004 Olly Betts <olly@survex.com>
9834 * configure.ac,php4/Makefile.am: Removed the recently added
9835 SWIG_PHP_LDFLAGS machinery. We only need to pass those if
9836 we use swig's -noruntime option (which we don't do).
9838 Wed Sep 15 17:38:02 BST 2004 Olly Betts <olly@survex.com>
9840 * configure.ac,python/Makefile.am: Use swig's -modern switch for
9841 Python 2.2 and up - it gives cleaner, leaner, faster wrapper code.
9843 Tue Sep 14 03:37:55 BST 2004 Olly Betts <olly@survex.com>
9845 * guile/Makefile.am,guile/extra.i: Added empty extra.i which
9846 will be required when these bindings get resurrected.
9848 Tue Sep 14 03:37:23 BST 2004 Olly Betts <olly@survex.com>
9850 * tcl8/Makefile.am: Don't install xapian.la.
9852 Tue Sep 14 03:35:57 BST 2004 Olly Betts <olly@survex.com>
9854 * tcl8/extra.i: This had been copied from php4/extra.i without
9855 changing reference in comments from PHP4 to Tcl - fixed.
9857 Mon Sep 13 05:08:51 BST 2004 Olly Betts <olly@survex.com>
9859 * configure.ac: Version 0.8.2.
9861 Mon Sep 13 04:59:54 BST 2004 Olly Betts <olly@survex.com>
9863 * NEWS,xapian.i,php4/docs/bindings.html,python/docs/bindings.html:
9864 Wrap ESet::back(), Database::get_lastdocid(), and the new optional
9865 third parameter to Enquire::set_sorting(). Don't wrap MSet::MSet().
9866 Wrap operator-- as prev() for MSetIterator and ESetIterator. Wrap
9867 Quartz, InMemory, and Remote database factory functions as
9868 quartz_open(), inmemory_open(), and remote_open(). Wrap static
9869 Stem::get_available_languages() and Stem::get_description().
9870 * php4/smoketest.php,python/smoketest.py: Open an InMemory database
9871 and add the document to it as an additional test.
9873 Sun Sep 12 14:31:17 BST 2004 Olly Betts <olly@survex.com>
9875 * xapian.i: Add back is_empty() aliases for compatibility.
9877 Thu Sep 09 04:19:54 BST 2004 Olly Betts <olly@survex.com>
9879 * configure.ac,php4/Makefile.am,php4/smoketest.php: Added smoke test
9881 * python/Makefile.am: Fixed multiple setting of EXTRA_DIST.
9883 Thu Sep 09 03:21:30 BST 2004 Olly Betts <olly@survex.com>
9885 * php4/docs/examples/simpleindex.php,
9886 php4/docs/examples/simplesearch.php: Removed "dl('xapian.so')" -
9887 instead document how to configure PHP to load the module.
9889 Thu Sep 09 03:14:57 BST 2004 Olly Betts <olly@survex.com>
9891 * NEWS: Started to updated for next release.
9893 Thu Sep 09 03:07:43 BST 2004 Olly Betts <olly@survex.com>
9895 * php4/docs/bindings.html: Added documentation on how to install the
9898 Thu Sep 09 02:45:24 BST 2004 Olly Betts <olly@survex.com>
9900 * python/docs/bindings.html: Word-wrapped HTML source.
9902 Thu Sep 09 02:40:17 BST 2004 Olly Betts <olly@survex.com>
9904 * php4/docs/bindings.html,python/docs/bindings.html: Removed
9905 documentation of renaming of empty() methods.
9907 Wed Sep 08 22:16:52 BST 2004 Olly Betts <olly@survex.com>
9909 * xapian.i: Updated for Query->is_empty() -> Query->empty().
9911 Wed Sep 08 20:39:03 BST 2004 Olly Betts <olly@survex.com>
9913 * python/Makefile.am,python/smoketest.py: Added a simple testcase
9914 to at least ensure the python bindings can be initialise and
9915 some simple operations work.
9917 Wed Sep 08 15:23:38 BST 2004 Olly Betts <olly@survex.com>
9919 * xapian.i: Remove renaming of empty() methods to is_empty().
9921 Wed Sep 08 05:34:10 BST 2004 Olly Betts <olly@survex.com>
9923 * README: Pike support is now in SWIG it seems.
9925 Wed Sep 08 05:30:58 BST 2004 Olly Betts <olly@survex.com>
9927 * README: Updated list of languages which SWIG supports.
9929 Wed Sep 08 04:53:07 BST 2004 Olly Betts <olly@survex.com>
9931 * configure.ac: Disable tcl8 bindings if the tcl8.X-dev package
9934 Wed Sep 08 04:52:19 BST 2004 Olly Betts <olly@survex.com>
9936 * tcl8/.cvsignore: Ignore xapian.la.
9938 Wed Sep 08 04:49:50 BST 2004 Olly Betts <olly@survex.com>
9940 * tcl8/.cvsignore: Ignore generated xapian_wrap.cc.
9942 Wed Sep 08 04:15:06 BST 2004 Olly Betts <olly@survex.com>
9944 * configure.ac,guile/Makefile.am,java/native/Makefile.am,
9945 php4/Makefile.am,python/Makefile.am,tcl8/Makefile.am:
9946 Use special SWIG PHP ldflags when linking the PHP glue library;
9947 Only pass -W* switches when building with GCC; Suppress compiler
9948 warnings by passing -Wno-uninitialized when building SWIG glue code;
9949 Python bindings now delete generated xapian_wrap.h on "make clean".
9951 Wed Sep 08 04:06:02 BST 2004 Olly Betts <olly@survex.com>
9953 * python/util.i: Suppress SWIG warning about MatchDecider::operator()
9954 director discarding const.
9956 Wed Sep 08 02:37:17 BST 2004 Olly Betts <olly@survex.com>
9958 * php4/.cvsignore: Updated.
9960 Wed Sep 08 01:27:54 BST 2004 Olly Betts <olly@survex.com>
9962 * configure.ac,php4/.cvsignore,php4/Makefile.am,
9963 php4/docs/bindings.html,php4/docs/examples/simpleindex.php,
9964 php4/docs/examples/simplesearch.php: Actually ship docs and
9965 examples; fixed bug in includes introduced in last checkin; output
9966 swig wrapper as xapian_wrap.cc not xapian_wrap.cpp for consitency
9967 with other bindings; fixed documentation of wrapping of
9968 Xapian::Query::OP_*; example scripts now load the xapian PHP
9969 extension; simplesearch now works with multi-term queries.
9971 Tue Sep 07 22:20:16 BST 2004 Olly Betts <olly@survex.com>
9973 * configure.ac,php4/.cvsignore,php4/Makefile.am: Don't use -phpfull
9974 option to swig. It's actually as easy to build and install the
9975 shared library ourselves, and then we can link with an uninstalled
9978 Tue Sep 07 22:18:20 BST 2004 Olly Betts <olly@survex.com>
9980 * python/Makefile.am: Fixed to use xapian_wrap.cpp not $@ - otherwise
9981 "make xapian.py" doesn't work correctly. Fixed typo in comment.
9983 Fri Sep 03 18:44:56 BST 2004 Olly Betts <olly@survex.com>
9985 * python/.cvsignore: Added xapian.pyc.
9987 Fri Sep 03 18:41:34 BST 2004 Olly Betts <olly@survex.com>
9991 Fri Sep 03 18:34:21 BST 2004 Olly Betts <olly@survex.com>
9993 * configure.ac,configure.in: Renamed configure.in to configure.ac.
9995 Fri Sep 03 18:28:54 BST 2004 Olly Betts <olly@survex.com>
9997 * Makefile.am: Require automake 1.8.5.
9998 * configure.in: Require autoconf 2.59. Note that SWIG 1.3.22 doesn't
9999 seem to have any changes relevant to us.
10001 Fri Sep 03 18:14:15 BST 2004 Olly Betts <olly@survex.com>
10003 * python/Makefile.am: Fixed to remove _xapian.la after it is installed
10004 (preventing it being installed is really hard to do). And
10005 xapian.py and xapian.pyc aren't BUILT_SOURCES so just put them
10006 directly in CLEANFILES.
10008 Fri Sep 03 13:04:42 BST 2004 Olly Betts <olly@survex.com>
10010 * python/Makefile.am: Byte compile the python code and install that
10013 Fri Sep 03 13:03:55 BST 2004 Olly Betts <olly@survex.com>
10015 * configure.in: Tell libtool not to build static libraries as the
10016 bindings all need dynamic ones which can be loaded at runtime.
10018 Wed Sep 01 12:07:08 BST 2004 Olly Betts <olly@survex.com>
10020 * configure.in: Require Python >= 2.1 for __cmp__ and __eq__.
10022 Thu Aug 19 17:20:45 BST 2004 Olly Betts <olly@survex.com>
10024 * php4/docs/bindings.html: Document that the 2 argument form of
10025 Xapian::Auto::open() for opening a writable database is wrapped
10026 as open_writable() (bug #32).
10028 Thu Aug 12 13:26:16 BST 2004 Olly Betts <olly@survex.com>
10030 * configure.in: Check that the bindings version matches the version of
10031 the xapian library.
10033 Thu Aug 12 13:15:01 BST 2004 Olly Betts <olly@survex.com>
10035 * configure.in,php4/: Include xapian version in output from phpinfo().
10037 Fri Jul 02 14:27:42 BST 2004 Olly Betts <olly@survex.com>
10039 * php4/docs/bindings.html: Reference to Xapian::Auto::DB_* should be
10042 Wed Jun 30 14:54:48 BST 2004 Olly Betts <olly@survex.com>
10044 * configure.in: Version 0.8.1; Corrected --without-tcl help to say
10045 it disables Tcl (not Java!) and list the SWIG bindings which
10046 --without-swig disables; note that SWIG 1.3.21 isn't relevant
10047 and the SWIG changelog URL.
10049 Wed Jun 30 00:09:58 BST 2004 Olly Betts <olly@survex.com>
10051 * NEWS: Updated for 0.8.1 release.
10053 Tue Jun 29 23:26:36 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10055 * java/native/,java/org/xapian/: Updates to java bindings:
10056 - cleanup usages of XapianObjectHolder to be explicitly created
10057 during library initialization
10058 - make finalize() methods of Database and WritableDatabase public so
10059 they can be called from the outside world (should probably have
10060 added explicit close() methods instead).
10061 - deprecate document_add_term_nopos(); completely remove from C++
10064 Tue Jun 29 17:30:17 BST 2004 Richard Boulton <richard@tartarus.org>
10066 * Makefile.am: Remove Debian files from distribution tarballs,
10067 since there will often be multiple patch releases for each
10068 release. Debian files will be available from an apt repository
10071 Tue Jun 29 01:20:22 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10073 * java/org/xapian/errors/: Removed wrappers for unused error classes
10074 which have been pruned from C++.
10076 Sun Jun 27 00:57:25 BST 2004 Olly Betts <olly@survex.com>
10078 * java/org/xapian/errors/.cvsignore,
10079 java/org/xapian/examples/.cvsignore: Created.
10081 Fri May 28 14:35:29 BST 2004 James Aylett <james@tartarus.org>
10083 * Add basic documentation and examples to PHP4 bindings.
10085 * For PHP4, rename overloaded methods and constructors.
10087 * Add simple access to the prefixes map in QueryParser.
10089 * Correct simpleindex ports to never generate empty termnames.
10091 Wed May 26 16:18:47 BST 2004 Olly Betts <olly@survex.com>
10093 * configure.in: Require SWIG 1.3.20 or higher.
10095 Wed May 26 14:51:50 BST 2004 Olly Betts <olly@survex.com>
10097 * xapian.i: Removed bogus extra ")".
10099 Wed May 26 04:04:06 BST 2004 Olly Betts <olly@survex.com>
10101 * xapian.i: Fixed the %exception handler to cover all the exceptions
10102 Xapian can throw, not just a subset.
10104 Thu May 20 15:55:36 BST 2004 Richard Boulton <richard@tartarus.org>
10106 * python/docs/: Add examples and documentation to dist (were being
10107 installed, but not added to dist, causing make distcheck, and
10108 dpkg-buildpackage, to fail).
10110 Thu May 20 15:06:54 BST 2004 Richard Boulton <richard@tartarus.org>
10112 * Makefile.am: Add debian packaging files to distribution tarball.
10114 Wed May 19 11:27:42 BST 2004 Olly Betts <olly@survex.com>
10116 * php4/util.i: Make sure that PHP bindings build a module which
10117 exports get_module() so PHP is able to load it.
10119 Thu May 13 17:57:50 BST 2004 Olly Betts <olly@survex.com>
10121 * java/native/WritableDatabase.cc,java/native/org_xapian_XapianJNI.h,
10122 java/org/xapian/WritableDatabase.java,
10123 java/org/xapian/XapianJNI.java: repalce -> replace.
10125 Thu May 13 10:41:29 BST 2004 Olly Betts <olly@survex.com>
10127 * configure.in: Test phpize can actually be run, rather than just that
10128 it's a readable file or directory.
10130 Wed May 12 01:52:44 BST 2004 Richard Boulton <richard@tartarus.org>
10132 * configure.in: Revert "test -x" to "test -n", and change
10133 previously extant "test -x" to "test -r": test -x isn't
10136 Tue May 11 20:04:36 BST 2004 Richard Boulton <richard@tartarus.org>
10138 * configure.in: Use $PYTHON instead of python when running python
10139 to determine and library and include paths and version number.
10140 Also, change tests for non-zeroness of interpreter paths to tests
10141 for existence and executability of interpreter paths: this is
10142 relevant if configure is passed an interpreter path by the user
10143 which doesn't exist (as my debian packaging makefile just did).
10145 Tue May 11 18:06:06 BST 2004 Richard Boulton <richard@tartarus.org>
10147 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10148 tcl8/Makefile.am: Add "-I/usr/include" to the swig line. This is
10149 needed when xapian is installed with a prefix of /usr, since
10150 "xapian-config --cxxflags" assumes that it doesn't need to emit
10151 -I/usr/include in this situation (presumably on the basis that
10152 any sane C compiler will already have that on its path).
10154 Tue Apr 20 03:20:22 BST 2004 Olly Betts <olly@survex.com>
10156 * configure.in: Generate Makefiles for new directories under java/.
10158 Tue Apr 20 02:27:07 BST 2004 Olly Betts <olly@survex.com>
10160 * NEWS: Final update for 0.8.0.
10162 Tue Apr 20 02:22:18 BST 2004 Olly Betts <olly@survex.com>
10164 * java/org/xapian/Makefile.am,java/org/xapian/errors/: Added missing
10165 sources for error classes.
10166 * java/org/xapian/examples/: Added examples of a simple indexer and
10168 * java/README: Added details of how to run the Java examples.
10170 Tue Apr 20 02:14:58 BST 2004 Olly Betts <olly@survex.com>
10172 * python/.cvsignore: Ignore generated file xapian_wrap.h.
10174 Mon Apr 19 19:25:05 BST 2004 Olly Betts <olly@survex.com>
10176 * NEWS,README,configure.in: Version 0.8.0.
10178 Mon Apr 05 22:23:31 BST 2004 Olly Betts <olly@survex.com>
10180 * README: Added details on adding support for recent languages.
10182 Sun Apr 04 18:53:58 BST 2004 Olly Betts <olly@survex.com>
10184 * java/native/Document.cc,java/native/org_xapian_XapianJNI.h,
10185 java/org/xapian/: Applied update from Eric B. Ridge. Added
10186 support for Xapian::Document::add_term() - new name for
10189 Sun Apr 04 18:53:00 BST 2004 Olly Betts <olly@survex.com>
10191 * xapian.i: Added add_term() - new name for add_term_nopos().
10193 Wed Mar 03 19:04:04 GMT 2004 Olly Betts <olly@survex.com>
10195 * configure.in: Only enable python bindings for python 1.5 or later
10196 (since that's what SWIG supports).
10198 Sun Feb 22 04:28:18 GMT 2004 Olly Betts <olly@survex.com>
10200 * configure.in: Changed --disable-LANGUAGE to be --without-LANGUAGE
10201 (fits better with autoconf's intended usages).
10203 Sun Feb 22 02:41:20 GMT 2004 Olly Betts <olly@survex.com>
10205 * configure.in: Added --disable-LANGUAGE options to allow bindings to
10206 be forcibly disabled. Added (disabled) checks for Guile, as it
10207 looks like support will be resurrected soon.
10209 Tue Jan 13 01:50:27 GMT 2004 Olly Betts <olly@survex.com>
10211 * configure.in: Check PHP version is at least 4.0.
10212 * configure.in,tcl8/Makefile.am: Look for tclsh and enable building
10213 tcl bindings if it's at least version 8.0; get lib and include
10214 directories from tclsh and use those for building the bindings.
10216 Mon Jan 12 17:52:39 GMT 2004 Olly Betts <olly@survex.com>
10218 * python/docs/bindings.html: OMMSET_* and OMESET_* -> MSET_* and
10219 ESET_* (in line with recent change to python/util.i). Also
10220 corrected a few typos.
10222 Mon Jan 12 17:49:30 GMT 2004 Olly Betts <olly@survex.com>
10224 * configure.in: Check for jni.h before enabling java bindings.
10226 Tue Jan 6 10:15:00 2004 James Aylett <james@tartarus.org>
10228 * TCL bindings: get them to build (not built automatically)
10230 Thu Jan 1 22:46:51 2004 James Aylett <james@tartarus.org>
10232 * Python bindings: MSet provides a Python iterator
10233 (new target language-specific interface file extra.i
10234 included at end of xapian.i to accommodate this)
10236 Thu Jan 1 22:45:26 2004 James Aylett <james@tartarus.org>
10238 * python/util.i: OMMSET_* and OMESET_* -> MSET_* and ESET_*
10240 Thu Jan 1 22:42:57 2004 James Aylett <james@tartarus.org>
10242 * xapian.i: a couple of Xapian::Query constructors weren't being
10243 wrapped, including one explicitly used in some of my Python
10244 binding examples :-(
10246 Sun Dec 28 16:06:50 2003 James Aylett <james@tartarus.org>
10248 * Python bindings: enable directors for MatchDecider, to allow
10249 subclassing in Python. Add documentation and an example.
10251 * Add a Python example equivalent to simpleexpand in xapian-examples
10253 Mon Dec 08 02:12:09 GMT 2003 Olly Betts <olly@survex.com>
10255 * Makefile.am,configure.in,java/: Initial check-in of Eric B. Ridge's
10256 JNI bindings. Needs more work.
10258 Mon Dec 08 02:11:03 GMT 2003 Olly Betts <olly@survex.com>
10260 * python/docs/.cvsignore,python/docs/examples/.cvsignore: Ignore
10263 Sun Dec 7 13:11:56 BST 2003 James Aylett <james@tartarus.org>
10265 * Added basic documentation, and two examples, for Python bindings
10267 Thu Oct 02 17:34:47 BST 2003 Olly Betts <olly@survex.com>
10269 * configure.in: Version 0.7.4.
10271 Tue Sep 2 17:01:08 BST 2003 James Aylett <james@tartarus.org>
10273 * xapian.i: using namespace std in SWIG parsed segment to sort out
10276 Fri Aug 08 21:36:20 BST 2003 Olly Betts <olly@survex.com>
10278 * configure.in: Version 0.7.3.
10280 Fri Aug 8 12:26:45 BST 2003 Richard Boulton <richard@tartarus.org>
10282 * configure.in: Check for absence of SWIG, and report error more
10285 Sat Jul 26 21:04:06 BST 2003 Olly Betts <olly@survex.com>
10287 * php4/Makefile.am: lib omqueryparser is now xapianqueryparser.
10288 * python/Makefile.am: XAPIAN_LIBS now includes -lxapianqueryparser.
10290 Sat Jul 26 18:33:42 BST 2003 Olly Betts <olly@survex.com>
10292 * configure.in: Converted to use XO_LIB_XAPIAN.
10294 Fri Jul 25 11:02:43 2003 James Aylett <james@tartarus.org>
10296 * {tcl8,guile}/util.i: convert typemaps to SWIG 1.3 style
10298 Fri Jul 25 11:01:15 2003 James Aylett <james@tartarus.org>
10300 * python/Makefile.am: add -lomqueryparser to complete link
10302 Tue Jul 15 13:50:25 2003 James Aylett <james@tartarus.org>
10304 * [langdir]/Makefile.am: use -I$(srcdir) not -I. so VPATH
10307 Fri Jul 11 15:10:27 BST 2003 Olly Betts <olly@survex.com>
10309 * configure.in: Version 0.7.2.
10311 Fri Jul 11 14:53:35 BST 2003 Olly Betts <olly@survex.com>
10313 * Makefile.am,configure.in: Include code for partly done guile and
10314 tcl8 bindings in the distribution - it may inspire somebody to
10316 * guile/Makefile.am,tcl8/Makefile.am: Removed -shadow from swig
10318 * php4/Makefile.am: Fixed not to build subproject every time.
10320 Fri Jul 11 14:42:42 BST 2003 Olly Betts <olly@survex.com>
10322 * configure.in: Added check for location of Xapian installation.
10323 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10324 tcl8/Makefile.am: Added -I for Xapian.
10326 Fri Jul 11 14:27:04 BST 2003 Olly Betts <olly@survex.com>
10328 * Moved bindings out of xapian-core into their own module.