1 This ChangeLog file is no longer maintained - see the git repo history for
2 more recent changes: https://xapian.org/bleeding
4 Sat Sep 26 06:19:22 GMT 2015 Olly Betts <olly@survex.com>
6 * php/docs/examples/simpleexpand.php5,
7 php/docs/examples/simplematchdecider.php5,
8 php/docs/examples/simplesearch.php5: When iterating an MSet with
9 foreach, don't throw the docid away as $dummy, put it in $docid
10 and use it - the code looks cleaner, and this avoids a call to C++
11 to get the docid on each iteration.
13 Sat Sep 26 06:17:08 GMT 2015 Olly Betts <olly@survex.com>
15 * HACKING,README,configure.ac,php/docs/index.rst,php/smoketest.php:
16 Make PHP 5.5 the minimum officially supported version, as 5.4 has
19 Sat Sep 26 03:46:57 GMT 2015 Olly Betts <olly@survex.com>
21 * xapian-headers.i: Update for addition of XAPIAN_DOCID_BASE_TYPE and
22 XAPIAN_TERMCOUNT_BASE_TYPE.
24 Fri Jun 05 12:42:41 GMT 2015 Olly Betts <olly@survex.com>
26 * xapian-headers.i: Update for optional reference counting of
29 Mon Jun 01 13:14:40 GMT 2015 Olly Betts <olly@survex.com>
31 * NEWS,configure.ac: Update for 1.3.3.
33 Mon Jun 01 11:52:12 GMT 2015 Olly Betts <olly@survex.com>
37 Fri May 29 07:31:12 GMT 2015 Olly Betts <olly@survex.com>
39 * python/smoketest.py: Add new testcase to catch any internal
40 functions, methods, constants, etc which have accidentally been
43 Fri May 29 07:30:20 GMT 2015 Olly Betts <olly@survex.com>
45 * xapian-headers.i: Ignore new internal sortable_serialise_()
48 Fri May 29 07:25:17 GMT 2015 Olly Betts <olly@survex.com>
50 * xapian-headers.i: Ignore internal methods of Xapian::Weight.
52 Wed May 27 03:07:15 GMT 2015 Olly Betts <olly@survex.com>
56 Tue May 26 23:17:09 GMT 2015 Olly Betts <olly@survex.com>
58 * NEWS: Credit people for the #616-related improvements in 1.3.2.
60 Mon May 25 10:03:24 GMT 2015 Olly Betts <olly@survex.com>
62 * python/Makefile.am,python3/Makefile.am: SWIG now automatically
63 makes xapian.Error a subclass of the Python Exception class, so
64 drop our post-processing tweak to add this in.
66 Mon May 25 09:58:30 GMT 2015 Olly Betts <olly@survex.com>
68 * python/Makefile.am,python3/Makefile.am: Eliminate 'modern'
69 subdirectory - we haven't generated a non-modern variant of the
70 python bindings for ages.
72 Mon May 25 05:59:49 GMT 2015 Olly Betts <olly@survex.com>
74 * python/Makefile.am,python3/Makefile.am: Fix Makefile comment typo.
76 Sun May 24 13:07:47 GMT 2015 Olly Betts <olly@survex.com>
78 * configure.ac: Fix configure test for whether $CLI can run CSharp
79 programs - previously it would always fail, which would mean that
80 the CSharp tests wouldn't be run if CSharp programs can't be run
83 Fri May 22 06:13:49 GMT 2015 Olly Betts <olly@survex.com>
87 Fri May 22 04:48:35 GMT 2015 Olly Betts <olly@survex.com>
89 * NEWS.SKELETON: Add "Python3" section.
91 Thu May 21 04:37:31 GMT 2015 Olly Betts <olly@survex.com>
93 * README,configure.ac: Require Tcl 8.5 as older versions are no longer
94 supported upstream, and this version added ::tcl::pkgconfig, which
95 makes the configure tests simpler and more reliable.
97 Tue May 19 05:45:48 GMT 2015 Olly Betts <olly@survex.com>
99 * perl/t/symbol-test.t: If the symboltest module build fails, skip the
100 test - it's likely due to external reasons, like incompatible
101 compiler flags being taken from Perl's Config module, due to Perl
102 having been built with a different compiler to Xapian.
104 Fri May 15 11:31:59 GMT 2015 Olly Betts <olly@survex.com>
106 * perl/perl.i: Just call the existing Perl Xapian::inmemory_open()
107 function rather than defining and wrapping an inline C++
108 new3_WritableDatabase() function which calls InMemory::open().
110 Fri May 15 06:49:50 GMT 2015 Olly Betts <olly@survex.com>
112 * perl/util.i.in: Add a "LICENSE" section to the main POD.
114 Fri May 15 04:50:28 GMT 2015 Olly Betts <olly@survex.com>
116 * python3/pythontest.py: Expand comment about disabling
117 test_import_star under threads.
119 Thu May 14 13:50:24 GMT 2015 Olly Betts <olly@survex.com>
121 * README: Remove the experimental markers from Lua and Python3,
122 and the note welcoming patches for Python 3.1.x support (since
123 Python 3.1.x was EOL-ed 3 years ago).
125 Tue May 12 07:39:04 GMT 2015 Olly Betts <olly@survex.com>
127 * configure.ac: Fix typo.
129 Mon May 11 06:55:32 GMT 2015 Olly Betts <olly@survex.com>
131 * doxygen_xml.conf.in,xapian-head.i: Update for addition of
134 Sun May 10 13:27:23 GMT 2015 Olly Betts <olly@survex.com>
136 * xapian-headers.i: Update for optional reference counting of
139 Sun May 10 11:21:55 GMT 2015 Olly Betts <olly@survex.com>
141 * xapian-headers.i: Update for optional reference counting of
144 Fri May 08 11:01:03 GMT 2015 Olly Betts <olly@survex.com>
146 * perl/t/: Add 'use strict' to all testcases.
148 Fri May 08 11:00:14 GMT 2015 Olly Betts <olly@survex.com>
150 * perl/t/document.t,perl/t/writabledatabase.t: Add missing 'my'.
152 Fri May 08 10:55:32 GMT 2015 Olly Betts <olly@survex.com>
154 * perl/perl.i: Wrap missing constants.
156 Fri May 08 10:54:51 GMT 2015 Olly Betts <olly@survex.com>
158 * perl/perl.i,perl/t/parser.t: Wrap WILDCARD_LIMIT_* constants as
161 Fri May 08 10:48:20 GMT 2015 Olly Betts <olly@survex.com>
163 * perl/t/parser.t: Update to use Test::More.
165 Fri May 08 09:56:52 GMT 2015 Olly Betts <olly@survex.com>
167 * perl/perl.i: Remove duplicate %constant for OP_WILDCARD.
169 Tue May 05 04:56:25 GMT 2015 Olly Betts <olly@survex.com>
171 * python/pythontest.py,python3/pythontest.py: Fix typo in test context
172 ("multipler" -> "multiplier").
174 Tue May 05 04:09:24 GMT 2015 Olly Betts <olly@survex.com>
176 * perl/Makefile.am,perl/t/collapse.t: Add test coverage for
177 Enquire::set_collapse_key() with 1 and 2 parameters.
179 Fri May 01 12:16:29 GMT 2015 Olly Betts <olly@survex.com>
181 * configure.ac: Update check for -fvisibility to match xapian-core's.
183 Fri May 01 12:15:28 GMT 2015 Olly Betts <olly@survex.com>
185 * configure.ac: Simplify test of Ruby version.
187 Fri May 01 12:14:31 GMT 2015 Olly Betts <olly@survex.com>
189 * INSTALL: IRIX is past EOL so drop information about IRIX make.
191 Fri May 01 12:05:53 GMT 2015 Olly Betts <olly@survex.com>
193 * perl/perl.i: Add workaround for Perl defining a seed() macro which
194 breaks '#include <algorithm>' undef C++11 with GCC.
196 Fri May 01 11:04:33 GMT 2015 Olly Betts <olly@survex.com>
198 * configure.ac,m4/ax_cxx_compile_stdcxx_11.m4: Require a C++11
201 Fri Apr 24 03:26:10 GMT 2015 Olly Betts <olly@survex.com>
203 * xapian-headers.i: Don't wrap Query::LEAF_* - they're for internal
205 * python/smoketest.py: Add test_internal_enums_not_wrapped to check
206 that xapian.Query has no attributes starting with "LEAF_".
208 Mon Apr 13 06:22:15 GMT 2015 Olly Betts <olly@survex.com>
210 * tcl8/tcl.i: Adjust precedence of the typecheck typemap for wrapping
211 constructing a query from a Tcl list so that we disambiguate this
212 from the new OP_WILDCARD constructor correctly.
214 Thu Apr 09 21:47:28 GMT 2015 Olly Betts <olly@survex.com>
216 * ruby/Makefile.am: Ship generate-rdoc-stubs in the tarball. Reported
217 by Matthias Klose in https://bugs.debian.org/782270
219 Fri Mar 13 10:33:47 GMT 2015 Olly Betts <olly@survex.com>
221 * python/Makefile.am,python3/Makefile.am: Fix 'make install' when
222 building from git with --disable-documentation. Fix to handle a
223 VPATH build from a tarball when the generated docs will be in
226 Fri Mar 13 05:28:28 GMT 2015 Olly Betts <olly@survex.com>
228 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
229 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Fix "make
230 install" from a git tree configured with --disable-documentation.
231 (Fixes #658, reported by German M. Bravo)
233 Tue Mar 03 04:04:36 GMT 2015 Olly Betts <olly@survex.com>
235 * java/docs/examples/SimpleSearch.java: getPercent() returns an
238 Tue Mar 03 04:01:46 GMT 2015 Ashley <ashley@eclipso.ch>
240 * java/docs/examples/SimpleSearch.java: Fix build and update example.
242 Fri Feb 13 13:10:11 GMT 2015 Olly Betts <olly@survex.com>
244 * python/smoketest.py,python3/smoketest.py: Update testcases for lazy
245 wildcard expansion change in xapian-core.
247 Wed Jan 07 04:00:24 GMT 2015 Olly Betts <olly@survex.com>
249 * configure.ac: Don't AC_SUBST LUA_INC as we never use it.
251 Thu Dec 18 00:30:06 GMT 2014 Olly Betts <olly@survex.com>
253 * python/python.i: Don't release the GIL when using
254 XapianSWIGQueryItor as it uses Python C API calls.
256 Thu Dec 18 00:19:56 GMT 2014 Olly Betts <olly@survex.com>
258 * python3/pythontest.py: Actually reenable the test case which was
259 failing before the previous commit fixed the underlying problem.
261 Thu Dec 18 00:18:07 GMT 2014 Olly Betts <olly@survex.com>
263 * python3/python.i: Don't release the GIL when using
264 XapianSWIGQueryItor as it uses Python C API calls. (fixes #346)
266 Wed Dec 17 23:01:35 GMT 2014 Olly Betts <olly@survex.com>
268 * python/generate-python-exceptions,
269 python3/generate-python-exceptions: Remove comment which is no
270 longer correct since #538 was fixed 4.5 years ago.
272 Mon Dec 15 00:10:42 GMT 2014 Olly Betts <olly@survex.com>
274 * xapian-headers.i: Add DB_RETRY_LOCK as a constant to wrap.
276 Fri Dec 05 11:26:16 GMT 2014 Olly Betts <olly@survex.com>
278 * ChangeLog,configure.ac: Fix typos reported by Veres Lajos.
280 Fri Dec 05 11:20:17 GMT 2014 Olly Betts <olly@survex.com>
282 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags
285 Sun Nov 30 22:00:58 GMT 2014 Olly Betts <olly@survex.com>
287 * configure.ac: Add an example of specifying LUA_SO to --help output.
289 Sun Nov 30 21:49:48 GMT 2014 Olly Betts <olly@survex.com>
291 * configure.ac: Rework LUA_SO checks to be clearer and to properly
292 handle LUA_SO being specified without a leading '.'.
294 Sun Nov 30 15:46:08 GMT 2014 James Aylett <james@tartarus.org>
296 * configure.ac: use \{0,1\} instead of \? for better sed
299 Mon Nov 24 19:58:34 GMT 2014 Olly Betts <olly@survex.com>
301 * NEWS,configure.ac: Update for 1.3.2.
303 Mon Nov 24 10:45:30 GMT 2014 Olly Betts <olly@survex.com>
305 * configure.ac: Update comment about MACOSX_DEPLOYMENT_TARGET -
306 OS X 10.2 is long obsolete now.
308 Sun Nov 23 23:57:02 GMT 2014 Olly Betts <olly@survex.com>
310 * NEWS,csharp/Makefile.am,csharp/docs/index.rst,fake_dbfactory.i,
311 java/Makefile.am,lua/docs/index.rst,php/docs/index.rst,
312 python/docs/introduction.rst,python/smoketest.py,
313 python3/docs/introduction.rst,python3/smoketest.py,
314 ruby/docs/index.rst,tcl8/docs/index.rst,xapian-head.i,
315 xapian-headers.i: Update for renaming of 'brass' backend to 'glass'.
317 Sun Nov 23 05:14:03 GMT 2014 Olly Betts <olly@survex.com>
319 * python/docs/introduction.rst: Fix typo.
321 Sun Nov 09 22:48:08 GMT 2014 Olly Betts <olly@survex.com>
325 Tue Nov 04 20:38:38 GMT 2014 Olly Betts <olly@survex.com>
327 * php/docs/index.rst: Note that PHP < 5.4 are now out of security
330 Tue Nov 04 04:38:06 GMT 2014 Olly Betts <olly@survex.com>
332 * php/smoketest.php: Iterating foreach ($it as $k => $c) doesn't work
333 unless $k is a string or integer in PHP < 5.5, so test the old way
334 under older versions.
336 Tue Nov 04 04:25:57 GMT 2014 Olly Betts <olly@survex.com>
338 * php/smoketest.php: Remove disabling of subclassing tests for PHP
341 Mon Nov 03 22:11:19 GMT 2014 Olly Betts <olly@survex.com>
343 * INSTALL,php/docs/index.rst: In current PHP releases, dl() will only
344 look in the configured extension directory, and only accepts a
345 leafname, and dl() is disabled in most SAPIs, so update the
346 documentation about how to install the PHP bindings without being
347 root. Fixes #661, reported by Felix Ostmann.
349 Sun Nov 02 20:51:03 GMT 2014 Olly Betts <olly@survex.com>
351 * NEWS: Update for 1.2.19 release.
353 Fri Oct 24 23:06:25 GMT 2014 Gaurav Arora <gauravarora.daiict@gmail.com>
355 * csharp/Makefile.am,java/Makefile.am: Update for addition of LMWeight
358 Mon Oct 20 00:53:59 GMT 2014 Olly Betts <olly@survex.com>
360 * .gitignore,csharp/.gitignore,java/.gitignore,lua/.gitignore,
361 perl/.gitignore,php/.gitignore,python/.gitignore,python3/.gitignore,
362 python3/docs/.gitignore,ruby/.gitignore,tcl8/.gitignore: Update to
363 ignore new generated files.
365 Sun Oct 19 09:40:09 GMT 2014 Olly Betts <olly@survex.com>
367 * README: Note that Ruby 2.1 works too.
369 Mon Oct 13 11:41:18 GMT 2014 Olly Betts <olly@survex.com>
373 Fri Oct 10 11:43:55 GMT 2014 Olly Betts <olly@survex.com>
375 * php/add-php-ref-handling: Be careful to pick up just the parameter
376 name and not any default value. (Fixes #659, reported by jmienert)
377 * php/smoketest.php: Add regression test.
379 Thu Sep 18 02:23:53 GMT 2014 Olly Betts <olly@survex.com>
381 * python3/: Remove executable bits from a number of files which
384 Thu Sep 18 02:19:54 GMT 2014 Olly Betts <olly@survex.com>
386 * python3/extra.i: Fix typo in code to keep a reference to a
387 FieldProcessor object, reported by Germán M. Bravo in github PR59.
388 * python3/smoketest.py: Add regression test.
390 Thu Sep 18 02:12:47 GMT 2014 Olly Betts <olly@survex.com>
392 * python/extra.i: Fix typo in code to keep a reference to a
393 FieldProcessor object, reported by Germán M. Bravo in github PR59.
394 * python/smoketest.py: Add regression test.
396 Thu Sep 18 01:53:02 GMT 2014 Olly Betts <olly@survex.com>
398 * java/java.i: Update to use the new Xapian::iterator_valid() API.
400 Fri Sep 12 16:21:34 GMT 2014 Olly Betts <olly@survex.com>
402 * php/docs/index.rst: Align entries in tables in ReST source.
404 Fri Sep 12 16:19:55 GMT 2014 Olly Betts <olly@survex.com>
406 * php/docs/examples/simpleexpand.php5,
407 php/docs/examples/simplematchdecider.php5,
408 php/docs/examples/simplesearch.php5,php/docs/index.rst,php/php.i,
409 php/smoketest.php: Wrap Xapian iterator classes as PHP iterators.
412 Fri Sep 12 13:40:48 GMT 2014 Olly Betts <olly@survex.com>
414 * xapian-headers.i: Ignore new iterator API (which we see via friend
417 Fri Sep 12 13:35:25 GMT 2014 Olly Betts <olly@survex.com>
419 * HACKING,README,php/docs/index.rst: Make PHP 5.4 the minimum
420 officially supported version, as 5.3 has now reached EOL.
422 Thu Sep 11 17:02:10 GMT 2014 Olly Betts <olly@survex.com>
424 * php/smoketest.php: Add regression test for throwing an exception from
425 a PHP implementation of FieldProcessor::apply(), fixed by newer SWIG.
427 Thu Sep 11 16:59:14 GMT 2014 Olly Betts <olly@survex.com>
429 * configure.ac: Fix SWIG version check to not fail on 3.* by making the
430 pattern match all older versions rather than some newer ones, and
431 update the minimum checked for to be what we actually currently want
432 - it was 1.3.40 which is 5 years old!
434 Wed Sep 03 19:15:34 GMT 2014 Olly Betts <olly@survex.com>
436 * xapian-head.i,xapian-headers.i: Define XAPIAN_IN_XAPIAN_H rather
437 than XAPIAN_LIB_BUILD to avoid the direct subheader inclusion
440 Fri Aug 29 21:36:39 GMT 2014 Olly Betts <olly@survex.com>
442 * xapian-headers.i: Add DBCHECK_SHOW_FREELIST as a constant to wrap.
444 Thu Aug 21 08:53:48 GMT 2014 Olly Betts <olly@survex.com>
446 * xapian-headers.i: Add DB_FULL_SYNC as a constant to wrap.
448 Tue Aug 05 12:46:08 GMT 2014 Olly Betts <olly@survex.com>
452 Fri Aug 01 06:34:31 GMT 2014 Olly Betts <olly@survex.com>
454 * configure.ac: Enable automake option 'subdir-objects' as (a) this
455 avoids a warning with newer automake and (b) it better to put the
456 objects alongside the source in this case anyway (less cluttered,
457 and the objects and generated sources will both get cleaned up
458 if the directory is removed).
460 Wed Jul 30 04:03:09 GMT 2014 Olly Betts <olly@survex.com>
462 * perl/Makefile.am,php/Makefile.am: Restore explicit dependencies of
463 except.i - they are needed so that except.i gets generated before
464 the automatically generated dependency information is available.
466 Tue Jul 22 01:04:29 GMT 2014 Olly Betts <olly@survex.com>
468 * php/Makefile.am: Add add-php-ref-handling script as a dependency of
469 the stamp file, so we regenerate if this script changes.
471 Tue Jul 22 01:02:48 GMT 2014 Olly Betts <olly@survex.com>
473 * perl/Makefile.am,php/Makefile.am: Remove unnecessary explicit
474 dependencies on except.i, as swig-depcomp finds this automatically.
476 Tue Jul 22 01:02:04 GMT 2014 Olly Betts <olly@survex.com>
478 * csharp/Makefile.am: Fix to generate dependencies for stamp file
481 Tue Jul 22 01:01:33 GMT 2014 Olly Betts <olly@survex.com>
483 * csharp/Makefile.am: Update for Snipper wrapping.
485 Mon Jul 21 23:50:00 GMT 2014 Mihai Bivol <mm.bivol@gmail.com>
487 * java/Makefile.am,xapian-headers.i: Add Snipper in xapian bindings.
489 Wed Jul 09 01:14:43 GMT 2014 Olly Betts <olly@survex.com>
491 * python/Makefile.am,python3/Makefile.am: Fix "make dist" to include
492 the sphinx-generated docs when DOCUMENTATION_RULES=0.
494 Tue Jul 08 13:33:01 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: Fix "make dist" when
498 DOCUMENTATION_RULES is off but generated index.html files exist.
500 Mon Jun 30 04:11:46 GMT 2014 Olly Betts <olly@survex.com>
502 * python/smoketest.py: Fix typo in SimpleStopper with file testcase.
504 Mon Jun 30 02:18:04 GMT 2014 Olly Betts <olly@survex.com>
506 * python/pythontest.py,python3/pythontest.py: Add a comment to explain
507 why the PostingSource is in a list in the "postingsource" testcase,
508 and add a term to the list to make it a less artificial test.
510 Sat Jun 28 11:15:47 GMT 2014 Olly Betts <olly@survex.com>
512 * Makefile.am,shortstop.list: Add and distribute new data file
513 'shortstop.list', needed for new SimpleStopper ctor testcase.
515 Sat Jun 28 09:34:15 GMT 2014 Olly Betts <olly@survex.com>
517 * xapian-head.i,xapian-headers.i: Provide a SimpleStopper constructor
518 which provides the ability to initialise from a stopword list in a
519 file. Based on patch from Assem Chelli.
520 * python/smoketest.py: Add testcoverage for this new wrapping.
522 Mon Jun 23 02:49:37 GMT 2014 Olly Betts <olly@survex.com>
524 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
525 ruby/Makefile.am,tcl8/Makefile.am: Don't guard installation of
526 index.html generated from RST by "if DOCUMENTATION_RULES".
528 Mon Jun 23 02:23:40 GMT 2014 Olly Betts <olly@survex.com>
530 * configure.ac: Add hints for which package to install for rst2html
531 and sphinx-build (the latter is particularly useful, as there are at
532 least 3 different open source projects using the name "sphinx").
534 Mon Jun 23 00:56:02 GMT 2014 Olly Betts <olly@survex.com>
536 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
537 php/Makefile.am,python/Makefile.am,python3/Makefile.am,
538 ruby/Makefile.am,tcl8/Makefile.am: Use $(MKDIR_P).
540 Mon Jun 23 00:55:14 GMT 2014 Olly Betts <olly@survex.com>
542 * configure.ac: Use AS_MKDIR_P instead of test -d || mkdir.
544 Sun Jun 22 13:47:03 GMT 2014 Olly Betts <olly@survex.com>
548 Sat Jun 21 01:29:37 GMT 2014 Olly Betts <olly@survex.com>
550 * perl/Xapian/RSet.pm: Fix duplicate "1;" at end of module.
552 Sat Jun 21 01:27:55 GMT 2014 Olly Betts <olly@survex.com>
554 * perl/Xapian/,perl/docs/examples/,perl/generate-perl-exceptions,
555 perl/perl.i,perl/t/databasemodified.t,perl/t/search.t,
556 perl/t/writabledatabase.t,perl/util.i.in: Whitespace clean-up.
558 Sat Jun 21 01:00:59 GMT 2014 Olly Betts <olly@survex.com>
560 * HACKING,README,perl/Makefile.am,perl/Search/Xapian/,perl/Xapian/,
561 perl/docs/examples/,perl/generate-perl-exceptions,perl/perl.i,
562 perl/t/,perl/util.i.in,xapian-bindings.spec.in: Move the new
563 SWIG-based Perl bindings into a 'Xapian' module, to smooth the
564 overlap with the hand-coded XS 'Search::Xapian' module.
566 Fri Jun 20 23:25:33 GMT 2014 Olly Betts <olly@survex.com>
568 * python/docs/examples/simpleindex.py: Eliminate needless differences
569 with the python3 version - drop a duplicate blank line, and prefer
570 "line = line.strip()" to "line = string.strip(line)".
572 Fri Jun 20 12:51:35 GMT 2014 Olly Betts <olly@survex.com>
574 * python3/docs/examples/simpleexpand.py,
575 python3/docs/examples/simpleindex.py: Fix Python3 examples to
576 actually work. (see #346)
578 Fri Jun 20 06:14:05 GMT 2014 Olly Betts <olly@survex.com>
580 * perl/Search/Xapian/MultiValueSorter.pm: Fix documentation comment
581 typo ("foward" -> "forward").
583 Mon Jun 16 13:01:39 GMT 2014 Olly Betts <olly@survex.com>
585 * configure.ac: List the python-related files in AC_CONFIG_FILES
588 Mon Jun 16 13:01:14 GMT 2014 Olly Betts <olly@survex.com>
590 * configure.ac,python/docs/examples.rst,python/docs/index.rst,
591 python/docs/xapian.rst,python3/docs/examples.rst,
592 python3/docs/index.rst,python3/docs/xapian.rst: Whitespace tweaks.
594 Mon Jun 16 12:54:14 GMT 2014 Olly Betts <olly@survex.com>
596 * python/Makefile.am,python3/Makefile.am: Remove echo statements from
597 rules which report the rule ran successfully - we don't have these
600 Mon Jun 16 12:38:54 GMT 2014 Olly Betts <olly@survex.com>
602 * python3/docs/index.rst,python3/docs/introduction.rst,
603 python3/docs/introduction3.rst: Resolve inconsistencies in what we
604 think the introduction for Python 3 is called, fixing a build error
607 Mon Jun 16 12:33:39 GMT 2014 Assem Chelli <assem.ch@gmail.com>
609 * configure.ac,python/Makefile.am,python/docs/,python3/Makefile.am,
610 python3/docs/: Generate Python API docs with Sphinx. (Fixes #138)
612 Thu May 01 00:28:43 GMT 2014 Olly Betts <olly@survex.com>
614 * php/smoketest.php: Add tests of get_eset() with an ExpandDecider and
615 with a min weight threshold.
617 Sun Apr 06 19:40:12 GMT 2014 James Aylett <james@tartarus.org>
619 * perl/Makefile.am: Perl tests are ordering-dependent, so
620 use .NOTPARALLEL to avoid problems during parallel builds.
622 Sun Mar 30 22:57:50 GMT 2014 Anish Kanchan <anishgkanchan@gmail.com>
624 * java/SmokeTest.java: Add testcase that FLAG_SPELLING is now wrapped
625 in a usable way. (see #616)
627 Sun Mar 30 22:06:54 GMT 2014 Olly Betts <olly@survex.com>
629 * lua/docs/index.rst: Note that constants can now be accessed using
630 CLASS.CONSTANT as well as CLASS_CONSTANT.
632 Sun Mar 30 22:04:43 GMT 2014 Olly Betts <olly@survex.com>
634 * lua/docs/index.rst: RST source formatting tweak.
636 Thu Mar 27 23:02:39 GMT 2014 Olly Betts <olly@survex.com>
638 * lua/smoketest.lua: Whitespace tweak.
640 Thu Mar 27 23:00:56 GMT 2014 Olly Betts <olly@survex.com>
642 * lua/smoketest.lua: Change expect() parameter order to the more
643 natural (got, expected), which most of the calls already used,
644 and fix up the few calls which passed (expected, got).
646 Thu Mar 27 10:45:27 GMT 2014 Olly Betts <olly@survex.com>
648 * python/Makefile.am,python3/Makefile.am: Pass
649 -DSWIG_PYTHON_LEGACY_BOOL to SWIG to revert strict bool typemap to
650 the more Pythonic older typemap.
652 Thu Mar 27 07:21:08 GMT 2014 Olly Betts <olly@survex.com>
654 * configure.ac: Don't report Python version twice if it's too new or
657 Mon Mar 10 11:17:12 GMT 2014 Olly Betts <olly@survex.com>
659 * README: Add links to Erlang and Node.js bindings.
661 Mon Mar 10 02:35:19 GMT 2014 Olly Betts <olly@survex.com>
663 * csharp/docs/index.rst,lua/docs/index.rst,php/docs/index.rst,
664 python/docs/index.rst,ruby/docs/index.rst,tcl8/docs/index.rst:
665 Remove use of "$Date" as it's not expanded by git, and the "last
666 updated" information isn't all that informative anyway - there can
667 still be stale information even if the file was updated very
670 Mon Mar 10 02:27:52 GMT 2014 Olly Betts <olly@survex.com>
672 * ruby/Makefile.am: Fix to build Ruby docs from reStructured text,
673 which I somehow failed to apply from Mayank's patch.
675 Sun Mar 09 10:14:38 GMT 2014 Mayank Chaudhary <mayankchaudhary.iitr@gmail.com>
677 * csharp/Makefile.am,csharp/docs/index.html,csharp/docs/index.rst,
678 java/Makefile.am,java/docs/index.html,java/docs/index.rst,
679 lua/Makefile.am,lua/docs/index.html,lua/docs/index.rst,
680 php/Makefile.am,php/docs/index.html,php/docs/index.rst,
681 python/Makefile.am,python/docs/index.html,python/docs/index.rst,
682 ruby/docs/index.html,ruby/docs/index.rst,tcl8/Makefile.am,
683 tcl8/docs/index.html,tcl8/docs/index.rst: Convert HTML docs to
686 Sun Feb 23 22:06:31 GMT 2014 Olly Betts <olly@survex.com>
688 * configure.ac: Remove unnecessary m4 quoting.
690 Fri Feb 21 07:26:26 GMT 2014 Olly Betts <olly@survex.com>
692 * configure.ac: Fix Ruby bindings to build on Windows (and other
693 platforms where allow_undefined_flag=unsupported. (fixes#634)
695 Mon Feb 17 05:02:47 GMT 2014 Olly Betts <olly@survex.com>
697 * README: Note that C# bindings now need .NET 2 or later (because
698 that's what SWIG-generated code now requires).
700 Mon Feb 17 04:16:07 GMT 2014 Olly Betts <olly@survex.com>
702 * php/smoketest.php: Add missing "exit(1);" after check that
703 MatchDecider returns an MSet with the expected docid in.
705 Sun Feb 16 05:51:00 GMT 2014 Olly Betts <olly@survex.com>
707 * python3/python.i: Update (no longer recognised)
708 XAPIAN_BINDINGS_SKIP_BRASS_AND_CHERT_FACTORIES to
709 XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES so deprecated db
710 factories aren't wrapped.
711 * python3/smoketest.py: Update testcases to test factories which
712 shouldn't be wrapped aren't, and that the replacements work.
714 Wed Jan 29 04:01:36 GMT 2014 Olly Betts <olly@survex.com>
716 * python3/Makefile.am,python3/run-python-test: Pass Python 3
717 interpreter as PYTHON3 not PYTHON, and default to python3 if not
720 Fri Jan 10 09:00:05 GMT 2014 Olly Betts <olly@survex.com>
722 * xapian-headers.i: Update for xapian-core Database::check() optional
725 Thu Jan 09 03:34:17 GMT 2014 Olly Betts <olly@survex.com>
727 * python/pythontest.py,python3/pythontest.py,xapian-head.i,
728 xapian-headers.i: Wrap Xapian::Database::check() for the bindings
729 with arguments (path, opts = 0), and if opts != 0, send output to
732 Mon Jan 06 12:10:08 GMT 2014 Olly Betts <olly@survex.com>
734 * python/pythontest.py,python3/pythontest.py: When testing
735 valuestreams, just use the xapian.WritableDatabase constructor
736 rather than chert_open() - that code dates back to when chert was
737 the only disk-based backend to support valuestreams, and it wasn't
740 Wed Jan 01 04:22:36 GMT 2014 Olly Betts <olly@survex.com>
742 * python3/Makefile.am: Fix handling of DOCUMENTATION_RULES.
744 Wed Dec 25 20:30:49 GMT 2013 Olly Betts <olly@survex.com>
746 * configure.ac: Quote $PYTHON, etc in backward compatibility code.
748 Wed Dec 25 06:29:07 GMT 2013 Olly Betts <olly@survex.com>
750 * configure.ac: Fix some issues with the previous change, so it works
753 Tue Dec 24 21:26:27 GMT 2013 Olly Betts <olly@survex.com>
755 * python3/Makefile.am: Use PYTHON to run doxy2swig, as that's reliably
756 set when we're in maintainer mode.
758 Tue Dec 24 21:21:17 GMT 2013 Olly Betts <olly@survex.com>
760 * Makefile.am,configure.ac,python/Makefile.am: Rename the variables
761 used for the python2 bindings to begin PYTHON2 instead of PYTHON.
762 Try python2 before python when looking for an interpreter for the
763 python2 bindings, as some distros now point /usr/bin/python at
766 Sat Dec 21 01:06:19 GMT 2013 Olly Betts <olly@survex.com>
768 * python3/smoketest.py: Add parentheses around print arguments.
770 Fri Dec 20 03:50:50 GMT 2013 Olly Betts <olly@survex.com>
772 * xapian-headers.i: Update for addition of Xapian::DB_NO_TERMLIST.
774 Fri Dec 20 00:22:02 GMT 2013 Olly Betts <olly@survex.com>
776 * csharp/docs/index.html,lua/docs/index.html,php/docs/index.html,
777 php/smoketest.php,python/docs/index.html,python3/docs/index.rst,
778 xapian-headers.i: Update for addition of Xapian::DB_BACKEND_STUB
779 and deprecationg of Xapian::Auto::open_stub().
781 Thu Dec 19 09:48:04 GMT 2013 Olly Betts <olly@survex.com>
783 * NEWS: Update from 1.2.16 and ChangeLog.
785 Thu Dec 19 06:45:17 GMT 2013 Olly Betts <olly@survex.com>
787 * csharp/docs/index.html,lua/docs/index.html,perl/perl.i,
788 php/docs/index.html,python/docs/index.html,python3/docs/index.rst,
789 python3/python.i,ruby/docs/index.html,tcl8/docs/index.html,
790 xapian-head.i,xapian-headers.i: Update for deprecation of
791 Xapian::Brass::open() and Xapian::Chert::open().
793 Thu Dec 19 02:26:03 GMT 2013 Olly Betts <olly@survex.com>
795 * xapian-headers.i: Update for new Xapian::DB_* constants.
797 Thu Dec 19 02:17:15 GMT 2013 Olly Betts <olly@survex.com>
799 * python3/docs/index.rst: Wording tweaks.
801 Thu Dec 19 02:15:09 GMT 2013 Olly Betts <olly@survex.com>
803 * python/smoketest.py,python3/smoketest.py: If constants weren't
804 handled in xapian-headers.i with the CONSTANT() macro, we ended up
805 with xapian.cvar being created, and an obscure error from
806 smoketest.py. Now we report what the variables are in the
809 Wed Dec 18 23:10:53 GMT 2013 Olly Betts <olly@survex.com>
811 * xapian-headers.i: Update for addition of xapian/constants.h.
813 Fri Dec 06 05:29:53 GMT 2013 Olly Betts <olly@survex.com>
815 * configure.ac: Link against -ltclstubX.Y for Tcl 8.5 and later
816 (reported by Sergei Golovan in http://bugs.debian.org/724830).
817 Also, use a better check for TCL_INC for Tcl 8.5 and later.
819 Fri Dec 06 03:31:50 GMT 2013 Olly Betts <olly@survex.com>
821 * README,configure.ac: Tweak configure to work with Ruby 2.0.
823 Tue Dec 03 07:38:49 GMT 2013 Olly Betts <olly@survex.com>
825 * configure.ac: Sync link_all_deplibs_CXX check with xapian-core.
827 Fri Nov 08 10:32:13 GMT 2013 Olly Betts <olly@survex.com>
829 * configure.ac: Remove duplicate check for thread-local storage
832 Tue Oct 22 05:52:54 GMT 2013 Olly Betts <olly@survex.com>
834 * python3/Makefile.am: Make sure docs subdirectory exists in builddir
835 before running $(RST2HTML) to fix build when srcdir != builddir.
837 Mon Oct 14 09:59:27 GMT 2013 Olly Betts <olly@survex.com>
839 * ruby/generate-rdoc-stubs: Skip internal classes.
841 Fri Oct 11 08:29:23 GMT 2013 Olly Betts <olly@survex.com>
843 * python3/docs/examples/: Update syntax of examples for Python3.
845 Fri Oct 11 07:37:59 GMT 2013 Olly Betts <olly@survex.com>
847 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over
850 Fri Oct 11 05:50:45 GMT 2013 Olly Betts <olly@survex.com>
852 * python3/docs/index.rst: Strip trailing whitespace.
854 Fri Oct 11 05:14:21 GMT 2013 Olly Betts <olly@survex.com>
856 * configure.ac,python3/Makefile.am,python3/docs/.gitignore,
857 python3/docs/index.html,python3/docs/index.rst: Overhaul Python3
858 documentation and convert it to reStructured Text. (see #346)
860 Thu Oct 10 23:57:56 GMT 2013 Olly Betts <olly@survex.com>
862 * python3/python.i,python3/smoketest.py: Make xapian.version_string()
863 return a Unicode string. (see #346)
865 Thu Oct 10 23:47:18 GMT 2013 Olly Betts <olly@survex.com>
867 * python3/python.i,python3/pythontest.py: Make unserialise methods and
868 functions only accept bytes. (see #346)
870 Tue Oct 08 02:29:28 GMT 2013 Olly Betts <olly@survex.com>
872 * perl/generate-perl-exceptions: Use croak_sv() or ERRSV if defined.
874 Sun Oct 06 23:48:07 GMT 2013 Olly Betts <olly@survex.com>
876 * configure.ac: Don't prefer ruby1.8 to ruby when looking for a ruby
877 interpreter - these days it's more likely to ignore ruby 1.9 rather
878 than avoid picking ruby 1.6.
880 Fri Oct 04 00:32:38 GMT 2013 Olly Betts <olly@survex.com>
882 * python3/pythontest.py: Don't run postingsource testcase under
883 threads for now as it segfaults for unknown reasons.
885 Fri Oct 04 00:29:04 GMT 2013 Olly Betts <olly@survex.com>
887 * python3/pythontest.py,python3/smoketest.py,python3/util.i: Drop the
888 deprecated 'MSet.items' and 'ESet.items' for Python3 - people are
889 going to need to make code updates anyway, so keeping existing code
890 working unchanged isn't a realistic concern.
891 * python3/docs/index.html: Drop discussion of removed features.
893 Fri Oct 04 00:27:13 GMT 2013 Olly Betts <olly@survex.com>
895 * README: Document 3.2 as the minimum supported Python3 version, and
896 update the status to "mostly functional".
898 Thu Oct 03 23:51:26 GMT 2013 Olly Betts <olly@survex.com>
900 * configure.ac,python/,python3/: Provide bindings version in
901 xapian.__version__ as per PEP 396. (see #346)
903 Sat Sep 28 00:02:21 GMT 2013 Olly Betts <olly@survex.com>
905 * python3/pythontest.py: Fix test_postingsource testcase.
907 Fri Sep 27 23:37:28 GMT 2013 Olly Betts <olly@survex.com>
909 * python3/pythontest.py: Fix test_allterms_iter testcase.
911 Fri Sep 27 23:37:01 GMT 2013 Olly Betts <olly@survex.com>
913 * python3/extra.i: Fix ValueStreamIter.__next__().
915 Fri Sep 27 23:36:23 GMT 2013 Olly Betts <olly@survex.com>
917 * python3/extra.i: Correct comments for next() changes in Python3.
919 Fri Sep 27 23:28:47 GMT 2013 Olly Betts <olly@survex.com>
921 * python3/testsuite.py: Remove unnecessary next() helper from
924 Fri Sep 27 23:28:20 GMT 2013 Olly Betts <olly@survex.com>
926 * python3/extra.i: Fix LatLongCoordsIter.__next__().
928 Fri Sep 27 23:14:33 GMT 2013 Olly Betts <olly@survex.com>
930 * python/pythontest.py,python3/pythontest.py: Fix testcases which
931 check that non-random-access iterators which have moved on give
932 an exception if you try to use the old value - previously these
933 didn't actually test all the old values, only the last one.
935 Fri Sep 27 07:53:45 GMT 2013 Olly Betts <olly@survex.com>
937 * python3/smoketest.py,python3/util.i: smoketest.py now passes.
939 Fri Sep 27 04:23:54 GMT 2013 Olly Betts <olly@survex.com>
941 * python3/docs/examples/simplesearch.py,python3/python.i,
942 python3/pythontest.py,python3/smoketest.py: All methods returning
943 std::string now return 'bytes' in Python, except for
944 get_description()/__str__(). (see #346)
946 Wed Sep 25 02:50:39 GMT 2013 Olly Betts <olly@survex.com>
948 * php/smoketest.php: Reenable the FieldProcessor subclass test for PHP
949 5.4, as this one does work.
951 Tue Sep 24 10:00:05 GMT 2013 Olly Betts <olly@survex.com>
953 * .gitignore: Update for switch from gzip to xz.
955 Tue Sep 24 09:55:17 GMT 2013 Olly Betts <olly@survex.com>
957 * configure.ac,xapian-bindings.spec.in: Compress source tarballs with
960 Thu Sep 19 06:52:11 GMT 2013 Olly Betts <olly@survex.com>
962 * Makefile.am,configure.ac,python/,python3/.gitignore,
963 python3/Makefile.am,python3/docs/examples/,python3/docs/index.html,
964 python3/: Split python3 bindings into a separate subdirectory, to
965 make it simpler to handle differences between python2 and python3.
966 This also makes it easier to test both, as a tree can now be
967 configured for both at once.
969 Wed Sep 18 12:58:51 GMT 2013 Olly Betts <olly@survex.com>
971 * python/Makefile.am: Further updates for PEP 3147.
973 Wed Sep 18 12:50:00 GMT 2013 Olly Betts <olly@survex.com>
975 * python/util.i: Fix std::string input typemaps for Python 3.
978 Wed Sep 18 10:56:35 GMT 2013 Olly Betts <olly@survex.com>
980 * configure.ac,python/Makefile.am: Handle the PEP 3147 names which
981 .pyc and .pyo files use in newer Python 3 versions. (see #346)
983 Wed Sep 18 00:36:50 GMT 2013 Olly Betts <olly@survex.com>
985 * python/util.i: Rename next() to __next__() for Python 3 as iterators
986 need to have a __next__() method there. (see #346)
988 Mon Sep 16 12:00:41 GMT 2013 Olly Betts <olly@survex.com>
990 * perl/t/parser.t: Update for xapian-core change to always return
991 UTF-8 object descriptions. (see #620)
993 Mon Jul 15 12:10:18 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
995 * csharp/Makefile.am,java/Makefile.am: Update for DPHWeight.
997 Sun Jul 14 07:07:42 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
999 * csharp/Makefile.am,java/Makefile.am: Update for PL2Weight.
1001 Wed Jul 10 12:58:17 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
1003 * csharp/Makefile.am,java/Makefile.am: Update for DLHWeight.
1005 Sun Jul 07 11:54:44 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
1007 * csharp/Makefile.am,java/Makefile.am: Update for BB2Weight.
1009 Wed Jul 03 14:02:55 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
1011 * csharp/Makefile.am,java/Makefile.am: Update for IneB2Weight.
1013 Wed Jul 03 13:38:34 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
1015 * csharp/Makefile.am,java/Makefile.am: Update for IfB2Weight.
1017 Wed Jul 03 12:01:08 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
1019 * csharp/Makefile.am,java/Makefile.am: Update for InL2Weight.
1021 Wed Jun 26 02:03:04 GMT 2013 Olly Betts <olly@survex.com>
1023 * configure.ac: Fix stripping of _git suffix from snapshot versions
1024 not to relying of sed having support for \| as it doesn't on OS X.
1026 Mon Jun 24 10:56:34 GMT 2013 Olly Betts <olly@survex.com>
1028 * perl/t/symbol-test/Makefile.PL: Pass $CPPFLAGS and $CXXFLAGS from
1029 the environment through to the sub-build, fixing symbol-test.t
1030 failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
1032 Sat Jun 22 06:26:34 GMT 2013 Olly Betts <olly@survex.com>
1034 * php/smoketest.php: If running under PHP >= 5.4, skip the tests we
1035 know will fail with a message.
1037 Sun May 12 06:16:06 GMT 2013 Olly Betts <olly@survex.com>
1039 * configure.ac: Handle git snapshot naming.
1041 Wed May 08 11:21:23 GMT 2013 Olly Betts <olly@survex.com>
1043 * Makefile.am,generic/generic.mk: SVN -> git.
1045 Thu May 02 23:21:10 GMT 2013 olly <olly@survex.com>
1047 * NEWS: Update release date.
1049 Thu May 02 12:08:35 GMT 2013 Olly Betts <olly@survex.com>
1051 * NEWS,configure.ac: Update for 1.3.1.
1053 Thu May 02 06:31:51 GMT 2013 Olly Betts <olly@survex.com>
1055 * NEWS: Update from ChangeLog.
1057 Thu May 02 06:11:41 GMT 2013 Olly Betts <olly@survex.com>
1059 * README: Update details of tested and supported versions. C#: drop
1060 mentions of Portable.NET (which seems dead) and Mono 1.x (old);
1061 Java: Require JDK 1.6 (1.5 is old and out of free support); Python:
1062 Require 2.5 (was 2.4, but that's old now).
1064 Thu May 02 05:47:58 GMT 2013 Olly Betts <olly@survex.com>
1066 * configure.ac: Change to use CLI rather than MONO to specify the
1067 bytecode interpreter to use to run tests with. Previously we'd
1068 check the setting of MONO worked and then use "mono" (literally)
1069 instead - since setting MONO didn't previously really work, we
1070 haven't added compatibility handling for it.
1072 Thu May 02 04:27:00 GMT 2013 Olly Betts <olly@survex.com>
1074 * HACKING: Add more Debian package requirements.
1076 Wed May 01 07:05:45 GMT 2013 Olly Betts <olly@survex.com>
1078 * python/Makefile.am: Drop fixup after 2to3 as it is no longer needed,
1079 and comment suggesting manual tweaks are probably needed.
1081 Wed May 01 07:04:06 GMT 2013 Olly Betts <olly@survex.com>
1083 * python/testsuite2.py: Use iteritems() instead of items() as it's lazy
1084 and works unchanged in Python 3 (change suggested by Richard Boulton).
1086 Wed May 01 06:18:29 GMT 2013 olly <olly@survex.com>
1088 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests from
1089 Python 2 versions using new 2to3 target.
1091 Wed May 01 06:16:44 GMT 2013 olly <olly@survex.com>
1093 * python/Makefile.am: Add 2to3 rule for maintainers to help automate
1094 updating the Python 3 version from the Python 2 one.
1096 Wed May 01 05:39:13 GMT 2013 olly <olly@survex.com>
1098 * python/Makefile.am: Move comment about using -outdir to a more
1101 Fri Apr 26 10:32:59 GMT 2013 Olly Betts <olly@survex.com>
1103 * php/Makefile.am: Run add-php-ref-handling before add-php-type-hints
1104 as the other order doesn't fully work.
1106 Fri Apr 26 09:39:10 GMT 2013 Olly Betts <olly@survex.com>
1108 * Forward port change from branches/1.2:
1109 * php/Makefile.am,php/add-php-ref-handling,php/smoketest.php: Keep
1110 references to the PHP wrapper object when an object is set on
1111 another object. (Fixes #614)
1113 Fri Apr 26 09:08:32 GMT 2013 Olly Betts <olly@survex.com>
1115 * NEWS: Update from ChangeLog.
1117 Mon Apr 22 05:25:34 GMT 2013 olly <olly@survex.com>
1119 * python/smoketest2.py: Need to raise exception, not just construct it!
1121 Mon Apr 22 05:25:00 GMT 2013 olly <olly@survex.com>
1123 * python/testsuite2.py: Export TestFail class from testsuite.
1125 Mon Apr 22 05:23:02 GMT 2013 olly <olly@survex.com>
1127 * python/testsuite2.py: Swap order of arguments in call to expect() so
1128 error makes more sense.
1130 Mon Apr 22 05:19:42 GMT 2013 olly <olly@survex.com>
1132 * HACKING: Document Debian packages needed for each language.
1134 Sun Apr 21 07:08:10 GMT 2013 Olly Betts <olly@survex.com>
1136 * java/SmokeTest.java: Avoid using System.err.printf() which fails
1137 to compile with the java compiler on atreus for some reason.
1139 Sun Apr 21 07:05:42 GMT 2013 Olly Betts <olly@survex.com>
1141 * xapian-head.i: Defined XAPIAN_LIB_BUILD so that we don't get errors
1142 about processing headers individually with SWIG.
1144 Wed Apr 17 03:19:11 GMT 2013 Olly Betts <olly@survex.com>
1146 * NEWS: Update from 1.2.15 and ChangeLog.
1148 Mon Apr 08 06:31:46 GMT 2013 Olly Betts <olly@survex.com>
1150 * csharp/Makefile.am,java/Makefile.am: Update for new class
1153 Sat Apr 06 23:09:53 GMT 2013 Olly Betts <olly@survex.com>
1155 * tcl8/Makefile.am: Fix typo in AM_TESTS_ENVIRONMENT value.
1157 Fri Apr 05 06:15:39 GMT 2013 Olly Betts <olly@survex.com>
1159 * perl/perl.i,perl/util.i.in: Fix PostingIterator wrapper to work.
1160 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1161 Add missing test coverage for this, and some other features.
1163 Thu Apr 04 06:40:09 GMT 2013 Olly Betts <olly@survex.com>
1165 * Makefile.am,configure.ac,generic/generic.mk: Remove support for
1166 'make QUIET=y' - automake now supports 'make V=0' which is broadly
1167 equivalent and more standard.
1169 Thu Apr 04 06:17:32 GMT 2013 Olly Betts <olly@survex.com>
1171 * configure.ac,perl/Makefile.am: Probe for 'prove' in configure.
1173 Thu Apr 04 06:05:54 GMT 2013 Olly Betts <olly@survex.com>
1175 * configure.ac,csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,
1176 perl/Makefile.am,php/Makefile.am,python/Makefile.am,
1177 python/run-python-test,ruby/Makefile.am,tcl8/Makefile.am: Fix the
1178 tests to work with the new automake parallel test driver.
1180 Thu Mar 28 04:27:46 GMT 2013 Olly Betts <olly@survex.com>
1182 * csharp/Makefile.am,java/Makefile.am: Update for new
1183 ExpandDeciderFilterPrefix class.
1185 Tue Mar 19 06:07:04 GMT 2013 Olly Betts <olly@survex.com>
1187 * python/Makefile.am: Fix dependency generation to take into account
1190 Mon Mar 18 10:59:39 GMT 2013 Olly Betts <olly@survex.com>
1192 * NEWS: Update from 1.2.14 and ChangeLog.
1194 Mon Mar 18 04:11:01 GMT 2013 Olly Betts <olly@survex.com>
1196 * configure.ac: Fix deprecation warning from Ruby 1.9.3.
1198 Thu Mar 14 09:56:27 GMT 2013 Olly Betts <olly@survex.com>
1200 * python/extra.i: Fix typo in doccomment.
1202 Thu Mar 14 09:16:45 GMT 2013 Olly Betts <olly@survex.com>
1204 * csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
1205 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1206 swig-depcomp: Fix handling of stamp file by swig-depcomp script.
1208 Sat Feb 16 02:08:29 GMT 2013 Olly Betts <olly@survex.com>
1210 * configure.ac: Allow TCL_INC to be passed to configure. (fixes #612)
1212 Wed Jan 23 00:07:52 GMT 2013 Olly Betts <olly@survex.com>
1214 * perl/t/10query.t: Perl 5.16.1 adds a '.' after "at foo line 123" so
1215 adjust regexp in testcase to allow an optional '.' there.
1218 Wed Jan 16 10:00:00 GMT 2013 Olly Betts <olly@survex.com>
1220 * NEWS: Start to update in preparation for 1.3.1 release.
1222 Wed Jan 16 02:32:38 GMT 2013 Olly Betts <olly@survex.com>
1224 * ruby/smoketest.rb: Extend testcase to check returned MSet size.
1226 Wed Jan 16 01:41:33 GMT 2013 Olly Betts <olly@survex.com>
1228 * configure.ac,generic/generic.mk: Improve workaround which allows
1229 building against an uninstalled xapian-core on OS X - this should
1230 now work with any uninstalled xapian-core (not only in a tree
1231 with the same layout as an SVN or git checkout) and it also won't
1232 try to build against "../xapian-core/.libs" just because it happens
1233 to exist. (Fixes #322)
1235 Wed Jan 16 01:34:09 GMT 2013 Olly Betts <olly@survex.com>
1237 * java/run-java-test: Document how to run tests under gdb.
1239 Wed Jan 16 01:30:28 GMT 2013 Olly Betts <olly@survex.com>
1241 * java/Makefile.am: Don't automatically pass -g to javac when in
1242 maintainer-mode, as the two should really be orthogonal. Instead
1243 use JAVACFLAGS when running JAVAC to allow extra flags to be
1244 specified by running "make JAVACFLAGS=-g".
1246 Wed Jan 09 11:57:01 GMT 2013 Olly Betts <olly@survex.com>
1248 * NEWS: Update from ChangeLog and 1.2 branch.
1250 Mon Dec 24 05:15:56 GMT 2012 Olly Betts <olly@survex.com>
1252 * perl/Search/Xapian/Stem.pm: Fix documentation typo.
1254 Mon Dec 24 05:15:12 GMT 2012 Olly Betts <olly@survex.com>
1256 * perl/util.i.in: Update list of unwrapped things.
1258 Mon Dec 24 04:42:42 GMT 2012 Olly Betts <olly@survex.com>
1260 * perl/Makefile.am,perl/t/stem.t: Add test that we can create all the
1261 stemmers returned by Stem::get_available_languages().
1263 Mon Dec 17 02:13:16 GMT 2012 Olly Betts <olly@survex.com>
1265 * README,php/docs/index.html: Bump minimum supported PHP version to
1266 5.3 - 5.2 was officially EOLed 2011-01-06, and the only distros
1267 which seem to still have PHP 5.2 are Ubuntu hardy (which will reach
1268 EOL in April 2013) and older probably RHEL (which are aimed at the
1269 ultra-conservative types who would likely be happy to stick with
1272 Sat Oct 13 04:28:16 GMT 2012 Olly Betts <olly@survex.com>
1274 * perl/t/databasemodified.t,perl/t/index.t,perl/t/parser.t: Using
1275 UNIVERSAL::isa() as a function is deprecated.
1277 Sat Oct 13 02:57:22 GMT 2012 Olly Betts <olly@survex.com>
1279 * perl/t/parser.t: Forward port tests of StringValueRangeProcessor
1280 with a prefix or suffix from 1.2's XS Search::Xapian. (ticket#607)
1282 Tue Aug 28 04:33:21 GMT 2012 Dan Colish <dcolish@gmail.com>
1284 * java/SmokeTest.java,java/java.i: Implement and test MSetIterator,
1285 ESetIterator. Fix PostingIterator, ValueIterator, and TermIterator.
1287 Sun Aug 12 05:45:32 GMT 2012 Dan Colish <dcolish@gmail.com>
1289 * java/Makefile.am,java/run-java-test: Remove jdb target from
1292 Sun Aug 12 04:54:04 GMT 2012 Dan Colish <dcolish@gmail.com>
1294 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add a typemap for
1295 TermIterator pairs to String[] for the Enquire.getMatchingTerms
1296 API. Use debug symbols when configured with MAINTAINER_MODE.
1298 Sun Aug 12 04:46:59 GMT 2012 Dan Colish <dcolish@gmail.com>
1300 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add typemap for
1301 TermIterator pairs to String[] to conform with the
1302 Enquire::getMatchingterms binding API. Build bindings with
1305 Tue Jul 24 09:06:14 GMT 2012 Olly Betts <olly@survex.com>
1307 * lua/util.i: Fix functor wrappers which return strings to be zero-byte
1310 Tue Jul 24 06:06:24 GMT 2012 Olly Betts <olly@survex.com>
1312 * lua/util.i: Fix wrapping of FieldProcessor.
1313 * lua/smoketest.lua: Add test coverage for wrapping of FieldProcessor.
1315 Tue Jul 24 04:11:50 GMT 2012 Olly Betts <olly@survex.com>
1317 * php/smoketest.php: Fix XapianFieldProcessor testcase.
1319 Tue Jul 24 03:45:15 GMT 2012 Olly Betts <olly@survex.com>
1321 * csharp/Makefile.am,java/Makefile.am,lua/util.i,perl/util.i.in,
1322 python/extra.i,python/generate-python-exceptions,xapian-headers.i:
1323 Wrap FieldProcessor.
1324 * php/smoketest.php: Add simple test of subclassing
1325 XapianFieldProcessor.
1327 Sat Jul 21 13:18:48 GMT 2012 Olly Betts <olly@survex.com>
1329 * lua/docs/examples/simpleexpand.lua,
1330 lua/docs/examples/simplematchdecider.lua,
1331 lua/docs/examples/simplesearch.lua: query:get_description() should
1332 be str(query). Fixes #600.
1333 * lua/docs/index.html: Document that get_description() is mapped to
1334 str(), and end() to _end().
1336 Thu Jul 12 05:11:26 GMT 2012 Olly Betts <olly@survex.com>
1338 * configure.ac: Overhaul checking the C# tools to use modern names in
1341 Tue Jul 03 03:13:40 GMT 2012 Dan Colish <dcolish@gmail.com>
1343 * generic/.gitignore,php/.gitignore,tcl8/.gitignore: Update for
1346 Tue Jul 03 03:10:19 GMT 2012 Dan Colish <dcolish@gmail.com>
1348 * configure.ac,generic/generic.mk:Configure DYLD_LIBRARY_PATH on OSX
1349 separately from MACOSX_DEPLOYMENT_TARGET
1351 Sun Jul 01 11:37:53 GMT 2012 Olly Betts <olly@survex.com>
1353 * NEWS: Update from ChangeLog and 1.2 branch.
1355 Sun Jun 10 05:42:34 GMT 2012 Olly Betts <olly@survex.com>
1357 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1358 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1359 tcl8/Makefile.am: Fix recent swig-depcomp change to use '=' rather than
1360 the apparently less portable ':='.
1362 Mon Jun 04 12:07:08 GMT 2012 Olly Betts <olly@survex.com>
1364 * Makefile.am,configure.ac,csharp/csharp.i,fake_dbfactory.i,
1365 java/java.i,lua/lua.i,perl/perl.i,php/php.i,python/python.i,
1366 ruby/extra.i,ruby/ruby.i,ruby/xapian.rb,tcl8/tcl.i,xapian-headers.i,
1367 xapian.i: For all languages except C# and Java, wrap the functions
1368 declared in xapian/dbfactory.h by getting SWIG to parse the header.
1369 This means we now wrap the WritableDatabase form of
1370 Xapian::Auto::open_stub() for these languages.
1372 Mon Jun 04 12:01:06 GMT 2012 Olly Betts <olly@survex.com>
1374 * swig-depcomp: Script which wraps a call to SWIG and tells it to
1375 generate dependencies, and then adjust the generated dependencies.
1376 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1377 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am:
1380 Mon Jun 04 07:07:28 GMT 2012 Olly Betts <olly@survex.com>
1382 * xapian-headers.i,xapian.i: Wrap xapian/dbfactory.h functions
1383 directly, except for C# and Java, where we use a fake class hack.
1384 * python/smoketest2.py: Enable test that WritableDatabase form of
1385 xapian.open_stub() is now wrapped.
1386 * php/smoketest.php: Check that Xapian::Auto::open_stub() is wrapped
1387 as Xapian::auto_open_stub().
1389 Mon Jun 04 06:23:02 GMT 2012 Olly Betts <olly@survex.com>
1391 * python/smoketest2.py: Test xapian.open_stub() is wrapped.
1393 Mon Jun 04 05:01:17 GMT 2012 Olly Betts <olly@survex.com>
1395 * python/smoketest2.py: Add tests that the database factory functions
1396 are wrapped as we expected.
1398 Mon Jun 04 04:47:06 GMT 2012 Olly Betts <olly@survex.com>
1400 * xapian-headers.i: Fix comment typo.
1402 Mon Jun 04 04:46:41 GMT 2012 Olly Betts <olly@survex.com>
1404 * csharp/docs/index.html: Update Mono version tested with.
1406 Sun Jun 03 22:51:29 GMT 2012 Olly Betts <olly@survex.com>
1408 * README: Fix 'Jit' -> 'it'. Typo introduced in r15713.
1410 Sun Jun 03 13:04:18 GMT 2012 Olly Betts <olly@survex.com>
1412 * xapian.i: Remove the old %extend Query constructors, as they are no
1413 longer used for any of the languages.
1415 Sun Jun 03 12:54:25 GMT 2012 Olly Betts <olly@survex.com>
1417 * lua/util.i,php/php.i,python/python.i,ruby/ruby.i,tcl8/tcl.i: Mark
1418 XapianSWIGQueryItor implementations as random_access_iterator, and
1419 implement XapianSWIGQueryItor::operator-(), so Xapian::Query's
1420 template constructor knows how many elements to preallocate.
1422 Sun Jun 03 11:48:31 GMT 2012 Olly Betts <olly@survex.com>
1424 * java/java.i: Use the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP
1425 approach for Java too (though we don't actually support mixed
1426 subqueries in the case of Java, so it's now a bit misnamed now!)
1428 Sat Jun 02 12:41:12 GMT 2012 Olly Betts <olly@survex.com>
1430 * perl/t/parser.t: Fix accidentally pasted comment.
1432 Sat Jun 02 12:39:58 GMT 2012 Olly Betts <olly@survex.com>
1434 * INSTALL,Makefile.am,README,debian/rules,doxygen_xml.conf.in,
1435 generic/generic.mk,perl/t/: Change `...' quoting in prose to '...'.
1437 Tue May 29 06:11:50 GMT 2012 Olly Betts <olly@survex.com>
1439 * xapian-headers.i,xapian.i: Only rename operator() for languages
1440 where SWIG doesn't already. SWIG's %rename comes first and that
1441 means ours was ignored previously for some languages, which is
1442 liable to cause confusion.
1444 Tue May 29 05:26:22 GMT 2012 Olly Betts <olly@survex.com>
1446 * php/Makefile.am: Add dependency on new generated except.i.
1448 Tue May 29 03:53:25 GMT 2012 Olly Betts <olly@survex.com>
1450 * generic/generate-generic-exceptions: Ensure that generic subdirectory
1451 exists to handle srcdir!=builddir from a clean tree.
1453 Mon May 28 07:22:39 GMT 2012 Olly Betts <olly@survex.com>
1455 * doxygen_xml.conf.in: Hide new function attribute macros, and the
1456 less new deprecation macros, from doxygen.
1458 Sun May 27 13:47:44 GMT 2012 Olly Betts <olly@survex.com>
1460 * Makefile.am,generic/except.i,generic/generate-generic-exceptions:
1461 Generate generic/except.i so we can skip exception handling for
1462 XAPIAN_NOTHROW methods for all the remaining SWIG-generated bindings.
1464 Sun May 27 13:37:06 GMT 2012 Olly Betts <olly@survex.com>
1466 * php/Makefile.am,php/except.i,php/generate-php-exceptions: Generate
1467 php/except.i so we can skip exception handling for XAPIAN_NOTHROW
1470 Sun May 27 12:57:29 GMT 2012 Olly Betts <olly@survex.com>
1472 * tcl8/Makefile.am,tcl8/except.i,tcl8/generate-tcl-exceptions: Generate
1473 tcl8/except.i so we can skip exception handling for XAPIAN_NOTHROW
1476 Sun May 27 12:37:37 GMT 2012 Olly Betts <olly@survex.com>
1478 * lua/Makefile.am,perl/Makefile.am,python/Makefile.am: Ship the scripts
1479 which generate the except.i files.
1481 Sun May 27 12:13:29 GMT 2012 Olly Betts <olly@survex.com>
1483 * xapian-headers.i: Ignore Xapian API class constructor taking
1484 Internal& instead of Internal* (as Query does, to avoid an
1485 ambiguity for Query(NULL).
1487 Sun May 27 12:12:45 GMT 2012 Olly Betts <olly@survex.com>
1489 * python/generate-python-exceptions: Fix to use tabs for indentation in
1490 a couple of places where we were using spaces.
1492 Sun May 27 11:48:56 GMT 2012 Olly Betts <olly@survex.com>
1494 * python/generate-python-exceptions: Don't name exception object we
1497 Sun May 27 10:08:25 GMT 2012 Olly Betts <olly@survex.com>
1499 * perl/perl.i: Pass 0 instead of NULL for non-pointer parameter to
1500 av_fetch (spotted due to GCC 4.7 warning).
1502 Sun May 27 07:32:47 GMT 2012 Olly Betts <olly@survex.com>
1504 * python/generate-python-exceptions: Remove superfluous ';' after
1505 "namespace { [...] }".
1507 Sun May 27 07:29:48 GMT 2012 Olly Betts <olly@survex.com>
1509 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1510 python/generate-python-exceptions: Have a single copyright statement
1511 at the top of the script (in a $copyright variable), and substitute
1512 this into the generated script.
1514 Sun May 27 01:52:08 GMT 2012 Olly Betts <olly@survex.com>
1516 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1517 python/generate-python-exceptions: Use new XAPIAN_NOTHROW markers
1518 in API headers to avoid generate exception handling code around
1519 the calls SWIG generates to such functions and methods.
1521 Sun May 27 01:51:28 GMT 2012 Olly Betts <olly@survex.com>
1523 * xapian-head.i: Hide XAPIAN_CONST_FUNCTION, XAPIAN_PURE_FUNCTION, and
1524 XAPIAN_NOTHROW from SWIG.
1526 Sun May 27 01:40:32 GMT 2012 Olly Betts <olly@survex.com>
1528 * generic/except.i: Don't name exceptions objects we don't inspect.
1530 Tue May 22 08:21:43 GMT 2012 Olly Betts <olly@survex.com>
1532 * configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
1533 VPATH build using a release tarball.
1535 Tue May 15 11:41:05 GMT 2012 Olly Betts <olly@survex.com>
1537 * python/pythontest3.py: Sync with pythontest2.
1539 Tue May 15 11:31:48 GMT 2012 Olly Betts <olly@survex.com>
1541 * NEWS: Update from ChangeLog and 1.2.10.
1543 Thu May 10 09:23:02 GMT 2012 Olly Betts <olly@survex.com>
1545 * configure.ac: "checking ruby/io.h" -> "checking for ruby/io.h".
1547 Wed May 09 03:23:44 GMT 2012 Olly Betts <olly@survex.com>
1549 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a
1550 simple way to rerun tests with verbose output.
1552 Wed May 09 03:22:43 GMT 2012 Olly Betts <olly@survex.com>
1554 * xapian-headers.i: Wrap Xapian::DBCHECK_FIX properly so we don't get
1555 xapian.cvar in Python.
1557 Sun Apr 22 13:04:47 GMT 2012 Olly Betts <olly@survex.com>
1559 * csharp/Makefile.am,java/Makefile.am: Sort both the lists of expected
1560 and of found SWIG-generated sources with Perl, to avoid problems with
1561 locale-specific sort orders.
1563 Sun Apr 22 11:00:21 GMT 2012 Olly Betts <olly@survex.com>
1565 * perl/t/writabledatabase.t: Forward port additional test coverage
1566 for Database::close() from Search::Xapian in 1.2 branch.
1568 Mon Apr 16 23:02:18 GMT 2012 Olly Betts <olly@survex.com>
1570 * configure.ac: Make sure the ruby subdirectory exists before
1571 trying to create ruby/rubyio.h, so this works in a VPATH
1572 build from a clean tree.
1574 Mon Apr 16 06:47:58 GMT 2012 Olly Betts <olly@survex.com>
1576 * csharp/AssemblyInfo.cs.in,csharp/Makefile.am: Use -keyfile and
1577 -keycontainer options to the C# compiler, because it warns us
1578 to do this instead of setting them in AssemblyInfo.cs.
1580 Mon Apr 16 06:39:25 GMT 2012 Olly Betts <olly@survex.com>
1582 * java/Makefile.am: Remove now superfluous old check that SWIG
1583 generated at least the sources we wanted - we now check it generated
1584 *exactly* the sources we wanted.
1586 Mon Apr 16 06:34:30 GMT 2012 Olly Betts <olly@survex.com>
1588 * csharp/Makefile.am,java/Makefile.am: Use diff's -c option when
1589 comparing the files SWIG generated against those we were expecting to
1590 get as the output should be easier to understand.
1592 Wed Apr 11 02:54:46 GMT 2012 Olly Betts <olly@survex.com>
1594 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests
1595 from Python 2 versions using 2to3.
1597 Thu Apr 05 04:25:45 GMT 2012 Olly Betts <olly@survex.com>
1599 * README,configure.ac,lua/docs/index.html,lua/util.i: Fix compatibility
1602 Thu Apr 05 04:23:22 GMT 2012 Olly Betts <olly@survex.com>
1604 * lua/smoketest.lua: Remove bogus \ before q.
1606 Thu Apr 05 03:45:08 GMT 2012 Olly Betts <olly@survex.com>
1608 * lua/smoketest.lua: Convert tabs to spaces.
1610 Thu Apr 05 03:43:52 GMT 2012 Olly Betts <olly@survex.com>
1612 * lua/smoketest.lua: Check behaviour of "require 'xapian'" - SWIG 2.0.4
1613 and earlier got this wrong. Part of patch from istr in #593, plus
1616 Thu Apr 05 03:28:50 GMT 2012 Olly Betts <olly@survex.com>
1618 * lua/smoketest.lua: Improve expect() function to take an option
1619 failure message, to report how values differed, and to compare tables
1620 in a smarter way. Part of patch from istr in #593.
1622 Thu Apr 05 02:46:21 GMT 2012 Olly Betts <olly@survex.com>
1624 * perl/t/thread.t,perl/t/writabledatabase.t: Remove #! lines with -W
1625 to fix "Name "Test::More::TODO" used only once: possible typo at
1626 /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
1628 Wed Apr 04 14:06:47 GMT 2012 Olly Betts <olly@survex.com>
1630 * python/docs/examples/simpleexpand.py: Update to not use deprecated
1631 MSet iteration features which have been removed on trunk. This
1632 also fixes a segfault if there are no matches and no documents
1633 are explicitly marked as relevant.
1635 Wed Mar 28 09:22:48 GMT 2012 Olly Betts <olly@survex.com>
1637 * xapian-head.i: Update for new deprecation macros.
1639 Fri Mar 23 00:42:11 GMT 2012 Olly Betts <olly@survex.com>
1641 * php/smoketest.php: More tests of geospatial API.
1643 Thu Mar 22 23:49:50 GMT 2012 Olly Betts <olly@survex.com>
1645 * perl/util.i.in: Avoid importing isa from UNIVERSAL to fix Perl 5.12
1646 deprecation warning.
1648 Tue Mar 20 02:04:51 GMT 2012 Olly Betts <olly@survex.com>
1650 * php/smoketest.php: More tests of geospatial API.
1652 Sun Mar 18 00:38:48 GMT 2012 Dan Colish <dcolish@gmail.com>
1654 * .gitignore: Ignore doxygen artifacts
1656 Wed Mar 14 02:25:51 GMT 2012 Olly Betts <olly@survex.com>
1658 * NEWS: Update from 1.2.9 and ChangeLog for 1.3.0.
1660 Tue Mar 13 22:41:01 GMT 2012 Olly Betts <olly@survex.com>
1662 * php/smoketest.php: Test constructing XapianLatLongCoord.
1664 Tue Mar 13 00:32:37 GMT 2012 Olly Betts <olly@survex.com>
1666 * php/add-php-type-hints: Fix typo "XapianStemmer" -> "XapianStem".
1667 * php/smoketest.php: Add regression test coverage.
1669 Thu Mar 08 05:51:38 GMT 2012 Olly Betts <olly@survex.com>
1671 * perl/t/: Enable warnings for all test cases and make them fatal.
1673 Thu Mar 08 05:37:47 GMT 2012 Olly Betts <olly@survex.com>
1675 * perl/t/symbol-test.t: Remove lingering reference to @args which is
1676 no longer set, and enable warnings and make them fatal so we don't
1679 Fri Jan 27 01:21:18 GMT 2012 Olly Betts <olly@survex.com>
1681 * perl/t/10query.t: Check that Search::Xapian::Query->new("") works.
1683 Fri Jan 27 01:19:45 GMT 2012 Olly Betts <olly@survex.com>
1685 * perl/perl.i: Fix Search::Xapian->new() to work.
1686 * perl/t/10query.t: Add testcase for this.
1688 Thu Jan 26 23:41:55 GMT 2012 Olly Betts <olly@survex.com>
1690 * perl/perl.i: Add "use Carp;" where we use functions from that module.
1691 * perl/t/10query.t: Add regression test.
1693 Fri Jan 20 23:53:12 GMT 2012 Olly Betts <olly@survex.com>
1695 * perl/t/document.t,perl/t/index.t: Add tests of Document::get_docid().
1697 Thu Jan 19 00:19:52 GMT 2012 Olly Betts <olly@survex.com>
1699 * java/Makefile.am: Update list of generated files for the geospatial
1702 Thu Jan 19 00:17:11 GMT 2012 Olly Betts <olly@survex.com>
1704 * xapian-headers.i: Ignore unserialise() variant taking const char**
1705 and Database::check() variant taking std::ostream &.
1707 Wed Jan 18 13:43:55 GMT 2012 Olly Betts <olly@survex.com>
1709 * xapian-headers.i: Handle DBCHECK_* constants like we do DB_* ones.
1710 Factor out this special handliing into a SWIG macro called CONSTANT.
1712 Wed Jan 18 13:22:34 GMT 2012 Olly Betts <olly@survex.com>
1714 * csharp/Makefile.am: Update list of generated file for geospatial API.
1716 Wed Jan 18 10:41:41 GMT 2012 Olly Betts <olly@survex.com>
1718 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
1719 ruby/smoketest.rb,ruby/xapian.rb,xapian-headers.i: Merge bindings
1720 changes for geospatial API.
1722 Wed Jan 04 06:03:09 GMT 2012 Olly Betts <olly@survex.com>
1724 * php/smoketest.php: Add a test that Query ctor taking OP_NEAR with a
1727 Fri Dec 30 13:44:17 GMT 2011 Olly Betts <olly@survex.com>
1729 * perl/perl.i: Refactor to use XapianSWIGQueryItor class instead
1730 of temporary std::vector<Xapian::Query> (but not via a SWIG
1733 Fri Dec 30 13:17:15 GMT 2011 Olly Betts <olly@survex.com>
1735 * lua/util.i: Add begin() and end() methods to XapianSWIGQueryItor
1736 instead of using ctors and assignment.
1738 Fri Dec 30 13:16:00 GMT 2011 Olly Betts <olly@survex.com>
1740 * lua/util.i: Improve error message.
1742 Fri Dec 30 13:13:12 GMT 2011 Olly Betts <olly@survex.com>
1744 * lua/util.i: Eliminate "else" after "return".
1746 Fri Dec 30 13:12:34 GMT 2011 Olly Betts <olly@survex.com>
1748 * lua/util.i: Remove "return;" at end of function.
1750 Fri Dec 30 13:09:00 GMT 2011 Olly Betts <olly@survex.com>
1752 * lua/util.i: Fix typo in error message.
1754 Fri Dec 30 13:07:06 GMT 2011 Olly Betts <olly@survex.com>
1756 * lua/util.i: Reindent and fix other whitespace oddities.
1758 Fri Dec 30 12:23:38 GMT 2011 Olly Betts <olly@survex.com>
1760 * php/php.i: Add begin() method to XapianSWIGQueryItor instead of
1761 using a ctor and assignment.
1763 Fri Dec 30 03:15:31 GMT 2011 Olly Betts <olly@survex.com>
1765 * ruby/ruby.i: Add begin() and end() methods to XapianSWIGQueryItor
1766 as that's clearer than overloaded ctors with dummy parameters.
1768 Fri Dec 30 01:59:46 GMT 2011 Olly Betts <olly@survex.com>
1770 * csharp/Makefile.am,xapian.i: We don't use
1771 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for C#, but we also don't
1772 use the fake ctors added by %extend if this isn't defined, so also
1773 skip them if SWIGCSHARP is defined.
1775 Fri Dec 30 01:18:03 GMT 2011 Olly Betts <olly@survex.com>
1777 * xapian.i: While we don't currently use
1778 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for perl, we also don't
1779 use the fake ctors added by %extend if this isn't defined, so also
1780 skip them if SWIGPERL is defined.
1782 Fri Dec 30 01:13:31 GMT 2011 Olly Betts <olly@survex.com>
1784 * xapian.i: Remove left-over comment associated with
1785 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP.
1787 Fri Dec 30 01:05:52 GMT 2011 Olly Betts <olly@survex.com>
1789 * python/python.i: Use a SWIG freearg typemap to release the fast
1790 sequence object when we're done with it, rather than carefully
1791 adjusting its reference count when the iterator objects get copied or
1794 Fri Dec 30 00:54:51 GMT 2011 Olly Betts <olly@survex.com>
1796 * xapian.i: Remove XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP, since none
1797 of the currently supported languages now use it, and we should use
1798 the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for all
1799 future languages which have containers which allow mixed content.
1801 Fri Dec 30 00:53:07 GMT 2011 Olly Betts <olly@survex.com>
1803 * python/python.i,python/util.i: Implement
1804 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for Python.
1806 Fri Dec 30 00:04:27 GMT 2011 Olly Betts <olly@survex.com>
1808 * python/pythontest2.py: Use list comprehensions rather than append
1811 Thu Dec 29 23:26:18 GMT 2011 Olly Betts <olly@survex.com>
1813 * python/testsuite2.py: Rephrase so VERBOSE=1 is there to cut and
1816 Thu Dec 29 22:52:20 GMT 2011 Olly Betts <olly@survex.com>
1818 * python/testsuite2.py: Don't run off the traceback looking for a
1819 test function if the exception wasn't from a test function.
1821 Thu Dec 29 11:35:51 GMT 2011 Olly Betts <olly@survex.com>
1823 * csharp/SmokeTest.cs,java/SmokeTest.java,lua/smoketest.lua,
1824 perl/t/10query.t,perl/t/parser.t,perl/t/search.t,php/smoketest.php,
1825 python/pythontest2.py,python/smoketest2.py,python/testsuite2.py,
1826 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian-headers.i,xapian.i:
1827 Update for Query internals changes.
1829 Thu Dec 29 11:20:48 GMT 2011 Olly Betts <olly@survex.com>
1831 * configure.ac: Fix test for jni.h to try looking for jni.h relative to
1832 the real location of javac, which should work for more JDKs.
1834 Fri Dec 23 01:25:56 GMT 2011 Olly Betts <olly@survex.com>
1836 * python/python.i: If configure didn't find a way to do TLS, fall back
1837 to using pthread_getspecific() etc, which should work on Mac OS X.
1839 Thu Dec 22 12:00:57 GMT 2011 Olly Betts <olly@survex.com>
1841 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1842 Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
1845 Wed Dec 21 13:48:27 GMT 2011 Olly Betts <olly@survex.com>
1847 * php/add-php-type-hints: Don't add a type hint to apply($doc) as that
1848 would break existing subclasses as the signature must match.
1850 Wed Dec 21 10:06:30 GMT 2011 Olly Betts <olly@survex.com>
1852 * perl/Search/Xapian/Document.pm,perl/Search/Xapian/TermGenerator.pm:
1853 Improve POD docs for Document and TermGenerator methods - "weight"
1854 is misleading, so use "wdfinc" and "wdfdec" like the C++ API docs
1857 Wed Dec 21 10:05:48 GMT 2011 Olly Betts <olly@survex.com>
1859 * lua/util.i,perl/perl.i: Change Xapian::weight to double.
1861 Wed Dec 21 08:43:37 GMT 2011 Olly Betts <olly@survex.com>
1863 * php/add-php-type-hints: XapianSorter should be XapianKeyMaker.
1865 Wed Dec 21 08:42:57 GMT 2011 Olly Betts <olly@survex.com>
1867 * php/Makefile.am: Rebuild wrappers if "add-php-type-hints" changes.
1869 Wed Dec 21 04:12:36 GMT 2011 Olly Betts <olly@survex.com>
1871 * php/Makefile.am,php/add-php-type-hints: Add PHP type hints to the
1872 class wrappers. Fixes ticket#577.
1874 Tue Dec 20 11:03:37 GMT 2011 Olly Betts <olly@survex.com>
1876 * README,configure.ac,python/docs/index.html,python/python.i: Handle
1877 the GIL in a way which also works in sub-interpreters. Fixes
1879 * python/pythontest2.py: Run tests as before, and then (if Python
1880 supports threads) in a separate thread.
1882 Mon Dec 19 10:19:06 GMT 2011 Olly Betts <olly@survex.com>
1884 * configure.ac: Improve description of PERL_SO.
1886 Mon Dec 19 10:18:36 GMT 2011 Olly Betts <olly@survex.com>
1888 * configure.ac: Fix cosmetic typo in recent Lua change.
1890 Mon Dec 19 10:11:30 GMT 2011 Olly Betts <olly@survex.com>
1892 * configure.ac,lua/Makefile.am: Remove Lua cygwin-specific configure
1893 code and -DUSE_LUA_STUBS - both were copied from the Tcl support
1894 with Tcl changed to Lua, and have no basis in reality that I can
1897 Mon Dec 19 09:08:15 GMT 2011 Olly Betts <olly@survex.com>
1899 * configure.ac,lua/Makefile.am: Improve probing for LUA_LIB, and also
1900 probe for LUA_SO so we support platforms where the compiled Lua
1901 module isn't called .so.
1903 Sun Dec 18 02:04:16 GMT 2011 Olly Betts <olly@survex.com>
1905 * configure.ac: Improve LUA_LIB description and probe message - the
1906 module won't have an ".so" extension on all platforms.
1908 Sun Dec 18 01:55:39 GMT 2011 Olly Betts <olly@survex.com>
1910 * configure.ac: m4 quoting tweaks (cosmetic only).
1912 Sun Dec 18 01:50:48 GMT 2011 Olly Betts <olly@survex.com>
1914 * configure.ac: Honour LUA_LIB if already set. Fixes #581.
1916 Thu Dec 15 14:44:09 GMT 2011 Olly Betts <olly@survex.com>
1918 * perl/generate-perl-exceptions: Remove superfluous ';' after closing
1919 '}' of namespace. Tweak whitespace.
1921 Thu Dec 15 12:50:42 GMT 2011 Olly Betts <olly@survex.com>
1923 * generic/except.i: Correct comments about how and where this file gets
1924 included - this changed in the major restructuring a few months ago.
1925 * generic/except.i,php/except.i,tcl8/except.i: Return
1926 Error::get_description() rather than get_type + ": " + get_msg(). In
1927 many cases this is the same, but if context or errno are available,
1928 get_description() includes them. Catch and report std::exception
1929 rather than handling it as an unknown error (so in particular
1930 std::bad_alloc will now be reported more helpfully).
1932 Thu Dec 15 12:30:15 GMT 2011 Olly Betts <olly@survex.com>
1934 * perl/generate-perl-exceptions: Whitespace tweak.
1936 Thu Dec 15 11:40:39 GMT 2011 Olly Betts <olly@survex.com>
1938 * lua/docs/index.html,lua/generate-lua-exceptions,lua/smoketest.lua,
1939 lua/util.i: Handle an exception from C++ by raising a xapian.Error
1940 object as an error in Lua. Rename get_description() methods to
1941 __tostring(), so that you can use write tostring(obj) in Lua. Fix
1942 indentation not to assume tabs are two spaces.
1944 Wed Dec 14 10:54:03 GMT 2011 Olly Betts <olly@survex.com>
1946 * lua/generate-lua-exceptions: Restore other copyright holders to
1947 generated file - it seems likely this constitutes a derived work
1948 and it is better to err on the side of caution.
1950 Tue Dec 13 14:29:34 GMT 2011 Olly Betts <olly@survex.com>
1952 * NEWS: Update from 1.2.8 and ChangeLog.
1954 Sun Oct 30 21:42:48 GMT 2011 Richard Boulton <richard@tartarus.org>
1956 * python/Makefile.am: Add module_top.py to tarballs.
1958 Sat Oct 29 15:05:34 GMT 2011 Olly Betts <olly@survex.com>
1960 * python/Makefile.am,python/module_top.py: Add a module docstring
1963 Wed Oct 05 13:31:25 GMT 2011 Olly Betts <olly@survex.com>
1965 * ruby/smoketest.rb,ruby/xapian.rb: Wrap optional prefix parameter to
1968 Mon Aug 22 11:22:34 GMT 2011 Olly Betts <olly@survex.com>
1970 * python/pythontest2.py: Use "if x is not None:" rather than "if x !=
1973 Wed Aug 17 11:07:41 GMT 2011 Olly Betts <olly@survex.com>
1975 * lua/Makefile.am: Add dependency on except.i so it gets (re)generated
1978 Wed Aug 17 10:11:52 GMT 2011 Olly Betts <olly@survex.com>
1980 * lua/Makefile.am,lua/docs/examples/simpleexpand.lua,lua/: Merge latest
1981 Lua improvements from Xiaona Han.
1983 Mon Aug 15 01:28:51 GMT 2011 Olly Betts <olly@survex.com>
1985 * python/doxy2swig.py,python/pythontest2.py,python/testsuite2.py:
1986 Remove trailing whitespace.
1988 Mon Aug 15 01:19:06 GMT 2011 Olly Betts <olly@survex.com>
1990 * python/pythontest2.py,python/testsuite2.py: Move the check for
1991 leaked objects into the testsuite harness so all tests get checked,
1992 not just the two which are regression tests for leaks in older
1993 versions. This also gives us a single place to disable it if it
1994 should prove problematic in alternative Python implementations.
1996 Sun Aug 14 12:45:09 GMT 2011 Olly Betts <olly@survex.com>
1998 * python/pythontest2.py: In test_matchingterms_iter, run the code
1999 we're testing for leaks twice, and only check for leaks the second
2000 time to avoid falsely reporting a leak when some cached value gets
2001 initialised under Python 2.5.
2003 Fri Aug 12 23:18:20 GMT 2011 Olly Betts <olly@survex.com>
2005 * NEWS: Update from 1.2.7 and ChangeLog.
2007 Mon Aug 08 03:35:23 GMT 2011 Olly Betts <olly@survex.com>
2009 * java/SmokeTest.java: Fix == comparisons with literal strings.
2011 Thu Aug 04 07:34:14 GMT 2011 Olly Betts <olly@survex.com>
2013 * xapian-headers.i,xapian.i: Wrap iterator operator++ and operator--
2014 methods with a new INC_OR_DEC macro, replacing the old NEXT and
2017 Thu Aug 04 07:21:36 GMT 2011 Olly Betts <olly@survex.com>
2019 * xapian-head.i,xapian-headers.i: We no longer need special handling
2020 for ValueIteratorEnd_ in the bindings, as that hack is gone from the
2023 Thu Aug 04 07:15:53 GMT 2011 Olly Betts <olly@survex.com>
2025 * xapian-head.i,xapian.i: Update for the Xapian::timeout -> useconds_t
2028 Thu Aug 04 06:45:38 GMT 2011 Olly Betts <olly@survex.com>
2030 * configure.ac: JAVA_CXXFLAGS is no longer used, so remove it.
2032 Thu Aug 04 00:24:22 GMT 2011 Olly Betts <olly@survex.com>
2034 * configure.ac: Add --disable-visibility option to match xapian-core.
2036 Thu Aug 04 00:04:47 GMT 2011 Olly Betts <olly@survex.com>
2038 * configure.ac: Add -fshow-column for GCC.
2040 Tue Aug 02 03:49:27 GMT 2011 Olly Betts <olly@survex.com>
2042 * perl/t/symbol-test.t: Fix to work when built against an installed
2043 xapian-core. (ticket#558)
2045 Sat Jul 30 12:05:02 GMT 2011 Olly Betts <olly@survex.com>
2047 * Makefile.am,configure.ac,doxygen_xml.conf.in,python/Makefile.am,
2048 ruby/Makefile.am,ruby/generate-rdoc-stubs: Run doxygen to generate
2049 XML for the bindings in the bindings build system, not as a
2050 side-effect in xapian-core's. (ticket#262)
2052 Sat Jul 30 06:22:37 GMT 2011 Olly Betts <olly@survex.com>
2054 * configure.ac,csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
2055 lua/Makefile.am,perl/Makefile.am,php/Makefile.am,python/Makefile.am,
2056 ruby/Makefile.am,tcl8/Makefile.am: Don't put -Werror in SWIG_FLAGS
2057 - instead put it in a new SWIG_WERROR variable, so that it's easy
2058 to override it if you're getting a new warning from SWIG but want
2059 to just ignore it for the time being.
2061 Fri Jul 29 13:49:51 GMT 2011 Olly Betts <olly@survex.com>
2063 * php/smoketest.php: Add regression test for recently fixed SWIG bug
2064 which caused "return $r;" to be generated in some cases when $r
2067 Fri Jul 29 03:41:02 GMT 2011 Olly Betts <olly@survex.com>
2069 * php/smoketest.php: Install an error handler so the test fails if
2070 there are any errors, warnings, notices, etc.
2072 Mon Jul 25 07:36:26 GMT 2011 Olly Betts <olly@survex.com>
2074 * java/SmokeTest.java: Add test that string passing is zero byte safe.
2076 Mon Jul 25 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
2078 * java/SmokeTest.java: Fix MyExpandDecider.accept to really check the
2081 Mon Jul 25 05:52:29 GMT 2011 Olly Betts <olly@survex.com>
2083 * xapian.i: Don't return iterator from C# Next() and Prev() methods by
2084 reference as that results in it being eligible for garbage collection
2085 while we're still using it.
2086 * csharp/SmokeTest.cs: Add regression test.
2088 Sat Jul 23 15:27:27 GMT 2011 Olly Betts <olly@survex.com>
2090 * lua/util.i: Whitespace tweaks.
2092 Sat Jul 23 15:18:24 GMT 2011 Olly Betts <olly@survex.com>
2094 * lua/docs/examples/simpleexpand.lua,
2095 lua/docs/examples/simplematchdecider.lua,
2096 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2097 lua/smoketest.lua,lua/util.i: Merge latest Lua changes from Xiaona
2100 Thu Jul 07 23:28:24 GMT 2011 Olly Betts <olly@survex.com>
2102 * Makefile.am: Restore ruby to DIST_SUBDIRS (accidentally removed when
2103 java-swig was renamed to java).
2105 Wed Jul 06 12:26:38 GMT 2011 Olly Betts <olly@survex.com>
2107 * lua/Makefile.am: Include new example in tarball.
2109 Tue Jul 05 02:10:02 GMT 2011 Olly Betts <olly@survex.com>
2111 * python/python.i: By default, SWIG's thread locking code for Python
2112 always initialises threads, which just adds overhead for single
2113 threaded Python code. So instead we now replace SWIG's thread
2114 locking with a version which does nothing unless threads are already
2115 initialised. This seems to be about 5-10% faster for pythontest2.py
2116 modified to repeat the tests 100 times.
2118 Tue Jul 05 01:32:07 GMT 2011 Olly Betts <olly@survex.com>
2120 * lua/docs/examples/simplematchdecider.lua: Wrap comment to <80
2123 Tue Jul 05 01:25:49 GMT 2011 Olly Betts <olly@survex.com>
2125 * lua/docs/examples/simplematchdecider.lua: New example from Xiaona
2127 * lua/docs/index.html: Add link to simplematchdecider.lua.
2129 Mon Jul 04 15:04:36 GMT 2011 Olly Betts <olly@survex.com>
2131 * lua/smoketest.lua,lua/util.i: Fix whitespace inconsistencies.
2133 Mon Jul 04 14:58:34 GMT 2011 Olly Betts <olly@survex.com>
2135 * lua/docs/index.html,lua/smoketest.lua,lua/util.i: Merge latest Lua
2136 changes from Xiaona Han.
2138 Mon Jul 04 01:35:50 GMT 2011 Olly Betts <olly@survex.com>
2140 * java/Makefile.am: Use the same NEED_JNILIB_EXT machinery which the
2141 hand-coded JNI bindings had, so that on Mac OS X the JNI library
2142 has a .jnilib extension.
2144 Sun Jul 03 11:01:21 GMT 2011 Olly Betts <olly@survex.com>
2146 * java-swig/: Actually rename to java/.
2148 Sun Jul 03 10:36:13 GMT 2011 Olly Betts <olly@survex.com>
2150 * java/: Actually remove the old hand-coded JNI Java bindings.
2152 Wed Jun 29 22:38:29 GMT 2011 Olly Betts <olly@survex.com>
2154 * php/Makefile.am,php/docs/examples/,php/smoketest.php: Change
2155 'include "php5/xapian.php"' to 'include "xapian.php"' in
2156 smoketest.php and the examples, and set include_path=php5 in
2157 TESTS_ENVIRONMENT so smoketest.php finds the uninstalled
2160 Wed Jun 29 01:04:51 GMT 2011 Olly Betts <olly@survex.com>
2162 * csharp/SmokeTest.cs: Add test coverage for QueryParser.ParseQuery()
2163 with flags argument.
2165 Wed Jun 29 00:00:25 GMT 2011 Olly Betts <olly@survex.com>
2167 * Makefile.am,configure.ac: Rename java-swig subdirectory to java.
2169 Tue Jun 28 23:52:13 GMT 2011 Olly Betts <olly@survex.com>
2171 * lua/smoketest.lua: Add simple test for
2172 Database::positionlist_begin().
2174 Tue Jun 28 12:14:17 GMT 2011 Olly Betts <olly@survex.com>
2176 * NEWS: Update from ChangeLog.
2178 Mon Jun 27 15:22:22 GMT 2011 Olly Betts <olly@survex.com>
2180 * python/Makefile.am,python/python.i,python/util.i: If
2181 MAINTAINER_NO_DOCS is true, then just create an empty doccomments.i
2182 rather then carefully arranging not to include it.
2184 Mon Jun 27 15:04:59 GMT 2011 Olly Betts <olly@survex.com>
2186 * python/extra.i: Clarify that extra.i is for extra *Python* code.
2188 Mon Jun 27 14:39:26 GMT 2011 Olly Betts <olly@survex.com>
2190 * TODO: Wrapping Xapian::Weight isn't possible. (ticket#401)
2192 Mon Jun 27 14:34:24 GMT 2011 Olly Betts <olly@survex.com>
2194 * perl/perl.i,perl/util.i.in: Move the SWIG typemaps into perl.i,
2195 leaving just the %perlcode in util.i.in.
2197 Mon Jun 27 14:23:54 GMT 2011 Olly Betts <olly@survex.com>
2199 * xapian.i: Remove %module line which is no longer used.
2201 Mon Jun 27 14:10:19 GMT 2011 Olly Betts <olly@survex.com>
2203 * perl/util.i.in: WritableDatabase::delete_document() was broken by
2204 the migration to wrapping <xapian/database.h> directly - now fixed
2205 and cleaned up how we wrap delete_document_by_term(),
2206 replace_document() and replace_document_by_term().
2208 Mon Jun 27 11:21:10 GMT 2011 Olly Betts <olly@survex.com>
2210 * tcl8/tcl.i: Use the iterator approach for wrapping the mixed array
2213 Mon Jun 27 11:05:10 GMT 2011 Olly Betts <olly@survex.com>
2215 * ruby/ruby.i: Use the iterator approach for wrapping the mixed array
2218 Mon Jun 27 08:18:02 GMT 2011 Olly Betts <olly@survex.com>
2220 * php/php.i,xapian.i: Wrap the XapianQuery ctor which takes a mixed
2221 array of XapianQuery objects and strings by defining an iterator so
2222 subqueries get added directly rather than creating an intermediate
2225 Mon Jun 27 03:08:40 GMT 2011 Olly Betts <olly@survex.com>
2227 * php/php.i: Tweak the phpinfo() generation code.
2229 Mon Jun 27 02:40:29 GMT 2011 Olly Betts <olly@survex.com>
2231 * java-swig/docs/examples/SimpleIndex.java: Update to use commit()
2232 rather than flush(). Remove reference to quartz.
2234 Sun Jun 26 15:32:50 GMT 2011 Olly Betts <olly@survex.com>
2236 * xapian-headers.i,xapian.i: Wrap <xapian/query.h> in xapian-headers.i,
2237 except for the current %extend part which I'm looking to reimplement
2240 Sun Jun 26 14:54:09 GMT 2011 Olly Betts <olly@survex.com>
2242 * ruby/ruby.i: Fix to work with direct wrapping on xapian/enquire.h
2243 - the signature in that file has Xapian:: qualifiers on the
2244 arguments types for set_query() so it wasn't getting renamed.
2245 Missed this because of incorrect dependencies, as fixed in the
2248 Sun Jun 26 14:47:20 GMT 2011 Olly Betts <olly@survex.com>
2250 * ruby/Makefile.am: Fix automatic dependency generation for files
2253 Sun Jun 26 14:09:33 GMT 2011 Olly Betts <olly@survex.com>
2255 * csharp/docs/index.html,java-swig/docs/index.html: Document wrapping
2256 of MatchAll and MatchNothing.
2258 Sun Jun 26 10:24:55 GMT 2011 Olly Betts <olly@survex.com>
2260 * csharp/SmokeTest.cs,csharp/csharp.i,java-swig/SmokeTest.java,
2261 java-swig/java.i: Wrap Query::MatchAll and Query::MatchNothing for C#
2262 and Java. (ticket#158)
2264 Sun Jun 26 03:35:43 GMT 2011 Olly Betts <olly@survex.com>
2266 * php/docs/index.html,php/smoketest.php,xapian.i: Wrap MatchAll and
2267 MatchNothing for PHP as XapianQuery::MatchAll() and
2268 XapianQuery::MatchNothing(). (ticket#158)
2270 Sat Jun 25 15:58:08 GMT 2011 Olly Betts <olly@survex.com>
2272 * xapian-headers.i,xapian.i: Wrap <xapian/weight.h> using the new
2275 Sat Jun 25 15:38:14 GMT 2011 Olly Betts <olly@survex.com>
2277 * xapian-headers.i,xapian.i: Wrap <xapian/valuesetmatchdecider.h> in
2280 Sat Jun 25 15:32:31 GMT 2011 Olly Betts <olly@survex.com>
2282 * xapian-headers.i,xapian.i: Wrap Xapian::Stem using the new macros.
2284 Sat Jun 25 15:15:19 GMT 2011 Olly Betts <olly@survex.com>
2286 * csharp/Makefile.am,java-swig/Makefile.am: Upon "make
2287 maintainer-clean", delete the directories which we get SWIG to
2288 generate the source files into, and also the 'built' subdirectory for
2291 Sat Jun 25 15:10:21 GMT 2011 Olly Betts <olly@survex.com>
2293 * java-swig/Makefile.am: Port over from csharp/Makefile.am the smarter
2294 check that we got exactly the sources generated which we wanted.
2295 Add missing new source ExpandDeciderAnd.java.
2297 Sat Jun 25 15:08:59 GMT 2011 Olly Betts <olly@survex.com>
2299 * csharp/Makefile.am: Delete all files in generated-csharp before
2300 running swig, not just those in $(XAPIAN_SWIG_CS_SRCS).
2302 Sat Jun 25 15:01:48 GMT 2011 Olly Betts <olly@survex.com>
2304 * csharp/Makefile.am,xapian-headers.i,xapian.i: Wrap enquire.h and
2305 expanddecider.h by parsing the headers directly. Wrap ExpandDecider
2306 even if we don't have director support - there's a
2307 ExpandDeciderFilterTerms subclass which is useful in itself, though
2308 it still needs some typemap work to actually get it usefully wrapped.
2309 Ignore copy ctors for all classes (rather than just some) for all
2310 languages except Tcl where we now consistently ignore none of them.
2312 Sat Jun 25 11:13:34 GMT 2011 Olly Betts <olly@survex.com>
2314 * python/util.i: Rename SWIG_anystring_as_ptr to
2315 XapianSWIG_anystring_as_ptr as it's not a part of SWIG itself.
2316 Handle generating XapianSWIG_anystring_as_ptr in the right place
2317 in the file by specifying it with %fragment, and specify its
2318 dependency on the fragment SWIG_AsPtr_std_string.
2320 Sat Jun 25 07:50:56 GMT 2011 Olly Betts <olly@survex.com>
2322 * csharp/Makefile.am: Put the generated C# sources into a subdirectory
2323 to make it easier to manage them. Check that exactly the sources in
2324 XAPIAN_SWIG_CS_SRCS are generated previously we checked that the
2325 sources in that list were generated, but not if extra ones were).
2326 Add six missing sources to XAPIAN_SWIG_CS_SRCS.
2328 Fri Jun 24 17:16:19 GMT 2011 Olly Betts <olly@survex.com>
2330 * xapian-headers.i,xapian.i: Wrap Database and WritableDatabase by
2331 using %include <xapian/database.h>. Adds missing wrappers for
2332 Database::has_positions(), wrapping of Database::reopen()'s new
2333 bool return type, and corrects the return type of
2334 Database::get_doclength() from double to Xapian::termcount.
2336 Fri Jun 24 15:47:50 GMT 2011 Olly Betts <olly@survex.com>
2338 * xapian-headers.i,xapian.i: Wrap MatchSpy and PostingSource with
2341 Fri Jun 24 15:30:27 GMT 2011 Olly Betts <olly@survex.com>
2343 * xapian-headers.i,xapian.i: Add SUBCLASSABLE macro to indicate a class
2344 which is subclassable in the target language (assuming SWIG supports
2345 directors for that language).
2347 Fri Jun 24 12:44:07 GMT 2011 Olly Betts <olly@survex.com>
2349 * xapian-headers.i,xapian.i: Factor out ignoring of internal stuff and
2350 operator= from INPUT_ITERATOR_METHODS into new STANDARD_IGNORES
2351 macro. Use STANDARD_IGNORES to wrap Xapian::Document. Wrap
2352 ValueIterator via %include <xapian/valueiterator.h>.
2354 Fri Jun 24 09:29:46 GMT 2011 Olly Betts <olly@survex.com>
2356 * xapian-headers.i,xapian.i: Wrap TermIterator via %include
2357 <xapian/termiterator.h>. TermIterator::positionlist_count() is now
2360 Fri Jun 24 09:15:11 GMT 2011 Olly Betts <olly@survex.com>
2362 * xapian-headers.i,xapian.i: Do setup for %include <postingiterator.h>
2363 using a parameterised macro INPUT_ITERATOR_METHODS(). Use this new
2364 macro to wrap %include <xapian/positioniterator.h> instead of having
2365 its declarations repeated in xapian.i.
2367 Fri Jun 24 05:39:20 GMT 2011 Olly Betts <olly@survex.com>
2369 * Makefile.am,xapian-headers.i,xapian.i: Start a new interface file
2370 to contain wrapping of xapian-core API headers by getting SWIG to
2371 parse them directly rather than duplicated declarations in the
2374 Fri Jun 24 04:33:50 GMT 2011 Olly Betts <olly@survex.com>
2376 * configure.ac: Update JNI comments.
2378 Fri Jun 24 04:06:17 GMT 2011 Olly Betts <olly@survex.com>
2380 * HACKING,Makefile.am,README,configure.ac,java-swig/SmokeTest.java,
2381 java/,java/native/,java/org/xapian/,java/org/xapian/errors/,
2382 java/org/xapian/examples/,java/run-java-test: Remove the hand-coded
2385 Fri Jun 24 03:37:25 GMT 2011 Olly Betts <olly@survex.com>
2387 * java-swig/Makefile.am,java-swig/docs/: Copy java examples
2388 from the JNI ones, and create an HTML documentation page
2389 based on java/README.
2391 Fri Jun 24 03:13:15 GMT 2011 Olly Betts <olly@survex.com>
2393 * configure.ac: Switch java bindings to java-swig.
2395 Wed Jun 22 15:08:04 GMT 2011 Olly Betts <olly@survex.com>
2397 * INSTALL: Add --with-lua and sort the list of --with-* options.
2399 Wed Jun 22 15:01:44 GMT 2011 Olly Betts <olly@survex.com>
2401 * INSTALL: Pull in a few updates from the latest version of the
2402 automake document which this file was originally based on.
2403 Add in the missing copyright and licensing information.
2405 Wed Jun 22 14:35:33 GMT 2011 Olly Betts <olly@survex.com>
2407 * INSTALL,README: It's not really noteworthy that Mac OS X 10.1 and
2408 10.2 aren't supported as Apple ditched them long ago, so drop this
2409 as a "Known Issue" in INSTALL and instead just say "Mac OS X >= 10.3"
2410 in the discussion of supported platforms in the README.
2412 Wed Jun 22 08:50:52 GMT 2011 Olly Betts <olly@survex.com>
2414 * perl/Makefile.am: Need to build except.i before we run swig.
2416 Wed Jun 22 08:46:50 GMT 2011 Olly Betts <olly@survex.com>
2418 * python/Makefile.am: Need to build except.i and doccomments.i before
2421 Wed Jun 22 04:41:26 GMT 2011 Olly Betts <olly@survex.com>
2423 * java-swig/Makefile.am,java-swig/SmokeTest.java: Put the
2424 SWIG-generated Java bindings in package org.xapian.
2426 Wed Jun 22 03:26:21 GMT 2011 Olly Betts <olly@survex.com>
2428 * java-swig/SmokeTest.java: Add more FIXME notes.
2430 Wed Jun 22 02:55:38 GMT 2011 Olly Betts <olly@survex.com>
2432 * java-swig/Makefile.am: Clean up MyMatchDecider.class and
2433 MyExpandDecider.class. Include Query$1.class in the jar file.
2435 Wed Jun 22 01:47:24 GMT 2011 Olly Betts <olly@survex.com>
2437 * java-swig/Makefile.am: Update for Xapian::Compactor.
2439 Wed Jun 22 01:23:23 GMT 2011 Olly Betts <olly@survex.com>
2441 * csharp/Makefile.am: Use the same trick as in java-swig/ to check that
2442 SWIG generated all the sources we expected it to.
2444 Wed Jun 22 01:21:19 GMT 2011 Olly Betts <olly@survex.com>
2446 * csharp/Makefile.am,java-swig/Makefile.am,lua/Makefile.am,
2447 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
2448 tcl8/Makefile.am: Include explicit '$(srcdir)/' path on the main SWIG
2449 interface file to work better in a VPATH build.
2451 Tue Jun 21 16:12:38 GMT 2011 Olly Betts <olly@survex.com>
2453 * python/Makefile.am: Pass -I. to SWIG so it finds generated
2454 doccomments.i in a VPATH build.
2456 Tue Jun 21 14:55:17 GMT 2011 Olly Betts <olly@survex.com>
2458 * csharp/Makefile.am,csharp/csharp.i,csharp/util.i,generic/except.i,
2459 generic/generic.mk,java-swig/Makefile.am,java-swig/java.i,
2460 java-swig/util.i,lua/Makefile.am,lua/lua.i,perl/Makefile.am,
2461 perl/perl.i,php/Makefile.am,php/php.i,php/util.i,python/Makefile.am,
2462 python/python.i,python/util.i,ruby/Makefile.am,ruby/ruby.i,
2463 ruby/util.i,tcl8/Makefile.am,tcl8/tcl.i,tcl8/util.i,xapian-head.i,
2464 xapian.i: Change how the inclusion of SWIG interface files works -
2465 instead of carefully setting up include paths so that files get
2466 pulled in from language-specific directories, with fallbacks to
2467 generic files in some cases, we now have a master interface file for
2468 each language which explicitly includes all the other files we want.
2470 Tue Jun 21 14:34:47 GMT 2011 Olly Betts <olly@survex.com>
2472 * generic/generic.mk: 'macosx' -> 'Mac OS X'.
2474 Tue Jun 21 14:16:52 GMT 2011 Olly Betts <olly@survex.com>
2476 * README: Note a recent version of Mono which we've tested the C#
2479 Tue Jun 21 13:52:22 GMT 2011 Olly Betts <olly@survex.com>
2481 * csharp/Makefile.am: Combine the two uninstall-local targets so the
2482 commands from both actually get run.
2484 Tue Jun 21 11:09:59 GMT 2011 Olly Betts <olly@survex.com>
2486 * configure.ac: Wrap sources used by AC_COMPILE_IFELSE in
2487 AC_LANG_SOURCE to fix warning from autoconf.
2489 Tue Jun 21 06:54:00 GMT 2011 Olly Betts <olly@survex.com>
2491 * xapian.i: Update comment about MatchAll/MatchNothing.
2493 Tue Jun 21 06:49:56 GMT 2011 Olly Betts <olly@survex.com>
2495 * perl/t/10query.t,perl/util.i.in: Wrap MatchAll and MatchNothing for
2496 Perl (as Search::Xapian::Query::MatchAll and
2497 Search::Xapian::Query::MatchNothing). (ticket#158)
2499 Tue Jun 21 06:00:41 GMT 2011 Olly Betts <olly@survex.com>
2501 * ruby/docs/index.html,ruby/extra.i,ruby/smoketest.rb,xapian.i: Wrap
2502 MatchAll and MatchNothing for Ruby. (ticket#158)
2504 Tue Jun 21 05:09:20 GMT 2011 Olly Betts <olly@survex.com>
2506 * lua/smoketest.lua: Fix whitespace inconsistencies.
2508 Tue Jun 21 05:07:30 GMT 2011 Olly Betts <olly@survex.com>
2510 * lua/smoketest.lua: Restore semicolons to licence text.
2512 Tue Jun 21 05:01:55 GMT 2011 Olly Betts <olly@survex.com>
2514 * lua/docs/index.html,lua/smoketest.lua,xapian.i: Merge latest Lua
2515 changes from Xiaona Han.
2517 Tue Jun 21 04:16:05 GMT 2011 Olly Betts <olly@survex.com>
2519 * perl/t/termgenerator.t: Test TermIterator::index_text() with two
2522 Fri Jun 17 08:11:12 GMT 2011 Olly Betts <olly@survex.com>
2524 * HACKING: Start section on deprecation warnings for the bindings.
2526 Fri Jun 17 07:43:31 GMT 2011 Olly Betts <olly@survex.com>
2530 Thu Jun 16 09:24:18 GMT 2011 Olly Betts <olly@survex.com>
2532 * perl/Makefile.am: Fix "make check".
2534 Thu Jun 16 07:48:38 GMT 2011 Olly Betts <olly@survex.com>
2536 * python/Makefile.am: Improve comment about replicationtest.py.
2538 Thu Jun 16 06:34:33 GMT 2011 Olly Betts <olly@survex.com>
2540 * configure.ac: Remove unnecessary nested single quotes. Remove
2541 superfluous trailing ; from Perl one-liners.
2543 Thu Jun 16 06:10:25 GMT 2011 Olly Betts <olly@survex.com>
2545 * php/docs/index.html: Drop references to Xapian versions before 1.0.0.
2547 Thu Jun 16 06:05:45 GMT 2011 Olly Betts <olly@survex.com>
2549 * README,configure.ac,php/docs/index.html: Raise the minimum required
2550 PHP version to 5.2 as older versions are no longer supported by the
2551 PHP developers. Even 5.2.x was recently declared unsupported
2554 Thu Jun 16 05:56:59 GMT 2011 Olly Betts <olly@survex.com>
2556 * configure.ac: Simplify probe for PHP CLI - we dropped PHP4 support in
2557 1.1.0 so we can rely on having php-config --php-binary available.
2559 Wed Jun 15 14:13:09 GMT 2011 Olly Betts <olly@survex.com>
2561 * README,configure.ac,python/docs/index.html: Update required Python
2564 Wed Jun 15 07:46:04 GMT 2011 Olly Betts <olly@survex.com>
2566 * xapian-bindings/lua/docs/examples/simpleexpand.lua: Don't try to add
2567 anything to the RSet if there are no matches.
2569 Tue Jun 14 03:50:57 GMT 2011 Olly Betts <olly@survex.com>
2571 * perl/t/symbol-test/SymbolTest.pm: Sync update from XS Search::Xapian
2572 - add "1;" to end of test module.
2574 Tue Jun 14 03:48:04 GMT 2011 Olly Betts <olly@survex.com>
2576 * perl/docs/examples/: Sync updates from XS Search::Xapian: Require
2577 Perl >= 5.6 so we can "use warnings;"; loop over file using while()
2578 (which reads a line per iteration) not foreach() (which reads the
2579 whole file up front).
2581 Mon Jun 13 17:00:27 GMT 2011 Olly Betts <olly@survex.com>
2583 * perl/generate-perl-exceptions: Simplify.
2585 Mon Jun 13 16:49:52 GMT 2011 Olly Betts <olly@survex.com>
2587 * csharp/Makefile.am,java-swig/Makefile.am,
2588 perl/generate-perl-exceptions,python/generate-python-exceptions:
2589 More references to Sorter and MultiValueSorter removed.
2591 Mon Jun 13 16:43:58 GMT 2011 Olly Betts <olly@survex.com>
2593 * perl/t/sorter.t,php/smoketest.php,python/pythontest2.py,xapian.i:
2594 Update in line with the removed deprecations from xapian-core.
2596 Mon Jun 13 13:37:48 GMT 2011 Richard Boulton <richard@tartarus.org>
2598 * python/extra.i: Change function names defined inside wrapper()
2599 closures to match the name which the result of the closure will
2600 be assigned to, so that help text for the functions displays the
2601 correct function name.
2603 Mon Jun 13 13:15:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2605 * python/pythontest2.py: Extend coverage of tests of removed features.
2607 Mon Jun 13 12:56:48 GMT 2011 Olly Betts <olly@survex.com>
2609 * java/native/Enquire.cc: Update for Enquire::set_sort_by_value()
2612 Mon Jun 13 12:50:39 GMT 2011 Richard Boulton <richard@tartarus.org>
2614 * python/pythontest2.py: Change checks for removed attributes to
2615 use a neater approach.
2617 Mon Jun 13 12:48:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2619 * python/testsuite2.py: Add support to expect_exception for passing
2620 None as the message, to skip checking the message for the raised
2621 exception. Add documentation comment describing the parameters.
2623 Mon Jun 13 12:37:31 GMT 2011 Olly Betts <olly@survex.com>
2625 * xapian.i: Remove deprecated Enquire::set_sort_by_* methods.
2627 Mon Jun 13 12:10:39 GMT 2011 Olly Betts <olly@survex.com>
2629 * python/extra.i: Remove checks for deprecated forms of Enquire
2630 set_sort_* methods, which have now been removed from the C++ API.
2632 Mon Jun 13 11:43:20 GMT 2011 Olly Betts <olly@survex.com>
2634 * python/extra.i,python/util.i: Hide away the deprecated non-pythonic
2635 iterators - we still need them to implement the pythonic iterators,
2636 so we can't entirely remove them.
2637 * python/pythontest2.py: Check that the deprecated methods are no
2638 longer accessible (not all methods are checked).
2639 * docs/index.html: Update documentation to say they've been removed.
2641 Mon Jun 13 10:35:29 GMT 2011 Olly Betts <olly@survex.com>
2643 * python/extra.i: Remove deprecated Stem_get_available_languages().
2644 * python/pythontest2.py: Add test to make sure it stays removed!
2646 Mon Jun 13 10:10:56 GMT 2011 Olly Betts <olly@survex.com>
2648 * python/pythontest2.py: Fix odd ordering of line and comment (which
2649 has been that way since I committed the change which added the
2650 code around the comment.
2652 Mon Jun 13 09:54:20 GMT 2011 Olly Betts <olly@survex.com>
2654 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
2655 lua/docs/index.html,php/docs/index.html,python/docs/index.html,
2656 ruby/docs/index.html,tcl8/docs/index.html,xapian-head.i,xapian.i:
2657 Update for removal of flint.
2659 Mon Jun 13 09:34:05 GMT 2011 Olly Betts <olly@survex.com>
2661 * configure.ac: Update version to 1.3.0.
2663 Sun Jun 12 23:34:24 GMT 2011 Olly Betts <olly@survex.com>
2665 * php/Makefile.am: The SWIG upgrade means we now have xapian_wrap.h as
2666 well as xapian_wrap.cc. Really the final update for 1.2.6.
2668 Sun Jun 12 13:06:16 GMT 2011 Olly Betts <olly@survex.com>
2670 * configure.ac: Lua's _VERSION reports "Lua 5.0.3" for Lua 5.0.3, so
2671 add '|5.0.*' to the pattern since '5.0' won't match.
2673 Sun Jun 12 11:47:03 GMT 2011 Olly Betts <olly@survex.com>
2675 * NEWS: Final update for 1.2.6.
2677 Sun Jun 12 07:47:04 GMT 2011 Olly Betts <olly@survex.com>
2679 * NEWS.SKELETON: Add Lua and Perl headings.
2681 Sun Jun 12 07:29:29 GMT 2011 Olly Betts <olly@survex.com>
2683 * README: Move C# first so the languages are all in alphabetical
2686 Sun Jun 12 07:28:52 GMT 2011 Olly Betts <olly@survex.com>
2690 Sun Jun 12 07:24:17 GMT 2011 Olly Betts <olly@survex.com>
2692 * configure.ac: Need to quote [01234] to stop m4 eating the [].
2694 Sun Jun 12 07:19:37 GMT 2011 Olly Betts <olly@survex.com>
2696 * configure.ac,lua/docs/examples/simpleexpand.lua,
2697 lua/docs/examples/simpleindex.lua,lua/docs/index.html,lua/util.i:
2698 Fix whitespace issues.
2700 Sun Jun 12 07:07:18 GMT 2011 Xiaona Han <xiaonahappy@gmail.com>
2702 * Makefile.am,configure.ac,lua/Makefile.am,
2703 lua/docs/examples/simpleexpand.lua,lua/docs/examples/simpleindex.lua,
2704 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2705 lua/smoketest.lua,lua/util.i: Merge in current state of Lua
2708 Fri Jun 10 12:08:17 GMT 2011 Olly Betts <olly@survex.com>
2710 * NEWS,configure.ac: Update in preparation for 1.2.6.
2712 Fri Jun 10 09:11:02 GMT 2011 Olly Betts <olly@survex.com>
2714 * java/LICENSE: Remove, since it is explicitly included in each source
2717 Fri Jun 10 06:43:10 GMT 2011 Olly Betts <olly@survex.com>
2719 * php/Makefile.am: Add simplematchdecider.php5 example to tarball.
2721 Fri Jun 10 06:40:46 GMT 2011 Olly Betts <olly@survex.com>
2723 * php/php.ini: Remove file which is no longer used.
2725 Fri Jun 10 01:21:21 GMT 2011 Olly Betts <olly@survex.com>
2727 * xapian-head.i,xapian.i: Update for addition of
2728 XAPIAN_DEPRECATED_CLASS.
2730 Thu Jun 02 03:07:35 GMT 2011 Olly Betts <olly@survex.com>
2732 * php/docs/examples/simplematchdecider.php5: Change start tag from <?
2733 to <?php - issue pointed out by Daniel Menard in ticket#488.
2735 Mon May 30 10:34:16 GMT 2011 Olly Betts <olly@survex.com>
2737 * NEWS: Update from ChangeLog.
2739 Mon May 30 07:06:00 GMT 2011 Olly Betts <olly@survex.com>
2741 * tcl8/docs/index.html: Fix <i> to </i> (reported by Xiaona Han).
2743 Mon May 30 07:04:00 GMT 2011 Olly Betts <olly@survex.com>
2745 * php/docs/examples/simplematchdecider.php5,php/smoketest.php: Objects
2746 passed to virtual methods overridden in PHP are now wrapped properly.
2749 Sun May 29 14:41:13 GMT 2011 James Aylett <james@tartarus.org>
2751 * configure.ac: set NEED_JNILIB_EXT for all Mac OS versions
2753 Sun May 29 14:36:55 GMT 2011 James Aylett <james@tartarus.org>
2755 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am,
2756 java/org/xapian/examples/Makefile.am: use .NOTPARALLEL when
2757 compiling Java classfiles to avoid race condition during
2760 Sun May 29 13:27:10 GMT 2011 Olly Betts <olly@survex.com>
2762 * java/native/Makefile.am: XapianObjectHolder.h was removed so stop
2765 Fri May 27 05:28:09 GMT 2011 Olly Betts <olly@survex.com>
2767 * NEWS: Update from ChangeLog.
2769 Fri May 27 05:09:42 GMT 2011 Olly Betts <olly@survex.com>
2771 * java/native/utils.cc: Remove another unused <typeinfo>.
2773 Fri May 27 05:01:47 GMT 2011 Olly Betts <olly@survex.com>
2775 * java/native/: Factor out Java jstring -> C++ std::string conversion
2776 into cpp_string() function, which also fixes memory leaks upon
2779 Fri May 27 04:29:19 GMT 2011 Olly Betts <olly@survex.com>
2781 * java/native/xapian_jni.h: Remove unused <typeinfo>.
2783 Fri May 27 04:25:39 GMT 2011 Olly Betts <olly@survex.com>
2785 * java/native/xapian_jni.h: Remove unused struct streq.
2787 Fri May 27 04:02:01 GMT 2011 Olly Betts <olly@survex.com>
2789 * java/native/,java/org/xapian/: Instead of using an unordered_map to
2790 track id -> pointer mappings, just use reinterpret_cast - jlong is
2791 64 bits, which will hold a pointer on current platforms.
2792 * java/README: This avoids needing thread locks, so remove pthread
2793 linking issues from TODO list.
2795 Thu May 26 13:06:13 GMT 2011 Olly Betts <olly@survex.com>
2797 * java/native/: C++'s delete operator will ignore a NULL pointer, so
2798 remove checks that the pointer is non-NULL before calling it.
2800 Thu May 26 11:30:22 GMT 2011 Olly Betts <olly@survex.com>
2802 * java/native/unordered_map.h: Portability wrapper around various ways
2803 to get unordered_map with different compilers.
2804 * java/native/XapianObjectHolder.h: Use new unordered_map.h which fixes
2805 warnings about using deprecated headers with recent GCC versions.
2807 Wed May 25 13:58:21 GMT 2011 Olly Betts <olly@survex.com>
2809 * php/util.i,xapian.i: Move PHP special cases to php/util.i (generated
2810 code is identical before and after this change).
2812 Wed May 25 13:20:06 GMT 2011 Olly Betts <olly@survex.com>
2814 * php/docs/examples/simplematchdecider.php5,php/docs/index.html: Add
2815 simplematchdecider.php example.
2817 Wed May 25 12:17:11 GMT 2011 Olly Betts <olly@survex.com>
2819 * php/util.i: Now we have directors enabled, stop ignoring Xapian::Sorter
2820 and uncomment directorin typemap for passing a count and array of
2823 Tue May 24 15:08:24 GMT 2011 Olly Betts <olly@survex.com>
2825 * php/smoketest.php,php/util.i,python/generate-python-exceptions,
2826 ruby/Makefile.am: Update to newer SWIG (ticket#538). Fixes C#
2827 binding issues with strings with newer C# versions. Directors
2828 now work for PHP (ticket#488).
2830 Mon May 23 13:58:43 GMT 2011 Olly Betts <olly@survex.com>
2832 * README: say that Perl bindings probably need Perl 5.8 or later.
2834 Mon May 23 07:47:24 GMT 2011 Olly Betts <olly@survex.com>
2836 * configure.ac: Get the Ruby version from the rbconfig module, rather
2837 than parsing the potentially more variable output of ruby --version.
2839 Wed May 11 21:50:11 GMT 2011 Olly Betts <olly@survex.com>
2841 * ruby/xapian.rb: Fix comments on "end" keywords to match function
2844 Wed May 11 03:50:18 GMT 2011 Olly Betts <olly@survex.com>
2846 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() -
2847 just skip the compaction tests for these versions.
2849 Mon May 09 01:36:56 GMT 2011 Olly Betts <olly@survex.com>
2851 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always
2852 collect all the garbage, so repeat until no further objects are
2853 freed. (http://bugs.debian.org/625679 and
2854 https://bugs.gentoo.org/349484).
2856 Mon Apr 04 13:58:45 GMT 2011 Olly Betts <olly@survex.com>
2858 * NEWS: Update release date.
2860 Mon Mar 28 12:02:56 GMT 2011 Olly Betts <olly@survex.com>
2862 * NEWS,configure.ac: 1.2.5.
2864 Sat Mar 26 14:50:41 GMT 2011 Olly Betts <olly@survex.com>
2866 * INSTALL: Fix typo in recent commit.
2868 Sat Mar 26 14:44:53 GMT 2011 Olly Betts <olly@survex.com>
2870 * configure.ac: Fix m4 quoting so that the release series check works.
2872 Sat Mar 26 14:34:10 GMT 2011 Olly Betts <olly@survex.com>
2874 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
2875 Replace VPATH section with better equivalent from
2876 xapian-core/INSTALL.
2878 Sat Mar 26 14:29:32 GMT 2011 Olly Betts <olly@survex.com>
2880 * ruby/smoketest.rb: Test Xapian::Compactor.
2882 Sun Mar 20 10:53:32 GMT 2011 Olly Betts <olly@survex.com>
2884 * python/smoketest2.py: Remove two print statements left over from
2887 Fri Mar 18 13:46:05 GMT 2011 Olly Betts <olly@survex.com>
2889 * configure.ac: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and
2890 later, or 10.4 on x86 as the default if unset on these platforms
2891 is the current OS version.
2893 Fri Mar 18 11:33:26 GMT 2011 Olly Betts <olly@survex.com>
2895 * csharp/Makefile.am: Second part of ticket#516 fix.
2897 Fri Mar 18 05:29:01 GMT 2011 Olly Betts <olly@survex.com>
2899 * configure.ac: Don't pass extra flags to Microsoft's gacutil.
2902 Wed Mar 16 05:29:31 GMT 2011 Olly Betts <olly@survex.com>
2904 * python/smoketest2.py: Add test coverage for min_wt argument of
2907 Wed Mar 16 05:13:42 GMT 2011 Olly Betts <olly@survex.com>
2909 * python/smoketest2.py: Fix comment typo.
2911 Wed Mar 16 03:33:13 GMT 2011 Olly Betts <olly@survex.com>
2913 * configure.ac: Handle an empty response to $RUBY --version specially.
2914 This gives a less opaque error in cases where the user specified
2915 RUBY but the value given wasn't an executable file.
2917 Tue Mar 15 23:09:04 GMT 2011 Dan Colish <dcolish@gmail.com>
2919 * xapian.i: Expose ESet.get_eset with min_wt parameter
2921 Tue Mar 01 11:51:19 GMT 2011 Olly Betts <olly@survex.com>
2923 * NEWS: Update from ChangeLog.
2925 Mon Feb 21 14:47:10 GMT 2011 Olly Betts <olly@survex.com>
2927 * python/docs/index.html: Document that MSet.items and ESet.items are
2928 deprecated, and what to use instead. Note that MSET_DOCUMENT never
2929 worked on the tuple returned by MSet.items.
2931 Sat Jan 29 05:25:15 GMT 2011 Olly Betts <olly@survex.com>
2933 * python/pythontest2.py: Add test coverage for mset.items.
2935 Sat Jan 29 02:12:43 GMT 2011 Olly Betts <olly@survex.com>
2937 * configure.ac: If xapian-core is a different release series, promote
2938 the mismatched versions warning to an error.
2940 Sat Jan 15 12:03:31 GMT 2011 Olly Betts <olly@survex.com>
2942 * configure.ac,csharp/AssemblyInfo.cs.in: Revert COMPAT_VERSION
2943 change - we need to strip the _svnNNNNN suffix for snapshots, and
2944 it isn't any extra effort to handle an optional subrevision in the
2947 Sat Jan 15 11:38:40 GMT 2011 Olly Betts <olly@survex.com>
2949 * configure.ac: Fix comment typo.
2951 Sat Jan 15 11:36:05 GMT 2011 Olly Betts <olly@survex.com>
2953 * csharp/AssemblyInfo.cs.in: Clarify the licence is GPL "version 2 or
2956 Sat Jan 15 11:32:46 GMT 2011 Olly Betts <olly@survex.com>
2958 * configure.ac,csharp/AssemblyInfo.cs.in: Remove COMPAT_VERSION
2959 machinery - we've not used it since 0.9.10.1, and it seems unlikely
2960 we will again. If we do, we can reverse this change.
2962 Sat Jan 15 11:20:33 GMT 2011 Olly Betts <olly@survex.com>
2964 * NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.
2966 Thu Jan 13 01:50:18 GMT 2011 Olly Betts <olly@survex.com>
2968 * python/pythontest2.py: In test_compactor(), close any open databases
2969 before removing the directory as you can't delete an open database
2970 on Microsoft Windows. (ticket#526)
2972 Mon Jan 10 12:53:51 GMT 2011 Richard Boulton <richard@tartarus.org>
2974 * python/extra.i: Remove broken implementation of
2975 MSet.__contains__. This appears never to have worked, and to
2976 have been broken for at least the past 3.5 years without anyone
2977 mentioning it, and is probably of little use anyway, so no need
2980 Tue Dec 21 12:18:03 GMT 2010 Olly Betts <olly@survex.com>
2982 * README: Update info on SWIG-based Perl bindings.
2984 Mon Dec 20 09:54:52 GMT 2010 Richard Boulton <richard@tartarus.org>
2986 * python/util.i: Remove old and broken Enquire.get_matching_terms()
2987 method. We deprecated Enquire.get_matching_terms() in 1.0.x, and
2988 removed it in 1.1.0, but accidentally left an older version of
2989 get_matching_terms() exposed.
2990 * python/docs/index.html: Also, remove the old documentation for
2991 get_matching_terms().
2993 Mon Dec 20 09:53:56 GMT 2010 Richard Boulton <richard@tartarus.org>
2995 * python/pythontest2.py: Remove test of
2996 Enquire.get_matching_terms(), and the associated contortions to
2997 get a corresponding msetiter to pass to it.
2999 Sun Dec 19 12:40:39 GMT 2010 Olly Betts <olly@survex.com>
3001 * NEWS: Update release date.
3003 Sat Dec 18 15:09:06 GMT 2010 Olly Betts <olly@survex.com>
3005 * NEWS,configure.ac: 1.2.4.
3007 Thu Dec 16 10:11:35 GMT 2010 Olly Betts <olly@survex.com>
3009 * perl/Makefile.am: Pass CPPFLAGS, CXX, CXXFLAGS to the testsuite.
3011 Tue Dec 14 14:23:07 GMT 2010 Olly Betts <olly@survex.com>
3013 * perl/t/symbol-test.t: Merge VPATH fixes from Search::Xapian.
3015 Tue Dec 14 05:25:10 GMT 2010 Olly Betts <olly@survex.com>
3017 * perl/t/: Disable tests from the XS version which don't yet pass
3018 here with a $disable_fixme variable, so they are more clearly marked
3019 and can easily be reenabled for testing.
3021 Tue Dec 14 03:01:43 GMT 2010 Olly Betts <olly@survex.com>
3023 * perl/Makefile.am,perl/t/symbol-test.t,perl/util.i.in: Merge fix and
3024 adapt testcase for it from XS Search::Xapian:
3025 [Changes contributed by David F. Skoll and Dave O'Neill]
3026 - Tell DynaLoader to load the module with RTLD_GLOBAL so exceptions
3027 still work when multiple Perl modules which link to xapian-core are
3028 loaded. (ticket#522)
3030 Tue Dec 14 02:46:52 GMT 2010 Olly Betts <olly@survex.com>
3032 * perl/util.i.in: Whitespace tweaks.
3034 Mon Dec 13 20:22:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3036 * python/pythontest2.py,python/util.i: Fix memory leak in
3037 Enquire.get_matching_terms() method, and add coverage for this
3038 method. Check gc.get_objects() is the same before and after the
3039 calls to get the matching terms; this failed before the fix.
3041 Mon Dec 13 12:04:28 GMT 2010 Olly Betts <olly@survex.com>
3043 * php/docs/index.html: Document that iterators shouldn't be
3044 dereferenced or advanced when at their end points (ticket#520).
3046 Mon Dec 13 06:04:08 GMT 2010 Olly Betts <olly@survex.com>
3048 * php/util.i: Add commented out typemap for director support for
3049 Compactor::resolve_duplicate_metadata().
3051 Sat Dec 11 23:20:29 GMT 2010 Olly Betts <olly@survex.com>
3053 * python/generate-python-exceptions: Remove PostingSource's serialise
3054 method from the list as we %ignore it in xapian.i.
3056 Sat Dec 11 10:31:30 GMT 2010 Olly Betts <olly@survex.com>
3058 * python/generate-python-exceptions,xapian.i: Wrap MatchSpy as a
3059 director class so it can be subclassed in Python.
3060 * python/pythontest2.py: Add test that subclassing MatchSpy works.
3062 Tue Dec 07 04:10:37 GMT 2010 Olly Betts <olly@survex.com>
3064 * python/pythontest2.py: Add regression test for last fix.
3066 Tue Dec 07 03:10:24 GMT 2010 Olly Betts <olly@survex.com>
3068 * python/util.i: Fix memory leaks in typemaps which return Python
3069 lists (reported by AlexB on #xapian).
3071 Tue Dec 07 02:51:51 GMT 2010 Olly Betts <olly@survex.com>
3073 * python/util.i: Remove unused typemap.
3075 Wed Nov 17 10:13:00 GMT 2010 Olly Betts <olly@survex.com>
3077 * ruby/util.i: Wrap Compactor::resolve_duplicate_metadata().
3079 Mon Nov 08 12:33:31 GMT 2010 Olly Betts <olly@survex.com>
3081 * ruby/util.i: Remove unused, commented-out typemap for wrapping a pair
3084 Sun Nov 07 14:17:08 GMT 2010 Olly Betts <olly@survex.com>
3086 * python/pythontest2.py,python/util.i: Wrap updated
3087 Compactor::resolve_duplicate_metadata() method signature.
3089 Sat Nov 06 11:59:23 GMT 2010 Olly Betts <olly@survex.com>
3091 * NEWS: Update from ChangeLog.
3093 Thu Nov 04 12:44:51 GMT 2010 Richard Boulton <richard@tartarus.org>
3095 * generic/generic.mk: For Mac OS X builds, set DYLD_LIBRARY_PATH to
3096 allow tests to find uninstalled xapian library. See ticket #322.
3098 Mon Oct 11 12:29:20 GMT 2010 Olly Betts <olly@survex.com>
3100 * perl/Makefile.am: We don't want to distribute util.i - configure
3101 generates it from util.i.in.
3103 Mon Oct 11 12:28:14 GMT 2010 Olly Betts <olly@survex.com>
3105 * csharp/Makefile.am: No need to list AssemblyInfo.cs.in in EXTRA_DIST
3106 or AssemblyInfo.cs in CLEANFILES - automake takes care of
3107 distributing and cleaning these.
3109 Mon Oct 11 12:21:33 GMT 2010 Olly Betts <olly@survex.com>
3111 * tcl8/Makefile.am: No need to list pkgIndex.tcl.in in EXTRA_DIST or
3112 pkgIndex.tcl in CLEANFILES - automake takes care of distributing and
3115 Mon Oct 11 12:18:06 GMT 2010 Olly Betts <olly@survex.com>
3117 * csharp/Makefile.am,java-swig/Makefile.am,perl/Makefile.am,
3118 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
3119 tcl8/Makefile.am: Don't list swig-built files in CLEANFILES.
3121 Mon Oct 11 11:58:21 GMT 2010 Olly Betts <olly@survex.com>
3123 * Makefile.am: Don't explicitly list files in EXTRA_DIST which automake
3124 will ship anyway. Don't ship xapian-version.h as configure will
3125 generate that (xapian.spec is different - we put that in the tarball
3126 so rpmbuild can find it).
3128 Mon Oct 11 11:51:57 GMT 2010 Olly Betts <olly@survex.com>
3130 * Makefile.am: No need to explicitly list xapian-version.h in
3131 DISTCLEANFILES - automake will remove in for us on "make distclean"
3132 since it is created by AC_CONFIG_FILES in configure.ac.
3134 Fri Oct 08 13:32:38 GMT 2010 Olly Betts <olly@survex.com>
3136 * configure.ac: Fix typo in code to set PYTHON_LIBS under cygwin.
3139 Fri Oct 01 12:10:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3141 * csharp/Makefile.am,python/generate-python-exceptions,
3142 python/pythontest2.py,xapian.i: Wrap the new Xapian::Compactor
3143 class as a Director class, and add a testcase for it in python.
3145 Wed Sep 29 05:35:03 GMT 2010 Olly Betts <olly@survex.com>
3147 * java-swig/Makefile.am: Fix to delete libxapian_jni.la rather than
3150 Wed Sep 29 05:33:43 GMT 2010 Olly Betts <olly@survex.com>
3152 * csharp/Makefile.am,xapian-bindings.spec.in: Don't install or package
3155 Wed Sep 29 05:19:44 GMT 2010 Olly Betts <olly@survex.com>
3157 * xapian-bindings.spec.in: Package the Perl bindings too (patch from
3160 Wed Sep 29 04:44:24 GMT 2010 Olly Betts <olly@survex.com>
3162 * perl/Makefile.am: Don't install Xapian.la.
3164 Wed Sep 29 02:30:49 GMT 2010 Olly Betts <olly@survex.com>
3166 * perl/Makefile.am,perl/t/10query.t,perl/util.i.in: Fix building a
3167 Query from subqueries which are themselves Query objects. Patch
3170 Mon Sep 27 13:00:33 GMT 2010 Olly Betts <olly@survex.com>
3172 * php/Makefile.am: Fix $(PHP_MAJOR_VERSION) to literal 5 in two places.
3174 Mon Sep 27 12:51:19 GMT 2010 Olly Betts <olly@survex.com>
3176 * configure.ac: Need python in maintainer mode to run doxy2swig.py.
3178 Wed Sep 08 03:10:33 GMT 2010 Olly Betts <olly@survex.com>
3180 * perl/t/01use.t: Revert debug change, as it has served its purpose.
3181 * configure.ac: Handle the "_svn<rev>" suffix of snapshot versions
3182 specially for Perl, to match how this is handled for Search::Xapian.
3184 Wed Sep 08 02:00:34 GMT 2010 Olly Betts <olly@survex.com>
3186 * perl/t/01use.t: This test is mysteriously failing in the snapshot
3187 builder, so add a line of code to help debug this.
3189 Wed Sep 08 00:24:58 GMT 2010 Olly Betts <olly@survex.com>
3191 * java-swig/Makefile.am: Remove commented out SUBDIRS line.
3193 Wed Sep 08 00:24:22 GMT 2010 Olly Betts <olly@survex.com>
3195 * perl/Makefile.am: Fix to create docs subdirectory when srcdir !=
3198 Tue Sep 07 11:54:58 GMT 2010 Olly Betts <olly@survex.com>
3200 * ruby/Makefile.am,ruby/docs/generate-rdoc-stubs,
3201 ruby/generate-rdoc-stubs: Fix generation of rdocs to work when srcdir
3202 != buildir (broken by last but one commit).
3204 Tue Sep 07 10:46:36 GMT 2010 Olly Betts <olly@survex.com>
3206 * configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am: Eliminate
3207 csharp/docs/Makefile.am similarly.
3209 Tue Sep 07 10:28:25 GMT 2010 Olly Betts <olly@survex.com>
3211 * configure.ac,php/Makefile.am,php/docs/Makefile.am,python/Makefile.am,
3212 python/docs/Makefile.am,ruby/Makefile.am,ruby/docs/Makefile.am,
3213 tcl8/Makefile.am,tcl8/docs/Makefile.am: Eliminate separate
3214 Makefile.am in docs subdirectory of each language subdirectory and
3215 just inline any rules into the main sub-Makefile.am, which allows
3216 make to run more of the build in parallel.
3218 Tue Sep 07 10:19:55 GMT 2010 Olly Betts <olly@survex.com>
3220 * configure.ac,perl/Makefile.am: Install
3221 architecture-independent perl files in the appropriate directory.
3222 * perl/Makefile.am,perl/lib/,perl/Search/Xapian/: Structure source
3223 and build trees more like installed tree so we don't need to create
3224 symlinks to run tests in the uninstalled tree. Fix tests to work
3225 when srcdir != builddir.
3227 Mon Sep 06 05:40:34 GMT 2010 Olly Betts <olly@survex.com>
3229 * configure.ac: Don't try to generate perl/docs/Makefile.
3231 Mon Sep 06 05:37:06 GMT 2010 Olly Betts <olly@survex.com>
3233 * perl/Makefile.am,perl/docs/Makefile.am: Merge perl/docs/Makefile.am
3234 into perl/Makefile.am and fix to install.
3236 Mon Sep 06 03:30:58 GMT 2010 Olly Betts <olly@survex.com>
3238 * perl/Makefile.am: Fix "make clean" to work properly.
3240 Mon Sep 06 03:17:01 GMT 2010 Olly Betts <olly@survex.com>
3242 * perl/Makefile.am: Fix path to index.html in rule.
3244 Mon Sep 06 02:43:47 GMT 2010 Olly Betts <olly@survex.com>
3246 * perl/t/: Update with newer testcases from Search::Xapian.
3248 Mon Sep 06 02:27:35 GMT 2010 Olly Betts <olly@survex.com>
3250 * perl/Makefile.am: Build shared object as Xapian.la not xapian.la as
3251 Perl looks for it capitalised.
3253 Mon Sep 06 02:14:06 GMT 2010 Olly Betts <olly@survex.com>
3255 * configure.ac: No need to m4 quote shell fragments without [] in.
3256 Remove trailing ; from statements.
3258 Mon Sep 06 02:07:11 GMT 2010 Olly Betts <olly@survex.com>
3260 * configure.ac: Whitespace tweaks.
3262 Mon Sep 06 02:02:42 GMT 2010 Olly Betts <olly@survex.com>
3264 * configure.ac: Tweak help message for PERL_INC.
3266 Sun Sep 05 23:24:05 GMT 2010 Olly Betts <olly@survex.com>
3268 * Merge Kosei's SWIG-based Perl bindings from GSoC 2009.
3270 Sun Sep 05 12:55:13 GMT 2010 Olly Betts <olly@survex.com>
3272 * INSTALL: Fix typo ("Ruby" should be "Perl").
3274 Sun Sep 05 12:49:20 GMT 2010 Olly Betts <olly@survex.com>
3276 * configure.ac: Remove accidentally added ';' from Ruby checks.
3278 Fri Aug 14 16:45:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3280 * perl/lib/:Add "1;" into end of lib/*.pm files.
3282 Thu Aug 13 12:36:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3284 * perl/util.i.in:Fix some lines and clean up code.
3286 Wed Aug 12 14:11:49 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3288 * INSTALL,perl/util.i.in:Add and fix some lines to describe
3289 SWIG based perl biding.
3291 Wed Aug 12 12:59:30 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3293 * perl/Makefile.am,perl/docs/index.html:Fix Makefile to
3294 generate docs/index.html from pod document of Search::Xapian.
3296 Wed Aug 12 09:32:17 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3298 * perl/util.i.in:Remove and replace some lines and clean
3301 Wed Aug 12 06:22:31 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3303 * perl/Makefile.am,perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/,
3304 perl/util.i.in:Remove perl code from lib/*.pm files, add pod
3305 document of Search::Xapian to util.i.in, and fix test environment
3306 and test programs in Makefile.am.
3308 Tue Aug 11 10:01:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3310 * perl/util.i.in:Fix set_sort_by_key(), set_sort_by_key_then_relevance()
3311 and set_sort_by_relevance_then_key() of Enquire using %feature("shadow")
3314 Mon Aug 10 16:11:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3316 * perl/t/search.t: Modifire some tests to use get_termname()
3317 instead of stringification operator because now we haven't
3318 support it, and remove some machdecider tests since we also
3320 * perl/util.i.in:Fix MSetIterator::clone(), remove
3321 MSetIterator::get_docid() since same function is already
3322 defined at xapian.i, and add overloaded operators of
3325 Mon Aug 10 16:03:10 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3327 * perl/util.i.in:Add CLONE_SKIP functions for thread support.
3329 Sat Aug 08 03:35:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3331 * perl/util.i.in:Fix internal function call of MSet::FETCH.
3333 Fri Aug 07 15:29:21 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3335 * perl/util.i.in:Add tie support of MSetIterator and
3336 ESetIterator. Wrap function MSet::matches() and
3337 MSet::items(). Add class MSet::Tied. Wrap overload operators
3340 Fri Aug 07 06:03:05 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3342 * perl/lib/TermIterator.pm,perl/lib/ValueIterator.pm,
3343 perl/t/document.t,perl/t/index.t,perl/util.i.in:
3344 Remove "" operator wrapping, modify test cases and
3345 pod documents. Because modifying SWIG is needed to
3346 support "" operator.
3348 Thu Aug 06 08:29:25 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3350 * perl/util.i.in:Wrap operator overload of MSetIterator.
3352 Wed Aug 05 14:42:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3354 * perl/util.i.in:Replace each iterator's function 'inc()'
3355 to 'increment()', which is macro 'NEXT' defined in xapian.i
3356 and renamed in per/util.i, because both two function's
3359 Wed Aug 05 14:39:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3361 * perl/util.i.in:Remove new object constructing operation
3362 in TermIterator's inc() function. Because it prevents a
3363 destruction of other object (such as WritableDatabase).
3365 Fri Jul 31 16:32:19 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3367 * perl/util.i.in:Add constant variable FLAG_SPELLING for
3368 TermGenerator::set_flags().
3370 Fri Jul 31 16:28:53 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3372 * perl/util.i.in:Replace get_mset() definition to %rename.
3374 Thu Jul 30 11:54:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3376 * perl/util.i.in:Modifying some proxy functions using %feature("shadow")
3377 directive for removing repeatedly defined functions (constructor of
3378 QueryParser, SimpleStopper and WritableDatabase).
3380 Wed Jul 29 10:04:51 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3382 * perl/t/index.t,perl/t/parser.t: Fix exception tests because
3383 previous test suppose working of XS binding with bug.
3385 Wed Jul 29 01:24:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3387 * perl/util.i.in:Fix add_valuerangeprocessor to push
3388 ValueRangeProcessors object into it's member array
3389 since storing all ValueRangeProcessors objects which
3392 Tue Jul 28 06:09:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3394 * perl/util.i.in:Fix set_stopper of TermGenerator to keep
3395 SimpleStopper reference in the object for it won't be deleted.
3396 Similar fix for set_sort_by_key, set_sort_by_key_then_relevance,
3397 set_sort_by_relevance_then_key to keep MultiValueSorter.
3399 Tue Jul 28 03:56:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3401 * perl/util.i.in:Fix set_stopper to keep SimpleStopper reference
3402 in object for it won't be deleted. Same fix for add_valuerangeprocessor.
3404 Mon Jul 27 09:31:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3406 * perl/util.i.in:Add operator overload support for PositionIterator,
3407 fix new3_WritableDatabase, and TermIterator::clone for overloading
3410 Mon Jul 27 06:40:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3412 * perl/util.i.in:Add function new3_WritableDatabase and
3413 WritableDatabase::new to construct WritableDatabase
3416 Thu Jul 23 16:58:26 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3418 * perl/util.i.in: Wrap functions SimpleStopper::stop_word,
3419 QueryParser::new and SimpleStopper::new.
3421 Wed Jul 22 15:23:39 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3423 * perl/util.i.in:Add wrapper functions for Stem::stem_word,
3424 WritableDatabase::replace_document_by_term,
3425 writabledatabase::delete_document_by_term,
3426 some ValueIterator functions and some TermIterator functions.
3427 Add operator overload support for ValueIterator and
3428 TermIterator, but now double quotation operator is
3429 commented out temporarily to avoid error.
3431 Tue Jul 21 17:20:01 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3433 * perl/Makefile.am:Fix the way of compile xapian_wrap.cc
3434 and Xapian.pm for multiple file compilation.
3436 Tue Jul 21 17:05:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3438 * perl/util.i.in:Ignore Xapian::Query::Query for taking away
3439 duplication of definition. Change some argument handling process
3440 of Xapian::Query::new* functions.
3442 Mon Jul 20 13:37:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3444 * perl/util.i.in: Add wrapper function get_mset() and it's
3445 internal function get_mset1. Fix newN() function to handle
3446 multiple query argument well by introducing typemap which
3447 maps perl array to SV **.
3449 Fri Jul 17 14:52:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3451 * perl/Makefile.am,perl/generate-perl-exceptions: Add exception
3452 wrapping referring python/generate-python-exceptions and
3453 search-xapian/handle_exception.cc .
3455 Thu Jul 16 13:45:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3457 * perl/util.i.in:Rename constructors of Query and Enquire::set_query,
3458 add wrapper function newN for generatig new query, add function
3459 Database::enquire, Query::new and Enquire::set_query.
3461 Tue Jul 14 15:02:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3463 * configure.ac: Fix PERL_XAPIAN_VERSION to get binding's
3464 version number. Previously it gets from xaian-core's one.
3466 Tue Jul 14 07:52:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3468 * perl/Makefile.am: Add some options for testing.
3469 * perl/util.i.in: Fix for variable $VERSION.
3471 Mon Jul 13 11:43:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3473 * perl/util.i.in: Add a valiable $VERSION for adjusting
3474 usage how to get version number.
3476 Mon Jul 13 11:32:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3478 * perl/Makefile.am: Add swig's -const and -proxy option to
3479 wrap constant values correctly.
3480 * perl/util.i.in: Add %constant directive for wraipping
3481 constant values. Fix generation process of OP_NAMES, DB_NAMES,
3482 FLAG_NAMES and STEM_NAMES because of change of above constant
3485 Sun Jul 12 23:47:54 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3487 * perl/util.i.in: Fix that array OP_NAMES, DB_NAMES, FLAG_NAMES
3488 and STEM_NAES could contain values correctory.
3489 * perl/Makefile.am: Fix a spelling mistake.
3491 Mon Jul 06 05:50:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3493 * perl/Makefile.am,perl/util.i.in: Add some hashes such as EXPORT_TAGS
3494 for exporter module. And add arrays OP_NAMES, DB_NAMES, FLAG_NAMES and
3495 STEM_NAMES to util.i.in.
3496 * perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/:Rename directory
3497 name 'Xapian' to 'lib' to process Test::Pod.
3499 Sun Jun 28 20:44:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3501 * configure.ac,perl/util.i,perl/util.i.in: Add VERSION variable
3502 into Xapian.pm. To do this, add #define directive into perl/util.i
3503 and get version number from configure.
3505 Sun Jun 28 17:56:03 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3507 * perl/Makefile.am: To override module name (from 'xapian'
3508 to 'Search::Xapian') add swig's '-module Search::Xapian' option,
3509 change test environment from 'perl' to 'prove', and change directory
3510 to install Xapian.pm.
3511 * configure.ac: Remove '/auto/Search/Xapian' from PERL_LIB variable,
3512 and add dot into PERL_SO variable.
3514 Mon Jun 22 02:53:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3516 * configure.ac,perl/Makefile.am: Add configure test to get appropriate
3517 setting for directories to install perl files into. Also add test to
3518 get perl module extension.
3519 * perl/util.i: Add %rename directive to rename "next()" function in
3520 xapian-bindings/xapian.i and "next(Xapian::weight min_wt)" function
3521 in xapian-core/include/xapian/postingsource.h because these functions
3522 conflicts perl's "next" keyword.
3524 Sun Jun 21 21:45:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3526 * perl/xapian.pm: remove a generated file (xapian.pm) from repository.
3527 * ChangeLog: add log message of revision 12910 (Mon Jun 15 17:58:09 GMT 2009).
3529 Mon Jun 15 17:58:09 GMT 2009 Kosei Moriyama <cou929@gmail.comm>
3531 * Makefile.am,configure.ac: Add --with-perl configure option,
3532 and add configure test to get appropriate setting for include
3534 * perl/Makefile.am, perl/docs/Makefile.am,
3535 perl/docs/examples/, perl/docs/index.html,
3536 perl/t/, perl/util.i, perl/xapian.pm: Add perl subdirectory to
3539 Wed Aug 25 15:15:36 GMT 2010 Olly Betts <olly@survex.com>
3541 * configure.ac: Use sys.version_info tuple, rather than string splicing
3542 which assumes the Python "major.minor" is 3 characters (which would
3543 fail if Python 2.10 were ever released, for example).
3545 Tue Aug 24 06:02:17 GMT 2010 Olly Betts <olly@survex.com>
3547 * NEWS,configure.ac: Update for 1.2.3.
3549 Tue Aug 24 05:09:10 GMT 2010 Olly Betts <olly@survex.com>
3551 * xapian-bindings.spec.in: Don't run autoreconf - it's no longer
3554 Sun Jun 27 05:24:00 GMT 2010 Olly Betts <olly@survex.com>
3556 * NEWS,configure.ac: Update for 1.2.2.
3558 Sat Jun 26 16:01:26 GMT 2010 Olly Betts <olly@survex.com>
3560 * NEWS.SKELETON: Template NEWS entry.
3562 Thu Jun 24 15:19:10 GMT 2010 Olly Betts <olly@survex.com>
3564 * php/util.i: COMPILE_DL_XAPIAN is no longer used now we have dropped
3565 PHP4 support, so remove.
3567 Tue Jun 22 15:18:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3569 * python/pythontest3.py,python/smoketest3.py: Update python3 tests
3570 to match the changes in the python 2 versions. (They're not
3571 expected to work currently, though, due to unicode handling
3572 problems with the python 3 wrappers.)
3574 Tue Jun 22 15:17:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3576 * python/extra.i: Remove wrapping of QueryParser.set_stemmer() and
3577 TermGenerator.set_stemmer(), which isn't needed with the better
3578 way of handling ownership of python stemmer subclasses which Olly
3579 committed in r14742.
3581 Tue Jun 22 13:42:27 GMT 2010 Olly Betts <olly@survex.com>
3583 * NEWS,configure.ac: Update for 1.2.1.
3585 Tue Jun 22 13:23:49 GMT 2010 Olly Betts <olly@survex.com>
3587 * csharp/Makefile.am: Now get StemImplementation.cs instead of
3588 SWIGTYPE_p_Xapian__StemImplementation.cs.
3589 * java-swig/Makefile.am: Add StemImplementation.java.
3591 Tue Jun 22 13:22:10 GMT 2010 Olly Betts <olly@survex.com>
3593 * csharp/util.i,java-swig/util.i: XAPIAN_SWIG_NO_DISOWN is no longer
3594 needed, so revert that.
3596 Tue Jun 22 11:18:41 GMT 2010 Olly Betts <olly@survex.com>
3598 * xapian.i: We don't need to use the DISOWN typemap now.
3600 Tue Jun 22 10:55:03 GMT 2010 Olly Betts <olly@survex.com>
3602 * python/extra.i: Call __disown__() on the StemImplementation rather
3603 than storing a reference to it.
3605 Tue Jun 22 10:19:49 GMT 2010 Olly Betts <olly@survex.com>
3607 * python/smoketest2.py: Add coverage for wrapping the same MyStemmer
3608 in a xapian.Stem more than once.
3610 Tue Jun 22 10:17:23 GMT 2010 Olly Betts <olly@survex.com>
3612 * python/smoketest2.py: Check that all MyStemmer objects get deleted,
3613 and that none get deleted more than once.
3615 Tue Jun 22 08:29:11 GMT 2010 Richard Boulton <richard@tartarus.org>
3617 * python/extra.i: Wrap Stem.__init__, QueryParser.set_stemmer, and
3618 TermGenerator.set_stemmer to put a reference to the python
3619 object supplied into the object which will be using it. This
3620 ensures that the python object doesn't get deleted too soon, and
3621 hopefully fixes #448.
3622 * python/smoketest2.py: Modify test so that a reference to the
3623 newly created stemmer objects isn't explicitly held, to check
3624 that automatic references are being held correctly.
3626 Mon Jun 21 13:17:01 GMT 2010 Olly Betts <olly@survex.com>
3628 * NEWS: Sync with 1.0.21 and update from ChangeLog.
3630 Mon Jun 21 05:58:52 GMT 2010 Olly Betts <olly@survex.com>
3632 * python/smoketest2.py,xapian.i: Sort out disowning of
3633 StemImplementation so you don't need to call __disown__() explicitly.
3636 Sat Jun 12 11:57:55 GMT 2010 Olly Betts <olly@survex.com>
3638 * python/pythontest2.py: Fix testcase weight_normalise - for a
3639 non-existent term, get_max_possible() can now return zero so you
3640 can't calculate the reciprocal of it.
3642 Sat Jun 12 06:25:08 GMT 2010 Olly Betts <olly@survex.com>
3644 * python/util.i: Add workaround so xapian.BAD_VALUENO is a constant
3645 rather than variable which can't be written to. (ticket#297)
3646 * python/smoketest2.py: Add regression test for this by checking that
3647 xapian.cvar doesn't exist.
3649 Thu Jun 10 04:26:31 GMT 2010 Olly Betts <olly@survex.com>
3651 * xapian.i: Change MatchDecider and ExpandDecider dtors to be
3652 declarations rather than empty definitions (should make no
3653 difference, but it's cleaner if they match the Xapian headers).
3655 Wed Jun 09 13:44:25 GMT 2010 Olly Betts <olly@survex.com>
3657 * xapian.i: Only mark Xapian::StemImplementation as a director class if
3658 we aren't ignoring it.
3660 Wed Jun 09 13:36:54 GMT 2010 Olly Betts <olly@survex.com>
3662 * python/Makefile.am: Fix cleaning of test directories to use "rm -rf"
3663 rather than "rm -f".
3665 Thu Jun 03 15:21:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3667 * csharp/Makefile.am: Add missing
3668 SWIGTYPE_p_Xapian__StemImplementation.cs file.
3670 Tue Jun 01 16:23:23 GMT 2010 Olly Betts <olly@survex.com>
3672 * csharp/util.i,java-swig/util.i,python/generate-python-exceptions,
3673 python/smoketest2.py,xapian.i: Wrap Xapian::StemImplementation.
3674 Currently only tested for Python, and requires explicit use of
3677 Thu May 27 22:30:54 GMT 2010 Olly Betts <olly@survex.com>
3679 * xapian.i: Ignore Xapian::StemImplementation for now so that the
3680 tree builds while I sort out wrapping it properly.
3682 Thu May 27 09:34:13 GMT 2010 Olly Betts <olly@survex.com>
3684 * php/except.i: zend_throw_exception() returns, so we should return
3685 control to PHP directly after calling it to avoid needless extra
3686 work and possible issues.
3688 Wed May 19 09:12:36 GMT 2010 Richard Boulton <richard@tartarus.org>
3690 * python/extra.i: Ensure that __all__ is populated after local
3691 symbols are deleted - this fixes "from xapian import *". Fixes
3693 * python/pythontest2.py,python/test_xapian_star.py: Add a test that
3694 "from xapian import *" works - unfortunately, this requires a
3695 separate file, since the syntax is only valid at module level,
3696 and we don't want to pollute the namespace of the rest of the
3699 Sun May 16 13:27:17 GMT 2010 Olly Betts <olly@survex.com>
3701 * java-swig/Makefile.am: Update list of generated java sources.
3703 Sun May 16 12:05:29 GMT 2010 Olly Betts <olly@survex.com>
3705 * Makefile.am,configure.ac,guile/Makefile.am,guile/util.i: Remove
3706 non-functional disabled guile bindings left over from Open Muscat
3707 days - if someone wanted to add guile bindings, it would be easier to
3710 Tue May 04 19:47:40 GMT 2010 Richard Boulton <richard@tartarus.org>
3712 * python/replicationtest2.py: Some modifications to the replication
3713 test to check that changesets get applied correctly.
3715 Tue May 04 15:26:53 GMT 2010 Olly Betts <olly@survex.com>
3717 * python/smoketest2.py: Check len(mset) works (improving test coverage
3718 of Python-specific wrapping).
3720 Wed Apr 28 10:43:28 GMT 2010 Olly Betts <olly@survex.com>
3722 * NEWS: Sync with 1.0.20.
3724 Wed Apr 28 10:41:45 GMT 2010 Olly Betts <olly@survex.com>
3726 * configure.ac: Tell libtool not to link in deplibs on platforms where
3727 we know they aren't needed.
3728 * configure.ac: On Linux, extract the library search path from ldconfig
3729 which gives us the default entries reliably.
3730 * NEWS,configure.ac: 1.2.0.
3732 Wed Apr 21 03:09:49 GMT 2010 Olly Betts <olly@survex.com>
3734 * configure.ac: Fix typo so path to ruby is reported in Ruby < 1.8 is
3737 Tue Apr 20 11:57:03 GMT 2010 Olly Betts <olly@survex.com>
3739 * python/Makefile.am: Set a sh trap to clean up any .pyc files created
3740 by running a testsuite program. Remove *.pyc (not just
3741 testsuite.pyc) on "make clean".
3743 Tue Apr 20 11:06:55 GMT 2010 Olly Betts <olly@survex.com>
3745 * python/Makefile.am: Set PYTHONDONTWRITEBYTECODE=1 in the environment
3746 to prevent generating .pyc files in srcdir for Python >= 2.6. Partly
3747 addresses ticket#315.
3749 Thu Apr 15 04:36:01 GMT 2010 Olly Betts <olly@survex.com>
3751 * NEWS,configure.ac: Update for 1.1.5.
3753 Wed Mar 03 06:25:54 GMT 2010 Olly Betts <olly@survex.com>
3755 * tcl8/docs/index.html: Document WritableDatabase's close method as
3756 a way to sidestep the whole destructor issue. (ticket#62)
3757 Improve wording in a few places.
3759 Mon Feb 15 14:01:20 GMT 2010 Olly Betts <olly@survex.com>
3761 * configure.ac: Update for 1.1.4.
3763 Mon Feb 15 13:46:41 GMT 2010 Olly Betts <olly@survex.com>
3765 * NEWS: Fix typo in 1.1.3 NEWS. Add missing note that 1.1.3
3766 includes all relevant changes from 1.0.15-1.0.17. Add note that
3767 1.1.4 includes all relevant changes from 1.0.18.
3769 Mon Feb 15 13:17:39 GMT 2010 Olly Betts <olly@survex.com>
3771 * NEWS: Update from ChangeLog and 1.0.18.
3773 Mon Feb 15 12:17:03 GMT 2010 Olly Betts <olly@survex.com>
3775 * php/util.i: Remove (C) header since the code it was added for was
3778 Fri Feb 05 11:42:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3780 * csharp/Makefile.am,php/smoketest.php,php/util.i,python/extra.i,
3781 python/pythontest2.py,python/util.i: Update to match the removal
3782 of ValueCountMatchSpy from core.
3784 Wed Feb 03 17:52:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3786 * xapian.i: Add wrappers for Database::get_doclength_lower_bound(),
3787 Database::get_doclength_upper_bound(),
3788 Database::get_wdf_upper_bound() for all languages. Also, expose
3789 the skip_to() and check() methods on ValueIterator, and expose
3790 Database::valuestream_begin() and Database::valuestream_end().
3792 * python/: Add ValueStreamItem and ValueStreamIter to wrap the
3793 iterators returned from the valuestream methods. Wrap and
3794 replace the C++ valuestream_begin() and valuestream_end() methods
3795 with a Database.valuestream() method which returns a
3796 ValueStreamIter. Add a test for this (test_valuestream_iter()).
3797 * ruby/: Add safe wrapper for the valuestream iterator, add a
3798 "docid" member to the Value wrapper for ValueIterator, and add a
3801 Wed Feb 03 15:17:27 GMT 2010 Richard Boulton <richard@tartarus.org>
3803 * ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Wrap and test
3804 ValueCountMatchSpy::values_begin() and values_end() for ruby.
3806 Wed Feb 03 15:11:39 GMT 2010 Richard Boulton <richard@tartarus.org>
3808 * python/docs/index.html: Document ValueCountMatchSpy.values() and
3811 Wed Feb 03 15:09:09 GMT 2010 Richard Boulton <richard@tartarus.org>
3813 * python/extra.i,python/pythontest2.py: Wrap the
3814 ValueCountMatchSpy::values_begin() and values_end() methods as a
3815 values() pythonic iterator.
3817 Wed Feb 03 13:37:22 GMT 2010 Richard Boulton <richard@tartarus.org>
3819 * python/util.i: Remove unused typemap pair which was used for
3820 wrapping the old ValueCountMatchSpy::get_top_values() method.
3822 Wed Feb 03 13:22:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3824 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
3825 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Update to add
3826 support and tests for the new TermIterator-based
3827 ValueCountMatchSpy::top_values methods. Also for the removal of
3828 StringAndFrequency from the API.
3830 Tue Feb 02 15:28:28 GMT 2010 Richard Boulton <richard@tartarus.org>
3832 * python/Makefile.am: Comment out replicationtest by default again;
3833 it's still not reliable.
3835 Tue Feb 02 15:22:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3837 * csharp/Makefile.am: Remove one more reference to NumericRange
3838 which slipped through the net.
3840 Tue Feb 02 15:18:57 GMT 2010 Richard Boulton <richard@tartarus.org>
3842 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,xapian.i:
3843 Remove NumericRanges from trunk - their API is still uncertain,
3844 so I want to do a bit more development work on them on the
3845 matchspy branch before committing to support them for several
3848 Tue Feb 02 14:05:07 GMT 2010 Richard Boulton <richard@tartarus.org>
3850 * python/Makefile.am: replicationtest.py should be working now, so
3851 re-enable it. If it still fails occasionally, I'd like to
3852 investigate why; it works for me.
3854 Tue Feb 02 14:03:26 GMT 2010 Richard Boulton <richard@tartarus.org>
3856 * python/replicationtest2.py: Fix the replication test to work; was
3857 broken by the change to chert as the default database format.
3858 The tests needs to fiddle with the database's uuid to simulate
3859 various situations, so now needs to fiddle with the iamchert file
3860 instead of the uuid file.
3862 Tue Feb 02 13:52:17 GMT 2010 Richard Boulton <richard@tartarus.org>
3864 * xapian-head.i: Remove <xapian/replication.h> include which I'd
3867 Tue Feb 02 13:02:00 GMT 2010 Richard Boulton <richard@tartarus.org>
3869 * xapian.i: Remove the replication API from the bindings. Access
3870 to replication, for now, is via the command-line scripts: this is
3871 similar to the access to running a remote database server, and
3872 the access to database compaction and checking. See ticket #347
3873 for some commentary.
3875 Tue Feb 02 12:56:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3877 * php/smoketest.php,php/util.i,python/extra.i,python/pythontest2.py:
3878 Add copyright lines missed from the previous two commits.
3880 Tue Feb 02 12:37:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3882 * php/smoketest.php,php/util.i: Add typemap to convert the output
3883 for ValueCountMatchSpy::get_values() to an array, and test for it.
3886 Tue Feb 02 11:46:59 GMT 2010 Richard Boulton <richard@tartarus.org>
3888 * python/extra.i,python/pythontest2.py: Fix bug in
3889 Enquire.clear_matchspies(), and add regression test.
3891 Tue Dec 22 23:09:03 GMT 2009 Olly Betts <olly@survex.com>
3893 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/docs/generate-rdoc-stubs,
3894 ruby/generate-rdoc-stubs: Adjust the rdoc generation code to avoid
3895 including a reference to a mysterious "rdoc.rb" with an ugly path.
3897 Tue Dec 22 12:37:20 GMT 2009 Olly Betts <olly@survex.com>
3899 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
3900 php/docs/index.html,python/docs/index.html,ruby/docs/index.html,
3901 tcl8/docs/index.html,xapian-head.i,xapian.i: Update for the new
3904 Fri Dec 18 00:47:34 GMT 2009 Olly Betts <olly@survex.com>
3906 * ruby/docs/Makefile.am: Fix the fixed fix for the previous fix.
3908 Thu Dec 17 14:52:03 GMT 2009 Olly Betts <olly@survex.com>
3910 * ruby/docs/Makefile.am: Fix fix for previous fix.
3912 Thu Dec 17 00:12:45 GMT 2009 Olly Betts <olly@survex.com>
3914 * ruby/docs/Makefile.am: Fix previous fix.
3916 Wed Dec 16 12:56:45 GMT 2009 Olly Betts <olly@survex.com>
3918 * ruby/docs/Makefile.am: Fix previous change to work in VPATH build.
3920 Wed Dec 16 08:21:43 GMT 2009 Olly Betts <olly@survex.com>
3922 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/generate-rdoc-stubs,
3923 ruby/xapian.rb: Generate entries in the rdocs for all classes which
3924 aren't documented via xapian.rb. Fixes ticket#417.
3926 Mon Dec 07 01:15:49 GMT 2009 Olly Betts <olly@survex.com>
3928 * ruby/docs/Makefile.am: Run rdoc with the current directory set to
3929 where xapian.rb is so we don't build absolute paths into the
3930 generated HTML. Should address part of ticket#417.
3932 Thu Dec 03 06:07:07 GMT 2009 Olly Betts <olly@survex.com>
3934 * php/util.i: Use const string & instead of string.
3936 Wed Nov 18 10:56:54 GMT 2009 Olly Betts <olly@survex.com>
3938 * NEWS,configure.ac: Update for 1.1.3.
3940 Wed Nov 18 02:56:22 GMT 2009 Olly Betts <olly@survex.com>
3942 * NEWS: Update from 1.0.17 and ChangeLog.
3944 Tue Nov 03 06:09:39 GMT 2009 Olly Betts <olly@survex.com>
3946 * java/native/Enquire.cc: Fix memory leak when passing a matchdecider
3947 to Enquire::get_mset().
3949 Thu Oct 29 09:40:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3951 * php/except.i: Add a call to TSRMLS_FETCH to start of
3952 XapianExceptionHandler(), as seems to be required by PHP if
3953 compiled with multithreaded mode. Fixes #411.
3955 Thu Sep 17 15:20:14 GMT 2009 Olly Betts <olly@survex.com>
3957 * xapian.i: Update the comment about visibility.h and deprecated.h and
3960 Thu Sep 17 15:13:55 GMT 2009 Olly Betts <olly@survex.com>
3962 * csharp/Makefile.am,python/generate-python-exceptions,xapian.i:
3963 Update for the Sorter->KeyMaker changes.
3965 Thu Sep 17 13:11:47 GMT 2009 Olly Betts <olly@survex.com>
3967 * NEWS: Update from ChangeLog.
3969 Thu Sep 17 12:59:22 GMT 2009 Olly Betts <olly@survex.com>
3971 * xapian.i: Ignore PostingSource::serialise(), Weight::serialise()
3972 and Weight::unserialise() as they aren't useful to wrap.
3974 Tue Sep 15 02:11:06 GMT 2009 Olly Betts <olly@survex.com>
3976 * python/Makefile.am: Restore the "./" path to the sourced file
3977 libtoolconfig.tmp as ksh requires it.
3979 Fri Sep 11 00:50:38 GMT 2009 Olly Betts <olly@survex.com>
3981 * xapian-bindings.spec.in: Add support for building RPM packages of
3982 Ruby, from a patch from Ben Walton.
3984 Fri Sep 11 00:28:47 GMT 2009 Olly Betts <olly@survex.com>
3986 * xapian-bindings.spec.in: Improve package summaries - the files are
3987 needed to *use* scripts as well as to develop them. Use "Tcl"
3988 instead of "TCL" as the former is more conventional.
3990 Thu Sep 10 13:33:57 GMT 2009 Olly Betts <olly@survex.com>
3992 * configure.ac: Comment tweak.
3994 Thu Sep 10 13:24:52 GMT 2009 Olly Betts <olly@survex.com>
3996 * configure.ac: Default to looking for xapian-config-1.1.
3998 Thu Sep 10 06:49:10 GMT 2009 Olly Betts <olly@survex.com>
4000 * NEWS: Sync changes from 1.0.15 and 1.0.16 and update from ChangeLog.
4002 Wed Aug 26 14:44:33 GMT 2009 Olly Betts <olly@survex.com>
4004 * ruby/docs/index.html: www.xapian.org -> xapian.org.
4006 Wed Aug 26 05:37:25 GMT 2009 Olly Betts <olly@survex.com>
4008 * python/Makefile.am: No need for "./" relative path on sourced file.
4010 Mon Aug 17 12:46:17 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4012 * csharp/Makefile.am: Add missing assemblys.
4014 Mon Aug 17 07:39:32 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4016 * python/extra.i: Add support to the NumericRanges object to get
4017 the ranges as a dict.
4018 * python/util.i: Fix a memory leak on error (in theory - I've not
4019 got a way to generate this error, so haven't been able to produce
4020 the leak or test the fix).
4021 * python/pythontest2.py: Update tests to cover new NumericRanges
4024 Mon Aug 10 13:09:12 GMT 2009 Olly Betts <olly@survex.com>
4026 * csharp/Makefile.am,xapian.i: Update for SerialisationContext to
4029 Sun Aug 02 12:21:05 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4031 * python/pythontest3.py: Sync with pythontest2.
4033 Sun Aug 02 12:19:24 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4035 Merge from matchspy branch
4036 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
4037 python/util.i,xapian.i: Add support for new MatchSpy class, and
4038 the matchspy.h header.
4040 Sat Aug 01 10:07:02 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4042 * python/pythontest3.py: Update to match pythontest2.py (after 2to3
4045 Sat Aug 01 09:58:32 GMT 2009 Olly Betts <olly@survex.com>
4047 * php/Makefile.am,php/smoketest.php,php/smoketest5.php: Merged the PHP
4048 "smoketest" back together now we don't need to support PHP4 as well.
4050 Sun Jul 26 21:55:47 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4052 * python/doxy2swig.py: Tell textwrap not to break long words -
4053 fixes a load of places in the documentation comments where C++
4054 names and type names were cut in two. Also fixes a problem on
4055 the postingsource branch where actual python identifiers were
4056 being cut in two (for some very long identifiers).
4058 Thu Jul 23 04:13:02 GMT 2009 Olly Betts <olly@survex.com>
4060 * NEWS,configure.ac: Update for 1.1.2.
4062 Tue Jul 21 17:12:06 GMT 2009 Olly Betts <olly@survex.com>
4064 * NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.
4066 Tue Jul 21 04:38:51 GMT 2009 Olly Betts <olly@survex.com>
4068 * python/extra.i: Sort out iterators to work with the Python 3
4069 next()/__next__() changes. (ticket#246)
4071 Tue Jul 21 03:37:38 GMT 2009 Olly Betts <olly@survex.com>
4073 * python/extra.i: Python 3 doesn't support unbound methods, so use
4074 lambda to work around this in a way which also works with Python 2.
4076 Mon Jul 20 14:51:10 GMT 2009 Olly Betts <olly@survex.com>
4078 * python/util.i: Remove unused empty Xapian::PythonProblem C++ class.
4080 Mon Jul 20 14:46:24 GMT 2009 Olly Betts <olly@survex.com>
4082 * python/pythontest2.py,python/pythontest3.py: Cast the result of
4083 integer division to an integer - in Python 3 this returns a float
4084 and even in Python 2 the cast makes the intent clearer.
4086 Mon Jul 20 14:03:39 GMT 2009 Olly Betts <olly@survex.com>
4088 * python/extra.i,python/util.i: Use a multi-arg argout typemap to
4089 avoid having to mess around with ValueRangeProcessor.__call__().
4091 Mon Jul 20 12:54:51 GMT 2009 Olly Betts <olly@survex.com>
4093 * python/extra.i,python/util.i: Use %rename for renaming get_hit to
4094 _get_hit_internal. Taken from patch in ticket #246.
4096 Mon Jul 20 12:32:10 GMT 2009 Olly Betts <olly@survex.com>
4098 * python/extra.i,python/util.i: Rename metadata_keys_begin and
4099 metadata_keys_end using %rename rather than using delete and
4100 assignment in Python. This should reduce start-up time for the
4101 Python bindings a fraction. Taken from Peter Kelm's patch in
4104 Mon Jul 20 11:58:30 GMT 2009 Olly Betts <olly@survex.com>
4106 * python/Makefile.am: Need to run doxy2swig.py from $(srcdir).
4108 Mon Jul 20 03:31:44 GMT 2009 Olly Betts <olly@survex.com>
4110 * configure.ac,python/doxy2swig.py,python/doxy2swig.py.in: We
4111 explicitly run doxy2swig.py from the Makefile using $(PYTHON) so
4112 there is no need to AC_CONFIG_FILES it to substitute @PYTHON@ in the
4115 Mon Jul 20 02:40:09 GMT 2009 Olly Betts <olly@survex.com>
4117 * python/pythontest3.py,python/smoketest3.py: Fix "from .testsuite
4118 import *" to "from testsuite import *".
4120 Fri Jun 26 10:24:51 GMT 2009 Olly Betts <olly@survex.com>
4122 * ruby/smoketest.rb: Add regression test for failing to accept an
4123 integer value > MAXINT for a double parameter, fixed by upgrading
4124 to using the latest SWIG SVN trunk.
4126 Wed Jun 10 01:12:23 GMT 2009 Olly Betts <olly@survex.com>
4128 * configure.ac: Update for 1.1.1.
4130 Tue Jun 09 14:01:04 GMT 2009 Olly Betts <olly@survex.com>
4132 * NEWS: Update for 1.1.1.
4134 Wed May 27 05:52:20 GMT 2009 Olly Betts <olly@survex.com>
4136 * README: Add note about GSoC 2009 project to reimplement Perl bindings
4139 Wed May 20 20:55:13 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4141 * xapian.i: Add overloaded version of set_collapse_key() to
4142 bindings which exposes the new parameter.
4144 Tue May 19 09:21:33 GMT 2009 Olly Betts <olly@survex.com>
4146 * python/docs/index.html,python/extra.i,python/smoketest2.py,
4147 tcl8/docs/index.html,tcl8/smoketest.tcl,xapian.i: Wrap
4148 Query::MatchAll and Query::MatchNothing for Python and Tcl8 and
4149 document how they are wrapped (ticket#158).
4150 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html:
4151 Document that Query::MatchAll and Query::MatchNothing aren't wrapped
4152 for these languages yet, and to use Query("") and Query() instead.
4154 Tue May 19 09:17:41 GMT 2009 Olly Betts <olly@survex.com>
4156 * php/util.i: %pragma(php4) -> %pragma(php) (purely cosmetic change).
4158 Tue May 19 04:48:06 GMT 2009 Olly Betts <olly@survex.com>
4160 * configure.ac: Don't test an empty $CSC further which saves a fork
4161 and avoids an odd looking message.
4163 Sat May 16 08:51:15 GMT 2009 Olly Betts <olly@survex.com>
4165 * python/docs/examples/simplematchdecider.py: Pick "avoid_value" from
4166 the second parameter, not the third.
4167 * python/docs/examples/simplematchdecider.py,
4168 python/docs/examples/simplesearch.py: Use str.join() for simpler,
4171 Mon May 11 12:20:31 GMT 2009 Olly Betts <olly@survex.com>
4173 * xapian.i: Oops, make that PostingSource::register_matcher_().
4175 Mon May 11 10:50:21 GMT 2009 Olly Betts <olly@survex.com>
4177 * xapian.i: Fix for PostingSource::set_matcher_() change.
4179 Sat May 09 07:59:10 GMT 2009 Olly Betts <olly@survex.com>
4181 * xapian-head.i: Update to work with new ValueIteratorEnd_ proxy
4184 Wed May 06 06:45:22 GMT 2009 Olly Betts <olly@survex.com>
4186 * README,python/docs/index.html: Update documentation for mod_python
4187 issues and also document the related mod_wsgi issue. The status
4188 is now that everything seems to work if you stick to the main
4189 interpreter (ticket#185 and ticket#364).
4191 Tue May 05 13:11:43 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4193 Merge from opsynonym branch:
4194 * python/smoketest2.py,python/smoketest3.py: Update tests with
4195 FLAG_PARTIAL to expect SYNONYM in generated query.
4197 Wed Apr 29 15:42:37 GMT 2009 Olly Betts <olly@survex.com>
4199 * README: Note that the testsuite fails due to a bug in the test/unit
4200 module in Ruby 1.9.0, but applications using the bindings should
4201 work, and that the testsuite works with Ruby 1.9.1. Drop all mention
4202 of Ruby 1.6.x as that appears to be completely dead both upstream
4205 Wed Apr 29 13:06:55 GMT 2009 Olly Betts <olly@survex.com>
4207 * configure.ac: Update required SWIG version to r11194 to get better
4208 Python 3 support (ticket#346) and to eliminate superfluous GIL
4209 locking calls (ticket#185).
4211 Mon Apr 27 08:43:37 GMT 2009 Olly Betts <olly@survex.com>
4213 * xapian-bindings.spec.in: Update for rename of XapianSharp.so to
4216 Mon Apr 27 08:37:22 GMT 2009 Olly Betts <olly@survex.com>
4218 * xapian-bindings.spec.in: Update for where we now install the tcl8
4221 Thu Apr 23 06:59:22 GMT 2009 Olly Betts <olly@survex.com>
4223 * Makefile.am,configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am,
4224 generic/generic.mk,guile/Makefile.am,java-swig/Makefile.am,
4225 java/Makefile.am,java/native/Makefile.am,java/org/xapian/Makefile.am,
4226 java/org/xapian/errors/Makefile.am,
4227 java/org/xapian/examples/Makefile.am,php/Makefile.am,
4228 php/docs/Makefile.am,python/Makefile.am,python/docs/Makefile.am,
4229 ruby/Makefile.am,ruby/docs/Makefile.am,tcl8/Makefile.am,
4230 tcl8/docs/Makefile.am: Fix things up so that in a bootstrapped SVN
4231 tree, automatic regeneration of autotools-generated files uses the
4232 in-tree versions of the autotools.
4233 * configure.ac,java/Makefile.am,java/org/Makefile.am: Eliminate
4234 java/org/Makefile.am which just forwards to its "xapian"
4237 Wed Apr 22 13:57:58 GMT 2009 Olly Betts <olly@survex.com>
4241 Wed Apr 22 13:51:21 GMT 2009 Olly Betts <olly@survex.com>
4243 * NEWS: Update for 1.1.0.
4245 Wed Apr 22 11:55:48 GMT 2009 Olly Betts <olly@survex.com>
4247 * configure.ac: Put XAPIAN_CXXFLAGS in CXXFLAGS (rather than
4248 AM_CXXFLAGS) for the duration of configure, since AM_CXXFLAGS isn't
4249 used for test compiles by configure (we need it as it may include
4250 options to put the compiler into ISO C++ mode).
4252 Tue Apr 21 06:40:37 GMT 2009 Olly Betts <olly@survex.com>
4254 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so
4255 update the instructions to suggest users use this standard location
4256 for installing without root access.
4258 Tue Apr 21 05:59:29 GMT 2009 Olly Betts <olly@survex.com>
4260 * NEWS: Clean up for release.
4262 Mon Apr 20 14:23:47 GMT 2009 Olly Betts <olly@survex.com>
4264 * NEWS: Sync changes from 1.0.12.
4266 Sat Apr 18 08:25:11 GMT 2009 Olly Betts <olly@survex.com>
4268 * INSTALL: Speak of 0.9.3 in the past tense. Add a note about being
4269 able to pass variables to configure to pick which of several
4270 parallel installations of a language to build for.
4272 Sun Apr 05 03:59:31 GMT 2009 Olly Betts <olly@survex.com>
4274 * NEWS: Update from ChangeLog.
4276 Fri Mar 27 03:27:03 GMT 2009 Olly Betts <olly@survex.com>
4278 * csharp/util.i,java-swig/util.i,ruby/util.i: Remove %rename
4279 directives for get_sumpart_needs_doclength as this method no longer
4282 Wed Mar 25 17:31:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4284 * python/pythontest2.py: Change deletion of database objects to
4285 Database.close() calls, which should be more robust across
4286 different python implementations, and should also avoid problems
4287 on windows when the temporary database directories are deleted if
4288 other objects which aren't deleted have lingering references to
4291 Tue Mar 24 12:37:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4293 * ruby/Makefile.am: Fix dependency target in ruby's xapian_wrap.d
4296 Mon Mar 23 11:49:10 GMT 2009 Olly Betts <olly@survex.com>
4298 * python/generate-python-exceptions,python/pythontest2.py,
4299 python/pythontest3.py: Update for PostingSource::reset() ->
4300 PostingSource::init() rename.
4302 Wed Mar 18 06:05:31 GMT 2009 Olly Betts <olly@survex.com>
4304 * python/docs/index.html: Non-pythonic iterators now being removed
4305 in 1.3.0, not 1.2.0.
4307 Mon Mar 16 14:05:50 GMT 2009 Olly Betts <olly@survex.com>
4309 * NEWS: Sync with 1.0.11.
4311 Wed Mar 11 11:31:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4313 * python/pythontest2.py,python/pythontest3.py: Round the weights
4314 returned for the OP_SCALE_WEIGHT test, to avoid failing due to
4317 Wed Mar 11 11:18:57 GMT 2009 Olly Betts <olly@survex.com>
4319 * xapian.i: Updated to wrap xapian/weight.h directly, such that it
4320 builds with the new Xapian::Weight class.
4322 Wed Mar 11 11:15:18 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4324 * python/testsuite2.py,python/testsuite3.py: Remove bare except:
4325 handlers from testsuite, so ctrl-C stop the whole testsuite, not
4328 Wed Mar 11 00:06:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4330 * python/pythontest3.py: Update to match pythontest2.py (after
4331 passing through 2to3).
4333 Tue Mar 10 18:02:08 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4335 * python/extra.i,python/pythontest2.py: Preserve posting sources on
4336 queries when set on enquire, and when retrieved from enquire
4339 Tue Mar 10 17:46:48 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4341 * python/extra.i: When making a query object, keep references to
4342 posting sources in the query. Copy references for sub queries
4343 into parent queries, too.
4344 * python/pythontest2.py: Modify test to include regression test for
4347 Tue Mar 10 17:06:56 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4349 * python/extra.i: Add better support for deprecation of single
4350 argument form of the Enquire::set_sort_by_* methods, and for
4351 deprecation of the old name ("ascending") for the second
4352 argument. Add deprecation warnings to the remaining three
4353 set_sort_by_*value* methods, too.
4355 Tue Mar 10 09:14:44 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4357 * python/extra.i: Keep references to Stoppers and Sorters set on
4358 objects, to avoid segfaults when they go out of scope, and add
4359 deprecation warnings for single argument form of the set_sort_by_*
4361 * python/pythontest2.py: Tests for the above.
4363 Thu Mar 05 10:34:38 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4365 * xapian.i: There are now several useful built-in posting sources,
4366 so remove the code which ignores postingsource.h if there aren't
4369 Thu Mar 05 08:01:18 GMT 2009 Olly Betts <olly@survex.com>
4371 * configure.ac: Fix comment to match code.
4373 Wed Mar 04 23:37:29 GMT 2009 Olly Betts <olly@survex.com>
4375 * python/pythontest2.py: Fix comment typo.
4377 Wed Mar 04 23:33:17 GMT 2009 Olly Betts <olly@survex.com>
4379 * php/docs/examples/simpleindex.php5,python/pythontest2.py,
4380 python/pythontest3.py,python/replicationtest2.py,
4381 tcl8/docs/examples/simpleindex.tcl,xapian.i: Update for the
4382 "WritableDatabase::flush()" to "WritableDatabase::commit()" change.
4384 Wed Mar 04 23:23:14 GMT 2009 Olly Betts <olly@survex.com>
4386 * xapian.i: Wrap MSet::get_uncollapsed_matches_lower_bound(),
4387 MSet::get_uncollapsed_matches_estimated(), and
4388 MSet::get_uncollapsed_matches_upper_bound().
4390 Wed Mar 04 16:56:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4392 * python/extra.i: When ValueRangeProcessors are passed to the
4393 QueryParser, keep a list of them so that they're not deleted
4394 until the QueryParser is.
4395 * python/pythontest2.py: Regression test that the proxying works -
4396 this test crashed without the patch to extra.i.
4398 Mon Mar 02 20:45:09 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4400 * python/extra.i: Remove Document_unserialise and
4401 Query_unserialise from API.
4403 Mon Mar 02 10:32:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4405 * csharp/Makefile.am,xapian.i: Update with new serialisation
4408 Mon Mar 02 08:38:36 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4410 * python/pythontest2.py: Extend "database closed" test slightly, to
4411 cover a case which caused a segfault with core before revision
4414 Thu Feb 26 04:09:04 GMT 2009 Olly Betts <olly@survex.com>
4416 * configure.ac,ruby/Makefile.am: Workaround rubyio.h vs ruby/io.h
4417 incompatibility. Fix defaulting of RUBY_INC_ARCH to RUBY_INC.
4419 Thu Feb 26 03:12:11 GMT 2009 Olly Betts <olly@survex.com>
4421 * configure.ac,ruby/Makefile.am: Fixes for Ruby 1.9 compatibility
4424 Mon Feb 16 11:09:20 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4426 * python/generate-python-exceptions,python/pythontest2.py,xapian.i:
4427 Update for new posting source interface.
4429 Sat Feb 07 00:18:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4431 * python/pythontest2.py: Add python test of document and query
4432 serialisation and unserialisation.
4434 Tue Jan 20 13:55:54 GMT 2009 Olly Betts <olly@survex.com>
4436 * ruby/util.i: Fix for Ruby 1.9 compatibility.
4438 Mon Jan 19 23:16:13 GMT 2009 Olly Betts <olly@survex.com>
4440 * configure.ac: Use rubyhdrdir if it exists (it was added at some
4441 point during Ruby 1.9 development). See bug#323.
4443 Tue Jan 06 00:54:51 GMT 2009 Olly Betts <olly@survex.com>
4445 * python/Makefile.am: Temporarily disable replicationtest.py
4446 for now, as it just seems to fail most of the time. See bug#320.
4448 Tue Jan 06 00:43:58 GMT 2009 Olly Betts <olly@survex.com>
4450 * python/Makefile.am: Clean up any left over test databases on "make
4453 Tue Jan 06 00:43:01 GMT 2009 Olly Betts <olly@survex.com>
4455 * python/pythontest2.py: All but two testcases delete the database(s)
4456 they create if they pass, so fix the remaining two to do the same.
4458 Mon Jan 05 04:09:05 GMT 2009 Olly Betts <olly@survex.com>
4460 * configure.ac: Allow Python buildings to be built on Cygwin (taken
4461 from patch 1.0.7-python.patch from Cygwin Ports, and adapted for
4462 Python 3.0 compatibility).
4464 Mon Jan 05 02:14:17 GMT 2009 Olly Betts <olly@survex.com>
4466 * csharp/Makefile.am: Rename the compiled C++ wrapper from
4467 XapianSharp.la to _XapianSharp.la to avoid a name clash on with the
4468 C# assembly XapianSharp.dll on Microsoft Windows.
4470 Mon Jan 05 00:36:48 GMT 2009 Olly Betts <olly@survex.com>
4472 * configure.ac: Allow PHP bindings to be built on Cygwin (patch
4473 1.0.7-php.patch from Cygwin Ports).
4475 Mon Jan 05 00:18:39 GMT 2009 Olly Betts <olly@survex.com>
4477 * configure.ac,ruby/Makefile.am: Allow ruby bindings to be built on
4478 Cygwin (need to pass -lruby there).
4480 Sun Jan 04 23:45:24 GMT 2009 Olly Betts <olly@survex.com>
4482 * configure.ac,tcl8/Makefile.am: Allow tcl8 bindings to be built on
4483 Cygwin (based on patch 1.0.7-tcl.patch from Cygwin Ports).
4485 Mon Dec 29 16:54:54 GMT 2008 James Aylett <james@tartarus.org>
4487 * python/docs/examples/: get_description() is now __str__() in Python.
4489 Fri Dec 26 15:22:01 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4491 * xapian.i: Add Database.close() method.
4493 Tue Dec 23 05:59:02 GMT 2008 Olly Betts <olly@survex.com>
4495 * csharp/xapian_wrap.d ruby/xapian_wrap.d php/xapian_wrap.d i
4496 tcl8/xapian_wrap.d: svn:ignore dependency makefile fragments
4497 generated by swig -MD.
4499 Tue Dec 23 05:55:20 GMT 2008 Olly Betts <olly@survex.com>
4501 * python/: svn:ignore new generated databases.
4503 Tue Dec 23 05:52:54 GMT 2008 Olly Betts <olly@survex.com>
4505 * configure.ac,python/Makefile.am,python/generate-python-exceptions,
4506 python/generate-python-exceptions.in: Explicitly run
4507 generate-python-exceptions using $(PERL) rather than generating it
4508 with AC_OUTPUT just to substitute the "#!" line.
4510 Mon Dec 22 15:08:33 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4512 * python/Makefile.am: Add replicationtest2.py to distribution.
4514 Mon Dec 22 13:48:56 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4516 * python/Makefile.am: Enable the replication test by default, now
4519 Mon Dec 22 13:47:05 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4521 * python/replicationtest.py,python/replicationtest2.py: Make
4522 replication test a bit more stringent, and don't trigger
4523 potential problems with swapping a database back in place by
4524 updating the uuids, so each replicated database is effectively
4525 brand new, as far as replication is concerned.
4527 Sat Dec 20 11:41:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4529 * python/Makefile.am: Pass the default value of PYTHONPATH through
4530 to python tests (just make sure our recently compiled modules are
4531 at the start of it). Pass abs_builddir in the TESTS_ENVIRONMENT
4532 variable, since the replication test needs it.
4533 * python/replicationtest2.py: Add a test (currently failing) of
4534 database replication under heavy concurrent modification load.
4536 Sat Dec 20 10:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4538 * python/pythontest2.py: Fix test of get_eset() to match change in
4539 behaviour of get_eset().
4540 * python/pythontest3.py: Bring up to date with pythontest2.py
4542 Mon Dec 08 03:45:20 GMT 2008 Olly Betts <olly@survex.com>
4544 * debian/: Sync with 1.0 branch.
4546 Mon Dec 08 03:18:22 GMT 2008 Olly Betts <olly@survex.com>
4548 * python/Makefile.am: Need to clean testsuite.pyc from srcdir since
4549 that's where it gets generated as things stand (upstream fix for
4552 Sat Nov 01 01:52:29 GMT 2008 Olly Betts <olly@survex.com>
4554 * NEWS: Sync with 1.0.9 and update from ChangeLog.
4556 Fri Oct 31 22:53:13 GMT 2008 Olly Betts <olly@survex.com>
4558 * python/docs/index.html: Document Python-specific
4559 Database.metadata_keys(prefix) method.
4561 Fri Oct 31 19:22:53 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4563 * python/generate-python-exceptions.in: Convert
4564 XapianSetPythonException to Xapian::SetPythonException, and
4565 export it. This is necessary to allow separately compiled
4566 extension modules to handle xapian errors appropriately.
4568 Thu Oct 09 09:53:39 GMT 2008 Olly Betts <olly@survex.com>
4570 * configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.
4572 Sun Sep 28 14:31:49 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4574 * python/pythontest2.py: Change test_value_mods() to test chert
4575 instead of flint, for extra regression test of recently fixed bug
4576 in chert, and fix doccomment for test function.
4578 Fri Sep 26 19:02:19 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4580 * python/pythontest2.py: Add a test of adding, modifying, and
4581 deleting values. This passed with flint (as committed), but
4582 fails currently if the test is changed to use chert.
4584 Fri Sep 26 04:54:39 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4586 * python/Makefile.am: Add testsuite2.py and testsuite3.py to
4589 Wed Sep 10 15:28:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4591 * python/generate-python-exceptions.in: Back out patch which added
4592 XapianDirectorException to work around exception mangling bug in
4593 swig, now that we're using a version of swig which has the bug
4596 Wed Sep 10 15:21:26 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4598 * ../swig: Update version of swig in use to current HEAD (swig
4599 revision 10831. Changes python import method to avoid giving a
4600 warning with the upcoming 2.6 release (and failing with 2.7 or
4601 later). Also includes a different fix for ticket #289, so we
4602 could back out our XapianDirectorException class now.
4604 No other significant changes in the generated files - several
4605 warning fixes, some rearrangement of the order of variable
4606 declarations, some removal of code which wasn't used anyway.
4608 Fri Sep 05 11:03:38 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4610 * python/pythontest2.py,python/pythontest3.py: Add test for
4611 get_uuid() (not really python specific, but I can't easily add
4612 this test to smoketest because it needs an on-disk database,
4613 which there's no infrastructure in smoketest to clean up).
4615 Fri Sep 05 09:59:02 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4617 * xapian.i: Add Database::get_uuid() to wrappers.
4619 Thu Sep 04 04:30:09 GMT 2008 Olly Betts <olly@survex.com>
4621 * NEWS: Sync with 1.0.8.
4623 Thu Sep 04 04:28:12 GMT 2008 Olly Betts <olly@survex.com>
4625 * configure.ac: Set version to 1.1.0.
4627 Wed Sep 03 06:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4629 * python/generate-python-exceptions.in: Use our own
4630 XapianDirectorException, to avoid the unwanted side effects of
4631 the default SWIG mechanism. Fixes ticket #289.
4632 * python/pythontest2.py,python/pythontest3.py: Add
4633 test_director_exception(), which tests the fix for ticket #289.
4635 Wed Sep 03 05:22:09 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4637 * python/util.i: Fix memory leaks in query constructor typemaps.
4638 Also, remove old, commented out, code which almost certainly had
4639 similar memory leaks - I don't think we're going to want this
4640 code, but if we do, rewriting it by copying the maintained and
4641 working code for the query constructor is less likely to lead to
4644 Mon Aug 04 05:06:46 GMT 2008 Olly Betts <olly@survex.com>
4646 * NEWS: Sync against 1.0.7 release.
4648 Wed Jul 30 01:13:43 GMT 2008 Olly Betts <olly@survex.com>
4650 * python/generate-python-exceptions.in: Fix tiny comment typo.
4652 Mon Jul 21 12:22:02 GMT 2008 Olly Betts <olly@survex.com>
4654 * configure.ac: Put the bug report URL as the third parameter to
4655 AC_INIT. Add proper m4 quoting in a few places (nowhere that
4656 should actually change behaviour). Use "dnl" comments in preference
4657 to "#" comments to help reduce the size of the configure script.
4659 Wed Jul 16 17:45:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4661 * python/: Rename test files to end with ...2.py, and add versions
4662 generated by 2to3 named ...3.py. (2to3 seems to be quite buggy
4663 still, so the generated versions need some hand editing after
4664 running it; in future, we should probably remove the ...3.py
4665 versions and just automatically generate them.)
4667 Thu Jul 10 10:47:50 GMT 2008 Olly Betts <olly@survex.com>
4669 * configure.ac: LT_PREREQ seems to need to be just before LT_INIT.
4671 Wed Jul 09 23:02:02 GMT 2008 Olly Betts <olly@survex.com>
4673 * Makefile.am: Revert dist-hook fix - that problem is caused by using
4674 libtool 1.5.x and we now require 2.2.x.
4675 * configure.ac: Add "LT_PREREQ([2.2.4])" to enforce this requirement.
4676 Use LT_INIT instead of now deprecated AC_PROG_LIBTOOL.
4678 Wed Jul 09 14:52:54 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4680 * Makefile.am: Add $(distdir) to directory names in dist-hook rule
4681 to make it actually work.
4683 Wed Jul 09 14:31:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4685 * Makefile.am: Add dist-hook rule to ensure that the m4 directory
4686 exists; if it doesn't, autoreconf reports "couldn't open
4689 Wed Jul 09 10:46:36 GMT 2008 Olly Betts <olly@survex.com>
4691 * configure.ac: The workaround to avoid probe code for F77, GCJ, and
4692 RC being added to configure is no longer required now that we're
4693 using libtool 2.2 so remove it.
4695 Wed Jul 09 10:30:16 GMT 2008 Olly Betts <olly@survex.com>
4697 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4698 java/Makefile.am,java/native/Makefile.am,php/Makefile.am,
4699 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: More changes
4700 neeed for --enable-quiet support.
4702 Wed Jul 09 10:19:38 GMT 2008 Olly Betts <olly@survex.com>
4704 * configure.ac: Replace AM_CONFIG_HEADER with the more modern
4707 Wed Jul 09 10:17:57 GMT 2008 Olly Betts <olly@survex.com>
4709 * Makefile.am,configure.ac: Add support for "--enable-quiet" like
4710 xapian-core and omega have.
4712 Wed Jul 09 10:14:47 GMT 2008 Olly Betts <olly@survex.com>
4714 * Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
4715 ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.
4717 Tue Jul 01 21:05:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4719 * python/pythontest.py,python/smoketest.py,python/testsuite.py:
4720 Fixes to make tests closer to being compatible with python 3.0.
4722 Mon Jun 30 19:56:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4724 * python/util.i: Fix #if PY_VERSION_HEX statements which aren't
4725 inside %{ %} to be %#if. Similarly for the corresponding #else
4728 Fri Jun 27 00:40:54 GMT 2008 Olly Betts <olly@survex.com>
4730 * NEWS: Update from ChangeLog and against 1.0 branch.
4732 Thu Jun 26 03:08:06 GMT 2008 Olly Betts <olly@survex.com>
4734 * csharp/docs/index.html,php/docs/index.html,python/docs/index.html,
4735 ruby/docs/index.html,tcl8/docs/index.html: Document all the database
4736 factory functions for all languages. Document the library version
4737 functions for all languages.
4739 Thu Jun 26 03:06:43 GMT 2008 Olly Betts <olly@survex.com>
4741 * java/native/: Make passing string from Java to C++ zero-byte safe.
4742 It doesn't appear to be simple to make C++ to Java work though.
4744 Thu Jun 26 00:47:16 GMT 2008 Olly Betts <olly@survex.com>
4746 * ruby/smoketest.rb: Update copyright notice for previous change.
4748 Thu Jun 26 00:02:30 GMT 2008 Olly Betts <olly@survex.com>
4750 * ruby/smoketest.rb: Test the version reporting functions.
4752 Wed Jun 25 21:35:49 GMT 2008 Olly Betts <olly@survex.com>
4754 * ruby/docs/index.html: Document how database factory functions are
4757 Wed Jun 25 21:06:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4759 * python/extra.i: Tidy up the documentation comments for
4762 Tue Jun 24 18:21:12 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4764 * python/doxy2swig.py.in: Adjust to be compatible with python 3.0.
4765 Fortunately, this can be done without breaking it for python 2.x.
4767 Sat Jun 14 23:35:34 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4769 * python/util.i: Fix previous commit - one of the pieces of
4770 conditional code was the wrong way round.
4772 Sat Jun 14 12:09:45 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4774 * python/util.i: Fixes for compilation with python 3.0;
4775 conditionally replace PyString_ methods with PyBytes_ methods.
4777 Mon Jun 02 11:55:23 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4779 * python/Makefile.am: Add modern/xapian_wrap.d to CLEANFILES in
4782 Mon Jun 02 11:54:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4784 * xapian.i: Add support for the new Database methods,
4785 get_value_freq(), get_value_lower_bound() and
4786 get_value_upper_bound().
4787 * python/pythontest.py: Add test of these methods.
4789 Sun Jun 01 15:13:07 GMT 2008 Olly Betts <olly@survex.com>
4791 * configure.ac: Update version to 1.0.7 to match 1.0 branch.
4793 Sun May 25 22:45:36 GMT 2008 Olly Betts <olly@survex.com>
4795 * NEWS: Update from ChangeLog and sync with 1.0 branch.
4797 Sun May 25 17:15:43 GMT 2008 Olly Betts <olly@survex.com>
4799 * xapian-head.i: Fix dummy Chert and Flint Database factory functions,
4800 used when Chert and/or Flint are disabled.
4802 Sat May 24 08:51:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4804 * python/pythontest.py: Rename one of the two test_postingsource()
4805 functions, so that they both get run!
4807 Thu May 22 11:53:23 GMT 2008 Olly Betts <olly@survex.com>
4809 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html,
4810 tcl8/docs/index.html: The "program" version of Remote::open() *is*
4811 now wrapped, so update the documentation.
4813 Thu May 22 11:16:54 GMT 2008 Olly Betts <olly@survex.com>
4815 * python/docs/index.html: Fix typo (Database.synonym and synonym_begin
4816 should be synonyms and synonyms_begin).
4818 Thu May 22 11:07:24 GMT 2008 Olly Betts <olly@survex.com>
4820 * python/docs/index.html: The "program" version of Remote::open() *is*
4821 now wrapped, so update the documentation.
4823 Sun May 18 05:36:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4825 * python/docs/index.html: Update documentation of pythonic
4827 * python/extra.i: Correct documentation comment for
4828 Database.spellings().
4830 Thu May 15 09:00:26 GMT 2008 Olly Betts <olly@survex.com>
4832 * java-swig/Makefile.am: Remove SWIGTYPE_p_bool.java as it is no
4835 Thu May 15 08:11:04 GMT 2008 Olly Betts <olly@survex.com>
4837 * csharp/Makefile.am: Remove SWIGTYPE_p_bool.cs as it is no longer
4840 Mon May 12 06:51:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4842 * python/pythontest.py: Add test of ValueWeightPostingSource.
4844 Mon May 05 16:02:03 GMT 2008 Olly Betts <olly@survex.com>
4846 * php/except.i: Remove PHP4-specific stuff and tweak to maximise the
4847 amount of exception handling code which is in the helper function.
4848 Fix the copyright statements which were copied verbatim from
4849 xapian.i whereas the code here is all fairly recent.
4851 Mon May 05 11:03:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4853 * csharp/Makefile.am: Change names of generated files to match
4854 those made by new SWIG version.
4856 Mon May 05 11:58:45 BST 2008 Richard Boulton <richard@lemurconsulting.com>
4858 * ../swig: Update version of swig in use to current HEAD. Causes
4859 few changes other than whitespace to the generated bindings, but
4860 makes new features in swig (such as better support for reference
4861 counted pointers) available. Also only performs initialisation
4862 of swig wrapper once when there are multiple interpreters in use,
4863 which could possibly help a little with bug #185.
4865 Sat May 03 18:10:04 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4867 * configure.ac: Fix breakage introduced when I changed "print foo"
4868 to "print(foo)" - join strings in the print with + instead of ,.
4869 mingw builds can't have worked with this, though they may still
4872 Sat May 03 14:00:55 GMT 2008 Olly Betts <olly@survex.com>
4874 * xapian-bindings.spec.in: Remove "www." from xapian.org and
4875 oligarchy.co.uk URLs. Bump minimum required Python version to 2.3.
4877 Sat May 03 10:59:58 GMT 2008 Olly Betts <olly@survex.com>
4879 * configure.ac: Improve code which prevents probing for f77, etc.
4881 Fri May 02 17:24:17 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4883 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4884 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Seemed to work
4885 for python, so use SWIG's -MD flag for all the other swig targets
4888 Fri May 02 15:21:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4890 * python/Makefile.am: Use SWIG's -MD flag to generate dependencies.
4892 Fri May 02 15:21:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4894 * python/extra.i: Correct typo in comment.
4896 Mon Apr 28 17:07:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4898 * python/pythontest.py: Fix python test of PostingSource to include
4901 Mon Apr 28 02:31:42 GMT 2008 Olly Betts <olly@survex.com>
4903 * python/generate-python-exceptions.in: Mark PostingSource::reset() as
4906 Thu Apr 24 02:18:46 GMT 2008 Olly Betts <olly@survex.com>
4908 * configure.ac,generic/generic.mk: Back out the --swigheaders change.
4910 Thu Apr 24 01:55:25 GMT 2008 Olly Betts <olly@survex.com>
4912 * python/Makefile.am: Use "-rmdir" rather than "|| true" for
4915 Wed Apr 23 18:14:10 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4917 * python/pythontest.py: Remove references to "flint" from test
4918 database names (use "db_" instead). Add a simple test of the
4919 posting source stuff.
4921 Wed Apr 23 17:42:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4923 * python/Makefile.am: Give up on MKDIR_P, and just use "-test -d
4924 xapian || mkdir xapian" instead.
4926 Wed Apr 23 17:03:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4928 * python/Makefile.am: Use $(MKDIR_P) instead of @MKDIR_P@, as
4929 suggested by the automake documentation.
4931 Wed Apr 23 15:23:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4933 * debian/python-xapian.install,python/Makefile.am,python/xapian.pth,
4934 xapian-bindings.spec.in: Change way python bindings are installed
4935 again, hopefully more successfully this time. We found a problem
4936 with the .pth method on some systems, so instead we now put all
4937 the python files in a subdirectory called xapian/, but rename the
4938 xapian.py file to __init__.py (and similarly for the .pyc and
4939 .pyo files). This makes it into a python package, and seems to
4940 work well, and also hides the internal _xapian module from public
4943 Wed Apr 23 11:02:45 GMT 2008 Olly Betts <olly@survex.com>
4945 * csharp/Makefile.am,java-swig/Makefile.am,
4946 python/generate-python-exceptions.in,xapian.i: Only wrap
4947 PostingSource where we have directors. Fix up various issues
4950 Wed Apr 23 09:43:06 GMT 2008 Olly Betts <olly@survex.com>
4952 * README: Note Python 2.3 or later is required.
4954 Wed Apr 23 09:21:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4956 * configure.ac: Require python 2.3 or greater. 2.2 is essentially
4957 unsupported upstream.
4959 Wed Apr 23 08:39:18 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4961 * python/doxy2swig.py.in: Revert earlier change, since it would
4962 result in the bindings varying massively depending on the version
4963 of python in use at maintainer-build time, which doesn't seem
4964 helpful. python2.2 currently works with a non maintainer-mode
4965 build, so there's an easy workaround for the problem.
4967 Wed Apr 23 07:55:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4969 * xapian-bindings.spec.in: Update RPM .spec file to reflect the new
4970 location of the python packages, and the .pth file.
4972 Wed Apr 23 07:51:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4974 * debian/changelog,debian/patch,debian/python-xapian.install:
4975 Update debian packaging to remove the patch which is currently
4976 applied (since it's included in HEAD now), and to get the python
4977 packages from the new locations (and include the .pth file).
4979 Wed Apr 23 07:38:20 GMT 2008 Olly Betts <olly@survex.com>
4981 * xapian.i: Use "%include <xapian/query.h>" to wrap Xapian::Query so
4982 we automatically pick up new features (in this case, the new
4983 PostingSource constructor).
4985 Wed Apr 23 03:41:28 GMT 2008 Olly Betts <olly@survex.com>
4987 * Makefile.am,csharp/Makefile.am,java-swig/Makefile.am,
4988 tcl8/docs/index.html,xapian-head.i,xapian.i: Split the header chunk
4989 of xapian.i out into xapian-head.i. Remove lingering references to
4992 Wed Apr 23 02:47:00 GMT 2008 Olly Betts <olly@survex.com>
4994 * python/extra.i: Update comment.
4996 Wed Apr 23 00:25:46 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4998 * python/doxy2swig.py.in: Fix build with --enable-maintainer-mode
4999 and python 2.2, by providing fallback for the "textwrap" module,
5000 which isn't present by default in 2.2.
5002 Wed Apr 23 00:15:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5004 * python/Makefile.am,python/xapian.pth: Change installation
5005 location for the python bindings to use a "xapian" subdirectory
5006 to hold the files, and use a "xapian.pth" file to ensure that the
5007 contents of this directory are on the path. Seems to be the more
5008 usual way to install python extensions these days, and matches
5009 the way we need to install on windows.
5011 Tue Apr 22 16:16:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5013 * php/smoketest.php,php/smoketest5.php: Add test that VALUE_GE
5016 Thu Apr 17 22:54:37 GMT 2008 Olly Betts <olly@survex.com>
5018 * tcl8/Makefile.am: Remove bogus "../" from tcllibdir.
5020 Thu Apr 17 05:41:21 GMT 2008 Olly Betts <olly@survex.com>
5022 * configure.ac: Add missing m4 quoting so that TCL_LIB is correctly
5025 Tue Apr 15 09:38:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5027 * python/docs/index.html,python/extra.i,python/pythontest.py:
5028 Remove the deprecated legacy support for the sequence API on
5031 Mon Apr 14 07:18:50 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5033 * python/extra.i,xapian.i: Add support for
5034 Database.metadata_keys_begin() and Database.metadata_keys_end().
5035 For python, these are wrapped as simply "metadata_keys()".
5036 * python/pythontest.py: Test Database.metadata_keys().
5038 Mon Apr 07 07:28:14 GMT 2008 Olly Betts <olly@survex.com>
5040 * README: Note that Tcl 8.3 and earlier are no longer supported by
5043 Tue Apr 01 04:27:43 GMT 2008 Olly Betts <olly@survex.com>
5045 * java/native/Makefile.am,python/Makefile.am,ruby/Makefile.am: Use
5046 the libtool -shrext option to specify a different module extension
5047 rather than our own ugly bodge.
5049 Mon Mar 31 02:10:22 GMT 2008 Olly Betts <olly@survex.com>
5051 * php/smoketest.php: Remove stray extra blank line.
5053 Fri Mar 28 10:18:27 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5055 * configure.ac: Bump version number to 1.0.6 to match xapian-core.
5057 Fri Mar 28 00:22:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5059 * xapian.i: Modify wrapping of get_mset() to match the new
5060 definitions in xapian/enquire.h (though this shouldn't change
5061 user-visible behaviour in the bindings). Also, allow a
5062 mdecider (and matchspy) parameter to be passed even for languages
5063 which don't have director support, now that we have a built-in
5064 match decider. Also, wrap valuesetmatchdecider.h, so that the
5065 built-in match decider defined there can be used.
5066 * php/smoketest.php,python/pythontest.py: Add tests that
5067 ValueSetMatchDecider works in python and PHP.
5069 Wed Mar 19 01:02:21 GMT 2008 Olly Betts <olly@survex.com>
5071 * ruby/docs/Makefile.am: Ship simplematchdecider.rb.
5072 * tcl8/docs/Makefile.am: Ship simpleexpand.tcl.
5074 Wed Mar 12 09:01:04 GMT 2008 Olly Betts <olly@survex.com>
5076 * java-swig/: Remove Quartz.* from svn:ignore.
5078 Wed Mar 12 08:59:30 GMT 2008 Olly Betts <olly@survex.com>
5080 * python/Makefile.am: Clean up libtoolconfig.tmp after use.
5082 Wed Mar 12 08:57:55 GMT 2008 Olly Betts <olly@survex.com>
5084 * README,configure.ac,php/Makefile.am,php/docs/Makefile.am,
5085 php/docs/examples/simpleexpand.php4,
5086 php/docs/examples/simpleindex.php4,
5087 php/docs/examples/simplesearch.php4,php/docs/index.html,
5088 php/smoketest4.php,php/util.i,xapian-bindings.spec.in,xapian.i:
5089 Remove PHP4 support.
5091 Wed Mar 12 08:29:06 GMT 2008 Olly Betts <olly@survex.com>
5093 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/util.i,
5094 java-swig/Makefile.am,java-swig/SmokeTest.java,
5095 java/native/Enquire.cc,java/native/Query.cc,
5096 java/native/org_xapian_XapianJNI.h,java/org/xapian/Enquire.java,
5097 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,php/util.i,
5098 python/,ruby/util.i,ruby/xapian.rb,xapian.i: Remove all deprecated
5099 features slated for removal in 1.1.0.
5101 Tue Mar 11 20:32:26 GMT 2008 Olly Betts <olly@survex.com>
5103 * java-swig/util.i: Xapian::weight::clone() collides with Java's
5104 Object.clone(), so rename to cloneWeight(). Wrap Xapian::valueno
5105 as Java type int to avoid a conflict with SWIG/Java's machinery.
5107 Tue Mar 11 04:51:00 GMT 2008 Olly Betts <olly@survex.com>
5109 * java-swig/Makefile.am: Add MultiValueSorter.java, Sorter.java, and
5110 TermGenerator$flags.class.
5112 Wed Mar 05 22:36:46 GMT 2008 Olly Betts <olly@survex.com>
5114 * NEWS: Update to HEAD with un-backported changes kept separate.
5116 Wed Mar 05 21:30:13 GMT 2008 Olly Betts <olly@survex.com>
5118 * NEWS: Update to 1.0 branch point.
5120 Sun Feb 24 11:02:44 GMT 2008 Olly Betts <olly@survex.com>
5122 * java-swig/Makefile.am,php/Makefile.am,ruby/Makefile.am,
5123 tcl8/Makefile.am: Minor comment correction (we only remove a single
5126 Sun Feb 24 01:11:25 GMT 2008 Olly Betts <olly@survex.com>
5128 * configure.ac,python/Makefile.am: The Python module now has the
5129 extension which Python expects, which fixes a failure on Mac OS X.
5130 PYTHON_PATHSEP is no longer required.
5132 Sat Feb 23 23:09:05 GMT 2008 Olly Betts <olly@survex.com>
5134 * configure.ac: Correct SWIG version in error message.
5136 Thu Feb 21 00:28:20 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5138 * configure.ac,generic/generic.mk: Use the new --swigheaders option
5139 in xapian-config to get the list of header files for the core,
5140 and add all of these as a dependency for the rules to run swig.
5141 This is currently an overly inclusive dependency, but it's hard
5142 to keep track of exactly which header files are being included,
5143 and the plan is to eventually include all of them.
5145 Mon Jan 28 11:52:59 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5147 * xapian.i: Ignore various unwanted bits of DatabaseReplica.
5149 Mon Jan 28 03:22:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5151 * xapian.i: Include replication.h in the bindings.
5153 Wed Jan 09 22:41:24 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5155 * csharp/Makefile.am: Add MultiValueSorter.cs to
5156 XAPIAN_SWIG_CS_SRCS so that it gets cleaned up correctly.
5157 * xapian.i: Put OP_VALUE_GE and OP_VALUE_LE in the right place in
5158 the enum, so that they get the right values in language bindings.
5160 Wed Jan 09 22:00:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5162 * xapian.i: Add OP_VALUE_GE and OP_VALUE_LE to Query, and add
5163 constructor which they are used with.
5165 Sun Dec 23 03:29:32 GMT 2007 Olly Betts <olly@survex.com>
5167 * configure.ac: Sort out the default value of TCL_LIB, which could
5168 end up being under /usr/share in 1.0.4 and 1.0.5.
5170 Sat Dec 22 18:25:19 GMT 2007 Olly Betts <olly@survex.com>
5172 * php/smoketest.php: Add note that this script should be run using
5173 'make check' in the build tree (rather than trying to copy it to
5174 a webserver as someone recently tried to).
5176 Sat Dec 22 18:24:05 GMT 2007 Olly Betts <olly@survex.com>
5178 * php/smoketest.php: Fix to work under PHP4.
5180 Sat Dec 22 04:32:39 GMT 2007 Olly Betts <olly@survex.com>
5182 * ruby/docs/Makefile.am: We need a custom install-data-local rule to
5183 get the rdocs subdirectory installed (and a corresponding
5184 uninstall-local rule to uninstall it).
5186 Fri Dec 21 18:14:06 GMT 2007 Olly Betts <olly@survex.com>
5188 * NEWS: Too late for the 1.0.5 release, but reword the Python GIL fix
5189 description in terms of user-visible API.
5191 Fri Dec 21 02:14:35 GMT 2007 Olly Betts <olly@survex.com>
5193 * NEWS: Bump release date.
5195 Wed Dec 19 03:46:09 GMT 2007 Olly Betts <olly@survex.com>
5197 * NEWS,configure.ac: Update for 1.0.5.
5199 Wed Dec 19 01:18:58 GMT 2007 Olly Betts <olly@survex.com>
5201 * configure.ac: If rdoc isn't found, set RDOC="$MISSING rdoc" so the
5202 user gets a better error if make tries to build the RDocs.
5204 Wed Dec 19 00:34:45 GMT 2007 Olly Betts <olly@survex.com>
5208 Tue Dec 18 18:58:36 GMT 2007 Olly Betts <olly@survex.com>
5210 * php/smoketest.php: Add feature test to ensure that optional
5211 arguments to XapianQuery's "term" constructor are wrapped.
5212 * xapian.i: Remove comment "FIXME wrap optional arguments in PHP?"
5213 referring to XapianQuery's "term" constructor as they are already
5216 Mon Dec 17 21:02:38 GMT 2007 Olly Betts <olly@survex.com>
5218 * php/Makefile.am,python/Makefile.am: Having moved the directory
5219 creation out of the locked region, we now need to ignore errors
5220 from 'test -d DIR || mkdir DIR' as two make processes might try
5221 to create the directory at the same time.
5223 Fri Dec 14 10:43:03 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5225 * php/Makefile.am,python/Makefile.am: Ensure that the directories
5226 that stamp files will be placed in exist before calling
5227 $(multitarget_begin). Fixes compilation failures in clean trees.
5229 Thu Dec 13 01:58:58 GMT 2007 Olly Betts <olly@survex.com>
5231 * configure.ac: Improve the clarity of the error given when none
5232 of the tools neeed for any supported language are found.
5234 Thu Dec 13 01:50:17 GMT 2007 Olly Betts <olly@survex.com>
5236 * configure.ac,ruby/Makefile.am: Fix the Ruby module's extension so it
5239 Thu Dec 13 01:14:29 GMT 2007 Olly Betts <olly@survex.com>
5241 * csharp/Makefile.am,generic/generic.mk,java-swig/Makefile.am,
5242 php/Makefile.am,python/Makefile.am,ruby/Makefile.am: Factor
5243 out the code to lock multitarget rules against parallel make,
5244 and fix it to handle the source being changed while the rule
5245 is executing, and to correct return an error code if we fail
5246 while trying to recover from the removal of a target of a
5249 Thu Dec 13 01:04:04 GMT 2007 Olly Betts <olly@survex.com>
5251 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_key().
5253 Wed Dec 12 02:22:58 GMT 2007 Olly Betts <olly@survex.com>
5255 * NEWS: Update from ChangeLog in preparation for 1.0.5.
5257 Tue Dec 11 15:09:37 GMT 2007 Olly Betts <olly@survex.com>
5259 * ruby/docs/Makefile.am: Fix rule to build rdocs.
5261 Tue Dec 11 01:33:23 GMT 2007 Olly Betts <olly@survex.com>
5263 * configure.ac,ruby/docs/Makefile.am: Run "rdoc" to generate the
5264 Ruby-specific API documentation which ruby/docs/index.html has
5265 a (previously dead) link to.
5266 * ruby/xapian.rb: Tweak ":nodoc:" directive so rdoc recognises it.
5268 Thu Nov 29 02:48:06 GMT 2007 Olly Betts <olly@survex.com>
5270 * php/: Add test for XapianMultiValueSorter.
5272 Thu Nov 29 02:47:17 GMT 2007 Olly Betts <olly@survex.com>
5274 * xapian.i: Wrap Enquire::set_sort_by_key() and
5275 Enquire::set_sort_by_key_then_relevance().
5277 Thu Nov 29 02:06:10 GMT 2007 Olly Betts <olly@survex.com>
5279 * php/smoketest5.php: Fix use of Database_get_document to new style OO
5280 interface. Fix error string when the PHP5 exception test fails.
5282 Wed Nov 28 20:17:09 GMT 2007 Olly Betts <olly@survex.com>
5284 * csharp/Makefile.am,python/generate-python-exceptions.in,xapian.i:
5285 Wrap Xapian::Sorter and subclasses.
5287 Wed Nov 28 19:19:08 GMT 2007 Olly Betts <olly@survex.com>
5289 * ruby/Makefile.am: SWIG has accepted -initname in at least one
5290 released version, so switch to using it instead of the now
5291 deprecated -feature option.
5293 Wed Nov 28 11:17:40 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5295 * python/util.i: Don't drop the GIL when calling
5296 Xapian_MSet_items_get() and Xapian_ESet_items_get() - these
5297 methods build a python list, and return a PyObject, so it's not
5298 safe to do so, and doing so may cause undefined behaviour in
5299 multithreaded environments.
5301 Wed Nov 28 00:52:46 GMT 2007 Olly Betts <olly@survex.com>
5303 * configure.ac: Change remaining uses of "print" in python to bracket
5306 Wed Nov 28 00:50:41 GMT 2007 Olly Betts <olly@survex.com>
5308 * java-swig/Makefile.am,java/Makefile.am: Check for directory
5309 existence rather than calling mkdir unconditionally as despite the
5310 "(ignored)", the error message seems to confuse some people.
5312 Tue Nov 27 22:34:11 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5314 * configure.ac: Change "print foo" to "print(foo)" in python
5315 version checks, for compatibility with python 3.0.
5317 Tue Nov 27 03:08:51 GMT 2007 Olly Betts <olly@survex.com>
5319 * configure.ac: Log the output of trying to compile conftest.java in
5320 config.log; if the test fails, report whether the failure was
5321 compiling or running the test program.
5323 Tue Nov 20 01:04:31 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5325 * java/native/xapian_jni.h: Add include of <cstring> to fix
5326 compile error with gcc-4.3 snapshot.
5328 Fri Nov 16 15:58:57 GMT 2007 Olly Betts <olly@survex.com>
5330 * configure.ac: Update error message to reflect requirement for at
5333 Fri Nov 16 15:57:53 GMT 2007 Olly Betts <olly@survex.com>
5335 * configure.ac: SWIG 1.3.32 has now been released, so require at least
5336 this released version.
5338 Tue Nov 06 12:34:00 GMT 2007 Olly Betts <olly@survex.com>
5340 * java/org/xapian/Makefile.am: No need to set SUFFIXES manually for
5341 suffixes used in implicit rules.
5343 Sat Nov 03 01:07:39 GMT 2007 Olly Betts <olly@survex.com>
5345 * csharp/docs/index.html: Improve wording.
5347 Fri Nov 02 20:31:55 GMT 2007 Olly Betts <olly@survex.com>
5349 * tcl8/docs/index.html: Update documentation to cover flint and that
5350 quartz is now deprecated.
5352 Fri Nov 02 20:15:19 GMT 2007 Olly Betts <olly@survex.com>
5354 * tcl8/except.i: Remove code to handle `const char *' exceptions - as
5355 of 1.0.0 the QueryParser throws QueryParserError instead.
5357 Fri Nov 02 02:16:32 GMT 2007 Olly Betts <olly@survex.com>
5359 * configure.ac: Overhaul code to find tcl.h. The old way no longer
5360 worked with Debian unstable.
5362 Tue Oct 30 05:00:42 GMT 2007 Olly Betts <olly@survex.com>
5364 * NEWS: The GUARD macro I fixed in SWIG/Python isn't actually used by
5365 Xapian so remove the NEWS item about it.
5367 Tue Oct 30 04:56:13 GMT 2007 Olly Betts <olly@survex.com>
5369 * NEWS,configure.ac: Update for 1.0.4.
5371 Mon Oct 29 18:35:09 GMT 2007 Olly Betts <olly@survex.com>
5375 Mon Oct 29 17:15:20 GMT 2007 Olly Betts <olly@survex.com>
5377 * python/docs/index.html: Promote the Pythonic iterators more
5378 and deprecate the non-pythonic iterators. Make it clearer
5379 that the "sequence API" is deprecated.
5381 Mon Oct 29 16:50:28 GMT 2007 Olly Betts <olly@survex.com>
5383 * python/docs/index.html: Fix typo.
5385 Mon Oct 29 02:54:53 GMT 2007 Olly Betts <olly@survex.com>
5387 * NEWS,csharp/Makefile.am,python/extra.i,python/pythontest.py,
5388 python/util.i,xapian.i: Back out match spy changes in preparation
5389 for creating a branch for them.
5391 Sat Oct 27 06:05:56 BST 2007 Olly Betts <olly@survex.com>
5393 * csharp/SmokeTest.cs,ruby/smoketest.rb,tcl8/smoketest.tcl: Update for
5394 changed output for Query::get_description() for OP_SCALE_WEIGHT.
5396 Sat Oct 27 06:03:53 BST 2007 Olly Betts <olly@survex.com>
5398 * php/smoketest.php: Update for changed output for
5399 Query::get_description() for OP_SCALE_WEIGHT.
5401 Sat Oct 27 06:01:13 BST 2007 Olly Betts <olly@survex.com>
5405 Fri Oct 26 18:10:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5407 * python/docs/examples/simpleexpand.py,
5408 python/docs/examples/simplematchdecider.py,
5409 python/docs/examples/simplesearch.py: Change from using the
5410 old-style MSET_* constants to access the mset item values to the
5411 new-style attribute based method.
5413 Fri Oct 26 17:56:32 BST 2007 Olly Betts <olly@survex.com>
5415 * python/docs/index.html: Document MSET_DOCUMENT.
5417 Fri Oct 26 01:08:50 BST 2007 Olly Betts <olly@survex.com>
5419 * python/: Add xapian.pyo to svn:ignore.
5421 Fri Oct 26 01:04:47 BST 2007 Olly Betts <olly@survex.com>
5423 * python/smoketest.py: Update for changed output from
5424 Query::get_description().
5426 Thu Oct 25 18:11:40 BST 2007 Olly Betts <olly@survex.com>
5428 * php/Makefile.am: The php4 and php5 .cc and .h files are no longer
5429 identical so don't bother carefully interleaving them as it doesn't
5430 help the tarball compress better now.
5431 * php/Makefile.am: Use $(datadir) instead of $(datarootdir) so that
5432 the RPM spec file works with older versions of autoconf.
5434 Tue Oct 23 16:19:15 BST 2007 Olly Betts <olly@survex.com>
5436 * csharp/docs/Makefile.am,php/docs/Makefile.am,python/docs/Makefile.am,
5437 ruby/docs/Makefile.am,tcl8/docs/Makefile.am: Update for the
5438 bindings.html -> index.html change.
5440 Tue Oct 23 16:18:09 BST 2007 Olly Betts <olly@survex.com>
5442 * python/util.i: Fix warning with Python <= 2.4 and GCC >= 4.2.
5444 Mon Oct 22 22:45:08 BST 2007 Olly Betts <olly@survex.com>
5446 * csharp/docs/bindings.html,php/docs/bindings.html,
5447 python/docs/bindings.html,ruby/docs/bindings.html,
5448 tcl8/docs/bindings.html: Rename 'bindings.html' to 'index.html'.
5450 Mon Oct 22 22:34:42 BST 2007 Olly Betts <olly@survex.com>
5452 * python/docs/bindings.html: "character set" -> "character encoding".
5454 Wed Oct 17 00:49:39 BST 2007 Olly Betts <olly@survex.com>
5456 * NEWS: Update with changes due to using a newer SWIG SVN snapshot.
5458 Tue Oct 09 22:14:03 BST 2007 Olly Betts <olly@survex.com>
5462 Tue Oct 09 22:01:57 BST 2007 Olly Betts <olly@survex.com>
5464 * php/util.i: For PHP4, wrap Xapian::sortable_serialise() as
5465 xapian_sortable_serialise() and Xapian::sortable_unserialise() as
5466 xapian_sortable_unserialise().
5467 * php/docs/bindings.html: Document how non-class functions are
5470 Tue Oct 09 00:00:53 BST 2007 Olly Betts <olly@survex.com>
5472 * php/: Fix wrapping of NumberValueRangeProcessor for PHP4 - SWIG
5473 sees the Xapian::v102 namespace, but doesn't understand the
5474 "using" directive. Also split the regression test for bug#193
5475 into separate versions for PHP4 and PHP5 as the previous version
5476 only worked for PHP5.
5478 Sun Oct 07 19:47:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5480 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5481 php/smoketest5.php,python/pythontest.py,python/smoketest.py,
5482 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian.i: Update for the
5483 change from OP_MULT_WEIGHT to OP_SCALE_WEIGHT.
5485 Mon Oct 01 00:38:21 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5487 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5488 php/smoketest5.php,python/smoketest.py,ruby/smoketest.rb,
5489 tcl8/smoketest.tcl: Add tests for OP_MULT_WEIGHT and
5490 corresponding constructor to smoketests.
5493 Sun Sep 30 23:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5495 * xapian.i: Add OP_MULT_WEIGHT, and the new constructor needed to
5497 * python/pythontest.py: Add simple test of OP_MULT_WEIGHT feature,
5498 and a more involved test which uses the value of
5499 MSet.get_max_possible() from an initial query to get the factor
5500 necessary to normalise the weights from a subquery, and then uses
5501 this factor in a second query with OP_MULT_WEIGHT.
5504 Sun Sep 30 21:16:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5506 * csharp/Makefile.am,python/extra.i,python/pythontest.py,
5507 python/util.i,xapian.i: Re-apply changes which needed more
5508 thought or more work before being included in a release.
5509 * NEWS: Update with current descriptions of these changes.
5511 Sat Sep 29 01:29:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5513 * ruby/smoketest.rb: Change name of test for metadata to avoid
5514 collision with matchdecider test (and to be correctly
5517 Fri Sep 28 18:33:09 BST 2007 Olly Betts <olly@survex.com>
5519 * NEWS: Update for 1.0.3.
5521 Fri Sep 28 18:06:58 BST 2007 Olly Betts <olly@survex.com>
5523 * INSTALL,configure.ac: Allow the user to specify TCL_LIB=... on the
5524 configure command line to override autodetection.
5525 * Makefile.am: Automatically set up DISTCHECK_CONFIGURE_FLAGS so that
5526 "make distcheck" passes without user intervention, and remove the
5527 now redundant EXTRADISTCHECK_CONFIGURE_FLAGS variable.
5528 * INSTALL: Remove documentation for EXTRADISTCHECK_CONFIGURE_FLAGS.
5529 * INSTALL: Fix cut-and-paste error - the documentation for how to
5530 install the tcl module without root access suggested installing them
5531 in a directory named "my-python-modules"!
5533 Fri Sep 28 13:48:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5535 * python/smoketest.py: Test behaviour of empty metadata keys.
5537 Fri Sep 28 13:18:34 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5539 * csharp/SmokeTest.cs,ruby/smoketest.rb: Add tests for metadata
5542 Fri Sep 28 13:08:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5544 * xapian.i: Add support for get_metadata() and set_metadata() to
5546 * php/smoketest.php,python/smoketest.py: Add simple tests of
5549 Fri Sep 28 03:54:19 BST 2007 Olly Betts <olly@survex.com>
5551 * configure.ac: Update for 1.0.3. Use ustar format for tarball since
5552 we have to for xapian-core anyway.
5554 Fri Sep 28 03:46:22 BST 2007 Olly Betts <olly@survex.com>
5556 * csharp/Makefile.am,python/extra.i,python/pythontest.py,python/util.i,
5557 xapian.i: Back out changes for 1.0.3 corresponding to changes backed
5558 out for xapian-core.
5560 Fri Sep 28 03:43:56 BST 2007 Olly Betts <olly@survex.com>
5562 * csharp/util.i: Ignore ValueRangeProcessor::operator(), since
5563 we don't usefully wrap it at present.
5565 Fri Sep 28 03:38:22 BST 2007 Olly Betts <olly@survex.com>
5567 * configure.ac: Fix reversed sense tests for user overrides of
5568 RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH.
5570 Wed Sep 26 11:50:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5572 * python/testsuite.py: Add a "runonly" parameter to runtests(),
5573 allowing the set of tests to run to be specified.
5574 * python/pythontest.py: Use any commandline arguments to populate
5575 the "runonly" parameter, allowing the tests to run to be
5576 specified on the command line.
5578 Fri Sep 21 16:47:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5580 * python/docs/bindings.html: Suggest using Python version 2.4 or
5581 later if using mod-python: apparently, even with the
5582 "PythonInterpreter main_interpreter" workaround, mod-python gets
5583 into a deadlock with Xapian with Python 2.3.
5585 Wed Sep 19 16:11:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5587 * python/docs/bindings.html: Add documentation for python
5588 implementations of ValueRangeProcessors.
5590 Wed Sep 19 16:06:18 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5592 * python/pythontest.py,python/util.i: Implement conversion of the
5593 return value from ValueRangeProcessor subclasses implemented in
5594 Python from a tuple, so that such subclasses can change the
5595 values of begin and end.
5597 Wed Sep 19 14:11:22 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5599 * xapian.i: Add director directive for Xapian::ValueRangeProcessor,
5600 to allow implementations in the target language, where directors
5602 * python/generate-python-exceptions.in: Copy workaround for thread
5603 handling stuff for ValueRangeProcessor::operator().
5604 * python/pythontest.py: Add test_queryparser_custom_vrp() for
5605 ValueRangeProcessors implemented in Python, and clean up some of
5606 the other tests slightly.
5608 Wed Sep 19 00:46:31 BST 2007 Olly Betts <olly@survex.com>
5610 * python/util.i: Fix typo in comment.
5612 Tue Sep 18 19:59:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5614 * python/docs/bindings.html: Document the return value of
5615 ValueRangeProcessor.__call__()
5617 Tue Sep 18 19:42:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5619 * python/util.i,python/extra.i: Add support for
5620 ValueRangeProcessor.operator(); this is messy because we need to
5621 make special argout typemaps, and the parameter names (begin and
5622 end) are used for arguments of type "std::string&" elsewhere -
5623 therefore, we have to extend ValueRangeProcessor with a new
5624 __call() method with uniquely named arguments, and then override
5625 the original __call__ method with this (in the python code).
5626 ValueRangeProcessor.__call__() now returns a 3-tuple, (slotnum,
5627 begin, end) - previously, it always failed with a type error, so
5628 this won't break existing code. Fixes bug #193 for Python.
5629 * python/smoketest.py: Add test for DateValueRangeProcessor() when
5630 used in a query parser, a regression test for bug #193 (using a
5631 NumberValueRangeProcessor), and some other regression tests from
5634 Tue Sep 18 04:16:54 BST 2007 Olly Betts <olly@survex.com>
5636 * php/smoketest.php: Use single quotes for string with $ in.
5638 Tue Sep 18 04:09:55 BST 2007 Olly Betts <olly@survex.com>
5640 * php/smoketest.php: Add feature test for DateValueRangeProcessor
5641 when used with QueryParser.
5642 * php/smoketest.php: Add regression test for bug#193 which is fixed
5645 Tue Sep 18 04:03:11 BST 2007 Olly Betts <olly@survex.com>
5647 * php/util.i: Remove typemap for std::string which is no longer needed
5648 since SWIG now has the same version.
5650 Sun Sep 16 20:46:48 BST 2007 Olly Betts <olly@survex.com>
5652 * python/Makefile.am: Need to clean up testsuite.pyc too.
5654 Sun Sep 16 12:17:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5656 * java/native/Makefile.am: Change $(jnilib) to $(jnidir) in
5657 uninstall-local rule - there's no such variable as jnilib, so I
5658 think this was a typo.
5660 Sun Sep 16 04:26:02 BST 2007 Olly Betts <olly@survex.com>
5662 * java/org/xapian/Makefile.am: Rewrite comment I can't parse. Rename
5663 INNERCLASS_FILES to XAPIAN_INNER_CLASS_FILES for consistency.
5665 Sun Sep 16 04:22:16 BST 2007 Olly Betts <olly@survex.com>
5667 * java/native/org_xapian_XapianJNI.h,java/org/xapian/Xapian.java,
5668 java/org/xapian/XapianJNI.java: Remove wrappers for the Muscat36
5669 backend, which has now been dropped from the C++ library.
5671 Sun Sep 16 04:03:30 BST 2007 Olly Betts <olly@survex.com>
5673 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5674 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Restore the
5675 install-data-hook rules, and add uninstall-local rules so that
5676 "make uninstall" works (which also allows it to work for java on
5679 Sun Sep 16 00:00:27 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5681 * java/org/xapian/Makefile.am: Add list of files generated from
5682 inner classes to CLEANFILES. (Don't add them to noinst_DATA
5683 because there's no obvious rule which generates them, and adding
5684 them to noinst_DATA would make them prerequisites for the
5687 Sat Sep 15 23:39:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5689 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5690 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Remove
5691 install-data-hook rules which removed the installed .la files -
5692 these are needed for "make uninstall" to work (and hence, also
5693 for make distcheck to work).
5695 Sat Sep 15 23:13:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5697 * Makefile.am: Add support for a user-specified
5698 "EXTRADISTCHECK_CONFIGURE_FLAGS" variable, used to pass extra
5699 DISTCHECK_CONFIGURE_FLAGS to make to be passed to the configure
5700 run in distcheck. Users can't just set DISTCHECK_CONFIGURE_FLAGS
5701 because this would override the default value (which sets
5702 XAPIAN_CONFIG): unlike the more common options, there doesn't
5703 seem to be an AM_DISTCHECK_CONFIGURE_FLAGS variable for the
5705 * INSTALL: Document use of EXTRADISTCHECK_CONFIGURE_FLAGS.
5707 Tue Sep 04 02:47:17 BST 2007 Olly Betts <olly@survex.com>
5709 * php/docs/bindings.html: Fix errors in example code.
5711 Sun Aug 26 16:12:49 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5713 * csharp/Makefile.am: Fix changed assembly name, to match change in
5714 type of result of MatchSpy::get_values()
5716 Sun Aug 26 16:07:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5718 * python/util.i: Change size_t to Xapian::doccount in
5719 value_map_to_dict, to match ValueCountMatchSpy::get_values().
5720 Fixes compilation on atreus (and hopefully other 64 bit systems).
5722 Sat Aug 25 17:09:33 BST 2007 Olly Betts <olly@survex.com>
5724 * php/smoketest.php: Add regression test for bug#192.
5726 Fri Aug 24 12:13:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5728 * README,python/docs/bindings.html: Add a note about the problems
5729 with mod-python, as described in bug #185.
5731 Thu Aug 23 23:10:16 BST 2007 Olly Betts <olly@survex.com>
5733 * configure.ac: Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the
5734 environment. The defaults for RUBY_LIB and RUBY_LIB_ARCH are now
5735 the site-specific directories (which is more correct when building
5736 from source - debian packages, etc can override this by setting
5737 RUBY_LIB and RUBY_LIB_ARCH).
5738 * INSTALL: Update the instructions for installing Ruby bindings
5739 without root access to use RUBY_LIB and RUBY_LIB_ARCH.
5741 Fri Aug 03 20:13:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5743 * python/util.i: Extend StringListUnserialiser to support the same
5744 comparison operators as other iterator wrapping classes.
5746 Fri Aug 03 20:12:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5748 * xapian.i: Add %ignore and %extend commands to wrap the
5749 StringListUnserialiser iterator properly.
5751 Tue Jul 17 13:21:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5753 * python/pythontest.py: Add test of TermCountMatchSpy.get_top_terms().
5755 Tue Jul 17 12:31:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5757 * python/extra.i: Add workaround to keep a python reference to any
5758 match deciders supplied to MultipleMatchDecider, to ensure they
5759 don't get deleted too soon.
5760 * python/pythontest.py: Add test of MultipleMatchDecider.
5762 Tue Jul 17 11:30:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5764 * python/pythontest.py: Remove test of get_most_frequent_items() which
5765 is no longer a public function.
5766 * python/util.i: Update comments.
5768 Sat Jul 14 00:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5770 * csharp/Makefile.am: Add new generated source files to build.
5772 Sat Jul 14 00:23:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5774 * python/extra.i,python/util.i: Instead of convering the output of
5775 ValueCountMatchSpy::get_values() to a dict, add a separate method
5776 get_values_as_dict() which returns a dict(), and leave
5777 get_values() returning a C object, which can then be passed to
5778 get_most_frequent_items(). Similarly for
5779 TermCountMatchSpy::get_terms_as_dict(). Adjust argout typemap for
5780 return of old class "ValueAndFreqnecy" to use new name
5781 "StringAndFrequency".
5782 * python/pythontest.py: Convert old test of TopValueMatchSpy to
5783 test ValueCountMatchSpy and TermCountMatchSpy.
5785 Thu Jul 12 07:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5787 * python/util.i: Change some error handling to use SWIG_fail
5788 instead of "return NULL" - allows any cleanup code that SWIG adds
5789 to be called (no functional change in the generated code at
5790 present). Add typemaps to convert the output of
5791 ValueCountMatchSpy::get_values() into a dict, and the output of
5792 TopValueMatchSpy::get_top_values() into a list.
5793 * python/pythontest.py: Add tests for the matchspies (though not
5794 with an actual search - the tests just simulate the matchspies
5795 being called with some documents).
5797 Sat Jul 07 11:09:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5799 * xapian-bindings.spec.in: Update from Fabrice Colin: packages
5800 xapian.php, and replaces references to /usr/share with
5803 Thu Jul 05 21:01:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5805 * xapian.i: Wrap MatchDecider even for languages which don't
5806 support directors, since there's a C++ subclass of it now so it's
5809 Thu Jul 05 18:24:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5811 * xapian.i: %include matchspy.h - doesn't seem to need any
5814 Thu Jul 05 15:33:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5816 * python/pythontest.py: Delete the database handles before deleting
5817 a database - hopefully, this will fix problems on windows (bug
5820 Thu Jul 05 00:55:15 BST 2007 Olly Betts <olly@survex.com>
5822 * NEWS: Final update for 1.0.2.
5824 Wed Jul 04 21:21:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5826 * NEWS: Update with release date for release 1.0.2
5828 Wed Jul 04 20:42:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5830 * configure.ac: Bump version to 1.0.2.
5832 Wed Jul 04 19:52:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5836 Wed Jul 04 19:51:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5838 * xapian.i: Add the new matchspy form of get_mset.
5840 Wed Jul 04 17:58:13 BST 2007 Olly Betts <olly@survex.com>
5844 Wed Jul 04 17:48:38 BST 2007 Olly Betts <olly@survex.com>
5846 * php/Makefile.am: Install xapian.php.
5848 Wed Jul 04 17:44:59 BST 2007 Olly Betts <olly@survex.com>
5850 * java-swig/Makefile.am: Update for ValueRangeProcessor classes.
5852 Wed Jul 04 17:42:34 BST 2007 Olly Betts <olly@survex.com>
5854 * php/util.i: Rename the ValueRangeProcessor subclasses and
5855 TermGenerator to have a Xapian prefix for PHP4.
5857 Wed Jul 04 17:41:36 BST 2007 Olly Betts <olly@survex.com>
5859 * xapian-bindings.spec.in: Don't mention %makeinstall in a comment as
5860 that makes RPM explode. Add in a missing "mv" for installing tcl8
5863 Wed Jul 04 17:39:26 BST 2007 Olly Betts <olly@survex.com>
5865 * INSTALL: Remove documentation of the "phpextdir" and "pylibdir" ways
5866 of installing a local copy - setting PHP_EXTENSION_DIR or PYTHON_LIB
5867 at configure time is a better solution.
5869 Wed Jun 27 14:16:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5873 Wed Jun 27 14:15:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5875 * python/pythontest.py: Add tests of the Database.spellings()
5878 Wed Jun 27 14:13:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5882 Tue Jun 26 17:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5884 * python/extra.i,xapian.i: Add support for spellings_begin(), and
5885 add a python-specific term iterator for it, accessed as
5886 Database.spellings()
5888 Tue Jun 26 00:56:03 BST 2007 Olly Betts <olly@survex.com>
5890 * xapian.i: Fix for document.h wrapping.
5892 Tue Jun 26 00:01:38 BST 2007 Olly Betts <olly@survex.com>
5894 * xapian.i: Parse xapian/postingiterator.h directly.
5896 Mon Jun 25 23:21:45 BST 2007 Olly Betts <olly@survex.com>
5898 * xapian.i: Parse xapian/document.h directly.
5900 Mon Jun 25 18:07:36 BST 2007 Olly Betts <olly@survex.com>
5902 * xapian.i: Use "%include <xapian/queryparser.h>" to wrap
5903 Xapian::QueryParser, etc. This adds FLAG_SYNONYM and updates
5904 FLAG_MULTIWORD_SYNONYMS.
5906 Sat Jun 23 19:02:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5908 * xapian.i: Add new synonym_keys_begin() and synonym_keys_end()
5909 methods to Database.
5910 * python/extra.i: Add synonym_keys() python iterator to Database.
5911 * python/pythontest.py: Test synonym_keys() iterator, and tidy up
5912 earlier test for synonyms()
5914 Fri Jun 22 18:43:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5916 * xapian.i: Add synonym support: new methods on Database and
5917 WritableDatabase, and some new flags for the query parser.
5918 * python/extra.i: Add Database.synonyms, to iterator the synonyms
5920 * python/pythontest.py: Add a test for synonym iterators, and clean
5921 up after the tests which make their own databases.
5923 Wed Jun 20 21:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5925 * python/pythontest.py: Enable the spelling test, and also make it
5926 check that spellings can be corrected using a writable database
5927 before calling flush().
5929 Wed Jun 20 17:33:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5931 * python/pythontest.py: Add a test of the spelling stuff (at the
5932 database layer, not the queryparser layer yet). Currently fails,
5933 so has a "return" as the first line until it's fixed.
5935 Wed Jun 20 12:54:23 BST 2007 Olly Betts <olly@survex.com>
5937 * csharp/Makefile.am: Fix parallel make handling to include
5940 Wed Jun 20 08:11:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5942 * xapian.i: Add spelling correction methods and constants:
5943 Database::get_spelling_suggestion(),
5944 WritableDatabase::add_spelling() and remove_spelling(),
5945 QueryParser::FLAG_SPELLING_CORRECTION and
5946 QueryParser::get_corrected_query_string()
5948 Mon Jun 18 13:54:19 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5950 * xapian.i: Add the new static methods in NumberValueRangeProcessor
5951 for serialising and unserialising doubles to the bindings.
5953 Mon Jun 18 03:27:58 BST 2007 Olly Betts <olly@survex.com>
5955 * INSTALL: "--with-swig" has been removed, so don't mention it.
5957 Sun Jun 17 09:39:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5959 * configure.ac: Similarly, for PHP, respect a value of
5960 PHP_EXTENSION_DIR supplied to configure, and add it to the --help
5962 * INSTALL: Document PHP_EXTENSION_DIR (and tweak documentation for
5963 Python equivalent slightly).
5965 Sun Jun 17 09:23:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5967 * configure.ac: Respect the value of PYTHON_LIB supplied to
5968 configure; it was listed in the output of ./configure --help, but
5969 the value supplied was ignored.
5970 * HACKING: Document setting PYTHON_LIB as an alternative way to
5971 specify the python install location (at configure time instead of
5974 Sat Jun 16 11:06:59 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5976 * Makefile.am: Pass value of XAPIAN_CONFIG to distcheck, to ensure
5977 that it works with uninstalled copies of Xapian.
5979 Thu Jun 14 18:42:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5981 * python/generate-python-exceptions.in: Fix a threading problem:
5982 the GIL was not being re-acquired when an exception was thrown
5983 before setting the Python exception state. This was causing
5984 various memory corruption symptoms. Fixed by explicitly calling
5985 SWIG_PYTHON_THREAD_END_ALLOW() in the catch() clause (except for
5986 directory classes); this is a bit ugly, but I can't see how SWIG
5987 could be fixed to do this automatically, since it doesn't know
5988 what's going on in the "exception" clause.
5990 Tue Jun 12 02:46:01 BST 2007 Olly Betts <olly@survex.com>
5992 * python/smoketest.py,python/testsuite.py: Tweak expect_query() to add
5993 "Xapian::Query(" and ")" around the expected description.
5994 * python/smoketest.py: Add test case for OP_VALUE_RANGE query.
5996 Mon Jun 11 03:58:50 BST 2007 Olly Betts <olly@survex.com>
5998 * NEWS: Improve wording.
6000 Mon Jun 11 03:16:20 BST 2007 Olly Betts <olly@survex.com>
6002 * NEWS: Probably final update for 1.0.1.
6004 Mon Jun 11 03:08:13 BST 2007 Olly Betts <olly@survex.com>
6006 * python/docs/examples/: Update to use QueryParser and TermGenerator.
6008 Mon Jun 11 02:23:02 BST 2007 Olly Betts <olly@survex.com>
6010 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
6011 csharp/docs/examples/SimpleExpand.cs: Add SimpleExpand
6014 Mon Jun 11 01:23:52 BST 2007 Olly Betts <olly@survex.com>
6016 * xapian-bindings.spec.in: Use "make install" instead of %makeinstall
6017 to avoid doubled %{buildroot} prefix on most files which we then
6018 have to work around.
6020 Mon Jun 11 01:11:31 BST 2007 Olly Betts <olly@survex.com>
6022 * csharp/docs/examples/SimpleIndex.cs,
6023 csharp/docs/examples/SimpleSearch.cs: Update to use QueryParser and
6025 * csharp/docs/bindings.html: Document explicitly how STEM_SOME, etc
6026 are currently wrapped. Update GetTermName() reference to GetTerm().
6028 Sun Jun 10 22:01:47 BST 2007 Olly Betts <olly@survex.com>
6030 * configure.ac: Drop automake requirement to 1.8.3 to allow RPM spec
6031 file to work on SLES 9.
6033 Sun Jun 10 21:50:28 BST 2007 Olly Betts <olly@survex.com>
6035 * configure.ac: Bump version to 1.0.1.
6037 Fri Jun 08 20:40:00 BST 2007 Olly Betts <olly@survex.com>
6039 * ruby/docs/examples/: Update to use TermGenerator and QueryParser
6042 Fri Jun 08 20:10:42 BST 2007 Olly Betts <olly@survex.com>
6044 * ruby/util.i: Add missing rename for TermGenerator::set_document()
6045 so it can be used as "tg.document = doc" in Ruby.
6047 Thu Jun 07 01:06:17 BST 2007 Olly Betts <olly@survex.com>
6051 Thu Jun 07 01:01:05 BST 2007 Olly Betts <olly@survex.com>
6053 * configure.ac: Note new required SWIG SVN rev.
6055 Thu Jun 07 00:58:08 BST 2007 Olly Betts <olly@survex.com>
6057 * php/docs/examples/: Fix simpleexpand examples to put up to 5
6058 documents in the fake RSet as the comments say, not 4 as the
6059 code incorrectly did!
6060 * php/docs/examples/: Fix exception reporting in PHP5 examples.
6062 Thu Jun 07 00:49:23 BST 2007 Olly Betts <olly@survex.com>
6064 * tcl8/docs/examples/simpleindex.tcl,
6065 tcl8/docs/examples/simplesearch.tcl: Update to use TermGenerator
6066 and QueryParser, and to more closely match the new C++ versions.
6067 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate
6068 relevance feedback, based on C++ simpleexpand.cc.
6069 * tcl8/docs/bindings.html: Add link to new simpleexpand.tcl example.
6071 Thu Jun 07 00:05:25 BST 2007 Olly Betts <olly@survex.com>
6073 * php/docs/examples/: Fix missing "\n" in error message when we're run
6074 under a non-CLI version of PHP.
6076 Thu Jun 07 00:02:33 BST 2007 Olly Betts <olly@survex.com>
6078 * tcl8/runtest.tcl: Fix exit handling to work if the called script
6081 Thu Jun 07 00:00:17 BST 2007 Olly Betts <olly@survex.com>
6083 * tcl8/docs/bindings.html: Document how constants are wrapped.
6085 Wed Jun 06 23:47:03 BST 2007 Olly Betts <olly@survex.com>
6087 * tcl8/runtest.tcl: Enhance to allow calling a script with command
6088 line arguments (useful for testing the examples).
6090 Wed Jun 06 22:39:01 BST 2007 Olly Betts <olly@survex.com>
6092 * configure.ac: Note the SWIG SVN revision currently recommended.
6094 Wed Jun 06 12:34:18 BST 2007 Olly Betts <olly@survex.com>
6096 * php/docs/examples/: Rewrite examples to closely model the new C++
6099 Tue Jun 05 17:23:17 BST 2007 Olly Betts <olly@survex.com>
6101 * configure.ac: Fix comment typo.
6103 Mon Jun 04 17:48:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6105 * configure.ac,python/Makefile.am,python/util.i: Patch from James
6106 Aylett (slightly adapted) to avoid building doccoments.i in
6107 maintainer builds with --disable-documentation specified. In
6108 this situation, the generated python bindings won't have the
6109 doccomments extracted by doxygen from the xapian headers, but
6110 they will compile and work.
6112 Fri Jun 01 12:54:28 BST 2007 Olly Betts <olly@survex.com>
6114 * xapian.i: Remove "#ifndef SWIGGUILE" around a Query constructor -
6115 if anyone revives the guile bindings, they'll probably need to
6116 sort this out, but this "fix" certainly isn't correct.
6118 Fri Jun 01 12:53:36 BST 2007 Olly Betts <olly@survex.com>
6120 * guile/Makefile.am: Fix out-of-date "include". Use $(SWIG_CXXFLAGS)
6121 not @SWIG_CXXFLAGS@.
6123 Fri Jun 01 10:32:40 BST 2007 Olly Betts <olly@survex.com>
6125 * python/Makefile.am: Generate and install xapian.pyo.
6127 Thu May 31 19:15:58 BST 2007 Olly Betts <olly@survex.com>
6129 * configure.ac: Relax automake requirement to 1.9.2 to allow RPM
6132 Thu May 31 18:44:55 BST 2007 Olly Betts <olly@survex.com>
6134 * INSTALL,NEWS,README,configure.ac,java/README: Change "MacOS X" to
6137 Thu May 31 17:59:25 BST 2007 Olly Betts <olly@survex.com>
6139 * java-swig/Makefile.am: Use JAVA_CPPFLAGS so we find jni.h.
6141 Thu May 31 14:52:07 BST 2007 Olly Betts <olly@survex.com>
6143 * configure.ac: Automatically add an extra "-I" for the
6144 linux/solaris/win32 subdirectory which Sun's JDK requires.
6145 * java/README: Remove note saying that the user may have to do this
6148 Thu May 31 13:11:56 BST 2007 Olly Betts <olly@survex.com>
6150 * java-swig/Makefile.am: Distribute the generated .java sources.
6152 Thu May 31 12:34:25 BST 2007 Olly Betts <olly@survex.com>
6154 * configure.ac: Document JAVA_HOME and JDK_HOME in ./configure --help
6155 and mark their values as "precious" so they are preserved for when
6156 configure is automatically rerun.
6158 Wed May 30 23:54:23 BST 2007 Olly Betts <olly@survex.com>
6160 * python/smoketest.py: Update uses of the legacy sequence API.
6161 * python/pythontest.py: The legacy sequence API is only supported for
6162 Python 2.3 and later, so don't run tests for it when running under
6165 Wed May 30 22:27:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6167 * python/pythontest.py,python/smoketest.py: Revert the earlier
6168 change to the expected output from testcases which expect
6169 exceptions, in line with the new Error.__str__() method.
6171 Wed May 30 22:21:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6173 * python/generate-python-exceptions.in: Override the new default
6174 get_description() method in the Python bindings (which is renamed
6175 to __str__) with a similar method which doesn't include the type
6176 of the error message at the start of the error string. Python
6177 errors are almost always displayed preceded by the type of the
6178 error class, so this was causing the type of the error to be
6179 repeated in tracebacks and similar reports.
6181 Wed May 30 17:57:34 BST 2007 Olly Betts <olly@survex.com>
6183 * configure.ac: `configure --help' documented that environmental
6184 variable JNI_INCLUDE_DIR was looked at, but in fact its value
6185 was read but ignored. We now use it as the first place to
6188 Wed May 30 14:52:04 BST 2007 Olly Betts <olly@survex.com>
6190 * NEWS: Update. Add in all the standard subheadings. Fix all
6191 the "Xapian-core <version> (<date>):" headings to refer to
6192 "Xapian-bindings" instead.
6194 Wed May 30 13:20:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6196 * xapian.i: Wrap new forms of allterms_begin() and allterms_end()
6197 which take prefixes.
6198 * python/extra.i: Add support for prefix-restricted pythonic allterms
6200 * python/pythontest.py: Add test for new prefix-restricted allterms
6201 iterators. Update existing allterms text to set the context to
6204 Tue May 29 09:50:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6206 * python/docs/bindings.html: Update documentation in a couple of
6207 places to refer to updated replacements for MSetIterator.
6209 Tue May 29 09:49:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6211 * python/testsuite.py: Change testsuite output to be more
6212 vim-friendly (vim should be able to jump to the right lines now).
6214 Sun May 27 16:11:42 BST 2007 Olly Betts <olly@survex.com>
6216 * python/generate-python-exceptions.in: Remove __str__ method from
6217 %extend of Error class, since C++ now provides an
6218 Error::get_description() method which is automatically renamed to
6220 * python/pythontest.py,python/smoketest.py: New C++
6221 Error::get_description() method gives different output to the old
6222 Python-specific __str__, so update testcases to match.
6223 * python/generate-python-exceptions.in: Mark generated file using
6224 `@configure_input@'.
6226 Sun May 27 15:31:06 BST 2007 Olly Betts <olly@survex.com>
6228 * csharp/SmokeTest.cs: Update comment about Portable.NET bug - the bug
6229 is fixed in their CVS repo, and the fix should be in their 0.8.2
6232 Mon May 21 07:11:12 BST 2007 Olly Betts <olly@survex.com>
6234 * tcl8/docs/examples/simpleindex.tcl,
6235 tcl8/docs/examples/simplesearch.tcl: Need to update to
6236 "package require xapian 1.0.0" here too.
6238 Mon May 21 01:51:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6240 * xapian.i: Add Query constructor used to make ValueRange queries,
6241 which got missed out of the bindings.
6243 Fri May 18 12:59:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6245 * configure.ac,tcl8/Makefile.am,tcl8/pkgIndex.tcl.in: Generate
6246 tcl8/pkgIndex.tcl from a .in file, instead of using a special
6247 rule in tcl8/Makefile.am. Should make the dependencies more
6248 robust, and is generally cleaner.
6250 Fri May 18 09:16:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6252 * tcl8/smoketest.tcl: Update tcl smoketest.tcl to require version
6253 1.0.0 - it previously required 0.9.6, bug TCLs "package require"
6254 command doesn't accept differing major numbers, even if -exact
6256 * tcl8/Makefile.am: Add dependency on ../config.status to
6257 pkgIndex.tcl, so that it gets updated when the version number
6260 Thu May 17 22:27:08 BST 2007 Olly Betts <olly@survex.com>
6262 * NEWS: Final update before release.
6264 Thu May 17 22:10:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6266 * python/docs/bindings.html: Document iterators, and iterator
6267 properties, which have a problem with the lazy evaluation if the
6268 iterator has moved before the evaluation happens. Add a title to
6269 the table of equivalents to the old Sequence API.
6271 Thu May 17 21:51:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6273 * NEWS: Update the Python entries.
6275 Thu May 17 19:52:05 BST 2007 Olly Betts <olly@survex.com>
6277 * NEWS: Sort out the easier Python entries, since Richard seems to
6278 have fallen off the net.
6280 Thu May 17 19:11:38 BST 2007 Olly Betts <olly@survex.com>
6282 * configure.ac: Bump version to 1.0.0.
6284 Thu May 17 17:28:35 BST 2007 Olly Betts <olly@survex.com>
6288 Thu May 17 17:25:39 BST 2007 Olly Betts <olly@survex.com>
6290 * ruby/docs/bindings.html: Remove "beta quality" warning - the Ruby
6291 bindings seem as solid as the others and no problems have been
6293 * ruby/docs/bindings.html: Add section on Unicode support.
6295 Thu May 17 17:25:06 BST 2007 Olly Betts <olly@survex.com>
6297 * php/docs/bindings.html: Tweak the linked text.
6299 Thu May 17 16:41:19 BST 2007 Olly Betts <olly@survex.com>
6301 * NEWS: Minor fixes from Jenny's proofreading.
6303 Thu May 17 15:49:14 BST 2007 Olly Betts <olly@survex.com>
6305 * NEWS: Updated for 1.0.0 except for the Python changes.
6307 Thu May 17 15:48:16 BST 2007 Olly Betts <olly@survex.com>
6309 * php/smoketest.php: The PHP5 overloading issue was fixed in 0.9.10.1
6310 not 0.9.10, so update a comment to reflect this.
6312 Wed May 16 09:21:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6314 * csharp/Makefile.am,xapian.i: Add ValueRangeProcessors to the
6315 bindings, and add the OP_VALUE_RANGE query operator.
6317 Tue May 15 17:47:30 BST 2007 Olly Betts <olly@survex.com>
6319 * README: Tweak wording.
6320 * csharp/docs/bindings.html: Document Unicode support.
6322 Tue May 15 16:42:32 BST 2007 Olly Betts <olly@survex.com>
6324 * HACKING,README: Various updates.
6326 Tue May 15 04:58:21 BST 2007 Olly Betts <olly@survex.com>
6328 * python/docs/bindings.html: Reword "This is being changed to [...]".
6330 Tue May 15 04:41:15 BST 2007 Olly Betts <olly@survex.com>
6332 * tcl8/docs/bindings.html: Add Unicode section, documenting the issue
6335 Tue May 15 04:35:10 BST 2007 Olly Betts <olly@survex.com>
6337 * php/docs/bindings.html: Add note about Unicode support.
6339 Mon May 14 19:42:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6341 * python/smoketest.py: Fix query tests to match the output of the
6344 Mon May 14 16:16:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6346 * python/docs/bindings.html: Fix typo - NFKC is definitely probably
6349 Mon May 14 15:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6351 * python/pythontest.py,python/smoketest.py: Fix pythontest and
6352 smoketest to expect what I think should be the correct output.
6353 smoketest still doesn't pass, sadly, because the PARTIAL option
6354 isn't fully implemented for the new scheme yet.
6356 Sun May 13 04:55:30 BST 2007 Olly Betts <olly@survex.com>
6358 * java/org/xapian/XapianJNI.java,tcl8/docs/bindings.html: "writeable"
6361 Sun May 13 04:50:13 BST 2007 Olly Betts <olly@survex.com>
6363 * python/docs/bindings.html: "agnositc" -> "agnostic", and capitalise
6364 "Xapian" for consistency.
6366 Sat May 12 22:04:07 BST 2007 Olly Betts <olly@survex.com>
6368 * configure.ac: If SWIG has been explicitly specified (in the
6369 environment or with `./configure SWIG=xxx') then downgrade the
6370 AC_MSG_ERROR() if the version is wrong to a warning. Also,
6371 if no version is read, then say "(you have an unknown version)"
6372 rather than "(you have )".
6374 Thu May 10 18:18:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6376 * tcl8/except.i: Fix for change to return type of
6379 Wed May 09 17:20:25 BST 2007 Olly Betts <olly@survex.com>
6381 * csharp/Makefile.am: Add TermGenerator.cs to list of generated C#
6384 Wed May 09 16:44:50 BST 2007 Olly Betts <olly@survex.com>
6386 * java-swig/Makefile.am: Update for TermGenerator class.
6387 * ./: Update svn:ignore for TermGenerator class and xapian_wrap.stamp.
6389 Tue May 08 19:58:04 BST 2007 Olly Betts <olly@survex.com>
6391 * configure.ac: Fix incorrect second reference to SWIG SVN revision number
6392 needed. Add comment noting what we need perl for.
6394 Tue May 08 19:56:11 BST 2007 Olly Betts <olly@survex.com>
6396 * xapian.i: %include <xapian/deprecated.h> rather than assuming things
6397 about how it is implemented.
6399 Tue May 08 19:37:53 BST 2007 Olly Betts <olly@survex.com>
6401 * ruby/util.i: Deine SWIG_NO_EXPORT_ITERATOR_METHODS to suppress
6402 SWIG's new iterator support for Ruby which we don't use.
6404 Tue May 08 15:59:02 BST 2007 Olly Betts <olly@survex.com>
6406 * xapian.i: Tell SWIG about XAPIAN_DEPRECATED() earlier so that it
6407 copes with XAPIAN_DEPRECATED() being used in xapian/error.h.
6409 Tue May 08 15:50:21 BST 2007 Olly Betts <olly@survex.com>
6411 * xapian.i: Removed lingering reference to PYTHON_OLDE.
6413 Mon May 07 11:01:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6415 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6416 python/Makefile.am,ruby/Makefile.am: Fix rules with multiple
6417 targets to recover from the removal of one or more of the targets
6418 without removing the stamp file, as detailed in the automake
6421 Sun May 06 16:03:12 BST 2007 Olly Betts <olly@survex.com>
6423 * configure.ac: Set version to mythical 0.9.99.
6425 Fri May 04 20:00:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6427 * python/smoketest.py,xapian.i: Add TermGenerator to bindings, and
6428 a basic python smoketest (which currently fails, I think due to a
6429 bug in the TermGenerator).
6431 Fri Apr 27 09:28:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6433 * xapian.i: Add third overloaded form of parse_query, which allows
6434 the "default_prefix" argument to be supplied.
6436 Thu Apr 26 16:48:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6438 * python/extra.i: Change quotes on `start` to make epydoc happy.
6440 Thu Apr 26 15:29:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6442 * python/extra.i: Change termlist iterators which returned items in
6443 which only the term could be accessed to return the term directly.
6444 May break some old applications, but all the applications I've
6445 seen were just calling the internal iterator to get this
6446 behaviour anyway, and ignoring the sequence API method. Now is
6447 the only time this can be cleaned up, really. Allows idioms like
6448 ','.join(enq.matching_terms) to work.
6449 Also, change MSet.get_hit() to return an MSetItem instead of an
6450 MSetIterator: allows all our work on lazy access to be used. Add
6451 deprecated methods to MSetItem to allow code which was expecting
6452 an MSetIterator to work (for now).
6453 * python/pythontest.py: Change tests not to use deprecated
6454 features, except in marked sections designed for that purpose.
6455 Test out-of-range access to MSets (used to cause a crash).
6456 Adjust tests for termlists which return strings.
6457 * python/smoketest.py: Change reference to deprecated
6458 Enquire.get_matching_terms() to Enquire.matching_terms()
6460 Mon Apr 23 23:10:41 BST 2007 Olly Betts <olly@survex.com>
6462 * python/smoketest.py,xapian.i: Wrap Enquire::INCLUDE_QUERY_TERMS
6463 and Enquire::USE_EXACT_TERMFREQ.
6465 Mon Apr 23 20:48:43 BST 2007 Olly Betts <olly@survex.com>
6467 * xapian.i: Correct out-of-date comment.
6469 Mon Apr 23 17:20:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6471 * python/extra.i: Change code which sets __all__ to non-functional
6472 style syntax, because we want to support python 2.2 and 2.3.
6474 Mon Apr 23 15:54:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6476 * python/extra.i: Set __docformat__ and __all__ to make output from
6477 "help" and tools like epydoc nicer. __all__ is set by filtering
6478 the symbols returned by dir(), so the value it's set to shouldn't
6479 need much maintenance. Setting __all__ also makes it more
6480 reasonable to do "from xapian import *", but that's probably not
6481 really a good idea in anything but the simplest script.
6483 Mon Apr 23 13:59:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6485 * python/Makefile.am: Add -threads flag to SWIG command when
6486 generating python bindings: threads are used in so many python
6487 applications these days that we really need to support them.
6488 Hopefully fixes bugs #137.
6490 Mon Apr 23 12:58:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6492 * README: Mention that PHP now builds with MSVC, and remove comment
6493 that Python 2.0 and 2.1 could be made to work - it would be quite
6496 Mon Apr 23 12:56:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6498 * python/testsuite.py: Add extra VERBOSE=3 level, which displays
6499 the checks which were performed, even if they passed. Very
6500 useful for debugging code which unexpectedly segfaults.
6502 Mon Apr 23 11:34:47 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6504 * python/pythontest.py: Test exception which is thrown by a
6505 termlist from a freshly created document if the term frequency
6506 information is requested.
6508 Mon Apr 23 10:56:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6510 * python/extra.i: Change skip_to() methods to return item skipped
6511 to, and fix several bugs in them.
6512 * python/pythontest.py: Test skip_to() for termlists and posting
6515 Mon Apr 23 09:54:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6517 * python/extra.i: Fix documentation comments for TermListItem and
6518 improve code documentation. Implement support for lazy
6519 evaluation with posting lists.
6520 * python/pythontest.py: Test legacy sequence API for termlists, and
6521 fix small bug in test for document termlists (was passing, but
6522 not testing what it was meant to). Add new test for posting
6525 Sun Apr 22 21:14:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6527 * python/extra.i: Add documentation comments for position
6528 iterators and value iterators. Make value iterators return items
6529 with attributes, rather than arrays (using _SequenceMixIn to
6530 provide legacy interface, as for other iterators).
6531 * python/pythontest.py: Add tests for value and position iterators.
6533 Sun Apr 22 19:24:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6535 * csharp/Makefile.am,php/Makefile.am,python/Makefile.am,
6536 ruby/Makefile.am: Add xapian_wrap.stamp files to CLEANFILES when
6539 Sun Apr 22 17:50:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6541 * python/pythontest.py: Correct stoplist test to expect correct
6544 Sun Apr 22 00:13:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6546 * python/extra.i: Add documentation comments for queryparser
6547 stoplist and unstemlist.
6548 * python/pythontest.py: Add tests of stoplist and unstemlist
6551 Sat Apr 21 20:30:32 BST 2007 Olly Betts <olly@survex.com>
6553 * configure.ac: We require automake 1.9.5 for xapian-core, so require
6554 it here too for consistency. Turn on automake -Wportability option.
6556 Sat Apr 21 11:30:26 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6558 * python/extra.i: Change term iterators so that they can handle
6559 WDF and term frequency information either lazily or eagerly.
6560 Always handle positionlist information lazily. Return an error
6561 if the iterator has already moved on when a lazily accessed piece
6562 of information is requested. Set access to lazy or eager (or no
6563 access) for each item for each type of termlist iterator which
6564 can be returned, and document this in the documentation comments.
6565 This may impact some users of the legacy sequence API, but is
6566 likely to work for typical and reasonable usages of the API.
6567 Still needs to be documented in the python binding documentation
6569 * python/pythontest.py: Add tests for term iterators returned by
6570 matching terms, Query objects, alltermlists on databases,
6571 termlists on database, documents returned from databases, and
6572 newly created documents.
6574 Fri Apr 20 15:07:03 BST 2007 Olly Betts <olly@survex.com>
6576 * csharp/SmokeTest.cs,csharp/docs/bindings.html,
6577 java/native/Enquire.cc,xapian.i: Update for change of return type of
6578 MatchDecider::operator() and ExpandDecider::operator(). The only
6579 change visible in a wrapped language is in C# where the return type
6580 also changes from `int' to `bool'.
6581 * xapian.i: Where directors are supported, also wrap the alternative
6582 form of Enquire::get_eset() which doesn't take the flags or k
6584 * java-swig/util.i: Rename MatchDecider::operator() and
6585 ExpandDecider::operator() to `accept' in Java to match the JNI
6587 * java-swig/SmokeTest.java: Uncomment some more of the code which
6590 Fri Apr 20 10:48:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6592 * csharp/,ruby/: Ignore generated *.stamp files.
6594 Fri Apr 20 10:46:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6596 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6597 python/Makefile.am,ruby/Makefile.am: Add intermediate targets in
6598 all cases where swig generates multiple output files.
6600 Fri Apr 20 10:37:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6602 * python/Makefile.am: Add intermediate target when running swig, in
6603 line with comment recently added to xapian-core/HACKING regarding
6604 rules with multiple targets.
6606 Fri Apr 20 00:30:16 BST 2007 Olly Betts <olly@survex.com>
6608 * java-swig/util.i: Sort out typemap for the "Query from operator
6609 and array of Query objects" constructor.
6610 * java-swig/Makefile.am: Delete the "extra" .class files upon
6611 "make clean". Query$1.class seems to be useless, so don't
6612 include it in the .jar. Use perl to insert a call to load the JNI
6613 library automatically before we try to use it since SWIG doesn't
6614 seem to do this for us. Now "make check" passes, but with lots
6615 commented out still.
6617 Fri Apr 20 00:16:17 BST 2007 Olly Betts <olly@survex.com>
6619 * python/Makefile.am: Don't assume Perl is `perl' - use `$(PERL)'
6622 Thu Apr 19 22:37:05 BST 2007 Olly Betts <olly@survex.com>
6624 * java-swig/util.i: Rename get_description() methods to toString()
6627 Thu Apr 19 22:34:59 BST 2007 Olly Betts <olly@survex.com>
6629 * java-swig/Makefile.am: Fix bogus line-break in CLEANFILES.
6630 Add xapian_wrap.h to BUILT_SOURCES and swig running rule.
6632 Thu Apr 19 22:34:28 BST 2007 Olly Betts <olly@survex.com>
6634 * xapian.i: Query::get_description() is actually const.
6636 Thu Apr 19 18:20:59 BST 2007 Olly Betts <olly@survex.com>
6638 * java-swig/Makefile.am: Handle the extra .class files generated by
6641 Thu Apr 19 14:45:19 BST 2007 Olly Betts <olly@survex.com>
6643 * Makefile.am,configure.ac,java-swig/,xapian.i: First cut of Java
6644 bindings built using SWIG. Numerous things aren't wrapped in
6645 a compatible way (not sure if we can sensibly be 100% compatible
6646 anyway though) and 'make check' fails to run, but this has
6647 reached the stage where version control is needed.
6649 Thu Apr 19 00:41:25 BST 2007 Olly Betts <olly@survex.com>
6651 * ruby/docs/bindings.html: Note that C++ operator() becomes
6654 Wed Apr 18 23:35:52 BST 2007 Olly Betts <olly@survex.com>
6656 * ruby/util.i: Remove '%ignore' for deprecated methods we've now
6659 Wed Apr 18 23:32:35 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6661 * python/extra.i,python/pythontest.py: Fix legacy sequence API for
6664 Wed Apr 18 23:31:39 BST 2007 Olly Betts <olly@survex.com>
6666 * csharp/Makefile.am,java/org/xapian/Enquire.java,
6667 java/org/xapian/XapianJNI.java,ruby/util.i,xapian.i:
6668 Update for removal of Enquire::set_bias().
6670 Wed Apr 18 17:09:22 BST 2007 Olly Betts <olly@survex.com>
6672 * guile/util.i,python/extra.i,python/util.i,ruby/util.i,tcl8/except.i,
6673 tcl8/util.i: Sort out vim magic comments for all .i files.
6675 Wed Apr 18 16:41:37 BST 2007 Olly Betts <olly@survex.com>
6677 * python/: svn:ignore doccomments.i.
6679 Wed Apr 18 16:18:45 BST 2007 Olly Betts <olly@survex.com>
6681 * csharp/util.i,generic/except.i: Move C# specific exception stuff
6682 into C# specific file.i.
6683 * csharp/util.i: Add vim magic to use C++ highlighting (not perfect as
6684 this file also contains C# code, but better than vim's default for a
6687 Wed Apr 18 15:54:29 BST 2007 Olly Betts <olly@survex.com>
6689 * python/util.i: Use %inline to avoid duplicating MSET_DID, etc. Set
6692 Wed Apr 18 15:37:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6694 * python/doxy2swig.py.in: Fix issue with output from newer version
6695 of Doxygen which puts <ref/> nodes inside <parametername/> nodes.
6697 Wed Apr 18 02:34:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6699 * python/extra.i: Improve various documentation comments. Allow
6700 _SequenceMixIn to have default values for some parameters,
6701 instead of doing a lookup, to allow termlists and posting lists
6702 to return the fake values returned by the old sequence API. Add
6703 termlist iterators, and link them into the Enquire.matching_terms
6705 * python/pythontest.py: Add a check that xapian exceptions have
6706 Exception as a base class. Also, add a test of the new
6707 Enquire.matching_terms term iterators.
6709 Wed Apr 18 02:12:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6711 * README: Add comment about using gmcs and mcs.
6713 Wed Apr 18 02:01:43 BST 2007 Olly Betts <olly@survex.com>
6715 * configure.ac: Prefer gmcs to mcs when looking for a C# compiler
6716 since gmcs is the newer compiler targeting the 2.0 runtime.
6718 Wed Apr 18 01:12:39 BST 2007 Olly Betts <olly@survex.com>
6720 * csharp/util.i: Remove renaming exception for get_term - the
6721 automatic naming will handle that correctly.
6723 Wed Apr 18 00:29:57 BST 2007 Olly Betts <olly@survex.com>
6725 * java/native/Enquire.cc,java/native/Stem.cc: Update to use new
6726 C++ replacements for deprecated methods. The Java wrappers
6727 still provide the old deprecated names for now though.
6728 * ruby/smoketest.rb: For now, use @stem.call("foo").
6729 * ruby/util.i,xapian.i: Remove wrappers for deprecated methods and
6732 Wed Apr 18 00:15:40 BST 2007 Olly Betts <olly@survex.com>
6734 * python/Makefile.am: Need to distribute testsuite.py.
6736 Tue Apr 17 23:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6738 * python/util.i: add __str__ methods as aliases for the
6739 get_description() methods, and deprecate the get_description()
6742 Tue Apr 17 22:41:40 BST 2007 Olly Betts <olly@survex.com>
6744 * python/docs/examples/simpleexpand.py: Replace use of deprecated
6745 RSet::is_empty() with RSet::empty().
6747 Tue Apr 17 21:02:52 BST 2007 Olly Betts <olly@survex.com>
6749 * php/util.i,xapian.i: We need to keep is_empty() for PHP as empty()
6750 clashes with a reserved word! Refactor to use %rename in php/util.i
6751 instead of %ignore on empty() and a special is_empty() wrapper in
6753 * php/docs/bindings.html: Document renaming of empty() to
6754 is_empty() and clone() to clone_object().
6756 Tue Apr 17 19:57:03 BST 2007 Olly Betts <olly@survex.com>
6758 * configure.ac: Fix comment typo.
6760 Tue Apr 17 19:20:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6762 * csharp/Makefile.am: Add Flint.cs to list of generated files, so
6763 it gets cleaned and added to dist.
6765 Tue Apr 17 16:34:27 BST 2007 Olly Betts <olly@survex.com>
6767 * ruby/xapian.rb: Don't read termfreq in safe wrapper for
6768 Document::termlist_begin(). Don't read wdf in safe wrapper
6769 for Database::allterms_begin(). Fixes bug#133.
6771 Tue Apr 17 14:51:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6773 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
6774 csharp/docs/examples/SimpleSearch.cs: Change references to
6775 stem.StemWord() to stem.Apply()
6777 Tue Apr 17 14:30:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6779 * php/docs/examples/,php/smoketest.php,
6780 tcl8/docs/examples/simpleindex.tcl,
6781 tcl8/docs/examples/simplesearch.tcl,tcl8/smoketest.tcl:
6782 Replace references to deprecated stem.stem_word() with stem.apply()
6784 Tue Apr 17 10:14:01 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6786 * python/docs/examples/,python/smoketest.py: Change references to
6787 stem.stem_word() to stem()
6789 Tue Apr 17 08:57:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6791 * python/testsuite.py: Run tests in predicatable order, by sorting
6792 the list of tests if it's supplied as a dictionary.
6794 Mon Apr 16 18:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6796 * python/docs/bindings.html,python/docs/examples/simpleexpand.py:
6797 Document ESetIterator::get_term() instead of
6798 ESetIterator::get_termname()
6800 Mon Apr 16 18:32:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6802 * csharp/util.i,php/docs/examples/simpleexpand.php4,
6803 php/docs/examples/simpleexpand.php5: Change to use get_term()
6804 instead of get_termname().
6805 * php/docs/bindings.html,ruby/docs/bindings.html,
6806 tcl8/docs/bindings.html: Document ESetIterator::get_term()
6807 instead of ESetIterator::get_termname()
6809 Mon Apr 16 18:27:39 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6811 * xapian.i: Add ESetIterator::get_term() as alias for now
6812 ESetIterator::get_termname(), and mark the old get_termname as
6813 deprecated. Tidy up all comments about deprecated functions,
6814 giving the version they were deprecated in.
6816 Mon Apr 16 11:16:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6818 * python/extra.i,python/pythontest.py: Add nicer ESet iterators,
6821 Mon Apr 16 01:08:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6823 * python/extra.i,python/pythontest.py,xapian.i: Add access to the
6824 collapse_key() method of mset iterators. Add it to the new-style
6825 python MSet iterator, and test it. Add documentation strings for
6826 describing the python MSetItem properties and attributes.
6828 Mon Apr 16 00:23:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6830 * python/extra.i: Rework MSet iterators: they now return an
6831 MSetItem object instead of a sequence. The sequence API is
6832 emulated with a _SequenceMixIn baseclass. The MSetItem object
6833 allows access to all the properties returned in the list
6834 previously returned, and also allows access to the collapse_count
6835 property. In addition, it evaluates the document property
6836 lazily, so no work is done if we don't actually want to read it.
6837 Also, add support for __getitem__ on MSet items to access items
6838 in the MSet in a more pythonic way, and implement the other
6839 sequence methods "__len__" and "__contains__".
6840 * python/: Ignore some generated files.
6841 * python/Makefile.am: Add pythontest.py and extracomments.py
6842 * python/pythontest.py: New testsuite for Python-specific code.
6844 Mon Apr 16 00:19:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6846 * python/doxy2swig.py.in: Don't add information about C++ includes
6847 to docstrings - not useful to anyone.
6848 * python/extracomments.i: Add a new file to hold docstrings which
6849 override the automatically generated ones, or fill in gaps. There
6850 are going to be quite a few of these eventually, so best to keep
6851 thee separate from the other code from the start.
6852 * python/util.i: Include extracomments.i
6854 Mon Apr 16 00:14:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6856 * python/testsuite.py: Enhance and refactor the testsuite - it now
6857 supports the same environment variables that the C++ testsuite
6858 does, uses a little colour to highlight successes and failures,
6859 and has different levels of verbosity. In line with the C++
6860 testsuite, it is not verbose by default, but it does display a
6861 message describing how to turn the verbosity up.
6862 * python/docs/bindings.html: Document the test suite a little, fix
6863 a typo, and mention the work in progress on the iterators. (Will
6864 need more detailed revision once the work is completed.)
6866 Sun Apr 15 23:31:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6868 * python/doxy2swig.py.in: For methods, if there is a
6869 briefdescription node, output it first so that the short summary
6870 describes the purpose of the method, rather than being the C++
6873 Sun Apr 15 18:09:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6875 * python/smoketest.py,python/testsuite.py: Enhance testsuite to
6876 allow multiple test functions, and to format output similarly to
6877 C++ testsuite (including ANSI colour on output devices which
6878 support it). Colours can be disabled explicitly using
6879 XAPIAN_TESTSUITE_OUTPUT=plain, and verbose output can be turned
6880 on by setting VERBOSE=1.
6882 Sun Apr 15 00:21:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6884 * python/extra.i: Change to using new-style classes for pure python
6885 code, since we're depending on python >= 2.2 now.
6887 Sun Apr 15 00:13:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6889 * python/smoketest.py,python/testsuite.py: Refactor code for
6890 running the python tests into a separate file, so it can be used
6891 for a separate set of python-specific tests.
6893 Fri Apr 13 16:30:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6895 * python/doxy2swig.py.in: Add script to generate doccomments.i file
6896 from XML output of doxygen. Adds much useful documentation to
6897 the python bindings (it's still quite messy, but much better than
6898 nothing). Unfortunately, a bug in SWIG means that not all the
6899 documentation is visible - I've put a patch at
6900 http://sf.net/tracker/index.php?func=detail&aid=1700146&group_id=1645&atid=301645
6901 * python/util.i: Include generated doccomments.i file.
6902 * configure.ac: Add rules to generate python/doxy2swig.
6903 * python/Makefile.am: Rules to generate and depend on doccomments.i
6905 Fri Apr 13 13:40:03 BST 2007 Olly Betts <olly@survex.com>
6907 * python/extra.i: Only read wdf for termlists which actually support
6908 it. This was failing for alltermslist in a debug build, and now
6909 fails with InvalidOperationError in all builds.
6911 Thu Apr 12 17:56:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6913 * xapian.i: Parse the visibility support header file, so we don't
6914 get errors when we %include other xapian headers. Fixes error
6915 reported by python/except.i, which has a line saying
6916 %include "xapian/error.h"
6918 Wed Apr 11 13:42:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6920 * python/smoketest.py: Add the custom test failure messages back,
6921 and revert changes to tests which I made (which will be going
6922 into a custom python-specific test file in time). When a test
6923 fails, display context of the test failure together with the
6924 Xapian version and platform information.
6926 Wed Apr 11 10:30:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6928 * python/smoketest.py: Replace cut-and-pasted test checking code
6929 with functions, to simplify tests.
6931 Tue Apr 10 20:10:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6933 * python/smoketest.py: Remove check for version Python version 2.2
6934 before running iterator tests - we no longer support earlier
6937 Sun Apr 08 19:11:05 BST 2007 Olly Betts <olly@survex.com>
6939 * python/docs/bindings.html: Python 2.2 is the minimum required
6940 version so remove "Provided you're using Python 2.2 or newer".
6942 Thu Apr 05 10:38:37 BST 2007 Olly Betts <olly@survex.com>
6944 * php/util.i: Avoid undefined behaviour in get_matching_terms().
6945 This fixes the problem reported by Daniel Ménard under MSVC.
6947 Wed Apr 04 13:30:11 BST 2007 Olly Betts <olly@survex.com>
6949 * configure.ac: Look for jni.h in $JAVA_HOME/include and
6950 $JDK_HOME/include if the respective variables are set.
6952 Wed Apr 04 13:07:12 BST 2007 Olly Betts <olly@survex.com>
6954 * configure.ac: When passing $SWIG, $PERL, etc to AC_PATH_PROGS
6955 quote them to avoid splitting at spaces (paths with spaces still
6956 won't work here, but at least you should now be able to pass
6957 SWIG='swig -fakeversion 1.3.32' or similar (only do this if you're
6958 happy to accept the consequences in this particular case!) Also
6959 if the user specifies a program which doesn't exist (e.g.
6960 PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it
6961 (this still happens in a few cases, but the easy ones should now
6964 Wed Apr 04 11:19:03 BST 2007 Olly Betts <olly@survex.com>
6966 * configure.ac: Bump version to 0.9.10.1 so snapshots don't look older
6967 than releases. Note that SWIG SVN rev >= 9670 is now required for
6968 the PHP5 ZTS MSHUTDOWN fix.
6970 Wed Apr 04 10:31:34 BST 2007 Olly Betts <olly@survex.com>
6972 * php/util.i: Revert last change - I'm fixing this in SWIG and calling
6973 ts_free_id twice is likely to be a bad idea.
6975 Wed Apr 04 10:21:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6977 * php/util.i: Add %mshutdown section to allow cleanup properly for
6978 windows builds (or other builds with ZTS).
6980 Wed Apr 04 07:33:53 BST 2007 Olly Betts <olly@survex.com>
6982 * INSTALL: Add details for how to install Ruby bindings in your home
6985 Wed Apr 04 07:31:37 BST 2007 Olly Betts <olly@survex.com>
6987 * ./,csharp/,ruby/,java/,php/,guile/,tcl8/,generic/: svn:ignore all
6990 Wed Apr 04 07:29:08 BST 2007 Olly Betts <olly@survex.com>
6992 * xapian.i: Add vim magic comment at the end to get sane syntax
6993 highlighting automatically.
6995 Wed Apr 04 07:24:48 BST 2007 Olly Betts <olly@survex.com>
6997 * generic/except.i: Fix pathname in first comment. Dug through
6998 the SVN history to reveal who has actually worked on this code
6999 so updated the (C) lines.
7001 Wed Apr 04 06:45:44 BST 2007 Olly Betts <olly@survex.com>
7003 * python/: Oops, it's "except.i" not "exceptions.i".
7005 Wed Apr 04 06:42:27 BST 2007 Olly Betts <olly@survex.com>
7007 * python/: svn:ignore exceptions.i and all vim swapfiles (not just the
7008 first for a given files).
7010 Tue Apr 03 17:52:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7012 * python/util.i: Add typemap to allow strings to be returned by
7013 implementations of director methods which expect strings:
7014 currently this is only the get_description() method of a Stopper
7015 subclass, which is never actually called by C++, but this might
7016 be more generally useful in future, and covers the last point
7017 where Python strings can get passed to C++.
7018 * python/smoketest.py: Add some tests that the stoppers work as
7021 Tue Apr 03 13:54:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7023 * python/util.i: Add typemap for checking string type in overloaded
7024 functions, allowing unicode strings to be passed to binary Query
7025 constructor. Also add "freearg" typemap corresponding to the
7026 "in" typemap for string references, which doesn't change the
7027 output code but might make us more robust against future changes
7028 in the SWIG library.
7029 * python/smoketest.py: Test binary Query constructor with unicode
7032 Tue Apr 03 10:40:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7034 * python/util.i: Add some (fairly nasty) typedefs which handle
7035 almost all cases where a string object is supplied to an API
7036 function, and make them convert unicode strings to UTF-8 encoded
7037 simple strings automatically. There are three places left in the
7038 API which aren't covered by these typedefs, and will require
7039 individual handling. The typedefs are largely the same as the
7040 built-in typedefs for string handling, but point to a different
7041 wrapper function which performs the unicode conversion before
7042 calling the normal string-to-ptr conversion. Sadly, I can't see
7043 any way to modify the built-in typedefs for string handling
7044 without reproducing them as I have here, but if it is possible to
7045 just cause them to point at a different string-to-ptr routine,
7046 that would be desirable.
7047 * python/smoketest.py: Add tests for some of the functions which
7048 should accept unicode strings.
7049 * python/docs/bindings.html: Document how unicode handling is
7050 intended to work. Also document how to normalise unicode strings
7051 with the unicodedata module to make them ready to pass to Xapian.
7053 Tue Apr 03 05:19:52 BST 2007 Olly Betts <olly@survex.com>
7055 * xapian.i: Replace Xapian::Stem with "%include <xapian/stem.h>" and
7056 suitable %ignore directives. The generated code for all bindings
7057 is unchanged except for minor changes due to the old xapian.i
7058 failing to declare Stem::stem_word as "const".
7060 Mon Apr 02 14:50:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7062 * python/util.i: Convert unicode strings to
7063 UTF-8 strings in handler for strings in the sequence supplied to
7064 a Query constructor.
7065 * python/smoketest.py: Refactor repeated code which checks that a
7066 query description is as expected into a function, and add some
7067 checks of query constructors using unicode strings.
7068 * python/generate-python-exceptions.in: Add a catch clause for
7069 exceptions raised by the standard library.
7071 Sun Apr 01 23:05:10 BST 2007 Olly Betts <olly@survex.com>
7073 * xapian.i: Update SimpleStopper::add() parameter type.
7075 Sat Mar 31 13:28:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7077 * python/docs/bindings.html: Update documentation on exception
7080 Sat Mar 31 11:47:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7082 * python/Makefile.am: Postprocess the generated python file
7083 "modern/xapian.py" to make the Error class inherit from the
7084 standard Exception class, so that scripts can catch all
7085 exceptions which are sensible to catch using the standard idioms.
7086 Use perl rather than sed for this processing so that we can use
7087 exactly the same rule in the windows build system.
7089 Tue Mar 27 21:40:22 BST 2007 Olly Betts <olly@survex.com>
7091 * configure.ac: datarootdir is new in 2.60 too, so use datadir when
7092 setting docdir for 2.59.
7094 Tue Mar 27 21:36:10 BST 2007 Olly Betts <olly@survex.com>
7096 * python: svn:ignore generate-python-exceptions.
7098 Tue Mar 27 21:34:05 BST 2007 Olly Betts <olly@survex.com>
7100 * configure.ac: Ensure docdir is set for compatibility with autoconf
7102 * csharp/docs/Makefile.am,php/docs/Makefile.am,
7103 python/docs/Makefile.am,ruby/docs/Makefile.am,tcl8/docs/Makefile.am:
7104 Install docs and examples below $(docdir).
7106 Sat Mar 24 02:19:50 GMT 2007 Olly Betts <olly@survex.com>
7108 * xapian.i: Only wrap methods (or overloaded forms of methods) which
7109 take MatchDecider or ExpandDecider for languages where SWIG supports
7112 Sat Mar 24 02:19:13 GMT 2007 Olly Betts <olly@survex.com>
7114 * csharp/Makefile.am: Update list of generated .cs files now
7115 ExpandDecider is wrapped.
7117 Sat Mar 24 00:36:26 GMT 2007 Olly Betts <olly@survex.com>
7119 * python/smoketest.py,xapian.i: Wrap ExpandDecider for languages where
7120 SWIG supports directors (patch from William R Sowerbutts).
7122 Sat Mar 24 00:02:36 GMT 2007 Olly Betts <olly@survex.com>
7124 * python/docs/examples/simpleexpand.py: Print the document weight as
7125 a floating point value, not an integer.
7127 Fri Mar 23 23:53:10 GMT 2007 Olly Betts <olly@survex.com>
7129 * Forwardport change from branches/0.9:
7130 * configure.ac: Require unreleased SWIG 1.3.32 (SVN rev 9651) for
7133 Thu Mar 22 01:28:48 GMT 2007 Olly Betts <olly@survex.com>
7135 * configure.ac: Eliminate libtool probe code for f77, gcj, and rc
7136 which speeds up configure and knocks 28% off its size.
7138 Tue Mar 20 19:00:13 GMT 2007 Olly Betts <olly@survex.com>
7140 * php/docs/bindings.html: Add note that PHP examples are written for
7141 CLI version of PHP, but that the bindings work with any version.
7142 * php/docs/examples/: Add check to all PHP examples that they are
7143 being run under a CLI version of PHP.
7145 Fri Mar 09 14:14:47 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7147 * swig/xapian.i,xapian.i: Move swig/xapian.i back to top level.
7148 Olly prefers it here, and I don't really mind.
7149 * swig/defaults/except.i,generic/except.i: Move file.
7150 * swig/Makefile.mk,generic/generic.mk: Move file, and point to
7151 new locations of source files.
7152 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7153 php/Makefile.am,tcl8/Makefile.am: Include generic/generic.mk
7154 instead of swig/Makefile.mk
7155 * configure.ac: Look for xapian.i, not swig/xapian.i, in
7157 * Makefile.am: Point to new locations of files.
7159 Fri Mar 09 13:07:41 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7161 * python/generate-python-exceptions.in: New file - generates a
7162 python/except.i file from the exception_data.pm file in
7163 xapian-core. Only use in maintainer mode - requires the
7164 xapian-core module to exist in the same directory as the
7165 xapian-bindings module (eg, as would happen in a SVN checkout).
7166 This file changes the handling of xapian exceptions in the Python
7167 bindings - they are now translated into Python exception classes
7168 in a hierarchy matching that of the C++ exception hierarchy.
7169 * configure.ac: Require perl in maintainer mode, and add rules to
7170 generate python/generate-python-exceptions
7171 * python/Makefile.am: Add except.i to distribution, and add rules
7172 to generate and use it in maintainer mode.
7173 * python/smoketest.py: Change tests to expect xapian.Error
7176 Fri Mar 09 12:53:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7178 * tcl8/except.i: Tweak to add the license statement back into
7179 generated xapian_wrap.cc. Not sure if this is really desirable,
7180 but it's consistent with the earlier behaviour (and with what
7181 happens to other license statements from *.i files).
7183 Fri Mar 09 03:15:36 GMT 2007 Olly Betts <olly@survex.com>
7185 * csharp/util.i: Eliminate duplicated SWIG directive
7186 "%rename("GetValueNo") get_valueno;"
7188 Wed Mar 07 22:33:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7190 * php/except.i,swig/defaults/except.i: Split the PHP exception
7191 handling into a new file, since almost half the original file was
7192 conditionally compiled for PHP.
7193 * php/Makefile.am: Add php/except.i to dist and dependencies.
7195 Wed Mar 07 21:49:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7197 * tcl/except.i: New file, overriding swig/defaults/except.i for tcl.
7198 * tcl/util.i: Remove exception handling stuff - moved to except.i.
7199 No longer sets XAPIAN_EXCEPTION_HANDLER - presence of except.i has
7201 * tcl/Makefile.am: Add except.i to dist and dependencies.
7202 * swig/defaults/except.i: Remove checking of XAPIAN_EXCEPTION_HANDLER:
7203 no longer needed. Also, tweak comments (add licence and copyright;
7204 copyright is just copied from xapian.i, which this file was split
7205 from, and may thus claim copyright for people who never worked on
7206 this exact code). Also, fix whitespace.
7208 Wed Mar 07 16:35:13 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7210 * Makefile.am: Add swig/defaults/except.i to EXTRA_DIST.
7211 * swig/Makefile.mk: Add swig/defaults/except.i to SWIG_sources, and
7212 add swig/defaults/ to SWIG_includes, after language specific
7213 path entry (so language specific except.i files can be created to
7214 override the contents of swig/defaults/except.i).
7215 * swig/xapian.i,swig/defaults/except.i: Move the exception handling
7216 code out of swig/xapian.i and into swig/defaults/except.i
7218 Wed Mar 07 16:16:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7220 * xapian.i,swig/xapian.i: Move swig source file to a subdirectory,
7221 in preparation for splitting the language dependent stuff out.
7222 This commit shouldn't change the result of running swig.
7223 * swig/Makefile.mk: New makefile fragment, included by each
7224 language-specific SWIG-using Makefile.am, which defines the paths
7225 and flags to use when running SWIG. Also contains the
7226 MACOSX_DEPLOYMENT_TARGET stuff which was previously replicated in
7227 each SWIG-using Makefile.am
7228 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7229 php/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: Include
7230 swig/Makefile.mk to get the path to the language independent swig
7231 sources, and standard paths and flags to supply to SWIG. Update
7232 dependencies and rules for generating the xapian_wrap.cc files to
7233 use the values from swig/Makefile.mk. Remove the
7234 MACOSX_DEPLOYMENT_TARGET stuff (now in swig/Makefile.mk).
7235 * configure.ac: Reference swig/xapian.i from AC_CONFIG_SRCDIR
7237 * Makefile.am: Reference swig/xapian.i in EXTRA_DIST
7240 Tue Mar 06 01:56:36 GMT 2007 Olly Betts <olly@survex.com>
7242 * configure.ac: Bump version number to 0.9.10 so that snapshots don't
7243 look older than releases.
7245 Tue Mar 06 01:54:00 GMT 2007 Olly Betts <olly@survex.com>
7247 * configure.ac: Make the version check against the xapian-core version
7248 a warning not an error, and move it later on so it's harder for the
7249 user to miss. If you know what you're doing, it might be a useful
7250 thing to want to do.
7252 Sat Mar 03 04:23:26 GMT 2007 Olly Betts <olly@survex.com>
7254 * php/docs/Makefile.am,php/docs/bindings.html,php/docs/examples/:
7255 Update the documentation and examples to fix out-of-date information
7256 and document the differences between the PHP4 and PHP5 wrappers.
7257 * php/docs/example/simpleexpand.php4,
7258 php/docs/example/simpleexpand.php5: Add versions of simpleexpand.
7260 Sat Mar 03 04:17:07 GMT 2007 Olly Betts <olly@survex.com>
7262 * configure.ac: Fix handling of `$PHP_CONFIG --php-binary` - if it's
7263 not supported, we get a usage message on stdout which we don't want
7264 to try as a potential PHP interpreter!
7266 Sat Mar 03 03:34:12 GMT 2007 Olly Betts <olly@survex.com>
7268 * xapian.i: Don't hardcode the current literal numeric values
7269 for DB_CREATE_OR_OPEN, etc.
7270 * xapian.i: For PHP4, additionally define Xapian_DB_CREATE_OR_OPEN
7271 which will be the recommended name to use.
7273 Sat Mar 03 03:32:05 GMT 2007 Olly Betts <olly@survex.com>
7275 * php/smoketest.php: Add a testcase for the "SWIG didn't generate
7276 correct dispatch code in the wrapper in some cases" bug which
7279 Sat Mar 03 03:29:56 GMT 2007 Olly Betts <olly@survex.com>
7281 * php/smoketest5.php: Add the Error class name to differentiate the
7282 two previously identical error messages.
7284 Fri Mar 02 20:09:55 GMT 2007 Olly Betts <olly@survex.com>
7286 * csharp/Makefile.am: Remove Muscat36.cs.
7288 Fri Mar 02 19:49:12 GMT 2007 Olly Betts <olly@survex.com>
7290 * configure.ac: Try `$(PHP_CONFIG) --php-binary` when looking for a
7291 PHP interpreter - this works with PHP5.
7293 Fri Mar 02 19:00:52 GMT 2007 Olly Betts <olly@survex.com>
7295 * xapian.i: Remove Muscat 3.6 wrappers as support has already been
7296 removed from xapian-core.
7298 Fri Mar 02 02:22:12 GMT 2007 Olly Betts <olly@survex.com>
7300 * xapian-bindings.spec.in: Add support for passing "--without python"
7301 to rpmbuild. Document the various "--without" options in a comment
7302 at the start of the .spec file.
7304 Tue Feb 20 12:48:22 GMT 2007 Olly Betts <olly@survex.com>
7306 * xapian.i: QueryParserError is now a real error, so remove
7307 special handling for "const char *" exceptions.
7309 Sat Feb 10 01:19:26 GMT 2007 Olly Betts <olly@survex.com>
7311 * configure.ac,java/README,java/native/Makefile.am: On MacOS X, we
7312 need to rename the jni library to .jnilib.
7313 * java/README: MacOS X's JVM is documented to understand
7314 -Djava.library.path - the problem reported was likely due to the
7315 wrong extension on the jni library.
7317 Sat Feb 10 00:23:19 GMT 2007 Olly Betts <olly@survex.com>
7319 * configure.ac: Automatically look in the standard OS X JVM location
7321 * java/README: Document how to install the jni library on OS X.
7323 Sat Dec 30 14:40:22 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7325 * xapian.i: Add queryparser flags FLAG_PURE_NOT and FLAG_PARTIAL.
7326 * python/smoketest.py: Add tests for pure not and partial queries.
7328 Sat Dec 23 00:41:01 GMT 2006 Olly Betts <olly@survex.com>
7330 * java/native/org_xapian_XapianJNI.h,java/native/xapian_jni.h:
7331 Move header guards to surround the entire non-comment contents
7332 of the header files, which allows the compiler to optimise
7333 multiple inclusion (at least GCC does this).
7335 Sat Dec 23 00:38:49 GMT 2006 Olly Betts <olly@survex.com>
7337 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
7338 java/org/xapian/Enquire.java,java/org/xapian/XapianJNI.java:
7339 Enquire::getQuery() is implemented entirely in Java, so strip out
7340 the unused MyQuery mechanism, and so fix a memory link which it
7341 caused. Fixes the rest of bug#105.
7342 * java/SmokeTest.java: Add feature test for Enquire::getQuery().
7344 Fri Dec 22 18:48:46 GMT 2006 Olly Betts <olly@survex.com>
7346 * java/native/Query.cc: Release the array in the "Query from array"
7347 ctor to avoid a memory leak. Partly fixes bug#105.
7349 Fri Dec 22 18:30:44 GMT 2006 Olly Betts <olly@survex.com>
7351 * java/SmokeTest.java: Check getData() on the document in
7352 MyMatchDecider returns a non-empty string to make sure we are really
7353 getting the right document and not an empty document.
7355 Sat Dec 16 02:14:50 GMT 2006 Olly Betts <olly@survex.com>
7357 * configure.ac: Remove the sanity check for PHP_EXTENSION_DIR
7358 added in Xapian 0.9.8 - if this is the first PHP extension to be
7359 installed, the extension directory may not exist and "make install"
7361 * configure.ac: If zend.h isn't found and configure was run with
7362 "--with-php" we now die rather than disabling PHP support.
7364 Fri Dec 15 16:47:13 GMT 2006 Olly Betts <olly@survex.com>
7366 * configure.ac: Remove --with-swig option from configure - it no
7367 longer has a purpose as we now ship the files which are generated
7370 Tue Dec 12 21:51:23 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7372 * python/extra.i: Fix PostingIter for all-document iterators - was
7373 broken because positionlist_begin() throws an exception for
7374 all-document iterators. Fixed by keeping track of this and
7375 returning an empty list for positionlits iterators, in the same
7376 way as TermIter does.
7377 * python/smoketest.py: Add test for all-document iterators.
7379 Mon Dec 11 04:01:19 GMT 2006 Olly Betts <olly@survex.com>
7381 * java/Makefile.am: "make clean" now needs to remove
7382 MyMatchDecider.class and MyExpandDecider.class which are generated
7383 from SmokeTest.java.
7385 Fri Dec 08 04:13:32 GMT 2006 Olly Betts <olly@survex.com>
7387 * java/SmokeTest.java: Add feature/regression test for ExpandDecider
7388 which also now works thanks to the last checkin.
7390 Fri Dec 08 04:11:01 GMT 2006 Olly Betts <olly@survex.com>
7392 * java/native/Enquire.cc: Fix MatchDecider to work.
7393 * java/SmokeTest.java: Add feature/regression test for MatchDecider
7396 Thu Dec 07 02:25:25 GMT 2006 Olly Betts <olly@survex.com>
7398 * java/native/Enquire.cc: Fix MatchDecider and ExpandDecider to look
7399 for an "accept" method with the correct signature (bool return value
7400 not int). Reported by Alex Kushkuley.
7402 Thu Dec 07 02:08:56 GMT 2006 Olly Betts <olly@survex.com>
7404 * java/org/xapian/ESetIterator.java: Fix bug in ESetIterator.hasNext()
7405 reported by Alex Kushkuley.
7406 * java/SmokeTest.java: Add regression test.
7408 Mon Dec 04 03:31:36 GMT 2006 Olly Betts <olly@survex.com>
7410 * java/SmokeTest.java,java/native/Enquire.cc,
7411 java/org/xapian/Enquire.java: Fit Enquire.getESet() to be callable.
7413 Mon Dec 04 03:22:35 GMT 2006 Olly Betts <olly@survex.com>
7415 * java/SmokeTest.java,java/org/xapian/RSet.java: Add missing default
7416 constructor for RSet class - it's not much use without this!
7418 Thu Nov 16 04:01:23 GMT 2006 Olly Betts <olly@survex.com>
7420 * xapian-bindings.spec.in: Remove "." from the end of the Summary.
7422 Thu Nov 16 03:05:09 GMT 2006 Olly Betts <olly@survex.com>
7424 * configure.ac: As of xapian-core 0.8.0, XO_LIB_XAPIAN doesn't need to
7425 be called with arguments if you want a hard requirement on xapian,
7426 so remove the arguments.
7428 Wed Nov 15 19:55:57 GMT 2006 Olly Betts <olly@survex.com>
7430 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the
7431 requirement to add the linux header directory to the include path.
7433 Sun Nov 12 22:40:06 GMT 2006 Olly Betts <olly@survex.com>
7435 * NEWS: Update from ChangeLog file in preparation for branching and
7438 Sun Nov 12 21:35:42 GMT 2006 Olly Betts <olly@survex.com>
7440 * python/util.i: Need to use Py_ssize_t for length with
7441 PyString_AsStringAndSize() so the build with Python 2.5.
7443 Thu Nov 09 00:23:27 GMT 2006 Olly Betts <olly@survex.com>
7445 * NEWS,configure.ac: Update for 0.9.9.
7447 Wed Nov 08 22:47:56 GMT 2006 Olly Betts <olly@survex.com>
7449 * xapian-bindings.spec.in: We now require Python >= 2.2.
7451 Wed Nov 08 22:47:00 GMT 2006 Olly Betts <olly@survex.com>
7453 * xapian-bindings.spec.in: Run "autoreconf --force" to avoid rpath on
7456 Tue Nov 07 03:48:42 GMT 2006 Olly Betts <olly@survex.com>
7458 * xapian.i: Wrap Flint::open() and Flint::open_writable().
7460 Mon Nov 06 01:41:08 GMT 2006 Olly Betts <olly@survex.com>
7462 * configure.ac: Require SWIG 1.3.30 (1.3.30 isn't out yet, but
7463 1.3.30rc1 is suitable).
7464 * configure.ac: Remove unnecessary backticks from tclsh version test.
7466 Thu Nov 02 19:09:49 GMT 2006 Olly Betts <olly@survex.com>
7468 * NEWS,configure.ac: Update for 0.9.8.
7470 Thu Nov 02 17:54:41 GMT 2006 Olly Betts <olly@survex.com>
7472 * tcl8/run-tcl-test: Fix to work when /bin/sh is dash.
7473 * tcl8/util.i: Add handling for QueryParser std::string exceptions.
7474 Fix handling of unknown errors.
7475 * tcl8/smoketest.tcl: Add test.
7477 Thu Nov 02 13:43:31 GMT 2006 Olly Betts <olly@survex.com>
7479 * csharp/SmokeTest.cs: Test QueryParser parse error. Fix warning
7480 about unused variable in OP_ELITE_SET check.
7482 Tue Oct 31 02:01:43 GMT 2006 Olly Betts <olly@survex.com>
7484 * configure.ac: Sanity check PHP_EXTENSION_DIR and PHP_INC.
7486 Tue Oct 31 01:45:45 GMT 2006 Olly Betts <olly@survex.com>
7488 * configure.ac: Now tested on MacOS X 10.2, so update comment.
7490 Sat Oct 28 08:40:46 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7492 * python/smoketest.py: Add test to check QueryParser error
7495 Sat Oct 28 03:40:39 BST 2006 Olly Betts <olly@survex.com>
7497 * xapian.i: QueryParser::parse_query() throws const char *, not
7498 std::string. Make these exceptions look as if they are of
7499 type QueryParserError so this works the same way as 1.0 will.
7500 Also, return as SWIG_RuntimeError rather than SWIG_UnknownError - in
7501 particular so PHP4 turns this exception into a trappable warning
7502 rather than a hard error.
7503 * php/smoketest4.php,php/smoketest5.php: Add tests for the above.
7504 Also check the exception message given by the DocNotFoundError
7507 Fri Oct 27 11:28:48 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7509 * xapian.i: Catch exceptions of type "std:string", since the query
7510 parser currently throws these. This should probably be fixed in
7511 the query parser for release 1.0, but this fix prevents crashes
7512 due to these exceptions in a backwards compatible manner.
7514 Sun Oct 22 02:41:09 BST 2006 Olly Betts <olly@survex.com>
7516 * configure.ac: Fix check for jni.h in /usr/lib/jvm/java-gcj/include
7517 to actually work rather than using the cached failure of the first
7520 Sun Oct 22 02:29:09 BST 2006 Olly Betts <olly@survex.com>
7522 * java/SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
7523 * java/SmokeTest.java: Avoid gcj "set but not used" warning.
7525 Sat Oct 21 20:34:30 BST 2006 Olly Betts <olly@survex.com>
7527 * xapian.i: Wrap the "prog" form of Remote::open() (which is
7528 suitable for general purpose use as of 0.9.7) and the
7529 Remote::open_writable() methods (new in 0.9.7).
7531 Mon Oct 16 11:16:46 BST 2006 Olly Betts <olly@survex.com>
7533 * python/Makefile.am: Fix Python VPATH build to work again.
7535 Mon Oct 16 01:39:37 BST 2006 Olly Betts <olly@survex.com>
7537 * configure.ac: Note that SWIG is only useful for Xapian developers.
7539 Mon Oct 16 01:31:30 BST 2006 Olly Betts <olly@survex.com>
7541 * configure.ac: If we failed to find any languages to build for, give
7542 a more helpful message.
7544 Sun Oct 15 17:55:21 BST 2006 Olly Betts <olly@survex.com>
7546 * python/Makefile.am: Fix to work again in VPATH SVN checkout builds.
7548 Sun Oct 15 01:41:44 BST 2006 Olly Betts <olly@survex.com>
7550 * README,configure.ac,python/Makefile.am: Drop support for Python 2.1.
7552 Wed Oct 11 00:17:49 BST 2006 Olly Betts <olly@survex.com>
7554 * NEWS: Remove empty "Portability:" subheading.
7556 Tue Oct 10 22:08:21 BST 2006 Olly Betts <olly@survex.com>
7558 * csharp/Makefile.am,csharp/util.i,python/util.i,ruby/util.i,xapian.i:
7559 SWIG_DIRECTOR_TYPEMAPS isn't a reliable thing to test it appears, so
7560 define XAPIAN_SWIG_DIRECTORS ourselves for languages where SWIG
7561 supports directors and we are able to make use of them.
7563 Tue Oct 10 17:15:43 BST 2006 Olly Betts <olly@survex.com>
7565 * NEWS,configure.ac: Updated for 0.9.7.
7567 Tue Oct 10 17:04:40 BST 2006 Olly Betts <olly@survex.com>
7569 * csharp/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: In
7570 maintainer-mode, "make clean" should remove the SWIG generated files
7571 which would otherwise only be removed on "make maintainer-clean".
7573 Tue Oct 10 16:22:28 BST 2006 Olly Betts <olly@survex.com>
7575 * csharp/docs/bindings.html: Document MatchDecider subclassing.
7577 Tue Oct 10 16:05:02 BST 2006 Olly Betts <olly@survex.com>
7579 * python/docs/bindings.html: Call the example MatchDecider subclass
7580 "mymatchdecider" not "mymatcher".
7582 Tue Oct 10 16:04:40 BST 2006 Olly Betts <olly@survex.com>
7584 * ruby/docs/bindings.html: Document MatchDecider subclassing.
7586 Tue Oct 10 15:58:32 BST 2006 Olly Betts <olly@survex.com>
7590 Tue Oct 10 15:55:36 BST 2006 Olly Betts <olly@survex.com>
7592 * xapian.i: Only wrap MatchDecider where directors are supported.
7594 Tue Oct 10 13:16:08 BST 2006 Olly Betts <olly@survex.com>
7596 * csharp/Makefile.am,csharp/SmokeTest.cs,xapian.i: Add test of
7597 MatchDecider subclassing in C#.
7599 Tue Oct 10 11:39:46 BST 2006 Olly Betts <olly@survex.com>
7601 * ruby/util.i: Allow bool to be returned by ruby subclasses of
7603 * ruby/smoketest.rb: Add test of MatchDecider subclassing.
7605 Mon Oct 09 15:14:27 BST 2006 Olly Betts <olly@survex.com>
7607 * python/util.i,xapian.i: Enable directors everywhere that SWIG
7610 Sat Oct 07 10:45:07 BST 2006 Olly Betts <olly@survex.com>
7612 * php/smoketest.php,php/smoketest4.php,php/smoketest5.php: Factor out
7613 PHP version specific code into the smoketestN.php files, since we
7614 get parse errors from PHP4 otherwise.
7616 Fri Oct 06 21:40:09 BST 2006 Olly Betts <olly@survex.com>
7618 * php/: Rely on xapian.php to load the extension module for us.
7619 PHP4 bindings now generate proxy classes. Rewrite smoketest to
7620 handle either PHP4 or PHP5 proxy classes. Fix smoketest error
7621 messages to use PHP style code.
7623 Wed Oct 04 17:47:32 BST 2006 Olly Betts <olly@survex.com>
7625 * configure.ac,python/Makefile.am: Use -fno-strict-aliasing when
7626 compiling all SWIG bindings, not just python.
7628 Mon Oct 02 04:45:43 BST 2006 Olly Betts <olly@survex.com>
7630 * configure.ac: Only enable visibility annotations with GCC 4.0 or
7633 Sun Oct 01 13:40:49 BST 2006 Olly Betts <olly@survex.com>
7635 * ruby/docs/examples/simplesearch.rb: "First ten" is inaccurate since
7636 we may have less than 10 matches. Say "1-<N>" instead.
7637 * ruby/docs/examples/simplematchdecider.rb: Need to initialise
7638 super-class, and fix the value test in MyMatchDecider.
7640 Sun Oct 01 06:31:37 BST 2006 Olly Betts <olly@survex.com>
7642 * xapian.i: Use SWIGPHP instead of SWIGPHP4 since we want those
7643 parts for both PHP4 and PHP5 (SWIG's semantics have changed).
7645 Sun Oct 01 06:17:14 BST 2006 Olly Betts <olly@survex.com>
7647 * ruby/docs/examples/simplesearch.rb: Lowercase terms before stemming.
7649 * ruby/docs/examples/simplematchdecider.rb: Implemented, but the
7650 bindings don't currently enable directors for Ruby.
7652 Sun Oct 01 06:14:52 BST 2006 Olly Betts <olly@survex.com>
7654 * csharp/Makefile.am: SWIG C# now supports directors, so we get a
7655 xapian_wrap.h file generated too which we need to ship. Also
7656 remove the "nodist_" prefix from "XapianSharp_la_SOURCES" since
7657 we do want to distribute xapian_wrap.cc (and already mark it
7658 for explicit distribution elsewhere!)
7660 Sat Sep 30 19:49:18 BST 2006 Olly Betts <olly@survex.com>
7662 * python/docs/examples/simplematchdecider.py: Call the MyMatchDecider
7663 instance "mdecider" rather than "matcher", to avoid confusing the
7666 Sat Sep 30 03:30:33 BST 2006 Olly Betts <olly@survex.com>
7668 * ruby/Makefile.am: Oops, xapian.rb isn't a generated file. Undo
7669 last change, use the "dist_" prefix and let "make clean" remove
7670 the BUILT_SOURCES if we're in MAINTAINER_MODE.
7672 Sat Sep 30 03:28:19 BST 2006 Olly Betts <olly@survex.com>
7674 * ruby/Makefile.am: Add dependencies and clean rules for xapian.rb.
7676 Sat Sep 30 03:22:10 BST 2006 Olly Betts <olly@survex.com>
7678 * configure.ac: Look for ruby interpreter as "ruby1.8" since it's
7679 called that (with no "ruby" alias) on Ubuntu dapper at least.
7681 Sat Sep 30 03:03:30 BST 2006 Olly Betts <olly@survex.com>
7683 * python/docs/examples/simplematchdecider.py: Fix typo in comment.
7685 Sat Sep 30 03:01:22 BST 2006 Olly Betts <olly@survex.com>
7687 * python/Makefile.am: Prefer $(PYTHON_MODERN_OR_OLDE) to
7688 @PYTHON_MODERN_OR_OLDE@. No need to list xapian_wrap.h in
7691 Sat Sep 30 03:00:01 BST 2006 Olly Betts <olly@survex.com>
7693 * php/Makefile.am: When running smoketest.php, pass the "-q" option,
7694 which suppresses HTTP header output for PHP < 4.3 and is ignored for
7695 compatibility by more recent versions of PHP.
7697 Sat Sep 30 02:57:24 BST 2006 Olly Betts <olly@survex.com>
7699 * configure.ac,php/Makefile.am: Build PHP bindings for both PHP4 and
7700 PHP5 (using SWIG's new support for generating OO PHP5 wrappers).
7702 Sat Sep 30 02:41:23 BST 2006 Olly Betts <olly@survex.com>
7704 * python/smoketest.py: Added missing "sys.exit(1)" in
7705 TermIter.skip_to() test. Run exception handling tests and test for
7706 OP_ELITE_SET value whatever the python version is. Add test that
7707 MatchDecider can be subclassed successfully.
7709 Fri Sep 29 10:06:37 BST 2006 Olly Betts <olly@survex.com>
7711 * configure.ac: Fix typo - PHP_tried should be PHP_found. This might
7712 have caused the PHP interpreter not to be found in some cases when
7713 it was actually available, but it's only use to run the smoketest
7714 not for building the bindings.
7716 Fri Sep 29 07:02:10 BST 2006 Olly Betts <olly@survex.com>
7718 * tcl8/smoketest.tcl: Add comment about Tcl storing zero bytes as
7721 Thu Sep 28 15:05:07 BST 2006 Olly Betts <olly@survex.com>
7723 * python/extra.i,python/smoketest.py: Wrap TermIterator::skip_to().
7725 Thu Sep 28 12:09:52 BST 2006 Olly Betts <olly@survex.com>
7727 * csharp/SmokeTest.cs: Fix check that OP_ELITE_SET works to actually
7728 work, and also not give compiler warnings.
7729 * csharp/Makefile.am: Latest swig generates a "xapian_wrap.h" file, so
7730 ship that. Also don't mark xapian_wrap.cc as "nodist" in one place
7731 since we want to distribute it (and mark it so elsewhere).
7733 Thu Sep 28 11:54:46 BST 2006 Olly Betts <olly@survex.com>
7735 * java/SmokeTest.java,python/smoketest.py,ruby/smoketest.rb: Check
7736 that OP_ELITE_SET has the correct numerical value.
7738 Thu Sep 28 09:47:01 BST 2006 Olly Betts <olly@survex.com>
7740 * java/native/Makefile.am: Actually use JAVA_CPPFLAGS.
7742 Thu Sep 28 09:42:21 BST 2006 Olly Betts <olly@survex.com>
7744 * xapian.i: Explicitly set OP_ELITE_SET to 10, since some languages
7745 (e.g. Csharp) use the value from here rather than from the xapian
7747 * csharp/SmokeTest.cs: Check that OP_ELITE_SET works (until now it had
7748 the wrong value in C# so caused an exception).
7749 * php/smoketest.php: Check that OP_ELITE_SET has the correct numerical
7752 Mon Sep 11 06:51:25 BST 2006 Olly Betts <olly@survex.com>
7754 * configure.ac: Fix broken sed command in previous checkin.
7756 Fri Sep 08 03:27:36 BST 2006 Olly Betts <olly@survex.com>
7758 * configure.ac,tcl8/Makefile.am: For Tcl, remove any _svn6789 suffix
7759 from the version number.
7761 Tue Sep 05 21:14:33 BST 2006 Olly Betts <olly@survex.com>
7763 * configure.ac: Need to AC_SUBST(PYTHON_CXXFLAGS) so that we really
7764 add "-fno-strict-aliasing" when compiling the python bindings with
7767 Thu Aug 31 20:27:42 BST 2006 Olly Betts <olly@survex.com>
7769 * tcl8/Makefile.am,tcl8/run-tcl-test: Fix to work in VPATH build.
7771 Thu Aug 24 18:31:42 BST 2006 Olly Betts <olly@survex.com>
7773 * tcl8/smoketest.tcl: Add check that xapian::Query_OP_ELITE_SET has
7776 Thu Aug 24 18:03:47 BST 2006 Olly Betts <olly@survex.com>
7778 * tcl8/: Rework how the smoketest gets run to eliminate special code
7779 for using uninstalled bindings from smoketest.tcl itself. This
7780 allows the smoketest to be run using install bindings, and also
7781 make the smoketest a better example program.
7783 Fri Jun 09 04:10:18 BST 2006 Olly Betts <olly@survex.com>
7785 * configure.ac: We need to look for jni.h in
7786 /usr/lib/jvm/java-gcj/include on some Debian and Ubuntu boxes at
7789 Fri Jun 09 00:23:46 BST 2006 Olly Betts <olly@survex.com>
7791 * xapian.i: Add actual begin_transaction prototype.
7793 Mon May 29 11:19:32 BST 2006 Olly Betts <olly@survex.com>
7795 * php/Makefile.am: Distribute smoketest4.php and smoketest5.php.
7797 Thu May 25 08:09:15 BST 2006 Olly Betts <olly@survex.com>
7799 * php/smoketest5.php: Fix syntax of catch.
7801 Sat May 20 19:27:27 BST 2006 Olly Betts <olly@survex.com>
7803 * TODO: Add 2 entries for smoketest.rb.
7805 Sat May 20 18:09:32 BST 2006 Olly Betts <olly@survex.com>
7807 * php/: Now that we're throwing PHP exceptions with PHP5 we need
7808 separate versions of the exception handling test for PHP4 and
7811 Sat May 20 16:56:51 BST 2006 Olly Betts <olly@survex.com>
7813 * csharp/SmokeTest.cs: Added exception handling test.
7815 Sat May 20 16:36:30 BST 2006 Olly Betts <olly@survex.com>
7817 * tcl8/docs/examples/simpleindex.tcl,
7818 tcl8/docs/examples/simplesearch.tcl: Print $errorCode in
7819 the exception handler.
7821 Sat May 20 16:30:48 BST 2006 Olly Betts <olly@survex.com>
7823 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
7824 Implement saner exception handling for Tcl and document it.
7826 Sat May 20 14:28:39 BST 2006 Olly Betts <olly@survex.com>
7828 * tcl8/smoketest.tcl: Send error messages to stderr.
7829 * tcl8/smoketest.tcl: Add test of exception handling.
7831 Sat May 20 09:24:46 BST 2006 Olly Betts <olly@survex.com>
7833 * python/smoketest.py: Add test of exception handling.
7835 Sat May 20 06:18:43 BST 2006 Olly Betts <olly@survex.com>
7837 * Makefile.am,configure.ac: Specify required automake version in
7838 the call to AM_INIT_AUTOMAKE in configure.ac.
7840 Fri May 19 05:35:01 BST 2006 Olly Betts <olly@survex.com>
7842 * php/smoketest.php: Work out the name of the module we need to load.
7843 Check the return value of dl().
7845 Thu May 18 19:18:00 BST 2006 Olly Betts <olly@survex.com>
7847 * java/native/Query.cc: Correct two misuses of delete to delete[].
7850 Thu May 18 18:27:16 BST 2006 Olly Betts <olly@survex.com>
7852 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la
7853 has been built, so add an explicit dependency so that this works
7854 reliably in parallel builds. Fixes bug#77.
7856 Wed May 17 05:35:59 BST 2006 Olly Betts <olly@survex.com>
7858 * configure.ac: If we're building with GCC 3.4 or higher, pass
7859 -fvisibility=hidden when compiling SWIG generated code which makes
7860 the compiled modules a few percent smaller and perhaps a little
7863 Mon May 15 23:34:55 BST 2006 Olly Betts <olly@survex.com>
7865 * configure.ac: Fixed check for PYTHON_PATHSEP to use $PYTHON rather
7866 than python, and also report the check and its result to the user.
7868 Mon May 15 05:03:19 BST 2006 Olly Betts <olly@survex.com>
7870 * NEWS: Fix the recent headings which said "Xapian-core" to say
7873 Mon May 15 02:54:25 BST 2006 Olly Betts <olly@survex.com>
7875 * NEWS,configure.ac: Version 0.9.6.
7877 Sun May 14 04:15:07 BST 2006 Olly Betts <olly@survex.com>
7879 * csharp/Makefile.am: Fix compiling SmokeTest.cs when srcdir !=
7882 Sun May 14 03:26:11 BST 2006 Olly Betts <olly@survex.com>
7884 * README: Note that Python bindings have been built with MSVC.
7886 Sun May 14 02:52:40 BST 2006 Olly Betts <olly@survex.com>
7888 * csharp/SmokeTest.cs: Add URL for Portable.NET bug which means that
7889 "using Xapian;" is required.
7891 Sun May 14 01:25:07 BST 2006 Olly Betts <olly@survex.com>
7893 * csharp/SmokeTest.cs: The Portable.NET compiler seems to need "using
7894 Xapian;" to be able to see static member functions such as
7895 "Xapian.Version.Major()".
7897 Sun May 14 01:20:55 BST 2006 Olly Betts <olly@survex.com>
7899 * configure.ac,csharp/AssemblyInfo.cs.in: Set the version correctly
7900 when building a snapshot from SVN, store the key in the key
7901 container so we reuse it for later builds, and set informational
7904 Sat May 13 23:40:07 BST 2006 Olly Betts <olly@survex.com>
7906 * configure.ac: Passing /out: when compile a CSharp .exe as the
7907 Portable.NET compiler defaults to a.out. If we're using ilgac
7908 and sn isn't found, set SN=/bin/true since we don't need the
7910 * configure.ac: Look for mcs as gmcs too (since it's sometimes
7912 * README,TODO: We now support building with Portable.NET.
7914 Sat May 13 23:32:04 BST 2006 Olly Betts <olly@survex.com>
7916 * TODO: Update ruby todo list.
7918 Sat May 13 23:20:01 BST 2006 Olly Betts <olly@survex.com>
7920 * csharp/Makefile.am: When building SmokeTest.exe, pass
7921 -out:SmokeTest.exe because the Portable.NET compiler defaults to
7922 naming the output a.out.
7924 Sat May 13 21:14:24 BST 2006 Olly Betts <olly@survex.com>
7926 * csharp/Makefile.am: Fix to work when srcdir != builddir.
7928 Sat May 13 06:05:37 BST 2006 Olly Betts <olly@survex.com>
7930 * ruby/util.i: Rename set_XXX functions which take more than one
7931 parameter to XXX! rather than XXX=. set_query is almost always
7932 called with a single argument, so make than form XXX= and the
7933 two argument form XXX!.
7935 Sat May 13 05:52:03 BST 2006 Olly Betts <olly@survex.com>
7937 * xapian.i: Adding "throw()" to version functions doesn't actually
7938 seem to suppress %exception, so explicitly specify no-op %exception
7941 Sat May 13 02:00:27 BST 2006 Olly Betts <olly@survex.com>
7943 * TODO,csharp/Makefile.am,csharp/SmokeTest.cs,
7944 csharp/docs/bindings.html,csharp/util.i: Wrap the version functions
7945 as more sensible names and document them (and continue to provide
7946 the older undocumented names for now just in case anyone was using
7948 * csharp/Makefile.am: For consistency with other bindings, and
7949 to reduce the number of files called XapianSharp.*, rename
7950 XapianSharp.cc to xapian_wrap.cc.
7952 Sat May 13 00:56:44 BST 2006 Olly Betts <olly@survex.com>
7954 * csharp/docs/bindings.html: Note that the passing of strings from C#
7955 into Xapian and back isn't currently zero byte safe. If you try to
7956 handle string containing zero bytes, you'll find they get truncated
7959 Sat May 13 00:55:55 BST 2006 Olly Betts <olly@survex.com>
7963 Fri May 12 03:57:16 BST 2006 Olly Betts <olly@survex.com>
7965 * csharp/SmokeTest.cs,php/util.i,python/smoketest.py,ruby/util.i,
7966 tcl8/smoketest.tcl,xapian.i: Updated to reflect the
7967 Xapian::xapian_version_string -> Xapian::version_string change
7970 Fri May 12 03:55:56 BST 2006 Olly Betts <olly@survex.com>
7972 * python/docs/examples/simpleexpand.py: Don't define
7973 MAX_PROB_TERM_LENGTH as it isn't used.
7975 Fri May 12 03:46:45 BST 2006 Olly Betts <olly@survex.com>
7977 * php/smoketest.php: Whitespace tweak.
7979 Fri May 12 03:46:06 BST 2006 Olly Betts <olly@survex.com>
7981 * php/docs/examples/simplesearch.php: MAX_PROB_TERM_LENGTH isn't used
7984 Fri May 12 03:39:31 BST 2006 Olly Betts <olly@survex.com>
7986 * php/Makefile.am: Reinstate -noproxy which I accidentally removed on
7989 Fri May 12 00:32:41 BST 2006 Olly Betts <olly@survex.com>
7991 * configure.ac: Add partial support for the Portable.NET C# compiler.
7992 Currently the lack of strong naming support is a problem because
7993 our build system assumes we have it...
7995 Fri May 12 00:31:51 BST 2006 Olly Betts <olly@survex.com>
7997 * xapian.i: Wrap optional length parameter to Enquire::set_query().
7999 Fri May 12 00:30:51 BST 2006 Olly Betts <olly@survex.com>
8001 * ruby/util.i: Rename set_sort_by_relevance to sort_by_relevance!
8002 instead of sort_by_relevance= (as it doesn't take any parameters).
8004 Tue May 09 03:39:03 BST 2006 Olly Betts <olly@survex.com>
8006 * csharp/SmokeTest.cs: Add test of version functions.
8008 Tue May 09 03:21:44 BST 2006 Olly Betts <olly@survex.com>
8010 * php/smoketest.php: Added simple test that zero-bytes are handled
8011 when passing strings to and from Xapian.
8013 Tue May 09 03:12:03 BST 2006 Olly Betts <olly@survex.com>
8015 * python/smoketest.py: Added simple test that zero-bytes are handled
8016 when passing strings to and from Xapian.
8018 Tue May 09 00:50:00 BST 2006 Olly Betts <olly@survex.com>
8020 * tcl8/smoketest.tcl: Add test for version reporting functions; if a
8021 test fails, say which one to aid debugging.
8023 Mon May 08 21:57:49 BST 2006 Olly Betts <olly@survex.com>
8025 * tcl8/smoketest.tcl: Added simple test that zero-bytes are handled
8026 when passing strings to and from Xapian.
8028 Sun May 07 22:03:01 BST 2006 Olly Betts <olly@survex.com>
8030 * java/Makefile.am,java/run-java-test: Another fix "make check" when
8032 * HACKING: Add estimation of approximate effort required to implement
8033 bindings for another language.
8034 * NEWS: Updated ready for next release.
8036 Sun May 07 15:01:24 BST 2006 Olly Betts <olly@survex.com>
8038 * java/Makefile.am: Need to make sure "built" subdirectory exists or
8039 building from clean fails.
8040 * java/Makefile.am: Fix "make check" to work when srcdir != builddir.
8042 Sun May 07 03:48:30 BST 2006 Olly Betts <olly@survex.com>
8044 * ruby/smoketest.rb: Use hit instead of get_hit.
8045 * ruby/util.i: Don't provide the typemap for get_matching_terms since
8046 there's a hand-coded version in xapian.rb.
8048 Sun May 07 01:19:38 BST 2006 Olly Betts <olly@survex.com>
8050 * ruby/Makefile.am: Fix "make check" to work when srcdir != builddir.
8052 Sun May 07 01:16:25 BST 2006 Olly Betts <olly@survex.com>
8054 * php/Makefile.am: Using "php -c myphp.ini" still loads the system
8055 php.ini (at least for PHP 4.3.10), so use "php -n" and then set the
8056 options we specifically want using "-d". Also, fix the smoketest
8057 invocation to work better when srcdir != builddir.
8059 Sat May 07 01:13:58 BST 2006 Olly Betts <olly@survex.com>
8061 * configure.ac,csharp/Makefile.am: Not all machines are set up to run
8062 compiled C# programs when invoked directly, so get configure to
8063 probe if we can, or if using mono works. If not, just skip the
8066 Sat May 06 18:34:41 BST 2006 Olly Betts <olly@survex.com>
8068 * xapian.i: Uncomment commented-out parameter names and fix duplicate
8069 parameter names (for the benefit of bindings which use the parameter
8070 names, like the OO PHP5 patch for SWIG I'm working on...)
8072 Fri May 05 02:36:41 BST 2006 Olly Betts <olly@survex.com>
8074 * ruby/Makefile.am: Actually ship xapian.rb!
8076 Fri May 05 00:49:22 BST 2006 Paul Legato
8078 * ruby/util.i: Remove code left over from before we created xapian.rb.
8080 Thu May 04 18:30:26 BST 2006 Olly Betts <olly@survex.com>
8082 * configure.ac: Remove guile/Makefile from AC_CONFIG_FILES.
8084 Tue May 02 03:00:15 BST 2006 Olly Betts <olly@survex.com>
8086 * python/docs/examples/simplematchdecider.py: Rename confusingly-named
8087 "mymatcher" to "mymatchdecider". Add description of what this
8090 Sun Apr 30 01:27:06 BST 2006 Olly Betts <olly@survex.com>
8092 * configure.ac: The "#" in "C#" seems to sometimes confuse autoconf so
8093 always say "CSharp" instead. Add some missing "checking ..."
8094 messages so the user has more idea what is going on. Look for PHP
8095 interpreter first in prefix given by "php-config --prefix". Look
8096 for CSharp compiler as "csc" (if "mcs" isn't found) but check we
8097 don't find the unrelated Chicken csc program.
8099 Sat Apr 29 22:16:51 BST 2006 Olly Betts <olly@survex.com>
8101 * INSTALL,configure.ac: Remove mentions of guile from
8102 "./configure --help" and installation instructions.
8103 * Makefile.am: Don't include guile subdirectory in the tarball.
8104 * INSTALL: Mention --with-ruby.
8106 Sat Apr 29 21:46:36 BST 2006 Olly Betts <olly@survex.com>
8108 * HACKING,Makefile.am,README,TODO,configure.ac,ruby/Makefile.am,
8109 ruby/docs/Makefile.am,ruby/docs/bindings.html,ruby/docs/examples/,
8110 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb,xapian.i: Added Ruby
8111 bindings from Paul Legato.
8113 Sat Apr 29 13:57:49 BST 2006 Olly Betts <olly@survex.com>
8115 * php/docs/bindings.html,python/docs/bindings.html,
8116 tcl8/docs/bindings.html,xapian.i: Rename get_document_id to
8117 get_docid for consistency. Keep get_document_id as an alias
8118 for now for backward compatibility.
8120 Sat Apr 29 02:48:54 BST 2006 Olly Betts <olly@survex.com>
8122 * xapian.i: Fixed ESet::empty() to return bool instead of
8123 Xapian::termcount (this was probably a largely harmless error).
8125 Fri Apr 28 17:52:31 BST 2006 Olly Betts <olly@survex.com>
8127 * csharp/util.i,xapian.i: Move the C# specific %rename list to
8130 Fri Apr 28 17:38:12 BST 2006 Olly Betts <olly@survex.com>
8132 * xapian.i: PHP 4.1.2 doesn't define PHP_MAJOR_VERSION so rejig code
8135 Fri Apr 28 17:24:32 BST 2006 Olly Betts <olly@survex.com>
8137 * INSTALL: To install without root access, you need to specify
8138 --prefix to configure so that the docs and examples can be
8139 installed somewhere.
8141 Fri Apr 28 16:43:53 BST 2006 Olly Betts <olly@survex.com>
8143 * php/util.i,python/util.i,tcl8/util.i,xapian.i: Add
8144 XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
8145 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP which util.i can #define to
8146 specify which optional typemaps it provides so we don't need to
8147 encode this information in xapian.i.
8149 Fri Apr 28 14:32:22 BST 2006 Olly Betts <olly@survex.com>
8151 * xapian.i: Fix SWIG_RuntimeError to be handled as an exception in
8154 Fri Apr 28 14:26:20 BST 2006 Olly Betts <olly@survex.com>
8156 * xapian.i: Mark the calls which return version strings as "throw()"
8157 so that SWIG knows it can omit exception handling wrappers.
8159 Fri Apr 28 14:11:32 BST 2006 Olly Betts <olly@survex.com>
8161 * java/Makefile.am,java/run-java-test: Simplify (and improve
8162 portability of) run-java-test by using "libtool --mode=execute"'s
8165 Sun Apr 16 03:48:08 BST 2006 Olly Betts <olly@survex.com>
8167 * php/smoketest.php: Translated tests of the version number functions
8168 from smoketest.py. Failing tests now print a diagnostic before
8169 dying (again like smoketest.py).
8171 Thu Apr 13 19:50:16 BST 2006 Olly Betts <olly@survex.com>
8173 * INSTALL: Add section describing how to install without root access.
8175 Wed Apr 12 00:38:39 BST 2006 Olly Betts <olly@survex.com>
8177 * configure.ac: Fix warning flags passed for Intel C++ compiler.
8179 Tue Apr 11 22:43:59 BST 2006 Olly Betts <olly@survex.com>
8181 * xapian.i: Removed superfluous "const" from return type "docid"
8182 which is just a typedef for an unsigned integer type.
8184 Sun Apr 09 16:47:15 BST 2006 Olly Betts <olly@survex.com>
8186 * python/Makefile.am: Install xapian.py and xapian.pyc as _DATA not
8187 _SCRIPTS because we don't want to make them executable (they don't
8190 Sat Apr 08 20:09:39 BST 2006 Olly Betts <olly@survex.com>
8192 * NEWS,configure.ac: Updated for 0.9.5.
8194 Sat Apr 08 20:08:07 BST 2006 Olly Betts <olly@survex.com>
8196 * configure.ac: Disable "--with-guile" option.
8198 Fri Apr 07 22:54:54 BST 2006 Olly Betts <olly@survex.com>
8200 * configure.ac: Special case setting of compiler warnings to account
8201 for Intel's C++ compiler (which configure detects as GCC.
8203 Fri Apr 07 17:33:39 BST 2006 Olly Betts <olly@survex.com>
8205 * Makefile.am: Distribute HACKING.
8207 Fri Apr 07 17:31:40 BST 2006 Olly Betts <olly@survex.com>
8209 * HACKING,README: Split off HACKING to contain information which is
8210 only relevant to those wishing to modify the bindings.
8212 Fri Apr 07 16:49:37 BST 2006 Olly Betts <olly@survex.com>
8214 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH
8215 has a different name.
8217 Thu Apr 06 23:33:55 BST 2006 Olly Betts <olly@survex.com>
8219 * php/docs/examples/simpleindex.php: Flushing after every call to
8220 WritableDatabase_add_document isn't required and will kill
8221 performance, so stop doing it.
8223 Wed Apr 05 03:42:58 BST 2006 Olly Betts <olly@survex.com>
8225 * php/util.i: Add custom typemap for SWIGTYPE& to avoid SEGV when
8226 "Null" is passed where C++ wants an object passed by reference.
8229 Wed Apr 05 03:06:07 BST 2006 Olly Betts <olly@survex.com>
8231 * php/docs/examples/simpleindex.php: Lowercase terms before stemming.
8234 Wed Apr 05 00:48:00 BST 2006 Olly Betts <olly@survex.com>
8236 * configure.ac: Require SWIG 1.3.29.
8238 Tue Apr 04 22:05:37 BST 2006 Olly Betts <olly@survex.com>
8240 * php/smoketest.php: Added regression test to make sure that overload
8241 resolution involving boolean types works.
8243 Tue Apr 04 16:41:44 BST 2006 Olly Betts <olly@survex.com>
8245 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_value().
8247 Sun Apr 02 03:11:38 BST 2006 Olly Betts <olly@survex.com>
8249 * python/Makefile.am: Pass suitable SWIG optimisation options for
8251 * python/Makefile.am,xapian.i: Exclude pythonic iterator code from
8254 Sat Apr 01 16:34:32 BST 2006 Olly Betts <olly@survex.com>
8256 * python/docs/bindings.html,python/smoketest.py: Pythonic iterators
8257 require Python 2.2 or newer.
8259 Thu Mar 30 15:32:44 BST 2006 Olly Betts <olly@survex.com>
8261 * python/docs/bindings.html: Wrap unwrapped paragraphs. Use " to
8262 quote attribute values for consistency.
8264 Thu Mar 30 15:26:21 BST 2006 James Aylett <james@tartarus.org>
8266 * python/docs/bindings.html: Document the Pythonic iterators.
8268 Thu Mar 30 15:23:16 BST 2006 Olly Betts <olly@survex.com>
8270 * python/extra.i: Database's termlist iterator now supports positions.
8272 Tue Mar 28 21:58:21 BST 2006 Olly Betts <olly@survex.com>
8274 * xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
8275 Python bindings. Add package for C# bindings.
8277 Thu Mar 16 08:15:43 GMT 2006 Olly Betts <olly@survex.com>
8279 * php/util.i: Fix handling of bool parameters when resolving
8280 overloaded methods and/or default arguments. This fixes
8281 Enquire_sort_by_value() to work when the second argument
8284 Thu Mar 16 02:48:16 GMT 2006 Olly Betts <olly@survex.com>
8286 * python/extra.i: Fix TermIter not to try to read termfreqs or
8287 positions when they aren't meaningful for the current TermIter.
8288 * python/smoketest.py: Add feature tests for the various pythonic
8289 iterator wrappers; catch Exception objects and print them.
8291 Wed Mar 15 02:21:53 GMT 2006 Olly Betts <olly@survex.com>
8293 * python/smoketest.py: If a check fails, write a diagnostic message to
8294 stderr so we know which check it was!
8296 Wed Mar 15 01:41:40 GMT 2006 Olly Betts <olly@survex.com>
8298 * python/smoketest.py: Add feature test for MSetIter.
8300 Thu Mar 09 20:11:32 GMT 2006 Olly Betts <olly@survex.com>
8302 * java/SmokeTest.java,java/native/Query.cc,
8303 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
8304 java/org/xapian/XapianJNI.java: Add a new Query constructor
8305 wrapper which take an OP_xxx and an array of Query objects.
8306 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
8307 Compiling a .java file to a .class file now deletes the .jar file
8308 to ensure it gets updated.
8310 Thu Mar 09 20:08:17 GMT 2006 Olly Betts <olly@survex.com>
8312 * java/README: Note that some platforms need "-pthread" or similar
8315 Thu Mar 09 17:50:51 GMT 2006 Olly Betts <olly@survex.com>
8317 * csharp/SmokeTest.cs,xapian.i: Rename Database::GetDoccount() to
8318 Database::GetDocCount() for consistency.
8320 Thu Mar 09 14:57:20 GMT 2006 Olly Betts <olly@survex.com>
8322 * java/Makefile.am: Use JAVA_PATHSEP when specifying the classpath for
8323 compiling .java files to .class files.
8325 Thu Mar 09 06:12:44 GMT 2006 Olly Betts <olly@survex.com>
8327 * java/README,java/native/Makefile.am,java/run-java-test: Causing the
8328 "all" target to run the "install" target seems to be very
8329 problematic, so change "make check" to use the uninstalled JNI glue
8330 library, and update the instructions to say that "make install" is
8333 Thu Mar 09 05:16:19 GMT 2006 Olly Betts <olly@survex.com>
8335 * java/native/XapianObjectHolder.h,java/native/xapian_jni.h: Rework
8336 how we include headers to get hash_map to avoid compiler warnings
8337 since it's usually not in the std namespace nowadays.
8339 Wed Mar 08 23:39:34 GMT 2006 Olly Betts <olly@survex.com>
8341 * configure.ac: Fix poor English in comment.
8343 Wed Mar 08 22:49:57 GMT 2006 Olly Betts <olly@survex.com>
8345 * java/SmokeTest.java: Write a helpful diagnostic to stderr if a check
8346 fails so we have some idea what went wrong!
8348 Tue Mar 07 04:30:45 GMT 2006 Olly Betts <olly@survex.com>
8350 * python/Makefile.am: Use the fairly new "swig -O" option for the
8351 "modern" python bindings as it generates a smaller glue library
8354 Fri Mar 03 00:51:08 GMT 2006 Olly Betts <olly@survex.com>
8356 * configure.ac: Report which languages we're building bindings for
8357 just before configure finishes.
8359 Thu Mar 02 04:26:14 GMT 2006 Olly Betts <olly@survex.com>
8361 * configure.ac: Add a better check for Python's distutils.sysconfig
8362 not being available (the previous check didn't actually work), and
8363 mention in the warning/error that we give that the solution is
8364 probably to install a python-dev or python-devel package.
8366 Thu Mar 02 02:45:00 GMT 2006 Olly Betts <olly@survex.com>
8368 * php/Makefile.am,php/php.ini: php -n avoids reading any php.ini, but
8369 the compiled in default may be to enable the dubiously named
8370 "safe_mode" which prevents dl() being used so "make check" fails.
8371 So instead provide a very simple php.ini which turns off safe_mode
8372 and makes sure enable_dl is on.
8374 Thu Feb 23 16:15:41 GMT 2006 Olly Betts <olly@survex.com>
8376 * xapian.i: Make the stub definitions for disabled backends static.
8378 Tue Feb 21 23:23:59 GMT 2006 Olly Betts <olly@survex.com>
8380 * configure.ac: Catch the case where the user has python installed
8381 but not the module "distutils.sysconfig".
8383 Tue Feb 21 23:02:18 GMT 2006 Olly Betts <olly@survex.com>
8385 * python/Makefile.am: Fix so "make check" works in VPATH builds.
8387 Tue Feb 21 21:15:10 GMT 2006 Olly Betts <olly@survex.com>
8389 * java/native/,xapian.i: Override deprecation warnings for Xapian
8390 methods/functions/etc.
8392 Tue Feb 21 12:12:48 GMT 2006 Olly Betts <olly@survex.com>
8394 * configure.ac: Don't quote $PHP in AC_PATH_PROGS to avoid
8395 "checking for ... no" message.
8397 Tue Feb 21 00:19:57 GMT 2006 Olly Betts <olly@survex.com>
8399 * NEWS,configure.ac: Updated for 0.9.4.
8401 Sun Feb 19 23:21:29 GMT 2006 Olly Betts <olly@survex.com>
8403 * COPYING: Updated FSF address.
8405 Sun Feb 19 01:10:14 GMT 2006 Olly Betts <olly@survex.com>
8407 * xapian.i: Wrap Stopper::get_description().
8408 * xapian.i: Wrap xapian_version_string() and related functions.
8409 * python/smoketest.py: Test wrapping of xapian_version_string()
8410 and related functions.
8412 Sat Feb 18 15:35:06 GMT 2006 Olly Betts <olly@survex.com>
8414 * configure.ac: Actually, the windows special case code for PHP
8415 should *NOT* be active for cygwin too!
8417 Sat Feb 18 15:34:10 GMT 2006 Olly Betts <olly@survex.com>
8419 * php/util.i: Fix so that generated code compiles with ZTS-enabled
8420 PHP (which is the default on Windows).
8422 Fri Feb 17 14:10:08 GMT 2006 Olly Betts <olly@survex.com>
8424 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8425 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8426 tcl8/Makefile.am: If we're overriding MACOSX_DEPLOYMENT_TARGET
8427 then override it for commands run from "make" too.
8428 * configure.ac: The windows special case code for PHP should be
8429 active for cygwin too.
8431 Thu Feb 16 00:11:00 GMT 2006 Olly Betts <olly@survex.com>
8433 * NEWS,configure.ac: Updated for 0.9.3.
8434 * php/Makefile.am: Missing change for trying to enable PHP bindings
8435 to build out of the box on cygwin.
8437 Wed Feb 15 23:18:22 GMT 2006 Olly Betts <olly@survex.com>
8439 * configure.ac: Add missing ";;" on the last alternative in some
8441 * configure.ac: Try to enable PHP bindings to build out of the
8442 box on cygwin (needs testing).
8444 Wed Feb 15 21:02:42 GMT 2006 Olly Betts <olly@survex.com>
8446 * java/README: Updated the java TODO list.
8448 Tue Feb 14 17:13:36 GMT 2006 Olly Betts <olly@survex.com>
8450 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8451 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8452 tcl8/Makefile.am: Only pass -no-undefined on platforms where it
8453 is required in order to link a shared library at all (it causes
8454 problems on MacOS X in some cases).
8456 Tue Feb 14 14:45:34 GMT 2006 Olly Betts <olly@survex.com>
8458 * python/smoketest.py: Remove stray print statement left over from
8461 Tue Feb 14 14:37:15 GMT 2006 Olly Betts <olly@survex.com>
8463 * xapian.i: zend_throw_exception takes a non-const char * as the
8464 message to throw. Presumably it doesn't modify it, but there's
8465 no documentation so it's hard to be sure. Just cast away the const
8468 Tue Feb 14 14:22:35 GMT 2006 Olly Betts <olly@survex.com>
8470 * configure.ac: Change calls to AC_PATH_PROG(FOO, foo, ...)
8471 to AC_PATH_PROGS(FOO, [$FOO foo], ...) so that the user
8472 can do "./configure FOO=myfoo". By itself, AC_PATH_PROG
8473 ignore an explicitly specified FOO unless it has an absolute
8476 Tue Feb 14 11:31:36 GMT 2006 Olly Betts <olly@survex.com>
8478 * xapian-bindings.spec.in: Various updates, mostly from a patch by
8480 + Automatically detect the python version.
8481 + Automatically detect the PHP extension directory.
8482 + Relax Tcl requirement to >= 8.1, since that's what we actually
8484 + Add support for "--without php" and --without tcl8" options to
8486 + Rename "php4" references to "php".
8488 Tue Feb 14 09:21:52 GMT 2006 Olly Betts <olly@survex.com>
8490 * php/util.i: In SWIG 1.3.28, the PHP typecheck for numbers includes
8491 IS_STRING so force std::string to have a higher priority so that
8492 number/string overloads can be resolved as string. Fixes bug#68.
8494 Sun Feb 12 18:31:26 GMT 2006 Olly Betts <olly@survex.com>
8496 * java/SmokeTest.java: Expanded smoketest to cover more features.
8498 Sun Feb 12 16:01:29 GMT 2006 Olly Betts <olly@survex.com>
8500 * java/README: Note that the bindings work with the Eclipse javac
8503 Sun Feb 12 13:30:15 GMT 2006 Olly Betts <olly@survex.com>
8505 * guile/util.i: Replace with a rewrite which doesn't cause SWIG
8506 warnings and is zero-byte safe. The guile bindings are still
8507 a long way from actually working though.
8509 Sun Feb 12 12:31:21 GMT 2006 Olly Betts <olly@survex.com>
8511 * README: SWIG 1.3.28 now released so change "will add" to "added".
8513 Sun Feb 12 07:30:50 GMT 2006 Olly Betts <olly@survex.com>
8515 * java/org/xapian/Query.java: OP_* code 9 no longer exists, so add
8516 it to those rejected by the validity check.
8518 Sun Feb 12 07:28:11 GMT 2006 Olly Betts <olly@survex.com>
8520 * java/native/Query.cc: Fixed memory leak in
8521 Query-from-array-of-strings constructor.
8523 Sun Feb 12 07:22:39 GMT 2006 Olly Betts <olly@survex.com>
8525 * java/README: Add note about how wrapped methods are named.
8527 Sun Feb 12 07:13:36 GMT 2006 Olly Betts <olly@survex.com>
8529 * java/native/org_xapian_XapianJNI.cc,java/native/utils.cc,
8530 java/native/xapian_jni.h: Eliminate the "_errormap" hashmap -
8531 we don't need to use RTTI here, since Xapian::Error subclasses
8532 can tell you their typename directly (using get_type()).
8534 Sat Feb 11 13:10:04 GMT 2006 Olly Betts <olly@survex.com>
8536 * java/org/xapian/Query.java: Comment out no longer used nativeStuff
8539 Fri Feb 10 18:20:36 GMT 2006 Olly Betts <olly@survex.com>
8541 * java/native/xapian_jni.h: Fix 2 typos in comments.
8543 Fri Feb 10 10:17:12 GMT 2006 Olly Betts <olly@survex.com>
8545 * TODO: Update: SwigValueWrapper is no longer used for std::pair;
8546 CamelCase is now used for C#.
8547 * Makefile.am: Ship TODO.
8548 * README: Add reference to TODO.
8550 Fri Feb 10 08:15:54 GMT 2006 Olly Betts <olly@survex.com>
8552 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
8553 java/org/xapian/XapianJNI.java: Fix updated wrapper for
8555 * java/native/Enquire.cc: Clearer code in wrapper for
8557 * java/org/xapian/Query.java: Commented out unused
8558 'import java.io.StringReader;'.
8560 Fri Feb 10 08:10:51 GMT 2006 Olly Betts <olly@survex.com>
8562 * csharp/SmokeTest.cs: Corrected TermlistCount -> TermListCount, etc.
8564 Fri Feb 10 08:10:12 GMT 2006 Olly Betts <olly@survex.com>
8566 * xapian.i: Fix compilation issues with recent changes.
8568 Fri Feb 10 08:06:26 GMT 2006 Olly Betts <olly@survex.com>
8570 * csharp/Makefile.am: SWIG CVS HEAD now generates the same .cs
8571 filenames for templates as 1.3.27 did, so remove workaround
8572 for handling both cases.
8574 Fri Feb 10 06:51:03 GMT 2006 Olly Betts <olly@survex.com>
8576 * csharp/docs/: svn:ignore Makefile and Makefile.in.
8578 Fri Feb 10 06:49:07 GMT 2006 Olly Betts <olly@survex.com>
8580 * configure.ac: Require SWIG 1.3.28 (for automatic renaming to
8583 Fri Feb 10 06:47:21 GMT 2006 Olly Betts <olly@survex.com>
8585 * xapian.i: For C#, get_mset -> GetMSet; get_eset -> GetESet.
8586 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
8587 csharp/docs/examples/SimpleSearch.cs,csharp/util.i: Update
8588 for CamelCase changes.
8590 Fri Feb 10 06:33:10 GMT 2006 Olly Betts <olly@survex.com>
8592 * xapian.i,csharp/docs/bindings.html: Rename method names to
8595 Thu Feb 09 20:41:28 GMT 2006 Olly Betts <olly@survex.com>
8597 * xapian.i: Tidy up new exception handling code.
8598 * xapian.i: Add "%template() std::pair<Xapian::TermIterator,
8599 Xapian::TermIterator>;" which stops SWIG from using SwigValueWrapper
8602 Thu Feb 09 20:18:02 GMT 2006 Olly Betts <olly@survex.com>
8604 * .: svn:ignore xapian-version.h.
8606 Wed Feb 08 15:24:23 GMT 2006 Olly Betts <olly@survex.com>
8608 * xapian.i: Fix typo in exception throwing code for PHP5.
8610 Fri Feb 03 03:15:02 GMT 2006 Olly Betts <olly@survex.com>
8612 * Makefile.am,configure.ac,php/util.i,xapian-version.h.in: Put our
8613 PACKAGE_VERSION into xapian-version.h so we can #include that from
8614 php/util.i without clashing with PACKAGE_VERSION, etc defined by
8617 Thu Jan 12 19:51:52 GMT 2006 Olly Betts <olly@survex.com>
8621 Thu Jan 12 17:23:23 GMT 2006 Olly Betts <olly@survex.com>
8623 * INSTALL: Note that compile time (and probably memory usage) are much
8626 Thu Jan 12 17:18:10 GMT 2006 Olly Betts <olly@survex.com>
8628 * xapian.i: Pull out much of the common exception handling code into
8629 a helper function, drastically reducing the size of the compiled
8630 code for other languages like I recently did for tcl.
8632 Thu Jan 12 15:28:16 GMT 2006 Olly Betts <olly@survex.com>
8634 * python/Makefile.am: "import _xapian;" before we "import xapian;" to
8635 avoid creating a broken xapian.pyc is the shared library can't be
8636 loaded for some reason.
8638 Fri Jan 06 00:30:50 GMT 2006 Olly Betts <olly@survex.com>
8640 * php/util.i: Fix so that PACKAGE_VERSION is defined when compiling
8641 the SWIG generated C++ source code.
8643 Thu Jan 05 18:29:20 GMT 2006 Olly Betts <olly@survex.com>
8645 * xapian.i: SWIG/Tcl ignores the SWIG_XXXError code passed to
8646 SWIG_exception so special-case Tcl's %exception block to only
8647 look for the Xapian::Error baseclass. This cuts the compile
8648 time by about a factor of 3 and halves the size of the stripped
8651 Wed Jan 04 20:21:39 GMT 2006 Olly Betts <olly@survex.com>
8653 * xapian.i: Include default constructors for all classes so that SWIG
8654 knows it doesn't have to use SwigValueWrapper for them.
8656 Tue Jan 03 01:56:32 GMT 2006 Olly Betts <olly@survex.com>
8658 * README: Note that bindings for additional languages need a
8659 smoketest, documentation, and examples.
8661 Tue Jan 03 01:48:29 GMT 2006 Olly Betts <olly@survex.com>
8665 Tue Jan 03 01:45:11 GMT 2006 Olly Betts <olly@survex.com>
8667 * php/docs/bindings.html,php/smoketest.php,xapian.i: Translate Xapian
8668 exceptions to PHP exceptions for PHP5. For PHP4, handle
8669 DocNotFoundError and FeatureUnavailableError by issuing a warning
8670 and making the method return "Null".
8672 Tue Jan 03 01:41:11 GMT 2006 Olly Betts <olly@survex.com>
8674 * php/docs/examples/simplesearch.php: Use newly wrapped Query from
8677 Tue Jan 03 01:40:24 GMT 2006 Olly Betts <olly@survex.com>
8679 * tcl8/docs/examples/simpleindex.tcl: Fix typo in comment.
8680 * tcl8/docs/examples/simplesearch.tcl: Fix to lowercase and stem query
8683 Mon Jan 02 23:40:04 GMT 2006 Olly Betts <olly@survex.com>
8685 * tcl8/docs/examples/simpleindex.tcl,
8686 tcl8/docs/examples/simplesearch.tcl: Need explicit "xapian::" on
8688 * tcl8/docs/examples/simplesearch.tcl: Use the new Query from list
8690 * tcl8/docs/examples/simpleindex.tcl: Tweak regex to not tokenise
8691 "foo--bar" as "foo-" and "bar".
8692 * tcl8/smoketest.tcl: Removed commented out unused line.
8694 Mon Jan 02 23:25:48 GMT 2006 Olly Betts <olly@survex.com>
8696 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
8697 Implement custom typemaps for Tcl, so that you can now construct
8698 a Query from a list of Query objects and/or strings, and
8699 Enquire::get_matching_terms is now wrapped.
8701 Mon Jan 02 18:59:21 GMT 2006 Olly Betts <olly@survex.com>
8703 * configure.ac,php/docs/Makefile.am,php/docs/examples/Makefile.am,
8704 python/docs/Makefile.am,python/docs/examples/Makefile.am,
8705 tcl8/docs/Makefile.am,tcl8/docs/examples/Makefile.am: Eliminate
8706 separate Makefile in each examples subdirectory, which makes the
8707 build system simpler, smaller, and a little faster.
8709 Mon Jan 02 18:57:47 GMT 2006 Olly Betts <olly@survex.com>
8711 * README: Note that Python 2.0 and Tcl 8.0 wouldn't be too hard to
8712 support in case anyone is sufficiently motivated.
8714 Mon Jan 02 18:47:03 GMT 2006 Olly Betts <olly@survex.com>
8716 * csharp/docs/Makefile.am: Fix path for SimpleIndex.cs; add
8719 Mon Jan 02 18:12:59 GMT 2006 Olly Betts <olly@survex.com>
8721 * README: C# bindings are now usable.
8723 Mon Jan 02 07:06:58 GMT 2006 Olly Betts <olly@survex.com>
8725 * TODO,csharp/TODO: Move C# TODO to top level, update C# entries, and
8728 Mon Jan 02 07:05:05 GMT 2006 Olly Betts <olly@survex.com>
8730 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
8731 csharp/docs/examples/: Add C# examples.
8732 * csharp/docs/bindings.html: Document the slightly odd names that
8733 constants are currently wrapped as.
8735 Mon Jan 02 06:49:48 GMT 2006 Olly Betts <olly@survex.com>
8737 * csharp/util.i: Fixed to work!
8739 Mon Jan 02 02:48:35 GMT 2006 Olly Betts <olly@survex.com>
8741 * csharp/Makefile.am: Don't use $(ASSEMBLY).cc for the generated C++
8742 source. It doesn't work everywhere, so it's confusing to use it
8743 in just some places.
8744 * csharp/util.i: Implement operator== and operator!= for the iterator
8745 classes so that comparisons with the end iterator work as expected.
8746 * csharp/SmokeTest.cs: Add test for this.
8747 * csharp/docs/bindings.html: Document.
8749 Sat Dec 31 14:15:41 GMT 2005 Olly Betts <olly@survex.com>
8751 * csharp/Makefile.am: Removed another reference to
8752 SWIGTYPE_p_std__list_Tstd__string_t.
8754 Sat Dec 31 13:25:31 GMT 2005 Olly Betts <olly@survex.com>
8756 * csharp/Makefile.am: SWIGTYPE_p_std__list_Tstd__string_t.cs is no
8759 Sat Dec 31 06:43:37 GMT 2005 Olly Betts <olly@survex.com>
8761 * configure.ac: Remove php/util.i from AC_CONFIG_FILES.
8763 Sat Dec 31 06:42:41 GMT 2005 Olly Betts <olly@survex.com>
8765 * python/smoketest.py: Add more tests.
8767 Sat Dec 31 06:41:21 GMT 2005 Olly Betts <olly@survex.com>
8769 * php/smoketest.php: Add more tests.
8771 Sat Dec 31 06:40:24 GMT 2005 Olly Betts <olly@survex.com>
8773 * php/docs/bindings.html: Update documentation to include new
8776 Sat Dec 31 06:39:17 GMT 2005 Olly Betts <olly@survex.com>
8778 * php/Makefile.am: Clean up now php/util.i is no longer a generated
8781 Sat Dec 31 06:29:24 GMT 2005 Olly Betts <olly@survex.com>
8783 * php/util.i,php/util.i.in: Generating php/util.i from configure
8784 is unnecessary and risks lost changes if you fail to notice
8785 and edit the wrong file, so stop doing it. Redo Xapian section in
8786 phpinfo() to look more like most other modules; New PHP typemaps:
8787 you can now construct a Query object from an array of strings or
8788 Query objects (or a mixture).
8789 * php/util.i,python/util.i,xapian.i: Change the %extend method
8790 Enquire::get_matching_terms() to generate the PHP/Python list
8791 directly from the TermIterator rather than constructing a
8792 temporary C++ std::list.
8793 * python/util.i: Check for errors in more places.
8795 Sat Dec 31 06:17:56 GMT 2005 Olly Betts <olly@survex.com>
8797 * tcl8/docs/bindings.html: We've not implemented the typemaps
8798 which allow Enquire::get_matching_terms() to work yet, so
8799 comment out that section of the documentation.
8801 Sat Dec 31 06:15:55 GMT 2005 Olly Betts <olly@survex.com>
8803 * csharp/TODO,csharp/docs/bindings.html: Note that we need to write
8804 the custom typemaps for Enquire::get_matching_terms() and the
8805 Query list constructors.
8807 Mon Dec 26 18:14:37 GMT 2005 Olly Betts <olly@survex.com>
8809 * README: Added note about supported platforms.
8811 Sat Dec 24 15:10:53 GMT 2005 Olly Betts <olly@survex.com>
8813 * configure.ac: Added csharp/docs/Makefile to AC_CONFIG_FILES.
8815 Sat Dec 24 14:27:56 GMT 2005 Olly Betts <olly@survex.com>
8817 * php/util.i.in: Remove language name from %typemap as it's deprecated
8818 by SWIG and not needed since we only include the appropriate util.i
8819 for the language we're building bindings for.
8821 Sat Dec 24 13:13:26 GMT 2005 Olly Betts <olly@survex.com>
8823 * csharp/Makefile.am,csharp/extra.i,guile/Makefile.am,guile/extra.i,
8824 php/Makefile.am,php/extra.i,python/util.i,tcl8/Makefile.am,
8825 tcl8/extra.i,xapian.i: Eliminate all the empty extra.i files.
8826 Python's isn't empty, but we can just include that from Python's
8829 Sat Dec 24 13:08:16 GMT 2005 Olly Betts <olly@survex.com>
8831 * csharp/util.i,xapian.i: Make ++ and -- work on iterators.
8833 Sat Dec 24 12:21:59 GMT 2005 Olly Betts <olly@survex.com>
8835 * csharp/Makefile.am,csharp/TODO,csharp/docs/Makefile.am,
8836 csharp/docs/bindings.html: Added documentation for C# bindings.
8838 Thu Dec 22 23:31:40 GMT 2005 Olly Betts <olly@survex.com>
8840 * python/util.i: Comment out unused "get_py_int". Use
8841 PyString_AsStringAndSize() to get string and size in one.
8843 Wed Dec 21 09:27:19 GMT 2005 Olly Betts <olly@survex.com>
8845 * csharp/Makefile.am: Fix SWIG invocation rule to cope with either
8846 SWIG 1.3.27 or SWIG CVS HEAD (which uses a slightly different file
8847 naming convention for templates).
8849 Wed Dec 21 09:04:54 GMT 2005 Olly Betts <olly@survex.com>
8851 * python/util.i: Remove the language name from the %typemap arguments
8852 - it's superfluous (since we only include this file for python) and
8853 seems to be deprecated in SWIG.
8855 Tue Dec 20 20:40:57 GMT 2005 Olly Betts <olly@survex.com>
8857 * python/util.i: Test return value of SWIG_ConvertPtr < 0 for
8858 consistency with usage elsewhere.
8860 Tue Dec 20 16:51:49 GMT 2005 Olly Betts <olly@survex.com>
8862 * csharp/SmokeTest.cs,csharp/TODO: SWIG now supports optional
8863 parameters in C# so no need to specify them. Also the
8864 get_description() problem I noticed seems to have been
8865 fixed by a newer version of SWIG.
8867 Tue Dec 20 15:50:41 GMT 2005 Olly Betts <olly@survex.com>
8869 * xapian.i: Added a missing ";" and two missing "static" from the
8872 Tue Dec 20 13:05:07 GMT 2005 Olly Betts <olly@survex.com>
8874 * csharp/: svn:ignore SmokeTest.exe, and adjust other ignores to be
8876 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/TODO,xapian.i:
8877 SmokeTest now passes and reports exceptions verbosely.
8878 Xapian::InMemory::open() is wrapped as Xapian.InMemory.open(), and
8879 similarly for other database factory functions.
8880 * xapian.i: Removed workaround for SWIG 1.3.22's missing std_XXX.i
8881 typemap files for C#. Added workaround for SWIG 1.3.27's missing
8882 SWIG_exception() for C#. Stop renaming methods for PHP as it now
8883 support overloading. Add dtors for MSetIterator and ESetIterator
8884 as the classes do have them (they just do nothing) and SWIG will
8885 try to wrap the default ones anyway (and get it slightly wrong).
8887 Tue Dec 20 09:48:56 GMT 2005 Olly Betts <olly@survex.com>
8889 * csharp/Makefile.am: Heed compatibility warnings and use different
8890 forms for command-line switches to the C# compiler (presumably for
8891 compatibility with Microsoft's compiler, though the warnings don't
8892 actually say that explicitly).
8894 Mon Dec 19 12:51:19 GMT 2005 Olly Betts <olly@survex.com>
8896 * tcl8/util.i: Remove typemaps for handling std::string since SWIG
8899 Mon Dec 19 11:45:39 GMT 2005 Olly Betts <olly@survex.com>
8901 * php/docs/bindings.html,php/docs/examples/simpleindex.php: You aren't
8902 meant to call delete_CLASS() directly from PHP (and in fact it's
8903 usually not wrapped now).
8905 Mon Dec 19 11:37:16 GMT 2005 Olly Betts <olly@survex.com>
8907 * php/smoketest.php: Add feature tests for new Query wrapping stuff.
8909 Mon Dec 19 11:34:44 GMT 2005 Olly Betts <olly@survex.com>
8911 * python/util.i: Convert C++ strings to python ones in a zero-byte
8914 Mon Dec 19 11:01:31 GMT 2005 Olly Betts <olly@survex.com>
8916 * configure.ac,python/Makefile.am: If using GCC, compile the python
8917 bindings with -fno-strict-aliasing (python itself is compiled with
8918 this option to avoid problems and it appears we ought to use it too
8919 to avoid the same problems).
8921 Mon Dec 12 11:15:34 GMT 2005 Olly Betts <olly@survex.com>
8923 * php/util.i.in: Use std::string::data() instead of c_str() as it may
8924 be more efficient for some implementations.
8926 Mon Dec 12 04:26:24 GMT 2005 Olly Betts <olly@survex.com>
8928 * configure.ac: Fix java separator configure test to actually work.
8930 Mon Dec 12 02:54:10 GMT 2005 Olly Betts <olly@survex.com>
8932 * configure.ac,java/Makefile.am: Compile a small java program and
8933 run it to find what java wants as path separator in -classpath.
8935 Mon Dec 12 02:11:44 GMT 2005 Olly Betts <olly@survex.com>
8937 * java/Makefile.am,java/run-java-test: Use $(PATH_SEPARATOR) to
8938 separate entries in the java -classpath command line option so
8939 that it'll work on platforms where $(PATH_SEPARATOR) isn't ":".
8941 Sun Dec 11 07:58:51 GMT 2005 Olly Betts <olly@survex.com>
8943 * python/util.i,xapian.i: Support a mixture of xapian.Query objects
8944 and strings in the python xapian.Query(OP, SEQUENCE [, PARAM])
8946 * python/smoketest.py: Add feature test.
8947 * python/docs/bindings.html: Update documentation to mention recent
8950 Sun Dec 11 07:31:21 GMT 2005 Olly Betts <olly@survex.com>
8952 * python/util.i,xapian.i: Fix wrapper for Xapian::Query ctor taking
8953 operator and list of strings, plus optional parameter to work again.
8954 Add a new wrapper which is similar but takes a list of xapian.query
8955 objects instead of strings.
8956 * python/smoketest.py: Add regression test and feature test for
8959 Thu Dec 08 03:39:25 GMT 2005 Olly Betts <olly@survex.com>
8961 * python/extra.i,python/util.i: Tweak layout for better readability;
8963 * python/extra.i: Add vim modeline.
8965 Thu Dec 08 02:05:13 GMT 2005 Olly Betts <olly@survex.com>
8967 * php/docs/examples/simpleindex.php,
8968 php/docs/examples/simplesearch.php: Add a more useful error message
8969 if a database can't be opened; Fix inconsistent whitespace; Update
8972 Thu Dec 08 01:58:04 GMT 2005 Olly Betts <olly@survex.com>
8974 * INSTALL: Improved phrasing.
8975 * NEWS: Added draft entry for next release.
8977 Wed Dec 07 02:46:53 GMT 2005 Olly Betts <olly@survex.com>
8979 * php/docs/bindings.html: Fix typo.
8981 Wed Dec 07 02:42:51 GMT 2005 Olly Betts <olly@survex.com>
8983 * php/docs/bindings.html: Fix typo; note that SWIG doesn't currently
8984 support proxy classes in PHP5.
8986 Wed Nov 30 00:22:33 GMT 2005 Olly Betts <olly@survex.com>
8988 * java/README,java/native/Enquire.cc,java/org/xapian/Enquire.java:
8989 Wrap optional second parameter (query length) to
8990 Enquire::set_query().
8992 Tue Nov 29 04:31:44 GMT 2005 Olly Betts <olly@survex.com>
8996 Tue Nov 29 04:11:18 GMT 2005 Olly Betts <olly@survex.com>
8998 * configure.ac,php/Makefile.am: Bump required SWIG version to 1.3.26
8999 and drop the special requirement for 1.3.22 for PHP (hurrah!)
9001 Tue Nov 29 03:46:40 GMT 2005 Olly Betts <olly@survex.com>
9003 * php/Makefile.am,php/php.ini: Instead of "$(PHP) -c $(srcdir)" and
9004 having an empty php.ini in srcdir (which we were failing to
9005 distribute anyway), use "$(PHP) -n" which tells PHP not to use any
9008 Tue Nov 29 00:48:06 GMT 2005 Olly Betts <olly@survex.com>
9010 * README: Updated list of languages SWIG supports.
9012 Sun Oct 02 14:19:20 BST 2005 Olly Betts <olly@survex.com>
9014 * Makefile.am: Fixed "php4" -> "php" in DIST_SUBDIRS.
9016 Sun Oct 02 00:15:06 BST 2005 Olly Betts <olly@survex.com>
9018 * INSTALL,configure.ac: Add -lstdc++ to XAPIAN_LIBS if we're using
9019 GCC. OpenBSD needs it to be explicitly specified and libtool
9020 handles this if it would have been implicitly linked with anyway.
9021 * INSTALL: Improved and expanded the text in a few places.
9023 Sat Oct 01 14:04:51 BST 2005 Olly Betts <olly@survex.com>
9025 * README,configure.ac,php/,php4/: Fabrice Colin reports that the PHP4
9026 bindings also work with PHP5 so extend configure test to look for
9027 PHP5 too, rename "php4" directory to "php", and change other
9028 references to PHP4 too.
9030 Mon Sep 26 22:39:01 BST 2005 Olly Betts <olly@survex.com>
9032 * INSTALL,configure.ac: On darwin, ensure MACOSX_DEPLOYMENT_TARGET is
9033 set to at least 10.3. This is required to link the bindings, and
9034 it doesn't seem to be possible to link them on 10.1 or 10.2 anyway.
9035 * INSTALL: Update to reflect --with and --without option changes.
9036 * INSTALL: Added notes about OpenBSD issues and issues with compiling
9037 the bindings requiring a lot of memory.
9039 Mon Sep 19 13:19:59 BST 2005 Olly Betts <olly@survex.com>
9041 * configure.ac: Change how which bindings to build are selected. If
9042 no --with* arguments are passed, then we default to building
9043 bindings we detect the required tools for. But instead of requiring
9044 users to deselect bindings they don't want, they now select bindings
9045 they do want. So "./configure --with-python" will only build the
9046 python bindings (and will fail if the required tools aren't
9049 Sun Sep 18 23:58:08 BST 2005 Olly Betts <olly@survex.com>
9051 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9052 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9053 tcl8/Makefile.am: Rework how XAPIAN_CXXFLAGS is passed through
9054 so that the user can override CXXFLAGS like so: make CXXFLAGS=-g
9056 Fri Jul 15 11:12:13 BST 2005 Olly Betts <olly@survex.com>
9058 * configure.ac: Updated for 0.9.2.
9060 Fri Jul 15 10:21:17 BST 2005 Olly Betts <olly@survex.com>
9062 * xapian.i: Added semicolon missing from recent change.
9064 Fri Jul 15 02:15:10 BST 2005 Olly Betts <olly@survex.com>
9066 * NEWS: Updated for 0.9.2.
9068 Fri Jul 15 02:10:07 BST 2005 Olly Betts <olly@survex.com>
9070 * xapian.i: Added wrappers for new optional flags argument to
9071 QueryParser::parse_query().
9073 Fri Jun 24 12:00:19 BST 2005 Olly Betts <olly@survex.com>
9075 * java/README: Add success report for Sun java 1.4.1_01a.
9077 Fri Jun 24 11:13:03 BST 2005 Olly Betts <olly@survex.com>
9079 * java/Makefile.am: Actually distribute SmokeTest.java.
9081 Fri Jun 17 03:18:19 BST 2005 Olly Betts <olly@survex.com>
9083 * configure.ac: csharp build uses a tool from GNU Mono called "mcs"
9084 but some UNIX variants ship with a tool called "mcs" which does
9085 something else. For now, simply check the "mcs --version" is
9088 Thu Jun 16 19:12:41 BST 2005 Olly Betts <olly@survex.com>
9090 * python/util.i: When converting a python list to vector<string> we
9091 know the number of elements so reserve that number in the vector.
9093 Thu Jun 16 19:02:03 BST 2005 Olly Betts <olly@survex.com>
9095 * python/util.i: Remove bogus ";" after closing "}" of "namespace {}".
9097 Mon Jun 06 18:50:54 BST 2005 Olly Betts <olly@survex.com>
9099 * NEWS: Updated for 0.9.1.
9101 Mon Jun 06 18:48:42 BST 2005 Olly Betts <olly@survex.com>
9103 * tcl8/docs/bindings.html: Added information from Michael Schlenker
9104 about how to delete a database object such that the destructor
9107 Mon Jun 06 17:58:16 BST 2005 Olly Betts <olly@survex.com>
9109 * configure.ac,NEWS: Updated for 0.9.1.
9111 Fri May 13 00:34:22 BST 2005 Olly Betts <olly@survex.com>
9113 * NEWS: Updated with Java information for 0.9.0.
9115 Fri May 13 00:29:31 BST 2005 Olly Betts <olly@survex.com>
9117 * java/native/Query.cc,java/native/org_xapian_XapianJNI.h,
9118 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,
9119 java/README: Wrap optional parameters of Query(term) ctor.
9121 Fri May 13 00:26:24 BST 2005 Olly Betts <olly@survex.com>
9123 * NEWS,configure.ac: Updated for 0.9.0.
9125 Wed May 11 02:15:23 BST 2005 Olly Betts <olly@survex.com>
9127 * java/native/Query.cc,java/native/MSet.cc,
9128 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
9129 java/org/xapian/MSet.java,java/org/xapian/XapianJNI.java: Updates to
9130 enable compilation with 0.9.0.
9131 * java/Makefile.am: Add .java.class: rule so SmokeTest can be built.
9132 * java/README: List API additions still to be wrapped.
9134 Tue May 10 21:01:57 BST 2005 Olly Betts <olly@survex.com>
9136 * python/extra.i: Should be ValueIter not ValueIterator, and fixed up
9137 a few typos in the code.
9139 Tue May 10 01:24:59 BST 2005 Olly Betts <olly@survex.com>
9141 * configure.ac,python/Makefile.am: Quote another setting of
9142 PYTHONPATH; Don't set PYTHON_LIBS on cygwin; fix undoubled []
9143 in setting of PYTHON_LIBS.
9145 Mon May 09 20:37:42 BST 2005 Olly Betts <olly@survex.com>
9147 * NEWS: Updated again.
9149 Mon May 09 18:47:46 BST 2005 Olly Betts <olly@survex.com>
9151 * configure.ac,python/Makefile.am: Changes to help building the python
9152 bindings under mingw.
9154 Mon May 09 15:22:30 BST 2005 Olly Betts <olly@survex.com>
9156 * python/Makefile.am: Add "" around PYTHONPATH setting in
9157 TESTS_ENVIRONMENT to protect PYTHON_PATHSEP from the shell
9158 (PYTHON_PATHSEP is ';' under Windows).
9159 * python/Makefile.am: Explicitly pass -outdir to SWIG because Windows
9160 versions of SWIG only consider '\' as a directory separator when
9161 extracting the directory from the argument to -o.
9163 Mon May 09 11:02:08 BST 2005 Olly Betts <olly@survex.com>
9165 * configure.ac: If python is found, also check that Python.h exists
9166 (it may not be if the python-dev package (or similar) isn't
9169 Mon May 09 11:00:08 BST 2005 Olly Betts <olly@survex.com>
9171 * python/extra.i: Removed python iter wrappers for removed methods
9172 QueryParser::termlist_begin() and termlist_end().
9174 Mon May 09 10:54:47 BST 2005 Olly Betts <olly@survex.com>
9176 * xapian.i: Removed wrappers for removed methods
9177 QueryParser::termlist_begin() and termlist_end().
9179 Fri May 06 23:22:28 BST 2005 Olly Betts <olly@survex.com>
9181 * NEWS: Updated in preparation for 0.9.0.
9183 Fri May 06 20:39:50 BST 2005 Olly Betts <olly@survex.com>
9185 * python/Makefile.am: Use correct path separator in PYTHONPATH when
9186 generating .pyc file.
9188 Fri May 06 17:57:05 BST 2005 Olly Betts <olly@survex.com>
9190 * configure.ac,python/Makefile.am: Make configure probe for correct
9191 separator to use in PYTHONPATH.
9193 Thu May 05 13:17:36 BST 2005 Olly Betts <olly@survex.com>
9195 * skiptest: Add skiptest script needed by last-but-one commit.
9197 Thu May 05 12:44:01 BST 2005 Olly Betts <olly@survex.com>
9199 * xapian.i: Back out PHP4 specific hacks added since 0.8.5 which
9200 were only needed for SWIG 1.3.23 and later,
9202 Wed May 04 18:07:49 BST 2005 Olly Betts <olly@survex.com>
9204 * configure.ac,Makefile.am: Setting PHP4 to "exit 77 #" doesn't
9205 actually work right, so use a trivial shell script to skip PHP
9206 tests if we can't find the PHP interpreter.
9208 Wed May 04 02:00:31 BST 2005 Olly Betts <olly@survex.com>
9210 * csharp/Makefile.am,python/Makefile.am,java/native/Makefile.am,
9211 guile/Makefile.am,tcl8/Makefile.am,php4/Makefile.am: Pass
9212 -no-undefined in *_la_LDFLAGS because libtool requires in on
9213 MS Windows. Also use $(PATH_SEPARATOR) instead of ':' when
9214 specifying search paths.
9216 Fri Apr 29 09:57:17 BST 2005 Olly Betts <olly@survex.com>
9218 * xapian.i: Rename second version of Muscat36::open_da() for guile
9219 like we do for PHP4.
9220 * configure.ac: Disable guile by default, as it needs more work.
9222 Thu Apr 28 21:21:23 BST 2005 Olly Betts <olly@survex.com>
9224 * xapian.i: If a backend is disabled in the xapian-core we're building
9225 against, provide stub definitions of the database factory functions
9226 so there isn't a link failure.
9227 * xapian.i: This means we can now wrap the Muscat36 factory functions.
9228 * xapian.i: QueryParser::set_stemming_options() has been renamed to
9229 set_stemming_strategy().
9231 Fri Apr 22 01:33:41 BST 2005 Olly Betts <olly@survex.com>
9233 * xapian.i: Updated to reflect 0.9.0 API.
9235 Thu Apr 07 23:49:51 BST 2005 Olly Betts <olly@survex.com>
9237 * xapian.i: Removed superfluous ';' after 'namespace { ... }'.
9239 Tue Apr 05 15:23:44 BST 2005 Olly Betts <olly@survex.com>
9241 * configure.ac: Fix version test to allow for any _svn6789 suffix.
9243 Tue Apr 05 00:50:36 BST 2005 Olly Betts <olly@survex.com>
9245 * csharp/.cvsignore,python/docs/.cvsignore,
9246 python/docs/examples/.cvsignore,python/.cvsignore,
9247 java/native/.cvsignore,java/org/xapian/errors/.cvsignore,
9248 java/org/xapian/.cvsignore,java/org/xapian/examples/.cvsignore,
9249 java/org/.cvsignore,java/.cvsignore,debian/.cvsignore,
9250 guile/.cvsignore,tcl8/docs/.cvsignore,tcl8/docs/examples/.cvsignore,
9251 tcl8/.cvsignore,php4/docs/.cvsignore,php4/docs/examples/.cvsignore,
9252 php4/.cvsignore,.cvsignore: Remove .cvsignore files, as they're not
9255 Tue Apr 05 00:34:09 BST 2005 Olly Betts <olly@survex.com>
9257 * configure.ac,php4/Makefile.am: There are problems with the PHP glue
9258 code produced by SWIG 1.3.23 and later - optional arguments aren't
9259 optional. So add back the SWIG_1_3_22 machinery.
9261 Tue Mar 29 15:14:11 BST 2005 Olly Betts <olly@survex.com>
9263 * csharp/Makefile.am: Updated list of generated .cs files.
9265 Tue Mar 29 14:48:21 BST 2005 Olly Betts <olly@survex.com>
9267 * xapian.i: Fix C# warnings.
9269 Tue Mar 29 13:57:36 BST 2005 Olly Betts <olly@survex.com>
9271 * xapian.i: For PHP4, rename default Database ctor to Database_empty
9272 instead of suppressing the Database(const string &path) ctor.
9274 Tue Mar 29 13:39:36 BST 2005 Olly Betts <olly@survex.com>
9276 * configure.ac: Pass -Werror to SWIG.
9277 * xapian.i: Fix all the SWIG warnings which are now errors.
9279 Tue Mar 29 13:29:47 BST 2005 James Aylett <james@tartarus.org>
9281 * don't wrap MSet::max_size() as it's there for STL
9282 compatibility rather than useful functionality.
9284 Tue Mar 29 11:55:26 BST 2005 James Aylett <james@tartarus.org>
9286 * when running PHP4 tests, use a blank config file so that if
9287 the xapian bindings are already installed as an extension and
9288 loaded automatically in the default config, they won't be
9289 during the test run.
9291 The tests use dl(), so will pick up the version we've just
9294 Tue Mar 29 10:32:36 BST 2005 Olly Betts <olly@survex.com>
9296 * configure.ac,php4/Makefile.am: SWIG > 1.3.22 *does* work for PHP -
9297 the problem was that I had an older PHP SWIG glue shared library
9298 installed and this clashes with new glue libraries (but not older
9299 ones). So strip out the machinery to use a different SWIG version
9301 * configure.ac: Require SWIG >= 1.3.24.
9303 Mon Mar 21 09:37:45 GMT 2005 James Aylett <james@tartarus.org>
9305 * xapian.i: updated SWIG-based bindings to latest API
9307 * python/extra.i: more Python-style iterators
9309 * tcl8/docs/.cvsignore, tcl8/docs/examples/.cvsignore: ignore
9310 autogenerated Makefile.in, Makefile
9312 Mon Mar 21 07:01:14 GMT 2005 Olly Betts <olly@survex.com>
9314 * configure.ac,php4/Makefile.am: Use SWIG 1.3.22 for PHP bindings
9315 as more recent versions don't work.
9316 * configure.ac: If configure can't find the php interpreter (as php4
9317 or php), it probably just means it's not on PATH. We only need it
9318 for running the smoketest, so substitute "exit 77 #" instead which
9319 will cause the test to skip (previously we substituted "missing"
9320 which causes the test to fail).
9322 Wed Feb 23 04:08:55 GMT 2005 Olly Betts <olly@survex.com>
9324 * NEWS: Updated for 0.8.5.1.
9326 Wed Feb 23 04:07:48 GMT 2005 Olly Betts <olly@survex.com>
9328 * README: Refer reader to java/README for java specific information.
9330 Tue Feb 22 16:12:55 GMT 2005 Olly Betts <olly@survex.com>
9332 * java/Makefile.am,java/README,java/native/Makefile.am,
9333 java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9334 Fixed how the jar file is made, and build it directory to the built
9335 subdirectory rather than requiring an "install" step. Updated the
9336 README to add a "how to build" section. Tweak the java commands in
9337 the README for running the examples to work around a bug in Debian
9338 gij's java wrapper script. Added a README section about tested java
9339 platforms. Automatically "install" the JNI glue library in "built"
9340 and remove the .la file (which is useless here).
9342 Tue Feb 22 01:38:14 GMT 2005 Olly Betts <olly@survex.com>
9344 * configure.ac: Set version to 0.8.5.1 and fix version check.
9346 Mon Feb 21 20:17:07 GMT 2005 Olly Betts <olly@survex.com>
9348 * COPYING: This code is under the GPL (except the Java bindings which
9349 are MIT-style, but that's GPL compatible anyway).
9351 Mon Feb 21 20:11:36 GMT 2005 Olly Betts <olly@survex.com>
9353 * configure.ac: Run tests using the C++ compiler; Allow bindings
9354 version to have an extra "patchlevel", yet still match with
9355 corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
9356 Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
9357 warnings in generated code (we were specially passing "-Wunused"
9358 which was a thinko I believe!)
9360 Mon Feb 21 20:08:56 GMT 2005 Olly Betts <olly@survex.com>
9362 * java/Makefile.am,java/org/xapian/examples/Makefile.am: "make clean"
9363 should remove the generated class files.
9365 Mon Feb 21 20:06:19 GMT 2005 Olly Betts <olly@survex.com>
9367 * java/README: Added list of unwrapped methods and classes.
9369 Mon Feb 21 20:03:06 GMT 2005 Olly Betts <olly@survex.com>
9371 * java/.cvsignore: Add "built" directory.
9373 Mon Feb 21 20:02:17 GMT 2005 Olly Betts <olly@survex.com>
9375 * java/Makefile.am,java/run-java-test: Run SmokeTest on "make check".
9377 Mon Feb 21 18:42:32 GMT 2005 Olly Betts <olly@survex.com>
9379 * java/org/xapian/ExpandDecider.java,
9380 java/org/xapian/MatchDecider.java: Fix GCJ warning.
9382 Mon Feb 21 18:42:03 GMT 2005 Olly Betts <olly@survex.com>
9384 * java/org/xapian/errors/Makefile.am: Remove lingering reference to
9385 InvalidDataError.java and InvalidDataError.class.
9387 Mon Feb 21 05:16:28 GMT 2005 Olly Betts <olly@survex.com>
9389 * java/.cvsignore,java/SmokeTest.java,java/native/,java/org/xapian/,
9390 java/org/xapian/errors/,java/org/xapian/examples/:
9391 Added missing .java sources and removed unused ones; Added java
9392 smoketest (not yet run automatically); Added .cvsignore files for
9393 generated files; Updated to use new ctors for Database and
9394 WritableDatabase which replace Auto::open(); Wrap
9395 Database::get_lastdocid(); Wrap ESetIterator::prev() and
9396 MSetIterator::prev(); Fixed glitches in automake build system;
9397 Prefer Query::empty() to Query::is_empty(); Wrap InMemory::open();
9398 Disable Eric's QueryParser - for consistency we should wrap the
9399 C++ version by default; Removed forced flush() from
9400 WritableDatabase::delete_document() wrapper.
9401 * java/org/xapian/examples/SimpleSearch.java: tweaked to be more like
9404 Mon Feb 21 05:02:30 GMT 2005 Olly Betts <olly@survex.com>
9406 * java/README: Need . in -classpath.
9408 Tue Jan 18 02:27:06 GMT 2005 Olly Betts <olly@survex.com>
9410 * java/org/xapian/Xapian.java: Another missing java source!
9412 Sun Jan 09 13:59:17 GMT 2005 Olly Betts <olly@survex.com>
9414 * configure.ac: Check for "php" as well as "php4", and fall-back to
9415 missing so the error message from "make check" is better.
9417 Thu Dec 23 19:17:39 GMT 2004 Olly Betts <olly@survex.com>
9419 * configure.ac,NEWS: Version 0.8.5.
9421 Thu Dec 23 19:16:53 GMT 2004 Olly Betts <olly@survex.com>
9423 * INSTALL,README: Added better installation instructions.
9425 Mon Dec 20 16:29:01 GMT 2004 Olly Betts <olly@survex.com>
9427 * python/Makefile.am: Simpler .pyc fix.
9429 Fri Dec 10 17:13:52 GMT 2004 Richard Boulton <richard@tartarus.org>
9431 * python/Makefile.am: Fixed bytecode compilation of xapian.py.
9432 xapian.pyc was being generated in the same directory
9433 as xapian.py, but Makefile.am was looking in current directory
9434 when installing it. Additionally, VPATH builds were broken.
9436 Wed Dec 08 16:18:39 GMT 2004 Olly Betts <olly@survex.com>
9438 * NEWS: Fixed typo, bumped date.
9440 Wed Dec 08 02:13:25 GMT 2004 Olly Betts <olly@survex.com>
9442 * php4/docs/bindings.html,python/docs/bindings.html,
9443 tcl8/docs/bindings.html: Reworked text about Xapian::Auto namespace
9444 and a few other tweaks.
9446 Tue Dec 07 19:55:48 GMT 2004 Olly Betts <olly@survex.com>
9448 * xapian.i,php4/docs/examples/simpleindex.php,
9449 php4/docs/examples/simplesearch.php,python/docs/examples/,
9450 tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl,
9451 tcl8/docs/examples/simplesearch.tcl: Wrap the new constructors
9452 for Database and WritableDatabase, use these in the examples,
9453 and removed mentions of Auto::open() from the documentation.
9454 Don't wrap the WritableDatabase forms of Auto::open() and
9455 Quartz::open() in tcl8 since the destructor never gets called.
9457 Tue Dec 07 19:53:48 GMT 2004 Olly Betts <olly@survex.com>
9459 * README: Updated to list fully supported languages and improved
9462 Thu Dec 02 13:31:40 GMT 2004 Olly Betts <olly@survex.com>
9464 * xapian.i: Weight::clone is for internal use - don't wrap it.
9465 * xapian.i: For PHP4, rename the default BM25Weight ctor to
9466 BM25Weight_default and the default TradWeight ctor to
9469 Thu Dec 02 13:30:55 GMT 2004 Olly Betts <olly@survex.com>
9471 * python/Makefile.am: test -d before mkdir to avoid worrying looking
9474 Thu Dec 02 03:40:16 GMT 2004 Olly Betts <olly@survex.com>
9478 Thu Dec 02 03:37:06 GMT 2004 Olly Betts <olly@survex.com>
9480 * configure.ac: SWIG 1.3.23 causes warnings (and quite likely problems)
9481 with PHP4. It helps C#, but since that's unfinished, PHP4
9482 definitely matters more, so drop back to SWIG 1.3.22.
9484 Thu Dec 02 03:27:37 GMT 2004 Olly Betts <olly@survex.com>
9486 * configure.ac: Added tcl8/docs/Makefile tcl8/docs/examples/Makefile
9489 Thu Dec 02 03:05:11 GMT 2004 Olly Betts <olly@survex.com>
9491 * NEWS,xapian.i: Removed the director for Xapian::Weight for now,
9492 since it was causing swig to generate code which didn't compile.
9494 Thu Dec 02 03:03:39 GMT 2004 Olly Betts <olly@survex.com>
9496 * python/.cvsignore: Updated.
9498 Thu Dec 02 03:00:56 GMT 2004 Olly Betts <olly@survex.com>
9500 * python/Makefile.am: Fixed PYTHONPATH for running smoketest.py.
9502 Wed Dec 01 21:32:02 GMT 2004 Olly Betts <olly@survex.com>
9504 * xapian.i: Prototype Weight::clone() method so that SWIG directors
9507 Wed Dec 01 16:11:32 GMT 2004 Olly Betts <olly@survex.com>
9509 * tcl8/Makefile.am,tcl8/docs/Makefile.am,
9510 tcl8/docs/examples/Makefile.am: Ship and install docs and examples
9513 Wed Dec 01 15:41:56 GMT 2004 Olly Betts <olly@survex.com>
9515 * Makefile.am: Distribute xapian-bindings.spec.in.
9517 Wed Dec 01 15:39:55 GMT 2004 Olly Betts <olly@survex.com>
9519 * xapian-bindings.spec.in: No longer need "BuildRequires: swig";
9520 disable building of csharp bindings; package tcl8 documentation;
9521 updated to package the tcl8 bindings at their new location.
9523 Wed Dec 01 05:59:24 GMT 2004 Olly Betts <olly@survex.com>
9525 * NEWS: It's now tomorrow, so bump the 0.8.4 release date.
9527 Wed Dec 01 05:57:41 GMT 2004 Olly Betts <olly@survex.com>
9529 * tcl8/docs/examples/simplesearch.tcl: Need Tcl 8.1 or later.
9531 Wed Dec 01 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9533 * tcl8/docs/examples/simpleindex.tcl: Tweaked to actually work.
9535 Wed Dec 01 05:18:18 GMT 2004 Olly Betts <olly@survex.com>
9537 * tcl8/docs/examples/simpleindex.tcl: Simpler, more idiomatic code
9538 which doesn't rely on features added since Tcl 8.1.
9540 Tue Nov 30 22:42:14 GMT 2004 Olly Betts <olly@survex.com>
9542 * NEWS,configure.ac: Updated for 0.8.4 release.
9544 Mon Nov 29 04:17:42 GMT 2004 Olly Betts <olly@survex.com>
9546 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9547 python/Makefile.am,tcl8/Makefile.am: Instead of requiring the user
9548 to have a really recent SWIG installed, ship the files SWIG
9549 generates. Disable all the SWIG rules unless configure is run
9550 with --enable-maintainer-mode to make sure they aren't triggered
9551 accidentally by make with dodgy VPATH or anything else.
9552 * csharp/Makefile.am: Updated the list of generated .cs files to
9553 include the subclasses of Weight.
9555 Sun Nov 28 02:51:37 GMT 2004 Olly Betts <olly@survex.com>
9557 * csharp/TODO: Note that SWIG 1.3.23 apparently implements optional
9560 Sun Nov 28 01:50:45 GMT 2004 Olly Betts <olly@survex.com>
9562 * csharp/Makefile.am: Wrapping for Xapian::Weight means we need to add
9563 Weight.cs to the list of generated sources.
9565 Sat Nov 27 03:00:24 GMT 2004 Olly Betts <olly@survex.com>
9567 * xapian.i: Mark Weight as needing a director for Python.
9569 Tue Nov 16 02:59:18 GMT 2004 Olly Betts <olly@survex.com>
9571 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9572 python/Makefile.am,tcl8/Makefile.am: Use newly added option
9573 `xapian-config --swigflags` which (a) avoids always passing
9574 -I/usr/include which could cause problems if we're using a Xapian
9575 install not in /usr and there's another one in /usr and (b) avoids
9576 problems if `xapian-config --cxxflags` contains flags other than
9579 Sun Nov 14 06:30:47 GMT 2004 Olly Betts <olly@survex.com>
9581 * xapian.i: Wrapped Xapian::Weight and subclasses (compiles, but
9582 otherwise totally untested). Nothing special is done about
9583 directors, so deriving your own Weight subclass in the scripting
9584 language probably won't currently work.
9586 Wed Nov 10 03:32:23 GMT 2004 Olly Betts <olly@survex.com>
9588 * README: Improved a bit.
9590 Wed Nov 10 03:24:08 GMT 2004 Olly Betts <olly@survex.com>
9592 * xapian.i: %name is deprecated, so use %rename instead. This also
9593 works around a bug currently in SWIG CVS HEAD.
9595 Wed Nov 10 01:47:33 GMT 2004 Olly Betts <olly@survex.com>
9597 * xapian.i: Second argument to Document::add_posting() isn't optional.
9599 Tue Nov 09 03:06:56 GMT 2004 Olly Betts <olly@survex.com>
9601 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9602 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9603 tcl8/Makefile.am: We now get -AA or -std strict_ansi from
9604 xapian-config, so we don't need to probe for them ourselves.
9606 Sat Nov 06 16:19:30 GMT 2004 Olly Betts <olly@survex.com>
9608 * configure.ac: Check GXX instead of GCC when deciding whether to pass
9609 GCC specific warning flags.
9611 Sat Nov 06 13:04:52 GMT 2004 Olly Betts <olly@survex.com>
9613 * configure.ac: Reinstated the check that the bindings version matches
9614 the version of the xapian library. It was added in 0.8.2, but
9615 accidentally removed in 0.8.3.
9617 Sat Nov 06 12:44:40 GMT 2004 Olly Betts <olly@survex.com>
9619 * configure.ac: Protect tcl header version test by prepending x to
9620 both the strings being tested.
9622 Tue Nov 02 05:59:54 GMT 2004 Olly Betts <olly@survex.com>
9624 * configure.ac: Removed pointless probe for a C compiler.
9626 Tue Nov 02 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9628 * configure.ac: Require SWIG 1.3.22 (for guile).
9630 Sat Oct 30 19:51:10 BST 2004 Olly Betts <olly@survex.com>
9632 * csharp/Makefile.am: Contents of xxx_SOURCES must be literal.
9634 Thu Oct 28 04:45:15 BST 2004 Olly Betts <olly@survex.com>
9636 * csharp/Makefile.am,csharp/SmokeTest.cs: Added a smoketest.
9638 * csharp/Makefile.am: Updated list of generated .cs files.
9640 Thu Oct 28 04:37:31 BST 2004 Olly Betts <olly@survex.com>
9642 * xapian.i: In the Query ctor which takes a vector of terms, only
9643 call set_window if window is non-zero. Otherwise things go wrong
9644 if we're passed an empty vector.
9646 Wed Oct 27 03:34:10 BST 2004 Olly Betts <olly@survex.com>
9648 * configure.ac: Added note that the bindings can easily be compiled
9649 for use with Tcl 8.0, in case anybody needs that for some reason.
9651 Sun Oct 24 02:07:31 BST 2004 Olly Betts <olly@survex.com>
9653 * python/docs/examples/simpleindex.py: Trim spaces from the start as
9654 well as from the end of each line. Simplify the loop slightly.
9656 Sun Oct 24 01:54:17 BST 2004 Olly Betts <olly@survex.com>
9658 * tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl: Added
9659 Tcl version of simpleindex from xapian-examples.
9661 Sat Oct 23 15:57:00 BST 2004 Olly Betts <olly@survex.com>
9663 * configure.ac,tcl8/Makefile.am: Use the TCL_STUBS mechanism so that
9664 compiled extensions are portable between different versions of Tcl.
9665 This needs Tcl 8.1, so bump the required Tcl version (was 8.0).
9666 Also install in the directory above $tcl_library so the built
9667 extension can be found by other Tcl versions.
9669 Fri Oct 22 03:24:11 BST 2004 Olly Betts <olly@survex.com>
9671 * php4/docs/bindings.html,python/docs/bindings.html,
9672 tcl8/docs/bindings.html: Mention the example scripts near the start
9673 of the documentation, not right at the end.
9674 * php4/docs/bindings.html: Remove documentation explicitly saying
9675 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9676 exactly as we wrap everything else we don't mention!
9678 Fri Oct 22 03:21:20 BST 2004 Olly Betts <olly@survex.com>
9680 * tcl8/.cvsignore,tcl8/Makefile.am: Pass -pkgversion to SWIG to set
9681 the Tcl package version; create pkgIndex.tcl so the package can
9682 be loaded in the usual Tcl way; install in "xapian<VERSION>"
9683 subdirectory of the Tcl library directory, as is the convention.
9685 Fri Oct 22 02:36:00 BST 2004 Olly Betts <olly@survex.com>
9687 * tcl8/docs/bindings.html: Added documentation for tcl8.
9689 Fri Oct 22 02:21:48 BST 2004 Olly Betts <olly@survex.com>
9691 * python/docs/examples/simpleexpand.py,
9692 python/docs/examples/simplematchdecider.py,
9693 python/docs/examples/simplesearch.py: Changed to use James' newly
9694 wrapped Query from list of terms ctor.
9695 * python/docs/examples/simplematchdecider.py: Make the example
9696 MatchDecider exclude documents matching a value, rather than a term.
9697 The latter is a very inefficient way to do what AND_NOT does, and
9698 we don't want examples to mislead like that.
9700 Thu Oct 21 18:00:14 BST 2004 Olly Betts <olly@survex.com>
9702 * python/docs/bindings.html: Note that you can construct a query
9703 from a list of terms, even if you can't from a list of queries.
9704 Add HTML links to the examples.
9706 Thu Oct 21 17:44:19 BST 2004 Olly Betts <olly@survex.com>
9708 * python/docs/bindings.html: Remove documentation explicitly saying
9709 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9710 exactly as we wrap everything else we don't mention! Also mention
9711 simpleexpand example.
9713 Thu Oct 21 16:59:03 BST 2004 Olly Betts <olly@survex.com>
9715 * php4/Makefile.am: Note why we pass -I. to SWIG.
9717 Thu Oct 21 02:45:15 BST 2004 Olly Betts <olly@survex.com>
9719 * xapian.i: It turns out that we do need to wrap MSet::MSet() after
9720 all (simpleexpand.py uses it, for example).
9722 Thu Oct 21 02:43:34 BST 2004 Olly Betts <olly@survex.com>
9724 * python/docs/examples/: Report messages for Xapian exceptions.
9725 Removed MAX_PROB_TERM_LENGTH from scripts which don't use it.
9727 Thu Oct 21 01:39:08 BST 2004 Olly Betts <olly@survex.com>
9729 * tcl8/smoketest.tcl: Explicitly require at least Tcl version 8.
9731 Thu Oct 21 01:35:28 BST 2004 Olly Betts <olly@survex.com>
9733 * tcl8/docs/examples/simplesearch.tcl: Use more idiomatic (and less
9734 idiotic) Tcl thanks to contributions from Michael Schlenker.
9736 Wed Oct 20 05:29:57 BST 2004 Olly Betts <olly@survex.com>
9738 * tcl8/docs/examples/simplesearch.tcl: Sussed out what Query::OP_OR
9741 Wed Oct 20 05:18:36 BST 2004 Olly Betts <olly@survex.com>
9743 * tcl8/docs/examples/simplesearch.tcl: Translated simplesearch into
9746 Tue Oct 19 21:07:06 BST 2004 Olly Betts <olly@survex.com>
9748 * python/Makefile.am: Added xapian_wrap.h as a target for the rule
9751 Tue Oct 19 21:05:11 BST 2004 Olly Betts <olly@survex.com>
9753 * tcl8/Makefile.am: Wrap in a tcl8 namespace "Xapian".
9754 * tcl8/Makefile.am,tcl8/smoketest.tcl: Added a smoketest.
9756 Wed Oct 6 17:28:54 BST 2004 James Aylett <james@tartarus.org>
9758 * get overloaded Query(Query::op, vector<string>*, termpos)
9759 constructor working in Python
9761 Thu Sep 30 02:29:13 BST 2004 Richard Boulton <richard@tartarus.org>
9763 * csharp/Makefile.am: Add XapianSharp.snk to CLEANFILES.
9764 Place generated bindings into C# namespace "Xapian".
9765 Change module name to Xapian. (Assembly remains as XapianSharp).
9766 Remove -noproxy option from swig.
9767 Update list of csharp source file to work with new swig options.
9768 * csharp/.cvsignore: Add XapianSharp.snk, now it's a generated
9771 Wed Sep 29 19:04:41 BST 2004 Olly Betts <olly@survex.com>
9773 * xapian.i: Reenabled inclusion of typemaps.i and exception.i for
9774 Guile. This was disabled in June 2000. 4 years later SWIG seems
9775 to process them successfully.
9777 Wed Sep 29 19:01:28 BST 2004 Olly Betts <olly@survex.com>
9779 * configure.ac,csharp/Makefile.am: Get configure to find sn.
9781 Wed Sep 29 17:23:23 BST 2004 Richard Boulton <richard@tartarus.org>
9783 * csharp/: Generate strong name file automatically.
9785 Wed Sep 29 14:17:50 BST 2004 Olly Betts <olly@survex.com>
9787 * csharp/Makefile.am: Added "touch op.cs" so the build system works
9788 on SWIG <= 1.3.21 as well as SWIG 1.3.22.
9790 Wed Sep 29 14:11:48 BST 2004 Olly Betts <olly@survex.com>
9792 * configure.ac: CSharp bindings now build, so enable them if the
9793 required tools are available.
9795 Wed Sep 29 03:00:05 BST 2004 Olly Betts <olly@survex.com>
9797 * csharp/Makefile.am: Removed hardcoded values for GACUTIL and CSC
9798 which were overriding any values configure tried to set.
9800 Wed Sep 29 02:57:07 BST 2004 Olly Betts <olly@survex.com>
9802 * csharp/Makefile.am: Fixed to build when srcdir != builddir.
9804 Tue Sep 28 20:33:21 BST 2004 Olly Betts <olly@survex.com>
9806 * configure.ac: The guile bindings do now build (though I don't
9807 know guile so can't test them), so enable the guile detection
9808 machinery in configure.
9810 Tue Sep 28 19:32:33 BST 2004 Olly Betts <olly@survex.com>
9812 * csharp/Makefile.am: Add op.cs to XAPIAN_SWIG_CS_SRCS.
9814 Tue Sep 28 19:06:02 BST 2004 Olly Betts <olly@survex.com>
9816 * configure.ac: AC_PATH_PROG calls AC_SUBST, so we don't need to.
9818 Tue Sep 28 19:04:17 BST 2004 Olly Betts <olly@survex.com>
9820 * csharp/Makefile.am: Set AM_CXXFLAGS.
9822 Tue Sep 28 16:45:25 BST 2004 Olly Betts <olly@survex.com>
9824 * xapian.i: Workaround not being able to include stl.i with C#.
9826 Tue Sep 28 16:22:47 BST 2004 Richard Boulton <richard@tartarus.org>
9828 * csharp/AssemblyInfo.cs.in: New file - includes strong name
9830 * csharp/Makefile.am: Build assembly with a strong name, to
9831 make gacutil happy. Use gacutil to install the assembly.
9832 Change xapian_wrap.cc to XapianSharp.cc
9833 * csharp/XapianSharp.snk: New file - strong name for XapianSharp.
9834 * csharp/.cvsignore: Ignore XapianSharp.{cc,loT}
9835 * configure.ac: Generate csharp/AssemblyInfo.cs
9837 Sun Sep 26 19:34:54 BST 2004 Richard Boulton <richard@tartarus.org>
9839 * README: Mention that I'm working on C# bindings.
9840 * csharp/.cvsignore: Ignore generated .cs and .dll files
9842 Sat Sep 25 02:51:22 BST 2004 Richard Boulton <richard@tartarus.org>
9844 * configure.ac,Makefile.am,csharp/: Add C sharp bindings, created
9845 with SWIG. Build disabled by default for now, because these are
9846 completely untested, and probably need quite a bit of work. In
9847 addition, all the SWIG packages I've found seem to require a
9848 patch to work correctly with csharp (various stl_*.i packages are
9849 reported missing, creating them with "touch" seems to work, but
9850 may break things subtly). I need to learn C# before I can test
9853 Mon Sep 20 15:28:04 BST 2004 Olly Betts <olly@survex.com>
9855 * NEWS,configure.ac: Version 0.8.3.
9857 Mon Sep 20 15:10:57 BST 2004 Olly Betts <olly@survex.com>
9859 * java/org/xapian/.cvsignore,java/org/xapian/errors/.cvsignore:
9860 Updated to ignore .class files.
9862 Sun Sep 19 23:28:14 BST 2004 Olly Betts <olly@survex.com>
9864 * .cvsignore,Makefile.am,configure.ac,xapian-bindings.spec.in:
9865 Added spec file contributed by Fabrice Colin.
9867 Sun Sep 19 17:56:32 BST 2004 Olly Betts <olly@survex.com>
9869 * guile/.cvsignore: Added xapian_wrap.cc and xapianc.la.
9871 Fri Sep 17 10:00:59 BST 2004 Olly Betts <olly@survex.com>
9873 * php4/docs/Makefile.am: Include php4/docs/bindings.html in the
9876 Fri Sep 17 00:54:12 BST 2004 Olly Betts <olly@survex.com>
9878 * php4/Makefile.am,python/Makefile.am: DIST_SUBDIRS is superfluous
9879 when it's identical to SUBDIRS.
9881 Fri Sep 17 00:52:47 BST 2004 Olly Betts <olly@survex.com>
9883 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9884 Pass -classpath to javac; make sure errors subdirectory is built
9885 before we try to build the jar file.
9887 Fri Sep 17 00:00:25 BST 2004 Olly Betts <olly@survex.com>
9889 * configure.ac,tcl8/Makefile.am: Improved check for tcl.h to work with
9892 Thu Sep 16 23:02:28 BST 2004 Olly Betts <olly@survex.com>
9894 * java/native/Makefile.am,java/org/xapian/Makefile.am: Fixed "make
9895 install" to not give libtool error.
9897 Thu Sep 16 22:51:26 BST 2004 Olly Betts <olly@survex.com>
9899 * php4/docs/examples/Makefile.am: Include simplesearch.php and
9900 simpleindex.php in the tarball.
9902 Wed Sep 15 18:47:58 BST 2004 Olly Betts <olly@survex.com>
9904 * configure.ac: Noted that -modern affects xapian.py (xapian_wrap.cc
9907 Wed Sep 15 18:22:23 BST 2004 Olly Betts <olly@survex.com>
9909 * configure.ac,php4/Makefile.am: Removed the recently added
9910 SWIG_PHP_LDFLAGS machinery. We only need to pass those if
9911 we use swig's -noruntime option (which we don't do).
9913 Wed Sep 15 17:38:02 BST 2004 Olly Betts <olly@survex.com>
9915 * configure.ac,python/Makefile.am: Use swig's -modern switch for
9916 Python 2.2 and up - it gives cleaner, leaner, faster wrapper code.
9918 Tue Sep 14 03:37:55 BST 2004 Olly Betts <olly@survex.com>
9920 * guile/Makefile.am,guile/extra.i: Added empty extra.i which
9921 will be required when these bindings get resurrected.
9923 Tue Sep 14 03:37:23 BST 2004 Olly Betts <olly@survex.com>
9925 * tcl8/Makefile.am: Don't install xapian.la.
9927 Tue Sep 14 03:35:57 BST 2004 Olly Betts <olly@survex.com>
9929 * tcl8/extra.i: This had been copied from php4/extra.i without
9930 changing reference in comments from PHP4 to Tcl - fixed.
9932 Mon Sep 13 05:08:51 BST 2004 Olly Betts <olly@survex.com>
9934 * configure.ac: Version 0.8.2.
9936 Mon Sep 13 04:59:54 BST 2004 Olly Betts <olly@survex.com>
9938 * NEWS,xapian.i,php4/docs/bindings.html,python/docs/bindings.html:
9939 Wrap ESet::back(), Database::get_lastdocid(), and the new optional
9940 third parameter to Enquire::set_sorting(). Don't wrap MSet::MSet().
9941 Wrap operator-- as prev() for MSetIterator and ESetIterator. Wrap
9942 Quartz, InMemory, and Remote database factory functions as
9943 quartz_open(), inmemory_open(), and remote_open(). Wrap static
9944 Stem::get_available_languages() and Stem::get_description().
9945 * php4/smoketest.php,python/smoketest.py: Open an InMemory database
9946 and add the document to it as an additional test.
9948 Sun Sep 12 14:31:17 BST 2004 Olly Betts <olly@survex.com>
9950 * xapian.i: Add back is_empty() aliases for compatibility.
9952 Thu Sep 09 04:19:54 BST 2004 Olly Betts <olly@survex.com>
9954 * configure.ac,php4/Makefile.am,php4/smoketest.php: Added smoke test
9956 * python/Makefile.am: Fixed multiple setting of EXTRA_DIST.
9958 Thu Sep 09 03:21:30 BST 2004 Olly Betts <olly@survex.com>
9960 * php4/docs/examples/simpleindex.php,
9961 php4/docs/examples/simplesearch.php: Removed "dl('xapian.so')" -
9962 instead document how to configure PHP to load the module.
9964 Thu Sep 09 03:14:57 BST 2004 Olly Betts <olly@survex.com>
9966 * NEWS: Started to updated for next release.
9968 Thu Sep 09 03:07:43 BST 2004 Olly Betts <olly@survex.com>
9970 * php4/docs/bindings.html: Added documentation on how to install the
9973 Thu Sep 09 02:45:24 BST 2004 Olly Betts <olly@survex.com>
9975 * python/docs/bindings.html: Word-wrapped HTML source.
9977 Thu Sep 09 02:40:17 BST 2004 Olly Betts <olly@survex.com>
9979 * php4/docs/bindings.html,python/docs/bindings.html: Removed
9980 documentation of renaming of empty() methods.
9982 Wed Sep 08 22:16:52 BST 2004 Olly Betts <olly@survex.com>
9984 * xapian.i: Updated for Query->is_empty() -> Query->empty().
9986 Wed Sep 08 20:39:03 BST 2004 Olly Betts <olly@survex.com>
9988 * python/Makefile.am,python/smoketest.py: Added a simple testcase
9989 to at least ensure the python bindings can be initialise and
9990 some simple operations work.
9992 Wed Sep 08 15:23:38 BST 2004 Olly Betts <olly@survex.com>
9994 * xapian.i: Remove renaming of empty() methods to is_empty().
9996 Wed Sep 08 05:34:10 BST 2004 Olly Betts <olly@survex.com>
9998 * README: Pike support is now in SWIG it seems.
10000 Wed Sep 08 05:30:58 BST 2004 Olly Betts <olly@survex.com>
10002 * README: Updated list of languages which SWIG supports.
10004 Wed Sep 08 04:53:07 BST 2004 Olly Betts <olly@survex.com>
10006 * configure.ac: Disable tcl8 bindings if the tcl8.X-dev package
10009 Wed Sep 08 04:52:19 BST 2004 Olly Betts <olly@survex.com>
10011 * tcl8/.cvsignore: Ignore xapian.la.
10013 Wed Sep 08 04:49:50 BST 2004 Olly Betts <olly@survex.com>
10015 * tcl8/.cvsignore: Ignore generated xapian_wrap.cc.
10017 Wed Sep 08 04:15:06 BST 2004 Olly Betts <olly@survex.com>
10019 * configure.ac,guile/Makefile.am,java/native/Makefile.am,
10020 php4/Makefile.am,python/Makefile.am,tcl8/Makefile.am:
10021 Use special SWIG PHP ldflags when linking the PHP glue library;
10022 Only pass -W* switches when building with GCC; Suppress compiler
10023 warnings by passing -Wno-uninitialized when building SWIG glue code;
10024 Python bindings now delete generated xapian_wrap.h on "make clean".
10026 Wed Sep 08 04:06:02 BST 2004 Olly Betts <olly@survex.com>
10028 * python/util.i: Suppress SWIG warning about MatchDecider::operator()
10029 director discarding const.
10031 Wed Sep 08 02:37:17 BST 2004 Olly Betts <olly@survex.com>
10033 * php4/.cvsignore: Updated.
10035 Wed Sep 08 01:27:54 BST 2004 Olly Betts <olly@survex.com>
10037 * configure.ac,php4/.cvsignore,php4/Makefile.am,
10038 php4/docs/bindings.html,php4/docs/examples/simpleindex.php,
10039 php4/docs/examples/simplesearch.php: Actually ship docs and
10040 examples; fixed bug in includes introduced in last checkin; output
10041 swig wrapper as xapian_wrap.cc not xapian_wrap.cpp for consitency
10042 with other bindings; fixed documentation of wrapping of
10043 Xapian::Query::OP_*; example scripts now load the xapian PHP
10044 extension; simplesearch now works with multi-term queries.
10046 Tue Sep 07 22:20:16 BST 2004 Olly Betts <olly@survex.com>
10048 * configure.ac,php4/.cvsignore,php4/Makefile.am: Don't use -phpfull
10049 option to swig. It's actually as easy to build and install the
10050 shared library ourselves, and then we can link with an uninstalled
10053 Tue Sep 07 22:18:20 BST 2004 Olly Betts <olly@survex.com>
10055 * python/Makefile.am: Fixed to use xapian_wrap.cpp not $@ - otherwise
10056 "make xapian.py" doesn't work correctly. Fixed typo in comment.
10058 Fri Sep 03 18:44:56 BST 2004 Olly Betts <olly@survex.com>
10060 * python/.cvsignore: Added xapian.pyc.
10062 Fri Sep 03 18:41:34 BST 2004 Olly Betts <olly@survex.com>
10066 Fri Sep 03 18:34:21 BST 2004 Olly Betts <olly@survex.com>
10068 * configure.ac,configure.in: Renamed configure.in to configure.ac.
10070 Fri Sep 03 18:28:54 BST 2004 Olly Betts <olly@survex.com>
10072 * Makefile.am: Require automake 1.8.5.
10073 * configure.in: Require autoconf 2.59. Note that SWIG 1.3.22 doesn't
10074 seem to have any changes relevant to us.
10076 Fri Sep 03 18:14:15 BST 2004 Olly Betts <olly@survex.com>
10078 * python/Makefile.am: Fixed to remove _xapian.la after it is installed
10079 (preventing it being installed is really hard to do). And
10080 xapian.py and xapian.pyc aren't BUILT_SOURCES so just put them
10081 directly in CLEANFILES.
10083 Fri Sep 03 13:04:42 BST 2004 Olly Betts <olly@survex.com>
10085 * python/Makefile.am: Byte compile the python code and install that
10088 Fri Sep 03 13:03:55 BST 2004 Olly Betts <olly@survex.com>
10090 * configure.in: Tell libtool not to build static libraries as the
10091 bindings all need dynamic ones which can be loaded at runtime.
10093 Wed Sep 01 12:07:08 BST 2004 Olly Betts <olly@survex.com>
10095 * configure.in: Require Python >= 2.1 for __cmp__ and __eq__.
10097 Thu Aug 19 17:20:45 BST 2004 Olly Betts <olly@survex.com>
10099 * php4/docs/bindings.html: Document that the 2 argument form of
10100 Xapian::Auto::open() for opening a writable database is wrapped
10101 as open_writable() (bug #32).
10103 Thu Aug 12 13:26:16 BST 2004 Olly Betts <olly@survex.com>
10105 * configure.in: Check that the bindings version matches the version of
10106 the xapian library.
10108 Thu Aug 12 13:15:01 BST 2004 Olly Betts <olly@survex.com>
10110 * configure.in,php4/: Include xapian version in output from phpinfo().
10112 Fri Jul 02 14:27:42 BST 2004 Olly Betts <olly@survex.com>
10114 * php4/docs/bindings.html: Reference to Xapian::Auto::DB_* should be
10117 Wed Jun 30 14:54:48 BST 2004 Olly Betts <olly@survex.com>
10119 * configure.in: Version 0.8.1; Corrected --without-tcl help to say
10120 it disables Tcl (not Java!) and list the SWIG bindings which
10121 --without-swig disables; note that SWIG 1.3.21 isn't relevant
10122 and the SWIG changelog URL.
10124 Wed Jun 30 00:09:58 BST 2004 Olly Betts <olly@survex.com>
10126 * NEWS: Updated for 0.8.1 release.
10128 Tue Jun 29 23:26:36 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10130 * java/native/,java/org/xapian/: Updates to java bindings:
10131 - cleanup usages of XapianObjectHolder to be explicitly created
10132 during library initialization
10133 - make finalize() methods of Database and WritableDatabase public so
10134 they can be called from the outside world (should probably have
10135 added explicit close() methods instead).
10136 - deprecate document_add_term_nopos(); completely remove from C++
10139 Tue Jun 29 17:30:17 BST 2004 Richard Boulton <richard@tartarus.org>
10141 * Makefile.am: Remove Debian files from distribution tarballs,
10142 since there will often be multiple patch releases for each
10143 release. Debian files will be available from an apt repository
10146 Tue Jun 29 01:20:22 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10148 * java/org/xapian/errors/: Removed wrappers for unused error classes
10149 which have been pruned from C++.
10151 Sun Jun 27 00:57:25 BST 2004 Olly Betts <olly@survex.com>
10153 * java/org/xapian/errors/.cvsignore,
10154 java/org/xapian/examples/.cvsignore: Created.
10156 Fri May 28 14:35:29 BST 2004 James Aylett <james@tartarus.org>
10158 * Add basic documentation and examples to PHP4 bindings.
10160 * For PHP4, rename overloaded methods and constructors.
10162 * Add simple access to the prefixes map in QueryParser.
10164 * Correct simpleindex ports to never generate empty termnames.
10166 Wed May 26 16:18:47 BST 2004 Olly Betts <olly@survex.com>
10168 * configure.in: Require SWIG 1.3.20 or higher.
10170 Wed May 26 14:51:50 BST 2004 Olly Betts <olly@survex.com>
10172 * xapian.i: Removed bogus extra ")".
10174 Wed May 26 04:04:06 BST 2004 Olly Betts <olly@survex.com>
10176 * xapian.i: Fixed the %exception handler to cover all the exceptions
10177 Xapian can throw, not just a subset.
10179 Thu May 20 15:55:36 BST 2004 Richard Boulton <richard@tartarus.org>
10181 * python/docs/: Add examples and documentation to dist (were being
10182 installed, but not added to dist, causing make distcheck, and
10183 dpkg-buildpackage, to fail).
10185 Thu May 20 15:06:54 BST 2004 Richard Boulton <richard@tartarus.org>
10187 * Makefile.am: Add debian packaging files to distribution tarball.
10189 Wed May 19 11:27:42 BST 2004 Olly Betts <olly@survex.com>
10191 * php4/util.i: Make sure that PHP bindings build a module which
10192 exports get_module() so PHP is able to load it.
10194 Thu May 13 17:57:50 BST 2004 Olly Betts <olly@survex.com>
10196 * java/native/WritableDatabase.cc,java/native/org_xapian_XapianJNI.h,
10197 java/org/xapian/WritableDatabase.java,
10198 java/org/xapian/XapianJNI.java: repalce -> replace.
10200 Thu May 13 10:41:29 BST 2004 Olly Betts <olly@survex.com>
10202 * configure.in: Test phpize can actually be run, rather than just that
10203 it's a readable file or directory.
10205 Wed May 12 01:52:44 BST 2004 Richard Boulton <richard@tartarus.org>
10207 * configure.in: Revert "test -x" to "test -n", and change
10208 previously extant "test -x" to "test -r": test -x isn't
10211 Tue May 11 20:04:36 BST 2004 Richard Boulton <richard@tartarus.org>
10213 * configure.in: Use $PYTHON instead of python when running python
10214 to determine and library and include paths and version number.
10215 Also, change tests for non-zeroness of interpreter paths to tests
10216 for existence and executability of interpreter paths: this is
10217 relevant if configure is passed an interpreter path by the user
10218 which doesn't exist (as my debian packaging makefile just did).
10220 Tue May 11 18:06:06 BST 2004 Richard Boulton <richard@tartarus.org>
10222 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10223 tcl8/Makefile.am: Add "-I/usr/include" to the swig line. This is
10224 needed when xapian is installed with a prefix of /usr, since
10225 "xapian-config --cxxflags" assumes that it doesn't need to emit
10226 -I/usr/include in this situation (presumably on the basis that
10227 any sane C compiler will already have that on its path).
10229 Tue Apr 20 03:20:22 BST 2004 Olly Betts <olly@survex.com>
10231 * configure.in: Generate Makefiles for new directories under java/.
10233 Tue Apr 20 02:27:07 BST 2004 Olly Betts <olly@survex.com>
10235 * NEWS: Final update for 0.8.0.
10237 Tue Apr 20 02:22:18 BST 2004 Olly Betts <olly@survex.com>
10239 * java/org/xapian/Makefile.am,java/org/xapian/errors/: Added missing
10240 sources for error classes.
10241 * java/org/xapian/examples/: Added examples of a simple indexer and
10243 * java/README: Added details of how to run the Java examples.
10245 Tue Apr 20 02:14:58 BST 2004 Olly Betts <olly@survex.com>
10247 * python/.cvsignore: Ignore generated file xapian_wrap.h.
10249 Mon Apr 19 19:25:05 BST 2004 Olly Betts <olly@survex.com>
10251 * NEWS,README,configure.in: Version 0.8.0.
10253 Mon Apr 05 22:23:31 BST 2004 Olly Betts <olly@survex.com>
10255 * README: Added details on adding support for recent languages.
10257 Sun Apr 04 18:53:58 BST 2004 Olly Betts <olly@survex.com>
10259 * java/native/Document.cc,java/native/org_xapian_XapianJNI.h,
10260 java/org/xapian/: Applied update from Eric B. Ridge. Added
10261 support for Xapian::Document::add_term() - new name for
10264 Sun Apr 04 18:53:00 BST 2004 Olly Betts <olly@survex.com>
10266 * xapian.i: Added add_term() - new name for add_term_nopos().
10268 Wed Mar 03 19:04:04 GMT 2004 Olly Betts <olly@survex.com>
10270 * configure.in: Only enable python bindings for python 1.5 or later
10271 (since that's what SWIG supports).
10273 Sun Feb 22 04:28:18 GMT 2004 Olly Betts <olly@survex.com>
10275 * configure.in: Changed --disable-LANGUAGE to be --without-LANGUAGE
10276 (fits better with autoconf's intended usages).
10278 Sun Feb 22 02:41:20 GMT 2004 Olly Betts <olly@survex.com>
10280 * configure.in: Added --disable-LANGUAGE options to allow bindings to
10281 be forcibly disabled. Added (disabled) checks for Guile, as it
10282 looks like support will be resurrected soon.
10284 Tue Jan 13 01:50:27 GMT 2004 Olly Betts <olly@survex.com>
10286 * configure.in: Check PHP version is at least 4.0.
10287 * configure.in,tcl8/Makefile.am: Look for tclsh and enable building
10288 tcl bindings if it's at least version 8.0; get lib and include
10289 directories from tclsh and use those for building the bindings.
10291 Mon Jan 12 17:52:39 GMT 2004 Olly Betts <olly@survex.com>
10293 * python/docs/bindings.html: OMMSET_* and OMESET_* -> MSET_* and
10294 ESET_* (in line with recent change to python/util.i). Also
10295 corrected a few typos.
10297 Mon Jan 12 17:49:30 GMT 2004 Olly Betts <olly@survex.com>
10299 * configure.in: Check for jni.h before enabling java bindings.
10301 Tue Jan 6 10:15:00 2004 James Aylett <james@tartarus.org>
10303 * TCL bindings: get them to build (not built automatically)
10305 Thu Jan 1 22:46:51 2004 James Aylett <james@tartarus.org>
10307 * Python bindings: MSet provides a Python iterator
10308 (new target language-specific interface file extra.i
10309 included at end of xapian.i to accommodate this)
10311 Thu Jan 1 22:45:26 2004 James Aylett <james@tartarus.org>
10313 * python/util.i: OMMSET_* and OMESET_* -> MSET_* and ESET_*
10315 Thu Jan 1 22:42:57 2004 James Aylett <james@tartarus.org>
10317 * xapian.i: a couple of Xapian::Query constructors weren't being
10318 wrapped, including one explicitly used in some of my Python
10319 binding examples :-(
10321 Sun Dec 28 16:06:50 2003 James Aylett <james@tartarus.org>
10323 * Python bindings: enable directors for MatchDecider, to allow
10324 subclassing in Python. Add documentation and an example.
10326 * Add a Python example equivalent to simpleexpand in xapian-examples
10328 Mon Dec 08 02:12:09 GMT 2003 Olly Betts <olly@survex.com>
10330 * Makefile.am,configure.in,java/: Initial check-in of Eric B. Ridge's
10331 JNI bindings. Needs more work.
10333 Mon Dec 08 02:11:03 GMT 2003 Olly Betts <olly@survex.com>
10335 * python/docs/.cvsignore,python/docs/examples/.cvsignore: Ignore
10338 Sun Dec 7 13:11:56 BST 2003 James Aylett <james@tartarus.org>
10340 * Added basic documentation, and two examples, for Python bindings
10342 Thu Oct 02 17:34:47 BST 2003 Olly Betts <olly@survex.com>
10344 * configure.in: Version 0.7.4.
10346 Tue Sep 2 17:01:08 BST 2003 James Aylett <james@tartarus.org>
10348 * xapian.i: using namespace std in SWIG parsed segment to sort out
10351 Fri Aug 08 21:36:20 BST 2003 Olly Betts <olly@survex.com>
10353 * configure.in: Version 0.7.3.
10355 Fri Aug 8 12:26:45 BST 2003 Richard Boulton <richard@tartarus.org>
10357 * configure.in: Check for absence of SWIG, and report error more
10360 Sat Jul 26 21:04:06 BST 2003 Olly Betts <olly@survex.com>
10362 * php4/Makefile.am: lib omqueryparser is now xapianqueryparser.
10363 * python/Makefile.am: XAPIAN_LIBS now includes -lxapianqueryparser.
10365 Sat Jul 26 18:33:42 BST 2003 Olly Betts <olly@survex.com>
10367 * configure.in: Converted to use XO_LIB_XAPIAN.
10369 Fri Jul 25 11:02:43 2003 James Aylett <james@tartarus.org>
10371 * {tcl8,guile}/util.i: convert typemaps to SWIG 1.3 style
10373 Fri Jul 25 11:01:15 2003 James Aylett <james@tartarus.org>
10375 * python/Makefile.am: add -lomqueryparser to complete link
10377 Tue Jul 15 13:50:25 2003 James Aylett <james@tartarus.org>
10379 * [langdir]/Makefile.am: use -I$(srcdir) not -I. so VPATH
10382 Fri Jul 11 15:10:27 BST 2003 Olly Betts <olly@survex.com>
10384 * configure.in: Version 0.7.2.
10386 Fri Jul 11 14:53:35 BST 2003 Olly Betts <olly@survex.com>
10388 * Makefile.am,configure.in: Include code for partly done guile and
10389 tcl8 bindings in the distribution - it may inspire somebody to
10391 * guile/Makefile.am,tcl8/Makefile.am: Removed -shadow from swig
10393 * php4/Makefile.am: Fixed not to build subproject every time.
10395 Fri Jul 11 14:42:42 BST 2003 Olly Betts <olly@survex.com>
10397 * configure.in: Added check for location of Xapian installation.
10398 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10399 tcl8/Makefile.am: Added -I for Xapian.
10401 Fri Jul 11 14:27:04 BST 2003 Olly Betts <olly@survex.com>
10403 * Moved bindings out of xapian-core into their own module.