1 Fri Jun 05 12:42:41 GMT 2015 Olly Betts <olly@survex.com>
3 * xapian-headers.i: Update for optional reference counting of
6 Mon Jun 01 13:14:40 GMT 2015 Olly Betts <olly@survex.com>
8 * NEWS,configure.ac: Update for 1.3.3.
10 Mon Jun 01 11:52:12 GMT 2015 Olly Betts <olly@survex.com>
14 Fri May 29 07:31:12 GMT 2015 Olly Betts <olly@survex.com>
16 * python/smoketest.py: Add new testcase to catch any internal
17 functions, methods, constants, etc which have accidentally been
20 Fri May 29 07:30:20 GMT 2015 Olly Betts <olly@survex.com>
22 * xapian-headers.i: Ignore new internal sortable_serialise_()
25 Fri May 29 07:25:17 GMT 2015 Olly Betts <olly@survex.com>
27 * xapian-headers.i: Ignore internal methods of Xapian::Weight.
29 Wed May 27 03:07:15 GMT 2015 Olly Betts <olly@survex.com>
33 Tue May 26 23:17:09 GMT 2015 Olly Betts <olly@survex.com>
35 * NEWS: Credit people for the #616-related improvements in 1.3.2.
37 Mon May 25 10:03:24 GMT 2015 Olly Betts <olly@survex.com>
39 * python/Makefile.am,python3/Makefile.am: SWIG now automatically
40 makes xapian.Error a subclass of the Python Exception class, so
41 drop our post-processing tweak to add this in.
43 Mon May 25 09:58:30 GMT 2015 Olly Betts <olly@survex.com>
45 * python/Makefile.am,python3/Makefile.am: Eliminate 'modern'
46 subdirectory - we haven't generated a non-modern variant of the
47 python bindings for ages.
49 Mon May 25 05:59:49 GMT 2015 Olly Betts <olly@survex.com>
51 * python/Makefile.am,python3/Makefile.am: Fix Makefile comment typo.
53 Sun May 24 13:07:47 GMT 2015 Olly Betts <olly@survex.com>
55 * configure.ac: Fix configure test for whether $CLI can run CSharp
56 programs - previously it would always fail, which would mean that
57 the CSharp tests wouldn't be run if CSharp programs can't be run
60 Fri May 22 06:13:49 GMT 2015 Olly Betts <olly@survex.com>
64 Fri May 22 04:48:35 GMT 2015 Olly Betts <olly@survex.com>
66 * NEWS.SKELETON: Add "Python3" section.
68 Thu May 21 04:37:31 GMT 2015 Olly Betts <olly@survex.com>
70 * README,configure.ac: Require Tcl 8.5 as older versions are no longer
71 supported upstream, and this version added ::tcl::pkgconfig, which
72 makes the configure tests simpler and more reliable.
74 Tue May 19 05:45:48 GMT 2015 Olly Betts <olly@survex.com>
76 * perl/t/symbol-test.t: If the symboltest module build fails, skip the
77 test - it's likely due to external reasons, like incompatible
78 compiler flags being taken from Perl's Config module, due to Perl
79 having been built with a different compiler to Xapian.
81 Fri May 15 11:31:59 GMT 2015 Olly Betts <olly@survex.com>
83 * perl/perl.i: Just call the existing Perl Xapian::inmemory_open()
84 function rather than defining and wrapping an inline C++
85 new3_WritableDatabase() function which calls InMemory::open().
87 Fri May 15 06:49:50 GMT 2015 Olly Betts <olly@survex.com>
89 * perl/util.i.in: Add a "LICENSE" section to the main POD.
91 Fri May 15 04:50:28 GMT 2015 Olly Betts <olly@survex.com>
93 * python3/pythontest.py: Expand comment about disabling
94 test_import_star under threads.
96 Thu May 14 13:50:24 GMT 2015 Olly Betts <olly@survex.com>
98 * README: Remove the experimental markers from Lua and Python3,
99 and the note welcoming patches for Python 3.1.x support (since
100 Python 3.1.x was EOL-ed 3 years ago).
102 Tue May 12 07:39:04 GMT 2015 Olly Betts <olly@survex.com>
104 * configure.ac: Fix typo.
106 Mon May 11 06:55:32 GMT 2015 Olly Betts <olly@survex.com>
108 * doxygen_xml.conf.in,xapian-head.i: Update for addition of
111 Sun May 10 13:27:23 GMT 2015 Olly Betts <olly@survex.com>
113 * xapian-headers.i: Update for optional reference counting of
116 Sun May 10 11:21:55 GMT 2015 Olly Betts <olly@survex.com>
118 * xapian-headers.i: Update for optional reference counting of
121 Fri May 08 11:01:03 GMT 2015 Olly Betts <olly@survex.com>
123 * perl/t/: Add 'use strict' to all testcases.
125 Fri May 08 11:00:14 GMT 2015 Olly Betts <olly@survex.com>
127 * perl/t/document.t,perl/t/writabledatabase.t: Add missing 'my'.
129 Fri May 08 10:55:32 GMT 2015 Olly Betts <olly@survex.com>
131 * perl/perl.i: Wrap missing constants.
133 Fri May 08 10:54:51 GMT 2015 Olly Betts <olly@survex.com>
135 * perl/perl.i,perl/t/parser.t: Wrap WILDCARD_LIMIT_* constants as
138 Fri May 08 10:48:20 GMT 2015 Olly Betts <olly@survex.com>
140 * perl/t/parser.t: Update to use Test::More.
142 Fri May 08 09:56:52 GMT 2015 Olly Betts <olly@survex.com>
144 * perl/perl.i: Remove duplicate %constant for OP_WILDCARD.
146 Tue May 05 04:56:25 GMT 2015 Olly Betts <olly@survex.com>
148 * python/pythontest.py,python3/pythontest.py: Fix typo in test context
149 ("multipler" -> "multiplier").
151 Tue May 05 04:09:24 GMT 2015 Olly Betts <olly@survex.com>
153 * perl/Makefile.am,perl/t/collapse.t: Add test coverage for
154 Enquire::set_collapse_key() with 1 and 2 parameters.
156 Fri May 01 12:16:29 GMT 2015 Olly Betts <olly@survex.com>
158 * configure.ac: Update check for -fvisibility to match xapian-core's.
160 Fri May 01 12:15:28 GMT 2015 Olly Betts <olly@survex.com>
162 * configure.ac: Simplify test of Ruby version.
164 Fri May 01 12:14:31 GMT 2015 Olly Betts <olly@survex.com>
166 * INSTALL: IRIX is past EOL so drop information about IRIX make.
168 Fri May 01 12:05:53 GMT 2015 Olly Betts <olly@survex.com>
170 * perl/perl.i: Add workaround for Perl defining a seed() macro which
171 breaks '#include <algorithm>' undef C++11 with GCC.
173 Fri May 01 11:04:33 GMT 2015 Olly Betts <olly@survex.com>
175 * configure.ac,m4/ax_cxx_compile_stdcxx_11.m4: Require a C++11
178 Fri Apr 24 03:26:10 GMT 2015 Olly Betts <olly@survex.com>
180 * xapian-headers.i: Don't wrap Query::LEAF_* - they're for internal
182 * python/smoketest.py: Add test_internal_enums_not_wrapped to check
183 that xapian.Query has no attributes starting with "LEAF_".
185 Mon Apr 13 06:22:15 GMT 2015 Olly Betts <olly@survex.com>
187 * tcl8/tcl.i: Adjust precedence of the typecheck typemap for wrapping
188 constructing a query from a Tcl list so that we disambiguate this
189 from the new OP_WILDCARD constructor correctly.
191 Thu Apr 09 21:47:28 GMT 2015 Olly Betts <olly@survex.com>
193 * ruby/Makefile.am: Ship generate-rdoc-stubs in the tarball. Reported
194 by Matthias Klose in https://bugs.debian.org/782270
196 Fri Mar 13 10:33:47 GMT 2015 Olly Betts <olly@survex.com>
198 * python/Makefile.am,python3/Makefile.am: Fix 'make install' when
199 building from git with --disable-documentation. Fix to handle a
200 VPATH build from a tarball when the generated docs will be in
203 Fri Mar 13 05:28:28 GMT 2015 Olly Betts <olly@survex.com>
205 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
206 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Fix "make
207 install" from a git tree configured with --disable-documentation.
208 (Fixes #658, reported by German M. Bravo)
210 Tue Mar 03 04:04:36 GMT 2015 Olly Betts <olly@survex.com>
212 * java/docs/examples/SimpleSearch.java: getPercent() returns an
215 Tue Mar 03 04:01:46 GMT 2015 Ashley <ashley@eclipso.ch>
217 * java/docs/examples/SimpleSearch.java: Fix build and update example.
219 Fri Feb 13 13:10:11 GMT 2015 Olly Betts <olly@survex.com>
221 * python/smoketest.py,python3/smoketest.py: Update testcases for lazy
222 wildcard expansion change in xapian-core.
224 Wed Jan 07 04:00:24 GMT 2015 Olly Betts <olly@survex.com>
226 * configure.ac: Don't AC_SUBST LUA_INC as we never use it.
228 Thu Dec 18 00:30:06 GMT 2014 Olly Betts <olly@survex.com>
230 * python/python.i: Don't release the GIL when using
231 XapianSWIGQueryItor as it uses Python C API calls.
233 Thu Dec 18 00:19:56 GMT 2014 Olly Betts <olly@survex.com>
235 * python3/pythontest.py: Actually reenable the test case which was
236 failing before the previous commit fixed the underlying problem.
238 Thu Dec 18 00:18:07 GMT 2014 Olly Betts <olly@survex.com>
240 * python3/python.i: Don't release the GIL when using
241 XapianSWIGQueryItor as it uses Python C API calls. (fixes #346)
243 Wed Dec 17 23:01:35 GMT 2014 Olly Betts <olly@survex.com>
245 * python/generate-python-exceptions,
246 python3/generate-python-exceptions: Remove comment which is no
247 longer correct since #538 was fixed 4.5 years ago.
249 Mon Dec 15 00:10:42 GMT 2014 Olly Betts <olly@survex.com>
251 * xapian-headers.i: Add DB_RETRY_LOCK as a constant to wrap.
253 Fri Dec 05 11:26:16 GMT 2014 Olly Betts <olly@survex.com>
255 * ChangeLog,configure.ac: Fix typos reported by Veres Lajos.
257 Fri Dec 05 11:20:17 GMT 2014 Olly Betts <olly@survex.com>
259 * doxygen_xml.conf.in: Update to avoid warnings about obsolete tags
262 Sun Nov 30 22:00:58 GMT 2014 Olly Betts <olly@survex.com>
264 * configure.ac: Add an example of specifying LUA_SO to --help output.
266 Sun Nov 30 21:49:48 GMT 2014 Olly Betts <olly@survex.com>
268 * configure.ac: Rework LUA_SO checks to be clearer and to properly
269 handle LUA_SO being specified without a leading '.'.
271 Sun Nov 30 15:46:08 GMT 2014 James Aylett <james@tartarus.org>
273 * configure.ac: use \{0,1\} instead of \? for better sed
276 Mon Nov 24 19:58:34 GMT 2014 Olly Betts <olly@survex.com>
278 * NEWS,configure.ac: Update for 1.3.2.
280 Mon Nov 24 10:45:30 GMT 2014 Olly Betts <olly@survex.com>
282 * configure.ac: Update comment about MACOSX_DEPLOYMENT_TARGET -
283 OS X 10.2 is long obsolete now.
285 Sun Nov 23 23:57:02 GMT 2014 Olly Betts <olly@survex.com>
287 * NEWS,csharp/Makefile.am,csharp/docs/index.rst,fake_dbfactory.i,
288 java/Makefile.am,lua/docs/index.rst,php/docs/index.rst,
289 python/docs/introduction.rst,python/smoketest.py,
290 python3/docs/introduction.rst,python3/smoketest.py,
291 ruby/docs/index.rst,tcl8/docs/index.rst,xapian-head.i,
292 xapian-headers.i: Update for renaming of 'brass' backend to 'glass'.
294 Sun Nov 23 05:14:03 GMT 2014 Olly Betts <olly@survex.com>
296 * python/docs/introduction.rst: Fix typo.
298 Sun Nov 09 22:48:08 GMT 2014 Olly Betts <olly@survex.com>
302 Tue Nov 04 20:38:38 GMT 2014 Olly Betts <olly@survex.com>
304 * php/docs/index.rst: Note that PHP < 5.4 are now out of security
307 Tue Nov 04 04:38:06 GMT 2014 Olly Betts <olly@survex.com>
309 * php/smoketest.php: Iterating foreach ($it as $k => $c) doesn't work
310 unless $k is a string or integer in PHP < 5.5, so test the old way
311 under older versions.
313 Tue Nov 04 04:25:57 GMT 2014 Olly Betts <olly@survex.com>
315 * php/smoketest.php: Remove disabling of subclassing tests for PHP
318 Mon Nov 03 22:11:19 GMT 2014 Olly Betts <olly@survex.com>
320 * INSTALL,php/docs/index.rst: In current PHP releases, dl() will only
321 look in the configured extension directory, and only accepts a
322 leafname, and dl() is disabled in most SAPIs, so update the
323 documentation about how to install the PHP bindings without being
324 root. Fixes #661, reported by Felix Ostmann.
326 Sun Nov 02 20:51:03 GMT 2014 Olly Betts <olly@survex.com>
328 * NEWS: Update for 1.2.19 release.
330 Fri Oct 24 23:06:25 GMT 2014 Gaurav Arora <gauravarora.daiict@gmail.com>
332 * csharp/Makefile.am,java/Makefile.am: Update for addition of LMWeight
335 Mon Oct 20 00:53:59 GMT 2014 Olly Betts <olly@survex.com>
337 * .gitignore,csharp/.gitignore,java/.gitignore,lua/.gitignore,
338 perl/.gitignore,php/.gitignore,python/.gitignore,python3/.gitignore,
339 python3/docs/.gitignore,ruby/.gitignore,tcl8/.gitignore: Update to
340 ignore new generated files.
342 Sun Oct 19 09:40:09 GMT 2014 Olly Betts <olly@survex.com>
344 * README: Note that Ruby 2.1 works too.
346 Mon Oct 13 11:41:18 GMT 2014 Olly Betts <olly@survex.com>
350 Fri Oct 10 11:43:55 GMT 2014 Olly Betts <olly@survex.com>
352 * php/add-php-ref-handling: Be careful to pick up just the parameter
353 name and not any default value. (Fixes #659, reported by jmienert)
354 * php/smoketest.php: Add regression test.
356 Thu Sep 18 02:23:53 GMT 2014 Olly Betts <olly@survex.com>
358 * python3/: Remove executable bits from a number of files which
361 Thu Sep 18 02:19:54 GMT 2014 Olly Betts <olly@survex.com>
363 * python3/extra.i: Fix typo in code to keep a reference to a
364 FieldProcessor object, reported by Germán M. Bravo in github PR59.
365 * python3/smoketest.py: Add regression test.
367 Thu Sep 18 02:12:47 GMT 2014 Olly Betts <olly@survex.com>
369 * python/extra.i: Fix typo in code to keep a reference to a
370 FieldProcessor object, reported by Germán M. Bravo in github PR59.
371 * python/smoketest.py: Add regression test.
373 Thu Sep 18 01:53:02 GMT 2014 Olly Betts <olly@survex.com>
375 * java/java.i: Update to use the new Xapian::iterator_valid() API.
377 Fri Sep 12 16:21:34 GMT 2014 Olly Betts <olly@survex.com>
379 * php/docs/index.rst: Align entries in tables in ReST source.
381 Fri Sep 12 16:19:55 GMT 2014 Olly Betts <olly@survex.com>
383 * php/docs/examples/simpleexpand.php5,
384 php/docs/examples/simplematchdecider.php5,
385 php/docs/examples/simplesearch.php5,php/docs/index.rst,php/php.i,
386 php/smoketest.php: Wrap Xapian iterator classes as PHP iterators.
389 Fri Sep 12 13:40:48 GMT 2014 Olly Betts <olly@survex.com>
391 * xapian-headers.i: Ignore new iterator API (which we see via friend
394 Fri Sep 12 13:35:25 GMT 2014 Olly Betts <olly@survex.com>
396 * HACKING,README,php/docs/index.rst: Make PHP 5.4 the minimum
397 officially supported version, as 5.3 has now reached EOL.
399 Thu Sep 11 17:02:10 GMT 2014 Olly Betts <olly@survex.com>
401 * php/smoketest.php: Add regression test for throwing an exception from
402 a PHP implementation of FieldProcessor::apply(), fixed by newer SWIG.
404 Thu Sep 11 16:59:14 GMT 2014 Olly Betts <olly@survex.com>
406 * configure.ac: Fix SWIG version check to not fail on 3.* by making the
407 pattern match all older versions rather than some newer ones, and
408 update the minimum checked for to be what we actually currently want
409 - it was 1.3.40 which is 5 years old!
411 Wed Sep 03 19:15:34 GMT 2014 Olly Betts <olly@survex.com>
413 * xapian-head.i,xapian-headers.i: Define XAPIAN_IN_XAPIAN_H rather
414 than XAPIAN_LIB_BUILD to avoid the direct subheader inclusion
417 Fri Aug 29 21:36:39 GMT 2014 Olly Betts <olly@survex.com>
419 * xapian-headers.i: Add DBCHECK_SHOW_FREELIST as a constant to wrap.
421 Thu Aug 21 08:53:48 GMT 2014 Olly Betts <olly@survex.com>
423 * xapian-headers.i: Add DB_FULL_SYNC as a constant to wrap.
425 Tue Aug 05 12:46:08 GMT 2014 Olly Betts <olly@survex.com>
429 Fri Aug 01 06:34:31 GMT 2014 Olly Betts <olly@survex.com>
431 * configure.ac: Enable automake option 'subdir-objects' as (a) this
432 avoids a warning with newer automake and (b) it better to put the
433 objects alongside the source in this case anyway (less cluttered,
434 and the objects and generated sources will both get cleaned up
435 if the directory is removed).
437 Wed Jul 30 04:03:09 GMT 2014 Olly Betts <olly@survex.com>
439 * perl/Makefile.am,php/Makefile.am: Restore explicit dependencies of
440 except.i - they are needed so that except.i gets generated before
441 the automatically generated dependency information is available.
443 Tue Jul 22 01:04:29 GMT 2014 Olly Betts <olly@survex.com>
445 * php/Makefile.am: Add add-php-ref-handling script as a dependency of
446 the stamp file, so we regenerate if this script changes.
448 Tue Jul 22 01:02:48 GMT 2014 Olly Betts <olly@survex.com>
450 * perl/Makefile.am,php/Makefile.am: Remove unnecessary explicit
451 dependencies on except.i, as swig-depcomp finds this automatically.
453 Tue Jul 22 01:02:04 GMT 2014 Olly Betts <olly@survex.com>
455 * csharp/Makefile.am: Fix to generate dependencies for stamp file
458 Tue Jul 22 01:01:33 GMT 2014 Olly Betts <olly@survex.com>
460 * csharp/Makefile.am: Update for Snipper wrapping.
462 Mon Jul 21 23:50:00 GMT 2014 Mihai Bivol <mm.bivol@gmail.com>
464 * java/Makefile.am,xapian-headers.i: Add Snipper in xapian bindings.
466 Wed Jul 09 01:14:43 GMT 2014 Olly Betts <olly@survex.com>
468 * python/Makefile.am,python3/Makefile.am: Fix "make dist" to include
469 the sphinx-generated docs when DOCUMENTATION_RULES=0.
471 Tue Jul 08 13:33:01 GMT 2014 Olly Betts <olly@survex.com>
473 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
474 ruby/Makefile.am,tcl8/Makefile.am: Fix "make dist" when
475 DOCUMENTATION_RULES is off but generated index.html files exist.
477 Mon Jun 30 04:11:46 GMT 2014 Olly Betts <olly@survex.com>
479 * python/smoketest.py: Fix typo in SimpleStopper with file testcase.
481 Mon Jun 30 02:18:04 GMT 2014 Olly Betts <olly@survex.com>
483 * python/pythontest.py,python3/pythontest.py: Add a comment to explain
484 why the PostingSource is in a list in the "postingsource" testcase,
485 and add a term to the list to make it a less artificial test.
487 Sat Jun 28 11:15:47 GMT 2014 Olly Betts <olly@survex.com>
489 * Makefile.am,shortstop.list: Add and distribute new data file
490 'shortstop.list', needed for new SimpleStopper ctor testcase.
492 Sat Jun 28 09:34:15 GMT 2014 Olly Betts <olly@survex.com>
494 * xapian-head.i,xapian-headers.i: Provide a SimpleStopper constructor
495 which provides the ability to initialise from a stopword list in a
496 file. Based on patch from Assem Chelli.
497 * python/smoketest.py: Add testcoverage for this new wrapping.
499 Mon Jun 23 02:49:37 GMT 2014 Olly Betts <olly@survex.com>
501 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,php/Makefile.am,
502 ruby/Makefile.am,tcl8/Makefile.am: Don't guard installation of
503 index.html generated from RST by "if DOCUMENTATION_RULES".
505 Mon Jun 23 02:23:40 GMT 2014 Olly Betts <olly@survex.com>
507 * configure.ac: Add hints for which package to install for rst2html
508 and sphinx-build (the latter is particularly useful, as there are at
509 least 3 different open source projects using the name "sphinx").
511 Mon Jun 23 00:56:02 GMT 2014 Olly Betts <olly@survex.com>
513 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
514 php/Makefile.am,python/Makefile.am,python3/Makefile.am,
515 ruby/Makefile.am,tcl8/Makefile.am: Use $(MKDIR_P).
517 Mon Jun 23 00:55:14 GMT 2014 Olly Betts <olly@survex.com>
519 * configure.ac: Use AS_MKDIR_P instead of test -d || mkdir.
521 Sun Jun 22 13:47:03 GMT 2014 Olly Betts <olly@survex.com>
525 Sat Jun 21 01:29:37 GMT 2014 Olly Betts <olly@survex.com>
527 * perl/Xapian/RSet.pm: Fix duplicate "1;" at end of module.
529 Sat Jun 21 01:27:55 GMT 2014 Olly Betts <olly@survex.com>
531 * perl/Xapian/,perl/docs/examples/,perl/generate-perl-exceptions,
532 perl/perl.i,perl/t/databasemodified.t,perl/t/search.t,
533 perl/t/writabledatabase.t,perl/util.i.in: Whitespace clean-up.
535 Sat Jun 21 01:00:59 GMT 2014 Olly Betts <olly@survex.com>
537 * HACKING,README,perl/Makefile.am,perl/Search/Xapian/,perl/Xapian/,
538 perl/docs/examples/,perl/generate-perl-exceptions,perl/perl.i,
539 perl/t/,perl/util.i.in,xapian-bindings.spec.in: Move the new
540 SWIG-based Perl bindings into a 'Xapian' module, to smooth the
541 overlap with the hand-coded XS 'Search::Xapian' module.
543 Fri Jun 20 23:25:33 GMT 2014 Olly Betts <olly@survex.com>
545 * python/docs/examples/simpleindex.py: Eliminate needless differences
546 with the python3 version - drop a duplicate blank line, and prefer
547 "line = line.strip()" to "line = string.strip(line)".
549 Fri Jun 20 12:51:35 GMT 2014 Olly Betts <olly@survex.com>
551 * python3/docs/examples/simpleexpand.py,
552 python3/docs/examples/simpleindex.py: Fix Python3 examples to
553 actually work. (see #346)
555 Fri Jun 20 06:14:05 GMT 2014 Olly Betts <olly@survex.com>
557 * perl/Search/Xapian/MultiValueSorter.pm: Fix documentation comment
558 typo ("foward" -> "forward").
560 Mon Jun 16 13:01:39 GMT 2014 Olly Betts <olly@survex.com>
562 * configure.ac: List the python-related files in AC_CONFIG_FILES
565 Mon Jun 16 13:01:14 GMT 2014 Olly Betts <olly@survex.com>
567 * configure.ac,python/docs/examples.rst,python/docs/index.rst,
568 python/docs/xapian.rst,python3/docs/examples.rst,
569 python3/docs/index.rst,python3/docs/xapian.rst: Whitespace tweaks.
571 Mon Jun 16 12:54:14 GMT 2014 Olly Betts <olly@survex.com>
573 * python/Makefile.am,python3/Makefile.am: Remove echo statements from
574 rules which report the rule ran successfully - we don't have these
577 Mon Jun 16 12:38:54 GMT 2014 Olly Betts <olly@survex.com>
579 * python3/docs/index.rst,python3/docs/introduction.rst,
580 python3/docs/introduction3.rst: Resolve inconsistencies in what we
581 think the introduction for Python 3 is called, fixing a build error
584 Mon Jun 16 12:33:39 GMT 2014 Assem Chelli <assem.ch@gmail.com>
586 * configure.ac,python/Makefile.am,python/docs/,python3/Makefile.am,
587 python3/docs/: Generate Python API docs with Sphinx. (Fixes #138)
589 Thu May 01 00:28:43 GMT 2014 Olly Betts <olly@survex.com>
591 * php/smoketest.php: Add tests of get_eset() with an ExpandDecider and
592 with a min weight threshold.
594 Sun Apr 06 19:40:12 GMT 2014 James Aylett <james@tartarus.org>
596 * perl/Makefile.am: Perl tests are ordering-dependent, so
597 use .NOTPARALLEL to avoid problems during parallel builds.
599 Sun Mar 30 22:57:50 GMT 2014 Anish Kanchan <anishgkanchan@gmail.com>
601 * java/SmokeTest.java: Add testcase that FLAG_SPELLING is now wrapped
602 in a usable way. (see #616)
604 Sun Mar 30 22:06:54 GMT 2014 Olly Betts <olly@survex.com>
606 * lua/docs/index.rst: Note that constants can now be accessed using
607 CLASS.CONSTANT as well as CLASS_CONSTANT.
609 Sun Mar 30 22:04:43 GMT 2014 Olly Betts <olly@survex.com>
611 * lua/docs/index.rst: RST source formatting tweak.
613 Thu Mar 27 23:02:39 GMT 2014 Olly Betts <olly@survex.com>
615 * lua/smoketest.lua: Whitespace tweak.
617 Thu Mar 27 23:00:56 GMT 2014 Olly Betts <olly@survex.com>
619 * lua/smoketest.lua: Change expect() parameter order to the more
620 natural (got, expected), which most of the calls already used,
621 and fix up the few calls which passed (expected, got).
623 Thu Mar 27 10:45:27 GMT 2014 Olly Betts <olly@survex.com>
625 * python/Makefile.am,python3/Makefile.am: Pass
626 -DSWIG_PYTHON_LEGACY_BOOL to SWIG to revert strict bool typemap to
627 the more Pythonic older typemap.
629 Thu Mar 27 07:21:08 GMT 2014 Olly Betts <olly@survex.com>
631 * configure.ac: Don't report Python version twice if it's too new or
634 Mon Mar 10 11:17:12 GMT 2014 Olly Betts <olly@survex.com>
636 * README: Add links to Erlang and Node.js bindings.
638 Mon Mar 10 02:35:19 GMT 2014 Olly Betts <olly@survex.com>
640 * csharp/docs/index.rst,lua/docs/index.rst,php/docs/index.rst,
641 python/docs/index.rst,ruby/docs/index.rst,tcl8/docs/index.rst:
642 Remove use of "$Date" as it's not expanded by git, and the "last
643 updated" information isn't all that informative anyway - there can
644 still be stale information even if the file was updated very
647 Mon Mar 10 02:27:52 GMT 2014 Olly Betts <olly@survex.com>
649 * ruby/Makefile.am: Fix to build Ruby docs from reStructured text,
650 which I somehow failed to apply from Mayank's patch.
652 Sun Mar 09 10:14:38 GMT 2014 Mayank Chaudhary <mayankchaudhary.iitr@gmail.com>
654 * csharp/Makefile.am,csharp/docs/index.html,csharp/docs/index.rst,
655 java/Makefile.am,java/docs/index.html,java/docs/index.rst,
656 lua/Makefile.am,lua/docs/index.html,lua/docs/index.rst,
657 php/Makefile.am,php/docs/index.html,php/docs/index.rst,
658 python/Makefile.am,python/docs/index.html,python/docs/index.rst,
659 ruby/docs/index.html,ruby/docs/index.rst,tcl8/Makefile.am,
660 tcl8/docs/index.html,tcl8/docs/index.rst: Convert HTML docs to
663 Sun Feb 23 22:06:31 GMT 2014 Olly Betts <olly@survex.com>
665 * configure.ac: Remove unnecessary m4 quoting.
667 Fri Feb 21 07:26:26 GMT 2014 Olly Betts <olly@survex.com>
669 * configure.ac: Fix Ruby bindings to build on Windows (and other
670 platforms where allow_undefined_flag=unsupported. (fixes#634)
672 Mon Feb 17 05:02:47 GMT 2014 Olly Betts <olly@survex.com>
674 * README: Note that C# bindings now need .NET 2 or later (because
675 that's what SWIG-generated code now requires).
677 Mon Feb 17 04:16:07 GMT 2014 Olly Betts <olly@survex.com>
679 * php/smoketest.php: Add missing "exit(1);" after check that
680 MatchDecider returns an MSet with the expected docid in.
682 Sun Feb 16 05:51:00 GMT 2014 Olly Betts <olly@survex.com>
684 * python3/python.i: Update (no longer recognised)
685 XAPIAN_BINDINGS_SKIP_BRASS_AND_CHERT_FACTORIES to
686 XAPIAN_BINDINGS_SKIP_DEPRECATED_DB_FACTORIES so deprecated db
687 factories aren't wrapped.
688 * python3/smoketest.py: Update testcases to test factories which
689 shouldn't be wrapped aren't, and that the replacements work.
691 Wed Jan 29 04:01:36 GMT 2014 Olly Betts <olly@survex.com>
693 * python3/Makefile.am,python3/run-python-test: Pass Python 3
694 interpreter as PYTHON3 not PYTHON, and default to python3 if not
697 Fri Jan 10 09:00:05 GMT 2014 Olly Betts <olly@survex.com>
699 * xapian-headers.i: Update for xapian-core Database::check() optional
702 Thu Jan 09 03:34:17 GMT 2014 Olly Betts <olly@survex.com>
704 * python/pythontest.py,python3/pythontest.py,xapian-head.i,
705 xapian-headers.i: Wrap Xapian::Database::check() for the bindings
706 with arguments (path, opts = 0), and if opts != 0, send output to
709 Mon Jan 06 12:10:08 GMT 2014 Olly Betts <olly@survex.com>
711 * python/pythontest.py,python3/pythontest.py: When testing
712 valuestreams, just use the xapian.WritableDatabase constructor
713 rather than chert_open() - that code dates back to when chert was
714 the only disk-based backend to support valuestreams, and it wasn't
717 Wed Jan 01 04:22:36 GMT 2014 Olly Betts <olly@survex.com>
719 * python3/Makefile.am: Fix handling of DOCUMENTATION_RULES.
721 Wed Dec 25 20:30:49 GMT 2013 Olly Betts <olly@survex.com>
723 * configure.ac: Quote $PYTHON, etc in backward compatibility code.
725 Wed Dec 25 06:29:07 GMT 2013 Olly Betts <olly@survex.com>
727 * configure.ac: Fix some issues with the previous change, so it works
730 Tue Dec 24 21:26:27 GMT 2013 Olly Betts <olly@survex.com>
732 * python3/Makefile.am: Use PYTHON to run doxy2swig, as that's reliably
733 set when we're in maintainer mode.
735 Tue Dec 24 21:21:17 GMT 2013 Olly Betts <olly@survex.com>
737 * Makefile.am,configure.ac,python/Makefile.am: Rename the variables
738 used for the python2 bindings to begin PYTHON2 instead of PYTHON.
739 Try python2 before python when looking for an interpreter for the
740 python2 bindings, as some distros now point /usr/bin/python at
743 Sat Dec 21 01:06:19 GMT 2013 Olly Betts <olly@survex.com>
745 * python3/smoketest.py: Add parentheses around print arguments.
747 Fri Dec 20 03:50:50 GMT 2013 Olly Betts <olly@survex.com>
749 * xapian-headers.i: Update for addition of Xapian::DB_NO_TERMLIST.
751 Fri Dec 20 00:22:02 GMT 2013 Olly Betts <olly@survex.com>
753 * csharp/docs/index.html,lua/docs/index.html,php/docs/index.html,
754 php/smoketest.php,python/docs/index.html,python3/docs/index.rst,
755 xapian-headers.i: Update for addition of Xapian::DB_BACKEND_STUB
756 and deprecationg of Xapian::Auto::open_stub().
758 Thu Dec 19 09:48:04 GMT 2013 Olly Betts <olly@survex.com>
760 * NEWS: Update from 1.2.16 and ChangeLog.
762 Thu Dec 19 06:45:17 GMT 2013 Olly Betts <olly@survex.com>
764 * csharp/docs/index.html,lua/docs/index.html,perl/perl.i,
765 php/docs/index.html,python/docs/index.html,python3/docs/index.rst,
766 python3/python.i,ruby/docs/index.html,tcl8/docs/index.html,
767 xapian-head.i,xapian-headers.i: Update for deprecation of
768 Xapian::Brass::open() and Xapian::Chert::open().
770 Thu Dec 19 02:26:03 GMT 2013 Olly Betts <olly@survex.com>
772 * xapian-headers.i: Update for new Xapian::DB_* constants.
774 Thu Dec 19 02:17:15 GMT 2013 Olly Betts <olly@survex.com>
776 * python3/docs/index.rst: Wording tweaks.
778 Thu Dec 19 02:15:09 GMT 2013 Olly Betts <olly@survex.com>
780 * python/smoketest.py,python3/smoketest.py: If constants weren't
781 handled in xapian-headers.i with the CONSTANT() macro, we ended up
782 with xapian.cvar being created, and an obscure error from
783 smoketest.py. Now we report what the variables are in the
786 Wed Dec 18 23:10:53 GMT 2013 Olly Betts <olly@survex.com>
788 * xapian-headers.i: Update for addition of xapian/constants.h.
790 Fri Dec 06 05:29:53 GMT 2013 Olly Betts <olly@survex.com>
792 * configure.ac: Link against -ltclstubX.Y for Tcl 8.5 and later
793 (reported by Sergei Golovan in http://bugs.debian.org/724830).
794 Also, use a better check for TCL_INC for Tcl 8.5 and later.
796 Fri Dec 06 03:31:50 GMT 2013 Olly Betts <olly@survex.com>
798 * README,configure.ac: Tweak configure to work with Ruby 2.0.
800 Tue Dec 03 07:38:49 GMT 2013 Olly Betts <olly@survex.com>
802 * configure.ac: Sync link_all_deplibs_CXX check with xapian-core.
804 Fri Nov 08 10:32:13 GMT 2013 Olly Betts <olly@survex.com>
806 * configure.ac: Remove duplicate check for thread-local storage
809 Tue Oct 22 05:52:54 GMT 2013 Olly Betts <olly@survex.com>
811 * python3/Makefile.am: Make sure docs subdirectory exists in builddir
812 before running $(RST2HTML) to fix build when srcdir != builddir.
814 Mon Oct 14 09:59:27 GMT 2013 Olly Betts <olly@survex.com>
816 * ruby/generate-rdoc-stubs: Skip internal classes.
818 Fri Oct 11 08:29:23 GMT 2013 Olly Betts <olly@survex.com>
820 * python3/docs/examples/: Update syntax of examples for Python3.
822 Fri Oct 11 07:37:59 GMT 2013 Olly Betts <olly@survex.com>
824 * python/docs/examples/simpleexpand.py: Use Pythonic iteration over
827 Fri Oct 11 05:50:45 GMT 2013 Olly Betts <olly@survex.com>
829 * python3/docs/index.rst: Strip trailing whitespace.
831 Fri Oct 11 05:14:21 GMT 2013 Olly Betts <olly@survex.com>
833 * configure.ac,python3/Makefile.am,python3/docs/.gitignore,
834 python3/docs/index.html,python3/docs/index.rst: Overhaul Python3
835 documentation and convert it to reStructured Text. (see #346)
837 Thu Oct 10 23:57:56 GMT 2013 Olly Betts <olly@survex.com>
839 * python3/python.i,python3/smoketest.py: Make xapian.version_string()
840 return a Unicode string. (see #346)
842 Thu Oct 10 23:47:18 GMT 2013 Olly Betts <olly@survex.com>
844 * python3/python.i,python3/pythontest.py: Make unserialise methods and
845 functions only accept bytes. (see #346)
847 Tue Oct 08 02:29:28 GMT 2013 Olly Betts <olly@survex.com>
849 * perl/generate-perl-exceptions: Use croak_sv() or ERRSV if defined.
851 Sun Oct 06 23:48:07 GMT 2013 Olly Betts <olly@survex.com>
853 * configure.ac: Don't prefer ruby1.8 to ruby when looking for a ruby
854 interpreter - these days it's more likely to ignore ruby 1.9 rather
855 than avoid picking ruby 1.6.
857 Fri Oct 04 00:32:38 GMT 2013 Olly Betts <olly@survex.com>
859 * python3/pythontest.py: Don't run postingsource testcase under
860 threads for now as it segfaults for unknown reasons.
862 Fri Oct 04 00:29:04 GMT 2013 Olly Betts <olly@survex.com>
864 * python3/pythontest.py,python3/smoketest.py,python3/util.i: Drop the
865 deprecated 'MSet.items' and 'ESet.items' for Python3 - people are
866 going to need to make code updates anyway, so keeping existing code
867 working unchanged isn't a realistic concern.
868 * python3/docs/index.html: Drop discussion of removed features.
870 Fri Oct 04 00:27:13 GMT 2013 Olly Betts <olly@survex.com>
872 * README: Document 3.2 as the minimum supported Python3 version, and
873 update the status to "mostly functional".
875 Thu Oct 03 23:51:26 GMT 2013 Olly Betts <olly@survex.com>
877 * configure.ac,python/,python3/: Provide bindings version in
878 xapian.__version__ as per PEP 396. (see #346)
880 Sat Sep 28 00:02:21 GMT 2013 Olly Betts <olly@survex.com>
882 * python3/pythontest.py: Fix test_postingsource testcase.
884 Fri Sep 27 23:37:28 GMT 2013 Olly Betts <olly@survex.com>
886 * python3/pythontest.py: Fix test_allterms_iter testcase.
888 Fri Sep 27 23:37:01 GMT 2013 Olly Betts <olly@survex.com>
890 * python3/extra.i: Fix ValueStreamIter.__next__().
892 Fri Sep 27 23:36:23 GMT 2013 Olly Betts <olly@survex.com>
894 * python3/extra.i: Correct comments for next() changes in Python3.
896 Fri Sep 27 23:28:47 GMT 2013 Olly Betts <olly@survex.com>
898 * python3/testsuite.py: Remove unnecessary next() helper from
901 Fri Sep 27 23:28:20 GMT 2013 Olly Betts <olly@survex.com>
903 * python3/extra.i: Fix LatLongCoordsIter.__next__().
905 Fri Sep 27 23:14:33 GMT 2013 Olly Betts <olly@survex.com>
907 * python/pythontest.py,python3/pythontest.py: Fix testcases which
908 check that non-random-access iterators which have moved on give
909 an exception if you try to use the old value - previously these
910 didn't actually test all the old values, only the last one.
912 Fri Sep 27 07:53:45 GMT 2013 Olly Betts <olly@survex.com>
914 * python3/smoketest.py,python3/util.i: smoketest.py now passes.
916 Fri Sep 27 04:23:54 GMT 2013 Olly Betts <olly@survex.com>
918 * python3/docs/examples/simplesearch.py,python3/python.i,
919 python3/pythontest.py,python3/smoketest.py: All methods returning
920 std::string now return 'bytes' in Python, except for
921 get_description()/__str__(). (see #346)
923 Wed Sep 25 02:50:39 GMT 2013 Olly Betts <olly@survex.com>
925 * php/smoketest.php: Reenable the FieldProcessor subclass test for PHP
926 5.4, as this one does work.
928 Tue Sep 24 10:00:05 GMT 2013 Olly Betts <olly@survex.com>
930 * .gitignore: Update for switch from gzip to xz.
932 Tue Sep 24 09:55:17 GMT 2013 Olly Betts <olly@survex.com>
934 * configure.ac,xapian-bindings.spec.in: Compress source tarballs with
937 Thu Sep 19 06:52:11 GMT 2013 Olly Betts <olly@survex.com>
939 * Makefile.am,configure.ac,python/,python3/.gitignore,
940 python3/Makefile.am,python3/docs/examples/,python3/docs/index.html,
941 python3/: Split python3 bindings into a separate subdirectory, to
942 make it simpler to handle differences between python2 and python3.
943 This also makes it easier to test both, as a tree can now be
944 configured for both at once.
946 Wed Sep 18 12:58:51 GMT 2013 Olly Betts <olly@survex.com>
948 * python/Makefile.am: Further updates for PEP 3147.
950 Wed Sep 18 12:50:00 GMT 2013 Olly Betts <olly@survex.com>
952 * python/util.i: Fix std::string input typemaps for Python 3.
955 Wed Sep 18 10:56:35 GMT 2013 Olly Betts <olly@survex.com>
957 * configure.ac,python/Makefile.am: Handle the PEP 3147 names which
958 .pyc and .pyo files use in newer Python 3 versions. (see #346)
960 Wed Sep 18 00:36:50 GMT 2013 Olly Betts <olly@survex.com>
962 * python/util.i: Rename next() to __next__() for Python 3 as iterators
963 need to have a __next__() method there. (see #346)
965 Mon Sep 16 12:00:41 GMT 2013 Olly Betts <olly@survex.com>
967 * perl/t/parser.t: Update for xapian-core change to always return
968 UTF-8 object descriptions. (see #620)
970 Mon Jul 15 12:10:18 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
972 * csharp/Makefile.am,java/Makefile.am: Update for DPHWeight.
974 Sun Jul 14 07:07:42 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
976 * csharp/Makefile.am,java/Makefile.am: Update for PL2Weight.
978 Wed Jul 10 12:58:17 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
980 * csharp/Makefile.am,java/Makefile.am: Update for DLHWeight.
982 Sun Jul 07 11:54:44 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
984 * csharp/Makefile.am,java/Makefile.am: Update for BB2Weight.
986 Wed Jul 03 14:02:55 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
988 * csharp/Makefile.am,java/Makefile.am: Update for IneB2Weight.
990 Wed Jul 03 13:38:34 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
992 * csharp/Makefile.am,java/Makefile.am: Update for IfB2Weight.
994 Wed Jul 03 12:01:08 GMT 2013 Aarsh Shah <aarshkshah1992@gmail.com>
996 * csharp/Makefile.am,java/Makefile.am: Update for InL2Weight.
998 Wed Jun 26 02:03:04 GMT 2013 Olly Betts <olly@survex.com>
1000 * configure.ac: Fix stripping of _git suffix from snapshot versions
1001 not to relying of sed having support for \| as it doesn't on OS X.
1003 Mon Jun 24 10:56:34 GMT 2013 Olly Betts <olly@survex.com>
1005 * perl/t/symbol-test/Makefile.PL: Pass $CPPFLAGS and $CXXFLAGS from
1006 the environment through to the sub-build, fixing symbol-test.t
1007 failure when built with CPPFLAGS=-D_GLIBCXX_DEBUG.
1009 Sat Jun 22 06:26:34 GMT 2013 Olly Betts <olly@survex.com>
1011 * php/smoketest.php: If running under PHP >= 5.4, skip the tests we
1012 know will fail with a message.
1014 Sun May 12 06:16:06 GMT 2013 Olly Betts <olly@survex.com>
1016 * configure.ac: Handle git snapshot naming.
1018 Wed May 08 11:21:23 GMT 2013 Olly Betts <olly@survex.com>
1020 * Makefile.am,generic/generic.mk: SVN -> git.
1022 Thu May 02 23:21:10 GMT 2013 olly <olly@survex.com>
1024 * NEWS: Update release date.
1026 Thu May 02 12:08:35 GMT 2013 Olly Betts <olly@survex.com>
1028 * NEWS,configure.ac: Update for 1.3.1.
1030 Thu May 02 06:31:51 GMT 2013 Olly Betts <olly@survex.com>
1032 * NEWS: Update from ChangeLog.
1034 Thu May 02 06:11:41 GMT 2013 Olly Betts <olly@survex.com>
1036 * README: Update details of tested and supported versions. C#: drop
1037 mentions of Portable.NET (which seems dead) and Mono 1.x (old);
1038 Java: Require JDK 1.6 (1.5 is old and out of free support); Python:
1039 Require 2.5 (was 2.4, but that's old now).
1041 Thu May 02 05:47:58 GMT 2013 Olly Betts <olly@survex.com>
1043 * configure.ac: Change to use CLI rather than MONO to specify the
1044 bytecode interpreter to use to run tests with. Previously we'd
1045 check the setting of MONO worked and then use "mono" (literally)
1046 instead - since setting MONO didn't previously really work, we
1047 haven't added compatibility handling for it.
1049 Thu May 02 04:27:00 GMT 2013 Olly Betts <olly@survex.com>
1051 * HACKING: Add more Debian package requirements.
1053 Wed May 01 07:05:45 GMT 2013 Olly Betts <olly@survex.com>
1055 * python/Makefile.am: Drop fixup after 2to3 as it is no longer needed,
1056 and comment suggesting manual tweaks are probably needed.
1058 Wed May 01 07:04:06 GMT 2013 Olly Betts <olly@survex.com>
1060 * python/testsuite2.py: Use iteritems() instead of items() as it's lazy
1061 and works unchanged in Python 3 (change suggested by Richard Boulton).
1063 Wed May 01 06:18:29 GMT 2013 olly <olly@survex.com>
1065 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests from
1066 Python 2 versions using new 2to3 target.
1068 Wed May 01 06:16:44 GMT 2013 olly <olly@survex.com>
1070 * python/Makefile.am: Add 2to3 rule for maintainers to help automate
1071 updating the Python 3 version from the Python 2 one.
1073 Wed May 01 05:39:13 GMT 2013 olly <olly@survex.com>
1075 * python/Makefile.am: Move comment about using -outdir to a more
1078 Fri Apr 26 10:32:59 GMT 2013 Olly Betts <olly@survex.com>
1080 * php/Makefile.am: Run add-php-ref-handling before add-php-type-hints
1081 as the other order doesn't fully work.
1083 Fri Apr 26 09:39:10 GMT 2013 Olly Betts <olly@survex.com>
1085 * Forward port change from branches/1.2:
1086 * php/Makefile.am,php/add-php-ref-handling,php/smoketest.php: Keep
1087 references to the PHP wrapper object when an object is set on
1088 another object. (Fixes #614)
1090 Fri Apr 26 09:08:32 GMT 2013 Olly Betts <olly@survex.com>
1092 * NEWS: Update from ChangeLog.
1094 Mon Apr 22 05:25:34 GMT 2013 olly <olly@survex.com>
1096 * python/smoketest2.py: Need to raise exception, not just construct it!
1098 Mon Apr 22 05:25:00 GMT 2013 olly <olly@survex.com>
1100 * python/testsuite2.py: Export TestFail class from testsuite.
1102 Mon Apr 22 05:23:02 GMT 2013 olly <olly@survex.com>
1104 * python/testsuite2.py: Swap order of arguments in call to expect() so
1105 error makes more sense.
1107 Mon Apr 22 05:19:42 GMT 2013 olly <olly@survex.com>
1109 * HACKING: Document Debian packages needed for each language.
1111 Sun Apr 21 07:08:10 GMT 2013 Olly Betts <olly@survex.com>
1113 * java/SmokeTest.java: Avoid using System.err.printf() which fails
1114 to compile with the java compiler on atreus for some reason.
1116 Sun Apr 21 07:05:42 GMT 2013 Olly Betts <olly@survex.com>
1118 * xapian-head.i: Defined XAPIAN_LIB_BUILD so that we don't get errors
1119 about processing headers individually with SWIG.
1121 Wed Apr 17 03:19:11 GMT 2013 Olly Betts <olly@survex.com>
1123 * NEWS: Update from 1.2.15 and ChangeLog.
1125 Mon Apr 08 06:31:46 GMT 2013 Olly Betts <olly@survex.com>
1127 * csharp/Makefile.am,java/Makefile.am: Update for new class
1130 Sat Apr 06 23:09:53 GMT 2013 Olly Betts <olly@survex.com>
1132 * tcl8/Makefile.am: Fix typo in AM_TESTS_ENVIRONMENT value.
1134 Fri Apr 05 06:15:39 GMT 2013 Olly Betts <olly@survex.com>
1136 * perl/perl.i,perl/util.i.in: Fix PostingIterator wrapper to work.
1137 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1138 Add missing test coverage for this, and some other features.
1140 Thu Apr 04 06:40:09 GMT 2013 Olly Betts <olly@survex.com>
1142 * Makefile.am,configure.ac,generic/generic.mk: Remove support for
1143 'make QUIET=y' - automake now supports 'make V=0' which is broadly
1144 equivalent and more standard.
1146 Thu Apr 04 06:17:32 GMT 2013 Olly Betts <olly@survex.com>
1148 * configure.ac,perl/Makefile.am: Probe for 'prove' in configure.
1150 Thu Apr 04 06:05:54 GMT 2013 Olly Betts <olly@survex.com>
1152 * configure.ac,csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,
1153 perl/Makefile.am,php/Makefile.am,python/Makefile.am,
1154 python/run-python-test,ruby/Makefile.am,tcl8/Makefile.am: Fix the
1155 tests to work with the new automake parallel test driver.
1157 Thu Mar 28 04:27:46 GMT 2013 Olly Betts <olly@survex.com>
1159 * csharp/Makefile.am,java/Makefile.am: Update for new
1160 ExpandDeciderFilterPrefix class.
1162 Tue Mar 19 06:07:04 GMT 2013 Olly Betts <olly@survex.com>
1164 * python/Makefile.am: Fix dependency generation to take into account
1167 Mon Mar 18 10:59:39 GMT 2013 Olly Betts <olly@survex.com>
1169 * NEWS: Update from 1.2.14 and ChangeLog.
1171 Mon Mar 18 04:11:01 GMT 2013 Olly Betts <olly@survex.com>
1173 * configure.ac: Fix deprecation warning from Ruby 1.9.3.
1175 Thu Mar 14 09:56:27 GMT 2013 Olly Betts <olly@survex.com>
1177 * python/extra.i: Fix typo in doccomment.
1179 Thu Mar 14 09:16:45 GMT 2013 Olly Betts <olly@survex.com>
1181 * csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
1182 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1183 swig-depcomp: Fix handling of stamp file by swig-depcomp script.
1185 Sat Feb 16 02:08:29 GMT 2013 Olly Betts <olly@survex.com>
1187 * configure.ac: Allow TCL_INC to be passed to configure. (fixes #612)
1189 Wed Jan 23 00:07:52 GMT 2013 Olly Betts <olly@survex.com>
1191 * perl/t/10query.t: Perl 5.16.1 adds a '.' after "at foo line 123" so
1192 adjust regexp in testcase to allow an optional '.' there.
1195 Wed Jan 16 10:00:00 GMT 2013 Olly Betts <olly@survex.com>
1197 * NEWS: Start to update in preparation for 1.3.1 release.
1199 Wed Jan 16 02:32:38 GMT 2013 Olly Betts <olly@survex.com>
1201 * ruby/smoketest.rb: Extend testcase to check returned MSet size.
1203 Wed Jan 16 01:41:33 GMT 2013 Olly Betts <olly@survex.com>
1205 * configure.ac,generic/generic.mk: Improve workaround which allows
1206 building against an uninstalled xapian-core on OS X - this should
1207 now work with any uninstalled xapian-core (not only in a tree
1208 with the same layout as an SVN or git checkout) and it also won't
1209 try to build against "../xapian-core/.libs" just because it happens
1210 to exist. (Fixes #322)
1212 Wed Jan 16 01:34:09 GMT 2013 Olly Betts <olly@survex.com>
1214 * java/run-java-test: Document how to run tests under gdb.
1216 Wed Jan 16 01:30:28 GMT 2013 Olly Betts <olly@survex.com>
1218 * java/Makefile.am: Don't automatically pass -g to javac when in
1219 maintainer-mode, as the two should really be orthogonal. Instead
1220 use JAVACFLAGS when running JAVAC to allow extra flags to be
1221 specified by running "make JAVACFLAGS=-g".
1223 Wed Jan 09 11:57:01 GMT 2013 Olly Betts <olly@survex.com>
1225 * NEWS: Update from ChangeLog and 1.2 branch.
1227 Mon Dec 24 05:15:56 GMT 2012 Olly Betts <olly@survex.com>
1229 * perl/Search/Xapian/Stem.pm: Fix documentation typo.
1231 Mon Dec 24 05:15:12 GMT 2012 Olly Betts <olly@survex.com>
1233 * perl/util.i.in: Update list of unwrapped things.
1235 Mon Dec 24 04:42:42 GMT 2012 Olly Betts <olly@survex.com>
1237 * perl/Makefile.am,perl/t/stem.t: Add test that we can create all the
1238 stemmers returned by Stem::get_available_languages().
1240 Mon Dec 17 02:13:16 GMT 2012 Olly Betts <olly@survex.com>
1242 * README,php/docs/index.html: Bump minimum supported PHP version to
1243 5.3 - 5.2 was officially EOLed 2011-01-06, and the only distros
1244 which seem to still have PHP 5.2 are Ubuntu hardy (which will reach
1245 EOL in April 2013) and older probably RHEL (which are aimed at the
1246 ultra-conservative types who would likely be happy to stick with
1249 Sat Oct 13 04:28:16 GMT 2012 Olly Betts <olly@survex.com>
1251 * perl/t/databasemodified.t,perl/t/index.t,perl/t/parser.t: Using
1252 UNIVERSAL::isa() as a function is deprecated.
1254 Sat Oct 13 02:57:22 GMT 2012 Olly Betts <olly@survex.com>
1256 * perl/t/parser.t: Forward port tests of StringValueRangeProcessor
1257 with a prefix or suffix from 1.2's XS Search::Xapian. (ticket#607)
1259 Tue Aug 28 04:33:21 GMT 2012 Dan Colish <dcolish@gmail.com>
1261 * java/SmokeTest.java,java/java.i: Implement and test MSetIterator,
1262 ESetIterator. Fix PostingIterator, ValueIterator, and TermIterator.
1264 Sun Aug 12 05:45:32 GMT 2012 Dan Colish <dcolish@gmail.com>
1266 * java/Makefile.am,java/run-java-test: Remove jdb target from
1269 Sun Aug 12 04:54:04 GMT 2012 Dan Colish <dcolish@gmail.com>
1271 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add a typemap for
1272 TermIterator pairs to String[] for the Enquire.getMatchingTerms
1273 API. Use debug symbols when configured with MAINTAINER_MODE.
1275 Sun Aug 12 04:46:59 GMT 2012 Dan Colish <dcolish@gmail.com>
1277 * java/Makefile.am,java/SmokeTest.java,java/java.i: Add typemap for
1278 TermIterator pairs to String[] to conform with the
1279 Enquire::getMatchingterms binding API. Build bindings with
1282 Tue Jul 24 09:06:14 GMT 2012 Olly Betts <olly@survex.com>
1284 * lua/util.i: Fix functor wrappers which return strings to be zero-byte
1287 Tue Jul 24 06:06:24 GMT 2012 Olly Betts <olly@survex.com>
1289 * lua/util.i: Fix wrapping of FieldProcessor.
1290 * lua/smoketest.lua: Add test coverage for wrapping of FieldProcessor.
1292 Tue Jul 24 04:11:50 GMT 2012 Olly Betts <olly@survex.com>
1294 * php/smoketest.php: Fix XapianFieldProcessor testcase.
1296 Tue Jul 24 03:45:15 GMT 2012 Olly Betts <olly@survex.com>
1298 * csharp/Makefile.am,java/Makefile.am,lua/util.i,perl/util.i.in,
1299 python/extra.i,python/generate-python-exceptions,xapian-headers.i:
1300 Wrap FieldProcessor.
1301 * php/smoketest.php: Add simple test of subclassing
1302 XapianFieldProcessor.
1304 Sat Jul 21 13:18:48 GMT 2012 Olly Betts <olly@survex.com>
1306 * lua/docs/examples/simpleexpand.lua,
1307 lua/docs/examples/simplematchdecider.lua,
1308 lua/docs/examples/simplesearch.lua: query:get_description() should
1309 be str(query). Fixes #600.
1310 * lua/docs/index.html: Document that get_description() is mapped to
1311 str(), and end() to _end().
1313 Thu Jul 12 05:11:26 GMT 2012 Olly Betts <olly@survex.com>
1315 * configure.ac: Overhaul checking the C# tools to use modern names in
1318 Tue Jul 03 03:13:40 GMT 2012 Dan Colish <dcolish@gmail.com>
1320 * generic/.gitignore,php/.gitignore,tcl8/.gitignore: Update for
1323 Tue Jul 03 03:10:19 GMT 2012 Dan Colish <dcolish@gmail.com>
1325 * configure.ac,generic/generic.mk:Configure DYLD_LIBRARY_PATH on OSX
1326 separately from MACOSX_DEPLOYMENT_TARGET
1328 Sun Jul 01 11:37:53 GMT 2012 Olly Betts <olly@survex.com>
1330 * NEWS: Update from ChangeLog and 1.2 branch.
1332 Sun Jun 10 05:42:34 GMT 2012 Olly Betts <olly@survex.com>
1334 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1335 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
1336 tcl8/Makefile.am: Fix recent swig-depcomp change to use '=' rather than
1337 the apparently less portable ':='.
1339 Mon Jun 04 12:07:08 GMT 2012 Olly Betts <olly@survex.com>
1341 * Makefile.am,configure.ac,csharp/csharp.i,fake_dbfactory.i,
1342 java/java.i,lua/lua.i,perl/perl.i,php/php.i,python/python.i,
1343 ruby/extra.i,ruby/ruby.i,ruby/xapian.rb,tcl8/tcl.i,xapian-headers.i,
1344 xapian.i: For all languages except C# and Java, wrap the functions
1345 declared in xapian/dbfactory.h by getting SWIG to parse the header.
1346 This means we now wrap the WritableDatabase form of
1347 Xapian::Auto::open_stub() for these languages.
1349 Mon Jun 04 12:01:06 GMT 2012 Olly Betts <olly@survex.com>
1351 * swig-depcomp: Script which wraps a call to SWIG and tells it to
1352 generate dependencies, and then adjust the generated dependencies.
1353 * csharp/Makefile.am,java/Makefile.am,lua/Makefile.am,perl/Makefile.am,
1354 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am:
1357 Mon Jun 04 07:07:28 GMT 2012 Olly Betts <olly@survex.com>
1359 * xapian-headers.i,xapian.i: Wrap xapian/dbfactory.h functions
1360 directly, except for C# and Java, where we use a fake class hack.
1361 * python/smoketest2.py: Enable test that WritableDatabase form of
1362 xapian.open_stub() is now wrapped.
1363 * php/smoketest.php: Check that Xapian::Auto::open_stub() is wrapped
1364 as Xapian::auto_open_stub().
1366 Mon Jun 04 06:23:02 GMT 2012 Olly Betts <olly@survex.com>
1368 * python/smoketest2.py: Test xapian.open_stub() is wrapped.
1370 Mon Jun 04 05:01:17 GMT 2012 Olly Betts <olly@survex.com>
1372 * python/smoketest2.py: Add tests that the database factory functions
1373 are wrapped as we expected.
1375 Mon Jun 04 04:47:06 GMT 2012 Olly Betts <olly@survex.com>
1377 * xapian-headers.i: Fix comment typo.
1379 Mon Jun 04 04:46:41 GMT 2012 Olly Betts <olly@survex.com>
1381 * csharp/docs/index.html: Update Mono version tested with.
1383 Sun Jun 03 22:51:29 GMT 2012 Olly Betts <olly@survex.com>
1385 * README: Fix 'Jit' -> 'it'. Typo introduced in r15713.
1387 Sun Jun 03 13:04:18 GMT 2012 Olly Betts <olly@survex.com>
1389 * xapian.i: Remove the old %extend Query constructors, as they are no
1390 longer used for any of the languages.
1392 Sun Jun 03 12:54:25 GMT 2012 Olly Betts <olly@survex.com>
1394 * lua/util.i,php/php.i,python/python.i,ruby/ruby.i,tcl8/tcl.i: Mark
1395 XapianSWIGQueryItor implementations as random_access_iterator, and
1396 implement XapianSWIGQueryItor::operator-(), so Xapian::Query's
1397 template constructor knows how many elements to preallocate.
1399 Sun Jun 03 11:48:31 GMT 2012 Olly Betts <olly@survex.com>
1401 * java/java.i: Use the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP
1402 approach for Java too (though we don't actually support mixed
1403 subqueries in the case of Java, so it's now a bit misnamed now!)
1405 Sat Jun 02 12:41:12 GMT 2012 Olly Betts <olly@survex.com>
1407 * perl/t/parser.t: Fix accidentally pasted comment.
1409 Sat Jun 02 12:39:58 GMT 2012 Olly Betts <olly@survex.com>
1411 * INSTALL,Makefile.am,README,debian/rules,doxygen_xml.conf.in,
1412 generic/generic.mk,perl/t/: Change `...' quoting in prose to '...'.
1414 Tue May 29 06:11:50 GMT 2012 Olly Betts <olly@survex.com>
1416 * xapian-headers.i,xapian.i: Only rename operator() for languages
1417 where SWIG doesn't already. SWIG's %rename comes first and that
1418 means ours was ignored previously for some languages, which is
1419 liable to cause confusion.
1421 Tue May 29 05:26:22 GMT 2012 Olly Betts <olly@survex.com>
1423 * php/Makefile.am: Add dependency on new generated except.i.
1425 Tue May 29 03:53:25 GMT 2012 Olly Betts <olly@survex.com>
1427 * generic/generate-generic-exceptions: Ensure that generic subdirectory
1428 exists to handle srcdir!=builddir from a clean tree.
1430 Mon May 28 07:22:39 GMT 2012 Olly Betts <olly@survex.com>
1432 * doxygen_xml.conf.in: Hide new function attribute macros, and the
1433 less new deprecation macros, from doxygen.
1435 Sun May 27 13:47:44 GMT 2012 Olly Betts <olly@survex.com>
1437 * Makefile.am,generic/except.i,generic/generate-generic-exceptions:
1438 Generate generic/except.i so we can skip exception handling for
1439 XAPIAN_NOTHROW methods for all the remaining SWIG-generated bindings.
1441 Sun May 27 13:37:06 GMT 2012 Olly Betts <olly@survex.com>
1443 * php/Makefile.am,php/except.i,php/generate-php-exceptions: Generate
1444 php/except.i so we can skip exception handling for XAPIAN_NOTHROW
1447 Sun May 27 12:57:29 GMT 2012 Olly Betts <olly@survex.com>
1449 * tcl8/Makefile.am,tcl8/except.i,tcl8/generate-tcl-exceptions: Generate
1450 tcl8/except.i so we can skip exception handling for XAPIAN_NOTHROW
1453 Sun May 27 12:37:37 GMT 2012 Olly Betts <olly@survex.com>
1455 * lua/Makefile.am,perl/Makefile.am,python/Makefile.am: Ship the scripts
1456 which generate the except.i files.
1458 Sun May 27 12:13:29 GMT 2012 Olly Betts <olly@survex.com>
1460 * xapian-headers.i: Ignore Xapian API class constructor taking
1461 Internal& instead of Internal* (as Query does, to avoid an
1462 ambiguity for Query(NULL).
1464 Sun May 27 12:12:45 GMT 2012 Olly Betts <olly@survex.com>
1466 * python/generate-python-exceptions: Fix to use tabs for indentation in
1467 a couple of places where we were using spaces.
1469 Sun May 27 11:48:56 GMT 2012 Olly Betts <olly@survex.com>
1471 * python/generate-python-exceptions: Don't name exception object we
1474 Sun May 27 10:08:25 GMT 2012 Olly Betts <olly@survex.com>
1476 * perl/perl.i: Pass 0 instead of NULL for non-pointer parameter to
1477 av_fetch (spotted due to GCC 4.7 warning).
1479 Sun May 27 07:32:47 GMT 2012 Olly Betts <olly@survex.com>
1481 * python/generate-python-exceptions: Remove superfluous ';' after
1482 "namespace { [...] }".
1484 Sun May 27 07:29:48 GMT 2012 Olly Betts <olly@survex.com>
1486 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1487 python/generate-python-exceptions: Have a single copyright statement
1488 at the top of the script (in a $copyright variable), and substitute
1489 this into the generated script.
1491 Sun May 27 01:52:08 GMT 2012 Olly Betts <olly@survex.com>
1493 * lua/generate-lua-exceptions,perl/generate-perl-exceptions,
1494 python/generate-python-exceptions: Use new XAPIAN_NOTHROW markers
1495 in API headers to avoid generate exception handling code around
1496 the calls SWIG generates to such functions and methods.
1498 Sun May 27 01:51:28 GMT 2012 Olly Betts <olly@survex.com>
1500 * xapian-head.i: Hide XAPIAN_CONST_FUNCTION, XAPIAN_PURE_FUNCTION, and
1501 XAPIAN_NOTHROW from SWIG.
1503 Sun May 27 01:40:32 GMT 2012 Olly Betts <olly@survex.com>
1505 * generic/except.i: Don't name exceptions objects we don't inspect.
1507 Tue May 22 08:21:43 GMT 2012 Olly Betts <olly@survex.com>
1509 * configure.ac,php/Makefile.am: Fix "make check" for PHP to work in a
1510 VPATH build using a release tarball.
1512 Tue May 15 11:41:05 GMT 2012 Olly Betts <olly@survex.com>
1514 * python/pythontest3.py: Sync with pythontest2.
1516 Tue May 15 11:31:48 GMT 2012 Olly Betts <olly@survex.com>
1518 * NEWS: Update from ChangeLog and 1.2.10.
1520 Thu May 10 09:23:02 GMT 2012 Olly Betts <olly@survex.com>
1522 * configure.ac: "checking ruby/io.h" -> "checking for ruby/io.h".
1524 Wed May 09 03:23:44 GMT 2012 Olly Betts <olly@survex.com>
1526 * python/testsuite2.py: Explicitly suggest "make check VERBOSE=1" as a
1527 simple way to rerun tests with verbose output.
1529 Wed May 09 03:22:43 GMT 2012 Olly Betts <olly@survex.com>
1531 * xapian-headers.i: Wrap Xapian::DBCHECK_FIX properly so we don't get
1532 xapian.cvar in Python.
1534 Sun Apr 22 13:04:47 GMT 2012 Olly Betts <olly@survex.com>
1536 * csharp/Makefile.am,java/Makefile.am: Sort both the lists of expected
1537 and of found SWIG-generated sources with Perl, to avoid problems with
1538 locale-specific sort orders.
1540 Sun Apr 22 11:00:21 GMT 2012 Olly Betts <olly@survex.com>
1542 * perl/t/writabledatabase.t: Forward port additional test coverage
1543 for Database::close() from Search::Xapian in 1.2 branch.
1545 Mon Apr 16 23:02:18 GMT 2012 Olly Betts <olly@survex.com>
1547 * configure.ac: Make sure the ruby subdirectory exists before
1548 trying to create ruby/rubyio.h, so this works in a VPATH
1549 build from a clean tree.
1551 Mon Apr 16 06:47:58 GMT 2012 Olly Betts <olly@survex.com>
1553 * csharp/AssemblyInfo.cs.in,csharp/Makefile.am: Use -keyfile and
1554 -keycontainer options to the C# compiler, because it warns us
1555 to do this instead of setting them in AssemblyInfo.cs.
1557 Mon Apr 16 06:39:25 GMT 2012 Olly Betts <olly@survex.com>
1559 * java/Makefile.am: Remove now superfluous old check that SWIG
1560 generated at least the sources we wanted - we now check it generated
1561 *exactly* the sources we wanted.
1563 Mon Apr 16 06:34:30 GMT 2012 Olly Betts <olly@survex.com>
1565 * csharp/Makefile.am,java/Makefile.am: Use diff's -c option when
1566 comparing the files SWIG generated against those we were expecting to
1567 get as the output should be easier to understand.
1569 Wed Apr 11 02:54:46 GMT 2012 Olly Betts <olly@survex.com>
1571 * python/smoketest3.py,python/testsuite3.py: Update Python 3 tests
1572 from Python 2 versions using 2to3.
1574 Thu Apr 05 04:25:45 GMT 2012 Olly Betts <olly@survex.com>
1576 * README,configure.ac,lua/docs/index.html,lua/util.i: Fix compatibility
1579 Thu Apr 05 04:23:22 GMT 2012 Olly Betts <olly@survex.com>
1581 * lua/smoketest.lua: Remove bogus \ before q.
1583 Thu Apr 05 03:45:08 GMT 2012 Olly Betts <olly@survex.com>
1585 * lua/smoketest.lua: Convert tabs to spaces.
1587 Thu Apr 05 03:43:52 GMT 2012 Olly Betts <olly@survex.com>
1589 * lua/smoketest.lua: Check behaviour of "require 'xapian'" - SWIG 2.0.4
1590 and earlier got this wrong. Part of patch from istr in #593, plus
1593 Thu Apr 05 03:28:50 GMT 2012 Olly Betts <olly@survex.com>
1595 * lua/smoketest.lua: Improve expect() function to take an option
1596 failure message, to report how values differed, and to compare tables
1597 in a smarter way. Part of patch from istr in #593.
1599 Thu Apr 05 02:46:21 GMT 2012 Olly Betts <olly@survex.com>
1601 * perl/t/thread.t,perl/t/writabledatabase.t: Remove #! lines with -W
1602 to fix "Name "Test::More::TODO" used only once: possible typo at
1603 /usr/share/perl/5.14/Exporter/Heavy.pm line 190." warnings.
1605 Wed Apr 04 14:06:47 GMT 2012 Olly Betts <olly@survex.com>
1607 * python/docs/examples/simpleexpand.py: Update to not use deprecated
1608 MSet iteration features which have been removed on trunk. This
1609 also fixes a segfault if there are no matches and no documents
1610 are explicitly marked as relevant.
1612 Wed Mar 28 09:22:48 GMT 2012 Olly Betts <olly@survex.com>
1614 * xapian-head.i: Update for new deprecation macros.
1616 Fri Mar 23 00:42:11 GMT 2012 Olly Betts <olly@survex.com>
1618 * php/smoketest.php: More tests of geospatial API.
1620 Thu Mar 22 23:49:50 GMT 2012 Olly Betts <olly@survex.com>
1622 * perl/util.i.in: Avoid importing isa from UNIVERSAL to fix Perl 5.12
1623 deprecation warning.
1625 Tue Mar 20 02:04:51 GMT 2012 Olly Betts <olly@survex.com>
1627 * php/smoketest.php: More tests of geospatial API.
1629 Sun Mar 18 00:38:48 GMT 2012 Dan Colish <dcolish@gmail.com>
1631 * .gitignore: Ignore doxygen artifacts
1633 Wed Mar 14 02:25:51 GMT 2012 Olly Betts <olly@survex.com>
1635 * NEWS: Update from 1.2.9 and ChangeLog for 1.3.0.
1637 Tue Mar 13 22:41:01 GMT 2012 Olly Betts <olly@survex.com>
1639 * php/smoketest.php: Test constructing XapianLatLongCoord.
1641 Tue Mar 13 00:32:37 GMT 2012 Olly Betts <olly@survex.com>
1643 * php/add-php-type-hints: Fix typo "XapianStemmer" -> "XapianStem".
1644 * php/smoketest.php: Add regression test coverage.
1646 Thu Mar 08 05:51:38 GMT 2012 Olly Betts <olly@survex.com>
1648 * perl/t/: Enable warnings for all test cases and make them fatal.
1650 Thu Mar 08 05:37:47 GMT 2012 Olly Betts <olly@survex.com>
1652 * perl/t/symbol-test.t: Remove lingering reference to @args which is
1653 no longer set, and enable warnings and make them fatal so we don't
1656 Fri Jan 27 01:21:18 GMT 2012 Olly Betts <olly@survex.com>
1658 * perl/t/10query.t: Check that Search::Xapian::Query->new("") works.
1660 Fri Jan 27 01:19:45 GMT 2012 Olly Betts <olly@survex.com>
1662 * perl/perl.i: Fix Search::Xapian->new() to work.
1663 * perl/t/10query.t: Add testcase for this.
1665 Thu Jan 26 23:41:55 GMT 2012 Olly Betts <olly@survex.com>
1667 * perl/perl.i: Add "use Carp;" where we use functions from that module.
1668 * perl/t/10query.t: Add regression test.
1670 Fri Jan 20 23:53:12 GMT 2012 Olly Betts <olly@survex.com>
1672 * perl/t/document.t,perl/t/index.t: Add tests of Document::get_docid().
1674 Thu Jan 19 00:19:52 GMT 2012 Olly Betts <olly@survex.com>
1676 * java/Makefile.am: Update list of generated files for the geospatial
1679 Thu Jan 19 00:17:11 GMT 2012 Olly Betts <olly@survex.com>
1681 * xapian-headers.i: Ignore unserialise() variant taking const char**
1682 and Database::check() variant taking std::ostream &.
1684 Wed Jan 18 13:43:55 GMT 2012 Olly Betts <olly@survex.com>
1686 * xapian-headers.i: Handle DBCHECK_* constants like we do DB_* ones.
1687 Factor out this special handliing into a SWIG macro called CONSTANT.
1689 Wed Jan 18 13:22:34 GMT 2012 Olly Betts <olly@survex.com>
1691 * csharp/Makefile.am: Update list of generated file for geospatial API.
1693 Wed Jan 18 10:41:41 GMT 2012 Olly Betts <olly@survex.com>
1695 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
1696 ruby/smoketest.rb,ruby/xapian.rb,xapian-headers.i: Merge bindings
1697 changes for geospatial API.
1699 Wed Jan 04 06:03:09 GMT 2012 Olly Betts <olly@survex.com>
1701 * php/smoketest.php: Add a test that Query ctor taking OP_NEAR with a
1704 Fri Dec 30 13:44:17 GMT 2011 Olly Betts <olly@survex.com>
1706 * perl/perl.i: Refactor to use XapianSWIGQueryItor class instead
1707 of temporary std::vector<Xapian::Query> (but not via a SWIG
1710 Fri Dec 30 13:17:15 GMT 2011 Olly Betts <olly@survex.com>
1712 * lua/util.i: Add begin() and end() methods to XapianSWIGQueryItor
1713 instead of using ctors and assignment.
1715 Fri Dec 30 13:16:00 GMT 2011 Olly Betts <olly@survex.com>
1717 * lua/util.i: Improve error message.
1719 Fri Dec 30 13:13:12 GMT 2011 Olly Betts <olly@survex.com>
1721 * lua/util.i: Eliminate "else" after "return".
1723 Fri Dec 30 13:12:34 GMT 2011 Olly Betts <olly@survex.com>
1725 * lua/util.i: Remove "return;" at end of function.
1727 Fri Dec 30 13:09:00 GMT 2011 Olly Betts <olly@survex.com>
1729 * lua/util.i: Fix typo in error message.
1731 Fri Dec 30 13:07:06 GMT 2011 Olly Betts <olly@survex.com>
1733 * lua/util.i: Reindent and fix other whitespace oddities.
1735 Fri Dec 30 12:23:38 GMT 2011 Olly Betts <olly@survex.com>
1737 * php/php.i: Add begin() method to XapianSWIGQueryItor instead of
1738 using a ctor and assignment.
1740 Fri Dec 30 03:15:31 GMT 2011 Olly Betts <olly@survex.com>
1742 * ruby/ruby.i: Add begin() and end() methods to XapianSWIGQueryItor
1743 as that's clearer than overloaded ctors with dummy parameters.
1745 Fri Dec 30 01:59:46 GMT 2011 Olly Betts <olly@survex.com>
1747 * csharp/Makefile.am,xapian.i: We don't use
1748 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for C#, but we also don't
1749 use the fake ctors added by %extend if this isn't defined, so also
1750 skip them if SWIGCSHARP is defined.
1752 Fri Dec 30 01:18:03 GMT 2011 Olly Betts <olly@survex.com>
1754 * xapian.i: While we don't currently use
1755 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP for perl, we also don't
1756 use the fake ctors added by %extend if this isn't defined, so also
1757 skip them if SWIGPERL is defined.
1759 Fri Dec 30 01:13:31 GMT 2011 Olly Betts <olly@survex.com>
1761 * xapian.i: Remove left-over comment associated with
1762 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP.
1764 Fri Dec 30 01:05:52 GMT 2011 Olly Betts <olly@survex.com>
1766 * python/python.i: Use a SWIG freearg typemap to release the fast
1767 sequence object when we're done with it, rather than carefully
1768 adjusting its reference count when the iterator objects get copied or
1771 Fri Dec 30 00:54:51 GMT 2011 Olly Betts <olly@survex.com>
1773 * xapian.i: Remove XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP, since none
1774 of the currently supported languages now use it, and we should use
1775 the XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for all
1776 future languages which have containers which allow mixed content.
1778 Fri Dec 30 00:53:07 GMT 2011 Olly Betts <olly@survex.com>
1780 * python/python.i,python/util.i: Implement
1781 XAPIAN_MIXED_SUBQUERIES_BY_ITERATOR_TYPEMAP approach for Python.
1783 Fri Dec 30 00:04:27 GMT 2011 Olly Betts <olly@survex.com>
1785 * python/pythontest2.py: Use list comprehensions rather than append
1788 Thu Dec 29 23:26:18 GMT 2011 Olly Betts <olly@survex.com>
1790 * python/testsuite2.py: Rephrase so VERBOSE=1 is there to cut and
1793 Thu Dec 29 22:52:20 GMT 2011 Olly Betts <olly@survex.com>
1795 * python/testsuite2.py: Don't run off the traceback looking for a
1796 test function if the exception wasn't from a test function.
1798 Thu Dec 29 11:35:51 GMT 2011 Olly Betts <olly@survex.com>
1800 * csharp/SmokeTest.cs,java/SmokeTest.java,lua/smoketest.lua,
1801 perl/t/10query.t,perl/t/parser.t,perl/t/search.t,php/smoketest.php,
1802 python/pythontest2.py,python/smoketest2.py,python/testsuite2.py,
1803 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian-headers.i,xapian.i:
1804 Update for Query internals changes.
1806 Thu Dec 29 11:20:48 GMT 2011 Olly Betts <olly@survex.com>
1808 * configure.ac: Fix test for jni.h to try looking for jni.h relative to
1809 the real location of javac, which should work for more JDKs.
1811 Fri Dec 23 01:25:56 GMT 2011 Olly Betts <olly@survex.com>
1813 * python/python.i: If configure didn't find a way to do TLS, fall back
1814 to using pthread_getspecific() etc, which should work on Mac OS X.
1816 Thu Dec 22 12:00:57 GMT 2011 Olly Betts <olly@survex.com>
1818 * perl/t/databasemodified.t,perl/t/index.t,perl/t/writabledatabase.t:
1819 Fix "Use of qw(...) as parentheses is deprecated" warnings in tests
1822 Wed Dec 21 13:48:27 GMT 2011 Olly Betts <olly@survex.com>
1824 * php/add-php-type-hints: Don't add a type hint to apply($doc) as that
1825 would break existing subclasses as the signature must match.
1827 Wed Dec 21 10:06:30 GMT 2011 Olly Betts <olly@survex.com>
1829 * perl/Search/Xapian/Document.pm,perl/Search/Xapian/TermGenerator.pm:
1830 Improve POD docs for Document and TermGenerator methods - "weight"
1831 is misleading, so use "wdfinc" and "wdfdec" like the C++ API docs
1834 Wed Dec 21 10:05:48 GMT 2011 Olly Betts <olly@survex.com>
1836 * lua/util.i,perl/perl.i: Change Xapian::weight to double.
1838 Wed Dec 21 08:43:37 GMT 2011 Olly Betts <olly@survex.com>
1840 * php/add-php-type-hints: XapianSorter should be XapianKeyMaker.
1842 Wed Dec 21 08:42:57 GMT 2011 Olly Betts <olly@survex.com>
1844 * php/Makefile.am: Rebuild wrappers if "add-php-type-hints" changes.
1846 Wed Dec 21 04:12:36 GMT 2011 Olly Betts <olly@survex.com>
1848 * php/Makefile.am,php/add-php-type-hints: Add PHP type hints to the
1849 class wrappers. Fixes ticket#577.
1851 Tue Dec 20 11:03:37 GMT 2011 Olly Betts <olly@survex.com>
1853 * README,configure.ac,python/docs/index.html,python/python.i: Handle
1854 the GIL in a way which also works in sub-interpreters. Fixes
1856 * python/pythontest2.py: Run tests as before, and then (if Python
1857 supports threads) in a separate thread.
1859 Mon Dec 19 10:19:06 GMT 2011 Olly Betts <olly@survex.com>
1861 * configure.ac: Improve description of PERL_SO.
1863 Mon Dec 19 10:18:36 GMT 2011 Olly Betts <olly@survex.com>
1865 * configure.ac: Fix cosmetic typo in recent Lua change.
1867 Mon Dec 19 10:11:30 GMT 2011 Olly Betts <olly@survex.com>
1869 * configure.ac,lua/Makefile.am: Remove Lua cygwin-specific configure
1870 code and -DUSE_LUA_STUBS - both were copied from the Tcl support
1871 with Tcl changed to Lua, and have no basis in reality that I can
1874 Mon Dec 19 09:08:15 GMT 2011 Olly Betts <olly@survex.com>
1876 * configure.ac,lua/Makefile.am: Improve probing for LUA_LIB, and also
1877 probe for LUA_SO so we support platforms where the compiled Lua
1878 module isn't called .so.
1880 Sun Dec 18 02:04:16 GMT 2011 Olly Betts <olly@survex.com>
1882 * configure.ac: Improve LUA_LIB description and probe message - the
1883 module won't have an ".so" extension on all platforms.
1885 Sun Dec 18 01:55:39 GMT 2011 Olly Betts <olly@survex.com>
1887 * configure.ac: m4 quoting tweaks (cosmetic only).
1889 Sun Dec 18 01:50:48 GMT 2011 Olly Betts <olly@survex.com>
1891 * configure.ac: Honour LUA_LIB if already set. Fixes #581.
1893 Thu Dec 15 14:44:09 GMT 2011 Olly Betts <olly@survex.com>
1895 * perl/generate-perl-exceptions: Remove superfluous ';' after closing
1896 '}' of namespace. Tweak whitespace.
1898 Thu Dec 15 12:50:42 GMT 2011 Olly Betts <olly@survex.com>
1900 * generic/except.i: Correct comments about how and where this file gets
1901 included - this changed in the major restructuring a few months ago.
1902 * generic/except.i,php/except.i,tcl8/except.i: Return
1903 Error::get_description() rather than get_type + ": " + get_msg(). In
1904 many cases this is the same, but if context or errno are available,
1905 get_description() includes them. Catch and report std::exception
1906 rather than handling it as an unknown error (so in particular
1907 std::bad_alloc will now be reported more helpfully).
1909 Thu Dec 15 12:30:15 GMT 2011 Olly Betts <olly@survex.com>
1911 * perl/generate-perl-exceptions: Whitespace tweak.
1913 Thu Dec 15 11:40:39 GMT 2011 Olly Betts <olly@survex.com>
1915 * lua/docs/index.html,lua/generate-lua-exceptions,lua/smoketest.lua,
1916 lua/util.i: Handle an exception from C++ by raising a xapian.Error
1917 object as an error in Lua. Rename get_description() methods to
1918 __tostring(), so that you can use write tostring(obj) in Lua. Fix
1919 indentation not to assume tabs are two spaces.
1921 Wed Dec 14 10:54:03 GMT 2011 Olly Betts <olly@survex.com>
1923 * lua/generate-lua-exceptions: Restore other copyright holders to
1924 generated file - it seems likely this constitutes a derived work
1925 and it is better to err on the side of caution.
1927 Tue Dec 13 14:29:34 GMT 2011 Olly Betts <olly@survex.com>
1929 * NEWS: Update from 1.2.8 and ChangeLog.
1931 Sun Oct 30 21:42:48 GMT 2011 Richard Boulton <richard@tartarus.org>
1933 * python/Makefile.am: Add module_top.py to tarballs.
1935 Sat Oct 29 15:05:34 GMT 2011 Olly Betts <olly@survex.com>
1937 * python/Makefile.am,python/module_top.py: Add a module docstring
1940 Wed Oct 05 13:31:25 GMT 2011 Olly Betts <olly@survex.com>
1942 * ruby/smoketest.rb,ruby/xapian.rb: Wrap optional prefix parameter to
1945 Mon Aug 22 11:22:34 GMT 2011 Olly Betts <olly@survex.com>
1947 * python/pythontest2.py: Use "if x is not None:" rather than "if x !=
1950 Wed Aug 17 11:07:41 GMT 2011 Olly Betts <olly@survex.com>
1952 * lua/Makefile.am: Add dependency on except.i so it gets (re)generated
1955 Wed Aug 17 10:11:52 GMT 2011 Olly Betts <olly@survex.com>
1957 * lua/Makefile.am,lua/docs/examples/simpleexpand.lua,lua/: Merge latest
1958 Lua improvements from Xiaona Han.
1960 Mon Aug 15 01:28:51 GMT 2011 Olly Betts <olly@survex.com>
1962 * python/doxy2swig.py,python/pythontest2.py,python/testsuite2.py:
1963 Remove trailing whitespace.
1965 Mon Aug 15 01:19:06 GMT 2011 Olly Betts <olly@survex.com>
1967 * python/pythontest2.py,python/testsuite2.py: Move the check for
1968 leaked objects into the testsuite harness so all tests get checked,
1969 not just the two which are regression tests for leaks in older
1970 versions. This also gives us a single place to disable it if it
1971 should prove problematic in alternative Python implementations.
1973 Sun Aug 14 12:45:09 GMT 2011 Olly Betts <olly@survex.com>
1975 * python/pythontest2.py: In test_matchingterms_iter, run the code
1976 we're testing for leaks twice, and only check for leaks the second
1977 time to avoid falsely reporting a leak when some cached value gets
1978 initialised under Python 2.5.
1980 Fri Aug 12 23:18:20 GMT 2011 Olly Betts <olly@survex.com>
1982 * NEWS: Update from 1.2.7 and ChangeLog.
1984 Mon Aug 08 03:35:23 GMT 2011 Olly Betts <olly@survex.com>
1986 * java/SmokeTest.java: Fix == comparisons with literal strings.
1988 Thu Aug 04 07:34:14 GMT 2011 Olly Betts <olly@survex.com>
1990 * xapian-headers.i,xapian.i: Wrap iterator operator++ and operator--
1991 methods with a new INC_OR_DEC macro, replacing the old NEXT and
1994 Thu Aug 04 07:21:36 GMT 2011 Olly Betts <olly@survex.com>
1996 * xapian-head.i,xapian-headers.i: We no longer need special handling
1997 for ValueIteratorEnd_ in the bindings, as that hack is gone from the
2000 Thu Aug 04 07:15:53 GMT 2011 Olly Betts <olly@survex.com>
2002 * xapian-head.i,xapian.i: Update for the Xapian::timeout -> useconds_t
2005 Thu Aug 04 06:45:38 GMT 2011 Olly Betts <olly@survex.com>
2007 * configure.ac: JAVA_CXXFLAGS is no longer used, so remove it.
2009 Thu Aug 04 00:24:22 GMT 2011 Olly Betts <olly@survex.com>
2011 * configure.ac: Add --disable-visibility option to match xapian-core.
2013 Thu Aug 04 00:04:47 GMT 2011 Olly Betts <olly@survex.com>
2015 * configure.ac: Add -fshow-column for GCC.
2017 Tue Aug 02 03:49:27 GMT 2011 Olly Betts <olly@survex.com>
2019 * perl/t/symbol-test.t: Fix to work when built against an installed
2020 xapian-core. (ticket#558)
2022 Sat Jul 30 12:05:02 GMT 2011 Olly Betts <olly@survex.com>
2024 * Makefile.am,configure.ac,doxygen_xml.conf.in,python/Makefile.am,
2025 ruby/Makefile.am,ruby/generate-rdoc-stubs: Run doxygen to generate
2026 XML for the bindings in the bindings build system, not as a
2027 side-effect in xapian-core's. (ticket#262)
2029 Sat Jul 30 06:22:37 GMT 2011 Olly Betts <olly@survex.com>
2031 * configure.ac,csharp/Makefile.am,generic/generic.mk,java/Makefile.am,
2032 lua/Makefile.am,perl/Makefile.am,php/Makefile.am,python/Makefile.am,
2033 ruby/Makefile.am,tcl8/Makefile.am: Don't put -Werror in SWIG_FLAGS
2034 - instead put it in a new SWIG_WERROR variable, so that it's easy
2035 to override it if you're getting a new warning from SWIG but want
2036 to just ignore it for the time being.
2038 Fri Jul 29 13:49:51 GMT 2011 Olly Betts <olly@survex.com>
2040 * php/smoketest.php: Add regression test for recently fixed SWIG bug
2041 which caused "return $r;" to be generated in some cases when $r
2044 Fri Jul 29 03:41:02 GMT 2011 Olly Betts <olly@survex.com>
2046 * php/smoketest.php: Install an error handler so the test fails if
2047 there are any errors, warnings, notices, etc.
2049 Mon Jul 25 07:36:26 GMT 2011 Olly Betts <olly@survex.com>
2051 * java/SmokeTest.java: Add test that string passing is zero byte safe.
2053 Mon Jul 25 06:42:31 GMT 2011 Olly Betts <olly@survex.com>
2055 * java/SmokeTest.java: Fix MyExpandDecider.accept to really check the
2058 Mon Jul 25 05:52:29 GMT 2011 Olly Betts <olly@survex.com>
2060 * xapian.i: Don't return iterator from C# Next() and Prev() methods by
2061 reference as that results in it being eligible for garbage collection
2062 while we're still using it.
2063 * csharp/SmokeTest.cs: Add regression test.
2065 Sat Jul 23 15:27:27 GMT 2011 Olly Betts <olly@survex.com>
2067 * lua/util.i: Whitespace tweaks.
2069 Sat Jul 23 15:18:24 GMT 2011 Olly Betts <olly@survex.com>
2071 * lua/docs/examples/simpleexpand.lua,
2072 lua/docs/examples/simplematchdecider.lua,
2073 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2074 lua/smoketest.lua,lua/util.i: Merge latest Lua changes from Xiaona
2077 Thu Jul 07 23:28:24 GMT 2011 Olly Betts <olly@survex.com>
2079 * Makefile.am: Restore ruby to DIST_SUBDIRS (accidentally removed when
2080 java-swig was renamed to java).
2082 Wed Jul 06 12:26:38 GMT 2011 Olly Betts <olly@survex.com>
2084 * lua/Makefile.am: Include new example in tarball.
2086 Tue Jul 05 02:10:02 GMT 2011 Olly Betts <olly@survex.com>
2088 * python/python.i: By default, SWIG's thread locking code for Python
2089 always initialises threads, which just adds overhead for single
2090 threaded Python code. So instead we now replace SWIG's thread
2091 locking with a version which does nothing unless threads are already
2092 initialised. This seems to be about 5-10% faster for pythontest2.py
2093 modified to repeat the tests 100 times.
2095 Tue Jul 05 01:32:07 GMT 2011 Olly Betts <olly@survex.com>
2097 * lua/docs/examples/simplematchdecider.lua: Wrap comment to <80
2100 Tue Jul 05 01:25:49 GMT 2011 Olly Betts <olly@survex.com>
2102 * lua/docs/examples/simplematchdecider.lua: New example from Xiaona
2104 * lua/docs/index.html: Add link to simplematchdecider.lua.
2106 Mon Jul 04 15:04:36 GMT 2011 Olly Betts <olly@survex.com>
2108 * lua/smoketest.lua,lua/util.i: Fix whitespace inconsistencies.
2110 Mon Jul 04 14:58:34 GMT 2011 Olly Betts <olly@survex.com>
2112 * lua/docs/index.html,lua/smoketest.lua,lua/util.i: Merge latest Lua
2113 changes from Xiaona Han.
2115 Mon Jul 04 01:35:50 GMT 2011 Olly Betts <olly@survex.com>
2117 * java/Makefile.am: Use the same NEED_JNILIB_EXT machinery which the
2118 hand-coded JNI bindings had, so that on Mac OS X the JNI library
2119 has a .jnilib extension.
2121 Sun Jul 03 11:01:21 GMT 2011 Olly Betts <olly@survex.com>
2123 * java-swig/: Actually rename to java/.
2125 Sun Jul 03 10:36:13 GMT 2011 Olly Betts <olly@survex.com>
2127 * java/: Actually remove the old hand-coded JNI Java bindings.
2129 Wed Jun 29 22:38:29 GMT 2011 Olly Betts <olly@survex.com>
2131 * php/Makefile.am,php/docs/examples/,php/smoketest.php: Change
2132 'include "php5/xapian.php"' to 'include "xapian.php"' in
2133 smoketest.php and the examples, and set include_path=php5 in
2134 TESTS_ENVIRONMENT so smoketest.php finds the uninstalled
2137 Wed Jun 29 01:04:51 GMT 2011 Olly Betts <olly@survex.com>
2139 * csharp/SmokeTest.cs: Add test coverage for QueryParser.ParseQuery()
2140 with flags argument.
2142 Wed Jun 29 00:00:25 GMT 2011 Olly Betts <olly@survex.com>
2144 * Makefile.am,configure.ac: Rename java-swig subdirectory to java.
2146 Tue Jun 28 23:52:13 GMT 2011 Olly Betts <olly@survex.com>
2148 * lua/smoketest.lua: Add simple test for
2149 Database::positionlist_begin().
2151 Tue Jun 28 12:14:17 GMT 2011 Olly Betts <olly@survex.com>
2153 * NEWS: Update from ChangeLog.
2155 Mon Jun 27 15:22:22 GMT 2011 Olly Betts <olly@survex.com>
2157 * python/Makefile.am,python/python.i,python/util.i: If
2158 MAINTAINER_NO_DOCS is true, then just create an empty doccomments.i
2159 rather then carefully arranging not to include it.
2161 Mon Jun 27 15:04:59 GMT 2011 Olly Betts <olly@survex.com>
2163 * python/extra.i: Clarify that extra.i is for extra *Python* code.
2165 Mon Jun 27 14:39:26 GMT 2011 Olly Betts <olly@survex.com>
2167 * TODO: Wrapping Xapian::Weight isn't possible. (ticket#401)
2169 Mon Jun 27 14:34:24 GMT 2011 Olly Betts <olly@survex.com>
2171 * perl/perl.i,perl/util.i.in: Move the SWIG typemaps into perl.i,
2172 leaving just the %perlcode in util.i.in.
2174 Mon Jun 27 14:23:54 GMT 2011 Olly Betts <olly@survex.com>
2176 * xapian.i: Remove %module line which is no longer used.
2178 Mon Jun 27 14:10:19 GMT 2011 Olly Betts <olly@survex.com>
2180 * perl/util.i.in: WritableDatabase::delete_document() was broken by
2181 the migration to wrapping <xapian/database.h> directly - now fixed
2182 and cleaned up how we wrap delete_document_by_term(),
2183 replace_document() and replace_document_by_term().
2185 Mon Jun 27 11:21:10 GMT 2011 Olly Betts <olly@survex.com>
2187 * tcl8/tcl.i: Use the iterator approach for wrapping the mixed array
2190 Mon Jun 27 11:05:10 GMT 2011 Olly Betts <olly@survex.com>
2192 * ruby/ruby.i: Use the iterator approach for wrapping the mixed array
2195 Mon Jun 27 08:18:02 GMT 2011 Olly Betts <olly@survex.com>
2197 * php/php.i,xapian.i: Wrap the XapianQuery ctor which takes a mixed
2198 array of XapianQuery objects and strings by defining an iterator so
2199 subqueries get added directly rather than creating an intermediate
2202 Mon Jun 27 03:08:40 GMT 2011 Olly Betts <olly@survex.com>
2204 * php/php.i: Tweak the phpinfo() generation code.
2206 Mon Jun 27 02:40:29 GMT 2011 Olly Betts <olly@survex.com>
2208 * java-swig/docs/examples/SimpleIndex.java: Update to use commit()
2209 rather than flush(). Remove reference to quartz.
2211 Sun Jun 26 15:32:50 GMT 2011 Olly Betts <olly@survex.com>
2213 * xapian-headers.i,xapian.i: Wrap <xapian/query.h> in xapian-headers.i,
2214 except for the current %extend part which I'm looking to reimplement
2217 Sun Jun 26 14:54:09 GMT 2011 Olly Betts <olly@survex.com>
2219 * ruby/ruby.i: Fix to work with direct wrapping on xapian/enquire.h
2220 - the signature in that file has Xapian:: qualifiers on the
2221 arguments types for set_query() so it wasn't getting renamed.
2222 Missed this because of incorrect dependencies, as fixed in the
2225 Sun Jun 26 14:47:20 GMT 2011 Olly Betts <olly@survex.com>
2227 * ruby/Makefile.am: Fix automatic dependency generation for files
2230 Sun Jun 26 14:09:33 GMT 2011 Olly Betts <olly@survex.com>
2232 * csharp/docs/index.html,java-swig/docs/index.html: Document wrapping
2233 of MatchAll and MatchNothing.
2235 Sun Jun 26 10:24:55 GMT 2011 Olly Betts <olly@survex.com>
2237 * csharp/SmokeTest.cs,csharp/csharp.i,java-swig/SmokeTest.java,
2238 java-swig/java.i: Wrap Query::MatchAll and Query::MatchNothing for C#
2239 and Java. (ticket#158)
2241 Sun Jun 26 03:35:43 GMT 2011 Olly Betts <olly@survex.com>
2243 * php/docs/index.html,php/smoketest.php,xapian.i: Wrap MatchAll and
2244 MatchNothing for PHP as XapianQuery::MatchAll() and
2245 XapianQuery::MatchNothing(). (ticket#158)
2247 Sat Jun 25 15:58:08 GMT 2011 Olly Betts <olly@survex.com>
2249 * xapian-headers.i,xapian.i: Wrap <xapian/weight.h> using the new
2252 Sat Jun 25 15:38:14 GMT 2011 Olly Betts <olly@survex.com>
2254 * xapian-headers.i,xapian.i: Wrap <xapian/valuesetmatchdecider.h> in
2257 Sat Jun 25 15:32:31 GMT 2011 Olly Betts <olly@survex.com>
2259 * xapian-headers.i,xapian.i: Wrap Xapian::Stem using the new macros.
2261 Sat Jun 25 15:15:19 GMT 2011 Olly Betts <olly@survex.com>
2263 * csharp/Makefile.am,java-swig/Makefile.am: Upon "make
2264 maintainer-clean", delete the directories which we get SWIG to
2265 generate the source files into, and also the 'built' subdirectory for
2268 Sat Jun 25 15:10:21 GMT 2011 Olly Betts <olly@survex.com>
2270 * java-swig/Makefile.am: Port over from csharp/Makefile.am the smarter
2271 check that we got exactly the sources generated which we wanted.
2272 Add missing new source ExpandDeciderAnd.java.
2274 Sat Jun 25 15:08:59 GMT 2011 Olly Betts <olly@survex.com>
2276 * csharp/Makefile.am: Delete all files in generated-csharp before
2277 running swig, not just those in $(XAPIAN_SWIG_CS_SRCS).
2279 Sat Jun 25 15:01:48 GMT 2011 Olly Betts <olly@survex.com>
2281 * csharp/Makefile.am,xapian-headers.i,xapian.i: Wrap enquire.h and
2282 expanddecider.h by parsing the headers directly. Wrap ExpandDecider
2283 even if we don't have director support - there's a
2284 ExpandDeciderFilterTerms subclass which is useful in itself, though
2285 it still needs some typemap work to actually get it usefully wrapped.
2286 Ignore copy ctors for all classes (rather than just some) for all
2287 languages except Tcl where we now consistently ignore none of them.
2289 Sat Jun 25 11:13:34 GMT 2011 Olly Betts <olly@survex.com>
2291 * python/util.i: Rename SWIG_anystring_as_ptr to
2292 XapianSWIG_anystring_as_ptr as it's not a part of SWIG itself.
2293 Handle generating XapianSWIG_anystring_as_ptr in the right place
2294 in the file by specifying it with %fragment, and specify its
2295 dependency on the fragment SWIG_AsPtr_std_string.
2297 Sat Jun 25 07:50:56 GMT 2011 Olly Betts <olly@survex.com>
2299 * csharp/Makefile.am: Put the generated C# sources into a subdirectory
2300 to make it easier to manage them. Check that exactly the sources in
2301 XAPIAN_SWIG_CS_SRCS are generated previously we checked that the
2302 sources in that list were generated, but not if extra ones were).
2303 Add six missing sources to XAPIAN_SWIG_CS_SRCS.
2305 Fri Jun 24 17:16:19 GMT 2011 Olly Betts <olly@survex.com>
2307 * xapian-headers.i,xapian.i: Wrap Database and WritableDatabase by
2308 using %include <xapian/database.h>. Adds missing wrappers for
2309 Database::has_positions(), wrapping of Database::reopen()'s new
2310 bool return type, and corrects the return type of
2311 Database::get_doclength() from double to Xapian::termcount.
2313 Fri Jun 24 15:47:50 GMT 2011 Olly Betts <olly@survex.com>
2315 * xapian-headers.i,xapian.i: Wrap MatchSpy and PostingSource with
2318 Fri Jun 24 15:30:27 GMT 2011 Olly Betts <olly@survex.com>
2320 * xapian-headers.i,xapian.i: Add SUBCLASSABLE macro to indicate a class
2321 which is subclassable in the target language (assuming SWIG supports
2322 directors for that language).
2324 Fri Jun 24 12:44:07 GMT 2011 Olly Betts <olly@survex.com>
2326 * xapian-headers.i,xapian.i: Factor out ignoring of internal stuff and
2327 operator= from INPUT_ITERATOR_METHODS into new STANDARD_IGNORES
2328 macro. Use STANDARD_IGNORES to wrap Xapian::Document. Wrap
2329 ValueIterator via %include <xapian/valueiterator.h>.
2331 Fri Jun 24 09:29:46 GMT 2011 Olly Betts <olly@survex.com>
2333 * xapian-headers.i,xapian.i: Wrap TermIterator via %include
2334 <xapian/termiterator.h>. TermIterator::positionlist_count() is now
2337 Fri Jun 24 09:15:11 GMT 2011 Olly Betts <olly@survex.com>
2339 * xapian-headers.i,xapian.i: Do setup for %include <postingiterator.h>
2340 using a parameterised macro INPUT_ITERATOR_METHODS(). Use this new
2341 macro to wrap %include <xapian/positioniterator.h> instead of having
2342 its declarations repeated in xapian.i.
2344 Fri Jun 24 05:39:20 GMT 2011 Olly Betts <olly@survex.com>
2346 * Makefile.am,xapian-headers.i,xapian.i: Start a new interface file
2347 to contain wrapping of xapian-core API headers by getting SWIG to
2348 parse them directly rather than duplicated declarations in the
2351 Fri Jun 24 04:33:50 GMT 2011 Olly Betts <olly@survex.com>
2353 * configure.ac: Update JNI comments.
2355 Fri Jun 24 04:06:17 GMT 2011 Olly Betts <olly@survex.com>
2357 * HACKING,Makefile.am,README,configure.ac,java-swig/SmokeTest.java,
2358 java/,java/native/,java/org/xapian/,java/org/xapian/errors/,
2359 java/org/xapian/examples/,java/run-java-test: Remove the hand-coded
2362 Fri Jun 24 03:37:25 GMT 2011 Olly Betts <olly@survex.com>
2364 * java-swig/Makefile.am,java-swig/docs/: Copy java examples
2365 from the JNI ones, and create an HTML documentation page
2366 based on java/README.
2368 Fri Jun 24 03:13:15 GMT 2011 Olly Betts <olly@survex.com>
2370 * configure.ac: Switch java bindings to java-swig.
2372 Wed Jun 22 15:08:04 GMT 2011 Olly Betts <olly@survex.com>
2374 * INSTALL: Add --with-lua and sort the list of --with-* options.
2376 Wed Jun 22 15:01:44 GMT 2011 Olly Betts <olly@survex.com>
2378 * INSTALL: Pull in a few updates from the latest version of the
2379 automake document which this file was originally based on.
2380 Add in the missing copyright and licensing information.
2382 Wed Jun 22 14:35:33 GMT 2011 Olly Betts <olly@survex.com>
2384 * INSTALL,README: It's not really noteworthy that Mac OS X 10.1 and
2385 10.2 aren't supported as Apple ditched them long ago, so drop this
2386 as a "Known Issue" in INSTALL and instead just say "Mac OS X >= 10.3"
2387 in the discussion of supported platforms in the README.
2389 Wed Jun 22 08:50:52 GMT 2011 Olly Betts <olly@survex.com>
2391 * perl/Makefile.am: Need to build except.i before we run swig.
2393 Wed Jun 22 08:46:50 GMT 2011 Olly Betts <olly@survex.com>
2395 * python/Makefile.am: Need to build except.i and doccomments.i before
2398 Wed Jun 22 04:41:26 GMT 2011 Olly Betts <olly@survex.com>
2400 * java-swig/Makefile.am,java-swig/SmokeTest.java: Put the
2401 SWIG-generated Java bindings in package org.xapian.
2403 Wed Jun 22 03:26:21 GMT 2011 Olly Betts <olly@survex.com>
2405 * java-swig/SmokeTest.java: Add more FIXME notes.
2407 Wed Jun 22 02:55:38 GMT 2011 Olly Betts <olly@survex.com>
2409 * java-swig/Makefile.am: Clean up MyMatchDecider.class and
2410 MyExpandDecider.class. Include Query$1.class in the jar file.
2412 Wed Jun 22 01:47:24 GMT 2011 Olly Betts <olly@survex.com>
2414 * java-swig/Makefile.am: Update for Xapian::Compactor.
2416 Wed Jun 22 01:23:23 GMT 2011 Olly Betts <olly@survex.com>
2418 * csharp/Makefile.am: Use the same trick as in java-swig/ to check that
2419 SWIG generated all the sources we expected it to.
2421 Wed Jun 22 01:21:19 GMT 2011 Olly Betts <olly@survex.com>
2423 * csharp/Makefile.am,java-swig/Makefile.am,lua/Makefile.am,
2424 perl/Makefile.am,php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
2425 tcl8/Makefile.am: Include explicit '$(srcdir)/' path on the main SWIG
2426 interface file to work better in a VPATH build.
2428 Tue Jun 21 16:12:38 GMT 2011 Olly Betts <olly@survex.com>
2430 * python/Makefile.am: Pass -I. to SWIG so it finds generated
2431 doccomments.i in a VPATH build.
2433 Tue Jun 21 14:55:17 GMT 2011 Olly Betts <olly@survex.com>
2435 * csharp/Makefile.am,csharp/csharp.i,csharp/util.i,generic/except.i,
2436 generic/generic.mk,java-swig/Makefile.am,java-swig/java.i,
2437 java-swig/util.i,lua/Makefile.am,lua/lua.i,perl/Makefile.am,
2438 perl/perl.i,php/Makefile.am,php/php.i,php/util.i,python/Makefile.am,
2439 python/python.i,python/util.i,ruby/Makefile.am,ruby/ruby.i,
2440 ruby/util.i,tcl8/Makefile.am,tcl8/tcl.i,tcl8/util.i,xapian-head.i,
2441 xapian.i: Change how the inclusion of SWIG interface files works -
2442 instead of carefully setting up include paths so that files get
2443 pulled in from language-specific directories, with fallbacks to
2444 generic files in some cases, we now have a master interface file for
2445 each language which explicitly includes all the other files we want.
2447 Tue Jun 21 14:34:47 GMT 2011 Olly Betts <olly@survex.com>
2449 * generic/generic.mk: 'macosx' -> 'Mac OS X'.
2451 Tue Jun 21 14:16:52 GMT 2011 Olly Betts <olly@survex.com>
2453 * README: Note a recent version of Mono which we've tested the C#
2456 Tue Jun 21 13:52:22 GMT 2011 Olly Betts <olly@survex.com>
2458 * csharp/Makefile.am: Combine the two uninstall-local targets so the
2459 commands from both actually get run.
2461 Tue Jun 21 11:09:59 GMT 2011 Olly Betts <olly@survex.com>
2463 * configure.ac: Wrap sources used by AC_COMPILE_IFELSE in
2464 AC_LANG_SOURCE to fix warning from autoconf.
2466 Tue Jun 21 06:54:00 GMT 2011 Olly Betts <olly@survex.com>
2468 * xapian.i: Update comment about MatchAll/MatchNothing.
2470 Tue Jun 21 06:49:56 GMT 2011 Olly Betts <olly@survex.com>
2472 * perl/t/10query.t,perl/util.i.in: Wrap MatchAll and MatchNothing for
2473 Perl (as Search::Xapian::Query::MatchAll and
2474 Search::Xapian::Query::MatchNothing). (ticket#158)
2476 Tue Jun 21 06:00:41 GMT 2011 Olly Betts <olly@survex.com>
2478 * ruby/docs/index.html,ruby/extra.i,ruby/smoketest.rb,xapian.i: Wrap
2479 MatchAll and MatchNothing for Ruby. (ticket#158)
2481 Tue Jun 21 05:09:20 GMT 2011 Olly Betts <olly@survex.com>
2483 * lua/smoketest.lua: Fix whitespace inconsistencies.
2485 Tue Jun 21 05:07:30 GMT 2011 Olly Betts <olly@survex.com>
2487 * lua/smoketest.lua: Restore semicolons to licence text.
2489 Tue Jun 21 05:01:55 GMT 2011 Olly Betts <olly@survex.com>
2491 * lua/docs/index.html,lua/smoketest.lua,xapian.i: Merge latest Lua
2492 changes from Xiaona Han.
2494 Tue Jun 21 04:16:05 GMT 2011 Olly Betts <olly@survex.com>
2496 * perl/t/termgenerator.t: Test TermIterator::index_text() with two
2499 Fri Jun 17 08:11:12 GMT 2011 Olly Betts <olly@survex.com>
2501 * HACKING: Start section on deprecation warnings for the bindings.
2503 Fri Jun 17 07:43:31 GMT 2011 Olly Betts <olly@survex.com>
2507 Thu Jun 16 09:24:18 GMT 2011 Olly Betts <olly@survex.com>
2509 * perl/Makefile.am: Fix "make check".
2511 Thu Jun 16 07:48:38 GMT 2011 Olly Betts <olly@survex.com>
2513 * python/Makefile.am: Improve comment about replicationtest.py.
2515 Thu Jun 16 06:34:33 GMT 2011 Olly Betts <olly@survex.com>
2517 * configure.ac: Remove unnecessary nested single quotes. Remove
2518 superfluous trailing ; from Perl one-liners.
2520 Thu Jun 16 06:10:25 GMT 2011 Olly Betts <olly@survex.com>
2522 * php/docs/index.html: Drop references to Xapian versions before 1.0.0.
2524 Thu Jun 16 06:05:45 GMT 2011 Olly Betts <olly@survex.com>
2526 * README,configure.ac,php/docs/index.html: Raise the minimum required
2527 PHP version to 5.2 as older versions are no longer supported by the
2528 PHP developers. Even 5.2.x was recently declared unsupported
2531 Thu Jun 16 05:56:59 GMT 2011 Olly Betts <olly@survex.com>
2533 * configure.ac: Simplify probe for PHP CLI - we dropped PHP4 support in
2534 1.1.0 so we can rely on having php-config --php-binary available.
2536 Wed Jun 15 14:13:09 GMT 2011 Olly Betts <olly@survex.com>
2538 * README,configure.ac,python/docs/index.html: Update required Python
2541 Wed Jun 15 07:46:04 GMT 2011 Olly Betts <olly@survex.com>
2543 * xapian-bindings/lua/docs/examples/simpleexpand.lua: Don't try to add
2544 anything to the RSet if there are no matches.
2546 Tue Jun 14 03:50:57 GMT 2011 Olly Betts <olly@survex.com>
2548 * perl/t/symbol-test/SymbolTest.pm: Sync update from XS Search::Xapian
2549 - add "1;" to end of test module.
2551 Tue Jun 14 03:48:04 GMT 2011 Olly Betts <olly@survex.com>
2553 * perl/docs/examples/: Sync updates from XS Search::Xapian: Require
2554 Perl >= 5.6 so we can "use warnings;"; loop over file using while()
2555 (which reads a line per iteration) not foreach() (which reads the
2556 whole file up front).
2558 Mon Jun 13 17:00:27 GMT 2011 Olly Betts <olly@survex.com>
2560 * perl/generate-perl-exceptions: Simplify.
2562 Mon Jun 13 16:49:52 GMT 2011 Olly Betts <olly@survex.com>
2564 * csharp/Makefile.am,java-swig/Makefile.am,
2565 perl/generate-perl-exceptions,python/generate-python-exceptions:
2566 More references to Sorter and MultiValueSorter removed.
2568 Mon Jun 13 16:43:58 GMT 2011 Olly Betts <olly@survex.com>
2570 * perl/t/sorter.t,php/smoketest.php,python/pythontest2.py,xapian.i:
2571 Update in line with the removed deprecations from xapian-core.
2573 Mon Jun 13 13:37:48 GMT 2011 Richard Boulton <richard@tartarus.org>
2575 * python/extra.i: Change function names defined inside wrapper()
2576 closures to match the name which the result of the closure will
2577 be assigned to, so that help text for the functions displays the
2578 correct function name.
2580 Mon Jun 13 13:15:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2582 * python/pythontest2.py: Extend coverage of tests of removed features.
2584 Mon Jun 13 12:56:48 GMT 2011 Olly Betts <olly@survex.com>
2586 * java/native/Enquire.cc: Update for Enquire::set_sort_by_value()
2589 Mon Jun 13 12:50:39 GMT 2011 Richard Boulton <richard@tartarus.org>
2591 * python/pythontest2.py: Change checks for removed attributes to
2592 use a neater approach.
2594 Mon Jun 13 12:48:00 GMT 2011 Richard Boulton <richard@tartarus.org>
2596 * python/testsuite2.py: Add support to expect_exception for passing
2597 None as the message, to skip checking the message for the raised
2598 exception. Add documentation comment describing the parameters.
2600 Mon Jun 13 12:37:31 GMT 2011 Olly Betts <olly@survex.com>
2602 * xapian.i: Remove deprecated Enquire::set_sort_by_* methods.
2604 Mon Jun 13 12:10:39 GMT 2011 Olly Betts <olly@survex.com>
2606 * python/extra.i: Remove checks for deprecated forms of Enquire
2607 set_sort_* methods, which have now been removed from the C++ API.
2609 Mon Jun 13 11:43:20 GMT 2011 Olly Betts <olly@survex.com>
2611 * python/extra.i,python/util.i: Hide away the deprecated non-pythonic
2612 iterators - we still need them to implement the pythonic iterators,
2613 so we can't entirely remove them.
2614 * python/pythontest2.py: Check that the deprecated methods are no
2615 longer accessible (not all methods are checked).
2616 * docs/index.html: Update documentation to say they've been removed.
2618 Mon Jun 13 10:35:29 GMT 2011 Olly Betts <olly@survex.com>
2620 * python/extra.i: Remove deprecated Stem_get_available_languages().
2621 * python/pythontest2.py: Add test to make sure it stays removed!
2623 Mon Jun 13 10:10:56 GMT 2011 Olly Betts <olly@survex.com>
2625 * python/pythontest2.py: Fix odd ordering of line and comment (which
2626 has been that way since I committed the change which added the
2627 code around the comment.
2629 Mon Jun 13 09:54:20 GMT 2011 Olly Betts <olly@survex.com>
2631 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
2632 lua/docs/index.html,php/docs/index.html,python/docs/index.html,
2633 ruby/docs/index.html,tcl8/docs/index.html,xapian-head.i,xapian.i:
2634 Update for removal of flint.
2636 Mon Jun 13 09:34:05 GMT 2011 Olly Betts <olly@survex.com>
2638 * configure.ac: Update version to 1.3.0.
2640 Sun Jun 12 23:34:24 GMT 2011 Olly Betts <olly@survex.com>
2642 * php/Makefile.am: The SWIG upgrade means we now have xapian_wrap.h as
2643 well as xapian_wrap.cc. Really the final update for 1.2.6.
2645 Sun Jun 12 13:06:16 GMT 2011 Olly Betts <olly@survex.com>
2647 * configure.ac: Lua's _VERSION reports "Lua 5.0.3" for Lua 5.0.3, so
2648 add '|5.0.*' to the pattern since '5.0' won't match.
2650 Sun Jun 12 11:47:03 GMT 2011 Olly Betts <olly@survex.com>
2652 * NEWS: Final update for 1.2.6.
2654 Sun Jun 12 07:47:04 GMT 2011 Olly Betts <olly@survex.com>
2656 * NEWS.SKELETON: Add Lua and Perl headings.
2658 Sun Jun 12 07:29:29 GMT 2011 Olly Betts <olly@survex.com>
2660 * README: Move C# first so the languages are all in alphabetical
2663 Sun Jun 12 07:28:52 GMT 2011 Olly Betts <olly@survex.com>
2667 Sun Jun 12 07:24:17 GMT 2011 Olly Betts <olly@survex.com>
2669 * configure.ac: Need to quote [01234] to stop m4 eating the [].
2671 Sun Jun 12 07:19:37 GMT 2011 Olly Betts <olly@survex.com>
2673 * configure.ac,lua/docs/examples/simpleexpand.lua,
2674 lua/docs/examples/simpleindex.lua,lua/docs/index.html,lua/util.i:
2675 Fix whitespace issues.
2677 Sun Jun 12 07:07:18 GMT 2011 Xiaona Han <xiaonahappy@gmail.com>
2679 * Makefile.am,configure.ac,lua/Makefile.am,
2680 lua/docs/examples/simpleexpand.lua,lua/docs/examples/simpleindex.lua,
2681 lua/docs/examples/simplesearch.lua,lua/docs/index.html,
2682 lua/smoketest.lua,lua/util.i: Merge in current state of Lua
2685 Fri Jun 10 12:08:17 GMT 2011 Olly Betts <olly@survex.com>
2687 * NEWS,configure.ac: Update in preparation for 1.2.6.
2689 Fri Jun 10 09:11:02 GMT 2011 Olly Betts <olly@survex.com>
2691 * java/LICENSE: Remove, since it is explicitly included in each source
2694 Fri Jun 10 06:43:10 GMT 2011 Olly Betts <olly@survex.com>
2696 * php/Makefile.am: Add simplematchdecider.php5 example to tarball.
2698 Fri Jun 10 06:40:46 GMT 2011 Olly Betts <olly@survex.com>
2700 * php/php.ini: Remove file which is no longer used.
2702 Fri Jun 10 01:21:21 GMT 2011 Olly Betts <olly@survex.com>
2704 * xapian-head.i,xapian.i: Update for addition of
2705 XAPIAN_DEPRECATED_CLASS.
2707 Thu Jun 02 03:07:35 GMT 2011 Olly Betts <olly@survex.com>
2709 * php/docs/examples/simplematchdecider.php5: Change start tag from <?
2710 to <?php - issue pointed out by Daniel Menard in ticket#488.
2712 Mon May 30 10:34:16 GMT 2011 Olly Betts <olly@survex.com>
2714 * NEWS: Update from ChangeLog.
2716 Mon May 30 07:06:00 GMT 2011 Olly Betts <olly@survex.com>
2718 * tcl8/docs/index.html: Fix <i> to </i> (reported by Xiaona Han).
2720 Mon May 30 07:04:00 GMT 2011 Olly Betts <olly@survex.com>
2722 * php/docs/examples/simplematchdecider.php5,php/smoketest.php: Objects
2723 passed to virtual methods overridden in PHP are now wrapped properly.
2726 Sun May 29 14:41:13 GMT 2011 James Aylett <james@tartarus.org>
2728 * configure.ac: set NEED_JNILIB_EXT for all Mac OS versions
2730 Sun May 29 14:36:55 GMT 2011 James Aylett <james@tartarus.org>
2732 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am,
2733 java/org/xapian/examples/Makefile.am: use .NOTPARALLEL when
2734 compiling Java classfiles to avoid race condition during
2737 Sun May 29 13:27:10 GMT 2011 Olly Betts <olly@survex.com>
2739 * java/native/Makefile.am: XapianObjectHolder.h was removed so stop
2742 Fri May 27 05:28:09 GMT 2011 Olly Betts <olly@survex.com>
2744 * NEWS: Update from ChangeLog.
2746 Fri May 27 05:09:42 GMT 2011 Olly Betts <olly@survex.com>
2748 * java/native/utils.cc: Remove another unused <typeinfo>.
2750 Fri May 27 05:01:47 GMT 2011 Olly Betts <olly@survex.com>
2752 * java/native/: Factor out Java jstring -> C++ std::string conversion
2753 into cpp_string() function, which also fixes memory leaks upon
2756 Fri May 27 04:29:19 GMT 2011 Olly Betts <olly@survex.com>
2758 * java/native/xapian_jni.h: Remove unused <typeinfo>.
2760 Fri May 27 04:25:39 GMT 2011 Olly Betts <olly@survex.com>
2762 * java/native/xapian_jni.h: Remove unused struct streq.
2764 Fri May 27 04:02:01 GMT 2011 Olly Betts <olly@survex.com>
2766 * java/native/,java/org/xapian/: Instead of using an unordered_map to
2767 track id -> pointer mappings, just use reinterpret_cast - jlong is
2768 64 bits, which will hold a pointer on current platforms.
2769 * java/README: This avoids needing thread locks, so remove pthread
2770 linking issues from TODO list.
2772 Thu May 26 13:06:13 GMT 2011 Olly Betts <olly@survex.com>
2774 * java/native/: C++'s delete operator will ignore a NULL pointer, so
2775 remove checks that the pointer is non-NULL before calling it.
2777 Thu May 26 11:30:22 GMT 2011 Olly Betts <olly@survex.com>
2779 * java/native/unordered_map.h: Portability wrapper around various ways
2780 to get unordered_map with different compilers.
2781 * java/native/XapianObjectHolder.h: Use new unordered_map.h which fixes
2782 warnings about using deprecated headers with recent GCC versions.
2784 Wed May 25 13:58:21 GMT 2011 Olly Betts <olly@survex.com>
2786 * php/util.i,xapian.i: Move PHP special cases to php/util.i (generated
2787 code is identical before and after this change).
2789 Wed May 25 13:20:06 GMT 2011 Olly Betts <olly@survex.com>
2791 * php/docs/examples/simplematchdecider.php5,php/docs/index.html: Add
2792 simplematchdecider.php example.
2794 Wed May 25 12:17:11 GMT 2011 Olly Betts <olly@survex.com>
2796 * php/util.i: Now we have directors enabled, stop ignoring Xapian::Sorter
2797 and uncomment directorin typemap for passing a count and array of
2800 Tue May 24 15:08:24 GMT 2011 Olly Betts <olly@survex.com>
2802 * php/smoketest.php,php/util.i,python/generate-python-exceptions,
2803 ruby/Makefile.am: Update to newer SWIG (ticket#538). Fixes C#
2804 binding issues with strings with newer C# versions. Directors
2805 now work for PHP (ticket#488).
2807 Mon May 23 13:58:43 GMT 2011 Olly Betts <olly@survex.com>
2809 * README: say that Perl bindings probably need Perl 5.8 or later.
2811 Mon May 23 07:47:24 GMT 2011 Olly Betts <olly@survex.com>
2813 * configure.ac: Get the Ruby version from the rbconfig module, rather
2814 than parsing the potentially more variable output of ruby --version.
2816 Wed May 11 21:50:11 GMT 2011 Olly Betts <olly@survex.com>
2818 * ruby/xapian.rb: Fix comments on "end" keywords to match function
2821 Wed May 11 03:50:18 GMT 2011 Olly Betts <olly@survex.com>
2823 * ruby/smoketest.rb: Older Ruby 1.8.x doesn't have Dir.mktmpdir() -
2824 just skip the compaction tests for these versions.
2826 Mon May 09 01:36:56 GMT 2011 Olly Betts <olly@survex.com>
2828 * python/pythontest2.py: With Python 2.7, gc.collect() doesn't always
2829 collect all the garbage, so repeat until no further objects are
2830 freed. (http://bugs.debian.org/625679 and
2831 https://bugs.gentoo.org/349484).
2833 Mon Apr 04 13:58:45 GMT 2011 Olly Betts <olly@survex.com>
2835 * NEWS: Update release date.
2837 Mon Mar 28 12:02:56 GMT 2011 Olly Betts <olly@survex.com>
2839 * NEWS,configure.ac: 1.2.5.
2841 Sat Mar 26 14:50:41 GMT 2011 Olly Betts <olly@survex.com>
2843 * INSTALL: Fix typo in recent commit.
2845 Sat Mar 26 14:44:53 GMT 2011 Olly Betts <olly@survex.com>
2847 * configure.ac: Fix m4 quoting so that the release series check works.
2849 Sat Mar 26 14:34:10 GMT 2011 Olly Betts <olly@survex.com>
2851 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
2852 Replace VPATH section with better equivalent from
2853 xapian-core/INSTALL.
2855 Sat Mar 26 14:29:32 GMT 2011 Olly Betts <olly@survex.com>
2857 * ruby/smoketest.rb: Test Xapian::Compactor.
2859 Sun Mar 20 10:53:32 GMT 2011 Olly Betts <olly@survex.com>
2861 * python/smoketest2.py: Remove two print statements left over from
2864 Fri Mar 18 13:46:05 GMT 2011 Olly Betts <olly@survex.com>
2866 * configure.ac: Don't override MACOSX_DEPLOYMENT_TARGET on 10.5 and
2867 later, or 10.4 on x86 as the default if unset on these platforms
2868 is the current OS version.
2870 Fri Mar 18 11:33:26 GMT 2011 Olly Betts <olly@survex.com>
2872 * csharp/Makefile.am: Second part of ticket#516 fix.
2874 Fri Mar 18 05:29:01 GMT 2011 Olly Betts <olly@survex.com>
2876 * configure.ac: Don't pass extra flags to Microsoft's gacutil.
2879 Wed Mar 16 05:29:31 GMT 2011 Olly Betts <olly@survex.com>
2881 * python/smoketest2.py: Add test coverage for min_wt argument of
2884 Wed Mar 16 05:13:42 GMT 2011 Olly Betts <olly@survex.com>
2886 * python/smoketest2.py: Fix comment typo.
2888 Wed Mar 16 03:33:13 GMT 2011 Olly Betts <olly@survex.com>
2890 * configure.ac: Handle an empty response to $RUBY --version specially.
2891 This gives a less opaque error in cases where the user specified
2892 RUBY but the value given wasn't an executable file.
2894 Tue Mar 15 23:09:04 GMT 2011 Dan Colish <dcolish@gmail.com>
2896 * xapian.i: Expose ESet.get_eset with min_wt parameter
2898 Tue Mar 01 11:51:19 GMT 2011 Olly Betts <olly@survex.com>
2900 * NEWS: Update from ChangeLog.
2902 Mon Feb 21 14:47:10 GMT 2011 Olly Betts <olly@survex.com>
2904 * python/docs/index.html: Document that MSet.items and ESet.items are
2905 deprecated, and what to use instead. Note that MSET_DOCUMENT never
2906 worked on the tuple returned by MSet.items.
2908 Sat Jan 29 05:25:15 GMT 2011 Olly Betts <olly@survex.com>
2910 * python/pythontest2.py: Add test coverage for mset.items.
2912 Sat Jan 29 02:12:43 GMT 2011 Olly Betts <olly@survex.com>
2914 * configure.ac: If xapian-core is a different release series, promote
2915 the mismatched versions warning to an error.
2917 Sat Jan 15 12:03:31 GMT 2011 Olly Betts <olly@survex.com>
2919 * configure.ac,csharp/AssemblyInfo.cs.in: Revert COMPAT_VERSION
2920 change - we need to strip the _svnNNNNN suffix for snapshots, and
2921 it isn't any extra effort to handle an optional subrevision in the
2924 Sat Jan 15 11:38:40 GMT 2011 Olly Betts <olly@survex.com>
2926 * configure.ac: Fix comment typo.
2928 Sat Jan 15 11:36:05 GMT 2011 Olly Betts <olly@survex.com>
2930 * csharp/AssemblyInfo.cs.in: Clarify the licence is GPL "version 2 or
2933 Sat Jan 15 11:32:46 GMT 2011 Olly Betts <olly@survex.com>
2935 * configure.ac,csharp/AssemblyInfo.cs.in: Remove COMPAT_VERSION
2936 machinery - we've not used it since 0.9.10.1, and it seems unlikely
2937 we will again. If we do, we can reverse this change.
2939 Sat Jan 15 11:20:33 GMT 2011 Olly Betts <olly@survex.com>
2941 * NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.
2943 Thu Jan 13 01:50:18 GMT 2011 Olly Betts <olly@survex.com>
2945 * python/pythontest2.py: In test_compactor(), close any open databases
2946 before removing the directory as you can't delete an open database
2947 on Microsoft Windows. (ticket#526)
2949 Mon Jan 10 12:53:51 GMT 2011 Richard Boulton <richard@tartarus.org>
2951 * python/extra.i: Remove broken implementation of
2952 MSet.__contains__. This appears never to have worked, and to
2953 have been broken for at least the past 3.5 years without anyone
2954 mentioning it, and is probably of little use anyway, so no need
2957 Tue Dec 21 12:18:03 GMT 2010 Olly Betts <olly@survex.com>
2959 * README: Update info on SWIG-based Perl bindings.
2961 Mon Dec 20 09:54:52 GMT 2010 Richard Boulton <richard@tartarus.org>
2963 * python/util.i: Remove old and broken Enquire.get_matching_terms()
2964 method. We deprecated Enquire.get_matching_terms() in 1.0.x, and
2965 removed it in 1.1.0, but accidentally left an older version of
2966 get_matching_terms() exposed.
2967 * python/docs/index.html: Also, remove the old documentation for
2968 get_matching_terms().
2970 Mon Dec 20 09:53:56 GMT 2010 Richard Boulton <richard@tartarus.org>
2972 * python/pythontest2.py: Remove test of
2973 Enquire.get_matching_terms(), and the associated contortions to
2974 get a corresponding msetiter to pass to it.
2976 Sun Dec 19 12:40:39 GMT 2010 Olly Betts <olly@survex.com>
2978 * NEWS: Update release date.
2980 Sat Dec 18 15:09:06 GMT 2010 Olly Betts <olly@survex.com>
2982 * NEWS,configure.ac: 1.2.4.
2984 Thu Dec 16 10:11:35 GMT 2010 Olly Betts <olly@survex.com>
2986 * perl/Makefile.am: Pass CPPFLAGS, CXX, CXXFLAGS to the testsuite.
2988 Tue Dec 14 14:23:07 GMT 2010 Olly Betts <olly@survex.com>
2990 * perl/t/symbol-test.t: Merge VPATH fixes from Search::Xapian.
2992 Tue Dec 14 05:25:10 GMT 2010 Olly Betts <olly@survex.com>
2994 * perl/t/: Disable tests from the XS version which don't yet pass
2995 here with a $disable_fixme variable, so they are more clearly marked
2996 and can easily be reenabled for testing.
2998 Tue Dec 14 03:01:43 GMT 2010 Olly Betts <olly@survex.com>
3000 * perl/Makefile.am,perl/t/symbol-test.t,perl/util.i.in: Merge fix and
3001 adapt testcase for it from XS Search::Xapian:
3002 [Changes contributed by David F. Skoll and Dave O'Neill]
3003 - Tell DynaLoader to load the module with RTLD_GLOBAL so exceptions
3004 still work when multiple Perl modules which link to xapian-core are
3005 loaded. (ticket#522)
3007 Tue Dec 14 02:46:52 GMT 2010 Olly Betts <olly@survex.com>
3009 * perl/util.i.in: Whitespace tweaks.
3011 Mon Dec 13 20:22:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3013 * python/pythontest2.py,python/util.i: Fix memory leak in
3014 Enquire.get_matching_terms() method, and add coverage for this
3015 method. Check gc.get_objects() is the same before and after the
3016 calls to get the matching terms; this failed before the fix.
3018 Mon Dec 13 12:04:28 GMT 2010 Olly Betts <olly@survex.com>
3020 * php/docs/index.html: Document that iterators shouldn't be
3021 dereferenced or advanced when at their end points (ticket#520).
3023 Mon Dec 13 06:04:08 GMT 2010 Olly Betts <olly@survex.com>
3025 * php/util.i: Add commented out typemap for director support for
3026 Compactor::resolve_duplicate_metadata().
3028 Sat Dec 11 23:20:29 GMT 2010 Olly Betts <olly@survex.com>
3030 * python/generate-python-exceptions: Remove PostingSource's serialise
3031 method from the list as we %ignore it in xapian.i.
3033 Sat Dec 11 10:31:30 GMT 2010 Olly Betts <olly@survex.com>
3035 * python/generate-python-exceptions,xapian.i: Wrap MatchSpy as a
3036 director class so it can be subclassed in Python.
3037 * python/pythontest2.py: Add test that subclassing MatchSpy works.
3039 Tue Dec 07 04:10:37 GMT 2010 Olly Betts <olly@survex.com>
3041 * python/pythontest2.py: Add regression test for last fix.
3043 Tue Dec 07 03:10:24 GMT 2010 Olly Betts <olly@survex.com>
3045 * python/util.i: Fix memory leaks in typemaps which return Python
3046 lists (reported by AlexB on #xapian).
3048 Tue Dec 07 02:51:51 GMT 2010 Olly Betts <olly@survex.com>
3050 * python/util.i: Remove unused typemap.
3052 Wed Nov 17 10:13:00 GMT 2010 Olly Betts <olly@survex.com>
3054 * ruby/util.i: Wrap Compactor::resolve_duplicate_metadata().
3056 Mon Nov 08 12:33:31 GMT 2010 Olly Betts <olly@survex.com>
3058 * ruby/util.i: Remove unused, commented-out typemap for wrapping a pair
3061 Sun Nov 07 14:17:08 GMT 2010 Olly Betts <olly@survex.com>
3063 * python/pythontest2.py,python/util.i: Wrap updated
3064 Compactor::resolve_duplicate_metadata() method signature.
3066 Sat Nov 06 11:59:23 GMT 2010 Olly Betts <olly@survex.com>
3068 * NEWS: Update from ChangeLog.
3070 Thu Nov 04 12:44:51 GMT 2010 Richard Boulton <richard@tartarus.org>
3072 * generic/generic.mk: For Mac OS X builds, set DYLD_LIBRARY_PATH to
3073 allow tests to find uninstalled xapian library. See ticket #322.
3075 Mon Oct 11 12:29:20 GMT 2010 Olly Betts <olly@survex.com>
3077 * perl/Makefile.am: We don't want to distribute util.i - configure
3078 generates it from util.i.in.
3080 Mon Oct 11 12:28:14 GMT 2010 Olly Betts <olly@survex.com>
3082 * csharp/Makefile.am: No need to list AssemblyInfo.cs.in in EXTRA_DIST
3083 or AssemblyInfo.cs in CLEANFILES - automake takes care of
3084 distributing and cleaning these.
3086 Mon Oct 11 12:21:33 GMT 2010 Olly Betts <olly@survex.com>
3088 * tcl8/Makefile.am: No need to list pkgIndex.tcl.in in EXTRA_DIST or
3089 pkgIndex.tcl in CLEANFILES - automake takes care of distributing and
3092 Mon Oct 11 12:18:06 GMT 2010 Olly Betts <olly@survex.com>
3094 * csharp/Makefile.am,java-swig/Makefile.am,perl/Makefile.am,
3095 php/Makefile.am,python/Makefile.am,ruby/Makefile.am,
3096 tcl8/Makefile.am: Don't list swig-built files in CLEANFILES.
3098 Mon Oct 11 11:58:21 GMT 2010 Olly Betts <olly@survex.com>
3100 * Makefile.am: Don't explicitly list files in EXTRA_DIST which automake
3101 will ship anyway. Don't ship xapian-version.h as configure will
3102 generate that (xapian.spec is different - we put that in the tarball
3103 so rpmbuild can find it).
3105 Mon Oct 11 11:51:57 GMT 2010 Olly Betts <olly@survex.com>
3107 * Makefile.am: No need to explicitly list xapian-version.h in
3108 DISTCLEANFILES - automake will remove in for us on "make distclean"
3109 since it is created by AC_CONFIG_FILES in configure.ac.
3111 Fri Oct 08 13:32:38 GMT 2010 Olly Betts <olly@survex.com>
3113 * configure.ac: Fix typo in code to set PYTHON_LIBS under cygwin.
3116 Fri Oct 01 12:10:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3118 * csharp/Makefile.am,python/generate-python-exceptions,
3119 python/pythontest2.py,xapian.i: Wrap the new Xapian::Compactor
3120 class as a Director class, and add a testcase for it in python.
3122 Wed Sep 29 05:35:03 GMT 2010 Olly Betts <olly@survex.com>
3124 * java-swig/Makefile.am: Fix to delete libxapian_jni.la rather than
3127 Wed Sep 29 05:33:43 GMT 2010 Olly Betts <olly@survex.com>
3129 * csharp/Makefile.am,xapian-bindings.spec.in: Don't install or package
3132 Wed Sep 29 05:19:44 GMT 2010 Olly Betts <olly@survex.com>
3134 * xapian-bindings.spec.in: Package the Perl bindings too (patch from
3137 Wed Sep 29 04:44:24 GMT 2010 Olly Betts <olly@survex.com>
3139 * perl/Makefile.am: Don't install Xapian.la.
3141 Wed Sep 29 02:30:49 GMT 2010 Olly Betts <olly@survex.com>
3143 * perl/Makefile.am,perl/t/10query.t,perl/util.i.in: Fix building a
3144 Query from subqueries which are themselves Query objects. Patch
3147 Mon Sep 27 13:00:33 GMT 2010 Olly Betts <olly@survex.com>
3149 * php/Makefile.am: Fix $(PHP_MAJOR_VERSION) to literal 5 in two places.
3151 Mon Sep 27 12:51:19 GMT 2010 Olly Betts <olly@survex.com>
3153 * configure.ac: Need python in maintainer mode to run doxy2swig.py.
3155 Wed Sep 08 03:10:33 GMT 2010 Olly Betts <olly@survex.com>
3157 * perl/t/01use.t: Revert debug change, as it has served its purpose.
3158 * configure.ac: Handle the "_svn<rev>" suffix of snapshot versions
3159 specially for Perl, to match how this is handled for Search::Xapian.
3161 Wed Sep 08 02:00:34 GMT 2010 Olly Betts <olly@survex.com>
3163 * perl/t/01use.t: This test is mysteriously failing in the snapshot
3164 builder, so add a line of code to help debug this.
3166 Wed Sep 08 00:24:58 GMT 2010 Olly Betts <olly@survex.com>
3168 * java-swig/Makefile.am: Remove commented out SUBDIRS line.
3170 Wed Sep 08 00:24:22 GMT 2010 Olly Betts <olly@survex.com>
3172 * perl/Makefile.am: Fix to create docs subdirectory when srcdir !=
3175 Tue Sep 07 11:54:58 GMT 2010 Olly Betts <olly@survex.com>
3177 * ruby/Makefile.am,ruby/docs/generate-rdoc-stubs,
3178 ruby/generate-rdoc-stubs: Fix generation of rdocs to work when srcdir
3179 != buildir (broken by last but one commit).
3181 Tue Sep 07 10:46:36 GMT 2010 Olly Betts <olly@survex.com>
3183 * configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am: Eliminate
3184 csharp/docs/Makefile.am similarly.
3186 Tue Sep 07 10:28:25 GMT 2010 Olly Betts <olly@survex.com>
3188 * configure.ac,php/Makefile.am,php/docs/Makefile.am,python/Makefile.am,
3189 python/docs/Makefile.am,ruby/Makefile.am,ruby/docs/Makefile.am,
3190 tcl8/Makefile.am,tcl8/docs/Makefile.am: Eliminate separate
3191 Makefile.am in docs subdirectory of each language subdirectory and
3192 just inline any rules into the main sub-Makefile.am, which allows
3193 make to run more of the build in parallel.
3195 Tue Sep 07 10:19:55 GMT 2010 Olly Betts <olly@survex.com>
3197 * configure.ac,perl/Makefile.am: Install
3198 architecture-independent perl files in the appropriate directory.
3199 * perl/Makefile.am,perl/lib/,perl/Search/Xapian/: Structure source
3200 and build trees more like installed tree so we don't need to create
3201 symlinks to run tests in the uninstalled tree. Fix tests to work
3202 when srcdir != builddir.
3204 Mon Sep 06 05:40:34 GMT 2010 Olly Betts <olly@survex.com>
3206 * configure.ac: Don't try to generate perl/docs/Makefile.
3208 Mon Sep 06 05:37:06 GMT 2010 Olly Betts <olly@survex.com>
3210 * perl/Makefile.am,perl/docs/Makefile.am: Merge perl/docs/Makefile.am
3211 into perl/Makefile.am and fix to install.
3213 Mon Sep 06 03:30:58 GMT 2010 Olly Betts <olly@survex.com>
3215 * perl/Makefile.am: Fix "make clean" to work properly.
3217 Mon Sep 06 03:17:01 GMT 2010 Olly Betts <olly@survex.com>
3219 * perl/Makefile.am: Fix path to index.html in rule.
3221 Mon Sep 06 02:43:47 GMT 2010 Olly Betts <olly@survex.com>
3223 * perl/t/: Update with newer testcases from Search::Xapian.
3225 Mon Sep 06 02:27:35 GMT 2010 Olly Betts <olly@survex.com>
3227 * perl/Makefile.am: Build shared object as Xapian.la not xapian.la as
3228 Perl looks for it capitalised.
3230 Mon Sep 06 02:14:06 GMT 2010 Olly Betts <olly@survex.com>
3232 * configure.ac: No need to m4 quote shell fragments without [] in.
3233 Remove trailing ; from statements.
3235 Mon Sep 06 02:07:11 GMT 2010 Olly Betts <olly@survex.com>
3237 * configure.ac: Whitespace tweaks.
3239 Mon Sep 06 02:02:42 GMT 2010 Olly Betts <olly@survex.com>
3241 * configure.ac: Tweak help message for PERL_INC.
3243 Sun Sep 05 23:24:05 GMT 2010 Olly Betts <olly@survex.com>
3245 * Merge Kosei's SWIG-based Perl bindings from GSoC 2009.
3247 Sun Sep 05 12:55:13 GMT 2010 Olly Betts <olly@survex.com>
3249 * INSTALL: Fix typo ("Ruby" should be "Perl").
3251 Sun Sep 05 12:49:20 GMT 2010 Olly Betts <olly@survex.com>
3253 * configure.ac: Remove accidentally added ';' from Ruby checks.
3255 Fri Aug 14 16:45:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3257 * perl/lib/:Add "1;" into end of lib/*.pm files.
3259 Thu Aug 13 12:36:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3261 * perl/util.i.in:Fix some lines and clean up code.
3263 Wed Aug 12 14:11:49 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3265 * INSTALL,perl/util.i.in:Add and fix some lines to describe
3266 SWIG based perl biding.
3268 Wed Aug 12 12:59:30 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3270 * perl/Makefile.am,perl/docs/index.html:Fix Makefile to
3271 generate docs/index.html from pod document of Search::Xapian.
3273 Wed Aug 12 09:32:17 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3275 * perl/util.i.in:Remove and replace some lines and clean
3278 Wed Aug 12 06:22:31 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3280 * perl/Makefile.am,perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/,
3281 perl/util.i.in:Remove perl code from lib/*.pm files, add pod
3282 document of Search::Xapian to util.i.in, and fix test environment
3283 and test programs in Makefile.am.
3285 Tue Aug 11 10:01:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3287 * perl/util.i.in:Fix set_sort_by_key(), set_sort_by_key_then_relevance()
3288 and set_sort_by_relevance_then_key() of Enquire using %feature("shadow")
3291 Mon Aug 10 16:11:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3293 * perl/t/search.t: Modifire some tests to use get_termname()
3294 instead of stringification operator because now we haven't
3295 support it, and remove some machdecider tests since we also
3297 * perl/util.i.in:Fix MSetIterator::clone(), remove
3298 MSetIterator::get_docid() since same function is already
3299 defined at xapian.i, and add overloaded operators of
3302 Mon Aug 10 16:03:10 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3304 * perl/util.i.in:Add CLONE_SKIP functions for thread support.
3306 Sat Aug 08 03:35:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3308 * perl/util.i.in:Fix internal function call of MSet::FETCH.
3310 Fri Aug 07 15:29:21 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3312 * perl/util.i.in:Add tie support of MSetIterator and
3313 ESetIterator. Wrap function MSet::matches() and
3314 MSet::items(). Add class MSet::Tied. Wrap overload operators
3317 Fri Aug 07 06:03:05 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3319 * perl/lib/TermIterator.pm,perl/lib/ValueIterator.pm,
3320 perl/t/document.t,perl/t/index.t,perl/util.i.in:
3321 Remove "" operator wrapping, modify test cases and
3322 pod documents. Because modifying SWIG is needed to
3323 support "" operator.
3325 Thu Aug 06 08:29:25 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3327 * perl/util.i.in:Wrap operator overload of MSetIterator.
3329 Wed Aug 05 14:42:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3331 * perl/util.i.in:Replace each iterator's function 'inc()'
3332 to 'increment()', which is macro 'NEXT' defined in xapian.i
3333 and renamed in per/util.i, because both two function's
3336 Wed Aug 05 14:39:50 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3338 * perl/util.i.in:Remove new object constructing operation
3339 in TermIterator's inc() function. Because it prevents a
3340 destruction of other object (such as WritableDatabase).
3342 Fri Jul 31 16:32:19 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3344 * perl/util.i.in:Add constant variable FLAG_SPELLING for
3345 TermGenerator::set_flags().
3347 Fri Jul 31 16:28:53 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3349 * perl/util.i.in:Replace get_mset() definition to %rename.
3351 Thu Jul 30 11:54:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3353 * perl/util.i.in:Modifying some proxy functions using %feature("shadow")
3354 directive for removing repeatedly defined functions (constructor of
3355 QueryParser, SimpleStopper and WritableDatabase).
3357 Wed Jul 29 10:04:51 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3359 * perl/t/index.t,perl/t/parser.t: Fix exception tests because
3360 previous test suppose working of XS binding with bug.
3362 Wed Jul 29 01:24:34 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3364 * perl/util.i.in:Fix add_valuerangeprocessor to push
3365 ValueRangeProcessors object into it's member array
3366 since storing all ValueRangeProcessors objects which
3369 Tue Jul 28 06:09:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3371 * perl/util.i.in:Fix set_stopper of TermGenerator to keep
3372 SimpleStopper reference in the object for it won't be deleted.
3373 Similar fix for set_sort_by_key, set_sort_by_key_then_relevance,
3374 set_sort_by_relevance_then_key to keep MultiValueSorter.
3376 Tue Jul 28 03:56:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3378 * perl/util.i.in:Fix set_stopper to keep SimpleStopper reference
3379 in object for it won't be deleted. Same fix for add_valuerangeprocessor.
3381 Mon Jul 27 09:31:45 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3383 * perl/util.i.in:Add operator overload support for PositionIterator,
3384 fix new3_WritableDatabase, and TermIterator::clone for overloading
3387 Mon Jul 27 06:40:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3389 * perl/util.i.in:Add function new3_WritableDatabase and
3390 WritableDatabase::new to construct WritableDatabase
3393 Thu Jul 23 16:58:26 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3395 * perl/util.i.in: Wrap functions SimpleStopper::stop_word,
3396 QueryParser::new and SimpleStopper::new.
3398 Wed Jul 22 15:23:39 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3400 * perl/util.i.in:Add wrapper functions for Stem::stem_word,
3401 WritableDatabase::replace_document_by_term,
3402 writabledatabase::delete_document_by_term,
3403 some ValueIterator functions and some TermIterator functions.
3404 Add operator overload support for ValueIterator and
3405 TermIterator, but now double quotation operator is
3406 commented out temporarily to avoid error.
3408 Tue Jul 21 17:20:01 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3410 * perl/Makefile.am:Fix the way of compile xapian_wrap.cc
3411 and Xapian.pm for multiple file compilation.
3413 Tue Jul 21 17:05:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3415 * perl/util.i.in:Ignore Xapian::Query::Query for taking away
3416 duplication of definition. Change some argument handling process
3417 of Xapian::Query::new* functions.
3419 Mon Jul 20 13:37:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3421 * perl/util.i.in: Add wrapper function get_mset() and it's
3422 internal function get_mset1. Fix newN() function to handle
3423 multiple query argument well by introducing typemap which
3424 maps perl array to SV **.
3426 Fri Jul 17 14:52:41 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3428 * perl/Makefile.am,perl/generate-perl-exceptions: Add exception
3429 wrapping referring python/generate-python-exceptions and
3430 search-xapian/handle_exception.cc .
3432 Thu Jul 16 13:45:33 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3434 * perl/util.i.in:Rename constructors of Query and Enquire::set_query,
3435 add wrapper function newN for generatig new query, add function
3436 Database::enquire, Query::new and Enquire::set_query.
3438 Tue Jul 14 15:02:44 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3440 * configure.ac: Fix PERL_XAPIAN_VERSION to get binding's
3441 version number. Previously it gets from xaian-core's one.
3443 Tue Jul 14 07:52:56 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3445 * perl/Makefile.am: Add some options for testing.
3446 * perl/util.i.in: Fix for variable $VERSION.
3448 Mon Jul 13 11:43:37 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3450 * perl/util.i.in: Add a valiable $VERSION for adjusting
3451 usage how to get version number.
3453 Mon Jul 13 11:32:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3455 * perl/Makefile.am: Add swig's -const and -proxy option to
3456 wrap constant values correctly.
3457 * perl/util.i.in: Add %constant directive for wraipping
3458 constant values. Fix generation process of OP_NAMES, DB_NAMES,
3459 FLAG_NAMES and STEM_NAMES because of change of above constant
3462 Sun Jul 12 23:47:54 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3464 * perl/util.i.in: Fix that array OP_NAMES, DB_NAMES, FLAG_NAMES
3465 and STEM_NAES could contain values correctory.
3466 * perl/Makefile.am: Fix a spelling mistake.
3468 Mon Jul 06 05:50:40 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3470 * perl/Makefile.am,perl/util.i.in: Add some hashes such as EXPORT_TAGS
3471 for exporter module. And add arrays OP_NAMES, DB_NAMES, FLAG_NAMES and
3472 STEM_NAMES to util.i.in.
3473 * perl/lib/,perl/lib/MSet/Tied.pm,perl/lib/:Rename directory
3474 name 'Xapian' to 'lib' to process Test::Pod.
3476 Sun Jun 28 20:44:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3478 * configure.ac,perl/util.i,perl/util.i.in: Add VERSION variable
3479 into Xapian.pm. To do this, add #define directive into perl/util.i
3480 and get version number from configure.
3482 Sun Jun 28 17:56:03 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3484 * perl/Makefile.am: To override module name (from 'xapian'
3485 to 'Search::Xapian') add swig's '-module Search::Xapian' option,
3486 change test environment from 'perl' to 'prove', and change directory
3487 to install Xapian.pm.
3488 * configure.ac: Remove '/auto/Search/Xapian' from PERL_LIB variable,
3489 and add dot into PERL_SO variable.
3491 Mon Jun 22 02:53:32 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3493 * configure.ac,perl/Makefile.am: Add configure test to get appropriate
3494 setting for directories to install perl files into. Also add test to
3495 get perl module extension.
3496 * perl/util.i: Add %rename directive to rename "next()" function in
3497 xapian-bindings/xapian.i and "next(Xapian::weight min_wt)" function
3498 in xapian-core/include/xapian/postingsource.h because these functions
3499 conflicts perl's "next" keyword.
3501 Sun Jun 21 21:45:28 GMT 2009 Kosei Moriyama <cou929@gmail.com>
3503 * perl/xapian.pm: remove a generated file (xapian.pm) from repository.
3504 * ChangeLog: add log message of revision 12910 (Mon Jun 15 17:58:09 GMT 2009).
3506 Mon Jun 15 17:58:09 GMT 2009 Kosei Moriyama <cou929@gmail.comm>
3508 * Makefile.am,configure.ac: Add --with-perl configure option,
3509 and add configure test to get appropriate setting for include
3511 * perl/Makefile.am, perl/docs/Makefile.am,
3512 perl/docs/examples/, perl/docs/index.html,
3513 perl/t/, perl/util.i, perl/xapian.pm: Add perl subdirectory to
3516 Wed Aug 25 15:15:36 GMT 2010 Olly Betts <olly@survex.com>
3518 * configure.ac: Use sys.version_info tuple, rather than string splicing
3519 which assumes the Python "major.minor" is 3 characters (which would
3520 fail if Python 2.10 were ever released, for example).
3522 Tue Aug 24 06:02:17 GMT 2010 Olly Betts <olly@survex.com>
3524 * NEWS,configure.ac: Update for 1.2.3.
3526 Tue Aug 24 05:09:10 GMT 2010 Olly Betts <olly@survex.com>
3528 * xapian-bindings.spec.in: Don't run autoreconf - it's no longer
3531 Sun Jun 27 05:24:00 GMT 2010 Olly Betts <olly@survex.com>
3533 * NEWS,configure.ac: Update for 1.2.2.
3535 Sat Jun 26 16:01:26 GMT 2010 Olly Betts <olly@survex.com>
3537 * NEWS.SKELETON: Template NEWS entry.
3539 Thu Jun 24 15:19:10 GMT 2010 Olly Betts <olly@survex.com>
3541 * php/util.i: COMPILE_DL_XAPIAN is no longer used now we have dropped
3542 PHP4 support, so remove.
3544 Tue Jun 22 15:18:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3546 * python/pythontest3.py,python/smoketest3.py: Update python3 tests
3547 to match the changes in the python 2 versions. (They're not
3548 expected to work currently, though, due to unicode handling
3549 problems with the python 3 wrappers.)
3551 Tue Jun 22 15:17:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3553 * python/extra.i: Remove wrapping of QueryParser.set_stemmer() and
3554 TermGenerator.set_stemmer(), which isn't needed with the better
3555 way of handling ownership of python stemmer subclasses which Olly
3556 committed in r14742.
3558 Tue Jun 22 13:42:27 GMT 2010 Olly Betts <olly@survex.com>
3560 * NEWS,configure.ac: Update for 1.2.1.
3562 Tue Jun 22 13:23:49 GMT 2010 Olly Betts <olly@survex.com>
3564 * csharp/Makefile.am: Now get StemImplementation.cs instead of
3565 SWIGTYPE_p_Xapian__StemImplementation.cs.
3566 * java-swig/Makefile.am: Add StemImplementation.java.
3568 Tue Jun 22 13:22:10 GMT 2010 Olly Betts <olly@survex.com>
3570 * csharp/util.i,java-swig/util.i: XAPIAN_SWIG_NO_DISOWN is no longer
3571 needed, so revert that.
3573 Tue Jun 22 11:18:41 GMT 2010 Olly Betts <olly@survex.com>
3575 * xapian.i: We don't need to use the DISOWN typemap now.
3577 Tue Jun 22 10:55:03 GMT 2010 Olly Betts <olly@survex.com>
3579 * python/extra.i: Call __disown__() on the StemImplementation rather
3580 than storing a reference to it.
3582 Tue Jun 22 10:19:49 GMT 2010 Olly Betts <olly@survex.com>
3584 * python/smoketest2.py: Add coverage for wrapping the same MyStemmer
3585 in a xapian.Stem more than once.
3587 Tue Jun 22 10:17:23 GMT 2010 Olly Betts <olly@survex.com>
3589 * python/smoketest2.py: Check that all MyStemmer objects get deleted,
3590 and that none get deleted more than once.
3592 Tue Jun 22 08:29:11 GMT 2010 Richard Boulton <richard@tartarus.org>
3594 * python/extra.i: Wrap Stem.__init__, QueryParser.set_stemmer, and
3595 TermGenerator.set_stemmer to put a reference to the python
3596 object supplied into the object which will be using it. This
3597 ensures that the python object doesn't get deleted too soon, and
3598 hopefully fixes #448.
3599 * python/smoketest2.py: Modify test so that a reference to the
3600 newly created stemmer objects isn't explicitly held, to check
3601 that automatic references are being held correctly.
3603 Mon Jun 21 13:17:01 GMT 2010 Olly Betts <olly@survex.com>
3605 * NEWS: Sync with 1.0.21 and update from ChangeLog.
3607 Mon Jun 21 05:58:52 GMT 2010 Olly Betts <olly@survex.com>
3609 * python/smoketest2.py,xapian.i: Sort out disowning of
3610 StemImplementation so you don't need to call __disown__() explicitly.
3613 Sat Jun 12 11:57:55 GMT 2010 Olly Betts <olly@survex.com>
3615 * python/pythontest2.py: Fix testcase weight_normalise - for a
3616 non-existent term, get_max_possible() can now return zero so you
3617 can't calculate the reciprocal of it.
3619 Sat Jun 12 06:25:08 GMT 2010 Olly Betts <olly@survex.com>
3621 * python/util.i: Add workaround so xapian.BAD_VALUENO is a constant
3622 rather than variable which can't be written to. (ticket#297)
3623 * python/smoketest2.py: Add regression test for this by checking that
3624 xapian.cvar doesn't exist.
3626 Thu Jun 10 04:26:31 GMT 2010 Olly Betts <olly@survex.com>
3628 * xapian.i: Change MatchDecider and ExpandDecider dtors to be
3629 declarations rather than empty definitions (should make no
3630 difference, but it's cleaner if they match the Xapian headers).
3632 Wed Jun 09 13:44:25 GMT 2010 Olly Betts <olly@survex.com>
3634 * xapian.i: Only mark Xapian::StemImplementation as a director class if
3635 we aren't ignoring it.
3637 Wed Jun 09 13:36:54 GMT 2010 Olly Betts <olly@survex.com>
3639 * python/Makefile.am: Fix cleaning of test directories to use "rm -rf"
3640 rather than "rm -f".
3642 Thu Jun 03 15:21:13 GMT 2010 Richard Boulton <richard@tartarus.org>
3644 * csharp/Makefile.am: Add missing
3645 SWIGTYPE_p_Xapian__StemImplementation.cs file.
3647 Tue Jun 01 16:23:23 GMT 2010 Olly Betts <olly@survex.com>
3649 * csharp/util.i,java-swig/util.i,python/generate-python-exceptions,
3650 python/smoketest2.py,xapian.i: Wrap Xapian::StemImplementation.
3651 Currently only tested for Python, and requires explicit use of
3654 Thu May 27 22:30:54 GMT 2010 Olly Betts <olly@survex.com>
3656 * xapian.i: Ignore Xapian::StemImplementation for now so that the
3657 tree builds while I sort out wrapping it properly.
3659 Thu May 27 09:34:13 GMT 2010 Olly Betts <olly@survex.com>
3661 * php/except.i: zend_throw_exception() returns, so we should return
3662 control to PHP directly after calling it to avoid needless extra
3663 work and possible issues.
3665 Wed May 19 09:12:36 GMT 2010 Richard Boulton <richard@tartarus.org>
3667 * python/extra.i: Ensure that __all__ is populated after local
3668 symbols are deleted - this fixes "from xapian import *". Fixes
3670 * python/pythontest2.py,python/test_xapian_star.py: Add a test that
3671 "from xapian import *" works - unfortunately, this requires a
3672 separate file, since the syntax is only valid at module level,
3673 and we don't want to pollute the namespace of the rest of the
3676 Sun May 16 13:27:17 GMT 2010 Olly Betts <olly@survex.com>
3678 * java-swig/Makefile.am: Update list of generated java sources.
3680 Sun May 16 12:05:29 GMT 2010 Olly Betts <olly@survex.com>
3682 * Makefile.am,configure.ac,guile/Makefile.am,guile/util.i: Remove
3683 non-functional disabled guile bindings left over from Open Muscat
3684 days - if someone wanted to add guile bindings, it would be easier to
3687 Tue May 04 19:47:40 GMT 2010 Richard Boulton <richard@tartarus.org>
3689 * python/replicationtest2.py: Some modifications to the replication
3690 test to check that changesets get applied correctly.
3692 Tue May 04 15:26:53 GMT 2010 Olly Betts <olly@survex.com>
3694 * python/smoketest2.py: Check len(mset) works (improving test coverage
3695 of Python-specific wrapping).
3697 Wed Apr 28 10:43:28 GMT 2010 Olly Betts <olly@survex.com>
3699 * NEWS: Sync with 1.0.20.
3701 Wed Apr 28 10:41:45 GMT 2010 Olly Betts <olly@survex.com>
3703 * configure.ac: Tell libtool not to link in deplibs on platforms where
3704 we know they aren't needed.
3705 * configure.ac: On Linux, extract the library search path from ldconfig
3706 which gives us the default entries reliably.
3707 * NEWS,configure.ac: 1.2.0.
3709 Wed Apr 21 03:09:49 GMT 2010 Olly Betts <olly@survex.com>
3711 * configure.ac: Fix typo so path to ruby is reported in Ruby < 1.8 is
3714 Tue Apr 20 11:57:03 GMT 2010 Olly Betts <olly@survex.com>
3716 * python/Makefile.am: Set a sh trap to clean up any .pyc files created
3717 by running a testsuite program. Remove *.pyc (not just
3718 testsuite.pyc) on "make clean".
3720 Tue Apr 20 11:06:55 GMT 2010 Olly Betts <olly@survex.com>
3722 * python/Makefile.am: Set PYTHONDONTWRITEBYTECODE=1 in the environment
3723 to prevent generating .pyc files in srcdir for Python >= 2.6. Partly
3724 addresses ticket#315.
3726 Thu Apr 15 04:36:01 GMT 2010 Olly Betts <olly@survex.com>
3728 * NEWS,configure.ac: Update for 1.1.5.
3730 Wed Mar 03 06:25:54 GMT 2010 Olly Betts <olly@survex.com>
3732 * tcl8/docs/index.html: Document WritableDatabase's close method as
3733 a way to sidestep the whole destructor issue. (ticket#62)
3734 Improve wording in a few places.
3736 Mon Feb 15 14:01:20 GMT 2010 Olly Betts <olly@survex.com>
3738 * configure.ac: Update for 1.1.4.
3740 Mon Feb 15 13:46:41 GMT 2010 Olly Betts <olly@survex.com>
3742 * NEWS: Fix typo in 1.1.3 NEWS. Add missing note that 1.1.3
3743 includes all relevant changes from 1.0.15-1.0.17. Add note that
3744 1.1.4 includes all relevant changes from 1.0.18.
3746 Mon Feb 15 13:17:39 GMT 2010 Olly Betts <olly@survex.com>
3748 * NEWS: Update from ChangeLog and 1.0.18.
3750 Mon Feb 15 12:17:03 GMT 2010 Olly Betts <olly@survex.com>
3752 * php/util.i: Remove (C) header since the code it was added for was
3755 Fri Feb 05 11:42:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3757 * csharp/Makefile.am,php/smoketest.php,php/util.i,python/extra.i,
3758 python/pythontest2.py,python/util.i: Update to match the removal
3759 of ValueCountMatchSpy from core.
3761 Wed Feb 03 17:52:44 GMT 2010 Richard Boulton <richard@tartarus.org>
3763 * xapian.i: Add wrappers for Database::get_doclength_lower_bound(),
3764 Database::get_doclength_upper_bound(),
3765 Database::get_wdf_upper_bound() for all languages. Also, expose
3766 the skip_to() and check() methods on ValueIterator, and expose
3767 Database::valuestream_begin() and Database::valuestream_end().
3769 * python/: Add ValueStreamItem and ValueStreamIter to wrap the
3770 iterators returned from the valuestream methods. Wrap and
3771 replace the C++ valuestream_begin() and valuestream_end() methods
3772 with a Database.valuestream() method which returns a
3773 ValueStreamIter. Add a test for this (test_valuestream_iter()).
3774 * ruby/: Add safe wrapper for the valuestream iterator, add a
3775 "docid" member to the Value wrapper for ValueIterator, and add a
3778 Wed Feb 03 15:17:27 GMT 2010 Richard Boulton <richard@tartarus.org>
3780 * ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Wrap and test
3781 ValueCountMatchSpy::values_begin() and values_end() for ruby.
3783 Wed Feb 03 15:11:39 GMT 2010 Richard Boulton <richard@tartarus.org>
3785 * python/docs/index.html: Document ValueCountMatchSpy.values() and
3788 Wed Feb 03 15:09:09 GMT 2010 Richard Boulton <richard@tartarus.org>
3790 * python/extra.i,python/pythontest2.py: Wrap the
3791 ValueCountMatchSpy::values_begin() and values_end() methods as a
3792 values() pythonic iterator.
3794 Wed Feb 03 13:37:22 GMT 2010 Richard Boulton <richard@tartarus.org>
3796 * python/util.i: Remove unused typemap pair which was used for
3797 wrapping the old ValueCountMatchSpy::get_top_values() method.
3799 Wed Feb 03 13:22:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3801 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
3802 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb: Update to add
3803 support and tests for the new TermIterator-based
3804 ValueCountMatchSpy::top_values methods. Also for the removal of
3805 StringAndFrequency from the API.
3807 Tue Feb 02 15:28:28 GMT 2010 Richard Boulton <richard@tartarus.org>
3809 * python/Makefile.am: Comment out replicationtest by default again;
3810 it's still not reliable.
3812 Tue Feb 02 15:22:29 GMT 2010 Richard Boulton <richard@tartarus.org>
3814 * csharp/Makefile.am: Remove one more reference to NumericRange
3815 which slipped through the net.
3817 Tue Feb 02 15:18:57 GMT 2010 Richard Boulton <richard@tartarus.org>
3819 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,xapian.i:
3820 Remove NumericRanges from trunk - their API is still uncertain,
3821 so I want to do a bit more development work on them on the
3822 matchspy branch before committing to support them for several
3825 Tue Feb 02 14:05:07 GMT 2010 Richard Boulton <richard@tartarus.org>
3827 * python/Makefile.am: replicationtest.py should be working now, so
3828 re-enable it. If it still fails occasionally, I'd like to
3829 investigate why; it works for me.
3831 Tue Feb 02 14:03:26 GMT 2010 Richard Boulton <richard@tartarus.org>
3833 * python/replicationtest2.py: Fix the replication test to work; was
3834 broken by the change to chert as the default database format.
3835 The tests needs to fiddle with the database's uuid to simulate
3836 various situations, so now needs to fiddle with the iamchert file
3837 instead of the uuid file.
3839 Tue Feb 02 13:52:17 GMT 2010 Richard Boulton <richard@tartarus.org>
3841 * xapian-head.i: Remove <xapian/replication.h> include which I'd
3844 Tue Feb 02 13:02:00 GMT 2010 Richard Boulton <richard@tartarus.org>
3846 * xapian.i: Remove the replication API from the bindings. Access
3847 to replication, for now, is via the command-line scripts: this is
3848 similar to the access to running a remote database server, and
3849 the access to database compaction and checking. See ticket #347
3850 for some commentary.
3852 Tue Feb 02 12:56:25 GMT 2010 Richard Boulton <richard@tartarus.org>
3854 * php/smoketest.php,php/util.i,python/extra.i,python/pythontest2.py:
3855 Add copyright lines missed from the previous two commits.
3857 Tue Feb 02 12:37:55 GMT 2010 Richard Boulton <richard@tartarus.org>
3859 * php/smoketest.php,php/util.i: Add typemap to convert the output
3860 for ValueCountMatchSpy::get_values() to an array, and test for it.
3863 Tue Feb 02 11:46:59 GMT 2010 Richard Boulton <richard@tartarus.org>
3865 * python/extra.i,python/pythontest2.py: Fix bug in
3866 Enquire.clear_matchspies(), and add regression test.
3868 Tue Dec 22 23:09:03 GMT 2009 Olly Betts <olly@survex.com>
3870 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/docs/generate-rdoc-stubs,
3871 ruby/generate-rdoc-stubs: Adjust the rdoc generation code to avoid
3872 including a reference to a mysterious "rdoc.rb" with an ugly path.
3874 Tue Dec 22 12:37:20 GMT 2009 Olly Betts <olly@survex.com>
3876 * csharp/Makefile.am,csharp/docs/index.html,java-swig/Makefile.am,
3877 php/docs/index.html,python/docs/index.html,ruby/docs/index.html,
3878 tcl8/docs/index.html,xapian-head.i,xapian.i: Update for the new
3881 Fri Dec 18 00:47:34 GMT 2009 Olly Betts <olly@survex.com>
3883 * ruby/docs/Makefile.am: Fix the fixed fix for the previous fix.
3885 Thu Dec 17 14:52:03 GMT 2009 Olly Betts <olly@survex.com>
3887 * ruby/docs/Makefile.am: Fix fix for previous fix.
3889 Thu Dec 17 00:12:45 GMT 2009 Olly Betts <olly@survex.com>
3891 * ruby/docs/Makefile.am: Fix previous fix.
3893 Wed Dec 16 12:56:45 GMT 2009 Olly Betts <olly@survex.com>
3895 * ruby/docs/Makefile.am: Fix previous change to work in VPATH build.
3897 Wed Dec 16 08:21:43 GMT 2009 Olly Betts <olly@survex.com>
3899 * ruby/Makefile.am,ruby/docs/Makefile.am,ruby/generate-rdoc-stubs,
3900 ruby/xapian.rb: Generate entries in the rdocs for all classes which
3901 aren't documented via xapian.rb. Fixes ticket#417.
3903 Mon Dec 07 01:15:49 GMT 2009 Olly Betts <olly@survex.com>
3905 * ruby/docs/Makefile.am: Run rdoc with the current directory set to
3906 where xapian.rb is so we don't build absolute paths into the
3907 generated HTML. Should address part of ticket#417.
3909 Thu Dec 03 06:07:07 GMT 2009 Olly Betts <olly@survex.com>
3911 * php/util.i: Use const string & instead of string.
3913 Wed Nov 18 10:56:54 GMT 2009 Olly Betts <olly@survex.com>
3915 * NEWS,configure.ac: Update for 1.1.3.
3917 Wed Nov 18 02:56:22 GMT 2009 Olly Betts <olly@survex.com>
3919 * NEWS: Update from 1.0.17 and ChangeLog.
3921 Tue Nov 03 06:09:39 GMT 2009 Olly Betts <olly@survex.com>
3923 * java/native/Enquire.cc: Fix memory leak when passing a matchdecider
3924 to Enquire::get_mset().
3926 Thu Oct 29 09:40:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3928 * php/except.i: Add a call to TSRMLS_FETCH to start of
3929 XapianExceptionHandler(), as seems to be required by PHP if
3930 compiled with multithreaded mode. Fixes #411.
3932 Thu Sep 17 15:20:14 GMT 2009 Olly Betts <olly@survex.com>
3934 * xapian.i: Update the comment about visibility.h and deprecated.h and
3937 Thu Sep 17 15:13:55 GMT 2009 Olly Betts <olly@survex.com>
3939 * csharp/Makefile.am,python/generate-python-exceptions,xapian.i:
3940 Update for the Sorter->KeyMaker changes.
3942 Thu Sep 17 13:11:47 GMT 2009 Olly Betts <olly@survex.com>
3944 * NEWS: Update from ChangeLog.
3946 Thu Sep 17 12:59:22 GMT 2009 Olly Betts <olly@survex.com>
3948 * xapian.i: Ignore PostingSource::serialise(), Weight::serialise()
3949 and Weight::unserialise() as they aren't useful to wrap.
3951 Tue Sep 15 02:11:06 GMT 2009 Olly Betts <olly@survex.com>
3953 * python/Makefile.am: Restore the "./" path to the sourced file
3954 libtoolconfig.tmp as ksh requires it.
3956 Fri Sep 11 00:50:38 GMT 2009 Olly Betts <olly@survex.com>
3958 * xapian-bindings.spec.in: Add support for building RPM packages of
3959 Ruby, from a patch from Ben Walton.
3961 Fri Sep 11 00:28:47 GMT 2009 Olly Betts <olly@survex.com>
3963 * xapian-bindings.spec.in: Improve package summaries - the files are
3964 needed to *use* scripts as well as to develop them. Use "Tcl"
3965 instead of "TCL" as the former is more conventional.
3967 Thu Sep 10 13:33:57 GMT 2009 Olly Betts <olly@survex.com>
3969 * configure.ac: Comment tweak.
3971 Thu Sep 10 13:24:52 GMT 2009 Olly Betts <olly@survex.com>
3973 * configure.ac: Default to looking for xapian-config-1.1.
3975 Thu Sep 10 06:49:10 GMT 2009 Olly Betts <olly@survex.com>
3977 * NEWS: Sync changes from 1.0.15 and 1.0.16 and update from ChangeLog.
3979 Wed Aug 26 14:44:33 GMT 2009 Olly Betts <olly@survex.com>
3981 * ruby/docs/index.html: www.xapian.org -> xapian.org.
3983 Wed Aug 26 05:37:25 GMT 2009 Olly Betts <olly@survex.com>
3985 * python/Makefile.am: No need for "./" relative path on sourced file.
3987 Mon Aug 17 12:46:17 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3989 * csharp/Makefile.am: Add missing assemblys.
3991 Mon Aug 17 07:39:32 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
3993 * python/extra.i: Add support to the NumericRanges object to get
3994 the ranges as a dict.
3995 * python/util.i: Fix a memory leak on error (in theory - I've not
3996 got a way to generate this error, so haven't been able to produce
3997 the leak or test the fix).
3998 * python/pythontest2.py: Update tests to cover new NumericRanges
4001 Mon Aug 10 13:09:12 GMT 2009 Olly Betts <olly@survex.com>
4003 * csharp/Makefile.am,xapian.i: Update for SerialisationContext to
4006 Sun Aug 02 12:21:05 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4008 * python/pythontest3.py: Sync with pythontest2.
4010 Sun Aug 02 12:19:24 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4012 Merge from matchspy branch
4013 * csharp/Makefile.am,python/extra.i,python/pythontest2.py,
4014 python/util.i,xapian.i: Add support for new MatchSpy class, and
4015 the matchspy.h header.
4017 Sat Aug 01 10:07:02 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4019 * python/pythontest3.py: Update to match pythontest2.py (after 2to3
4022 Sat Aug 01 09:58:32 GMT 2009 Olly Betts <olly@survex.com>
4024 * php/Makefile.am,php/smoketest.php,php/smoketest5.php: Merged the PHP
4025 "smoketest" back together now we don't need to support PHP4 as well.
4027 Sun Jul 26 21:55:47 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4029 * python/doxy2swig.py: Tell textwrap not to break long words -
4030 fixes a load of places in the documentation comments where C++
4031 names and type names were cut in two. Also fixes a problem on
4032 the postingsource branch where actual python identifiers were
4033 being cut in two (for some very long identifiers).
4035 Thu Jul 23 04:13:02 GMT 2009 Olly Betts <olly@survex.com>
4037 * NEWS,configure.ac: Update for 1.1.2.
4039 Tue Jul 21 17:12:06 GMT 2009 Olly Betts <olly@survex.com>
4041 * NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.
4043 Tue Jul 21 04:38:51 GMT 2009 Olly Betts <olly@survex.com>
4045 * python/extra.i: Sort out iterators to work with the Python 3
4046 next()/__next__() changes. (ticket#246)
4048 Tue Jul 21 03:37:38 GMT 2009 Olly Betts <olly@survex.com>
4050 * python/extra.i: Python 3 doesn't support unbound methods, so use
4051 lambda to work around this in a way which also works with Python 2.
4053 Mon Jul 20 14:51:10 GMT 2009 Olly Betts <olly@survex.com>
4055 * python/util.i: Remove unused empty Xapian::PythonProblem C++ class.
4057 Mon Jul 20 14:46:24 GMT 2009 Olly Betts <olly@survex.com>
4059 * python/pythontest2.py,python/pythontest3.py: Cast the result of
4060 integer division to an integer - in Python 3 this returns a float
4061 and even in Python 2 the cast makes the intent clearer.
4063 Mon Jul 20 14:03:39 GMT 2009 Olly Betts <olly@survex.com>
4065 * python/extra.i,python/util.i: Use a multi-arg argout typemap to
4066 avoid having to mess around with ValueRangeProcessor.__call__().
4068 Mon Jul 20 12:54:51 GMT 2009 Olly Betts <olly@survex.com>
4070 * python/extra.i,python/util.i: Use %rename for renaming get_hit to
4071 _get_hit_internal. Taken from patch in ticket #246.
4073 Mon Jul 20 12:32:10 GMT 2009 Olly Betts <olly@survex.com>
4075 * python/extra.i,python/util.i: Rename metadata_keys_begin and
4076 metadata_keys_end using %rename rather than using delete and
4077 assignment in Python. This should reduce start-up time for the
4078 Python bindings a fraction. Taken from Peter Kelm's patch in
4081 Mon Jul 20 11:58:30 GMT 2009 Olly Betts <olly@survex.com>
4083 * python/Makefile.am: Need to run doxy2swig.py from $(srcdir).
4085 Mon Jul 20 03:31:44 GMT 2009 Olly Betts <olly@survex.com>
4087 * configure.ac,python/doxy2swig.py,python/doxy2swig.py.in: We
4088 explicitly run doxy2swig.py from the Makefile using $(PYTHON) so
4089 there is no need to AC_CONFIG_FILES it to substitute @PYTHON@ in the
4092 Mon Jul 20 02:40:09 GMT 2009 Olly Betts <olly@survex.com>
4094 * python/pythontest3.py,python/smoketest3.py: Fix "from .testsuite
4095 import *" to "from testsuite import *".
4097 Fri Jun 26 10:24:51 GMT 2009 Olly Betts <olly@survex.com>
4099 * ruby/smoketest.rb: Add regression test for failing to accept an
4100 integer value > MAXINT for a double parameter, fixed by upgrading
4101 to using the latest SWIG SVN trunk.
4103 Wed Jun 10 01:12:23 GMT 2009 Olly Betts <olly@survex.com>
4105 * configure.ac: Update for 1.1.1.
4107 Tue Jun 09 14:01:04 GMT 2009 Olly Betts <olly@survex.com>
4109 * NEWS: Update for 1.1.1.
4111 Wed May 27 05:52:20 GMT 2009 Olly Betts <olly@survex.com>
4113 * README: Add note about GSoC 2009 project to reimplement Perl bindings
4116 Wed May 20 20:55:13 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4118 * xapian.i: Add overloaded version of set_collapse_key() to
4119 bindings which exposes the new parameter.
4121 Tue May 19 09:21:33 GMT 2009 Olly Betts <olly@survex.com>
4123 * python/docs/index.html,python/extra.i,python/smoketest2.py,
4124 tcl8/docs/index.html,tcl8/smoketest.tcl,xapian.i: Wrap
4125 Query::MatchAll and Query::MatchNothing for Python and Tcl8 and
4126 document how they are wrapped (ticket#158).
4127 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html:
4128 Document that Query::MatchAll and Query::MatchNothing aren't wrapped
4129 for these languages yet, and to use Query("") and Query() instead.
4131 Tue May 19 09:17:41 GMT 2009 Olly Betts <olly@survex.com>
4133 * php/util.i: %pragma(php4) -> %pragma(php) (purely cosmetic change).
4135 Tue May 19 04:48:06 GMT 2009 Olly Betts <olly@survex.com>
4137 * configure.ac: Don't test an empty $CSC further which saves a fork
4138 and avoids an odd looking message.
4140 Sat May 16 08:51:15 GMT 2009 Olly Betts <olly@survex.com>
4142 * python/docs/examples/simplematchdecider.py: Pick "avoid_value" from
4143 the second parameter, not the third.
4144 * python/docs/examples/simplematchdecider.py,
4145 python/docs/examples/simplesearch.py: Use str.join() for simpler,
4148 Mon May 11 12:20:31 GMT 2009 Olly Betts <olly@survex.com>
4150 * xapian.i: Oops, make that PostingSource::register_matcher_().
4152 Mon May 11 10:50:21 GMT 2009 Olly Betts <olly@survex.com>
4154 * xapian.i: Fix for PostingSource::set_matcher_() change.
4156 Sat May 09 07:59:10 GMT 2009 Olly Betts <olly@survex.com>
4158 * xapian-head.i: Update to work with new ValueIteratorEnd_ proxy
4161 Wed May 06 06:45:22 GMT 2009 Olly Betts <olly@survex.com>
4163 * README,python/docs/index.html: Update documentation for mod_python
4164 issues and also document the related mod_wsgi issue. The status
4165 is now that everything seems to work if you stick to the main
4166 interpreter (ticket#185 and ticket#364).
4168 Tue May 05 13:11:43 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4170 Merge from opsynonym branch:
4171 * python/smoketest2.py,python/smoketest3.py: Update tests with
4172 FLAG_PARTIAL to expect SYNONYM in generated query.
4174 Wed Apr 29 15:42:37 GMT 2009 Olly Betts <olly@survex.com>
4176 * README: Note that the testsuite fails due to a bug in the test/unit
4177 module in Ruby 1.9.0, but applications using the bindings should
4178 work, and that the testsuite works with Ruby 1.9.1. Drop all mention
4179 of Ruby 1.6.x as that appears to be completely dead both upstream
4182 Wed Apr 29 13:06:55 GMT 2009 Olly Betts <olly@survex.com>
4184 * configure.ac: Update required SWIG version to r11194 to get better
4185 Python 3 support (ticket#346) and to eliminate superfluous GIL
4186 locking calls (ticket#185).
4188 Mon Apr 27 08:43:37 GMT 2009 Olly Betts <olly@survex.com>
4190 * xapian-bindings.spec.in: Update for rename of XapianSharp.so to
4193 Mon Apr 27 08:37:22 GMT 2009 Olly Betts <olly@survex.com>
4195 * xapian-bindings.spec.in: Update for where we now install the tcl8
4198 Thu Apr 23 06:59:22 GMT 2009 Olly Betts <olly@survex.com>
4200 * Makefile.am,configure.ac,csharp/Makefile.am,csharp/docs/Makefile.am,
4201 generic/generic.mk,guile/Makefile.am,java-swig/Makefile.am,
4202 java/Makefile.am,java/native/Makefile.am,java/org/xapian/Makefile.am,
4203 java/org/xapian/errors/Makefile.am,
4204 java/org/xapian/examples/Makefile.am,php/Makefile.am,
4205 php/docs/Makefile.am,python/Makefile.am,python/docs/Makefile.am,
4206 ruby/Makefile.am,ruby/docs/Makefile.am,tcl8/Makefile.am,
4207 tcl8/docs/Makefile.am: Fix things up so that in a bootstrapped SVN
4208 tree, automatic regeneration of autotools-generated files uses the
4209 in-tree versions of the autotools.
4210 * configure.ac,java/Makefile.am,java/org/Makefile.am: Eliminate
4211 java/org/Makefile.am which just forwards to its "xapian"
4214 Wed Apr 22 13:57:58 GMT 2009 Olly Betts <olly@survex.com>
4218 Wed Apr 22 13:51:21 GMT 2009 Olly Betts <olly@survex.com>
4220 * NEWS: Update for 1.1.0.
4222 Wed Apr 22 11:55:48 GMT 2009 Olly Betts <olly@survex.com>
4224 * configure.ac: Put XAPIAN_CXXFLAGS in CXXFLAGS (rather than
4225 AM_CXXFLAGS) for the duration of configure, since AM_CXXFLAGS isn't
4226 used for test compiles by configure (we need it as it may include
4227 options to put the compiler into ISO C++ mode).
4229 Tue Apr 21 06:40:37 GMT 2009 Olly Betts <olly@survex.com>
4231 * INSTALL: Python 2.6 and later look in ~/.local for Python modules so
4232 update the instructions to suggest users use this standard location
4233 for installing without root access.
4235 Tue Apr 21 05:59:29 GMT 2009 Olly Betts <olly@survex.com>
4237 * NEWS: Clean up for release.
4239 Mon Apr 20 14:23:47 GMT 2009 Olly Betts <olly@survex.com>
4241 * NEWS: Sync changes from 1.0.12.
4243 Sat Apr 18 08:25:11 GMT 2009 Olly Betts <olly@survex.com>
4245 * INSTALL: Speak of 0.9.3 in the past tense. Add a note about being
4246 able to pass variables to configure to pick which of several
4247 parallel installations of a language to build for.
4249 Sun Apr 05 03:59:31 GMT 2009 Olly Betts <olly@survex.com>
4251 * NEWS: Update from ChangeLog.
4253 Fri Mar 27 03:27:03 GMT 2009 Olly Betts <olly@survex.com>
4255 * csharp/util.i,java-swig/util.i,ruby/util.i: Remove %rename
4256 directives for get_sumpart_needs_doclength as this method no longer
4259 Wed Mar 25 17:31:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4261 * python/pythontest2.py: Change deletion of database objects to
4262 Database.close() calls, which should be more robust across
4263 different python implementations, and should also avoid problems
4264 on windows when the temporary database directories are deleted if
4265 other objects which aren't deleted have lingering references to
4268 Tue Mar 24 12:37:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4270 * ruby/Makefile.am: Fix dependency target in ruby's xapian_wrap.d
4273 Mon Mar 23 11:49:10 GMT 2009 Olly Betts <olly@survex.com>
4275 * python/generate-python-exceptions,python/pythontest2.py,
4276 python/pythontest3.py: Update for PostingSource::reset() ->
4277 PostingSource::init() rename.
4279 Wed Mar 18 06:05:31 GMT 2009 Olly Betts <olly@survex.com>
4281 * python/docs/index.html: Non-pythonic iterators now being removed
4282 in 1.3.0, not 1.2.0.
4284 Mon Mar 16 14:05:50 GMT 2009 Olly Betts <olly@survex.com>
4286 * NEWS: Sync with 1.0.11.
4288 Wed Mar 11 11:31:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4290 * python/pythontest2.py,python/pythontest3.py: Round the weights
4291 returned for the OP_SCALE_WEIGHT test, to avoid failing due to
4294 Wed Mar 11 11:18:57 GMT 2009 Olly Betts <olly@survex.com>
4296 * xapian.i: Updated to wrap xapian/weight.h directly, such that it
4297 builds with the new Xapian::Weight class.
4299 Wed Mar 11 11:15:18 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4301 * python/testsuite2.py,python/testsuite3.py: Remove bare except:
4302 handlers from testsuite, so ctrl-C stop the whole testsuite, not
4305 Wed Mar 11 00:06:54 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4307 * python/pythontest3.py: Update to match pythontest2.py (after
4308 passing through 2to3).
4310 Tue Mar 10 18:02:08 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4312 * python/extra.i,python/pythontest2.py: Preserve posting sources on
4313 queries when set on enquire, and when retrieved from enquire
4316 Tue Mar 10 17:46:48 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4318 * python/extra.i: When making a query object, keep references to
4319 posting sources in the query. Copy references for sub queries
4320 into parent queries, too.
4321 * python/pythontest2.py: Modify test to include regression test for
4324 Tue Mar 10 17:06:56 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4326 * python/extra.i: Add better support for deprecation of single
4327 argument form of the Enquire::set_sort_by_* methods, and for
4328 deprecation of the old name ("ascending") for the second
4329 argument. Add deprecation warnings to the remaining three
4330 set_sort_by_*value* methods, too.
4332 Tue Mar 10 09:14:44 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4334 * python/extra.i: Keep references to Stoppers and Sorters set on
4335 objects, to avoid segfaults when they go out of scope, and add
4336 deprecation warnings for single argument form of the set_sort_by_*
4338 * python/pythontest2.py: Tests for the above.
4340 Thu Mar 05 10:34:38 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4342 * xapian.i: There are now several useful built-in posting sources,
4343 so remove the code which ignores postingsource.h if there aren't
4346 Thu Mar 05 08:01:18 GMT 2009 Olly Betts <olly@survex.com>
4348 * configure.ac: Fix comment to match code.
4350 Wed Mar 04 23:37:29 GMT 2009 Olly Betts <olly@survex.com>
4352 * python/pythontest2.py: Fix comment typo.
4354 Wed Mar 04 23:33:17 GMT 2009 Olly Betts <olly@survex.com>
4356 * php/docs/examples/simpleindex.php5,python/pythontest2.py,
4357 python/pythontest3.py,python/replicationtest2.py,
4358 tcl8/docs/examples/simpleindex.tcl,xapian.i: Update for the
4359 "WritableDatabase::flush()" to "WritableDatabase::commit()" change.
4361 Wed Mar 04 23:23:14 GMT 2009 Olly Betts <olly@survex.com>
4363 * xapian.i: Wrap MSet::get_uncollapsed_matches_lower_bound(),
4364 MSet::get_uncollapsed_matches_estimated(), and
4365 MSet::get_uncollapsed_matches_upper_bound().
4367 Wed Mar 04 16:56:28 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4369 * python/extra.i: When ValueRangeProcessors are passed to the
4370 QueryParser, keep a list of them so that they're not deleted
4371 until the QueryParser is.
4372 * python/pythontest2.py: Regression test that the proxying works -
4373 this test crashed without the patch to extra.i.
4375 Mon Mar 02 20:45:09 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4377 * python/extra.i: Remove Document_unserialise and
4378 Query_unserialise from API.
4380 Mon Mar 02 10:32:59 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4382 * csharp/Makefile.am,xapian.i: Update with new serialisation
4385 Mon Mar 02 08:38:36 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4387 * python/pythontest2.py: Extend "database closed" test slightly, to
4388 cover a case which caused a segfault with core before revision
4391 Thu Feb 26 04:09:04 GMT 2009 Olly Betts <olly@survex.com>
4393 * configure.ac,ruby/Makefile.am: Workaround rubyio.h vs ruby/io.h
4394 incompatibility. Fix defaulting of RUBY_INC_ARCH to RUBY_INC.
4396 Thu Feb 26 03:12:11 GMT 2009 Olly Betts <olly@survex.com>
4398 * configure.ac,ruby/Makefile.am: Fixes for Ruby 1.9 compatibility
4401 Mon Feb 16 11:09:20 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4403 * python/generate-python-exceptions,python/pythontest2.py,xapian.i:
4404 Update for new posting source interface.
4406 Sat Feb 07 00:18:45 GMT 2009 Richard Boulton <richard@lemurconsulting.com>
4408 * python/pythontest2.py: Add python test of document and query
4409 serialisation and unserialisation.
4411 Tue Jan 20 13:55:54 GMT 2009 Olly Betts <olly@survex.com>
4413 * ruby/util.i: Fix for Ruby 1.9 compatibility.
4415 Mon Jan 19 23:16:13 GMT 2009 Olly Betts <olly@survex.com>
4417 * configure.ac: Use rubyhdrdir if it exists (it was added at some
4418 point during Ruby 1.9 development). See bug#323.
4420 Tue Jan 06 00:54:51 GMT 2009 Olly Betts <olly@survex.com>
4422 * python/Makefile.am: Temporarily disable replicationtest.py
4423 for now, as it just seems to fail most of the time. See bug#320.
4425 Tue Jan 06 00:43:58 GMT 2009 Olly Betts <olly@survex.com>
4427 * python/Makefile.am: Clean up any left over test databases on "make
4430 Tue Jan 06 00:43:01 GMT 2009 Olly Betts <olly@survex.com>
4432 * python/pythontest2.py: All but two testcases delete the database(s)
4433 they create if they pass, so fix the remaining two to do the same.
4435 Mon Jan 05 04:09:05 GMT 2009 Olly Betts <olly@survex.com>
4437 * configure.ac: Allow Python buildings to be built on Cygwin (taken
4438 from patch 1.0.7-python.patch from Cygwin Ports, and adapted for
4439 Python 3.0 compatibility).
4441 Mon Jan 05 02:14:17 GMT 2009 Olly Betts <olly@survex.com>
4443 * csharp/Makefile.am: Rename the compiled C++ wrapper from
4444 XapianSharp.la to _XapianSharp.la to avoid a name clash on with the
4445 C# assembly XapianSharp.dll on Microsoft Windows.
4447 Mon Jan 05 00:36:48 GMT 2009 Olly Betts <olly@survex.com>
4449 * configure.ac: Allow PHP bindings to be built on Cygwin (patch
4450 1.0.7-php.patch from Cygwin Ports).
4452 Mon Jan 05 00:18:39 GMT 2009 Olly Betts <olly@survex.com>
4454 * configure.ac,ruby/Makefile.am: Allow ruby bindings to be built on
4455 Cygwin (need to pass -lruby there).
4457 Sun Jan 04 23:45:24 GMT 2009 Olly Betts <olly@survex.com>
4459 * configure.ac,tcl8/Makefile.am: Allow tcl8 bindings to be built on
4460 Cygwin (based on patch 1.0.7-tcl.patch from Cygwin Ports).
4462 Mon Dec 29 16:54:54 GMT 2008 James Aylett <james@tartarus.org>
4464 * python/docs/examples/: get_description() is now __str__() in Python.
4466 Fri Dec 26 15:22:01 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4468 * xapian.i: Add Database.close() method.
4470 Tue Dec 23 05:59:02 GMT 2008 Olly Betts <olly@survex.com>
4472 * csharp/xapian_wrap.d ruby/xapian_wrap.d php/xapian_wrap.d i
4473 tcl8/xapian_wrap.d: svn:ignore dependency makefile fragments
4474 generated by swig -MD.
4476 Tue Dec 23 05:55:20 GMT 2008 Olly Betts <olly@survex.com>
4478 * python/: svn:ignore new generated databases.
4480 Tue Dec 23 05:52:54 GMT 2008 Olly Betts <olly@survex.com>
4482 * configure.ac,python/Makefile.am,python/generate-python-exceptions,
4483 python/generate-python-exceptions.in: Explicitly run
4484 generate-python-exceptions using $(PERL) rather than generating it
4485 with AC_OUTPUT just to substitute the "#!" line.
4487 Mon Dec 22 15:08:33 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4489 * python/Makefile.am: Add replicationtest2.py to distribution.
4491 Mon Dec 22 13:48:56 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4493 * python/Makefile.am: Enable the replication test by default, now
4496 Mon Dec 22 13:47:05 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4498 * python/replicationtest.py,python/replicationtest2.py: Make
4499 replication test a bit more stringent, and don't trigger
4500 potential problems with swapping a database back in place by
4501 updating the uuids, so each replicated database is effectively
4502 brand new, as far as replication is concerned.
4504 Sat Dec 20 11:41:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4506 * python/Makefile.am: Pass the default value of PYTHONPATH through
4507 to python tests (just make sure our recently compiled modules are
4508 at the start of it). Pass abs_builddir in the TESTS_ENVIRONMENT
4509 variable, since the replication test needs it.
4510 * python/replicationtest2.py: Add a test (currently failing) of
4511 database replication under heavy concurrent modification load.
4513 Sat Dec 20 10:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4515 * python/pythontest2.py: Fix test of get_eset() to match change in
4516 behaviour of get_eset().
4517 * python/pythontest3.py: Bring up to date with pythontest2.py
4519 Mon Dec 08 03:45:20 GMT 2008 Olly Betts <olly@survex.com>
4521 * debian/: Sync with 1.0 branch.
4523 Mon Dec 08 03:18:22 GMT 2008 Olly Betts <olly@survex.com>
4525 * python/Makefile.am: Need to clean testsuite.pyc from srcdir since
4526 that's where it gets generated as things stand (upstream fix for
4529 Sat Nov 01 01:52:29 GMT 2008 Olly Betts <olly@survex.com>
4531 * NEWS: Sync with 1.0.9 and update from ChangeLog.
4533 Fri Oct 31 22:53:13 GMT 2008 Olly Betts <olly@survex.com>
4535 * python/docs/index.html: Document Python-specific
4536 Database.metadata_keys(prefix) method.
4538 Fri Oct 31 19:22:53 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4540 * python/generate-python-exceptions.in: Convert
4541 XapianSetPythonException to Xapian::SetPythonException, and
4542 export it. This is necessary to allow separately compiled
4543 extension modules to handle xapian errors appropriately.
4545 Thu Oct 09 09:53:39 GMT 2008 Olly Betts <olly@survex.com>
4547 * configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.
4549 Sun Sep 28 14:31:49 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4551 * python/pythontest2.py: Change test_value_mods() to test chert
4552 instead of flint, for extra regression test of recently fixed bug
4553 in chert, and fix doccomment for test function.
4555 Fri Sep 26 19:02:19 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4557 * python/pythontest2.py: Add a test of adding, modifying, and
4558 deleting values. This passed with flint (as committed), but
4559 fails currently if the test is changed to use chert.
4561 Fri Sep 26 04:54:39 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4563 * python/Makefile.am: Add testsuite2.py and testsuite3.py to
4566 Wed Sep 10 15:28:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4568 * python/generate-python-exceptions.in: Back out patch which added
4569 XapianDirectorException to work around exception mangling bug in
4570 swig, now that we're using a version of swig which has the bug
4573 Wed Sep 10 15:21:26 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4575 * ../swig: Update version of swig in use to current HEAD (swig
4576 revision 10831. Changes python import method to avoid giving a
4577 warning with the upcoming 2.6 release (and failing with 2.7 or
4578 later). Also includes a different fix for ticket #289, so we
4579 could back out our XapianDirectorException class now.
4581 No other significant changes in the generated files - several
4582 warning fixes, some rearrangement of the order of variable
4583 declarations, some removal of code which wasn't used anyway.
4585 Fri Sep 05 11:03:38 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4587 * python/pythontest2.py,python/pythontest3.py: Add test for
4588 get_uuid() (not really python specific, but I can't easily add
4589 this test to smoketest because it needs an on-disk database,
4590 which there's no infrastructure in smoketest to clean up).
4592 Fri Sep 05 09:59:02 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4594 * xapian.i: Add Database::get_uuid() to wrappers.
4596 Thu Sep 04 04:30:09 GMT 2008 Olly Betts <olly@survex.com>
4598 * NEWS: Sync with 1.0.8.
4600 Thu Sep 04 04:28:12 GMT 2008 Olly Betts <olly@survex.com>
4602 * configure.ac: Set version to 1.1.0.
4604 Wed Sep 03 06:17:11 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4606 * python/generate-python-exceptions.in: Use our own
4607 XapianDirectorException, to avoid the unwanted side effects of
4608 the default SWIG mechanism. Fixes ticket #289.
4609 * python/pythontest2.py,python/pythontest3.py: Add
4610 test_director_exception(), which tests the fix for ticket #289.
4612 Wed Sep 03 05:22:09 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4614 * python/util.i: Fix memory leaks in query constructor typemaps.
4615 Also, remove old, commented out, code which almost certainly had
4616 similar memory leaks - I don't think we're going to want this
4617 code, but if we do, rewriting it by copying the maintained and
4618 working code for the query constructor is less likely to lead to
4621 Mon Aug 04 05:06:46 GMT 2008 Olly Betts <olly@survex.com>
4623 * NEWS: Sync against 1.0.7 release.
4625 Wed Jul 30 01:13:43 GMT 2008 Olly Betts <olly@survex.com>
4627 * python/generate-python-exceptions.in: Fix tiny comment typo.
4629 Mon Jul 21 12:22:02 GMT 2008 Olly Betts <olly@survex.com>
4631 * configure.ac: Put the bug report URL as the third parameter to
4632 AC_INIT. Add proper m4 quoting in a few places (nowhere that
4633 should actually change behaviour). Use "dnl" comments in preference
4634 to "#" comments to help reduce the size of the configure script.
4636 Wed Jul 16 17:45:42 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4638 * python/: Rename test files to end with ...2.py, and add versions
4639 generated by 2to3 named ...3.py. (2to3 seems to be quite buggy
4640 still, so the generated versions need some hand editing after
4641 running it; in future, we should probably remove the ...3.py
4642 versions and just automatically generate them.)
4644 Thu Jul 10 10:47:50 GMT 2008 Olly Betts <olly@survex.com>
4646 * configure.ac: LT_PREREQ seems to need to be just before LT_INIT.
4648 Wed Jul 09 23:02:02 GMT 2008 Olly Betts <olly@survex.com>
4650 * Makefile.am: Revert dist-hook fix - that problem is caused by using
4651 libtool 1.5.x and we now require 2.2.x.
4652 * configure.ac: Add "LT_PREREQ([2.2.4])" to enforce this requirement.
4653 Use LT_INIT instead of now deprecated AC_PROG_LIBTOOL.
4655 Wed Jul 09 14:52:54 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4657 * Makefile.am: Add $(distdir) to directory names in dist-hook rule
4658 to make it actually work.
4660 Wed Jul 09 14:31:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4662 * Makefile.am: Add dist-hook rule to ensure that the m4 directory
4663 exists; if it doesn't, autoreconf reports "couldn't open
4666 Wed Jul 09 10:46:36 GMT 2008 Olly Betts <olly@survex.com>
4668 * configure.ac: The workaround to avoid probe code for F77, GCJ, and
4669 RC being added to configure is no longer required now that we're
4670 using libtool 2.2 so remove it.
4672 Wed Jul 09 10:30:16 GMT 2008 Olly Betts <olly@survex.com>
4674 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4675 java/Makefile.am,java/native/Makefile.am,php/Makefile.am,
4676 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: More changes
4677 neeed for --enable-quiet support.
4679 Wed Jul 09 10:19:38 GMT 2008 Olly Betts <olly@survex.com>
4681 * configure.ac: Replace AM_CONFIG_HEADER with the more modern
4684 Wed Jul 09 10:17:57 GMT 2008 Olly Betts <olly@survex.com>
4686 * Makefile.am,configure.ac: Add support for "--enable-quiet" like
4687 xapian-core and omega have.
4689 Wed Jul 09 10:14:47 GMT 2008 Olly Betts <olly@survex.com>
4691 * Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
4692 ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.
4694 Tue Jul 01 21:05:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4696 * python/pythontest.py,python/smoketest.py,python/testsuite.py:
4697 Fixes to make tests closer to being compatible with python 3.0.
4699 Mon Jun 30 19:56:48 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4701 * python/util.i: Fix #if PY_VERSION_HEX statements which aren't
4702 inside %{ %} to be %#if. Similarly for the corresponding #else
4705 Fri Jun 27 00:40:54 GMT 2008 Olly Betts <olly@survex.com>
4707 * NEWS: Update from ChangeLog and against 1.0 branch.
4709 Thu Jun 26 03:08:06 GMT 2008 Olly Betts <olly@survex.com>
4711 * csharp/docs/index.html,php/docs/index.html,python/docs/index.html,
4712 ruby/docs/index.html,tcl8/docs/index.html: Document all the database
4713 factory functions for all languages. Document the library version
4714 functions for all languages.
4716 Thu Jun 26 03:06:43 GMT 2008 Olly Betts <olly@survex.com>
4718 * java/native/: Make passing string from Java to C++ zero-byte safe.
4719 It doesn't appear to be simple to make C++ to Java work though.
4721 Thu Jun 26 00:47:16 GMT 2008 Olly Betts <olly@survex.com>
4723 * ruby/smoketest.rb: Update copyright notice for previous change.
4725 Thu Jun 26 00:02:30 GMT 2008 Olly Betts <olly@survex.com>
4727 * ruby/smoketest.rb: Test the version reporting functions.
4729 Wed Jun 25 21:35:49 GMT 2008 Olly Betts <olly@survex.com>
4731 * ruby/docs/index.html: Document how database factory functions are
4734 Wed Jun 25 21:06:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4736 * python/extra.i: Tidy up the documentation comments for
4739 Tue Jun 24 18:21:12 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4741 * python/doxy2swig.py.in: Adjust to be compatible with python 3.0.
4742 Fortunately, this can be done without breaking it for python 2.x.
4744 Sat Jun 14 23:35:34 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4746 * python/util.i: Fix previous commit - one of the pieces of
4747 conditional code was the wrong way round.
4749 Sat Jun 14 12:09:45 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4751 * python/util.i: Fixes for compilation with python 3.0;
4752 conditionally replace PyString_ methods with PyBytes_ methods.
4754 Mon Jun 02 11:55:23 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4756 * python/Makefile.am: Add modern/xapian_wrap.d to CLEANFILES in
4759 Mon Jun 02 11:54:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4761 * xapian.i: Add support for the new Database methods,
4762 get_value_freq(), get_value_lower_bound() and
4763 get_value_upper_bound().
4764 * python/pythontest.py: Add test of these methods.
4766 Sun Jun 01 15:13:07 GMT 2008 Olly Betts <olly@survex.com>
4768 * configure.ac: Update version to 1.0.7 to match 1.0 branch.
4770 Sun May 25 22:45:36 GMT 2008 Olly Betts <olly@survex.com>
4772 * NEWS: Update from ChangeLog and sync with 1.0 branch.
4774 Sun May 25 17:15:43 GMT 2008 Olly Betts <olly@survex.com>
4776 * xapian-head.i: Fix dummy Chert and Flint Database factory functions,
4777 used when Chert and/or Flint are disabled.
4779 Sat May 24 08:51:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4781 * python/pythontest.py: Rename one of the two test_postingsource()
4782 functions, so that they both get run!
4784 Thu May 22 11:53:23 GMT 2008 Olly Betts <olly@survex.com>
4786 * csharp/docs/index.html,php/docs/index.html,ruby/docs/index.html,
4787 tcl8/docs/index.html: The "program" version of Remote::open() *is*
4788 now wrapped, so update the documentation.
4790 Thu May 22 11:16:54 GMT 2008 Olly Betts <olly@survex.com>
4792 * python/docs/index.html: Fix typo (Database.synonym and synonym_begin
4793 should be synonyms and synonyms_begin).
4795 Thu May 22 11:07:24 GMT 2008 Olly Betts <olly@survex.com>
4797 * python/docs/index.html: The "program" version of Remote::open() *is*
4798 now wrapped, so update the documentation.
4800 Sun May 18 05:36:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4802 * python/docs/index.html: Update documentation of pythonic
4804 * python/extra.i: Correct documentation comment for
4805 Database.spellings().
4807 Thu May 15 09:00:26 GMT 2008 Olly Betts <olly@survex.com>
4809 * java-swig/Makefile.am: Remove SWIGTYPE_p_bool.java as it is no
4812 Thu May 15 08:11:04 GMT 2008 Olly Betts <olly@survex.com>
4814 * csharp/Makefile.am: Remove SWIGTYPE_p_bool.cs as it is no longer
4817 Mon May 12 06:51:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4819 * python/pythontest.py: Add test of ValueWeightPostingSource.
4821 Mon May 05 16:02:03 GMT 2008 Olly Betts <olly@survex.com>
4823 * php/except.i: Remove PHP4-specific stuff and tweak to maximise the
4824 amount of exception handling code which is in the helper function.
4825 Fix the copyright statements which were copied verbatim from
4826 xapian.i whereas the code here is all fairly recent.
4828 Mon May 05 11:03:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4830 * csharp/Makefile.am: Change names of generated files to match
4831 those made by new SWIG version.
4833 Mon May 05 11:58:45 BST 2008 Richard Boulton <richard@lemurconsulting.com>
4835 * ../swig: Update version of swig in use to current HEAD. Causes
4836 few changes other than whitespace to the generated bindings, but
4837 makes new features in swig (such as better support for reference
4838 counted pointers) available. Also only performs initialisation
4839 of swig wrapper once when there are multiple interpreters in use,
4840 which could possibly help a little with bug #185.
4842 Sat May 03 18:10:04 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4844 * configure.ac: Fix breakage introduced when I changed "print foo"
4845 to "print(foo)" - join strings in the print with + instead of ,.
4846 mingw builds can't have worked with this, though they may still
4849 Sat May 03 14:00:55 GMT 2008 Olly Betts <olly@survex.com>
4851 * xapian-bindings.spec.in: Remove "www." from xapian.org and
4852 oligarchy.co.uk URLs. Bump minimum required Python version to 2.3.
4854 Sat May 03 10:59:58 GMT 2008 Olly Betts <olly@survex.com>
4856 * configure.ac: Improve code which prevents probing for f77, etc.
4858 Fri May 02 17:24:17 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4860 * csharp/Makefile.am,guile/Makefile.am,java-swig/Makefile.am,
4861 php/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Seemed to work
4862 for python, so use SWIG's -MD flag for all the other swig targets
4865 Fri May 02 15:21:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4867 * python/Makefile.am: Use SWIG's -MD flag to generate dependencies.
4869 Fri May 02 15:21:22 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4871 * python/extra.i: Correct typo in comment.
4873 Mon Apr 28 17:07:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4875 * python/pythontest.py: Fix python test of PostingSource to include
4878 Mon Apr 28 02:31:42 GMT 2008 Olly Betts <olly@survex.com>
4880 * python/generate-python-exceptions.in: Mark PostingSource::reset() as
4883 Thu Apr 24 02:18:46 GMT 2008 Olly Betts <olly@survex.com>
4885 * configure.ac,generic/generic.mk: Back out the --swigheaders change.
4887 Thu Apr 24 01:55:25 GMT 2008 Olly Betts <olly@survex.com>
4889 * python/Makefile.am: Use "-rmdir" rather than "|| true" for
4892 Wed Apr 23 18:14:10 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4894 * python/pythontest.py: Remove references to "flint" from test
4895 database names (use "db_" instead). Add a simple test of the
4896 posting source stuff.
4898 Wed Apr 23 17:42:41 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4900 * python/Makefile.am: Give up on MKDIR_P, and just use "-test -d
4901 xapian || mkdir xapian" instead.
4903 Wed Apr 23 17:03:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4905 * python/Makefile.am: Use $(MKDIR_P) instead of @MKDIR_P@, as
4906 suggested by the automake documentation.
4908 Wed Apr 23 15:23:03 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4910 * debian/python-xapian.install,python/Makefile.am,python/xapian.pth,
4911 xapian-bindings.spec.in: Change way python bindings are installed
4912 again, hopefully more successfully this time. We found a problem
4913 with the .pth method on some systems, so instead we now put all
4914 the python files in a subdirectory called xapian/, but rename the
4915 xapian.py file to __init__.py (and similarly for the .pyc and
4916 .pyo files). This makes it into a python package, and seems to
4917 work well, and also hides the internal _xapian module from public
4920 Wed Apr 23 11:02:45 GMT 2008 Olly Betts <olly@survex.com>
4922 * csharp/Makefile.am,java-swig/Makefile.am,
4923 python/generate-python-exceptions.in,xapian.i: Only wrap
4924 PostingSource where we have directors. Fix up various issues
4927 Wed Apr 23 09:43:06 GMT 2008 Olly Betts <olly@survex.com>
4929 * README: Note Python 2.3 or later is required.
4931 Wed Apr 23 09:21:57 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4933 * configure.ac: Require python 2.3 or greater. 2.2 is essentially
4934 unsupported upstream.
4936 Wed Apr 23 08:39:18 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4938 * python/doxy2swig.py.in: Revert earlier change, since it would
4939 result in the bindings varying massively depending on the version
4940 of python in use at maintainer-build time, which doesn't seem
4941 helpful. python2.2 currently works with a non maintainer-mode
4942 build, so there's an easy workaround for the problem.
4944 Wed Apr 23 07:55:25 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4946 * xapian-bindings.spec.in: Update RPM .spec file to reflect the new
4947 location of the python packages, and the .pth file.
4949 Wed Apr 23 07:51:52 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4951 * debian/changelog,debian/patch,debian/python-xapian.install:
4952 Update debian packaging to remove the patch which is currently
4953 applied (since it's included in HEAD now), and to get the python
4954 packages from the new locations (and include the .pth file).
4956 Wed Apr 23 07:38:20 GMT 2008 Olly Betts <olly@survex.com>
4958 * xapian.i: Use "%include <xapian/query.h>" to wrap Xapian::Query so
4959 we automatically pick up new features (in this case, the new
4960 PostingSource constructor).
4962 Wed Apr 23 03:41:28 GMT 2008 Olly Betts <olly@survex.com>
4964 * Makefile.am,csharp/Makefile.am,java-swig/Makefile.am,
4965 tcl8/docs/index.html,xapian-head.i,xapian.i: Split the header chunk
4966 of xapian.i out into xapian-head.i. Remove lingering references to
4969 Wed Apr 23 02:47:00 GMT 2008 Olly Betts <olly@survex.com>
4971 * python/extra.i: Update comment.
4973 Wed Apr 23 00:25:46 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4975 * python/doxy2swig.py.in: Fix build with --enable-maintainer-mode
4976 and python 2.2, by providing fallback for the "textwrap" module,
4977 which isn't present by default in 2.2.
4979 Wed Apr 23 00:15:21 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4981 * python/Makefile.am,python/xapian.pth: Change installation
4982 location for the python bindings to use a "xapian" subdirectory
4983 to hold the files, and use a "xapian.pth" file to ensure that the
4984 contents of this directory are on the path. Seems to be the more
4985 usual way to install python extensions these days, and matches
4986 the way we need to install on windows.
4988 Tue Apr 22 16:16:55 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
4990 * php/smoketest.php,php/smoketest5.php: Add test that VALUE_GE
4993 Thu Apr 17 22:54:37 GMT 2008 Olly Betts <olly@survex.com>
4995 * tcl8/Makefile.am: Remove bogus "../" from tcllibdir.
4997 Thu Apr 17 05:41:21 GMT 2008 Olly Betts <olly@survex.com>
4999 * configure.ac: Add missing m4 quoting so that TCL_LIB is correctly
5002 Tue Apr 15 09:38:07 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5004 * python/docs/index.html,python/extra.i,python/pythontest.py:
5005 Remove the deprecated legacy support for the sequence API on
5008 Mon Apr 14 07:18:50 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5010 * python/extra.i,xapian.i: Add support for
5011 Database.metadata_keys_begin() and Database.metadata_keys_end().
5012 For python, these are wrapped as simply "metadata_keys()".
5013 * python/pythontest.py: Test Database.metadata_keys().
5015 Mon Apr 07 07:28:14 GMT 2008 Olly Betts <olly@survex.com>
5017 * README: Note that Tcl 8.3 and earlier are no longer supported by
5020 Tue Apr 01 04:27:43 GMT 2008 Olly Betts <olly@survex.com>
5022 * java/native/Makefile.am,python/Makefile.am,ruby/Makefile.am: Use
5023 the libtool -shrext option to specify a different module extension
5024 rather than our own ugly bodge.
5026 Mon Mar 31 02:10:22 GMT 2008 Olly Betts <olly@survex.com>
5028 * php/smoketest.php: Remove stray extra blank line.
5030 Fri Mar 28 10:18:27 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5032 * configure.ac: Bump version number to 1.0.6 to match xapian-core.
5034 Fri Mar 28 00:22:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5036 * xapian.i: Modify wrapping of get_mset() to match the new
5037 definitions in xapian/enquire.h (though this shouldn't change
5038 user-visible behaviour in the bindings). Also, allow a
5039 mdecider (and matchspy) parameter to be passed even for languages
5040 which don't have director support, now that we have a built-in
5041 match decider. Also, wrap valuesetmatchdecider.h, so that the
5042 built-in match decider defined there can be used.
5043 * php/smoketest.php,python/pythontest.py: Add tests that
5044 ValueSetMatchDecider works in python and PHP.
5046 Wed Mar 19 01:02:21 GMT 2008 Olly Betts <olly@survex.com>
5048 * ruby/docs/Makefile.am: Ship simplematchdecider.rb.
5049 * tcl8/docs/Makefile.am: Ship simpleexpand.tcl.
5051 Wed Mar 12 09:01:04 GMT 2008 Olly Betts <olly@survex.com>
5053 * java-swig/: Remove Quartz.* from svn:ignore.
5055 Wed Mar 12 08:59:30 GMT 2008 Olly Betts <olly@survex.com>
5057 * python/Makefile.am: Clean up libtoolconfig.tmp after use.
5059 Wed Mar 12 08:57:55 GMT 2008 Olly Betts <olly@survex.com>
5061 * README,configure.ac,php/Makefile.am,php/docs/Makefile.am,
5062 php/docs/examples/simpleexpand.php4,
5063 php/docs/examples/simpleindex.php4,
5064 php/docs/examples/simplesearch.php4,php/docs/index.html,
5065 php/smoketest4.php,php/util.i,xapian-bindings.spec.in,xapian.i:
5066 Remove PHP4 support.
5068 Wed Mar 12 08:29:06 GMT 2008 Olly Betts <olly@survex.com>
5070 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/util.i,
5071 java-swig/Makefile.am,java-swig/SmokeTest.java,
5072 java/native/Enquire.cc,java/native/Query.cc,
5073 java/native/org_xapian_XapianJNI.h,java/org/xapian/Enquire.java,
5074 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,php/util.i,
5075 python/,ruby/util.i,ruby/xapian.rb,xapian.i: Remove all deprecated
5076 features slated for removal in 1.1.0.
5078 Tue Mar 11 20:32:26 GMT 2008 Olly Betts <olly@survex.com>
5080 * java-swig/util.i: Xapian::weight::clone() collides with Java's
5081 Object.clone(), so rename to cloneWeight(). Wrap Xapian::valueno
5082 as Java type int to avoid a conflict with SWIG/Java's machinery.
5084 Tue Mar 11 04:51:00 GMT 2008 Olly Betts <olly@survex.com>
5086 * java-swig/Makefile.am: Add MultiValueSorter.java, Sorter.java, and
5087 TermGenerator$flags.class.
5089 Wed Mar 05 22:36:46 GMT 2008 Olly Betts <olly@survex.com>
5091 * NEWS: Update to HEAD with un-backported changes kept separate.
5093 Wed Mar 05 21:30:13 GMT 2008 Olly Betts <olly@survex.com>
5095 * NEWS: Update to 1.0 branch point.
5097 Sun Feb 24 11:02:44 GMT 2008 Olly Betts <olly@survex.com>
5099 * java-swig/Makefile.am,php/Makefile.am,ruby/Makefile.am,
5100 tcl8/Makefile.am: Minor comment correction (we only remove a single
5103 Sun Feb 24 01:11:25 GMT 2008 Olly Betts <olly@survex.com>
5105 * configure.ac,python/Makefile.am: The Python module now has the
5106 extension which Python expects, which fixes a failure on Mac OS X.
5107 PYTHON_PATHSEP is no longer required.
5109 Sat Feb 23 23:09:05 GMT 2008 Olly Betts <olly@survex.com>
5111 * configure.ac: Correct SWIG version in error message.
5113 Thu Feb 21 00:28:20 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5115 * configure.ac,generic/generic.mk: Use the new --swigheaders option
5116 in xapian-config to get the list of header files for the core,
5117 and add all of these as a dependency for the rules to run swig.
5118 This is currently an overly inclusive dependency, but it's hard
5119 to keep track of exactly which header files are being included,
5120 and the plan is to eventually include all of them.
5122 Mon Jan 28 11:52:59 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5124 * xapian.i: Ignore various unwanted bits of DatabaseReplica.
5126 Mon Jan 28 03:22:43 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5128 * xapian.i: Include replication.h in the bindings.
5130 Wed Jan 09 22:41:24 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5132 * csharp/Makefile.am: Add MultiValueSorter.cs to
5133 XAPIAN_SWIG_CS_SRCS so that it gets cleaned up correctly.
5134 * xapian.i: Put OP_VALUE_GE and OP_VALUE_LE in the right place in
5135 the enum, so that they get the right values in language bindings.
5137 Wed Jan 09 22:00:15 GMT 2008 Richard Boulton <richard@lemurconsulting.com>
5139 * xapian.i: Add OP_VALUE_GE and OP_VALUE_LE to Query, and add
5140 constructor which they are used with.
5142 Sun Dec 23 03:29:32 GMT 2007 Olly Betts <olly@survex.com>
5144 * configure.ac: Sort out the default value of TCL_LIB, which could
5145 end up being under /usr/share in 1.0.4 and 1.0.5.
5147 Sat Dec 22 18:25:19 GMT 2007 Olly Betts <olly@survex.com>
5149 * php/smoketest.php: Add note that this script should be run using
5150 'make check' in the build tree (rather than trying to copy it to
5151 a webserver as someone recently tried to).
5153 Sat Dec 22 18:24:05 GMT 2007 Olly Betts <olly@survex.com>
5155 * php/smoketest.php: Fix to work under PHP4.
5157 Sat Dec 22 04:32:39 GMT 2007 Olly Betts <olly@survex.com>
5159 * ruby/docs/Makefile.am: We need a custom install-data-local rule to
5160 get the rdocs subdirectory installed (and a corresponding
5161 uninstall-local rule to uninstall it).
5163 Fri Dec 21 18:14:06 GMT 2007 Olly Betts <olly@survex.com>
5165 * NEWS: Too late for the 1.0.5 release, but reword the Python GIL fix
5166 description in terms of user-visible API.
5168 Fri Dec 21 02:14:35 GMT 2007 Olly Betts <olly@survex.com>
5170 * NEWS: Bump release date.
5172 Wed Dec 19 03:46:09 GMT 2007 Olly Betts <olly@survex.com>
5174 * NEWS,configure.ac: Update for 1.0.5.
5176 Wed Dec 19 01:18:58 GMT 2007 Olly Betts <olly@survex.com>
5178 * configure.ac: If rdoc isn't found, set RDOC="$MISSING rdoc" so the
5179 user gets a better error if make tries to build the RDocs.
5181 Wed Dec 19 00:34:45 GMT 2007 Olly Betts <olly@survex.com>
5185 Tue Dec 18 18:58:36 GMT 2007 Olly Betts <olly@survex.com>
5187 * php/smoketest.php: Add feature test to ensure that optional
5188 arguments to XapianQuery's "term" constructor are wrapped.
5189 * xapian.i: Remove comment "FIXME wrap optional arguments in PHP?"
5190 referring to XapianQuery's "term" constructor as they are already
5193 Mon Dec 17 21:02:38 GMT 2007 Olly Betts <olly@survex.com>
5195 * php/Makefile.am,python/Makefile.am: Having moved the directory
5196 creation out of the locked region, we now need to ignore errors
5197 from 'test -d DIR || mkdir DIR' as two make processes might try
5198 to create the directory at the same time.
5200 Fri Dec 14 10:43:03 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5202 * php/Makefile.am,python/Makefile.am: Ensure that the directories
5203 that stamp files will be placed in exist before calling
5204 $(multitarget_begin). Fixes compilation failures in clean trees.
5206 Thu Dec 13 01:58:58 GMT 2007 Olly Betts <olly@survex.com>
5208 * configure.ac: Improve the clarity of the error given when none
5209 of the tools neeed for any supported language are found.
5211 Thu Dec 13 01:50:17 GMT 2007 Olly Betts <olly@survex.com>
5213 * configure.ac,ruby/Makefile.am: Fix the Ruby module's extension so it
5216 Thu Dec 13 01:14:29 GMT 2007 Olly Betts <olly@survex.com>
5218 * csharp/Makefile.am,generic/generic.mk,java-swig/Makefile.am,
5219 php/Makefile.am,python/Makefile.am,ruby/Makefile.am: Factor
5220 out the code to lock multitarget rules against parallel make,
5221 and fix it to handle the source being changed while the rule
5222 is executing, and to correct return an error code if we fail
5223 while trying to recover from the removal of a target of a
5226 Thu Dec 13 01:04:04 GMT 2007 Olly Betts <olly@survex.com>
5228 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_key().
5230 Wed Dec 12 02:22:58 GMT 2007 Olly Betts <olly@survex.com>
5232 * NEWS: Update from ChangeLog in preparation for 1.0.5.
5234 Tue Dec 11 15:09:37 GMT 2007 Olly Betts <olly@survex.com>
5236 * ruby/docs/Makefile.am: Fix rule to build rdocs.
5238 Tue Dec 11 01:33:23 GMT 2007 Olly Betts <olly@survex.com>
5240 * configure.ac,ruby/docs/Makefile.am: Run "rdoc" to generate the
5241 Ruby-specific API documentation which ruby/docs/index.html has
5242 a (previously dead) link to.
5243 * ruby/xapian.rb: Tweak ":nodoc:" directive so rdoc recognises it.
5245 Thu Nov 29 02:48:06 GMT 2007 Olly Betts <olly@survex.com>
5247 * php/: Add test for XapianMultiValueSorter.
5249 Thu Nov 29 02:47:17 GMT 2007 Olly Betts <olly@survex.com>
5251 * xapian.i: Wrap Enquire::set_sort_by_key() and
5252 Enquire::set_sort_by_key_then_relevance().
5254 Thu Nov 29 02:06:10 GMT 2007 Olly Betts <olly@survex.com>
5256 * php/smoketest5.php: Fix use of Database_get_document to new style OO
5257 interface. Fix error string when the PHP5 exception test fails.
5259 Wed Nov 28 20:17:09 GMT 2007 Olly Betts <olly@survex.com>
5261 * csharp/Makefile.am,python/generate-python-exceptions.in,xapian.i:
5262 Wrap Xapian::Sorter and subclasses.
5264 Wed Nov 28 19:19:08 GMT 2007 Olly Betts <olly@survex.com>
5266 * ruby/Makefile.am: SWIG has accepted -initname in at least one
5267 released version, so switch to using it instead of the now
5268 deprecated -feature option.
5270 Wed Nov 28 11:17:40 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5272 * python/util.i: Don't drop the GIL when calling
5273 Xapian_MSet_items_get() and Xapian_ESet_items_get() - these
5274 methods build a python list, and return a PyObject, so it's not
5275 safe to do so, and doing so may cause undefined behaviour in
5276 multithreaded environments.
5278 Wed Nov 28 00:52:46 GMT 2007 Olly Betts <olly@survex.com>
5280 * configure.ac: Change remaining uses of "print" in python to bracket
5283 Wed Nov 28 00:50:41 GMT 2007 Olly Betts <olly@survex.com>
5285 * java-swig/Makefile.am,java/Makefile.am: Check for directory
5286 existence rather than calling mkdir unconditionally as despite the
5287 "(ignored)", the error message seems to confuse some people.
5289 Tue Nov 27 22:34:11 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5291 * configure.ac: Change "print foo" to "print(foo)" in python
5292 version checks, for compatibility with python 3.0.
5294 Tue Nov 27 03:08:51 GMT 2007 Olly Betts <olly@survex.com>
5296 * configure.ac: Log the output of trying to compile conftest.java in
5297 config.log; if the test fails, report whether the failure was
5298 compiling or running the test program.
5300 Tue Nov 20 01:04:31 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
5302 * java/native/xapian_jni.h: Add include of <cstring> to fix
5303 compile error with gcc-4.3 snapshot.
5305 Fri Nov 16 15:58:57 GMT 2007 Olly Betts <olly@survex.com>
5307 * configure.ac: Update error message to reflect requirement for at
5310 Fri Nov 16 15:57:53 GMT 2007 Olly Betts <olly@survex.com>
5312 * configure.ac: SWIG 1.3.32 has now been released, so require at least
5313 this released version.
5315 Tue Nov 06 12:34:00 GMT 2007 Olly Betts <olly@survex.com>
5317 * java/org/xapian/Makefile.am: No need to set SUFFIXES manually for
5318 suffixes used in implicit rules.
5320 Sat Nov 03 01:07:39 GMT 2007 Olly Betts <olly@survex.com>
5322 * csharp/docs/index.html: Improve wording.
5324 Fri Nov 02 20:31:55 GMT 2007 Olly Betts <olly@survex.com>
5326 * tcl8/docs/index.html: Update documentation to cover flint and that
5327 quartz is now deprecated.
5329 Fri Nov 02 20:15:19 GMT 2007 Olly Betts <olly@survex.com>
5331 * tcl8/except.i: Remove code to handle `const char *' exceptions - as
5332 of 1.0.0 the QueryParser throws QueryParserError instead.
5334 Fri Nov 02 02:16:32 GMT 2007 Olly Betts <olly@survex.com>
5336 * configure.ac: Overhaul code to find tcl.h. The old way no longer
5337 worked with Debian unstable.
5339 Tue Oct 30 05:00:42 GMT 2007 Olly Betts <olly@survex.com>
5341 * NEWS: The GUARD macro I fixed in SWIG/Python isn't actually used by
5342 Xapian so remove the NEWS item about it.
5344 Tue Oct 30 04:56:13 GMT 2007 Olly Betts <olly@survex.com>
5346 * NEWS,configure.ac: Update for 1.0.4.
5348 Mon Oct 29 18:35:09 GMT 2007 Olly Betts <olly@survex.com>
5352 Mon Oct 29 17:15:20 GMT 2007 Olly Betts <olly@survex.com>
5354 * python/docs/index.html: Promote the Pythonic iterators more
5355 and deprecate the non-pythonic iterators. Make it clearer
5356 that the "sequence API" is deprecated.
5358 Mon Oct 29 16:50:28 GMT 2007 Olly Betts <olly@survex.com>
5360 * python/docs/index.html: Fix typo.
5362 Mon Oct 29 02:54:53 GMT 2007 Olly Betts <olly@survex.com>
5364 * NEWS,csharp/Makefile.am,python/extra.i,python/pythontest.py,
5365 python/util.i,xapian.i: Back out match spy changes in preparation
5366 for creating a branch for them.
5368 Sat Oct 27 06:05:56 BST 2007 Olly Betts <olly@survex.com>
5370 * csharp/SmokeTest.cs,ruby/smoketest.rb,tcl8/smoketest.tcl: Update for
5371 changed output for Query::get_description() for OP_SCALE_WEIGHT.
5373 Sat Oct 27 06:03:53 BST 2007 Olly Betts <olly@survex.com>
5375 * php/smoketest.php: Update for changed output for
5376 Query::get_description() for OP_SCALE_WEIGHT.
5378 Sat Oct 27 06:01:13 BST 2007 Olly Betts <olly@survex.com>
5382 Fri Oct 26 18:10:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5384 * python/docs/examples/simpleexpand.py,
5385 python/docs/examples/simplematchdecider.py,
5386 python/docs/examples/simplesearch.py: Change from using the
5387 old-style MSET_* constants to access the mset item values to the
5388 new-style attribute based method.
5390 Fri Oct 26 17:56:32 BST 2007 Olly Betts <olly@survex.com>
5392 * python/docs/index.html: Document MSET_DOCUMENT.
5394 Fri Oct 26 01:08:50 BST 2007 Olly Betts <olly@survex.com>
5396 * python/: Add xapian.pyo to svn:ignore.
5398 Fri Oct 26 01:04:47 BST 2007 Olly Betts <olly@survex.com>
5400 * python/smoketest.py: Update for changed output from
5401 Query::get_description().
5403 Thu Oct 25 18:11:40 BST 2007 Olly Betts <olly@survex.com>
5405 * php/Makefile.am: The php4 and php5 .cc and .h files are no longer
5406 identical so don't bother carefully interleaving them as it doesn't
5407 help the tarball compress better now.
5408 * php/Makefile.am: Use $(datadir) instead of $(datarootdir) so that
5409 the RPM spec file works with older versions of autoconf.
5411 Tue Oct 23 16:19:15 BST 2007 Olly Betts <olly@survex.com>
5413 * csharp/docs/Makefile.am,php/docs/Makefile.am,python/docs/Makefile.am,
5414 ruby/docs/Makefile.am,tcl8/docs/Makefile.am: Update for the
5415 bindings.html -> index.html change.
5417 Tue Oct 23 16:18:09 BST 2007 Olly Betts <olly@survex.com>
5419 * python/util.i: Fix warning with Python <= 2.4 and GCC >= 4.2.
5421 Mon Oct 22 22:45:08 BST 2007 Olly Betts <olly@survex.com>
5423 * csharp/docs/bindings.html,php/docs/bindings.html,
5424 python/docs/bindings.html,ruby/docs/bindings.html,
5425 tcl8/docs/bindings.html: Rename 'bindings.html' to 'index.html'.
5427 Mon Oct 22 22:34:42 BST 2007 Olly Betts <olly@survex.com>
5429 * python/docs/bindings.html: "character set" -> "character encoding".
5431 Wed Oct 17 00:49:39 BST 2007 Olly Betts <olly@survex.com>
5433 * NEWS: Update with changes due to using a newer SWIG SVN snapshot.
5435 Tue Oct 09 22:14:03 BST 2007 Olly Betts <olly@survex.com>
5439 Tue Oct 09 22:01:57 BST 2007 Olly Betts <olly@survex.com>
5441 * php/util.i: For PHP4, wrap Xapian::sortable_serialise() as
5442 xapian_sortable_serialise() and Xapian::sortable_unserialise() as
5443 xapian_sortable_unserialise().
5444 * php/docs/bindings.html: Document how non-class functions are
5447 Tue Oct 09 00:00:53 BST 2007 Olly Betts <olly@survex.com>
5449 * php/: Fix wrapping of NumberValueRangeProcessor for PHP4 - SWIG
5450 sees the Xapian::v102 namespace, but doesn't understand the
5451 "using" directive. Also split the regression test for bug#193
5452 into separate versions for PHP4 and PHP5 as the previous version
5453 only worked for PHP5.
5455 Sun Oct 07 19:47:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5457 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5458 php/smoketest5.php,python/pythontest.py,python/smoketest.py,
5459 ruby/smoketest.rb,tcl8/smoketest.tcl,xapian.i: Update for the
5460 change from OP_MULT_WEIGHT to OP_SCALE_WEIGHT.
5462 Mon Oct 01 00:38:21 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5464 * csharp/SmokeTest.cs,php/smoketest.php,php/smoketest4.php,
5465 php/smoketest5.php,python/smoketest.py,ruby/smoketest.rb,
5466 tcl8/smoketest.tcl: Add tests for OP_MULT_WEIGHT and
5467 corresponding constructor to smoketests.
5470 Sun Sep 30 23:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5472 * xapian.i: Add OP_MULT_WEIGHT, and the new constructor needed to
5474 * python/pythontest.py: Add simple test of OP_MULT_WEIGHT feature,
5475 and a more involved test which uses the value of
5476 MSet.get_max_possible() from an initial query to get the factor
5477 necessary to normalise the weights from a subquery, and then uses
5478 this factor in a second query with OP_MULT_WEIGHT.
5481 Sun Sep 30 21:16:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5483 * csharp/Makefile.am,python/extra.i,python/pythontest.py,
5484 python/util.i,xapian.i: Re-apply changes which needed more
5485 thought or more work before being included in a release.
5486 * NEWS: Update with current descriptions of these changes.
5488 Sat Sep 29 01:29:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5490 * ruby/smoketest.rb: Change name of test for metadata to avoid
5491 collision with matchdecider test (and to be correctly
5494 Fri Sep 28 18:33:09 BST 2007 Olly Betts <olly@survex.com>
5496 * NEWS: Update for 1.0.3.
5498 Fri Sep 28 18:06:58 BST 2007 Olly Betts <olly@survex.com>
5500 * INSTALL,configure.ac: Allow the user to specify TCL_LIB=... on the
5501 configure command line to override autodetection.
5502 * Makefile.am: Automatically set up DISTCHECK_CONFIGURE_FLAGS so that
5503 "make distcheck" passes without user intervention, and remove the
5504 now redundant EXTRADISTCHECK_CONFIGURE_FLAGS variable.
5505 * INSTALL: Remove documentation for EXTRADISTCHECK_CONFIGURE_FLAGS.
5506 * INSTALL: Fix cut-and-paste error - the documentation for how to
5507 install the tcl module without root access suggested installing them
5508 in a directory named "my-python-modules"!
5510 Fri Sep 28 13:48:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5512 * python/smoketest.py: Test behaviour of empty metadata keys.
5514 Fri Sep 28 13:18:34 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5516 * csharp/SmokeTest.cs,ruby/smoketest.rb: Add tests for metadata
5519 Fri Sep 28 13:08:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5521 * xapian.i: Add support for get_metadata() and set_metadata() to
5523 * php/smoketest.php,python/smoketest.py: Add simple tests of
5526 Fri Sep 28 03:54:19 BST 2007 Olly Betts <olly@survex.com>
5528 * configure.ac: Update for 1.0.3. Use ustar format for tarball since
5529 we have to for xapian-core anyway.
5531 Fri Sep 28 03:46:22 BST 2007 Olly Betts <olly@survex.com>
5533 * csharp/Makefile.am,python/extra.i,python/pythontest.py,python/util.i,
5534 xapian.i: Back out changes for 1.0.3 corresponding to changes backed
5535 out for xapian-core.
5537 Fri Sep 28 03:43:56 BST 2007 Olly Betts <olly@survex.com>
5539 * csharp/util.i: Ignore ValueRangeProcessor::operator(), since
5540 we don't usefully wrap it at present.
5542 Fri Sep 28 03:38:22 BST 2007 Olly Betts <olly@survex.com>
5544 * configure.ac: Fix reversed sense tests for user overrides of
5545 RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH.
5547 Wed Sep 26 11:50:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5549 * python/testsuite.py: Add a "runonly" parameter to runtests(),
5550 allowing the set of tests to run to be specified.
5551 * python/pythontest.py: Use any commandline arguments to populate
5552 the "runonly" parameter, allowing the tests to run to be
5553 specified on the command line.
5555 Fri Sep 21 16:47:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5557 * python/docs/bindings.html: Suggest using Python version 2.4 or
5558 later if using mod-python: apparently, even with the
5559 "PythonInterpreter main_interpreter" workaround, mod-python gets
5560 into a deadlock with Xapian with Python 2.3.
5562 Wed Sep 19 16:11:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5564 * python/docs/bindings.html: Add documentation for python
5565 implementations of ValueRangeProcessors.
5567 Wed Sep 19 16:06:18 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5569 * python/pythontest.py,python/util.i: Implement conversion of the
5570 return value from ValueRangeProcessor subclasses implemented in
5571 Python from a tuple, so that such subclasses can change the
5572 values of begin and end.
5574 Wed Sep 19 14:11:22 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5576 * xapian.i: Add director directive for Xapian::ValueRangeProcessor,
5577 to allow implementations in the target language, where directors
5579 * python/generate-python-exceptions.in: Copy workaround for thread
5580 handling stuff for ValueRangeProcessor::operator().
5581 * python/pythontest.py: Add test_queryparser_custom_vrp() for
5582 ValueRangeProcessors implemented in Python, and clean up some of
5583 the other tests slightly.
5585 Wed Sep 19 00:46:31 BST 2007 Olly Betts <olly@survex.com>
5587 * python/util.i: Fix typo in comment.
5589 Tue Sep 18 19:59:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5591 * python/docs/bindings.html: Document the return value of
5592 ValueRangeProcessor.__call__()
5594 Tue Sep 18 19:42:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5596 * python/util.i,python/extra.i: Add support for
5597 ValueRangeProcessor.operator(); this is messy because we need to
5598 make special argout typemaps, and the parameter names (begin and
5599 end) are used for arguments of type "std::string&" elsewhere -
5600 therefore, we have to extend ValueRangeProcessor with a new
5601 __call() method with uniquely named arguments, and then override
5602 the original __call__ method with this (in the python code).
5603 ValueRangeProcessor.__call__() now returns a 3-tuple, (slotnum,
5604 begin, end) - previously, it always failed with a type error, so
5605 this won't break existing code. Fixes bug #193 for Python.
5606 * python/smoketest.py: Add test for DateValueRangeProcessor() when
5607 used in a query parser, a regression test for bug #193 (using a
5608 NumberValueRangeProcessor), and some other regression tests from
5611 Tue Sep 18 04:16:54 BST 2007 Olly Betts <olly@survex.com>
5613 * php/smoketest.php: Use single quotes for string with $ in.
5615 Tue Sep 18 04:09:55 BST 2007 Olly Betts <olly@survex.com>
5617 * php/smoketest.php: Add feature test for DateValueRangeProcessor
5618 when used with QueryParser.
5619 * php/smoketest.php: Add regression test for bug#193 which is fixed
5622 Tue Sep 18 04:03:11 BST 2007 Olly Betts <olly@survex.com>
5624 * php/util.i: Remove typemap for std::string which is no longer needed
5625 since SWIG now has the same version.
5627 Sun Sep 16 20:46:48 BST 2007 Olly Betts <olly@survex.com>
5629 * python/Makefile.am: Need to clean up testsuite.pyc too.
5631 Sun Sep 16 12:17:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5633 * java/native/Makefile.am: Change $(jnilib) to $(jnidir) in
5634 uninstall-local rule - there's no such variable as jnilib, so I
5635 think this was a typo.
5637 Sun Sep 16 04:26:02 BST 2007 Olly Betts <olly@survex.com>
5639 * java/org/xapian/Makefile.am: Rewrite comment I can't parse. Rename
5640 INNERCLASS_FILES to XAPIAN_INNER_CLASS_FILES for consistency.
5642 Sun Sep 16 04:22:16 BST 2007 Olly Betts <olly@survex.com>
5644 * java/native/org_xapian_XapianJNI.h,java/org/xapian/Xapian.java,
5645 java/org/xapian/XapianJNI.java: Remove wrappers for the Muscat36
5646 backend, which has now been dropped from the C++ library.
5648 Sun Sep 16 04:03:30 BST 2007 Olly Betts <olly@survex.com>
5650 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5651 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Restore the
5652 install-data-hook rules, and add uninstall-local rules so that
5653 "make uninstall" works (which also allows it to work for java on
5656 Sun Sep 16 00:00:27 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5658 * java/org/xapian/Makefile.am: Add list of files generated from
5659 inner classes to CLEANFILES. (Don't add them to noinst_DATA
5660 because there's no obvious rule which generates them, and adding
5661 them to noinst_DATA would make them prerequisites for the
5664 Sat Sep 15 23:39:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5666 * java-swig/Makefile.am,java/native/Makefile.am,php/Makefile.am,
5667 python/Makefile.am,ruby/Makefile.am,tcl8/Makefile.am: Remove
5668 install-data-hook rules which removed the installed .la files -
5669 these are needed for "make uninstall" to work (and hence, also
5670 for make distcheck to work).
5672 Sat Sep 15 23:13:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5674 * Makefile.am: Add support for a user-specified
5675 "EXTRADISTCHECK_CONFIGURE_FLAGS" variable, used to pass extra
5676 DISTCHECK_CONFIGURE_FLAGS to make to be passed to the configure
5677 run in distcheck. Users can't just set DISTCHECK_CONFIGURE_FLAGS
5678 because this would override the default value (which sets
5679 XAPIAN_CONFIG): unlike the more common options, there doesn't
5680 seem to be an AM_DISTCHECK_CONFIGURE_FLAGS variable for the
5682 * INSTALL: Document use of EXTRADISTCHECK_CONFIGURE_FLAGS.
5684 Tue Sep 04 02:47:17 BST 2007 Olly Betts <olly@survex.com>
5686 * php/docs/bindings.html: Fix errors in example code.
5688 Sun Aug 26 16:12:49 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5690 * csharp/Makefile.am: Fix changed assembly name, to match change in
5691 type of result of MatchSpy::get_values()
5693 Sun Aug 26 16:07:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5695 * python/util.i: Change size_t to Xapian::doccount in
5696 value_map_to_dict, to match ValueCountMatchSpy::get_values().
5697 Fixes compilation on atreus (and hopefully other 64 bit systems).
5699 Sat Aug 25 17:09:33 BST 2007 Olly Betts <olly@survex.com>
5701 * php/smoketest.php: Add regression test for bug#192.
5703 Fri Aug 24 12:13:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5705 * README,python/docs/bindings.html: Add a note about the problems
5706 with mod-python, as described in bug #185.
5708 Thu Aug 23 23:10:16 BST 2007 Olly Betts <olly@survex.com>
5710 * configure.ac: Check for RUBY_INC, RUBY_LIB, and RUBY_LIB_ARCH in the
5711 environment. The defaults for RUBY_LIB and RUBY_LIB_ARCH are now
5712 the site-specific directories (which is more correct when building
5713 from source - debian packages, etc can override this by setting
5714 RUBY_LIB and RUBY_LIB_ARCH).
5715 * INSTALL: Update the instructions for installing Ruby bindings
5716 without root access to use RUBY_LIB and RUBY_LIB_ARCH.
5718 Fri Aug 03 20:13:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5720 * python/util.i: Extend StringListUnserialiser to support the same
5721 comparison operators as other iterator wrapping classes.
5723 Fri Aug 03 20:12:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5725 * xapian.i: Add %ignore and %extend commands to wrap the
5726 StringListUnserialiser iterator properly.
5728 Tue Jul 17 13:21:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5730 * python/pythontest.py: Add test of TermCountMatchSpy.get_top_terms().
5732 Tue Jul 17 12:31:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5734 * python/extra.i: Add workaround to keep a python reference to any
5735 match deciders supplied to MultipleMatchDecider, to ensure they
5736 don't get deleted too soon.
5737 * python/pythontest.py: Add test of MultipleMatchDecider.
5739 Tue Jul 17 11:30:58 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5741 * python/pythontest.py: Remove test of get_most_frequent_items() which
5742 is no longer a public function.
5743 * python/util.i: Update comments.
5745 Sat Jul 14 00:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5747 * csharp/Makefile.am: Add new generated source files to build.
5749 Sat Jul 14 00:23:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5751 * python/extra.i,python/util.i: Instead of convering the output of
5752 ValueCountMatchSpy::get_values() to a dict, add a separate method
5753 get_values_as_dict() which returns a dict(), and leave
5754 get_values() returning a C object, which can then be passed to
5755 get_most_frequent_items(). Similarly for
5756 TermCountMatchSpy::get_terms_as_dict(). Adjust argout typemap for
5757 return of old class "ValueAndFreqnecy" to use new name
5758 "StringAndFrequency".
5759 * python/pythontest.py: Convert old test of TopValueMatchSpy to
5760 test ValueCountMatchSpy and TermCountMatchSpy.
5762 Thu Jul 12 07:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5764 * python/util.i: Change some error handling to use SWIG_fail
5765 instead of "return NULL" - allows any cleanup code that SWIG adds
5766 to be called (no functional change in the generated code at
5767 present). Add typemaps to convert the output of
5768 ValueCountMatchSpy::get_values() into a dict, and the output of
5769 TopValueMatchSpy::get_top_values() into a list.
5770 * python/pythontest.py: Add tests for the matchspies (though not
5771 with an actual search - the tests just simulate the matchspies
5772 being called with some documents).
5774 Sat Jul 07 11:09:25 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5776 * xapian-bindings.spec.in: Update from Fabrice Colin: packages
5777 xapian.php, and replaces references to /usr/share with
5780 Thu Jul 05 21:01:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5782 * xapian.i: Wrap MatchDecider even for languages which don't
5783 support directors, since there's a C++ subclass of it now so it's
5786 Thu Jul 05 18:24:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5788 * xapian.i: %include matchspy.h - doesn't seem to need any
5791 Thu Jul 05 15:33:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5793 * python/pythontest.py: Delete the database handles before deleting
5794 a database - hopefully, this will fix problems on windows (bug
5797 Thu Jul 05 00:55:15 BST 2007 Olly Betts <olly@survex.com>
5799 * NEWS: Final update for 1.0.2.
5801 Wed Jul 04 21:21:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5803 * NEWS: Update with release date for release 1.0.2
5805 Wed Jul 04 20:42:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5807 * configure.ac: Bump version to 1.0.2.
5809 Wed Jul 04 19:52:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5813 Wed Jul 04 19:51:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5815 * xapian.i: Add the new matchspy form of get_mset.
5817 Wed Jul 04 17:58:13 BST 2007 Olly Betts <olly@survex.com>
5821 Wed Jul 04 17:48:38 BST 2007 Olly Betts <olly@survex.com>
5823 * php/Makefile.am: Install xapian.php.
5825 Wed Jul 04 17:44:59 BST 2007 Olly Betts <olly@survex.com>
5827 * java-swig/Makefile.am: Update for ValueRangeProcessor classes.
5829 Wed Jul 04 17:42:34 BST 2007 Olly Betts <olly@survex.com>
5831 * php/util.i: Rename the ValueRangeProcessor subclasses and
5832 TermGenerator to have a Xapian prefix for PHP4.
5834 Wed Jul 04 17:41:36 BST 2007 Olly Betts <olly@survex.com>
5836 * xapian-bindings.spec.in: Don't mention %makeinstall in a comment as
5837 that makes RPM explode. Add in a missing "mv" for installing tcl8
5840 Wed Jul 04 17:39:26 BST 2007 Olly Betts <olly@survex.com>
5842 * INSTALL: Remove documentation of the "phpextdir" and "pylibdir" ways
5843 of installing a local copy - setting PHP_EXTENSION_DIR or PYTHON_LIB
5844 at configure time is a better solution.
5846 Wed Jun 27 14:16:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5850 Wed Jun 27 14:15:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5852 * python/pythontest.py: Add tests of the Database.spellings()
5855 Wed Jun 27 14:13:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5859 Tue Jun 26 17:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5861 * python/extra.i,xapian.i: Add support for spellings_begin(), and
5862 add a python-specific term iterator for it, accessed as
5863 Database.spellings()
5865 Tue Jun 26 00:56:03 BST 2007 Olly Betts <olly@survex.com>
5867 * xapian.i: Fix for document.h wrapping.
5869 Tue Jun 26 00:01:38 BST 2007 Olly Betts <olly@survex.com>
5871 * xapian.i: Parse xapian/postingiterator.h directly.
5873 Mon Jun 25 23:21:45 BST 2007 Olly Betts <olly@survex.com>
5875 * xapian.i: Parse xapian/document.h directly.
5877 Mon Jun 25 18:07:36 BST 2007 Olly Betts <olly@survex.com>
5879 * xapian.i: Use "%include <xapian/queryparser.h>" to wrap
5880 Xapian::QueryParser, etc. This adds FLAG_SYNONYM and updates
5881 FLAG_MULTIWORD_SYNONYMS.
5883 Sat Jun 23 19:02:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5885 * xapian.i: Add new synonym_keys_begin() and synonym_keys_end()
5886 methods to Database.
5887 * python/extra.i: Add synonym_keys() python iterator to Database.
5888 * python/pythontest.py: Test synonym_keys() iterator, and tidy up
5889 earlier test for synonyms()
5891 Fri Jun 22 18:43:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5893 * xapian.i: Add synonym support: new methods on Database and
5894 WritableDatabase, and some new flags for the query parser.
5895 * python/extra.i: Add Database.synonyms, to iterator the synonyms
5897 * python/pythontest.py: Add a test for synonym iterators, and clean
5898 up after the tests which make their own databases.
5900 Wed Jun 20 21:38:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5902 * python/pythontest.py: Enable the spelling test, and also make it
5903 check that spellings can be corrected using a writable database
5904 before calling flush().
5906 Wed Jun 20 17:33:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5908 * python/pythontest.py: Add a test of the spelling stuff (at the
5909 database layer, not the queryparser layer yet). Currently fails,
5910 so has a "return" as the first line until it's fixed.
5912 Wed Jun 20 12:54:23 BST 2007 Olly Betts <olly@survex.com>
5914 * csharp/Makefile.am: Fix parallel make handling to include
5917 Wed Jun 20 08:11:50 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5919 * xapian.i: Add spelling correction methods and constants:
5920 Database::get_spelling_suggestion(),
5921 WritableDatabase::add_spelling() and remove_spelling(),
5922 QueryParser::FLAG_SPELLING_CORRECTION and
5923 QueryParser::get_corrected_query_string()
5925 Mon Jun 18 13:54:19 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5927 * xapian.i: Add the new static methods in NumberValueRangeProcessor
5928 for serialising and unserialising doubles to the bindings.
5930 Mon Jun 18 03:27:58 BST 2007 Olly Betts <olly@survex.com>
5932 * INSTALL: "--with-swig" has been removed, so don't mention it.
5934 Sun Jun 17 09:39:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5936 * configure.ac: Similarly, for PHP, respect a value of
5937 PHP_EXTENSION_DIR supplied to configure, and add it to the --help
5939 * INSTALL: Document PHP_EXTENSION_DIR (and tweak documentation for
5940 Python equivalent slightly).
5942 Sun Jun 17 09:23:43 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5944 * configure.ac: Respect the value of PYTHON_LIB supplied to
5945 configure; it was listed in the output of ./configure --help, but
5946 the value supplied was ignored.
5947 * HACKING: Document setting PYTHON_LIB as an alternative way to
5948 specify the python install location (at configure time instead of
5951 Sat Jun 16 11:06:59 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5953 * Makefile.am: Pass value of XAPIAN_CONFIG to distcheck, to ensure
5954 that it works with uninstalled copies of Xapian.
5956 Thu Jun 14 18:42:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
5958 * python/generate-python-exceptions.in: Fix a threading problem:
5959 the GIL was not being re-acquired when an exception was thrown
5960 before setting the Python exception state. This was causing
5961 various memory corruption symptoms. Fixed by explicitly calling
5962 SWIG_PYTHON_THREAD_END_ALLOW() in the catch() clause (except for
5963 directory classes); this is a bit ugly, but I can't see how SWIG
5964 could be fixed to do this automatically, since it doesn't know
5965 what's going on in the "exception" clause.
5967 Tue Jun 12 02:46:01 BST 2007 Olly Betts <olly@survex.com>
5969 * python/smoketest.py,python/testsuite.py: Tweak expect_query() to add
5970 "Xapian::Query(" and ")" around the expected description.
5971 * python/smoketest.py: Add test case for OP_VALUE_RANGE query.
5973 Mon Jun 11 03:58:50 BST 2007 Olly Betts <olly@survex.com>
5975 * NEWS: Improve wording.
5977 Mon Jun 11 03:16:20 BST 2007 Olly Betts <olly@survex.com>
5979 * NEWS: Probably final update for 1.0.1.
5981 Mon Jun 11 03:08:13 BST 2007 Olly Betts <olly@survex.com>
5983 * python/docs/examples/: Update to use QueryParser and TermGenerator.
5985 Mon Jun 11 02:23:02 BST 2007 Olly Betts <olly@survex.com>
5987 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
5988 csharp/docs/examples/SimpleExpand.cs: Add SimpleExpand
5991 Mon Jun 11 01:23:52 BST 2007 Olly Betts <olly@survex.com>
5993 * xapian-bindings.spec.in: Use "make install" instead of %makeinstall
5994 to avoid doubled %{buildroot} prefix on most files which we then
5995 have to work around.
5997 Mon Jun 11 01:11:31 BST 2007 Olly Betts <olly@survex.com>
5999 * csharp/docs/examples/SimpleIndex.cs,
6000 csharp/docs/examples/SimpleSearch.cs: Update to use QueryParser and
6002 * csharp/docs/bindings.html: Document explicitly how STEM_SOME, etc
6003 are currently wrapped. Update GetTermName() reference to GetTerm().
6005 Sun Jun 10 22:01:47 BST 2007 Olly Betts <olly@survex.com>
6007 * configure.ac: Drop automake requirement to 1.8.3 to allow RPM spec
6008 file to work on SLES 9.
6010 Sun Jun 10 21:50:28 BST 2007 Olly Betts <olly@survex.com>
6012 * configure.ac: Bump version to 1.0.1.
6014 Fri Jun 08 20:40:00 BST 2007 Olly Betts <olly@survex.com>
6016 * ruby/docs/examples/: Update to use TermGenerator and QueryParser
6019 Fri Jun 08 20:10:42 BST 2007 Olly Betts <olly@survex.com>
6021 * ruby/util.i: Add missing rename for TermGenerator::set_document()
6022 so it can be used as "tg.document = doc" in Ruby.
6024 Thu Jun 07 01:06:17 BST 2007 Olly Betts <olly@survex.com>
6028 Thu Jun 07 01:01:05 BST 2007 Olly Betts <olly@survex.com>
6030 * configure.ac: Note new required SWIG SVN rev.
6032 Thu Jun 07 00:58:08 BST 2007 Olly Betts <olly@survex.com>
6034 * php/docs/examples/: Fix simpleexpand examples to put up to 5
6035 documents in the fake RSet as the comments say, not 4 as the
6036 code incorrectly did!
6037 * php/docs/examples/: Fix exception reporting in PHP5 examples.
6039 Thu Jun 07 00:49:23 BST 2007 Olly Betts <olly@survex.com>
6041 * tcl8/docs/examples/simpleindex.tcl,
6042 tcl8/docs/examples/simplesearch.tcl: Update to use TermGenerator
6043 and QueryParser, and to more closely match the new C++ versions.
6044 * tcl8/docs/examples/simpleexpand.tcl: New example to demonstrate
6045 relevance feedback, based on C++ simpleexpand.cc.
6046 * tcl8/docs/bindings.html: Add link to new simpleexpand.tcl example.
6048 Thu Jun 07 00:05:25 BST 2007 Olly Betts <olly@survex.com>
6050 * php/docs/examples/: Fix missing "\n" in error message when we're run
6051 under a non-CLI version of PHP.
6053 Thu Jun 07 00:02:33 BST 2007 Olly Betts <olly@survex.com>
6055 * tcl8/runtest.tcl: Fix exit handling to work if the called script
6058 Thu Jun 07 00:00:17 BST 2007 Olly Betts <olly@survex.com>
6060 * tcl8/docs/bindings.html: Document how constants are wrapped.
6062 Wed Jun 06 23:47:03 BST 2007 Olly Betts <olly@survex.com>
6064 * tcl8/runtest.tcl: Enhance to allow calling a script with command
6065 line arguments (useful for testing the examples).
6067 Wed Jun 06 22:39:01 BST 2007 Olly Betts <olly@survex.com>
6069 * configure.ac: Note the SWIG SVN revision currently recommended.
6071 Wed Jun 06 12:34:18 BST 2007 Olly Betts <olly@survex.com>
6073 * php/docs/examples/: Rewrite examples to closely model the new C++
6076 Tue Jun 05 17:23:17 BST 2007 Olly Betts <olly@survex.com>
6078 * configure.ac: Fix comment typo.
6080 Mon Jun 04 17:48:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6082 * configure.ac,python/Makefile.am,python/util.i: Patch from James
6083 Aylett (slightly adapted) to avoid building doccoments.i in
6084 maintainer builds with --disable-documentation specified. In
6085 this situation, the generated python bindings won't have the
6086 doccomments extracted by doxygen from the xapian headers, but
6087 they will compile and work.
6089 Fri Jun 01 12:54:28 BST 2007 Olly Betts <olly@survex.com>
6091 * xapian.i: Remove "#ifndef SWIGGUILE" around a Query constructor -
6092 if anyone revives the guile bindings, they'll probably need to
6093 sort this out, but this "fix" certainly isn't correct.
6095 Fri Jun 01 12:53:36 BST 2007 Olly Betts <olly@survex.com>
6097 * guile/Makefile.am: Fix out-of-date "include". Use $(SWIG_CXXFLAGS)
6098 not @SWIG_CXXFLAGS@.
6100 Fri Jun 01 10:32:40 BST 2007 Olly Betts <olly@survex.com>
6102 * python/Makefile.am: Generate and install xapian.pyo.
6104 Thu May 31 19:15:58 BST 2007 Olly Betts <olly@survex.com>
6106 * configure.ac: Relax automake requirement to 1.9.2 to allow RPM
6109 Thu May 31 18:44:55 BST 2007 Olly Betts <olly@survex.com>
6111 * INSTALL,NEWS,README,configure.ac,java/README: Change "MacOS X" to
6114 Thu May 31 17:59:25 BST 2007 Olly Betts <olly@survex.com>
6116 * java-swig/Makefile.am: Use JAVA_CPPFLAGS so we find jni.h.
6118 Thu May 31 14:52:07 BST 2007 Olly Betts <olly@survex.com>
6120 * configure.ac: Automatically add an extra "-I" for the
6121 linux/solaris/win32 subdirectory which Sun's JDK requires.
6122 * java/README: Remove note saying that the user may have to do this
6125 Thu May 31 13:11:56 BST 2007 Olly Betts <olly@survex.com>
6127 * java-swig/Makefile.am: Distribute the generated .java sources.
6129 Thu May 31 12:34:25 BST 2007 Olly Betts <olly@survex.com>
6131 * configure.ac: Document JAVA_HOME and JDK_HOME in ./configure --help
6132 and mark their values as "precious" so they are preserved for when
6133 configure is automatically rerun.
6135 Wed May 30 23:54:23 BST 2007 Olly Betts <olly@survex.com>
6137 * python/smoketest.py: Update uses of the legacy sequence API.
6138 * python/pythontest.py: The legacy sequence API is only supported for
6139 Python 2.3 and later, so don't run tests for it when running under
6142 Wed May 30 22:27:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6144 * python/pythontest.py,python/smoketest.py: Revert the earlier
6145 change to the expected output from testcases which expect
6146 exceptions, in line with the new Error.__str__() method.
6148 Wed May 30 22:21:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6150 * python/generate-python-exceptions.in: Override the new default
6151 get_description() method in the Python bindings (which is renamed
6152 to __str__) with a similar method which doesn't include the type
6153 of the error message at the start of the error string. Python
6154 errors are almost always displayed preceded by the type of the
6155 error class, so this was causing the type of the error to be
6156 repeated in tracebacks and similar reports.
6158 Wed May 30 17:57:34 BST 2007 Olly Betts <olly@survex.com>
6160 * configure.ac: `configure --help' documented that environmental
6161 variable JNI_INCLUDE_DIR was looked at, but in fact its value
6162 was read but ignored. We now use it as the first place to
6165 Wed May 30 14:52:04 BST 2007 Olly Betts <olly@survex.com>
6167 * NEWS: Update. Add in all the standard subheadings. Fix all
6168 the "Xapian-core <version> (<date>):" headings to refer to
6169 "Xapian-bindings" instead.
6171 Wed May 30 13:20:13 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6173 * xapian.i: Wrap new forms of allterms_begin() and allterms_end()
6174 which take prefixes.
6175 * python/extra.i: Add support for prefix-restricted pythonic allterms
6177 * python/pythontest.py: Add test for new prefix-restricted allterms
6178 iterators. Update existing allterms text to set the context to
6181 Tue May 29 09:50:17 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6183 * python/docs/bindings.html: Update documentation in a couple of
6184 places to refer to updated replacements for MSetIterator.
6186 Tue May 29 09:49:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6188 * python/testsuite.py: Change testsuite output to be more
6189 vim-friendly (vim should be able to jump to the right lines now).
6191 Sun May 27 16:11:42 BST 2007 Olly Betts <olly@survex.com>
6193 * python/generate-python-exceptions.in: Remove __str__ method from
6194 %extend of Error class, since C++ now provides an
6195 Error::get_description() method which is automatically renamed to
6197 * python/pythontest.py,python/smoketest.py: New C++
6198 Error::get_description() method gives different output to the old
6199 Python-specific __str__, so update testcases to match.
6200 * python/generate-python-exceptions.in: Mark generated file using
6201 `@configure_input@'.
6203 Sun May 27 15:31:06 BST 2007 Olly Betts <olly@survex.com>
6205 * csharp/SmokeTest.cs: Update comment about Portable.NET bug - the bug
6206 is fixed in their CVS repo, and the fix should be in their 0.8.2
6209 Mon May 21 07:11:12 BST 2007 Olly Betts <olly@survex.com>
6211 * tcl8/docs/examples/simpleindex.tcl,
6212 tcl8/docs/examples/simplesearch.tcl: Need to update to
6213 "package require xapian 1.0.0" here too.
6215 Mon May 21 01:51:24 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6217 * xapian.i: Add Query constructor used to make ValueRange queries,
6218 which got missed out of the bindings.
6220 Fri May 18 12:59:55 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6222 * configure.ac,tcl8/Makefile.am,tcl8/pkgIndex.tcl.in: Generate
6223 tcl8/pkgIndex.tcl from a .in file, instead of using a special
6224 rule in tcl8/Makefile.am. Should make the dependencies more
6225 robust, and is generally cleaner.
6227 Fri May 18 09:16:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6229 * tcl8/smoketest.tcl: Update tcl smoketest.tcl to require version
6230 1.0.0 - it previously required 0.9.6, bug TCLs "package require"
6231 command doesn't accept differing major numbers, even if -exact
6233 * tcl8/Makefile.am: Add dependency on ../config.status to
6234 pkgIndex.tcl, so that it gets updated when the version number
6237 Thu May 17 22:27:08 BST 2007 Olly Betts <olly@survex.com>
6239 * NEWS: Final update before release.
6241 Thu May 17 22:10:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6243 * python/docs/bindings.html: Document iterators, and iterator
6244 properties, which have a problem with the lazy evaluation if the
6245 iterator has moved before the evaluation happens. Add a title to
6246 the table of equivalents to the old Sequence API.
6248 Thu May 17 21:51:33 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6250 * NEWS: Update the Python entries.
6252 Thu May 17 19:52:05 BST 2007 Olly Betts <olly@survex.com>
6254 * NEWS: Sort out the easier Python entries, since Richard seems to
6255 have fallen off the net.
6257 Thu May 17 19:11:38 BST 2007 Olly Betts <olly@survex.com>
6259 * configure.ac: Bump version to 1.0.0.
6261 Thu May 17 17:28:35 BST 2007 Olly Betts <olly@survex.com>
6265 Thu May 17 17:25:39 BST 2007 Olly Betts <olly@survex.com>
6267 * ruby/docs/bindings.html: Remove "beta quality" warning - the Ruby
6268 bindings seem as solid as the others and no problems have been
6270 * ruby/docs/bindings.html: Add section on Unicode support.
6272 Thu May 17 17:25:06 BST 2007 Olly Betts <olly@survex.com>
6274 * php/docs/bindings.html: Tweak the linked text.
6276 Thu May 17 16:41:19 BST 2007 Olly Betts <olly@survex.com>
6278 * NEWS: Minor fixes from Jenny's proofreading.
6280 Thu May 17 15:49:14 BST 2007 Olly Betts <olly@survex.com>
6282 * NEWS: Updated for 1.0.0 except for the Python changes.
6284 Thu May 17 15:48:16 BST 2007 Olly Betts <olly@survex.com>
6286 * php/smoketest.php: The PHP5 overloading issue was fixed in 0.9.10.1
6287 not 0.9.10, so update a comment to reflect this.
6289 Wed May 16 09:21:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6291 * csharp/Makefile.am,xapian.i: Add ValueRangeProcessors to the
6292 bindings, and add the OP_VALUE_RANGE query operator.
6294 Tue May 15 17:47:30 BST 2007 Olly Betts <olly@survex.com>
6296 * README: Tweak wording.
6297 * csharp/docs/bindings.html: Document Unicode support.
6299 Tue May 15 16:42:32 BST 2007 Olly Betts <olly@survex.com>
6301 * HACKING,README: Various updates.
6303 Tue May 15 04:58:21 BST 2007 Olly Betts <olly@survex.com>
6305 * python/docs/bindings.html: Reword "This is being changed to [...]".
6307 Tue May 15 04:41:15 BST 2007 Olly Betts <olly@survex.com>
6309 * tcl8/docs/bindings.html: Add Unicode section, documenting the issue
6312 Tue May 15 04:35:10 BST 2007 Olly Betts <olly@survex.com>
6314 * php/docs/bindings.html: Add note about Unicode support.
6316 Mon May 14 19:42:06 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6318 * python/smoketest.py: Fix query tests to match the output of the
6321 Mon May 14 16:16:38 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6323 * python/docs/bindings.html: Fix typo - NFKC is definitely probably
6326 Mon May 14 15:34:52 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6328 * python/pythontest.py,python/smoketest.py: Fix pythontest and
6329 smoketest to expect what I think should be the correct output.
6330 smoketest still doesn't pass, sadly, because the PARTIAL option
6331 isn't fully implemented for the new scheme yet.
6333 Sun May 13 04:55:30 BST 2007 Olly Betts <olly@survex.com>
6335 * java/org/xapian/XapianJNI.java,tcl8/docs/bindings.html: "writeable"
6338 Sun May 13 04:50:13 BST 2007 Olly Betts <olly@survex.com>
6340 * python/docs/bindings.html: "agnositc" -> "agnostic", and capitalise
6341 "Xapian" for consistency.
6343 Sat May 12 22:04:07 BST 2007 Olly Betts <olly@survex.com>
6345 * configure.ac: If SWIG has been explicitly specified (in the
6346 environment or with `./configure SWIG=xxx') then downgrade the
6347 AC_MSG_ERROR() if the version is wrong to a warning. Also,
6348 if no version is read, then say "(you have an unknown version)"
6349 rather than "(you have )".
6351 Thu May 10 18:18:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6353 * tcl8/except.i: Fix for change to return type of
6356 Wed May 09 17:20:25 BST 2007 Olly Betts <olly@survex.com>
6358 * csharp/Makefile.am: Add TermGenerator.cs to list of generated C#
6361 Wed May 09 16:44:50 BST 2007 Olly Betts <olly@survex.com>
6363 * java-swig/Makefile.am: Update for TermGenerator class.
6364 * ./: Update svn:ignore for TermGenerator class and xapian_wrap.stamp.
6366 Tue May 08 19:58:04 BST 2007 Olly Betts <olly@survex.com>
6368 * configure.ac: Fix incorrect second reference to SWIG SVN revision number
6369 needed. Add comment noting what we need perl for.
6371 Tue May 08 19:56:11 BST 2007 Olly Betts <olly@survex.com>
6373 * xapian.i: %include <xapian/deprecated.h> rather than assuming things
6374 about how it is implemented.
6376 Tue May 08 19:37:53 BST 2007 Olly Betts <olly@survex.com>
6378 * ruby/util.i: Deine SWIG_NO_EXPORT_ITERATOR_METHODS to suppress
6379 SWIG's new iterator support for Ruby which we don't use.
6381 Tue May 08 15:59:02 BST 2007 Olly Betts <olly@survex.com>
6383 * xapian.i: Tell SWIG about XAPIAN_DEPRECATED() earlier so that it
6384 copes with XAPIAN_DEPRECATED() being used in xapian/error.h.
6386 Tue May 08 15:50:21 BST 2007 Olly Betts <olly@survex.com>
6388 * xapian.i: Removed lingering reference to PYTHON_OLDE.
6390 Mon May 07 11:01:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6392 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6393 python/Makefile.am,ruby/Makefile.am: Fix rules with multiple
6394 targets to recover from the removal of one or more of the targets
6395 without removing the stamp file, as detailed in the automake
6398 Sun May 06 16:03:12 BST 2007 Olly Betts <olly@survex.com>
6400 * configure.ac: Set version to mythical 0.9.99.
6402 Fri May 04 20:00:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6404 * python/smoketest.py,xapian.i: Add TermGenerator to bindings, and
6405 a basic python smoketest (which currently fails, I think due to a
6406 bug in the TermGenerator).
6408 Fri Apr 27 09:28:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6410 * xapian.i: Add third overloaded form of parse_query, which allows
6411 the "default_prefix" argument to be supplied.
6413 Thu Apr 26 16:48:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6415 * python/extra.i: Change quotes on `start` to make epydoc happy.
6417 Thu Apr 26 15:29:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6419 * python/extra.i: Change termlist iterators which returned items in
6420 which only the term could be accessed to return the term directly.
6421 May break some old applications, but all the applications I've
6422 seen were just calling the internal iterator to get this
6423 behaviour anyway, and ignoring the sequence API method. Now is
6424 the only time this can be cleaned up, really. Allows idioms like
6425 ','.join(enq.matching_terms) to work.
6426 Also, change MSet.get_hit() to return an MSetItem instead of an
6427 MSetIterator: allows all our work on lazy access to be used. Add
6428 deprecated methods to MSetItem to allow code which was expecting
6429 an MSetIterator to work (for now).
6430 * python/pythontest.py: Change tests not to use deprecated
6431 features, except in marked sections designed for that purpose.
6432 Test out-of-range access to MSets (used to cause a crash).
6433 Adjust tests for termlists which return strings.
6434 * python/smoketest.py: Change reference to deprecated
6435 Enquire.get_matching_terms() to Enquire.matching_terms()
6437 Mon Apr 23 23:10:41 BST 2007 Olly Betts <olly@survex.com>
6439 * python/smoketest.py,xapian.i: Wrap Enquire::INCLUDE_QUERY_TERMS
6440 and Enquire::USE_EXACT_TERMFREQ.
6442 Mon Apr 23 20:48:43 BST 2007 Olly Betts <olly@survex.com>
6444 * xapian.i: Correct out-of-date comment.
6446 Mon Apr 23 17:20:09 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6448 * python/extra.i: Change code which sets __all__ to non-functional
6449 style syntax, because we want to support python 2.2 and 2.3.
6451 Mon Apr 23 15:54:15 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6453 * python/extra.i: Set __docformat__ and __all__ to make output from
6454 "help" and tools like epydoc nicer. __all__ is set by filtering
6455 the symbols returned by dir(), so the value it's set to shouldn't
6456 need much maintenance. Setting __all__ also makes it more
6457 reasonable to do "from xapian import *", but that's probably not
6458 really a good idea in anything but the simplest script.
6460 Mon Apr 23 13:59:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6462 * python/Makefile.am: Add -threads flag to SWIG command when
6463 generating python bindings: threads are used in so many python
6464 applications these days that we really need to support them.
6465 Hopefully fixes bugs #137.
6467 Mon Apr 23 12:58:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6469 * README: Mention that PHP now builds with MSVC, and remove comment
6470 that Python 2.0 and 2.1 could be made to work - it would be quite
6473 Mon Apr 23 12:56:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6475 * python/testsuite.py: Add extra VERBOSE=3 level, which displays
6476 the checks which were performed, even if they passed. Very
6477 useful for debugging code which unexpectedly segfaults.
6479 Mon Apr 23 11:34:47 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6481 * python/pythontest.py: Test exception which is thrown by a
6482 termlist from a freshly created document if the term frequency
6483 information is requested.
6485 Mon Apr 23 10:56:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6487 * python/extra.i: Change skip_to() methods to return item skipped
6488 to, and fix several bugs in them.
6489 * python/pythontest.py: Test skip_to() for termlists and posting
6492 Mon Apr 23 09:54:45 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6494 * python/extra.i: Fix documentation comments for TermListItem and
6495 improve code documentation. Implement support for lazy
6496 evaluation with posting lists.
6497 * python/pythontest.py: Test legacy sequence API for termlists, and
6498 fix small bug in test for document termlists (was passing, but
6499 not testing what it was meant to). Add new test for posting
6502 Sun Apr 22 21:14:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6504 * python/extra.i: Add documentation comments for position
6505 iterators and value iterators. Make value iterators return items
6506 with attributes, rather than arrays (using _SequenceMixIn to
6507 provide legacy interface, as for other iterators).
6508 * python/pythontest.py: Add tests for value and position iterators.
6510 Sun Apr 22 19:24:32 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6512 * csharp/Makefile.am,php/Makefile.am,python/Makefile.am,
6513 ruby/Makefile.am: Add xapian_wrap.stamp files to CLEANFILES when
6516 Sun Apr 22 17:50:00 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6518 * python/pythontest.py: Correct stoplist test to expect correct
6521 Sun Apr 22 00:13:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6523 * python/extra.i: Add documentation comments for queryparser
6524 stoplist and unstemlist.
6525 * python/pythontest.py: Add tests of stoplist and unstemlist
6528 Sat Apr 21 20:30:32 BST 2007 Olly Betts <olly@survex.com>
6530 * configure.ac: We require automake 1.9.5 for xapian-core, so require
6531 it here too for consistency. Turn on automake -Wportability option.
6533 Sat Apr 21 11:30:26 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6535 * python/extra.i: Change term iterators so that they can handle
6536 WDF and term frequency information either lazily or eagerly.
6537 Always handle positionlist information lazily. Return an error
6538 if the iterator has already moved on when a lazily accessed piece
6539 of information is requested. Set access to lazy or eager (or no
6540 access) for each item for each type of termlist iterator which
6541 can be returned, and document this in the documentation comments.
6542 This may impact some users of the legacy sequence API, but is
6543 likely to work for typical and reasonable usages of the API.
6544 Still needs to be documented in the python binding documentation
6546 * python/pythontest.py: Add tests for term iterators returned by
6547 matching terms, Query objects, alltermlists on databases,
6548 termlists on database, documents returned from databases, and
6549 newly created documents.
6551 Fri Apr 20 15:07:03 BST 2007 Olly Betts <olly@survex.com>
6553 * csharp/SmokeTest.cs,csharp/docs/bindings.html,
6554 java/native/Enquire.cc,xapian.i: Update for change of return type of
6555 MatchDecider::operator() and ExpandDecider::operator(). The only
6556 change visible in a wrapped language is in C# where the return type
6557 also changes from `int' to `bool'.
6558 * xapian.i: Where directors are supported, also wrap the alternative
6559 form of Enquire::get_eset() which doesn't take the flags or k
6561 * java-swig/util.i: Rename MatchDecider::operator() and
6562 ExpandDecider::operator() to `accept' in Java to match the JNI
6564 * java-swig/SmokeTest.java: Uncomment some more of the code which
6567 Fri Apr 20 10:48:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6569 * csharp/,ruby/: Ignore generated *.stamp files.
6571 Fri Apr 20 10:46:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6573 * csharp/Makefile.am,java-swig/Makefile.am,php/Makefile.am,
6574 python/Makefile.am,ruby/Makefile.am: Add intermediate targets in
6575 all cases where swig generates multiple output files.
6577 Fri Apr 20 10:37:11 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6579 * python/Makefile.am: Add intermediate target when running swig, in
6580 line with comment recently added to xapian-core/HACKING regarding
6581 rules with multiple targets.
6583 Fri Apr 20 00:30:16 BST 2007 Olly Betts <olly@survex.com>
6585 * java-swig/util.i: Sort out typemap for the "Query from operator
6586 and array of Query objects" constructor.
6587 * java-swig/Makefile.am: Delete the "extra" .class files upon
6588 "make clean". Query$1.class seems to be useless, so don't
6589 include it in the .jar. Use perl to insert a call to load the JNI
6590 library automatically before we try to use it since SWIG doesn't
6591 seem to do this for us. Now "make check" passes, but with lots
6592 commented out still.
6594 Fri Apr 20 00:16:17 BST 2007 Olly Betts <olly@survex.com>
6596 * python/Makefile.am: Don't assume Perl is `perl' - use `$(PERL)'
6599 Thu Apr 19 22:37:05 BST 2007 Olly Betts <olly@survex.com>
6601 * java-swig/util.i: Rename get_description() methods to toString()
6604 Thu Apr 19 22:34:59 BST 2007 Olly Betts <olly@survex.com>
6606 * java-swig/Makefile.am: Fix bogus line-break in CLEANFILES.
6607 Add xapian_wrap.h to BUILT_SOURCES and swig running rule.
6609 Thu Apr 19 22:34:28 BST 2007 Olly Betts <olly@survex.com>
6611 * xapian.i: Query::get_description() is actually const.
6613 Thu Apr 19 18:20:59 BST 2007 Olly Betts <olly@survex.com>
6615 * java-swig/Makefile.am: Handle the extra .class files generated by
6618 Thu Apr 19 14:45:19 BST 2007 Olly Betts <olly@survex.com>
6620 * Makefile.am,configure.ac,java-swig/,xapian.i: First cut of Java
6621 bindings built using SWIG. Numerous things aren't wrapped in
6622 a compatible way (not sure if we can sensibly be 100% compatible
6623 anyway though) and 'make check' fails to run, but this has
6624 reached the stage where version control is needed.
6626 Thu Apr 19 00:41:25 BST 2007 Olly Betts <olly@survex.com>
6628 * ruby/docs/bindings.html: Note that C++ operator() becomes
6631 Wed Apr 18 23:35:52 BST 2007 Olly Betts <olly@survex.com>
6633 * ruby/util.i: Remove '%ignore' for deprecated methods we've now
6636 Wed Apr 18 23:32:35 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6638 * python/extra.i,python/pythontest.py: Fix legacy sequence API for
6641 Wed Apr 18 23:31:39 BST 2007 Olly Betts <olly@survex.com>
6643 * csharp/Makefile.am,java/org/xapian/Enquire.java,
6644 java/org/xapian/XapianJNI.java,ruby/util.i,xapian.i:
6645 Update for removal of Enquire::set_bias().
6647 Wed Apr 18 17:09:22 BST 2007 Olly Betts <olly@survex.com>
6649 * guile/util.i,python/extra.i,python/util.i,ruby/util.i,tcl8/except.i,
6650 tcl8/util.i: Sort out vim magic comments for all .i files.
6652 Wed Apr 18 16:41:37 BST 2007 Olly Betts <olly@survex.com>
6654 * python/: svn:ignore doccomments.i.
6656 Wed Apr 18 16:18:45 BST 2007 Olly Betts <olly@survex.com>
6658 * csharp/util.i,generic/except.i: Move C# specific exception stuff
6659 into C# specific file.i.
6660 * csharp/util.i: Add vim magic to use C++ highlighting (not perfect as
6661 this file also contains C# code, but better than vim's default for a
6664 Wed Apr 18 15:54:29 BST 2007 Olly Betts <olly@survex.com>
6666 * python/util.i: Use %inline to avoid duplicating MSET_DID, etc. Set
6669 Wed Apr 18 15:37:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6671 * python/doxy2swig.py.in: Fix issue with output from newer version
6672 of Doxygen which puts <ref/> nodes inside <parametername/> nodes.
6674 Wed Apr 18 02:34:53 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6676 * python/extra.i: Improve various documentation comments. Allow
6677 _SequenceMixIn to have default values for some parameters,
6678 instead of doing a lookup, to allow termlists and posting lists
6679 to return the fake values returned by the old sequence API. Add
6680 termlist iterators, and link them into the Enquire.matching_terms
6682 * python/pythontest.py: Add a check that xapian exceptions have
6683 Exception as a base class. Also, add a test of the new
6684 Enquire.matching_terms term iterators.
6686 Wed Apr 18 02:12:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6688 * README: Add comment about using gmcs and mcs.
6690 Wed Apr 18 02:01:43 BST 2007 Olly Betts <olly@survex.com>
6692 * configure.ac: Prefer gmcs to mcs when looking for a C# compiler
6693 since gmcs is the newer compiler targeting the 2.0 runtime.
6695 Wed Apr 18 01:12:39 BST 2007 Olly Betts <olly@survex.com>
6697 * csharp/util.i: Remove renaming exception for get_term - the
6698 automatic naming will handle that correctly.
6700 Wed Apr 18 00:29:57 BST 2007 Olly Betts <olly@survex.com>
6702 * java/native/Enquire.cc,java/native/Stem.cc: Update to use new
6703 C++ replacements for deprecated methods. The Java wrappers
6704 still provide the old deprecated names for now though.
6705 * ruby/smoketest.rb: For now, use @stem.call("foo").
6706 * ruby/util.i,xapian.i: Remove wrappers for deprecated methods and
6709 Wed Apr 18 00:15:40 BST 2007 Olly Betts <olly@survex.com>
6711 * python/Makefile.am: Need to distribute testsuite.py.
6713 Tue Apr 17 23:23:44 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6715 * python/util.i: add __str__ methods as aliases for the
6716 get_description() methods, and deprecate the get_description()
6719 Tue Apr 17 22:41:40 BST 2007 Olly Betts <olly@survex.com>
6721 * python/docs/examples/simpleexpand.py: Replace use of deprecated
6722 RSet::is_empty() with RSet::empty().
6724 Tue Apr 17 21:02:52 BST 2007 Olly Betts <olly@survex.com>
6726 * php/util.i,xapian.i: We need to keep is_empty() for PHP as empty()
6727 clashes with a reserved word! Refactor to use %rename in php/util.i
6728 instead of %ignore on empty() and a special is_empty() wrapper in
6730 * php/docs/bindings.html: Document renaming of empty() to
6731 is_empty() and clone() to clone_object().
6733 Tue Apr 17 19:57:03 BST 2007 Olly Betts <olly@survex.com>
6735 * configure.ac: Fix comment typo.
6737 Tue Apr 17 19:20:42 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6739 * csharp/Makefile.am: Add Flint.cs to list of generated files, so
6740 it gets cleaned and added to dist.
6742 Tue Apr 17 16:34:27 BST 2007 Olly Betts <olly@survex.com>
6744 * ruby/xapian.rb: Don't read termfreq in safe wrapper for
6745 Document::termlist_begin(). Don't read wdf in safe wrapper
6746 for Database::allterms_begin(). Fixes bug#133.
6748 Tue Apr 17 14:51:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6750 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
6751 csharp/docs/examples/SimpleSearch.cs: Change references to
6752 stem.StemWord() to stem.Apply()
6754 Tue Apr 17 14:30:10 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6756 * php/docs/examples/,php/smoketest.php,
6757 tcl8/docs/examples/simpleindex.tcl,
6758 tcl8/docs/examples/simplesearch.tcl,tcl8/smoketest.tcl:
6759 Replace references to deprecated stem.stem_word() with stem.apply()
6761 Tue Apr 17 10:14:01 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6763 * python/docs/examples/,python/smoketest.py: Change references to
6764 stem.stem_word() to stem()
6766 Tue Apr 17 08:57:23 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6768 * python/testsuite.py: Run tests in predicatable order, by sorting
6769 the list of tests if it's supplied as a dictionary.
6771 Mon Apr 16 18:35:36 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6773 * python/docs/bindings.html,python/docs/examples/simpleexpand.py:
6774 Document ESetIterator::get_term() instead of
6775 ESetIterator::get_termname()
6777 Mon Apr 16 18:32:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6779 * csharp/util.i,php/docs/examples/simpleexpand.php4,
6780 php/docs/examples/simpleexpand.php5: Change to use get_term()
6781 instead of get_termname().
6782 * php/docs/bindings.html,ruby/docs/bindings.html,
6783 tcl8/docs/bindings.html: Document ESetIterator::get_term()
6784 instead of ESetIterator::get_termname()
6786 Mon Apr 16 18:27:39 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6788 * xapian.i: Add ESetIterator::get_term() as alias for now
6789 ESetIterator::get_termname(), and mark the old get_termname as
6790 deprecated. Tidy up all comments about deprecated functions,
6791 giving the version they were deprecated in.
6793 Mon Apr 16 11:16:48 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6795 * python/extra.i,python/pythontest.py: Add nicer ESet iterators,
6798 Mon Apr 16 01:08:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6800 * python/extra.i,python/pythontest.py,xapian.i: Add access to the
6801 collapse_key() method of mset iterators. Add it to the new-style
6802 python MSet iterator, and test it. Add documentation strings for
6803 describing the python MSetItem properties and attributes.
6805 Mon Apr 16 00:23:20 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6807 * python/extra.i: Rework MSet iterators: they now return an
6808 MSetItem object instead of a sequence. The sequence API is
6809 emulated with a _SequenceMixIn baseclass. The MSetItem object
6810 allows access to all the properties returned in the list
6811 previously returned, and also allows access to the collapse_count
6812 property. In addition, it evaluates the document property
6813 lazily, so no work is done if we don't actually want to read it.
6814 Also, add support for __getitem__ on MSet items to access items
6815 in the MSet in a more pythonic way, and implement the other
6816 sequence methods "__len__" and "__contains__".
6817 * python/: Ignore some generated files.
6818 * python/Makefile.am: Add pythontest.py and extracomments.py
6819 * python/pythontest.py: New testsuite for Python-specific code.
6821 Mon Apr 16 00:19:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6823 * python/doxy2swig.py.in: Don't add information about C++ includes
6824 to docstrings - not useful to anyone.
6825 * python/extracomments.i: Add a new file to hold docstrings which
6826 override the automatically generated ones, or fill in gaps. There
6827 are going to be quite a few of these eventually, so best to keep
6828 thee separate from the other code from the start.
6829 * python/util.i: Include extracomments.i
6831 Mon Apr 16 00:14:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6833 * python/testsuite.py: Enhance and refactor the testsuite - it now
6834 supports the same environment variables that the C++ testsuite
6835 does, uses a little colour to highlight successes and failures,
6836 and has different levels of verbosity. In line with the C++
6837 testsuite, it is not verbose by default, but it does display a
6838 message describing how to turn the verbosity up.
6839 * python/docs/bindings.html: Document the test suite a little, fix
6840 a typo, and mention the work in progress on the iterators. (Will
6841 need more detailed revision once the work is completed.)
6843 Sun Apr 15 23:31:41 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6845 * python/doxy2swig.py.in: For methods, if there is a
6846 briefdescription node, output it first so that the short summary
6847 describes the purpose of the method, rather than being the C++
6850 Sun Apr 15 18:09:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6852 * python/smoketest.py,python/testsuite.py: Enhance testsuite to
6853 allow multiple test functions, and to format output similarly to
6854 C++ testsuite (including ANSI colour on output devices which
6855 support it). Colours can be disabled explicitly using
6856 XAPIAN_TESTSUITE_OUTPUT=plain, and verbose output can be turned
6857 on by setting VERBOSE=1.
6859 Sun Apr 15 00:21:30 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6861 * python/extra.i: Change to using new-style classes for pure python
6862 code, since we're depending on python >= 2.2 now.
6864 Sun Apr 15 00:13:28 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6866 * python/smoketest.py,python/testsuite.py: Refactor code for
6867 running the python tests into a separate file, so it can be used
6868 for a separate set of python-specific tests.
6870 Fri Apr 13 16:30:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6872 * python/doxy2swig.py.in: Add script to generate doccomments.i file
6873 from XML output of doxygen. Adds much useful documentation to
6874 the python bindings (it's still quite messy, but much better than
6875 nothing). Unfortunately, a bug in SWIG means that not all the
6876 documentation is visible - I've put a patch at
6877 http://sf.net/tracker/index.php?func=detail&aid=1700146&group_id=1645&atid=301645
6878 * python/util.i: Include generated doccomments.i file.
6879 * configure.ac: Add rules to generate python/doxy2swig.
6880 * python/Makefile.am: Rules to generate and depend on doccomments.i
6882 Fri Apr 13 13:40:03 BST 2007 Olly Betts <olly@survex.com>
6884 * python/extra.i: Only read wdf for termlists which actually support
6885 it. This was failing for alltermslist in a debug build, and now
6886 fails with InvalidOperationError in all builds.
6888 Thu Apr 12 17:56:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6890 * xapian.i: Parse the visibility support header file, so we don't
6891 get errors when we %include other xapian headers. Fixes error
6892 reported by python/except.i, which has a line saying
6893 %include "xapian/error.h"
6895 Wed Apr 11 13:42:56 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6897 * python/smoketest.py: Add the custom test failure messages back,
6898 and revert changes to tests which I made (which will be going
6899 into a custom python-specific test file in time). When a test
6900 fails, display context of the test failure together with the
6901 Xapian version and platform information.
6903 Wed Apr 11 10:30:46 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6905 * python/smoketest.py: Replace cut-and-pasted test checking code
6906 with functions, to simplify tests.
6908 Tue Apr 10 20:10:31 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6910 * python/smoketest.py: Remove check for version Python version 2.2
6911 before running iterator tests - we no longer support earlier
6914 Sun Apr 08 19:11:05 BST 2007 Olly Betts <olly@survex.com>
6916 * python/docs/bindings.html: Python 2.2 is the minimum required
6917 version so remove "Provided you're using Python 2.2 or newer".
6919 Thu Apr 05 10:38:37 BST 2007 Olly Betts <olly@survex.com>
6921 * php/util.i: Avoid undefined behaviour in get_matching_terms().
6922 This fixes the problem reported by Daniel Ménard under MSVC.
6924 Wed Apr 04 13:30:11 BST 2007 Olly Betts <olly@survex.com>
6926 * configure.ac: Look for jni.h in $JAVA_HOME/include and
6927 $JDK_HOME/include if the respective variables are set.
6929 Wed Apr 04 13:07:12 BST 2007 Olly Betts <olly@survex.com>
6931 * configure.ac: When passing $SWIG, $PERL, etc to AC_PATH_PROGS
6932 quote them to avoid splitting at spaces (paths with spaces still
6933 won't work here, but at least you should now be able to pass
6934 SWIG='swig -fakeversion 1.3.32' or similar (only do this if you're
6935 happy to accept the consequences in this particular case!) Also
6936 if the user specifies a program which doesn't exist (e.g.
6937 PYTHON=/opt/bin/ptyhon) don't autoprobe after failing to find it
6938 (this still happens in a few cases, but the easy ones should now
6941 Wed Apr 04 11:19:03 BST 2007 Olly Betts <olly@survex.com>
6943 * configure.ac: Bump version to 0.9.10.1 so snapshots don't look older
6944 than releases. Note that SWIG SVN rev >= 9670 is now required for
6945 the PHP5 ZTS MSHUTDOWN fix.
6947 Wed Apr 04 10:31:34 BST 2007 Olly Betts <olly@survex.com>
6949 * php/util.i: Revert last change - I'm fixing this in SWIG and calling
6950 ts_free_id twice is likely to be a bad idea.
6952 Wed Apr 04 10:21:37 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6954 * php/util.i: Add %mshutdown section to allow cleanup properly for
6955 windows builds (or other builds with ZTS).
6957 Wed Apr 04 07:33:53 BST 2007 Olly Betts <olly@survex.com>
6959 * INSTALL: Add details for how to install Ruby bindings in your home
6962 Wed Apr 04 07:31:37 BST 2007 Olly Betts <olly@survex.com>
6964 * ./,csharp/,ruby/,java/,php/,guile/,tcl8/,generic/: svn:ignore all
6967 Wed Apr 04 07:29:08 BST 2007 Olly Betts <olly@survex.com>
6969 * xapian.i: Add vim magic comment at the end to get sane syntax
6970 highlighting automatically.
6972 Wed Apr 04 07:24:48 BST 2007 Olly Betts <olly@survex.com>
6974 * generic/except.i: Fix pathname in first comment. Dug through
6975 the SVN history to reveal who has actually worked on this code
6976 so updated the (C) lines.
6978 Wed Apr 04 06:45:44 BST 2007 Olly Betts <olly@survex.com>
6980 * python/: Oops, it's "except.i" not "exceptions.i".
6982 Wed Apr 04 06:42:27 BST 2007 Olly Betts <olly@survex.com>
6984 * python/: svn:ignore exceptions.i and all vim swapfiles (not just the
6985 first for a given files).
6987 Tue Apr 03 17:52:54 BST 2007 Richard Boulton <richard@lemurconsulting.com>
6989 * python/util.i: Add typemap to allow strings to be returned by
6990 implementations of director methods which expect strings:
6991 currently this is only the get_description() method of a Stopper
6992 subclass, which is never actually called by C++, but this might
6993 be more generally useful in future, and covers the last point
6994 where Python strings can get passed to C++.
6995 * python/smoketest.py: Add some tests that the stoppers work as
6998 Tue Apr 03 13:54:16 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7000 * python/util.i: Add typemap for checking string type in overloaded
7001 functions, allowing unicode strings to be passed to binary Query
7002 constructor. Also add "freearg" typemap corresponding to the
7003 "in" typemap for string references, which doesn't change the
7004 output code but might make us more robust against future changes
7005 in the SWIG library.
7006 * python/smoketest.py: Test binary Query constructor with unicode
7009 Tue Apr 03 10:40:51 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7011 * python/util.i: Add some (fairly nasty) typedefs which handle
7012 almost all cases where a string object is supplied to an API
7013 function, and make them convert unicode strings to UTF-8 encoded
7014 simple strings automatically. There are three places left in the
7015 API which aren't covered by these typedefs, and will require
7016 individual handling. The typedefs are largely the same as the
7017 built-in typedefs for string handling, but point to a different
7018 wrapper function which performs the unicode conversion before
7019 calling the normal string-to-ptr conversion. Sadly, I can't see
7020 any way to modify the built-in typedefs for string handling
7021 without reproducing them as I have here, but if it is possible to
7022 just cause them to point at a different string-to-ptr routine,
7023 that would be desirable.
7024 * python/smoketest.py: Add tests for some of the functions which
7025 should accept unicode strings.
7026 * python/docs/bindings.html: Document how unicode handling is
7027 intended to work. Also document how to normalise unicode strings
7028 with the unicodedata module to make them ready to pass to Xapian.
7030 Tue Apr 03 05:19:52 BST 2007 Olly Betts <olly@survex.com>
7032 * xapian.i: Replace Xapian::Stem with "%include <xapian/stem.h>" and
7033 suitable %ignore directives. The generated code for all bindings
7034 is unchanged except for minor changes due to the old xapian.i
7035 failing to declare Stem::stem_word as "const".
7037 Mon Apr 02 14:50:05 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7039 * python/util.i: Convert unicode strings to
7040 UTF-8 strings in handler for strings in the sequence supplied to
7041 a Query constructor.
7042 * python/smoketest.py: Refactor repeated code which checks that a
7043 query description is as expected into a function, and add some
7044 checks of query constructors using unicode strings.
7045 * python/generate-python-exceptions.in: Add a catch clause for
7046 exceptions raised by the standard library.
7048 Sun Apr 01 23:05:10 BST 2007 Olly Betts <olly@survex.com>
7050 * xapian.i: Update SimpleStopper::add() parameter type.
7052 Sat Mar 31 13:28:03 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7054 * python/docs/bindings.html: Update documentation on exception
7057 Sat Mar 31 11:47:14 BST 2007 Richard Boulton <richard@lemurconsulting.com>
7059 * python/Makefile.am: Postprocess the generated python file
7060 "modern/xapian.py" to make the Error class inherit from the
7061 standard Exception class, so that scripts can catch all
7062 exceptions which are sensible to catch using the standard idioms.
7063 Use perl rather than sed for this processing so that we can use
7064 exactly the same rule in the windows build system.
7066 Tue Mar 27 21:40:22 BST 2007 Olly Betts <olly@survex.com>
7068 * configure.ac: datarootdir is new in 2.60 too, so use datadir when
7069 setting docdir for 2.59.
7071 Tue Mar 27 21:36:10 BST 2007 Olly Betts <olly@survex.com>
7073 * python: svn:ignore generate-python-exceptions.
7075 Tue Mar 27 21:34:05 BST 2007 Olly Betts <olly@survex.com>
7077 * configure.ac: Ensure docdir is set for compatibility with autoconf
7079 * csharp/docs/Makefile.am,php/docs/Makefile.am,
7080 python/docs/Makefile.am,ruby/docs/Makefile.am,tcl8/docs/Makefile.am:
7081 Install docs and examples below $(docdir).
7083 Sat Mar 24 02:19:50 GMT 2007 Olly Betts <olly@survex.com>
7085 * xapian.i: Only wrap methods (or overloaded forms of methods) which
7086 take MatchDecider or ExpandDecider for languages where SWIG supports
7089 Sat Mar 24 02:19:13 GMT 2007 Olly Betts <olly@survex.com>
7091 * csharp/Makefile.am: Update list of generated .cs files now
7092 ExpandDecider is wrapped.
7094 Sat Mar 24 00:36:26 GMT 2007 Olly Betts <olly@survex.com>
7096 * python/smoketest.py,xapian.i: Wrap ExpandDecider for languages where
7097 SWIG supports directors (patch from William R Sowerbutts).
7099 Sat Mar 24 00:02:36 GMT 2007 Olly Betts <olly@survex.com>
7101 * python/docs/examples/simpleexpand.py: Print the document weight as
7102 a floating point value, not an integer.
7104 Fri Mar 23 23:53:10 GMT 2007 Olly Betts <olly@survex.com>
7106 * Forwardport change from branches/0.9:
7107 * configure.ac: Require unreleased SWIG 1.3.32 (SVN rev 9651) for
7110 Thu Mar 22 01:28:48 GMT 2007 Olly Betts <olly@survex.com>
7112 * configure.ac: Eliminate libtool probe code for f77, gcj, and rc
7113 which speeds up configure and knocks 28% off its size.
7115 Tue Mar 20 19:00:13 GMT 2007 Olly Betts <olly@survex.com>
7117 * php/docs/bindings.html: Add note that PHP examples are written for
7118 CLI version of PHP, but that the bindings work with any version.
7119 * php/docs/examples/: Add check to all PHP examples that they are
7120 being run under a CLI version of PHP.
7122 Fri Mar 09 14:14:47 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7124 * swig/xapian.i,xapian.i: Move swig/xapian.i back to top level.
7125 Olly prefers it here, and I don't really mind.
7126 * swig/defaults/except.i,generic/except.i: Move file.
7127 * swig/Makefile.mk,generic/generic.mk: Move file, and point to
7128 new locations of source files.
7129 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7130 php/Makefile.am,tcl8/Makefile.am: Include generic/generic.mk
7131 instead of swig/Makefile.mk
7132 * configure.ac: Look for xapian.i, not swig/xapian.i, in
7134 * Makefile.am: Point to new locations of files.
7136 Fri Mar 09 13:07:41 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7138 * python/generate-python-exceptions.in: New file - generates a
7139 python/except.i file from the exception_data.pm file in
7140 xapian-core. Only use in maintainer mode - requires the
7141 xapian-core module to exist in the same directory as the
7142 xapian-bindings module (eg, as would happen in a SVN checkout).
7143 This file changes the handling of xapian exceptions in the Python
7144 bindings - they are now translated into Python exception classes
7145 in a hierarchy matching that of the C++ exception hierarchy.
7146 * configure.ac: Require perl in maintainer mode, and add rules to
7147 generate python/generate-python-exceptions
7148 * python/Makefile.am: Add except.i to distribution, and add rules
7149 to generate and use it in maintainer mode.
7150 * python/smoketest.py: Change tests to expect xapian.Error
7153 Fri Mar 09 12:53:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7155 * tcl8/except.i: Tweak to add the license statement back into
7156 generated xapian_wrap.cc. Not sure if this is really desirable,
7157 but it's consistent with the earlier behaviour (and with what
7158 happens to other license statements from *.i files).
7160 Fri Mar 09 03:15:36 GMT 2007 Olly Betts <olly@survex.com>
7162 * csharp/util.i: Eliminate duplicated SWIG directive
7163 "%rename("GetValueNo") get_valueno;"
7165 Wed Mar 07 22:33:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7167 * php/except.i,swig/defaults/except.i: Split the PHP exception
7168 handling into a new file, since almost half the original file was
7169 conditionally compiled for PHP.
7170 * php/Makefile.am: Add php/except.i to dist and dependencies.
7172 Wed Mar 07 21:49:52 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7174 * tcl/except.i: New file, overriding swig/defaults/except.i for tcl.
7175 * tcl/util.i: Remove exception handling stuff - moved to except.i.
7176 No longer sets XAPIAN_EXCEPTION_HANDLER - presence of except.i has
7178 * tcl/Makefile.am: Add except.i to dist and dependencies.
7179 * swig/defaults/except.i: Remove checking of XAPIAN_EXCEPTION_HANDLER:
7180 no longer needed. Also, tweak comments (add licence and copyright;
7181 copyright is just copied from xapian.i, which this file was split
7182 from, and may thus claim copyright for people who never worked on
7183 this exact code). Also, fix whitespace.
7185 Wed Mar 07 16:35:13 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7187 * Makefile.am: Add swig/defaults/except.i to EXTRA_DIST.
7188 * swig/Makefile.mk: Add swig/defaults/except.i to SWIG_sources, and
7189 add swig/defaults/ to SWIG_includes, after language specific
7190 path entry (so language specific except.i files can be created to
7191 override the contents of swig/defaults/except.i).
7192 * swig/xapian.i,swig/defaults/except.i: Move the exception handling
7193 code out of swig/xapian.i and into swig/defaults/except.i
7195 Wed Mar 07 16:16:54 GMT 2007 Richard Boulton <richard@lemurconsulting.com>
7197 * xapian.i,swig/xapian.i: Move swig source file to a subdirectory,
7198 in preparation for splitting the language dependent stuff out.
7199 This commit shouldn't change the result of running swig.
7200 * swig/Makefile.mk: New makefile fragment, included by each
7201 language-specific SWIG-using Makefile.am, which defines the paths
7202 and flags to use when running SWIG. Also contains the
7203 MACOSX_DEPLOYMENT_TARGET stuff which was previously replicated in
7204 each SWIG-using Makefile.am
7205 * csharp/Makefile.am,ruby/Makefile.am,python/Makefile.am,
7206 php/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: Include
7207 swig/Makefile.mk to get the path to the language independent swig
7208 sources, and standard paths and flags to supply to SWIG. Update
7209 dependencies and rules for generating the xapian_wrap.cc files to
7210 use the values from swig/Makefile.mk. Remove the
7211 MACOSX_DEPLOYMENT_TARGET stuff (now in swig/Makefile.mk).
7212 * configure.ac: Reference swig/xapian.i from AC_CONFIG_SRCDIR
7214 * Makefile.am: Reference swig/xapian.i in EXTRA_DIST
7217 Tue Mar 06 01:56:36 GMT 2007 Olly Betts <olly@survex.com>
7219 * configure.ac: Bump version number to 0.9.10 so that snapshots don't
7220 look older than releases.
7222 Tue Mar 06 01:54:00 GMT 2007 Olly Betts <olly@survex.com>
7224 * configure.ac: Make the version check against the xapian-core version
7225 a warning not an error, and move it later on so it's harder for the
7226 user to miss. If you know what you're doing, it might be a useful
7227 thing to want to do.
7229 Sat Mar 03 04:23:26 GMT 2007 Olly Betts <olly@survex.com>
7231 * php/docs/Makefile.am,php/docs/bindings.html,php/docs/examples/:
7232 Update the documentation and examples to fix out-of-date information
7233 and document the differences between the PHP4 and PHP5 wrappers.
7234 * php/docs/example/simpleexpand.php4,
7235 php/docs/example/simpleexpand.php5: Add versions of simpleexpand.
7237 Sat Mar 03 04:17:07 GMT 2007 Olly Betts <olly@survex.com>
7239 * configure.ac: Fix handling of `$PHP_CONFIG --php-binary` - if it's
7240 not supported, we get a usage message on stdout which we don't want
7241 to try as a potential PHP interpreter!
7243 Sat Mar 03 03:34:12 GMT 2007 Olly Betts <olly@survex.com>
7245 * xapian.i: Don't hardcode the current literal numeric values
7246 for DB_CREATE_OR_OPEN, etc.
7247 * xapian.i: For PHP4, additionally define Xapian_DB_CREATE_OR_OPEN
7248 which will be the recommended name to use.
7250 Sat Mar 03 03:32:05 GMT 2007 Olly Betts <olly@survex.com>
7252 * php/smoketest.php: Add a testcase for the "SWIG didn't generate
7253 correct dispatch code in the wrapper in some cases" bug which
7256 Sat Mar 03 03:29:56 GMT 2007 Olly Betts <olly@survex.com>
7258 * php/smoketest5.php: Add the Error class name to differentiate the
7259 two previously identical error messages.
7261 Fri Mar 02 20:09:55 GMT 2007 Olly Betts <olly@survex.com>
7263 * csharp/Makefile.am: Remove Muscat36.cs.
7265 Fri Mar 02 19:49:12 GMT 2007 Olly Betts <olly@survex.com>
7267 * configure.ac: Try `$(PHP_CONFIG) --php-binary` when looking for a
7268 PHP interpreter - this works with PHP5.
7270 Fri Mar 02 19:00:52 GMT 2007 Olly Betts <olly@survex.com>
7272 * xapian.i: Remove Muscat 3.6 wrappers as support has already been
7273 removed from xapian-core.
7275 Fri Mar 02 02:22:12 GMT 2007 Olly Betts <olly@survex.com>
7277 * xapian-bindings.spec.in: Add support for passing "--without python"
7278 to rpmbuild. Document the various "--without" options in a comment
7279 at the start of the .spec file.
7281 Tue Feb 20 12:48:22 GMT 2007 Olly Betts <olly@survex.com>
7283 * xapian.i: QueryParserError is now a real error, so remove
7284 special handling for "const char *" exceptions.
7286 Sat Feb 10 01:19:26 GMT 2007 Olly Betts <olly@survex.com>
7288 * configure.ac,java/README,java/native/Makefile.am: On MacOS X, we
7289 need to rename the jni library to .jnilib.
7290 * java/README: MacOS X's JVM is documented to understand
7291 -Djava.library.path - the problem reported was likely due to the
7292 wrong extension on the jni library.
7294 Sat Feb 10 00:23:19 GMT 2007 Olly Betts <olly@survex.com>
7296 * configure.ac: Automatically look in the standard OS X JVM location
7298 * java/README: Document how to install the jni library on OS X.
7300 Sat Dec 30 14:40:22 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7302 * xapian.i: Add queryparser flags FLAG_PURE_NOT and FLAG_PARTIAL.
7303 * python/smoketest.py: Add tests for pure not and partial queries.
7305 Sat Dec 23 00:41:01 GMT 2006 Olly Betts <olly@survex.com>
7307 * java/native/org_xapian_XapianJNI.h,java/native/xapian_jni.h:
7308 Move header guards to surround the entire non-comment contents
7309 of the header files, which allows the compiler to optimise
7310 multiple inclusion (at least GCC does this).
7312 Sat Dec 23 00:38:49 GMT 2006 Olly Betts <olly@survex.com>
7314 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
7315 java/org/xapian/Enquire.java,java/org/xapian/XapianJNI.java:
7316 Enquire::getQuery() is implemented entirely in Java, so strip out
7317 the unused MyQuery mechanism, and so fix a memory link which it
7318 caused. Fixes the rest of bug#105.
7319 * java/SmokeTest.java: Add feature test for Enquire::getQuery().
7321 Fri Dec 22 18:48:46 GMT 2006 Olly Betts <olly@survex.com>
7323 * java/native/Query.cc: Release the array in the "Query from array"
7324 ctor to avoid a memory leak. Partly fixes bug#105.
7326 Fri Dec 22 18:30:44 GMT 2006 Olly Betts <olly@survex.com>
7328 * java/SmokeTest.java: Check getData() on the document in
7329 MyMatchDecider returns a non-empty string to make sure we are really
7330 getting the right document and not an empty document.
7332 Sat Dec 16 02:14:50 GMT 2006 Olly Betts <olly@survex.com>
7334 * configure.ac: Remove the sanity check for PHP_EXTENSION_DIR
7335 added in Xapian 0.9.8 - if this is the first PHP extension to be
7336 installed, the extension directory may not exist and "make install"
7338 * configure.ac: If zend.h isn't found and configure was run with
7339 "--with-php" we now die rather than disabling PHP support.
7341 Fri Dec 15 16:47:13 GMT 2006 Olly Betts <olly@survex.com>
7343 * configure.ac: Remove --with-swig option from configure - it no
7344 longer has a purpose as we now ship the files which are generated
7347 Tue Dec 12 21:51:23 GMT 2006 Richard Boulton <richard@lemurconsulting.com>
7349 * python/extra.i: Fix PostingIter for all-document iterators - was
7350 broken because positionlist_begin() throws an exception for
7351 all-document iterators. Fixed by keeping track of this and
7352 returning an empty list for positionlits iterators, in the same
7353 way as TermIter does.
7354 * python/smoketest.py: Add test for all-document iterators.
7356 Mon Dec 11 04:01:19 GMT 2006 Olly Betts <olly@survex.com>
7358 * java/Makefile.am: "make clean" now needs to remove
7359 MyMatchDecider.class and MyExpandDecider.class which are generated
7360 from SmokeTest.java.
7362 Fri Dec 08 04:13:32 GMT 2006 Olly Betts <olly@survex.com>
7364 * java/SmokeTest.java: Add feature/regression test for ExpandDecider
7365 which also now works thanks to the last checkin.
7367 Fri Dec 08 04:11:01 GMT 2006 Olly Betts <olly@survex.com>
7369 * java/native/Enquire.cc: Fix MatchDecider to work.
7370 * java/SmokeTest.java: Add feature/regression test for MatchDecider
7373 Thu Dec 07 02:25:25 GMT 2006 Olly Betts <olly@survex.com>
7375 * java/native/Enquire.cc: Fix MatchDecider and ExpandDecider to look
7376 for an "accept" method with the correct signature (bool return value
7377 not int). Reported by Alex Kushkuley.
7379 Thu Dec 07 02:08:56 GMT 2006 Olly Betts <olly@survex.com>
7381 * java/org/xapian/ESetIterator.java: Fix bug in ESetIterator.hasNext()
7382 reported by Alex Kushkuley.
7383 * java/SmokeTest.java: Add regression test.
7385 Mon Dec 04 03:31:36 GMT 2006 Olly Betts <olly@survex.com>
7387 * java/SmokeTest.java,java/native/Enquire.cc,
7388 java/org/xapian/Enquire.java: Fit Enquire.getESet() to be callable.
7390 Mon Dec 04 03:22:35 GMT 2006 Olly Betts <olly@survex.com>
7392 * java/SmokeTest.java,java/org/xapian/RSet.java: Add missing default
7393 constructor for RSet class - it's not much use without this!
7395 Thu Nov 16 04:01:23 GMT 2006 Olly Betts <olly@survex.com>
7397 * xapian-bindings.spec.in: Remove "." from the end of the Summary.
7399 Thu Nov 16 03:05:09 GMT 2006 Olly Betts <olly@survex.com>
7401 * configure.ac: As of xapian-core 0.8.0, XO_LIB_XAPIAN doesn't need to
7402 be called with arguments if you want a hard requirement on xapian,
7403 so remove the arguments.
7405 Wed Nov 15 19:55:57 GMT 2006 Olly Betts <olly@survex.com>
7407 * java/README: Note success with Sun's JDK 1.5.0_06-b05, plus the
7408 requirement to add the linux header directory to the include path.
7410 Sun Nov 12 22:40:06 GMT 2006 Olly Betts <olly@survex.com>
7412 * NEWS: Update from ChangeLog file in preparation for branching and
7415 Sun Nov 12 21:35:42 GMT 2006 Olly Betts <olly@survex.com>
7417 * python/util.i: Need to use Py_ssize_t for length with
7418 PyString_AsStringAndSize() so the build with Python 2.5.
7420 Thu Nov 09 00:23:27 GMT 2006 Olly Betts <olly@survex.com>
7422 * NEWS,configure.ac: Update for 0.9.9.
7424 Wed Nov 08 22:47:56 GMT 2006 Olly Betts <olly@survex.com>
7426 * xapian-bindings.spec.in: We now require Python >= 2.2.
7428 Wed Nov 08 22:47:00 GMT 2006 Olly Betts <olly@survex.com>
7430 * xapian-bindings.spec.in: Run "autoreconf --force" to avoid rpath on
7433 Tue Nov 07 03:48:42 GMT 2006 Olly Betts <olly@survex.com>
7435 * xapian.i: Wrap Flint::open() and Flint::open_writable().
7437 Mon Nov 06 01:41:08 GMT 2006 Olly Betts <olly@survex.com>
7439 * configure.ac: Require SWIG 1.3.30 (1.3.30 isn't out yet, but
7440 1.3.30rc1 is suitable).
7441 * configure.ac: Remove unnecessary backticks from tclsh version test.
7443 Thu Nov 02 19:09:49 GMT 2006 Olly Betts <olly@survex.com>
7445 * NEWS,configure.ac: Update for 0.9.8.
7447 Thu Nov 02 17:54:41 GMT 2006 Olly Betts <olly@survex.com>
7449 * tcl8/run-tcl-test: Fix to work when /bin/sh is dash.
7450 * tcl8/util.i: Add handling for QueryParser std::string exceptions.
7451 Fix handling of unknown errors.
7452 * tcl8/smoketest.tcl: Add test.
7454 Thu Nov 02 13:43:31 GMT 2006 Olly Betts <olly@survex.com>
7456 * csharp/SmokeTest.cs: Test QueryParser parse error. Fix warning
7457 about unused variable in OP_ELITE_SET check.
7459 Tue Oct 31 02:01:43 GMT 2006 Olly Betts <olly@survex.com>
7461 * configure.ac: Sanity check PHP_EXTENSION_DIR and PHP_INC.
7463 Tue Oct 31 01:45:45 GMT 2006 Olly Betts <olly@survex.com>
7465 * configure.ac: Now tested on MacOS X 10.2, so update comment.
7467 Sat Oct 28 08:40:46 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7469 * python/smoketest.py: Add test to check QueryParser error
7472 Sat Oct 28 03:40:39 BST 2006 Olly Betts <olly@survex.com>
7474 * xapian.i: QueryParser::parse_query() throws const char *, not
7475 std::string. Make these exceptions look as if they are of
7476 type QueryParserError so this works the same way as 1.0 will.
7477 Also, return as SWIG_RuntimeError rather than SWIG_UnknownError - in
7478 particular so PHP4 turns this exception into a trappable warning
7479 rather than a hard error.
7480 * php/smoketest4.php,php/smoketest5.php: Add tests for the above.
7481 Also check the exception message given by the DocNotFoundError
7484 Fri Oct 27 11:28:48 BST 2006 Richard Boulton <richard@lemurconsulting.com>
7486 * xapian.i: Catch exceptions of type "std:string", since the query
7487 parser currently throws these. This should probably be fixed in
7488 the query parser for release 1.0, but this fix prevents crashes
7489 due to these exceptions in a backwards compatible manner.
7491 Sun Oct 22 02:41:09 BST 2006 Olly Betts <olly@survex.com>
7493 * configure.ac: Fix check for jni.h in /usr/lib/jvm/java-gcj/include
7494 to actually work rather than using the cached failure of the first
7497 Sun Oct 22 02:29:09 BST 2006 Olly Betts <olly@survex.com>
7499 * java/SmokeTest.java: Fix check for value of Query.OP_ELITE_SET.
7500 * java/SmokeTest.java: Avoid gcj "set but not used" warning.
7502 Sat Oct 21 20:34:30 BST 2006 Olly Betts <olly@survex.com>
7504 * xapian.i: Wrap the "prog" form of Remote::open() (which is
7505 suitable for general purpose use as of 0.9.7) and the
7506 Remote::open_writable() methods (new in 0.9.7).
7508 Mon Oct 16 11:16:46 BST 2006 Olly Betts <olly@survex.com>
7510 * python/Makefile.am: Fix Python VPATH build to work again.
7512 Mon Oct 16 01:39:37 BST 2006 Olly Betts <olly@survex.com>
7514 * configure.ac: Note that SWIG is only useful for Xapian developers.
7516 Mon Oct 16 01:31:30 BST 2006 Olly Betts <olly@survex.com>
7518 * configure.ac: If we failed to find any languages to build for, give
7519 a more helpful message.
7521 Sun Oct 15 17:55:21 BST 2006 Olly Betts <olly@survex.com>
7523 * python/Makefile.am: Fix to work again in VPATH SVN checkout builds.
7525 Sun Oct 15 01:41:44 BST 2006 Olly Betts <olly@survex.com>
7527 * README,configure.ac,python/Makefile.am: Drop support for Python 2.1.
7529 Wed Oct 11 00:17:49 BST 2006 Olly Betts <olly@survex.com>
7531 * NEWS: Remove empty "Portability:" subheading.
7533 Tue Oct 10 22:08:21 BST 2006 Olly Betts <olly@survex.com>
7535 * csharp/Makefile.am,csharp/util.i,python/util.i,ruby/util.i,xapian.i:
7536 SWIG_DIRECTOR_TYPEMAPS isn't a reliable thing to test it appears, so
7537 define XAPIAN_SWIG_DIRECTORS ourselves for languages where SWIG
7538 supports directors and we are able to make use of them.
7540 Tue Oct 10 17:15:43 BST 2006 Olly Betts <olly@survex.com>
7542 * NEWS,configure.ac: Updated for 0.9.7.
7544 Tue Oct 10 17:04:40 BST 2006 Olly Betts <olly@survex.com>
7546 * csharp/Makefile.am,guile/Makefile.am,tcl8/Makefile.am: In
7547 maintainer-mode, "make clean" should remove the SWIG generated files
7548 which would otherwise only be removed on "make maintainer-clean".
7550 Tue Oct 10 16:22:28 BST 2006 Olly Betts <olly@survex.com>
7552 * csharp/docs/bindings.html: Document MatchDecider subclassing.
7554 Tue Oct 10 16:05:02 BST 2006 Olly Betts <olly@survex.com>
7556 * python/docs/bindings.html: Call the example MatchDecider subclass
7557 "mymatchdecider" not "mymatcher".
7559 Tue Oct 10 16:04:40 BST 2006 Olly Betts <olly@survex.com>
7561 * ruby/docs/bindings.html: Document MatchDecider subclassing.
7563 Tue Oct 10 15:58:32 BST 2006 Olly Betts <olly@survex.com>
7567 Tue Oct 10 15:55:36 BST 2006 Olly Betts <olly@survex.com>
7569 * xapian.i: Only wrap MatchDecider where directors are supported.
7571 Tue Oct 10 13:16:08 BST 2006 Olly Betts <olly@survex.com>
7573 * csharp/Makefile.am,csharp/SmokeTest.cs,xapian.i: Add test of
7574 MatchDecider subclassing in C#.
7576 Tue Oct 10 11:39:46 BST 2006 Olly Betts <olly@survex.com>
7578 * ruby/util.i: Allow bool to be returned by ruby subclasses of
7580 * ruby/smoketest.rb: Add test of MatchDecider subclassing.
7582 Mon Oct 09 15:14:27 BST 2006 Olly Betts <olly@survex.com>
7584 * python/util.i,xapian.i: Enable directors everywhere that SWIG
7587 Sat Oct 07 10:45:07 BST 2006 Olly Betts <olly@survex.com>
7589 * php/smoketest.php,php/smoketest4.php,php/smoketest5.php: Factor out
7590 PHP version specific code into the smoketestN.php files, since we
7591 get parse errors from PHP4 otherwise.
7593 Fri Oct 06 21:40:09 BST 2006 Olly Betts <olly@survex.com>
7595 * php/: Rely on xapian.php to load the extension module for us.
7596 PHP4 bindings now generate proxy classes. Rewrite smoketest to
7597 handle either PHP4 or PHP5 proxy classes. Fix smoketest error
7598 messages to use PHP style code.
7600 Wed Oct 04 17:47:32 BST 2006 Olly Betts <olly@survex.com>
7602 * configure.ac,python/Makefile.am: Use -fno-strict-aliasing when
7603 compiling all SWIG bindings, not just python.
7605 Mon Oct 02 04:45:43 BST 2006 Olly Betts <olly@survex.com>
7607 * configure.ac: Only enable visibility annotations with GCC 4.0 or
7610 Sun Oct 01 13:40:49 BST 2006 Olly Betts <olly@survex.com>
7612 * ruby/docs/examples/simplesearch.rb: "First ten" is inaccurate since
7613 we may have less than 10 matches. Say "1-<N>" instead.
7614 * ruby/docs/examples/simplematchdecider.rb: Need to initialise
7615 super-class, and fix the value test in MyMatchDecider.
7617 Sun Oct 01 06:31:37 BST 2006 Olly Betts <olly@survex.com>
7619 * xapian.i: Use SWIGPHP instead of SWIGPHP4 since we want those
7620 parts for both PHP4 and PHP5 (SWIG's semantics have changed).
7622 Sun Oct 01 06:17:14 BST 2006 Olly Betts <olly@survex.com>
7624 * ruby/docs/examples/simplesearch.rb: Lowercase terms before stemming.
7626 * ruby/docs/examples/simplematchdecider.rb: Implemented, but the
7627 bindings don't currently enable directors for Ruby.
7629 Sun Oct 01 06:14:52 BST 2006 Olly Betts <olly@survex.com>
7631 * csharp/Makefile.am: SWIG C# now supports directors, so we get a
7632 xapian_wrap.h file generated too which we need to ship. Also
7633 remove the "nodist_" prefix from "XapianSharp_la_SOURCES" since
7634 we do want to distribute xapian_wrap.cc (and already mark it
7635 for explicit distribution elsewhere!)
7637 Sat Sep 30 19:49:18 BST 2006 Olly Betts <olly@survex.com>
7639 * python/docs/examples/simplematchdecider.py: Call the MyMatchDecider
7640 instance "mdecider" rather than "matcher", to avoid confusing the
7643 Sat Sep 30 03:30:33 BST 2006 Olly Betts <olly@survex.com>
7645 * ruby/Makefile.am: Oops, xapian.rb isn't a generated file. Undo
7646 last change, use the "dist_" prefix and let "make clean" remove
7647 the BUILT_SOURCES if we're in MAINTAINER_MODE.
7649 Sat Sep 30 03:28:19 BST 2006 Olly Betts <olly@survex.com>
7651 * ruby/Makefile.am: Add dependencies and clean rules for xapian.rb.
7653 Sat Sep 30 03:22:10 BST 2006 Olly Betts <olly@survex.com>
7655 * configure.ac: Look for ruby interpreter as "ruby1.8" since it's
7656 called that (with no "ruby" alias) on Ubuntu dapper at least.
7658 Sat Sep 30 03:03:30 BST 2006 Olly Betts <olly@survex.com>
7660 * python/docs/examples/simplematchdecider.py: Fix typo in comment.
7662 Sat Sep 30 03:01:22 BST 2006 Olly Betts <olly@survex.com>
7664 * python/Makefile.am: Prefer $(PYTHON_MODERN_OR_OLDE) to
7665 @PYTHON_MODERN_OR_OLDE@. No need to list xapian_wrap.h in
7668 Sat Sep 30 03:00:01 BST 2006 Olly Betts <olly@survex.com>
7670 * php/Makefile.am: When running smoketest.php, pass the "-q" option,
7671 which suppresses HTTP header output for PHP < 4.3 and is ignored for
7672 compatibility by more recent versions of PHP.
7674 Sat Sep 30 02:57:24 BST 2006 Olly Betts <olly@survex.com>
7676 * configure.ac,php/Makefile.am: Build PHP bindings for both PHP4 and
7677 PHP5 (using SWIG's new support for generating OO PHP5 wrappers).
7679 Sat Sep 30 02:41:23 BST 2006 Olly Betts <olly@survex.com>
7681 * python/smoketest.py: Added missing "sys.exit(1)" in
7682 TermIter.skip_to() test. Run exception handling tests and test for
7683 OP_ELITE_SET value whatever the python version is. Add test that
7684 MatchDecider can be subclassed successfully.
7686 Fri Sep 29 10:06:37 BST 2006 Olly Betts <olly@survex.com>
7688 * configure.ac: Fix typo - PHP_tried should be PHP_found. This might
7689 have caused the PHP interpreter not to be found in some cases when
7690 it was actually available, but it's only use to run the smoketest
7691 not for building the bindings.
7693 Fri Sep 29 07:02:10 BST 2006 Olly Betts <olly@survex.com>
7695 * tcl8/smoketest.tcl: Add comment about Tcl storing zero bytes as
7698 Thu Sep 28 15:05:07 BST 2006 Olly Betts <olly@survex.com>
7700 * python/extra.i,python/smoketest.py: Wrap TermIterator::skip_to().
7702 Thu Sep 28 12:09:52 BST 2006 Olly Betts <olly@survex.com>
7704 * csharp/SmokeTest.cs: Fix check that OP_ELITE_SET works to actually
7705 work, and also not give compiler warnings.
7706 * csharp/Makefile.am: Latest swig generates a "xapian_wrap.h" file, so
7707 ship that. Also don't mark xapian_wrap.cc as "nodist" in one place
7708 since we want to distribute it (and mark it so elsewhere).
7710 Thu Sep 28 11:54:46 BST 2006 Olly Betts <olly@survex.com>
7712 * java/SmokeTest.java,python/smoketest.py,ruby/smoketest.rb: Check
7713 that OP_ELITE_SET has the correct numerical value.
7715 Thu Sep 28 09:47:01 BST 2006 Olly Betts <olly@survex.com>
7717 * java/native/Makefile.am: Actually use JAVA_CPPFLAGS.
7719 Thu Sep 28 09:42:21 BST 2006 Olly Betts <olly@survex.com>
7721 * xapian.i: Explicitly set OP_ELITE_SET to 10, since some languages
7722 (e.g. Csharp) use the value from here rather than from the xapian
7724 * csharp/SmokeTest.cs: Check that OP_ELITE_SET works (until now it had
7725 the wrong value in C# so caused an exception).
7726 * php/smoketest.php: Check that OP_ELITE_SET has the correct numerical
7729 Mon Sep 11 06:51:25 BST 2006 Olly Betts <olly@survex.com>
7731 * configure.ac: Fix broken sed command in previous checkin.
7733 Fri Sep 08 03:27:36 BST 2006 Olly Betts <olly@survex.com>
7735 * configure.ac,tcl8/Makefile.am: For Tcl, remove any _svn6789 suffix
7736 from the version number.
7738 Tue Sep 05 21:14:33 BST 2006 Olly Betts <olly@survex.com>
7740 * configure.ac: Need to AC_SUBST(PYTHON_CXXFLAGS) so that we really
7741 add "-fno-strict-aliasing" when compiling the python bindings with
7744 Thu Aug 31 20:27:42 BST 2006 Olly Betts <olly@survex.com>
7746 * tcl8/Makefile.am,tcl8/run-tcl-test: Fix to work in VPATH build.
7748 Thu Aug 24 18:31:42 BST 2006 Olly Betts <olly@survex.com>
7750 * tcl8/smoketest.tcl: Add check that xapian::Query_OP_ELITE_SET has
7753 Thu Aug 24 18:03:47 BST 2006 Olly Betts <olly@survex.com>
7755 * tcl8/: Rework how the smoketest gets run to eliminate special code
7756 for using uninstalled bindings from smoketest.tcl itself. This
7757 allows the smoketest to be run using install bindings, and also
7758 make the smoketest a better example program.
7760 Fri Jun 09 04:10:18 BST 2006 Olly Betts <olly@survex.com>
7762 * configure.ac: We need to look for jni.h in
7763 /usr/lib/jvm/java-gcj/include on some Debian and Ubuntu boxes at
7766 Fri Jun 09 00:23:46 BST 2006 Olly Betts <olly@survex.com>
7768 * xapian.i: Add actual begin_transaction prototype.
7770 Mon May 29 11:19:32 BST 2006 Olly Betts <olly@survex.com>
7772 * php/Makefile.am: Distribute smoketest4.php and smoketest5.php.
7774 Thu May 25 08:09:15 BST 2006 Olly Betts <olly@survex.com>
7776 * php/smoketest5.php: Fix syntax of catch.
7778 Sat May 20 19:27:27 BST 2006 Olly Betts <olly@survex.com>
7780 * TODO: Add 2 entries for smoketest.rb.
7782 Sat May 20 18:09:32 BST 2006 Olly Betts <olly@survex.com>
7784 * php/: Now that we're throwing PHP exceptions with PHP5 we need
7785 separate versions of the exception handling test for PHP4 and
7788 Sat May 20 16:56:51 BST 2006 Olly Betts <olly@survex.com>
7790 * csharp/SmokeTest.cs: Added exception handling test.
7792 Sat May 20 16:36:30 BST 2006 Olly Betts <olly@survex.com>
7794 * tcl8/docs/examples/simpleindex.tcl,
7795 tcl8/docs/examples/simplesearch.tcl: Print $errorCode in
7796 the exception handler.
7798 Sat May 20 16:30:48 BST 2006 Olly Betts <olly@survex.com>
7800 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
7801 Implement saner exception handling for Tcl and document it.
7803 Sat May 20 14:28:39 BST 2006 Olly Betts <olly@survex.com>
7805 * tcl8/smoketest.tcl: Send error messages to stderr.
7806 * tcl8/smoketest.tcl: Add test of exception handling.
7808 Sat May 20 09:24:46 BST 2006 Olly Betts <olly@survex.com>
7810 * python/smoketest.py: Add test of exception handling.
7812 Sat May 20 06:18:43 BST 2006 Olly Betts <olly@survex.com>
7814 * Makefile.am,configure.ac: Specify required automake version in
7815 the call to AM_INIT_AUTOMAKE in configure.ac.
7817 Fri May 19 05:35:01 BST 2006 Olly Betts <olly@survex.com>
7819 * php/smoketest.php: Work out the name of the module we need to load.
7820 Check the return value of dl().
7822 Thu May 18 19:18:00 BST 2006 Olly Betts <olly@survex.com>
7824 * java/native/Query.cc: Correct two misuses of delete to delete[].
7827 Thu May 18 18:27:16 BST 2006 Olly Betts <olly@survex.com>
7829 * python/Makefile.am: xapian.pyc can't be generated until _xapian.la
7830 has been built, so add an explicit dependency so that this works
7831 reliably in parallel builds. Fixes bug#77.
7833 Wed May 17 05:35:59 BST 2006 Olly Betts <olly@survex.com>
7835 * configure.ac: If we're building with GCC 3.4 or higher, pass
7836 -fvisibility=hidden when compiling SWIG generated code which makes
7837 the compiled modules a few percent smaller and perhaps a little
7840 Mon May 15 23:34:55 BST 2006 Olly Betts <olly@survex.com>
7842 * configure.ac: Fixed check for PYTHON_PATHSEP to use $PYTHON rather
7843 than python, and also report the check and its result to the user.
7845 Mon May 15 05:03:19 BST 2006 Olly Betts <olly@survex.com>
7847 * NEWS: Fix the recent headings which said "Xapian-core" to say
7850 Mon May 15 02:54:25 BST 2006 Olly Betts <olly@survex.com>
7852 * NEWS,configure.ac: Version 0.9.6.
7854 Sun May 14 04:15:07 BST 2006 Olly Betts <olly@survex.com>
7856 * csharp/Makefile.am: Fix compiling SmokeTest.cs when srcdir !=
7859 Sun May 14 03:26:11 BST 2006 Olly Betts <olly@survex.com>
7861 * README: Note that Python bindings have been built with MSVC.
7863 Sun May 14 02:52:40 BST 2006 Olly Betts <olly@survex.com>
7865 * csharp/SmokeTest.cs: Add URL for Portable.NET bug which means that
7866 "using Xapian;" is required.
7868 Sun May 14 01:25:07 BST 2006 Olly Betts <olly@survex.com>
7870 * csharp/SmokeTest.cs: The Portable.NET compiler seems to need "using
7871 Xapian;" to be able to see static member functions such as
7872 "Xapian.Version.Major()".
7874 Sun May 14 01:20:55 BST 2006 Olly Betts <olly@survex.com>
7876 * configure.ac,csharp/AssemblyInfo.cs.in: Set the version correctly
7877 when building a snapshot from SVN, store the key in the key
7878 container so we reuse it for later builds, and set informational
7881 Sat May 13 23:40:07 BST 2006 Olly Betts <olly@survex.com>
7883 * configure.ac: Passing /out: when compile a CSharp .exe as the
7884 Portable.NET compiler defaults to a.out. If we're using ilgac
7885 and sn isn't found, set SN=/bin/true since we don't need the
7887 * configure.ac: Look for mcs as gmcs too (since it's sometimes
7889 * README,TODO: We now support building with Portable.NET.
7891 Sat May 13 23:32:04 BST 2006 Olly Betts <olly@survex.com>
7893 * TODO: Update ruby todo list.
7895 Sat May 13 23:20:01 BST 2006 Olly Betts <olly@survex.com>
7897 * csharp/Makefile.am: When building SmokeTest.exe, pass
7898 -out:SmokeTest.exe because the Portable.NET compiler defaults to
7899 naming the output a.out.
7901 Sat May 13 21:14:24 BST 2006 Olly Betts <olly@survex.com>
7903 * csharp/Makefile.am: Fix to work when srcdir != builddir.
7905 Sat May 13 06:05:37 BST 2006 Olly Betts <olly@survex.com>
7907 * ruby/util.i: Rename set_XXX functions which take more than one
7908 parameter to XXX! rather than XXX=. set_query is almost always
7909 called with a single argument, so make than form XXX= and the
7910 two argument form XXX!.
7912 Sat May 13 05:52:03 BST 2006 Olly Betts <olly@survex.com>
7914 * xapian.i: Adding "throw()" to version functions doesn't actually
7915 seem to suppress %exception, so explicitly specify no-op %exception
7918 Sat May 13 02:00:27 BST 2006 Olly Betts <olly@survex.com>
7920 * TODO,csharp/Makefile.am,csharp/SmokeTest.cs,
7921 csharp/docs/bindings.html,csharp/util.i: Wrap the version functions
7922 as more sensible names and document them (and continue to provide
7923 the older undocumented names for now just in case anyone was using
7925 * csharp/Makefile.am: For consistency with other bindings, and
7926 to reduce the number of files called XapianSharp.*, rename
7927 XapianSharp.cc to xapian_wrap.cc.
7929 Sat May 13 00:56:44 BST 2006 Olly Betts <olly@survex.com>
7931 * csharp/docs/bindings.html: Note that the passing of strings from C#
7932 into Xapian and back isn't currently zero byte safe. If you try to
7933 handle string containing zero bytes, you'll find they get truncated
7936 Sat May 13 00:55:55 BST 2006 Olly Betts <olly@survex.com>
7940 Fri May 12 03:57:16 BST 2006 Olly Betts <olly@survex.com>
7942 * csharp/SmokeTest.cs,php/util.i,python/smoketest.py,ruby/util.i,
7943 tcl8/smoketest.tcl,xapian.i: Updated to reflect the
7944 Xapian::xapian_version_string -> Xapian::version_string change
7947 Fri May 12 03:55:56 BST 2006 Olly Betts <olly@survex.com>
7949 * python/docs/examples/simpleexpand.py: Don't define
7950 MAX_PROB_TERM_LENGTH as it isn't used.
7952 Fri May 12 03:46:45 BST 2006 Olly Betts <olly@survex.com>
7954 * php/smoketest.php: Whitespace tweak.
7956 Fri May 12 03:46:06 BST 2006 Olly Betts <olly@survex.com>
7958 * php/docs/examples/simplesearch.php: MAX_PROB_TERM_LENGTH isn't used
7961 Fri May 12 03:39:31 BST 2006 Olly Betts <olly@survex.com>
7963 * php/Makefile.am: Reinstate -noproxy which I accidentally removed on
7966 Fri May 12 00:32:41 BST 2006 Olly Betts <olly@survex.com>
7968 * configure.ac: Add partial support for the Portable.NET C# compiler.
7969 Currently the lack of strong naming support is a problem because
7970 our build system assumes we have it...
7972 Fri May 12 00:31:51 BST 2006 Olly Betts <olly@survex.com>
7974 * xapian.i: Wrap optional length parameter to Enquire::set_query().
7976 Fri May 12 00:30:51 BST 2006 Olly Betts <olly@survex.com>
7978 * ruby/util.i: Rename set_sort_by_relevance to sort_by_relevance!
7979 instead of sort_by_relevance= (as it doesn't take any parameters).
7981 Tue May 09 03:39:03 BST 2006 Olly Betts <olly@survex.com>
7983 * csharp/SmokeTest.cs: Add test of version functions.
7985 Tue May 09 03:21:44 BST 2006 Olly Betts <olly@survex.com>
7987 * php/smoketest.php: Added simple test that zero-bytes are handled
7988 when passing strings to and from Xapian.
7990 Tue May 09 03:12:03 BST 2006 Olly Betts <olly@survex.com>
7992 * python/smoketest.py: Added simple test that zero-bytes are handled
7993 when passing strings to and from Xapian.
7995 Tue May 09 00:50:00 BST 2006 Olly Betts <olly@survex.com>
7997 * tcl8/smoketest.tcl: Add test for version reporting functions; if a
7998 test fails, say which one to aid debugging.
8000 Mon May 08 21:57:49 BST 2006 Olly Betts <olly@survex.com>
8002 * tcl8/smoketest.tcl: Added simple test that zero-bytes are handled
8003 when passing strings to and from Xapian.
8005 Sun May 07 22:03:01 BST 2006 Olly Betts <olly@survex.com>
8007 * java/Makefile.am,java/run-java-test: Another fix "make check" when
8009 * HACKING: Add estimation of approximate effort required to implement
8010 bindings for another language.
8011 * NEWS: Updated ready for next release.
8013 Sun May 07 15:01:24 BST 2006 Olly Betts <olly@survex.com>
8015 * java/Makefile.am: Need to make sure "built" subdirectory exists or
8016 building from clean fails.
8017 * java/Makefile.am: Fix "make check" to work when srcdir != builddir.
8019 Sun May 07 03:48:30 BST 2006 Olly Betts <olly@survex.com>
8021 * ruby/smoketest.rb: Use hit instead of get_hit.
8022 * ruby/util.i: Don't provide the typemap for get_matching_terms since
8023 there's a hand-coded version in xapian.rb.
8025 Sun May 07 01:19:38 BST 2006 Olly Betts <olly@survex.com>
8027 * ruby/Makefile.am: Fix "make check" to work when srcdir != builddir.
8029 Sun May 07 01:16:25 BST 2006 Olly Betts <olly@survex.com>
8031 * php/Makefile.am: Using "php -c myphp.ini" still loads the system
8032 php.ini (at least for PHP 4.3.10), so use "php -n" and then set the
8033 options we specifically want using "-d". Also, fix the smoketest
8034 invocation to work better when srcdir != builddir.
8036 Sat May 07 01:13:58 BST 2006 Olly Betts <olly@survex.com>
8038 * configure.ac,csharp/Makefile.am: Not all machines are set up to run
8039 compiled C# programs when invoked directly, so get configure to
8040 probe if we can, or if using mono works. If not, just skip the
8043 Sat May 06 18:34:41 BST 2006 Olly Betts <olly@survex.com>
8045 * xapian.i: Uncomment commented-out parameter names and fix duplicate
8046 parameter names (for the benefit of bindings which use the parameter
8047 names, like the OO PHP5 patch for SWIG I'm working on...)
8049 Fri May 05 02:36:41 BST 2006 Olly Betts <olly@survex.com>
8051 * ruby/Makefile.am: Actually ship xapian.rb!
8053 Fri May 05 00:49:22 BST 2006 Paul Legato
8055 * ruby/util.i: Remove code left over from before we created xapian.rb.
8057 Thu May 04 18:30:26 BST 2006 Olly Betts <olly@survex.com>
8059 * configure.ac: Remove guile/Makefile from AC_CONFIG_FILES.
8061 Tue May 02 03:00:15 BST 2006 Olly Betts <olly@survex.com>
8063 * python/docs/examples/simplematchdecider.py: Rename confusingly-named
8064 "mymatcher" to "mymatchdecider". Add description of what this
8067 Sun Apr 30 01:27:06 BST 2006 Olly Betts <olly@survex.com>
8069 * configure.ac: The "#" in "C#" seems to sometimes confuse autoconf so
8070 always say "CSharp" instead. Add some missing "checking ..."
8071 messages so the user has more idea what is going on. Look for PHP
8072 interpreter first in prefix given by "php-config --prefix". Look
8073 for CSharp compiler as "csc" (if "mcs" isn't found) but check we
8074 don't find the unrelated Chicken csc program.
8076 Sat Apr 29 22:16:51 BST 2006 Olly Betts <olly@survex.com>
8078 * INSTALL,configure.ac: Remove mentions of guile from
8079 "./configure --help" and installation instructions.
8080 * Makefile.am: Don't include guile subdirectory in the tarball.
8081 * INSTALL: Mention --with-ruby.
8083 Sat Apr 29 21:46:36 BST 2006 Olly Betts <olly@survex.com>
8085 * HACKING,Makefile.am,README,TODO,configure.ac,ruby/Makefile.am,
8086 ruby/docs/Makefile.am,ruby/docs/bindings.html,ruby/docs/examples/,
8087 ruby/smoketest.rb,ruby/util.i,ruby/xapian.rb,xapian.i: Added Ruby
8088 bindings from Paul Legato.
8090 Sat Apr 29 13:57:49 BST 2006 Olly Betts <olly@survex.com>
8092 * php/docs/bindings.html,python/docs/bindings.html,
8093 tcl8/docs/bindings.html,xapian.i: Rename get_document_id to
8094 get_docid for consistency. Keep get_document_id as an alias
8095 for now for backward compatibility.
8097 Sat Apr 29 02:48:54 BST 2006 Olly Betts <olly@survex.com>
8099 * xapian.i: Fixed ESet::empty() to return bool instead of
8100 Xapian::termcount (this was probably a largely harmless error).
8102 Fri Apr 28 17:52:31 BST 2006 Olly Betts <olly@survex.com>
8104 * csharp/util.i,xapian.i: Move the C# specific %rename list to
8107 Fri Apr 28 17:38:12 BST 2006 Olly Betts <olly@survex.com>
8109 * xapian.i: PHP 4.1.2 doesn't define PHP_MAJOR_VERSION so rejig code
8112 Fri Apr 28 17:24:32 BST 2006 Olly Betts <olly@survex.com>
8114 * INSTALL: To install without root access, you need to specify
8115 --prefix to configure so that the docs and examples can be
8116 installed somewhere.
8118 Fri Apr 28 16:43:53 BST 2006 Olly Betts <olly@survex.com>
8120 * php/util.i,python/util.i,tcl8/util.i,xapian.i: Add
8121 XAPIAN_TERMITERATOR_PAIR_OUTPUT_TYPEMAP and
8122 XAPIAN_MIXED_VECTOR_QUERY_INPUT_TYPEMAP which util.i can #define to
8123 specify which optional typemaps it provides so we don't need to
8124 encode this information in xapian.i.
8126 Fri Apr 28 14:32:22 BST 2006 Olly Betts <olly@survex.com>
8128 * xapian.i: Fix SWIG_RuntimeError to be handled as an exception in
8131 Fri Apr 28 14:26:20 BST 2006 Olly Betts <olly@survex.com>
8133 * xapian.i: Mark the calls which return version strings as "throw()"
8134 so that SWIG knows it can omit exception handling wrappers.
8136 Fri Apr 28 14:11:32 BST 2006 Olly Betts <olly@survex.com>
8138 * java/Makefile.am,java/run-java-test: Simplify (and improve
8139 portability of) run-java-test by using "libtool --mode=execute"'s
8142 Sun Apr 16 03:48:08 BST 2006 Olly Betts <olly@survex.com>
8144 * php/smoketest.php: Translated tests of the version number functions
8145 from smoketest.py. Failing tests now print a diagnostic before
8146 dying (again like smoketest.py).
8148 Thu Apr 13 19:50:16 BST 2006 Olly Betts <olly@survex.com>
8150 * INSTALL: Add section describing how to install without root access.
8152 Wed Apr 12 00:38:39 BST 2006 Olly Betts <olly@survex.com>
8154 * configure.ac: Fix warning flags passed for Intel C++ compiler.
8156 Tue Apr 11 22:43:59 BST 2006 Olly Betts <olly@survex.com>
8158 * xapian.i: Removed superfluous "const" from return type "docid"
8159 which is just a typedef for an unsigned integer type.
8161 Sun Apr 09 16:47:15 BST 2006 Olly Betts <olly@survex.com>
8163 * python/Makefile.am: Install xapian.py and xapian.pyc as _DATA not
8164 _SCRIPTS because we don't want to make them executable (they don't
8167 Sat Apr 08 20:09:39 BST 2006 Olly Betts <olly@survex.com>
8169 * NEWS,configure.ac: Updated for 0.9.5.
8171 Sat Apr 08 20:08:07 BST 2006 Olly Betts <olly@survex.com>
8173 * configure.ac: Disable "--with-guile" option.
8175 Fri Apr 07 22:54:54 BST 2006 Olly Betts <olly@survex.com>
8177 * configure.ac: Special case setting of compiler warnings to account
8178 for Intel's C++ compiler (which configure detects as GCC.
8180 Fri Apr 07 17:33:39 BST 2006 Olly Betts <olly@survex.com>
8182 * Makefile.am: Distribute HACKING.
8184 Fri Apr 07 17:31:40 BST 2006 Olly Betts <olly@survex.com>
8186 * HACKING,README: Split off HACKING to contain information which is
8187 only relevant to those wishing to modify the bindings.
8189 Fri Apr 07 16:49:37 BST 2006 Olly Betts <olly@survex.com>
8191 * java/run-java-test: Fix to work on platforms where LD_LIBRARY_PATH
8192 has a different name.
8194 Thu Apr 06 23:33:55 BST 2006 Olly Betts <olly@survex.com>
8196 * php/docs/examples/simpleindex.php: Flushing after every call to
8197 WritableDatabase_add_document isn't required and will kill
8198 performance, so stop doing it.
8200 Wed Apr 05 03:42:58 BST 2006 Olly Betts <olly@survex.com>
8202 * php/util.i: Add custom typemap for SWIGTYPE& to avoid SEGV when
8203 "Null" is passed where C++ wants an object passed by reference.
8206 Wed Apr 05 03:06:07 BST 2006 Olly Betts <olly@survex.com>
8208 * php/docs/examples/simpleindex.php: Lowercase terms before stemming.
8211 Wed Apr 05 00:48:00 BST 2006 Olly Betts <olly@survex.com>
8213 * configure.ac: Require SWIG 1.3.29.
8215 Tue Apr 04 22:05:37 BST 2006 Olly Betts <olly@survex.com>
8217 * php/smoketest.php: Added regression test to make sure that overload
8218 resolution involving boolean types works.
8220 Tue Apr 04 16:41:44 BST 2006 Olly Betts <olly@survex.com>
8222 * xapian.i: Wrap Enquire::set_sort_by_relevance_then_value().
8224 Sun Apr 02 03:11:38 BST 2006 Olly Betts <olly@survex.com>
8226 * python/Makefile.am: Pass suitable SWIG optimisation options for
8228 * python/Makefile.am,xapian.i: Exclude pythonic iterator code from
8231 Sat Apr 01 16:34:32 BST 2006 Olly Betts <olly@survex.com>
8233 * python/docs/bindings.html,python/smoketest.py: Pythonic iterators
8234 require Python 2.2 or newer.
8236 Thu Mar 30 15:32:44 BST 2006 Olly Betts <olly@survex.com>
8238 * python/docs/bindings.html: Wrap unwrapped paragraphs. Use " to
8239 quote attribute values for consistency.
8241 Thu Mar 30 15:26:21 BST 2006 James Aylett <james@tartarus.org>
8243 * python/docs/bindings.html: Document the Pythonic iterators.
8245 Thu Mar 30 15:23:16 BST 2006 Olly Betts <olly@survex.com>
8247 * python/extra.i: Database's termlist iterator now supports positions.
8249 Tue Mar 28 21:58:21 BST 2006 Olly Betts <olly@survex.com>
8251 * xapian-bindings.spec.in: Use "%{_libdir}" instead of "/usr/lib" for
8252 Python bindings. Add package for C# bindings.
8254 Thu Mar 16 08:15:43 GMT 2006 Olly Betts <olly@survex.com>
8256 * php/util.i: Fix handling of bool parameters when resolving
8257 overloaded methods and/or default arguments. This fixes
8258 Enquire_sort_by_value() to work when the second argument
8261 Thu Mar 16 02:48:16 GMT 2006 Olly Betts <olly@survex.com>
8263 * python/extra.i: Fix TermIter not to try to read termfreqs or
8264 positions when they aren't meaningful for the current TermIter.
8265 * python/smoketest.py: Add feature tests for the various pythonic
8266 iterator wrappers; catch Exception objects and print them.
8268 Wed Mar 15 02:21:53 GMT 2006 Olly Betts <olly@survex.com>
8270 * python/smoketest.py: If a check fails, write a diagnostic message to
8271 stderr so we know which check it was!
8273 Wed Mar 15 01:41:40 GMT 2006 Olly Betts <olly@survex.com>
8275 * python/smoketest.py: Add feature test for MSetIter.
8277 Thu Mar 09 20:11:32 GMT 2006 Olly Betts <olly@survex.com>
8279 * java/SmokeTest.java,java/native/Query.cc,
8280 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
8281 java/org/xapian/XapianJNI.java: Add a new Query constructor
8282 wrapper which take an OP_xxx and an array of Query objects.
8283 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
8284 Compiling a .java file to a .class file now deletes the .jar file
8285 to ensure it gets updated.
8287 Thu Mar 09 20:08:17 GMT 2006 Olly Betts <olly@survex.com>
8289 * java/README: Note that some platforms need "-pthread" or similar
8292 Thu Mar 09 17:50:51 GMT 2006 Olly Betts <olly@survex.com>
8294 * csharp/SmokeTest.cs,xapian.i: Rename Database::GetDoccount() to
8295 Database::GetDocCount() for consistency.
8297 Thu Mar 09 14:57:20 GMT 2006 Olly Betts <olly@survex.com>
8299 * java/Makefile.am: Use JAVA_PATHSEP when specifying the classpath for
8300 compiling .java files to .class files.
8302 Thu Mar 09 06:12:44 GMT 2006 Olly Betts <olly@survex.com>
8304 * java/README,java/native/Makefile.am,java/run-java-test: Causing the
8305 "all" target to run the "install" target seems to be very
8306 problematic, so change "make check" to use the uninstalled JNI glue
8307 library, and update the instructions to say that "make install" is
8310 Thu Mar 09 05:16:19 GMT 2006 Olly Betts <olly@survex.com>
8312 * java/native/XapianObjectHolder.h,java/native/xapian_jni.h: Rework
8313 how we include headers to get hash_map to avoid compiler warnings
8314 since it's usually not in the std namespace nowadays.
8316 Wed Mar 08 23:39:34 GMT 2006 Olly Betts <olly@survex.com>
8318 * configure.ac: Fix poor English in comment.
8320 Wed Mar 08 22:49:57 GMT 2006 Olly Betts <olly@survex.com>
8322 * java/SmokeTest.java: Write a helpful diagnostic to stderr if a check
8323 fails so we have some idea what went wrong!
8325 Tue Mar 07 04:30:45 GMT 2006 Olly Betts <olly@survex.com>
8327 * python/Makefile.am: Use the fairly new "swig -O" option for the
8328 "modern" python bindings as it generates a smaller glue library
8331 Fri Mar 03 00:51:08 GMT 2006 Olly Betts <olly@survex.com>
8333 * configure.ac: Report which languages we're building bindings for
8334 just before configure finishes.
8336 Thu Mar 02 04:26:14 GMT 2006 Olly Betts <olly@survex.com>
8338 * configure.ac: Add a better check for Python's distutils.sysconfig
8339 not being available (the previous check didn't actually work), and
8340 mention in the warning/error that we give that the solution is
8341 probably to install a python-dev or python-devel package.
8343 Thu Mar 02 02:45:00 GMT 2006 Olly Betts <olly@survex.com>
8345 * php/Makefile.am,php/php.ini: php -n avoids reading any php.ini, but
8346 the compiled in default may be to enable the dubiously named
8347 "safe_mode" which prevents dl() being used so "make check" fails.
8348 So instead provide a very simple php.ini which turns off safe_mode
8349 and makes sure enable_dl is on.
8351 Thu Feb 23 16:15:41 GMT 2006 Olly Betts <olly@survex.com>
8353 * xapian.i: Make the stub definitions for disabled backends static.
8355 Tue Feb 21 23:23:59 GMT 2006 Olly Betts <olly@survex.com>
8357 * configure.ac: Catch the case where the user has python installed
8358 but not the module "distutils.sysconfig".
8360 Tue Feb 21 23:02:18 GMT 2006 Olly Betts <olly@survex.com>
8362 * python/Makefile.am: Fix so "make check" works in VPATH builds.
8364 Tue Feb 21 21:15:10 GMT 2006 Olly Betts <olly@survex.com>
8366 * java/native/,xapian.i: Override deprecation warnings for Xapian
8367 methods/functions/etc.
8369 Tue Feb 21 12:12:48 GMT 2006 Olly Betts <olly@survex.com>
8371 * configure.ac: Don't quote $PHP in AC_PATH_PROGS to avoid
8372 "checking for ... no" message.
8374 Tue Feb 21 00:19:57 GMT 2006 Olly Betts <olly@survex.com>
8376 * NEWS,configure.ac: Updated for 0.9.4.
8378 Sun Feb 19 23:21:29 GMT 2006 Olly Betts <olly@survex.com>
8380 * COPYING: Updated FSF address.
8382 Sun Feb 19 01:10:14 GMT 2006 Olly Betts <olly@survex.com>
8384 * xapian.i: Wrap Stopper::get_description().
8385 * xapian.i: Wrap xapian_version_string() and related functions.
8386 * python/smoketest.py: Test wrapping of xapian_version_string()
8387 and related functions.
8389 Sat Feb 18 15:35:06 GMT 2006 Olly Betts <olly@survex.com>
8391 * configure.ac: Actually, the windows special case code for PHP
8392 should *NOT* be active for cygwin too!
8394 Sat Feb 18 15:34:10 GMT 2006 Olly Betts <olly@survex.com>
8396 * php/util.i: Fix so that generated code compiles with ZTS-enabled
8397 PHP (which is the default on Windows).
8399 Fri Feb 17 14:10:08 GMT 2006 Olly Betts <olly@survex.com>
8401 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8402 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8403 tcl8/Makefile.am: If we're overriding MACOSX_DEPLOYMENT_TARGET
8404 then override it for commands run from "make" too.
8405 * configure.ac: The windows special case code for PHP should be
8406 active for cygwin too.
8408 Thu Feb 16 00:11:00 GMT 2006 Olly Betts <olly@survex.com>
8410 * NEWS,configure.ac: Updated for 0.9.3.
8411 * php/Makefile.am: Missing change for trying to enable PHP bindings
8412 to build out of the box on cygwin.
8414 Wed Feb 15 23:18:22 GMT 2006 Olly Betts <olly@survex.com>
8416 * configure.ac: Add missing ";;" on the last alternative in some
8418 * configure.ac: Try to enable PHP bindings to build out of the
8419 box on cygwin (needs testing).
8421 Wed Feb 15 21:02:42 GMT 2006 Olly Betts <olly@survex.com>
8423 * java/README: Updated the java TODO list.
8425 Tue Feb 14 17:13:36 GMT 2006 Olly Betts <olly@survex.com>
8427 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
8428 java/native/Makefile.am,php/Makefile.am,python/Makefile.am,
8429 tcl8/Makefile.am: Only pass -no-undefined on platforms where it
8430 is required in order to link a shared library at all (it causes
8431 problems on MacOS X in some cases).
8433 Tue Feb 14 14:45:34 GMT 2006 Olly Betts <olly@survex.com>
8435 * python/smoketest.py: Remove stray print statement left over from
8438 Tue Feb 14 14:37:15 GMT 2006 Olly Betts <olly@survex.com>
8440 * xapian.i: zend_throw_exception takes a non-const char * as the
8441 message to throw. Presumably it doesn't modify it, but there's
8442 no documentation so it's hard to be sure. Just cast away the const
8445 Tue Feb 14 14:22:35 GMT 2006 Olly Betts <olly@survex.com>
8447 * configure.ac: Change calls to AC_PATH_PROG(FOO, foo, ...)
8448 to AC_PATH_PROGS(FOO, [$FOO foo], ...) so that the user
8449 can do "./configure FOO=myfoo". By itself, AC_PATH_PROG
8450 ignore an explicitly specified FOO unless it has an absolute
8453 Tue Feb 14 11:31:36 GMT 2006 Olly Betts <olly@survex.com>
8455 * xapian-bindings.spec.in: Various updates, mostly from a patch by
8457 + Automatically detect the python version.
8458 + Automatically detect the PHP extension directory.
8459 + Relax Tcl requirement to >= 8.1, since that's what we actually
8461 + Add support for "--without php" and --without tcl8" options to
8463 + Rename "php4" references to "php".
8465 Tue Feb 14 09:21:52 GMT 2006 Olly Betts <olly@survex.com>
8467 * php/util.i: In SWIG 1.3.28, the PHP typecheck for numbers includes
8468 IS_STRING so force std::string to have a higher priority so that
8469 number/string overloads can be resolved as string. Fixes bug#68.
8471 Sun Feb 12 18:31:26 GMT 2006 Olly Betts <olly@survex.com>
8473 * java/SmokeTest.java: Expanded smoketest to cover more features.
8475 Sun Feb 12 16:01:29 GMT 2006 Olly Betts <olly@survex.com>
8477 * java/README: Note that the bindings work with the Eclipse javac
8480 Sun Feb 12 13:30:15 GMT 2006 Olly Betts <olly@survex.com>
8482 * guile/util.i: Replace with a rewrite which doesn't cause SWIG
8483 warnings and is zero-byte safe. The guile bindings are still
8484 a long way from actually working though.
8486 Sun Feb 12 12:31:21 GMT 2006 Olly Betts <olly@survex.com>
8488 * README: SWIG 1.3.28 now released so change "will add" to "added".
8490 Sun Feb 12 07:30:50 GMT 2006 Olly Betts <olly@survex.com>
8492 * java/org/xapian/Query.java: OP_* code 9 no longer exists, so add
8493 it to those rejected by the validity check.
8495 Sun Feb 12 07:28:11 GMT 2006 Olly Betts <olly@survex.com>
8497 * java/native/Query.cc: Fixed memory leak in
8498 Query-from-array-of-strings constructor.
8500 Sun Feb 12 07:22:39 GMT 2006 Olly Betts <olly@survex.com>
8502 * java/README: Add note about how wrapped methods are named.
8504 Sun Feb 12 07:13:36 GMT 2006 Olly Betts <olly@survex.com>
8506 * java/native/org_xapian_XapianJNI.cc,java/native/utils.cc,
8507 java/native/xapian_jni.h: Eliminate the "_errormap" hashmap -
8508 we don't need to use RTTI here, since Xapian::Error subclasses
8509 can tell you their typename directly (using get_type()).
8511 Sat Feb 11 13:10:04 GMT 2006 Olly Betts <olly@survex.com>
8513 * java/org/xapian/Query.java: Comment out no longer used nativeStuff
8516 Fri Feb 10 18:20:36 GMT 2006 Olly Betts <olly@survex.com>
8518 * java/native/xapian_jni.h: Fix 2 typos in comments.
8520 Fri Feb 10 10:17:12 GMT 2006 Olly Betts <olly@survex.com>
8522 * TODO: Update: SwigValueWrapper is no longer used for std::pair;
8523 CamelCase is now used for C#.
8524 * Makefile.am: Ship TODO.
8525 * README: Add reference to TODO.
8527 Fri Feb 10 08:15:54 GMT 2006 Olly Betts <olly@survex.com>
8529 * java/native/Enquire.cc,java/native/org_xapian_XapianJNI.h,
8530 java/org/xapian/XapianJNI.java: Fix updated wrapper for
8532 * java/native/Enquire.cc: Clearer code in wrapper for
8534 * java/org/xapian/Query.java: Commented out unused
8535 'import java.io.StringReader;'.
8537 Fri Feb 10 08:10:51 GMT 2006 Olly Betts <olly@survex.com>
8539 * csharp/SmokeTest.cs: Corrected TermlistCount -> TermListCount, etc.
8541 Fri Feb 10 08:10:12 GMT 2006 Olly Betts <olly@survex.com>
8543 * xapian.i: Fix compilation issues with recent changes.
8545 Fri Feb 10 08:06:26 GMT 2006 Olly Betts <olly@survex.com>
8547 * csharp/Makefile.am: SWIG CVS HEAD now generates the same .cs
8548 filenames for templates as 1.3.27 did, so remove workaround
8549 for handling both cases.
8551 Fri Feb 10 06:51:03 GMT 2006 Olly Betts <olly@survex.com>
8553 * csharp/docs/: svn:ignore Makefile and Makefile.in.
8555 Fri Feb 10 06:49:07 GMT 2006 Olly Betts <olly@survex.com>
8557 * configure.ac: Require SWIG 1.3.28 (for automatic renaming to
8560 Fri Feb 10 06:47:21 GMT 2006 Olly Betts <olly@survex.com>
8562 * xapian.i: For C#, get_mset -> GetMSet; get_eset -> GetESet.
8563 * csharp/SmokeTest.cs,csharp/docs/examples/SimpleIndex.cs,
8564 csharp/docs/examples/SimpleSearch.cs,csharp/util.i: Update
8565 for CamelCase changes.
8567 Fri Feb 10 06:33:10 GMT 2006 Olly Betts <olly@survex.com>
8569 * xapian.i,csharp/docs/bindings.html: Rename method names to
8572 Thu Feb 09 20:41:28 GMT 2006 Olly Betts <olly@survex.com>
8574 * xapian.i: Tidy up new exception handling code.
8575 * xapian.i: Add "%template() std::pair<Xapian::TermIterator,
8576 Xapian::TermIterator>;" which stops SWIG from using SwigValueWrapper
8579 Thu Feb 09 20:18:02 GMT 2006 Olly Betts <olly@survex.com>
8581 * .: svn:ignore xapian-version.h.
8583 Wed Feb 08 15:24:23 GMT 2006 Olly Betts <olly@survex.com>
8585 * xapian.i: Fix typo in exception throwing code for PHP5.
8587 Fri Feb 03 03:15:02 GMT 2006 Olly Betts <olly@survex.com>
8589 * Makefile.am,configure.ac,php/util.i,xapian-version.h.in: Put our
8590 PACKAGE_VERSION into xapian-version.h so we can #include that from
8591 php/util.i without clashing with PACKAGE_VERSION, etc defined by
8594 Thu Jan 12 19:51:52 GMT 2006 Olly Betts <olly@survex.com>
8598 Thu Jan 12 17:23:23 GMT 2006 Olly Betts <olly@survex.com>
8600 * INSTALL: Note that compile time (and probably memory usage) are much
8603 Thu Jan 12 17:18:10 GMT 2006 Olly Betts <olly@survex.com>
8605 * xapian.i: Pull out much of the common exception handling code into
8606 a helper function, drastically reducing the size of the compiled
8607 code for other languages like I recently did for tcl.
8609 Thu Jan 12 15:28:16 GMT 2006 Olly Betts <olly@survex.com>
8611 * python/Makefile.am: "import _xapian;" before we "import xapian;" to
8612 avoid creating a broken xapian.pyc is the shared library can't be
8613 loaded for some reason.
8615 Fri Jan 06 00:30:50 GMT 2006 Olly Betts <olly@survex.com>
8617 * php/util.i: Fix so that PACKAGE_VERSION is defined when compiling
8618 the SWIG generated C++ source code.
8620 Thu Jan 05 18:29:20 GMT 2006 Olly Betts <olly@survex.com>
8622 * xapian.i: SWIG/Tcl ignores the SWIG_XXXError code passed to
8623 SWIG_exception so special-case Tcl's %exception block to only
8624 look for the Xapian::Error baseclass. This cuts the compile
8625 time by about a factor of 3 and halves the size of the stripped
8628 Wed Jan 04 20:21:39 GMT 2006 Olly Betts <olly@survex.com>
8630 * xapian.i: Include default constructors for all classes so that SWIG
8631 knows it doesn't have to use SwigValueWrapper for them.
8633 Tue Jan 03 01:56:32 GMT 2006 Olly Betts <olly@survex.com>
8635 * README: Note that bindings for additional languages need a
8636 smoketest, documentation, and examples.
8638 Tue Jan 03 01:48:29 GMT 2006 Olly Betts <olly@survex.com>
8642 Tue Jan 03 01:45:11 GMT 2006 Olly Betts <olly@survex.com>
8644 * php/docs/bindings.html,php/smoketest.php,xapian.i: Translate Xapian
8645 exceptions to PHP exceptions for PHP5. For PHP4, handle
8646 DocNotFoundError and FeatureUnavailableError by issuing a warning
8647 and making the method return "Null".
8649 Tue Jan 03 01:41:11 GMT 2006 Olly Betts <olly@survex.com>
8651 * php/docs/examples/simplesearch.php: Use newly wrapped Query from
8654 Tue Jan 03 01:40:24 GMT 2006 Olly Betts <olly@survex.com>
8656 * tcl8/docs/examples/simpleindex.tcl: Fix typo in comment.
8657 * tcl8/docs/examples/simplesearch.tcl: Fix to lowercase and stem query
8660 Mon Jan 02 23:40:04 GMT 2006 Olly Betts <olly@survex.com>
8662 * tcl8/docs/examples/simpleindex.tcl,
8663 tcl8/docs/examples/simplesearch.tcl: Need explicit "xapian::" on
8665 * tcl8/docs/examples/simplesearch.tcl: Use the new Query from list
8667 * tcl8/docs/examples/simpleindex.tcl: Tweak regex to not tokenise
8668 "foo--bar" as "foo-" and "bar".
8669 * tcl8/smoketest.tcl: Removed commented out unused line.
8671 Mon Jan 02 23:25:48 GMT 2006 Olly Betts <olly@survex.com>
8673 * tcl8/docs/bindings.html,tcl8/smoketest.tcl,tcl8/util.i,xapian.i:
8674 Implement custom typemaps for Tcl, so that you can now construct
8675 a Query from a list of Query objects and/or strings, and
8676 Enquire::get_matching_terms is now wrapped.
8678 Mon Jan 02 18:59:21 GMT 2006 Olly Betts <olly@survex.com>
8680 * configure.ac,php/docs/Makefile.am,php/docs/examples/Makefile.am,
8681 python/docs/Makefile.am,python/docs/examples/Makefile.am,
8682 tcl8/docs/Makefile.am,tcl8/docs/examples/Makefile.am: Eliminate
8683 separate Makefile in each examples subdirectory, which makes the
8684 build system simpler, smaller, and a little faster.
8686 Mon Jan 02 18:57:47 GMT 2006 Olly Betts <olly@survex.com>
8688 * README: Note that Python 2.0 and Tcl 8.0 wouldn't be too hard to
8689 support in case anyone is sufficiently motivated.
8691 Mon Jan 02 18:47:03 GMT 2006 Olly Betts <olly@survex.com>
8693 * csharp/docs/Makefile.am: Fix path for SimpleIndex.cs; add
8696 Mon Jan 02 18:12:59 GMT 2006 Olly Betts <olly@survex.com>
8698 * README: C# bindings are now usable.
8700 Mon Jan 02 07:06:58 GMT 2006 Olly Betts <olly@survex.com>
8702 * TODO,csharp/TODO: Move C# TODO to top level, update C# entries, and
8705 Mon Jan 02 07:05:05 GMT 2006 Olly Betts <olly@survex.com>
8707 * csharp/docs/Makefile.am,csharp/docs/bindings.html,
8708 csharp/docs/examples/: Add C# examples.
8709 * csharp/docs/bindings.html: Document the slightly odd names that
8710 constants are currently wrapped as.
8712 Mon Jan 02 06:49:48 GMT 2006 Olly Betts <olly@survex.com>
8714 * csharp/util.i: Fixed to work!
8716 Mon Jan 02 02:48:35 GMT 2006 Olly Betts <olly@survex.com>
8718 * csharp/Makefile.am: Don't use $(ASSEMBLY).cc for the generated C++
8719 source. It doesn't work everywhere, so it's confusing to use it
8720 in just some places.
8721 * csharp/util.i: Implement operator== and operator!= for the iterator
8722 classes so that comparisons with the end iterator work as expected.
8723 * csharp/SmokeTest.cs: Add test for this.
8724 * csharp/docs/bindings.html: Document.
8726 Sat Dec 31 14:15:41 GMT 2005 Olly Betts <olly@survex.com>
8728 * csharp/Makefile.am: Removed another reference to
8729 SWIGTYPE_p_std__list_Tstd__string_t.
8731 Sat Dec 31 13:25:31 GMT 2005 Olly Betts <olly@survex.com>
8733 * csharp/Makefile.am: SWIGTYPE_p_std__list_Tstd__string_t.cs is no
8736 Sat Dec 31 06:43:37 GMT 2005 Olly Betts <olly@survex.com>
8738 * configure.ac: Remove php/util.i from AC_CONFIG_FILES.
8740 Sat Dec 31 06:42:41 GMT 2005 Olly Betts <olly@survex.com>
8742 * python/smoketest.py: Add more tests.
8744 Sat Dec 31 06:41:21 GMT 2005 Olly Betts <olly@survex.com>
8746 * php/smoketest.php: Add more tests.
8748 Sat Dec 31 06:40:24 GMT 2005 Olly Betts <olly@survex.com>
8750 * php/docs/bindings.html: Update documentation to include new
8753 Sat Dec 31 06:39:17 GMT 2005 Olly Betts <olly@survex.com>
8755 * php/Makefile.am: Clean up now php/util.i is no longer a generated
8758 Sat Dec 31 06:29:24 GMT 2005 Olly Betts <olly@survex.com>
8760 * php/util.i,php/util.i.in: Generating php/util.i from configure
8761 is unnecessary and risks lost changes if you fail to notice
8762 and edit the wrong file, so stop doing it. Redo Xapian section in
8763 phpinfo() to look more like most other modules; New PHP typemaps:
8764 you can now construct a Query object from an array of strings or
8765 Query objects (or a mixture).
8766 * php/util.i,python/util.i,xapian.i: Change the %extend method
8767 Enquire::get_matching_terms() to generate the PHP/Python list
8768 directly from the TermIterator rather than constructing a
8769 temporary C++ std::list.
8770 * python/util.i: Check for errors in more places.
8772 Sat Dec 31 06:17:56 GMT 2005 Olly Betts <olly@survex.com>
8774 * tcl8/docs/bindings.html: We've not implemented the typemaps
8775 which allow Enquire::get_matching_terms() to work yet, so
8776 comment out that section of the documentation.
8778 Sat Dec 31 06:15:55 GMT 2005 Olly Betts <olly@survex.com>
8780 * csharp/TODO,csharp/docs/bindings.html: Note that we need to write
8781 the custom typemaps for Enquire::get_matching_terms() and the
8782 Query list constructors.
8784 Mon Dec 26 18:14:37 GMT 2005 Olly Betts <olly@survex.com>
8786 * README: Added note about supported platforms.
8788 Sat Dec 24 15:10:53 GMT 2005 Olly Betts <olly@survex.com>
8790 * configure.ac: Added csharp/docs/Makefile to AC_CONFIG_FILES.
8792 Sat Dec 24 14:27:56 GMT 2005 Olly Betts <olly@survex.com>
8794 * php/util.i.in: Remove language name from %typemap as it's deprecated
8795 by SWIG and not needed since we only include the appropriate util.i
8796 for the language we're building bindings for.
8798 Sat Dec 24 13:13:26 GMT 2005 Olly Betts <olly@survex.com>
8800 * csharp/Makefile.am,csharp/extra.i,guile/Makefile.am,guile/extra.i,
8801 php/Makefile.am,php/extra.i,python/util.i,tcl8/Makefile.am,
8802 tcl8/extra.i,xapian.i: Eliminate all the empty extra.i files.
8803 Python's isn't empty, but we can just include that from Python's
8806 Sat Dec 24 13:08:16 GMT 2005 Olly Betts <olly@survex.com>
8808 * csharp/util.i,xapian.i: Make ++ and -- work on iterators.
8810 Sat Dec 24 12:21:59 GMT 2005 Olly Betts <olly@survex.com>
8812 * csharp/Makefile.am,csharp/TODO,csharp/docs/Makefile.am,
8813 csharp/docs/bindings.html: Added documentation for C# bindings.
8815 Thu Dec 22 23:31:40 GMT 2005 Olly Betts <olly@survex.com>
8817 * python/util.i: Comment out unused "get_py_int". Use
8818 PyString_AsStringAndSize() to get string and size in one.
8820 Wed Dec 21 09:27:19 GMT 2005 Olly Betts <olly@survex.com>
8822 * csharp/Makefile.am: Fix SWIG invocation rule to cope with either
8823 SWIG 1.3.27 or SWIG CVS HEAD (which uses a slightly different file
8824 naming convention for templates).
8826 Wed Dec 21 09:04:54 GMT 2005 Olly Betts <olly@survex.com>
8828 * python/util.i: Remove the language name from the %typemap arguments
8829 - it's superfluous (since we only include this file for python) and
8830 seems to be deprecated in SWIG.
8832 Tue Dec 20 20:40:57 GMT 2005 Olly Betts <olly@survex.com>
8834 * python/util.i: Test return value of SWIG_ConvertPtr < 0 for
8835 consistency with usage elsewhere.
8837 Tue Dec 20 16:51:49 GMT 2005 Olly Betts <olly@survex.com>
8839 * csharp/SmokeTest.cs,csharp/TODO: SWIG now supports optional
8840 parameters in C# so no need to specify them. Also the
8841 get_description() problem I noticed seems to have been
8842 fixed by a newer version of SWIG.
8844 Tue Dec 20 15:50:41 GMT 2005 Olly Betts <olly@survex.com>
8846 * xapian.i: Added a missing ";" and two missing "static" from the
8849 Tue Dec 20 13:05:07 GMT 2005 Olly Betts <olly@survex.com>
8851 * csharp/: svn:ignore SmokeTest.exe, and adjust other ignores to be
8853 * csharp/Makefile.am,csharp/SmokeTest.cs,csharp/TODO,xapian.i:
8854 SmokeTest now passes and reports exceptions verbosely.
8855 Xapian::InMemory::open() is wrapped as Xapian.InMemory.open(), and
8856 similarly for other database factory functions.
8857 * xapian.i: Removed workaround for SWIG 1.3.22's missing std_XXX.i
8858 typemap files for C#. Added workaround for SWIG 1.3.27's missing
8859 SWIG_exception() for C#. Stop renaming methods for PHP as it now
8860 support overloading. Add dtors for MSetIterator and ESetIterator
8861 as the classes do have them (they just do nothing) and SWIG will
8862 try to wrap the default ones anyway (and get it slightly wrong).
8864 Tue Dec 20 09:48:56 GMT 2005 Olly Betts <olly@survex.com>
8866 * csharp/Makefile.am: Heed compatibility warnings and use different
8867 forms for command-line switches to the C# compiler (presumably for
8868 compatibility with Microsoft's compiler, though the warnings don't
8869 actually say that explicitly).
8871 Mon Dec 19 12:51:19 GMT 2005 Olly Betts <olly@survex.com>
8873 * tcl8/util.i: Remove typemaps for handling std::string since SWIG
8876 Mon Dec 19 11:45:39 GMT 2005 Olly Betts <olly@survex.com>
8878 * php/docs/bindings.html,php/docs/examples/simpleindex.php: You aren't
8879 meant to call delete_CLASS() directly from PHP (and in fact it's
8880 usually not wrapped now).
8882 Mon Dec 19 11:37:16 GMT 2005 Olly Betts <olly@survex.com>
8884 * php/smoketest.php: Add feature tests for new Query wrapping stuff.
8886 Mon Dec 19 11:34:44 GMT 2005 Olly Betts <olly@survex.com>
8888 * python/util.i: Convert C++ strings to python ones in a zero-byte
8891 Mon Dec 19 11:01:31 GMT 2005 Olly Betts <olly@survex.com>
8893 * configure.ac,python/Makefile.am: If using GCC, compile the python
8894 bindings with -fno-strict-aliasing (python itself is compiled with
8895 this option to avoid problems and it appears we ought to use it too
8896 to avoid the same problems).
8898 Mon Dec 12 11:15:34 GMT 2005 Olly Betts <olly@survex.com>
8900 * php/util.i.in: Use std::string::data() instead of c_str() as it may
8901 be more efficient for some implementations.
8903 Mon Dec 12 04:26:24 GMT 2005 Olly Betts <olly@survex.com>
8905 * configure.ac: Fix java separator configure test to actually work.
8907 Mon Dec 12 02:54:10 GMT 2005 Olly Betts <olly@survex.com>
8909 * configure.ac,java/Makefile.am: Compile a small java program and
8910 run it to find what java wants as path separator in -classpath.
8912 Mon Dec 12 02:11:44 GMT 2005 Olly Betts <olly@survex.com>
8914 * java/Makefile.am,java/run-java-test: Use $(PATH_SEPARATOR) to
8915 separate entries in the java -classpath command line option so
8916 that it'll work on platforms where $(PATH_SEPARATOR) isn't ":".
8918 Sun Dec 11 07:58:51 GMT 2005 Olly Betts <olly@survex.com>
8920 * python/util.i,xapian.i: Support a mixture of xapian.Query objects
8921 and strings in the python xapian.Query(OP, SEQUENCE [, PARAM])
8923 * python/smoketest.py: Add feature test.
8924 * python/docs/bindings.html: Update documentation to mention recent
8927 Sun Dec 11 07:31:21 GMT 2005 Olly Betts <olly@survex.com>
8929 * python/util.i,xapian.i: Fix wrapper for Xapian::Query ctor taking
8930 operator and list of strings, plus optional parameter to work again.
8931 Add a new wrapper which is similar but takes a list of xapian.query
8932 objects instead of strings.
8933 * python/smoketest.py: Add regression test and feature test for
8936 Thu Dec 08 03:39:25 GMT 2005 Olly Betts <olly@survex.com>
8938 * python/extra.i,python/util.i: Tweak layout for better readability;
8940 * python/extra.i: Add vim modeline.
8942 Thu Dec 08 02:05:13 GMT 2005 Olly Betts <olly@survex.com>
8944 * php/docs/examples/simpleindex.php,
8945 php/docs/examples/simplesearch.php: Add a more useful error message
8946 if a database can't be opened; Fix inconsistent whitespace; Update
8949 Thu Dec 08 01:58:04 GMT 2005 Olly Betts <olly@survex.com>
8951 * INSTALL: Improved phrasing.
8952 * NEWS: Added draft entry for next release.
8954 Wed Dec 07 02:46:53 GMT 2005 Olly Betts <olly@survex.com>
8956 * php/docs/bindings.html: Fix typo.
8958 Wed Dec 07 02:42:51 GMT 2005 Olly Betts <olly@survex.com>
8960 * php/docs/bindings.html: Fix typo; note that SWIG doesn't currently
8961 support proxy classes in PHP5.
8963 Wed Nov 30 00:22:33 GMT 2005 Olly Betts <olly@survex.com>
8965 * java/README,java/native/Enquire.cc,java/org/xapian/Enquire.java:
8966 Wrap optional second parameter (query length) to
8967 Enquire::set_query().
8969 Tue Nov 29 04:31:44 GMT 2005 Olly Betts <olly@survex.com>
8973 Tue Nov 29 04:11:18 GMT 2005 Olly Betts <olly@survex.com>
8975 * configure.ac,php/Makefile.am: Bump required SWIG version to 1.3.26
8976 and drop the special requirement for 1.3.22 for PHP (hurrah!)
8978 Tue Nov 29 03:46:40 GMT 2005 Olly Betts <olly@survex.com>
8980 * php/Makefile.am,php/php.ini: Instead of "$(PHP) -c $(srcdir)" and
8981 having an empty php.ini in srcdir (which we were failing to
8982 distribute anyway), use "$(PHP) -n" which tells PHP not to use any
8985 Tue Nov 29 00:48:06 GMT 2005 Olly Betts <olly@survex.com>
8987 * README: Updated list of languages SWIG supports.
8989 Sun Oct 02 14:19:20 BST 2005 Olly Betts <olly@survex.com>
8991 * Makefile.am: Fixed "php4" -> "php" in DIST_SUBDIRS.
8993 Sun Oct 02 00:15:06 BST 2005 Olly Betts <olly@survex.com>
8995 * INSTALL,configure.ac: Add -lstdc++ to XAPIAN_LIBS if we're using
8996 GCC. OpenBSD needs it to be explicitly specified and libtool
8997 handles this if it would have been implicitly linked with anyway.
8998 * INSTALL: Improved and expanded the text in a few places.
9000 Sat Oct 01 14:04:51 BST 2005 Olly Betts <olly@survex.com>
9002 * README,configure.ac,php/,php4/: Fabrice Colin reports that the PHP4
9003 bindings also work with PHP5 so extend configure test to look for
9004 PHP5 too, rename "php4" directory to "php", and change other
9005 references to PHP4 too.
9007 Mon Sep 26 22:39:01 BST 2005 Olly Betts <olly@survex.com>
9009 * INSTALL,configure.ac: On darwin, ensure MACOSX_DEPLOYMENT_TARGET is
9010 set to at least 10.3. This is required to link the bindings, and
9011 it doesn't seem to be possible to link them on 10.1 or 10.2 anyway.
9012 * INSTALL: Update to reflect --with and --without option changes.
9013 * INSTALL: Added notes about OpenBSD issues and issues with compiling
9014 the bindings requiring a lot of memory.
9016 Mon Sep 19 13:19:59 BST 2005 Olly Betts <olly@survex.com>
9018 * configure.ac: Change how which bindings to build are selected. If
9019 no --with* arguments are passed, then we default to building
9020 bindings we detect the required tools for. But instead of requiring
9021 users to deselect bindings they don't want, they now select bindings
9022 they do want. So "./configure --with-python" will only build the
9023 python bindings (and will fail if the required tools aren't
9026 Sun Sep 18 23:58:08 BST 2005 Olly Betts <olly@survex.com>
9028 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9029 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9030 tcl8/Makefile.am: Rework how XAPIAN_CXXFLAGS is passed through
9031 so that the user can override CXXFLAGS like so: make CXXFLAGS=-g
9033 Fri Jul 15 11:12:13 BST 2005 Olly Betts <olly@survex.com>
9035 * configure.ac: Updated for 0.9.2.
9037 Fri Jul 15 10:21:17 BST 2005 Olly Betts <olly@survex.com>
9039 * xapian.i: Added semicolon missing from recent change.
9041 Fri Jul 15 02:15:10 BST 2005 Olly Betts <olly@survex.com>
9043 * NEWS: Updated for 0.9.2.
9045 Fri Jul 15 02:10:07 BST 2005 Olly Betts <olly@survex.com>
9047 * xapian.i: Added wrappers for new optional flags argument to
9048 QueryParser::parse_query().
9050 Fri Jun 24 12:00:19 BST 2005 Olly Betts <olly@survex.com>
9052 * java/README: Add success report for Sun java 1.4.1_01a.
9054 Fri Jun 24 11:13:03 BST 2005 Olly Betts <olly@survex.com>
9056 * java/Makefile.am: Actually distribute SmokeTest.java.
9058 Fri Jun 17 03:18:19 BST 2005 Olly Betts <olly@survex.com>
9060 * configure.ac: csharp build uses a tool from GNU Mono called "mcs"
9061 but some UNIX variants ship with a tool called "mcs" which does
9062 something else. For now, simply check the "mcs --version" is
9065 Thu Jun 16 19:12:41 BST 2005 Olly Betts <olly@survex.com>
9067 * python/util.i: When converting a python list to vector<string> we
9068 know the number of elements so reserve that number in the vector.
9070 Thu Jun 16 19:02:03 BST 2005 Olly Betts <olly@survex.com>
9072 * python/util.i: Remove bogus ";" after closing "}" of "namespace {}".
9074 Mon Jun 06 18:50:54 BST 2005 Olly Betts <olly@survex.com>
9076 * NEWS: Updated for 0.9.1.
9078 Mon Jun 06 18:48:42 BST 2005 Olly Betts <olly@survex.com>
9080 * tcl8/docs/bindings.html: Added information from Michael Schlenker
9081 about how to delete a database object such that the destructor
9084 Mon Jun 06 17:58:16 BST 2005 Olly Betts <olly@survex.com>
9086 * configure.ac,NEWS: Updated for 0.9.1.
9088 Fri May 13 00:34:22 BST 2005 Olly Betts <olly@survex.com>
9090 * NEWS: Updated with Java information for 0.9.0.
9092 Fri May 13 00:29:31 BST 2005 Olly Betts <olly@survex.com>
9094 * java/native/Query.cc,java/native/org_xapian_XapianJNI.h,
9095 java/org/xapian/Query.java,java/org/xapian/XapianJNI.java,
9096 java/README: Wrap optional parameters of Query(term) ctor.
9098 Fri May 13 00:26:24 BST 2005 Olly Betts <olly@survex.com>
9100 * NEWS,configure.ac: Updated for 0.9.0.
9102 Wed May 11 02:15:23 BST 2005 Olly Betts <olly@survex.com>
9104 * java/native/Query.cc,java/native/MSet.cc,
9105 java/native/org_xapian_XapianJNI.h,java/org/xapian/Query.java,
9106 java/org/xapian/MSet.java,java/org/xapian/XapianJNI.java: Updates to
9107 enable compilation with 0.9.0.
9108 * java/Makefile.am: Add .java.class: rule so SmokeTest can be built.
9109 * java/README: List API additions still to be wrapped.
9111 Tue May 10 21:01:57 BST 2005 Olly Betts <olly@survex.com>
9113 * python/extra.i: Should be ValueIter not ValueIterator, and fixed up
9114 a few typos in the code.
9116 Tue May 10 01:24:59 BST 2005 Olly Betts <olly@survex.com>
9118 * configure.ac,python/Makefile.am: Quote another setting of
9119 PYTHONPATH; Don't set PYTHON_LIBS on cygwin; fix undoubled []
9120 in setting of PYTHON_LIBS.
9122 Mon May 09 20:37:42 BST 2005 Olly Betts <olly@survex.com>
9124 * NEWS: Updated again.
9126 Mon May 09 18:47:46 BST 2005 Olly Betts <olly@survex.com>
9128 * configure.ac,python/Makefile.am: Changes to help building the python
9129 bindings under mingw.
9131 Mon May 09 15:22:30 BST 2005 Olly Betts <olly@survex.com>
9133 * python/Makefile.am: Add "" around PYTHONPATH setting in
9134 TESTS_ENVIRONMENT to protect PYTHON_PATHSEP from the shell
9135 (PYTHON_PATHSEP is ';' under Windows).
9136 * python/Makefile.am: Explicitly pass -outdir to SWIG because Windows
9137 versions of SWIG only consider '\' as a directory separator when
9138 extracting the directory from the argument to -o.
9140 Mon May 09 11:02:08 BST 2005 Olly Betts <olly@survex.com>
9142 * configure.ac: If python is found, also check that Python.h exists
9143 (it may not be if the python-dev package (or similar) isn't
9146 Mon May 09 11:00:08 BST 2005 Olly Betts <olly@survex.com>
9148 * python/extra.i: Removed python iter wrappers for removed methods
9149 QueryParser::termlist_begin() and termlist_end().
9151 Mon May 09 10:54:47 BST 2005 Olly Betts <olly@survex.com>
9153 * xapian.i: Removed wrappers for removed methods
9154 QueryParser::termlist_begin() and termlist_end().
9156 Fri May 06 23:22:28 BST 2005 Olly Betts <olly@survex.com>
9158 * NEWS: Updated in preparation for 0.9.0.
9160 Fri May 06 20:39:50 BST 2005 Olly Betts <olly@survex.com>
9162 * python/Makefile.am: Use correct path separator in PYTHONPATH when
9163 generating .pyc file.
9165 Fri May 06 17:57:05 BST 2005 Olly Betts <olly@survex.com>
9167 * configure.ac,python/Makefile.am: Make configure probe for correct
9168 separator to use in PYTHONPATH.
9170 Thu May 05 13:17:36 BST 2005 Olly Betts <olly@survex.com>
9172 * skiptest: Add skiptest script needed by last-but-one commit.
9174 Thu May 05 12:44:01 BST 2005 Olly Betts <olly@survex.com>
9176 * xapian.i: Back out PHP4 specific hacks added since 0.8.5 which
9177 were only needed for SWIG 1.3.23 and later,
9179 Wed May 04 18:07:49 BST 2005 Olly Betts <olly@survex.com>
9181 * configure.ac,Makefile.am: Setting PHP4 to "exit 77 #" doesn't
9182 actually work right, so use a trivial shell script to skip PHP
9183 tests if we can't find the PHP interpreter.
9185 Wed May 04 02:00:31 BST 2005 Olly Betts <olly@survex.com>
9187 * csharp/Makefile.am,python/Makefile.am,java/native/Makefile.am,
9188 guile/Makefile.am,tcl8/Makefile.am,php4/Makefile.am: Pass
9189 -no-undefined in *_la_LDFLAGS because libtool requires in on
9190 MS Windows. Also use $(PATH_SEPARATOR) instead of ':' when
9191 specifying search paths.
9193 Fri Apr 29 09:57:17 BST 2005 Olly Betts <olly@survex.com>
9195 * xapian.i: Rename second version of Muscat36::open_da() for guile
9196 like we do for PHP4.
9197 * configure.ac: Disable guile by default, as it needs more work.
9199 Thu Apr 28 21:21:23 BST 2005 Olly Betts <olly@survex.com>
9201 * xapian.i: If a backend is disabled in the xapian-core we're building
9202 against, provide stub definitions of the database factory functions
9203 so there isn't a link failure.
9204 * xapian.i: This means we can now wrap the Muscat36 factory functions.
9205 * xapian.i: QueryParser::set_stemming_options() has been renamed to
9206 set_stemming_strategy().
9208 Fri Apr 22 01:33:41 BST 2005 Olly Betts <olly@survex.com>
9210 * xapian.i: Updated to reflect 0.9.0 API.
9212 Thu Apr 07 23:49:51 BST 2005 Olly Betts <olly@survex.com>
9214 * xapian.i: Removed superfluous ';' after 'namespace { ... }'.
9216 Tue Apr 05 15:23:44 BST 2005 Olly Betts <olly@survex.com>
9218 * configure.ac: Fix version test to allow for any _svn6789 suffix.
9220 Tue Apr 05 00:50:36 BST 2005 Olly Betts <olly@survex.com>
9222 * csharp/.cvsignore,python/docs/.cvsignore,
9223 python/docs/examples/.cvsignore,python/.cvsignore,
9224 java/native/.cvsignore,java/org/xapian/errors/.cvsignore,
9225 java/org/xapian/.cvsignore,java/org/xapian/examples/.cvsignore,
9226 java/org/.cvsignore,java/.cvsignore,debian/.cvsignore,
9227 guile/.cvsignore,tcl8/docs/.cvsignore,tcl8/docs/examples/.cvsignore,
9228 tcl8/.cvsignore,php4/docs/.cvsignore,php4/docs/examples/.cvsignore,
9229 php4/.cvsignore,.cvsignore: Remove .cvsignore files, as they're not
9232 Tue Apr 05 00:34:09 BST 2005 Olly Betts <olly@survex.com>
9234 * configure.ac,php4/Makefile.am: There are problems with the PHP glue
9235 code produced by SWIG 1.3.23 and later - optional arguments aren't
9236 optional. So add back the SWIG_1_3_22 machinery.
9238 Tue Mar 29 15:14:11 BST 2005 Olly Betts <olly@survex.com>
9240 * csharp/Makefile.am: Updated list of generated .cs files.
9242 Tue Mar 29 14:48:21 BST 2005 Olly Betts <olly@survex.com>
9244 * xapian.i: Fix C# warnings.
9246 Tue Mar 29 13:57:36 BST 2005 Olly Betts <olly@survex.com>
9248 * xapian.i: For PHP4, rename default Database ctor to Database_empty
9249 instead of suppressing the Database(const string &path) ctor.
9251 Tue Mar 29 13:39:36 BST 2005 Olly Betts <olly@survex.com>
9253 * configure.ac: Pass -Werror to SWIG.
9254 * xapian.i: Fix all the SWIG warnings which are now errors.
9256 Tue Mar 29 13:29:47 BST 2005 James Aylett <james@tartarus.org>
9258 * don't wrap MSet::max_size() as it's there for STL
9259 compatibility rather than useful functionality.
9261 Tue Mar 29 11:55:26 BST 2005 James Aylett <james@tartarus.org>
9263 * when running PHP4 tests, use a blank config file so that if
9264 the xapian bindings are already installed as an extension and
9265 loaded automatically in the default config, they won't be
9266 during the test run.
9268 The tests use dl(), so will pick up the version we've just
9271 Tue Mar 29 10:32:36 BST 2005 Olly Betts <olly@survex.com>
9273 * configure.ac,php4/Makefile.am: SWIG > 1.3.22 *does* work for PHP -
9274 the problem was that I had an older PHP SWIG glue shared library
9275 installed and this clashes with new glue libraries (but not older
9276 ones). So strip out the machinery to use a different SWIG version
9278 * configure.ac: Require SWIG >= 1.3.24.
9280 Mon Mar 21 09:37:45 GMT 2005 James Aylett <james@tartarus.org>
9282 * xapian.i: updated SWIG-based bindings to latest API
9284 * python/extra.i: more Python-style iterators
9286 * tcl8/docs/.cvsignore, tcl8/docs/examples/.cvsignore: ignore
9287 autogenerated Makefile.in, Makefile
9289 Mon Mar 21 07:01:14 GMT 2005 Olly Betts <olly@survex.com>
9291 * configure.ac,php4/Makefile.am: Use SWIG 1.3.22 for PHP bindings
9292 as more recent versions don't work.
9293 * configure.ac: If configure can't find the php interpreter (as php4
9294 or php), it probably just means it's not on PATH. We only need it
9295 for running the smoketest, so substitute "exit 77 #" instead which
9296 will cause the test to skip (previously we substituted "missing"
9297 which causes the test to fail).
9299 Wed Feb 23 04:08:55 GMT 2005 Olly Betts <olly@survex.com>
9301 * NEWS: Updated for 0.8.5.1.
9303 Wed Feb 23 04:07:48 GMT 2005 Olly Betts <olly@survex.com>
9305 * README: Refer reader to java/README for java specific information.
9307 Tue Feb 22 16:12:55 GMT 2005 Olly Betts <olly@survex.com>
9309 * java/Makefile.am,java/README,java/native/Makefile.am,
9310 java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9311 Fixed how the jar file is made, and build it directory to the built
9312 subdirectory rather than requiring an "install" step. Updated the
9313 README to add a "how to build" section. Tweak the java commands in
9314 the README for running the examples to work around a bug in Debian
9315 gij's java wrapper script. Added a README section about tested java
9316 platforms. Automatically "install" the JNI glue library in "built"
9317 and remove the .la file (which is useless here).
9319 Tue Feb 22 01:38:14 GMT 2005 Olly Betts <olly@survex.com>
9321 * configure.ac: Set version to 0.8.5.1 and fix version check.
9323 Mon Feb 21 20:17:07 GMT 2005 Olly Betts <olly@survex.com>
9325 * COPYING: This code is under the GPL (except the Java bindings which
9326 are MIT-style, but that's GPL compatible anyway).
9328 Mon Feb 21 20:11:36 GMT 2005 Olly Betts <olly@survex.com>
9330 * configure.ac: Run tests using the C++ compiler; Allow bindings
9331 version to have an extra "patchlevel", yet still match with
9332 corresponding xapian-core version (e.g. 0.8.5.1 and 0.8.5);
9333 Use "-Wno-unused" when compiling JNI C++ code to ignore harmless
9334 warnings in generated code (we were specially passing "-Wunused"
9335 which was a thinko I believe!)
9337 Mon Feb 21 20:08:56 GMT 2005 Olly Betts <olly@survex.com>
9339 * java/Makefile.am,java/org/xapian/examples/Makefile.am: "make clean"
9340 should remove the generated class files.
9342 Mon Feb 21 20:06:19 GMT 2005 Olly Betts <olly@survex.com>
9344 * java/README: Added list of unwrapped methods and classes.
9346 Mon Feb 21 20:03:06 GMT 2005 Olly Betts <olly@survex.com>
9348 * java/.cvsignore: Add "built" directory.
9350 Mon Feb 21 20:02:17 GMT 2005 Olly Betts <olly@survex.com>
9352 * java/Makefile.am,java/run-java-test: Run SmokeTest on "make check".
9354 Mon Feb 21 18:42:32 GMT 2005 Olly Betts <olly@survex.com>
9356 * java/org/xapian/ExpandDecider.java,
9357 java/org/xapian/MatchDecider.java: Fix GCJ warning.
9359 Mon Feb 21 18:42:03 GMT 2005 Olly Betts <olly@survex.com>
9361 * java/org/xapian/errors/Makefile.am: Remove lingering reference to
9362 InvalidDataError.java and InvalidDataError.class.
9364 Mon Feb 21 05:16:28 GMT 2005 Olly Betts <olly@survex.com>
9366 * java/.cvsignore,java/SmokeTest.java,java/native/,java/org/xapian/,
9367 java/org/xapian/errors/,java/org/xapian/examples/:
9368 Added missing .java sources and removed unused ones; Added java
9369 smoketest (not yet run automatically); Added .cvsignore files for
9370 generated files; Updated to use new ctors for Database and
9371 WritableDatabase which replace Auto::open(); Wrap
9372 Database::get_lastdocid(); Wrap ESetIterator::prev() and
9373 MSetIterator::prev(); Fixed glitches in automake build system;
9374 Prefer Query::empty() to Query::is_empty(); Wrap InMemory::open();
9375 Disable Eric's QueryParser - for consistency we should wrap the
9376 C++ version by default; Removed forced flush() from
9377 WritableDatabase::delete_document() wrapper.
9378 * java/org/xapian/examples/SimpleSearch.java: tweaked to be more like
9381 Mon Feb 21 05:02:30 GMT 2005 Olly Betts <olly@survex.com>
9383 * java/README: Need . in -classpath.
9385 Tue Jan 18 02:27:06 GMT 2005 Olly Betts <olly@survex.com>
9387 * java/org/xapian/Xapian.java: Another missing java source!
9389 Sun Jan 09 13:59:17 GMT 2005 Olly Betts <olly@survex.com>
9391 * configure.ac: Check for "php" as well as "php4", and fall-back to
9392 missing so the error message from "make check" is better.
9394 Thu Dec 23 19:17:39 GMT 2004 Olly Betts <olly@survex.com>
9396 * configure.ac,NEWS: Version 0.8.5.
9398 Thu Dec 23 19:16:53 GMT 2004 Olly Betts <olly@survex.com>
9400 * INSTALL,README: Added better installation instructions.
9402 Mon Dec 20 16:29:01 GMT 2004 Olly Betts <olly@survex.com>
9404 * python/Makefile.am: Simpler .pyc fix.
9406 Fri Dec 10 17:13:52 GMT 2004 Richard Boulton <richard@tartarus.org>
9408 * python/Makefile.am: Fixed bytecode compilation of xapian.py.
9409 xapian.pyc was being generated in the same directory
9410 as xapian.py, but Makefile.am was looking in current directory
9411 when installing it. Additionally, VPATH builds were broken.
9413 Wed Dec 08 16:18:39 GMT 2004 Olly Betts <olly@survex.com>
9415 * NEWS: Fixed typo, bumped date.
9417 Wed Dec 08 02:13:25 GMT 2004 Olly Betts <olly@survex.com>
9419 * php4/docs/bindings.html,python/docs/bindings.html,
9420 tcl8/docs/bindings.html: Reworked text about Xapian::Auto namespace
9421 and a few other tweaks.
9423 Tue Dec 07 19:55:48 GMT 2004 Olly Betts <olly@survex.com>
9425 * xapian.i,php4/docs/examples/simpleindex.php,
9426 php4/docs/examples/simplesearch.php,python/docs/examples/,
9427 tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl,
9428 tcl8/docs/examples/simplesearch.tcl: Wrap the new constructors
9429 for Database and WritableDatabase, use these in the examples,
9430 and removed mentions of Auto::open() from the documentation.
9431 Don't wrap the WritableDatabase forms of Auto::open() and
9432 Quartz::open() in tcl8 since the destructor never gets called.
9434 Tue Dec 07 19:53:48 GMT 2004 Olly Betts <olly@survex.com>
9436 * README: Updated to list fully supported languages and improved
9439 Thu Dec 02 13:31:40 GMT 2004 Olly Betts <olly@survex.com>
9441 * xapian.i: Weight::clone is for internal use - don't wrap it.
9442 * xapian.i: For PHP4, rename the default BM25Weight ctor to
9443 BM25Weight_default and the default TradWeight ctor to
9446 Thu Dec 02 13:30:55 GMT 2004 Olly Betts <olly@survex.com>
9448 * python/Makefile.am: test -d before mkdir to avoid worrying looking
9451 Thu Dec 02 03:40:16 GMT 2004 Olly Betts <olly@survex.com>
9455 Thu Dec 02 03:37:06 GMT 2004 Olly Betts <olly@survex.com>
9457 * configure.ac: SWIG 1.3.23 causes warnings (and quite likely problems)
9458 with PHP4. It helps C#, but since that's unfinished, PHP4
9459 definitely matters more, so drop back to SWIG 1.3.22.
9461 Thu Dec 02 03:27:37 GMT 2004 Olly Betts <olly@survex.com>
9463 * configure.ac: Added tcl8/docs/Makefile tcl8/docs/examples/Makefile
9466 Thu Dec 02 03:05:11 GMT 2004 Olly Betts <olly@survex.com>
9468 * NEWS,xapian.i: Removed the director for Xapian::Weight for now,
9469 since it was causing swig to generate code which didn't compile.
9471 Thu Dec 02 03:03:39 GMT 2004 Olly Betts <olly@survex.com>
9473 * python/.cvsignore: Updated.
9475 Thu Dec 02 03:00:56 GMT 2004 Olly Betts <olly@survex.com>
9477 * python/Makefile.am: Fixed PYTHONPATH for running smoketest.py.
9479 Wed Dec 01 21:32:02 GMT 2004 Olly Betts <olly@survex.com>
9481 * xapian.i: Prototype Weight::clone() method so that SWIG directors
9484 Wed Dec 01 16:11:32 GMT 2004 Olly Betts <olly@survex.com>
9486 * tcl8/Makefile.am,tcl8/docs/Makefile.am,
9487 tcl8/docs/examples/Makefile.am: Ship and install docs and examples
9490 Wed Dec 01 15:41:56 GMT 2004 Olly Betts <olly@survex.com>
9492 * Makefile.am: Distribute xapian-bindings.spec.in.
9494 Wed Dec 01 15:39:55 GMT 2004 Olly Betts <olly@survex.com>
9496 * xapian-bindings.spec.in: No longer need "BuildRequires: swig";
9497 disable building of csharp bindings; package tcl8 documentation;
9498 updated to package the tcl8 bindings at their new location.
9500 Wed Dec 01 05:59:24 GMT 2004 Olly Betts <olly@survex.com>
9502 * NEWS: It's now tomorrow, so bump the 0.8.4 release date.
9504 Wed Dec 01 05:57:41 GMT 2004 Olly Betts <olly@survex.com>
9506 * tcl8/docs/examples/simplesearch.tcl: Need Tcl 8.1 or later.
9508 Wed Dec 01 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9510 * tcl8/docs/examples/simpleindex.tcl: Tweaked to actually work.
9512 Wed Dec 01 05:18:18 GMT 2004 Olly Betts <olly@survex.com>
9514 * tcl8/docs/examples/simpleindex.tcl: Simpler, more idiomatic code
9515 which doesn't rely on features added since Tcl 8.1.
9517 Tue Nov 30 22:42:14 GMT 2004 Olly Betts <olly@survex.com>
9519 * NEWS,configure.ac: Updated for 0.8.4 release.
9521 Mon Nov 29 04:17:42 GMT 2004 Olly Betts <olly@survex.com>
9523 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9524 python/Makefile.am,tcl8/Makefile.am: Instead of requiring the user
9525 to have a really recent SWIG installed, ship the files SWIG
9526 generates. Disable all the SWIG rules unless configure is run
9527 with --enable-maintainer-mode to make sure they aren't triggered
9528 accidentally by make with dodgy VPATH or anything else.
9529 * csharp/Makefile.am: Updated the list of generated .cs files to
9530 include the subclasses of Weight.
9532 Sun Nov 28 02:51:37 GMT 2004 Olly Betts <olly@survex.com>
9534 * csharp/TODO: Note that SWIG 1.3.23 apparently implements optional
9537 Sun Nov 28 01:50:45 GMT 2004 Olly Betts <olly@survex.com>
9539 * csharp/Makefile.am: Wrapping for Xapian::Weight means we need to add
9540 Weight.cs to the list of generated sources.
9542 Sat Nov 27 03:00:24 GMT 2004 Olly Betts <olly@survex.com>
9544 * xapian.i: Mark Weight as needing a director for Python.
9546 Tue Nov 16 02:59:18 GMT 2004 Olly Betts <olly@survex.com>
9548 * configure.ac,csharp/Makefile.am,guile/Makefile.am,php4/Makefile.am,
9549 python/Makefile.am,tcl8/Makefile.am: Use newly added option
9550 `xapian-config --swigflags` which (a) avoids always passing
9551 -I/usr/include which could cause problems if we're using a Xapian
9552 install not in /usr and there's another one in /usr and (b) avoids
9553 problems if `xapian-config --cxxflags` contains flags other than
9556 Sun Nov 14 06:30:47 GMT 2004 Olly Betts <olly@survex.com>
9558 * xapian.i: Wrapped Xapian::Weight and subclasses (compiles, but
9559 otherwise totally untested). Nothing special is done about
9560 directors, so deriving your own Weight subclass in the scripting
9561 language probably won't currently work.
9563 Wed Nov 10 03:32:23 GMT 2004 Olly Betts <olly@survex.com>
9565 * README: Improved a bit.
9567 Wed Nov 10 03:24:08 GMT 2004 Olly Betts <olly@survex.com>
9569 * xapian.i: %name is deprecated, so use %rename instead. This also
9570 works around a bug currently in SWIG CVS HEAD.
9572 Wed Nov 10 01:47:33 GMT 2004 Olly Betts <olly@survex.com>
9574 * xapian.i: Second argument to Document::add_posting() isn't optional.
9576 Tue Nov 09 03:06:56 GMT 2004 Olly Betts <olly@survex.com>
9578 * configure.ac,csharp/Makefile.am,guile/Makefile.am,
9579 java/native/Makefile.am,php4/Makefile.am,python/Makefile.am,
9580 tcl8/Makefile.am: We now get -AA or -std strict_ansi from
9581 xapian-config, so we don't need to probe for them ourselves.
9583 Sat Nov 06 16:19:30 GMT 2004 Olly Betts <olly@survex.com>
9585 * configure.ac: Check GXX instead of GCC when deciding whether to pass
9586 GCC specific warning flags.
9588 Sat Nov 06 13:04:52 GMT 2004 Olly Betts <olly@survex.com>
9590 * configure.ac: Reinstated the check that the bindings version matches
9591 the version of the xapian library. It was added in 0.8.2, but
9592 accidentally removed in 0.8.3.
9594 Sat Nov 06 12:44:40 GMT 2004 Olly Betts <olly@survex.com>
9596 * configure.ac: Protect tcl header version test by prepending x to
9597 both the strings being tested.
9599 Tue Nov 02 05:59:54 GMT 2004 Olly Betts <olly@survex.com>
9601 * configure.ac: Removed pointless probe for a C compiler.
9603 Tue Nov 02 05:54:45 GMT 2004 Olly Betts <olly@survex.com>
9605 * configure.ac: Require SWIG 1.3.22 (for guile).
9607 Sat Oct 30 19:51:10 BST 2004 Olly Betts <olly@survex.com>
9609 * csharp/Makefile.am: Contents of xxx_SOURCES must be literal.
9611 Thu Oct 28 04:45:15 BST 2004 Olly Betts <olly@survex.com>
9613 * csharp/Makefile.am,csharp/SmokeTest.cs: Added a smoketest.
9615 * csharp/Makefile.am: Updated list of generated .cs files.
9617 Thu Oct 28 04:37:31 BST 2004 Olly Betts <olly@survex.com>
9619 * xapian.i: In the Query ctor which takes a vector of terms, only
9620 call set_window if window is non-zero. Otherwise things go wrong
9621 if we're passed an empty vector.
9623 Wed Oct 27 03:34:10 BST 2004 Olly Betts <olly@survex.com>
9625 * configure.ac: Added note that the bindings can easily be compiled
9626 for use with Tcl 8.0, in case anybody needs that for some reason.
9628 Sun Oct 24 02:07:31 BST 2004 Olly Betts <olly@survex.com>
9630 * python/docs/examples/simpleindex.py: Trim spaces from the start as
9631 well as from the end of each line. Simplify the loop slightly.
9633 Sun Oct 24 01:54:17 BST 2004 Olly Betts <olly@survex.com>
9635 * tcl8/docs/bindings.html,tcl8/docs/examples/simpleindex.tcl: Added
9636 Tcl version of simpleindex from xapian-examples.
9638 Sat Oct 23 15:57:00 BST 2004 Olly Betts <olly@survex.com>
9640 * configure.ac,tcl8/Makefile.am: Use the TCL_STUBS mechanism so that
9641 compiled extensions are portable between different versions of Tcl.
9642 This needs Tcl 8.1, so bump the required Tcl version (was 8.0).
9643 Also install in the directory above $tcl_library so the built
9644 extension can be found by other Tcl versions.
9646 Fri Oct 22 03:24:11 BST 2004 Olly Betts <olly@survex.com>
9648 * php4/docs/bindings.html,python/docs/bindings.html,
9649 tcl8/docs/bindings.html: Mention the example scripts near the start
9650 of the documentation, not right at the end.
9651 * php4/docs/bindings.html: Remove documentation explicitly saying
9652 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9653 exactly as we wrap everything else we don't mention!
9655 Fri Oct 22 03:21:20 BST 2004 Olly Betts <olly@survex.com>
9657 * tcl8/.cvsignore,tcl8/Makefile.am: Pass -pkgversion to SWIG to set
9658 the Tcl package version; create pkgIndex.tcl so the package can
9659 be loaded in the usual Tcl way; install in "xapian<VERSION>"
9660 subdirectory of the Tcl library directory, as is the convention.
9662 Fri Oct 22 02:36:00 BST 2004 Olly Betts <olly@survex.com>
9664 * tcl8/docs/bindings.html: Added documentation for tcl8.
9666 Fri Oct 22 02:21:48 BST 2004 Olly Betts <olly@survex.com>
9668 * python/docs/examples/simpleexpand.py,
9669 python/docs/examples/simplematchdecider.py,
9670 python/docs/examples/simplesearch.py: Changed to use James' newly
9671 wrapped Query from list of terms ctor.
9672 * python/docs/examples/simplematchdecider.py: Make the example
9673 MatchDecider exclude documents matching a value, rather than a term.
9674 The latter is a very inefficient way to do what AND_NOT does, and
9675 we don't want examples to mislead like that.
9677 Thu Oct 21 18:00:14 BST 2004 Olly Betts <olly@survex.com>
9679 * python/docs/bindings.html: Note that you can construct a query
9680 from a list of terms, even if you can't from a list of queries.
9681 Add HTML links to the examples.
9683 Thu Oct 21 17:44:19 BST 2004 Olly Betts <olly@survex.com>
9685 * python/docs/bindings.html: Remove documentation explicitly saying
9686 how we wrap Xapian::QueryParser and Xapian::Stem since we wrap them
9687 exactly as we wrap everything else we don't mention! Also mention
9688 simpleexpand example.
9690 Thu Oct 21 16:59:03 BST 2004 Olly Betts <olly@survex.com>
9692 * php4/Makefile.am: Note why we pass -I. to SWIG.
9694 Thu Oct 21 02:45:15 BST 2004 Olly Betts <olly@survex.com>
9696 * xapian.i: It turns out that we do need to wrap MSet::MSet() after
9697 all (simpleexpand.py uses it, for example).
9699 Thu Oct 21 02:43:34 BST 2004 Olly Betts <olly@survex.com>
9701 * python/docs/examples/: Report messages for Xapian exceptions.
9702 Removed MAX_PROB_TERM_LENGTH from scripts which don't use it.
9704 Thu Oct 21 01:39:08 BST 2004 Olly Betts <olly@survex.com>
9706 * tcl8/smoketest.tcl: Explicitly require at least Tcl version 8.
9708 Thu Oct 21 01:35:28 BST 2004 Olly Betts <olly@survex.com>
9710 * tcl8/docs/examples/simplesearch.tcl: Use more idiomatic (and less
9711 idiotic) Tcl thanks to contributions from Michael Schlenker.
9713 Wed Oct 20 05:29:57 BST 2004 Olly Betts <olly@survex.com>
9715 * tcl8/docs/examples/simplesearch.tcl: Sussed out what Query::OP_OR
9718 Wed Oct 20 05:18:36 BST 2004 Olly Betts <olly@survex.com>
9720 * tcl8/docs/examples/simplesearch.tcl: Translated simplesearch into
9723 Tue Oct 19 21:07:06 BST 2004 Olly Betts <olly@survex.com>
9725 * python/Makefile.am: Added xapian_wrap.h as a target for the rule
9728 Tue Oct 19 21:05:11 BST 2004 Olly Betts <olly@survex.com>
9730 * tcl8/Makefile.am: Wrap in a tcl8 namespace "Xapian".
9731 * tcl8/Makefile.am,tcl8/smoketest.tcl: Added a smoketest.
9733 Wed Oct 6 17:28:54 BST 2004 James Aylett <james@tartarus.org>
9735 * get overloaded Query(Query::op, vector<string>*, termpos)
9736 constructor working in Python
9738 Thu Sep 30 02:29:13 BST 2004 Richard Boulton <richard@tartarus.org>
9740 * csharp/Makefile.am: Add XapianSharp.snk to CLEANFILES.
9741 Place generated bindings into C# namespace "Xapian".
9742 Change module name to Xapian. (Assembly remains as XapianSharp).
9743 Remove -noproxy option from swig.
9744 Update list of csharp source file to work with new swig options.
9745 * csharp/.cvsignore: Add XapianSharp.snk, now it's a generated
9748 Wed Sep 29 19:04:41 BST 2004 Olly Betts <olly@survex.com>
9750 * xapian.i: Reenabled inclusion of typemaps.i and exception.i for
9751 Guile. This was disabled in June 2000. 4 years later SWIG seems
9752 to process them successfully.
9754 Wed Sep 29 19:01:28 BST 2004 Olly Betts <olly@survex.com>
9756 * configure.ac,csharp/Makefile.am: Get configure to find sn.
9758 Wed Sep 29 17:23:23 BST 2004 Richard Boulton <richard@tartarus.org>
9760 * csharp/: Generate strong name file automatically.
9762 Wed Sep 29 14:17:50 BST 2004 Olly Betts <olly@survex.com>
9764 * csharp/Makefile.am: Added "touch op.cs" so the build system works
9765 on SWIG <= 1.3.21 as well as SWIG 1.3.22.
9767 Wed Sep 29 14:11:48 BST 2004 Olly Betts <olly@survex.com>
9769 * configure.ac: CSharp bindings now build, so enable them if the
9770 required tools are available.
9772 Wed Sep 29 03:00:05 BST 2004 Olly Betts <olly@survex.com>
9774 * csharp/Makefile.am: Removed hardcoded values for GACUTIL and CSC
9775 which were overriding any values configure tried to set.
9777 Wed Sep 29 02:57:07 BST 2004 Olly Betts <olly@survex.com>
9779 * csharp/Makefile.am: Fixed to build when srcdir != builddir.
9781 Tue Sep 28 20:33:21 BST 2004 Olly Betts <olly@survex.com>
9783 * configure.ac: The guile bindings do now build (though I don't
9784 know guile so can't test them), so enable the guile detection
9785 machinery in configure.
9787 Tue Sep 28 19:32:33 BST 2004 Olly Betts <olly@survex.com>
9789 * csharp/Makefile.am: Add op.cs to XAPIAN_SWIG_CS_SRCS.
9791 Tue Sep 28 19:06:02 BST 2004 Olly Betts <olly@survex.com>
9793 * configure.ac: AC_PATH_PROG calls AC_SUBST, so we don't need to.
9795 Tue Sep 28 19:04:17 BST 2004 Olly Betts <olly@survex.com>
9797 * csharp/Makefile.am: Set AM_CXXFLAGS.
9799 Tue Sep 28 16:45:25 BST 2004 Olly Betts <olly@survex.com>
9801 * xapian.i: Workaround not being able to include stl.i with C#.
9803 Tue Sep 28 16:22:47 BST 2004 Richard Boulton <richard@tartarus.org>
9805 * csharp/AssemblyInfo.cs.in: New file - includes strong name
9807 * csharp/Makefile.am: Build assembly with a strong name, to
9808 make gacutil happy. Use gacutil to install the assembly.
9809 Change xapian_wrap.cc to XapianSharp.cc
9810 * csharp/XapianSharp.snk: New file - strong name for XapianSharp.
9811 * csharp/.cvsignore: Ignore XapianSharp.{cc,loT}
9812 * configure.ac: Generate csharp/AssemblyInfo.cs
9814 Sun Sep 26 19:34:54 BST 2004 Richard Boulton <richard@tartarus.org>
9816 * README: Mention that I'm working on C# bindings.
9817 * csharp/.cvsignore: Ignore generated .cs and .dll files
9819 Sat Sep 25 02:51:22 BST 2004 Richard Boulton <richard@tartarus.org>
9821 * configure.ac,Makefile.am,csharp/: Add C sharp bindings, created
9822 with SWIG. Build disabled by default for now, because these are
9823 completely untested, and probably need quite a bit of work. In
9824 addition, all the SWIG packages I've found seem to require a
9825 patch to work correctly with csharp (various stl_*.i packages are
9826 reported missing, creating them with "touch" seems to work, but
9827 may break things subtly). I need to learn C# before I can test
9830 Mon Sep 20 15:28:04 BST 2004 Olly Betts <olly@survex.com>
9832 * NEWS,configure.ac: Version 0.8.3.
9834 Mon Sep 20 15:10:57 BST 2004 Olly Betts <olly@survex.com>
9836 * java/org/xapian/.cvsignore,java/org/xapian/errors/.cvsignore:
9837 Updated to ignore .class files.
9839 Sun Sep 19 23:28:14 BST 2004 Olly Betts <olly@survex.com>
9841 * .cvsignore,Makefile.am,configure.ac,xapian-bindings.spec.in:
9842 Added spec file contributed by Fabrice Colin.
9844 Sun Sep 19 17:56:32 BST 2004 Olly Betts <olly@survex.com>
9846 * guile/.cvsignore: Added xapian_wrap.cc and xapianc.la.
9848 Fri Sep 17 10:00:59 BST 2004 Olly Betts <olly@survex.com>
9850 * php4/docs/Makefile.am: Include php4/docs/bindings.html in the
9853 Fri Sep 17 00:54:12 BST 2004 Olly Betts <olly@survex.com>
9855 * php4/Makefile.am,python/Makefile.am: DIST_SUBDIRS is superfluous
9856 when it's identical to SUBDIRS.
9858 Fri Sep 17 00:52:47 BST 2004 Olly Betts <olly@survex.com>
9860 * java/org/xapian/Makefile.am,java/org/xapian/errors/Makefile.am:
9861 Pass -classpath to javac; make sure errors subdirectory is built
9862 before we try to build the jar file.
9864 Fri Sep 17 00:00:25 BST 2004 Olly Betts <olly@survex.com>
9866 * configure.ac,tcl8/Makefile.am: Improved check for tcl.h to work with
9869 Thu Sep 16 23:02:28 BST 2004 Olly Betts <olly@survex.com>
9871 * java/native/Makefile.am,java/org/xapian/Makefile.am: Fixed "make
9872 install" to not give libtool error.
9874 Thu Sep 16 22:51:26 BST 2004 Olly Betts <olly@survex.com>
9876 * php4/docs/examples/Makefile.am: Include simplesearch.php and
9877 simpleindex.php in the tarball.
9879 Wed Sep 15 18:47:58 BST 2004 Olly Betts <olly@survex.com>
9881 * configure.ac: Noted that -modern affects xapian.py (xapian_wrap.cc
9884 Wed Sep 15 18:22:23 BST 2004 Olly Betts <olly@survex.com>
9886 * configure.ac,php4/Makefile.am: Removed the recently added
9887 SWIG_PHP_LDFLAGS machinery. We only need to pass those if
9888 we use swig's -noruntime option (which we don't do).
9890 Wed Sep 15 17:38:02 BST 2004 Olly Betts <olly@survex.com>
9892 * configure.ac,python/Makefile.am: Use swig's -modern switch for
9893 Python 2.2 and up - it gives cleaner, leaner, faster wrapper code.
9895 Tue Sep 14 03:37:55 BST 2004 Olly Betts <olly@survex.com>
9897 * guile/Makefile.am,guile/extra.i: Added empty extra.i which
9898 will be required when these bindings get resurrected.
9900 Tue Sep 14 03:37:23 BST 2004 Olly Betts <olly@survex.com>
9902 * tcl8/Makefile.am: Don't install xapian.la.
9904 Tue Sep 14 03:35:57 BST 2004 Olly Betts <olly@survex.com>
9906 * tcl8/extra.i: This had been copied from php4/extra.i without
9907 changing reference in comments from PHP4 to Tcl - fixed.
9909 Mon Sep 13 05:08:51 BST 2004 Olly Betts <olly@survex.com>
9911 * configure.ac: Version 0.8.2.
9913 Mon Sep 13 04:59:54 BST 2004 Olly Betts <olly@survex.com>
9915 * NEWS,xapian.i,php4/docs/bindings.html,python/docs/bindings.html:
9916 Wrap ESet::back(), Database::get_lastdocid(), and the new optional
9917 third parameter to Enquire::set_sorting(). Don't wrap MSet::MSet().
9918 Wrap operator-- as prev() for MSetIterator and ESetIterator. Wrap
9919 Quartz, InMemory, and Remote database factory functions as
9920 quartz_open(), inmemory_open(), and remote_open(). Wrap static
9921 Stem::get_available_languages() and Stem::get_description().
9922 * php4/smoketest.php,python/smoketest.py: Open an InMemory database
9923 and add the document to it as an additional test.
9925 Sun Sep 12 14:31:17 BST 2004 Olly Betts <olly@survex.com>
9927 * xapian.i: Add back is_empty() aliases for compatibility.
9929 Thu Sep 09 04:19:54 BST 2004 Olly Betts <olly@survex.com>
9931 * configure.ac,php4/Makefile.am,php4/smoketest.php: Added smoke test
9933 * python/Makefile.am: Fixed multiple setting of EXTRA_DIST.
9935 Thu Sep 09 03:21:30 BST 2004 Olly Betts <olly@survex.com>
9937 * php4/docs/examples/simpleindex.php,
9938 php4/docs/examples/simplesearch.php: Removed "dl('xapian.so')" -
9939 instead document how to configure PHP to load the module.
9941 Thu Sep 09 03:14:57 BST 2004 Olly Betts <olly@survex.com>
9943 * NEWS: Started to updated for next release.
9945 Thu Sep 09 03:07:43 BST 2004 Olly Betts <olly@survex.com>
9947 * php4/docs/bindings.html: Added documentation on how to install the
9950 Thu Sep 09 02:45:24 BST 2004 Olly Betts <olly@survex.com>
9952 * python/docs/bindings.html: Word-wrapped HTML source.
9954 Thu Sep 09 02:40:17 BST 2004 Olly Betts <olly@survex.com>
9956 * php4/docs/bindings.html,python/docs/bindings.html: Removed
9957 documentation of renaming of empty() methods.
9959 Wed Sep 08 22:16:52 BST 2004 Olly Betts <olly@survex.com>
9961 * xapian.i: Updated for Query->is_empty() -> Query->empty().
9963 Wed Sep 08 20:39:03 BST 2004 Olly Betts <olly@survex.com>
9965 * python/Makefile.am,python/smoketest.py: Added a simple testcase
9966 to at least ensure the python bindings can be initialise and
9967 some simple operations work.
9969 Wed Sep 08 15:23:38 BST 2004 Olly Betts <olly@survex.com>
9971 * xapian.i: Remove renaming of empty() methods to is_empty().
9973 Wed Sep 08 05:34:10 BST 2004 Olly Betts <olly@survex.com>
9975 * README: Pike support is now in SWIG it seems.
9977 Wed Sep 08 05:30:58 BST 2004 Olly Betts <olly@survex.com>
9979 * README: Updated list of languages which SWIG supports.
9981 Wed Sep 08 04:53:07 BST 2004 Olly Betts <olly@survex.com>
9983 * configure.ac: Disable tcl8 bindings if the tcl8.X-dev package
9986 Wed Sep 08 04:52:19 BST 2004 Olly Betts <olly@survex.com>
9988 * tcl8/.cvsignore: Ignore xapian.la.
9990 Wed Sep 08 04:49:50 BST 2004 Olly Betts <olly@survex.com>
9992 * tcl8/.cvsignore: Ignore generated xapian_wrap.cc.
9994 Wed Sep 08 04:15:06 BST 2004 Olly Betts <olly@survex.com>
9996 * configure.ac,guile/Makefile.am,java/native/Makefile.am,
9997 php4/Makefile.am,python/Makefile.am,tcl8/Makefile.am:
9998 Use special SWIG PHP ldflags when linking the PHP glue library;
9999 Only pass -W* switches when building with GCC; Suppress compiler
10000 warnings by passing -Wno-uninitialized when building SWIG glue code;
10001 Python bindings now delete generated xapian_wrap.h on "make clean".
10003 Wed Sep 08 04:06:02 BST 2004 Olly Betts <olly@survex.com>
10005 * python/util.i: Suppress SWIG warning about MatchDecider::operator()
10006 director discarding const.
10008 Wed Sep 08 02:37:17 BST 2004 Olly Betts <olly@survex.com>
10010 * php4/.cvsignore: Updated.
10012 Wed Sep 08 01:27:54 BST 2004 Olly Betts <olly@survex.com>
10014 * configure.ac,php4/.cvsignore,php4/Makefile.am,
10015 php4/docs/bindings.html,php4/docs/examples/simpleindex.php,
10016 php4/docs/examples/simplesearch.php: Actually ship docs and
10017 examples; fixed bug in includes introduced in last checkin; output
10018 swig wrapper as xapian_wrap.cc not xapian_wrap.cpp for consitency
10019 with other bindings; fixed documentation of wrapping of
10020 Xapian::Query::OP_*; example scripts now load the xapian PHP
10021 extension; simplesearch now works with multi-term queries.
10023 Tue Sep 07 22:20:16 BST 2004 Olly Betts <olly@survex.com>
10025 * configure.ac,php4/.cvsignore,php4/Makefile.am: Don't use -phpfull
10026 option to swig. It's actually as easy to build and install the
10027 shared library ourselves, and then we can link with an uninstalled
10030 Tue Sep 07 22:18:20 BST 2004 Olly Betts <olly@survex.com>
10032 * python/Makefile.am: Fixed to use xapian_wrap.cpp not $@ - otherwise
10033 "make xapian.py" doesn't work correctly. Fixed typo in comment.
10035 Fri Sep 03 18:44:56 BST 2004 Olly Betts <olly@survex.com>
10037 * python/.cvsignore: Added xapian.pyc.
10039 Fri Sep 03 18:41:34 BST 2004 Olly Betts <olly@survex.com>
10043 Fri Sep 03 18:34:21 BST 2004 Olly Betts <olly@survex.com>
10045 * configure.ac,configure.in: Renamed configure.in to configure.ac.
10047 Fri Sep 03 18:28:54 BST 2004 Olly Betts <olly@survex.com>
10049 * Makefile.am: Require automake 1.8.5.
10050 * configure.in: Require autoconf 2.59. Note that SWIG 1.3.22 doesn't
10051 seem to have any changes relevant to us.
10053 Fri Sep 03 18:14:15 BST 2004 Olly Betts <olly@survex.com>
10055 * python/Makefile.am: Fixed to remove _xapian.la after it is installed
10056 (preventing it being installed is really hard to do). And
10057 xapian.py and xapian.pyc aren't BUILT_SOURCES so just put them
10058 directly in CLEANFILES.
10060 Fri Sep 03 13:04:42 BST 2004 Olly Betts <olly@survex.com>
10062 * python/Makefile.am: Byte compile the python code and install that
10065 Fri Sep 03 13:03:55 BST 2004 Olly Betts <olly@survex.com>
10067 * configure.in: Tell libtool not to build static libraries as the
10068 bindings all need dynamic ones which can be loaded at runtime.
10070 Wed Sep 01 12:07:08 BST 2004 Olly Betts <olly@survex.com>
10072 * configure.in: Require Python >= 2.1 for __cmp__ and __eq__.
10074 Thu Aug 19 17:20:45 BST 2004 Olly Betts <olly@survex.com>
10076 * php4/docs/bindings.html: Document that the 2 argument form of
10077 Xapian::Auto::open() for opening a writable database is wrapped
10078 as open_writable() (bug #32).
10080 Thu Aug 12 13:26:16 BST 2004 Olly Betts <olly@survex.com>
10082 * configure.in: Check that the bindings version matches the version of
10083 the xapian library.
10085 Thu Aug 12 13:15:01 BST 2004 Olly Betts <olly@survex.com>
10087 * configure.in,php4/: Include xapian version in output from phpinfo().
10089 Fri Jul 02 14:27:42 BST 2004 Olly Betts <olly@survex.com>
10091 * php4/docs/bindings.html: Reference to Xapian::Auto::DB_* should be
10094 Wed Jun 30 14:54:48 BST 2004 Olly Betts <olly@survex.com>
10096 * configure.in: Version 0.8.1; Corrected --without-tcl help to say
10097 it disables Tcl (not Java!) and list the SWIG bindings which
10098 --without-swig disables; note that SWIG 1.3.21 isn't relevant
10099 and the SWIG changelog URL.
10101 Wed Jun 30 00:09:58 BST 2004 Olly Betts <olly@survex.com>
10103 * NEWS: Updated for 0.8.1 release.
10105 Tue Jun 29 23:26:36 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10107 * java/native/,java/org/xapian/: Updates to java bindings:
10108 - cleanup usages of XapianObjectHolder to be explicitly created
10109 during library initialization
10110 - make finalize() methods of Database and WritableDatabase public so
10111 they can be called from the outside world (should probably have
10112 added explicit close() methods instead).
10113 - deprecate document_add_term_nopos(); completely remove from C++
10116 Tue Jun 29 17:30:17 BST 2004 Richard Boulton <richard@tartarus.org>
10118 * Makefile.am: Remove Debian files from distribution tarballs,
10119 since there will often be multiple patch releases for each
10120 release. Debian files will be available from an apt repository
10123 Tue Jun 29 01:20:22 BST 2004 Eric B. Ridge <ebr@tcdi.com>
10125 * java/org/xapian/errors/: Removed wrappers for unused error classes
10126 which have been pruned from C++.
10128 Sun Jun 27 00:57:25 BST 2004 Olly Betts <olly@survex.com>
10130 * java/org/xapian/errors/.cvsignore,
10131 java/org/xapian/examples/.cvsignore: Created.
10133 Fri May 28 14:35:29 BST 2004 James Aylett <james@tartarus.org>
10135 * Add basic documentation and examples to PHP4 bindings.
10137 * For PHP4, rename overloaded methods and constructors.
10139 * Add simple access to the prefixes map in QueryParser.
10141 * Correct simpleindex ports to never generate empty termnames.
10143 Wed May 26 16:18:47 BST 2004 Olly Betts <olly@survex.com>
10145 * configure.in: Require SWIG 1.3.20 or higher.
10147 Wed May 26 14:51:50 BST 2004 Olly Betts <olly@survex.com>
10149 * xapian.i: Removed bogus extra ")".
10151 Wed May 26 04:04:06 BST 2004 Olly Betts <olly@survex.com>
10153 * xapian.i: Fixed the %exception handler to cover all the exceptions
10154 Xapian can throw, not just a subset.
10156 Thu May 20 15:55:36 BST 2004 Richard Boulton <richard@tartarus.org>
10158 * python/docs/: Add examples and documentation to dist (were being
10159 installed, but not added to dist, causing make distcheck, and
10160 dpkg-buildpackage, to fail).
10162 Thu May 20 15:06:54 BST 2004 Richard Boulton <richard@tartarus.org>
10164 * Makefile.am: Add debian packaging files to distribution tarball.
10166 Wed May 19 11:27:42 BST 2004 Olly Betts <olly@survex.com>
10168 * php4/util.i: Make sure that PHP bindings build a module which
10169 exports get_module() so PHP is able to load it.
10171 Thu May 13 17:57:50 BST 2004 Olly Betts <olly@survex.com>
10173 * java/native/WritableDatabase.cc,java/native/org_xapian_XapianJNI.h,
10174 java/org/xapian/WritableDatabase.java,
10175 java/org/xapian/XapianJNI.java: repalce -> replace.
10177 Thu May 13 10:41:29 BST 2004 Olly Betts <olly@survex.com>
10179 * configure.in: Test phpize can actually be run, rather than just that
10180 it's a readable file or directory.
10182 Wed May 12 01:52:44 BST 2004 Richard Boulton <richard@tartarus.org>
10184 * configure.in: Revert "test -x" to "test -n", and change
10185 previously extant "test -x" to "test -r": test -x isn't
10188 Tue May 11 20:04:36 BST 2004 Richard Boulton <richard@tartarus.org>
10190 * configure.in: Use $PYTHON instead of python when running python
10191 to determine and library and include paths and version number.
10192 Also, change tests for non-zeroness of interpreter paths to tests
10193 for existence and executability of interpreter paths: this is
10194 relevant if configure is passed an interpreter path by the user
10195 which doesn't exist (as my debian packaging makefile just did).
10197 Tue May 11 18:06:06 BST 2004 Richard Boulton <richard@tartarus.org>
10199 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10200 tcl8/Makefile.am: Add "-I/usr/include" to the swig line. This is
10201 needed when xapian is installed with a prefix of /usr, since
10202 "xapian-config --cxxflags" assumes that it doesn't need to emit
10203 -I/usr/include in this situation (presumably on the basis that
10204 any sane C compiler will already have that on its path).
10206 Tue Apr 20 03:20:22 BST 2004 Olly Betts <olly@survex.com>
10208 * configure.in: Generate Makefiles for new directories under java/.
10210 Tue Apr 20 02:27:07 BST 2004 Olly Betts <olly@survex.com>
10212 * NEWS: Final update for 0.8.0.
10214 Tue Apr 20 02:22:18 BST 2004 Olly Betts <olly@survex.com>
10216 * java/org/xapian/Makefile.am,java/org/xapian/errors/: Added missing
10217 sources for error classes.
10218 * java/org/xapian/examples/: Added examples of a simple indexer and
10220 * java/README: Added details of how to run the Java examples.
10222 Tue Apr 20 02:14:58 BST 2004 Olly Betts <olly@survex.com>
10224 * python/.cvsignore: Ignore generated file xapian_wrap.h.
10226 Mon Apr 19 19:25:05 BST 2004 Olly Betts <olly@survex.com>
10228 * NEWS,README,configure.in: Version 0.8.0.
10230 Mon Apr 05 22:23:31 BST 2004 Olly Betts <olly@survex.com>
10232 * README: Added details on adding support for recent languages.
10234 Sun Apr 04 18:53:58 BST 2004 Olly Betts <olly@survex.com>
10236 * java/native/Document.cc,java/native/org_xapian_XapianJNI.h,
10237 java/org/xapian/: Applied update from Eric B. Ridge. Added
10238 support for Xapian::Document::add_term() - new name for
10241 Sun Apr 04 18:53:00 BST 2004 Olly Betts <olly@survex.com>
10243 * xapian.i: Added add_term() - new name for add_term_nopos().
10245 Wed Mar 03 19:04:04 GMT 2004 Olly Betts <olly@survex.com>
10247 * configure.in: Only enable python bindings for python 1.5 or later
10248 (since that's what SWIG supports).
10250 Sun Feb 22 04:28:18 GMT 2004 Olly Betts <olly@survex.com>
10252 * configure.in: Changed --disable-LANGUAGE to be --without-LANGUAGE
10253 (fits better with autoconf's intended usages).
10255 Sun Feb 22 02:41:20 GMT 2004 Olly Betts <olly@survex.com>
10257 * configure.in: Added --disable-LANGUAGE options to allow bindings to
10258 be forcibly disabled. Added (disabled) checks for Guile, as it
10259 looks like support will be resurrected soon.
10261 Tue Jan 13 01:50:27 GMT 2004 Olly Betts <olly@survex.com>
10263 * configure.in: Check PHP version is at least 4.0.
10264 * configure.in,tcl8/Makefile.am: Look for tclsh and enable building
10265 tcl bindings if it's at least version 8.0; get lib and include
10266 directories from tclsh and use those for building the bindings.
10268 Mon Jan 12 17:52:39 GMT 2004 Olly Betts <olly@survex.com>
10270 * python/docs/bindings.html: OMMSET_* and OMESET_* -> MSET_* and
10271 ESET_* (in line with recent change to python/util.i). Also
10272 corrected a few typos.
10274 Mon Jan 12 17:49:30 GMT 2004 Olly Betts <olly@survex.com>
10276 * configure.in: Check for jni.h before enabling java bindings.
10278 Tue Jan 6 10:15:00 2004 James Aylett <james@tartarus.org>
10280 * TCL bindings: get them to build (not built automatically)
10282 Thu Jan 1 22:46:51 2004 James Aylett <james@tartarus.org>
10284 * Python bindings: MSet provides a Python iterator
10285 (new target language-specific interface file extra.i
10286 included at end of xapian.i to accommodate this)
10288 Thu Jan 1 22:45:26 2004 James Aylett <james@tartarus.org>
10290 * python/util.i: OMMSET_* and OMESET_* -> MSET_* and ESET_*
10292 Thu Jan 1 22:42:57 2004 James Aylett <james@tartarus.org>
10294 * xapian.i: a couple of Xapian::Query constructors weren't being
10295 wrapped, including one explicitly used in some of my Python
10296 binding examples :-(
10298 Sun Dec 28 16:06:50 2003 James Aylett <james@tartarus.org>
10300 * Python bindings: enable directors for MatchDecider, to allow
10301 subclassing in Python. Add documentation and an example.
10303 * Add a Python example equivalent to simpleexpand in xapian-examples
10305 Mon Dec 08 02:12:09 GMT 2003 Olly Betts <olly@survex.com>
10307 * Makefile.am,configure.in,java/: Initial check-in of Eric B. Ridge's
10308 JNI bindings. Needs more work.
10310 Mon Dec 08 02:11:03 GMT 2003 Olly Betts <olly@survex.com>
10312 * python/docs/.cvsignore,python/docs/examples/.cvsignore: Ignore
10315 Sun Dec 7 13:11:56 BST 2003 James Aylett <james@tartarus.org>
10317 * Added basic documentation, and two examples, for Python bindings
10319 Thu Oct 02 17:34:47 BST 2003 Olly Betts <olly@survex.com>
10321 * configure.in: Version 0.7.4.
10323 Tue Sep 2 17:01:08 BST 2003 James Aylett <james@tartarus.org>
10325 * xapian.i: using namespace std in SWIG parsed segment to sort out
10328 Fri Aug 08 21:36:20 BST 2003 Olly Betts <olly@survex.com>
10330 * configure.in: Version 0.7.3.
10332 Fri Aug 8 12:26:45 BST 2003 Richard Boulton <richard@tartarus.org>
10334 * configure.in: Check for absence of SWIG, and report error more
10337 Sat Jul 26 21:04:06 BST 2003 Olly Betts <olly@survex.com>
10339 * php4/Makefile.am: lib omqueryparser is now xapianqueryparser.
10340 * python/Makefile.am: XAPIAN_LIBS now includes -lxapianqueryparser.
10342 Sat Jul 26 18:33:42 BST 2003 Olly Betts <olly@survex.com>
10344 * configure.in: Converted to use XO_LIB_XAPIAN.
10346 Fri Jul 25 11:02:43 2003 James Aylett <james@tartarus.org>
10348 * {tcl8,guile}/util.i: convert typemaps to SWIG 1.3 style
10350 Fri Jul 25 11:01:15 2003 James Aylett <james@tartarus.org>
10352 * python/Makefile.am: add -lomqueryparser to complete link
10354 Tue Jul 15 13:50:25 2003 James Aylett <james@tartarus.org>
10356 * [langdir]/Makefile.am: use -I$(srcdir) not -I. so VPATH
10359 Fri Jul 11 15:10:27 BST 2003 Olly Betts <olly@survex.com>
10361 * configure.in: Version 0.7.2.
10363 Fri Jul 11 14:53:35 BST 2003 Olly Betts <olly@survex.com>
10365 * Makefile.am,configure.in: Include code for partly done guile and
10366 tcl8 bindings in the distribution - it may inspire somebody to
10368 * guile/Makefile.am,tcl8/Makefile.am: Removed -shadow from swig
10370 * php4/Makefile.am: Fixed not to build subproject every time.
10372 Fri Jul 11 14:42:42 BST 2003 Olly Betts <olly@survex.com>
10374 * configure.in: Added check for location of Xapian installation.
10375 * guile/Makefile.am,php4/Makefile.am,python/Makefile.am,
10376 tcl8/Makefile.am: Added -I for Xapian.
10378 Fri Jul 11 14:27:04 BST 2003 Olly Betts <olly@survex.com>
10380 * Moved bindings out of xapian-core into their own module.