1 Mon Jun 01 13:14:40 GMT 2015 Olly Betts <olly@survex.com>
3 * NEWS,configure.ac: Update for 1.3.3.
5 Mon Jun 01 11:52:12 GMT 2015 Olly Betts <olly@survex.com>
9 Fri May 29 07:31:12 GMT 2015 Olly Betts <olly@survex.com>
11 * python/smoketest.py: Add new testcase to catch any internal
12 functions, methods, constants, etc which have accidentally been
15 Fri May 29 07:30:20 GMT 2015 Olly Betts <olly@survex.com>
17 * xapian-headers.i: Ignore new internal sortable_serialise_()
20 Fri May 29 07:25:17 GMT 2015 Olly Betts <olly@survex.com>
22 * xapian-headers.i: Ignore internal methods of Xapian::Weight.
24 Wed May 27 03:07:15 GMT 2015 Olly Betts <olly@survex.com>
28 Tue May 26 23:17:09 GMT 2015 Olly Betts <olly@survex.com>
30 * NEWS: Credit people for the #616-related improvements in 1.3.2.
32 Mon May 25 10:03:24 GMT 2015 Olly Betts <olly@survex.com>
34 * python/Makefile.am,python3/Makefile.am: SWIG now automatically
35 makes xapian.Error a subclass of the Python Exception class, so
36 drop our post-processing tweak to add this in.
38 Mon May 25 09:58:30 GMT 2015 Olly Betts <olly@survex.com>
40 * python/Makefile.am,python3/Makefile.am: Eliminate 'modern'
41 subdirectory - we haven't generated a non-modern variant of the
42 python bindings for ages.
44 Mon May 25 05:59:49 GMT 2015 Olly Betts <olly@survex.com>
46 * python/Makefile.am,python3/Makefile.am: Fix Makefile comment typo.
48 Sun May 24 13:07:47 GMT 2015 Olly Betts <olly@survex.com>
50 * configure.ac: Fix configure test for whether $CLI can run CSharp
51 programs - previously it would always fail, which would mean that
52 the CSharp tests wouldn't be run if CSharp programs can't be run
55 Fri May 22 06:13:49 GMT 2015 Olly Betts <olly@survex.com>
59 Fri May 22 04:48:35 GMT 2015 Olly Betts <olly@survex.com>
61 * NEWS.SKELETON: Add "Python3" section.
63 Thu May 21 04:37:31 GMT 2015 Olly Betts <olly@survex.com>
65 * README,configure.ac: Require Tcl 8.5 as older versions are no longer
66 supported upstream, and this version added ::tcl::pkgconfig, which
67 makes the configure tests simpler and more reliable.
69 Tue May 19 05:45:48 GMT 2015 Olly Betts <olly@survex.com>
71 * perl/t/symbol-test.t: If the symboltest module build fails, skip the
72 test - it's likely due to external reasons, like incompatible
73 compiler flags being taken from Perl's Config module, due to Perl
74 having been built with a different compiler to Xapian.
76 Fri May 15 11:31:59 GMT 2015 Olly Betts <olly@survex.com>
78 * perl/perl.i: Just call the existing Perl Xapian::inmemory_open()
79 function rather than defining and wrapping an inline C++
80 new3_WritableDatabase() function which calls InMemory::open().
82 Fri May 15 06:49:50 GMT 2015 Olly Betts <olly@survex.com>
84 * perl/util.i.in: Add a "LICENSE" section to the main POD.
86 Fri May 15 04:50:28 GMT 2015 Olly Betts <olly@survex.com>
88 * python3/pythontest.py: Expand comment about disabling
89 test_import_star under threads.
91 Thu May 14 13:50:24 GMT 2015 Olly Betts <olly@survex.com>
93 * README: Remove the experimental markers from Lua and Python3,
94 and the note welcoming patches for Python 3.1.x support (since
95 Python 3.1.x was EOL-ed 3 years ago).
97 Tue May 12 07:39:04 GMT 2015 Olly Betts <olly@survex.com>
99 * configure.ac: Fix typo.
101 Mon May 11 06:55:32 GMT 2015 Olly Betts <olly@survex.com>
103 * doxygen_xml.conf.in,xapian-head.i: Update for addition of
106 Sun May 10 13:27:23 GMT 2015 Olly Betts <olly@survex.com>
108 * xapian-headers.i: Update for optional reference counting of
111 Sun May 10 11:21:55 GMT 2015 Olly Betts <olly@survex.com>
113 * xapian-headers.i: Update for optional reference counting of
116 Fri May 08 11:01:03 GMT 2015 Olly Betts <olly@survex.com>
118 * perl/t/: Add 'use strict' to all testcases.
120 Fri May 08 11:00:14 GMT 2015 Olly Betts <olly@survex.com>
122 * perl/t/document.t,perl/t/writabledatabase.t: Add missing 'my'.
124 Fri May 08 10:55:32 GMT 2015 Olly Betts <olly@survex.com>
126 * perl/perl.i: Wrap missing constants.
128 Fri May 08 10:54:51 GMT 2015 Olly Betts <olly@survex.com>
130 * perl/perl.i,perl/t/parser.t: Wrap WILDCARD_LIMIT_* constants as
133 Fri May 08 10:48:20 GMT 2015 Olly Betts <olly@survex.com>
135 * perl/t/parser.t: Update to use Test::More.
137 Fri May 08 09:56:52 GMT 2015 Olly Betts <olly@survex.com>
139 * perl/perl.i: Remove duplicate %constant for OP_WILDCARD.
141 Tue May 05 04:56:25 GMT 2015 Olly Betts <olly@survex.com>
143 * python/pythontest.py,python3/pythontest.py: Fix typo in test context
144 ("multipler" -> "multiplier").
146 Tue May 05 04:09:24 GMT 2015 Olly Betts <olly@survex.com>
148 * perl/Makefile.am,perl/t/collapse.t: Add test coverage for
149 Enquire::set_collapse_key() with 1 and 2 parameters.
151 Fri May 01 12:16:29 GMT 2015 Olly Betts <olly@survex.com>
153 * configure.ac: Update check for -fvisibility to match xapian-core's.
155 Fri May 01 12:15:28 GMT 2015 Olly Betts <olly@survex.com>
157 * configure.ac: Simplify test of Ruby version.
159 Fri May 01 12:14:31 GMT 2015 Olly Betts <olly@survex.com>
161 * INSTALL: IRIX is past EOL so drop information about IRIX make.
163 Fri May 01 12:05:53 GMT 2015 Olly Betts <olly@survex.com>
165 * perl/perl.i: Add workaround for Perl defining a seed() macro which
166 breaks '#include <algorithm>' undef C++11 with GCC.
168 Fri May 01 11:04:33 GMT 2015 Olly Betts <olly@survex.com>
170 * configure.ac,m4/ax_cxx_compile_stdcxx_11.m4: Require a C++11
173 Fri Apr 24 03:26:10 GMT 2015 Olly Betts <olly@survex.com>
175 * xapian-headers.i: Don't wrap Query::LEAF_* - they're for internal
177 * python/smoketest.py: Add test_internal_enums_not_wrapped to check
178 that xapian.Query has no attributes starting with "LEAF_".
180 Mon Apr 13 06:22:15 GMT 2015 Olly Betts <olly@survex.com>
182 * tcl8/tcl.i: Adjust precedence of the typecheck typemap for wrapping
183 constructing a query from a Tcl list so that we disambiguate this
184 from the new OP_WILDCARD constructor correctly.
186 Thu Apr 09 21:47:28 GMT 2015 Olly Betts <olly@survex.com>
188 * ruby/Makefile.am: Ship generate-rdoc-stubs in the tarball. Reported
189 by Matthias Klose in https://bugs.debian.org/782270
191 Fri Mar 13 10:33:47 GMT 2015 Olly Betts <olly@survex.com>
193 * python/Makefile.am,python3/Makefile.am: Fix 'make install' when
194 building from git with --disable-documentation. Fix to handle a
195 VPATH build from a tarball when the generated docs will be in
198 Fri Mar 13 05:28:28 GMT 2015 Olly Betts <olly@survex.com>
200 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
201 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Fix "make
202 install" from a git tree configured with --disable-documentation.
203 (Fixes #658, reported by German M. Bravo)
205 Tue Mar 03 04:04:36 GMT 2015 Olly Betts <olly@survex.com>
207 * java/docs/examples/SimpleSearch.java: getPercent() returns an
210 Tue Mar 03 04:01:46 GMT 2015 Ashley <ashley@eclipso.ch>
212 * java/docs/examples/SimpleSearch.java: Fix build and update example.
214 Fri Feb 13 13:10:11 GMT 2015 Olly Betts <olly@survex.com>
216 * python/smoketest.py,python3/smoketest.py: Update testcases for lazy
217 wildcard expansion change in xapian-core.
219 Wed Jan 07 04:00:24 GMT 2015 Olly Betts <olly@survex.com>
221 * configure.ac: Don't AC_SUBST LUA_INC as we never use it.
223 Thu Dec 18 00:30:06 GMT 2014 Olly Betts <olly@survex.com>
225 * python/python.i: Don't release the GIL when using
226 XapianSWIGQueryItor as it uses Python C API calls.
228 Thu Dec 18 00:19:56 GMT 2014 Olly Betts <olly@survex.com>
230 * python3/pythontest.py: Actually reenable the test case which was
231 failing before the previous commit fixed the underlying problem.
233 Thu Dec 18 00:18:07 GMT 2014 Olly Betts <olly@survex.com>
235 * python3/python.i: Don't release the GIL when using
236 XapianSWIGQueryItor as it uses Python C API calls. (fixes #346)
238 Wed Dec 17 23:01:35 GMT 2014 Olly Betts <olly@survex.com>
240 * python/generate-python-exceptions,
241 python3/generate-python-exceptions: Remove comment which is no
242 longer correct since #538 was fixed 4.5 years ago.
244 Mon Dec 15 00:10:42 GMT 2014 Olly Betts <olly@survex.com>
246 * xapian-headers.i: Add DB_RETRY_LOCK as a constant to wrap.
248 Fri Dec 05 11:26:16 GMT 2014 Olly Betts <olly@survex.com>
250 * ChangeLog,configure.ac: Fix typos reported by Veres Lajos.
252 Fri Dec 05 11:20:17 GMT 2014 Olly Betts <olly@survex.com>
254 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags
257 Sun Nov 30 22:00:58 GMT 2014 Olly Betts <olly@survex.com>
259 * configure.ac: Add an example of specifying LUA_SO to --help output.
261 Sun Nov 30 21:49:48 GMT 2014 Olly Betts <olly@survex.com>
263 * configure.ac: Rework LUA_SO checks to be clearer and to properly
264 handle LUA_SO being specified without a leading '.'.
266 Sun Nov 30 15:46:08 GMT 2014 James Aylett <james@tartarus.org>
268 * configure.ac: use \{0,1\} instead of \? for better sed
271 Mon Nov 24 19:58:34 GMT 2014 Olly Betts <olly@survex.com>
273 * NEWS,configure.ac: Update for 1.3.2.
275 Mon Nov 24 10:45:30 GMT 2014 Olly Betts <olly@survex.com>
277 * configure.ac: Update comment about MACOSX_DEPLOYMENT_TARGET -
278 OS X 10.2 is long obsolete now.
280 Sun Nov 23 23:57:02 GMT 2014 Olly Betts <olly@survex.com>
282 * NEWS,csharp/Makefile.am,csharp/docs/index.rst,fake_dbfactory.i,
283 java/Makefile.am,lua/docs/index.rst,php/docs/index.rst,
284 python/docs/introduction.rst,python/smoketest.py,
285 python3/docs/introduction.rst,python3/smoketest.py,
286 ruby/docs/index.rst,tcl8/docs/index.rst,xapian-head.i,
287 xapian-headers.i: Update for renaming of 'brass' backend to 'glass'.
289 Sun Nov 23 05:14:03 GMT 2014 Olly Betts <olly@survex.com>
291 * python/docs/introduction.rst: Fix typo.
293 Sun Nov 09 22:48:08 GMT 2014 Olly Betts <olly@survex.com>
297 Tue Nov 04 20:38:38 GMT 2014 Olly Betts <olly@survex.com>
299 * php/docs/index.rst: Note that PHP < 5.4 are now out of security
302 Tue Nov 04 04:38:06 GMT 2014 Olly Betts <olly@survex.com>
304 * php/smoketest.php: Iterating foreach ($it as $k => $c) doesn't work
305 unless $k is a string or integer in PHP < 5.5, so test the old way
306 under older versions.
308 Tue Nov 04 04:25:57 GMT 2014 Olly Betts <olly@survex.com>
310 * php/smoketest.php: Remove disabling of subclassing tests for PHP
313 Mon Nov 03 22:11:19 GMT 2014 Olly Betts <olly@survex.com>
315 * INSTALL,php/docs/index.rst: In current PHP releases, dl() will only
316 look in the configured extension directory, and only accepts a
317 leafname, and dl() is disabled in most SAPIs, so update the
318 documentation about how to install the PHP bindings without being
319 root. Fixes #661, reported by Felix Ostmann.
321 Sun Nov 02 20:51:03 GMT 2014 Olly Betts <olly@survex.com>
323 * NEWS: Update for 1.2.19 release.
325 Fri Oct 24 23:06:25 GMT 2014 Gaurav Arora <gauravarora.daiict@gmail.com>
327 * csharp/Makefile.am,java/Makefile.am: Update for addition of LMWeight
330 Mon Oct 20 00:53:59 GMT 2014 Olly Betts <olly@survex.com>
332 * .gitignore,csharp/.gitignore,java/.gitignore,lua/.gitignore,
333 perl/.gitignore,php/.gitignore,python/.gitignore,python3/.gitignore,
334 python3/docs/.gitignore,ruby/.gitignore,tcl8/.gitignore: Update to
335 ignore new generated files.
337 Sun Oct 19 09:40:09 GMT 2014 Olly Betts <olly@survex.com>
339 * README: Note that Ruby 2.1 works too.
341 Mon Oct 13 11:41:18 GMT 2014 Olly Betts <olly@survex.com>
345 Fri Oct 10 11:43:55 GMT 2014 Olly Betts <olly@survex.com>
347 * php/add-php-ref-handling: Be careful to pick up just the parameter
348 name and not any default value. (Fixes #659, reported by jmienert)
349 * php/smoketest.php: Add regression test.
351 Thu Sep 18 02:23:53 GMT 2014 Olly Betts <olly@survex.com>
353 * python3/: Remove executable bits from a number of files which
356 Thu Sep 18 02:19:54 GMT 2014 Olly Betts <olly@survex.com>
358 * python3/extra.i: Fix typo in code to keep a reference to a
359 FieldProcessor object, reported by Germán M. Bravo in github PR59.
360 * python3/smoketest.py: Add regression test.
362 Thu Sep 18 02:12:47 GMT 2014 Olly Betts <olly@survex.com>
364 * python/extra.i: Fix typo in code to keep a reference to a
365 FieldProcessor object, reported by Germán M. Bravo in github PR59.
366 * python/smoketest.py: Add regression test.
368 Thu Sep 18 01:53:02 GMT 2014 Olly Betts <olly@survex.com>
370 * java/java.i: Update to use the new Xapian::iterator_valid() API.
372 Fri Sep 12 16:21:34 GMT 2014 Olly Betts <olly@survex.com>
374 * php/docs/index.rst: Align entries in tables in ReST source.
376 Fri Sep 12 16:19:55 GMT 2014 Olly Betts <olly@survex.com>
378 * php/docs/examples/simpleexpand.php5,
379 php/docs/examples/simplematchdecider.php5,
380 php/docs/examples/simplesearch.php5,php/docs/index.rst,php/php.i,
381 php/smoketest.php: Wrap Xapian iterator classes as PHP iterators.
384 Fri Sep 12 13:40:48 GMT 2014 Olly Betts <olly@survex.com>
386 * xapian-headers.i: Ignore new iterator API (which we see via friend
389 Fri Sep 12 13:35:25 GMT 2014 Olly Betts <olly@survex.com>
391 * HACKING,README,php/docs/index.rst: Make PHP 5.4 the minimum
392 officially supported version, as 5.3 has now reached EOL.
394 Thu Sep 11 17:02:10 GMT 2014 Olly Betts <olly@survex.com>
396 * php/smoketest.php: Add regression test for throwing an exception from
397 a PHP implementation of FieldProcessor::apply(), fixed by newer SWIG.
399 Thu Sep 11 16:59:14 GMT 2014 Olly Betts <olly@survex.com>
401 * configure.ac: Fix SWIG version check to not fail on 3.* by making the
402 pattern match all older versions rather than some newer ones, and
403 update the minimum checked for to be what we actually currently want
404 - it was 1.3.40 which is 5 years old!
406 Wed Sep 03 19:15:34 GMT 2014 Olly Betts <olly@survex.com>
408 * xapian-head.i,xapian-headers.i: Define XAPIAN_IN_XAPIAN_H rather
409 than XAPIAN_LIB_BUILD to avoid the direct subheader inclusion
412 Fri Aug 29 21:36:39 GMT 2014 Olly Betts <olly@survex.com>
414 * xapian-headers.i: Add DBCHECK_SHOW_FREELIST as a constant to wrap.
416 Thu Aug 21 08:53:48 GMT 2014 Olly Betts <olly@survex.com>
418 * xapian-headers.i: Add DB_FULL_SYNC as a constant to wrap.
420 Tue Aug 05 12:46:08 GMT 2014 Olly Betts <olly@survex.com>
424 Fri Aug 01 06:34:31 GMT 2014 Olly Betts <olly@survex.com>
426 * configure.ac: Enable automake option 'subdir-objects' as (a) this
427 avoids a warning with newer automake and (b) it better to put the
428 objects alongside the source in this case anyway (less cluttered,
429 and the objects and generated sources will both get cleaned up
430 if the directory is removed).
432 Wed Jul 30 04:03:09 GMT 2014 Olly Betts <olly@survex.com>
434 * perl/Makefile.am,php/Makefile.am: Restore explicit dependencies of
435 except.i - they are needed so that except.i gets generated before
436 the automatically generated dependency information is available.
438 Tue Jul 22 01:04:29 GMT 2014 Olly Betts <olly@survex.com>
440 * php/Makefile.am: Add add-php-ref-handling script as a dependency of
441 the stamp file, so we regenerate if this script changes.
443 Tue Jul 22 01:02:48 GMT 2014 Olly Betts <olly@survex.com>
445 * perl/Makefile.am,php/Makefile.am: Remove unnecessary explicit
446 dependencies on except.i, as swig-depcomp finds this automatically.
448 Tue Jul 22 01:02:04 GMT 2014 Olly Betts <olly@survex.com>
450 * csharp/Makefile.am: Fix to generate dependencies for stamp file
453 Tue Jul 22 01:01:33 GMT 2014 Olly Betts <olly@survex.com>
455 * csharp/Makefile.am: Update for Snipper wrapping.
457 Mon Jul 21 23:50:00 GMT 2014 Mihai Bivol <mm.bivol@gmail.com>
459 * java/Makefile.am,xapian-headers.i: Add Snipper in xapian bindings.
461 Wed Jul 09 01:14:43 GMT 2014 Olly Betts <olly@survex.com>
463 * python/Makefile.am,python3/Makefile.am: Fix "make dist" to include
464 the sphinx-generated docs when DOCUMENTATION_RULES=0.
466 Tue Jul 08 13:33:01 GMT 2014 Olly Betts <olly@survex.com>
468 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
469 ruby/Makefile.am,tcl8/Makefile.am: Fix "make dist" when
470 DOCUMENTATION_RULES is off but generated index.html files exist.
472 Mon Jun 30 04:11:46 GMT 2014 Olly Betts <olly@survex.com>
474 * python/smoketest.py: Fix typo in SimpleStopper with file testcase.
476 Mon Jun 30 02:18:04 GMT 2014 Olly Betts <olly@survex.com>
478 * python/pythontest.py,python3/pythontest.py: Add a comment to explain
479 why the PostingSource is in a list in the "postingsource" testcase,
480 and add a term to the list to make it a less artificial test.
482 Sat Jun 28 11:15:47 GMT 2014 Olly Betts <olly@survex.com>
484 * Makefile.am,shortstop.list: Add and distribute new data file
485 'shortstop.list', needed for new SimpleStopper ctor testcase.
487 Sat Jun 28 09:34:15 GMT 2014 Olly Betts <olly@survex.com>
489 * xapian-head.i,xapian-headers.i: Provide a SimpleStopper constructor
490 which provides the ability to initialise from a stopword list in a
491 file. Based on patch from Assem Chelli.
492 * python/smoketest.py: Add testcoverage for this new wrapping.
494 Mon Jun 23 02:49:37 GMT 2014 Olly Betts <olly@survex.com>
496 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
497 ruby/Makefile.am,tcl8/Makefile.am: Don't guard installation of
498 index.html generated from RST by "if DOCUMENTATION_RULES".
500 Mon Jun 23 02:23:40 GMT 2014 Olly Betts <olly@survex.com>
502 * configure.ac: Add hints for which package to install for rst2html
503 and sphinx-build (the latter is particularly useful, as there are at
504 least 3 different open source projects using the name "sphinx").
506 Mon Jun 23 00:56:02 GMT 2014 Olly Betts <olly@survex.com>
508 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
509 php/Makefile.am,python/Makefile.am,python3/Makefile.am,
510 ruby/Makefile.am,tcl8/Makefile.am: Use $(MKDIR_P).
512 Mon Jun 23 00:55:14 GMT 2014 Olly Betts <olly@survex.com>
514 * configure.ac: Use AS_MKDIR_P instead of test -d || mkdir.
516 Sun Jun 22 13:47:03 GMT 2014 Olly Betts <olly@survex.com>
520 Sat Jun 21 01:29:37 GMT 2014 Olly Betts <olly@survex.com>
522 * perl/Xapian/RSet.pm: Fix duplicate "1;" at end of module.
524 Sat Jun 21 01:27:55 GMT 2014 Olly Betts <olly@survex.com>
526 * perl/Xapian/,perl/docs/examples/,perl/generate-perl-exceptions,
527 perl/perl.i,perl/t/databasemodified.t,perl/t/search.t,
528 perl/t/writabledatabase.t,perl/util.i.in: Whitespace clean-up.
530 Sat Jun 21 01:00:59 GMT 2014 Olly Betts <olly@survex.com>
532 * HACKING,README,perl/Makefile.am,perl/Search/Xapian/,perl/Xapian/,
533 perl/docs/examples/,perl/generate-perl-exceptions,perl/perl.i,
534 perl/t/,perl/util.i.in,xapian-bindings.spec.in: Move the new
535 SWIG-based Perl bindings into a 'Xapian' module, to smooth the
536 overlap with the hand-coded XS 'Search::Xapian' module.
538 Fri Jun 20 23:25:33 GMT 2014 Olly Betts <olly@survex.com>
540 * python/docs/examples/simpleindex.py: Eliminate needless differences
541 with the python3 version - drop a duplicate blank line, and prefer
542 "line = line.strip()" to "line = string.strip(line)".
544 Fri Jun 20 12:51:35 GMT 2014 Olly Betts <olly@survex.com>
546 * python3/docs/examples/simpleexpand.py,
547 python3/docs/examples/simpleindex.py: Fix Python3 examples to
548 actually work. (see #346)
550 Fri Jun 20 06:14:05 GMT 2014 Olly Betts <olly@survex.com>
552 * perl/Search/Xapian/MultiValueSorter.pm: Fix documentation comment
553 typo ("foward" -> "forward").
555 Mon Jun 16 13:01:39 GMT 2014 Olly Betts <olly@survex.com>
557 * configure.ac: List the python-related files in AC_CONFIG_FILES
560 Mon Jun 16 13:01:14 GMT 2014 Olly Betts <olly@survex.com>
562 * configure.ac,python/docs/examples.rst,python/docs/index.rst,
563 python/docs/xapian.rst,python3/docs/examples.rst,
564 python3/docs/index.rst,python3/docs/xapian.rst: Whitespace tweaks.
566 Mon Jun 16 12:54:14 GMT 2014 Olly Betts <olly@survex.com>
568 * python/Makefile.am,python3/Makefile.am: Remove echo statements from
569 rules which report the rule ran successfully - we don't have these
572 Mon Jun 16 12:38:54 GMT 2014 Olly Betts <olly@survex.com>
574 * python3/docs/index.rst,python3/docs/introduction.rst,
575 python3/docs/introduction3.rst: Resolve inconsistencies in what we
576 think the introduction for Python 3 is called, fixing a build error
579 Mon Jun 16 12:33:39 GMT 2014 Assem Chelli <assem.ch@gmail.com>
581 * configure.ac,python/Makefile.am,python/docs/,python3/Makefile.am,
582 python3/docs/: Generate Python API docs with Sphinx. (Fixes #138)
584 Thu May 01 00:28:43 GMT 2014 Olly Betts <olly@survex.com>
586 * php/smoketest.php: Add tests of get_eset() with an ExpandDecider and
587 with a min weight threshold.
589 Sun Apr 06 19:40:12 GMT 2014 James Aylett <james@tartarus.org>
591 * perl/Makefile.am: Perl tests are ordering-dependent, so
592 use .NOTPARALLEL to avoid problems during parallel builds.
594 Sun Mar 30 22:57:50 GMT 2014 Anish Kanchan <anishgkanchan@gmail.com>
596 * java/SmokeTest.java: Add testcase that FLAG_SPELLING is now wrapped
597 in a usable way. (see #616)
599 Sun Mar 30 22:06:54 GMT 2014 Olly Betts <olly@survex.com>
601 * lua/docs/index.rst: Note that constants can now be accessed using
602 CLASS.CONSTANT as well as CLASS_CONSTANT.
604 Sun Mar 30 22:04:43 GMT 2014 Olly Betts <olly@survex.com>
606 * lua/docs/index.rst: RST source formatting tweak.
608 Thu Mar 27 23:02:39 GMT 2014 Olly Betts <olly@survex.com>
610 * lua/smoketest.lua: Whitespace tweak.
612 Thu Mar 27 23:00:56 GMT 2014 Olly Betts <olly@survex.com>
614 * lua/smoketest.lua: Change expect() parameter order to the more
615 natural (got, expected), which most of the calls already used,
616 and fix up the few calls which passed (expected, got).
618 Thu Mar 27 10:45:27 GMT 2014 Olly Betts <olly@survex.com>
620 * python/Makefile.am,python3/Makefile.am: Pass
621 -DSWIG_PYTHON_LEGACY_BOOL to SWIG to revert strict bool typemap to
622 the more Pythonic older typemap.
624 Thu Mar 27 07:21:08 GMT 2014 Olly Betts <olly@survex.com>
626 * configure.ac: Don't report Python version twice if it's too new or
629 Mon Mar 10 11:17:12 GMT 2014 Olly Betts <olly@survex.com>
631 * README: Add links to Erlang and Node.js bindings.
633 Mon Mar 10 02:35:19 GMT 2014 Olly Betts <olly@survex.com>
635 * csharp/docs/index.rst,lua/docs/index.rst,php/docs/index.rst,
636 python/docs/index.rst,ruby/docs/index.rst,tcl8/docs/index.rst:
637 Remove use of "$Date" as it's not expanded by git, and the "last
638 updated" information isn't all that informative anyway - there can
639 still be stale information even if the file was updated very
642 Mon Mar 10 02:27:52 GMT 2014 Olly Betts <olly@survex.com>
644 * ruby/Makefile.am: Fix to build Ruby docs from reStructured text,
645 which I somehow failed to apply from Mayank's patch.
647 Sun Mar 09 10:14:38 GMT 2014 Mayank Chaudhary <mayankchaudhary.iitr@gmail.com>
649 * csharp/Makefile.am,csharp/docs/index.html,csharp/docs/index.rst,
650 java/Makefile.am,java/docs/index.html,java/docs/index.rst,
651 lua/Makefile.am,lua/docs/index.html,lua/docs/index.rst,
652 php/Makefile.am,php/docs/index.html,php/docs/index.rst,
653 python/Makefile.am,python/docs/index.html,python/docs/index.rst,
654 ruby/docs/index.html,ruby/docs/index.rst,tcl8/Makefile.am,
655 tcl8/docs/index.html,tcl8/docs/index.rst: Convert HTML docs to
658 Sun Feb 23 22:06:31 GMT 2014 Olly Betts <olly@survex.com>
660 * configure.ac: Remove unnecessary m4 quoting.
662 Fri Feb 21 07:26:26 GMT 2014 Olly Betts <olly@survex.com>
664 * configure.ac: Fix Ruby bindings to build on Windows (and other
665 platforms where allow_undefined_flag=unsupported. (fixes#634)
667 Mon Feb 17 05:02:47 GMT 2014 Olly Betts <olly@survex.com>
669 * README: Note that C# bindings now need .NET 2 or later (because
670 that's what SWIG-generated code now requires).
672 Mon Feb 17 04:16:07 GMT 2014 Olly Betts <olly@survex.com>
674 * php/smoketest.php: Add missing "exit(1);" after check that
675 MatchDecider returns an MSet with the expected docid in.
677 Sun Feb 16 05:51:00 GMT 2014 Olly Betts <olly@survex.com>
679 * python3/python.i: Update (no longer recognised)
680 XAPIAN_BINDINGS_SKIP_BRASS_AND_CHERT_FACTORIES to
681 XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES so deprecated db
682 factories aren't wrapped.
683 * python3/smoketest.py: Update testcases to test factories which
684 shouldn't be wrapped aren't, and that the replacements work.
686 Wed Jan 29 04:01:36 GMT 2014 Olly Betts <olly@survex.com>
688 * python3/Makefile.am,python3/run-python-test: Pass Python 3
689 interpreter as PYTHON3 not PYTHON, and default to python3 if not
692 Fri Jan 10 09:00:05 GMT 2014 Olly Betts <olly@survex.com>
694 * xapian-headers.i: Update for xapian-core Database::check() optional
697 Thu Jan 09 03:34:17 GMT 2014 Olly Betts <olly@survex.com>
699 * python/pythontest.py,python3/pythontest.py,xapian-head.i,
700 xapian-headers.i: Wrap Xapian::Database::check() for the bindings
701 with arguments (path, opts = 0), and if opts != 0, send output to
704 Mon Jan 06 12:10:08 GMT 2014 Olly Betts <olly@survex.com>
706 * python/pythontest.py,python3/pythontest.py: When testing
707 valuestreams, just use the xapian.WritableDatabase constructor
708 rather than chert_open() - that code dates back to when chert was
709 the only disk-based backend to support valuestreams, and it wasn't
712 Wed Jan 01 04:22:36 GMT 2014 Olly Betts <olly@survex.com>
714 * python3/Makefile.am: Fix handling of DOCUMENTATION_RULES.
716 Wed Dec 25 20:30:49 GMT 2013 Olly Betts <olly@survex.com>
718 * configure.ac: Quote $PYTHON, etc in backward compatibility code.
720 Wed Dec 25 06:29:07 GMT 2013 Olly Betts <olly@survex.com>
722 * configure.ac: Fix some issues with the previous change, so it works
725 Tue Dec 24 21:26:27 GMT 2013 Olly Betts <olly@survex.com>
727 * python3/Makefile.am: Use PYTHON to run doxy2swig, as that's reliably
728 set when we're in maintainer mode.
730 Tue Dec 24 21:21:17 GMT 2013 Olly Betts <olly@survex.com>
732 * Makefile.am,configure.ac,python/Makefile.am: Rename the variables
733 used for the python2 bindings to begin PYTHON2 instead of PYTHON.
734 Try python2 before python when looking for an interpreter for the
735 python2 bindings, as some distros now point /usr/bin/python at
738 Sat Dec 21 01:06:19 GMT 2013 Olly Betts <olly@survex.com>
740 * python3/smoketest.py: Add parentheses around print arguments.
742 Fri Dec 20 03:50:50 GMT 2013 Olly Betts <olly@survex.com>
744 * xapian-headers.i: Update for addition of Xapian::DB_NO_TERMLIST.
746 Fri Dec 20 00:22:02 GMT 2013 Olly Betts <olly@survex.com>
748 * csharp/docs/index.html,lua/docs/index.html,php/docs/index.html,
749 php/smoketest.php,python/docs/index.html,python3/docs/index.rst,
750 xapian-headers.i: Update for addition of Xapian::DB_BACKEND_STUB
751 and deprecationg of Xapian::Auto::open_stub().
753 Thu Dec 19 09:48:04 GMT 2013 Olly Betts <olly@survex.com>
755 * NEWS: Update from 1.2.16 and ChangeLog.
757 Thu Dec 19 06:45:17 GMT 2013 Olly Betts <olly@survex.com>
759 * csharp/docs/index.html,lua/docs/index.html,perl/perl.i,
760 php/docs/index.html,python/docs/index.html,python3/docs/index.rst,
761 python3/python.i,ruby/docs/index.html,tcl8/docs/index.html,
762 xapian-head.i,xapian-headers.i: Update for deprecation of
763 Xapian::Brass::open() and Xapian::Chert::open().
765 Thu Dec 19 02:26:03 GMT 2013 Olly Betts <olly@survex.com>
767 * xapian-headers.i: Update for new Xapian::DB_* constants.
769 Thu Dec 19 02:17:15 GMT 2013 Olly Betts <olly@survex.com>
771 * python3/docs/index.rst: Wording tweaks.
773 Thu Dec 19 02:15:09 GMT 2013 Olly Betts <olly@survex.com>
775 * python/smoketest.py,python3/smoketest.py: If constants weren't
776 handled in xapian-headers.i with the CONSTANT() macro, we ended up
777 with xapian.cvar being created, and an obscure error from
778 smoketest.py. Now we report what the variables are in the
781 Wed Dec 18 23:10:53 GMT 2013 Olly Betts <olly@survex.com>
783 * xapian-headers.i: Update for addition of xapian/constants.h.
785 Fri Dec 06 05:29:53 GMT 2013 Olly Betts <olly@survex.com>
787 * configure.ac: Link against -ltclstubX.Y for Tcl 8.5 and later
788 (reported by Sergei Golovan in http://bugs.debian.org/724830).
789 Also, use a better check for TCL_INC for Tcl 8.5 and later.
791 Fri Dec 06 03:31:50 GMT 2013 Olly Betts <olly@survex.com>
793 * README,configure.ac: Tweak configure to work with Ruby 2.0.
795 Tue Dec 03 07:38:49 GMT 2013 Olly Betts <olly@survex.com>
797 * configure.ac: Sync link_all_deplibs_CXX check with xapian-core.
799 Fri Nov 08 10:32:13 GMT 2013 Olly Betts <olly@survex.com>
801 * configure.ac: Remove duplicate check for thread-local storage
804 Tue Oct 22 05:52:54 GMT 2013 Olly Betts <olly@survex.com>
806 * python3/Makefile.am: Make sure docs subdirectory exists in builddir
807 before running $(RST2HTML) to fix build when srcdir != builddir.
809 Mon Oct 14 09:59:27 GMT 2013 Olly Betts <olly@survex.com>
811 * ruby/generate-rdoc-stubs: Skip internal classes.
813 Fri Oct 11 08:29:23 GMT 2013 Olly Betts <olly@survex.com>
815 * python3/docs/examples/: Update syntax of examples for Python3.
817 Fri Oct 11 07:37:59 GMT 2013 Olly Betts <olly@survex.com>
819 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over
822 Fri Oct 11 05:50:45 GMT 2013 Olly Betts <olly@survex.com>
824 * python3/docs/index.rst: Strip trailing whitespace.
826 Fri Oct 11 05:14:21 GMT 2013 Olly Betts <olly@survex.com>
828 * configure.ac,python3/Makefile.am,python3/docs/.gitignore,
829 python3/docs/index.html,python3/docs/index.rst: Overhaul Python3
830 documentation and convert it to reStructured Text. (see #346)
832 Thu Oct 10 23:57:56 GMT 2013 Olly Betts <olly@survex.com>
834 * python3/python.i,python3/smoketest.py: Make xapian.version_string()
835 return a Unicode string. (see #346)
837 Thu Oct 10 23:47:18 GMT 2013 Olly Betts <olly@survex.com>
839 * python3/python.i,python3/pythontest.py: Make unserialise methods and
840 functions only accept bytes. (see #346)
842 Tue Oct 08 02:29:28 GMT 2013 Olly Betts <olly@survex.com>
844 * perl/generate-perl-exceptions: Use croak_sv() or ERRSV if defined.
846 Sun Oct 06 23:48:07 GMT 2013 Olly Betts <olly@survex.com>
848 * configure.ac: Don't prefer ruby1.8 to ruby when looking for a ruby
849 interpreter - these days it's more likely to ignore ruby 1.9 rather
850 than avoid picking ruby 1.6.
852 Fri Oct 04 00:32:38 GMT 2013 Olly Betts <olly@survex.com>
854 * python3/pythontest.py: Don't run postingsource testcase under
855 threads for now as it segfaults for unknown reasons.
857 Fri Oct 04 00:29:04 GMT 2013 Olly Betts <olly@survex.com>
859 * python3/pythontest.py,python3/smoketest.py,python3/util.i: Drop the
860 deprecated 'MSet.items' and 'ESet.items' for Python3 - people are
861 going to need to make code updates anyway, so keeping existing code
862 working unchanged isn't a realistic concern.
863 * python3/docs/index.html: Drop discussion of removed features.
865 Fri Oct 04 00:27:13 GMT 2013 Olly Betts <olly@survex.com>
867 * README: Document 3.2 as the minimum supported Python3 version, and
868 update the status to "mostly functional".
870 Thu Oct 03 23:51:26 GMT 2013 Olly Betts <olly@survex.com>
872 * configure.ac,python/,python3/: Provide bindings version in
873 xapian.__version__ as per PEP 396. (see #346)
875 Sat Sep 28 00:02:21 GMT 2013 Olly Betts <olly@survex.com>
877 * python3/pythontest.py: Fix test_postingsource testcase.
879 Fri Sep 27 23:37:28 GMT 2013 Olly Betts <olly@survex.com>
881 * python3/pythontest.py: Fix test_allterms_iter testcase.
883 Fri Sep 27 23:37:01 GMT 2013 Olly Betts <olly@survex.com>
885 * python3/extra.i: Fix ValueStreamIter.__next__().
887 Fri Sep 27 23:36:23 GMT 2013 Olly Betts <olly@survex.com>
889 * python3/extra.i: Correct comments for next() changes in Python3.
891 Fri Sep 27 23:28:47 GMT 2013 Olly Betts <olly@survex.com>
893 * python3/testsuite.py: Remove unnecessary next() helper from
896 Fri Sep 27 23:28:20 GMT 2013 Olly Betts <olly@survex.com>
898 * python3/extra.i: Fix LatLongCoordsIter.__next__().
900 Fri Sep 27 23:14:33 GMT 2013 Olly Betts <olly@survex.com>
902 * python/pythontest.py,python3/pythontest.py: Fix testcases which
903 check that non-random-access iterators which have moved on give
904 an exception if you try to use the old value - previously these
905 didn't actually test all the old values, only the last one.
907 Fri Sep 27 07:53:45 GMT 2013 Olly Betts <olly@survex.com>
909 * python3/smoketest.py,python3/util.i: smoketest.py now passes.
911 Fri Sep 27 04:23:54 GMT 2013 Olly Betts <olly@survex.com>
913 * python3/docs/examples/simplesearch.py,python3/python.i,
914 python3/pythontest.py,python3/smoketest.py: All methods returning
915 std::string now return 'bytes' in Python, except for
916 get_description()/__str__(). (see #346)
918 Wed Sep 25 02:50:39 GMT 2013 Olly Betts <olly@survex.com>
920 * php/smoketest.php: Reenable the FieldProcessor subclass test for PHP
921 5.4, as this one does work.
923 Tue Sep 24 10:00:05 GMT 2013 Olly Betts <olly@survex.com>
925 * .gitignore: Update for switch from gzip to xz.
927 Tue Sep 24 09:55:17 GMT 2013 Olly Betts <olly@survex.com>
929 * configure.ac,xapian-bindings.spec.in: Compress source tarballs with
932 Thu Sep 19 06:52:11 GMT 2013 Olly Betts <olly@survex.com>
934 * Makefile.am,configure.ac,python/,python3/.gitignore,
935 python3/Makefile.am,python3/docs/examples/,python3/docs/index.html,
936 python3/: Split python3 bindings into a separate subdirectory, to
937 make it simpler to handle differences between python2 and python3.
938 This also makes it easier to test both, as a tree can now be
939 configured for both at once.
941 Wed Sep 18 12:58:51 GMT 2013 Olly Betts <olly@survex.com>
943 * python/Makefile.am: Further updates for PEP 3147.
945 Wed Sep 18 12:50:00 GMT 2013 Olly Betts <olly@survex.com>
947 * python/util.i: Fix std::string input typemaps for Python 3.
950 Wed Sep 18 10:56:35 GMT 2013 Olly Betts <olly@survex.com>
952 * configure.ac,python/Makefile.am: Handle the PEP 3147 names which
953 .pyc and .pyo files use in newer Python 3 versions. (see #346)
955 Wed Sep 18 00:36:50 GMT 2013 Olly Betts <olly@survex.com>
957 * python/util.i: Rename next() to __next__() for Python 3 as iterators
958 need to have a __next__() method there. (see #346)
960 Mon Sep 16 12:00:41 GMT 2013 Olly Betts <olly@survex.com>
962 * perl/t/parser.t: Update for xapian-core change to always return
963 UTF-8 object descriptions. (see #620)
965 Mon Jul 15 12:10:18 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
967 * csharp/Makefile.am,java/Makefile.am: Update for DPHWeight.
969 Sun Jul 14 07:07:42 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
971 * csharp/Makefile.am,java/Makefile.am: Update for PL2Weight.
973 Wed Jul 10 12:58:17 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
975 * csharp/Makefile.am,java/Makefile.am: Update for DLHWeight.
977 Sun Jul 07 11:54:44 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
979 * csharp/Makefile.am,java/Makefile.am: Update for BB2Weight.
981 Wed Jul 03 14:02:55 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
983 * csharp/Makefile.am,java/Makefile.am: Update for IneB2Weight.
985 Wed Jul 03 13:38:34 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
987 * csharp/Makefile.am,java/Makefile.am: Update for IfB2Weight.
989 Wed Jul 03 12:01:08 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
991 * csharp/Makefile.am,java/Makefile.am: Update for InL2Weight.
993 Wed Jun 26 02:03:04 GMT 2013 Olly Betts <olly@survex.com>
995 * configure.ac: Fix stripping of _git suffix from snapshot versions
996 not to relying of sed having support for \| as it doesn't on OS X.
998 Mon Jun 24 10:56:34 GMT 2013 Olly Betts <olly@survex.com>
1000 * perl/t/symbol-test/Makefile.PL: Pass $CPPFLAGS and $CXXFLAGS from
1001 the environment through to the sub-build, fixing symbol-test.t
1002 failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
1004 Sat Jun 22 06:26:34 GMT 2013 Olly Betts <olly@survex.com>
1006 * php/smoketest.php: If running under PHP >= 5.4, skip the tests we
1007 know will fail with a message.
1009 Sun May 12 06:16:06 GMT 2013 Olly Betts <olly@survex.com>
1011 * configure.ac: Handle git snapshot naming.
1013 Wed May 08 11:21:23 GMT 2013 Olly Betts <olly@survex.com>
1015 * Makefile.am,generic/generic.mk: SVN -> git.
1017 Thu May 02 23:21:10 GMT 2013 olly <olly@survex.com>
1019 * NEWS: Update release date.
1021 Thu May 02 12:08:35 GMT 2013 Olly Betts <olly@survex.com>
1023 * NEWS,configure.ac: Update for 1.3.1.
1025 Thu May 02 06:31:51 GMT 2013 Olly Betts <olly@survex.com>
1027 * NEWS: Update from ChangeLog.
1029 Thu May 02 06:11:41 GMT 2013 Olly Betts <olly@survex.com>
1031 * README: Update details of tested and supported versions. C#: drop
1032 mentions of Portable.NET (which seems dead) and Mono 1.x (old);
1033 Java: Require JDK 1.6 (1.5 is old and out of free support); Python:
1034 Require 2.5 (was 2.4, but that's old now).
1036 Thu May 02 05:47:58 GMT 2013 Olly Betts <olly@survex.com>
1038 * configure.ac: Change to use CLI rather than MONO to specify the
1039 bytecode interpreter to use to run tests with. Previously we'd
1040 check the setting of MONO worked and then use "mono" (literally)
1041 instead - since setting MONO didn't previously really work, we
1042 haven't added compatibility handling for it.
1044 Thu May 02 04:27:00 GMT 2013 Olly Betts <olly@survex.com>
1046 * HACKING: Add more Debian package requirements.
1048 Wed May 01 07:05:45 GMT 2013 Olly Betts <olly@survex.com>
1050 * python/Makefile.am: Drop fixup after 2to3 as it is no longer needed,
1051 and comment suggesting manual tweaks are probably needed.
1053 Wed May 01 07:04:06 GMT 2013 Olly Betts <olly@survex.com>
1055 * python/testsuite2.py: Use iteritems() instead of items() as it's lazy
1056 and works unchanged in Python 3 (change suggested by Richard Boulton).
1058 Wed May 01 06:18:29 GMT 2013 olly <olly@survex.com>
1060 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests from
1061 Python 2 versions using new 2to3 target.
1063 Wed May 01 06:16:44 GMT 2013 olly <olly@survex.com>
1065 * python/Makefile.am: Add 2to3 rule for maintainers to help automate
1066 updating the Python 3 version from the Python 2 one.
1068 Wed May 01 05:39:13 GMT 2013 olly <olly@survex.com>
1070 * python/Makefile.am: Move comment about using -outdir to a more
1073 Fri Apr 26 10:32:59 GMT 2013 Olly Betts <olly@survex.com>
1075 * php/Makefile.am: Run add-php-ref-handling before add-php-type-hints
1076 as the other order doesn't fully work.
1078 Fri Apr 26 09:39:10 GMT 2013 Olly Betts <olly@survex.com>
1080 * Forward port change from branches/1.2:
1081 * php/Makefile.am,php/add-php-ref-handling,php/smoketest.php: Keep
1082 references to the PHP wrapper object when an object is set on
1083 another object. (Fixes #614)
1085 Fri Apr 26 09:08:32 GMT 2013 Olly Betts <olly@survex.com>
1087 * NEWS: Update from ChangeLog.
1089 Mon Apr 22 05:25:34 GMT 2013 olly <olly@survex.com>
1091 * python/smoketest2.py: Need to raise exception, not just construct it!
1093 Mon Apr 22 05:25:00 GMT 2013 olly <olly@survex.com>
1095 * python/testsuite2.py: Export TestFail class from testsuite.
1097 Mon Apr 22 05:23:02 GMT 2013 olly <olly@survex.com>
1099 * python/testsuite2.py: Swap order of arguments in call to expect() so
1100 error makes more sense.
1102 Mon Apr 22 05:19:42 GMT 2013 olly <olly@survex.com>
1104 * HACKING: Document Debian packages needed for each language.
1106 Sun Apr 21 07:08:10 GMT 2013 Olly Betts <olly@survex.com>
1108 * java/SmokeTest.java: Avoid using System.err.printf() which fails
1109 to compile with the java compiler on atreus for some reason.
1111 Sun Apr 21 07:05:42 GMT 2013 Olly Betts <olly@survex.com>
1113 * xapian-head.i: Defined XAPIAN_LIB_BUILD so that we don't get errors
1114 about processing headers individually with SWIG.
1116 Wed Apr 17 03:19:11 GMT 2013 Olly Betts <olly@survex.com>
1118 * NEWS: Update from 1.2.15 and ChangeLog.
1120 Mon Apr 08 06:31:46 GMT 2013 Olly Betts <olly@survex.com>
1122 * csharp/Makefile.am,java/Makefile.am: Update for new class
1125 Sat Apr 06 23:09:53 GMT 2013 Olly Betts <olly@survex.com>
1127 * tcl8/Makefile.am: Fix typo in AM_TESTS_ENVIRONMENT value.
1129 Fri Apr 05 06:15:39 GMT 2013 Olly Betts <olly@survex.com>
1131 * perl/perl.i,perl/util.i.in: Fix PostingIterator wrapper to work.
1132 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1133 Add missing test coverage for this, and some other features.
1135 Thu Apr 04 06:40:09 GMT 2013 Olly Betts <olly@survex.com>
1137 * Makefile.am,configure.ac,generic/generic.mk: Remove support for
1138 'make QUIET=y' - automake now supports 'make V=0' which is broadly
1139 equivalent and more standard.
1141 Thu Apr 04 06:17:32 GMT 2013 Olly Betts <olly@survex.com>
1143 * configure.ac,perl/Makefile.am: Probe for 'prove' in configure.
1145 Thu Apr 04 06:05:54 GMT 2013 Olly Betts <olly@survex.com>
1147 * configure.ac,csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,
1148 perl/Makefile.am,php/Makefile.am,python/Makefile.am,
1149 python/run-python-test,ruby/Makefile.am,tcl8/Makefile.am: Fix the
1150 tests to work with the new automake parallel test driver.
1152 Thu Mar 28 04:27:46 GMT 2013 Olly Betts <olly@survex.com>
1154 * csharp/Makefile.am,java/Makefile.am: Update for new
1155 ExpandDeciderFilterPrefix class.
1157 Tue Mar 19 06:07:04 GMT 2013 Olly Betts <olly@survex.com>
1159 * python/Makefile.am: Fix dependency generation to take into account
1162 Mon Mar 18 10:59:39 GMT 2013 Olly Betts <olly@survex.com>
1164 * NEWS: Update from 1.2.14 and ChangeLog.
1166 Mon Mar 18 04:11:01 GMT 2013 Olly Betts <olly@survex.com>
1168 * configure.ac: Fix deprecation warning from Ruby 1.9.3.
1170 Thu Mar 14 09:56:27 GMT 2013 Olly Betts <olly@survex.com>
1172 * python/extra.i: Fix typo in doccomment.
1174 Thu Mar 14 09:16:45 GMT 2013 Olly Betts <olly@survex.com>
1176 * csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
1177 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1178 swig-depcomp: Fix handling of stamp file by swig-depcomp script.
1180 Sat Feb 16 02:08:29 GMT 2013 Olly Betts <olly@survex.com>
1182 * configure.ac: Allow TCL_INC to be passed to configure. (fixes #612)
1184 Wed Jan 23 00:07:52 GMT 2013 Olly Betts <olly@survex.com>
1186 * perl/t/10query.t: Perl 5.16.1 adds a '.' after "at foo line 123" so
1187 adjust regexp in testcase to allow an optional '.' there.
1190 Wed Jan 16 10:00:00 GMT 2013 Olly Betts <olly@survex.com>
1192 * NEWS: Start to update in preparation for 1.3.1 release.
1194 Wed Jan 16 02:32:38 GMT 2013 Olly Betts <olly@survex.com>
1196 * ruby/smoketest.rb: Extend testcase to check returned MSet size.
1198 Wed Jan 16 01:41:33 GMT 2013 Olly Betts <olly@survex.com>
1200 * configure.ac,generic/generic.mk: Improve workaround which allows
1201 building against an uninstalled xapian-core on OS X - this should
1202 now work with any uninstalled xapian-core (not only in a tree
1203 with the same layout as an SVN or git checkout) and it also won't
1204 try to build against "../xapian-core/.libs" just because it happens
1205 to exist. (Fixes #322)
1207 Wed Jan 16 01:34:09 GMT 2013 Olly Betts <olly@survex.com>
1209 * java/run-java-test: Document how to run tests under gdb.
1211 Wed Jan 16 01:30:28 GMT 2013 Olly Betts <olly@survex.com>
1213 * java/Makefile.am: Don't automatically pass -g to javac when in
1214 maintainer-mode, as the two should really be orthogonal. Instead
1215 use JAVACFLAGS when running JAVAC to allow extra flags to be
1216 specified by running "make JAVACFLAGS=-g".
1218 Wed Jan 09 11:57:01 GMT 2013 Olly Betts <olly@survex.com>
1220 * NEWS: Update from ChangeLog and 1.2 branch.
1222 Mon Dec 24 05:15:56 GMT 2012 Olly Betts <olly@survex.com>
1224 * perl/Search/Xapian/Stem.pm: Fix documentation typo.
1226 Mon Dec 24 05:15:12 GMT 2012 Olly Betts <olly@survex.com>
1228 * perl/util.i.in: Update list of unwrapped things.
1230 Mon Dec 24 04:42:42 GMT 2012 Olly Betts <olly@survex.com>
1232 * perl/Makefile.am,perl/t/stem.t: Add test that we can create all the
1233 stemmers returned by Stem::get_available_languages().
1235 Mon Dec 17 02:13:16 GMT 2012 Olly Betts <olly@survex.com>
1237 * README,php/docs/index.html: Bump minimum supported PHP version to
1238 5.3 - 5.2 was officially EOLed 2011-01-06, and the only distros
1239 which seem to still have PHP 5.2 are Ubuntu hardy (which will reach
1240 EOL in April 2013) and older probably RHEL (which are aimed at the
1241 ultra-conservative types who would likely be happy to stick with
1244 Sat Oct 13 04:28:16 GMT 2012 Olly Betts <olly@survex.com>
1246 * perl/t/databasemodified.t,perl/t/index.t,perl/t/parser.t: Using
1247 UNIVERSAL::isa() as a function is deprecated.
1249 Sat Oct 13 02:57:22 GMT 2012 Olly Betts <olly@survex.com>
1251 * perl/t/parser.t: Forward port tests of StringValueRangeProcessor
1252 with a prefix or suffix from 1.2's XS Search::Xapian. (ticket#607)
1254 Tue Aug 28 04:33:21 GMT 2012 Dan Colish <dcolish@gmail.com>
1256 * java/SmokeTest.java,java/java.i: Implement and test MSetIterator,
1257 ESetIterator. Fix PostingIterator, ValueIterator, and TermIterator.
1259 Sun Aug 12 05:45:32 GMT 2012 Dan Colish <dcolish@gmail.com>
1261 * java/Makefile.am,java/run-java-test: Remove jdb target from
1264 Sun Aug 12 04:54:04 GMT 2012 Dan Colish <dcolish@gmail.com>
1266 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add a typemap for
1267 TermIterator pairs to String[] for the Enquire.getMatchingTerms
1268 API. Use debug symbols when configured with MAINTAINER_MODE.
1270 Sun Aug 12 04:46:59 GMT 2012 Dan Colish <dcolish@gmail.com>
1272 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add typemap for
1273 TermIterator pairs to String[] to conform with the
1274 Enquire::getMatchingterms binding API. Build bindings with
1277 Tue Jul 24 09:06:14 GMT 2012 Olly Betts <olly@survex.com>
1279 * lua/util.i: Fix functor wrappers which return strings to be zero-byte
1282 Tue Jul 24 06:06:24 GMT 2012 Olly Betts <olly@survex.com>
1284 * lua/util.i: Fix wrapping of FieldProcessor.
1285 * lua/smoketest.lua: Add test coverage for wrapping of FieldProcessor.
1287 Tue Jul 24 04:11:50 GMT 2012 Olly Betts <olly@survex.com>
1289 * php/smoketest.php: Fix XapianFieldProcessor testcase.
1291 Tue Jul 24 03:45:15 GMT 2012 Olly Betts <olly@survex.com>
1293 * csharp/Makefile.am,java/Makefile.am,lua/util.i,perl/util.i.in,
1294 python/extra.i,python/generate-python-exceptions,xapian-headers.i:
1295 Wrap FieldProcessor.
1296 * php/smoketest.php: Add simple test of subclassing
1297 XapianFieldProcessor.
1299 Sat Jul 21 13:18:48 GMT 2012 Olly Betts <olly@survex.com>
1301 * lua/docs/examples/simpleexpand.lua,
1302 lua/docs/examples/simplematchdecider.lua,
1303 lua/docs/examples/simplesearch.lua: query:get_description() should
1304 be str(query). Fixes #600.
1305 * lua/docs/index.html: Document that get_description() is mapped to
1306 str(), and end() to _end().
1308 Thu Jul 12 05:11:26 GMT 2012 Olly Betts <olly@survex.com>
1310 * configure.ac: Overhaul checking the C# tools to use modern names in
1313 Tue Jul 03 03:13:40 GMT 2012 Dan Colish <dcolish@gmail.com>
1315 * generic/.gitignore,php/.gitignore,tcl8/.gitignore: Update for
1318 Tue Jul 03 03:10:19 GMT 2012 Dan Colish <dcolish@gmail.com>
1320 * configure.ac,generic/generic.mk:Configure DYLD_LIBRARY_PATH on OSX
1321 separately from MACOSX_DEPLOYMENT_TARGET
1323 Sun Jul 01 11:37:53 GMT 2012 Olly Betts <olly@survex.com>
1325 * NEWS: Update from ChangeLog and 1.2 branch.
1327 Sun Jun 10 05:42:34 GMT 2012 Olly Betts <olly@survex.com>
1329 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1330 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1331 tcl8/Makefile.am: Fix recent swig-depcomp change to use '=' rather than
1332 the apparently less portable ':='.
1334 Mon Jun 04 12:07:08 GMT 2012 Olly Betts <olly@survex.com>
1336 * Makefile.am,configure.ac,csharp/csharp.i,fake_dbfactory.i,
1337 java/java.i,lua/lua.i,perl/perl.i,php/php.i,python/python.i,
1338 ruby/extra.i,ruby/ruby.i,ruby/xapian.rb,tcl8/tcl.i,xapian-headers.i,
1339 xapian.i: For all languages except C# and Java, wrap the functions
1340 declared in xapian/dbfactory.h by getting SWIG to parse the header.
1341 This means we now wrap the WritableDatabase form of
1342 Xapian::Auto::open_stub() for these languages.
1344 Mon Jun 04 12:01:06 GMT 2012 Olly Betts <olly@survex.com>
1346 * swig-depcomp: Script which wraps a call to SWIG and tells it to
1347 generate dependencies, and then adjust the generated dependencies.
1348 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1349 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am:
1352 Mon Jun 04 07:07:28 GMT 2012 Olly Betts <olly@survex.com>
1354 * xapian-headers.i,xapian.i: Wrap xapian/dbfactory.h functions
1355 directly, except for C# and Java, where we use a fake class hack.
1356 * python/smoketest2.py: Enable test that WritableDatabase form of
1357 xapian.open_stub() is now wrapped.
1358 * php/smoketest.php: Check that Xapian::Auto::open_stub() is wrapped
1359 as Xapian::auto_open_stub().
1361 Mon Jun 04 06:23:02 GMT 2012 Olly Betts <olly@survex.com>
1363 * python/smoketest2.py: Test xapian.open_stub() is wrapped.
1365 Mon Jun 04 05:01:17 GMT 2012 Olly Betts <olly@survex.com>
1367 * python/smoketest2.py: Add tests that the database factory functions
1368 are wrapped as we expected.
1370 Mon Jun 04 04:47:06 GMT 2012 Olly Betts <olly@survex.com>
1372 * xapian-headers.i: Fix comment typo.
1374 Mon Jun 04 04:46:41 GMT 2012 Olly Betts <olly@survex.com>
1376 * csharp/docs/index.html: Update Mono version tested with.
1378 Sun Jun 03 22:51:29 GMT 2012 Olly Betts <olly@survex.com>
1380 * README: Fix 'Jit' -> 'it'. Typo introduced in r15713.
1382 Sun Jun 03 13:04:18 GMT 2012 Olly Betts <olly@survex.com>
1384 * xapian.i: Remove the old %extend Query constructors, as they are no
1385 longer used for any of the languages.
1387 Sun Jun 03 12:54:25 GMT 2012 Olly Betts <olly@survex.com>
1389 * lua/util.i,php/php.i,python/python.i,ruby/ruby.i,tcl8/tcl.i: Mark
1390 XapianSWIGQueryItor implementations as random_access_iterator, and
1391 implement XapianSWIGQueryItor::operator-(), so Xapian::Query's
1392 template constructor knows how many elements to preallocate.
1394 Sun Jun 03 11:48:31 GMT 2012 Olly Betts <olly@survex.com>
1396 * java/java.i: Use the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP
1397 approach for Java too (though we don't actually support mixed
1398 subqueries in the case of Java, so it's now a bit misnamed now!)
1400 Sat Jun 02 12:41:12 GMT 2012 Olly Betts <olly@survex.com>
1402 * perl/t/parser.t: Fix accidentally pasted comment.
1404 Sat Jun 02 12:39:58 GMT 2012 Olly Betts <olly@survex.com>
1406 * INSTALL,Makefile.am,README,debian/rules,doxygen_xml.conf.in,
1407 generic/generic.mk,perl/t/: Change `...' quoting in prose to '...'.
1409 Tue May 29 06:11:50 GMT 2012 Olly Betts <olly@survex.com>
1411 * xapian-headers.i,xapian.i: Only rename operator() for languages
1412 where SWIG doesn't already. SWIG's %rename comes first and that
1413 means ours was ignored previously for some languages, which is
1414 liable to cause confusion.
1416 Tue May 29 05:26:22 GMT 2012 Olly Betts <olly@survex.com>
1418 * php/Makefile.am: Add dependency on new generated except.i.
1420 Tue May 29 03:53:25 GMT 2012 Olly Betts <olly@survex.com>
1422 * generic/generate-generic-exceptions: Ensure that generic subdirectory
1423 exists to handle srcdir!=builddir from a clean tree.
1425 Mon May 28 07:22:39 GMT 2012 Olly Betts <olly@survex.com>
1427 * doxygen_xml.conf.in: Hide new function attribute macros, and the
1428 less new deprecation macros, from doxygen.
1430 Sun May 27 13:47:44 GMT 2012 Olly Betts <olly@survex.com>
1432 * Makefile.am,generic/except.i,generic/generate-generic-exceptions:
1433 Generate generic/except.i so we can skip exception handling for
1434 XAPIAN_NOTHROW methods for all the remaining SWIG-generated bindings.
1436 Sun May 27 13:37:06 GMT 2012 Olly Betts <olly@survex.com>
1438 * php/Makefile.am,php/except.i,php/generate-php-exceptions: Generate
1439 php/except.i so we can skip exception handling for XAPIAN_NOTHROW
1442 Sun May 27 12:57:29 GMT 2012 Olly Betts <olly@survex.com>
1444 * tcl8/Makefile.am,tcl8/except.i,tcl8/generate-tcl-exceptions: Generate
1445 tcl8/except.i so we can skip exception handling for XAPIAN_NOTHROW
1448 Sun May 27 12:37:37 GMT 2012 Olly Betts <olly@survex.com>
1450 * lua/Makefile.am,perl/Makefile.am,python/Makefile.am: Ship the scripts
1451 which generate the except.i files.
1453 Sun May 27 12:13:29 GMT 2012 Olly Betts <olly@survex.com>
1455 * xapian-headers.i: Ignore Xapian API class constructor taking
1456 Internal& instead of Internal* (as Query does, to avoid an
1457 ambiguity for Query(NULL).
1459 Sun May 27 12:12:45 GMT 2012 Olly Betts <olly@survex.com>
1461 * python/generate-python-exceptions: Fix to use tabs for indentation in
1462 a couple of places where we were using spaces.
1464 Sun May 27 11:48:56 GMT 2012 Olly Betts <olly@survex.com>
1466 * python/generate-python-exceptions: Don't name exception object we
1469 Sun May 27 10:08:25 GMT 2012 Olly Betts <olly@survex.com>
1471 * perl/perl.i: Pass 0 instead of NULL for non-pointer parameter to
1472 av_fetch (spotted due to GCC 4.7 warning).
1474 Sun May 27 07:32:47 GMT 2012 Olly Betts <olly@survex.com>
1476 * python/generate-python-exceptions: Remove superfluous ';' after
1477 "namespace { [...] }".
1479 Sun May 27 07:29:48 GMT 2012 Olly Betts <olly@survex.com>
1481 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1482 python/generate-python-exceptions: Have a single copyright statement
1483 at the top of the script (in a $copyright variable), and substitute
1484 this into the generated script.
1486 Sun May 27 01:52:08 GMT 2012 Olly Betts <olly@survex.com>
1488 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1489 python/generate-python-exceptions: Use new XAPIAN_NOTHROW markers
1490 in API headers to avoid generate exception handling code around
1491 the calls SWIG generates to such functions and methods.
1493 Sun May 27 01:51:28 GMT 2012 Olly Betts <olly@survex.com>
1495 * xapian-head.i: Hide XAPIAN_CONST_FUNCTION, XAPIAN_PURE_FUNCTION, and
1496 XAPIAN_NOTHROW from SWIG.
1498 Sun May 27 01:40:32 GMT 2012 Olly Betts <olly@survex.com>
1500 * generic/except.i: Don't name exceptions objects we don't inspect.
1502 Tue May 22 08:21:43 GMT 2012 Olly Betts <olly@survex.com>
1504 * configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
1505 VPATH build using a release tarball.
1507 Tue May 15 11:41:05 GMT 2012 Olly Betts <olly@survex.com>
1509 * python/pythontest3.py: Sync with pythontest2.
1511 Tue May 15 11:31:48 GMT 2012 Olly Betts <olly@survex.com>
1513 * NEWS: Update from ChangeLog and 1.2.10.
1515 Thu May 10 09:23:02 GMT 2012 Olly Betts <olly@survex.com>
1517 * configure.ac: "checking ruby/io.h" -> "checking for ruby/io.h".
1519 Wed May 09 03:23:44 GMT 2012 Olly Betts <olly@survex.com>
1521 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a
1522 simple way to rerun tests with verbose output.
1524 Wed May 09 03:22:43 GMT 2012 Olly Betts <olly@survex.com>
1526 * xapian-headers.i: Wrap Xapian::DBCHECK_FIX properly so we don't get
1527 xapian.cvar in Python.
1529 Sun Apr 22 13:04:47 GMT 2012 Olly Betts <olly@survex.com>
1531 * csharp/Makefile.am,java/Makefile.am: Sort both the lists of expected
1532 and of found SWIG-generated sources with Perl, to avoid problems with
1533 locale-specific sort orders.
1535 Sun Apr 22 11:00:21 GMT 2012 Olly Betts <olly@survex.com>
1537 * perl/t/writabledatabase.t: Forward port additional test coverage
1538 for Database::close() from Search::Xapian in 1.2 branch.
1540 Mon Apr 16 23:02:18 GMT 2012 Olly Betts <olly@survex.com>
1542 * configure.ac: Make sure the ruby subdirectory exists before
1543 trying to create ruby/rubyio.h, so this works in a VPATH
1544 build from a clean tree.
1546 Mon Apr 16 06:47:58 GMT 2012 Olly Betts <olly@survex.com>
1548 * csharp/AssemblyInfo.cs.in,csharp/Makefile.am: Use -keyfile and
1549 -keycontainer options to the C# compiler, because it warns us
1550 to do this instead of setting them in AssemblyInfo.cs.
1552 Mon Apr 16 06:39:25 GMT 2012 Olly Betts <olly@survex.com>
1554 * java/Makefile.am: Remove now superfluous old check that SWIG
1555 generated at least the sources we wanted - we now check it generated
1556 *exactly* the sources we wanted.
1558 Mon Apr 16 06:34:30 GMT 2012 Olly Betts <olly@survex.com>
1560 * csharp/Makefile.am,java/Makefile.am: Use diff's -c option when
1561 comparing the files SWIG generated against those we were expecting to
1562 get as the output should be easier to understand.
1564 Wed Apr 11 02:54:46 GMT 2012 Olly Betts <olly@survex.com>
1566 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests
1567 from Python 2 versions using 2to3.
1569 Thu Apr 05 04:25:45 GMT 2012 Olly Betts <olly@survex.com>
1571 * README,configure.ac,lua/docs/index.html,lua/util.i: Fix compatibility
1574 Thu Apr 05 04:23:22 GMT 2012 Olly Betts <olly@survex.com>
1576 * lua/smoketest.lua: Remove bogus \ before q.
1578 Thu Apr 05 03:45:08 GMT 2012 Olly Betts <olly@survex.com>
1580 * lua/smoketest.lua: Convert tabs to spaces.
1582 Thu Apr 05 03:43:52 GMT 2012 Olly Betts <olly@survex.com>
1584 * lua/smoketest.lua: Check behaviour of "require 'xapian'" - SWIG 2.0.4
1585 and earlier got this wrong. Part of patch from istr in #593, plus
1588 Thu Apr 05 03:28:50 GMT 2012 Olly Betts <olly@survex.com>
1590 * lua/smoketest.lua: Improve expect() function to take an option
1591 failure message, to report how values differed, and to compare tables
1592 in a smarter way. Part of patch from istr in #593.
1594 Thu Apr 05 02:46:21 GMT 2012 Olly Betts <olly@survex.com>
1596 * perl/t/thread.t,perl/t/writabledatabase.t: Remove #! lines with -W
1597 to fix "Name "Test::More::TODO" used only once: possible typo at
1598 /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
1600 Wed Apr 04 14:06:47 GMT 2012 Olly Betts <olly@survex.com>
1602 * python/docs/examples/simpleexpand.py: Update to not use deprecated
1603 MSet iteration features which have been removed on trunk. This
1604 also fixes a segfault if there are no matches and no documents
1605 are explicitly marked as relevant.
1607 Wed Mar 28 09:22:48 GMT 2012 Olly Betts <olly@survex.com>
1609 * xapian-head.i: Update for new deprecation macros.
1611 Fri Mar 23 00:42:11 GMT 2012 Olly Betts <olly@survex.com>
1613 * php/smoketest.php: More tests of geospatial API.
1615 Thu Mar 22 23:49:50 GMT 2012 Olly Betts <olly@survex.com>
1617 * perl/util.i.in: Avoid importing isa from UNIVERSAL to fix Perl 5.12
1618 deprecation warning.
1620 Tue Mar 20 02:04:51 GMT 2012 Olly Betts <olly@survex.com>
1622 * php/smoketest.php: More tests of geospatial API.
1624 Sun Mar 18 00:38:48 GMT 2012 Dan Colish <dcolish@gmail.com>
1626 * .gitignore: Ignore doxygen artifacts
1628 Wed Mar 14 02:25:51 GMT 2012 Olly Betts <olly@survex.com>
1630 * NEWS: Update from 1.2.9 and ChangeLog for 1.3.0.
1632 Tue Mar 13 22:41:01 GMT 2012 Olly Betts <olly@survex.com>
1634 * php/smoketest.php: Test constructing XapianLatLongCoord.
1636 Tue Mar 13 00:32:37 GMT 2012 Olly Betts <olly@survex.com>
1638 * php/add-php-type-hints: Fix typo "XapianStemmer" -> "XapianStem".
1639 * php/smoketest.php: Add regression test coverage.
1641 Thu Mar 08 05:51:38 GMT 2012 Olly Betts <olly@survex.com>
1643 * perl/t/: Enable warnings for all test cases and make them fatal.
1645 Thu Mar 08 05:37:47 GMT 2012 Olly Betts <olly@survex.com>
1647 * perl/t/symbol-test.t: Remove lingering reference to @args which is
1648 no longer set, and enable warnings and make them fatal so we don't
1651 Fri Jan 27 01:21:18 GMT 2012 Olly Betts <olly@survex.com>
1653 * perl/t/10query.t: Check that Search::Xapian::Query->new("") works.
1655 Fri Jan 27 01:19:45 GMT 2012 Olly Betts <olly@survex.com>
1657 * perl/perl.i: Fix Search::Xapian->new() to work.
1658 * perl/t/10query.t: Add testcase for this.
1660 Thu Jan 26 23:41:55 GMT 2012 Olly Betts <olly@survex.com>
1662 * perl/perl.i: Add "use Carp;" where we use functions from that module.
1663 * perl/t/10query.t: Add regression test.
1665 Fri Jan 20 23:53:12 GMT 2012 Olly Betts <olly@survex.com>
1667 * perl/t/document.t,perl/t/index.t: Add tests of Document::get_docid().
1669 Thu Jan 19 00:19:52 GMT 2012 Olly Betts <olly@survex.com>
1671 * java/Makefile.am: Update list of generated files for the geospatial
1674 Thu Jan 19 00:17:11 GMT 2012 Olly Betts <olly@survex.com>
1676 * xapian-headers.i: Ignore unserialise() variant taking const char**
1677 and Database::check() variant taking std::ostream &.
1679 Wed Jan 18 13:43:55 GMT 2012 Olly Betts <olly@survex.com>
1681 * xapian-headers.i: Handle DBCHECK_* constants like we do DB_* ones.
1682 Factor out this special handliing into a SWIG macro called CONSTANT.
1684 Wed Jan 18 13:22:34 GMT 2012 Olly Betts <olly@survex.com>
1686 * csharp/Makefile.am: Update list of generated file for geospatial API.
1688 Wed Jan 18 10:41:41 GMT 2012 Olly Betts <olly@survex.com>
1690 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
1691 ruby/smoketest.rb,ruby/xapian.rb,xapian-headers.i: Merge bindings
1692 changes for geospatial API.
1694 Wed Jan 04 06:03:09 GMT 2012 Olly Betts <olly@survex.com>
1696 * php/smoketest.php: Add a test that Query ctor taking OP_NEAR with a
1699 Fri Dec 30 13:44:17 GMT 2011 Olly Betts <olly@survex.com>
1701 * perl/perl.i: Refactor to use XapianSWIGQueryItor class instead
1702 of temporary std::vector<Xapian::Query> (but not via a SWIG
1705 Fri Dec 30 13:17:15 GMT 2011 Olly Betts <olly@survex.com>
1707 * lua/util.i: Add begin() and end() methods to XapianSWIGQueryItor
1708 instead of using ctors and assignment.
1710 Fri Dec 30 13:16:00 GMT 2011 Olly Betts <olly@survex.com>
1712 * lua/util.i: Improve error message.
1714 Fri Dec 30 13:13:12 GMT 2011 Olly Betts <olly@survex.com>
1716 * lua/util.i: Eliminate "else" after "return".
1718 Fri Dec 30 13:12:34 GMT 2011 Olly Betts <olly@survex.com>
1720 * lua/util.i: Remove "return;" at end of function.
1722 Fri Dec 30 13:09:00 GMT 2011 Olly Betts <olly@survex.com>
1724 * lua/util.i: Fix typo in error message.
1726 Fri Dec 30 13:07:06 GMT 2011 Olly Betts <olly@survex.com>
1728 * lua/util.i: Reindent and fix other whitespace oddities.
1730 Fri Dec 30 12:23:38 GMT 2011 Olly Betts <olly@survex.com>
1732 * php/php.i: Add begin() method to XapianSWIGQueryItor instead of
1733 using a ctor and assignment.
1735 Fri Dec 30 03:15:31 GMT 2011 Olly Betts <olly@survex.com>
1737 * ruby/ruby.i: Add begin() and end() methods to XapianSWIGQueryItor
1738 as that's clearer than overloaded ctors with dummy parameters.
1740 Fri Dec 30 01:59:46 GMT 2011 Olly Betts <olly@survex.com>
1742 * csharp/Makefile.am,xapian.i: We don't use
1743 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for C#, but we also don't
1744 use the fake ctors added by %extend if this isn't defined, so also
1745 skip them if SWIGCSHARP is defined.
1747 Fri Dec 30 01:18:03 GMT 2011 Olly Betts <olly@survex.com>
1749 * xapian.i: While we don't currently use
1750 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for perl, we also don't
1751 use the fake ctors added by %extend if this isn't defined, so also
1752 skip them if SWIGPERL is defined.
1754 Fri Dec 30 01:13:31 GMT 2011 Olly Betts <olly@survex.com>
1756 * xapian.i: Remove left-over comment associated with
1757 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP.
1759 Fri Dec 30 01:05:52 GMT 2011 Olly Betts <olly@survex.com>
1761 * python/python.i: Use a SWIG freearg typemap to release the fast
1762 sequence object when we're done with it, rather than carefully
1763 adjusting its reference count when the iterator objects get copied or
1766 Fri Dec 30 00:54:51 GMT 2011 Olly Betts <olly@survex.com>
1768 * xapian.i: Remove XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP, since none
1769 of the currently supported languages now use it, and we should use
1770 the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for all
1771 future languages which have containers which allow mixed content.
1773 Fri Dec 30 00:53:07 GMT 2011 Olly Betts <olly@survex.com>
1775 * python/python.i,python/util.i: Implement
1776 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for Python.
1778 Fri Dec 30 00:04:27 GMT 2011 Olly Betts <olly@survex.com>
1780 * python/pythontest2.py: Use list comprehensions rather than append
1783 Thu Dec 29 23:26:18 GMT 2011 Olly Betts <olly@survex.com>
1785 * python/testsuite2.py: Rephrase so VERBOSE=1 is there to cut and
1788 Thu Dec 29 22:52:20 GMT 2011 Olly Betts <olly@survex.com>
1790 * python/testsuite2.py: Don't run off the traceback looking for a
1791 test function if the exception wasn't from a test function.
1793 Thu Dec 29 11:35:51 GMT 2011 Olly Betts <olly@survex.com>
1795 * csharp/SmokeTest.cs,java/SmokeTest.java,lua/smoketest.lua,
1796 perl/t/10query.t,perl/t/parser.t,perl/t/search.t,php/smoketest.php,
1797 python/pythontest2.py,python/smoketest2.py,python/testsuite2.py,
1798 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian-headers.i,xapian.i:
1799 Update for Query internals changes.
1801 Thu Dec 29 11:20:48 GMT 2011 Olly Betts <olly@survex.com>
1803 * configure.ac: Fix test for jni.h to try looking for jni.h relative to
1804 the real location of javac, which should work for more JDKs.
1806 Fri Dec 23 01:25:56 GMT 2011 Olly Betts <olly@survex.com>
1808 * python/python.i: If configure didn't find a way to do TLS, fall back
1809 to using pthread_getspecific() etc, which should work on Mac OS X.
1811 Thu Dec 22 12:00:57 GMT 2011 Olly Betts <olly@survex.com>
1813 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1814 Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
1817 Wed Dec 21 13:48:27 GMT 2011 Olly Betts <olly@survex.com>
1819 * php/add-php-type-hints: Don't add a type hint to apply($doc) as that
1820 would break existing subclasses as the signature must match.
1822 Wed Dec 21 10:06:30 GMT 2011 Olly Betts <olly@survex.com>
1824 * perl/Search/Xapian/Document.pm,perl/Search/Xapian/TermGenerator.pm:
1825 Improve POD docs for Document and TermGenerator methods - "weight"
1826 is misleading, so use "wdfinc" and "wdfdec" like the C++ API docs
1829 Wed Dec 21 10:05:48 GMT 2011 Olly Betts <olly@survex.com>
1831 * lua/util.i,perl/perl.i: Change Xapian::weight to double.
1833 Wed Dec 21 08:43:37 GMT 2011 Olly Betts <olly@survex.com>
1835 * php/add-php-type-hints: XapianSorter should be XapianKeyMaker.
1837 Wed Dec 21 08:42:57 GMT 2011 Olly Betts <olly@survex.com>
1839 * php/Makefile.am: Rebuild wrappers if "add-php-type-hints" changes.
1841 Wed Dec 21 04:12:36 GMT 2011 Olly Betts <olly@survex.com>
1843 * php/Makefile.am,php/add-php-type-hints: Add PHP type hints to the
1844 class wrappers. Fixes ticket#577.
1846 Tue Dec 20 11:03:37 GMT 2011 Olly Betts <olly@survex.com>
1848 * README,configure.ac,python/docs/index.html,python/python.i: Handle
1849 the GIL in a way which also works in sub-interpreters. Fixes
1851 * python/pythontest2.py: Run tests as before, and then (if Python
1852 supports threads) in a separate thread.
1854 Mon Dec 19 10:19:06 GMT 2011 Olly Betts <olly@survex.com>
1856 * configure.ac: Improve description of PERL_SO.
1858 Mon Dec 19 10:18:36 GMT 2011 Olly Betts <olly@survex.com>
1860 * configure.ac: Fix cosmetic typo in recent Lua change.
1862 Mon Dec 19 10:11:30 GMT 2011 Olly Betts <olly@survex.com>
1864 * configure.ac,lua/Makefile.am: Remove Lua cygwin-specific configure
1865 code and -DUSE_LUA_STUBS - both were copied from the Tcl support
1866 with Tcl changed to Lua, and have no basis in reality that I can
1869 Mon Dec 19 09:08:15 GMT 2011 Olly Betts <olly@survex.com>
1871 * configure.ac,lua/Makefile.am: Improve probing for LUA_LIB, and also
1872 probe for LUA_SO so we support platforms where the compiled Lua
1873 module isn't called .so.
1875 Sun Dec 18 02:04:16 GMT 2011 Olly Betts <olly@survex.com>
1877 * configure.ac: Improve LUA_LIB description and probe message - the
1878 module won't have an ".so" extension on all platforms.
1880 Sun Dec 18 01:55:39 GMT 2011 Olly Betts <olly@survex.com>
1882 * configure.ac: m4 quoting tweaks (cosmetic only).
1884 Sun Dec 18 01:50:48 GMT 2011 Olly Betts <olly@survex.com>
1886 * configure.ac: Honour LUA_LIB if already set. Fixes #581.
1888 Thu Dec 15 14:44:09 GMT 2011 Olly Betts <olly@survex.com>
1890 * perl/generate-perl-exceptions: Remove superfluous ';' after closing
1891 '}' of namespace. Tweak whitespace.
1893 Thu Dec 15 12:50:42 GMT 2011 Olly Betts <olly@survex.com>
1895 * generic/except.i: Correct comments about how and where this file gets
1896 included - this changed in the major restructuring a few months ago.
1897 * generic/except.i,php/except.i,tcl8/except.i: Return
1898 Error::get_description() rather than get_type + ": " + get_msg(). In
1899 many cases this is the same, but if context or errno are available,
1900 get_description() includes them. Catch and report std::exception
1901 rather than handling it as an unknown error (so in particular
1902 std::bad_alloc will now be reported more helpfully).
1904 Thu Dec 15 12:30:15 GMT 2011 Olly Betts <olly@survex.com>
1906 * perl/generate-perl-exceptions: Whitespace tweak.
1908 Thu Dec 15 11:40:39 GMT 2011 Olly Betts <olly@survex.com>
1910 * lua/docs/index.html,lua/generate-lua-exceptions,lua/smoketest.lua,
1911 lua/util.i: Handle an exception from C++ by raising a xapian.Error
1912 object as an error in Lua. Rename get_description() methods to
1913 __tostring(), so that you can use write tostring(obj) in Lua. Fix
1914 indentation not to assume tabs are two spaces.
1916 Wed Dec 14 10:54:03 GMT 2011 Olly Betts <olly@survex.com>
1918 * lua/generate-lua-exceptions: Restore other copyright holders to
1919 generated file - it seems likely this constitutes a derived work
1920 and it is better to err on the side of caution.
1922 Tue Dec 13 14:29:34 GMT 2011 Olly Betts <olly@survex.com>
1924 * NEWS: Update from 1.2.8 and ChangeLog.
1926 Sun Oct 30 21:42:48 GMT 2011 Richard Boulton <richard@tartarus.org>
1928 * python/Makefile.am: Add module_top.py to tarballs.
1930 Sat Oct 29 15:05:34 GMT 2011 Olly Betts <olly@survex.com>
1932 * python/Makefile.am,python/module_top.py: Add a module docstring
1935 Wed Oct 05 13:31:25 GMT 2011 Olly Betts <olly@survex.com>
1937 * ruby/smoketest.rb,ruby/xapian.rb: Wrap optional prefix parameter to
1940 Mon Aug 22 11:22:34 GMT 2011 Olly Betts <olly@survex.com>
1942 * python/pythontest2.py: Use "if x is not None:" rather than "if x !=
1945 Wed Aug 17 11:07:41 GMT 2011 Olly Betts <olly@survex.com>
1947 * lua/Makefile.am: Add dependency on except.i so it gets (re)generated
1950 Wed Aug 17 10:11:52 GMT 2011 Olly Betts <olly@survex.com>
1952 * lua/Makefile.am,lua/docs/examples/simpleexpand.lua,lua/: Merge latest
1953 Lua improvements from Xiaona Han.
1955 Mon Aug 15 01:28:51 GMT 2011 Olly Betts <olly@survex.com>
1957 * python/doxy2swig.py,python/pythontest2.py,python/testsuite2.py:
1958 Remove trailing whitespace.
1960 Mon Aug 15 01:19:06 GMT 2011 Olly Betts <olly@survex.com>
1962 * python/pythontest2.py,python/testsuite2.py: Move the check for
1963 leaked objects into the testsuite harness so all tests get checked,
1964 not just the two which are regression tests for leaks in older
1965 versions. This also gives us a single place to disable it if it
1966 should prove problematic in alternative Python implementations.
1968 Sun Aug 14 12:45:09 GMT 2011 Olly Betts <olly@survex.com>
1970 * python/pythontest2.py: In test_matchingterms_iter, run the code
1971 we're testing for leaks twice, and only check for leaks the second
1972 time to avoid falsely reporting a leak when some cached value gets
1973 initialised under Python 2.5.
1975 Fri Aug 12 23:18:20 GMT 2011 Olly Betts <olly@survex.com>
1977 * NEWS: Update from 1.2.7 and ChangeLog.
1979 Mon Aug 08 03:35:23 GMT 2011 Olly Betts <olly@survex.com>
1981 * java/SmokeTest.java: Fix == comparisons with literal strings.
1983 Thu Aug 04 07:34:14 GMT 2011 Olly Betts <olly@survex.com>
1985 * xapian-headers.i,xapian.i: Wrap iterator operator++ and operator--
1986 methods with a new INC_OR_DEC macro, replacing the old NEXT and
1989 Thu Aug 04 07:21:36 GMT 2011 Olly Betts <olly@survex.com>
1991 * xapian-head.i,xapian-headers.i: We no longer need special handling
1992 for ValueIteratorEnd_ in the bindings, as that hack is gone from the
1995 Thu Aug 04 07:15:53 GMT 2011 Olly Betts <olly@survex.com>
1997 * xapian-head.i,xapian.i: Update for the Xapian::timeout -> useconds_t
2000 Thu Aug 04 06:45:38 GMT 2011 Olly Betts <olly@survex.com>
2002 * configure.ac: JAVA_CXXFLAGS is no longer used, so remove it.
2004 Thu Aug 04 00:24:22 GMT 2011 Olly Betts <olly@survex.com>
2006 * configure.ac: Add --disable-visibility option to match xapian-core.
2008 Thu Aug 04 00:04:47 GMT 2011 Olly Betts <olly@survex.com>
2010 * configure.ac: Add -fshow-column for GCC.
2012 Tue Aug 02 03:49:27 GMT 2011 Olly Betts <olly@survex.com>
2014 * perl/t/symbol-test.t: Fix to work when built against an installed
2015 xapian-core. (ticket#558)
2017 Sat Jul 30 12:05:02 GMT 2011 Olly Betts <olly@survex.com>
2019 * Makefile.am,configure.ac,doxygen_xml.conf.in,python/Makefile.am,
2020 ruby/Makefile.am,ruby/generate-rdoc-stubs: Run doxygen to generate
2021 XML for the bindings in the bindings build system, not as a
2022 side-effect in xapian-core's. (ticket#262)
2024 Sat Jul 30 06:22:37 GMT 2011 Olly Betts <olly@survex.com>
2026 * configure.ac,csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
2027 lua/Makefile.am,perl/Makefile.am,php/Makefile.am,python/Makefile.am,
2028 ruby/Makefile.am,tcl8/Makefile.am: Don't put -Werror in SWIG_FLAGS
2029 - instead put it in a new SWIG_WERROR variable, so that it's easy
2030 to override it if you're getting a new warning from SWIG but want
2031 to just ignore it for the time being.
2033 Fri Jul 29 13:49:51 GMT 2011 Olly Betts <olly@survex.com>
2035 * php/smoketest.php: Add regression test for recently fixed SWIG bug
2036 which caused "return $r;" to be generated in some cases when $r
2039 Fri Jul 29 03:41:02 GMT 2011 Olly Betts <olly@survex.com>
2041 * php/smoketest.php: Install an error handler so the test fails if
2042 there are any errors, warnings, notices, etc.
2044 Mon Jul 25 07:36:26 GMT 2011 Olly Betts <olly@survex.com>
2046 * java/SmokeTest.java: Add test that string passing is zero byte safe.
2048 Mon Jul 25 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
2050 * java/SmokeTest.java: Fix MyExpandDecider.accept to really check the
2053 Mon Jul 25 05:52:29 GMT 2011 Olly Betts <olly@survex.com>
2055 * xapian.i: Don't return iterator from C# Next() and Prev() methods by
2056 reference as that results in it being eligible for garbage collection
2057 while we're still using it.
2058 * csharp/SmokeTest.cs: Add regression test.
2060 Sat Jul 23 15:27:27 GMT 2011 Olly Betts <olly@survex.com>
2062 * lua/util.i: Whitespace tweaks.
2064 Sat Jul 23 15:18:24 GMT 2011 Olly Betts <olly@survex.com>
2066 * lua/docs/examples/simpleexpand.lua,
2067 lua/docs/examples/simplematchdecider.lua,
2068 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2069 lua/smoketest.lua,lua/util.i: Merge latest Lua changes from Xiaona
2072 Thu Jul 07 23:28:24 GMT 2011 Olly Betts <olly@survex.com>
2074 * Makefile.am: Restore ruby to DIST_SUBDIRS (accidentally removed when
2075 java-swig was renamed to java).
2077 Wed Jul 06 12:26:38 GMT 2011 Olly Betts <olly@survex.com>
2079 * lua/Makefile.am: Include new example in tarball.
2081 Tue Jul 05 02:10:02 GMT 2011 Olly Betts <olly@survex.com>
2083 * python/python.i: By default, SWIG's thread locking code for Python
2084 always initialises threads, which just adds overhead for single
2085 threaded Python code. So instead we now replace SWIG's thread
2086 locking with a version which does nothing unless threads are already
2087 initialised. This seems to be about 5-10% faster for pythontest2.py
2088 modified to repeat the tests 100 times.
2090 Tue Jul 05 01:32:07 GMT 2011 Olly Betts <olly@survex.com>
2092 * lua/docs/examples/simplematchdecider.lua: Wrap comment to <80
2095 Tue Jul 05 01:25:49 GMT 2011 Olly Betts <olly@survex.com>
2097 * lua/docs/examples/simplematchdecider.lua: New example from Xiaona
2099 * lua/docs/index.html: Add link to simplematchdecider.lua.
2101 Mon Jul 04 15:04:36 GMT 2011 Olly Betts <olly@survex.com>
2103 * lua/smoketest.lua,lua/util.i: Fix whitespace inconsistencies.
2105 Mon Jul 04 14:58:34 GMT 2011 Olly Betts <olly@survex.com>
2107 * lua/docs/index.html,lua/smoketest.lua,lua/util.i: Merge latest Lua
2108 changes from Xiaona Han.
2110 Mon Jul 04 01:35:50 GMT 2011 Olly Betts <olly@survex.com>
2112 * java/Makefile.am: Use the same NEED_JNILIB_EXT machinery which the
2113 hand-coded JNI bindings had, so that on Mac OS X the JNI library
2114 has a .jnilib extension.
2116 Sun Jul 03 11:01:21 GMT 2011 Olly Betts <olly@survex.com>
2118 * java-swig/: Actually rename to java/.
2120 Sun Jul 03 10:36:13 GMT 2011 Olly Betts <olly@survex.com>
2122 * java/: Actually remove the old hand-coded JNI Java bindings.
2124 Wed Jun 29 22:38:29 GMT 2011 Olly Betts <olly@survex.com>
2126 * php/Makefile.am,php/docs/examples/,php/smoketest.php: Change
2127 'include "php5/xapian.php"' to 'include "xapian.php"' in
2128 smoketest.php and the examples, and set include_path=php5 in
2129 TESTS_ENVIRONMENT so smoketest.php finds the uninstalled
2132 Wed Jun 29 01:04:51 GMT 2011 Olly Betts <olly@survex.com>
2134 * csharp/SmokeTest.cs: Add test coverage for QueryParser.ParseQuery()
2135 with flags argument.
2137 Wed Jun 29 00:00:25 GMT 2011 Olly Betts <olly@survex.com>
2139 * Makefile.am,configure.ac: Rename java-swig subdirectory to java.
2141 Tue Jun 28 23:52:13 GMT 2011 Olly Betts <olly@survex.com>
2143 * lua/smoketest.lua: Add simple test for
2144 Database::positionlist_begin().
2146 Tue Jun 28 12:14:17 GMT 2011 Olly Betts <olly@survex.com>
2148 * NEWS: Update from ChangeLog.
2150 Mon Jun 27 15:22:22 GMT 2011 Olly Betts <olly@survex.com>
2152 * python/Makefile.am,python/python.i,python/util.i: If
2153 MAINTAINER_NO_DOCS is true, then just create an empty doccomments.i
2154 rather then carefully arranging not to include it.
2156 Mon Jun 27 15:04:59 GMT 2011 Olly Betts <olly@survex.com>
2158 * python/extra.i: Clarify that extra.i is for extra *Python* code.
2160 Mon Jun 27 14:39:26 GMT 2011 Olly Betts <olly@survex.com>
2162 * TODO: Wrapping Xapian::Weight isn't possible. (ticket#401)
2164 Mon Jun 27 14:34:24 GMT 2011 Olly Betts <olly@survex.com>
2166 * perl/perl.i,perl/util.i.in: Move the SWIG typemaps into perl.i,
2167 leaving just the %perlcode in util.i.in.
2169 Mon Jun 27 14:23:54 GMT 2011 Olly Betts <olly@survex.com>
2171 * xapian.i: Remove %module line which is no longer used.
2173 Mon Jun 27 14:10:19 GMT 2011 Olly Betts <olly@survex.com>
2175 * perl/util.i.in: WritableDatabase::delete_document() was broken by
2176 the migration to wrapping <xapian/database.h> directly - now fixed
2177 and cleaned up how we wrap delete_document_by_term(),
2178 replace_document() and replace_document_by_term().
2180 Mon Jun 27 11:21:10 GMT 2011 Olly Betts <olly@survex.com>
2182 * tcl8/tcl.i: Use the iterator approach for wrapping the mixed array
2185 Mon Jun 27 11:05:10 GMT 2011 Olly Betts <olly@survex.com>
2187 * ruby/ruby.i: Use the iterator approach for wrapping the mixed array
2190 Mon Jun 27 08:18:02 GMT 2011 Olly Betts <olly@survex.com>
2192 * php/php.i,xapian.i: Wrap the XapianQuery ctor which takes a mixed
2193 array of XapianQuery objects and strings by defining an iterator so
2194 subqueries get added directly rather than creating an intermediate
2197 Mon Jun 27 03:08:40 GMT 2011 Olly Betts <olly@survex.com>
2199 * php/php.i: Tweak the phpinfo() generation code.
2201 Mon Jun 27 02:40:29 GMT 2011 Olly Betts <olly@survex.com>
2203 * java-swig/docs/examples/SimpleIndex.java: Update to use commit()
2204 rather than flush(). Remove reference to quartz.
2206 Sun Jun 26 15:32:50 GMT 2011 Olly Betts <olly@survex.com>
2208 * xapian-headers.i,xapian.i: Wrap <xapian/query.h> in xapian-headers.i,
2209 except for the current %extend part which I'm looking to reimplement
2212 Sun Jun 26 14:54:09 GMT 2011 Olly Betts <olly@survex.com>
2214 * ruby/ruby.i: Fix to work with direct wrapping on xapian/enquire.h
2215 - the signature in that file has Xapian:: qualifiers on the
2216 arguments types for set_query() so it wasn't getting renamed.
2217 Missed this because of incorrect dependencies, as fixed in the
2220 Sun Jun 26 14:47:20 GMT 2011 Olly Betts <olly@survex.com>
2222 * ruby/Makefile.am: Fix automatic dependency generation for files
2225 Sun Jun 26 14:09:33 GMT 2011 Olly Betts <olly@survex.com>
2227 * csharp/docs/index.html,java-swig/docs/index.html: Document wrapping
2228 of MatchAll and MatchNothing.
2230 Sun Jun 26 10:24:55 GMT 2011 Olly Betts <olly@survex.com>
2232 * csharp/SmokeTest.cs,csharp/csharp.i,java-swig/SmokeTest.java,
2233 java-swig/java.i: Wrap Query::MatchAll and Query::MatchNothing for C#
2234 and Java. (ticket#158)
2236 Sun Jun 26 03:35:43 GMT 2011 Olly Betts <olly@survex.com>
2238 * php/docs/index.html,php/smoketest.php,xapian.i: Wrap MatchAll and
2239 MatchNothing for PHP as XapianQuery::MatchAll() and
2240 XapianQuery::MatchNothing(). (ticket#158)
2242 Sat Jun 25 15:58:08 GMT 2011 Olly Betts <olly@survex.com>
2244 * xapian-headers.i,xapian.i: Wrap <xapian/weight.h> using the new
2247 Sat Jun 25 15:38:14 GMT 2011 Olly Betts <olly@survex.com>
2249 * xapian-headers.i,xapian.i: Wrap <xapian/valuesetmatchdecider.h> in
2252 Sat Jun 25 15:32:31 GMT 2011 Olly Betts <olly@survex.com>
2254 * xapian-headers.i,xapian.i: Wrap Xapian::Stem using the new macros.
2256 Sat Jun 25 15:15:19 GMT 2011 Olly Betts <olly@survex.com>
2258 * csharp/Makefile.am,java-swig/Makefile.am: Upon "make
2259 maintainer-clean", delete the directories which we get SWIG to
2260 generate the source files into, and also the 'built' subdirectory for
2263 Sat Jun 25 15:10:21 GMT 2011 Olly Betts <olly@survex.com>
2265 * java-swig/Makefile.am: Port over from csharp/Makefile.am the smarter
2266 check that we got exactly the sources generated which we wanted.
2267 Add missing new source ExpandDeciderAnd.java.
2269 Sat Jun 25 15:08:59 GMT 2011 Olly Betts <olly@survex.com>
2271 * csharp/Makefile.am: Delete all files in generated-csharp before
2272 running swig, not just those in $(XAPIAN_SWIG_CS_SRCS).
2274 Sat Jun 25 15:01:48 GMT 2011 Olly Betts <olly@survex.com>
2276 * csharp/Makefile.am,xapian-headers.i,xapian.i: Wrap enquire.h and
2277 expanddecider.h by parsing the headers directly. Wrap ExpandDecider
2278 even if we don't have director support - there's a
2279 ExpandDeciderFilterTerms subclass which is useful in itself, though
2280 it still needs some typemap work to actually get it usefully wrapped.
2281 Ignore copy ctors for all classes (rather than just some) for all
2282 languages except Tcl where we now consistently ignore none of them.
2284 Sat Jun 25 11:13:34 GMT 2011 Olly Betts <olly@survex.com>
2286 * python/util.i: Rename SWIG_anystring_as_ptr to
2287 XapianSWIG_anystring_as_ptr as it's not a part of SWIG itself.
2288 Handle generating XapianSWIG_anystring_as_ptr in the right place
2289 in the file by specifying it with %fragment, and specify its
2290 dependency on the fragment SWIG_AsPtr_std_string.
2292 Sat Jun 25 07:50:56 GMT 2011 Olly Betts <olly@survex.com>
2294 * csharp/Makefile.am: Put the generated C# sources into a subdirectory
2295 to make it easier to manage them. Check that exactly the sources in
2296 XAPIAN_SWIG_CS_SRCS are generated previously we checked that the
2297 sources in that list were generated, but not if extra ones were).
2298 Add six missing sources to XAPIAN_SWIG_CS_SRCS.
2300 Fri Jun 24 17:16:19 GMT 2011 Olly Betts <olly@survex.com>
2302 * xapian-headers.i,xapian.i: Wrap Database and WritableDatabase by
2303 using %include <xapian/database.h>. Adds missing wrappers for
2304 Database::has_positions(), wrapping of Database::reopen()'s new
2305 bool return type, and corrects the return type of
2306 Database::get_doclength() from double to Xapian::termcount.
2308 Fri Jun 24 15:47:50 GMT 2011 Olly Betts <olly@survex.com>
2310 * xapian-headers.i,xapian.i: Wrap MatchSpy and PostingSource with
2313 Fri Jun 24 15:30:27 GMT 2011 Olly Betts <olly@survex.com>
2315 * xapian-headers.i,xapian.i: Add SUBCLASSABLE macro to indicate a class
2316 which is subclassable in the target language (assuming SWIG supports
2317 directors for that language).
2319 Fri Jun 24 12:44:07 GMT 2011 Olly Betts <olly@survex.com>
2321 * xapian-headers.i,xapian.i: Factor out ignoring of internal stuff and
2322 operator= from INPUT_ITERATOR_METHODS into new STANDARD_IGNORES
2323 macro. Use STANDARD_IGNORES to wrap Xapian::Document. Wrap
2324 ValueIterator via %include <xapian/valueiterator.h>.
2326 Fri Jun 24 09:29:46 GMT 2011 Olly Betts <olly@survex.com>
2328 * xapian-headers.i,xapian.i: Wrap TermIterator via %include
2329 <xapian/termiterator.h>. TermIterator::positionlist_count() is now
2332 Fri Jun 24 09:15:11 GMT 2011 Olly Betts <olly@survex.com>
2334 * xapian-headers.i,xapian.i: Do setup for %include <postingiterator.h>
2335 using a parameterised macro INPUT_ITERATOR_METHODS(). Use this new
2336 macro to wrap %include <xapian/positioniterator.h> instead of having
2337 its declarations repeated in xapian.i.
2339 Fri Jun 24 05:39:20 GMT 2011 Olly Betts <olly@survex.com>
2341 * Makefile.am,xapian-headers.i,xapian.i: Start a new interface file
2342 to contain wrapping of xapian-core API headers by getting SWIG to
2343 parse them directly rather than duplicated declarations in the
2346 Fri Jun 24 04:33:50 GMT 2011 Olly Betts <olly@survex.com>
2348 * configure.ac: Update JNI comments.
2350 Fri Jun 24 04:06:17 GMT 2011 Olly Betts <olly@survex.com>
2352 * HACKING,Makefile.am,README,configure.ac,java-swig/SmokeTest.java,
2353 java/,java/native/,java/org/xapian/,java/org/xapian/errors/,
2354 java/org/xapian/examples/,java/run-java-test: Remove the hand-coded
2357 Fri Jun 24 03:37:25 GMT 2011 Olly Betts <olly@survex.com>
2359 * java-swig/Makefile.am,java-swig/docs/: Copy java examples
2360 from the JNI ones, and create an HTML documentation page
2361 based on java/README.
2363 Fri Jun 24 03:13:15 GMT 2011 Olly Betts <olly@survex.com>
2365 * configure.ac: Switch java bindings to java-swig.
2367 Wed Jun 22 15:08:04 GMT 2011 Olly Betts <olly@survex.com>
2369 * INSTALL: Add --with-lua and sort the list of --with-* options.
2371 Wed Jun 22 15:01:44 GMT 2011 Olly Betts <olly@survex.com>
2373 * INSTALL: Pull in a few updates from the latest version of the
2374 automake document which this file was originally based on.
2375 Add in the missing copyright and licensing information.
2377 Wed Jun 22 14:35:33 GMT 2011 Olly Betts <olly@survex.com>
2379 * INSTALL,README: It's not really noteworthy that Mac OS X 10.1 and
2380 10.2 aren't supported as Apple ditched them long ago, so drop this
2381 as a "Known Issue" in INSTALL and instead just say "Mac OS X >= 10.3"
2382 in the discussion of supported platforms in the README.
2384 Wed Jun 22 08:50:52 GMT 2011 Olly Betts <olly@survex.com>
2386 * perl/Makefile.am: Need to build except.i before we run swig.
2388 Wed Jun 22 08:46:50 GMT 2011 Olly Betts <olly@survex.com>
2390 * python/Makefile.am: Need to build except.i and doccomments.i before
2393 Wed Jun 22 04:41:26 GMT 2011 Olly Betts <olly@survex.com>
2395 * java-swig/Makefile.am,java-swig/SmokeTest.java: Put the
2396 SWIG-generated Java bindings in package org.xapian.
2398 Wed Jun 22 03:26:21 GMT 2011 Olly Betts <olly@survex.com>
2400 * java-swig/SmokeTest.java: Add more FIXME notes.
2402 Wed Jun 22 02:55:38 GMT 2011 Olly Betts <olly@survex.com>
2404 * java-swig/Makefile.am: Clean up MyMatchDecider.class and
2405 MyExpandDecider.class. Include Query$1.class in the jar file.
2407 Wed Jun 22 01:47:24 GMT 2011 Olly Betts <olly@survex.com>
2409 * java-swig/Makefile.am: Update for Xapian::Compactor.
2411 Wed Jun 22 01:23:23 GMT 2011 Olly Betts <olly@survex.com>
2413 * csharp/Makefile.am: Use the same trick as in java-swig/ to check that
2414 SWIG generated all the sources we expected it to.
2416 Wed Jun 22 01:21:19 GMT 2011 Olly Betts <olly@survex.com>
2418 * csharp/Makefile.am,java-swig/Makefile.am,lua/Makefile.am,
2419 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
2420 tcl8/Makefile.am: Include explicit '$(srcdir)/' path on the main SWIG
2421 interface file to work better in a VPATH build.
2423 Tue Jun 21 16:12:38 GMT 2011 Olly Betts <olly@survex.com>
2425 * python/Makefile.am: Pass -I. to SWIG so it finds generated
2426 doccomments.i in a VPATH build.
2428 Tue Jun 21 14:55:17 GMT 2011 Olly Betts <olly@survex.com>
2430 * csharp/Makefile.am,csharp/csharp.i,csharp/util.i,generic/except.i,
2431 generic/generic.mk,java-swig/Makefile.am,java-swig/java.i,
2432 java-swig/util.i,lua/Makefile.am,lua/lua.i,perl/Makefile.am,
2433 perl/perl.i,php/Makefile.am,php/php.i,php/util.i,python/Makefile.am,
2434 python/python.i,python/util.i,ruby/Makefile.am,ruby/ruby.i,
2435 ruby/util.i,tcl8/Makefile.am,tcl8/tcl.i,tcl8/util.i,xapian-head.i,
2436 xapian.i: Change how the inclusion of SWIG interface files works -
2437 instead of carefully setting up include paths so that files get
2438 pulled in from language-specific directories, with fallbacks to
2439 generic files in some cases, we now have a master interface file for
2440 each language which explicitly includes all the other files we want.
2442 Tue Jun 21 14:34:47 GMT 2011 Olly Betts <olly@survex.com>
2444 * generic/generic.mk: 'macosx' -> 'Mac OS X'.
2446 Tue Jun 21 14:16:52 GMT 2011 Olly Betts <olly@survex.com>
2448 * README: Note a recent version of Mono which we've tested the C#
2451 Tue Jun 21 13:52:22 GMT 2011 Olly Betts <olly@survex.com>
2453 * csharp/Makefile.am: Combine the two uninstall-local targets so the
2454 commands from both actually get run.
2456 Tue Jun 21 11:09:59 GMT 2011 Olly Betts <olly@survex.com>
2458 * configure.ac: Wrap sources used by AC_COMPILE_IFELSE in
2459 AC_LANG_SOURCE to fix warning from autoconf.
2461 Tue Jun 21 06:54:00 GMT 2011 Olly Betts <olly@survex.com>
2463 * xapian.i: Update comment about MatchAll/MatchNothing.
2465 Tue Jun 21 06:49:56 GMT 2011 Olly Betts <olly@survex.com>
2467 * perl/t/10query.t,perl/util.i.in: Wrap MatchAll and MatchNothing for
2468 Perl (as Search::Xapian::Query::MatchAll and
2469 Search::Xapian::Query::MatchNothing). (ticket#158)
2471 Tue Jun 21 06:00:41 GMT 2011 Olly Betts <olly@survex.com>
2473 * ruby/docs/index.html,ruby/extra.i,ruby/smoketest.rb,xapian.i: Wrap
2474 MatchAll and MatchNothing for Ruby. (ticket#158)
2476 Tue Jun 21 05:09:20 GMT 2011 Olly Betts <olly@survex.com>
2478 * lua/smoketest.lua: Fix whitespace inconsistencies.
2480 Tue Jun 21 05:07:30 GMT 2011 Olly Betts <olly@survex.com>
2482 * lua/smoketest.lua: Restore semicolons to licence text.
2484 Tue Jun 21 05:01:55 GMT 2011 Olly Betts <olly@survex.com>
2486 * lua/docs/index.html,lua/smoketest.lua,xapian.i: Merge latest Lua
2487 changes from Xiaona Han.
2489 Tue Jun 21 04:16:05 GMT 2011 Olly Betts <olly@survex.com>
2491 * perl/t/termgenerator.t: Test TermIterator::index_text() with two
2494 Fri Jun 17 08:11:12 GMT 2011 Olly Betts <olly@survex.com>
2496 * HACKING: Start section on deprecation warnings for the bindings.
2498 Fri Jun 17 07:43:31 GMT 2011 Olly Betts <olly@survex.com>
2502 Thu Jun 16 09:24:18 GMT 2011 Olly Betts <olly@survex.com>
2504 * perl/Makefile.am: Fix "make check".
2506 Thu Jun 16 07:48:38 GMT 2011 Olly Betts <olly@survex.com>
2508 * python/Makefile.am: Improve comment about replicationtest.py.
2510 Thu Jun 16 06:34:33 GMT 2011 Olly Betts <olly@survex.com>
2512 * configure.ac: Remove unnecessary nested single quotes. Remove
2513 superfluous trailing ; from Perl one-liners.
2515 Thu Jun 16 06:10:25 GMT 2011 Olly Betts <olly@survex.com>
2517 * php/docs/index.html: Drop references to Xapian versions before 1.0.0.
2519 Thu Jun 16 06:05:45 GMT 2011 Olly Betts <olly@survex.com>
2521 * README,configure.ac,php/docs/index.html: Raise the minimum required
2522 PHP version to 5.2 as older versions are no longer supported by the
2523 PHP developers. Even 5.2.x was recently declared unsupported
2526 Thu Jun 16 05:56:59 GMT 2011 Olly Betts <olly@survex.com>
2528 * configure.ac: Simplify probe for PHP CLI - we dropped PHP4 support in
2529 1.1.0 so we can rely on having php-config --php-binary available.
2531 Wed Jun 15 14:13:09 GMT 2011 Olly Betts <olly@survex.com>
2533 * README,configure.ac,python/docs/index.html: Update required Python
2536 Wed Jun 15 07:46:04 GMT 2011 Olly Betts <olly@survex.com>
2538 * xapian-bindings/lua/docs/examples/simpleexpand.lua: Don't try to add
2539 anything to the RSet if there are no matches.
2541 Tue Jun 14 03:50:57 GMT 2011 Olly Betts <olly@survex.com>
2543 * perl/t/symbol-test/SymbolTest.pm: Sync update from XS Search::Xapian
2544 - add "1;" to end of test module.
2546 Tue Jun 14 03:48:04 GMT 2011 Olly Betts <olly@survex.com>
2548 * perl/docs/examples/: Sync updates from XS Search::Xapian: Require
2549 Perl >= 5.6 so we can "use warnings;"; loop over file using while()
2550 (which reads a line per iteration) not foreach() (which reads the
2551 whole file up front).
2553 Mon Jun 13 17:00:27 GMT 2011 Olly Betts <olly@survex.com>
2555 * perl/generate-perl-exceptions: Simplify.
2557 Mon Jun 13 16:49:52 GMT 2011 Olly Betts <olly@survex.com>
2559 * csharp/Makefile.am,java-swig/Makefile.am,
2560 perl/generate-perl-exceptions,python/generate-python-exceptions:
2561 More references to Sorter and MultiValueSorter removed.
2563 Mon Jun 13 16:43:58 GMT 2011 Olly Betts <olly@survex.com>
2565 * perl/t/sorter.t,php/smoketest.php,python/pythontest2.py,xapian.i:
2566 Update in line with the removed deprecations from xapian-core.
2568 Mon Jun 13 13:37:48 GMT 2011 Richard Boulton <richard@tartarus.org>
2570 * python/extra.i: Change function names defined inside wrapper()
2571 closures to match the name which the result of the closure will
2572 be assigned to, so that help text for the functions displays the
2573 correct function name.
2575 Mon Jun 13 13:15:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2577 * python/pythontest2.py: Extend coverage of tests of removed features.
2579 Mon Jun 13 12:56:48 GMT 2011 Olly Betts <olly@survex.com>
2581 * java/native/Enquire.cc: Update for Enquire::set_sort_by_value()
2584 Mon Jun 13 12:50:39 GMT 2011 Richard Boulton <richard@tartarus.org>
2586 * python/pythontest2.py: Change checks for removed attributes to
2587 use a neater approach.
2589 Mon Jun 13 12:48:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2591 * python/testsuite2.py: Add support to expect_exception for passing
2592 None as the message, to skip checking the message for the raised
2593 exception. Add documentation comment describing the parameters.
2595 Mon Jun 13 12:37:31 GMT 2011 Olly Betts <olly@survex.com>
2597 * xapian.i: Remove deprecated Enquire::set_sort_by_* methods.
2599 Mon Jun 13 12:10:39 GMT 2011 Olly Betts <olly@survex.com>
2601 * python/extra.i: Remove checks for deprecated forms of Enquire
2602 set_sort_* methods, which have now been removed from the C++ API.
2604 Mon Jun 13 11:43:20 GMT 2011 Olly Betts <olly@survex.com>
2606 * python/extra.i,python/util.i: Hide away the deprecated non-pythonic
2607 iterators - we still need them to implement the pythonic iterators,
2608 so we can't entirely remove them.
2609 * python/pythontest2.py: Check that the deprecated methods are no
2610 longer accessible (not all methods are checked).
2611 * docs/index.html: Update documentation to say they've been removed.
2613 Mon Jun 13 10:35:29 GMT 2011 Olly Betts <olly@survex.com>
2615 * python/extra.i: Remove deprecated Stem_get_available_languages().
2616 * python/pythontest2.py: Add test to make sure it stays removed!
2618 Mon Jun 13 10:10:56 GMT 2011 Olly Betts <olly@survex.com>
2620 * python/pythontest2.py: Fix odd ordering of line and comment (which
2621 has been that way since I committed the change which added the
2622 code around the comment.
2624 Mon Jun 13 09:54:20 GMT 2011 Olly Betts <olly@survex.com>
2626 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
2627 lua/docs/index.html,php/docs/index.html,python/docs/index.html,
2628 ruby/docs/index.html,tcl8/docs/index.html,xapian-head.i,xapian.i:
2629 Update for removal of flint.
2631 Mon Jun 13 09:34:05 GMT 2011 Olly Betts <olly@survex.com>
2633 * configure.ac: Update version to 1.3.0.
2635 Sun Jun 12 23:34:24 GMT 2011 Olly Betts <olly@survex.com>
2637 * php/Makefile.am: The SWIG upgrade means we now have xapian_wrap.h as
2638 well as xapian_wrap.cc. Really the final update for 1.2.6.
2640 Sun Jun 12 13:06:16 GMT 2011 Olly Betts <olly@survex.com>
2642 * configure.ac: Lua's _VERSION reports "Lua 5.0.3" for Lua 5.0.3, so
2643 add '|5.0.*' to the pattern since '5.0' won't match.
2645 Sun Jun 12 11:47:03 GMT 2011 Olly Betts <olly@survex.com>
2647 * NEWS: Final update for 1.2.6.
2649 Sun Jun 12 07:47:04 GMT 2011 Olly Betts <olly@survex.com>
2651 * NEWS.SKELETON: Add Lua and Perl headings.
2653 Sun Jun 12 07:29:29 GMT 2011 Olly Betts <olly@survex.com>
2655 * README: Move C# first so the languages are all in alphabetical
2658 Sun Jun 12 07:28:52 GMT 2011 Olly Betts <olly@survex.com>
2662 Sun Jun 12 07:24:17 GMT 2011 Olly Betts <olly@survex.com>
2664 * configure.ac: Need to quote [01234] to stop m4 eating the [].
2666 Sun Jun 12 07:19:37 GMT 2011 Olly Betts <olly@survex.com>
2668 * configure.ac,lua/docs/examples/simpleexpand.lua,
2669 lua/docs/examples/simpleindex.lua,lua/docs/index.html,lua/util.i:
2670 Fix whitespace issues.
2672 Sun Jun 12 07:07:18 GMT 2011 Xiaona Han <xiaonahappy@gmail.com>
2674 * Makefile.am,configure.ac,lua/Makefile.am,
2675 lua/docs/examples/simpleexpand.lua,lua/docs/examples/simpleindex.lua,
2676 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2677 lua/smoketest.lua,lua/util.i: Merge in current state of Lua
2680 Fri Jun 10 12:08:17 GMT 2011 Olly Betts <olly@survex.com>
2682 * NEWS,configure.ac: Update in preparation for 1.2.6.
2684 Fri Jun 10 09:11:02 GMT 2011 Olly Betts <olly@survex.com>
2686 * java/LICENSE: Remove, since it is explicitly included in each source
2689 Fri Jun 10 06:43:10 GMT 2011 Olly Betts <olly@survex.com>
2691 * php/Makefile.am: Add simplematchdecider.php5 example to tarball.
2693 Fri Jun 10 06:40:46 GMT 2011 Olly Betts <olly@survex.com>
2695 * php/php.ini: Remove file which is no longer used.
2697 Fri Jun 10 01:21:21 GMT 2011 Olly Betts <olly@survex.com>
2699 * xapian-head.i,xapian.i: Update for addition of
2700 XAPIAN_DEPRECATED_CLASS.
2702 Thu Jun 02 03:07:35 GMT 2011 Olly Betts <olly@survex.com>
2704 * php/docs/examples/simplematchdecider.php5: Change start tag from <?
2705 to <?php - issue pointed out by Daniel Menard in ticket#488.
2707 Mon May 30 10:34:16 GMT 2011 Olly Betts <olly@survex.com>
2709 * NEWS: Update from ChangeLog.
2711 Mon May 30 07:06:00 GMT 2011 Olly Betts <olly@survex.com>
2713 * tcl8/docs/index.html: Fix <i> to </i> (reported by Xiaona Han).
2715 Mon May 30 07:04:00 GMT 2011 Olly Betts <olly@survex.com>
2717 * php/docs/examples/simplematchdecider.php5,php/smoketest.php: Objects
2718 passed to virtual methods overridden in PHP are now wrapped properly.
2721 Sun May 29 14:41:13 GMT 2011 James Aylett <james@tartarus.org>
2723 * configure.ac: set NEED_JNILIB_EXT for all Mac OS versions
2725 Sun May 29 14:36:55 GMT 2011 James Aylett <james@tartarus.org>
2727 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am,
2728 java/org/xapian/examples/Makefile.am: use .NOTPARALLEL when
2729 compiling Java classfiles to avoid race condition during
2732 Sun May 29 13:27:10 GMT 2011 Olly Betts <olly@survex.com>
2734 * java/native/Makefile.am: XapianObjectHolder.h was removed so stop
2737 Fri May 27 05:28:09 GMT 2011 Olly Betts <olly@survex.com>
2739 * NEWS: Update from ChangeLog.
2741 Fri May 27 05:09:42 GMT 2011 Olly Betts <olly@survex.com>
2743 * java/native/utils.cc: Remove another unused <typeinfo>.
2745 Fri May 27 05:01:47 GMT 2011 Olly Betts <olly@survex.com>
2747 * java/native/: Factor out Java jstring -> C++ std::string conversion
2748 into cpp_string() function, which also fixes memory leaks upon
2751 Fri May 27 04:29:19 GMT 2011 Olly Betts <olly@survex.com>
2753 * java/native/xapian_jni.h: Remove unused <typeinfo>.
2755 Fri May 27 04:25:39 GMT 2011 Olly Betts <olly@survex.com>
2757 * java/native/xapian_jni.h: Remove unused struct streq.
2759 Fri May 27 04:02:01 GMT 2011 Olly Betts <olly@survex.com>
2761 * java/native/,java/org/xapian/: Instead of using an unordered_map to
2762 track id -> pointer mappings, just use reinterpret_cast - jlong is
2763 64 bits, which will hold a pointer on current platforms.
2764 * java/README: This avoids needing thread locks, so remove pthread
2765 linking issues from TODO list.
2767 Thu May 26 13:06:13 GMT 2011 Olly Betts <olly@survex.com>
2769 * java/native/: C++'s delete operator will ignore a NULL pointer, so
2770 remove checks that the pointer is non-NULL before calling it.
2772 Thu May 26 11:30:22 GMT 2011 Olly Betts <olly@survex.com>
2774 * java/native/unordered_map.h: Portability wrapper around various ways
2775 to get unordered_map with different compilers.
2776 * java/native/XapianObjectHolder.h: Use new unordered_map.h which fixes
2777 warnings about using deprecated headers with recent GCC versions.
2779 Wed May 25 13:58:21 GMT 2011 Olly Betts <olly@survex.com>
2781 * php/util.i,xapian.i: Move PHP special cases to php/util.i (generated
2782 code is identical before and after this change).
2784 Wed May 25 13:20:06 GMT 2011 Olly Betts <olly@survex.com>
2786 * php/docs/examples/simplematchdecider.php5,php/docs/index.html: Add
2787 simplematchdecider.php example.
2789 Wed May 25 12:17:11 GMT 2011 Olly Betts <olly@survex.com>
2791 * php/util.i: Now we have directors enabled, stop ignoring Xapian::Sorter
2792 and uncomment directorin typemap for passing a count and array of
2795 Tue May 24 15:08:24 GMT 2011 Olly Betts <olly@survex.com>
2797 * php/smoketest.php,php/util.i,python/generate-python-exceptions,
2798 ruby/Makefile.am: Update to newer SWIG (ticket#538). Fixes C#
2799 binding issues with strings with newer C# versions. Directors
2800 now work for PHP (ticket#488).
2802 Mon May 23 13:58:43 GMT 2011 Olly Betts <olly@survex.com>
2804 * README: say that Perl bindings probably need Perl 5.8 or later.
2806 Mon May 23 07:47:24 GMT 2011 Olly Betts <olly@survex.com>
2808 * configure.ac: Get the Ruby version from the rbconfig module, rather
2809 than parsing the potentially more variable output of ruby --version.
2811 Wed May 11 21:50:11 GMT 2011 Olly Betts <olly@survex.com>
2813 * ruby/xapian.rb: Fix comments on "end" keywords to match function
2816 Wed May 11 03:50:18 GMT 2011 Olly Betts <olly@survex.com>
2818 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() -
2819 just skip the compaction tests for these versions.
2821 Mon May 09 01:36:56 GMT 2011 Olly Betts <olly@survex.com>
2823 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always
2824 collect all the garbage, so repeat until no further objects are
2825 freed. (http://bugs.debian.org/625679 and
2826 https://bugs.gentoo.org/349484).
2828 Mon Apr 04 13:58:45 GMT 2011 Olly Betts <olly@survex.com>
2830 * NEWS: Update release date.
2832 Mon Mar 28 12:02:56 GMT 2011 Olly Betts <olly@survex.com>
2834 * NEWS,configure.ac: 1.2.5.
2836 Sat Mar 26 14:50:41 GMT 2011 Olly Betts <olly@survex.com>
2838 * INSTALL: Fix typo in recent commit.
2840 Sat Mar 26 14:44:53 GMT 2011 Olly Betts <olly@survex.com>
2842 * configure.ac: Fix m4 quoting so that the release series check works.
2844 Sat Mar 26 14:34:10 GMT 2011 Olly Betts <olly@survex.com>
2846 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
2847 Replace VPATH section with better equivalent from
2848 xapian-core/INSTALL.
2850 Sat Mar 26 14:29:32 GMT 2011 Olly Betts <olly@survex.com>
2852 * ruby/smoketest.rb: Test Xapian::Compactor.
2854 Sun Mar 20 10:53:32 GMT 2011 Olly Betts <olly@survex.com>
2856 * python/smoketest2.py: Remove two print statements left over from
2859 Fri Mar 18 13:46:05 GMT 2011 Olly Betts <olly@survex.com>
2861 * configure.ac: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and
2862 later, or 10.4 on x86 as the default if unset on these platforms
2863 is the current OS version.
2865 Fri Mar 18 11:33:26 GMT 2011 Olly Betts <olly@survex.com>
2867 * csharp/Makefile.am: Second part of ticket#516 fix.
2869 Fri Mar 18 05:29:01 GMT 2011 Olly Betts <olly@survex.com>
2871 * configure.ac: Don't pass extra flags to Microsoft's gacutil.
2874 Wed Mar 16 05:29:31 GMT 2011 Olly Betts <olly@survex.com>
2876 * python/smoketest2.py: Add test coverage for min_wt argument of
2879 Wed Mar 16 05:13:42 GMT 2011 Olly Betts <olly@survex.com>
2881 * python/smoketest2.py: Fix comment typo.
2883 Wed Mar 16 03:33:13 GMT 2011 Olly Betts <olly@survex.com>
2885 * configure.ac: Handle an empty response to $RUBY --version specially.
2886 This gives a less opaque error in cases where the user specified
2887 RUBY but the value given wasn't an executable file.
2889 Tue Mar 15 23:09:04 GMT 2011 Dan Colish <dcolish@gmail.com>
2891 * xapian.i: Expose ESet.get_eset with min_wt parameter
2893 Tue Mar 01 11:51:19 GMT 2011 Olly Betts <olly@survex.com>
2895 * NEWS: Update from ChangeLog.
2897 Mon Feb 21 14:47:10 GMT 2011 Olly Betts <olly@survex.com>
2899 * python/docs/index.html: Document that MSet.items and ESet.items are
2900 deprecated, and what to use instead. Note that MSET_DOCUMENT never
2901 worked on the tuple returned by MSet.items.
2903 Sat Jan 29 05:25:15 GMT 2011 Olly Betts <olly@survex.com>
2905 * python/pythontest2.py: Add test coverage for mset.items.
2907 Sat Jan 29 02:12:43 GMT 2011 Olly Betts <olly@survex.com>
2909 * configure.ac: If xapian-core is a different release series, promote
2910 the mismatched versions warning to an error.
2912 Sat Jan 15 12:03:31 GMT 2011 Olly Betts <olly@survex.com>
2914 * configure.ac,csharp/AssemblyInfo.cs.in: Revert COMPAT_VERSION
2915 change - we need to strip the _svnNNNNN suffix for snapshots, and
2916 it isn't any extra effort to handle an optional subrevision in the
2919 Sat Jan 15 11:38:40 GMT 2011 Olly Betts <olly@survex.com>
2921 * configure.ac: Fix comment typo.
2923 Sat Jan 15 11:36:05 GMT 2011 Olly Betts <olly@survex.com>
2925 * csharp/AssemblyInfo.cs.in: Clarify the licence is GPL "version 2 or
2928 Sat Jan 15 11:32:46 GMT 2011 Olly Betts <olly@survex.com>
2930 * configure.ac,csharp/AssemblyInfo.cs.in: Remove COMPAT_VERSION
2931 machinery - we've not used it since 0.9.10.1, and it seems unlikely
2932 we will again. If we do, we can reverse this change.
2934 Sat Jan 15 11:20:33 GMT 2011 Olly Betts <olly@survex.com>
2936 * NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.
2938 Thu Jan 13 01:50:18 GMT 2011 Olly Betts <olly@survex.com>
2940 * python/pythontest2.py: In test_compactor(), close any open databases
2941 before removing the directory as you can't delete an open database
2942 on Microsoft Windows. (ticket#526)
2944 Mon Jan 10 12:53:51 GMT 2011 Richard Boulton <richard@tartarus.org>
2946 * python/extra.i: Remove broken implementation of
2947 MSet.__contains__. This appears never to have worked, and to
2948 have been broken for at least the past 3.5 years without anyone
2949 mentioning it, and is probably of little use anyway, so no need
2952 Tue Dec 21 12:18:03 GMT 2010 Olly Betts <olly@survex.com>
2954 * README: Update info on SWIG-based Perl bindings.
2956 Mon Dec 20 09:54:52 GMT 2010 Richard Boulton <richard@tartarus.org>
2958 * python/util.i: Remove old and broken Enquire.get_matching_terms()
2959 method. We deprecated Enquire.get_matching_terms() in 1.0.x, and
2960 removed it in 1.1.0, but accidentally left an older version of
2961 get_matching_terms() exposed.
2962 * python/docs/index.html: Also, remove the old documentation for
2963 get_matching_terms().
2965 Mon Dec 20 09:53:56 GMT 2010 Richard Boulton <richard@tartarus.org>
2967 * python/pythontest2.py: Remove test of
2968 Enquire.get_matching_terms(), and the associated contortions to
2969 get a corresponding msetiter to pass to it.
2971 Sun Dec 19 12:40:39 GMT 2010 Olly Betts <olly@survex.com>
2973 * NEWS: Update release date.
2975 Sat Dec 18 15:09:06 GMT 2010 Olly Betts <olly@survex.com>
2977 * NEWS,configure.ac: 1.2.4.
2979 Thu Dec 16 10:11:35 GMT 2010 Olly Betts <olly@survex.com>
2981 * perl/Makefile.am: Pass CPPFLAGS, CXX, CXXFLAGS to the testsuite.
2983 Tue Dec 14 14:23:07 GMT 2010 Olly Betts <olly@survex.com>
2985 * perl/t/symbol-test.t: Merge VPATH fixes from Search::Xapian.
2987 Tue Dec 14 05:25:10 GMT 2010 Olly Betts <olly@survex.com>
2989 * perl/t/: Disable tests from the XS version which don't yet pass
2990 here with a $disable_fixme variable, so they are more clearly marked
2991 and can easily be reenabled for testing.
2993 Tue Dec 14 03:01:43 GMT 2010 Olly Betts <olly@survex.com>
2995 * perl/Makefile.am,perl/t/symbol-test.t,perl/util.i.in: Merge fix and
2996 adapt testcase for it from XS Search::Xapian:
2997 [Changes contributed by David F. Skoll and Dave O'Neill]
2998 - Tell DynaLoader to load the module with RTLD_GLOBAL so exceptions
2999 still work when multiple Perl modules which link to xapian-core are
3000 loaded. (ticket#522)
3002 Tue Dec 14 02:46:52 GMT 2010 Olly Betts <olly@survex.com>
3004 * perl/util.i.in: Whitespace tweaks.
3006 Mon Dec 13 20:22:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3008 * python/pythontest2.py,python/util.i: Fix memory leak in
3009 Enquire.get_matching_terms() method, and add coverage for this
3010 method. Check gc.get_objects() is the same before and after the
3011 calls to get the matching terms; this failed before the fix.
3013 Mon Dec 13 12:04:28 GMT 2010 Olly Betts <olly@survex.com>
3015 * php/docs/index.html: Document that iterators shouldn't be
3016 dereferenced or advanced when at their end points (ticket#520).
3018 Mon Dec 13 06:04:08 GMT 2010 Olly Betts <olly@survex.com>
3020 * php/util.i: Add commented out typemap for director support for
3021 Compactor::resolve_duplicate_metadata().
3023 Sat Dec 11 23:20:29 GMT 2010 Olly Betts <olly@survex.com>
3025 * python/generate-python-exceptions: Remove PostingSource's serialise
3026 method from the list as we %ignore it in xapian.i.
3028 Sat Dec 11 10:31:30 GMT 2010 Olly Betts <olly@survex.com>
3030 * python/generate-python-exceptions,xapian.i: Wrap MatchSpy as a
3031 director class so it can be subclassed in Python.
3032 * python/pythontest2.py: Add test that subclassing MatchSpy works.
3034 Tue Dec 07 04:10:37 GMT 2010 Olly Betts <olly@survex.com>
3036 * python/pythontest2.py: Add regression test for last fix.
3038 Tue Dec 07 03:10:24 GMT 2010 Olly Betts <olly@survex.com>
3040 * python/util.i: Fix memory leaks in typemaps which return Python
3041 lists (reported by AlexB on #xapian).
3043 Tue Dec 07 02:51:51 GMT 2010 Olly Betts <olly@survex.com>
3045 * python/util.i: Remove unused typemap.
3047 Wed Nov 17 10:13:00 GMT 2010 Olly Betts <olly@survex.com>
3049 * ruby/util.i: Wrap Compactor::resolve_duplicate_metadata().
3051 Mon Nov 08 12:33:31 GMT 2010 Olly Betts <olly@survex.com>
3053 * ruby/util.i: Remove unused, commented-out typemap for wrapping a pair
3056 Sun Nov 07 14:17:08 GMT 2010 Olly Betts <olly@survex.com>
3058 * python/pythontest2.py,python/util.i: Wrap updated
3059 Compactor::resolve_duplicate_metadata() method signature.
3061 Sat Nov 06 11:59:23 GMT 2010 Olly Betts <olly@survex.com>
3063 * NEWS: Update from ChangeLog.
3065 Thu Nov 04 12:44:51 GMT 2010 Richard Boulton <richard@tartarus.org>
3067 * generic/generic.mk: For Mac OS X builds, set DYLD_LIBRARY_PATH to
3068 allow tests to find uninstalled xapian library. See ticket #322.
3070 Mon Oct 11 12:29:20 GMT 2010 Olly Betts <olly@survex.com>
3072 * perl/Makefile.am: We don't want to distribute util.i - configure
3073 generates it from util.i.in.
3075 Mon Oct 11 12:28:14 GMT 2010 Olly Betts <olly@survex.com>
3077 * csharp/Makefile.am: No need to list AssemblyInfo.cs.in in EXTRA_DIST
3078 or AssemblyInfo.cs in CLEANFILES - automake takes care of
3079 distributing and cleaning these.
3081 Mon Oct 11 12:21:33 GMT 2010 Olly Betts <olly@survex.com>
3083 * tcl8/Makefile.am: No need to list pkgIndex.tcl.in in EXTRA_DIST or
3084 pkgIndex.tcl in CLEANFILES - automake takes care of distributing and
3087 Mon Oct 11 12:18:06 GMT 2010 Olly Betts <olly@survex.com>
3089 * csharp/Makefile.am,java-swig/Makefile.am,perl/Makefile.am,
3090 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
3091 tcl8/Makefile.am: Don't list swig-built files in CLEANFILES.
3093 Mon Oct 11 11:58:21 GMT 2010 Olly Betts <olly@survex.com>
3095 * Makefile.am: Don't explicitly list files in EXTRA_DIST which automake
3096 will ship anyway. Don't ship xapian-version.h as configure will
3097 generate that (xapian.spec is different - we put that in the tarball
3098 so rpmbuild can find it).
3100 Mon Oct 11 11:51:57 GMT 2010 Olly Betts <olly@survex.com>
3102 * Makefile.am: No need to explicitly list xapian-version.h in
3103 DISTCLEANFILES - automake will remove in for us on "make distclean"
3104 since it is created by AC_CONFIG_FILES in configure.ac.
3106 Fri Oct 08 13:32:38 GMT 2010 Olly Betts <olly@survex.com>
3108 * configure.ac: Fix typo in code to set PYTHON_LIBS under cygwin.
3111 Fri Oct 01 12:10:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3113 * csharp/Makefile.am,python/generate-python-exceptions,
3114 python/pythontest2.py,xapian.i: Wrap the new Xapian::Compactor
3115 class as a Director class, and add a testcase for it in python.
3117 Wed Sep 29 05:35:03 GMT 2010 Olly Betts <olly@survex.com>
3119 * java-swig/Makefile.am: Fix to delete libxapian_jni.la rather than
3122 Wed Sep 29 05:33:43 GMT 2010 Olly Betts <olly@survex.com>
3124 * csharp/Makefile.am,xapian-bindings.spec.in: Don't install or package
3127 Wed Sep 29 05:19:44 GMT 2010 Olly Betts <olly@survex.com>
3129 * xapian-bindings.spec.in: Package the Perl bindings too (patch from
3132 Wed Sep 29 04:44:24 GMT 2010 Olly Betts <olly@survex.com>
3134 * perl/Makefile.am: Don't install Xapian.la.
3136 Wed Sep 29 02:30:49 GMT 2010 Olly Betts <olly@survex.com>
3138 * perl/Makefile.am,perl/t/10query.t,perl/util.i.in: Fix building a
3139 Query from subqueries which are themselves Query objects. Patch
3142 Mon Sep 27 13:00:33 GMT 2010 Olly Betts <olly@survex.com>
3144 * php/Makefile.am: Fix $(PHP_MAJOR_VERSION) to literal 5 in two places.
3146 Mon Sep 27 12:51:19 GMT 2010 Olly Betts <olly@survex.com>
3148 * configure.ac: Need python in maintainer mode to run doxy2swig.py.
3150 Wed Sep 08 03:10:33 GMT 2010 Olly Betts <olly@survex.com>
3152 * perl/t/01use.t: Revert debug change, as it has served its purpose.
3153 * configure.ac: Handle the "_svn<rev>" suffix of snapshot versions
3154 specially for Perl, to match how this is handled for Search::Xapian.
3156 Wed Sep 08 02:00:34 GMT 2010 Olly Betts <olly@survex.com>
3158 * perl/t/01use.t: This test is mysteriously failing in the snapshot
3159 builder, so add a line of code to help debug this.
3161 Wed Sep 08 00:24:58 GMT 2010 Olly Betts <olly@survex.com>
3163 * java-swig/Makefile.am: Remove commented out SUBDIRS line.
3165 Wed Sep 08 00:24:22 GMT 2010 Olly Betts <olly@survex.com>
3167 * perl/Makefile.am: Fix to create docs subdirectory when srcdir !=
3170 Tue Sep 07 11:54:58 GMT 2010 Olly Betts <olly@survex.com>
3172 * ruby/Makefile.am,ruby/docs/generate-rdoc-stubs,
3173 ruby/generate-rdoc-stubs: Fix generation of rdocs to work when srcdir
3174 != buildir (broken by last but one commit).
3176 Tue Sep 07 10:46:36 GMT 2010 Olly Betts <olly@survex.com>
3178 * configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am: Eliminate
3179 csharp/docs/Makefile.am similarly.
3181 Tue Sep 07 10:28:25 GMT 2010 Olly Betts <olly@survex.com>
3183 * configure.ac,php/Makefile.am,php/docs/Makefile.am,python/Makefile.am,
3184 python/docs/Makefile.am,ruby/Makefile.am,ruby/docs/Makefile.am,
3185 tcl8/Makefile.am,tcl8/docs/Makefile.am: Eliminate separate
3186 Makefile.am in docs subdirectory of each language subdirectory and
3187 just inline any rules into the main sub-Makefile.am, which allows
3188 make to run more of the build in parallel.
3190 Tue Sep 07 10:19:55 GMT 2010 Olly Betts <olly@survex.com>
3192 * configure.ac,perl/Makefile.am: Install
3193 architecture-independent perl files in the appropriate directory.
3194 * perl/Makefile.am,perl/lib/,perl/Search/Xapian/: Structure source
3195 and build trees more like installed tree so we don't need to create
3196 symlinks to run tests in the uninstalled tree. Fix tests to work
3197 when srcdir != builddir.
3199 Mon Sep 06 05:40:34 GMT 2010 Olly Betts <olly@survex.com>
3201 * configure.ac: Don't try to generate perl/docs/Makefile.
3203 Mon Sep 06 05:37:06 GMT 2010 Olly Betts <olly@survex.com>
3205 * perl/Makefile.am,perl/docs/Makefile.am: Merge perl/docs/Makefile.am
3206 into perl/Makefile.am and fix to install.
3208 Mon Sep 06 03:30:58 GMT 2010 Olly Betts <olly@survex.com>
3210 * perl/Makefile.am: Fix "make clean" to work properly.
3212 Mon Sep 06 03:17:01 GMT 2010 Olly Betts <olly@survex.com>
3214 * perl/Makefile.am: Fix path to index.html in rule.
3216 Mon Sep 06 02:43:47 GMT 2010 Olly Betts <olly@survex.com>
3218 * perl/t/: Update with newer testcases from Search::Xapian.
3220 Mon Sep 06 02:27:35 GMT 2010 Olly Betts <olly@survex.com>
3222 * perl/Makefile.am: Build shared object as Xapian.la not xapian.la as
3223 Perl looks for it capitalised.
3225 Mon Sep 06 02:14:06 GMT 2010 Olly Betts <olly@survex.com>
3227 * configure.ac: No need to m4 quote shell fragments without [] in.
3228 Remove trailing ; from statements.
3230 Mon Sep 06 02:07:11 GMT 2010 Olly Betts <olly@survex.com>
3232 * configure.ac: Whitespace tweaks.
3234 Mon Sep 06 02:02:42 GMT 2010 Olly Betts <olly@survex.com>
3236 * configure.ac: Tweak help message for PERL_INC.
3238 Sun Sep 05 23:24:05 GMT 2010 Olly Betts <olly@survex.com>
3240 * Merge Kosei's SWIG-based Perl bindings from GSoC 2009.
3242 Sun Sep 05 12:55:13 GMT 2010 Olly Betts <olly@survex.com>
3244 * INSTALL: Fix typo ("Ruby" should be "Perl").
3246 Sun Sep 05 12:49:20 GMT 2010 Olly Betts <olly@survex.com>
3248 * configure.ac: Remove accidentally added ';' from Ruby checks.
3250 Fri Aug 14 16:45:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3252 * perl/lib/:Add "1;" into end of lib/*.pm files.
3254 Thu Aug 13 12:36:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3256 * perl/util.i.in:Fix some lines and clean up code.
3258 Wed Aug 12 14:11:49 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3260 * INSTALL,perl/util.i.in:Add and fix some lines to describe
3261 SWIG based perl biding.
3263 Wed Aug 12 12:59:30 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3265 * perl/Makefile.am,perl/docs/index.html:Fix Makefile to
3266 generate docs/index.html from pod document of Search::Xapian.
3268 Wed Aug 12 09:32:17 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3270 * perl/util.i.in:Remove and replace some lines and clean
3273 Wed Aug 12 06:22:31 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3275 * perl/Makefile.am,perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/,
3276 perl/util.i.in:Remove perl code from lib/*.pm files, add pod
3277 document of Search::Xapian to util.i.in, and fix test environment
3278 and test programs in Makefile.am.
3280 Tue Aug 11 10:01:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3282 * perl/util.i.in:Fix set_sort_by_key(), set_sort_by_key_then_relevance()
3283 and set_sort_by_relevance_then_key() of Enquire using %feature("shadow")
3286 Mon Aug 10 16:11:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3288 * perl/t/search.t: Modifire some tests to use get_termname()
3289 instead of stringification operator because now we haven't
3290 support it, and remove some machdecider tests since we also
3292 * perl/util.i.in:Fix MSetIterator::clone(), remove
3293 MSetIterator::get_docid() since same function is already
3294 defined at xapian.i, and add overloaded operators of
3297 Mon Aug 10 16:03:10 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3299 * perl/util.i.in:Add CLONE_SKIP functions for thread support.
3301 Sat Aug 08 03:35:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3303 * perl/util.i.in:Fix internal function call of MSet::FETCH.
3305 Fri Aug 07 15:29:21 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3307 * perl/util.i.in:Add tie support of MSetIterator and
3308 ESetIterator. Wrap function MSet::matches() and
3309 MSet::items(). Add class MSet::Tied. Wrap overload operators
3312 Fri Aug 07 06:03:05 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3314 * perl/lib/TermIterator.pm,perl/lib/ValueIterator.pm,
3315 perl/t/document.t,perl/t/index.t,perl/util.i.in:
3316 Remove "" operator wrapping, modify test cases and
3317 pod documents. Because modifying SWIG is needed to
3318 support "" operator.
3320 Thu Aug 06 08:29:25 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3322 * perl/util.i.in:Wrap operator overload of MSetIterator.
3324 Wed Aug 05 14:42:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3326 * perl/util.i.in:Replace each iterator's function 'inc()'
3327 to 'increment()', which is macro 'NEXT' defined in xapian.i
3328 and renamed in per/util.i, because both two function's
3331 Wed Aug 05 14:39:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3333 * perl/util.i.in:Remove new object constructing operation
3334 in TermIterator's inc() function. Because it prevents a
3335 destruction of other object (such as WritableDatabase).
3337 Fri Jul 31 16:32:19 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3339 * perl/util.i.in:Add constant variable FLAG_SPELLING for
3340 TermGenerator::set_flags().
3342 Fri Jul 31 16:28:53 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3344 * perl/util.i.in:Replace get_mset() definition to %rename.
3346 Thu Jul 30 11:54:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3348 * perl/util.i.in:Modifying some proxy functions using %feature("shadow")
3349 directive for removing repeatedly defined functions (constructor of
3350 QueryParser, SimpleStopper and WritableDatabase).
3352 Wed Jul 29 10:04:51 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3354 * perl/t/index.t,perl/t/parser.t: Fix exception tests because
3355 previous test suppose working of XS binding with bug.
3357 Wed Jul 29 01:24:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3359 * perl/util.i.in:Fix add_valuerangeprocessor to push
3360 ValueRangeProcessors object into it's member array
3361 since storing all ValueRangeProcessors objects which
3364 Tue Jul 28 06:09:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3366 * perl/util.i.in:Fix set_stopper of TermGenerator to keep
3367 SimpleStopper reference in the object for it won't be deleted.
3368 Similar fix for set_sort_by_key, set_sort_by_key_then_relevance,
3369 set_sort_by_relevance_then_key to keep MultiValueSorter.
3371 Tue Jul 28 03:56:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3373 * perl/util.i.in:Fix set_stopper to keep SimpleStopper reference
3374 in object for it won't be deleted. Same fix for add_valuerangeprocessor.
3376 Mon Jul 27 09:31:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3378 * perl/util.i.in:Add operator overload support for PositionIterator,
3379 fix new3_WritableDatabase, and TermIterator::clone for overloading
3382 Mon Jul 27 06:40:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3384 * perl/util.i.in:Add function new3_WritableDatabase and
3385 WritableDatabase::new to construct WritableDatabase
3388 Thu Jul 23 16:58:26 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3390 * perl/util.i.in: Wrap functions SimpleStopper::stop_word,
3391 QueryParser::new and SimpleStopper::new.
3393 Wed Jul 22 15:23:39 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3395 * perl/util.i.in:Add wrapper functions for Stem::stem_word,
3396 WritableDatabase::replace_document_by_term,
3397 writabledatabase::delete_document_by_term,
3398 some ValueIterator functions and some TermIterator functions.
3399 Add operator overload support for ValueIterator and
3400 TermIterator, but now double quotation operator is
3401 commented out temporarily to avoid error.
3403 Tue Jul 21 17:20:01 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3405 * perl/Makefile.am:Fix the way of compile xapian_wrap.cc
3406 and Xapian.pm for multiple file compilation.
3408 Tue Jul 21 17:05:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3410 * perl/util.i.in:Ignore Xapian::Query::Query for taking away
3411 duplication of definition. Change some argument handling process
3412 of Xapian::Query::new* functions.
3414 Mon Jul 20 13:37:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3416 * perl/util.i.in: Add wrapper function get_mset() and it's
3417 internal function get_mset1. Fix newN() function to handle
3418 multiple query argument well by introducing typemap which
3419 maps perl array to SV **.
3421 Fri Jul 17 14:52:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3423 * perl/Makefile.am,perl/generate-perl-exceptions: Add exception
3424 wrapping referring python/generate-python-exceptions and
3425 search-xapian/handle_exception.cc .
3427 Thu Jul 16 13:45:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3429 * perl/util.i.in:Rename constructors of Query and Enquire::set_query,
3430 add wrapper function newN for generatig new query, add function
3431 Database::enquire, Query::new and Enquire::set_query.
3433 Tue Jul 14 15:02:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3435 * configure.ac: Fix PERL_XAPIAN_VERSION to get binding's
3436 version number. Previously it gets from xaian-core's one.
3438 Tue Jul 14 07:52:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3440 * perl/Makefile.am: Add some options for testing.
3441 * perl/util.i.in: Fix for variable $VERSION.
3443 Mon Jul 13 11:43:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3445 * perl/util.i.in: Add a valiable $VERSION for adjusting
3446 usage how to get version number.
3448 Mon Jul 13 11:32:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3450 * perl/Makefile.am: Add swig's -const and -proxy option to
3451 wrap constant values correctly.
3452 * perl/util.i.in: Add %constant directive for wraipping
3453 constant values. Fix generation process of OP_NAMES, DB_NAMES,
3454 FLAG_NAMES and STEM_NAMES because of change of above constant
3457 Sun Jul 12 23:47:54 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3459 * perl/util.i.in: Fix that array OP_NAMES, DB_NAMES, FLAG_NAMES
3460 and STEM_NAES could contain values correctory.
3461 * perl/Makefile.am: Fix a spelling mistake.
3463 Mon Jul 06 05:50:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3465 * perl/Makefile.am,perl/util.i.in: Add some hashes such as EXPORT_TAGS
3466 for exporter module. And add arrays OP_NAMES, DB_NAMES, FLAG_NAMES and
3467 STEM_NAMES to util.i.in.
3468 * perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/:Rename directory
3469 name 'Xapian' to 'lib' to process Test::Pod.
3471 Sun Jun 28 20:44:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3473 * configure.ac,perl/util.i,perl/util.i.in: Add VERSION variable
3474 into Xapian.pm. To do this, add #define directive into perl/util.i
3475 and get version number from configure.
3477 Sun Jun 28 17:56:03 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3479 * perl/Makefile.am: To override module name (from 'xapian'
3480 to 'Search::Xapian') add swig's '-module Search::Xapian' option,
3481 change test environment from 'perl' to 'prove', and change directory
3482 to install Xapian.pm.
3483 * configure.ac: Remove '/auto/Search/Xapian' from PERL_LIB variable,
3484 and add dot into PERL_SO variable.
3486 Mon Jun 22 02:53:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3488 * configure.ac,perl/Makefile.am: Add configure test to get appropriate
3489 setting for directories to install perl files into. Also add test to
3490 get perl module extension.
3491 * perl/util.i: Add %rename directive to rename "next()" function in
3492 xapian-bindings/xapian.i and "next(Xapian::weight min_wt)" function
3493 in xapian-core/include/xapian/postingsource.h because these functions
3494 conflicts perl's "next" keyword.
3496 Sun Jun 21 21:45:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3498 * perl/xapian.pm: remove a generated file (xapian.pm) from repository.
3499 * ChangeLog: add log message of revision 12910 (Mon Jun 15 17:58:09 GMT 2009).
3501 Mon Jun 15 17:58:09 GMT 2009 Kosei Moriyama <cou929@gmail.comm>
3503 * Makefile.am,configure.ac: Add --with-perl configure option,
3504 and add configure test to get appropriate setting for include
3506 * perl/Makefile.am, perl/docs/Makefile.am,
3507 perl/docs/examples/, perl/docs/index.html,
3508 perl/t/, perl/util.i, perl/xapian.pm: Add perl subdirectory to
3511 Wed Aug 25 15:15:36 GMT 2010 Olly Betts <olly@survex.com>
3513 * configure.ac: Use sys.version_info tuple, rather than string splicing
3514 which assumes the Python "major.minor" is 3 characters (which would
3515 fail if Python 2.10 were ever released, for example).
3517 Tue Aug 24 06:02:17 GMT 2010 Olly Betts <olly@survex.com>
3519 * NEWS,configure.ac: Update for 1.2.3.
3521 Tue Aug 24 05:09:10 GMT 2010 Olly Betts <olly@survex.com>
3523 * xapian-bindings.spec.in: Don't run autoreconf - it's no longer
3526 Sun Jun 27 05:24:00 GMT 2010 Olly Betts <olly@survex.com>
3528 * NEWS,configure.ac: Update for 1.2.2.
3530 Sat Jun 26 16:01:26 GMT 2010 Olly Betts <olly@survex.com>
3532 * NEWS.SKELETON: Template NEWS entry.
3534 Thu Jun 24 15:19:10 GMT 2010 Olly Betts <olly@survex.com>
3536 * php/util.i: COMPILE_DL_XAPIAN is no longer used now we have dropped
3537 PHP4 support, so remove.
3539 Tue Jun 22 15:18:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3541 * python/pythontest3.py,python/smoketest3.py: Update python3 tests
3542 to match the changes in the python 2 versions. (They're not
3543 expected to work currently, though, due to unicode handling
3544 problems with the python 3 wrappers.)
3546 Tue Jun 22 15:17:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3548 * python/extra.i: Remove wrapping of QueryParser.set_stemmer() and
3549 TermGenerator.set_stemmer(), which isn't needed with the better
3550 way of handling ownership of python stemmer subclasses which Olly
3551 committed in r14742.
3553 Tue Jun 22 13:42:27 GMT 2010 Olly Betts <olly@survex.com>
3555 * NEWS,configure.ac: Update for 1.2.1.
3557 Tue Jun 22 13:23:49 GMT 2010 Olly Betts <olly@survex.com>
3559 * csharp/Makefile.am: Now get StemImplementation.cs instead of
3560 SWIGTYPE_p_Xapian__StemImplementation.cs.
3561 * java-swig/Makefile.am: Add StemImplementation.java.
3563 Tue Jun 22 13:22:10 GMT 2010 Olly Betts <olly@survex.com>
3565 * csharp/util.i,java-swig/util.i: XAPIAN_SWIG_NO_DISOWN is no longer
3566 needed, so revert that.
3568 Tue Jun 22 11:18:41 GMT 2010 Olly Betts <olly@survex.com>
3570 * xapian.i: We don't need to use the DISOWN typemap now.
3572 Tue Jun 22 10:55:03 GMT 2010 Olly Betts <olly@survex.com>
3574 * python/extra.i: Call __disown__() on the StemImplementation rather
3575 than storing a reference to it.
3577 Tue Jun 22 10:19:49 GMT 2010 Olly Betts <olly@survex.com>
3579 * python/smoketest2.py: Add coverage for wrapping the same MyStemmer
3580 in a xapian.Stem more than once.
3582 Tue Jun 22 10:17:23 GMT 2010 Olly Betts <olly@survex.com>
3584 * python/smoketest2.py: Check that all MyStemmer objects get deleted,
3585 and that none get deleted more than once.
3587 Tue Jun 22 08:29:11 GMT 2010 Richard Boulton <richard@tartarus.org>
3589 * python/extra.i: Wrap Stem.__init__, QueryParser.set_stemmer, and
3590 TermGenerator.set_stemmer to put a reference to the python
3591 object supplied into the object which will be using it. This
3592 ensures that the python object doesn't get deleted too soon, and
3593 hopefully fixes #448.
3594 * python/smoketest2.py: Modify test so that a reference to the
3595 newly created stemmer objects isn't explicitly held, to check
3596 that automatic references are being held correctly.
3598 Mon Jun 21 13:17:01 GMT 2010 Olly Betts <olly@survex.com>
3600 * NEWS: Sync with 1.0.21 and update from ChangeLog.
3602 Mon Jun 21 05:58:52 GMT 2010 Olly Betts <olly@survex.com>
3604 * python/smoketest2.py,xapian.i: Sort out disowning of
3605 StemImplementation so you don't need to call __disown__() explicitly.
3608 Sat Jun 12 11:57:55 GMT 2010 Olly Betts <olly@survex.com>
3610 * python/pythontest2.py: Fix testcase weight_normalise - for a
3611 non-existent term, get_max_possible() can now return zero so you
3612 can't calculate the reciprocal of it.
3614 Sat Jun 12 06:25:08 GMT 2010 Olly Betts <olly@survex.com>
3616 * python/util.i: Add workaround so xapian.BAD_VALUENO is a constant
3617 rather than variable which can't be written to. (ticket#297)
3618 * python/smoketest2.py: Add regression test for this by checking that
3619 xapian.cvar doesn't exist.
3621 Thu Jun 10 04:26:31 GMT 2010 Olly Betts <olly@survex.com>
3623 * xapian.i: Change MatchDecider and ExpandDecider dtors to be
3624 declarations rather than empty definitions (should make no
3625 difference, but it's cleaner if they match the Xapian headers).
3627 Wed Jun 09 13:44:25 GMT 2010 Olly Betts <olly@survex.com>
3629 * xapian.i: Only mark Xapian::StemImplementation as a director class if
3630 we aren't ignoring it.
3632 Wed Jun 09 13:36:54 GMT 2010 Olly Betts <olly@survex.com>
3634 * python/Makefile.am: Fix cleaning of test directories to use "rm -rf"
3635 rather than "rm -f".
3637 Thu Jun 03 15:21:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3639 * csharp/Makefile.am: Add missing
3640 SWIGTYPE_p_Xapian__StemImplementation.cs file.
3642 Tue Jun 01 16:23:23 GMT 2010 Olly Betts <olly@survex.com>
3644 * csharp/util.i,java-swig/util.i,python/generate-python-exceptions,
3645 python/smoketest2.py,xapian.i: Wrap Xapian::StemImplementation.
3646 Currently only tested for Python, and requires explicit use of
3649 Thu May 27 22:30:54 GMT 2010 Olly Betts <olly@survex.com>
3651 * xapian.i: Ignore Xapian::StemImplementation for now so that the
3652 tree builds while I sort out wrapping it properly.
3654 Thu May 27 09:34:13 GMT 2010 Olly Betts <olly@survex.com>
3656 * php/except.i: zend_throw_exception() returns, so we should return
3657 control to PHP directly after calling it to avoid needless extra
3658 work and possible issues.
3660 Wed May 19 09:12:36 GMT 2010 Richard Boulton <richard@tartarus.org>
3662 * python/extra.i: Ensure that __all__ is populated after local
3663 symbols are deleted - this fixes "from xapian import *". Fixes
3665 * python/pythontest2.py,python/test_xapian_star.py: Add a test that
3666 "from xapian import *" works - unfortunately, this requires a
3667 separate file, since the syntax is only valid at module level,
3668 and we don't want to pollute the namespace of the rest of the
3671 Sun May 16 13:27:17 GMT 2010 Olly Betts <olly@survex.com>
3673 * java-swig/Makefile.am: Update list of generated java sources.
3675 Sun May 16 12:05:29 GMT 2010 Olly Betts <olly@survex.com>
3677 * Makefile.am,configure.ac,guile/Makefile.am,guile/util.i: Remove
3678 non-functional disabled guile bindings left over from Open Muscat
3679 days - if someone wanted to add guile bindings, it would be easier to
3682 Tue May 04 19:47:40 GMT 2010 Richard Boulton <richard@tartarus.org>
3684 * python/replicationtest2.py: Some modifications to the replication
3685 test to check that changesets get applied correctly.
3687 Tue May 04 15:26:53 GMT 2010 Olly Betts <olly@survex.com>
3689 * python/smoketest2.py: Check len(mset) works (improving test coverage
3690 of Python-specific wrapping).
3692 Wed Apr 28 10:43:28 GMT 2010 Olly Betts <olly@survex.com>
3694 * NEWS: Sync with 1.0.20.
3696 Wed Apr 28 10:41:45 GMT 2010 Olly Betts <olly@survex.com>
3698 * configure.ac: Tell libtool not to link in deplibs on platforms where
3699 we know they aren't needed.
3700 * configure.ac: On Linux, extract the library search path from ldconfig
3701 which gives us the default entries reliably.
3702 * NEWS,configure.ac: 1.2.0.
3704 Wed Apr 21 03:09:49 GMT 2010 Olly Betts <olly@survex.com>
3706 * configure.ac: Fix typo so path to ruby is reported in Ruby < 1.8 is
3709 Tue Apr 20 11:57:03 GMT 2010 Olly Betts <olly@survex.com>
3711 * python/Makefile.am: Set a sh trap to clean up any .pyc files created
3712 by running a testsuite program. Remove *.pyc (not just
3713 testsuite.pyc) on "make clean".
3715 Tue Apr 20 11:06:55 GMT 2010 Olly Betts <olly@survex.com>
3717 * python/Makefile.am: Set PYTHONDONTWRITEBYTECODE=1 in the environment
3718 to prevent generating .pyc files in srcdir for Python >= 2.6. Partly
3719 addresses ticket#315.
3721 Thu Apr 15 04:36:01 GMT 2010 Olly Betts <olly@survex.com>
3723 * NEWS,configure.ac: Update for 1.1.5.
3725 Wed Mar 03 06:25:54 GMT 2010 Olly Betts <olly@survex.com>
3727 * tcl8/docs/index.html: Document WritableDatabase's close method as
3728 a way to sidestep the whole destructor issue. (ticket#62)
3729 Improve wording in a few places.
3731 Mon Feb 15 14:01:20 GMT 2010 Olly Betts <olly@survex.com>
3733 * configure.ac: Update for 1.1.4.
3735 Mon Feb 15 13:46:41 GMT 2010 Olly Betts <olly@survex.com>
3737 * NEWS: Fix typo in 1.1.3 NEWS. Add missing note that 1.1.3
3738 includes all relevant changes from 1.0.15-1.0.17. Add note that
3739 1.1.4 includes all relevant changes from 1.0.18.
3741 Mon Feb 15 13:17:39 GMT 2010 Olly Betts <olly@survex.com>
3743 * NEWS: Update from ChangeLog and 1.0.18.
3745 Mon Feb 15 12:17:03 GMT 2010 Olly Betts <olly@survex.com>
3747 * php/util.i: Remove (C) header since the code it was added for was
3750 Fri Feb 05 11:42:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3752 * csharp/Makefile.am,php/smoketest.php,php/util.i,python/extra.i,
3753 python/pythontest2.py,python/util.i: Update to match the removal
3754 of ValueCountMatchSpy from core.
3756 Wed Feb 03 17:52:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3758 * xapian.i: Add wrappers for Database::get_doclength_lower_bound(),
3759 Database::get_doclength_upper_bound(),
3760 Database::get_wdf_upper_bound() for all languages. Also, expose
3761 the skip_to() and check() methods on ValueIterator, and expose
3762 Database::valuestream_begin() and Database::valuestream_end().
3764 * python/: Add ValueStreamItem and ValueStreamIter to wrap the
3765 iterators returned from the valuestream methods. Wrap and
3766 replace the C++ valuestream_begin() and valuestream_end() methods
3767 with a Database.valuestream() method which returns a
3768 ValueStreamIter. Add a test for this (test_valuestream_iter()).
3769 * ruby/: Add safe wrapper for the valuestream iterator, add a
3770 "docid" member to the Value wrapper for ValueIterator, and add a
3773 Wed Feb 03 15:17:27 GMT 2010 Richard Boulton <richard@tartarus.org>
3775 * ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Wrap and test
3776 ValueCountMatchSpy::values_begin() and values_end() for ruby.
3778 Wed Feb 03 15:11:39 GMT 2010 Richard Boulton <richard@tartarus.org>
3780 * python/docs/index.html: Document ValueCountMatchSpy.values() and
3783 Wed Feb 03 15:09:09 GMT 2010 Richard Boulton <richard@tartarus.org>
3785 * python/extra.i,python/pythontest2.py: Wrap the
3786 ValueCountMatchSpy::values_begin() and values_end() methods as a
3787 values() pythonic iterator.
3789 Wed Feb 03 13:37:22 GMT 2010 Richard Boulton <richard@tartarus.org>
3791 * python/util.i: Remove unused typemap pair which was used for
3792 wrapping the old ValueCountMatchSpy::get_top_values() method.
3794 Wed Feb 03 13:22:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3796 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
3797 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Update to add
3798 support and tests for the new TermIterator-based
3799 ValueCountMatchSpy::top_values methods. Also for the removal of
3800 StringAndFrequency from the API.
3802 Tue Feb 02 15:28:28 GMT 2010 Richard Boulton <richard@tartarus.org>
3804 * python/Makefile.am: Comment out replicationtest by default again;
3805 it's still not reliable.
3807 Tue Feb 02 15:22:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3809 * csharp/Makefile.am: Remove one more reference to NumericRange
3810 which slipped through the net.
3812 Tue Feb 02 15:18:57 GMT 2010 Richard Boulton <richard@tartarus.org>
3814 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,xapian.i:
3815 Remove NumericRanges from trunk - their API is still uncertain,
3816 so I want to do a bit more development work on them on the
3817 matchspy branch before committing to support them for several
3820 Tue Feb 02 14:05:07 GMT 2010 Richard Boulton <richard@tartarus.org>
3822 * python/Makefile.am: replicationtest.py should be working now, so
3823 re-enable it. If it still fails occasionally, I'd like to
3824 investigate why; it works for me.
3826 Tue Feb 02 14:03:26 GMT 2010 Richard Boulton <richard@tartarus.org>
3828 * python/replicationtest2.py: Fix the replication test to work; was
3829 broken by the change to chert as the default database format.
3830 The tests needs to fiddle with the database's uuid to simulate
3831 various situations, so now needs to fiddle with the iamchert file
3832 instead of the uuid file.
3834 Tue Feb 02 13:52:17 GMT 2010 Richard Boulton <richard@tartarus.org>
3836 * xapian-head.i: Remove <xapian/replication.h> include which I'd
3839 Tue Feb 02 13:02:00 GMT 2010 Richard Boulton <richard@tartarus.org>
3841 * xapian.i: Remove the replication API from the bindings. Access
3842 to replication, for now, is via the command-line scripts: this is
3843 similar to the access to running a remote database server, and
3844 the access to database compaction and checking. See ticket #347
3845 for some commentary.
3847 Tue Feb 02 12:56:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3849 * php/smoketest.php,php/util.i,python/extra.i,python/pythontest2.py:
3850 Add copyright lines missed from the previous two commits.
3852 Tue Feb 02 12:37:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3854 * php/smoketest.php,php/util.i: Add typemap to convert the output
3855 for ValueCountMatchSpy::get_values() to an array, and test for it.
3858 Tue Feb 02 11:46:59 GMT 2010 Richard Boulton <richard@tartarus.org>
3860 * python/extra.i,python/pythontest2.py: Fix bug in
3861 Enquire.clear_matchspies(), and add regression test.
3863 Tue Dec 22 23:09:03 GMT 2009 Olly Betts <olly@survex.com>
3865 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/docs/generate-rdoc-stubs,
3866 ruby/generate-rdoc-stubs: Adjust the rdoc generation code to avoid
3867 including a reference to a mysterious "rdoc.rb" with an ugly path.
3869 Tue Dec 22 12:37:20 GMT 2009 Olly Betts <olly@survex.com>
3871 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
3872 php/docs/index.html,python/docs/index.html,ruby/docs/index.html,
3873 tcl8/docs/index.html,xapian-head.i,xapian.i: Update for the new
3876 Fri Dec 18 00:47:34 GMT 2009 Olly Betts <olly@survex.com>
3878 * ruby/docs/Makefile.am: Fix the fixed fix for the previous fix.
3880 Thu Dec 17 14:52:03 GMT 2009 Olly Betts <olly@survex.com>
3882 * ruby/docs/Makefile.am: Fix fix for previous fix.
3884 Thu Dec 17 00:12:45 GMT 2009 Olly Betts <olly@survex.com>
3886 * ruby/docs/Makefile.am: Fix previous fix.
3888 Wed Dec 16 12:56:45 GMT 2009 Olly Betts <olly@survex.com>
3890 * ruby/docs/Makefile.am: Fix previous change to work in VPATH build.
3892 Wed Dec 16 08:21:43 GMT 2009 Olly Betts <olly@survex.com>
3894 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/generate-rdoc-stubs,
3895 ruby/xapian.rb: Generate entries in the rdocs for all classes which
3896 aren't documented via xapian.rb. Fixes ticket#417.
3898 Mon Dec 07 01:15:49 GMT 2009 Olly Betts <olly@survex.com>
3900 * ruby/docs/Makefile.am: Run rdoc with the current directory set to
3901 where xapian.rb is so we don't build absolute paths into the
3902 generated HTML. Should address part of ticket#417.
3904 Thu Dec 03 06:07:07 GMT 2009 Olly Betts <olly@survex.com>
3906 * php/util.i: Use const string & instead of string.
3908 Wed Nov 18 10:56:54 GMT 2009 Olly Betts <olly@survex.com>
3910 * NEWS,configure.ac: Update for 1.1.3.
3912 Wed Nov 18 02:56:22 GMT 2009 Olly Betts <olly@survex.com>
3914 * NEWS: Update from 1.0.17 and ChangeLog.
3916 Tue Nov 03 06:09:39 GMT 2009 Olly Betts <olly@survex.com>
3918 * java/native/Enquire.cc: Fix memory leak when passing a matchdecider
3919 to Enquire::get_mset().
3921 Thu Oct 29 09:40:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3923 * php/except.i: Add a call to TSRMLS_FETCH to start of
3924 XapianExceptionHandler(), as seems to be required by PHP if
3925 compiled with multithreaded mode. Fixes #411.
3927 Thu Sep 17 15:20:14 GMT 2009 Olly Betts <olly@survex.com>
3929 * xapian.i: Update the comment about visibility.h and deprecated.h and
3932 Thu Sep 17 15:13:55 GMT 2009 Olly Betts <olly@survex.com>
3934 * csharp/Makefile.am,python/generate-python-exceptions,xapian.i:
3935 Update for the Sorter->KeyMaker changes.
3937 Thu Sep 17 13:11:47 GMT 2009 Olly Betts <olly@survex.com>
3939 * NEWS: Update from ChangeLog.
3941 Thu Sep 17 12:59:22 GMT 2009 Olly Betts <olly@survex.com>
3943 * xapian.i: Ignore PostingSource::serialise(), Weight::serialise()
3944 and Weight::unserialise() as they aren't useful to wrap.
3946 Tue Sep 15 02:11:06 GMT 2009 Olly Betts <olly@survex.com>
3948 * python/Makefile.am: Restore the "./" path to the sourced file
3949 libtoolconfig.tmp as ksh requires it.
3951 Fri Sep 11 00:50:38 GMT 2009 Olly Betts <olly@survex.com>
3953 * xapian-bindings.spec.in: Add support for building RPM packages of
3954 Ruby, from a patch from Ben Walton.
3956 Fri Sep 11 00:28:47 GMT 2009 Olly Betts <olly@survex.com>
3958 * xapian-bindings.spec.in: Improve package summaries - the files are
3959 needed to *use* scripts as well as to develop them. Use "Tcl"
3960 instead of "TCL" as the former is more conventional.
3962 Thu Sep 10 13:33:57 GMT 2009 Olly Betts <olly@survex.com>
3964 * configure.ac: Comment tweak.
3966 Thu Sep 10 13:24:52 GMT 2009 Olly Betts <olly@survex.com>
3968 * configure.ac: Default to looking for xapian-config-1.1.
3970 Thu Sep 10 06:49:10 GMT 2009 Olly Betts <olly@survex.com>
3972 * NEWS: Sync changes from 1.0.15 and 1.0.16 and update from ChangeLog.
3974 Wed Aug 26 14:44:33 GMT 2009 Olly Betts <olly@survex.com>
3976 * ruby/docs/index.html: www.xapian.org -> xapian.org.
3978 Wed Aug 26 05:37:25 GMT 2009 Olly Betts <olly@survex.com>
3980 * python/Makefile.am: No need for "./" relative path on sourced file.
3982 Mon Aug 17 12:46:17 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3984 * csharp/Makefile.am: Add missing assemblys.
3986 Mon Aug 17 07:39:32 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3988 * python/extra.i: Add support to the NumericRanges object to get
3989 the ranges as a dict.
3990 * python/util.i: Fix a memory leak on error (in theory - I've not
3991 got a way to generate this error, so haven't been able to produce
3992 the leak or test the fix).
3993 * python/pythontest2.py: Update tests to cover new NumericRanges
3996 Mon Aug 10 13:09:12 GMT 2009 Olly Betts <olly@survex.com>
3998 * csharp/Makefile.am,xapian.i: Update for SerialisationContext to
4001 Sun Aug 02 12:21:05 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4003 * python/pythontest3.py: Sync with pythontest2.
4005 Sun Aug 02 12:19:24 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4007 Merge from matchspy branch
4008 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
4009 python/util.i,xapian.i: Add support for new MatchSpy class, and
4010 the matchspy.h header.
4012 Sat Aug 01 10:07:02 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4014 * python/pythontest3.py: Update to match pythontest2.py (after 2to3
4017 Sat Aug 01 09:58:32 GMT 2009 Olly Betts <olly@survex.com>
4019 * php/Makefile.am,php/smoketest.php,php/smoketest5.php: Merged the PHP
4020 "smoketest" back together now we don't need to support PHP4 as well.
4022 Sun Jul 26 21:55:47 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4024 * python/doxy2swig.py: Tell textwrap not to break long words -
4025 fixes a load of places in the documentation comments where C++
4026 names and type names were cut in two. Also fixes a problem on
4027 the postingsource branch where actual python identifiers were
4028 being cut in two (for some very long identifiers).
4030 Thu Jul 23 04:13:02 GMT 2009 Olly Betts <olly@survex.com>
4032 * NEWS,configure.ac: Update for 1.1.2.
4034 Tue Jul 21 17:12:06 GMT 2009 Olly Betts <olly@survex.com>
4036 * NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.
4038 Tue Jul 21 04:38:51 GMT 2009 Olly Betts <olly@survex.com>
4040 * python/extra.i: Sort out iterators to work with the Python 3
4041 next()/__next__() changes. (ticket#246)
4043 Tue Jul 21 03:37:38 GMT 2009 Olly Betts <olly@survex.com>
4045 * python/extra.i: Python 3 doesn't support unbound methods, so use
4046 lambda to work around this in a way which also works with Python 2.
4048 Mon Jul 20 14:51:10 GMT 2009 Olly Betts <olly@survex.com>
4050 * python/util.i: Remove unused empty Xapian::PythonProblem C++ class.
4052 Mon Jul 20 14:46:24 GMT 2009 Olly Betts <olly@survex.com>
4054 * python/pythontest2.py,python/pythontest3.py: Cast the result of
4055 integer division to an integer - in Python 3 this returns a float
4056 and even in Python 2 the cast makes the intent clearer.
4058 Mon Jul 20 14:03:39 GMT 2009 Olly Betts <olly@survex.com>
4060 * python/extra.i,python/util.i: Use a multi-arg argout typemap to
4061 avoid having to mess around with ValueRangeProcessor.__call__().
4063 Mon Jul 20 12:54:51 GMT 2009 Olly Betts <olly@survex.com>
4065 * python/extra.i,python/util.i: Use %rename for renaming get_hit to
4066 _get_hit_internal. Taken from patch in ticket #246.
4068 Mon Jul 20 12:32:10 GMT 2009 Olly Betts <olly@survex.com>
4070 * python/extra.i,python/util.i: Rename metadata_keys_begin and
4071 metadata_keys_end using %rename rather than using delete and
4072 assignment in Python. This should reduce start-up time for the
4073 Python bindings a fraction. Taken from Peter Kelm's patch in
4076 Mon Jul 20 11:58:30 GMT 2009 Olly Betts <olly@survex.com>
4078 * python/Makefile.am: Need to run doxy2swig.py from $(srcdir).
4080 Mon Jul 20 03:31:44 GMT 2009 Olly Betts <olly@survex.com>
4082 * configure.ac,python/doxy2swig.py,python/doxy2swig.py.in: We
4083 explicitly run doxy2swig.py from the Makefile using $(PYTHON) so
4084 there is no need to AC_CONFIG_FILES it to substitute @PYTHON@ in the
4087 Mon Jul 20 02:40:09 GMT 2009 Olly Betts <olly@survex.com>
4089 * python/pythontest3.py,python/smoketest3.py: Fix "from .testsuite
4090 import *" to "from testsuite import *".
4092 Fri Jun 26 10:24:51 GMT 2009 Olly Betts <olly@survex.com>
4094 * ruby/smoketest.rb: Add regression test for failing to accept an
4095 integer value > MAXINT for a double parameter, fixed by upgrading
4096 to using the latest SWIG SVN trunk.
4098 Wed Jun 10 01:12:23 GMT 2009 Olly Betts <olly@survex.com>
4100 * configure.ac: Update for 1.1.1.
4102 Tue Jun 09 14:01:04 GMT 2009 Olly Betts <olly@survex.com>
4104 * NEWS: Update for 1.1.1.
4106 Wed May 27 05:52:20 GMT 2009 Olly Betts <olly@survex.com>
4108 * README: Add note about GSoC 2009 project to reimplement Perl bindings
4111 Wed May 20 20:55:13 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4113 * xapian.i: Add overloaded version of set_collapse_key() to
4114 bindings which exposes the new parameter.
4116 Tue May 19 09:21:33 GMT 2009 Olly Betts <olly@survex.com>
4118 * python/docs/index.html,python/extra.i,python/smoketest2.py,
4119 tcl8/docs/index.html,tcl8/smoketest.tcl,xapian.i: Wrap
4120 Query::MatchAll and Query::MatchNothing for Python and Tcl8 and
4121 document how they are wrapped (ticket#158).
4122 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html:
4123 Document that Query::MatchAll and Query::MatchNothing aren't wrapped
4124 for these languages yet, and to use Query("") and Query() instead.
4126 Tue May 19 09:17:41 GMT 2009 Olly Betts <olly@survex.com>
4128 * php/util.i: %pragma(php4) -> %pragma(php) (purely cosmetic change).
4130 Tue May 19 04:48:06 GMT 2009 Olly Betts <olly@survex.com>
4132 * configure.ac: Don't test an empty $CSC further which saves a fork
4133 and avoids an odd looking message.
4135 Sat May 16 08:51:15 GMT 2009 Olly Betts <olly@survex.com>
4137 * python/docs/examples/simplematchdecider.py: Pick "avoid_value" from
4138 the second parameter, not the third.
4139 * python/docs/examples/simplematchdecider.py,
4140 python/docs/examples/simplesearch.py: Use str.join() for simpler,
4143 Mon May 11 12:20:31 GMT 2009 Olly Betts <olly@survex.com>
4145 * xapian.i: Oops, make that PostingSource::register_matcher_().
4147 Mon May 11 10:50:21 GMT 2009 Olly Betts <olly@survex.com>
4149 * xapian.i: Fix for PostingSource::set_matcher_() change.
4151 Sat May 09 07:59:10 GMT 2009 Olly Betts <olly@survex.com>
4153 * xapian-head.i: Update to work with new ValueIteratorEnd_ proxy
4156 Wed May 06 06:45:22 GMT 2009 Olly Betts <olly@survex.com>
4158 * README,python/docs/index.html: Update documentation for mod_python
4159 issues and also document the related mod_wsgi issue. The status
4160 is now that everything seems to work if you stick to the main
4161 interpreter (ticket#185 and ticket#364).
4163 Tue May 05 13:11:43 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4165 Merge from opsynonym branch:
4166 * python/smoketest2.py,python/smoketest3.py: Update tests with
4167 FLAG_PARTIAL to expect SYNONYM in generated query.
4169 Wed Apr 29 15:42:37 GMT 2009 Olly Betts <olly@survex.com>
4171 * README: Note that the testsuite fails due to a bug in the test/unit
4172 module in Ruby 1.9.0, but applications using the bindings should
4173 work, and that the testsuite works with Ruby 1.9.1. Drop all mention
4174 of Ruby 1.6.x as that appears to be completely dead both upstream
4177 Wed Apr 29 13:06:55 GMT 2009 Olly Betts <olly@survex.com>
4179 * configure.ac: Update required SWIG version to r11194 to get better
4180 Python 3 support (ticket#346) and to eliminate superfluous GIL
4181 locking calls (ticket#185).
4183 Mon Apr 27 08:43:37 GMT 2009 Olly Betts <olly@survex.com>
4185 * xapian-bindings.spec.in: Update for rename of XapianSharp.so to
4188 Mon Apr 27 08:37:22 GMT 2009 Olly Betts <olly@survex.com>
4190 * xapian-bindings.spec.in: Update for where we now install the tcl8
4193 Thu Apr 23 06:59:22 GMT 2009 Olly Betts <olly@survex.com>
4195 * Makefile.am,configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am,
4196 generic/generic.mk,guile/Makefile.am,java-swig/Makefile.am,
4197 java/Makefile.am,java/native/Makefile.am,java/org/xapian/Makefile.am,
4198 java/org/xapian/errors/Makefile.am,
4199 java/org/xapian/examples/Makefile.am,php/Makefile.am,
4200 php/docs/Makefile.am,python/Makefile.am,python/docs/Makefile.am,
4201 ruby/Makefile.am,ruby/docs/Makefile.am,tcl8/Makefile.am,
4202 tcl8/docs/Makefile.am: Fix things up so that in a bootstrapped SVN
4203 tree, automatic regeneration of autotools-generated files uses the
4204 in-tree versions of the autotools.
4205 * configure.ac,java/Makefile.am,java/org/Makefile.am: Eliminate
4206 java/org/Makefile.am which just forwards to its "xapian"
4209 Wed Apr 22 13:57:58 GMT 2009 Olly Betts <olly@survex.com>
4213 Wed Apr 22 13:51:21 GMT 2009 Olly Betts <olly@survex.com>
4215 * NEWS: Update for 1.1.0.
4217 Wed Apr 22 11:55:48 GMT 2009 Olly Betts <olly@survex.com>
4219 * configure.ac: Put XAPIAN_CXXFLAGS in CXXFLAGS (rather than
4220 AM_CXXFLAGS) for the duration of configure, since AM_CXXFLAGS isn't
4221 used for test compiles by configure (we need it as it may include
4222 options to put the compiler into ISO C++ mode).
4224 Tue Apr 21 06:40:37 GMT 2009 Olly Betts <olly@survex.com>
4226 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so
4227 update the instructions to suggest users use this standard location
4228 for installing without root access.
4230 Tue Apr 21 05:59:29 GMT 2009 Olly Betts <olly@survex.com>
4232 * NEWS: Clean up for release.
4234 Mon Apr 20 14:23:47 GMT 2009 Olly Betts <olly@survex.com>
4236 * NEWS: Sync changes from 1.0.12.
4238 Sat Apr 18 08:25:11 GMT 2009 Olly Betts <olly@survex.com>
4240 * INSTALL: Speak of 0.9.3 in the past tense. Add a note about being
4241 able to pass variables to configure to pick which of several
4242 parallel installations of a language to build for.
4244 Sun Apr 05 03:59:31 GMT 2009 Olly Betts <olly@survex.com>
4246 * NEWS: Update from ChangeLog.
4248 Fri Mar 27 03:27:03 GMT 2009 Olly Betts <olly@survex.com>
4250 * csharp/util.i,java-swig/util.i,ruby/util.i: Remove %rename
4251 directives for get_sumpart_needs_doclength as this method no longer
4254 Wed Mar 25 17:31:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4256 * python/pythontest2.py: Change deletion of database objects to
4257 Database.close() calls, which should be more robust across
4258 different python implementations, and should also avoid problems
4259 on windows when the temporary database directories are deleted if
4260 other objects which aren't deleted have lingering references to
4263 Tue Mar 24 12:37:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4265 * ruby/Makefile.am: Fix dependency target in ruby's xapian_wrap.d
4268 Mon Mar 23 11:49:10 GMT 2009 Olly Betts <olly@survex.com>
4270 * python/generate-python-exceptions,python/pythontest2.py,
4271 python/pythontest3.py: Update for PostingSource::reset() ->
4272 PostingSource::init() rename.
4274 Wed Mar 18 06:05:31 GMT 2009 Olly Betts <olly@survex.com>
4276 * python/docs/index.html: Non-pythonic iterators now being removed
4277 in 1.3.0, not 1.2.0.
4279 Mon Mar 16 14:05:50 GMT 2009 Olly Betts <olly@survex.com>
4281 * NEWS: Sync with 1.0.11.
4283 Wed Mar 11 11:31:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4285 * python/pythontest2.py,python/pythontest3.py: Round the weights
4286 returned for the OP_SCALE_WEIGHT test, to avoid failing due to
4289 Wed Mar 11 11:18:57 GMT 2009 Olly Betts <olly@survex.com>
4291 * xapian.i: Updated to wrap xapian/weight.h directly, such that it
4292 builds with the new Xapian::Weight class.
4294 Wed Mar 11 11:15:18 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4296 * python/testsuite2.py,python/testsuite3.py: Remove bare except:
4297 handlers from testsuite, so ctrl-C stop the whole testsuite, not
4300 Wed Mar 11 00:06:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4302 * python/pythontest3.py: Update to match pythontest2.py (after
4303 passing through 2to3).
4305 Tue Mar 10 18:02:08 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4307 * python/extra.i,python/pythontest2.py: Preserve posting sources on
4308 queries when set on enquire, and when retrieved from enquire
4311 Tue Mar 10 17:46:48 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4313 * python/extra.i: When making a query object, keep references to
4314 posting sources in the query. Copy references for sub queries
4315 into parent queries, too.
4316 * python/pythontest2.py: Modify test to include regression test for
4319 Tue Mar 10 17:06:56 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4321 * python/extra.i: Add better support for deprecation of single
4322 argument form of the Enquire::set_sort_by_* methods, and for
4323 deprecation of the old name ("ascending") for the second
4324 argument. Add deprecation warnings to the remaining three
4325 set_sort_by_*value* methods, too.
4327 Tue Mar 10 09:14:44 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4329 * python/extra.i: Keep references to Stoppers and Sorters set on
4330 objects, to avoid segfaults when they go out of scope, and add
4331 deprecation warnings for single argument form of the set_sort_by_*
4333 * python/pythontest2.py: Tests for the above.
4335 Thu Mar 05 10:34:38 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4337 * xapian.i: There are now several useful built-in posting sources,
4338 so remove the code which ignores postingsource.h if there aren't
4341 Thu Mar 05 08:01:18 GMT 2009 Olly Betts <olly@survex.com>
4343 * configure.ac: Fix comment to match code.
4345 Wed Mar 04 23:37:29 GMT 2009 Olly Betts <olly@survex.com>
4347 * python/pythontest2.py: Fix comment typo.
4349 Wed Mar 04 23:33:17 GMT 2009 Olly Betts <olly@survex.com>
4351 * php/docs/examples/simpleindex.php5,python/pythontest2.py,
4352 python/pythontest3.py,python/replicationtest2.py,
4353 tcl8/docs/examples/simpleindex.tcl,xapian.i: Update for the
4354 "WritableDatabase::flush()" to "WritableDatabase::commit()" change.
4356 Wed Mar 04 23:23:14 GMT 2009 Olly Betts <olly@survex.com>
4358 * xapian.i: Wrap MSet::get_uncollapsed_matches_lower_bound(),
4359 MSet::get_uncollapsed_matches_estimated(), and
4360 MSet::get_uncollapsed_matches_upper_bound().
4362 Wed Mar 04 16:56:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4364 * python/extra.i: When ValueRangeProcessors are passed to the
4365 QueryParser, keep a list of them so that they're not deleted
4366 until the QueryParser is.
4367 * python/pythontest2.py: Regression test that the proxying works -
4368 this test crashed without the patch to extra.i.
4370 Mon Mar 02 20:45:09 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4372 * python/extra.i: Remove Document_unserialise and
4373 Query_unserialise from API.
4375 Mon Mar 02 10:32:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4377 * csharp/Makefile.am,xapian.i: Update with new serialisation
4380 Mon Mar 02 08:38:36 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4382 * python/pythontest2.py: Extend "database closed" test slightly, to
4383 cover a case which caused a segfault with core before revision
4386 Thu Feb 26 04:09:04 GMT 2009 Olly Betts <olly@survex.com>
4388 * configure.ac,ruby/Makefile.am: Workaround rubyio.h vs ruby/io.h
4389 incompatibility. Fix defaulting of RUBY_INC_ARCH to RUBY_INC.
4391 Thu Feb 26 03:12:11 GMT 2009 Olly Betts <olly@survex.com>
4393 * configure.ac,ruby/Makefile.am: Fixes for Ruby 1.9 compatibility
4396 Mon Feb 16 11:09:20 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4398 * python/generate-python-exceptions,python/pythontest2.py,xapian.i:
4399 Update for new posting source interface.
4401 Sat Feb 07 00:18:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4403 * python/pythontest2.py: Add python test of document and query
4404 serialisation and unserialisation.
4406 Tue Jan 20 13:55:54 GMT 2009 Olly Betts <olly@survex.com>
4408 * ruby/util.i: Fix for Ruby 1.9 compatibility.
4410 Mon Jan 19 23:16:13 GMT 2009 Olly Betts <olly@survex.com>
4412 * configure.ac: Use rubyhdrdir if it exists (it was added at some
4413 point during Ruby 1.9 development). See bug#323.
4415 Tue Jan 06 00:54:51 GMT 2009 Olly Betts <olly@survex.com>
4417 * python/Makefile.am: Temporarily disable replicationtest.py
4418 for now, as it just seems to fail most of the time. See bug#320.
4420 Tue Jan 06 00:43:58 GMT 2009 Olly Betts <olly@survex.com>
4422 * python/Makefile.am: Clean up any left over test databases on "make
4425 Tue Jan 06 00:43:01 GMT 2009 Olly Betts <olly@survex.com>
4427 * python/pythontest2.py: All but two testcases delete the database(s)
4428 they create if they pass, so fix the remaining two to do the same.
4430 Mon Jan 05 04:09:05 GMT 2009 Olly Betts <olly@survex.com>
4432 * configure.ac: Allow Python buildings to be built on Cygwin (taken
4433 from patch 1.0.7-python.patch from Cygwin Ports, and adapted for
4434 Python 3.0 compatibility).
4436 Mon Jan 05 02:14:17 GMT 2009 Olly Betts <olly@survex.com>
4438 * csharp/Makefile.am: Rename the compiled C++ wrapper from
4439 XapianSharp.la to _XapianSharp.la to avoid a name clash on with the
4440 C# assembly XapianSharp.dll on Microsoft Windows.
4442 Mon Jan 05 00:36:48 GMT 2009 Olly Betts <olly@survex.com>
4444 * configure.ac: Allow PHP bindings to be built on Cygwin (patch
4445 1.0.7-php.patch from Cygwin Ports).
4447 Mon Jan 05 00:18:39 GMT 2009 Olly Betts <olly@survex.com>
4449 * configure.ac,ruby/Makefile.am: Allow ruby bindings to be built on
4450 Cygwin (need to pass -lruby there).
4452 Sun Jan 04 23:45:24 GMT 2009 Olly Betts <olly@survex.com>
4454 * configure.ac,tcl8/Makefile.am: Allow tcl8 bindings to be built on
4455 Cygwin (based on patch 1.0.7-tcl.patch from Cygwin Ports).
4457 Mon Dec 29 16:54:54 GMT 2008 James Aylett <james@tartarus.org>
4459 * python/docs/examples/: get_description() is now __str__() in Python.
4461 Fri Dec 26 15:22:01 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4463 * xapian.i: Add Database.close() method.
4465 Tue Dec 23 05:59:02 GMT 2008 Olly Betts <olly@survex.com>
4467 * csharp/xapian_wrap.d ruby/xapian_wrap.d php/xapian_wrap.d i
4468 tcl8/xapian_wrap.d: svn:ignore dependency makefile fragments
4469 generated by swig -MD.
4471 Tue Dec 23 05:55:20 GMT 2008 Olly Betts <olly@survex.com>
4473 * python/: svn:ignore new generated databases.
4475 Tue Dec 23 05:52:54 GMT 2008 Olly Betts <olly@survex.com>
4477 * configure.ac,python/Makefile.am,python/generate-python-exceptions,
4478 python/generate-python-exceptions.in: Explicitly run
4479 generate-python-exceptions using $(PERL) rather than generating it
4480 with AC_OUTPUT just to substitute the "#!" line.
4482 Mon Dec 22 15:08:33 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4484 * python/Makefile.am: Add replicationtest2.py to distribution.
4486 Mon Dec 22 13:48:56 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4488 * python/Makefile.am: Enable the replication test by default, now
4491 Mon Dec 22 13:47:05 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4493 * python/replicationtest.py,python/replicationtest2.py: Make
4494 replication test a bit more stringent, and don't trigger
4495 potential problems with swapping a database back in place by
4496 updating the uuids, so each replicated database is effectively
4497 brand new, as far as replication is concerned.
4499 Sat Dec 20 11:41:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4501 * python/Makefile.am: Pass the default value of PYTHONPATH through
4502 to python tests (just make sure our recently compiled modules are
4503 at the start of it). Pass abs_builddir in the TESTS_ENVIRONMENT
4504 variable, since the replication test needs it.
4505 * python/replicationtest2.py: Add a test (currently failing) of
4506 database replication under heavy concurrent modification load.
4508 Sat Dec 20 10:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4510 * python/pythontest2.py: Fix test of get_eset() to match change in
4511 behaviour of get_eset().
4512 * python/pythontest3.py: Bring up to date with pythontest2.py
4514 Mon Dec 08 03:45:20 GMT 2008 Olly Betts <olly@survex.com>
4516 * debian/: Sync with 1.0 branch.
4518 Mon Dec 08 03:18:22 GMT 2008 Olly Betts <olly@survex.com>
4520 * python/Makefile.am: Need to clean testsuite.pyc from srcdir since
4521 that's where it gets generated as things stand (upstream fix for
4524 Sat Nov 01 01:52:29 GMT 2008 Olly Betts <olly@survex.com>
4526 * NEWS: Sync with 1.0.9 and update from ChangeLog.
4528 Fri Oct 31 22:53:13 GMT 2008 Olly Betts <olly@survex.com>
4530 * python/docs/index.html: Document Python-specific
4531 Database.metadata_keys(prefix) method.
4533 Fri Oct 31 19:22:53 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4535 * python/generate-python-exceptions.in: Convert
4536 XapianSetPythonException to Xapian::SetPythonException, and
4537 export it. This is necessary to allow separately compiled
4538 extension modules to handle xapian errors appropriately.
4540 Thu Oct 09 09:53:39 GMT 2008 Olly Betts <olly@survex.com>
4542 * configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.
4544 Sun Sep 28 14:31:49 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4546 * python/pythontest2.py: Change test_value_mods() to test chert
4547 instead of flint, for extra regression test of recently fixed bug
4548 in chert, and fix doccomment for test function.
4550 Fri Sep 26 19:02:19 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4552 * python/pythontest2.py: Add a test of adding, modifying, and
4553 deleting values. This passed with flint (as committed), but
4554 fails currently if the test is changed to use chert.
4556 Fri Sep 26 04:54:39 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4558 * python/Makefile.am: Add testsuite2.py and testsuite3.py to
4561 Wed Sep 10 15:28:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4563 * python/generate-python-exceptions.in: Back out patch which added
4564 XapianDirectorException to work around exception mangling bug in
4565 swig, now that we're using a version of swig which has the bug
4568 Wed Sep 10 15:21:26 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4570 * ../swig: Update version of swig in use to current HEAD (swig
4571 revision 10831. Changes python import method to avoid giving a
4572 warning with the upcoming 2.6 release (and failing with 2.7 or
4573 later). Also includes a different fix for ticket #289, so we
4574 could back out our XapianDirectorException class now.
4576 No other significant changes in the generated files - several
4577 warning fixes, some rearrangement of the order of variable
4578 declarations, some removal of code which wasn't used anyway.
4580 Fri Sep 05 11:03:38 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4582 * python/pythontest2.py,python/pythontest3.py: Add test for
4583 get_uuid() (not really python specific, but I can't easily add
4584 this test to smoketest because it needs an on-disk database,
4585 which there's no infrastructure in smoketest to clean up).
4587 Fri Sep 05 09:59:02 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4589 * xapian.i: Add Database::get_uuid() to wrappers.
4591 Thu Sep 04 04:30:09 GMT 2008 Olly Betts <olly@survex.com>
4593 * NEWS: Sync with 1.0.8.
4595 Thu Sep 04 04:28:12 GMT 2008 Olly Betts <olly@survex.com>
4597 * configure.ac: Set version to 1.1.0.
4599 Wed Sep 03 06:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4601 * python/generate-python-exceptions.in: Use our own
4602 XapianDirectorException, to avoid the unwanted side effects of
4603 the default SWIG mechanism. Fixes ticket #289.
4604 * python/pythontest2.py,python/pythontest3.py: Add
4605 test_director_exception(), which tests the fix for ticket #289.
4607 Wed Sep 03 05:22:09 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4609 * python/util.i: Fix memory leaks in query constructor typemaps.
4610 Also, remove old, commented out, code which almost certainly had
4611 similar memory leaks - I don't think we're going to want this
4612 code, but if we do, rewriting it by copying the maintained and
4613 working code for the query constructor is less likely to lead to
4616 Mon Aug 04 05:06:46 GMT 2008 Olly Betts <olly@survex.com>
4618 * NEWS: Sync against 1.0.7 release.
4620 Wed Jul 30 01:13:43 GMT 2008 Olly Betts <olly@survex.com>
4622 * python/generate-python-exceptions.in: Fix tiny comment typo.
4624 Mon Jul 21 12:22:02 GMT 2008 Olly Betts <olly@survex.com>
4626 * configure.ac: Put the bug report URL as the third parameter to
4627 AC_INIT. Add proper m4 quoting in a few places (nowhere that
4628 should actually change behaviour). Use "dnl" comments in preference
4629 to "#" comments to help reduce the size of the configure script.
4631 Wed Jul 16 17:45:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4633 * python/: Rename test files to end with ...2.py, and add versions
4634 generated by 2to3 named ...3.py. (2to3 seems to be quite buggy
4635 still, so the generated versions need some hand editing after
4636 running it; in future, we should probably remove the ...3.py
4637 versions and just automatically generate them.)
4639 Thu Jul 10 10:47:50 GMT 2008 Olly Betts <olly@survex.com>
4641 * configure.ac: LT_PREREQ seems to need to be just before LT_INIT.
4643 Wed Jul 09 23:02:02 GMT 2008 Olly Betts <olly@survex.com>
4645 * Makefile.am: Revert dist-hook fix - that problem is caused by using
4646 libtool 1.5.x and we now require 2.2.x.
4647 * configure.ac: Add "LT_PREREQ([2.2.4])" to enforce this requirement.
4648 Use LT_INIT instead of now deprecated AC_PROG_LIBTOOL.
4650 Wed Jul 09 14:52:54 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4652 * Makefile.am: Add $(distdir) to directory names in dist-hook rule
4653 to make it actually work.
4655 Wed Jul 09 14:31:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4657 * Makefile.am: Add dist-hook rule to ensure that the m4 directory
4658 exists; if it doesn't, autoreconf reports "couldn't open
4661 Wed Jul 09 10:46:36 GMT 2008 Olly Betts <olly@survex.com>
4663 * configure.ac: The workaround to avoid probe code for F77, GCJ, and
4664 RC being added to configure is no longer required now that we're
4665 using libtool 2.2 so remove it.
4667 Wed Jul 09 10:30:16 GMT 2008 Olly Betts <olly@survex.com>
4669 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4670 java/Makefile.am,java/native/Makefile.am,php/Makefile.am,
4671 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: More changes
4672 neeed for --enable-quiet support.
4674 Wed Jul 09 10:19:38 GMT 2008 Olly Betts <olly@survex.com>
4676 * configure.ac: Replace AM_CONFIG_HEADER with the more modern
4679 Wed Jul 09 10:17:57 GMT 2008 Olly Betts <olly@survex.com>
4681 * Makefile.am,configure.ac: Add support for "--enable-quiet" like
4682 xapian-core and omega have.
4684 Wed Jul 09 10:14:47 GMT 2008 Olly Betts <olly@survex.com>
4686 * Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
4687 ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.
4689 Tue Jul 01 21:05:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4691 * python/pythontest.py,python/smoketest.py,python/testsuite.py:
4692 Fixes to make tests closer to being compatible with python 3.0.
4694 Mon Jun 30 19:56:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4696 * python/util.i: Fix #if PY_VERSION_HEX statements which aren't
4697 inside %{ %} to be %#if. Similarly for the corresponding #else
4700 Fri Jun 27 00:40:54 GMT 2008 Olly Betts <olly@survex.com>
4702 * NEWS: Update from ChangeLog and against 1.0 branch.
4704 Thu Jun 26 03:08:06 GMT 2008 Olly Betts <olly@survex.com>
4706 * csharp/docs/index.html,php/docs/index.html,python/docs/index.html,
4707 ruby/docs/index.html,tcl8/docs/index.html: Document all the database
4708 factory functions for all languages. Document the library version
4709 functions for all languages.
4711 Thu Jun 26 03:06:43 GMT 2008 Olly Betts <olly@survex.com>
4713 * java/native/: Make passing string from Java to C++ zero-byte safe.
4714 It doesn't appear to be simple to make C++ to Java work though.
4716 Thu Jun 26 00:47:16 GMT 2008 Olly Betts <olly@survex.com>
4718 * ruby/smoketest.rb: Update copyright notice for previous change.
4720 Thu Jun 26 00:02:30 GMT 2008 Olly Betts <olly@survex.com>
4722 * ruby/smoketest.rb: Test the version reporting functions.
4724 Wed Jun 25 21:35:49 GMT 2008 Olly Betts <olly@survex.com>
4726 * ruby/docs/index.html: Document how database factory functions are
4729 Wed Jun 25 21:06:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4731 * python/extra.i: Tidy up the documentation comments for
4734 Tue Jun 24 18:21:12 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4736 * python/doxy2swig.py.in: Adjust to be compatible with python 3.0.
4737 Fortunately, this can be done without breaking it for python 2.x.
4739 Sat Jun 14 23:35:34 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4741 * python/util.i: Fix previous commit - one of the pieces of
4742 conditional code was the wrong way round.
4744 Sat Jun 14 12:09:45 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4746 * python/util.i: Fixes for compilation with python 3.0;
4747 conditionally replace PyString_ methods with PyBytes_ methods.
4749 Mon Jun 02 11:55:23 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4751 * python/Makefile.am: Add modern/xapian_wrap.d to CLEANFILES in
4754 Mon Jun 02 11:54:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4756 * xapian.i: Add support for the new Database methods,
4757 get_value_freq(), get_value_lower_bound() and
4758 get_value_upper_bound().
4759 * python/pythontest.py: Add test of these methods.
4761 Sun Jun 01 15:13:07 GMT 2008 Olly Betts <olly@survex.com>
4763 * configure.ac: Update version to 1.0.7 to match 1.0 branch.
4765 Sun May 25 22:45:36 GMT 2008 Olly Betts <olly@survex.com>
4767 * NEWS: Update from ChangeLog and sync with 1.0 branch.
4769 Sun May 25 17:15:43 GMT 2008 Olly Betts <olly@survex.com>
4771 * xapian-head.i: Fix dummy Chert and Flint Database factory functions,
4772 used when Chert and/or Flint are disabled.
4774 Sat May 24 08:51:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4776 * python/pythontest.py: Rename one of the two test_postingsource()
4777 functions, so that they both get run!
4779 Thu May 22 11:53:23 GMT 2008 Olly Betts <olly@survex.com>
4781 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html,
4782 tcl8/docs/index.html: The "program" version of Remote::open() *is*
4783 now wrapped, so update the documentation.
4785 Thu May 22 11:16:54 GMT 2008 Olly Betts <olly@survex.com>
4787 * python/docs/index.html: Fix typo (Database.synonym and synonym_begin
4788 should be synonyms and synonyms_begin).
4790 Thu May 22 11:07:24 GMT 2008 Olly Betts <olly@survex.com>
4792 * python/docs/index.html: The "program" version of Remote::open() *is*
4793 now wrapped, so update the documentation.
4795 Sun May 18 05:36:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4797 * python/docs/index.html: Update documentation of pythonic
4799 * python/extra.i: Correct documentation comment for
4800 Database.spellings().
4802 Thu May 15 09:00:26 GMT 2008 Olly Betts <olly@survex.com>
4804 * java-swig/Makefile.am: Remove SWIGTYPE_p_bool.java as it is no
4807 Thu May 15 08:11:04 GMT 2008 Olly Betts <olly@survex.com>
4809 * csharp/Makefile.am: Remove SWIGTYPE_p_bool.cs as it is no longer
4812 Mon May 12 06:51:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4814 * python/pythontest.py: Add test of ValueWeightPostingSource.
4816 Mon May 05 16:02:03 GMT 2008 Olly Betts <olly@survex.com>
4818 * php/except.i: Remove PHP4-specific stuff and tweak to maximise the
4819 amount of exception handling code which is in the helper function.
4820 Fix the copyright statements which were copied verbatim from
4821 xapian.i whereas the code here is all fairly recent.
4823 Mon May 05 11:03:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4825 * csharp/Makefile.am: Change names of generated files to match
4826 those made by new SWIG version.
4828 Mon May 05 11:58:45 BST 2008 Richard Boulton <richard@lemurconsulting.com>
4830 * ../swig: Update version of swig in use to current HEAD. Causes
4831 few changes other than whitespace to the generated bindings, but
4832 makes new features in swig (such as better support for reference
4833 counted pointers) available. Also only performs initialisation
4834 of swig wrapper once when there are multiple interpreters in use,
4835 which could possibly help a little with bug #185.
4837 Sat May 03 18:10:04 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4839 * configure.ac: Fix breakage introduced when I changed "print foo"
4840 to "print(foo)" - join strings in the print with + instead of ,.
4841 mingw builds can't have worked with this, though they may still
4844 Sat May 03 14:00:55 GMT 2008 Olly Betts <olly@survex.com>
4846 * xapian-bindings.spec.in: Remove "www." from xapian.org and
4847 oligarchy.co.uk URLs. Bump minimum required Python version to 2.3.
4849 Sat May 03 10:59:58 GMT 2008 Olly Betts <olly@survex.com>
4851 * configure.ac: Improve code which prevents probing for f77, etc.
4853 Fri May 02 17:24:17 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4855 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4856 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Seemed to work
4857 for python, so use SWIG's -MD flag for all the other swig targets
4860 Fri May 02 15:21:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4862 * python/Makefile.am: Use SWIG's -MD flag to generate dependencies.
4864 Fri May 02 15:21:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4866 * python/extra.i: Correct typo in comment.
4868 Mon Apr 28 17:07:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4870 * python/pythontest.py: Fix python test of PostingSource to include
4873 Mon Apr 28 02:31:42 GMT 2008 Olly Betts <olly@survex.com>
4875 * python/generate-python-exceptions.in: Mark PostingSource::reset() as
4878 Thu Apr 24 02:18:46 GMT 2008 Olly Betts <olly@survex.com>
4880 * configure.ac,generic/generic.mk: Back out the --swigheaders change.
4882 Thu Apr 24 01:55:25 GMT 2008 Olly Betts <olly@survex.com>
4884 * python/Makefile.am: Use "-rmdir" rather than "|| true" for
4887 Wed Apr 23 18:14:10 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4889 * python/pythontest.py: Remove references to "flint" from test
4890 database names (use "db_" instead). Add a simple test of the
4891 posting source stuff.
4893 Wed Apr 23 17:42:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4895 * python/Makefile.am: Give up on MKDIR_P, and just use "-test -d
4896 xapian || mkdir xapian" instead.
4898 Wed Apr 23 17:03:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4900 * python/Makefile.am: Use $(MKDIR_P) instead of @MKDIR_P@, as
4901 suggested by the automake documentation.
4903 Wed Apr 23 15:23:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4905 * debian/python-xapian.install,python/Makefile.am,python/xapian.pth,
4906 xapian-bindings.spec.in: Change way python bindings are installed
4907 again, hopefully more successfully this time. We found a problem
4908 with the .pth method on some systems, so instead we now put all
4909 the python files in a subdirectory called xapian/, but rename the
4910 xapian.py file to __init__.py (and similarly for the .pyc and
4911 .pyo files). This makes it into a python package, and seems to
4912 work well, and also hides the internal _xapian module from public
4915 Wed Apr 23 11:02:45 GMT 2008 Olly Betts <olly@survex.com>
4917 * csharp/Makefile.am,java-swig/Makefile.am,
4918 python/generate-python-exceptions.in,xapian.i: Only wrap
4919 PostingSource where we have directors. Fix up various issues
4922 Wed Apr 23 09:43:06 GMT 2008 Olly Betts <olly@survex.com>
4924 * README: Note Python 2.3 or later is required.
4926 Wed Apr 23 09:21:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4928 * configure.ac: Require python 2.3 or greater. 2.2 is essentially
4929 unsupported upstream.
4931 Wed Apr 23 08:39:18 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4933 * python/doxy2swig.py.in: Revert earlier change, since it would
4934 result in the bindings varying massively depending on the version
4935 of python in use at maintainer-build time, which doesn't seem
4936 helpful. python2.2 currently works with a non maintainer-mode
4937 build, so there's an easy workaround for the problem.
4939 Wed Apr 23 07:55:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4941 * xapian-bindings.spec.in: Update RPM .spec file to reflect the new
4942 location of the python packages, and the .pth file.
4944 Wed Apr 23 07:51:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4946 * debian/changelog,debian/patch,debian/python-xapian.install:
4947 Update debian packaging to remove the patch which is currently
4948 applied (since it's included in HEAD now), and to get the python
4949 packages from the new locations (and include the .pth file).
4951 Wed Apr 23 07:38:20 GMT 2008 Olly Betts <olly@survex.com>
4953 * xapian.i: Use "%include <xapian/query.h>" to wrap Xapian::Query so
4954 we automatically pick up new features (in this case, the new
4955 PostingSource constructor).
4957 Wed Apr 23 03:41:28 GMT 2008 Olly Betts <olly@survex.com>
4959 * Makefile.am,csharp/Makefile.am,java-swig/Makefile.am,
4960 tcl8/docs/index.html,xapian-head.i,xapian.i: Split the header chunk
4961 of xapian.i out into xapian-head.i. Remove lingering references to
4964 Wed Apr 23 02:47:00 GMT 2008 Olly Betts <olly@survex.com>
4966 * python/extra.i: Update comment.
4968 Wed Apr 23 00:25:46 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4970 * python/doxy2swig.py.in: Fix build with --enable-maintainer-mode
4971 and python 2.2, by providing fallback for the "textwrap" module,
4972 which isn't present by default in 2.2.
4974 Wed Apr 23 00:15:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4976 * python/Makefile.am,python/xapian.pth: Change installation
4977 location for the python bindings to use a "xapian" subdirectory
4978 to hold the files, and use a "xapian.pth" file to ensure that the
4979 contents of this directory are on the path. Seems to be the more
4980 usual way to install python extensions these days, and matches
4981 the way we need to install on windows.
4983 Tue Apr 22 16:16:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4985 * php/smoketest.php,php/smoketest5.php: Add test that VALUE_GE
4988 Thu Apr 17 22:54:37 GMT 2008 Olly Betts <olly@survex.com>
4990 * tcl8/Makefile.am: Remove bogus "../" from tcllibdir.
4992 Thu Apr 17 05:41:21 GMT 2008 Olly Betts <olly@survex.com>
4994 * configure.ac: Add missing m4 quoting so that TCL_LIB is correctly
4997 Tue Apr 15 09:38:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4999 * python/docs/index.html,python/extra.i,python/pythontest.py:
5000 Remove the deprecated legacy support for the sequence API on
5003 Mon Apr 14 07:18:50 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5005 * python/extra.i,xapian.i: Add support for
5006 Database.metadata_keys_begin() and Database.metadata_keys_end().
5007 For python, these are wrapped as simply "metadata_keys()".
5008 * python/pythontest.py: Test Database.metadata_keys().
5010 Mon Apr 07 07:28:14 GMT 2008 Olly Betts <olly@survex.com>
5012 * README: Note that Tcl 8.3 and earlier are no longer supported by
5015 Tue Apr 01 04:27:43 GMT 2008 Olly Betts <olly@survex.com>
5017 * java/native/Makefile.am,python/Makefile.am,ruby/Makefile.am: Use
5018 the libtool -shrext option to specify a different module extension
5019 rather than our own ugly bodge.
5021 Mon Mar 31 02:10:22 GMT 2008 Olly Betts <olly@survex.com>
5023 * php/smoketest.php: Remove stray extra blank line.
5025 Fri Mar 28 10:18:27 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5027 * configure.ac: Bump version number to 1.0.6 to match xapian-core.
5029 Fri Mar 28 00:22:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5031 * xapian.i: Modify wrapping of get_mset() to match the new
5032 definitions in xapian/enquire.h (though this shouldn't change
5033 user-visible behaviour in the bindings). Also, allow a
5034 mdecider (and matchspy) parameter to be passed even for languages
5035 which don't have director support, now that we have a built-in
5036 match decider. Also, wrap valuesetmatchdecider.h, so that the
5037 built-in match decider defined there can be used.
5038 * php/smoketest.php,python/pythontest.py: Add tests that
5039 ValueSetMatchDecider works in python and PHP.
5041 Wed Mar 19 01:02:21 GMT 2008 Olly Betts <olly@survex.com>
5043 * ruby/docs/Makefile.am: Ship simplematchdecider.rb.
5044 * tcl8/docs/Makefile.am: Ship simpleexpand.tcl.
5046 Wed Mar 12 09:01:04 GMT 2008 Olly Betts <olly@survex.com>
5048 * java-swig/: Remove Quartz.* from svn:ignore.
5050 Wed Mar 12 08:59:30 GMT 2008 Olly Betts <olly@survex.com>
5052 * python/Makefile.am: Clean up libtoolconfig.tmp after use.
5054 Wed Mar 12 08:57:55 GMT 2008 Olly Betts <olly@survex.com>
5056 * README,configure.ac,php/Makefile.am,php/docs/Makefile.am,
5057 php/docs/examples/simpleexpand.php4,
5058 php/docs/examples/simpleindex.php4,
5059 php/docs/examples/simplesearch.php4,php/docs/index.html,
5060 php/smoketest4.php,php/util.i,xapian-bindings.spec.in,xapian.i:
5061 Remove PHP4 support.
5063 Wed Mar 12 08:29:06 GMT 2008 Olly Betts <olly@survex.com>
5065 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/util.i,
5066 java-swig/Makefile.am,java-swig/SmokeTest.java,
5067 java/native/Enquire.cc,java/native/Query.cc,
5068 java/native/org_xapian_XapianJNI.h,java/org/xapian/Enquire.java,
5069 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,php/util.i,
5070 python/,ruby/util.i,ruby/xapian.rb,xapian.i: Remove all deprecated
5071 features slated for removal in 1.1.0.
5073 Tue Mar 11 20:32:26 GMT 2008 Olly Betts <olly@survex.com>
5075 * java-swig/util.i: Xapian::weight::clone() collides with Java's
5076 Object.clone(), so rename to cloneWeight(). Wrap Xapian::valueno
5077 as Java type int to avoid a conflict with SWIG/Java's machinery.
5079 Tue Mar 11 04:51:00 GMT 2008 Olly Betts <olly@survex.com>
5081 * java-swig/Makefile.am: Add MultiValueSorter.java, Sorter.java, and
5082 TermGenerator$flags.class.
5084 Wed Mar 05 22:36:46 GMT 2008 Olly Betts <olly@survex.com>
5086 * NEWS: Update to HEAD with un-backported changes kept separate.
5088 Wed Mar 05 21:30:13 GMT 2008 Olly Betts <olly@survex.com>
5090 * NEWS: Update to 1.0 branch point.
5092 Sun Feb 24 11:02:44 GMT 2008 Olly Betts <olly@survex.com>
5094 * java-swig/Makefile.am,php/Makefile.am,ruby/Makefile.am,
5095 tcl8/Makefile.am: Minor comment correction (we only remove a single
5098 Sun Feb 24 01:11:25 GMT 2008 Olly Betts <olly@survex.com>
5100 * configure.ac,python/Makefile.am: The Python module now has the
5101 extension which Python expects, which fixes a failure on Mac OS X.
5102 PYTHON_PATHSEP is no longer required.
5104 Sat Feb 23 23:09:05 GMT 2008 Olly Betts <olly@survex.com>
5106 * configure.ac: Correct SWIG version in error message.
5108 Thu Feb 21 00:28:20 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5110 * configure.ac,generic/generic.mk: Use the new --swigheaders option
5111 in xapian-config to get the list of header files for the core,
5112 and add all of these as a dependency for the rules to run swig.
5113 This is currently an overly inclusive dependency, but it's hard
5114 to keep track of exactly which header files are being included,
5115 and the plan is to eventually include all of them.
5117 Mon Jan 28 11:52:59 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5119 * xapian.i: Ignore various unwanted bits of DatabaseReplica.
5121 Mon Jan 28 03:22:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5123 * xapian.i: Include replication.h in the bindings.
5125 Wed Jan 09 22:41:24 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5127 * csharp/Makefile.am: Add MultiValueSorter.cs to
5128 XAPIAN_SWIG_CS_SRCS so that it gets cleaned up correctly.
5129 * xapian.i: Put OP_VALUE_GE and OP_VALUE_LE in the right place in
5130 the enum, so that they get the right values in language bindings.
5132 Wed Jan 09 22:00:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5134 * xapian.i: Add OP_VALUE_GE and OP_VALUE_LE to Query, and add
5135 constructor which they are used with.
5137 Sun Dec 23 03:29:32 GMT 2007 Olly Betts <olly@survex.com>
5139 * configure.ac: Sort out the default value of TCL_LIB, which could
5140 end up being under /usr/share in 1.0.4 and 1.0.5.
5142 Sat Dec 22 18:25:19 GMT 2007 Olly Betts <olly@survex.com>
5144 * php/smoketest.php: Add note that this script should be run using
5145 'make check' in the build tree (rather than trying to copy it to
5146 a webserver as someone recently tried to).
5148 Sat Dec 22 18:24:05 GMT 2007 Olly Betts <olly@survex.com>
5150 * php/smoketest.php: Fix to work under PHP4.
5152 Sat Dec 22 04:32:39 GMT 2007 Olly Betts <olly@survex.com>
5154 * ruby/docs/Makefile.am: We need a custom install-data-local rule to
5155 get the rdocs subdirectory installed (and a corresponding
5156 uninstall-local rule to uninstall it).
5158 Fri Dec 21 18:14:06 GMT 2007 Olly Betts <olly@survex.com>
5160 * NEWS: Too late for the 1.0.5 release, but reword the Python GIL fix
5161 description in terms of user-visible API.
5163 Fri Dec 21 02:14:35 GMT 2007 Olly Betts <olly@survex.com>
5165 * NEWS: Bump release date.
5167 Wed Dec 19 03:46:09 GMT 2007 Olly Betts <olly@survex.com>
5169 * NEWS,configure.ac: Update for 1.0.5.
5171 Wed Dec 19 01:18:58 GMT 2007 Olly Betts <olly@survex.com>
5173 * configure.ac: If rdoc isn't found, set RDOC="$MISSING rdoc" so the
5174 user gets a better error if make tries to build the RDocs.
5176 Wed Dec 19 00:34:45 GMT 2007 Olly Betts <olly@survex.com>
5180 Tue Dec 18 18:58:36 GMT 2007 Olly Betts <olly@survex.com>
5182 * php/smoketest.php: Add feature test to ensure that optional
5183 arguments to XapianQuery's "term" constructor are wrapped.
5184 * xapian.i: Remove comment "FIXME wrap optional arguments in PHP?"
5185 referring to XapianQuery's "term" constructor as they are already
5188 Mon Dec 17 21:02:38 GMT 2007 Olly Betts <olly@survex.com>
5190 * php/Makefile.am,python/Makefile.am: Having moved the directory
5191 creation out of the locked region, we now need to ignore errors
5192 from 'test -d DIR || mkdir DIR' as two make processes might try
5193 to create the directory at the same time.
5195 Fri Dec 14 10:43:03 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5197 * php/Makefile.am,python/Makefile.am: Ensure that the directories
5198 that stamp files will be placed in exist before calling
5199 $(multitarget_begin). Fixes compilation failures in clean trees.
5201 Thu Dec 13 01:58:58 GMT 2007 Olly Betts <olly@survex.com>
5203 * configure.ac: Improve the clarity of the error given when none
5204 of the tools neeed for any supported language are found.
5206 Thu Dec 13 01:50:17 GMT 2007 Olly Betts <olly@survex.com>
5208 * configure.ac,ruby/Makefile.am: Fix the Ruby module's extension so it
5211 Thu Dec 13 01:14:29 GMT 2007 Olly Betts <olly@survex.com>
5213 * csharp/Makefile.am,generic/generic.mk,java-swig/Makefile.am,
5214 php/Makefile.am,python/Makefile.am,ruby/Makefile.am: Factor
5215 out the code to lock multitarget rules against parallel make,
5216 and fix it to handle the source being changed while the rule
5217 is executing, and to correct return an error code if we fail
5218 while trying to recover from the removal of a target of a
5221 Thu Dec 13 01:04:04 GMT 2007 Olly Betts <olly@survex.com>
5223 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_key().
5225 Wed Dec 12 02:22:58 GMT 2007 Olly Betts <olly@survex.com>
5227 * NEWS: Update from ChangeLog in preparation for 1.0.5.
5229 Tue Dec 11 15:09:37 GMT 2007 Olly Betts <olly@survex.com>
5231 * ruby/docs/Makefile.am: Fix rule to build rdocs.
5233 Tue Dec 11 01:33:23 GMT 2007 Olly Betts <olly@survex.com>
5235 * configure.ac,ruby/docs/Makefile.am: Run "rdoc" to generate the
5236 Ruby-specific API documentation which ruby/docs/index.html has
5237 a (previously dead) link to.
5238 * ruby/xapian.rb: Tweak ":nodoc:" directive so rdoc recognises it.
5240 Thu Nov 29 02:48:06 GMT 2007 Olly Betts <olly@survex.com>
5242 * php/: Add test for XapianMultiValueSorter.
5244 Thu Nov 29 02:47:17 GMT 2007 Olly Betts <olly@survex.com>
5246 * xapian.i: Wrap Enquire::set_sort_by_key() and
5247 Enquire::set_sort_by_key_then_relevance().
5249 Thu Nov 29 02:06:10 GMT 2007 Olly Betts <olly@survex.com>
5251 * php/smoketest5.php: Fix use of Database_get_document to new style OO
5252 interface. Fix error string when the PHP5 exception test fails.
5254 Wed Nov 28 20:17:09 GMT 2007 Olly Betts <olly@survex.com>
5256 * csharp/Makefile.am,python/generate-python-exceptions.in,xapian.i:
5257 Wrap Xapian::Sorter and subclasses.
5259 Wed Nov 28 19:19:08 GMT 2007 Olly Betts <olly@survex.com>
5261 * ruby/Makefile.am: SWIG has accepted -initname in at least one
5262 released version, so switch to using it instead of the now
5263 deprecated -feature option.
5265 Wed Nov 28 11:17:40 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5267 * python/util.i: Don't drop the GIL when calling
5268 Xapian_MSet_items_get() and Xapian_ESet_items_get() - these
5269 methods build a python list, and return a PyObject, so it's not
5270 safe to do so, and doing so may cause undefined behaviour in
5271 multithreaded environments.
5273 Wed Nov 28 00:52:46 GMT 2007 Olly Betts <olly@survex.com>
5275 * configure.ac: Change remaining uses of "print" in python to bracket
5278 Wed Nov 28 00:50:41 GMT 2007 Olly Betts <olly@survex.com>
5280 * java-swig/Makefile.am,java/Makefile.am: Check for directory
5281 existence rather than calling mkdir unconditionally as despite the
5282 "(ignored)", the error message seems to confuse some people.
5284 Tue Nov 27 22:34:11 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5286 * configure.ac: Change "print foo" to "print(foo)" in python
5287 version checks, for compatibility with python 3.0.
5289 Tue Nov 27 03:08:51 GMT 2007 Olly Betts <olly@survex.com>
5291 * configure.ac: Log the output of trying to compile conftest.java in
5292 config.log; if the test fails, report whether the failure was
5293 compiling or running the test program.
5295 Tue Nov 20 01:04:31 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5297 * java/native/xapian_jni.h: Add include of <cstring> to fix
5298 compile error with gcc-4.3 snapshot.
5300 Fri Nov 16 15:58:57 GMT 2007 Olly Betts <olly@survex.com>
5302 * configure.ac: Update error message to reflect requirement for at
5305 Fri Nov 16 15:57:53 GMT 2007 Olly Betts <olly@survex.com>
5307 * configure.ac: SWIG 1.3.32 has now been released, so require at least
5308 this released version.
5310 Tue Nov 06 12:34:00 GMT 2007 Olly Betts <olly@survex.com>
5312 * java/org/xapian/Makefile.am: No need to set SUFFIXES manually for
5313 suffixes used in implicit rules.
5315 Sat Nov 03 01:07:39 GMT 2007 Olly Betts <olly@survex.com>
5317 * csharp/docs/index.html: Improve wording.
5319 Fri Nov 02 20:31:55 GMT 2007 Olly Betts <olly@survex.com>
5321 * tcl8/docs/index.html: Update documentation to cover flint and that
5322 quartz is now deprecated.
5324 Fri Nov 02 20:15:19 GMT 2007 Olly Betts <olly@survex.com>
5326 * tcl8/except.i: Remove code to handle `const char *' exceptions - as
5327 of 1.0.0 the QueryParser throws QueryParserError instead.
5329 Fri Nov 02 02:16:32 GMT 2007 Olly Betts <olly@survex.com>
5331 * configure.ac: Overhaul code to find tcl.h. The old way no longer
5332 worked with Debian unstable.
5334 Tue Oct 30 05:00:42 GMT 2007 Olly Betts <olly@survex.com>
5336 * NEWS: The GUARD macro I fixed in SWIG/Python isn't actually used by
5337 Xapian so remove the NEWS item about it.
5339 Tue Oct 30 04:56:13 GMT 2007 Olly Betts <olly@survex.com>
5341 * NEWS,configure.ac: Update for 1.0.4.
5343 Mon Oct 29 18:35:09 GMT 2007 Olly Betts <olly@survex.com>
5347 Mon Oct 29 17:15:20 GMT 2007 Olly Betts <olly@survex.com>
5349 * python/docs/index.html: Promote the Pythonic iterators more
5350 and deprecate the non-pythonic iterators. Make it clearer
5351 that the "sequence API" is deprecated.
5353 Mon Oct 29 16:50:28 GMT 2007 Olly Betts <olly@survex.com>
5355 * python/docs/index.html: Fix typo.
5357 Mon Oct 29 02:54:53 GMT 2007 Olly Betts <olly@survex.com>
5359 * NEWS,csharp/Makefile.am,python/extra.i,python/pythontest.py,
5360 python/util.i,xapian.i: Back out match spy changes in preparation
5361 for creating a branch for them.
5363 Sat Oct 27 06:05:56 BST 2007 Olly Betts <olly@survex.com>
5365 * csharp/SmokeTest.cs,ruby/smoketest.rb,tcl8/smoketest.tcl: Update for
5366 changed output for Query::get_description() for OP_SCALE_WEIGHT.
5368 Sat Oct 27 06:03:53 BST 2007 Olly Betts <olly@survex.com>
5370 * php/smoketest.php: Update for changed output for
5371 Query::get_description() for OP_SCALE_WEIGHT.
5373 Sat Oct 27 06:01:13 BST 2007 Olly Betts <olly@survex.com>
5377 Fri Oct 26 18:10:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5379 * python/docs/examples/simpleexpand.py,
5380 python/docs/examples/simplematchdecider.py,
5381 python/docs/examples/simplesearch.py: Change from using the
5382 old-style MSET_* constants to access the mset item values to the
5383 new-style attribute based method.
5385 Fri Oct 26 17:56:32 BST 2007 Olly Betts <olly@survex.com>
5387 * python/docs/index.html: Document MSET_DOCUMENT.
5389 Fri Oct 26 01:08:50 BST 2007 Olly Betts <olly@survex.com>
5391 * python/: Add xapian.pyo to svn:ignore.
5393 Fri Oct 26 01:04:47 BST 2007 Olly Betts <olly@survex.com>
5395 * python/smoketest.py: Update for changed output from
5396 Query::get_description().
5398 Thu Oct 25 18:11:40 BST 2007 Olly Betts <olly@survex.com>
5400 * php/Makefile.am: The php4 and php5 .cc and .h files are no longer
5401 identical so don't bother carefully interleaving them as it doesn't
5402 help the tarball compress better now.
5403 * php/Makefile.am: Use $(datadir) instead of $(datarootdir) so that
5404 the RPM spec file works with older versions of autoconf.
5406 Tue Oct 23 16:19:15 BST 2007 Olly Betts <olly@survex.com>
5408 * csharp/docs/Makefile.am,php/docs/Makefile.am,python/docs/Makefile.am,
5409 ruby/docs/Makefile.am,tcl8/docs/Makefile.am: Update for the
5410 bindings.html -> index.html change.
5412 Tue Oct 23 16:18:09 BST 2007 Olly Betts <olly@survex.com>
5414 * python/util.i: Fix warning with Python <= 2.4 and GCC >= 4.2.
5416 Mon Oct 22 22:45:08 BST 2007 Olly Betts <olly@survex.com>
5418 * csharp/docs/bindings.html,php/docs/bindings.html,
5419 python/docs/bindings.html,ruby/docs/bindings.html,
5420 tcl8/docs/bindings.html: Rename 'bindings.html' to 'index.html'.
5422 Mon Oct 22 22:34:42 BST 2007 Olly Betts <olly@survex.com>
5424 * python/docs/bindings.html: "character set" -> "character encoding".
5426 Wed Oct 17 00:49:39 BST 2007 Olly Betts <olly@survex.com>
5428 * NEWS: Update with changes due to using a newer SWIG SVN snapshot.
5430 Tue Oct 09 22:14:03 BST 2007 Olly Betts <olly@survex.com>
5434 Tue Oct 09 22:01:57 BST 2007 Olly Betts <olly@survex.com>
5436 * php/util.i: For PHP4, wrap Xapian::sortable_serialise() as
5437 xapian_sortable_serialise() and Xapian::sortable_unserialise() as
5438 xapian_sortable_unserialise().
5439 * php/docs/bindings.html: Document how non-class functions are
5442 Tue Oct 09 00:00:53 BST 2007 Olly Betts <olly@survex.com>
5444 * php/: Fix wrapping of NumberValueRangeProcessor for PHP4 - SWIG
5445 sees the Xapian::v102 namespace, but doesn't understand the
5446 "using" directive. Also split the regression test for bug#193
5447 into separate versions for PHP4 and PHP5 as the previous version
5448 only worked for PHP5.
5450 Sun Oct 07 19:47:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5452 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5453 php/smoketest5.php,python/pythontest.py,python/smoketest.py,
5454 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian.i: Update for the
5455 change from OP_MULT_WEIGHT to OP_SCALE_WEIGHT.
5457 Mon Oct 01 00:38:21 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5459 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5460 php/smoketest5.php,python/smoketest.py,ruby/smoketest.rb,
5461 tcl8/smoketest.tcl: Add tests for OP_MULT_WEIGHT and
5462 corresponding constructor to smoketests.
5465 Sun Sep 30 23:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5467 * xapian.i: Add OP_MULT_WEIGHT, and the new constructor needed to
5469 * python/pythontest.py: Add simple test of OP_MULT_WEIGHT feature,
5470 and a more involved test which uses the value of
5471 MSet.get_max_possible() from an initial query to get the factor
5472 necessary to normalise the weights from a subquery, and then uses
5473 this factor in a second query with OP_MULT_WEIGHT.
5476 Sun Sep 30 21:16:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5478 * csharp/Makefile.am,python/extra.i,python/pythontest.py,
5479 python/util.i,xapian.i: Re-apply changes which needed more
5480 thought or more work before being included in a release.
5481 * NEWS: Update with current descriptions of these changes.
5483 Sat Sep 29 01:29:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5485 * ruby/smoketest.rb: Change name of test for metadata to avoid
5486 collision with matchdecider test (and to be correctly
5489 Fri Sep 28 18:33:09 BST 2007 Olly Betts <olly@survex.com>
5491 * NEWS: Update for 1.0.3.
5493 Fri Sep 28 18:06:58 BST 2007 Olly Betts <olly@survex.com>
5495 * INSTALL,configure.ac: Allow the user to specify TCL_LIB=... on the
5496 configure command line to override autodetection.
5497 * Makefile.am: Automatically set up DISTCHECK_CONFIGURE_FLAGS so that
5498 "make distcheck" passes without user intervention, and remove the
5499 now redundant EXTRADISTCHECK_CONFIGURE_FLAGS variable.
5500 * INSTALL: Remove documentation for EXTRADISTCHECK_CONFIGURE_FLAGS.
5501 * INSTALL: Fix cut-and-paste error - the documentation for how to
5502 install the tcl module without root access suggested installing them
5503 in a directory named "my-python-modules"!
5505 Fri Sep 28 13:48:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5507 * python/smoketest.py: Test behaviour of empty metadata keys.
5509 Fri Sep 28 13:18:34 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5511 * csharp/SmokeTest.cs,ruby/smoketest.rb: Add tests for metadata
5514 Fri Sep 28 13:08:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5516 * xapian.i: Add support for get_metadata() and set_metadata() to
5518 * php/smoketest.php,python/smoketest.py: Add simple tests of
5521 Fri Sep 28 03:54:19 BST 2007 Olly Betts <olly@survex.com>
5523 * configure.ac: Update for 1.0.3. Use ustar format for tarball since
5524 we have to for xapian-core anyway.
5526 Fri Sep 28 03:46:22 BST 2007 Olly Betts <olly@survex.com>
5528 * csharp/Makefile.am,python/extra.i,python/pythontest.py,python/util.i,
5529 xapian.i: Back out changes for 1.0.3 corresponding to changes backed
5530 out for xapian-core.
5532 Fri Sep 28 03:43:56 BST 2007 Olly Betts <olly@survex.com>
5534 * csharp/util.i: Ignore ValueRangeProcessor::operator(), since
5535 we don't usefully wrap it at present.
5537 Fri Sep 28 03:38:22 BST 2007 Olly Betts <olly@survex.com>
5539 * configure.ac: Fix reversed sense tests for user overrides of
5540 RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH.
5542 Wed Sep 26 11:50:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5544 * python/testsuite.py: Add a "runonly" parameter to runtests(),
5545 allowing the set of tests to run to be specified.
5546 * python/pythontest.py: Use any commandline arguments to populate
5547 the "runonly" parameter, allowing the tests to run to be
5548 specified on the command line.
5550 Fri Sep 21 16:47:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5552 * python/docs/bindings.html: Suggest using Python version 2.4 or
5553 later if using mod-python: apparently, even with the
5554 "PythonInterpreter main_interpreter" workaround, mod-python gets
5555 into a deadlock with Xapian with Python 2.3.
5557 Wed Sep 19 16:11:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5559 * python/docs/bindings.html: Add documentation for python
5560 implementations of ValueRangeProcessors.
5562 Wed Sep 19 16:06:18 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5564 * python/pythontest.py,python/util.i: Implement conversion of the
5565 return value from ValueRangeProcessor subclasses implemented in
5566 Python from a tuple, so that such subclasses can change the
5567 values of begin and end.
5569 Wed Sep 19 14:11:22 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5571 * xapian.i: Add director directive for Xapian::ValueRangeProcessor,
5572 to allow implementations in the target language, where directors
5574 * python/generate-python-exceptions.in: Copy workaround for thread
5575 handling stuff for ValueRangeProcessor::operator().
5576 * python/pythontest.py: Add test_queryparser_custom_vrp() for
5577 ValueRangeProcessors implemented in Python, and clean up some of
5578 the other tests slightly.
5580 Wed Sep 19 00:46:31 BST 2007 Olly Betts <olly@survex.com>
5582 * python/util.i: Fix typo in comment.
5584 Tue Sep 18 19:59:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5586 * python/docs/bindings.html: Document the return value of
5587 ValueRangeProcessor.__call__()
5589 Tue Sep 18 19:42:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5591 * python/util.i,python/extra.i: Add support for
5592 ValueRangeProcessor.operator(); this is messy because we need to
5593 make special argout typemaps, and the parameter names (begin and
5594 end) are used for arguments of type "std::string&" elsewhere -
5595 therefore, we have to extend ValueRangeProcessor with a new
5596 __call() method with uniquely named arguments, and then override
5597 the original __call__ method with this (in the python code).
5598 ValueRangeProcessor.__call__() now returns a 3-tuple, (slotnum,
5599 begin, end) - previously, it always failed with a type error, so
5600 this won't break existing code. Fixes bug #193 for Python.
5601 * python/smoketest.py: Add test for DateValueRangeProcessor() when
5602 used in a query parser, a regression test for bug #193 (using a
5603 NumberValueRangeProcessor), and some other regression tests from
5606 Tue Sep 18 04:16:54 BST 2007 Olly Betts <olly@survex.com>
5608 * php/smoketest.php: Use single quotes for string with $ in.
5610 Tue Sep 18 04:09:55 BST 2007 Olly Betts <olly@survex.com>
5612 * php/smoketest.php: Add feature test for DateValueRangeProcessor
5613 when used with QueryParser.
5614 * php/smoketest.php: Add regression test for bug#193 which is fixed
5617 Tue Sep 18 04:03:11 BST 2007 Olly Betts <olly@survex.com>
5619 * php/util.i: Remove typemap for std::string which is no longer needed
5620 since SWIG now has the same version.
5622 Sun Sep 16 20:46:48 BST 2007 Olly Betts <olly@survex.com>
5624 * python/Makefile.am: Need to clean up testsuite.pyc too.
5626 Sun Sep 16 12:17:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5628 * java/native/Makefile.am: Change $(jnilib) to $(jnidir) in
5629 uninstall-local rule - there's no such variable as jnilib, so I
5630 think this was a typo.
5632 Sun Sep 16 04:26:02 BST 2007 Olly Betts <olly@survex.com>
5634 * java/org/xapian/Makefile.am: Rewrite comment I can't parse. Rename
5635 INNERCLASS_FILES to XAPIAN_INNER_CLASS_FILES for consistency.
5637 Sun Sep 16 04:22:16 BST 2007 Olly Betts <olly@survex.com>
5639 * java/native/org_xapian_XapianJNI.h,java/org/xapian/Xapian.java,
5640 java/org/xapian/XapianJNI.java: Remove wrappers for the Muscat36
5641 backend, which has now been dropped from the C++ library.
5643 Sun Sep 16 04:03:30 BST 2007 Olly Betts <olly@survex.com>
5645 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5646 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Restore the
5647 install-data-hook rules, and add uninstall-local rules so that
5648 "make uninstall" works (which also allows it to work for java on
5651 Sun Sep 16 00:00:27 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5653 * java/org/xapian/Makefile.am: Add list of files generated from
5654 inner classes to CLEANFILES. (Don't add them to noinst_DATA
5655 because there's no obvious rule which generates them, and adding
5656 them to noinst_DATA would make them prerequisites for the
5659 Sat Sep 15 23:39:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5661 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5662 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Remove
5663 install-data-hook rules which removed the installed .la files -
5664 these are needed for "make uninstall" to work (and hence, also
5665 for make distcheck to work).
5667 Sat Sep 15 23:13:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5669 * Makefile.am: Add support for a user-specified
5670 "EXTRADISTCHECK_CONFIGURE_FLAGS" variable, used to pass extra
5671 DISTCHECK_CONFIGURE_FLAGS to make to be passed to the configure
5672 run in distcheck. Users can't just set DISTCHECK_CONFIGURE_FLAGS
5673 because this would override the default value (which sets
5674 XAPIAN_CONFIG): unlike the more common options, there doesn't
5675 seem to be an AM_DISTCHECK_CONFIGURE_FLAGS variable for the
5677 * INSTALL: Document use of EXTRADISTCHECK_CONFIGURE_FLAGS.
5679 Tue Sep 04 02:47:17 BST 2007 Olly Betts <olly@survex.com>
5681 * php/docs/bindings.html: Fix errors in example code.
5683 Sun Aug 26 16:12:49 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5685 * csharp/Makefile.am: Fix changed assembly name, to match change in
5686 type of result of MatchSpy::get_values()
5688 Sun Aug 26 16:07:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5690 * python/util.i: Change size_t to Xapian::doccount in
5691 value_map_to_dict, to match ValueCountMatchSpy::get_values().
5692 Fixes compilation on atreus (and hopefully other 64 bit systems).
5694 Sat Aug 25 17:09:33 BST 2007 Olly Betts <olly@survex.com>
5696 * php/smoketest.php: Add regression test for bug#192.
5698 Fri Aug 24 12:13:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5700 * README,python/docs/bindings.html: Add a note about the problems
5701 with mod-python, as described in bug #185.
5703 Thu Aug 23 23:10:16 BST 2007 Olly Betts <olly@survex.com>
5705 * configure.ac: Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the
5706 environment. The defaults for RUBY_LIB and RUBY_LIB_ARCH are now
5707 the site-specific directories (which is more correct when building
5708 from source - debian packages, etc can override this by setting
5709 RUBY_LIB and RUBY_LIB_ARCH).
5710 * INSTALL: Update the instructions for installing Ruby bindings
5711 without root access to use RUBY_LIB and RUBY_LIB_ARCH.
5713 Fri Aug 03 20:13:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5715 * python/util.i: Extend StringListUnserialiser to support the same
5716 comparison operators as other iterator wrapping classes.
5718 Fri Aug 03 20:12:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5720 * xapian.i: Add %ignore and %extend commands to wrap the
5721 StringListUnserialiser iterator properly.
5723 Tue Jul 17 13:21:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5725 * python/pythontest.py: Add test of TermCountMatchSpy.get_top_terms().
5727 Tue Jul 17 12:31:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5729 * python/extra.i: Add workaround to keep a python reference to any
5730 match deciders supplied to MultipleMatchDecider, to ensure they
5731 don't get deleted too soon.
5732 * python/pythontest.py: Add test of MultipleMatchDecider.
5734 Tue Jul 17 11:30:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5736 * python/pythontest.py: Remove test of get_most_frequent_items() which
5737 is no longer a public function.
5738 * python/util.i: Update comments.
5740 Sat Jul 14 00:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5742 * csharp/Makefile.am: Add new generated source files to build.
5744 Sat Jul 14 00:23:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5746 * python/extra.i,python/util.i: Instead of convering the output of
5747 ValueCountMatchSpy::get_values() to a dict, add a separate method
5748 get_values_as_dict() which returns a dict(), and leave
5749 get_values() returning a C object, which can then be passed to
5750 get_most_frequent_items(). Similarly for
5751 TermCountMatchSpy::get_terms_as_dict(). Adjust argout typemap for
5752 return of old class "ValueAndFreqnecy" to use new name
5753 "StringAndFrequency".
5754 * python/pythontest.py: Convert old test of TopValueMatchSpy to
5755 test ValueCountMatchSpy and TermCountMatchSpy.
5757 Thu Jul 12 07:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5759 * python/util.i: Change some error handling to use SWIG_fail
5760 instead of "return NULL" - allows any cleanup code that SWIG adds
5761 to be called (no functional change in the generated code at
5762 present). Add typemaps to convert the output of
5763 ValueCountMatchSpy::get_values() into a dict, and the output of
5764 TopValueMatchSpy::get_top_values() into a list.
5765 * python/pythontest.py: Add tests for the matchspies (though not
5766 with an actual search - the tests just simulate the matchspies
5767 being called with some documents).
5769 Sat Jul 07 11:09:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5771 * xapian-bindings.spec.in: Update from Fabrice Colin: packages
5772 xapian.php, and replaces references to /usr/share with
5775 Thu Jul 05 21:01:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5777 * xapian.i: Wrap MatchDecider even for languages which don't
5778 support directors, since there's a C++ subclass of it now so it's
5781 Thu Jul 05 18:24:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5783 * xapian.i: %include matchspy.h - doesn't seem to need any
5786 Thu Jul 05 15:33:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5788 * python/pythontest.py: Delete the database handles before deleting
5789 a database - hopefully, this will fix problems on windows (bug
5792 Thu Jul 05 00:55:15 BST 2007 Olly Betts <olly@survex.com>
5794 * NEWS: Final update for 1.0.2.
5796 Wed Jul 04 21:21:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5798 * NEWS: Update with release date for release 1.0.2
5800 Wed Jul 04 20:42:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5802 * configure.ac: Bump version to 1.0.2.
5804 Wed Jul 04 19:52:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5808 Wed Jul 04 19:51:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5810 * xapian.i: Add the new matchspy form of get_mset.
5812 Wed Jul 04 17:58:13 BST 2007 Olly Betts <olly@survex.com>
5816 Wed Jul 04 17:48:38 BST 2007 Olly Betts <olly@survex.com>
5818 * php/Makefile.am: Install xapian.php.
5820 Wed Jul 04 17:44:59 BST 2007 Olly Betts <olly@survex.com>
5822 * java-swig/Makefile.am: Update for ValueRangeProcessor classes.
5824 Wed Jul 04 17:42:34 BST 2007 Olly Betts <olly@survex.com>
5826 * php/util.i: Rename the ValueRangeProcessor subclasses and
5827 TermGenerator to have a Xapian prefix for PHP4.
5829 Wed Jul 04 17:41:36 BST 2007 Olly Betts <olly@survex.com>
5831 * xapian-bindings.spec.in: Don't mention %makeinstall in a comment as
5832 that makes RPM explode. Add in a missing "mv" for installing tcl8
5835 Wed Jul 04 17:39:26 BST 2007 Olly Betts <olly@survex.com>
5837 * INSTALL: Remove documentation of the "phpextdir" and "pylibdir" ways
5838 of installing a local copy - setting PHP_EXTENSION_DIR or PYTHON_LIB
5839 at configure time is a better solution.
5841 Wed Jun 27 14:16:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5845 Wed Jun 27 14:15:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5847 * python/pythontest.py: Add tests of the Database.spellings()
5850 Wed Jun 27 14:13:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5854 Tue Jun 26 17:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5856 * python/extra.i,xapian.i: Add support for spellings_begin(), and
5857 add a python-specific term iterator for it, accessed as
5858 Database.spellings()
5860 Tue Jun 26 00:56:03 BST 2007 Olly Betts <olly@survex.com>
5862 * xapian.i: Fix for document.h wrapping.
5864 Tue Jun 26 00:01:38 BST 2007 Olly Betts <olly@survex.com>
5866 * xapian.i: Parse xapian/postingiterator.h directly.
5868 Mon Jun 25 23:21:45 BST 2007 Olly Betts <olly@survex.com>
5870 * xapian.i: Parse xapian/document.h directly.
5872 Mon Jun 25 18:07:36 BST 2007 Olly Betts <olly@survex.com>
5874 * xapian.i: Use "%include <xapian/queryparser.h>" to wrap
5875 Xapian::QueryParser, etc. This adds FLAG_SYNONYM and updates
5876 FLAG_MULTIWORD_SYNONYMS.
5878 Sat Jun 23 19:02:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5880 * xapian.i: Add new synonym_keys_begin() and synonym_keys_end()
5881 methods to Database.
5882 * python/extra.i: Add synonym_keys() python iterator to Database.
5883 * python/pythontest.py: Test synonym_keys() iterator, and tidy up
5884 earlier test for synonyms()
5886 Fri Jun 22 18:43:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5888 * xapian.i: Add synonym support: new methods on Database and
5889 WritableDatabase, and some new flags for the query parser.
5890 * python/extra.i: Add Database.synonyms, to iterator the synonyms
5892 * python/pythontest.py: Add a test for synonym iterators, and clean
5893 up after the tests which make their own databases.
5895 Wed Jun 20 21:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5897 * python/pythontest.py: Enable the spelling test, and also make it
5898 check that spellings can be corrected using a writable database
5899 before calling flush().
5901 Wed Jun 20 17:33:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5903 * python/pythontest.py: Add a test of the spelling stuff (at the
5904 database layer, not the queryparser layer yet). Currently fails,
5905 so has a "return" as the first line until it's fixed.
5907 Wed Jun 20 12:54:23 BST 2007 Olly Betts <olly@survex.com>
5909 * csharp/Makefile.am: Fix parallel make handling to include
5912 Wed Jun 20 08:11:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5914 * xapian.i: Add spelling correction methods and constants:
5915 Database::get_spelling_suggestion(),
5916 WritableDatabase::add_spelling() and remove_spelling(),
5917 QueryParser::FLAG_SPELLING_CORRECTION and
5918 QueryParser::get_corrected_query_string()
5920 Mon Jun 18 13:54:19 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5922 * xapian.i: Add the new static methods in NumberValueRangeProcessor
5923 for serialising and unserialising doubles to the bindings.
5925 Mon Jun 18 03:27:58 BST 2007 Olly Betts <olly@survex.com>
5927 * INSTALL: "--with-swig" has been removed, so don't mention it.
5929 Sun Jun 17 09:39:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5931 * configure.ac: Similarly, for PHP, respect a value of
5932 PHP_EXTENSION_DIR supplied to configure, and add it to the --help
5934 * INSTALL: Document PHP_EXTENSION_DIR (and tweak documentation for
5935 Python equivalent slightly).
5937 Sun Jun 17 09:23:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5939 * configure.ac: Respect the value of PYTHON_LIB supplied to
5940 configure; it was listed in the output of ./configure --help, but
5941 the value supplied was ignored.
5942 * HACKING: Document setting PYTHON_LIB as an alternative way to
5943 specify the python install location (at configure time instead of
5946 Sat Jun 16 11:06:59 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5948 * Makefile.am: Pass value of XAPIAN_CONFIG to distcheck, to ensure
5949 that it works with uninstalled copies of Xapian.
5951 Thu Jun 14 18:42:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5953 * python/generate-python-exceptions.in: Fix a threading problem:
5954 the GIL was not being re-acquired when an exception was thrown
5955 before setting the Python exception state. This was causing
5956 various memory corruption symptoms. Fixed by explicitly calling
5957 SWIG_PYTHON_THREAD_END_ALLOW() in the catch() clause (except for
5958 directory classes); this is a bit ugly, but I can't see how SWIG
5959 could be fixed to do this automatically, since it doesn't know
5960 what's going on in the "exception" clause.
5962 Tue Jun 12 02:46:01 BST 2007 Olly Betts <olly@survex.com>
5964 * python/smoketest.py,python/testsuite.py: Tweak expect_query() to add
5965 "Xapian::Query(" and ")" around the expected description.
5966 * python/smoketest.py: Add test case for OP_VALUE_RANGE query.
5968 Mon Jun 11 03:58:50 BST 2007 Olly Betts <olly@survex.com>
5970 * NEWS: Improve wording.
5972 Mon Jun 11 03:16:20 BST 2007 Olly Betts <olly@survex.com>
5974 * NEWS: Probably final update for 1.0.1.
5976 Mon Jun 11 03:08:13 BST 2007 Olly Betts <olly@survex.com>
5978 * python/docs/examples/: Update to use QueryParser and TermGenerator.
5980 Mon Jun 11 02:23:02 BST 2007 Olly Betts <olly@survex.com>
5982 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
5983 csharp/docs/examples/SimpleExpand.cs: Add SimpleExpand
5986 Mon Jun 11 01:23:52 BST 2007 Olly Betts <olly@survex.com>
5988 * xapian-bindings.spec.in: Use "make install" instead of %makeinstall
5989 to avoid doubled %{buildroot} prefix on most files which we then
5990 have to work around.
5992 Mon Jun 11 01:11:31 BST 2007 Olly Betts <olly@survex.com>
5994 * csharp/docs/examples/SimpleIndex.cs,
5995 csharp/docs/examples/SimpleSearch.cs: Update to use QueryParser and
5997 * csharp/docs/bindings.html: Document explicitly how STEM_SOME, etc
5998 are currently wrapped. Update GetTermName() reference to GetTerm().
6000 Sun Jun 10 22:01:47 BST 2007 Olly Betts <olly@survex.com>
6002 * configure.ac: Drop automake requirement to 1.8.3 to allow RPM spec
6003 file to work on SLES 9.
6005 Sun Jun 10 21:50:28 BST 2007 Olly Betts <olly@survex.com>
6007 * configure.ac: Bump version to 1.0.1.
6009 Fri Jun 08 20:40:00 BST 2007 Olly Betts <olly@survex.com>
6011 * ruby/docs/examples/: Update to use TermGenerator and QueryParser
6014 Fri Jun 08 20:10:42 BST 2007 Olly Betts <olly@survex.com>
6016 * ruby/util.i: Add missing rename for TermGenerator::set_document()
6017 so it can be used as "tg.document = doc" in Ruby.
6019 Thu Jun 07 01:06:17 BST 2007 Olly Betts <olly@survex.com>
6023 Thu Jun 07 01:01:05 BST 2007 Olly Betts <olly@survex.com>
6025 * configure.ac: Note new required SWIG SVN rev.
6027 Thu Jun 07 00:58:08 BST 2007 Olly Betts <olly@survex.com>
6029 * php/docs/examples/: Fix simpleexpand examples to put up to 5
6030 documents in the fake RSet as the comments say, not 4 as the
6031 code incorrectly did!
6032 * php/docs/examples/: Fix exception reporting in PHP5 examples.
6034 Thu Jun 07 00:49:23 BST 2007 Olly Betts <olly@survex.com>
6036 * tcl8/docs/examples/simpleindex.tcl,
6037 tcl8/docs/examples/simplesearch.tcl: Update to use TermGenerator
6038 and QueryParser, and to more closely match the new C++ versions.
6039 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate
6040 relevance feedback, based on C++ simpleexpand.cc.
6041 * tcl8/docs/bindings.html: Add link to new simpleexpand.tcl example.
6043 Thu Jun 07 00:05:25 BST 2007 Olly Betts <olly@survex.com>
6045 * php/docs/examples/: Fix missing "\n" in error message when we're run
6046 under a non-CLI version of PHP.
6048 Thu Jun 07 00:02:33 BST 2007 Olly Betts <olly@survex.com>
6050 * tcl8/runtest.tcl: Fix exit handling to work if the called script
6053 Thu Jun 07 00:00:17 BST 2007 Olly Betts <olly@survex.com>
6055 * tcl8/docs/bindings.html: Document how constants are wrapped.
6057 Wed Jun 06 23:47:03 BST 2007 Olly Betts <olly@survex.com>
6059 * tcl8/runtest.tcl: Enhance to allow calling a script with command
6060 line arguments (useful for testing the examples).
6062 Wed Jun 06 22:39:01 BST 2007 Olly Betts <olly@survex.com>
6064 * configure.ac: Note the SWIG SVN revision currently recommended.
6066 Wed Jun 06 12:34:18 BST 2007 Olly Betts <olly@survex.com>
6068 * php/docs/examples/: Rewrite examples to closely model the new C++
6071 Tue Jun 05 17:23:17 BST 2007 Olly Betts <olly@survex.com>
6073 * configure.ac: Fix comment typo.
6075 Mon Jun 04 17:48:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6077 * configure.ac,python/Makefile.am,python/util.i: Patch from James
6078 Aylett (slightly adapted) to avoid building doccoments.i in
6079 maintainer builds with --disable-documentation specified. In
6080 this situation, the generated python bindings won't have the
6081 doccomments extracted by doxygen from the xapian headers, but
6082 they will compile and work.
6084 Fri Jun 01 12:54:28 BST 2007 Olly Betts <olly@survex.com>
6086 * xapian.i: Remove "#ifndef SWIGGUILE" around a Query constructor -
6087 if anyone revives the guile bindings, they'll probably need to
6088 sort this out, but this "fix" certainly isn't correct.
6090 Fri Jun 01 12:53:36 BST 2007 Olly Betts <olly@survex.com>
6092 * guile/Makefile.am: Fix out-of-date "include". Use $(SWIG_CXXFLAGS)
6093 not @SWIG_CXXFLAGS@.
6095 Fri Jun 01 10:32:40 BST 2007 Olly Betts <olly@survex.com>
6097 * python/Makefile.am: Generate and install xapian.pyo.
6099 Thu May 31 19:15:58 BST 2007 Olly Betts <olly@survex.com>
6101 * configure.ac: Relax automake requirement to 1.9.2 to allow RPM
6104 Thu May 31 18:44:55 BST 2007 Olly Betts <olly@survex.com>
6106 * INSTALL,NEWS,README,configure.ac,java/README: Change "MacOS X" to
6109 Thu May 31 17:59:25 BST 2007 Olly Betts <olly@survex.com>
6111 * java-swig/Makefile.am: Use JAVA_CPPFLAGS so we find jni.h.
6113 Thu May 31 14:52:07 BST 2007 Olly Betts <olly@survex.com>
6115 * configure.ac: Automatically add an extra "-I" for the
6116 linux/solaris/win32 subdirectory which Sun's JDK requires.
6117 * java/README: Remove note saying that the user may have to do this
6120 Thu May 31 13:11:56 BST 2007 Olly Betts <olly@survex.com>
6122 * java-swig/Makefile.am: Distribute the generated .java sources.
6124 Thu May 31 12:34:25 BST 2007 Olly Betts <olly@survex.com>
6126 * configure.ac: Document JAVA_HOME and JDK_HOME in ./configure --help
6127 and mark their values as "precious" so they are preserved for when
6128 configure is automatically rerun.
6130 Wed May 30 23:54:23 BST 2007 Olly Betts <olly@survex.com>
6132 * python/smoketest.py: Update uses of the legacy sequence API.
6133 * python/pythontest.py: The legacy sequence API is only supported for
6134 Python 2.3 and later, so don't run tests for it when running under
6137 Wed May 30 22:27:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6139 * python/pythontest.py,python/smoketest.py: Revert the earlier
6140 change to the expected output from testcases which expect
6141 exceptions, in line with the new Error.__str__() method.
6143 Wed May 30 22:21:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6145 * python/generate-python-exceptions.in: Override the new default
6146 get_description() method in the Python bindings (which is renamed
6147 to __str__) with a similar method which doesn't include the type
6148 of the error message at the start of the error string. Python
6149 errors are almost always displayed preceded by the type of the
6150 error class, so this was causing the type of the error to be
6151 repeated in tracebacks and similar reports.
6153 Wed May 30 17:57:34 BST 2007 Olly Betts <olly@survex.com>
6155 * configure.ac: `configure --help' documented that environmental
6156 variable JNI_INCLUDE_DIR was looked at, but in fact its value
6157 was read but ignored. We now use it as the first place to
6160 Wed May 30 14:52:04 BST 2007 Olly Betts <olly@survex.com>
6162 * NEWS: Update. Add in all the standard subheadings. Fix all
6163 the "Xapian-core <version> (<date>):" headings to refer to
6164 "Xapian-bindings" instead.
6166 Wed May 30 13:20:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6168 * xapian.i: Wrap new forms of allterms_begin() and allterms_end()
6169 which take prefixes.
6170 * python/extra.i: Add support for prefix-restricted pythonic allterms
6172 * python/pythontest.py: Add test for new prefix-restricted allterms
6173 iterators. Update existing allterms text to set the context to
6176 Tue May 29 09:50:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6178 * python/docs/bindings.html: Update documentation in a couple of
6179 places to refer to updated replacements for MSetIterator.
6181 Tue May 29 09:49:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6183 * python/testsuite.py: Change testsuite output to be more
6184 vim-friendly (vim should be able to jump to the right lines now).
6186 Sun May 27 16:11:42 BST 2007 Olly Betts <olly@survex.com>
6188 * python/generate-python-exceptions.in: Remove __str__ method from
6189 %extend of Error class, since C++ now provides an
6190 Error::get_description() method which is automatically renamed to
6192 * python/pythontest.py,python/smoketest.py: New C++
6193 Error::get_description() method gives different output to the old
6194 Python-specific __str__, so update testcases to match.
6195 * python/generate-python-exceptions.in: Mark generated file using
6196 `@configure_input@'.
6198 Sun May 27 15:31:06 BST 2007 Olly Betts <olly@survex.com>
6200 * csharp/SmokeTest.cs: Update comment about Portable.NET bug - the bug
6201 is fixed in their CVS repo, and the fix should be in their 0.8.2
6204 Mon May 21 07:11:12 BST 2007 Olly Betts <olly@survex.com>
6206 * tcl8/docs/examples/simpleindex.tcl,
6207 tcl8/docs/examples/simplesearch.tcl: Need to update to
6208 "package require xapian 1.0.0" here too.
6210 Mon May 21 01:51:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6212 * xapian.i: Add Query constructor used to make ValueRange queries,
6213 which got missed out of the bindings.
6215 Fri May 18 12:59:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6217 * configure.ac,tcl8/Makefile.am,tcl8/pkgIndex.tcl.in: Generate
6218 tcl8/pkgIndex.tcl from a .in file, instead of using a special
6219 rule in tcl8/Makefile.am. Should make the dependencies more
6220 robust, and is generally cleaner.
6222 Fri May 18 09:16:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6224 * tcl8/smoketest.tcl: Update tcl smoketest.tcl to require version
6225 1.0.0 - it previously required 0.9.6, bug TCLs "package require"
6226 command doesn't accept differing major numbers, even if -exact
6228 * tcl8/Makefile.am: Add dependency on ../config.status to
6229 pkgIndex.tcl, so that it gets updated when the version number
6232 Thu May 17 22:27:08 BST 2007 Olly Betts <olly@survex.com>
6234 * NEWS: Final update before release.
6236 Thu May 17 22:10:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6238 * python/docs/bindings.html: Document iterators, and iterator
6239 properties, which have a problem with the lazy evaluation if the
6240 iterator has moved before the evaluation happens. Add a title to
6241 the table of equivalents to the old Sequence API.
6243 Thu May 17 21:51:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6245 * NEWS: Update the Python entries.
6247 Thu May 17 19:52:05 BST 2007 Olly Betts <olly@survex.com>
6249 * NEWS: Sort out the easier Python entries, since Richard seems to
6250 have fallen off the net.
6252 Thu May 17 19:11:38 BST 2007 Olly Betts <olly@survex.com>
6254 * configure.ac: Bump version to 1.0.0.
6256 Thu May 17 17:28:35 BST 2007 Olly Betts <olly@survex.com>
6260 Thu May 17 17:25:39 BST 2007 Olly Betts <olly@survex.com>
6262 * ruby/docs/bindings.html: Remove "beta quality" warning - the Ruby
6263 bindings seem as solid as the others and no problems have been
6265 * ruby/docs/bindings.html: Add section on Unicode support.
6267 Thu May 17 17:25:06 BST 2007 Olly Betts <olly@survex.com>
6269 * php/docs/bindings.html: Tweak the linked text.
6271 Thu May 17 16:41:19 BST 2007 Olly Betts <olly@survex.com>
6273 * NEWS: Minor fixes from Jenny's proofreading.
6275 Thu May 17 15:49:14 BST 2007 Olly Betts <olly@survex.com>
6277 * NEWS: Updated for 1.0.0 except for the Python changes.
6279 Thu May 17 15:48:16 BST 2007 Olly Betts <olly@survex.com>
6281 * php/smoketest.php: The PHP5 overloading issue was fixed in 0.9.10.1
6282 not 0.9.10, so update a comment to reflect this.
6284 Wed May 16 09:21:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6286 * csharp/Makefile.am,xapian.i: Add ValueRangeProcessors to the
6287 bindings, and add the OP_VALUE_RANGE query operator.
6289 Tue May 15 17:47:30 BST 2007 Olly Betts <olly@survex.com>
6291 * README: Tweak wording.
6292 * csharp/docs/bindings.html: Document Unicode support.
6294 Tue May 15 16:42:32 BST 2007 Olly Betts <olly@survex.com>
6296 * HACKING,README: Various updates.
6298 Tue May 15 04:58:21 BST 2007 Olly Betts <olly@survex.com>
6300 * python/docs/bindings.html: Reword "This is being changed to [...]".
6302 Tue May 15 04:41:15 BST 2007 Olly Betts <olly@survex.com>
6304 * tcl8/docs/bindings.html: Add Unicode section, documenting the issue
6307 Tue May 15 04:35:10 BST 2007 Olly Betts <olly@survex.com>
6309 * php/docs/bindings.html: Add note about Unicode support.
6311 Mon May 14 19:42:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6313 * python/smoketest.py: Fix query tests to match the output of the
6316 Mon May 14 16:16:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6318 * python/docs/bindings.html: Fix typo - NFKC is definitely probably
6321 Mon May 14 15:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6323 * python/pythontest.py,python/smoketest.py: Fix pythontest and
6324 smoketest to expect what I think should be the correct output.
6325 smoketest still doesn't pass, sadly, because the PARTIAL option
6326 isn't fully implemented for the new scheme yet.
6328 Sun May 13 04:55:30 BST 2007 Olly Betts <olly@survex.com>
6330 * java/org/xapian/XapianJNI.java,tcl8/docs/bindings.html: "writeable"
6333 Sun May 13 04:50:13 BST 2007 Olly Betts <olly@survex.com>
6335 * python/docs/bindings.html: "agnositc" -> "agnostic", and capitalise
6336 "Xapian" for consistency.
6338 Sat May 12 22:04:07 BST 2007 Olly Betts <olly@survex.com>
6340 * configure.ac: If SWIG has been explicitly specified (in the
6341 environment or with `./configure SWIG=xxx') then downgrade the
6342 AC_MSG_ERROR() if the version is wrong to a warning. Also,
6343 if no version is read, then say "(you have an unknown version)"
6344 rather than "(you have )".
6346 Thu May 10 18:18:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6348 * tcl8/except.i: Fix for change to return type of
6351 Wed May 09 17:20:25 BST 2007 Olly Betts <olly@survex.com>
6353 * csharp/Makefile.am: Add TermGenerator.cs to list of generated C#
6356 Wed May 09 16:44:50 BST 2007 Olly Betts <olly@survex.com>
6358 * java-swig/Makefile.am: Update for TermGenerator class.
6359 * ./: Update svn:ignore for TermGenerator class and xapian_wrap.stamp.
6361 Tue May 08 19:58:04 BST 2007 Olly Betts <olly@survex.com>
6363 * configure.ac: Fix incorrect second reference to SWIG SVN revision number
6364 needed. Add comment noting what we need perl for.
6366 Tue May 08 19:56:11 BST 2007 Olly Betts <olly@survex.com>
6368 * xapian.i: %include <xapian/deprecated.h> rather than assuming things
6369 about how it is implemented.
6371 Tue May 08 19:37:53 BST 2007 Olly Betts <olly@survex.com>
6373 * ruby/util.i: Deine SWIG_NO_EXPORT_ITERATOR_METHODS to suppress
6374 SWIG's new iterator support for Ruby which we don't use.
6376 Tue May 08 15:59:02 BST 2007 Olly Betts <olly@survex.com>
6378 * xapian.i: Tell SWIG about XAPIAN_DEPRECATED() earlier so that it
6379 copes with XAPIAN_DEPRECATED() being used in xapian/error.h.
6381 Tue May 08 15:50:21 BST 2007 Olly Betts <olly@survex.com>
6383 * xapian.i: Removed lingering reference to PYTHON_OLDE.
6385 Mon May 07 11:01:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6387 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6388 python/Makefile.am,ruby/Makefile.am: Fix rules with multiple
6389 targets to recover from the removal of one or more of the targets
6390 without removing the stamp file, as detailed in the automake
6393 Sun May 06 16:03:12 BST 2007 Olly Betts <olly@survex.com>
6395 * configure.ac: Set version to mythical 0.9.99.
6397 Fri May 04 20:00:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6399 * python/smoketest.py,xapian.i: Add TermGenerator to bindings, and
6400 a basic python smoketest (which currently fails, I think due to a
6401 bug in the TermGenerator).
6403 Fri Apr 27 09:28:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6405 * xapian.i: Add third overloaded form of parse_query, which allows
6406 the "default_prefix" argument to be supplied.
6408 Thu Apr 26 16:48:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6410 * python/extra.i: Change quotes on `start` to make epydoc happy.
6412 Thu Apr 26 15:29:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6414 * python/extra.i: Change termlist iterators which returned items in
6415 which only the term could be accessed to return the term directly.
6416 May break some old applications, but all the applications I've
6417 seen were just calling the internal iterator to get this
6418 behaviour anyway, and ignoring the sequence API method. Now is
6419 the only time this can be cleaned up, really. Allows idioms like
6420 ','.join(enq.matching_terms) to work.
6421 Also, change MSet.get_hit() to return an MSetItem instead of an
6422 MSetIterator: allows all our work on lazy access to be used. Add
6423 deprecated methods to MSetItem to allow code which was expecting
6424 an MSetIterator to work (for now).
6425 * python/pythontest.py: Change tests not to use deprecated
6426 features, except in marked sections designed for that purpose.
6427 Test out-of-range access to MSets (used to cause a crash).
6428 Adjust tests for termlists which return strings.
6429 * python/smoketest.py: Change reference to deprecated
6430 Enquire.get_matching_terms() to Enquire.matching_terms()
6432 Mon Apr 23 23:10:41 BST 2007 Olly Betts <olly@survex.com>
6434 * python/smoketest.py,xapian.i: Wrap Enquire::INCLUDE_QUERY_TERMS
6435 and Enquire::USE_EXACT_TERMFREQ.
6437 Mon Apr 23 20:48:43 BST 2007 Olly Betts <olly@survex.com>
6439 * xapian.i: Correct out-of-date comment.
6441 Mon Apr 23 17:20:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6443 * python/extra.i: Change code which sets __all__ to non-functional
6444 style syntax, because we want to support python 2.2 and 2.3.
6446 Mon Apr 23 15:54:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6448 * python/extra.i: Set __docformat__ and __all__ to make output from
6449 "help" and tools like epydoc nicer. __all__ is set by filtering
6450 the symbols returned by dir(), so the value it's set to shouldn't
6451 need much maintenance. Setting __all__ also makes it more
6452 reasonable to do "from xapian import *", but that's probably not
6453 really a good idea in anything but the simplest script.
6455 Mon Apr 23 13:59:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6457 * python/Makefile.am: Add -threads flag to SWIG command when
6458 generating python bindings: threads are used in so many python
6459 applications these days that we really need to support them.
6460 Hopefully fixes bugs #137.
6462 Mon Apr 23 12:58:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6464 * README: Mention that PHP now builds with MSVC, and remove comment
6465 that Python 2.0 and 2.1 could be made to work - it would be quite
6468 Mon Apr 23 12:56:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6470 * python/testsuite.py: Add extra VERBOSE=3 level, which displays
6471 the checks which were performed, even if they passed. Very
6472 useful for debugging code which unexpectedly segfaults.
6474 Mon Apr 23 11:34:47 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6476 * python/pythontest.py: Test exception which is thrown by a
6477 termlist from a freshly created document if the term frequency
6478 information is requested.
6480 Mon Apr 23 10:56:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6482 * python/extra.i: Change skip_to() methods to return item skipped
6483 to, and fix several bugs in them.
6484 * python/pythontest.py: Test skip_to() for termlists and posting
6487 Mon Apr 23 09:54:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6489 * python/extra.i: Fix documentation comments for TermListItem and
6490 improve code documentation. Implement support for lazy
6491 evaluation with posting lists.
6492 * python/pythontest.py: Test legacy sequence API for termlists, and
6493 fix small bug in test for document termlists (was passing, but
6494 not testing what it was meant to). Add new test for posting
6497 Sun Apr 22 21:14:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6499 * python/extra.i: Add documentation comments for position
6500 iterators and value iterators. Make value iterators return items
6501 with attributes, rather than arrays (using _SequenceMixIn to
6502 provide legacy interface, as for other iterators).
6503 * python/pythontest.py: Add tests for value and position iterators.
6505 Sun Apr 22 19:24:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6507 * csharp/Makefile.am,php/Makefile.am,python/Makefile.am,
6508 ruby/Makefile.am: Add xapian_wrap.stamp files to CLEANFILES when
6511 Sun Apr 22 17:50:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6513 * python/pythontest.py: Correct stoplist test to expect correct
6516 Sun Apr 22 00:13:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6518 * python/extra.i: Add documentation comments for queryparser
6519 stoplist and unstemlist.
6520 * python/pythontest.py: Add tests of stoplist and unstemlist
6523 Sat Apr 21 20:30:32 BST 2007 Olly Betts <olly@survex.com>
6525 * configure.ac: We require automake 1.9.5 for xapian-core, so require
6526 it here too for consistency. Turn on automake -Wportability option.
6528 Sat Apr 21 11:30:26 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6530 * python/extra.i: Change term iterators so that they can handle
6531 WDF and term frequency information either lazily or eagerly.
6532 Always handle positionlist information lazily. Return an error
6533 if the iterator has already moved on when a lazily accessed piece
6534 of information is requested. Set access to lazy or eager (or no
6535 access) for each item for each type of termlist iterator which
6536 can be returned, and document this in the documentation comments.
6537 This may impact some users of the legacy sequence API, but is
6538 likely to work for typical and reasonable usages of the API.
6539 Still needs to be documented in the python binding documentation
6541 * python/pythontest.py: Add tests for term iterators returned by
6542 matching terms, Query objects, alltermlists on databases,
6543 termlists on database, documents returned from databases, and
6544 newly created documents.
6546 Fri Apr 20 15:07:03 BST 2007 Olly Betts <olly@survex.com>
6548 * csharp/SmokeTest.cs,csharp/docs/bindings.html,
6549 java/native/Enquire.cc,xapian.i: Update for change of return type of
6550 MatchDecider::operator() and ExpandDecider::operator(). The only
6551 change visible in a wrapped language is in C# where the return type
6552 also changes from `int' to `bool'.
6553 * xapian.i: Where directors are supported, also wrap the alternative
6554 form of Enquire::get_eset() which doesn't take the flags or k
6556 * java-swig/util.i: Rename MatchDecider::operator() and
6557 ExpandDecider::operator() to `accept' in Java to match the JNI
6559 * java-swig/SmokeTest.java: Uncomment some more of the code which
6562 Fri Apr 20 10:48:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6564 * csharp/,ruby/: Ignore generated *.stamp files.
6566 Fri Apr 20 10:46:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6568 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6569 python/Makefile.am,ruby/Makefile.am: Add intermediate targets in
6570 all cases where swig generates multiple output files.
6572 Fri Apr 20 10:37:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6574 * python/Makefile.am: Add intermediate target when running swig, in
6575 line with comment recently added to xapian-core/HACKING regarding
6576 rules with multiple targets.
6578 Fri Apr 20 00:30:16 BST 2007 Olly Betts <olly@survex.com>
6580 * java-swig/util.i: Sort out typemap for the "Query from operator
6581 and array of Query objects" constructor.
6582 * java-swig/Makefile.am: Delete the "extra" .class files upon
6583 "make clean". Query$1.class seems to be useless, so don't
6584 include it in the .jar. Use perl to insert a call to load the JNI
6585 library automatically before we try to use it since SWIG doesn't
6586 seem to do this for us. Now "make check" passes, but with lots
6587 commented out still.
6589 Fri Apr 20 00:16:17 BST 2007 Olly Betts <olly@survex.com>
6591 * python/Makefile.am: Don't assume Perl is `perl' - use `$(PERL)'
6594 Thu Apr 19 22:37:05 BST 2007 Olly Betts <olly@survex.com>
6596 * java-swig/util.i: Rename get_description() methods to toString()
6599 Thu Apr 19 22:34:59 BST 2007 Olly Betts <olly@survex.com>
6601 * java-swig/Makefile.am: Fix bogus line-break in CLEANFILES.
6602 Add xapian_wrap.h to BUILT_SOURCES and swig running rule.
6604 Thu Apr 19 22:34:28 BST 2007 Olly Betts <olly@survex.com>
6606 * xapian.i: Query::get_description() is actually const.
6608 Thu Apr 19 18:20:59 BST 2007 Olly Betts <olly@survex.com>
6610 * java-swig/Makefile.am: Handle the extra .class files generated by
6613 Thu Apr 19 14:45:19 BST 2007 Olly Betts <olly@survex.com>
6615 * Makefile.am,configure.ac,java-swig/,xapian.i: First cut of Java
6616 bindings built using SWIG. Numerous things aren't wrapped in
6617 a compatible way (not sure if we can sensibly be 100% compatible
6618 anyway though) and 'make check' fails to run, but this has
6619 reached the stage where version control is needed.
6621 Thu Apr 19 00:41:25 BST 2007 Olly Betts <olly@survex.com>
6623 * ruby/docs/bindings.html: Note that C++ operator() becomes
6626 Wed Apr 18 23:35:52 BST 2007 Olly Betts <olly@survex.com>
6628 * ruby/util.i: Remove '%ignore' for deprecated methods we've now
6631 Wed Apr 18 23:32:35 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6633 * python/extra.i,python/pythontest.py: Fix legacy sequence API for
6636 Wed Apr 18 23:31:39 BST 2007 Olly Betts <olly@survex.com>
6638 * csharp/Makefile.am,java/org/xapian/Enquire.java,
6639 java/org/xapian/XapianJNI.java,ruby/util.i,xapian.i:
6640 Update for removal of Enquire::set_bias().
6642 Wed Apr 18 17:09:22 BST 2007 Olly Betts <olly@survex.com>
6644 * guile/util.i,python/extra.i,python/util.i,ruby/util.i,tcl8/except.i,
6645 tcl8/util.i: Sort out vim magic comments for all .i files.
6647 Wed Apr 18 16:41:37 BST 2007 Olly Betts <olly@survex.com>
6649 * python/: svn:ignore doccomments.i.
6651 Wed Apr 18 16:18:45 BST 2007 Olly Betts <olly@survex.com>
6653 * csharp/util.i,generic/except.i: Move C# specific exception stuff
6654 into C# specific file.i.
6655 * csharp/util.i: Add vim magic to use C++ highlighting (not perfect as
6656 this file also contains C# code, but better than vim's default for a
6659 Wed Apr 18 15:54:29 BST 2007 Olly Betts <olly@survex.com>
6661 * python/util.i: Use %inline to avoid duplicating MSET_DID, etc. Set
6664 Wed Apr 18 15:37:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6666 * python/doxy2swig.py.in: Fix issue with output from newer version
6667 of Doxygen which puts <ref/> nodes inside <parametername/> nodes.
6669 Wed Apr 18 02:34:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6671 * python/extra.i: Improve various documentation comments. Allow
6672 _SequenceMixIn to have default values for some parameters,
6673 instead of doing a lookup, to allow termlists and posting lists
6674 to return the fake values returned by the old sequence API. Add
6675 termlist iterators, and link them into the Enquire.matching_terms
6677 * python/pythontest.py: Add a check that xapian exceptions have
6678 Exception as a base class. Also, add a test of the new
6679 Enquire.matching_terms term iterators.
6681 Wed Apr 18 02:12:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6683 * README: Add comment about using gmcs and mcs.
6685 Wed Apr 18 02:01:43 BST 2007 Olly Betts <olly@survex.com>
6687 * configure.ac: Prefer gmcs to mcs when looking for a C# compiler
6688 since gmcs is the newer compiler targeting the 2.0 runtime.
6690 Wed Apr 18 01:12:39 BST 2007 Olly Betts <olly@survex.com>
6692 * csharp/util.i: Remove renaming exception for get_term - the
6693 automatic naming will handle that correctly.
6695 Wed Apr 18 00:29:57 BST 2007 Olly Betts <olly@survex.com>
6697 * java/native/Enquire.cc,java/native/Stem.cc: Update to use new
6698 C++ replacements for deprecated methods. The Java wrappers
6699 still provide the old deprecated names for now though.
6700 * ruby/smoketest.rb: For now, use @stem.call("foo").
6701 * ruby/util.i,xapian.i: Remove wrappers for deprecated methods and
6704 Wed Apr 18 00:15:40 BST 2007 Olly Betts <olly@survex.com>
6706 * python/Makefile.am: Need to distribute testsuite.py.
6708 Tue Apr 17 23:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6710 * python/util.i: add __str__ methods as aliases for the
6711 get_description() methods, and deprecate the get_description()
6714 Tue Apr 17 22:41:40 BST 2007 Olly Betts <olly@survex.com>
6716 * python/docs/examples/simpleexpand.py: Replace use of deprecated
6717 RSet::is_empty() with RSet::empty().
6719 Tue Apr 17 21:02:52 BST 2007 Olly Betts <olly@survex.com>
6721 * php/util.i,xapian.i: We need to keep is_empty() for PHP as empty()
6722 clashes with a reserved word! Refactor to use %rename in php/util.i
6723 instead of %ignore on empty() and a special is_empty() wrapper in
6725 * php/docs/bindings.html: Document renaming of empty() to
6726 is_empty() and clone() to clone_object().
6728 Tue Apr 17 19:57:03 BST 2007 Olly Betts <olly@survex.com>
6730 * configure.ac: Fix comment typo.
6732 Tue Apr 17 19:20:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6734 * csharp/Makefile.am: Add Flint.cs to list of generated files, so
6735 it gets cleaned and added to dist.
6737 Tue Apr 17 16:34:27 BST 2007 Olly Betts <olly@survex.com>
6739 * ruby/xapian.rb: Don't read termfreq in safe wrapper for
6740 Document::termlist_begin(). Don't read wdf in safe wrapper
6741 for Database::allterms_begin(). Fixes bug#133.
6743 Tue Apr 17 14:51:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6745 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
6746 csharp/docs/examples/SimpleSearch.cs: Change references to
6747 stem.StemWord() to stem.Apply()
6749 Tue Apr 17 14:30:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6751 * php/docs/examples/,php/smoketest.php,
6752 tcl8/docs/examples/simpleindex.tcl,
6753 tcl8/docs/examples/simplesearch.tcl,tcl8/smoketest.tcl:
6754 Replace references to deprecated stem.stem_word() with stem.apply()
6756 Tue Apr 17 10:14:01 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6758 * python/docs/examples/,python/smoketest.py: Change references to
6759 stem.stem_word() to stem()
6761 Tue Apr 17 08:57:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6763 * python/testsuite.py: Run tests in predicatable order, by sorting
6764 the list of tests if it's supplied as a dictionary.
6766 Mon Apr 16 18:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6768 * python/docs/bindings.html,python/docs/examples/simpleexpand.py:
6769 Document ESetIterator::get_term() instead of
6770 ESetIterator::get_termname()
6772 Mon Apr 16 18:32:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6774 * csharp/util.i,php/docs/examples/simpleexpand.php4,
6775 php/docs/examples/simpleexpand.php5: Change to use get_term()
6776 instead of get_termname().
6777 * php/docs/bindings.html,ruby/docs/bindings.html,
6778 tcl8/docs/bindings.html: Document ESetIterator::get_term()
6779 instead of ESetIterator::get_termname()
6781 Mon Apr 16 18:27:39 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6783 * xapian.i: Add ESetIterator::get_term() as alias for now
6784 ESetIterator::get_termname(), and mark the old get_termname as
6785 deprecated. Tidy up all comments about deprecated functions,
6786 giving the version they were deprecated in.
6788 Mon Apr 16 11:16:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6790 * python/extra.i,python/pythontest.py: Add nicer ESet iterators,
6793 Mon Apr 16 01:08:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6795 * python/extra.i,python/pythontest.py,xapian.i: Add access to the
6796 collapse_key() method of mset iterators. Add it to the new-style
6797 python MSet iterator, and test it. Add documentation strings for
6798 describing the python MSetItem properties and attributes.
6800 Mon Apr 16 00:23:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6802 * python/extra.i: Rework MSet iterators: they now return an
6803 MSetItem object instead of a sequence. The sequence API is
6804 emulated with a _SequenceMixIn baseclass. The MSetItem object
6805 allows access to all the properties returned in the list
6806 previously returned, and also allows access to the collapse_count
6807 property. In addition, it evaluates the document property
6808 lazily, so no work is done if we don't actually want to read it.
6809 Also, add support for __getitem__ on MSet items to access items
6810 in the MSet in a more pythonic way, and implement the other
6811 sequence methods "__len__" and "__contains__".
6812 * python/: Ignore some generated files.
6813 * python/Makefile.am: Add pythontest.py and extracomments.py
6814 * python/pythontest.py: New testsuite for Python-specific code.
6816 Mon Apr 16 00:19:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6818 * python/doxy2swig.py.in: Don't add information about C++ includes
6819 to docstrings - not useful to anyone.
6820 * python/extracomments.i: Add a new file to hold docstrings which
6821 override the automatically generated ones, or fill in gaps. There
6822 are going to be quite a few of these eventually, so best to keep
6823 thee separate from the other code from the start.
6824 * python/util.i: Include extracomments.i
6826 Mon Apr 16 00:14:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6828 * python/testsuite.py: Enhance and refactor the testsuite - it now
6829 supports the same environment variables that the C++ testsuite
6830 does, uses a little colour to highlight successes and failures,
6831 and has different levels of verbosity. In line with the C++
6832 testsuite, it is not verbose by default, but it does display a
6833 message describing how to turn the verbosity up.
6834 * python/docs/bindings.html: Document the test suite a little, fix
6835 a typo, and mention the work in progress on the iterators. (Will
6836 need more detailed revision once the work is completed.)
6838 Sun Apr 15 23:31:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6840 * python/doxy2swig.py.in: For methods, if there is a
6841 briefdescription node, output it first so that the short summary
6842 describes the purpose of the method, rather than being the C++
6845 Sun Apr 15 18:09:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6847 * python/smoketest.py,python/testsuite.py: Enhance testsuite to
6848 allow multiple test functions, and to format output similarly to
6849 C++ testsuite (including ANSI colour on output devices which
6850 support it). Colours can be disabled explicitly using
6851 XAPIAN_TESTSUITE_OUTPUT=plain, and verbose output can be turned
6852 on by setting VERBOSE=1.
6854 Sun Apr 15 00:21:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6856 * python/extra.i: Change to using new-style classes for pure python
6857 code, since we're depending on python >= 2.2 now.
6859 Sun Apr 15 00:13:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6861 * python/smoketest.py,python/testsuite.py: Refactor code for
6862 running the python tests into a separate file, so it can be used
6863 for a separate set of python-specific tests.
6865 Fri Apr 13 16:30:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6867 * python/doxy2swig.py.in: Add script to generate doccomments.i file
6868 from XML output of doxygen. Adds much useful documentation to
6869 the python bindings (it's still quite messy, but much better than
6870 nothing). Unfortunately, a bug in SWIG means that not all the
6871 documentation is visible - I've put a patch at
6872 http://sf.net/tracker/index.php?func=detail&aid=1700146&group_id=1645&atid=301645
6873 * python/util.i: Include generated doccomments.i file.
6874 * configure.ac: Add rules to generate python/doxy2swig.
6875 * python/Makefile.am: Rules to generate and depend on doccomments.i
6877 Fri Apr 13 13:40:03 BST 2007 Olly Betts <olly@survex.com>
6879 * python/extra.i: Only read wdf for termlists which actually support
6880 it. This was failing for alltermslist in a debug build, and now
6881 fails with InvalidOperationError in all builds.
6883 Thu Apr 12 17:56:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6885 * xapian.i: Parse the visibility support header file, so we don't
6886 get errors when we %include other xapian headers. Fixes error
6887 reported by python/except.i, which has a line saying
6888 %include "xapian/error.h"
6890 Wed Apr 11 13:42:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6892 * python/smoketest.py: Add the custom test failure messages back,
6893 and revert changes to tests which I made (which will be going
6894 into a custom python-specific test file in time). When a test
6895 fails, display context of the test failure together with the
6896 Xapian version and platform information.
6898 Wed Apr 11 10:30:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6900 * python/smoketest.py: Replace cut-and-pasted test checking code
6901 with functions, to simplify tests.
6903 Tue Apr 10 20:10:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6905 * python/smoketest.py: Remove check for version Python version 2.2
6906 before running iterator tests - we no longer support earlier
6909 Sun Apr 08 19:11:05 BST 2007 Olly Betts <olly@survex.com>
6911 * python/docs/bindings.html: Python 2.2 is the minimum required
6912 version so remove "Provided you're using Python 2.2 or newer".
6914 Thu Apr 05 10:38:37 BST 2007 Olly Betts <olly@survex.com>
6916 * php/util.i: Avoid undefined behaviour in get_matching_terms().
6917 This fixes the problem reported by Daniel Ménard under MSVC.
6919 Wed Apr 04 13:30:11 BST 2007 Olly Betts <olly@survex.com>
6921 * configure.ac: Look for jni.h in $JAVA_HOME/include and
6922 $JDK_HOME/include if the respective variables are set.
6924 Wed Apr 04 13:07:12 BST 2007 Olly Betts <olly@survex.com>
6926 * configure.ac: When passing $SWIG, $PERL, etc to AC_PATH_PROGS
6927 quote them to avoid splitting at spaces (paths with spaces still
6928 won't work here, but at least you should now be able to pass
6929 SWIG='swig -fakeversion 1.3.32' or similar (only do this if you're
6930 happy to accept the consequences in this particular case!) Also
6931 if the user specifies a program which doesn't exist (e.g.
6932 PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it
6933 (this still happens in a few cases, but the easy ones should now
6936 Wed Apr 04 11:19:03 BST 2007 Olly Betts <olly@survex.com>
6938 * configure.ac: Bump version to 0.9.10.1 so snapshots don't look older
6939 than releases. Note that SWIG SVN rev >= 9670 is now required for
6940 the PHP5 ZTS MSHUTDOWN fix.
6942 Wed Apr 04 10:31:34 BST 2007 Olly Betts <olly@survex.com>
6944 * php/util.i: Revert last change - I'm fixing this in SWIG and calling
6945 ts_free_id twice is likely to be a bad idea.
6947 Wed Apr 04 10:21:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6949 * php/util.i: Add %mshutdown section to allow cleanup properly for
6950 windows builds (or other builds with ZTS).
6952 Wed Apr 04 07:33:53 BST 2007 Olly Betts <olly@survex.com>
6954 * INSTALL: Add details for how to install Ruby bindings in your home
6957 Wed Apr 04 07:31:37 BST 2007 Olly Betts <olly@survex.com>
6959 * ./,csharp/,ruby/,java/,php/,guile/,tcl8/,generic/: svn:ignore all
6962 Wed Apr 04 07:29:08 BST 2007 Olly Betts <olly@survex.com>
6964 * xapian.i: Add vim magic comment at the end to get sane syntax
6965 highlighting automatically.
6967 Wed Apr 04 07:24:48 BST 2007 Olly Betts <olly@survex.com>
6969 * generic/except.i: Fix pathname in first comment. Dug through
6970 the SVN history to reveal who has actually worked on this code
6971 so updated the (C) lines.
6973 Wed Apr 04 06:45:44 BST 2007 Olly Betts <olly@survex.com>
6975 * python/: Oops, it's "except.i" not "exceptions.i".
6977 Wed Apr 04 06:42:27 BST 2007 Olly Betts <olly@survex.com>
6979 * python/: svn:ignore exceptions.i and all vim swapfiles (not just the
6980 first for a given files).
6982 Tue Apr 03 17:52:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6984 * python/util.i: Add typemap to allow strings to be returned by
6985 implementations of director methods which expect strings:
6986 currently this is only the get_description() method of a Stopper
6987 subclass, which is never actually called by C++, but this might
6988 be more generally useful in future, and covers the last point
6989 where Python strings can get passed to C++.
6990 * python/smoketest.py: Add some tests that the stoppers work as
6993 Tue Apr 03 13:54:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6995 * python/util.i: Add typemap for checking string type in overloaded
6996 functions, allowing unicode strings to be passed to binary Query
6997 constructor. Also add "freearg" typemap corresponding to the
6998 "in" typemap for string references, which doesn't change the
6999 output code but might make us more robust against future changes
7000 in the SWIG library.
7001 * python/smoketest.py: Test binary Query constructor with unicode
7004 Tue Apr 03 10:40:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7006 * python/util.i: Add some (fairly nasty) typedefs which handle
7007 almost all cases where a string object is supplied to an API
7008 function, and make them convert unicode strings to UTF-8 encoded
7009 simple strings automatically. There are three places left in the
7010 API which aren't covered by these typedefs, and will require
7011 individual handling. The typedefs are largely the same as the
7012 built-in typedefs for string handling, but point to a different
7013 wrapper function which performs the unicode conversion before
7014 calling the normal string-to-ptr conversion. Sadly, I can't see
7015 any way to modify the built-in typedefs for string handling
7016 without reproducing them as I have here, but if it is possible to
7017 just cause them to point at a different string-to-ptr routine,
7018 that would be desirable.
7019 * python/smoketest.py: Add tests for some of the functions which
7020 should accept unicode strings.
7021 * python/docs/bindings.html: Document how unicode handling is
7022 intended to work. Also document how to normalise unicode strings
7023 with the unicodedata module to make them ready to pass to Xapian.
7025 Tue Apr 03 05:19:52 BST 2007 Olly Betts <olly@survex.com>
7027 * xapian.i: Replace Xapian::Stem with "%include <xapian/stem.h>" and
7028 suitable %ignore directives. The generated code for all bindings
7029 is unchanged except for minor changes due to the old xapian.i
7030 failing to declare Stem::stem_word as "const".
7032 Mon Apr 02 14:50:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7034 * python/util.i: Convert unicode strings to
7035 UTF-8 strings in handler for strings in the sequence supplied to
7036 a Query constructor.
7037 * python/smoketest.py: Refactor repeated code which checks that a
7038 query description is as expected into a function, and add some
7039 checks of query constructors using unicode strings.
7040 * python/generate-python-exceptions.in: Add a catch clause for
7041 exceptions raised by the standard library.
7043 Sun Apr 01 23:05:10 BST 2007 Olly Betts <olly@survex.com>
7045 * xapian.i: Update SimpleStopper::add() parameter type.
7047 Sat Mar 31 13:28:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7049 * python/docs/bindings.html: Update documentation on exception
7052 Sat Mar 31 11:47:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7054 * python/Makefile.am: Postprocess the generated python file
7055 "modern/xapian.py" to make the Error class inherit from the
7056 standard Exception class, so that scripts can catch all
7057 exceptions which are sensible to catch using the standard idioms.
7058 Use perl rather than sed for this processing so that we can use
7059 exactly the same rule in the windows build system.
7061 Tue Mar 27 21:40:22 BST 2007 Olly Betts <olly@survex.com>
7063 * configure.ac: datarootdir is new in 2.60 too, so use datadir when
7064 setting docdir for 2.59.
7066 Tue Mar 27 21:36:10 BST 2007 Olly Betts <olly@survex.com>
7068 * python: svn:ignore generate-python-exceptions.
7070 Tue Mar 27 21:34:05 BST 2007 Olly Betts <olly@survex.com>
7072 * configure.ac: Ensure docdir is set for compatibility with autoconf
7074 * csharp/docs/Makefile.am,php/docs/Makefile.am,
7075 python/docs/Makefile.am,ruby/docs/Makefile.am,tcl8/docs/Makefile.am:
7076 Install docs and examples below $(docdir).
7078 Sat Mar 24 02:19:50 GMT 2007 Olly Betts <olly@survex.com>
7080 * xapian.i: Only wrap methods (or overloaded forms of methods) which
7081 take MatchDecider or ExpandDecider for languages where SWIG supports
7084 Sat Mar 24 02:19:13 GMT 2007 Olly Betts <olly@survex.com>
7086 * csharp/Makefile.am: Update list of generated .cs files now
7087 ExpandDecider is wrapped.
7089 Sat Mar 24 00:36:26 GMT 2007 Olly Betts <olly@survex.com>
7091 * python/smoketest.py,xapian.i: Wrap ExpandDecider for languages where
7092 SWIG supports directors (patch from William R Sowerbutts).
7094 Sat Mar 24 00:02:36 GMT 2007 Olly Betts <olly@survex.com>
7096 * python/docs/examples/simpleexpand.py: Print the document weight as
7097 a floating point value, not an integer.
7099 Fri Mar 23 23:53:10 GMT 2007 Olly Betts <olly@survex.com>
7101 * Forwardport change from branches/0.9:
7102 * configure.ac: Require unreleased SWIG 1.3.32 (SVN rev 9651) for
7105 Thu Mar 22 01:28:48 GMT 2007 Olly Betts <olly@survex.com>
7107 * configure.ac: Eliminate libtool probe code for f77, gcj, and rc
7108 which speeds up configure and knocks 28% off its size.
7110 Tue Mar 20 19:00:13 GMT 2007 Olly Betts <olly@survex.com>
7112 * php/docs/bindings.html: Add note that PHP examples are written for
7113 CLI version of PHP, but that the bindings work with any version.
7114 * php/docs/examples/: Add check to all PHP examples that they are
7115 being run under a CLI version of PHP.
7117 Fri Mar 09 14:14:47 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7119 * swig/xapian.i,xapian.i: Move swig/xapian.i back to top level.
7120 Olly prefers it here, and I don't really mind.
7121 * swig/defaults/except.i,generic/except.i: Move file.
7122 * swig/Makefile.mk,generic/generic.mk: Move file, and point to
7123 new locations of source files.
7124 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7125 php/Makefile.am,tcl8/Makefile.am: Include generic/generic.mk
7126 instead of swig/Makefile.mk
7127 * configure.ac: Look for xapian.i, not swig/xapian.i, in
7129 * Makefile.am: Point to new locations of files.
7131 Fri Mar 09 13:07:41 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7133 * python/generate-python-exceptions.in: New file - generates a
7134 python/except.i file from the exception_data.pm file in
7135 xapian-core. Only use in maintainer mode - requires the
7136 xapian-core module to exist in the same directory as the
7137 xapian-bindings module (eg, as would happen in a SVN checkout).
7138 This file changes the handling of xapian exceptions in the Python
7139 bindings - they are now translated into Python exception classes
7140 in a hierarchy matching that of the C++ exception hierarchy.
7141 * configure.ac: Require perl in maintainer mode, and add rules to
7142 generate python/generate-python-exceptions
7143 * python/Makefile.am: Add except.i to distribution, and add rules
7144 to generate and use it in maintainer mode.
7145 * python/smoketest.py: Change tests to expect xapian.Error
7148 Fri Mar 09 12:53:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7150 * tcl8/except.i: Tweak to add the license statement back into
7151 generated xapian_wrap.cc. Not sure if this is really desirable,
7152 but it's consistent with the earlier behaviour (and with what
7153 happens to other license statements from *.i files).
7155 Fri Mar 09 03:15:36 GMT 2007 Olly Betts <olly@survex.com>
7157 * csharp/util.i: Eliminate duplicated SWIG directive
7158 "%rename("GetValueNo") get_valueno;"
7160 Wed Mar 07 22:33:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7162 * php/except.i,swig/defaults/except.i: Split the PHP exception
7163 handling into a new file, since almost half the original file was
7164 conditionally compiled for PHP.
7165 * php/Makefile.am: Add php/except.i to dist and dependencies.
7167 Wed Mar 07 21:49:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7169 * tcl/except.i: New file, overriding swig/defaults/except.i for tcl.
7170 * tcl/util.i: Remove exception handling stuff - moved to except.i.
7171 No longer sets XAPIAN_EXCEPTION_HANDLER - presence of except.i has
7173 * tcl/Makefile.am: Add except.i to dist and dependencies.
7174 * swig/defaults/except.i: Remove checking of XAPIAN_EXCEPTION_HANDLER:
7175 no longer needed. Also, tweak comments (add licence and copyright;
7176 copyright is just copied from xapian.i, which this file was split
7177 from, and may thus claim copyright for people who never worked on
7178 this exact code). Also, fix whitespace.
7180 Wed Mar 07 16:35:13 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7182 * Makefile.am: Add swig/defaults/except.i to EXTRA_DIST.
7183 * swig/Makefile.mk: Add swig/defaults/except.i to SWIG_sources, and
7184 add swig/defaults/ to SWIG_includes, after language specific
7185 path entry (so language specific except.i files can be created to
7186 override the contents of swig/defaults/except.i).
7187 * swig/xapian.i,swig/defaults/except.i: Move the exception handling
7188 code out of swig/xapian.i and into swig/defaults/except.i
7190 Wed Mar 07 16:16:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7192 * xapian.i,swig/xapian.i: Move swig source file to a subdirectory,
7193 in preparation for splitting the language dependent stuff out.
7194 This commit shouldn't change the result of running swig.
7195 * swig/Makefile.mk: New makefile fragment, included by each
7196 language-specific SWIG-using Makefile.am, which defines the paths
7197 and flags to use when running SWIG. Also contains the
7198 MACOSX_DEPLOYMENT_TARGET stuff which was previously replicated in
7199 each SWIG-using Makefile.am
7200 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7201 php/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: Include
7202 swig/Makefile.mk to get the path to the language independent swig
7203 sources, and standard paths and flags to supply to SWIG. Update
7204 dependencies and rules for generating the xapian_wrap.cc files to
7205 use the values from swig/Makefile.mk. Remove the
7206 MACOSX_DEPLOYMENT_TARGET stuff (now in swig/Makefile.mk).
7207 * configure.ac: Reference swig/xapian.i from AC_CONFIG_SRCDIR
7209 * Makefile.am: Reference swig/xapian.i in EXTRA_DIST
7212 Tue Mar 06 01:56:36 GMT 2007 Olly Betts <olly@survex.com>
7214 * configure.ac: Bump version number to 0.9.10 so that snapshots don't
7215 look older than releases.
7217 Tue Mar 06 01:54:00 GMT 2007 Olly Betts <olly@survex.com>
7219 * configure.ac: Make the version check against the xapian-core version
7220 a warning not an error, and move it later on so it's harder for the
7221 user to miss. If you know what you're doing, it might be a useful
7222 thing to want to do.
7224 Sat Mar 03 04:23:26 GMT 2007 Olly Betts <olly@survex.com>
7226 * php/docs/Makefile.am,php/docs/bindings.html,php/docs/examples/:
7227 Update the documentation and examples to fix out-of-date information
7228 and document the differences between the PHP4 and PHP5 wrappers.
7229 * php/docs/example/simpleexpand.php4,
7230 php/docs/example/simpleexpand.php5: Add versions of simpleexpand.
7232 Sat Mar 03 04:17:07 GMT 2007 Olly Betts <olly@survex.com>
7234 * configure.ac: Fix handling of `$PHP_CONFIG --php-binary` - if it's
7235 not supported, we get a usage message on stdout which we don't want
7236 to try as a potential PHP interpreter!
7238 Sat Mar 03 03:34:12 GMT 2007 Olly Betts <olly@survex.com>
7240 * xapian.i: Don't hardcode the current literal numeric values
7241 for DB_CREATE_OR_OPEN, etc.
7242 * xapian.i: For PHP4, additionally define Xapian_DB_CREATE_OR_OPEN
7243 which will be the recommended name to use.
7245 Sat Mar 03 03:32:05 GMT 2007 Olly Betts <olly@survex.com>
7247 * php/smoketest.php: Add a testcase for the "SWIG didn't generate
7248 correct dispatch code in the wrapper in some cases" bug which
7251 Sat Mar 03 03:29:56 GMT 2007 Olly Betts <olly@survex.com>
7253 * php/smoketest5.php: Add the Error class name to differentiate the
7254 two previously identical error messages.
7256 Fri Mar 02 20:09:55 GMT 2007 Olly Betts <olly@survex.com>
7258 * csharp/Makefile.am: Remove Muscat36.cs.
7260 Fri Mar 02 19:49:12 GMT 2007 Olly Betts <olly@survex.com>
7262 * configure.ac: Try `$(PHP_CONFIG) --php-binary` when looking for a
7263 PHP interpreter - this works with PHP5.
7265 Fri Mar 02 19:00:52 GMT 2007 Olly Betts <olly@survex.com>
7267 * xapian.i: Remove Muscat 3.6 wrappers as support has already been
7268 removed from xapian-core.
7270 Fri Mar 02 02:22:12 GMT 2007 Olly Betts <olly@survex.com>
7272 * xapian-bindings.spec.in: Add support for passing "--without python"
7273 to rpmbuild. Document the various "--without" options in a comment
7274 at the start of the .spec file.
7276 Tue Feb 20 12:48:22 GMT 2007 Olly Betts <olly@survex.com>
7278 * xapian.i: QueryParserError is now a real error, so remove
7279 special handling for "const char *" exceptions.
7281 Sat Feb 10 01:19:26 GMT 2007 Olly Betts <olly@survex.com>
7283 * configure.ac,java/README,java/native/Makefile.am: On MacOS X, we
7284 need to rename the jni library to .jnilib.
7285 * java/README: MacOS X's JVM is documented to understand
7286 -Djava.library.path - the problem reported was likely due to the
7287 wrong extension on the jni library.
7289 Sat Feb 10 00:23:19 GMT 2007 Olly Betts <olly@survex.com>
7291 * configure.ac: Automatically look in the standard OS X JVM location
7293 * java/README: Document how to install the jni library on OS X.
7295 Sat Dec 30 14:40:22 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7297 * xapian.i: Add queryparser flags FLAG_PURE_NOT and FLAG_PARTIAL.
7298 * python/smoketest.py: Add tests for pure not and partial queries.
7300 Sat Dec 23 00:41:01 GMT 2006 Olly Betts <olly@survex.com>
7302 * java/native/org_xapian_XapianJNI.h,java/native/xapian_jni.h:
7303 Move header guards to surround the entire non-comment contents
7304 of the header files, which allows the compiler to optimise
7305 multiple inclusion (at least GCC does this).
7307 Sat Dec 23 00:38:49 GMT 2006 Olly Betts <olly@survex.com>
7309 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
7310 java/org/xapian/Enquire.java,java/org/xapian/XapianJNI.java:
7311 Enquire::getQuery() is implemented entirely in Java, so strip out
7312 the unused MyQuery mechanism, and so fix a memory link which it
7313 caused. Fixes the rest of bug#105.
7314 * java/SmokeTest.java: Add feature test for Enquire::getQuery().
7316 Fri Dec 22 18:48:46 GMT 2006 Olly Betts <olly@survex.com>
7318 * java/native/Query.cc: Release the array in the "Query from array"
7319 ctor to avoid a memory leak. Partly fixes bug#105.
7321 Fri Dec 22 18:30:44 GMT 2006 Olly Betts <olly@survex.com>
7323 * java/SmokeTest.java: Check getData() on the document in
7324 MyMatchDecider returns a non-empty string to make sure we are really
7325 getting the right document and not an empty document.
7327 Sat Dec 16 02:14:50 GMT 2006 Olly Betts <olly@survex.com>
7329 * configure.ac: Remove the sanity check for PHP_EXTENSION_DIR
7330 added in Xapian 0.9.8 - if this is the first PHP extension to be
7331 installed, the extension directory may not exist and "make install"
7333 * configure.ac: If zend.h isn't found and configure was run with
7334 "--with-php" we now die rather than disabling PHP support.
7336 Fri Dec 15 16:47:13 GMT 2006 Olly Betts <olly@survex.com>
7338 * configure.ac: Remove --with-swig option from configure - it no
7339 longer has a purpose as we now ship the files which are generated
7342 Tue Dec 12 21:51:23 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7344 * python/extra.i: Fix PostingIter for all-document iterators - was
7345 broken because positionlist_begin() throws an exception for
7346 all-document iterators. Fixed by keeping track of this and
7347 returning an empty list for positionlits iterators, in the same
7348 way as TermIter does.
7349 * python/smoketest.py: Add test for all-document iterators.
7351 Mon Dec 11 04:01:19 GMT 2006 Olly Betts <olly@survex.com>
7353 * java/Makefile.am: "make clean" now needs to remove
7354 MyMatchDecider.class and MyExpandDecider.class which are generated
7355 from SmokeTest.java.
7357 Fri Dec 08 04:13:32 GMT 2006 Olly Betts <olly@survex.com>
7359 * java/SmokeTest.java: Add feature/regression test for ExpandDecider
7360 which also now works thanks to the last checkin.
7362 Fri Dec 08 04:11:01 GMT 2006 Olly Betts <olly@survex.com>
7364 * java/native/Enquire.cc: Fix MatchDecider to work.
7365 * java/SmokeTest.java: Add feature/regression test for MatchDecider
7368 Thu Dec 07 02:25:25 GMT 2006 Olly Betts <olly@survex.com>
7370 * java/native/Enquire.cc: Fix MatchDecider and ExpandDecider to look
7371 for an "accept" method with the correct signature (bool return value
7372 not int). Reported by Alex Kushkuley.
7374 Thu Dec 07 02:08:56 GMT 2006 Olly Betts <olly@survex.com>
7376 * java/org/xapian/ESetIterator.java: Fix bug in ESetIterator.hasNext()
7377 reported by Alex Kushkuley.
7378 * java/SmokeTest.java: Add regression test.
7380 Mon Dec 04 03:31:36 GMT 2006 Olly Betts <olly@survex.com>
7382 * java/SmokeTest.java,java/native/Enquire.cc,
7383 java/org/xapian/Enquire.java: Fit Enquire.getESet() to be callable.
7385 Mon Dec 04 03:22:35 GMT 2006 Olly Betts <olly@survex.com>
7387 * java/SmokeTest.java,java/org/xapian/RSet.java: Add missing default
7388 constructor for RSet class - it's not much use without this!
7390 Thu Nov 16 04:01:23 GMT 2006 Olly Betts <olly@survex.com>
7392 * xapian-bindings.spec.in: Remove "." from the end of the Summary.
7394 Thu Nov 16 03:05:09 GMT 2006 Olly Betts <olly@survex.com>
7396 * configure.ac: As of xapian-core 0.8.0, XO_LIB_XAPIAN doesn't need to
7397 be called with arguments if you want a hard requirement on xapian,
7398 so remove the arguments.
7400 Wed Nov 15 19:55:57 GMT 2006 Olly Betts <olly@survex.com>
7402 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the
7403 requirement to add the linux header directory to the include path.
7405 Sun Nov 12 22:40:06 GMT 2006 Olly Betts <olly@survex.com>
7407 * NEWS: Update from ChangeLog file in preparation for branching and
7410 Sun Nov 12 21:35:42 GMT 2006 Olly Betts <olly@survex.com>
7412 * python/util.i: Need to use Py_ssize_t for length with
7413 PyString_AsStringAndSize() so the build with Python 2.5.
7415 Thu Nov 09 00:23:27 GMT 2006 Olly Betts <olly@survex.com>
7417 * NEWS,configure.ac: Update for 0.9.9.
7419 Wed Nov 08 22:47:56 GMT 2006 Olly Betts <olly@survex.com>
7421 * xapian-bindings.spec.in: We now require Python >= 2.2.
7423 Wed Nov 08 22:47:00 GMT 2006 Olly Betts <olly@survex.com>
7425 * xapian-bindings.spec.in: Run "autoreconf --force" to avoid rpath on
7428 Tue Nov 07 03:48:42 GMT 2006 Olly Betts <olly@survex.com>
7430 * xapian.i: Wrap Flint::open() and Flint::open_writable().
7432 Mon Nov 06 01:41:08 GMT 2006 Olly Betts <olly@survex.com>
7434 * configure.ac: Require SWIG 1.3.30 (1.3.30 isn't out yet, but
7435 1.3.30rc1 is suitable).
7436 * configure.ac: Remove unnecessary backticks from tclsh version test.
7438 Thu Nov 02 19:09:49 GMT 2006 Olly Betts <olly@survex.com>
7440 * NEWS,configure.ac: Update for 0.9.8.
7442 Thu Nov 02 17:54:41 GMT 2006 Olly Betts <olly@survex.com>
7444 * tcl8/run-tcl-test: Fix to work when /bin/sh is dash.
7445 * tcl8/util.i: Add handling for QueryParser std::string exceptions.
7446 Fix handling of unknown errors.
7447 * tcl8/smoketest.tcl: Add test.
7449 Thu Nov 02 13:43:31 GMT 2006 Olly Betts <olly@survex.com>
7451 * csharp/SmokeTest.cs: Test QueryParser parse error. Fix warning
7452 about unused variable in OP_ELITE_SET check.
7454 Tue Oct 31 02:01:43 GMT 2006 Olly Betts <olly@survex.com>
7456 * configure.ac: Sanity check PHP_EXTENSION_DIR and PHP_INC.
7458 Tue Oct 31 01:45:45 GMT 2006 Olly Betts <olly@survex.com>
7460 * configure.ac: Now tested on MacOS X 10.2, so update comment.
7462 Sat Oct 28 08:40:46 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7464 * python/smoketest.py: Add test to check QueryParser error
7467 Sat Oct 28 03:40:39 BST 2006 Olly Betts <olly@survex.com>
7469 * xapian.i: QueryParser::parse_query() throws const char *, not
7470 std::string. Make these exceptions look as if they are of
7471 type QueryParserError so this works the same way as 1.0 will.
7472 Also, return as SWIG_RuntimeError rather than SWIG_UnknownError - in
7473 particular so PHP4 turns this exception into a trappable warning
7474 rather than a hard error.
7475 * php/smoketest4.php,php/smoketest5.php: Add tests for the above.
7476 Also check the exception message given by the DocNotFoundError
7479 Fri Oct 27 11:28:48 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7481 * xapian.i: Catch exceptions of type "std:string", since the query
7482 parser currently throws these. This should probably be fixed in
7483 the query parser for release 1.0, but this fix prevents crashes
7484 due to these exceptions in a backwards compatible manner.
7486 Sun Oct 22 02:41:09 BST 2006 Olly Betts <olly@survex.com>
7488 * configure.ac: Fix check for jni.h in /usr/lib/jvm/java-gcj/include
7489 to actually work rather than using the cached failure of the first
7492 Sun Oct 22 02:29:09 BST 2006 Olly Betts <olly@survex.com>
7494 * java/SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
7495 * java/SmokeTest.java: Avoid gcj "set but not used" warning.
7497 Sat Oct 21 20:34:30 BST 2006 Olly Betts <olly@survex.com>
7499 * xapian.i: Wrap the "prog" form of Remote::open() (which is
7500 suitable for general purpose use as of 0.9.7) and the
7501 Remote::open_writable() methods (new in 0.9.7).
7503 Mon Oct 16 11:16:46 BST 2006 Olly Betts <olly@survex.com>
7505 * python/Makefile.am: Fix Python VPATH build to work again.
7507 Mon Oct 16 01:39:37 BST 2006 Olly Betts <olly@survex.com>
7509 * configure.ac: Note that SWIG is only useful for Xapian developers.
7511 Mon Oct 16 01:31:30 BST 2006 Olly Betts <olly@survex.com>
7513 * configure.ac: If we failed to find any languages to build for, give
7514 a more helpful message.
7516 Sun Oct 15 17:55:21 BST 2006 Olly Betts <olly@survex.com>
7518 * python/Makefile.am: Fix to work again in VPATH SVN checkout builds.
7520 Sun Oct 15 01:41:44 BST 2006 Olly Betts <olly@survex.com>
7522 * README,configure.ac,python/Makefile.am: Drop support for Python 2.1.
7524 Wed Oct 11 00:17:49 BST 2006 Olly Betts <olly@survex.com>
7526 * NEWS: Remove empty "Portability:" subheading.
7528 Tue Oct 10 22:08:21 BST 2006 Olly Betts <olly@survex.com>
7530 * csharp/Makefile.am,csharp/util.i,python/util.i,ruby/util.i,xapian.i:
7531 SWIG_DIRECTOR_TYPEMAPS isn't a reliable thing to test it appears, so
7532 define XAPIAN_SWIG_DIRECTORS ourselves for languages where SWIG
7533 supports directors and we are able to make use of them.
7535 Tue Oct 10 17:15:43 BST 2006 Olly Betts <olly@survex.com>
7537 * NEWS,configure.ac: Updated for 0.9.7.
7539 Tue Oct 10 17:04:40 BST 2006 Olly Betts <olly@survex.com>
7541 * csharp/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: In
7542 maintainer-mode, "make clean" should remove the SWIG generated files
7543 which would otherwise only be removed on "make maintainer-clean".
7545 Tue Oct 10 16:22:28 BST 2006 Olly Betts <olly@survex.com>
7547 * csharp/docs/bindings.html: Document MatchDecider subclassing.
7549 Tue Oct 10 16:05:02 BST 2006 Olly Betts <olly@survex.com>
7551 * python/docs/bindings.html: Call the example MatchDecider subclass
7552 "mymatchdecider" not "mymatcher".
7554 Tue Oct 10 16:04:40 BST 2006 Olly Betts <olly@survex.com>
7556 * ruby/docs/bindings.html: Document MatchDecider subclassing.
7558 Tue Oct 10 15:58:32 BST 2006 Olly Betts <olly@survex.com>
7562 Tue Oct 10 15:55:36 BST 2006 Olly Betts <olly@survex.com>
7564 * xapian.i: Only wrap MatchDecider where directors are supported.
7566 Tue Oct 10 13:16:08 BST 2006 Olly Betts <olly@survex.com>
7568 * csharp/Makefile.am,csharp/SmokeTest.cs,xapian.i: Add test of
7569 MatchDecider subclassing in C#.
7571 Tue Oct 10 11:39:46 BST 2006 Olly Betts <olly@survex.com>
7573 * ruby/util.i: Allow bool to be returned by ruby subclasses of
7575 * ruby/smoketest.rb: Add test of MatchDecider subclassing.
7577 Mon Oct 09 15:14:27 BST 2006 Olly Betts <olly@survex.com>
7579 * python/util.i,xapian.i: Enable directors everywhere that SWIG
7582 Sat Oct 07 10:45:07 BST 2006 Olly Betts <olly@survex.com>
7584 * php/smoketest.php,php/smoketest4.php,php/smoketest5.php: Factor out
7585 PHP version specific code into the smoketestN.php files, since we
7586 get parse errors from PHP4 otherwise.
7588 Fri Oct 06 21:40:09 BST 2006 Olly Betts <olly@survex.com>
7590 * php/: Rely on xapian.php to load the extension module for us.
7591 PHP4 bindings now generate proxy classes. Rewrite smoketest to
7592 handle either PHP4 or PHP5 proxy classes. Fix smoketest error
7593 messages to use PHP style code.
7595 Wed Oct 04 17:47:32 BST 2006 Olly Betts <olly@survex.com>
7597 * configure.ac,python/Makefile.am: Use -fno-strict-aliasing when
7598 compiling all SWIG bindings, not just python.
7600 Mon Oct 02 04:45:43 BST 2006 Olly Betts <olly@survex.com>
7602 * configure.ac: Only enable visibility annotations with GCC 4.0 or
7605 Sun Oct 01 13:40:49 BST 2006 Olly Betts <olly@survex.com>
7607 * ruby/docs/examples/simplesearch.rb: "First ten" is inaccurate since
7608 we may have less than 10 matches. Say "1-<N>" instead.
7609 * ruby/docs/examples/simplematchdecider.rb: Need to initialise
7610 super-class, and fix the value test in MyMatchDecider.
7612 Sun Oct 01 06:31:37 BST 2006 Olly Betts <olly@survex.com>
7614 * xapian.i: Use SWIGPHP instead of SWIGPHP4 since we want those
7615 parts for both PHP4 and PHP5 (SWIG's semantics have changed).
7617 Sun Oct 01 06:17:14 BST 2006 Olly Betts <olly@survex.com>
7619 * ruby/docs/examples/simplesearch.rb: Lowercase terms before stemming.
7621 * ruby/docs/examples/simplematchdecider.rb: Implemented, but the
7622 bindings don't currently enable directors for Ruby.
7624 Sun Oct 01 06:14:52 BST 2006 Olly Betts <olly@survex.com>
7626 * csharp/Makefile.am: SWIG C# now supports directors, so we get a
7627 xapian_wrap.h file generated too which we need to ship. Also
7628 remove the "nodist_" prefix from "XapianSharp_la_SOURCES" since
7629 we do want to distribute xapian_wrap.cc (and already mark it
7630 for explicit distribution elsewhere!)
7632 Sat Sep 30 19:49:18 BST 2006 Olly Betts <olly@survex.com>
7634 * python/docs/examples/simplematchdecider.py: Call the MyMatchDecider
7635 instance "mdecider" rather than "matcher", to avoid confusing the
7638 Sat Sep 30 03:30:33 BST 2006 Olly Betts <olly@survex.com>
7640 * ruby/Makefile.am: Oops, xapian.rb isn't a generated file. Undo
7641 last change, use the "dist_" prefix and let "make clean" remove
7642 the BUILT_SOURCES if we're in MAINTAINER_MODE.
7644 Sat Sep 30 03:28:19 BST 2006 Olly Betts <olly@survex.com>
7646 * ruby/Makefile.am: Add dependencies and clean rules for xapian.rb.
7648 Sat Sep 30 03:22:10 BST 2006 Olly Betts <olly@survex.com>
7650 * configure.ac: Look for ruby interpreter as "ruby1.8" since it's
7651 called that (with no "ruby" alias) on Ubuntu dapper at least.
7653 Sat Sep 30 03:03:30 BST 2006 Olly Betts <olly@survex.com>
7655 * python/docs/examples/simplematchdecider.py: Fix typo in comment.
7657 Sat Sep 30 03:01:22 BST 2006 Olly Betts <olly@survex.com>
7659 * python/Makefile.am: Prefer $(PYTHON_MODERN_OR_OLDE) to
7660 @PYTHON_MODERN_OR_OLDE@. No need to list xapian_wrap.h in
7663 Sat Sep 30 03:00:01 BST 2006 Olly Betts <olly@survex.com>
7665 * php/Makefile.am: When running smoketest.php, pass the "-q" option,
7666 which suppresses HTTP header output for PHP < 4.3 and is ignored for
7667 compatibility by more recent versions of PHP.
7669 Sat Sep 30 02:57:24 BST 2006 Olly Betts <olly@survex.com>
7671 * configure.ac,php/Makefile.am: Build PHP bindings for both PHP4 and
7672 PHP5 (using SWIG's new support for generating OO PHP5 wrappers).
7674 Sat Sep 30 02:41:23 BST 2006 Olly Betts <olly@survex.com>
7676 * python/smoketest.py: Added missing "sys.exit(1)" in
7677 TermIter.skip_to() test. Run exception handling tests and test for
7678 OP_ELITE_SET value whatever the python version is. Add test that
7679 MatchDecider can be subclassed successfully.
7681 Fri Sep 29 10:06:37 BST 2006 Olly Betts <olly@survex.com>
7683 * configure.ac: Fix typo - PHP_tried should be PHP_found. This might
7684 have caused the PHP interpreter not to be found in some cases when
7685 it was actually available, but it's only use to run the smoketest
7686 not for building the bindings.
7688 Fri Sep 29 07:02:10 BST 2006 Olly Betts <olly@survex.com>
7690 * tcl8/smoketest.tcl: Add comment about Tcl storing zero bytes as
7693 Thu Sep 28 15:05:07 BST 2006 Olly Betts <olly@survex.com>
7695 * python/extra.i,python/smoketest.py: Wrap TermIterator::skip_to().
7697 Thu Sep 28 12:09:52 BST 2006 Olly Betts <olly@survex.com>
7699 * csharp/SmokeTest.cs: Fix check that OP_ELITE_SET works to actually
7700 work, and also not give compiler warnings.
7701 * csharp/Makefile.am: Latest swig generates a "xapian_wrap.h" file, so
7702 ship that. Also don't mark xapian_wrap.cc as "nodist" in one place
7703 since we want to distribute it (and mark it so elsewhere).
7705 Thu Sep 28 11:54:46 BST 2006 Olly Betts <olly@survex.com>
7707 * java/SmokeTest.java,python/smoketest.py,ruby/smoketest.rb: Check
7708 that OP_ELITE_SET has the correct numerical value.
7710 Thu Sep 28 09:47:01 BST 2006 Olly Betts <olly@survex.com>
7712 * java/native/Makefile.am: Actually use JAVA_CPPFLAGS.
7714 Thu Sep 28 09:42:21 BST 2006 Olly Betts <olly@survex.com>
7716 * xapian.i: Explicitly set OP_ELITE_SET to 10, since some languages
7717 (e.g. Csharp) use the value from here rather than from the xapian
7719 * csharp/SmokeTest.cs: Check that OP_ELITE_SET works (until now it had
7720 the wrong value in C# so caused an exception).
7721 * php/smoketest.php: Check that OP_ELITE_SET has the correct numerical
7724 Mon Sep 11 06:51:25 BST 2006 Olly Betts <olly@survex.com>
7726 * configure.ac: Fix broken sed command in previous checkin.
7728 Fri Sep 08 03:27:36 BST 2006 Olly Betts <olly@survex.com>
7730 * configure.ac,tcl8/Makefile.am: For Tcl, remove any _svn6789 suffix
7731 from the version number.
7733 Tue Sep 05 21:14:33 BST 2006 Olly Betts <olly@survex.com>
7735 * configure.ac: Need to AC_SUBST(PYTHON_CXXFLAGS) so that we really
7736 add "-fno-strict-aliasing" when compiling the python bindings with
7739 Thu Aug 31 20:27:42 BST 2006 Olly Betts <olly@survex.com>
7741 * tcl8/Makefile.am,tcl8/run-tcl-test: Fix to work in VPATH build.
7743 Thu Aug 24 18:31:42 BST 2006 Olly Betts <olly@survex.com>
7745 * tcl8/smoketest.tcl: Add check that xapian::Query_OP_ELITE_SET has
7748 Thu Aug 24 18:03:47 BST 2006 Olly Betts <olly@survex.com>
7750 * tcl8/: Rework how the smoketest gets run to eliminate special code
7751 for using uninstalled bindings from smoketest.tcl itself. This
7752 allows the smoketest to be run using install bindings, and also
7753 make the smoketest a better example program.
7755 Fri Jun 09 04:10:18 BST 2006 Olly Betts <olly@survex.com>
7757 * configure.ac: We need to look for jni.h in
7758 /usr/lib/jvm/java-gcj/include on some Debian and Ubuntu boxes at
7761 Fri Jun 09 00:23:46 BST 2006 Olly Betts <olly@survex.com>
7763 * xapian.i: Add actual begin_transaction prototype.
7765 Mon May 29 11:19:32 BST 2006 Olly Betts <olly@survex.com>
7767 * php/Makefile.am: Distribute smoketest4.php and smoketest5.php.
7769 Thu May 25 08:09:15 BST 2006 Olly Betts <olly@survex.com>
7771 * php/smoketest5.php: Fix syntax of catch.
7773 Sat May 20 19:27:27 BST 2006 Olly Betts <olly@survex.com>
7775 * TODO: Add 2 entries for smoketest.rb.
7777 Sat May 20 18:09:32 BST 2006 Olly Betts <olly@survex.com>
7779 * php/: Now that we're throwing PHP exceptions with PHP5 we need
7780 separate versions of the exception handling test for PHP4 and
7783 Sat May 20 16:56:51 BST 2006 Olly Betts <olly@survex.com>
7785 * csharp/SmokeTest.cs: Added exception handling test.
7787 Sat May 20 16:36:30 BST 2006 Olly Betts <olly@survex.com>
7789 * tcl8/docs/examples/simpleindex.tcl,
7790 tcl8/docs/examples/simplesearch.tcl: Print $errorCode in
7791 the exception handler.
7793 Sat May 20 16:30:48 BST 2006 Olly Betts <olly@survex.com>
7795 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
7796 Implement saner exception handling for Tcl and document it.
7798 Sat May 20 14:28:39 BST 2006 Olly Betts <olly@survex.com>
7800 * tcl8/smoketest.tcl: Send error messages to stderr.
7801 * tcl8/smoketest.tcl: Add test of exception handling.
7803 Sat May 20 09:24:46 BST 2006 Olly Betts <olly@survex.com>
7805 * python/smoketest.py: Add test of exception handling.
7807 Sat May 20 06:18:43 BST 2006 Olly Betts <olly@survex.com>
7809 * Makefile.am,configure.ac: Specify required automake version in
7810 the call to AM_INIT_AUTOMAKE in configure.ac.
7812 Fri May 19 05:35:01 BST 2006 Olly Betts <olly@survex.com>
7814 * php/smoketest.php: Work out the name of the module we need to load.
7815 Check the return value of dl().
7817 Thu May 18 19:18:00 BST 2006 Olly Betts <olly@survex.com>
7819 * java/native/Query.cc: Correct two misuses of delete to delete[].
7822 Thu May 18 18:27:16 BST 2006 Olly Betts <olly@survex.com>
7824 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la
7825 has been built, so add an explicit dependency so that this works
7826 reliably in parallel builds. Fixes bug#77.
7828 Wed May 17 05:35:59 BST 2006 Olly Betts <olly@survex.com>
7830 * configure.ac: If we're building with GCC 3.4 or higher, pass
7831 -fvisibility=hidden when compiling SWIG generated code which makes
7832 the compiled modules a few percent smaller and perhaps a little
7835 Mon May 15 23:34:55 BST 2006 Olly Betts <olly@survex.com>
7837 * configure.ac: Fixed check for PYTHON_PATHSEP to use $PYTHON rather
7838 than python, and also report the check and its result to the user.
7840 Mon May 15 05:03:19 BST 2006 Olly Betts <olly@survex.com>
7842 * NEWS: Fix the recent headings which said "Xapian-core" to say
7845 Mon May 15 02:54:25 BST 2006 Olly Betts <olly@survex.com>
7847 * NEWS,configure.ac: Version 0.9.6.
7849 Sun May 14 04:15:07 BST 2006 Olly Betts <olly@survex.com>
7851 * csharp/Makefile.am: Fix compiling SmokeTest.cs when srcdir !=
7854 Sun May 14 03:26:11 BST 2006 Olly Betts <olly@survex.com>
7856 * README: Note that Python bindings have been built with MSVC.
7858 Sun May 14 02:52:40 BST 2006 Olly Betts <olly@survex.com>
7860 * csharp/SmokeTest.cs: Add URL for Portable.NET bug which means that
7861 "using Xapian;" is required.
7863 Sun May 14 01:25:07 BST 2006 Olly Betts <olly@survex.com>
7865 * csharp/SmokeTest.cs: The Portable.NET compiler seems to need "using
7866 Xapian;" to be able to see static member functions such as
7867 "Xapian.Version.Major()".
7869 Sun May 14 01:20:55 BST 2006 Olly Betts <olly@survex.com>
7871 * configure.ac,csharp/AssemblyInfo.cs.in: Set the version correctly
7872 when building a snapshot from SVN, store the key in the key
7873 container so we reuse it for later builds, and set informational
7876 Sat May 13 23:40:07 BST 2006 Olly Betts <olly@survex.com>
7878 * configure.ac: Passing /out: when compile a CSharp .exe as the
7879 Portable.NET compiler defaults to a.out. If we're using ilgac
7880 and sn isn't found, set SN=/bin/true since we don't need the
7882 * configure.ac: Look for mcs as gmcs too (since it's sometimes
7884 * README,TODO: We now support building with Portable.NET.
7886 Sat May 13 23:32:04 BST 2006 Olly Betts <olly@survex.com>
7888 * TODO: Update ruby todo list.
7890 Sat May 13 23:20:01 BST 2006 Olly Betts <olly@survex.com>
7892 * csharp/Makefile.am: When building SmokeTest.exe, pass
7893 -out:SmokeTest.exe because the Portable.NET compiler defaults to
7894 naming the output a.out.
7896 Sat May 13 21:14:24 BST 2006 Olly Betts <olly@survex.com>
7898 * csharp/Makefile.am: Fix to work when srcdir != builddir.
7900 Sat May 13 06:05:37 BST 2006 Olly Betts <olly@survex.com>
7902 * ruby/util.i: Rename set_XXX functions which take more than one
7903 parameter to XXX! rather than XXX=. set_query is almost always
7904 called with a single argument, so make than form XXX= and the
7905 two argument form XXX!.
7907 Sat May 13 05:52:03 BST 2006 Olly Betts <olly@survex.com>
7909 * xapian.i: Adding "throw()" to version functions doesn't actually
7910 seem to suppress %exception, so explicitly specify no-op %exception
7913 Sat May 13 02:00:27 BST 2006 Olly Betts <olly@survex.com>
7915 * TODO,csharp/Makefile.am,csharp/SmokeTest.cs,
7916 csharp/docs/bindings.html,csharp/util.i: Wrap the version functions
7917 as more sensible names and document them (and continue to provide
7918 the older undocumented names for now just in case anyone was using
7920 * csharp/Makefile.am: For consistency with other bindings, and
7921 to reduce the number of files called XapianSharp.*, rename
7922 XapianSharp.cc to xapian_wrap.cc.
7924 Sat May 13 00:56:44 BST 2006 Olly Betts <olly@survex.com>
7926 * csharp/docs/bindings.html: Note that the passing of strings from C#
7927 into Xapian and back isn't currently zero byte safe. If you try to
7928 handle string containing zero bytes, you'll find they get truncated
7931 Sat May 13 00:55:55 BST 2006 Olly Betts <olly@survex.com>
7935 Fri May 12 03:57:16 BST 2006 Olly Betts <olly@survex.com>
7937 * csharp/SmokeTest.cs,php/util.i,python/smoketest.py,ruby/util.i,
7938 tcl8/smoketest.tcl,xapian.i: Updated to reflect the
7939 Xapian::xapian_version_string -> Xapian::version_string change
7942 Fri May 12 03:55:56 BST 2006 Olly Betts <olly@survex.com>
7944 * python/docs/examples/simpleexpand.py: Don't define
7945 MAX_PROB_TERM_LENGTH as it isn't used.
7947 Fri May 12 03:46:45 BST 2006 Olly Betts <olly@survex.com>
7949 * php/smoketest.php: Whitespace tweak.
7951 Fri May 12 03:46:06 BST 2006 Olly Betts <olly@survex.com>
7953 * php/docs/examples/simplesearch.php: MAX_PROB_TERM_LENGTH isn't used
7956 Fri May 12 03:39:31 BST 2006 Olly Betts <olly@survex.com>
7958 * php/Makefile.am: Reinstate -noproxy which I accidentally removed on
7961 Fri May 12 00:32:41 BST 2006 Olly Betts <olly@survex.com>
7963 * configure.ac: Add partial support for the Portable.NET C# compiler.
7964 Currently the lack of strong naming support is a problem because
7965 our build system assumes we have it...
7967 Fri May 12 00:31:51 BST 2006 Olly Betts <olly@survex.com>
7969 * xapian.i: Wrap optional length parameter to Enquire::set_query().
7971 Fri May 12 00:30:51 BST 2006 Olly Betts <olly@survex.com>
7973 * ruby/util.i: Rename set_sort_by_relevance to sort_by_relevance!
7974 instead of sort_by_relevance= (as it doesn't take any parameters).
7976 Tue May 09 03:39:03 BST 2006 Olly Betts <olly@survex.com>
7978 * csharp/SmokeTest.cs: Add test of version functions.
7980 Tue May 09 03:21:44 BST 2006 Olly Betts <olly@survex.com>
7982 * php/smoketest.php: Added simple test that zero-bytes are handled
7983 when passing strings to and from Xapian.
7985 Tue May 09 03:12:03 BST 2006 Olly Betts <olly@survex.com>
7987 * python/smoketest.py: Added simple test that zero-bytes are handled
7988 when passing strings to and from Xapian.
7990 Tue May 09 00:50:00 BST 2006 Olly Betts <olly@survex.com>
7992 * tcl8/smoketest.tcl: Add test for version reporting functions; if a
7993 test fails, say which one to aid debugging.
7995 Mon May 08 21:57:49 BST 2006 Olly Betts <olly@survex.com>
7997 * tcl8/smoketest.tcl: Added simple test that zero-bytes are handled
7998 when passing strings to and from Xapian.
8000 Sun May 07 22:03:01 BST 2006 Olly Betts <olly@survex.com>
8002 * java/Makefile.am,java/run-java-test: Another fix "make check" when
8004 * HACKING: Add estimation of approximate effort required to implement
8005 bindings for another language.
8006 * NEWS: Updated ready for next release.
8008 Sun May 07 15:01:24 BST 2006 Olly Betts <olly@survex.com>
8010 * java/Makefile.am: Need to make sure "built" subdirectory exists or
8011 building from clean fails.
8012 * java/Makefile.am: Fix "make check" to work when srcdir != builddir.
8014 Sun May 07 03:48:30 BST 2006 Olly Betts <olly@survex.com>
8016 * ruby/smoketest.rb: Use hit instead of get_hit.
8017 * ruby/util.i: Don't provide the typemap for get_matching_terms since
8018 there's a hand-coded version in xapian.rb.
8020 Sun May 07 01:19:38 BST 2006 Olly Betts <olly@survex.com>
8022 * ruby/Makefile.am: Fix "make check" to work when srcdir != builddir.
8024 Sun May 07 01:16:25 BST 2006 Olly Betts <olly@survex.com>
8026 * php/Makefile.am: Using "php -c myphp.ini" still loads the system
8027 php.ini (at least for PHP 4.3.10), so use "php -n" and then set the
8028 options we specifically want using "-d". Also, fix the smoketest
8029 invocation to work better when srcdir != builddir.
8031 Sat May 07 01:13:58 BST 2006 Olly Betts <olly@survex.com>
8033 * configure.ac,csharp/Makefile.am: Not all machines are set up to run
8034 compiled C# programs when invoked directly, so get configure to
8035 probe if we can, or if using mono works. If not, just skip the
8038 Sat May 06 18:34:41 BST 2006 Olly Betts <olly@survex.com>
8040 * xapian.i: Uncomment commented-out parameter names and fix duplicate
8041 parameter names (for the benefit of bindings which use the parameter
8042 names, like the OO PHP5 patch for SWIG I'm working on...)
8044 Fri May 05 02:36:41 BST 2006 Olly Betts <olly@survex.com>
8046 * ruby/Makefile.am: Actually ship xapian.rb!
8048 Fri May 05 00:49:22 BST 2006 Paul Legato
8050 * ruby/util.i: Remove code left over from before we created xapian.rb.
8052 Thu May 04 18:30:26 BST 2006 Olly Betts <olly@survex.com>
8054 * configure.ac: Remove guile/Makefile from AC_CONFIG_FILES.
8056 Tue May 02 03:00:15 BST 2006 Olly Betts <olly@survex.com>
8058 * python/docs/examples/simplematchdecider.py: Rename confusingly-named
8059 "mymatcher" to "mymatchdecider". Add description of what this
8062 Sun Apr 30 01:27:06 BST 2006 Olly Betts <olly@survex.com>
8064 * configure.ac: The "#" in "C#" seems to sometimes confuse autoconf so
8065 always say "CSharp" instead. Add some missing "checking ..."
8066 messages so the user has more idea what is going on. Look for PHP
8067 interpreter first in prefix given by "php-config --prefix". Look
8068 for CSharp compiler as "csc" (if "mcs" isn't found) but check we
8069 don't find the unrelated Chicken csc program.
8071 Sat Apr 29 22:16:51 BST 2006 Olly Betts <olly@survex.com>
8073 * INSTALL,configure.ac: Remove mentions of guile from
8074 "./configure --help" and installation instructions.
8075 * Makefile.am: Don't include guile subdirectory in the tarball.
8076 * INSTALL: Mention --with-ruby.
8078 Sat Apr 29 21:46:36 BST 2006 Olly Betts <olly@survex.com>
8080 * HACKING,Makefile.am,README,TODO,configure.ac,ruby/Makefile.am,
8081 ruby/docs/Makefile.am,ruby/docs/bindings.html,ruby/docs/examples/,
8082 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb,xapian.i: Added Ruby
8083 bindings from Paul Legato.
8085 Sat Apr 29 13:57:49 BST 2006 Olly Betts <olly@survex.com>
8087 * php/docs/bindings.html,python/docs/bindings.html,
8088 tcl8/docs/bindings.html,xapian.i: Rename get_document_id to
8089 get_docid for consistency. Keep get_document_id as an alias
8090 for now for backward compatibility.
8092 Sat Apr 29 02:48:54 BST 2006 Olly Betts <olly@survex.com>
8094 * xapian.i: Fixed ESet::empty() to return bool instead of
8095 Xapian::termcount (this was probably a largely harmless error).
8097 Fri Apr 28 17:52:31 BST 2006 Olly Betts <olly@survex.com>
8099 * csharp/util.i,xapian.i: Move the C# specific %rename list to
8102 Fri Apr 28 17:38:12 BST 2006 Olly Betts <olly@survex.com>
8104 * xapian.i: PHP 4.1.2 doesn't define PHP_MAJOR_VERSION so rejig code
8107 Fri Apr 28 17:24:32 BST 2006 Olly Betts <olly@survex.com>
8109 * INSTALL: To install without root access, you need to specify
8110 --prefix to configure so that the docs and examples can be
8111 installed somewhere.
8113 Fri Apr 28 16:43:53 BST 2006 Olly Betts <olly@survex.com>
8115 * php/util.i,python/util.i,tcl8/util.i,xapian.i: Add
8116 XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
8117 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP which util.i can #define to
8118 specify which optional typemaps it provides so we don't need to
8119 encode this information in xapian.i.
8121 Fri Apr 28 14:32:22 BST 2006 Olly Betts <olly@survex.com>
8123 * xapian.i: Fix SWIG_RuntimeError to be handled as an exception in
8126 Fri Apr 28 14:26:20 BST 2006 Olly Betts <olly@survex.com>
8128 * xapian.i: Mark the calls which return version strings as "throw()"
8129 so that SWIG knows it can omit exception handling wrappers.
8131 Fri Apr 28 14:11:32 BST 2006 Olly Betts <olly@survex.com>
8133 * java/Makefile.am,java/run-java-test: Simplify (and improve
8134 portability of) run-java-test by using "libtool --mode=execute"'s
8137 Sun Apr 16 03:48:08 BST 2006 Olly Betts <olly@survex.com>
8139 * php/smoketest.php: Translated tests of the version number functions
8140 from smoketest.py. Failing tests now print a diagnostic before
8141 dying (again like smoketest.py).
8143 Thu Apr 13 19:50:16 BST 2006 Olly Betts <olly@survex.com>
8145 * INSTALL: Add section describing how to install without root access.
8147 Wed Apr 12 00:38:39 BST 2006 Olly Betts <olly@survex.com>
8149 * configure.ac: Fix warning flags passed for Intel C++ compiler.
8151 Tue Apr 11 22:43:59 BST 2006 Olly Betts <olly@survex.com>
8153 * xapian.i: Removed superfluous "const" from return type "docid"
8154 which is just a typedef for an unsigned integer type.
8156 Sun Apr 09 16:47:15 BST 2006 Olly Betts <olly@survex.com>
8158 * python/Makefile.am: Install xapian.py and xapian.pyc as _DATA not
8159 _SCRIPTS because we don't want to make them executable (they don't
8162 Sat Apr 08 20:09:39 BST 2006 Olly Betts <olly@survex.com>
8164 * NEWS,configure.ac: Updated for 0.9.5.
8166 Sat Apr 08 20:08:07 BST 2006 Olly Betts <olly@survex.com>
8168 * configure.ac: Disable "--with-guile" option.
8170 Fri Apr 07 22:54:54 BST 2006 Olly Betts <olly@survex.com>
8172 * configure.ac: Special case setting of compiler warnings to account
8173 for Intel's C++ compiler (which configure detects as GCC.
8175 Fri Apr 07 17:33:39 BST 2006 Olly Betts <olly@survex.com>
8177 * Makefile.am: Distribute HACKING.
8179 Fri Apr 07 17:31:40 BST 2006 Olly Betts <olly@survex.com>
8181 * HACKING,README: Split off HACKING to contain information which is
8182 only relevant to those wishing to modify the bindings.
8184 Fri Apr 07 16:49:37 BST 2006 Olly Betts <olly@survex.com>
8186 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH
8187 has a different name.
8189 Thu Apr 06 23:33:55 BST 2006 Olly Betts <olly@survex.com>
8191 * php/docs/examples/simpleindex.php: Flushing after every call to
8192 WritableDatabase_add_document isn't required and will kill
8193 performance, so stop doing it.
8195 Wed Apr 05 03:42:58 BST 2006 Olly Betts <olly@survex.com>
8197 * php/util.i: Add custom typemap for SWIGTYPE& to avoid SEGV when
8198 "Null" is passed where C++ wants an object passed by reference.
8201 Wed Apr 05 03:06:07 BST 2006 Olly Betts <olly@survex.com>
8203 * php/docs/examples/simpleindex.php: Lowercase terms before stemming.
8206 Wed Apr 05 00:48:00 BST 2006 Olly Betts <olly@survex.com>
8208 * configure.ac: Require SWIG 1.3.29.
8210 Tue Apr 04 22:05:37 BST 2006 Olly Betts <olly@survex.com>
8212 * php/smoketest.php: Added regression test to make sure that overload
8213 resolution involving boolean types works.
8215 Tue Apr 04 16:41:44 BST 2006 Olly Betts <olly@survex.com>
8217 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_value().
8219 Sun Apr 02 03:11:38 BST 2006 Olly Betts <olly@survex.com>
8221 * python/Makefile.am: Pass suitable SWIG optimisation options for
8223 * python/Makefile.am,xapian.i: Exclude pythonic iterator code from
8226 Sat Apr 01 16:34:32 BST 2006 Olly Betts <olly@survex.com>
8228 * python/docs/bindings.html,python/smoketest.py: Pythonic iterators
8229 require Python 2.2 or newer.
8231 Thu Mar 30 15:32:44 BST 2006 Olly Betts <olly@survex.com>
8233 * python/docs/bindings.html: Wrap unwrapped paragraphs. Use " to
8234 quote attribute values for consistency.
8236 Thu Mar 30 15:26:21 BST 2006 James Aylett <james@tartarus.org>
8238 * python/docs/bindings.html: Document the Pythonic iterators.
8240 Thu Mar 30 15:23:16 BST 2006 Olly Betts <olly@survex.com>
8242 * python/extra.i: Database's termlist iterator now supports positions.
8244 Tue Mar 28 21:58:21 BST 2006 Olly Betts <olly@survex.com>
8246 * xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
8247 Python bindings. Add package for C# bindings.
8249 Thu Mar 16 08:15:43 GMT 2006 Olly Betts <olly@survex.com>
8251 * php/util.i: Fix handling of bool parameters when resolving
8252 overloaded methods and/or default arguments. This fixes
8253 Enquire_sort_by_value() to work when the second argument
8256 Thu Mar 16 02:48:16 GMT 2006 Olly Betts <olly@survex.com>
8258 * python/extra.i: Fix TermIter not to try to read termfreqs or
8259 positions when they aren't meaningful for the current TermIter.
8260 * python/smoketest.py: Add feature tests for the various pythonic
8261 iterator wrappers; catch Exception objects and print them.
8263 Wed Mar 15 02:21:53 GMT 2006 Olly Betts <olly@survex.com>
8265 * python/smoketest.py: If a check fails, write a diagnostic message to
8266 stderr so we know which check it was!
8268 Wed Mar 15 01:41:40 GMT 2006 Olly Betts <olly@survex.com>
8270 * python/smoketest.py: Add feature test for MSetIter.
8272 Thu Mar 09 20:11:32 GMT 2006 Olly Betts <olly@survex.com>
8274 * java/SmokeTest.java,java/native/Query.cc,
8275 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
8276 java/org/xapian/XapianJNI.java: Add a new Query constructor
8277 wrapper which take an OP_xxx and an array of Query objects.
8278 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
8279 Compiling a .java file to a .class file now deletes the .jar file
8280 to ensure it gets updated.
8282 Thu Mar 09 20:08:17 GMT 2006 Olly Betts <olly@survex.com>
8284 * java/README: Note that some platforms need "-pthread" or similar
8287 Thu Mar 09 17:50:51 GMT 2006 Olly Betts <olly@survex.com>
8289 * csharp/SmokeTest.cs,xapian.i: Rename Database::GetDoccount() to
8290 Database::GetDocCount() for consistency.
8292 Thu Mar 09 14:57:20 GMT 2006 Olly Betts <olly@survex.com>
8294 * java/Makefile.am: Use JAVA_PATHSEP when specifying the classpath for
8295 compiling .java files to .class files.
8297 Thu Mar 09 06:12:44 GMT 2006 Olly Betts <olly@survex.com>
8299 * java/README,java/native/Makefile.am,java/run-java-test: Causing the
8300 "all" target to run the "install" target seems to be very
8301 problematic, so change "make check" to use the uninstalled JNI glue
8302 library, and update the instructions to say that "make install" is
8305 Thu Mar 09 05:16:19 GMT 2006 Olly Betts <olly@survex.com>
8307 * java/native/XapianObjectHolder.h,java/native/xapian_jni.h: Rework
8308 how we include headers to get hash_map to avoid compiler warnings
8309 since it's usually not in the std namespace nowadays.
8311 Wed Mar 08 23:39:34 GMT 2006 Olly Betts <olly@survex.com>
8313 * configure.ac: Fix poor English in comment.
8315 Wed Mar 08 22:49:57 GMT 2006 Olly Betts <olly@survex.com>
8317 * java/SmokeTest.java: Write a helpful diagnostic to stderr if a check
8318 fails so we have some idea what went wrong!
8320 Tue Mar 07 04:30:45 GMT 2006 Olly Betts <olly@survex.com>
8322 * python/Makefile.am: Use the fairly new "swig -O" option for the
8323 "modern" python bindings as it generates a smaller glue library
8326 Fri Mar 03 00:51:08 GMT 2006 Olly Betts <olly@survex.com>
8328 * configure.ac: Report which languages we're building bindings for
8329 just before configure finishes.
8331 Thu Mar 02 04:26:14 GMT 2006 Olly Betts <olly@survex.com>
8333 * configure.ac: Add a better check for Python's distutils.sysconfig
8334 not being available (the previous check didn't actually work), and
8335 mention in the warning/error that we give that the solution is
8336 probably to install a python-dev or python-devel package.
8338 Thu Mar 02 02:45:00 GMT 2006 Olly Betts <olly@survex.com>
8340 * php/Makefile.am,php/php.ini: php -n avoids reading any php.ini, but
8341 the compiled in default may be to enable the dubiously named
8342 "safe_mode" which prevents dl() being used so "make check" fails.
8343 So instead provide a very simple php.ini which turns off safe_mode
8344 and makes sure enable_dl is on.
8346 Thu Feb 23 16:15:41 GMT 2006 Olly Betts <olly@survex.com>
8348 * xapian.i: Make the stub definitions for disabled backends static.
8350 Tue Feb 21 23:23:59 GMT 2006 Olly Betts <olly@survex.com>
8352 * configure.ac: Catch the case where the user has python installed
8353 but not the module "distutils.sysconfig".
8355 Tue Feb 21 23:02:18 GMT 2006 Olly Betts <olly@survex.com>
8357 * python/Makefile.am: Fix so "make check" works in VPATH builds.
8359 Tue Feb 21 21:15:10 GMT 2006 Olly Betts <olly@survex.com>
8361 * java/native/,xapian.i: Override deprecation warnings for Xapian
8362 methods/functions/etc.
8364 Tue Feb 21 12:12:48 GMT 2006 Olly Betts <olly@survex.com>
8366 * configure.ac: Don't quote $PHP in AC_PATH_PROGS to avoid
8367 "checking for ... no" message.
8369 Tue Feb 21 00:19:57 GMT 2006 Olly Betts <olly@survex.com>
8371 * NEWS,configure.ac: Updated for 0.9.4.
8373 Sun Feb 19 23:21:29 GMT 2006 Olly Betts <olly@survex.com>
8375 * COPYING: Updated FSF address.
8377 Sun Feb 19 01:10:14 GMT 2006 Olly Betts <olly@survex.com>
8379 * xapian.i: Wrap Stopper::get_description().
8380 * xapian.i: Wrap xapian_version_string() and related functions.
8381 * python/smoketest.py: Test wrapping of xapian_version_string()
8382 and related functions.
8384 Sat Feb 18 15:35:06 GMT 2006 Olly Betts <olly@survex.com>
8386 * configure.ac: Actually, the windows special case code for PHP
8387 should *NOT* be active for cygwin too!
8389 Sat Feb 18 15:34:10 GMT 2006 Olly Betts <olly@survex.com>
8391 * php/util.i: Fix so that generated code compiles with ZTS-enabled
8392 PHP (which is the default on Windows).
8394 Fri Feb 17 14:10:08 GMT 2006 Olly Betts <olly@survex.com>
8396 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8397 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8398 tcl8/Makefile.am: If we're overriding MACOSX_DEPLOYMENT_TARGET
8399 then override it for commands run from "make" too.
8400 * configure.ac: The windows special case code for PHP should be
8401 active for cygwin too.
8403 Thu Feb 16 00:11:00 GMT 2006 Olly Betts <olly@survex.com>
8405 * NEWS,configure.ac: Updated for 0.9.3.
8406 * php/Makefile.am: Missing change for trying to enable PHP bindings
8407 to build out of the box on cygwin.
8409 Wed Feb 15 23:18:22 GMT 2006 Olly Betts <olly@survex.com>
8411 * configure.ac: Add missing ";;" on the last alternative in some
8413 * configure.ac: Try to enable PHP bindings to build out of the
8414 box on cygwin (needs testing).
8416 Wed Feb 15 21:02:42 GMT 2006 Olly Betts <olly@survex.com>
8418 * java/README: Updated the java TODO list.
8420 Tue Feb 14 17:13:36 GMT 2006 Olly Betts <olly@survex.com>
8422 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8423 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8424 tcl8/Makefile.am: Only pass -no-undefined on platforms where it
8425 is required in order to link a shared library at all (it causes
8426 problems on MacOS X in some cases).
8428 Tue Feb 14 14:45:34 GMT 2006 Olly Betts <olly@survex.com>
8430 * python/smoketest.py: Remove stray print statement left over from
8433 Tue Feb 14 14:37:15 GMT 2006 Olly Betts <olly@survex.com>
8435 * xapian.i: zend_throw_exception takes a non-const char * as the
8436 message to throw. Presumably it doesn't modify it, but there's
8437 no documentation so it's hard to be sure. Just cast away the const
8440 Tue Feb 14 14:22:35 GMT 2006 Olly Betts <olly@survex.com>
8442 * configure.ac: Change calls to AC_PATH_PROG(FOO, foo, ...)
8443 to AC_PATH_PROGS(FOO, [$FOO foo], ...) so that the user
8444 can do "./configure FOO=myfoo". By itself, AC_PATH_PROG
8445 ignore an explicitly specified FOO unless it has an absolute
8448 Tue Feb 14 11:31:36 GMT 2006 Olly Betts <olly@survex.com>
8450 * xapian-bindings.spec.in: Various updates, mostly from a patch by
8452 + Automatically detect the python version.
8453 + Automatically detect the PHP extension directory.
8454 + Relax Tcl requirement to >= 8.1, since that's what we actually
8456 + Add support for "--without php" and --without tcl8" options to
8458 + Rename "php4" references to "php".
8460 Tue Feb 14 09:21:52 GMT 2006 Olly Betts <olly@survex.com>
8462 * php/util.i: In SWIG 1.3.28, the PHP typecheck for numbers includes
8463 IS_STRING so force std::string to have a higher priority so that
8464 number/string overloads can be resolved as string. Fixes bug#68.
8466 Sun Feb 12 18:31:26 GMT 2006 Olly Betts <olly@survex.com>
8468 * java/SmokeTest.java: Expanded smoketest to cover more features.
8470 Sun Feb 12 16:01:29 GMT 2006 Olly Betts <olly@survex.com>
8472 * java/README: Note that the bindings work with the Eclipse javac
8475 Sun Feb 12 13:30:15 GMT 2006 Olly Betts <olly@survex.com>
8477 * guile/util.i: Replace with a rewrite which doesn't cause SWIG
8478 warnings and is zero-byte safe. The guile bindings are still
8479 a long way from actually working though.
8481 Sun Feb 12 12:31:21 GMT 2006 Olly Betts <olly@survex.com>
8483 * README: SWIG 1.3.28 now released so change "will add" to "added".
8485 Sun Feb 12 07:30:50 GMT 2006 Olly Betts <olly@survex.com>
8487 * java/org/xapian/Query.java: OP_* code 9 no longer exists, so add
8488 it to those rejected by the validity check.
8490 Sun Feb 12 07:28:11 GMT 2006 Olly Betts <olly@survex.com>
8492 * java/native/Query.cc: Fixed memory leak in
8493 Query-from-array-of-strings constructor.
8495 Sun Feb 12 07:22:39 GMT 2006 Olly Betts <olly@survex.com>
8497 * java/README: Add note about how wrapped methods are named.
8499 Sun Feb 12 07:13:36 GMT 2006 Olly Betts <olly@survex.com>
8501 * java/native/org_xapian_XapianJNI.cc,java/native/utils.cc,
8502 java/native/xapian_jni.h: Eliminate the "_errormap" hashmap -
8503 we don't need to use RTTI here, since Xapian::Error subclasses
8504 can tell you their typename directly (using get_type()).
8506 Sat Feb 11 13:10:04 GMT 2006 Olly Betts <olly@survex.com>
8508 * java/org/xapian/Query.java: Comment out no longer used nativeStuff
8511 Fri Feb 10 18:20:36 GMT 2006 Olly Betts <olly@survex.com>
8513 * java/native/xapian_jni.h: Fix 2 typos in comments.
8515 Fri Feb 10 10:17:12 GMT 2006 Olly Betts <olly@survex.com>
8517 * TODO: Update: SwigValueWrapper is no longer used for std::pair;
8518 CamelCase is now used for C#.
8519 * Makefile.am: Ship TODO.
8520 * README: Add reference to TODO.
8522 Fri Feb 10 08:15:54 GMT 2006 Olly Betts <olly@survex.com>
8524 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
8525 java/org/xapian/XapianJNI.java: Fix updated wrapper for
8527 * java/native/Enquire.cc: Clearer code in wrapper for
8529 * java/org/xapian/Query.java: Commented out unused
8530 'import java.io.StringReader;'.
8532 Fri Feb 10 08:10:51 GMT 2006 Olly Betts <olly@survex.com>
8534 * csharp/SmokeTest.cs: Corrected TermlistCount -> TermListCount, etc.
8536 Fri Feb 10 08:10:12 GMT 2006 Olly Betts <olly@survex.com>
8538 * xapian.i: Fix compilation issues with recent changes.
8540 Fri Feb 10 08:06:26 GMT 2006 Olly Betts <olly@survex.com>
8542 * csharp/Makefile.am: SWIG CVS HEAD now generates the same .cs
8543 filenames for templates as 1.3.27 did, so remove workaround
8544 for handling both cases.
8546 Fri Feb 10 06:51:03 GMT 2006 Olly Betts <olly@survex.com>
8548 * csharp/docs/: svn:ignore Makefile and Makefile.in.
8550 Fri Feb 10 06:49:07 GMT 2006 Olly Betts <olly@survex.com>
8552 * configure.ac: Require SWIG 1.3.28 (for automatic renaming to
8555 Fri Feb 10 06:47:21 GMT 2006 Olly Betts <olly@survex.com>
8557 * xapian.i: For C#, get_mset -> GetMSet; get_eset -> GetESet.
8558 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
8559 csharp/docs/examples/SimpleSearch.cs,csharp/util.i: Update
8560 for CamelCase changes.
8562 Fri Feb 10 06:33:10 GMT 2006 Olly Betts <olly@survex.com>
8564 * xapian.i,csharp/docs/bindings.html: Rename method names to
8567 Thu Feb 09 20:41:28 GMT 2006 Olly Betts <olly@survex.com>
8569 * xapian.i: Tidy up new exception handling code.
8570 * xapian.i: Add "%template() std::pair<Xapian::TermIterator,
8571 Xapian::TermIterator>;" which stops SWIG from using SwigValueWrapper
8574 Thu Feb 09 20:18:02 GMT 2006 Olly Betts <olly@survex.com>
8576 * .: svn:ignore xapian-version.h.
8578 Wed Feb 08 15:24:23 GMT 2006 Olly Betts <olly@survex.com>
8580 * xapian.i: Fix typo in exception throwing code for PHP5.
8582 Fri Feb 03 03:15:02 GMT 2006 Olly Betts <olly@survex.com>
8584 * Makefile.am,configure.ac,php/util.i,xapian-version.h.in: Put our
8585 PACKAGE_VERSION into xapian-version.h so we can #include that from
8586 php/util.i without clashing with PACKAGE_VERSION, etc defined by
8589 Thu Jan 12 19:51:52 GMT 2006 Olly Betts <olly@survex.com>
8593 Thu Jan 12 17:23:23 GMT 2006 Olly Betts <olly@survex.com>
8595 * INSTALL: Note that compile time (and probably memory usage) are much
8598 Thu Jan 12 17:18:10 GMT 2006 Olly Betts <olly@survex.com>
8600 * xapian.i: Pull out much of the common exception handling code into
8601 a helper function, drastically reducing the size of the compiled
8602 code for other languages like I recently did for tcl.
8604 Thu Jan 12 15:28:16 GMT 2006 Olly Betts <olly@survex.com>
8606 * python/Makefile.am: "import _xapian;" before we "import xapian;" to
8607 avoid creating a broken xapian.pyc is the shared library can't be
8608 loaded for some reason.
8610 Fri Jan 06 00:30:50 GMT 2006 Olly Betts <olly@survex.com>
8612 * php/util.i: Fix so that PACKAGE_VERSION is defined when compiling
8613 the SWIG generated C++ source code.
8615 Thu Jan 05 18:29:20 GMT 2006 Olly Betts <olly@survex.com>
8617 * xapian.i: SWIG/Tcl ignores the SWIG_XXXError code passed to
8618 SWIG_exception so special-case Tcl's %exception block to only
8619 look for the Xapian::Error baseclass. This cuts the compile
8620 time by about a factor of 3 and halves the size of the stripped
8623 Wed Jan 04 20:21:39 GMT 2006 Olly Betts <olly@survex.com>
8625 * xapian.i: Include default constructors for all classes so that SWIG
8626 knows it doesn't have to use SwigValueWrapper for them.
8628 Tue Jan 03 01:56:32 GMT 2006 Olly Betts <olly@survex.com>
8630 * README: Note that bindings for additional languages need a
8631 smoketest, documentation, and examples.
8633 Tue Jan 03 01:48:29 GMT 2006 Olly Betts <olly@survex.com>
8637 Tue Jan 03 01:45:11 GMT 2006 Olly Betts <olly@survex.com>
8639 * php/docs/bindings.html,php/smoketest.php,xapian.i: Translate Xapian
8640 exceptions to PHP exceptions for PHP5. For PHP4, handle
8641 DocNotFoundError and FeatureUnavailableError by issuing a warning
8642 and making the method return "Null".
8644 Tue Jan 03 01:41:11 GMT 2006 Olly Betts <olly@survex.com>
8646 * php/docs/examples/simplesearch.php: Use newly wrapped Query from
8649 Tue Jan 03 01:40:24 GMT 2006 Olly Betts <olly@survex.com>
8651 * tcl8/docs/examples/simpleindex.tcl: Fix typo in comment.
8652 * tcl8/docs/examples/simplesearch.tcl: Fix to lowercase and stem query
8655 Mon Jan 02 23:40:04 GMT 2006 Olly Betts <olly@survex.com>
8657 * tcl8/docs/examples/simpleindex.tcl,
8658 tcl8/docs/examples/simplesearch.tcl: Need explicit "xapian::" on
8660 * tcl8/docs/examples/simplesearch.tcl: Use the new Query from list
8662 * tcl8/docs/examples/simpleindex.tcl: Tweak regex to not tokenise
8663 "foo--bar" as "foo-" and "bar".
8664 * tcl8/smoketest.tcl: Removed commented out unused line.
8666 Mon Jan 02 23:25:48 GMT 2006 Olly Betts <olly@survex.com>
8668 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
8669 Implement custom typemaps for Tcl, so that you can now construct
8670 a Query from a list of Query objects and/or strings, and
8671 Enquire::get_matching_terms is now wrapped.
8673 Mon Jan 02 18:59:21 GMT 2006 Olly Betts <olly@survex.com>
8675 * configure.ac,php/docs/Makefile.am,php/docs/examples/Makefile.am,
8676 python/docs/Makefile.am,python/docs/examples/Makefile.am,
8677 tcl8/docs/Makefile.am,tcl8/docs/examples/Makefile.am: Eliminate
8678 separate Makefile in each examples subdirectory, which makes the
8679 build system simpler, smaller, and a little faster.
8681 Mon Jan 02 18:57:47 GMT 2006 Olly Betts <olly@survex.com>
8683 * README: Note that Python 2.0 and Tcl 8.0 wouldn't be too hard to
8684 support in case anyone is sufficiently motivated.
8686 Mon Jan 02 18:47:03 GMT 2006 Olly Betts <olly@survex.com>
8688 * csharp/docs/Makefile.am: Fix path for SimpleIndex.cs; add
8691 Mon Jan 02 18:12:59 GMT 2006 Olly Betts <olly@survex.com>
8693 * README: C# bindings are now usable.
8695 Mon Jan 02 07:06:58 GMT 2006 Olly Betts <olly@survex.com>
8697 * TODO,csharp/TODO: Move C# TODO to top level, update C# entries, and
8700 Mon Jan 02 07:05:05 GMT 2006 Olly Betts <olly@survex.com>
8702 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
8703 csharp/docs/examples/: Add C# examples.
8704 * csharp/docs/bindings.html: Document the slightly odd names that
8705 constants are currently wrapped as.
8707 Mon Jan 02 06:49:48 GMT 2006 Olly Betts <olly@survex.com>
8709 * csharp/util.i: Fixed to work!
8711 Mon Jan 02 02:48:35 GMT 2006 Olly Betts <olly@survex.com>
8713 * csharp/Makefile.am: Don't use $(ASSEMBLY).cc for the generated C++
8714 source. It doesn't work everywhere, so it's confusing to use it
8715 in just some places.
8716 * csharp/util.i: Implement operator== and operator!= for the iterator
8717 classes so that comparisons with the end iterator work as expected.
8718 * csharp/SmokeTest.cs: Add test for this.
8719 * csharp/docs/bindings.html: Document.
8721 Sat Dec 31 14:15:41 GMT 2005 Olly Betts <olly@survex.com>
8723 * csharp/Makefile.am: Removed another reference to
8724 SWIGTYPE_p_std__list_Tstd__string_t.
8726 Sat Dec 31 13:25:31 GMT 2005 Olly Betts <olly@survex.com>
8728 * csharp/Makefile.am: SWIGTYPE_p_std__list_Tstd__string_t.cs is no
8731 Sat Dec 31 06:43:37 GMT 2005 Olly Betts <olly@survex.com>
8733 * configure.ac: Remove php/util.i from AC_CONFIG_FILES.
8735 Sat Dec 31 06:42:41 GMT 2005 Olly Betts <olly@survex.com>
8737 * python/smoketest.py: Add more tests.
8739 Sat Dec 31 06:41:21 GMT 2005 Olly Betts <olly@survex.com>
8741 * php/smoketest.php: Add more tests.
8743 Sat Dec 31 06:40:24 GMT 2005 Olly Betts <olly@survex.com>
8745 * php/docs/bindings.html: Update documentation to include new
8748 Sat Dec 31 06:39:17 GMT 2005 Olly Betts <olly@survex.com>
8750 * php/Makefile.am: Clean up now php/util.i is no longer a generated
8753 Sat Dec 31 06:29:24 GMT 2005 Olly Betts <olly@survex.com>
8755 * php/util.i,php/util.i.in: Generating php/util.i from configure
8756 is unnecessary and risks lost changes if you fail to notice
8757 and edit the wrong file, so stop doing it. Redo Xapian section in
8758 phpinfo() to look more like most other modules; New PHP typemaps:
8759 you can now construct a Query object from an array of strings or
8760 Query objects (or a mixture).
8761 * php/util.i,python/util.i,xapian.i: Change the %extend method
8762 Enquire::get_matching_terms() to generate the PHP/Python list
8763 directly from the TermIterator rather than constructing a
8764 temporary C++ std::list.
8765 * python/util.i: Check for errors in more places.
8767 Sat Dec 31 06:17:56 GMT 2005 Olly Betts <olly@survex.com>
8769 * tcl8/docs/bindings.html: We've not implemented the typemaps
8770 which allow Enquire::get_matching_terms() to work yet, so
8771 comment out that section of the documentation.
8773 Sat Dec 31 06:15:55 GMT 2005 Olly Betts <olly@survex.com>
8775 * csharp/TODO,csharp/docs/bindings.html: Note that we need to write
8776 the custom typemaps for Enquire::get_matching_terms() and the
8777 Query list constructors.
8779 Mon Dec 26 18:14:37 GMT 2005 Olly Betts <olly@survex.com>
8781 * README: Added note about supported platforms.
8783 Sat Dec 24 15:10:53 GMT 2005 Olly Betts <olly@survex.com>
8785 * configure.ac: Added csharp/docs/Makefile to AC_CONFIG_FILES.
8787 Sat Dec 24 14:27:56 GMT 2005 Olly Betts <olly@survex.com>
8789 * php/util.i.in: Remove language name from %typemap as it's deprecated
8790 by SWIG and not needed since we only include the appropriate util.i
8791 for the language we're building bindings for.
8793 Sat Dec 24 13:13:26 GMT 2005 Olly Betts <olly@survex.com>
8795 * csharp/Makefile.am,csharp/extra.i,guile/Makefile.am,guile/extra.i,
8796 php/Makefile.am,php/extra.i,python/util.i,tcl8/Makefile.am,
8797 tcl8/extra.i,xapian.i: Eliminate all the empty extra.i files.
8798 Python's isn't empty, but we can just include that from Python's
8801 Sat Dec 24 13:08:16 GMT 2005 Olly Betts <olly@survex.com>
8803 * csharp/util.i,xapian.i: Make ++ and -- work on iterators.
8805 Sat Dec 24 12:21:59 GMT 2005 Olly Betts <olly@survex.com>
8807 * csharp/Makefile.am,csharp/TODO,csharp/docs/Makefile.am,
8808 csharp/docs/bindings.html: Added documentation for C# bindings.
8810 Thu Dec 22 23:31:40 GMT 2005 Olly Betts <olly@survex.com>
8812 * python/util.i: Comment out unused "get_py_int". Use
8813 PyString_AsStringAndSize() to get string and size in one.
8815 Wed Dec 21 09:27:19 GMT 2005 Olly Betts <olly@survex.com>
8817 * csharp/Makefile.am: Fix SWIG invocation rule to cope with either
8818 SWIG 1.3.27 or SWIG CVS HEAD (which uses a slightly different file
8819 naming convention for templates).
8821 Wed Dec 21 09:04:54 GMT 2005 Olly Betts <olly@survex.com>
8823 * python/util.i: Remove the language name from the %typemap arguments
8824 - it's superfluous (since we only include this file for python) and
8825 seems to be deprecated in SWIG.
8827 Tue Dec 20 20:40:57 GMT 2005 Olly Betts <olly@survex.com>
8829 * python/util.i: Test return value of SWIG_ConvertPtr < 0 for
8830 consistency with usage elsewhere.
8832 Tue Dec 20 16:51:49 GMT 2005 Olly Betts <olly@survex.com>
8834 * csharp/SmokeTest.cs,csharp/TODO: SWIG now supports optional
8835 parameters in C# so no need to specify them. Also the
8836 get_description() problem I noticed seems to have been
8837 fixed by a newer version of SWIG.
8839 Tue Dec 20 15:50:41 GMT 2005 Olly Betts <olly@survex.com>
8841 * xapian.i: Added a missing ";" and two missing "static" from the
8844 Tue Dec 20 13:05:07 GMT 2005 Olly Betts <olly@survex.com>
8846 * csharp/: svn:ignore SmokeTest.exe, and adjust other ignores to be
8848 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/TODO,xapian.i:
8849 SmokeTest now passes and reports exceptions verbosely.
8850 Xapian::InMemory::open() is wrapped as Xapian.InMemory.open(), and
8851 similarly for other database factory functions.
8852 * xapian.i: Removed workaround for SWIG 1.3.22's missing std_XXX.i
8853 typemap files for C#. Added workaround for SWIG 1.3.27's missing
8854 SWIG_exception() for C#. Stop renaming methods for PHP as it now
8855 support overloading. Add dtors for MSetIterator and ESetIterator
8856 as the classes do have them (they just do nothing) and SWIG will
8857 try to wrap the default ones anyway (and get it slightly wrong).
8859 Tue Dec 20 09:48:56 GMT 2005 Olly Betts <olly@survex.com>
8861 * csharp/Makefile.am: Heed compatibility warnings and use different
8862 forms for command-line switches to the C# compiler (presumably for
8863 compatibility with Microsoft's compiler, though the warnings don't
8864 actually say that explicitly).
8866 Mon Dec 19 12:51:19 GMT 2005 Olly Betts <olly@survex.com>
8868 * tcl8/util.i: Remove typemaps for handling std::string since SWIG
8871 Mon Dec 19 11:45:39 GMT 2005 Olly Betts <olly@survex.com>
8873 * php/docs/bindings.html,php/docs/examples/simpleindex.php: You aren't
8874 meant to call delete_CLASS() directly from PHP (and in fact it's
8875 usually not wrapped now).
8877 Mon Dec 19 11:37:16 GMT 2005 Olly Betts <olly@survex.com>
8879 * php/smoketest.php: Add feature tests for new Query wrapping stuff.
8881 Mon Dec 19 11:34:44 GMT 2005 Olly Betts <olly@survex.com>
8883 * python/util.i: Convert C++ strings to python ones in a zero-byte
8886 Mon Dec 19 11:01:31 GMT 2005 Olly Betts <olly@survex.com>
8888 * configure.ac,python/Makefile.am: If using GCC, compile the python
8889 bindings with -fno-strict-aliasing (python itself is compiled with
8890 this option to avoid problems and it appears we ought to use it too
8891 to avoid the same problems).
8893 Mon Dec 12 11:15:34 GMT 2005 Olly Betts <olly@survex.com>
8895 * php/util.i.in: Use std::string::data() instead of c_str() as it may
8896 be more efficient for some implementations.
8898 Mon Dec 12 04:26:24 GMT 2005 Olly Betts <olly@survex.com>
8900 * configure.ac: Fix java separator configure test to actually work.
8902 Mon Dec 12 02:54:10 GMT 2005 Olly Betts <olly@survex.com>
8904 * configure.ac,java/Makefile.am: Compile a small java program and
8905 run it to find what java wants as path separator in -classpath.
8907 Mon Dec 12 02:11:44 GMT 2005 Olly Betts <olly@survex.com>
8909 * java/Makefile.am,java/run-java-test: Use $(PATH_SEPARATOR) to
8910 separate entries in the java -classpath command line option so
8911 that it'll work on platforms where $(PATH_SEPARATOR) isn't ":".
8913 Sun Dec 11 07:58:51 GMT 2005 Olly Betts <olly@survex.com>
8915 * python/util.i,xapian.i: Support a mixture of xapian.Query objects
8916 and strings in the python xapian.Query(OP, SEQUENCE [, PARAM])
8918 * python/smoketest.py: Add feature test.
8919 * python/docs/bindings.html: Update documentation to mention recent
8922 Sun Dec 11 07:31:21 GMT 2005 Olly Betts <olly@survex.com>
8924 * python/util.i,xapian.i: Fix wrapper for Xapian::Query ctor taking
8925 operator and list of strings, plus optional parameter to work again.
8926 Add a new wrapper which is similar but takes a list of xapian.query
8927 objects instead of strings.
8928 * python/smoketest.py: Add regression test and feature test for
8931 Thu Dec 08 03:39:25 GMT 2005 Olly Betts <olly@survex.com>
8933 * python/extra.i,python/util.i: Tweak layout for better readability;
8935 * python/extra.i: Add vim modeline.
8937 Thu Dec 08 02:05:13 GMT 2005 Olly Betts <olly@survex.com>
8939 * php/docs/examples/simpleindex.php,
8940 php/docs/examples/simplesearch.php: Add a more useful error message
8941 if a database can't be opened; Fix inconsistent whitespace; Update
8944 Thu Dec 08 01:58:04 GMT 2005 Olly Betts <olly@survex.com>
8946 * INSTALL: Improved phrasing.
8947 * NEWS: Added draft entry for next release.
8949 Wed Dec 07 02:46:53 GMT 2005 Olly Betts <olly@survex.com>
8951 * php/docs/bindings.html: Fix typo.
8953 Wed Dec 07 02:42:51 GMT 2005 Olly Betts <olly@survex.com>
8955 * php/docs/bindings.html: Fix typo; note that SWIG doesn't currently
8956 support proxy classes in PHP5.
8958 Wed Nov 30 00:22:33 GMT 2005 Olly Betts <olly@survex.com>
8960 * java/README,java/native/Enquire.cc,java/org/xapian/Enquire.java:
8961 Wrap optional second parameter (query length) to
8962 Enquire::set_query().
8964 Tue Nov 29 04:31:44 GMT 2005 Olly Betts <olly@survex.com>
8968 Tue Nov 29 04:11:18 GMT 2005 Olly Betts <olly@survex.com>
8970 * configure.ac,php/Makefile.am: Bump required SWIG version to 1.3.26
8971 and drop the special requirement for 1.3.22 for PHP (hurrah!)
8973 Tue Nov 29 03:46:40 GMT 2005 Olly Betts <olly@survex.com>
8975 * php/Makefile.am,php/php.ini: Instead of "$(PHP) -c $(srcdir)" and
8976 having an empty php.ini in srcdir (which we were failing to
8977 distribute anyway), use "$(PHP) -n" which tells PHP not to use any
8980 Tue Nov 29 00:48:06 GMT 2005 Olly Betts <olly@survex.com>
8982 * README: Updated list of languages SWIG supports.
8984 Sun Oct 02 14:19:20 BST 2005 Olly Betts <olly@survex.com>
8986 * Makefile.am: Fixed "php4" -> "php" in DIST_SUBDIRS.
8988 Sun Oct 02 00:15:06 BST 2005 Olly Betts <olly@survex.com>
8990 * INSTALL,configure.ac: Add -lstdc++ to XAPIAN_LIBS if we're using
8991 GCC. OpenBSD needs it to be explicitly specified and libtool
8992 handles this if it would have been implicitly linked with anyway.
8993 * INSTALL: Improved and expanded the text in a few places.
8995 Sat Oct 01 14:04:51 BST 2005 Olly Betts <olly@survex.com>
8997 * README,configure.ac,php/,php4/: Fabrice Colin reports that the PHP4
8998 bindings also work with PHP5 so extend configure test to look for
8999 PHP5 too, rename "php4" directory to "php", and change other
9000 references to PHP4 too.
9002 Mon Sep 26 22:39:01 BST 2005 Olly Betts <olly@survex.com>
9004 * INSTALL,configure.ac: On darwin, ensure MACOSX_DEPLOYMENT_TARGET is
9005 set to at least 10.3. This is required to link the bindings, and
9006 it doesn't seem to be possible to link them on 10.1 or 10.2 anyway.
9007 * INSTALL: Update to reflect --with and --without option changes.
9008 * INSTALL: Added notes about OpenBSD issues and issues with compiling
9009 the bindings requiring a lot of memory.
9011 Mon Sep 19 13:19:59 BST 2005 Olly Betts <olly@survex.com>
9013 * configure.ac: Change how which bindings to build are selected. If
9014 no --with* arguments are passed, then we default to building
9015 bindings we detect the required tools for. But instead of requiring
9016 users to deselect bindings they don't want, they now select bindings
9017 they do want. So "./configure --with-python" will only build the
9018 python bindings (and will fail if the required tools aren't
9021 Sun Sep 18 23:58:08 BST 2005 Olly Betts <olly@survex.com>
9023 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9024 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9025 tcl8/Makefile.am: Rework how XAPIAN_CXXFLAGS is passed through
9026 so that the user can override CXXFLAGS like so: make CXXFLAGS=-g
9028 Fri Jul 15 11:12:13 BST 2005 Olly Betts <olly@survex.com>
9030 * configure.ac: Updated for 0.9.2.
9032 Fri Jul 15 10:21:17 BST 2005 Olly Betts <olly@survex.com>
9034 * xapian.i: Added semicolon missing from recent change.
9036 Fri Jul 15 02:15:10 BST 2005 Olly Betts <olly@survex.com>
9038 * NEWS: Updated for 0.9.2.
9040 Fri Jul 15 02:10:07 BST 2005 Olly Betts <olly@survex.com>
9042 * xapian.i: Added wrappers for new optional flags argument to
9043 QueryParser::parse_query().
9045 Fri Jun 24 12:00:19 BST 2005 Olly Betts <olly@survex.com>
9047 * java/README: Add success report for Sun java 1.4.1_01a.
9049 Fri Jun 24 11:13:03 BST 2005 Olly Betts <olly@survex.com>
9051 * java/Makefile.am: Actually distribute SmokeTest.java.
9053 Fri Jun 17 03:18:19 BST 2005 Olly Betts <olly@survex.com>
9055 * configure.ac: csharp build uses a tool from GNU Mono called "mcs"
9056 but some UNIX variants ship with a tool called "mcs" which does
9057 something else. For now, simply check the "mcs --version" is
9060 Thu Jun 16 19:12:41 BST 2005 Olly Betts <olly@survex.com>
9062 * python/util.i: When converting a python list to vector<string> we
9063 know the number of elements so reserve that number in the vector.
9065 Thu Jun 16 19:02:03 BST 2005 Olly Betts <olly@survex.com>
9067 * python/util.i: Remove bogus ";" after closing "}" of "namespace {}".
9069 Mon Jun 06 18:50:54 BST 2005 Olly Betts <olly@survex.com>
9071 * NEWS: Updated for 0.9.1.
9073 Mon Jun 06 18:48:42 BST 2005 Olly Betts <olly@survex.com>
9075 * tcl8/docs/bindings.html: Added information from Michael Schlenker
9076 about how to delete a database object such that the destructor
9079 Mon Jun 06 17:58:16 BST 2005 Olly Betts <olly@survex.com>
9081 * configure.ac,NEWS: Updated for 0.9.1.
9083 Fri May 13 00:34:22 BST 2005 Olly Betts <olly@survex.com>
9085 * NEWS: Updated with Java information for 0.9.0.
9087 Fri May 13 00:29:31 BST 2005 Olly Betts <olly@survex.com>
9089 * java/native/Query.cc,java/native/org_xapian_XapianJNI.h,
9090 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,
9091 java/README: Wrap optional parameters of Query(term) ctor.
9093 Fri May 13 00:26:24 BST 2005 Olly Betts <olly@survex.com>
9095 * NEWS,configure.ac: Updated for 0.9.0.
9097 Wed May 11 02:15:23 BST 2005 Olly Betts <olly@survex.com>
9099 * java/native/Query.cc,java/native/MSet.cc,
9100 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
9101 java/org/xapian/MSet.java,java/org/xapian/XapianJNI.java: Updates to
9102 enable compilation with 0.9.0.
9103 * java/Makefile.am: Add .java.class: rule so SmokeTest can be built.
9104 * java/README: List API additions still to be wrapped.
9106 Tue May 10 21:01:57 BST 2005 Olly Betts <olly@survex.com>
9108 * python/extra.i: Should be ValueIter not ValueIterator, and fixed up
9109 a few typos in the code.
9111 Tue May 10 01:24:59 BST 2005 Olly Betts <olly@survex.com>
9113 * configure.ac,python/Makefile.am: Quote another setting of
9114 PYTHONPATH; Don't set PYTHON_LIBS on cygwin; fix undoubled []
9115 in setting of PYTHON_LIBS.
9117 Mon May 09 20:37:42 BST 2005 Olly Betts <olly@survex.com>
9119 * NEWS: Updated again.
9121 Mon May 09 18:47:46 BST 2005 Olly Betts <olly@survex.com>
9123 * configure.ac,python/Makefile.am: Changes to help building the python
9124 bindings under mingw.
9126 Mon May 09 15:22:30 BST 2005 Olly Betts <olly@survex.com>
9128 * python/Makefile.am: Add "" around PYTHONPATH setting in
9129 TESTS_ENVIRONMENT to protect PYTHON_PATHSEP from the shell
9130 (PYTHON_PATHSEP is ';' under Windows).
9131 * python/Makefile.am: Explicitly pass -outdir to SWIG because Windows
9132 versions of SWIG only consider '\' as a directory separator when
9133 extracting the directory from the argument to -o.
9135 Mon May 09 11:02:08 BST 2005 Olly Betts <olly@survex.com>
9137 * configure.ac: If python is found, also check that Python.h exists
9138 (it may not be if the python-dev package (or similar) isn't
9141 Mon May 09 11:00:08 BST 2005 Olly Betts <olly@survex.com>
9143 * python/extra.i: Removed python iter wrappers for removed methods
9144 QueryParser::termlist_begin() and termlist_end().
9146 Mon May 09 10:54:47 BST 2005 Olly Betts <olly@survex.com>
9148 * xapian.i: Removed wrappers for removed methods
9149 QueryParser::termlist_begin() and termlist_end().
9151 Fri May 06 23:22:28 BST 2005 Olly Betts <olly@survex.com>
9153 * NEWS: Updated in preparation for 0.9.0.
9155 Fri May 06 20:39:50 BST 2005 Olly Betts <olly@survex.com>
9157 * python/Makefile.am: Use correct path separator in PYTHONPATH when
9158 generating .pyc file.
9160 Fri May 06 17:57:05 BST 2005 Olly Betts <olly@survex.com>
9162 * configure.ac,python/Makefile.am: Make configure probe for correct
9163 separator to use in PYTHONPATH.
9165 Thu May 05 13:17:36 BST 2005 Olly Betts <olly@survex.com>
9167 * skiptest: Add skiptest script needed by last-but-one commit.
9169 Thu May 05 12:44:01 BST 2005 Olly Betts <olly@survex.com>
9171 * xapian.i: Back out PHP4 specific hacks added since 0.8.5 which
9172 were only needed for SWIG 1.3.23 and later,
9174 Wed May 04 18:07:49 BST 2005 Olly Betts <olly@survex.com>
9176 * configure.ac,Makefile.am: Setting PHP4 to "exit 77 #" doesn't
9177 actually work right, so use a trivial shell script to skip PHP
9178 tests if we can't find the PHP interpreter.
9180 Wed May 04 02:00:31 BST 2005 Olly Betts <olly@survex.com>
9182 * csharp/Makefile.am,python/Makefile.am,java/native/Makefile.am,
9183 guile/Makefile.am,tcl8/Makefile.am,php4/Makefile.am: Pass
9184 -no-undefined in *_la_LDFLAGS because libtool requires in on
9185 MS Windows. Also use $(PATH_SEPARATOR) instead of ':' when
9186 specifying search paths.
9188 Fri Apr 29 09:57:17 BST 2005 Olly Betts <olly@survex.com>
9190 * xapian.i: Rename second version of Muscat36::open_da() for guile
9191 like we do for PHP4.
9192 * configure.ac: Disable guile by default, as it needs more work.
9194 Thu Apr 28 21:21:23 BST 2005 Olly Betts <olly@survex.com>
9196 * xapian.i: If a backend is disabled in the xapian-core we're building
9197 against, provide stub definitions of the database factory functions
9198 so there isn't a link failure.
9199 * xapian.i: This means we can now wrap the Muscat36 factory functions.
9200 * xapian.i: QueryParser::set_stemming_options() has been renamed to
9201 set_stemming_strategy().
9203 Fri Apr 22 01:33:41 BST 2005 Olly Betts <olly@survex.com>
9205 * xapian.i: Updated to reflect 0.9.0 API.
9207 Thu Apr 07 23:49:51 BST 2005 Olly Betts <olly@survex.com>
9209 * xapian.i: Removed superfluous ';' after 'namespace { ... }'.
9211 Tue Apr 05 15:23:44 BST 2005 Olly Betts <olly@survex.com>
9213 * configure.ac: Fix version test to allow for any _svn6789 suffix.
9215 Tue Apr 05 00:50:36 BST 2005 Olly Betts <olly@survex.com>
9217 * csharp/.cvsignore,python/docs/.cvsignore,
9218 python/docs/examples/.cvsignore,python/.cvsignore,
9219 java/native/.cvsignore,java/org/xapian/errors/.cvsignore,
9220 java/org/xapian/.cvsignore,java/org/xapian/examples/.cvsignore,
9221 java/org/.cvsignore,java/.cvsignore,debian/.cvsignore,
9222 guile/.cvsignore,tcl8/docs/.cvsignore,tcl8/docs/examples/.cvsignore,
9223 tcl8/.cvsignore,php4/docs/.cvsignore,php4/docs/examples/.cvsignore,
9224 php4/.cvsignore,.cvsignore: Remove .cvsignore files, as they're not
9227 Tue Apr 05 00:34:09 BST 2005 Olly Betts <olly@survex.com>
9229 * configure.ac,php4/Makefile.am: There are problems with the PHP glue
9230 code produced by SWIG 1.3.23 and later - optional arguments aren't
9231 optional. So add back the SWIG_1_3_22 machinery.
9233 Tue Mar 29 15:14:11 BST 2005 Olly Betts <olly@survex.com>
9235 * csharp/Makefile.am: Updated list of generated .cs files.
9237 Tue Mar 29 14:48:21 BST 2005 Olly Betts <olly@survex.com>
9239 * xapian.i: Fix C# warnings.
9241 Tue Mar 29 13:57:36 BST 2005 Olly Betts <olly@survex.com>
9243 * xapian.i: For PHP4, rename default Database ctor to Database_empty
9244 instead of suppressing the Database(const string &path) ctor.
9246 Tue Mar 29 13:39:36 BST 2005 Olly Betts <olly@survex.com>
9248 * configure.ac: Pass -Werror to SWIG.
9249 * xapian.i: Fix all the SWIG warnings which are now errors.
9251 Tue Mar 29 13:29:47 BST 2005 James Aylett <james@tartarus.org>
9253 * don't wrap MSet::max_size() as it's there for STL
9254 compatibility rather than useful functionality.
9256 Tue Mar 29 11:55:26 BST 2005 James Aylett <james@tartarus.org>
9258 * when running PHP4 tests, use a blank config file so that if
9259 the xapian bindings are already installed as an extension and
9260 loaded automatically in the default config, they won't be
9261 during the test run.
9263 The tests use dl(), so will pick up the version we've just
9266 Tue Mar 29 10:32:36 BST 2005 Olly Betts <olly@survex.com>
9268 * configure.ac,php4/Makefile.am: SWIG > 1.3.22 *does* work for PHP -
9269 the problem was that I had an older PHP SWIG glue shared library
9270 installed and this clashes with new glue libraries (but not older
9271 ones). So strip out the machinery to use a different SWIG version
9273 * configure.ac: Require SWIG >= 1.3.24.
9275 Mon Mar 21 09:37:45 GMT 2005 James Aylett <james@tartarus.org>
9277 * xapian.i: updated SWIG-based bindings to latest API
9279 * python/extra.i: more Python-style iterators
9281 * tcl8/docs/.cvsignore, tcl8/docs/examples/.cvsignore: ignore
9282 autogenerated Makefile.in, Makefile
9284 Mon Mar 21 07:01:14 GMT 2005 Olly Betts <olly@survex.com>
9286 * configure.ac,php4/Makefile.am: Use SWIG 1.3.22 for PHP bindings
9287 as more recent versions don't work.
9288 * configure.ac: If configure can't find the php interpreter (as php4
9289 or php), it probably just means it's not on PATH. We only need it
9290 for running the smoketest, so substitute "exit 77 #" instead which
9291 will cause the test to skip (previously we substituted "missing"
9292 which causes the test to fail).
9294 Wed Feb 23 04:08:55 GMT 2005 Olly Betts <olly@survex.com>
9296 * NEWS: Updated for 0.8.5.1.
9298 Wed Feb 23 04:07:48 GMT 2005 Olly Betts <olly@survex.com>
9300 * README: Refer reader to java/README for java specific information.
9302 Tue Feb 22 16:12:55 GMT 2005 Olly Betts <olly@survex.com>
9304 * java/Makefile.am,java/README,java/native/Makefile.am,
9305 java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9306 Fixed how the jar file is made, and build it directory to the built
9307 subdirectory rather than requiring an "install" step. Updated the
9308 README to add a "how to build" section. Tweak the java commands in
9309 the README for running the examples to work around a bug in Debian
9310 gij's java wrapper script. Added a README section about tested java
9311 platforms. Automatically "install" the JNI glue library in "built"
9312 and remove the .la file (which is useless here).
9314 Tue Feb 22 01:38:14 GMT 2005 Olly Betts <olly@survex.com>
9316 * configure.ac: Set version to 0.8.5.1 and fix version check.
9318 Mon Feb 21 20:17:07 GMT 2005 Olly Betts <olly@survex.com>
9320 * COPYING: This code is under the GPL (except the Java bindings which
9321 are MIT-style, but that's GPL compatible anyway).
9323 Mon Feb 21 20:11:36 GMT 2005 Olly Betts <olly@survex.com>
9325 * configure.ac: Run tests using the C++ compiler; Allow bindings
9326 version to have an extra "patchlevel", yet still match with
9327 corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
9328 Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
9329 warnings in generated code (we were specially passing "-Wunused"
9330 which was a thinko I believe!)
9332 Mon Feb 21 20:08:56 GMT 2005 Olly Betts <olly@survex.com>
9334 * java/Makefile.am,java/org/xapian/examples/Makefile.am: "make clean"
9335 should remove the generated class files.
9337 Mon Feb 21 20:06:19 GMT 2005 Olly Betts <olly@survex.com>
9339 * java/README: Added list of unwrapped methods and classes.
9341 Mon Feb 21 20:03:06 GMT 2005 Olly Betts <olly@survex.com>
9343 * java/.cvsignore: Add "built" directory.
9345 Mon Feb 21 20:02:17 GMT 2005 Olly Betts <olly@survex.com>
9347 * java/Makefile.am,java/run-java-test: Run SmokeTest on "make check".
9349 Mon Feb 21 18:42:32 GMT 2005 Olly Betts <olly@survex.com>
9351 * java/org/xapian/ExpandDecider.java,
9352 java/org/xapian/MatchDecider.java: Fix GCJ warning.
9354 Mon Feb 21 18:42:03 GMT 2005 Olly Betts <olly@survex.com>
9356 * java/org/xapian/errors/Makefile.am: Remove lingering reference to
9357 InvalidDataError.java and InvalidDataError.class.
9359 Mon Feb 21 05:16:28 GMT 2005 Olly Betts <olly@survex.com>
9361 * java/.cvsignore,java/SmokeTest.java,java/native/,java/org/xapian/,
9362 java/org/xapian/errors/,java/org/xapian/examples/:
9363 Added missing .java sources and removed unused ones; Added java
9364 smoketest (not yet run automatically); Added .cvsignore files for
9365 generated files; Updated to use new ctors for Database and
9366 WritableDatabase which replace Auto::open(); Wrap
9367 Database::get_lastdocid(); Wrap ESetIterator::prev() and
9368 MSetIterator::prev(); Fixed glitches in automake build system;
9369 Prefer Query::empty() to Query::is_empty(); Wrap InMemory::open();
9370 Disable Eric's QueryParser - for consistency we should wrap the
9371 C++ version by default; Removed forced flush() from
9372 WritableDatabase::delete_document() wrapper.
9373 * java/org/xapian/examples/SimpleSearch.java: tweaked to be more like
9376 Mon Feb 21 05:02:30 GMT 2005 Olly Betts <olly@survex.com>
9378 * java/README: Need . in -classpath.
9380 Tue Jan 18 02:27:06 GMT 2005 Olly Betts <olly@survex.com>
9382 * java/org/xapian/Xapian.java: Another missing java source!
9384 Sun Jan 09 13:59:17 GMT 2005 Olly Betts <olly@survex.com>
9386 * configure.ac: Check for "php" as well as "php4", and fall-back to
9387 missing so the error message from "make check" is better.
9389 Thu Dec 23 19:17:39 GMT 2004 Olly Betts <olly@survex.com>
9391 * configure.ac,NEWS: Version 0.8.5.
9393 Thu Dec 23 19:16:53 GMT 2004 Olly Betts <olly@survex.com>
9395 * INSTALL,README: Added better installation instructions.
9397 Mon Dec 20 16:29:01 GMT 2004 Olly Betts <olly@survex.com>
9399 * python/Makefile.am: Simpler .pyc fix.
9401 Fri Dec 10 17:13:52 GMT 2004 Richard Boulton <richard@tartarus.org>
9403 * python/Makefile.am: Fixed bytecode compilation of xapian.py.
9404 xapian.pyc was being generated in the same directory
9405 as xapian.py, but Makefile.am was looking in current directory
9406 when installing it. Additionally, VPATH builds were broken.
9408 Wed Dec 08 16:18:39 GMT 2004 Olly Betts <olly@survex.com>
9410 * NEWS: Fixed typo, bumped date.
9412 Wed Dec 08 02:13:25 GMT 2004 Olly Betts <olly@survex.com>
9414 * php4/docs/bindings.html,python/docs/bindings.html,
9415 tcl8/docs/bindings.html: Reworked text about Xapian::Auto namespace
9416 and a few other tweaks.
9418 Tue Dec 07 19:55:48 GMT 2004 Olly Betts <olly@survex.com>
9420 * xapian.i,php4/docs/examples/simpleindex.php,
9421 php4/docs/examples/simplesearch.php,python/docs/examples/,
9422 tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl,
9423 tcl8/docs/examples/simplesearch.tcl: Wrap the new constructors
9424 for Database and WritableDatabase, use these in the examples,
9425 and removed mentions of Auto::open() from the documentation.
9426 Don't wrap the WritableDatabase forms of Auto::open() and
9427 Quartz::open() in tcl8 since the destructor never gets called.
9429 Tue Dec 07 19:53:48 GMT 2004 Olly Betts <olly@survex.com>
9431 * README: Updated to list fully supported languages and improved
9434 Thu Dec 02 13:31:40 GMT 2004 Olly Betts <olly@survex.com>
9436 * xapian.i: Weight::clone is for internal use - don't wrap it.
9437 * xapian.i: For PHP4, rename the default BM25Weight ctor to
9438 BM25Weight_default and the default TradWeight ctor to
9441 Thu Dec 02 13:30:55 GMT 2004 Olly Betts <olly@survex.com>
9443 * python/Makefile.am: test -d before mkdir to avoid worrying looking
9446 Thu Dec 02 03:40:16 GMT 2004 Olly Betts <olly@survex.com>
9450 Thu Dec 02 03:37:06 GMT 2004 Olly Betts <olly@survex.com>
9452 * configure.ac: SWIG 1.3.23 causes warnings (and quite likely problems)
9453 with PHP4. It helps C#, but since that's unfinished, PHP4
9454 definitely matters more, so drop back to SWIG 1.3.22.
9456 Thu Dec 02 03:27:37 GMT 2004 Olly Betts <olly@survex.com>
9458 * configure.ac: Added tcl8/docs/Makefile tcl8/docs/examples/Makefile
9461 Thu Dec 02 03:05:11 GMT 2004 Olly Betts <olly@survex.com>
9463 * NEWS,xapian.i: Removed the director for Xapian::Weight for now,
9464 since it was causing swig to generate code which didn't compile.
9466 Thu Dec 02 03:03:39 GMT 2004 Olly Betts <olly@survex.com>
9468 * python/.cvsignore: Updated.
9470 Thu Dec 02 03:00:56 GMT 2004 Olly Betts <olly@survex.com>
9472 * python/Makefile.am: Fixed PYTHONPATH for running smoketest.py.
9474 Wed Dec 01 21:32:02 GMT 2004 Olly Betts <olly@survex.com>
9476 * xapian.i: Prototype Weight::clone() method so that SWIG directors
9479 Wed Dec 01 16:11:32 GMT 2004 Olly Betts <olly@survex.com>
9481 * tcl8/Makefile.am,tcl8/docs/Makefile.am,
9482 tcl8/docs/examples/Makefile.am: Ship and install docs and examples
9485 Wed Dec 01 15:41:56 GMT 2004 Olly Betts <olly@survex.com>
9487 * Makefile.am: Distribute xapian-bindings.spec.in.
9489 Wed Dec 01 15:39:55 GMT 2004 Olly Betts <olly@survex.com>
9491 * xapian-bindings.spec.in: No longer need "BuildRequires: swig";
9492 disable building of csharp bindings; package tcl8 documentation;
9493 updated to package the tcl8 bindings at their new location.
9495 Wed Dec 01 05:59:24 GMT 2004 Olly Betts <olly@survex.com>
9497 * NEWS: It's now tomorrow, so bump the 0.8.4 release date.
9499 Wed Dec 01 05:57:41 GMT 2004 Olly Betts <olly@survex.com>
9501 * tcl8/docs/examples/simplesearch.tcl: Need Tcl 8.1 or later.
9503 Wed Dec 01 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9505 * tcl8/docs/examples/simpleindex.tcl: Tweaked to actually work.
9507 Wed Dec 01 05:18:18 GMT 2004 Olly Betts <olly@survex.com>
9509 * tcl8/docs/examples/simpleindex.tcl: Simpler, more idiomatic code
9510 which doesn't rely on features added since Tcl 8.1.
9512 Tue Nov 30 22:42:14 GMT 2004 Olly Betts <olly@survex.com>
9514 * NEWS,configure.ac: Updated for 0.8.4 release.
9516 Mon Nov 29 04:17:42 GMT 2004 Olly Betts <olly@survex.com>
9518 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9519 python/Makefile.am,tcl8/Makefile.am: Instead of requiring the user
9520 to have a really recent SWIG installed, ship the files SWIG
9521 generates. Disable all the SWIG rules unless configure is run
9522 with --enable-maintainer-mode to make sure they aren't triggered
9523 accidentally by make with dodgy VPATH or anything else.
9524 * csharp/Makefile.am: Updated the list of generated .cs files to
9525 include the subclasses of Weight.
9527 Sun Nov 28 02:51:37 GMT 2004 Olly Betts <olly@survex.com>
9529 * csharp/TODO: Note that SWIG 1.3.23 apparently implements optional
9532 Sun Nov 28 01:50:45 GMT 2004 Olly Betts <olly@survex.com>
9534 * csharp/Makefile.am: Wrapping for Xapian::Weight means we need to add
9535 Weight.cs to the list of generated sources.
9537 Sat Nov 27 03:00:24 GMT 2004 Olly Betts <olly@survex.com>
9539 * xapian.i: Mark Weight as needing a director for Python.
9541 Tue Nov 16 02:59:18 GMT 2004 Olly Betts <olly@survex.com>
9543 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9544 python/Makefile.am,tcl8/Makefile.am: Use newly added option
9545 `xapian-config --swigflags` which (a) avoids always passing
9546 -I/usr/include which could cause problems if we're using a Xapian
9547 install not in /usr and there's another one in /usr and (b) avoids
9548 problems if `xapian-config --cxxflags` contains flags other than
9551 Sun Nov 14 06:30:47 GMT 2004 Olly Betts <olly@survex.com>
9553 * xapian.i: Wrapped Xapian::Weight and subclasses (compiles, but
9554 otherwise totally untested). Nothing special is done about
9555 directors, so deriving your own Weight subclass in the scripting
9556 language probably won't currently work.
9558 Wed Nov 10 03:32:23 GMT 2004 Olly Betts <olly@survex.com>
9560 * README: Improved a bit.
9562 Wed Nov 10 03:24:08 GMT 2004 Olly Betts <olly@survex.com>
9564 * xapian.i: %name is deprecated, so use %rename instead. This also
9565 works around a bug currently in SWIG CVS HEAD.
9567 Wed Nov 10 01:47:33 GMT 2004 Olly Betts <olly@survex.com>
9569 * xapian.i: Second argument to Document::add_posting() isn't optional.
9571 Tue Nov 09 03:06:56 GMT 2004 Olly Betts <olly@survex.com>
9573 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9574 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9575 tcl8/Makefile.am: We now get -AA or -std strict_ansi from
9576 xapian-config, so we don't need to probe for them ourselves.
9578 Sat Nov 06 16:19:30 GMT 2004 Olly Betts <olly@survex.com>
9580 * configure.ac: Check GXX instead of GCC when deciding whether to pass
9581 GCC specific warning flags.
9583 Sat Nov 06 13:04:52 GMT 2004 Olly Betts <olly@survex.com>
9585 * configure.ac: Reinstated the check that the bindings version matches
9586 the version of the xapian library. It was added in 0.8.2, but
9587 accidentally removed in 0.8.3.
9589 Sat Nov 06 12:44:40 GMT 2004 Olly Betts <olly@survex.com>
9591 * configure.ac: Protect tcl header version test by prepending x to
9592 both the strings being tested.
9594 Tue Nov 02 05:59:54 GMT 2004 Olly Betts <olly@survex.com>
9596 * configure.ac: Removed pointless probe for a C compiler.
9598 Tue Nov 02 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9600 * configure.ac: Require SWIG 1.3.22 (for guile).
9602 Sat Oct 30 19:51:10 BST 2004 Olly Betts <olly@survex.com>
9604 * csharp/Makefile.am: Contents of xxx_SOURCES must be literal.
9606 Thu Oct 28 04:45:15 BST 2004 Olly Betts <olly@survex.com>
9608 * csharp/Makefile.am,csharp/SmokeTest.cs: Added a smoketest.
9610 * csharp/Makefile.am: Updated list of generated .cs files.
9612 Thu Oct 28 04:37:31 BST 2004 Olly Betts <olly@survex.com>
9614 * xapian.i: In the Query ctor which takes a vector of terms, only
9615 call set_window if window is non-zero. Otherwise things go wrong
9616 if we're passed an empty vector.
9618 Wed Oct 27 03:34:10 BST 2004 Olly Betts <olly@survex.com>
9620 * configure.ac: Added note that the bindings can easily be compiled
9621 for use with Tcl 8.0, in case anybody needs that for some reason.
9623 Sun Oct 24 02:07:31 BST 2004 Olly Betts <olly@survex.com>
9625 * python/docs/examples/simpleindex.py: Trim spaces from the start as
9626 well as from the end of each line. Simplify the loop slightly.
9628 Sun Oct 24 01:54:17 BST 2004 Olly Betts <olly@survex.com>
9630 * tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl: Added
9631 Tcl version of simpleindex from xapian-examples.
9633 Sat Oct 23 15:57:00 BST 2004 Olly Betts <olly@survex.com>
9635 * configure.ac,tcl8/Makefile.am: Use the TCL_STUBS mechanism so that
9636 compiled extensions are portable between different versions of Tcl.
9637 This needs Tcl 8.1, so bump the required Tcl version (was 8.0).
9638 Also install in the directory above $tcl_library so the built
9639 extension can be found by other Tcl versions.
9641 Fri Oct 22 03:24:11 BST 2004 Olly Betts <olly@survex.com>
9643 * php4/docs/bindings.html,python/docs/bindings.html,
9644 tcl8/docs/bindings.html: Mention the example scripts near the start
9645 of the documentation, not right at the end.
9646 * php4/docs/bindings.html: Remove documentation explicitly saying
9647 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9648 exactly as we wrap everything else we don't mention!
9650 Fri Oct 22 03:21:20 BST 2004 Olly Betts <olly@survex.com>
9652 * tcl8/.cvsignore,tcl8/Makefile.am: Pass -pkgversion to SWIG to set
9653 the Tcl package version; create pkgIndex.tcl so the package can
9654 be loaded in the usual Tcl way; install in "xapian<VERSION>"
9655 subdirectory of the Tcl library directory, as is the convention.
9657 Fri Oct 22 02:36:00 BST 2004 Olly Betts <olly@survex.com>
9659 * tcl8/docs/bindings.html: Added documentation for tcl8.
9661 Fri Oct 22 02:21:48 BST 2004 Olly Betts <olly@survex.com>
9663 * python/docs/examples/simpleexpand.py,
9664 python/docs/examples/simplematchdecider.py,
9665 python/docs/examples/simplesearch.py: Changed to use James' newly
9666 wrapped Query from list of terms ctor.
9667 * python/docs/examples/simplematchdecider.py: Make the example
9668 MatchDecider exclude documents matching a value, rather than a term.
9669 The latter is a very inefficient way to do what AND_NOT does, and
9670 we don't want examples to mislead like that.
9672 Thu Oct 21 18:00:14 BST 2004 Olly Betts <olly@survex.com>
9674 * python/docs/bindings.html: Note that you can construct a query
9675 from a list of terms, even if you can't from a list of queries.
9676 Add HTML links to the examples.
9678 Thu Oct 21 17:44:19 BST 2004 Olly Betts <olly@survex.com>
9680 * python/docs/bindings.html: Remove documentation explicitly saying
9681 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9682 exactly as we wrap everything else we don't mention! Also mention
9683 simpleexpand example.
9685 Thu Oct 21 16:59:03 BST 2004 Olly Betts <olly@survex.com>
9687 * php4/Makefile.am: Note why we pass -I. to SWIG.
9689 Thu Oct 21 02:45:15 BST 2004 Olly Betts <olly@survex.com>
9691 * xapian.i: It turns out that we do need to wrap MSet::MSet() after
9692 all (simpleexpand.py uses it, for example).
9694 Thu Oct 21 02:43:34 BST 2004 Olly Betts <olly@survex.com>
9696 * python/docs/examples/: Report messages for Xapian exceptions.
9697 Removed MAX_PROB_TERM_LENGTH from scripts which don't use it.
9699 Thu Oct 21 01:39:08 BST 2004 Olly Betts <olly@survex.com>
9701 * tcl8/smoketest.tcl: Explicitly require at least Tcl version 8.
9703 Thu Oct 21 01:35:28 BST 2004 Olly Betts <olly@survex.com>
9705 * tcl8/docs/examples/simplesearch.tcl: Use more idiomatic (and less
9706 idiotic) Tcl thanks to contributions from Michael Schlenker.
9708 Wed Oct 20 05:29:57 BST 2004 Olly Betts <olly@survex.com>
9710 * tcl8/docs/examples/simplesearch.tcl: Sussed out what Query::OP_OR
9713 Wed Oct 20 05:18:36 BST 2004 Olly Betts <olly@survex.com>
9715 * tcl8/docs/examples/simplesearch.tcl: Translated simplesearch into
9718 Tue Oct 19 21:07:06 BST 2004 Olly Betts <olly@survex.com>
9720 * python/Makefile.am: Added xapian_wrap.h as a target for the rule
9723 Tue Oct 19 21:05:11 BST 2004 Olly Betts <olly@survex.com>
9725 * tcl8/Makefile.am: Wrap in a tcl8 namespace "Xapian".
9726 * tcl8/Makefile.am,tcl8/smoketest.tcl: Added a smoketest.
9728 Wed Oct 6 17:28:54 BST 2004 James Aylett <james@tartarus.org>
9730 * get overloaded Query(Query::op, vector<string>*, termpos)
9731 constructor working in Python
9733 Thu Sep 30 02:29:13 BST 2004 Richard Boulton <richard@tartarus.org>
9735 * csharp/Makefile.am: Add XapianSharp.snk to CLEANFILES.
9736 Place generated bindings into C# namespace "Xapian".
9737 Change module name to Xapian. (Assembly remains as XapianSharp).
9738 Remove -noproxy option from swig.
9739 Update list of csharp source file to work with new swig options.
9740 * csharp/.cvsignore: Add XapianSharp.snk, now it's a generated
9743 Wed Sep 29 19:04:41 BST 2004 Olly Betts <olly@survex.com>
9745 * xapian.i: Reenabled inclusion of typemaps.i and exception.i for
9746 Guile. This was disabled in June 2000. 4 years later SWIG seems
9747 to process them successfully.
9749 Wed Sep 29 19:01:28 BST 2004 Olly Betts <olly@survex.com>
9751 * configure.ac,csharp/Makefile.am: Get configure to find sn.
9753 Wed Sep 29 17:23:23 BST 2004 Richard Boulton <richard@tartarus.org>
9755 * csharp/: Generate strong name file automatically.
9757 Wed Sep 29 14:17:50 BST 2004 Olly Betts <olly@survex.com>
9759 * csharp/Makefile.am: Added "touch op.cs" so the build system works
9760 on SWIG <= 1.3.21 as well as SWIG 1.3.22.
9762 Wed Sep 29 14:11:48 BST 2004 Olly Betts <olly@survex.com>
9764 * configure.ac: CSharp bindings now build, so enable them if the
9765 required tools are available.
9767 Wed Sep 29 03:00:05 BST 2004 Olly Betts <olly@survex.com>
9769 * csharp/Makefile.am: Removed hardcoded values for GACUTIL and CSC
9770 which were overriding any values configure tried to set.
9772 Wed Sep 29 02:57:07 BST 2004 Olly Betts <olly@survex.com>
9774 * csharp/Makefile.am: Fixed to build when srcdir != builddir.
9776 Tue Sep 28 20:33:21 BST 2004 Olly Betts <olly@survex.com>
9778 * configure.ac: The guile bindings do now build (though I don't
9779 know guile so can't test them), so enable the guile detection
9780 machinery in configure.
9782 Tue Sep 28 19:32:33 BST 2004 Olly Betts <olly@survex.com>
9784 * csharp/Makefile.am: Add op.cs to XAPIAN_SWIG_CS_SRCS.
9786 Tue Sep 28 19:06:02 BST 2004 Olly Betts <olly@survex.com>
9788 * configure.ac: AC_PATH_PROG calls AC_SUBST, so we don't need to.
9790 Tue Sep 28 19:04:17 BST 2004 Olly Betts <olly@survex.com>
9792 * csharp/Makefile.am: Set AM_CXXFLAGS.
9794 Tue Sep 28 16:45:25 BST 2004 Olly Betts <olly@survex.com>
9796 * xapian.i: Workaround not being able to include stl.i with C#.
9798 Tue Sep 28 16:22:47 BST 2004 Richard Boulton <richard@tartarus.org>
9800 * csharp/AssemblyInfo.cs.in: New file - includes strong name
9802 * csharp/Makefile.am: Build assembly with a strong name, to
9803 make gacutil happy. Use gacutil to install the assembly.
9804 Change xapian_wrap.cc to XapianSharp.cc
9805 * csharp/XapianSharp.snk: New file - strong name for XapianSharp.
9806 * csharp/.cvsignore: Ignore XapianSharp.{cc,loT}
9807 * configure.ac: Generate csharp/AssemblyInfo.cs
9809 Sun Sep 26 19:34:54 BST 2004 Richard Boulton <richard@tartarus.org>
9811 * README: Mention that I'm working on C# bindings.
9812 * csharp/.cvsignore: Ignore generated .cs and .dll files
9814 Sat Sep 25 02:51:22 BST 2004 Richard Boulton <richard@tartarus.org>
9816 * configure.ac,Makefile.am,csharp/: Add C sharp bindings, created
9817 with SWIG. Build disabled by default for now, because these are
9818 completely untested, and probably need quite a bit of work. In
9819 addition, all the SWIG packages I've found seem to require a
9820 patch to work correctly with csharp (various stl_*.i packages are
9821 reported missing, creating them with "touch" seems to work, but
9822 may break things subtly). I need to learn C# before I can test
9825 Mon Sep 20 15:28:04 BST 2004 Olly Betts <olly@survex.com>
9827 * NEWS,configure.ac: Version 0.8.3.
9829 Mon Sep 20 15:10:57 BST 2004 Olly Betts <olly@survex.com>
9831 * java/org/xapian/.cvsignore,java/org/xapian/errors/.cvsignore:
9832 Updated to ignore .class files.
9834 Sun Sep 19 23:28:14 BST 2004 Olly Betts <olly@survex.com>
9836 * .cvsignore,Makefile.am,configure.ac,xapian-bindings.spec.in:
9837 Added spec file contributed by Fabrice Colin.
9839 Sun Sep 19 17:56:32 BST 2004 Olly Betts <olly@survex.com>
9841 * guile/.cvsignore: Added xapian_wrap.cc and xapianc.la.
9843 Fri Sep 17 10:00:59 BST 2004 Olly Betts <olly@survex.com>
9845 * php4/docs/Makefile.am: Include php4/docs/bindings.html in the
9848 Fri Sep 17 00:54:12 BST 2004 Olly Betts <olly@survex.com>
9850 * php4/Makefile.am,python/Makefile.am: DIST_SUBDIRS is superfluous
9851 when it's identical to SUBDIRS.
9853 Fri Sep 17 00:52:47 BST 2004 Olly Betts <olly@survex.com>
9855 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9856 Pass -classpath to javac; make sure errors subdirectory is built
9857 before we try to build the jar file.
9859 Fri Sep 17 00:00:25 BST 2004 Olly Betts <olly@survex.com>
9861 * configure.ac,tcl8/Makefile.am: Improved check for tcl.h to work with
9864 Thu Sep 16 23:02:28 BST 2004 Olly Betts <olly@survex.com>
9866 * java/native/Makefile.am,java/org/xapian/Makefile.am: Fixed "make
9867 install" to not give libtool error.
9869 Thu Sep 16 22:51:26 BST 2004 Olly Betts <olly@survex.com>
9871 * php4/docs/examples/Makefile.am: Include simplesearch.php and
9872 simpleindex.php in the tarball.
9874 Wed Sep 15 18:47:58 BST 2004 Olly Betts <olly@survex.com>
9876 * configure.ac: Noted that -modern affects xapian.py (xapian_wrap.cc
9879 Wed Sep 15 18:22:23 BST 2004 Olly Betts <olly@survex.com>
9881 * configure.ac,php4/Makefile.am: Removed the recently added
9882 SWIG_PHP_LDFLAGS machinery. We only need to pass those if
9883 we use swig's -noruntime option (which we don't do).
9885 Wed Sep 15 17:38:02 BST 2004 Olly Betts <olly@survex.com>
9887 * configure.ac,python/Makefile.am: Use swig's -modern switch for
9888 Python 2.2 and up - it gives cleaner, leaner, faster wrapper code.
9890 Tue Sep 14 03:37:55 BST 2004 Olly Betts <olly@survex.com>
9892 * guile/Makefile.am,guile/extra.i: Added empty extra.i which
9893 will be required when these bindings get resurrected.
9895 Tue Sep 14 03:37:23 BST 2004 Olly Betts <olly@survex.com>
9897 * tcl8/Makefile.am: Don't install xapian.la.
9899 Tue Sep 14 03:35:57 BST 2004 Olly Betts <olly@survex.com>
9901 * tcl8/extra.i: This had been copied from php4/extra.i without
9902 changing reference in comments from PHP4 to Tcl - fixed.
9904 Mon Sep 13 05:08:51 BST 2004 Olly Betts <olly@survex.com>
9906 * configure.ac: Version 0.8.2.
9908 Mon Sep 13 04:59:54 BST 2004 Olly Betts <olly@survex.com>
9910 * NEWS,xapian.i,php4/docs/bindings.html,python/docs/bindings.html:
9911 Wrap ESet::back(), Database::get_lastdocid(), and the new optional
9912 third parameter to Enquire::set_sorting(). Don't wrap MSet::MSet().
9913 Wrap operator-- as prev() for MSetIterator and ESetIterator. Wrap
9914 Quartz, InMemory, and Remote database factory functions as
9915 quartz_open(), inmemory_open(), and remote_open(). Wrap static
9916 Stem::get_available_languages() and Stem::get_description().
9917 * php4/smoketest.php,python/smoketest.py: Open an InMemory database
9918 and add the document to it as an additional test.
9920 Sun Sep 12 14:31:17 BST 2004 Olly Betts <olly@survex.com>
9922 * xapian.i: Add back is_empty() aliases for compatibility.
9924 Thu Sep 09 04:19:54 BST 2004 Olly Betts <olly@survex.com>
9926 * configure.ac,php4/Makefile.am,php4/smoketest.php: Added smoke test
9928 * python/Makefile.am: Fixed multiple setting of EXTRA_DIST.
9930 Thu Sep 09 03:21:30 BST 2004 Olly Betts <olly@survex.com>
9932 * php4/docs/examples/simpleindex.php,
9933 php4/docs/examples/simplesearch.php: Removed "dl('xapian.so')" -
9934 instead document how to configure PHP to load the module.
9936 Thu Sep 09 03:14:57 BST 2004 Olly Betts <olly@survex.com>
9938 * NEWS: Started to updated for next release.
9940 Thu Sep 09 03:07:43 BST 2004 Olly Betts <olly@survex.com>
9942 * php4/docs/bindings.html: Added documentation on how to install the
9945 Thu Sep 09 02:45:24 BST 2004 Olly Betts <olly@survex.com>
9947 * python/docs/bindings.html: Word-wrapped HTML source.
9949 Thu Sep 09 02:40:17 BST 2004 Olly Betts <olly@survex.com>
9951 * php4/docs/bindings.html,python/docs/bindings.html: Removed
9952 documentation of renaming of empty() methods.
9954 Wed Sep 08 22:16:52 BST 2004 Olly Betts <olly@survex.com>
9956 * xapian.i: Updated for Query->is_empty() -> Query->empty().
9958 Wed Sep 08 20:39:03 BST 2004 Olly Betts <olly@survex.com>
9960 * python/Makefile.am,python/smoketest.py: Added a simple testcase
9961 to at least ensure the python bindings can be initialise and
9962 some simple operations work.
9964 Wed Sep 08 15:23:38 BST 2004 Olly Betts <olly@survex.com>
9966 * xapian.i: Remove renaming of empty() methods to is_empty().
9968 Wed Sep 08 05:34:10 BST 2004 Olly Betts <olly@survex.com>
9970 * README: Pike support is now in SWIG it seems.
9972 Wed Sep 08 05:30:58 BST 2004 Olly Betts <olly@survex.com>
9974 * README: Updated list of languages which SWIG supports.
9976 Wed Sep 08 04:53:07 BST 2004 Olly Betts <olly@survex.com>
9978 * configure.ac: Disable tcl8 bindings if the tcl8.X-dev package
9981 Wed Sep 08 04:52:19 BST 2004 Olly Betts <olly@survex.com>
9983 * tcl8/.cvsignore: Ignore xapian.la.
9985 Wed Sep 08 04:49:50 BST 2004 Olly Betts <olly@survex.com>
9987 * tcl8/.cvsignore: Ignore generated xapian_wrap.cc.
9989 Wed Sep 08 04:15:06 BST 2004 Olly Betts <olly@survex.com>
9991 * configure.ac,guile/Makefile.am,java/native/Makefile.am,
9992 php4/Makefile.am,python/Makefile.am,tcl8/Makefile.am:
9993 Use special SWIG PHP ldflags when linking the PHP glue library;
9994 Only pass -W* switches when building with GCC; Suppress compiler
9995 warnings by passing -Wno-uninitialized when building SWIG glue code;
9996 Python bindings now delete generated xapian_wrap.h on "make clean".
9998 Wed Sep 08 04:06:02 BST 2004 Olly Betts <olly@survex.com>
10000 * python/util.i: Suppress SWIG warning about MatchDecider::operator()
10001 director discarding const.
10003 Wed Sep 08 02:37:17 BST 2004 Olly Betts <olly@survex.com>
10005 * php4/.cvsignore: Updated.
10007 Wed Sep 08 01:27:54 BST 2004 Olly Betts <olly@survex.com>
10009 * configure.ac,php4/.cvsignore,php4/Makefile.am,
10010 php4/docs/bindings.html,php4/docs/examples/simpleindex.php,
10011 php4/docs/examples/simplesearch.php: Actually ship docs and
10012 examples; fixed bug in includes introduced in last checkin; output
10013 swig wrapper as xapian_wrap.cc not xapian_wrap.cpp for consitency
10014 with other bindings; fixed documentation of wrapping of
10015 Xapian::Query::OP_*; example scripts now load the xapian PHP
10016 extension; simplesearch now works with multi-term queries.
10018 Tue Sep 07 22:20:16 BST 2004 Olly Betts <olly@survex.com>
10020 * configure.ac,php4/.cvsignore,php4/Makefile.am: Don't use -phpfull
10021 option to swig. It's actually as easy to build and install the
10022 shared library ourselves, and then we can link with an uninstalled
10025 Tue Sep 07 22:18:20 BST 2004 Olly Betts <olly@survex.com>
10027 * python/Makefile.am: Fixed to use xapian_wrap.cpp not $@ - otherwise
10028 "make xapian.py" doesn't work correctly. Fixed typo in comment.
10030 Fri Sep 03 18:44:56 BST 2004 Olly Betts <olly@survex.com>
10032 * python/.cvsignore: Added xapian.pyc.
10034 Fri Sep 03 18:41:34 BST 2004 Olly Betts <olly@survex.com>
10038 Fri Sep 03 18:34:21 BST 2004 Olly Betts <olly@survex.com>
10040 * configure.ac,configure.in: Renamed configure.in to configure.ac.
10042 Fri Sep 03 18:28:54 BST 2004 Olly Betts <olly@survex.com>
10044 * Makefile.am: Require automake 1.8.5.
10045 * configure.in: Require autoconf 2.59. Note that SWIG 1.3.22 doesn't
10046 seem to have any changes relevant to us.
10048 Fri Sep 03 18:14:15 BST 2004 Olly Betts <olly@survex.com>
10050 * python/Makefile.am: Fixed to remove _xapian.la after it is installed
10051 (preventing it being installed is really hard to do). And
10052 xapian.py and xapian.pyc aren't BUILT_SOURCES so just put them
10053 directly in CLEANFILES.
10055 Fri Sep 03 13:04:42 BST 2004 Olly Betts <olly@survex.com>
10057 * python/Makefile.am: Byte compile the python code and install that
10060 Fri Sep 03 13:03:55 BST 2004 Olly Betts <olly@survex.com>
10062 * configure.in: Tell libtool not to build static libraries as the
10063 bindings all need dynamic ones which can be loaded at runtime.
10065 Wed Sep 01 12:07:08 BST 2004 Olly Betts <olly@survex.com>
10067 * configure.in: Require Python >= 2.1 for __cmp__ and __eq__.
10069 Thu Aug 19 17:20:45 BST 2004 Olly Betts <olly@survex.com>
10071 * php4/docs/bindings.html: Document that the 2 argument form of
10072 Xapian::Auto::open() for opening a writable database is wrapped
10073 as open_writable() (bug #32).
10075 Thu Aug 12 13:26:16 BST 2004 Olly Betts <olly@survex.com>
10077 * configure.in: Check that the bindings version matches the version of
10078 the xapian library.
10080 Thu Aug 12 13:15:01 BST 2004 Olly Betts <olly@survex.com>
10082 * configure.in,php4/: Include xapian version in output from phpinfo().
10084 Fri Jul 02 14:27:42 BST 2004 Olly Betts <olly@survex.com>
10086 * php4/docs/bindings.html: Reference to Xapian::Auto::DB_* should be
10089 Wed Jun 30 14:54:48 BST 2004 Olly Betts <olly@survex.com>
10091 * configure.in: Version 0.8.1; Corrected --without-tcl help to say
10092 it disables Tcl (not Java!) and list the SWIG bindings which
10093 --without-swig disables; note that SWIG 1.3.21 isn't relevant
10094 and the SWIG changelog URL.
10096 Wed Jun 30 00:09:58 BST 2004 Olly Betts <olly@survex.com>
10098 * NEWS: Updated for 0.8.1 release.
10100 Tue Jun 29 23:26:36 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10102 * java/native/,java/org/xapian/: Updates to java bindings:
10103 - cleanup usages of XapianObjectHolder to be explicitly created
10104 during library initialization
10105 - make finalize() methods of Database and WritableDatabase public so
10106 they can be called from the outside world (should probably have
10107 added explicit close() methods instead).
10108 - deprecate document_add_term_nopos(); completely remove from C++
10111 Tue Jun 29 17:30:17 BST 2004 Richard Boulton <richard@tartarus.org>
10113 * Makefile.am: Remove Debian files from distribution tarballs,
10114 since there will often be multiple patch releases for each
10115 release. Debian files will be available from an apt repository
10118 Tue Jun 29 01:20:22 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10120 * java/org/xapian/errors/: Removed wrappers for unused error classes
10121 which have been pruned from C++.
10123 Sun Jun 27 00:57:25 BST 2004 Olly Betts <olly@survex.com>
10125 * java/org/xapian/errors/.cvsignore,
10126 java/org/xapian/examples/.cvsignore: Created.
10128 Fri May 28 14:35:29 BST 2004 James Aylett <james@tartarus.org>
10130 * Add basic documentation and examples to PHP4 bindings.
10132 * For PHP4, rename overloaded methods and constructors.
10134 * Add simple access to the prefixes map in QueryParser.
10136 * Correct simpleindex ports to never generate empty termnames.
10138 Wed May 26 16:18:47 BST 2004 Olly Betts <olly@survex.com>
10140 * configure.in: Require SWIG 1.3.20 or higher.
10142 Wed May 26 14:51:50 BST 2004 Olly Betts <olly@survex.com>
10144 * xapian.i: Removed bogus extra ")".
10146 Wed May 26 04:04:06 BST 2004 Olly Betts <olly@survex.com>
10148 * xapian.i: Fixed the %exception handler to cover all the exceptions
10149 Xapian can throw, not just a subset.
10151 Thu May 20 15:55:36 BST 2004 Richard Boulton <richard@tartarus.org>
10153 * python/docs/: Add examples and documentation to dist (were being
10154 installed, but not added to dist, causing make distcheck, and
10155 dpkg-buildpackage, to fail).
10157 Thu May 20 15:06:54 BST 2004 Richard Boulton <richard@tartarus.org>
10159 * Makefile.am: Add debian packaging files to distribution tarball.
10161 Wed May 19 11:27:42 BST 2004 Olly Betts <olly@survex.com>
10163 * php4/util.i: Make sure that PHP bindings build a module which
10164 exports get_module() so PHP is able to load it.
10166 Thu May 13 17:57:50 BST 2004 Olly Betts <olly@survex.com>
10168 * java/native/WritableDatabase.cc,java/native/org_xapian_XapianJNI.h,
10169 java/org/xapian/WritableDatabase.java,
10170 java/org/xapian/XapianJNI.java: repalce -> replace.
10172 Thu May 13 10:41:29 BST 2004 Olly Betts <olly@survex.com>
10174 * configure.in: Test phpize can actually be run, rather than just that
10175 it's a readable file or directory.
10177 Wed May 12 01:52:44 BST 2004 Richard Boulton <richard@tartarus.org>
10179 * configure.in: Revert "test -x" to "test -n", and change
10180 previously extant "test -x" to "test -r": test -x isn't
10183 Tue May 11 20:04:36 BST 2004 Richard Boulton <richard@tartarus.org>
10185 * configure.in: Use $PYTHON instead of python when running python
10186 to determine and library and include paths and version number.
10187 Also, change tests for non-zeroness of interpreter paths to tests
10188 for existence and executability of interpreter paths: this is
10189 relevant if configure is passed an interpreter path by the user
10190 which doesn't exist (as my debian packaging makefile just did).
10192 Tue May 11 18:06:06 BST 2004 Richard Boulton <richard@tartarus.org>
10194 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10195 tcl8/Makefile.am: Add "-I/usr/include" to the swig line. This is
10196 needed when xapian is installed with a prefix of /usr, since
10197 "xapian-config --cxxflags" assumes that it doesn't need to emit
10198 -I/usr/include in this situation (presumably on the basis that
10199 any sane C compiler will already have that on its path).
10201 Tue Apr 20 03:20:22 BST 2004 Olly Betts <olly@survex.com>
10203 * configure.in: Generate Makefiles for new directories under java/.
10205 Tue Apr 20 02:27:07 BST 2004 Olly Betts <olly@survex.com>
10207 * NEWS: Final update for 0.8.0.
10209 Tue Apr 20 02:22:18 BST 2004 Olly Betts <olly@survex.com>
10211 * java/org/xapian/Makefile.am,java/org/xapian/errors/: Added missing
10212 sources for error classes.
10213 * java/org/xapian/examples/: Added examples of a simple indexer and
10215 * java/README: Added details of how to run the Java examples.
10217 Tue Apr 20 02:14:58 BST 2004 Olly Betts <olly@survex.com>
10219 * python/.cvsignore: Ignore generated file xapian_wrap.h.
10221 Mon Apr 19 19:25:05 BST 2004 Olly Betts <olly@survex.com>
10223 * NEWS,README,configure.in: Version 0.8.0.
10225 Mon Apr 05 22:23:31 BST 2004 Olly Betts <olly@survex.com>
10227 * README: Added details on adding support for recent languages.
10229 Sun Apr 04 18:53:58 BST 2004 Olly Betts <olly@survex.com>
10231 * java/native/Document.cc,java/native/org_xapian_XapianJNI.h,
10232 java/org/xapian/: Applied update from Eric B. Ridge. Added
10233 support for Xapian::Document::add_term() - new name for
10236 Sun Apr 04 18:53:00 BST 2004 Olly Betts <olly@survex.com>
10238 * xapian.i: Added add_term() - new name for add_term_nopos().
10240 Wed Mar 03 19:04:04 GMT 2004 Olly Betts <olly@survex.com>
10242 * configure.in: Only enable python bindings for python 1.5 or later
10243 (since that's what SWIG supports).
10245 Sun Feb 22 04:28:18 GMT 2004 Olly Betts <olly@survex.com>
10247 * configure.in: Changed --disable-LANGUAGE to be --without-LANGUAGE
10248 (fits better with autoconf's intended usages).
10250 Sun Feb 22 02:41:20 GMT 2004 Olly Betts <olly@survex.com>
10252 * configure.in: Added --disable-LANGUAGE options to allow bindings to
10253 be forcibly disabled. Added (disabled) checks for Guile, as it
10254 looks like support will be resurrected soon.
10256 Tue Jan 13 01:50:27 GMT 2004 Olly Betts <olly@survex.com>
10258 * configure.in: Check PHP version is at least 4.0.
10259 * configure.in,tcl8/Makefile.am: Look for tclsh and enable building
10260 tcl bindings if it's at least version 8.0; get lib and include
10261 directories from tclsh and use those for building the bindings.
10263 Mon Jan 12 17:52:39 GMT 2004 Olly Betts <olly@survex.com>
10265 * python/docs/bindings.html: OMMSET_* and OMESET_* -> MSET_* and
10266 ESET_* (in line with recent change to python/util.i). Also
10267 corrected a few typos.
10269 Mon Jan 12 17:49:30 GMT 2004 Olly Betts <olly@survex.com>
10271 * configure.in: Check for jni.h before enabling java bindings.
10273 Tue Jan 6 10:15:00 2004 James Aylett <james@tartarus.org>
10275 * TCL bindings: get them to build (not built automatically)
10277 Thu Jan 1 22:46:51 2004 James Aylett <james@tartarus.org>
10279 * Python bindings: MSet provides a Python iterator
10280 (new target language-specific interface file extra.i
10281 included at end of xapian.i to accommodate this)
10283 Thu Jan 1 22:45:26 2004 James Aylett <james@tartarus.org>
10285 * python/util.i: OMMSET_* and OMESET_* -> MSET_* and ESET_*
10287 Thu Jan 1 22:42:57 2004 James Aylett <james@tartarus.org>
10289 * xapian.i: a couple of Xapian::Query constructors weren't being
10290 wrapped, including one explicitly used in some of my Python
10291 binding examples :-(
10293 Sun Dec 28 16:06:50 2003 James Aylett <james@tartarus.org>
10295 * Python bindings: enable directors for MatchDecider, to allow
10296 subclassing in Python. Add documentation and an example.
10298 * Add a Python example equivalent to simpleexpand in xapian-examples
10300 Mon Dec 08 02:12:09 GMT 2003 Olly Betts <olly@survex.com>
10302 * Makefile.am,configure.in,java/: Initial check-in of Eric B. Ridge's
10303 JNI bindings. Needs more work.
10305 Mon Dec 08 02:11:03 GMT 2003 Olly Betts <olly@survex.com>
10307 * python/docs/.cvsignore,python/docs/examples/.cvsignore: Ignore
10310 Sun Dec 7 13:11:56 BST 2003 James Aylett <james@tartarus.org>
10312 * Added basic documentation, and two examples, for Python bindings
10314 Thu Oct 02 17:34:47 BST 2003 Olly Betts <olly@survex.com>
10316 * configure.in: Version 0.7.4.
10318 Tue Sep 2 17:01:08 BST 2003 James Aylett <james@tartarus.org>
10320 * xapian.i: using namespace std in SWIG parsed segment to sort out
10323 Fri Aug 08 21:36:20 BST 2003 Olly Betts <olly@survex.com>
10325 * configure.in: Version 0.7.3.
10327 Fri Aug 8 12:26:45 BST 2003 Richard Boulton <richard@tartarus.org>
10329 * configure.in: Check for absence of SWIG, and report error more
10332 Sat Jul 26 21:04:06 BST 2003 Olly Betts <olly@survex.com>
10334 * php4/Makefile.am: lib omqueryparser is now xapianqueryparser.
10335 * python/Makefile.am: XAPIAN_LIBS now includes -lxapianqueryparser.
10337 Sat Jul 26 18:33:42 BST 2003 Olly Betts <olly@survex.com>
10339 * configure.in: Converted to use XO_LIB_XAPIAN.
10341 Fri Jul 25 11:02:43 2003 James Aylett <james@tartarus.org>
10343 * {tcl8,guile}/util.i: convert typemaps to SWIG 1.3 style
10345 Fri Jul 25 11:01:15 2003 James Aylett <james@tartarus.org>
10347 * python/Makefile.am: add -lomqueryparser to complete link
10349 Tue Jul 15 13:50:25 2003 James Aylett <james@tartarus.org>
10351 * [langdir]/Makefile.am: use -I$(srcdir) not -I. so VPATH
10354 Fri Jul 11 15:10:27 BST 2003 Olly Betts <olly@survex.com>
10356 * configure.in: Version 0.7.2.
10358 Fri Jul 11 14:53:35 BST 2003 Olly Betts <olly@survex.com>
10360 * Makefile.am,configure.in: Include code for partly done guile and
10361 tcl8 bindings in the distribution - it may inspire somebody to
10363 * guile/Makefile.am,tcl8/Makefile.am: Removed -shadow from swig
10365 * php4/Makefile.am: Fixed not to build subproject every time.
10367 Fri Jul 11 14:42:42 BST 2003 Olly Betts <olly@survex.com>
10369 * configure.in: Added check for location of Xapian installation.
10370 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10371 tcl8/Makefile.am: Added -I for Xapian.
10373 Fri Jul 11 14:27:04 BST 2003 Olly Betts <olly@survex.com>
10375 * Moved bindings out of xapian-core into their own module.