This ChangeLog file is no longer maintained - see the git repo history for
more recent changes: http://xapian.org/bleeding

Fri Sep 25 07:30:55 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Update.

Fri Sep 25 04:51:20 GMT 2015  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Remove unused header.

Fri Sep 25 04:49:49 GMT 2015  Olly Betts <olly@survex.com>

	* loadfile.cc,md5wrap.cc: Stop trying to use O_STREAMING - the patch
	  to implement it was never merged into the Linux kernel, and I can't
	  find any evidence that other platforms implement it.  The constant
	  value O_STREAMING used now seems to be used for the part of O_SYNC 
	  which isn't covered by O_DSYNC, which seems likely to hurt
	  performance if anything.

Fri Sep 25 04:47:06 GMT 2015  Olly Betts <olly@survex.com>

	* omindex.cc: Use SAMPLE_SIZE in help text rather than literal 512.
	  Add '--title-size' option.

Fri Sep 25 04:40:53 GMT 2015  Olly Betts <olly@survex.com>

	* docs/omegascript.rst,query.cc: Fix documentation of $last to say
	  it's the MSet index *one beyond* the end of the current page.
	  Reported by Andrew Chilton.

Fri Sep 25 04:39:54 GMT 2015  Olly Betts <olly@survex.com>

	* docs/overview.rst: SVG extraction is built-in too.

Fri Sep 25 04:32:04 GMT 2015  Olly Betts <olly@survex.com>

	* docs/cgiparams.rst: Document behaviour if xDB is not set.

Fri Sep 25 04:31:15 GMT 2015  Olly Betts <olly@survex.com>

	* docs/cgiparams.rst,query.cc: If xFILTERS is not set, don't force the
	  first page as that's unhelpful if someone fails to set it in their
	  template.

Fri Sep 25 01:22:11 GMT 2015  Olly Betts <olly@survex.com>

	* configure.ac: Don't provide our own implementation of sleep() under
	  __WIN32__ if there's already one - mingw provides one, and in some
	  situations it seems to clash with ours.  Reported to xapian-discuss
	  by John Alveris.

Wed May 20 09:57:45 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Bump release date for 1.2.21.

Fri May 15 05:32:35 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Another update for 1.2.21.

Fri May 15 05:16:05 GMT 2015  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Use -no-install or -no-fast-install when
	  linking test programs which never get installed, which means libtool
	  can often avoid creating a shell script wrapper.

Thu May 14 14:52:14 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.21.

Thu May 14 10:17:32 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu May 14 05:16:08 GMT 2015  Olly Betts <olly@survex.com>

	* omindex.cc: Message tweak.

Thu May 14 05:15:18 GMT 2015  Olly Betts <olly@survex.com>

	* outlookmsg2html.in: Fix handling of message/rfc822 subparts.

Thu May 14 04:16:34 GMT 2015  Olly Betts <olly@survex.com>

	* cdb_hash.cc,md5.cc: Remove 'register' as it's deprecated, and
	  likely to just be ignored by any modern compiler anyway.

Wed May 06 10:08:33 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Update.

Wed May 06 07:26:28 GMT 2015  Olly Betts <olly@survex.com>

	* omega.cc: Drop compilation date and time from output - they prevent
	  reproducible builds and the version number is sufficient
	  information.

Wed May 06 07:24:27 GMT 2015  Olly Betts <olly@survex.com>

	* commonhelp.cc,omega.cc,omindex.cc,scriptindex.cc: Add spaces between
	  literal strings and macros which expand to literal strings for C++11
	  compatibility.

Wed May 06 04:56:39 GMT 2015  Olly Betts <olly@survex.com>

	* Makefile.am: Add common/stringutils.cc to urlenctest_SOURCES, needed
	  now urldecode.h uses C_isxdigit().

Wed May 06 04:53:56 GMT 2015  Olly Betts <olly@survex.com>

	* configfile.cc,htmlparse.cc,myhtmlparse.cc,omega.cc,omindex.cc,
	  query.cc,scriptindex.cc,urldecode.h: Consistently use C_isupper(),
	  C_toupper(), etc as these versions aren't affected by the locale
	  setting, and also allow signed char values (so we don't need to
	  cast the argument to unsigned char).

Tue May 05 14:17:16 GMT 2015  Olly Betts <olly@survex.com>

	* templates/query: When listing matching terms, don't make the commas
	  italic.

Tue May 05 12:43:59 GMT 2015  Olly Betts <olly@survex.com>

	* docs/overview.rst: Document 'E' prefixed boolean terms for filtering
	  by extension (see #668, reported by bramvdh).

Tue May 05 12:42:59 GMT 2015  Olly Betts <olly@survex.com>

	* docs/overview.rst: Whitespace cleanup.

Tue May 05 12:41:52 GMT 2015  Olly Betts <olly@survex.com>

	* templates/xml: Add XML declaration.

Tue May 05 12:40:44 GMT 2015  Olly Betts <olly@survex.com>

	* templates/query: Eliminate blank line before <html>.

Tue May 05 12:39:01 GMT 2015  Olly Betts <olly@survex.com>

	* templates/godmode: Return charset utf-8 in the content-type.

Tue May 05 12:29:46 GMT 2015  Olly Betts <olly@survex.com>

	* docs/encodings.rst: $prettyurl undoes %-encoding of UTF-8 in 1.2.21
	  and later too.

Tue May 05 12:27:14 GMT 2015  Olly Betts <olly@survex.com>

	* docs/encodings.rst: Note that one should ensure that Omega gets sent
	  form submissions encoded in UTF-8.

Tue May 05 12:23:09 GMT 2015  Olly Betts <olly@survex.com>

	* docs/encodings.rst: Discuss encodings of filenames (see #550).

Tue May 05 12:20:00 GMT 2015  Olly Betts <olly@survex.com>

	* urldecode.h,urlenctest.cc: $prettyurl now decodes valid UTF-8
	  sequences.  Fixes #550 and #644, reported by catkin and terencz.

Tue May 05 12:14:06 GMT 2015  Olly Betts <olly@survex.com>

	* docs/: Add a document about character encoding, as suggested by
	  James Aylett in #550.

Tue May 05 12:08:39 GMT 2015  Olly Betts <olly@survex.com>

	* urldecode.h,urlenctest.cc: Improve decoding done by $prettyurl - we
	  now leave the query and fragment parts of the URL alone and don't
	  decode an escaped "/" (omindex doesn't create URLs with any of
	  these, so we only risk breaking other URLs which have them), and we
	  decode some additional ASCII characters in the path part:
	  []@!$&'()*+.;=  (addresses #550 in part)

Wed Mar 04 00:29:44 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.20.

Wed Mar 04 00:03:35 GMT 2015  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Avoid doing link tests with libmagic in configure as
	  they fail on mingw due to not automatically picking up libraries
	  which libmagic itself depends on.

Sat Feb 14 10:46:47 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Update.

Tue Jan 27 04:37:12 GMT 2015  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Interpret a command of "false" in
	  "--filter" as meaning to ignore files with that MIME type.

Sat Jan 24 12:14:33 GMT 2015  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu Jan 22 01:44:01 GMT 2015  Olly Betts <olly@survex.com>

	* omindex.cc: Ignore extensions .msi and .msp, which are Microsoft
	  installer files, but which libmagic sometimes incorrectly identifies
	  as application/msword.

Fri Dec 19 03:21:13 GMT 2014  Olly Betts <olly@survex.com>

	* docs/cgiparams.rst: Improve wording of docs for SORT parameter.

Tue Jan 06 21:15:14 GMT 2015  Olly Betts <olly@survex.com>

	* configure.ac: Use pkg-config in preference to determine flags needed
	  to compile and link with PCRE, as this will just work when
	  cross-compiling (at least under MXE).

Sun Dec 21 21:54:48 GMT 2014  Olly Betts <olly@survex.com>

	* query.cc: Handle [=0 as [=1.

Tue Dec 16 03:53:25 GMT 2014  Olly Betts <olly@survex.com>

	* configure.ac: Define MINGW_HAS_SECURE_API under mingw to get
	  _putenv_s() declared in stdlib.h.

Wed Dec 03 04:17:18 GMT 2014  Olly Betts <olly@survex.com>

	* templates/xml: Update handling of DATE1, DATE2 and DAYSMINUS which
	  were renamed in 0.6.x and the compatibility aliases removed in
	  1.0.0. 

Wed Dec 03 04:15:51 GMT 2014  Olly Betts <olly@survex.com>

	* docs/omegascript.rst: Update documentation references to DATE1,
	  DATE2, and DAYSMINUS which were renamed in 0.6.x and the
	  compatibility aliases removed in 1.0.0. 

Wed Dec 03 02:29:37 GMT 2014  Olly Betts <olly@survex.com>

	* omindex.cc: Remove unused '#include <fstream>'.

Wed Dec 03 02:18:51 GMT 2014  Olly Betts <olly@survex.com>

	* diritor.h: Fix get_mtime() to return time_t not off_t.  In practice,
	  this probably wouldn't have caused issues until at least 2038.

Fri Nov 28 11:38:56 GMT 2014  Olly Betts <olly@survex.com>

	* configure.ac: Move AC_CANONICAL_HOST before first use of $host_os.
	  In practice this wasn't a problem, as LT_INIT implicitly calls
	  AC_CANONICAL_HOST before this point anyway.

Wed Nov 26 03:55:13 GMT 2014  Olly Betts <olly@survex.com>

	* configure.ac: Enable automake option 'subdir-objects' to avoid
	  warning from newer automake.

Tue Oct 21 00:33:58 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.19.

Mon Oct 20 10:52:38 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS: Update.

Mon Oct 20 10:44:27 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/overview.rst: Note that pdftotext is part of poppler as well as
	  xpdf.  (Noted by Paul Wise)

Sun Jun 22 04:32:15 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.18.

Sat Jun 21 00:50:56 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am: Don't compile in unixperm.cc - it isn't currently used,
	  and it fails to build with mingw.  (fixes #635)

Thu Jun 19 13:56:02 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu Jun 19 13:11:43 GMT 2014  Olly Betts <olly@survex.com>

	* omindex.cc,urlencode.cc,urlencode.h: To improve compatibility with
	  existing databases in cases which are OK in practice, only URL
	  encode the starting URL if it contains a character <= 31 or at least
	  one of '#', '%', ':' or '?'.

Thu Jun 19 08:44:22 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc,urlencode.cc,urlencode.h: URL encode starting URL
	  properly.

Thu Jun 19 08:27:13 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/omegascript.rst: Put ``...`` around Xapian C++ class names.

Thu Jun 19 08:10:17 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.cc: Fix "applications/msword" to "application/msword" in the
	  fallback code for CDF files.

Thu Jun 19 07:55:11 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.cc: In fallback for CDF files, compare the extension
	  *without* leading dot.

Thu Jun 19 07:02:12 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.cc: libmagic can return a second string starting "Composite
	  Document File V2 Document" for the mime-type, so just look for that
	  prefix.  And newer libmagic returns "application/CDFV2-corrupt" in
	  these cases, so handle that too.

Fri May 23 13:43:33 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* date.cc,scriptindex.cc: Pass std::string by const reference.

Fri May 23 13:42:02 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* query.cc: Removed unused inline function.

Fri May 23 13:38:33 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Report the size limit in the message when we skip a file
	  which exceeds it.

Wed Apr 30 05:44:54 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS: Update.

Mon Apr 14 10:28:51 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.cc: Work around libmagic returning a MIME content-type of
	  "Composite Document File V2 Document, No summary info".

Mon Apr 14 09:38:51 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* expand.cc: Fix warning when built with GCC 4.7.2 using -Os.

Fri Mar 14 12:12:59 GMT 2014  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am,docs/omegascript.rst,expand.cc,expand.h,omega.cc,
	  query.cc: Add support for setting the query expansion scheme to use.

Tue Jan 28 23:50:11 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.17.

Sun Jan 05 22:11:39 GMT 2014  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu Dec 26 01:21:42 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am,portability/mkdtemp.cc,portability/mkdtemp.h,omindex.cc:
	  Add header with prototype of mkdtemp() to avoid "no previous
	  declaration" warning on platforms which don't have mkdtemp() as
	  standard.

Fri Dec 20 08:00:25 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Update.

Fri Dec 20 07:04:32 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/overview.rst: Add Abiword as an example use of --filter, based
	  on patch from Frank J Bruzzaniti (fixes#383).  Update unoconv
	  example to talk about LibreOffice instead of OpenOffice.

Tue Dec 03 23:13:48 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Final update for 1.2.16.

Tue Dec 03 07:33:40 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Define __MSVCRT_VERSION__ to 0x0601 on mingw so we get
	  __ftime64() defined in the headers.

Sat Nov 30 20:36:36 GMT 2013  Olly Betts <olly@survex.com>

	* Makefile.am: Need to ship common/safewinsock2.h now.

Fri Nov 29 04:34:18 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Sync GCC checks with xapian-core.

Fri Nov 29 01:09:01 GMT 2013  Olly Betts <olly@survex.com>

	* configure.ac: Update for 1.2.16.

Thu Oct 31 12:33:31 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Update.

Sun Oct 13 23:25:11 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Group-readable files which are owner-readable but not
	  world-readable should still get a "readable by owner" term added.
	  Reported by Emmanuel Garette.

Tue Oct 08 01:06:45 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Sun Oct 06 08:17:57 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Sync compiler warning flag machinery against
	  xapian-core.  The changes are special handling for clang, passing
	  -fshow-column where supported, and handling for new warning flags
	  in GCC 4.6 and 4.7.

Sun Oct 06 08:13:56 GMT 2013  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* xlsxparse.cc: Handle pre-defined numfmtid codes for dates.
	* omindex.cc,xlsxparse.cc,xlsxparse.h: Fix detection of cells with a
	  date format to work with xlsx files other than my first example.
	* omindex.cc,xlsxparse.cc,xlsxparse.h: Decode dates for xlsx files.

Sun Oct 06 08:01:59 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc,docs/overview.rst: Ignore 'adm', 'cur', and 'ico' by
	  default.

Sat Oct 05 06:46:32 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* weight.cc: Use "" not <> to include local header weight.h.

Sat Oct 05 06:44:23 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac,xapian-omega.spec.in: Compress source tarballs with xz
	  instead of gzip.

Sat Oct 05 06:40:57 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.h: Mark DirectoryIterator ctor as 'explicit'.

Sat Oct 05 06:37:08 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* datematchdecider.h: Fix filename in comment at top of file.

Sat Oct 05 06:35:19 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Fix off-by-one when finding documents to delete which
	  would sometimes cause omindex to fail to delete documents from the
	  database when they weren't refound during an index update.

Sat Oct 05 06:28:56 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am,README,docs/Makefile.am: SVN -> git.

Tue Apr 16 23:41:20 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.15.

Tue Apr 16 10:43:52 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed Mar 27 09:39:12 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am: Don't link utf8convert.cc code into omega CGI.

Thu Mar 14 22:43:50 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.14.

Thu Mar 14 12:34:29 GMT 2013  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* docs/overview.rst: Update to add com to the list of ignored
	  extensions.
	* omindex.cc: Ignore .com files by default.

Thu Mar 07 09:41:25 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Sat Feb 16 08:20:36 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* xlsxparse.cc: Correct "max" -> "min" when reserving space for shared
	  strings.  This only means we now reserve a more appropriate amount
	  of space to start with.

Wed Jan 09 11:15:03 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.13.

Wed Jan 09 10:10:18 GMT 2013  Olly Betts <olly@survex.com>

	* NEWS: Format new entries.

Tue Jan 08 11:09:38 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* commonhelp.cc: Tweak wording about default to match other options
	  better.

Tue Jan 08 10:58:58 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Note default size limit on files to index is unlimited.
	  Update --help to reflect that --sample-size now accepts the same
	  formats as --max-size).

Tue Jan 08 10:41:27 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: When generating a sample for a CSV file, limit the
	  reserved size to the CSV file size as sample_size could be set
	  really high by the user.

Tue Jan 08 10:31:13 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* diritor.cc: MAGIC_MIME_TYPE was added in 4.22, so note that in the
	  comment about its conditional use.

Tue Jan 08 10:28:07 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am: In automake, INCLUDES is now deprecated in favour of
	  AM_CPPFLAGS so update to use the latter.

Tue Jan 08 10:14:47 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* md5wrap.cc: If we get a read error while calculating the md5 checksum
	  of a file, fail rather than returning the checksum of the file up to
	  that point.

Tue Jan 08 10:13:36 GMT 2013  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Calculate the md5 from the loaded file contents when
	  indexing SVG and Atom files.  Use a const ref to avoid a string
	  copy of the file contents for HTML and uncompressed ABI word.

Wed Nov 21 05:02:18 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed Nov 21 05:00:51 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Fix omindex not to segfault when -F option without a ':'
	  is passed.

Sat Nov 10 08:08:20 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Sat Oct 13 12:24:59 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am,omindex.cc: Replace shell_protect() with
	  append_filename_argument() from common/append_filename_arg.h.
	  Extracting text using external filters now works for filenames
	  containing a newline character.
	* common/: Update svn:externals to latest version of xapian-core
	  on 1.2 branch to get common/append_filename_arg.h.

Wed Jul 18 10:51:39 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* urldecode.h: Fix to decode escaped character at the end of the
	  string.
	* urlenctest.cc: Add regression testcase.

Wed Jun 27 12:15:37 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.12.

Tue Jun 26 12:06:15 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.11.

Tue Jun 26 12:04:16 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Set link_all_deplibs_CXX=no on solaris, like we
	  already do for xapian-core.

Tue Jun 26 08:48:58 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Fri Jun 22 12:16:30 GMT 2012  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* xlsxparse.cc: Check for "uniquecount" parameter, not "unqiueCount" as
	  we normalise parameter names to lower case.
	* omindex.cc: unzip extracts files in the order they are in the
	  archive, not the order they are on the command line, so call unzip
	  twice when the order of extraction matters.
	* Makefile.am,omindex.cc,opendocparse.cc,opendocparse.h,xmlparse.cc:
	  Improve handling of headers and footers on OpenDocument documents.

Fri Jun 22 12:12:56 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Tweak previous change.

Fri Jun 22 12:10:34 GMT 2012  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* omindex.cc,xlsxparse.cc,xlsxparse.h: Rework .xlsx parsing to
	  substitute the shared strings into the positions they are used
	  in, so that the sample actually matches what appears in the
	  spreadsheet.
	* xlsxparse.cc,xlsxparse.h: Subclass XlsxParser directly from
	  HtmlParser.
	* Makefile.am,omindex.cc,xlsxparse.cc,xlsxparse.h: Index calculated
	  numbers from .xlsx files.

Fri Jun 22 12:03:06 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: pdftotext outputs a formfeed between each page, which
	  messes up our "empty body" check, so trim any trailing formfeeds
	  before the check.
	* omindex.cc: Fix the "trim trailing formfeeds" code not to remove one
	  character too many.
	* omindex.cc: Properly fix the "trim trailing formfeeds" code.

Sat Jun 09 11:50:16 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Cherry pick changes from Mihai Bivol's GSoC snippets branch:
	* omindex.cc: Add option for the document sample size.
	* omindex.cc: Add short option for sample-size
	* omindex.cc: Make sample-size consistent with max-size

Fri Jun 08 12:48:47 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Mon May 21 07:28:26 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* htmlparsetest.cc,myhtmlparse.cc,myhtmlparse.h: Change parsing of
	  multiple <body> tags and text outside of <body> to match the
	  behaviour if modern web browsers.  (ticket#599)

Mon May 21 06:34:43 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Set link_all_deplibs_CXX=no on freebsd and openbsd,
	  like we already do for xapian-core.

Wed May 09 10:43:41 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.10.

Wed May 09 08:19:21 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed May 09 01:20:25 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* runfilter.cc: Add cast to rlim_t, required for C++11 compatibility
	  according to new error from GCC 4.7 (reported by Gaurav Arora).

Tue May 08 05:23:11 GMT 2012  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* atomparse.cc: For type="html", use the charset of the XML rather
	  than utf-8.
	* Makefile.am,atomparse.cc,atomparse.h,overview.rst,omindex.cc: Add
	  support for atom feed files, patch from Mihai Bivol in ticket#595.
	* Makefile.am,atomparsetest.cc: Add tests for AtomParser.

Tue May 08 04:58:57 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* htmlparse.cc,htmlparsetest.cc: Add support for CDATA to HTML parser.

Tue May 08 04:48:36 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Add --max-size option, based on patch from ndaley in
	  ticket#587.

Wed Mar 21 11:21:08 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Tue Mar 13 10:16:19 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: If the document with the highest existing docid was
	  updated, we'd previously report it as "added", but now we correctly
	  report it as "updated".

Tue Mar 13 10:12:10 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Catch and report std::exception.

Thu Mar 08 02:08:53 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.9.

Tue Mar 06 11:13:03 GMT 2012  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* docs/overview.rst,omindex.cc: More extensions to ignore by default:
	  fon pyd ttf
	* docs/overview.rst: Wrap over-long line.
	* docs/overview.rst,omindex.cc: Add more extensions to the default
	  ignore list: bin dat db jar lnk pyc pyo sqlite sqlite3 sqlite-journal
	  tmp

Tue Mar 06 11:10:59 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/overview.rst,htmlparse.cc,htmlparsetest.cc: Add support for
	  ignoring sections bracketed by <!--UdmComment--> and
	  <!--/UdmComment--> like we already do for <!--htdig_noindex-->.
	  Patch from Raphael Geissert.

Wed Feb 29 10:58:43 GMT 2012  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Mon Jan 23 12:48:00 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/overview.rst: Document that libmagic is used to determine
	  the MIME type if the extension isn't known.  Partly addresses
	  ticket#569.

Mon Jan 23 12:44:36 GMT 2012  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/overview.rst: We now limit time as well as CPU and memory for
	  external filters.

Tue Dec 13 12:42:10 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Final update for 1.2.8.

Tue Dec 13 12:38:04 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/omegascript.rst,query.cc,templates/emptydocs,templates/godmode,
	  templates/query,urldecode.h,urlenctest.cc: Add new $prettyurl{}
	  command which undoes RFC3986 URL escaping which doesn't affect
	  semantics in practice.  Partly addresses ticket#550.

Tue Dec 13 11:19:56 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.8.

Thu Dec 08 08:27:28 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omindex.cc: Improve --help output (and man page which is generated
	  from it).  Closes bug#572.

Thu Dec 08 04:53:40 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am: Ship new header urldecode.h.

Thu Dec 08 04:46:18 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* Makefile.am,cgiparam.cc,urldecode.h,urlenctest.cc: Add new
	  implementation of URL decoding - the old one didn't handle
	  various corner cases well, and had two cut and pasted variants
	  for handling a input from a C string (GET) or from stdin (POST).
	  Also add a new unit test program to test URL encoding and decoding.
	  Fixes bug#578.

Tue Dec 06 13:30:58 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* scriptindex.cc: If no rules are found in the index script, report an
	  error and give up - this is inevitably the result of a mistake, and
	  adding empty documents to the database isn't helpful.

Tue Dec 06 13:28:32 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/omegascript.rst: Add note to discourage use of percentage
	  scores.
	* templates/query: Don't show the percentage score in the default
	  template.

Tue Dec 06 13:26:30 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac,runfilter.cc: If we don't get any data from a filter
	  for 5 minutes, give up - it has probably ended up blocked
	  indefinitely.

Tue Dec 06 12:51:24 GMT 2011  Olly Betts <olly@survex.com>

	* Backport changes from trunk:
	* templates/query: HTML escape topterms.
	* templates/godmode: HTML escape the contents of document values.

Tue Dec 06 12:48:24 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* scriptindex.cc: MyHtmlParser::parse_html() no longer throws bool to
	  stop parsing early, so we no longer need to catch it.

Tue Dec 06 12:45:48 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* configure.ac: Sync changes from xapian-core: Don't pass -Wshadow for
	  GCC < 4.1; don't pass -Wstrict-null-sentinel for GCC 4.0.x; only
	  enable symbol visibility on platforms where it is supported; remove
	  now superfluous check for GCC >= 3.  Also, add FIXME for enabling
	  -Woverloaded-virtual.

Tue Dec 06 11:57:58 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* scriptindex.cc: Add link to
	  http://xapian.org/docs/omega/scriptindex.html to --help output (and
	  so also to the man page which is generated from this).

Tue Dec 06 11:30:42 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* omega.cc: If P had trailing spaces, we would remove all but one -
	  fixed to remove all of them!

Thu Sep 01 12:31:59 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* xapian-omega.spec.in: Package outlookmsg2html helper.

Wed Aug 10 06:13:41 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Finalise 1.2.7.

Tue Aug 09 09:00:12 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Initial update for 1.2.7.

Thu Jun 23 01:01:25 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* query.cc: Improve $version output from "Xapian - xapian-omega 1.2.6"
	  to "xapian-omega 1.2.6".
	* docs/omegascript.rst: Update example to match (and use less ancient
	  version!)

Thu Jun 23 00:38:18 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* dbi2omega: Remove uninteresting reference to 0.9.4.

Thu Jun 23 00:29:28 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* hashterm.cc: Avoid unnecessary temporary string object.

Thu Jun 23 00:26:13 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* hashterm.cc: Fix comment typo.

Wed Jun 22 16:59:05 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* xapian-omega.spec.in: We're ABI compatible within a release series
	  so make dependency on xapian-core-libs >= rather than =.

Wed Jun 22 16:55:10 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* scriptindex.cc: Avoid unnecessary temporary string object.

Mon Jun 13 08:00:16 GMT 2011  Olly Betts <olly@survex.com>

	* Backport change from trunk:
	* docs/termprefixes.rst: Expand to document mapping a user prefix to
	  multiple term prefixes.

Mon Jun 13 03:23:47 GMT 2011  Olly Betts <olly@survex.com>

	* docs/overview.rst: Improve documentation of htdig_noindex.

Sun Jun 12 11:52:29 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Final update for 1.2.6.

Fri Jun 10 12:02:32 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update in preparation for 1.2.6.

Fri Jun 10 03:28:33 GMT 2011  Olly Betts <olly@survex.com>

	* templates/inc/anyallexactradio: Remove unused duplicate of
	  anyallradio.

Fri Jun 10 03:21:25 GMT 2011  Olly Betts <olly@survex.com>

	* configure.ac,omindex-config.cc,omindex-config.html: Strip out partly
	  written and long untouched omindex-config utility.

Thu Jun 09 14:20:46 GMT 2011  Olly Betts <olly@survex.com>

	* weight.cc: Fix a compiler warning (I failed to note the compiler
	  unfortunately).

Sun May 29 13:00:26 GMT 2011  Olly Betts <olly@survex.com>

	* templates/query: Make search query input type=search.

Sun May 29 12:24:43 GMT 2011  Olly Betts <olly@survex.com>

	* templates/query: Autofocus the search query input (using HTML
	  autofocus attribute with Javascript fallback for older browsers).
	  (ticket#544)

Wed May 25 14:33:18 GMT 2011  Olly Betts <olly@survex.com>

	* docs/omegascript.rst: Correct the documentation of the colours used by
	  $highlight{}.

Fri May 13 05:50:35 GMT 2011  Olly Betts <olly@survex.com>

	* docs/overview.rst: Add using unoconv as more complex example of
	  using --filter (ticket#324).

Wed Apr 20 07:00:56 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Fix typo; clarify wording.

Mon Apr 04 13:58:06 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Update release date.

Mon Apr 04 13:53:34 GMT 2011  Olly Betts <olly@survex.com>

	* templates/xml: Fix syntax error from recent edit.

Sun Apr 03 10:54:04 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.5.

Sat Apr 02 14:15:32 GMT 2011  Olly Betts <olly@survex.com>

	* templates/query: Use $add{$field{modtime}} to ensure it is numeric.

Sat Apr 02 14:14:06 GMT 2011  Olly Betts <olly@survex.com>

	* templates/godmode: More missing escaping.

Sat Apr 02 14:07:45 GMT 2011  Olly Betts <olly@survex.com>

	* templates/xml: Remove double escaping.

Sat Apr 02 13:58:44 GMT 2011  Olly Betts <olly@survex.com>

	* templates/query: More escaping fixes.

Sat Apr 02 13:55:03 GMT 2011  Olly Betts <olly@survex.com>

	* templates/emptydocs,templates/opensearch,templates/xml: More missing
	  escaping.

Sat Apr 02 12:34:42 GMT 2011  Olly Betts <olly@survex.com>

	* templates/query: Add missing escaping.

Sat Apr 02 11:48:43 GMT 2011  Olly Betts <olly@survex.com>

	* templates/godmode: Add missing escaping.

Sat Apr 02 10:34:58 GMT 2011  Olly Betts <olly@survex.com>

	* templates/xml: Remove support for undocumented HILITECLASS CGI
	  variable.  There's no evidence I can find using Google code search
	  or web search that this has been used anywhere, and it's problematic
	  to escape properly.

Sat Mar 26 14:51:36 GMT 2011  Olly Betts <olly@survex.com>

	* INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.
	  Replace VPATH section with better equivalent from
	  xapian-core/INSTALL.

Wed Mar 23 15:21:41 GMT 2011  Olly Betts <olly@survex.com>

	* htmlparse.cc,htmlparse.h,htmlparsetest.cc,metaxmlparse.cc,
	  metaxmlparse.h,myhtmlparse.cc,myhtmlparse.h,omindex.cc,svgparse.cc,
	  svgparse.h,xmlparse.cc,xmlparse.h,xpsxmlparse.cc,xpsxmlparse.h:
	  Instead of throwing a bool to abandon parsing, change methods to
	  return bool to signify if they want to continue parsing or not.
	  This is a bit faster (~0.23% for indexing a lot of HTML files).

Mon Mar 21 05:48:08 GMT 2011  Olly Betts <olly@survex.com>

	* myhtmlparse.cc,myhtmlparse.h,omindex.cc: Add --ignore-exclusions
	  option, which will index HTML files despite meta robots tags, etc -
	  omindex is often used in environments where such exclusions aren't
	  relevant.

Fri Mar 18 10:24:58 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Just report the mimetype as unknown instead of saying
	  "unknown Office 2007 MIME subtype".

Fri Mar 18 05:53:21 GMT 2011  Olly Betts <olly@survex.com>

	* diritor.h: Avoid using S_IRUSR, etc under __WIN32__.

Fri Mar 18 03:00:16 GMT 2011  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Ignore *.css and *.js by default too.

Thu Mar 17 23:34:07 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: For skip messages which are only to be shown in verbose
	  mode, call skip with new SKIP_VERBOSE_ONLY flag.  Pass new
	  SKIP_SHOW_FILENAME flag for skip messages shown before we say what
	  file we are indexing so we know to show the filename even in verbose
	  mode.

Thu Mar 17 03:47:54 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Restore handling of exceptions from
	  DirectoryIterator::get_type(), and handle exceptions from
	  DirectoryIterator::next() which ended up at the top level
	  before (though they probably never happen, at least on Linux).

Wed Mar 16 06:19:01 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Push all the code associated with indexing a file into
	  index_file().

Wed Mar 16 02:55:53 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Push try block around index_file() call into the
	  function.

Wed Mar 16 02:51:52 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Factor out handling for skipping files, and improve
	  these messages by consistently reporting the filename.

Tue Mar 15 12:47:12 GMT 2011  Olly Betts <olly@survex.com>

	* docs/Makefile.am,docs/index.rst: Add index page which links to all
	  the other documentation pages.

Tue Mar 15 12:20:30 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Add --empty-docs option to allow documents we extract
	  no body text from to be indexed (existing behaviour), skipped, or
	  reported and then indexed.

Fri Mar 04 14:13:47 GMT 2011  Olly Betts <olly@survex.com>

	* docs/omegascript.rst: Minor improvements.

Wed Mar 02 11:17:42 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Update.

Wed Mar 02 06:14:41 GMT 2011  Olly Betts <olly@survex.com>

	* docs/termprefixes.rst: New standard prefix E for filename extension.
	* omindex.cc: Index file extension as E-prefixed term.

Mon Feb 28 13:45:32 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Tell xls2csv not to quote fields and to put spaces
	  not commas between them.  Fixes indexing of numeric fields, and
	  means we don't need to use our CSV parser to get a sample.

Mon Feb 28 12:10:53 GMT 2011  Olly Betts <olly@survex.com>

	* xmlparse.cc: Add whitespace between chunks of text extracted from
	  Microsoft Office 2007 formats.

Wed Feb 23 12:34:28 GMT 2011  Olly Betts <olly@survex.com>

	* templates/xml: Try $field{caption} (which is what omindex sets)
	  before $field{title} when getting a value for the hit tag's title
	  attribute - this is consistent with how the query template gets the
	  title.  Add new type attribute which gives $field{type}.

Thu Feb 17 05:19:28 GMT 2011  Olly Betts <olly@survex.com>

	* templates/xml: Add DBSize attribute to <result> element.

Wed Feb 16 03:19:57 GMT 2011  Olly Betts <olly@survex.com>

	* Makefile.am,omindex.cc,query.cc,urlencode.cc,urlencode.h: Update
	  URL encoding to follow RFC3986.

Tue Feb 15 03:20:40 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc: Encode reserved characters in URLs - now links to
	  files with names containing '#' and '?' will work.

Sun Jan 23 13:27:48 GMT 2011  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Later Microsoft Works version produce
	  .xlr spreadsheet files, which are apparently XL files with a
	  different extension, so handle them as XL files.

Thu Jan 20 11:07:46 GMT 2011  Olly Betts <olly@survex.com>

	* docs/omegascript.rst,omega.cc,query.cc,templates/query: Allow
	  QueryParser flags to be set from OmegaScript (ticket#418).

Sat Jan 15 11:14:32 GMT 2011  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog, 1.0.22 and 1.0.23.

Wed Jan 12 02:21:59 GMT 2011  Olly Betts <olly@survex.com>

	* query.cc: Fix double Content-Type header in some error reporting
	  situations (regression introduced in 1.2.4).

Mon Jan 10 10:00:00 GMT 2011  Olly Betts <olly@survex.com>

	* omindex.cc,pkglibbindir.cc,pkglibbindir.h: Fix typo in function name
	  (get_pkglibdindir() -> get_pkglibbindir()).

Mon Jan 10 09:50:38 GMT 2011  Olly Betts <olly@survex.com>

	* diritor.cc,diritor.h: Don't define or try to set euid member of
	  DirectoryIterator on platforms where we aren't going to use it.

Mon Jan 10 09:15:24 GMT 2011  Olly Betts <olly@survex.com>

	* diritor.h: Stub out get_owner() and get_group() for __WIN32__.

Fri Dec 24 10:35:29 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Thu Dec 23 01:53:06 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc: Fix to work with older libmagic which doesn't have
	  MAGIC_MIME_TYPE (e.g. on Ubuntu hardy).

Sun Dec 19 12:39:23 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: 1.2.4.

Sun Dec 19 12:37:58 GMT 2010  Olly Betts <olly@survex.com>

	* query.cc: Disable permission filtering based on $REMOTE_USER as that
	  will break some existing installations if users upgrade, which we
	  don't want.  Probably this should be specifiable from OmegaScript
	  but it's not worth delaying 1.2.4 while we sort this out.

Sun Dec 19 02:46:17 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Change the new name for
	  "--preserve-unupdated" from "--preserve-removed" to "--no-delete".

Sun Dec 19 02:32:29 GMT 2010  Olly Betts <olly@survex.com>

	* query.cc: Fix comment typo.

Fri Dec 17 12:45:47 GMT 2010  Olly Betts <olly@survex.com>

	* commonhelp.cc,commonhelp.h,omindex.cc,scriptindex.cc: Swap the
	  meanings of -v and -V in omindex for consistency with scriptindex
	  and typical short options for --verbose and --version in other
	  packages.  For backward compatibility, "omindex -v" is handled
	  specially and still reports the version.

Fri Dec 17 08:31:29 GMT 2010  Olly Betts <olly@survex.com>

	* utf8convert.cc: Fix built in converter to handle space in charset
	  names, which fixes failing utf8converttest when iconv isn't
	  available.

Fri Dec 17 05:36:36 GMT 2010  Olly Betts <olly@survex.com>

	* utf8convert.cc: Rework the fixing up of charset names which iconv()
	  doesn't understand a little.

Thu Dec 16 06:35:46 GMT 2010  Olly Betts <olly@survex.com>

	* loadfile.cc: If fstat() fails, preserve the errno value rather than
	  letting close() clobber it.

Thu Dec 16 06:31:30 GMT 2010  Olly Betts <olly@survex.com>

	* loadfile.cc: Fix file descriptor leak if load_file() is called on
	  something which isn't a file (found by cppcheck run on the Debian
	  archive).  This case probably couldn't occur in omindex, but could if
	  you used the LOADFILE action in scriptindex.

Thu Dec 09 10:58:48 GMT 2010  Olly Betts <olly@survex.com>

	* docs/omegascript.rst: Replace $simplecommand with $query - a concrete
	  example is more useful.  Improve mark-up.
	* docs/termprefixes.rst: Remove mention of pre-0.9.7 use of W prefix.

Thu Nov 18 12:25:50 GMT 2010  Olly Betts <olly@survex.com>

	* omega.cc: Fix reversed condition in recent exception reporting fix.

Wed Nov 17 03:46:24 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc: Add missing magic_cookie argument to calls to
	  magic_error().

Sat Nov 13 12:17:51 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Build up document data with += for efficiency.

Sat Nov 13 12:08:09 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Index author with A prefix.

Sat Nov 13 12:00:50 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: A file extension can't contain a '/'.

Sat Nov 13 11:50:31 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Index the leafname of the file (without any extension) as
	  if it contained additional keywords.

Sat Nov 13 11:32:09 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: If a filter command isn't installed, flag this in the
	  commands map so we don't try running this command again for any
	  file with the same mimetype (previously we'd rerun it for a different
	  extension which gave the same mimetype).

Fri Nov 12 09:11:35 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Add -no-undefined to AM_LDFLAGS on
	  platforms which need it to dynamically link such as cygwin (need
	  to do this taken from ticket#282).

Fri Nov 12 03:35:56 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Report MIME type if it's unknown to us.  Remove debug
	  output line.  Update comments.

Fri Nov 12 03:32:27 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc: Report errors from libmagic.

Fri Nov 12 02:58:20 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc,diritor.h: Fix to compile when libmagic is detected.

Fri Nov 12 01:40:24 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc: Add missing class qualifier to method definition.

Fri Nov 12 01:25:11 GMT 2010  Olly Betts <olly@survex.com>

	* INSTALL: Mention libmagic in install instructions.

Fri Nov 12 01:16:21 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,diritor.cc,diritor.h,omindex.cc: Optionally
	  use libmagic to detect MIME types for files for which we have no
	  extension mapping, which allows us to handle files with a misleading
	  extension, and files with no extension.  (ticket#114)

Thu Nov 11 23:23:07 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Refactor slightly to handle the unknown extension case
	  up front, so we lose an indentation level for the known extension
	  case.

Thu Nov 11 12:25:03 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Add new --filter option to allow the user to specify
	  new filters without patching omindex.cc.
	* docs/overview.rst: Document --filter.

Thu Nov 11 02:51:55 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Factor out handling for external filter programs which
	  simply return UTF-8 text on stdout.

Mon Nov 08 10:58:46 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc,svgparse.cc,svgparse.h: Extract author for SVG files.

Mon Nov 08 10:40:09 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Extract metadata from Microsoft Office 2007 file formats.

Mon Nov 08 10:21:13 GMT 2010  Olly Betts <olly@survex.com>

	* myhtmlparse.cc,myhtmlparse.h,omindex.cc: Extract author from HTML
	  documents.

Mon Nov 08 09:46:03 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Escape wildcard patterns being passed to unzip - in the
	  unlikely event that one of these matched files in or under the
	  current directory, we might fail to extract all the files we wanted
	  to.

Mon Nov 08 05:03:41 GMT 2010  Olly Betts <olly@survex.com>

	* metaxmlparse.cc,metaxmlparse.h,omindex.cc: Extract author from
	  OpenDocument documents.

Mon Nov 08 03:18:26 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Extract author from PDF metadata.

Mon Nov 08 03:15:17 GMT 2010  Olly Betts <olly@survex.com>

	* metaxmlparse.h: Initialise field member variable.

Mon Nov 08 00:28:07 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Index text in headers and footers for .odt and .docx
	  files.

Thu Nov 04 11:55:58 GMT 2010  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,query.cc: If we catch an error early on, make sure
	  that if it's appropriate, we write out a "Content-Type:" HTTP header
	  and end the headers.

Thu Nov 04 11:39:10 GMT 2010  Olly Betts <olly@survex.com>

	* utf8converttest.cc: Add back in testcases for charset names with
	  hyphens in.

Thu Nov 04 09:01:43 GMT 2010  Olly Betts <olly@survex.com>

	* utils.cc: Fix misuse of BUFSIZE which should be sizeof(buf) (issue
	  reported by compilation with CPPFLAGS=-D_GLIBCXX_DEBUG).

Thu Nov 04 09:01:08 GMT 2010  Richard Boulton <richard@tartarus.org>

	* utf8convert.cc,utf8converttest.cc: If iconv can't handle a
	  charset, check if it's of the form (UTF|UCS)[_ ]?.* and if so,
	  convert to the official hypenated form.  Should fix failure of
	  utf8converttest on OSX, where it fails due to iconv not
	  supporting "UTF16".

Tue Nov 02 09:48:19 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc,diritor.h,loadfile.cc,loadfile.h,md5wrap.cc,md5wrap.h,
	  omindex.cc,scriptindex.cc: Use O_NOATIME if available and either the
	  file is owned by the current euid, or the current euid is 0 (i.e.
	  we're running as root).  Fixes ticket#222.

Fri Oct 29 14:26:25 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Use the CSV parser to generate a nicer sample for files
	  of type application/vnd.ms-excel.

Fri Oct 29 09:26:52 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am: Put $(PCRE_LIBS) in libtransform_la_LIBADD rather than
	  omega_LDADD (more correct, but probably doesn't actually make any
	  difference).

Thu Oct 28 14:46:11 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Disable more output unless --verbose is specified.  Don't
	  flush the "Indexing" partial message until we get to the potentially
	  time consuming actions.

Thu Oct 28 13:54:44 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst: Improve mark-up, and tweak wording in a few
	  places.

Thu Oct 28 13:46:36 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst: Update docs for --duplicates and
	  --preserve-removed.

Thu Oct 28 13:27:01 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Deprecated "--preserve-nonduplicates" in favour of new
	  long option "--preserve-removed" which does the same thing, but has
	  a (hopefully) clearer name.  Rename the variable it controls from
	  preserve_unupdated to delete_removed_documents (with the opposite
	  sense).

Thu Oct 28 12:08:59 GMT 2010  Olly Betts <olly@survex.com>

	* configfile.cc: Only append '/' to directory values if they don't
	  already have a trailing '/'.

Thu Oct 28 11:49:54 GMT 2010  Olly Betts <olly@survex.com>

	* runfilter.cc: Make the memory limit for filter processes the size
	  of physical memory, not 7/8 of this value, which is a little less
	  arbitrary (ticket#424).

Thu Oct 28 11:47:38 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Under --duplicate=ignore, fix so that old documents which
	  aren't seen get deleted, which wasn't implemented before (to suppress
	  this deletion, pass -p as well).

Thu Oct 28 10:38:21 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Track how many documents in the index we haven't seen
	  in this index run - if this is 0, we don't need to check for docs
	  to delete at all; otherwise we can at least use it to know when we
	  have found them all.  Use a PostingIterator over all documents to
	  avoid having to catch exceptions from delete_document() for gaps
	  in the used docids.

Thu Oct 28 04:52:36 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Add quotes around directory name in "Entering directory"
	  message.  Add directory name to "skipping directory" error message.

Thu Oct 28 04:50:37 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Document --verbose in --help.  Actually recognise -V.

Thu Oct 28 04:01:31 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Move the directory iteration loop out of the try/catch
	  block for starting the iteration, which means it's indented by a
	  whole level less.

Thu Oct 28 03:47:30 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Add --verbose option, and disable the less interesting
	  output unless it is specified.

Thu Oct 28 03:34:44 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Eliminate the message "Caught unknown exception in
	  index_directory, rethrowing" as it isn't actually informative.

Thu Oct 28 01:43:44 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Variable dbpath doesn't need to be global.

Thu Oct 28 01:28:10 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: The Host and Path terms are the same for every document
	  in a single invocation of omindex, so calculate them just once up
	  front.

Thu Oct 28 01:13:36 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Eliminate the leading slash on filenames in output, so
	  they are now relative filenames on the system.  This also simplifies
	  path building internally.

Wed Oct 27 09:51:51 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Use rpm's --qf option to produce output which is simpler
	  to parse.

Wed Oct 27 09:32:22 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Add support for indexing RPM packages
	  (ticket#493).

Wed Oct 27 06:07:59 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Add support for indexing Debian package
	  files (ticket #493).

Wed Oct 27 05:37:02 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Quietly ignore files with mimetype set
	  to "ignore".  The initial list of extensions set to ignore is:
	      .a .dll .dylib .exe .lib .o .obj .so

Wed Oct 27 02:25:01 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Report get_description() for Xapian exceptions, which
	  is provides additional information above get_msg().

Wed Oct 27 01:56:08 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc,query.cc,values.h: Add file size as a value, and set up a
	  NumberValueRangeProcessor so size: works in the query (has to be in
	  bytes currently).

Wed Oct 27 01:31:25 GMT 2010  Olly Betts <olly@survex.com>

	* scriptindex.cc: Report get_description() for Xapian exceptions, which
	  is provides additional information above get_msg().

Tue Oct 26 12:00:58 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst: Document the new emptydocs template.

Tue Oct 26 11:51:31 GMT 2010  Olly Betts <olly@survex.com>

	* docs/omegascript.rst,query.cc: Add new $emptydocs command which
	  returns a list of documents with doclength zero.
	* query.cc: Extend $field to take an optional DOCID argument, rather
	  than always using the context from $hitlist.
	* templates/emptydocs: New template which lists documents with
	  doclength zero.

Thu Oct 21 12:05:23 GMT 2010  Olly Betts <olly@survex.com>

	* configure.ac,unixperm.cc: Fix to build on platforms where
	  getgrouplist() exists but takes int* not gid_t* (e.g. Mac OS X).

Wed Oct 20 10:30:13 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Add boolean terms with add_boolean_term()
	  so they get wdf of 0 and don't contribute to document length.

Sat Oct 16 06:13:23 GMT 2010  Olly Betts <olly@survex.com>

	* configure.ac: Probe for any options needed to enable large file
	  support.  Handling files >= 2GB isn't especially useful, but more
	  importantly this is needed to allow omindex to index files on filing
	  systems with 64 bit inodes on some platforms (e.g. 32-bit Linux).

Mon Oct 11 11:11:07 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am: Drop special case to remove man pages on "make clean"
	  in maintainer-mode.

Wed Sep 29 04:14:21 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,query.cc,unixperm.cc,unixperm.h: Pull out
	  permission checks into a separate file and check Unix user and group
	  permissions based on environmental variable REMOTE_USER, if set.

Tue Sep 28 08:06:00 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am: Ship common/realtime.h.

Tue Sep 28 06:32:10 GMT 2010  Olly Betts <olly@survex.com>

	* query.cc: Apply permission filters if USER and/or GROUP are set.

Tue Sep 28 06:14:50 GMT 2010  Olly Betts <olly@survex.com>

	* ./: Update svn:externals to latest common from xapian-core.
	* query.cc: Use RealTime::now() to time running the query.  Include
	  more enquire set-up in the time.

Tue Sep 28 05:26:07 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Index file owner and read permissions, to allow finding
	  documents with a particular owner, and so searches can be restricted
	  to documents a user is able to read.
	* docs/termprefixes.rst: Document term prefixes used by the above.

Tue Sep 28 05:20:01 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.h: Rename get_other_read() to is_other_readable() for
	  consistency.

Tue Sep 28 04:16:55 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.cc,diritor.h: Rearrange so that the setting of statbuf_valid
	  gets inlined so the compiler should be able to optimise out
	  subsequent calls to call_stat().

Tue Sep 28 04:10:28 GMT 2010  Olly Betts <olly@survex.com>

	* diritor.h: Add methods to read the owner and group, and to check
	  who can read the file.

Tue Sep 28 01:39:15 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Fix typo.

Tue Sep 28 01:33:44 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Fix whitespace oddities.

Tue Sep 28 01:31:46 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Tue Sep 28 01:27:41 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Improve --help for --mime-type option.

Mon Sep 20 06:50:45 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc,svgparse.cc,svgparse.h: Extract any document title and
	  keywords from SVG files.

Mon Sep 20 06:49:44 GMT 2010  Olly Betts <olly@survex.com>

	* htmlparse.cc: Call closing_tag() for XML empty tag syntax (like
	  "<tag foo=bar />").

Mon Sep 20 05:30:54 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,docs/overview.rst,omindex.cc,svgparse.cc,svgparse.h: Add
	  support for indexing SVG files.

Tue Sep 07 04:39:59 GMT 2010  Olly Betts <olly@survex.com>

	* outlookmsg2html.in: If the required perl modules aren't available,
	  exit with status 127 which omindex interprets as "filter not
	  installed" and won't try further .msg files.

Tue Sep 07 02:24:36 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,docs/overview.rst,omindex.cc,
	  outlookmsg2html.in,pkglibbindir.cc,pkglibbindir.h: Add support for
	  indexing .msg files from Microsoft Outlook.  (ticket#334)

Tue Aug 31 06:32:15 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Fix handling of quoting in CSV files to match what's
	  most common.

Tue Aug 31 05:41:13 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: The V in CSV is Values not Variable.

Mon Aug 30 14:56:36 GMT 2010  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Add support for indexing .csv files.

Sat Aug 28 11:46:22 GMT 2010  Olly Betts <olly@survex.com>

	* cdb_find.cc,cdb_init.cc,cgiparam.cc,date.cc,md5.cc,query.cc,utils.cc,
	  values.h: Fix to compile with Sun C++.

Sat Aug 28 11:36:25 GMT 2010  Olly Betts <olly@survex.com>

	* omega.cc: An ESet can't contain empty terms, so there's no need to
	  check for them.

Tue Aug 24 05:58:28 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.3.

Mon Aug 23 15:08:11 GMT 2010  Olly Betts <olly@survex.com>

	* xapian-omega.spec.in: Don't run autoreconf - it's no longer required.

Tue Aug 03 14:11:35 GMT 2010  Olly Betts <olly@survex.com>

	* docs/termprefixes.rst: Update "flint and quartz" to "flint and chert"
	  as quartz is no longer supported.  Give exact term length limit for
	  flint and chert.

Sun Jun 27 05:00:39 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.2.2.

Sat Jun 26 15:59:59 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS.SKELETON: Add blank line to the end.

Sat Jun 26 15:59:05 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS.SKELETON: Add template NEWS entry.

Tue Jun 22 13:55:11 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Sync with 1.0.21.
	* NEWS,configure.ac: Update for 1.2.1.

Sun Jun 13 11:55:40 GMT 2010  Olly Betts <olly@survex.com>

	* freemem.cc: Merge in __WIN32__ implementation from perftest in
	  xapian-core.

Fri May 14 01:39:43 GMT 2010  Olly Betts <olly@survex.com>

	* freemem.cc: Use "safeunistd.h" instead of <unistd.h>.

Wed Apr 28 13:38:33 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Sync with 1.0.20.

Wed Apr 28 06:44:56 GMT 2010  Olly Betts <olly@survex.com>

	* configure.ac: Tell libtool not to link in deplibs on platforms where
	  we know they aren't needed.
	* configure.ac: On Linux, extract the library search path from ldconfig
	  which gives us the default entries reliably.
	* NEWS,configure.ac: 1.2.0.

Thu Apr 15 04:32:06 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.1.5.

Mon Feb 15 14:00:26 GMT 2010  Olly Betts <olly@survex.com>

	* configure.ac: Update for 1.1.4.

Mon Feb 15 13:51:44 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Add missing notes for 1.1.2 and 1.1.1 including changes from
	  1.0.14 and 1.0.13 respectively.

Mon Feb 15 13:28:12 GMT 2010  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog and 1.0.18.

Mon Feb 08 00:48:44 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am: Need to ship common/omassert.h.

Sun Feb 07 23:03:45 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am: Need to ship common/str.h.

Sun Feb 07 21:40:03 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,omega.cc,omindex.cc,query.cc,utils.cc,utils.h: Use the
	  optimised str() routine instead of int_to_string() and
	  long_to_string().

Fri Feb 05 23:29:12 GMT 2010  Olly Betts <olly@survex.com>

	* omindex.cc: Increase the wdf boost for the document title from 2 to
	  5, since 2 isn't really enough.

Thu Feb 04 03:20:02 GMT 2010  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,runfilter.cc: Use safesyswait.h.
	* runfilter.cc: Reformat header to @file doxygen comment.  Put
	  '#include "runfilter.h"' right after <config.h>.

Wed Dec 10 00:15:10 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed Dec 09 00:26:19 GMT 2009  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Add missing "using namespace std;".

Wed Dec 09 00:20:38 GMT 2009  Olly Betts <olly@survex.com>

	* htmlparse.cc: Make the default charset "utf-8" not "UTF-8" as we
	  lower case explicitly specified character sets to compare to see
	  if we need to reparse, so this avoids a reparse when UTF-8 is
	  explicitly specified as well as the default.

Tue Dec 08 23:56:46 GMT 2009  Olly Betts <olly@survex.com>

	* scriptindex.cc: Don't bomb out if indexing is disallowed or we hit
	  </body> for a document which had an overridden character set.
	  Fixes ticket#410.

Wed Nov 18 10:48:47 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.1.3.

Wed Nov 18 02:37:34 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from 1.0.17 and ChangeLog.

Mon Nov 16 09:08:12 GMT 2009  Olly Betts <olly@survex.com>

	* utf8converttest.cc: Charset "8859_1" isn't understood by Solaris
	  libiconv, and isn't likely to be specified on a page, so just
	  test it for our built-in convertor and GNU libc.

Wed Nov 11 04:52:25 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Also check for socketpair with -lxnet if it isn't found
	  without, which enables resource limits on Solaris, and possibly some
	  other platforms.  Fixes ticket#412.

Wed Nov 04 01:51:41 GMT 2009  Olly Betts <olly@survex.com>

	* freemem.cc: On Linux, _SC_AVPHYS_PAGES excludes pages used by the OS
	  VM cache, so will often return a really low value, so instead use
	  _SC_PHYS_PAGES.  Reported by Rune Kock in Debian bug#548987.  Also
	  explains ticket#358.

Wed Nov 04 00:54:38 GMT 2009  Olly Betts <olly@survex.com>

	* common/: Sync with latest version from xapian-core to pick up getopt
	  fix for Mac OS X 10.6.

Mon Nov 02 09:32:22 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Use delete[] (not delete) for array allocated by new[].

Mon Nov 02 07:08:13 GMT 2009  Olly Betts <olly@survex.com>

	* runfilter.cc: Fix likely crash if read() is interrupted by a signal.
	  Identified by Coverity's Scan.

Mon Nov 02 06:47:01 GMT 2009  Olly Betts <olly@survex.com>

	* scriptindex.cc: Extend exception handling to the whole of main.
	  Xapian::Stem("english") can't actually throw, but that's not obvious
	  to static analysis tools, and it is more robust to wrap the whole of
	  main, and reduces indentation.

Mon Nov 02 06:32:41 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Tighten up the type of the error we catch
	  to detect an unknown stemming language.

Thu Sep 17 12:13:10 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Thu Sep 10 13:33:06 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Default to looking for xapian-config-1.1.

Thu Sep 10 06:46:55 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Sync changes from 1.0.15 and 1.0.16.

Wed Sep 09 13:32:25 GMT 2009  Olly Betts <olly@survex.com>

	* omega.cc,query.cc,query.h: Fix cross-site scripting vulnerability in
	  reporting of exceptions (CVE-2009-2947).

Fri Aug 28 15:30:07 GMT 2009  Richard Boulton <richard@lemurconsulting.com>

	* configure.ac: Check for PERL if in maintainer mode, not just when
	  building documentation, because making the omegascript vim syntax
	  mode requires it.

Wed Aug 26 14:17:06 GMT 2009  Olly Betts <olly@survex.com>

	* templates/query: www.xapian.org -> xapian.org.

Tue Aug 25 11:15:38 GMT 2009  Olly Betts <olly@survex.com>

	* gen-omegascript-vim: Fix swapped arguments to perl mkdir function.

Tue Aug 25 10:39:29 GMT 2009  Olly Betts <olly@survex.com>

	* gen-omegascript-vim: Add GPL licence boilerplate.

Tue Aug 25 10:29:07 GMT 2009  Olly Betts <olly@survex.com>

	* gen-omegascript-vim: Need to create "extra" for a VPATH build.

Tue Aug 25 08:39:00 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am: Fix for VPATH build.

Tue Aug 25 06:38:08 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,extra/omegascript.vim,extra/omegascript.vim.in,
	  gen-omegascript-vim: The list of OmegaScript commands in the vim
	  mode was rather out of date, and a few commands were misclassified.
	  Fix both problems and avoid future recurrences by automatically
	  generating those lists from the command list in query.cc.

Sat Aug 15 11:31:56 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed Aug 05 03:50:54 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Implement correct handling of paths when calling
	  external filter programs on Microsoft Windows.

Thu Jul 23 12:07:24 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Remove pointless fallback code.

Thu Jul 23 12:06:37 GMT 2009  Olly Betts <olly@survex.com>

	* templates/inc/toptermsjs: Use double-quotes rather than single quotes
	  for parameter values on the <script> tag.

Thu Jul 23 11:29:43 GMT 2009  Olly Betts <olly@survex.com>

	* docs/omegascript.rst: Document that $date uses UTC.  (ticket#314)

Thu Jul 23 11:26:15 GMT 2009  Olly Betts <olly@survex.com>

	* templates/query: If JavaScript is available, convert the
	  $field{modtime} to a string on the client-side so that the timezone
	  is correct.  If JavaScript isn't available, fall back to the existing
	  behaviour of using UTC.  (ticket#314)

Thu Jul 23 04:12:02 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.1.2.

Wed Jul 22 04:33:29 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog and sync with 1.0.13 and 1.0.14.

Tue Jul 07 15:05:09 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Consistently use endl not "\n" at the end of messages so
	  that output is flushed.

Tue Jul 07 07:29:21 GMT 2009  Olly Betts <olly@survex.com>

	* cdb_init.cc,cdb_int.h,cgiparam.cc,configfile.cc,date.cc,
	  datematchdecider.cc,datematchdecider.h,freemem.cc,htmlparse.cc,
	  htmlparsetest.cc,md5.cc,md5test.cc,myhtmlparse.cc,omega.cc,
	  omindex.cc,query.cc,runfilter.cc,scriptindex.cc,strcasecmp.h,
	  utf8converttest.cc,utils.cc: Update to use C++ forms for ISO C
	  standard headers (ticket#330).

Mon Jul 06 01:54:35 GMT 2009  Olly Betts <olly@survex.com>

	* loadfile.cc: Avoid infinite loop if the file has been truncated
	  since we read the length, or on Cygwin with the automatic end of
	  line translation turned on.

Sun Jul 05 13:00:57 GMT 2009  Olly Betts <olly@survex.com>

	* htmlparse.cc,htmlparse.h: Make HtmlParser::get_parameter() const
	  (ticket#139).

Sun Jul 05 12:59:45 GMT 2009  Olly Betts <olly@survex.com>

	* cdb_init.cc: Prefer static_cast<> to C-style cast.

Sat Jun 20 03:31:22 GMT 2009  Olly Betts <olly@survex.com>

	* docs/overview.rst: www.xapian.org -> xapian.org

Thu Jun 11 09:45:45 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Extract pptx notesSlides and comments, if present.  If
	  they aren't, unzip returns exit code 11, which we must ignore
	  (ticket#290).

Thu Jun 11 07:38:57 GMT 2009  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Handle the "macroenabled" versions of
	  MS Office 2007 files too (ticket#290).

Wed Jun 10 01:13:14 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Update for 1.1.1.

Tue Jun 09 14:35:40 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update for 1.1.1.

Mon May 25 13:38:46 GMT 2009  Olly Betts <olly@survex.com>

	* query.cc: If SERVER_PROTOCOL in the environment is set to INCLUDED,
	  then our output is being included in another page (e.g. using SSI)
	  so suppress the output of any HTTP headers.

Mon May 25 13:02:22 GMT 2009  Olly Betts <olly@survex.com>

	* templates/query: Remove extra "}" introduced when adding spelling
	  support.

Mon May 25 12:57:45 GMT 2009  Olly Betts <olly@survex.com>

	* cgiparam.cc,commonhelp.cc: Include the corresponding header.

Mon May 25 12:56:55 GMT 2009  Olly Betts <olly@survex.com>

	* cgiparam.h: Add explicit inclusions of <map> and <string> and qualify
	  multimap and string with std::.

Sat May 23 12:21:33 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Sync warning flags used with GCC with xapian-core
	  apart from -Woverloaded-virtual which fires for
	  MyHtmlParser::parse_html().  That probably should be tidied up at
	  some point, but not right now.

Wed May 20 11:24:46 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: The MD5 checksum of a text file with a BOM was being
	  incorrectly calculated from the contents converted to UTF-8
	  since 1.0.7.  Noticed by Srijon Biswas.

Tue May 05 12:13:17 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: We can now use numeric_limits<> since we no longer
	  support GCC 2.95, so use it and fix a warning on platforms with
	  32 bit long.

Thu Apr 30 14:09:50 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,docs/omegascript.rst,query.cc,weight.cc,weight.h: Add
	  $opt{weighting} to allow the weighting scheme and parameters to be
	  specified (ticket#298).

Tue Apr 28 07:38:54 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Check the last modification time of files before
	  reindexing (ticket#342).

Tue Apr 28 05:17:04 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Drop the copyright info from the output of --version as
	  it's perennially out of date and we don't report it for any other
	  Xapian programs.

Tue Apr 28 05:03:29 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: If the filter for a filetype isn't installed, don't erase
	  the entry from the mime_map, but instead set it to the empty string
	  and then use this to report why we subsequently skip files with the
	  same extension, rather than slightly misleadingly reporting "Unknown
	  extension".

Mon Apr 27 16:34:29 GMT 2009  Olly Betts <olly@survex.com>

	* templates/query: Offer any spelling correction QueryParser gives.

Mon Apr 27 13:36:19 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Add "--spelling" option to index spelling correction
	  data.

Sun Apr 26 16:28:36 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Make -s work as a short-form for --stemmer (as
	  documented by "omindex --help" and "man omindex").

Sun Apr 26 15:33:32 GMT 2009  Olly Betts <olly@survex.com>

	* docs/omegascript.rst,query.cc: Add $suggestion and $opt{spelling} to
	  provide access to spelling correction (ticket#296).

Sun Apr 26 15:08:40 GMT 2009  Olly Betts <olly@survex.com>

	* docs/scriptindex.rst,scriptindex.cc: Add new "spell" action for
	  scriptindex (ticket#296).

Thu Apr 23 07:40:41 GMT 2009  Olly Betts <olly@survex.com>

	* docs/scriptindex.rst,scriptindex.cc: Add new "valuenumeric" action
	  to index a value using Xapian::sortable_serialise() to allow numeric
	  sorting (ticket#260).

Thu Apr 23 07:09:18 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,docs/Makefile.am: Fix things up so that in
	  a bootstrapped SVN tree, automatic regeneration of
	  autotools-generated files uses the in-tree versions of the autotools.

Wed Apr 22 13:52:28 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update for 1.1.0.

Mon Apr 20 14:20:51 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Sync changes from 1.0.12.

Mon Apr 20 14:15:41 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog and clean up for release.

Thu Apr 16 10:02:44 GMT 2009  Olly Betts <olly@survex.com>

	* transform.cc: Fix off-by-one error - the return value of pcre_exec()
	  is one more than the number of groupings.

Thu Apr 16 09:23:29 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am: Need to ship new file transform.h.

Thu Apr 16 08:20:01 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,docs/omegascript.rst,query.cc,transform.cc,transform.h:
	  Factor out the implementation of $transform into a separate source
	  file and compile only that file with $(PCRE_CFLAGS) to avoid
	  problems reported by James Aylett with Mac OS X on #xapian-devel.
	  Fix expansion of \1 to \9 to work correctly and document these
	  and \\.  Fix handling of unescaped \ at the end of the pattern, and
	  leave unrecognised \<x> sequences unchanged. 

Thu Apr 16 04:38:20 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Remove duplicate "AC_SUBST(AM_CXXFLAGS)".

Thu Apr 16 04:29:28 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Avoid implicitly casting a string literal to char* in
	  the test for iconv by adding the same explicit cast we use in the
	  code in utf8convert.cc.  Currently the implicit cast is "only" a
	  warning under GCC, but the user could pass -Werror explicitly in
	  CXXFLAGS, and this could be promoted to an error in future GCC
	  versions, and may already be so for some other compilers.

Thu Apr 16 03:56:16 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Back out previous fix - -Werror has nothing to do with
	  the issue James reported.

Tue Apr 14 15:34:36 GMT 2009  Richard Boulton <richard@lemurconsulting.com>

	* configure.ac: Test for compiler flags before checking for
	  libraries, and use the compiler flags found when checking for
	  things.  In particular, this should fix the test for the type
	  used by iconv() on MacOS (where it was previously returning "char
	  *", and the test was giving a warning about converting this to
	  "const char *", but not failing).  Requires a change to the iconv
	  test to avoid it failing on linux with GCC due to an unrelated
	  warning in the test code.

Sat Apr 04 15:15:18 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Wed Mar 25 12:35:42 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Actually use all those warning flags we
	  carefully determine!

Wed Mar 25 12:03:37 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Only put XAPIAN_CXXFLAGS in CXXFLAGS for
	  the duration of configure (we need it as it may include options to
	  put the compiler into ISO C++ mode).  Set AM_CXXFLAGS to
	  XAPIAN_CXXFLAGS in Makefile.am.  This means that the user can safely
	  override CXXFLAGS at make-time: "make CXXFLAGS=-Os"

Wed Mar 25 10:56:29 GMT 2009  Olly Betts <olly@survex.com>

	* query.cc: Cope with write() not writing all the data or being
	  interrupted by a signal when writing log entries.

Wed Mar 25 10:48:14 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Move AC_PROG_CXX and AC_LANG_CPLUSPLUS earlier so that
	  CXXFLAGS is set before we add XAPIAN_CXXFLAGS to it.  With libtool
	  1.5.x this wasn't an issue, as AC_PROG_CXX was implicitly run early
	  on.  With libtool 2.2.x it is as AC_PROG_CXX doesn't touch CXXFLAGS
	  if it is already set, so we don't get "-O2 -g" set for GCC.

Wed Mar 18 06:13:16 GMT 2009  Olly Betts <olly@survex.com>

	* scriptindex.cc: Mark "index=nopos" error for removal in 1.3.0
	  not 1.2.0.  Tweak code that produces it to use more literal strings.

Wed Mar 18 06:12:06 GMT 2009  Olly Betts <olly@survex.com>

	* docs/scriptindex.rst: The deprecated "index=nopos" is now removed
	  and gives an error explaining what to use instead, so remove the
	  documentation saying it is deprecated and what to do.

Mon Mar 16 14:07:58 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Sync with 1.0.11.

Sat Feb 28 08:31:15 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Use commit() rather than flush().

Sat Feb 28 08:28:26 GMT 2009  Olly Betts <olly@survex.com>

	* scriptindex.cc: Don't call reopen() on a WritableDatabase - it
	  doesn't do anything!

Thu Feb 26 06:38:05 GMT 2009  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog.

Thu Feb 26 06:18:05 GMT 2009  Olly Betts <olly@survex.com>

	* omindex.cc: Mark "-l" as requiring an argument so that it actually
	  works - previously it would always result in a segmentation fault.

Thu Feb 26 00:17:56 GMT 2009  Olly Betts <olly@survex.com>

	* docs/cgiparams.rst: Note the technique of using a stub database file
	  to allow a default of searching over multiple databases.

Wed Feb 25 12:39:08 GMT 2009  Olly Betts <olly@survex.com>

	* configure.ac: Update g++ version check to match recent change to
	  xapian-core.  Also turn on _FORTIFY_SOURCE and make the rare()
	  and usual() branch prediction hint macros available.

Mon Feb 23 06:05:25 GMT 2009  Olly Betts <olly@survex.com>

	* Makefile.am,docs/overview.rst,omindex.cc,xpsxmlparse.cc,
	  xpsxmlparse.h: Add support for XPS files (bug#290).

Fri Feb 20 03:25:14 GMT 2009  Olly Betts <olly@survex.com>

	* query.cc: Wrap a long comment.

Thu Feb 19 10:34:36 GMT 2009  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Prefer str.resize(0) to str = "".

Thu Feb 19 06:23:34 GMT 2009  Olly Betts <olly@survex.com>

	* docs/overview.rst,omindex.cc: Add support for MS Office 2007
	  formats (bug#290).

Thu Feb 19 04:46:26 GMT 2009  Olly Betts <olly@survex.com>

	* metaxmlparse.cc,metaxmlparse.h,xmlparse.cc,xmlparse.h: XmlParser and
	  MetaXmlParser were overriding opening_tag with the wrong signature so
	  their implementations weren't ever being used.

Fri Jan 09 04:19:32 GMT 2009  Olly Betts <olly@survex.com>

	* runfilter.cc: Fix to compile when RLIMIT_AS isn't available (as on
	  NetBSD and OpenBSD).  In this situation, instead use RLIMIT_VMEM or
	  RLIMIT_DATA if either is available.

Wed Dec 10 01:06:03 GMT 2008  Olly Betts <olly@survex.com>

	* query.cc: Fix poor grammar in comment.

Sat Nov 01 01:49:07 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Sync with 1.0.9.

Fri Oct 31 18:34:49 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Sync warning flag handling changes from xapian-core.

Thu Oct 23 17:08:22 GMT 2008  Olly Betts <olly@survex.com>

	* docs/overview.rst: Document HTML parsing a bit, including robots
	  meta and htdig_noindex.

Sat Oct 18 08:00:24 GMT 2008  Olly Betts <olly@survex.com>

	* omega.cc: Catch std::exception and report what its what() method
	  returns.

Thu Oct 09 10:16:05 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Update autoconf requirement to 2.63, libtool to 2.2.6.

Wed Oct 01 04:48:37 GMT 2008  Olly Betts <olly@survex.com>

	* scriptindex.cc: Separate Action constructor cases to avoid
	  pointlessly calling atoi() on an empty string.

Wed Oct 01 03:15:29 GMT 2008  Olly Betts <olly@survex.com>

	* omega.cc,omega.h: Remove undocumented and non-functional support for
	  numeric sorting via: SORT=#<slot>

Thu Sep 04 04:26:22 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Set version to 1.1.0.

Thu Sep 04 04:21:12 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Sync with 1.0.8 and update from ChangeLog.

Wed Sep 03 12:26:58 GMT 2008  Olly Betts <olly@survex.com>

	* htmlparse.cc,htmlparse.h,htmlparsetest.cc,myhtmlparse.cc,
	  myhtmlparse.h,omindex.cc,scriptindex.cc,xmlparse.h: If the character
	  encoding is specified using <meta http-equiv=...> in an HTML
	  document then reparse the document if it isn't the encoding we're
	  already using so that any preceding <title> is converted correctly
	  (bug#292).
	  
	  Convert text from meta tag parameters to UTF-8 (bug#293).

	  Handle <meta charset="..."> (new in HTML 5).
	  
	  Fix bug in parameter parsing which was probably just a small
	  performance penalty in real world cases, but could perhaps result in
	  parsing bogus extra parameters in carefully contrived situations.

Tue Aug 05 09:24:33 GMT 2008  Olly Betts <olly@survex.com>

	* docs/: Fix a few typos and improve wording in a few places.

Tue Aug 05 09:19:56 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc: Tweak to use string::assign() instead of assigning the
	  result of string::substr().

Tue Jul 29 23:48:31 GMT 2008  Olly Betts <olly@survex.com>

	* runfilter.cc: Add missing <signal.h>, noted on FreeBSD by Henrik
	  Brix Andersen.

Mon Jul 21 12:27:48 GMT 2008  Olly Betts <olly@survex.com>

	* commonhelp.cc: Use PACKAGE_BUGREPORT instead of hardcoding the bug
	  report URL.  Remove reference to "bugzilla" as we now use trac
	  instead.

Mon Jul 21 11:58:25 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Put the bug report URL as the third parameter to
	  AC_INIT.  Add proper m4 quoting in a few places (nowhere that
	  should actually change behaviour).  Add hard autotools version
	  requirements to match xapian-core, and remove the version
	  justification since HACKING now covers that.  Drop docdir workaround
	  for autoconf < 2.60.

Wed Jul 09 10:44:37 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: The workaround to avoid probe code for F77, GCJ, and
	  RC being added to configure is no longer required now that we're
	  using libtool 2.2 so remove it.

Wed Jul 09 10:13:18 GMT 2008  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Use AC_CONFIG_MACRO_DIR and
	  ACLOCAL_AMFLAGS as libtoolize 2.2.4 recommends.

Fri Jul 04 08:29:47 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Synchronise with 1.0 branch.

Fri Jul 04 08:15:03 GMT 2008  Olly Betts <olly@survex.com>

	* utf8convert.cc,utf8converttest.cc: UTF-16 with no BOM is meant to be
	  assumed to be big-endian.  GNU libiconv doesn't handle some examples
	  as expected, so disable them when using iconv() for now.

Fri Jul 04 06:39:20 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc: Handle UCS-2 and UTF-16 text files with a byte-order
	  mark (BOM).  Ignore any UTF-8 "byte-order" mark.
	* utf8convert.cc: Handle UCS-2/UTF-16 and explicit BE and LE forms in
	  the non-iconv code.
	* Makefile.am,utf8converttest.cc: Add unit tests of convert_to_utf8().

Fri Jun 27 04:43:18 GMT 2008  Olly Betts <olly@survex.com>

	* query.cc: Overhaul the $highlight colour combinations since some
	  were rather unreadable.  Reported by Joey Hess in Debian bug
	  #484456.

Sun Jun 01 15:12:02 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Update version to 1.0.7 to match 1.0 branch.

Sun May 25 14:56:41 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Synchronise with 1.0 branch, and update from ChangeLog.

Sat May 17 11:42:26 GMT 2008  Olly Betts <olly@survex.com>

	* docs/omegascript.rst,docs/scriptindex.rst: Tweak mark-up so
	  generated HTML gets a non-empty title.

Sat May 10 11:14:20 GMT 2008  Olly Betts <olly@survex.com>

	* Makefile.am: omega_CPPFLAGS overrides AM_CPPFLAGS, so we need to
	  explicitly include AM_CPPFLAGS in omega_CPPFLAGS to get
	  CONFIGFILE_SYSTEM defined when building omega.

Fri May 09 19:27:21 GMT 2008  Olly Betts <olly@survex.com>

	* Makefile.am: Fix handling of any -I options needed for PCRE.

Sun May 04 19:12:08 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc: Fix comment error regarding catdvi options.

Sat May 03 14:02:02 GMT 2008  Olly Betts <olly@survex.com>

	* xapian-omega.spec.in: Remove "www." from xapian.org and
	  oligarchy.co.uk URLs.

Sat May 03 13:55:35 GMT 2008  Olly Betts <olly@survex.com>

	* cgiparam.cc,htdig2omega,mbox2omega,omindex-config.cc: Update FSF
	  address.

Sat May 03 13:54:25 GMT 2008  Olly Betts <olly@survex.com>

	* gnu_getopt.h: Remove old copy of file which is no longer used - we
	  now share a copy with xapian-core via common/.

Sat May 03 10:42:27 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Fix header checks to pre-include <sys/types.h> which
	  Mac OS X needs for some other headers to work.

Sat May 03 10:41:18 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Improve code which prevents probing for f77, etc.

Fri May 02 17:52:44 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Fix to fail if --with-iconv is specified and libiconv
	  isn't, and we aren't using fink on Mac OS X.

Fri May 02 15:55:24 GMT 2008  Richard Boulton <richard@lemurconsulting.com>

	* configure.ac: If iconv isn't found, set with_iconv to "no", to
	  prevent USE_ICONV being set.  Was previously only doing this if
	  fink on OS X was found.

Fri May 02 14:14:07 GMT 2008  Richard Boulton <richard@lemurconsulting.com>

	* query.cc: Cast size to unsigned before division to avoid a
	  warning about signed overflow.

Fri May 02 14:08:39 GMT 2008  Richard Boulton <richard@lemurconsulting.com>

	* configure.ac: Synchronise code for working out warning flags used
	  for builds with that used for xapian-core.  Copes with different
	  formats of version number output by "gcc --version" which should
	  help to improve output.

Tue Apr 15 23:44:10 GMT 2008  Richard Boulton <richard@lemurconsulting.com>

	* query.cc: Catch only the specific error which indicates a need to
	  repeat a get_termfreq() call on the database instead of the mset.

Sun Apr 13 11:19:49 GMT 2008  Richard Boulton <richard@lemurconsulting.com>

	* freemem.h: Specify units of get_free_physical_memory().

Sun Apr 06 09:05:58 GMT 2008  Olly Betts <olly@survex.com>

	* freemem.cc: Fix latent compilation error on FreeBSD, pointed out by
	  Richard Boulton.

Mon Mar 31 02:00:48 GMT 2008  Olly Betts <olly@survex.com>

	* configure.ac: Update version to 1.0.6 to match latest release.

Wed Mar 12 07:04:56 GMT 2008  Olly Betts <olly@survex.com>

	* scriptindex.cc: Make deprecated "index=nopos" an error.

Mon Mar 10 03:37:30 GMT 2008  Olly Betts <olly@survex.com>

	* Makefile.am,diritor.cc,diritor.h,omindex.cc: Check for readdir()
	  failing.

Thu Mar 06 23:43:11 GMT 2008  Olly Betts <olly@survex.com>

	* common/: Update to latest revisions.
	* Makefile.am,diritor.h: Use safedirent.h not dirent.h and build
	  msvc_dirent.cc as part of omindex.

Wed Mar 05 23:16:23 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Update to HEAD with un-backported changes kept separate.

Wed Mar 05 19:05:12 GMT 2008  Olly Betts <olly@survex.com>

	* NEWS: Update to 1.0 branch point.

Sat Feb 02 22:46:40 GMT 2008  Olly Betts <olly@survex.com>

	* query.cc: Add (C) notice for Thomas Viehmann.

Sat Feb 02 22:46:14 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc: Back out random change committed by accident.

Sat Feb 02 21:23:07 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc,query.cc: New OmegaScript commands $addfilter, $lower,
	  $upper.
	* docs/omegascript.rst: Document.  Improve formatting.

Fri Feb 01 01:45:26 GMT 2008  Olly Betts <olly@survex.com>

	* INSTALL: PCRE required.
	* docs/omegascript.rst: $transform{} now enabled.  Fixes bug#231.

Fri Feb 01 01:35:58 GMT 2008  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,query.cc: Add PCRE as a requirement and
	  add $transform{} command (which has been in the code for ages but
	  disabled).

Sat Jan 19 02:01:02 GMT 2008  Olly Betts <olly@survex.com>

	* omindex.cc: Add support for DjVu files.
	* docs/overview.rst: Document.

Sat Jan 12 03:37:28 GMT 2008  Olly Betts <olly@survex.com>

	* freemem.cc: Check "defined HAVE_SYSMP" rather than just "HAVE_SYSMP".
	  This doesn't change behaviour, but fixes a compile warning on
	  platforms other than Linux and IRIX.

Fri Dec 21 02:13:49 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS: Bump release date.

Thu Dec 20 21:40:34 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS: Another update for 1.0.5.

Thu Dec 20 20:08:58 GMT 2007  Olly Betts <olly@survex.com>

	* Makefile.am,scriptindex.cc: Fix scriptindex to insert a ':' between
	  prefix and term using the same criteria which the QueryParser does.
	* scriptindex.cc,docs/scriptindex.rst: Action BOOLEAN now ignores an
	  empty input rather than adding the prefix as a term.  Action UNIQUE
	  now issues an warning for empty input but otherwise ignores it.

Thu Dec 20 17:44:57 GMT 2007  Olly Betts <olly@survex.com>

	* common/: Update to r9894 to pick up stringutils.cc.

Wed Dec 19 03:44:50 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.0.5.

Tue Dec 18 00:58:07 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu Dec 13 01:38:43 GMT 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Avoid rereading uncompressed AbiWord documents in order
	  to calculate their MD5 checksums.

Thu Dec 13 01:34:53 GMT 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Improve comment wording.

Thu Dec 13 00:59:35 GMT 2007  Olly Betts <olly@survex.com>

	* docs/overview.rst: Document that omindex limits resources that
	  filter programs can use.  Also add a note welcoming suggestions
	  for additional reliable filter programs.

Wed Dec 12 23:49:27 GMT 2007  Olly Betts <olly@survex.com>

	* Makefile.am,freemem.cc,freemem.h,runfilter.cc: Limit filter programs
	  to 7/8 of free physical memory on platforms where we know how to
	  determine this (currently at least Linux, FreeBSD, IRIX, HP-UX;
	  probably Solaris and a few others too).  Fixes bug#111.

Wed Dec 12 18:20:34 GMT 2007  Olly Betts <olly@survex.com>

	* docs/termprefixes.rst: Note the version where we stopped generating
	  terms with a 'W' prefix (0.9.7).

Wed Dec 12 18:17:28 GMT 2007  Olly Betts <olly@survex.com>

	* docs/overview.rst: omindex hasn't generated "W"-prefix terms since
	  0.9.7, so remove the documentation saying it does!

Wed Dec 12 18:16:52 GMT 2007  Olly Betts <olly@survex.com>

	* docs/overview.rst: Update to mention how upper case in extensions is
	  handled.

Wed Dec 12 17:49:12 GMT 2007  Olly Betts <olly@survex.com>

	* omindex.cc: If an extension isn't found in the mime_map and contains
	  uppercase ASCII characters, see if the lower cased extension is in
	  the mime_map.

Wed Dec 12 02:09:02 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS: Updated from ChangeLog in preparation for 1.0.5.

Mon Dec 10 23:27:40 GMT 2007  Olly Betts <olly@survex.com>

	* omindex.cc: '-f' is documented by --help as a short option for
	  '--follow', but wasn't previously actually recognised.

Tue Nov 20 13:08:19 GMT 2007  Olly Betts <olly@survex.com>

	* htmlparse.cc: Add "using namespace std;" to ensure that
	  std::strchr(), etc are imported into the global namespace.

Tue Nov 20 01:01:13 GMT 2007  Richard Boulton <richard@lemurconsulting.com>

	* commonhelp.cc,diritor.cc,htmlparse.cc,omega.cc,scriptindex.cc:
	  Add #include of cstring, to fix errors from gcc-4.3 snapshot.
	  Tidy include ordering in htmlparse.cc

Tue Nov 06 12:17:10 GMT 2007  Olly Betts <olly@survex.com>

	* docs/Makefile.am: No need to set SUFFIXES manually for suffixes used
	  in implicit rules.

Mon Nov 05 19:32:41 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Probe for rst2html.

Mon Nov 05 07:24:31 GMT 2007  Olly Betts <olly@survex.com>

	* Makefile.am,README,configure.ac,docs/,query.cc: Replace .txt docs
	  with Jenny's RST-ified versions.

Tue Oct 30 04:54:58 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 1.0.4.

Sat Oct 27 05:32:06 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Sat Oct 27 05:30:28 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: On balance, it's more helpful to users to moan about a
	  template which tries to set the same user prefix as both boolean
	  and probabilistic, even if previous releases didn't.

Thu Oct 25 20:38:15 BST 2007  Olly Betts <olly@survex.com>

	* common/: Update to latest version.
	* query.cc: Remove STRINGIZE macro definition as this is now
	  defined by stringutils.h.

Fri Oct 19 16:17:47 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Fix for reverted add_prefix() API.

Sun Sep 30 22:12:46 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* query.cc: Use the new form of add_prefix() to avoid deprecation
	  warnings at compile time.  Carefully avoid calling
	  add_prefix(f,p,PREFIX_FILTER) for a prefix which has already been
	  set with add_prefix(f,p,PREFIX_INLINE), because this would cause
	  an error (and we wish to avoid changing semantics of omegascript
	  to avoid breaking existing scripts).
	* NEWS: Update

Fri Sep 28 15:48:50 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Final (?) update for 1.0.3.

Fri Sep 28 15:46:11 BST 2007  Olly Betts <olly@survex.com>

	* mbox2omega: Expand --help output.
	* docs/scriptindex.txt: Refer to mbox2omega as an example of how to
	  use scriptindex.

Fri Sep 28 03:18:25 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Fri Sep 28 03:15:11 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Update for 1.0.3.  Use ustar format for tarball since
	  we have to for xapian-core anyway.

Fri Sep 28 02:42:28 BST 2007  Olly Betts <olly@survex.com>

	* ./: Update common SVN rev in svn:externals so the files are in
	  sync with xapian-core.

Wed Sep 19 16:09:36 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update from ChangeLog entries since 1.0.2.

Sat Sep 08 19:24:48 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac,runfilter.cc: Impose a 5 minute CPU time limit on
	  filter programs to prevent problems if a filter program goes into
	  an infinite loop on a malformed input.  Partly addresses bug#111.

Fri Sep 07 21:22:43 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Fix comment typos.

Fri Sep 07 20:56:50 BST 2007  Olly Betts <olly@survex.com>

	* docs/overview.txt,omindex.cc: Add supporting for indexing TeX DVI
	  files.

Thu Sep 06 20:59:57 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Fix bug in decimal fraction in $size for files >= 1M in
	  size.

Thu Sep 06 20:13:44 BST 2007  Olly Betts <olly@survex.com>

	* templates/query: Set HTML charset to utf-8 since that's what
	  databases now are by default.  Tidy up some HTML gremlins.
	  Restyle to use CSS to draw a "score bar" instead of using
	  images.  Rework the layout of each hit.  Add popup hints on
	  mouse-over for various items.

Thu Sep 06 18:12:07 BST 2007  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix line number tracking in dump files.

Thu Sep 06 18:06:28 BST 2007  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Add $muldiv{A,B,C} which calculates
	  int(A*B/C).

Thu Sep 06 03:36:36 BST 2007  Olly Betts <olly@survex.com>

	* runfilter.cc: Fix file description.

Thu Sep 06 00:54:58 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,omindex.cc,runfilter.cc,runfilter.h: Factor out the
	  stdout_to_string() function into its own source file.

Thu Sep 06 00:45:14 BST 2007  Olly Betts <olly@survex.com>

	* cgiparam.h,commonhelp.h,date.h,hashterm.h,htmlparse.h,loadfile.h,
	  md5wrap.h,metaxmlparse.h,myhtmlparse.h,namedentities.h,omega.h,
	  sample.h,utf8convert.h,utf8truncate.h,xmlparse.h: Add missing header
	  guards and standardise existing header guards to use the form
	  OMEGA_INCLUDED_FOO_H.

Thu Sep 06 00:24:54 BST 2007  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Add '#include <config.h>'.
	* omega.h: Don't '#include <config.h>'.

Mon Sep 03 19:16:37 BST 2007  Olly Betts <olly@survex.com>

	* docs/overview.txt,omindex.cc: Add support for indexing AbiWord
	  documents.

Thu Jul 05 00:37:35 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Final (?) update for 1.0.2.

Thu Jul 05 00:33:14 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Report files we aren't indexing because their extensions
	  aren't recognised.

Wed Jul 04 21:22:02 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* NEWS: Update with release date for release 1.0.2

Wed Jul 04 20:43:22 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* configure.ac: Bump version to 1.0.2.

Wed Jul 04 17:34:15 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Wed Jul 04 17:31:38 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,omindex.cc,query.cc: Use stringutils.h from common.
	* ./: Update common SVN rev in svn:externals to get the latest
	  stringutils.h.
	* cgiparam.cc: Use string::resize() rather than assigning from a
	  substring of the string.

Mon Jul 02 16:42:01 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* htmlparsetest.cc,md5test.cc: Add #include <stdlib.h>, to get a
	  definition for exit().  Fixes compilation with gcc-snapshot.

Thu Jun 28 18:05:18 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: If --url isn't passed, default to "/", but print a
	  warning noting that this default has been used (at least for now).

Thu Jun 28 18:04:53 BST 2007  Olly Betts <olly@survex.com>

	* docs/scriptindex.txt: Fix typo.

Wed Jun 27 15:44:30 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* NEWS: Remove the items which aren't really interesting to users.

Wed Jun 27 14:26:26 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* common/: Update svn:externals property to use latest version.

	* NEWS: Updated.

Sat Jun 23 13:11:15 BST 2007  Olly Betts <olly@survex.com>

	* diritor.h: Delete random extra blank line.

Sat Jun 23 13:08:35 BST 2007  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Use Xapian::BAD_VALUENO.

Sat Jun 16 11:06:08 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* Makefile.am: Pass value of XAPIAN_CONFIG to distcheck, to ensure
	  that it works with uninstalled copies of Xapian.

Mon Jun 11 03:34:53 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Minor wording improvement.

Mon Jun 11 03:33:37 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Probably the final update for 1.0.1.

Sun Jun 10 22:00:23 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Drop automake requirement to 1.8.3 to allow RPM spec
	  file to work on SLES 9.

Sun Jun 10 21:49:45 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Bump version to 1.0.1.

Sun Jun 10 02:16:54 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Updated.

Sat Jun 09 15:20:25 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,diritor.cc,diritor.h,omindex.cc: Under Linux (at least)
	  struct dirent can tell us the type of a directory entry for some
	  filing systems, so make use of this to avoid calling stat() (or
	  lstat()) unnecessarily - when indexing /usr/share/doc on my Linux
	  box, this saves about 14000 explicit calls to stat (leaving about
	  7000).

Thu Jun 07 01:40:43 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Wed Jun 06 15:45:33 BST 2007  Olly Betts <olly@survex.com>

	* docs/scriptindex.txt: Document that you can delete a document by
	  giving a new document which only contains the unique term.

Mon Jun 04 16:40:18 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* Makefile.am: Only add manpages to dist_man_MANS if we're not in
	  maintainer mode with documentation generation turned off.

Thu May 31 20:02:16 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu May 31 19:16:37 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Relax automake requirement to 1.9.2 to allow RPM
	  building on RHEL 4.

Wed May 30 14:42:40 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update for changes since 1.0.0.  Removed unused subheading
	  in 1.0.0 changes.

Wed May 30 10:24:57 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Fix handling of query parsing errors (broken by changes in
	  1.0.0).

Tue May 29 01:19:21 BST 2007  Olly Betts <olly@survex.com>

	* docs/overview.txt: We no longer use pstotext for PostScript, but
	  instead use ps2pdf followed by pdftotext, so update the docs to
	  reflect this.

Fri May 18 03:36:28 BST 2007  Olly Betts <olly@survex.com>

	* htmlparsetest.cc,myhtmlparse.cc: Fix bug in HTML parser - if the
	  text between tags consisted entirely of whitespace it would just be
	  ignored which could run words together.  Add regression test, plus
	  another test for other whitespace handling.

Thu May 17 22:27:47 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Final update before release.

Thu May 17 20:48:25 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update.

Thu May 17 20:46:43 BST 2007  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: Update to include 'Z' prefix and mention
	  that 'R' and 'W' aren't used by Xapian now.

Thu May 17 19:11:04 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Bump version to 1.0.0.

Thu May 17 18:11:19 BST 2007  Olly Betts <olly@survex.com>

	* common/: Update to latest xapian-core revision to pull in 2 argument
	  mkdir() wrapper for Mingw.

Thu May 17 03:29:44 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Add support for --disable-documentation
	  like xapian-core now has.
	* configure.ac: Only enable -Werror on --enable-maintainer-mode for
	  GCC 4 or newer, in line with change in xapian-core.

Thu May 17 03:22:10 BST 2007  Olly Betts <olly@survex.com>

	* NEWS: Update for 1.0.0.

Wed May 16 03:09:44 BST 2007  Olly Betts <olly@survex.com>

	* TODO: Update.

Tue May 15 18:50:47 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Add AC_TYPE_PID_T.

Tue May 15 04:22:40 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Remove FIXME comment which has already been addressed.

Mon May 14 04:38:49 BST 2007  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Update docs for $prettyterm{TERM}.

Mon May 14 04:31:01 BST 2007  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,query.cc,query.h: Rejig how $topterms and other
	  cases handle terms to fit with the new term generation scheme.
	  Add 'you' and 'your' as stopwords.

Thu May 10 04:48:43 BST 2007  Olly Betts <olly@survex.com>

	* ./: Update svn:externals to pull in r8538 of xapian-core's common
	  subdirectory.
	* Makefile.am: Add common/safe.cc to scriptindex_SOURCES.

Thu May 10 01:09:14 BST 2007  Olly Betts <olly@survex.com>

	* templates/,Makefile.am: The 'query' template no longer uses
	  $topterms by default - to get them, use the new 'topterms' template.
	  Also the template fragments which aren't intended for direct use
	  have been move to templates/inc/.
	* docs/overview.txt: Document what each of the OmegaScript templates
	  does.
	* docs/quickstart.txt: Assorted minor improvements.
	* xapian-omega.spec.in: Update to install templates/inc too.

Wed May 09 23:43:57 BST 2007  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Instead of appending a dot to
	  indicate a stemmed term, wrap the term in double quotes.

Sun May 06 21:41:21 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Removed commented out code for generating
	  "W" prefix terms for date searching.  We've never made use of them
	  in Omega, and we'll be moving to using DateMatchDecider by default
	  eventually anyway.

Sun May 06 16:00:47 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Set version to mythical 0.9.99.

Sun May 06 15:52:08 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,omega.spec.in,xapian-omega.spec.in:
	  Update RPM spec file to reflect tarball name change from omega
	  to xapian.omega (patch from Fabrice Colin).  Also rename omega.spec
	  to xapian-omega.spec (rpmbuild looks for any .spec file, but it's
	  more consistent to keep the names in step).

Fri May 04 19:52:44 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Use new TermGenerator convenience methods
	  which take std::string instead of Utf8Iterator.

Fri May 04 13:32:11 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,makemanpage.in: Use makemanpage to generate
	  manpages.

Fri May 04 13:30:36 BST 2007  Olly Betts <olly@survex.com>

	* commonhelp.cc: Add missing full stop in description of --stemmer.

Fri May 04 04:10:23 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Explicitly include stdlib.h since we use atoi().

Thu May 03 15:16:31 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,indextext.cc,indextext.h,omindex.cc,scriptindex.cc:
	  Update to use new TermGenerator class.

Thu May 03 04:03:35 BST 2007  Olly Betts <olly@survex.com>

	* ./: Update svn:externals to pull rev8430 of xapian-core's common
	  subdirectory.
	* scriptindex.cc: Remove sleep() wrapper.

Wed May 02 03:26:38 BST 2007  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Removed $freqs as it has been
	  deprecated for ages.

Wed May 02 03:19:18 BST 2007  Olly Betts <olly@survex.com>

	* docs/scriptindex.txt: Explicitly note that index=nopos is deprecated
	  (scriptindex already emits a warning).

Wed May 02 03:17:03 BST 2007  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt: FMT isn't limited to just `a-z' - the
	  actual restriction is that it may not contain `..'.

Wed May 02 03:02:53 BST 2007  Olly Betts <olly@survex.com>

	* scriptindex.cc: Remove -q and -u options - they no longer do
	  anything and are only accepted for compatibility with really old
	  versions (0.6.1 and earlier and 0.7.5 and earlier respectively).

Wed Apr 25 21:47:48 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am: omega doesn't need indextext.cc.

Wed Apr 25 21:46:25 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Remove unused `#include "indextext.h"'.

Wed Apr 25 02:37:15 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Add support like xapian-core has for
	  `configure --enable-quiet', `make QUIET=' and `make QUIET=y'.

Mon Apr 23 15:42:24 BST 2007  Olly Betts <olly@survex.com>

	* date.cc,datematchdecider.cc,utils.cc: Fix compilation with GCC 4.3
	  snapshot.

Mon Apr 23 15:38:00 BST 2007  Olly Betts <olly@survex.com>

	* portability/mkdtemp.cc: config.h should always be included first and
	  with angle brackets.  Use safeerrno.h not errno.h.  No special
	  headers are required here for __CYGWIN__, and safesysstat.h provides
	  a two argument wrapper for mkdir, so we don't need any
	  __WIN32__-specific magic either.

Mon Apr 23 12:14:01 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* portability/mkdtemp.cc: Patch from Charlie Hull to fix windows
	  compilation.
	* scriptindex.cc: #include <time.h> in scriptindex.cc for
	  localtime().

Sat Apr 21 23:31:02 BST 2007  Olly Betts <olly@survex.com>

	* strcasecmp.h: New header containing magic to provide strcasecmp()
	  and strncasecmp().
	* query.cc,utf8convert.cc: Use strcasecmp.h.
	* Makefile.am,cdb_init.cc,cdb_int.h,configfile.cc,getopt.cc,
	  loadfile.cc,md5wrap.cc,omega.cc,omindex-config.cc,omindex.cc,
	  query.cc,scriptindex.cc,utf8convert.cc: Add xapian-core's common/
	  subdirectory as an svn:external so we can (a) share copies of
	  gnu_getopt.h and getopt.cc and (b) make use of the "safeunistd.h"
	  and friends.

Sat Apr 21 23:06:49 BST 2007  Olly Betts <olly@survex.com>

	* metaxmlparse.cc,metaxmlparse.h: Fix summary comments at the top of
	  these two files.

Sat Apr 21 20:42:03 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: xapian.h no longer pulls in time.h, which exposes that
	  we weren't explicitly including it here!

Sat Apr 21 20:27:43 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: We require automake 1.9.5 for xapian-core, so require
	  it here too for consistency.  Turn on automake -Wportability option.

Sat Apr 21 20:24:17 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Probe for ssize_t and mode_t and define replacements
	  if we don't find them.

Fri Apr 20 14:38:57 BST 2007  Olly Betts <olly@survex.com>

	* datematchdecider.h,omega.h,datematchdecider.cc: Update return
	  types of MatchDecider and ExpandDecider subclasses.

Wed Apr 18 23:44:36 BST 2007  Olly Betts <olly@survex.com>

	* utf8convert.cc: Fix to compile when USE_ICONV isn't defined (to_utf8
	  is now in the Xapian::Unicode namespace).

Wed Apr 18 23:15:26 BST 2007  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,query.cc: Remove "bias_weight" and
	  "bias_halflife" CGI parameters since they rely on
	  Enquire::set_bias() which has been removed.

Tue Apr 17 21:45:40 BST 2007  Richard Boulton <richard@lemurconsulting.com>

	* Makefile.am: Link htmlparsetest with Xapian library to get access
	  to noascii_to_utf8.

Tue Apr 17 02:22:42 BST 2007  Olly Betts <olly@survex.com>

	* htmlparse.cc: nonascii_to_utf8 is now in the public API.

Tue Apr 17 00:55:17 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,htmlparse.cc,indextext.cc,indextext.h,query.cc,sample.cc,
	  scriptindex.cc,tclUniData.cc,tclUniData.h,utf8convert.cc,utf8itor.cc,
	  utf8itor.h,utf8test.cc: Use the new Unicode API routines in the core
	  Xapian library instead of local copies.

Thu Apr 12 17:04:07 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am: omega and scriptindex both need tclUniData.cc.

Sat Mar 31 19:58:29 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: $filesize{0} is now "0 bytes", $filesize{1} is now "1
	  byte", $filesize{SIZE} where SIZE is negative is now "".  Fix
	  "comparison of signed and unsigned" warning.  Use "%c" to generate
	  the fractional part.
	* docs/omegascript.txt: Document that $filesize{SIZE} is "" when SIZE
	  is negative.

Sat Mar 31 18:25:55 BST 2007  Olly Betts <olly@survex.com>

	* query.cc: Ensure that the result of snprintf is zero terminated
	  since MSVC's snprintf is broken (by design it seems).
	* query.cc,docs/omegascript.txt: $filesize enhanced to return a
	  decimal point for K, M, and G (e.g. "2.1K" and "4.0M" rather than
	  "2K" and "4M").

Fri Mar 30 19:57:00 BST 2007  Olly Betts <olly@survex.com>

	* portability/mkdtemp.cc: Fixes for mingw.

Fri Mar 30 02:22:59 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,scriptindex.cc,utf8truncate.cc,utf8truncate.h: The
	  "truncate" action now knows not to chop off a multibyte utf-8
	  character.

Fri Mar 30 02:19:05 BST 2007  Olly Betts <olly@survex.com>

	* Makefile.am,omindex.cc,sample.cc,sample.h: New sample generating
	  function which normalises all runs of whitespace to a single space,
	  and fixes invalid utf-8 in the sample.  This means we can now index
	  an iso-8859-1 text file and mostly get the same results as if it
	  were utf-8!

Thu Mar 29 23:12:20 BST 2007  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix optimisation of "load truncate=N" to actually
	  work!

Thu Mar 29 18:54:11 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Probe for mkdtemp.
	* Makefile.am: Add portability/mkdtemp.cc to omindex_SOURCES if
	  configure didn't detect it.
	* omindex.cc: Prototype mkdtemp if configure didn't detect it.

Thu Mar 29 18:47:50 BST 2007  Olly Betts <olly@survex.com>

	* portability/mkdtemp.cc: Fix to compile as C++.  Replace isdigit()
	  with a simple range test to avoid locale related quirks.

Thu Mar 29 18:28:25 BST 2007  Olly Betts <olly@survex.com>

	* portability/mkdtemp.cc: Add portable implementation of mkdtemp for
	  use on platforms which don't supply it.

Thu Mar 29 17:22:18 BST 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Index PostScript by converting to PDF with ps2pdf and
	  then indexing that.  This allows us to index PostScript files
	  containing Unicode characters outside of iso-8859-1, and also
	  means we now get metadata from PostScript files.

Thu Mar 29 03:14:55 BST 2007  Olly Betts <olly@survex.com>

	* omega.spec.in: Update to handle documentation being installed in
	  $prefix/share/doc/xapian-omega.

Tue Mar 27 21:42:19 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: datarootdir is new in 2.60 too, so use datadir when
	  setting docdir for 2.59.

Mon Mar 26 15:47:53 BST 2007  Olly Betts <olly@survex.com>

	* configure.ac: Add code to ensure that docdir is set for autoconf
	  2.59 (starting from 2.60, it is defined as standard).
	* Makefile.am: Use docdir for installing docs.  This means that the
	  documentation now goes in $prefix/share/doc/xapian-omega rather
	  than $prefix/share/doc/omega, which is better really.

Sat Mar 24 17:21:32 GMT 2007  Olly Betts <olly@survex.com>

	* query.cc: Prefer static char[] to static char * (gives better
	  generated code).

Sat Mar 24 17:19:18 GMT 2007  Olly Betts <olly@survex.com>

	* omega.cc: Prefer static char[] to static char * (gives better
	  generated code).

Sat Mar 24 17:16:49 GMT 2007  Olly Betts <olly@survex.com>

	* configfile.cc: Prefer static char[] to static char * (gives better
	  generated code).

Thu Mar 22 01:11:52 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Eliminate libtool probe code for f77, gcj, and rc
	  which speeds up configure and knocks 29% off its size.

Tue Mar 06 01:56:00 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Bump version number to 0.9.10 so that snapshots don't
	  look older than releases.

Sun Mar 04 14:42:18 GMT 2007  Olly Betts <olly@survex.com>

	* TODO: Remove entries which have already been done!

Sat Mar 03 02:24:42 GMT 2007  Olly Betts <olly@survex.com>

	* utf8test.cc: Add single utf-8 sequence decoding tests.

Fri Mar 02 00:18:09 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Perform a link test for posix_fadvise to fix
	  misdetection on HP-UX.

Thu Mar 01 21:48:57 GMT 2007  Olly Betts <olly@survex.com>

	* utf8itor.h: Add cast to suppress warning from aCC.

Thu Mar 01 21:00:56 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Check we can link with libiconv, not just compile.
	  Some of the HP-UX hosts in the HP testdrive seem to have headers
	  but no matching library.

Thu Mar 01 18:02:37 GMT 2007  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Remove unused function.  Move "#include <string.h>"
	  before any code.

Thu Feb 22 15:45:25 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: xapian-config --cxxflags now includes -ptused for
	  SGI's C++ compiler, so we don't need to probe for it here.

Wed Feb 21 15:17:07 GMT 2007  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: Expand section on boolean prefixes, showing
	  how to generate them using scriptindex, and how to allow them to be
	  selected in an HTML form.

Mon Feb 19 12:51:24 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: Previous fix doesn't work.  Just drop -O2 instead -
	  users of SGI's CC can specify "./configure CXXFLAGS=-O2" is they
	  want optimisation.

Sun Feb 18 21:44:09 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: For SGI's CC, -g overrides -g3 if it comes afterwards,
	  so we need to modify CXXFLAGS rather than just setting AM_CXXFLAGS.

Sat Feb 17 19:25:04 GMT 2007  Olly Betts <olly@survex.com>

	* docs/overview.txt,omindex.cc: Add support for indexing MS Works
	  documents using wps2text (part of libwps).

Sat Feb 17 19:06:03 GMT 2007  Olly Betts <olly@survex.com>

	* omindex.cc: Don't index empty files.

Fri Feb 16 21:14:35 GMT 2007  Olly Betts <olly@survex.com>

	* NEWS: Add note that Omega < 0.8.0 NEWS entries are in the
	  xapian-core NEWS file.

Fri Feb 16 20:34:10 GMT 2007  Olly Betts <olly@survex.com>

	* indextext.cc: Now I've fixed the bug in UTF-8 decoding, the check
	  for zero length terms is no longer required.

Fri Feb 16 19:34:48 GMT 2007  Olly Betts <olly@survex.com>

	* tclUniData.h,utf8itor.h: The tcl unicode routines only have tables
	  for characters in the BMP.  For other characters, assume they're
	  word characters, but can't be forced to lowercase.

Fri Feb 16 19:19:11 GMT 2007  Olly Betts <olly@survex.com>

	* utf8itor.cc: Fix bug in decoding of 4 byte utf-8 sequences
	  - the returned value was 0x400000 too large!  Fixes bug#106.

Thu Feb 15 19:42:36 GMT 2007  Olly Betts <olly@survex.com>

	* indextext.cc,query.cc: Keep embedded apostrophe's in terms rather
	  than relying on generating a phrase search for them.

Thu Feb 15 05:38:12 GMT 2007  Olly Betts <olly@survex.com>

	* Makefile.am,datematchdecider.cc,datematchdecider.h,
	  docs/cgiparams.txt,query.cc: Add an alternative implementation
	  of date range filtering which uses a MatchDecider.  This allows
	  everything that the existing implementation does, plus you can
	  support sorting on a choice of dates (e.g. first published or
	  last updated), and filtering works to a resolution of a minute
	  rather than a day.  Since omindex now adds the last modified
	  date as value 0, this will work with omindex.

Thu Feb 15 04:38:32 GMT 2007  Olly Betts <olly@survex.com>

	* configure.ac: SGI's CC needs -g3 instead of -g if we want to use
	  any -O option.

Sat Feb 10 20:53:14 GMT 2007  Olly Betts <olly@survex.com>

	* md5.cc: Fix reversed preprocessor conditional so that we generate
	  correct MD5 checksums on big endian platforms.

Sat Feb 10 20:19:23 GMT 2007  Olly Betts <olly@survex.com>

	* md5.cc: No need to byte swap when we've just zero filled!

Sat Feb 10 18:54:33 GMT 2007  Olly Betts <olly@survex.com>

	* indextext.cc,query.cc: Prefer Xapian::Stem::operator() to
	  Xapian::Stem::stem_word().

Fri Feb 09 05:53:29 GMT 2007  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Rewrite introductory paragraph.  Note that
	  whitespace is significant, and add explicit warning to $setmap.

Mon Jan  1 01:56:56 GMT 2007  Richard Boulton <richard@lemurconsulting.com>

	* indextext.cc: Fix parsing of text containing certain unicode
	  characters.  Such text could have resulted in zero length terms
	  being added to documents.  (The minimal example I found causing
	  this problem was a document containing only the unicode character
	  0x28a0f, which is a CJK Unified Ideograph).

	  Addresses bug #106, though may not be a complete fix - see the
	  bug for details.

Sun Dec 31 17:22:56 GMT 2006  Richard Boulton <richard@lemurconsulting.com>

	* scriptindex.cc: Update short option list for scriptindex to match
	  documented usage (-h, -V and -s were not working).

Thu Dec 21 14:57:28 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Remove support for xB, xDATE1, xDATE2, xDAYSMINUS,
	  and xDEFAULTOP which were deprecated in favour of xFILTER in
	  0.7.5 (over 3 years ago).

Thu Dec 21 14:52:38 GMT 2006  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt: Remove documentation of the removed deprecated
	  aliases.

Thu Dec 21 14:39:04 GMT 2006  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Remove deprecated aliases for CGI parameters
	  (deprecated in 0.6.3 or 0.6.5, more than 3.5 years ago):
	  RAW_SEARCH (now RAWSEARCH), DATE1 (now START), DATE2 (now END),
	  DAYSMINUS (now SPAN but with slightly different semantics),
	  and MIN_HITS (now MINHITS).

Thu Dec 21 01:04:00 GMT 2006  Olly Betts <olly@survex.com>

	* utf8convert.cc: Fix headers included for iconv and not-iconv.

Wed Dec 20 23:53:41 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac,utf8convert.cc: If iconv isn't found by configure, fall
	  back on simple conversion routines which handle iso-8859-1.
	  Configuring --without-iconv forces these routines to be used.
	  Configuring --with-iconv forces configure to fail if it can't find
	  iconv.

Tue Dec 19 20:35:04 GMT 2006  Olly Betts <olly@survex.com>

	* utf8itor.h: Need <string.h> for strlen.

Tue Dec 19 19:53:52 GMT 2006  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Add "-liconv" if it's needed.  If we're on
	  OS X, also check for libiconv installed with fink.

Fri Dec 15 05:43:40 GMT 2006  Olly Betts <olly@survex.com>

	* values.h: Add include guard.

Sun Dec 10 04:33:26 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Fix $substr{} with negative start to actually work.  Fix
	  $substr{} to never cause a C++ exception.
	* docs/omegascript.txt,query.cc: Enhance $substr{} to accept a
	  negative length (meaning to count back from the end of the string).

Sun Dec 10 03:05:09 GMT 2006  Olly Betts <olly@survex.com>

	* commonhelp.cc: "--help" now says that the default stemming language
	  is "english"

Thu Nov 16 23:06:25 GMT 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc,utils.cc,utils.h: Add $weight command
	  to OmegaScript which returns the raw document weight - mostly useful
	  for debugging purposes.

Thu Nov 16 04:02:10 GMT 2006  Olly Betts <olly@survex.com>

	* omega.spec.in: Remove "." from the end of the Summary.

Thu Nov 16 03:03:25 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: As of xapian-core 0.8.0, XO_LIB_XAPIAN doesn't need to
	  be called with arguments if you want a hard requirement on xapian,
	  so remove the arguments.

Thu Nov 16 02:07:31 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: Change the project name to "xapian-omega" since that's
	  what the RPMs and Debian packages call it (there's a Rogue-like game
	  called Omega).

Thu Nov 16 02:01:55 GMT 2006  Olly Betts <olly@survex.com>

	* omega.cc: Fix backwards setting of sort_after.  Fix generation of
	  sort setup flags for filters.

Thu Nov 16 01:21:32 GMT 2006  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,omega.cc,omega.h,query.cc: Implement new CGI
	  parameters for finer control of sorting and ranking - SORTAFTER
	  and DOCIDORDER.
	* omega.cc: Set up the filters variable so we know to revert to
	  page 1 if the sorting options are changed.

Tue Nov 14 15:27:09 GMT 2006  Olly Betts <olly@survex.com>

	* md5test.cc: Need <stdio.h> for sprintf.

Tue Nov 14 03:19:13 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: Note a couple of platforms which take the different
	  iconv input types.

Tue Nov 14 03:16:37 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac,utf8convert.cc: The input pointer to iconv can be
	  either "char **" or "const char **" so probe at configure time.

Mon Nov 13 20:22:50 GMT 2006  Olly Betts <olly@survex.com>

	* utf8convert.cc: Need <algorithm> for swap().

Mon Nov 13 02:27:51 GMT 2006  Olly Betts <olly@survex.com>

	* Makefile.am,md5test.cc: Add tests for md5 code.

Mon Nov 13 02:06:51 GMT 2006  Olly Betts <olly@survex.com>

	* Merge in utf8 branch:

	Fri Sep 15 06:03:50 BST 2006  Olly Betts <olly@survex.com>

		* utf8convert.cc: Compilation fix for Sun C++.

	Thu Sep 14 23:55:20 BST 2006  Olly Betts <olly@survex.com>

		* Makefile.am,htmlparse.cc,htmlparse.h,indextext.cc,
		  indextext.h,makesymboltabh.pl,myhtmlparse.cc,myhtmlparse.h,
		  namedentities.h,omindex.cc,query.cc,scriptindex.cc,
		  symboltab.h,tclUniData.cc,tclUniData.h,utf8convert.cc,
		  utf8convert.h,utf8itor.cc,utf8itor.h, utf8test.cc: Convert
		  to work in UTF-8.

Thu Nov 09 00:20:19 GMT 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 0.9.9.

Wed Nov 08 22:45:10 GMT 2006  Olly Betts <olly@survex.com>

	* omega.spec.in: Run "autoreconf --force" to avoid rpath on x86_64
	  FC6.

Sun Nov 05 17:08:48 GMT 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: The "date" action was modifying the value it
	  operated on, which it isn't meant to do - fixed.

Sun Nov 05 02:25:48 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Report an error if $setmap is called with an even number
	  of parameters.

Thu Nov 02 16:08:27 GMT 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 0.9.8.

Thu Nov 02 15:43:31 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: Update comment about "-ptused".

Wed Nov 01 16:23:13 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc: Fix warning in mingw build.

Wed Nov 01 13:43:54 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc,query.cc: Fix warnings.

Wed Nov 01 04:00:20 GMT 2006  Olly Betts <olly@survex.com>

	* md5.cc,md5.h: Fix warnings about changing alignment requirements
	  when casting pointers.

Tue Oct 31 02:47:23 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc,configure.ac,getopt.cc,omega.cc,query.cc,scriptindex.cc:
	  Enable more warnings for GCC (and fix them in the code).  Enable
	  appropriate warnings for Intel's C++ compiler.

Tue Oct 31 00:02:19 GMT 2006  Olly Betts <olly@survex.com>

	* htmlparsetest.cc,omindex.cc: Fix GCC warnings.

Mon Oct 30 23:57:09 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: $substr where the start is negative and longer than the
	  string (e.g. $substr{abcd,-5,1}) should now work as intended.

Mon Oct 30 21:02:18 GMT 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix GCC warnings uncovered by actually substituting
	  AM_CXXFLAGS.

Mon Oct 30 21:01:26 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: Actually substitute AM_CXXFLAGS in the Makefile.
	* configure.ac: Fix AM_CXXFLAGS for IRIX.

Sat Oct 28 12:31:31 BST 2006  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Add missing "#include <ctype.h>".

Sat Oct 28 02:23:09 BST 2006  Olly Betts <olly@survex.com>

	* htmlparse.cc,indextext.cc,indextext.h,myhtmlparse.cc,omega.cc,
	  omega.h,omindex.cc,query.cc,scriptindex.cc: Ensure that we always
	  pass an unsigned char value to isupper(), toupper(), etc as they
	  are undefined on other values (glibc makes them work for signed
	  char values too, but this is an extension).

Fri Oct 27 00:36:34 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac,md5.h,values.h: HAVE_STDINT_H is already defined
	  by autoconf based on trying the C compiler with AC_CHECK_HEADERS
	  so define HAVE_WORKING_STDINT_H instead.

Wed Oct 25 01:36:43 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Need a more sophisticated test for the stdint.h
	  problem on IRIX.

Tue Oct 24 02:12:13 BST 2006  Olly Betts <olly@survex.com>

	* metaxmlparse.cc,omega.h: Fix warnings from SGI's C++ compiler.

Tue Oct 24 02:11:11 BST 2006  Olly Betts <olly@survex.com>

	* htmlparse.cc,query.cc,scriptindex.cc: Remove unused static
	  functions.

Tue Oct 24 01:51:05 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Pass magic options to SGI's C++ compiler to allow
	  linking of templates to work.

Tue Oct 24 00:46:06 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: IRIX doesn't allow stdint.h to be included from C++
	  code, so we need a smarter configure test than AC_CHECK_HEADERS.

Sun Oct 22 03:30:11 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Tell AC_CHECK_HEADERS to suppress its backward
	  compatibility mode, so it only checks headers with the compiler.
	  This speeds up configure a little, and is what we do elsewhere.

Tue Oct 10 17:21:13 BST 2006  Olly Betts <olly@survex.com>

	* NEWS: Update for actual 0.9.7 release.

Mon Oct 09 18:26:14 BST 2006  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: "$setmap{title,S}" should be
	  "$setmap{prefix,title,S}".

Sun Oct 08 21:43:16 BST 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Update for 0.9.7.

Fri Sep 15 16:56:49 BST 2006  Olly Betts <olly@survex.com>

	* cgiparam.cc: Compilation fix for Sun C++.

Fri Sep 15 06:00:50 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac,query.cc: Compilation fix for Sun C++.

Thu Sep 14 15:41:33 BST 2006  Olly Betts <olly@survex.com>

	* htmlparse.cc: Include <stdlib.h> so atoi() is prototyped.

Wed Sep 13 16:37:32 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac,md5.h,values.h: Use stdint.h if we have it.

Tue Sep 12 11:57:16 BST 2006  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: Need "#include <string.h>" for strchr.

Mon Sep 11 20:24:27 BST 2006  Olly Betts <olly@survex.com>

	* values.h: Only want our own ntohl for MS Windows.

Mon Sep 11 16:36:54 BST 2006  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Now xapian-config will switch Sun's C++ compiler
	  into ANSI C++ compliant mode, so clean out all our special cased
	  bits of code.

Mon Sep 11 14:23:44 BST 2006  Olly Betts <olly@survex.com>

	* md5.h,values.h: Apply previous fix for DJGPP too.

Sun Sep 10 19:04:17 BST 2006  Olly Betts <olly@survex.com>

	* md5.h,values.h: Using htonl from winsock.h requires use to link
	  with the winsock DLL, which is overkill so just add a simple
	  implementation for htonl - we know MS Windows is little-endian.

Sat Sep 09 21:48:22 BST 2006  Olly Betts <olly@survex.com>

	* md5.h,values.h: Sigh, winsock.h uses u_long instead of uint32_t
	  in the htonl prototype.

Sat Sep 09 19:19:15 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Fix typo in previous commit.

Sat Sep 09 17:11:40 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac,omindex.cc: Mingw doesn't have sys/wait.h or
	  WEXITSTATUS.

Sat Sep 09 16:44:29 BST 2006  Olly Betts <olly@survex.com>

	* md5.h,values.h: On MS Windows, we need to #include <winsock.h>.

Fri Sep 08 08:01:15 BST 2006  Olly Betts <olly@survex.com>

	* query.cc: Sun C++'s std::count() isn't very "std" -- it has the
	  wrong prototype!

Fri Sep 08 03:39:14 BST 2006  Olly Betts <olly@survex.com>

	* md5.h,values.h: openbsd needs arpa/inet.h to be included before
	  netinet/in.h.

Wed Sep 06 21:31:33 BST 2006  Olly Betts <olly@survex.com>

	* md5wrap.cc: #include <unistd.h>

Wed Sep 06 18:03:23 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am: Ship values.h.

Wed Sep 06 03:52:27 BST 2006  Olly Betts <olly@survex.com>

	* configfile.cc: Changed my mind - don't allow comments on the end of
	  lines.
	* docs/overview.txt: Document that omega.conf can have comments and
	  blank lines in.

Wed Sep 06 03:46:16 BST 2006  Olly Betts <olly@survex.com>

	* configfile.cc,omega.conf: Fix code which reads omega.conf to be line
	  based as documented rather than the wacky whitespace based scheme
	  that was actually implemented.  Allow "#" comments and blank lines
	  in omega.conf.

Wed Sep 06 01:26:17 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: If popen() fails, treat it as a read error.

Wed Sep 06 00:49:47 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Fix escaping of filenames to cast characters to
	  "unsigned char" so that isalnum() works correctly everywhere.
	  Not a security hole as dangerous characters were still being
	  escaped.

Tue Sep 05 06:49:30 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am: Run htmlparsetest on "make check".

Tue Sep 05 06:46:18 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,htmlparse.cc,htmlparse.h,metaxmlparse.cc,metaxmlparse.h,
	  myhtmlparse.h,omindex.cc,xmlparse.cc,xmlparse.h: Parse the XML from
	  OpenDocument and OpenOffice using new subclasses of HtmlParser.
	  Only extract meta.xml once.

Tue Sep 05 06:45:02 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,htmlparsetest.cc: Add htmlparsetest which tests the
	  MyHtmlParser class.

Tue Sep 05 04:36:46 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Note UTF-8 runes for pdfinfo and pdftotext.

Tue Sep 05 04:29:21 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Only run pdfinfo once and pull out the
	  fields we want using string operations, instead of
	  running it twice filtered through sed.

Tue Sep 05 03:53:00 BST 2006  Olly Betts <olly@survex.com>

	* htmlparse.cc,htmlparse.h: Don't get confused by "a<b" in
	  Javascript in a <script> tag.  Fixes bug#91.

Sat Sep 02 04:29:12 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Call pclose() not fclose() on a FILE* obtained from
	  popen().  If a filter program isn't installed, then don't try it
	  again for the same extension (not perfect but an improvement -
	  previously we indexed an empty document!)

Sat Sep 02 02:07:30 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,docs/omegascript.txt,md5.cc,md5.h,
	  md5wrap.cc,md5wrap.h,omindex.cc,query.cc,values.h: Generate
	  an MD5 checksum of each file indexed and store it in value #1
	  to allow duplicates to be collapsed.  Add $pack and $unpack
	  OmegaScript commands to allow big endian binary values to
	  be encoded and decoded.  Add the file last modified time
	  as value #0.

Fri Sep 01 04:37:09 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Tweak comment and whitespace.

Fri Sep 01 04:19:39 BST 2006  Olly Betts <olly@survex.com>

	* README: Update reference to "CVS" to say "SVN".

Thu Aug 31 20:22:33 BST 2006  Olly Betts <olly@survex.com>

	* loadfile.cc: #include <algorithm> for std::min().

Thu Aug 31 02:35:36 BST 2006  Olly Betts <olly@survex.com>

	* loadfile.cc: More missing #include-s.

Thu Aug 31 01:53:31 BST 2006  Olly Betts <olly@survex.com>

	* loadfile.cc: Add #include <unistd.h>.

Wed Aug 30 23:21:49 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am: Include loadfile.h in the tarball.

Mon Aug 28 18:09:28 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Don't generate 'W' terms since omega doesn't use them.

Mon Aug 28 03:06:46 BST 2006  Olly Betts <olly@survex.com>

	* query.cc,templates/query: Use '\t' to separate terms in xP since
	  filter terms might contain '.'.  Fixes bug#87.

Sun Aug 27 01:36:40 BST 2006  Olly Betts <olly@survex.com>

	* indextext.cc: Don't generate terms with more than 3 trailing
	  symbols ('-', '+', or '#').

Sun Aug 27 01:11:45 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc: Added "size" field to document data; don't add "modtime"
	  field if the timestamp is (time_t)-1.

Sun Aug 27 00:36:12 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc,templates/query,utils.cc,utils.h: Store the file's last
	  modified time in the document data as "modtime" so it shows up in
	  search results (and tweak the query template so the display of this
	  information looks nicer).

Fri Aug 25 22:55:23 BST 2006  Olly Betts <olly@survex.com>

	* docs/overview.txt,omindex.cc: Run xls2csv on MS Excel files; run
	  catppt on MS Powerpoint files; also index MS Word templates (.dot).

Thu Aug 24 21:40:10 BST 2006  Olly Betts <olly@survex.com>

	* htmlparse.cc: Support htdig's "ignore this bit" comments.

Thu Aug 24 12:55:26 BST 2006  Olly Betts <olly@survex.com>

	* query.cc: Fix $highlight{} to work with capitalised words (it used
	  to work but regressed in 0.8.2).

Thu Aug 24 12:38:50 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,omindex.cc,query.cc: Use the new routines in loadfile.cc
	  to replace code to do the same thing in omindex and omega.

Thu Aug 24 12:37:16 BST 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix handling of check whether a record has content
	  in the case where the same field is processed more than once.

Thu Aug 24 12:35:32 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,docs/scriptindex.txt,loadfile.cc,loadfile.h,
	  scriptindex.cc: Add new "load" action to allow the contents of an
	  external file to be loaded.

Thu Aug 24 12:05:23 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Check for strftime.

Sun Jul 09 01:40:09 BST 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Note that (by design) an omegascript template
	  can't contain an infinite loop.

Sun May 21 11:42:54 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am: Make use of the dist_ prefix to avoid having to list
	  files in EXTRA_DIST as well as in *_SCRIPTS, *_DATA, and man_MANS.
	* Makefile.am: Prefer $(sysconfdir) to @sysconfdir@ since the former
	  can be overridden on the "make" command line.

Sat May 20 06:16:27 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Specify required automake version in
	  the call to AM_INIT_AUTOMAKE in configure.ac.

Thu May 18 14:12:13 BST 2006  Olly Betts <olly@survex.com>

	* docs/overview.txt,docs/quickstart.txt: Use the default path to the
	  database directories in examples.  Tweak the formatting in a few
	  places.  Give a path to the omega CGI binary in the example showing
	  how to run it from the command line.

Wed May 17 15:28:01 BST 2006  Olly Betts <olly@survex.com>

	* omega.spec.in: Fix so that the documentation gets packaged.

Tue May 16 06:56:26 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Remove unused variable from snprintf testing code.

Mon May 15 02:18:01 BST 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Updated for 0.9.6.

Sat May 13 20:43:08 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac: Update snprintf detection to match xapian-core.

Fri May 12 20:12:40 BST 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Clarified description of $now.

Thu Apr 27 23:45:26 BST 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Added new OmegaScript commands
	  $filterterms and $substr.

Thu Apr 27 18:37:50 BST 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Use const reference instead of just a reference.

Sun Apr 23 18:32:20 BST 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix "index" and "indexnopos" without a prefix to
	  set the weight correctly (bug introduced in 0.9.5).

Wed Apr 19 13:37:15 BST 2006  Fabrice Colin

	* omega.spec.in: Create and package /var/lib/omega/cdb and
	  /var/log/omega.

Tue Apr 11 19:29:34 BST 2006  Olly Betts <olly@survex.com>

	* configure.ac,htmlparse.cc,query.cc,scriptindex.cc: Disable MSVC
	  warning 4800 (on int to bool conversions) in config.h and then we
	  can remove the "fixes" elsewhere.

Mon Apr 10 16:26:08 BST 2006  Olly Betts <olly@survex.com>

	* date.cc,hashterm.cc,htmlparse.cc,omega.cc,omindex.cc,query.cc,
	  scriptindex.cc: Fix MSVC7 warnings.

Sat Apr 08 20:04:33 BST 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Updated for 0.9.5.

Fri Apr 07 16:45:36 BST 2006  Olly Betts <olly@survex.com>

	* omindex.cc,query.cc: Tweak for MSVC compilation.

Fri Apr 07 03:23:22 BST 2006  Olly Betts <olly@survex.com>

	* omega.spec.in: Man pages may be gzipped.

Thu Apr 06 14:28:08 BST 2006  Olly Betts <olly@survex.com>

	* README: Add pointer to documentation.

Thu Apr 06 03:32:21 BST 2006  Olly Betts <olly@survex.com>

	* omega.spec.in: Include man pages in RPM.

Thu Apr 06 03:06:56 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,commonhelp.cc,commonhelp.h,configure.ac,omindex.cc,
	  scriptindex.cc: Add man pages for omindex and scriptindex.

Thu Apr 06 02:56:09 BST 2006  Olly Betts <olly@survex.com>

	* mbox2omega.script: Use new "hash" command.

Wed Apr 05 19:29:14 BST 2006  Olly Betts <olly@survex.com>

	* Makefile.am,docs/scriptindex.txt,hashterm.cc,hashterm.h,
	  omindex.cc,scriptindex.cc: Add new "hash" command to allow hashed
	  terms to be generated from long URLs like omindex does.
	* htdig2omega.script: Use new "hash" command.
	* scriptindex.cc: Fix "useless weight" warning to not incorrectly
	  fire when "index" or "indexnopos" has no parameter.

Wed Apr 05 15:03:28 BST 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Check if we successfully opened the index script
	  and give an error if not.

Fri Mar 10 05:21:13 GMT 2006  Olly Betts <olly@survex.com>

	* dbi2omega: Check DBIDRIVER environmental variable to allow a driver
	  other than mysql to be specified without modifying the script.

Wed Mar 01 02:28:57 GMT 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Don't repeat the "note" part of warnings; Warn if
	  "unique=<prefix>" is used without a corresponding "boolean=<prefix>";
	  Warn that "index=nopos" is deprecated and should be replaced by
	  "indexnopos".

Tue Feb 28 23:46:57 GMT 2006  Olly Betts <olly@survex.com>

	* scriptindex.cc: Report a useless weight action, even if it's
	  followed by another non-useless action (e.g. field); convert weight
	  actions into a numeric parameter on index and indexnopos Action
	  objects; add explanatory text "(note that actions are executed from
	  left to right)" when reporting useless actions.

Sun Feb 26 00:25:10 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Fix $opt[fieldnames] handling.  Previously it would try
	  to kick in if you didn't set fieldnames but set any alphabetically
	  later option!

Tue Feb 21 00:18:25 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac,NEWS: Updated for 0.9.4.

Sun Feb 19 23:20:49 GMT 2006  Olly Betts <olly@survex.com>

	* COPYING: Updated FSF address.

Thu Feb 16 00:10:22 GMT 2006  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Updated for 0.9.3.

Wed Feb 08 13:01:15 GMT 2006  Olly Betts <olly@survex.com>

	* templates/query: Make the page title shorter so there's more chance
	  it will fit on icon bars, etc.

Wed Feb 08 10:08:24 GMT 2006  Olly Betts <olly@survex.com>

	* docs/overview.txt: Add pointer to documentation of the supported
	  query syntax.

Mon Feb 06 15:19:17 GMT 2006  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: Fix typo.

Sat Jan 14 22:40:43 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: Copy over fixed snprintf checks from xapian-core.

Fri Jan 13 03:21:15 GMT 2006  Olly Betts <olly@survex.com>

	* configure.ac: The configure test for snprintf uses memcmp, so
	  we need to "#include <string.h>" for it to work reliably.

Mon Jan 09 04:23:54 GMT 2006  Olly Betts <olly@survex.com>

	* date.cc,query.cc: Add "#include <stdarg.h>" where we use
	  va_list, etc.

Mon Jan 09 04:17:54 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc: Fix more compilation issues with cdb no-mmap code.

Mon Jan 09 03:42:18 GMT 2006  Olly Betts <olly@survex.com>

	* omega.cc,utils.cc,utils.h: Replace remaining use of split with
	  a direct walk of the string.

Mon Jan 09 03:19:49 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Don't split strings of docids in R parameters into a
	  vector<string> - just walk the string directly.  The code is
	  as simple, and much more efficient if a lot of documents are
	  marked relevant.

Mon Jan 09 02:46:34 GMT 2006  Olly Betts <olly@survex.com>

	* Makefile.am,date.cc,omindex.cc,query.cc,scriptindex.cc,utils.cc,
	  utils.h: Use snprintf where available.

Sun Jan 08 22:41:47 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc: Fixed malloc-based version to compile.

Sun Jan 08 21:05:46 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_find.cc,cdb_hash.cc,cdb_unpack.cc: #include <config.h>.
	* configure.ac: Test for mmap.
	* cdb_init.cc: If mmap isn't found, and this isn't WIN32 fall back on
	  the very crude approach of loading the whole file into a malloc-ed
	  block.  For a small cdb file, that'll give acceptable performance
	  at least.

Fri Jan 06 21:29:37 GMT 2006  Olly Betts <olly@survex.com>

	* symboltab.h: Fix A after \xbf being interpereted as an overlong
	  escape sequence.

Fri Jan 06 21:26:57 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Fix printf type mismatch on 64 bit platforms.

Fri Jan 06 21:00:34 GMT 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Added $find{LIST,STRING}.

Fri Jan 06 20:52:31 GMT 2006  Olly Betts <olly@survex.com>

	* symboltab.h: Write top-bit set characters using \xXX notation to
	  avoid warnings from Intel's C++ compiler.

Fri Jan 06 18:15:42 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Removed unused variable.

Fri Jan 06 18:14:33 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Cast time_t to unsigned long to avoid problems on 64bit
	  platforms.

Fri Jan 06 18:12:38 GMT 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Note in the $cgi description that it returns
	  an arbitrary value if there's more than one, and pointing to
	  $cgilist.

Thu Jan 05 05:54:58 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc: Fix mingw compilation.

Thu Jan 05 03:24:07 GMT 2006  Olly Betts <olly@survex.com>

	* cdb_init.cc: Fix to hopefully compile on Solaris which has a broken
	  sys/mman.h when used from C++.

Wed Jan 04 20:44:44 GMT 2006  Olly Betts <olly@survex.com>

	* query.cc: Fixed to compile with GCC 3.0.

Wed Jan 04 04:33:15 GMT 2006  Olly Betts <olly@survex.com>

	* Makefile.am,cdb.h,cdb_find.cc,cdb_hash.cc,cdb_init.cc,cdb_int.h,
	  cdb_unpack.cc,configfile.cc,configfile.h,docs/omegascript.txt,
	  omega.conf,query.cc: Add $lookup{CDBFILE,KEY} command to perform
	  a lookup in a CDB file.

Wed Jan 04 03:06:31 GMT 2006  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,docs/overview.txt,query.cc: Added new feature
	  which allows you to avoid storing fieldnames in every document
	  (which can save a lot of disk space for a large database).  Instead
	  you just store the field values, one per line, and add something
	  like "$set{fieldnames,$split{caption sample url}}" to the
	  OmegaScript template to specify the fieldnames to use.
	* docs/omegascript.txt,query.cc: Add new "$split{}" command which
	  splits a string to give an OmegaScript list.
	* query.cc: Fix $url{} to escape "+" to "%2b".
	* query.cc: Speed up $highlight{} - only compare terms which are the
	  same length.

Tue Jan 03 22:38:01 GMT 2006  Olly Betts <olly@survex.com>

	* configfile.cc: Rename file_readable() to file_exists() to better
	  reflect what the function actually does!

Tue Jan 03 17:43:40 GMT 2006  Olly Betts <olly@survex.com>

	* templates/opensearch: Add missing escaping.

Mon Dec 19 10:27:30 GMT 2005  Olly Betts <olly@survex.com>

	* Makefile.am,commonhelp.cc,commonhelp.h,docs/overview.txt,omindex.cc,
	  scriptindex.cc: Add "--stemmer" option to omindex and scriptindex
	  to allow the stemming language to be set.
	* omindex.cc,scriptindex.cc: More consistent --help and --version
	  output.  Update FSF address.

Mon Dec 19 06:03:31 GMT 2005  Olly Betts <olly@survex.com>

	* query.cc: Explicitly use "unsigned char" when %-encoding in $url
	  so that top bit set characters are correctly handled on platforms
	  where char is signed by default.

Sun Dec 11 09:30:44 GMT 2005  Olly Betts <olly@survex.com>

	* templates/godmode: If a non-existent docid is specified, report the
	  error and prompt the user to enter another docid.  Fixes bug#60.

Sun Dec 11 09:27:18 GMT 2005  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,omega.cc,omega.h,query.cc: Add "SORTREVERSE"
	  CGI parameter which allows the sort order to be reversed when
	  sorting on a value.  Remove "SORTBANDS" CGI parameter since it
	  no longer does anything.

Sun Dec 11 09:26:14 GMT 2005  Olly Betts <olly@survex.com>

	* omindex.cc: Improve wording of comment.

Sun Dec 11 09:22:58 GMT 2005  Olly Betts <olly@survex.com>

	* docs/overview.txt,omindex.cc: Add support for OpenDocument format
	  mimetypes and extensions out of the box.

Sun Dec 11 09:16:57 GMT 2005  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: If executing an OmegaScript command
	  causes a Xapian exception to be thrown, catch it and copy the error
	  message into error_msg (which is read by the $error command).

Sun Dec 11 09:12:12 GMT 2005  Olly Betts <olly@survex.com>

	* htmlparse.cc: Tweak a few comments; "while (1)" -> "while (true)".

Sun Dec 11 09:09:40 GMT 2005  Olly Betts <olly@survex.com>

	* docs/overview.txt: The U prefix (URL term) was grouped with the date
	  searching prefixes, but it makes more sense to group it with the
	  prefixes relating to parts of the URL (H for hostname, P for path,
	  etc).

Sun Oct 02 16:28:59 BST 2005  Olly Betts <olly@survex.com>

	* scriptindex.cc: Use "int database_mode" (set to the value to pass to
	  WritableDatabase's ctor) instead of "bool overwrite" to implement
	  --overwrite.
	* scriptindex.cc: Remove code to handle "-q" as it no longer actually
	  controls anything.  Just ignore it for backwards compatibility.
	* scriptindex.cc: Tweak --help output to not wrap on a default
	  install.

Sat Sep 10 14:57:19 BST 2005  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Improve descriptions of $collapsed, $value,
	  $version.

Fri Jul 29 10:05:21 BST 2005  James Aylett  <james@tartarus.org>

	* omindex.cc: add --preserve-nonduplicates / -p option to not
	  delete any documents that aren't updated, in replace duplicates
	  mode (so that multiple runs of omindex on different subsites
	  don't stomp on each other).

	* docs/overview.txt: update to match the above.

Fri Jul 15 11:12:28 BST 2005  Olly Betts <olly@survex.com>

	* configure.ac: Updated for 0.9.2.

Fri Jul 15 02:18:40 BST 2005  Olly Betts <olly@survex.com>

	* NEWS: Updated for 0.9.2.

Sat Jul 02 14:56:35 BST 2005  Olly Betts <olly@survex.com>

	* query.cc: Workaround further Sun C++ crapness.

Wed Jun 29 03:19:22 BST 2005  Olly Betts <olly@survex.com>

	* docs/omegascript.txt,query.cc: Changed $highlight so
	  if OPEN and CLOSE aren't specified, they default to
	  highlighting each word from the query with a different
	  background colour like gmane does (previous default was to use
	  '<strong>' and '</strong>').
	* query.cc: Removed surplus whitespace.

Fri Jun 24 02:51:38 BST 2005  Olly Betts <olly@survex.com>

	* query.cc: Call QueryParser::set_database() as this is now used to
	  decide what to do for terms like "C#".
	* docs/omegascript.txt,docs/termprefixes.txt,query.cc: Add the
	  ability to set boolean prefixes for the QueryParser by setting
	  a "boolprefix" map in the omegascript template.

Fri Jun 24 02:40:10 BST 2005  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fix infinite loop if there's no newline at the end
	  of a dumpfile.

Thu Jun 23 16:42:41 BST 2005  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: Explain who to use termprefixes with
	  scriptindex and omega, since that's what most people will want to
	  know.

Thu Jun 23 16:41:15 BST 2005  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt: Added $length{} and $stoplist{}
	  commands to OmegaScript.
	* docs/omegascript.txt: Use standard "S" prefix for title in example
	  for $setmap, rather than "XT".

Mon Jun 06 17:59:10 BST 2005  Olly Betts <olly@survex.com>

	* NEWS: Another 0.9.1 update.

Mon Jun 06 17:52:44 BST 2005  Olly Betts <olly@survex.com>

	* NEWS: Updated for 0.9.1.

Mon Jun 06 17:51:58 BST 2005  Olly Betts <olly@survex.com>

	* configure.ac: Updated for 0.9.1.

Mon May 23 23:36:48 BST 2005  Fabrice Colin <fabrice.colin@gmail.com>

	* omega.spec.in: Updated for 0.9.0.

Fri May 13 23:21:02 BST 2005  Olly Betts <olly@survex.com>

	* NEWS: Updated for 0.9.0.

Fri May 13 00:39:44 BST 2005  Olly Betts <olly@survex.com>

	* configure.ac: Updated for 0.9.0.

Fri May 13 00:35:21 BST 2005  Olly Betts <olly@survex.com>

	* scriptindex.cc: Improved handling of extra blank lines in dump file;
	  Strip multiple \r characters from end of line;  Complain if a dump
	  file doesn't appear to have been = escaped correctly;  Flush
	  database after each input file to ensure all changes from a file
	  make it in.
	* docs/omegascript.txt: Whitespace tweak.

Wed May 11 02:28:41 BST 2005  Olly Betts <olly@survex.com>

	* NEWS: Started to update for 0.9.0.

Sun May 08 02:16:07 BST 2005  Olly Betts <olly@survex.com>

	* query.cc: Use Query::get_terms_begin() not
	  QueryParser::termlist_begin().

Sun May 08 02:11:49 BST 2005  Olly Betts <olly@survex.com>

	* Makefile.am: Use AM_CPPFLAGS not CPPFLAGS (CPPFLAGS is for the
	  user).

Wed May  4 11:32:18 BST 2005  Richard Boulton <richard@tartarus.org>

	* configfile.cc: Configuration file is now looked for in various
	  locations: the first location in which a file is found is used.
	  Firstly, if the OMEGA_CONFIG_FILE environment variable is set,
	  the location given in it is checked.  Secondly, the file
	  "omega.conf" in the same directory as the executable is checked.
	  Finally, the file "${sysconfdir}/omega.conf" (eg, /etc/omega.conf
	  on Linux) is checked.  If none of these locations contain a file,
	  default values are used.
	* docs/overview.txt: Update to describe new configuration file
	  locations.
	* Makefile.am: Install omega.conf to ${sysconfdir} by default.
	  Define CONFIGFILE_SYSTEM with an appropriate value to find the
	  system configuration file.

Wed May  4 11:20:26 BST 2005  Richard Boulton <richard@tartarus.org>

	* query.cc: Use new set_stemming_strategy() API method, rather than
	  old set_stemming_options() method.  The old method didn't compile
	  because it's being passed a stemming_strategy value, which there
	  isn't a prototype for.

Fri Apr 29 10:27:05 BST 2005  Olly Betts <olly@survex.com>

	* scriptindex.cc: Improved comments.

Fri Apr 15 03:12:02 BST 2005  Olly Betts <olly@survex.com>

	* docs/termprefixes.txt: Updated QueryParser prefix documentation to
	  remove references to CVS HEAD.
	* docs/termprefixes.txt: Capitalise "Month" to indicate why it has
	  prefix "M" (in line with all the other entries in the list).

Fri Apr 15 02:55:06 BST 2005  Olly Betts <olly@survex.com>

	* indextext.cc: Generate terms like "c#".
	* query.cc: Highlight words like "C#".

Fri Apr 15 02:53:22 BST 2005  Olly Betts <olly@survex.com>

	* query.cc: Clearer code for adding boolean filters are added to the
	  query.

Wed Apr 06 02:47:14 BST 2005  Olly Betts <olly@survex.com>

	* omindex.cc: Tweak the hashing of URLs so that it works the same
	  way on all platforms (previously it would depend on sizeof(long)).
	  This means an incompatibility with any existing database built on
	  a platform where sizeof(long) > 4 where URLs were hashed (i.e.
	  URLs were > 228 bytes if sizeof(long) == 8), but we really want
	  databases to be portable between platforms.

Wed Apr 06 02:44:58 BST 2005  Olly Betts <olly@survex.com>

	* omindex.cc,docs/overview.txt: Removed useless "DUPE_duplicate"
	  option.

Wed Apr 06 00:48:08 BST 2005  Olly Betts <olly@survex.com>

	* omindex.cc,docs/overview.txt: Added support for using pod2text for
	  indexing Perl documentation.

Wed Apr 06 00:25:47 BST 2005  Olly Betts <olly@survex.com>

	* omindex.cc,docs/overview.txt: Replace -l/--no-recurse with
	  -l/--depth-limit which takes an argument allowing recursion
	  to be restriction to any depth, not just 0 or infinite!

Tue Apr 05 23:45:39 BST 2005  Olly Betts <olly@survex.com>

	* mbox2omega,mbox2omega.script,Makefile.am: Added mbox2omega which
	  allows a mail folder to be indexed.  Mostly it's an example as
	  there's no mechanism included to show the full original message.

Tue Apr 05 23:41:44 BST 2005  Olly Betts <olly@survex.com>

	* scriptindex.cc: Tidy up STL header includes.

Tue Apr 05 23:34:36 BST 2005  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Clarify $field description slightly.

Tue Apr 05 23:33:33 BST 2005  Olly Betts <olly@survex.com>

	* indextext.h: Add typedefs to allow AccentNormalisingItor to be used
	  as an STL iterator.

Tue Apr 05 00:47:52 BST 2005  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,docs/omegascript.txt: Fixed 3 references to
	  OmXxxx classes.

Tue Apr 05 00:41:45 BST 2005  Olly Betts <olly@survex.com>

	* debian/.cvsignore,.cvsignore: Remove .cvsignore files, as they're
	  not used by SVN.

Mon Mar 21 16:43:07 GMT 2005  Richard Boulton <richard@tartarus.org>

	* templates/opensearch: Add new template to implement basic
	  opensearch feeds of search results.
	* Makefile.am: Include opensearch template in distribution.

Thu Mar 03 02:20:26 GMT 2005  Olly Betts <olly@survex.com>

	* templates/query2: Remove Sam's unfinished rewrite of the query
	  template.  It's not been worked on for nearly two years, and we
	  don't ship it.

Wed Mar 02 03:09:52 GMT 2005  Olly Betts <olly@survex.com>

	* COPYING: Put in CVS.

Tue Mar 01 02:09:35 GMT 2005  Olly Betts <olly@survex.com>

	* omindex.cc,docs/overview.txt: Extend -M/--mime-type to allow an
	  existing mapping to be removed by omitting the type.

Thu Feb 24 17:42:35 GMT 2005  Olly Betts <olly@survex.com>

	* Makefile.am: Actually ship docs/termprefixes.txt (and make it harder
	  to fail to ship new docs in future).

Thu Feb 24 02:10:09 GMT 2005  Olly Betts <olly@survex.com>

	* Makefile.am,docs/termprefixes.txt: Added a single document covering
	  all aspects of term prefixes.

Wed Feb 23 14:59:46 GMT 2005  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Moved $collapsed into correct place
	  alphabetically!

Wed Feb 16 03:46:51 GMT 2005  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,docs/overview.txt: Improved description of how
	  B filters are handled when building the query.

Wed Feb 16 03:44:24 GMT 2005  Olly Betts <olly@survex.com>

	* omindex.cc: Fixed so that we get lstat() prototype on Linux systems
	  where we have posix_fadvise().

Mon Jan 17 03:35:35 GMT 2005  Olly Betts <olly@survex.com>

	* query.cc: Corrected a comment.

Mon Jan 17 03:32:25 GMT 2005  Olly Betts <olly@survex.com>

	* query.cc: Updated to use the new QueryParser API.

Wed Jan 05 03:15:43 GMT 2005  Olly Betts <olly@survex.com>

	* docs/scriptindex.txt: Note that actions are applied in the specified
	  order.

Thu Dec 23 19:12:57 GMT 2004  Olly Betts <olly@survex.com>

	* INSTALL: "xapian-examples" -> "omega".

Thu Dec 23 19:10:04 GMT 2004  Olly Betts <olly@survex.com>

	* configure.ac,NEWS: Version 0.8.5.

Thu Dec 23 19:09:01 GMT 2004  Olly Betts <olly@survex.com>

	* INSTALL,README: Added better installation instructions.

Mon Dec 20 17:26:26 GMT 2004  Olly Betts <olly@survex.com>

	* configure.ac,omindex.cc: Fixed "ignore symlinks" code to compile on
	  systems without lstat (e.g. mingw).

Mon Dec 20 12:18:18 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Fix the "ignore symlinks" code to actually compile on
	  certain Linux boxes.

Mon Dec 20 11:33:59 GMT 2004  Olly Betts <olly@survex.com>

	* query.cc: If an exception is thrown, make sure that the HTTP headers
	  get written so that we don't cause "500 Internal Server Error".
	  This problem was introduced by the change to allow a user specified
	  Content-Type in 0.8.0.  Partly addresses bug#60.

Fri Dec 17 22:50:01 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Only try to delete removed documents in DUPE_replace
	  mode.

Thu Dec 16 11:43:28 GMT 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: Fixed "Unknown Exception" when trying to "unhtml"
	  text which contains "</body>" (bug#61).  This bug was introduced in
	  0.8.4.

Thu Dec 16 11:28:25 GMT 2004  Olly Betts <olly@survex.com>

	* myhtmlparse.cc: <h1> - <h6> and </h1> - </h6> should leave a
	  space into the dumped HTML.

Wed Dec 15 15:53:55 GMT 2004  Richard Boulton <richard@tartarus.org>

	* dbi2omega: Add a comment to the start of the file detailing what
	  dbi2omega does.

Wed Dec 15 15:08:41 GMT 2004  Richard Boulton <richard@tartarus.org>

	* omindex.cc: Change behaviour of crawler such that it doesn't
	  follow symbolic links any more.  Add "--follow" command
	  line option to turn following of symlinks back on.

Wed Dec 08 16:31:46 GMT 2004  Olly Betts <olly@survex.com>

	* NEWS: Final update for 0.8.4.

Tue Dec 07 18:16:32 GMT 2004  Olly Betts <olly@survex.com>

	* indextext.h: Fixed to compile with GCC 3.x.

Tue Dec 07 18:15:39 GMT 2004  Olly Betts <olly@survex.com>

	* omega.cc,omindex.cc,scriptindex.cc: Use the new
	  Database/WritableDatabase constructors.

Tue Nov 30 22:02:33 GMT 2004  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Updated for 0.8.4 release.

Wed Nov 24 04:50:52 GMT 2004  Olly Betts <olly@survex.com>

	* templates/godmode: Finished off godmode template.

Wed Nov 24 04:12:09 GMT 2004  Olly Betts <olly@survex.com>

	* query.cc: If there's only a boolean query so we promote it to be
	  the query, switch to boolean weights.

Wed Nov 24 03:29:36 GMT 2004  Olly Betts <olly@survex.com>

	* Makefile.am,myhtmlparse.cc,myhtmlparse.h,omindex.cc,scriptindex.cc:
	  Factored out MyHtmlParser into a separate file so it can be used
	  in scriptindex too to give scriptindex the same improved HTML
	  parsing which omindex just got.

Wed Nov 24 02:22:49 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Removed bogus extra line from code which was meant to
	  truncate at a word boundary, but has never actually worked!

Wed Nov 24 02:20:36 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Improved HTML to text conversion - the parser now knows
	  that some tags should be regarded as word breaks and some shouldn't
	  (previously all tags were treated as word breaks).

Wed Nov 24 00:22:39 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Removed debug output; don't include \xa0 in the list of
	  whitespace characters for now, as that's a bit character set
	  specific...

Wed Nov 24 00:04:42 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: HTML extraction now turns strips leading and trailing
	  whitespace and converts all other consecutive groups of whitespace
	  to a single space.

Tue Nov 23 20:29:14 GMT 2004  Olly Betts <olly@survex.com>

	* Makefile.am: XAPIAN_FLAGS already links with xapianqueryparser
	  so remove -lxapianqueryparser from omega_LDADD as it was causing
	  problems on cygwin.

Wed Nov 17 18:51:28 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Index RTF documents with unrtf, if available.
	* docs/overview.txt: Document this.

Wed Nov 17 16:31:01 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: If a filename to be passed to a filter program has a
	  leading "-", protect it from possible interpretation as an option
	  by prepending "./".

Wed Nov 17 16:29:55 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Index Wordperfect documents with wpd2text, if available.
	* docs/overview.txt: Document this.

Wed Nov 17 15:12:08 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Index MS Word documents with antiword, if available.
	* docs/overview.txt: Document this.

Wed Nov 17 04:29:15 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Add simple code to index OpenOffice documents.
	* docs/overview.txt: Update documentation to mention this.

Tue Nov 09 03:04:44 GMT 2004  Olly Betts <olly@survex.com>

	* configure.ac,Makefile.am: We now get -AA or -std strict_ansi from
	  xapian-config, so we don't need to probe for them ourselves.

Sun Nov 07 16:36:42 GMT 2004  Olly Betts <olly@survex.com>

	* utils.cc: Fixed to work with updated snprintf configure test,

Sun Nov 07 04:55:26 GMT 2004  Olly Betts <olly@survex.com>

	* configure.ac: rearrange so that libtool is active when we test if
	  the c++ compiler can link a program so it can pull in libstdc++
	  through a .la file; updated snprintf test to the new one from
	  xapian-core.

Fri Nov 05 17:20:13 GMT 2004  Olly Betts <olly@survex.com>

	* configure.ac: AM_CONFIG_HEADER -> AC_CONFIG_HEADERS; Run tests using
	  the C++ compiler; select ANSI mode for aCC and cxx; Check GXX not
	  GCC when choosing warning flags.

Wed Nov 03 20:15:34 GMT 2004  Olly Betts <olly@survex.com>

	* query.cc: Updated to use Query::empty() instead of
	  Query::is_empty().

Wed Nov 03 20:12:37 GMT 2004  Olly Betts <olly@survex.com>

	* Makefile.am,getopt.cc,getopt.h,getopt1.cc,gnu_getopt.h,omindex.cc,
	  scriptindex.cc: Updated to reworked getopt from xapian-core.

Wed Nov 03 04:11:03 GMT 2004  Olly Betts <olly@survex.com>

	* getopt.cc: Defining _NO_PROTO is a really bad idea for C++ code!

Tue Nov 02 18:54:12 GMT 2004  Olly Betts <olly@survex.com>

	* getopt.cc: Protect getopt definition for possible getopt macro
	  declared in getopt.h.

Tue Nov 02 17:56:08 GMT 2004  Olly Betts <olly@survex.com>

	* indextext.h: Fixed 2 warnings.

Tue Nov 02 06:54:17 GMT 2004  Olly Betts <olly@survex.com>

	* getopt.cc,getopt1.cc: Fixed function declarations to not use K&R C
	  syntax.

Tue Nov 02 05:40:06 GMT 2004  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac,getopt.c,getopt1.c,getopt.cc,getopt1.cc:
	  Compile everything as C++.

Mon Sep 20 14:52:24 BST 2004  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Version 0.8.3.

Mon Sep 20 14:49:26 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am,configure.ac: Require same versions of autoconf and
	  automake that xapian-core does.

Mon Sep 20 14:45:53 BST 2004  Olly Betts <olly@survex.com>

	* omega.spec.in: Update from Fabrice Colin.  The most notable change
	  is that the RPM is now called xapian-omega because there's already
	  an omega RPM (in Fedora Core at least) which is some game.

Thu Sep 16 00:57:13 BST 2004  Olly Betts <olly@survex.com>

	* cgiparam.cc,configfile.cc,configfile.h,htmlparse.cc,indextext.cc,
	  omega.cc,omindex-config.cc: All C++ sources should #include
	  <config.h> as the first header; no header files should #include
	  <config.h>.

Thu Sep 16 00:54:31 BST 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: --version now actually reports the version.  --help
	  now exits with status 0 rather than status 1.

Tue Sep 14 03:00:32 BST 2004  Olly Betts <olly@survex.com>

	* omega.spec.in: Updated URL for sources; include htdig2omega and
	  htdig2omega.script in the RPM.

Tue Sep 14 02:56:52 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am: Install htdig2omega.script in ${prefix}/share/omega/
	  rather than ${prefix}/share/.

Mon Sep 13 03:22:55 BST 2004  Olly Betts <olly@survex.com>

	* NEWS,configure.ac: Version 0.8.2.

Thu Sep 09 15:11:45 BST 2004  Olly Betts <olly@survex.com>

	* NEWS: Updated.

Thu Sep 09 14:41:41 BST 2004  Olly Betts <olly@survex.com>

	* query.cc: Use new checkatleast parameter to Enquire::get_mset to
	  implement MINHITS.

Thu Sep 02 01:45:46 BST 2004  Olly Betts <olly@survex.com>

	* templates/query: Always report database not found - previously we
	  only did so if there was a query.  Also fixed missing </center>
	  tag which happened in certain cases.

Wed Aug 25 23:19:47 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: When running with "replace duplicates" mode (the
	  default), detect documents removed since the last indexing
	  run and delete them from the database (bug #34).

Tue Aug 24 19:23:55 BST 2004  Olly Betts <olly@survex.com>

	* omega.cc: Added FIXME comment noting that SORT and SORTBANDS should
	  be tracked and the results reset to the first page if they change.

Tue Aug 24 19:23:07 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am: Install htdig2omega and htdig2omega.script.

Mon Aug 23 22:29:53 BST 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: Report index file name and line number when
	  reporting errors in it.  Added warning for redundant actions,
	  such as "truncate" as the last action in a rule.

Mon Aug 23 22:03:25 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Use the new replace_document(term, doc) method.

Sun Aug 22 13:11:23 BST 2004  Olly Betts <olly@survex.com>

	* configure.in,configure.ac: Renamed configure.in to configure.ac.

Sat Aug 21 12:41:43 BST 2004  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Added note about that $add{$hit,1} gives
	  the "hit number".

Fri Aug 20 20:28:16 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am: Link with -lxapianqueryparser, not -lomqueryparser.

Thu Aug 19 19:13:34 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am: And actually ship htdig2omega and htdig2omega.script!

Thu Aug 19 19:02:40 BST 2004  Olly Betts <olly@survex.com>

	* htdig2omega,htdig2omega.script: Added perl script and corresponding
	  scriptindex index script which allow an ht://dig database to be
	  imported into Xapian.  This provides an easy way to provide a search
	  of remote websites using omega (by spidering them with ht://dig).

Sun Aug 15 01:48:58 BST 2004  Olly Betts <olly@survex.com>

	* indextext.cc,indextext.h,omindex.cc,query.cc,scriptindex.cc,
	  symboltab.h: Fixed $highlight to understand accented characters
	  (bug#9).

Wed Jun 30 14:58:12 BST 2004  Olly Betts <olly@survex.com>

	* NEWS,configure.in: Version 0.8.1.

Tue Jun 29 17:26:41 BST 2004  Richard Boulton <richard@tartarus.org>

	* Makefile.am: Remove Debian files from distribution tarballs,
	  since there will often be multiple patch releases for each
	  release.  Debian files will be available from an apt repository
	  in future.

Tue Jun 29 01:45:06 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Renamed hash() to hash_string() to avoid colliding
	  with something on IRIX;  Removed explicit initialisation of
	  mime_types - perhaps that's spooking the SGI CC prelinker.

Sun Jun 27 23:47:35 BST 2004  Olly Betts <olly@survex.com>

	* omega.cc: Change MORELIKE to pick up to 40 terms, rather than up to
	  6 (feedback on the mailing list suggests this gives much better
	  results).

Fri Jun 11 02:22:38 BST 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: Added catch for std::bad_alloc.

Mon Apr 19 14:43:17 BST 2004  Olly Betts <olly@survex.com>

	* NEWS: Final update for 0.8.0.

Sun Apr 18 22:31:24 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Only need _POSIX_C_SOURCE on Linux, and it seems to
	  cause problems with Sun's C++ compiler.

Sun Apr 18 17:50:35 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: _POSIX_C_SOURCE works better than _POSIX_SOURCE for
	  making posix_fadvise prototype visible on Linux.

Thu Apr 15 02:05:49 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: And another _POSIX_SOURCE attempt!

Thu Apr 15 01:43:51 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Another stab at _POSIX_SOURCE...

Thu Apr 15 01:25:29 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Added a missing underscore (_POSIX_SOURCE not
	  POSIX_SOURCE!)

Thu Apr 15 00:48:12 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Defined POSIX_SOURCE to a suitable value to get
	  posix_fadvise on some versions of redhat.

Mon Apr 12 01:06:58 BST 2004  Olly Betts <olly@survex.com>

	* NEWS,configure.in: Version 0.8.0.

Mon Apr 12 00:03:57 BST 2004  Olly Betts <olly@survex.com>

	* indextext.cc,query.cc: Don't create R terms for terms which start
	  with a digit.

Sun Apr 11 23:47:33 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Fixed inconsistent indenting.

Sun Apr 11 23:11:51 BST 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Call posix_fadvise with POSIX_FADV_DONTNEED just before
	  closing an input file.  Again should help improve indexing
	  throughput.

Fri Apr 02 16:09:03 BST 2004  Olly Betts <olly@survex.com>

	* configure.in,omindex.cc: Use O_STREAMING and/or posix_fadvise()
	  when reading files to be indexed (if available).  This helps to
	  keep the Xapian database in cache, and greatly improve indexing
	  throughput.

Tue Mar 30 00:06:15 BST 2004  Olly Betts <olly@survex.com>

	* NEWS: We're now putting omega news here rather than in xapian-core
	  so composed draft version for the forthcoming 0.8.0 release.

Tue Mar 29 23:56:27 BST 2004  Olly Betts <olly@survex.com>

	* templates/xml: Remove unused OmegaScript code:
	  `$set{topterms,$or{$ne{$msize,0},$query}}'.

Tue Mar 29 23:55:40 BST 2004  Olly Betts <olly@survex.com>

	* Makefile.am: scriptindex needs to link to getopt.c and getopt1.c.

Tue Mar 23 19:20:19 GMT 2004  Olly Betts <olly@survex.com>

	* templates/xml: Correct spelling of `relavence' to `relevance'.
	  NB: if you're parsing the XML output, you'll need to fix this
	  spelling in your parser!

Sun Mar 21 14:23:23 GMT 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: Use getopt for option parsing.  Change default to
	  *not* overwriting the database (use --overwrite if you really want
	  to do this); -u is now accepted but ignored.

Fri Mar 12 02:11:28 GMT 2004  Olly Betts <olly@survex.com>

	* templates/xml: "Content-Type: application/html" is more appropriate
	  than text/xml.

Fri Mar 12 02:09:33 GMT 2004  Olly Betts <olly@survex.com>

	* omindex.cc: Added --overwrite option which forces an existing
	  database to be deleted before indexing begins.

Wed Mar 10 14:39:13 GMT 2004  Olly Betts <olly@survex.com>

	* templates/xml: "Content-Type: text/xml".

Wed Mar 10 00:08:40 GMT 2004  Olly Betts <olly@survex.com>

	* docs/scriptindex.txt: Make more explicit that boolean produces a
	  *single* boolean term.

Tue Mar 09 19:08:19 GMT 2004  Olly Betts <olly@survex.com>

	* indextext.cc,omindex.cc,scriptindex.cc: Updated to use add_term()
	  instead of add_term_nopos().

Wed Mar 03 14:55:50 GMT 2004  Olly Betts <olly@survex.com>

	* scriptindex.cc: Use true/false for assigning to booleans, not 1/0.

Sat Feb 21 18:33:15 GMT 2004  Olly Betts <olly@survex.com>

	* omega.cc,query.cc,docs/omegascript.txt: Added $httpheader
	  Omegascript to allow arbitrary HTTP headers and alternative
	  Content-Type headers to be specified.

Sat Feb 14 00:32:06 GMT 2004  Olly Betts <olly@survex.com>

	* query.cc: If the probabilistic query was bad, don't try to run the
	  match.

Sat Feb 14 00:11:52 GMT 2004  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt: Note that START and END should be in the format
	  YYYYMMDD.

Sat Feb 14 00:07:41 GMT 2004  Olly Betts <olly@survex.com>

	* query.cc: Don't crash if there's a date filter but no probabilistic
	  query.

Wed Nov 26 22:44:49 GMT 2003  Olly Betts <olly@survex.com>

	* indextext.cc: Raw terms with a multicharacter prefix are now indexed
	  with a : inserted (e.g. as XFOO:Rterm).  This matches what the query
	  parser does.

Wed Nov 26 16:25:16 GMT 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.5.

Sun Nov 23 03:28:21 GMT 2003  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt: Added note that $setmap{prefix,...}
	  needs be used before any commands which require the query to be
	  parsed.

Thu Nov 20 02:44:55 GMT 2003  Olly Betts <olly@survex.com>

	* docs/omegascript.txt: Expanded documentation of $set and $setmap to
	  include values which Omega itself makes use of.

Thu Nov 20 02:43:03 GMT 2003  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Set default value for $opt{stemmer} to "english"
	  rather than taking "" to mean English.

Tue Oct 21 21:29:18 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Fixed $setmap{} to not add bogus entries.

Tue Oct 21 21:20:31 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Allow the QueryParser prefix map to be set up using
	  $setmap{prefix,...} (e.g. $setmap{prefix,subject,XT,abstract,XA}).

Tue Oct 21 21:13:59 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Only parse probabilistic query once!

Tue Oct 21 20:03:27 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,query.cc,query.h: Reworked so that the
	  probabilistic query isn't parsed until we need some
	  information from it.  This means that we can now use options
	  set by the omegascript template to control the behaviour of the
	  query parser.

Thu Oct 16 21:17:01 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc: Renamed `big_buf' to `query_string' and eliminated `more'
	  flag and use of goto; tidied up order of reading CGI variables; use
	  const refs to value strings in cgi_params map rather than copying
	  the strings out.

Sat Oct 11 20:43:04 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,query.cc: Make rset an object rather than a pointer
	  to an object.

Fri Oct 10 18:06:10 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Removed the unfinished code for caching omegascript
	  command expansions.  Added code to cache $dbsize.  The only other
	  value correctly marked for caching is already being cached!

Thu Oct 02 15:18:19 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.4.

Thu Oct 02 15:16:41 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: $date doesn't require the match to be run to work, but
	  $topdoc does!

Tue Sep 30 18:32:25 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Cleaner version of T macro.

Tue Sep 30 18:09:30 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Hopefully the final piece in the Sun C++ puzzle.

Tue Sep 30 00:59:50 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Cleaned up a recent fix by using clean generic code which
	  works on Sun's C++ too.

Mon Sep 29 17:12:10 BST 2003  Olly Betts <olly@survex.com>

	* cgiparam.cc: Portability fixes for Sun's C++ compiler.

Mon Sep 29 13:26:22 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Another Sun C++ fix.

Mon Sep 29 11:49:30 BST 2003  Olly Betts <olly@survex.com>

	* query.cc,omega.cc: More fixes for Sun's really rather rubbish
	  C++ compiler.

Mon Sep 29 01:39:56 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Fixes for compiling with Sun's C++ compiler.

Mon Sep 29 01:17:39 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc: Added workaround for compilation problem with Sun's C++.

Fri Aug 08 01:39:51 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.3.

Sat Aug 02 01:52:38 BST 2003  Olly Betts <olly@survex.com>

	* configure.in,omindex.cc,query.cc: Fixed to compile on mingw
	  where ftime() returns void.

Fri Aug 01 20:59:57 BST 2003  Olly Betts <olly@survex.com>

	* scriptindex.cc: Added #define for sleep() on __WIN32__.

Wed Jul 30 19:05:17 BST 2003  Olly Betts <olly@survex.com>

	* getopt.h: Copied over latest getopt.h from xapian-core.

Sun Jul 27 16:34:19 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am,getopt.c,getopt.h,getopt1.c: Copied our version of GNU
	  getopt here from xapian-core so we can build omindex on non-glibc
	  platforms (modifications are for better C++ compatibility).

Mon Jul 21 01:16:59 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Use libtool; OM_PATH_XAPIAN -> XO_LIB_XAPIAN.

Sat Jul 19 19:26:03 BST 2003  Olly Betts <olly@survex.com>

	* omindex.cc: Added missing `#include <errno.h>'.

Sat Jul 19 19:24:50 BST 2003  Olly Betts <olly@survex.com>

	* indextext.cc: Fixed signed character issue.

Thu Jul 17 00:51:42 BST 2003  Olly Betts <olly@survex.com>

	* bootstrap: Removed bootstrap in favour of top-level bootstrap.

Tue Jul 15 16:27:52 BST 2003  Olly Betts <olly@survex.com>

	* omindex.cc: file_to_string() and stdout_to_string() now throw an
	  exception on a read error, avoiding the " "-for-empty-file bodge.

Tue Jul 15 15:18:32 BST 2003  James Aylett  <james@tartarus.org>

	* omindex.cc: fix file_to_string() to return the file on
	  success, and not leak memory on empty files. Fix callers
	  to give up on unreadable files, not vice versa. Fix
	  logging messages to distinguish re-indexed/added.

Fri Jul 11 15:09:55 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.2.

Fri Jul 11 12:08:57 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc: If the same database is listed more than once, only search
	  the first occurrence.

Fri Jul 11 11:57:24 BST 2003  Olly Betts <olly@survex.com>

	* configure.in,utils.cc: Use snprintf.

Tue Jul 08 17:56:39 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.1.

Tue Jul 08 17:34:01 BST 2003  Olly Betts <olly@survex.com>

	* omindex.cc: Fixed compilation problem.

Fri Jul 04 22:12:32 BST 2003  Olly Betts <olly@survex.com>

	* bootstrap: add missing ';;' as case pattern delimiter

Thu Jul 03 23:34:50 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Version 0.7.0.

Thu Jul 03 23:33:05 BST 2003  Olly Betts <olly@survex.com>

	* omindex.cc: Abort parsing of document if it's excluded from
	  indexing; ignore anything outside of the first <body>...</body>,
	  if present.

Tue Jun 24 00:45:28 BST 2003  Olly Betts <olly@survex.com>

	* docs/overview.txt: Added note about hashing of long URL terms and
	  reworked structure a little.

Mon Jun 23 21:11:41 BST 2003  Olly Betts <olly@survex.com>

	* bootstrap: Check for Bison 1.875 which doesn't work with Xapian.

Mon Jun 23 16:52:47 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc,omindex.cc,scriptindex.cc: Xapian::PostListIterator ->
	  Xapian::PostingIterator.

Thu Jun 19 20:02:00 BST 2003  Olly Betts <olly@survex.com>

	* symboltab.h: Convert hardspace to space.

Wed Jun 18 16:32:34 BST 2003  Olly Betts <olly@survex.com>

	* scriptindex.cc: Removed already disabled unique id hashing to docid
	  code.  Xapian doesn't support setting arbitrary docids - if it ever
	  does we can retrieve this code from CVS.

Wed Jun 18 16:28:33 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am,indextext.cc,indextext.h,omindex.cc,scriptindex.cc:
	  Normalise accents in probabilistic terms.

Tue Jun 17 17:54:32 BST 2003  Olly Betts <olly@survex.com>

	* omindex.cc: Read output from pstotext and pdftotext via pipes rather
	  than temporary files to side-step the whole problem of secure
	  temporary file creation; Use pdfinfo to get the title and keywords
	  from when indexing a PDF; Safe filename escaping tweaked to not
	  escape common safe punctuation.

Tue Jun 17 17:50:00 BST 2003  Olly Betts <olly@survex.com>

	* htmlparse.cc,htmlparse.h: Moved initialisation of named_ents out of
	  header - it's not a sensible candidate for inlining.

Wed Jun 11 02:32:25 BST 2003  Olly Betts <olly@survex.com>

	* date.cc,date.h,omega.cc,omega.h,omindex.cc,query.cc,query.h,
	  scriptindex.cc: Om -> Xapian::, etc.

Fri Jun  6 01:04:12 BST 2003  Richard Boulton <richard@tartarus.org>

	* omindex.cc: Implement an upper limit on the length of URL
	  terms.  Currently, this is set at 240 characters - it can
	  probably be increased slightly, but I'm not sure exactly
	  how long a term can safely be.  If the URL term would be
	  longer than this, its last few bytes are replaced by a
	  hash of the tail of the URL.  This means that (apart from
	  hopefully very rare collisions) urlterms should still be
	  unique ids for documents.

Fri Jun 06 00:14:13 BST 2003  Richard Boulton <richard@tartarus.org>

	* omindex.cc: Clean up processing of HTML documents:
	  - Ignore the contents of <script> and <style> tags in HTML.
	  - Strip initial whitespace in each tag in an HTML document.
	  - Try not to split words in half when truncating title and
	    summary.

Tue Jun 03 11:15:28 BST 2003  Olly Betts <olly@survex.com>

	* templates/query: Create log entry in query.log.

Thu May 29 18:03:54 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Fixed bug in DEFAULT_LOG_ENTRY's Omegascript.

Thu May 29 00:22:28 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Set STEM_LANGUAGE near the start of the file so it's easy
	  for users to change until we get better configurability.

Thu May 29 00:00:28 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am,date.cc,date.h,query.cc: Split code to build a
	  date range filter into a separate file.

Wed May 28 23:38:02 BST 2003  Olly Betts <olly@survex.com>

	* configfile.cc,configfile.h,omega.cc,omega.conf,query.cc,query.h,
	  docs/omegascript.txt,docs/overview.txt,docs/quickstart.txt:
	  Replaced half-hearted logging support with flexible
	  OmegaScript-based approach with new $log command.  Also added
	  $now to allow the current date/time to be logged.

Tue May 27 17:55:24 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Added missing "#include <assert.h>".

Mon May 26 22:41:26 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Don't use libtool; Use AC_CONFIG_FILES - it's the new
	  autoconf way!

Mon May 26 12:12:22 BST 2003  Olly Betts <olly@survex.com>

	* omega.spec.in: Removed %changelog - it hasn't been reliably updated
	  and only really makes sense when the packaging is done by a third
	  party anyway.

Mon May 26 12:01:55 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: If the query is empty, don't bother running it through
	  enquire.

Wed Apr 30 01:18:47 BST 2003  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt,docs/omegascript.txt: Minor improvements.

Wed Apr 30 01:14:46 BST 2003  Olly Betts <olly@survex.com>

	* query.cc: Use correct types for docid and value_no in $value.

Wed Apr 23 16:15:07 BST 2003  Sam Liddicott <sam@liddicott.com>

	* templates/xml: add collapse info to xml template.

Wed Apr 23 14:00:37 BST 2003  Olly Betts <olly@survex.com>

	* omega.spec.in: Merged changes from Fabrice Colin.

Thu Apr 10 03:14:51 BST 2003  Olly Betts <olly@survex.com>

	* configure.in: Updated for 0.6.5 release.

Wed Apr 09 13:56:14 BST 2003  Olly Betts <olly@survex.com>

	* omega.cc,query.cc,omega.h,docs/cgiparams.txt: Renamed DATE1, DATE2,
	  and DAYSMINUS to the more meaningful START, END, and SPAN (NB SPAN
	  is days before END, or after START, or before today - whereas
	  SPAN was before *DATE1* or before today).  The old parameters names
	  are supported (with the original semantics) for now.

Wed Apr 09 13:44:28 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am: Install docs in /usr/share/doc/omega to be FHS
	  compliant.
	* omega.spec.in: Consistently use %{contentdir} instead of /var/lib;
	  removed redundant second setting of %docdir.

Wed Apr 09 01:21:57 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am: Removed bogus extra "\".

Mon Mar 31 19:42:24 BST 2003  Olly Betts <olly@survex.com>

	* Makefile.am: Install documentation!
	* omega.spec.in: Merged in changes to RPM packaging from Fabrice Colin
	  and reworked further.

Fri Mar 28 17:47:45 GMT 2003  Olly Betts <olly@survex.com>

	* templates/query,templates/query2: Removed bogus setting of defunct
	  xB parameter; correctly propagate multiple B parameters.

Fri Mar 28 17:45:41 GMT 2003  Olly Betts <olly@survex.com>

	* omindex.cc: Report correct version number (was hard-wired to 1.0!)

Tue Mar 25 14:46:10 GMT 2003  Olly Betts <olly@survex.com>

	* query.cc: If xP and P are both empty, classify as SAME_QUERY not
	  NEW_QUERY as there may be a boolean query too.
	* query.cc: Fixed off-by-one error in rounding down topdoc - it was
	  possible to get to an empty page of hits if there were exactly a
	  multiple of HITSPERPAGE matches and the matcher over-estimated the
	  number of matches and Omega displayed page links.

Mon Mar 24 09:40:04 GMT 2003  Sam Liddicott <sam.liddicott@orange.co.uk>

	* templates/query: Added propagation of B boolean filter
	* templates/query2: factored about a bit more, query2 is
	  a more modular version of query which will ultimately
	  lend itself to customisation a bit more to the uninitiated.

Tue Mar 04 01:02:12 GMT 2003  Olly Betts <olly@survex.com>

	* omega.cc: Fixed handling of multiple DB parameters to be as
	  documented.

Fri Feb 28 09:52:03 GMT 2003 Sam Liddicott <sam.liddicott@orange.co.uk>

	* Added $collapsed to omegascript to give the number of hits
	  collapsed into the current hit, eg:

	  $if{$ne{$collapsed,0},$collapsed hidden results
				($value{$cgi{COLLAPSE}})}

	* templates/godmode: removed euro ferret icon reference
	* templates/godmode: added value dumping, for values from 0-255

Thu Feb 27 11:58:13 GMT 2003  Olly Betts <olly@survex.com>

	* Makefile.am,query.cc,docs/omegascript.txt,templates/query:
	  Added $transform{} which does regexp manipulation (currently
	  disabled); Added $uniq{} to eliminate duplicates from a sorted
	  list; Fixed a query with repeated terms to be identified as
	  SAME_QUERY not EXTENDED_QUERY; remove duplicates from terms
	  listed in term frequencies.

Wed Feb 26 17:50:26 GMT 2003  Olly Betts <olly@survex.com>

	* scriptindex.cc: Allow '_' in fieldnames.  Diagnose bad characters
	  in fieldnames better.

Wed Feb 26 15:13:02 GMT 2003  Sam Liddicott <sam.liddicott@orange.co.uk>

	* dbi2omega: Add DBUSER and DBPASSWD env var support so that password
	  protected DB's can easily be used
	* add cgi parameter COLLAPSE to collapse on key values
	* Add $value{key[,docid]} support to omegascript

Wed Feb 26 09:58:01 GMT 2003  Sam Liddicott <sam.liddicott@orange.co.uk>

	* bootstrap: Fix success message when building in non-src dir
	  as configure is written to the src dir.

Mon Jan  6 12:47:55 GMT 2003  James Aylett  <james@tartarus.org>

	* scriptindex.cc: build fix

Tue Dec 24 20:12:23 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.6.4.

Tue Dec 24 20:06:47 GMT 2002  Olly Betts <olly@survex.com>

	* scriptindex.cc: Minor tweak.

Tue Dec 24 19:58:57 GMT 2002  Olly Betts <olly@survex.com>

	* omega.cc,docs/cgiparams.txt: Prefer MINHITS to MIN_HITS and
	  RAWSEARCH to RAW_SEARCH since none of the other CGI parameter
	  names have _ separating words.  Also support old names for now.

Mon Dec 23 03:23:33 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt,templates/query: Added $unstem to map
	  a stemmed term to the form(s) used in the query; $queryterms now
	  only includes the first occurrence of each stemmed form; $prettyterm
	  uses the unstem map.

Sat Dec 21 17:47:33 GMT 2002  Olly Betts <olly@survex.com>

	* scriptindex.cc,docs/scriptindex.txt: Replaced index=nopos with
	  indexnopos action; index and indexnopos now take an optional
	  prefix argument; index=nopos is handled specially for backwards
	  compatibility.

Sat Dec 21 17:18:02 GMT 2002  Olly Betts <olly@survex.com>

	* scriptindex.cc,docs/scriptindex.txt: Added new scriptindex action
	  date=FORMAT to generate terms for date range searching.

Sat Dec 21 01:51:32 GMT 2002  Olly Betts <olly@survex.com>

	* templates/query: Stop topterms sticking out of green box with
	  gecko based browsers.

Sat Dec 21 01:44:53 GMT 2002  Olly Betts <olly@survex.com>

	* Makefile.am: Distribute docs/scriptindex.txt.
	* docs/omegascript.txt: It's $setrelevant not $set_relevant.

Sat Dec 14 13:54:10 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.6.3; removed -Wno-long-long as we don't use
	  long long here.
	* query.cc: Compilation fixes.
	* templates/query: Don't call $topterms twice!

Sat Dec 14 01:10:48 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc: Updated in line with removal of OmSettings.

Wed Dec 11 00:58:49 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in,query.cc,docs/omegascript.txt,templates/query:
	  Added $time which reports how long the match took - when searching
	  on a remote website, it's hard to gauge how much time is taken by
	  the search, and how much by the web server and browser; renamed
	  and_vec to or_vec which better describes its purpose.

Mon Dec 09 17:11:26 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt,templates/query: Added $dbsize
	  to return the number of documents in the database being searched.
	  Use this in the default query template on the "front page" shown
	  when there's no search.

Mon Dec 09 02:55:46 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt,templates/query: Added $msizeexact
	  which returns "true" if $msize if exact (or "" if it is estimated).
	  This means that you'll see "... of about N matches" less often -
	  notably it's gone when searching for a single term, which is a
	  pretty common case.

Sun Dec 08 08:42:47 GMT 2002  Olly Betts <olly@survex.com>

	* scriptindex.cc: Replaced icky unportable code which set the filename
	  to "/dev/fd/0" in order to read from stdin.

Sun Dec 08 06:39:30 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt: Fixed $hitlist to complain if more
	  than one parameter is passed; $topterms now defaults to 16 terms
	  rather than 20; $topterms now weeds out terms which stem to the
	  same as those in the query, or those already in $topterms.

Sun Dec 08 06:36:04 GMT 2002  Olly Betts <olly@survex.com>

	* templates/query: Make background white - the very light grey just
	  looks dirty; fixed exclusion of TopTerms Javascript when there
	  are not TopTerms; sample now <small>; language and size now
	  appear when the corresponding fields are present; fixed
	  unmatched </small>; fixed missing list of terms matching
	  each document.

Sat Dec 07 21:20:31 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.6.2.

Sat Dec 07 21:04:31 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc: Prefer "while (true)" to "while (1)".

Fri Dec 06 04:41:05 GMT 2002  Olly Betts <olly@survex.com>

	* omindex.cc: Index .php files by default; non-zero return code if
	  an exception is caught.

Fri Dec 06 04:30:17 GMT 2002  Olly Betts <olly@survex.com>

	* htmlparse.cc: Ignore PHP tags and their contents; fixed tag
	  scanning code to never read one character past the end of
	  the document.

Wed Dec 04 18:42:51 GMT 2002  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,omindex.cc,query.cc,scriptindex.cc:
	  Updated in line with OmSettings related changes to the API.

Wed Dec 04 17:13:43 GMT 2002  Olly Betts <olly@survex.com>

	* query.cc: Fixed $dbname to return "default" for the default
	  database, rather than "" - this fixes paging in searches of the
	  default database.
	* templates/query: Removed xDEFAULTOP hidden field which is no longer
	  used.

Wed Dec 04 11:57:13 GMT 2002  Olly Betts <olly@survex.com>

	* templates/query: Removed bogus unmatched '}'.

Thu Nov 28 20:24:08 GMT 2002  Olly Betts <olly@survex.com>

	* omega.cc,query.cc: Updated in line with OmEnquire::get_eset() no
	  longer taking an OmSettings object.

Wed Nov 27 19:02:12 GMT 2002  Olly Betts <olly@survex.com>

	* dbi2omega: Return fields in table order; more efficient;
	  report any error reading a row; if we get a NULL field,
	  don't output it, and suppress perl warning about use of
	  an undefined program.

Wed Nov 27 05:22:04 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in: Set version to 0.6.0.

Wed Nov 27 05:21:00 GMT 2002  Olly Betts <olly@survex.com>

	* configure.in,htmlparse.h,omindex.cc,scriptindex.cc:
	  Use "-Wall -W" rather than "-Wall -Wunused", and fixed the
	  warnings this reveals.

Wed Nov 27 04:20:13 GMT 2002  Olly Betts <olly@survex.com>

	* Makefile.am,dbi2omega: Added perl script to dump any database
	  which perl DBI can access into the dump format expected by
	  scriptindex.

Wed Oct 30 02:02:32 GMT 2002  Olly Betts <olly@survex.com>

	* omega.spec.in: Use bootstrap instead of buildall; don't use "-j4"
	  with make - most people don't all have quad processor boxes!

Wed Oct 30 01:56:31 GMT 2002  Olly Betts <olly@survex.com>

	* buildall: Removed in favour of bootstrap script.

Tue Oct 29 02:01:58 GMT 2002  Olly Betts <olly@survex.com>

	* omindex.cc,scriptindex.cc: Added MAX_PROB_TERM_LENGTH (set to
	  64) to limit size of probabilistic terms.

Sat Oct 12 17:09:55 BST 2002  Olly Betts <olly@survex.com>

	* bootstrap: Copied bootstrap script from xapian-core.

Sat Oct 12 17:05:37 BST 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.5.3.

Wed Oct 09 16:55:56 BST 2002  Olly Betts <olly@survex.com>

	* omega.cc,omega.h,query.cc,docs/{cgiparams.txt,omegascript.txt},
	  templates/query: revamped the "reset first page when filter changes"
	  scheme - all filtery things are now serialised and put into the
	  xFILTER CGI parameter, which copes with multiple B values.  Support
	  for the old way (xB, xDATE1, xDATE2, xDAYSMINUS, xDEFAULTOP) is
	  included for now (but only copes with a single B value).  Added (and
	  documented) $filters Omegascript command to implement this.
	* query.cc: fixed handling of case when topdoc is non-zero, but
	  no matches were found.  This was causing topdoc to be set to -6!
	* query.cc: fixed handling of prefixes starting with an X.

Wed Oct 09 15:35:54 BST 2002  Olly Betts <olly@survex.com>

	* .cvsignore: Added scriptindex and omega-*.tar.gz; removed libtool.

Sun Oct 06 18:56:40 BST 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.5.2.

Thu Oct 03 16:42:06 BST 2002  Olly Betts <olly@survex.com>

	* query.cc: Added CMD_hit to enumeration.

Wed Oct 02 17:02:25 BST 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.5.1.
	* Makefile.am,configure.in: require automake 1.6.3 and autoconf 2.54
	  since xapian-core does anyway, and it neatens configure.in slightly.

Wed Oct 02 16:58:39 BST 2002  Olly Betts <olly@survex.com>

	* query.cc,docs/omegascript.txt: Added $hit which gives the m-set
	  number of the current hit.

Sun Sep 22 15:47:33 BST 2002  Olly Betts <olly@survex.com>

	* configfile.cc: Corrected use of string.data() to string.c_str().

Sun Sep 22 03:53:35 BST 2002  Olly Betts <olly@survex.com>

	* templates/query: Updated xapian url to http://www.xapian.org/

Fri Sep 20 15:36:35 BST 2002  Olly Betts <olly@survex.com>

	* configure.in: Version 0.5.0.

Sun Sep 15 03:07:31 BST 2002  Richard Boulton <richard.boulton@omsee.com>

	* buildall: Update to latest version, to fix bug with VPATH version
	  checking for autoconf.

Thu Sep 12 15:11:16 BST 2002  Olly Betts <olly@survex.com>

	* htmlparse.cc: Add comment about string::replace() invalidating
	  iterators.

Thu Sep 12 13:38:05 BST 2002  Olly Betts <olly@survex.com>

	* omegascript.vim,omegascript.txt,query.cc: cosmetic tweaks.

Thu Sep  5 14:47:54 BST 2002  Richard Boulton <richard@tartarus.org>

	* configure.in: Don't use libtool.  I don't know why I ever thought
	  it was needed.

Thu Sep  5 14:11:51 BST 2002  Richard Boulton <richard@tartarus.org>

	* query.cc: Change $and to return true iff all its arguments are
	  not false, rather than if one or more of the arguments is false.
	* docs/omegascript.txt: Update documentation of $and{}

Fri Aug 23 13:27:02 BST 2002  James Aylett  <tartarus@users.sourceforge.net>

	* docs/quickstart.txt: encourage people to call their first
	  database 'default' since this will work straight off.

Wed Aug 21 17:52:36 BST 2002  Richard Boulton <richard@tartarus.org>

	* query.cc: Add $slice{} command, to slice a list at a set of
	  positions (given by a second list).
	  Also, bugfix: require $hitlist{} to take at least one parameter:
	  it currently segfaults if given none.
	* docs/omegascript.txt: Document $slice{}.
	* extra/omegascript.vim: Update syntax highlighting.

Wed Aug 21 18:03:43 BST 2002  James Aylett  <tartarus@users.sourceforge.net>

	* omindex.cc: tidy up output so it doesn't wrap so much

Wed Aug 21 18:01:38 BST 2002  James Aylett  <tartarus@users.sourceforge.net>

	* htmlparse.cc: fixed bug in entity reference handling

Wed Aug 21 13:21:12 BST 2002  James Aylett  <tartarus@users.sourceforge.net>

	* omindex.cc: Bugfix to metaterm generation when operating on an
	  absolute URL that is also at the root of its web server.

Wed Aug 21 10:48:06 BST 2002  Richard Boulton <richard@tartarus.org>

	* scriptindex.cc: If a field has multiple instances, keep all of
	  them (previously only kept the final occurrence).
	* docs/scriptindex.txt: Mention that multiple instances of fields
	  are permitted.

Tue Aug 20 18:02:45 BST 2002  James Aylett  <tartarus@users.sourceforge.net>

	* docs/quickstart.txt: correct for new(ish) omindex behaviour

Sat Aug 17 13:38:57 BST 2002  Richard Boulton <richard@tartarus.org>

	* extra/omegascript.vim: Quick attempt at a vim syntax highlighting
	  file for omegascript.  Recognises files only if they're in a
	  directory called "templates": perhaps we should adopt a suffix to
	  make recognition easier.
	  Read the file for installation instructions.

Thu Aug 15 11:21:20 BST 2002  Richard Boulton <richard@tartarus.org>

	* scriptindex.cc: Allow updating of databases by a command line
	  switch, and also turn off verbose output (can be turned back
	  on with a switch).
	* docs/scriptindex.txt: Document the "unique" tag.

Thu Aug 15 11:18:21 BST 2002  Richard Boulton <richard@tartarus.org>

	* buildall: Copy buildall from xapian-core - the old one breaks
	  for me (due to odd aclocal paths) but the new one is fine.
	  We should make a common module to hold build stuff to be shared
	  between modules, though.

Mon Aug 12 01:34:42 BST 2002  Richard Boulton <richard@tartarus.org>

	* scriptindex.cc: Bug fix - index without positional information
	  if "nopos" is specified, rather than the other way around.
	  Bug fix - don't completely eradicate newlines in multiline values,
	  until they have a chance to be converted to spaces.
	  Delete documents if no fields other than unique fields are
	  specifed.
	  Add some simple debugging, and write messages to a log file in
	  the database directory.

	* configure.in: Use libtool.

Fri Aug  9 13:57:32 BST 2002  Richard Boulton <richard@tartarus.org>

	* scriptindex.cc: Fix compile errors, by changing string
	  constructors to take begin and end iterators, instead of a begin
	  and a length.

Fri Jul 05 19:33:55 BST 2002  Olly Betts <olly@survex.com>

	* omega.spec.in: Fixed wrt /usr/lib/omega/bin/omega.

Fri Jul 05 19:20:05 BST 2002  Olly Betts <olly@survex.com>

	* Makefile.am, docs/quickstart.txt: Install omega as
	  ${prefix}/lib/omega/bin/omega.

Thu Jul 04 02:11:46 BST 2002  Olly Betts <olly@survex.com>

	* scriptindex.cc, docs/scriptindex.txt: new indexer - indexing
	  behaviour is controlled by a simple but powerful script.

	* Makefile.am: tidied up.

	* configfile.cc, docs/quickstart.txt: database and templates default to
	  being in /var/lib/omega rather than /home/omega.

	* docs/quickstart.txt: describe the new test mode (command line) rather
	  than the old one (stdin).

	* omega.cc, docs/cgiparams.txt: If xP isn't set, honour paging and
	  R-set.  So RAW_SEARCH now only disables snapping TOPDOC to a multiple
	  of HITSPERPAGE.

	* query.cc: "using namespace std;"

Fri Jun 14 00:07:20 BST 2002  Olly Betts <olly@survex.com>

	* $prettyterm{} no longer adds a trailing '.' if the term also exists
	  with an R prefix and stems to itself.

Fri Jun 14 00:02:16 BST 2002  Olly Betts <olly@survex.com>

	* MORELIKE can now take a termname - this allows MORELIKE to be used
	  with a unique id from an external database if it has been indexed
	  as a boolean term.

Thu Jun 13 00:01:11 BST 2002  Olly Betts <olly@survex.com>

	* omega.conf: removed trailing slashes from directory names.

	* query.cc: removed extra slash added to template_dir; improved
	  reporting of errors opening template file.

Wed Jun 12 23:51:11 BST 2002  Olly Betts <olly@survex.com>

	* Added an alternative test mode - you can now pass parameters as
	  command line arguments, which is more convenient for repeating
	  the same test query, and for automated testing, e.g.:

	    omega 'P=information retrieval' DB=papers

	  If the first parameter starts with a "-" and doesn't contain an
	  "=", omega now outputs the version string and stops (to gracefully
	  handle "omega --version" and "omega --help".

Wed Jun 12 23:39:20 BST 2002  Olly Betts <olly@survex.com>

	* omindex.cc: removed OLD_PREFIXES code - shout if you were using it.

Fri May 17 14:09:25 BST 2002  Olly Betts <olly@survex.com>

	* Pass the database to the query parser (not used there at present,
	  but will allow wildcarded searches, etc to be implemented).

Thu May 16 17:57:34 BST 2002  Olly Betts <olly@survex.com>

	* <algo.h> -> <algorithm>.

Thu May 16 15:41:14 BST 2002  Sam Liddicott <sam@ananova.com>

	* Removed extra package again!

	* Moved images to /var/www/icons/omega till we think of something
	  better.  Should be the most harmless solution that still works
	  without requireing too much brains on the part of the installer

Thu May 16 14:53:54 BST 2002  Sam Liddicott <sam@ananova.com>

	* Moved images to a separate optional package to stop touching
	  user's web tree until we work out what to do.  sysadmin can
	  still install images if he wants and on a redhat box they will
	  end up in the right place. This will no doubt get revisted later,
	  that's fine by me.

Thu May 16 13:31:27 BST 2002  Sam Liddicott <sam@ananova.com>

	* Added loads more missing files like images and templates to the
	  package

	* Also fixed the templates to use the new images dir (if they used
	  images, which they actually don't)

Thu May 16 12:56:55 BST 2002  Sam Liddicott <sam@ananova.com>

	* Fixes to spec file to add various missing files

Wed May 15 12:59:37 BST 2002  Olly Betts <olly@survex.com>

	* omindex now understand acronyms (N.A.T.O. E.T ...).

	* $highlight{} now understands "&" (AT&T M&S ...) and acronyms.

Tue May 14 13:08:41 BST 2002  Olly Betts <olly@survex.com>

	* Index <word>&<word> as a single term (e.g. AT&T, M&S, A&P).

Tue May 14 12:37:49 BST 2002  Olly Betts <olly@survex.com>

	* omindex.cc: cleaned up a little.

Tue May 14 11:24:42 BST 2002  Olly Betts <olly@survex.com>

	* Fixed config.h inclusion; using std::*.

Tue May 14 11:18:37 BST 2002  Olly Betts <olly@survex.com>

	* Updated.

Tue May 14 11:16:03 BST 2002  Olly Betts <olly@survex.com>

	* Added SORT and SORTBANDS.

Mon May 13 12:52:29 BST 2002  Olly Betts <olly@survex.com>

	* Autoconf 2.50.

	* Commented out omindex-config (since it's unfinished) and XML support
	  (since only omindex-config uses it).

Thu May 02 16:06:02 BST 2002  Olly Betts <olly@survex.com>

	* Updated to reflect removal of OmData.

Wed May 01 11:26:59 BST 2002  Olly Betts <olly@survex.com>

	* Changed to use queryparser in libomqueryparser.

Tue Apr 23 15:10:42 BST 2002  Olly Betts <olly@survex.com>

	* Make buildall smart enough to generate aclocal.m4 properly and
	  remove acinclude.m4.  It now also extracts the package name from
	  configure.in so we can use the same buildall everywhere; fixed
	  problem with double use of AM_CXXFLAGS in Makefile.am.

Tue Apr 23 14:27:29 BST 2002  Olly Betts <olly@survex.com>

	* Updated for xapian-config and xapian.m4 changes.

Thu Apr 18 14:37:05 BST 2002  Olly Betts <olly@survex.com>

	* Updated buildall; minor tweaks to configure.in.

Wed Apr 17 12:31:18 BST 2002  Olly Betts <olly@survex.com>

	* Removed references to xapian-config uninst options.

Fri Apr 12 15:48:33 BST 2002  Olly Betts <olly@survex.com>

	* Remove parsequery.cc on "make maintainer-clean".

Fri Apr 12 16:19:19 BST 2002  Olly Betts <olly@survex.com>

	* Require automake 1.5.

Fri Apr 12 12:47:04 BST 2002  Olly Betts <olly@survex.com>

	* Tweaked what gets interpreted as a phrase.

Fri Apr 12 12:44:00 BST 2002  Olly Betts <olly@survex.com>

	* Fixed to use AM_CFLAGS and AM_CXXFLAGS.

Mon Apr 01 23:34:09 BST 2002 Olly Betts <olly@survex.com>

	* Fixed support for decimal numeric entities (e.g. "&#246;")

	* Added support for all iso-8859-1 named entities (e.g. "&ouml;")

Mon Apr 01 15:07:31 BST 2002 Olly Betts <olly@survex.com>

	* Applied patch from "orion orion" to fix problem in HTML parsing.

Mon Mar 25 13:11:14 GMT 2002  Olly Betts <olly@survex.com>

	* More tolerant treatment of random punctuation in query.

Mon Feb  4 14:57:36 GMT 2002  Sam Liddicott  <sam@ananova.com>

	* Added support for repeated fields in document data.
	  $field{fieldname} may now return multiple tab separated values if
	  more than one instance of a field exists in the document data

Tue Jan 15 16:29:39 GMT 2002  Sam Liddicott  <sam@ananova.com>

	* Fixed date_range_filter for the case where DATE1 and DATE2 don't
	  share the same MONTH and YEAR and M## terms for intermediate months
	  need calculating between the years.

Thu Jan 10 15:39:43 GMT 2002  Sam Liddicott  <sam@ananova.com>

	* Added $htmlstrip{} to strip out html tags

Thu Jan 10 14:34:35 GMT 2002  James Aylett  <tartarus@users.sourceforge.net>

	* toptermsjs snippet now included inside the HEAD, so it's
	  actually legal HTML. Snippet now sets the required 'type'
	  attribute as well. (It keeps the technically illegal
	  'language' attribute because I have a sneaking suspicion it
	  won't work otherwise.)

Thu Jan 10 14:30:19 GMT 2002  James Aylett  <tartarus@users.sourceforge.net>

	* $opt with two arguments now acts as a lookup for a $setmap
	  map. This was previously documented in a misleading fashion.
	  The new system is backwards compatible with the old.

Wed Jan 9  Sam Liddicott  <sam@ananova.com>

	* Added RAW_SEARCH as cgi param which when set stops change-search
	  detection being performed and processes rset, topdoc and page-change
	  parameters ( [ ] < > 1 2 etc etc ) anyway

	* Added MIN_HITS cgi param to request many more hits than can
	  fit on the page so we can be confident that the next few
	  consecutive pages will really be needed

	* Added xml template which when combined with RAW_SEARCH=1
	  can be very useful when searching is done from another
	  script

Fri Dec 21 17:56:02 GMT 2001  Olly Betts <olly@survex.com>

	* Namespace fixes to allow use of find and find_if on Redhat's
	  "GCC 2.96".

Fri Dec 21 17:53:59 GMT 2001  Olly Betts <olly@survex.com>

	* Added quick'n'dirty interface to allow experimentation with
	  OmBiasFunctor.

Thu Dec 20 14:46:33 GMT 2001  Olly Betts <olly@survex.com>

	* Document xDB, xDAYSMINUS, xDATE1, xDATE2, xB.

Thu Dec 20 12:55:29 GMT 2001  Olly Betts <olly@survex.com>

	* Use double quotes on parameters to <BODY>.

Mon Dec 17 15:01:43 GMT 2001  Olly Betts <olly@survex.com>

	* Get rid of whitespace between hundreds and tens image in page
	  links.

Fri Dec 14 17:26:48 GMT 2001  Olly Betts <olly@survex.com>

	* Force first page of hits if DB, DEFAULTOP, B, DAYSMINUS, DATE1,
	  or DATE2 changes; also clear relevance judgements if DB changes.

Fri Dec 14 16:21:07 GMT 2001  Olly Betts <olly@survex.com>

	* Removed restriction on minimum page size (was 10) - for a shopping
	  type application with images next to each hit, 5 or fewer per page
	  might be reasonable; even one result per page makes sense for some
	  applications.

Fri Dec 14 15:37:20 GMT 2001  Olly Betts <olly@survex.com>

	* Added $error to make nicer error reporting possible.

Fri Dec 14 14:49:18 GMT 2001  Olly Betts <olly@survex.com>

	* Give more helpful messages for query syntax errors in cases where
	  we can without elaborate YACC hackery.

Thu Dec 13 15:10:24 GMT 2001  Olly Betts <olly@survex.com>

	* For image page buttons, display pages 10-999 by using 2 or 3 images.

Thu Dec 13 15:02:16 GMT 2001  Olly Betts <olly@survex.com>

	* New operators: $div{}, $mod{}, $mul{}, $sub{}, $ge{}, $gt{}, $le{},
	  $lt{}.

Wed Dec 12 16:37:47 GMT 2001  Olly Betts <olly@survex.com>

	* Updated omegascript documentation.

Wed Dec 12 15:43:19 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed TOPDOC clipping.

Wed Dec 12 15:36:20 GMT 2001  Olly Betts <olly@survex.com>

	* templates/query: Fixed typo which caused "..." to appear after
	  page buttons when it wasn't appropriate.

Wed Dec 12 15:11:23 GMT 2001  Olly Betts <olly@survex.com>

	* omega: Added stopword list (still hardcoded at present though).

Wed Dec 12 12:46:57 GMT 2001  Olly Betts <olly@survex.com>

	* omindex: index unstemmed terms with prefix 'R' (mnemonic: Raw).

	* omega: $topterms will now return terms with prefix 'R'.

	* parsequery.yy: fixed handling of DEFAULT_OP; "+first second" and
	  "-first second" now work; stopwording queries working (currently
	  stopword list is hardwired to just "the") - stopwords are ignored
	  when used as normal terms, but not in phrases, or with + and -.

	* templates/query: make use of $prettyterm{}.

Wed Dec 12 11:11:30 GMT 2001  Olly Betts <olly@survex.com>

	* $highlight{} now uses find_if not find_first_of (faster).

	* Fixed detection of new/old/extended query when a term occurs
	  in the query more than once.

	* Added $prettyterm{TERM} to convert a probabilistic term for
	  display to the user.

	* $map would allow more than two arguments, but ignore them.  Fixed
	  to take exactly two.

Fri Dec 07 15:59:21 GMT 2001  Olly Betts <olly@survex.com>

	* Added macros to OmegaScript.

	* template/query: updated to use macros.

	* Removed specialcase to allow no-argument commands to accept an empty
	  argument list (e.g. "$thispage{}" rather than "$thispage").  The only
	  reason this was useful was to allow "$thispage{}s" which can just as
	  well be written using a comment to force the parser do what you want,
	  e.g. "$thispage${}s".

Thu Dec 06 18:59:34 GMT 2001  Olly Betts <olly@survex.com>

	* If a stemmer is set, and all_stem isn't, only stemmer terms starting
	  with a lowercase letter.

Thu Dec 06 18:49:40 GMT 2001  Olly Betts <olly@survex.com>

	* parsequery.yy: changed to use find_if() (faster than find_first_of()).

Thu Dec 06 17:46:37 GMT 2001  Olly Betts <olly@survex.com>

	* Base page links on estimated number of matches, not minimum.

Wed Dec 05 17:07:33 GMT 2001  Olly Betts <olly@survex.com>

	* omindex: minor speed tweaks.

Wed Dec 05 16:52:21 GMT 2001  Olly Betts <olly@survex.com>

	* omindex: further HTML parser speed-ups.

Wed Dec 05 16:31:33 GMT 2001  Olly Betts <olly@survex.com>

	* omindex: sped up HTML parsing.

Wed Dec 05 14:52:53 GMT 2001  Olly Betts <olly@survex.com>

	* omindex: parsing terms from text is now twice as fast.

Thu Nov 29 16:53:45 GMT 2001  Olly Betts <olly@survex.com>

	* NEAR phrases (e.g. "a NEAR b NEAR c") now work; removed "{a b c}"
	  syntax for NEAR phrases.

Thu Nov 29 15:25:54 GMT 2001  Olly Betts <olly@survex.com>

	* $highlight{} now allows you to specify the tags to use for the
	  highlighting.

Thu Nov 29 15:24:53 GMT 2001  Olly Betts <olly@survex.com>

	* topdoc is unsigned so subtracting and then checking if it's < 0
	  doesn't work...

Wed Nov 28 15:45:39 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed clipping of hit page in case when there are a multiple of
	  HITSPERPAGE matches.

Wed Nov 28 14:03:48 GMT 2001  Olly Betts <olly@survex.com>

	* Added $hostname{URL}; $version output now says "Xapian - omega
	  <version>".

Wed Nov 28 13:04:46 GMT 2001  Olly Betts <olly@survex.com>

	* docs/cgiparams.txt: Minor corrections and updates.

Wed Nov 28 13:03:40 GMT 2001  Olly Betts <olly@survex.com>

	* If we're asked for a page of hits beyond the end of the matches, clip
	  to the last page of matches rather than the first.

Wed Nov 28 13:02:31 GMT 2001  Olly Betts <olly@survex.com>

	* For an EXTENDED_QUERY, force the first page of hits.

Wed Nov 28 12:56:56 2001  James Aylett  <tartarus@users.sourceforge.net>

	* Lower case terms when constructing the query (otherwise why
	  do we store them in the database that way? :-)

Wed Nov 28 12:36:49 GMT 2001  Olly Betts <olly@survex.com>

	* Fettled default query template.

Wed Nov 28 12:33:52 GMT 2001  Olly Betts <olly@survex.com>

	* Request one more match than the last we want to display so we can
	  tell if the next page of hits is empty or not - otherwise we risk
	  offering a "next page" link when there are no more hits.

Mon Nov 26 16:28:00 2001  James Aylett  <tartarus@users.sourceforge.net>

	* --no-recurse / -l option added; useful if your sites are
	  nested in their disc storage (particularly things like
	  http://example.com/ being a distinct site, with
	  http://example.com/product being within it)

	* --mime-type now really works (it was --mime-map in the code)

	* documentation updated further

Mon Nov 26 14:39:00 2001  James Aylett  <tartarus@users.sourceforge.net>

	* options parsing fixed so minimised/unrecognised long options
	  doesn't segfault

Mon Nov 26 14:00:13 2001  James Aylett  <tartarus@users.sourceforge.net>

	* omindex can now index part of a site (previously 'subsite')
	  by having an index base within the site's disc storage

Mon Nov 26 13:57:10 2001  James Aylett <tartarus@users.sourceforge.net>

	* Documentation updated for recent changes

Thu Nov 22 13:24:45 GMT 2001  Olly Betts <olly@survex.com>

	* Use $nice{} in query template, but don't use $freqs.  Use numbers as
	  page image button tooltips on Netscape 4.

Thu Nov 22 13:02:17 GMT 2001  Olly Betts <olly@survex.com>

	* Herded escaped CGI parameter mangling code back into cgiparam.cc;
	  added special handling for  numeric image button names.

Thu Nov 22 12:55:00 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed $nice to put the comma (or dot) in the right place.

Tue Nov 20 17:30:19 GMT 2001  Olly Betts <olly@survex.com>

	* $lastpage now returns 0 when there are no matches (previously
	  gave a very large answer).

Tue Nov 20 12:30:47 GMT 2001  Olly Betts <olly@survex.com>

	* $terms now only returns terms which were in the parsed query
	  (boolean filter terms are excluded).

Tue Nov 20 12:07:54 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed bug in date range filtering (got it wrong when start and end
	  date were in the same month).

	* DAYSMINUS now counts back from DATE1 (if specified) rather than
	  always counting back from the present.

Mon Nov 19 17:13:24 GMT 2001  Olly Betts <olly@survex.com>

	* Added date-range filtering (not fully tested yet).

Mon Nov 19 15:21:31 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed (c) message displayed by -v (BrightStation "PLC" not "Inc.",
	  first (c) 1999).

Fri Nov 16 11:49:20 GMT 2001  Olly Betts <olly@survex.com>

	* New OmegaScript commands: $allterms{<docid>}, $freq{<term>},
	  $nice{<number>}, $set_relevant{<docid>}.

	* $map{} now returns a list (shouldn't affect most users - if
	  the extra tabs are a problem, change `$map{...}' to
	  `$list{$map{...},}' ).

	* Template `query' now preserves value of THRESHOLD.

	* Template `godmode' fixed to actually work.

Wed Nov 14 15:04:13 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed to compile with GCC3.0

Wed Nov 14 14:54:53 GMT 2001  Olly Betts <olly@survex.com>

	* Updated for changes to OmQuery

Tue Nov 06 13:10:15 GMT 2001  Olly Betts <olly@survex.com>

	* Updated .cvsignore.

Tue Nov 06 13:02:04 GMT 2001  Olly Betts <olly@survex.com>

	* Fixed lookup of CGI parameter THRESHOLD.

Tue Nov  6 12:38:37 GMT 2001  Richard Boulton <richard@tartarus.org>

	* Moved configure.ac to configure.in: depending on autoconf 2.13 is
	  not needed yet.

Tue Nov 06 12:23:55 GMT 2001  Olly Betts <olly@survex.com>

	* Added support for percentage threshold cutoff (CGI var THRESHOLD);
	  Code for calculating better percentages has been pushed into Xapian
	  so removed it from here.

Mon Nov  5 12:42:26 GMT 2001  Richard Boulton <richard@tartarus.org>

	* Omega moved to new home, from om-examples/omega.
	  Standalone build system added.



