Update NEWS from git log
[xapian.git] / xapian-applications / omega / NEWS
blob03d3dd92f514f5e83b331a09d57f50cdba34dcd0
1 up to: 303e01feb1af9d5cc4ed46696c8893ca0cab0cfb
3 Omega 1.4.20 (2022-06-23):
5 general:
7 documentation:
9 indexers:
11 * omindex:
13   + OpenDocument: Previously we only inserted an implicit space before each
14     paragraph.  Now we insert them both before and after each paragraph and
15     heading, and before forced each line-break and tab.
17   + Add extension mapping for .awt (Abiword templates).
19   + Index metadata from XPS files.
21   + Remove lingering handling for database backends without slot bounds since
22     all backends have been required to support these since 1.4.11.
24 * scriptindex:
26   + Process an incomplete final line from a dump file.  Previously if the final
27     line lacked a newline scriptindex would quietly ignore it (unless it was
28     the only line).
30   + The `unique` action now takes an optional `missing` parameter to specify
31     what to do if a record doesn't trigger the unique action or triggers it
32     with an empty value.  The default is now to issue a warning and create a
33     new document (the same as before, except that there was only previously a
34     warning for the empty value case). In Omega 1.5.0 the default will change
35     to an error as that seems a better default, but is less compatible with
36     potential existing use.
38   + If we hit an error while parsing the index script we used to exit right
39     away, but now we finish parsing the index script since it's more helpful to
40     report all the errors in an index script rather than the user having to
41     fix them one by one.  This requires us to sensibly recover after each index
42     script parse error - if you find a case where this recovery triggers
43     further bogus errors please report it and we'll try to improve the
44     recovery.
46   + In four cases while handling input data (two cases of bad hex data fed
47     to `hextobin`, an input data line without a `=`, and `load` failing to
48     load the specified file) we'd emit a diagnostic that was labelled as an
49     "error" but really it was handled as a warning as we kept reading input
50     and the "error" didn't affect the exit status.  It doesn't really make
51     sense to continue in any of these cases so we now exit with non-zero status
52     right away.
54   + A parameter in the index script which should be an integer but isn't, or
55     should be positive but isn't now gives an error rather than a warning since
56     an error seems more helpful.
58   + All diagnostics issued while parsing the index script now include column
59     information.
61   + Avoid forcibly flushing the output stream after every message.
63 omega:
65 templates:
67 testsuite:
69 * Improve test coverage for scriptindex.
71 build system:
73 portability:
75 * Require PCRE2 instead of PCRE. The original PCRE is now EOL and unmaintained
76   (last release was June 2021).  In omega it's potentially used to process
77   input from the internet, so security is a real concern hence we're switching
78   to PCRE2.
80 packaging:
82 Omega 1.4.19 (2021-12-31):
84 documentation:
86 * configure: Add missing AC_ARG_VAR for all programs so that they are
87   documented in --help output, and so that autoconf knows they are "precious"
88   and preserves them if configure is rerun even when they're specified via an
89   environment variable.
91 * Add usage examples for $jsonobject.
93 * Fix path to omega in quickstart document.  Fixes #813, reported by Jim Lynch.
95 * Update for the IRC channel move from freenode to libera.chat.
97 indexers:
99 * Fix handling of UTF-16 BOMs in XML and HTML - we had the sense of the
100   endianness indicated by the BOM the wrong way round.
102 * Avoid making an extra temporary copy of HTML/XML data which has a UTF16 BOM.
104 * We now ignore an end of line immediately after a PHP close tag to match what
105   PHP does.
107 * omindex:
109   + Fix handling of formatted xlsx dates in certain cases.
111 * scriptindex:
113   + Add new scriptindex whitespace removal actions `ltrim`, `rtrim`, `squash`,
114     and `trim`.
116   + Improve `truncate` action - if a word ends exactly on the requested length
117     we now leave it in place rather than removing it.
119   + Report the location of previous `unique` action in the error given when
120     `unique` is used more than once.
122 omega:
124 * Clamp START and END with packed timestamps.  The 4-byte unsigned packed
125   time_t format can't represent dates before 1970 or after Sun 07 Feb 2106
126   06:28:15 UTC so clamp dates before or after these - previously they would
127   wrap around.
129 * The JSON produced by $jsonobject no longer contains newlines, which makes it
130   usable as a single line serialisation format without post-processing.
132 * Add $base64 OmegaScript command.
134 * omega: Add flag_no_positions to wrap new
135   Xapian::QueryParser::FLAG_NO_POSITIONS.
137 templates:
139 * Fix topterms template to not trigger early matching.  We were checking $msize
140   before including the `query` template, but doing so would trigger the query
141   to be run, which means that settings early in the `query` template which
142   should affect the result (such as $setmap{prefix,...}) were being ignored
143   when the `topterms` template was used.  Partly addresses #815, reported by
144   Gennadiy.
146 * Add field support to opensearch and xml templates.  These templates now also
147   search title, topic and filename by default and support `title:`, `author:`
148   and `topic:` in the query string (both like the template `query` already
149   does). Fixes remaining issue in #815, reported by Gennadiy.
151 testsuite:
153 * Expand omegatest.  All scriptindex actions now have test coverage.
155 build system:
157 * Replace uses of obsolete autoconf macros, fixing warnings if configure is
158   regenerated with a recent release of autoconf.
160 portability:
162 * Don't automatically use _FORTIFY_SOURCE on mingw-w64.  Recent mingw-w64
163   versions require -lssp to be linked when _FORTIFY_SOURCE is enabled, so just
164   skip the automatic enabling.  Users who want to enable it can specify it
165   explicitly.
167   Fixes #808, reported by xpbxf4.
169 * Automatically enable GCC warnings -Wduplicated-cond and -Wduplicated-branches
170   if using a GCC version new enough to support them.  The usefulness of
171   -Wduplicated-cond was highlighted by dcb in #816.
173 * Fix GCC -Wshadow warning.
175 * Use clock_gettime() and nanosleep() under modern mingw as these allow higher
176   precision than what we previously used.
178 Omega 1.4.18 (2021-01-14):
180 indexers:
182 * omindex:
184   + Add default MIME mapping for application/rtf.  IANA have registrations for
185     text/rtf and (more recently) application/rtf (it seems because newer
186     versions of the RTF format can contain 8-bit data) so we now recognise
187     application/rtf by default and handle it the same way as text/rtf.
189     Current libmagic seems to always return text/rtf (no matches for
190     application/rtf in magic.mgc) and we continue to map extension rtf to
191     text/rtf, so this change is mainly future-proofing against libmagic future
192     changes.
194   + Add support for indexing OpenXPS, which is effectively the same as XPS
195     internally in ways we care about, but it uses a different mimetype and a
196     different filename extension.
198 omega:
200 * Explicitly use OR for MORELIKE queries.
202   Since 1.3.0 the default value of DEFAULTOP has been AND, which typically
203   makes MORELIKE queries much less useful since they'll only match documents
204   containing all the terms from the query expansion.  We now explicitly insert
205   " OR " between the terms if DEFAULTOP hasn't been set to OR, which makes them
206   work much more like they did in 1.2.x.
208 * Make $stoplist and $unstem consider all query strings by always passing the
209   new Xapian::QueryParser::FLAG_ACCUMULATE flag.
211 * Add $foreach command which works like $map, but just concatenates the
212   evaluated results rather than adding tabs to turn them into an OmegaScript
213   list.
215 * Extend $include{} to allow handling failure to open the specified file via an
216   optional second argument which if specified will be evaluated and returned
217   instead.  Patch from Gaurav Arora.
219 * Support multiple MORELIKE parameters - we now form an RSet from all the
220   specified documents and use that to generate the query to run (previously
221   only one of multiple MORELIKE parameters was used).
223 Omega 1.4.17 (2020-08-21):
225 documentation:
227 * Document comment format supported by scriptindex index scripts.  We've
228   supported comments on a line by themselves and introduced with a # since
229   scriptindex was first added back in 2002, but it seems have never actually
230   been documented before now.
232 omega:
234 * Check for SERVER_PROTOCOL=INCLUDED before anything which might throw an
235   exception so that if it is set we suppress the Content-Type: when reporting
236   such exceptions.  Spotted by Gaurav Arora.
238 * Report get_description() for Xapian::Error exceptions instead of get_msg().
239   This means we now report the exception's type, context (useful for network
240   errors), and errno information.
242 * Avoid leaking MyStopper object.  The object essentially has the lifespan of
243   omega itself, but becomes unreachable when the QueryParser object is
244   destroyed.  To make it easier to use leak-checking tools, hand ownership of
245   this object to the QueryParser object.
247 testsuite:
249 * omegatest: Tell leak sanitizer not to report leaks for allocations which
250   aren't explicitly released on exit - the OS will reclaim all memory from the
251   process at this point and explicitly releasing everything just takes time for
252   no real benefit.  We will still see leaks of objects which become unreachable
253   during a run.
255 Omega 1.4.16 (2020-06-08):
257 indexers:
259 * Fix handling of XML empty tag syntax when there's a quoted parameter right
260   before the closing `/>`.  This caused `<title xml:lang="en-US"/>` to treat
261   the body text as the document title.  Spotted by Gaurav Arora.
263 * omindex: Fix killing of filter child process if the parent process receives a
264   signal.  Spotted by Gaurav Arora.
266 omega:
268 * Reject $setrelevant without an argument list.  This has never been documented
269   as allowed, and previously crashed with a segfault.  Fixes #802, reported by
270   Gaurav Arora.
272 * If there's an error opening the databases we now close any we managed to open
273   successfully before the error so that things like $dbsize can't end up
274   reporting values for a subset of the specified databases.
276 portability:
278 * Use our own autoconf cache variable namespace (xo_cv_ prefix instead of
279   ac_cv_) to avoid colliding with standard autoconf macro use if config.site or
280   a shared config.cache is used.  The former case caused a build failure for
281   the OpenBSD port with 1.4.15, reported by Lucas R.
283 Omega 1.4.15 (2020-02-24):
285 documentation:
287 * Update documentation about how to add a new format to omindex.  Patch from
288   Bruno Baruffaldi.
290 indexers:
292 * Check for a BOM on HTML files, which for HTML5 should determine the encoding.
294 omega:
296 * Allow $if{COND} without any actions which is useful as a way to evaluate
297   something but ignore the result if you just want the side effects.  Indeed
298   we were already recommending to use it if you want to ignore the return value
299   of $log.  Fixes bug introduced in 1.4.14, reported by tuftedocelot.
301 * Add OmegaScript support for $jsonbool{COND} for encoding a boolean value for
302   use in JSON.  This is equivalent to $if{COND,true,false} but more readable.
304 * Add OmegaScript support for $jsonobject{} which allows producing a JSON
305   object from an OmegaScript map.
307 * Allow specifying a format to $jsonarray{} so it is no longer restricted to
308   producing an array of strings.
310 * Add $keys{MAP} OmegaScript command which gives a sorted list of the keys from
311   an OmegaScript map.
313 portability:
315 * Simplify probes for snprintf.  The broken snprintf in libbsd in Linux libc4
316   is from ~25 years ago so way too ancient to matter now, and all callers
317   already handle the pre-ISO semantics of returning -1 for an undersize buffer
318   so we don't need to run a test program to probe for this at configure time,
319   which is more cross-compile friendly.
321 * Avoid deprecation warning on recent Linux.  We were including sys/sysctl.h if
322   it existed, which it does on Linux but we don't actually use it there.
323   Including it now warns that it is deprecated, so skip including it under
324   Linux.  Reported on IRC by kumaran.
326 Omega 1.4.14 (2019-11-23):
328 documentation:
330 * Improve omindex --help docs for --duplicates.
332 indexers:
334 * Add built-in support for iso-8859-15 so we can handle it without iconv.
335   This charset is a variant of iso-8859-1 with 8 characters changed, most
336   notably including the euro currency symbol.  It's the most commonly seen
337   charset we didn't have built-in support for.
339 omega:
341 * Fix error handling in $lookup.  We now check for errors from cdb_init()
342   and cdb_get().  We've never checked for errors from cdb_init(), while
343   for cdb_get() this bug was introduced by a warning fix in 1.2.20.
345 Omega 1.4.13 (2019-10-14):
347 documentation:
349 * Document that $log will start to return an error message in 1.5.0, and that
350   one can wrap it using a $if with no action now to be future-proof.
352 indexers:
354 * Optimise converting us-ascii to UTF-8 to do nothing, like we already do when
355   converting UTF-8 to UTF-8.
357 * scriptindex:
359   + Add new 'gap' action which provides a way to leave a gap in the term
360     positions between fields to prevent phrases and positional operators from
361     matching across fields.
363 templates:
365 * Future-proof use of $log against changes in 1.5.0.
367 Omega 1.4.12 (2019-07-23):
369 documentation:
371 * Improve docs for OmegaScript $hitlist{}.
373 * Fix RST formatting errors in omega docs.
375 * Clarify use of Q prefix for unique ID terms - it was described as "reserved",
376   but the use of "Q" is really just a convention (and in fact omindex uses "U"
377   not "Q").
379 * Clarify scriptindex's weight action takes parameter >= 0.
381 * Correct typo in OmegaScript $add parameter documentation.
383 indexers:
385 * omindex:
387   + Fix typo in mimetypes used for Apple iWork documents ("apply" instead of
388     "apple") which meant that these documents weren't actually being indexed.
389     Patch from Bruno Baruffaldi.
391   + Pipe input to ps2pdf as this accepts input on stdin.  Possibility pointed
392     out by Gaurav Arora.
394 * scriptindex:
396   + If parsedate action's format includes %z adjust for the timezone if
397     possible (this requires the non-POSIX tm_gmtoff member of struct tm)
398     and flag an error for other platforms.
400   + If parsedate action's format include %Z flag an error as that doesn't
401     seem to be usefully supported by strptime() anywhere.
403   + Fix parsedate action to treat formats without a timezone as being UTC
404     instead of localtime.
406   + Add date=unixutc.  The existing date=unix works in localtime which is
407     unhelpful if you want to use it on the output of parsedate since that's in
408     UTC; date=unixutc is just like date=unix except it always works in UTC.
410   + The date action now emits a warning for invalid values.  The documentation
411     used to say "invalid values are ignored at present", but it's more helpful
412     to flag bad data than quietly ignore it.
414   + We now check the date action's parameter at script parse time and unknown
415     values result in an error and nothing being indexed.  Previously an unknown
416     format uselessly resulted in the terms D, M and Y literally being added to
417     every document.
419   + The split action now supports a new "prefixes" split style.  This gives all
420     the prefixes from the split, so split=/,prefixes on a file path gives all
421     parent directories.
423 omega:
425 * Remove documented limitation of $subdb and $subid - the implementation
426   assumed that each omega database name corresponded to a single Xapian
427   database, and if a database name referred to a stub database file expanding
428   to multiple Xapian databases then they would misbehave.  Such cases are now
429   handled properly as well.
431 * Extend $addfilter to support adding negated filters via a new optional second
432   argument which specifies the type of filter to add.
434 * Stop $sort from needlessly ensuring the match has run.
436 * Handle corner case of nested $hitlist gracefully instead of potentially
437   entering an infinite loop.
439 testsuite:
441 * omegatest: Avoid setting TZ globally during tests as that hides bugs where
442   behaviour depends on the local timezone when it shouldn't.
444 * omegatest: Support testing when built using LeakSanitizer by suppressing
445   leak reports for cached compiled pcre regular expressions.  These aren't
446   released when the program exits but aren't memory leaks.
448 build system:
450 * Remove outdated deprecation warning suppression which was there to support
451   building from git in the run up to 1.3.2 - a development version which is
452   nearly 5 years ago now.
454 portability:
456 * Fix problems with fallback strptime() implementation which was being included
457   in the wrong binary, and was lacking a required const_cast on the return
458   value.
460 * Rework setenv() compatibility handling.  Now that Solaris 9 is dead we can
461   assume setenv() is provided by Unix-like platforms (POSIX requires it).  For
462   other platforms, provide a compatibility implementation of setenv() so the
463   compatibility code is encapsulated in one place rather than replicated at
464   every use.
466 Omega 1.4.11 (2019-03-02):
468 indexers:
470 * omindex:
472   + outlookmsg2html: Handle Subject, Date, and From headers.
474 omega:
476 * In $div and $mod we were converting a non-zero denominator from string to int
477   twice for no good reason.
479 testsuite:
481 * omegatest: Fix testcase which was failing if the local timezone was behind
482   UTC.  This testcase was added in 1.4.10.
484 * omegatest: Tweak to not fail when $time not supported - it seems that the
485   OS time functions we use report an error on GNU Hurd for unknown reasons.
487 build system:
489 * Sync up probes for OS time functions in omega's configure with those in
490   xapian-core which may solve $time not being supported on GNU Hurd.
492 portability:
494 * Add missing includes of <cerrno>.  Fixes #776, reported by Matthieu Gautier.
496 * Stop using htonl()/ntohl() in a non-network context which should improve
497   portability to platforms without a POSIX-like socket API.
499 Omega 1.4.10 (2019-02-12):
501 documentation:
503 * Use https for URLs where supported.
505 indexers:
507 * omindex:
509   + Index .apxl and .kth files as Apple Keynote.  The .apxl extension is used
510     for the XML files inside .key bundles/directories which hold the text
511     content of the presentation, and by handling them we can index .key
512     directories more usefully.  It seems they are also sometimes found by
513     themselves.  Keynote themes have a .kth extension, and key2text can also
514     handle these.
516   + Pipe input to pdftotext, pdfinto and dpkg.  These tools all support piping
517     an input file on stdin, which can be a little more efficient when we
518     already have the file open (e.g.  to determine its type using libmagic, or
519     to calculate its checksum).
521   + An empty string for the start directory is now flagged as an error.
522     Previously `/` was used instead, which is unlikely to be what is wanted
523     (and `/` can be explicitly specified if that really is what is wanted).
525   + Fix emulation of stderr redirection when the indexer's stderr has been
526     closed.  We try to avoid using the shell when running external filters, and
527     emulate 2>/dev/null in commands, but if the indexer's stderr was closed
528     this emulation was buggy and would make give the filter a closed stderr
529     instead of one redirected to /dev/null.
531   + When emulating redirection to /dev/null, we now open /dev/null once and
532     dup that fd each time which is a little more efficient and simplifies the
533     code.
535 * scriptindex:
537   + date=unix is now a no-op for empty input - previously it would unhelpfully
538     add boolean date terms for 1970-01-01.
540   + Warn for empty filename in LOAD action.  Previously this gave a slightly
541     confusing error: "Couldn't load file '': No such file or directory"
543   + Unknown command-line options now cause scriptindex to give a non-zero exit
544     status.
546 testsuite:
548 * omegatest: Add testcase for SPAN.n on different slots.
550 * omegatest: Update expected QueryParser output for the xapian-core change to
551   produce flatter Query trees.
553 build system:
555 * Use AM_ICONV to detect iconv() which should handle non-system install of GNU
556   libiconv properly.  Fixes #775, reported by Ryan Schmidt.
558 portability:
560 * Provide fall-back strptime() implementation for platforms which don't provide
561   it, using the C++11 std::get_time() function.  We use strptime() directly
562   where it's available as some older C++11 compilers seem to lack
563   std::get_time() (GCC 4.8 for example).  This is used by the parsedate action,
564   which was added in 1.4.6.
566 Omega 1.4.9 (2018-11-02):
568 indexers:
570 * omindex:
572   + Try harder to avoid opening a file being indexed more than once by
573     reusing the file descriptor in more cases.
575   + Hint to the OS not to cache output from external filters which require
576     using a temporary file.
578 * scriptindex:
580   + If the LOAD action successfully opens a file but hits a read error the
581     error message now reports the file name correctly.  Previously it would
582     report the partial file contents read so far instead of the file name.
584 portability:
586 * We no longer call posix_fadvise() with POSIX_FADV_NOREUSE under Linux,
587   since it's still not implemented there.  We also now only call
588   posix_fadvise() with POSIX_FADV_DONTNEED right before we close the file
589   descriptor under Linux.
591 Omega 1.4.8 (2018-10-25):
593 documentation:
595 * Assorted minor documentation improvements.
597 indexers:
599 * omindex:
601   + Improve date handling in .eml files.  We now handle a "Date:" header
602     without the day of the week, which is allowed by RFC822 and RFC2822
603     (though seems rare in practice).  If the date can't be parsed, we now
604     just omit the date information rather than failing to process the file.
606   + Add support for indexing Apple iWork documents (Keynote (.key), Numbers
607     (.numbers) and Pages (.pages)) using libetonyek.  Currently only the file
608     variants are handled since omindex doesn't currently support indexing a
609     directory as a document.
611   + Index Visio files using vsd2xhtml.
613   + Extend --filter to support filters which produce SVG as output.
615   + Handle SVG embedded in XML with svg: namespace prefix.
617   + Add --read-filters option to read a list of filters from a file, each line
618     of which is a rule as passed to --filter.  Based on a patch from Gaurav
619     Arora.
621   + Add new --mime-type-match option which allows specifying a MIME
622     Content-Type for a given shell filename pattern pattern (with the special
623     Content-Type values "ignore" and "skip" supported, as for --mime-type).
625   + Adjust --mime-type to allow ':' in the extension.  A valid MIME
626     Content-Type can't contain a colon, so if the argument to --mime-type
627     contains more than one colon it makes more sense to split at the *last*
628     colon (we used to split at the first), as an extension could conceivably
629     contain a colon.  Mostly this change is for consistency with the new
630     --mime-type-match option, where the leafname pattern could reasonably
631     contain a colon.
633   + Remove failed entries for ignored files.  If a file is mapped to
634     pseudo-mimetype "ignore" then remove any existing failure record for it so
635     that ignored files so we don't potentially end up with a lot of cruft
636     failure records for files we are no longer trying to index.
638   + If a file fails to index due to failing to allocate enough memory we now
639     try to flag it as failed to index so it will be skipped by default on
640     future runs.  This should help to avoid indexing getting stuck on
641     problematic files.
643   + Add a "pages" field with the number of pages in the document where we
644     know how to determine this (currently only for PDF files for which pdfinfo
645     reports this information).
647   + Handle initially empty database exactly the same was as when --overwrite
648     is specified.  This probably has no user-visible consequences, but it's
649     cleaner for the handling to be exactly the same.
651 * scriptindex:
653   + Improve scriptindex diagnostic messages.  All diagnostics are now labelled
654     as "error", "warning" or "note" as appropriate, and we now consistently
655     report "FILE:LINE:" (and also "COLUMN:" in most cases) to make it clearer
656     where the problem lies.
658   + Add new "split" action which splits the text on a specified delimiter and
659     executes the following actions for each piece.  Based on a patch by Gaurav
660     Arora.
662   + Missing whitespace after the closing " on an action argument is now
663     flagged as an error.  Previously scriptindex would attempt to parse
664     the following characters as the next action.
666   + Support C-like escapes for quoted parameter values.  Notably this means it
667     is now possible to include `"` in quoted parameter values.
669 omega:
671   + Value-based date range filters can now be specified via CGI parameters
672     START.N, END.N and/or SPAN.N where N is a value slot number, allowing
673     multiple concurrent filters on different slots to be specified.
675   + Support YYYY and YYYYMM limits in term-based date ranges.  Previously
676     value-based date ranges supported these as limits, but term-based date
677     ranges gave an error.
679   + Add stem_strategy option and deprecate existing stem_all option in favour
680     of this new more versatile option.
682   + Support "natural" $sort option via new flag "#" which sorts embedded
683     natural numbers in numerical order.
685   + Support numeric $sort option via new flag "n", similar to GNU sort -n.
687   + Rewrite field parsing to be more efficient, and store fields in an
688     unordered_map for faster lookup.
690 testsuite:
692 * htmlparsetest: Test whitespace collapsing.
694 portability:
696 * omegatest: Avoid "set -".  The autoconf manual notes that POSIX no longer
697   requires this, and that with traditional shells it resets -v and -x which
698   makes debugging harder.
700 * omegatest: Fix shell printf quoting issues which were a latent bug on macOS.
702 * Drop special handling for Compaq C++.  We never actually achieved a working
703   build using it, and I can find no evidence that this compiler still exists,
704   let alone that it was updated for C++11 which we now require.
706 Omega 1.4.7 (2018-07-19):
708 omega:
710 * New OmegaScript $unique command.  The existing $uniq only removes adjacent
711   entries (like the Unix uniq command) so to fully remove duplicates you need a
712   sorted input.  Sometimes it is desirable to remove duplicates from an
713   unsorted list without changing the order of the entries which are left, so
714   add $unique to do that.  If the list is sorted already, then $uniq is more
715   efficient.
717 * Fix $map to cleanly reject a single argument.
719 templates:
721 * templates/query: Merge multiple entries in the term frequency information,
722   which came from searching several prefixes by default.  Reported by Alistair
723   Buxton on #xapian-discuss.
725 * When multiple words with the same stem are in the query string we now fully
726   eliminate duplicates when showing term frequency information.
728 Omega 1.4.6 (2018-07-02):
730 general:
732 * Fix generate_sample() (used by OmegaScript $truncate and omindex) to return
733   an empty sample instead of throwing an exception when the requested sample
734   size is less than the size of the truncation indicator string.  Patch from
735   Addy.  Fixes https://trac.xapian.org/ticket/754 reported by Gaurav Arora.
737 documentation:
739 * Use terminology "value slot number" instead of "value number".
741 * Stop talking about "probabilistic terms" and "probabilistic queries" - we've
742   supported other families of weighting schemes since 1.3.2.
744 indexers:
746 * Check for the HTML5 doctype or legacy doctype declaration and use default
747   charset UTF-8 if either is present.  Previously we always used ISO-8859-1,
748   which is correct for older HTML versions, but not for HTML5.
750 * omindex:
752   + When running commands without going through the shell, emulate shell exit
753     codes 127 (for command not found) and 126 (for other cases where we fail to
754     run the command).  This means the "missing filter" handling should now work
755     properly for such commands.  Noted by Gaurav Arora.
757   + Index POD files despite minor formatting errors.  We now pass
758     --errors=stderr to pod2text so that minor formatting errors don't prevent
759     us from indexing a file.  (It may seem that --errors=none is a better
760     option, but for podlators < 4.11 that results in an ERRATA section in the
761     generated text version which we then end up indexing; 4.11 fixed that but
762     we can't assume that's in use).  Reported by Gaurav Arora.
764 * scriptindex:
766   + Avoid some unnecessary copying of Action objects by making use of C++11
767     features.
769   + Consistently send errors to stderr - some were sent to stdout.
770     Patch from Gaurav Arora.
772   + Add new "hextobin" action.  Based on a patch from Gaurav Arora.
774   + Warn about non-integer arg to hash.
776   + Fix hash action without an argument, which was failing with an assertion.
777     Based on a patch by Gaurav Arora: https://github.com/xapian/xapian/pull/189
779   + Reject 'hash' with argument < 6.  The hashing truncates and then adds a
780     6 character hash of the removed part, so can't produce a result shorter
781     than 6 characters.  Patch from Gaurav Arora.
783   + Look for alphanumerics when parsing index actions.  None of the current
784     index actions contain digits, but we give more helpful error messages this
785     way.
787   + Deprecate allowing spaces around = in scripts.  This was never documented
788     as supported, and leads to a missing argument quietly swallowing the next
789     action rather than using an empty value or giving an error.  Reported by
790     Gaurav Arora in https://github.com/xapian/xapian/pull/182
792   + In boolean and unique actions, add a colon between prefix and term when
793     the term starts with a colon.  This means the mapping is reversible, and
794     matches what omega actually does in this case when it tries to reverse the
795     mapping.  Thanks to Andy Chilton for pointing out this corner case.
797   + Add parsedate and valuepacked actions.  Together these assist adding date
798     values for sorting and date range filtering.  Based on a patch from Gaurav
799     Arora.
801   + Use DB_RETRY_LOCK to wait if the database is already in use rather than
802     sleeping for a second and retrying.  On most platforms this means we make a
803     blocking request for the lock, and even on platforms where that's not
804     supported, we now sleep and retry inside libxapian, and without having to
805     throw and catch an exception each time.
807 omega:
809 * $freq: Speed up some cases by avoiding throwing and catching an exception
810   when we know the MSet has no term frequency information.
812 * $sort: New OmegaScript command which does a string sort on an OmegaScript
813   list, with u (unique) and r (reverse) options.
815 * $cond: New OmegaScript conditional multi-way conditional.  Inspired by LISP's
816   COND, this provides a neater way to write a cascade of $if checks.
818 * $switch: New OmegaScript multi-way conditional which provides an even neater
819   way to write a cascade of $if{$eq{X,VALUE1},$if{$eq{X,VALUE2},...}}.
821 * $subdb and $subid: New commands which report the subdatabase name and the
822   docid in that subdatabase.
824 + $termprefix and $unprefix: New OmegaScript commands which expose the existing
825   code inside omega for splitting up a term.
827 * Use str() to convert time_t to string, which is simpler code and faster than
828   using snprintf().
830 testsuite:
832 * omegatest: Fix message when faketime is not installed - we were misreporting
833   this case as "faketime not working".
835 * omegatest: Add feature tests of $map.
837 * Add testcases for XML charset.  We already handle both default and specified
838   charsets for XML, but we didn't have any testcases for it.
840 build system:
842 * configure: Fix potentially confusing messages suggesting snprintf was added
843   in C90 - it was actually standardised in C99.
845 * Improve handling of multitarget rule stamp files.  Clean them on "make
846   maintainer-clean" and ship them so that --enable-maintainer-mode when
847   building from a tarball doesn't needlessly rerun the multitarget rules.
849 portability:
851 * Check for EAGAIN as well as EINTR from select().  The Linux select(2) man
852   page says: "Portable programs may wish to check for EAGAIN and loop, just as
853   with EINTR" and that seems to be necessary for Cygwin at least.
855 packaging:
857 * Use https for tarball URLs in .spec files.  This provides protection against
858   MITM attacks on people building packages using these spec files, and is also
859   slightly more efficient as the http: URLs redirect to the https: versions
860   anyway.
862 Omega 1.4.5 (2017-10-16):
864 documentation:
866 * Direct users towards $set{flag_spelling_correction,true} rather than the
867   deprecated $set{spelling,true} (which is slated for removal in 1.5.0).
869 * Fix typo in docs.
871 indexers:
873 * omindex:
875   + Check file size before calling libmagic to get the mime type, since
876     reading the file size is a much cheaper check and we can skip the
877     libmagic test if the file is empty or larger than the specified
878     maximum size.  Patch from caiyulun.
880 * scriptindex:
882   + Reject index scripts with multiple "unique" actions.  We don't handle this
883     case sensibly, and it doesn't seem like it really has a use, so better to
884     give an error for people who do this inadvertently.
886 omega:
888 * New $seterror command to set the error message.  Implemented by Gaurav Arora.
890 * Make $highlight more efficient.  Patch from Vivek Pal.
892 templates:
894 * query: Use $prettyurl for the URL shown at the end of each match (previously
895   we only used it on the URL shown as a fallback when the document has no
896   title).  Split off from changes by Vivek Pal in
897   https://github.com/xapian/xapian/pull/161
899 testsuite:
901 * omegatest: Tell faketime to freeze the clock - previously the clock ran on
902   from the specified fake time, and on a slow and/or heavily loaded machine a
903   test taking more than a second might fail due to this.
905 * Start adding feature tests for scriptindex (so far, checking that specifying
906   multiple 'unique' actions results in an error).
908 Omega 1.4.4 (2017-04-19):
910 indexers:
912 * omindex:
914   + 1.4.3 added a new --sample option, but contrary to the documentation
915     the default behaviour was to take the sample from the meta description
916     (which was the hard-wired behaviour in 1.4.2 and earlier).  The default
917     has now been changed to take the sample from the body.
919   + Index .shtm, .xhtml and .xhtm as HTML by default - .shtm is another
920     extension used for server-parsed HTML (in addition to the more common
921     .shtml), and .xhtm and .xhtml are XHTML.
923   + Fix fallback lookup for extension containing upper case.  User mappings
924     worked, but built-in extension to MIME type mappings were effectively being
925     ignored (because the result of the function call was not being checked).
926     Bug introduced in 1.3.4.
928   + Fix term-based date ranges, broken by changes in 1.4.2.  Found and
929     diagnosed by Gaurav Arora.
931   + Handle date range with start after end better - with term-based ranges,
932     this used to generate a bogus filter, but now just generates Dlatest.
934   + Use Y-term when range starts/ends at year start/end.  Previously we used 12
935     M-terms for these cases.
937   + Use full leap-year check when constructing term-based date ranges -
938     previous code was good until 2100, but even then it would only result
939     in an extra term being included for a non-existent February 29th in
940     rare cases.
942 omega:
944 * New OmegaScript command $cgiparams which returns a list of the parameter
945   names.
947 * Handle tab in a CGI parameter name in the same way as space.  Mostly this is
948   a way to avoid having tabs in CGI parameter names - they aren't useful, but
949   if they could have tabs in we can't put CGI parameter names in a list.
951 templates:
953 * query: Fix highlighting of matching terms.  We were using both $snippet and
954   $highlight, which results in double highlighting and HTML escaping, most
955   noticeable by literal <strong> and </strong> appearing around matching terms
956   in the rendered HTML snippet.  Reported by Mark Thomas on xapian-discuss.
958 build system:
960 * If gen-mimemap failed after creating mimemap.h, the rule wouldn't get rerun.
962 Omega 1.4.3 (2017-01-25):
964 indexers:
966 * omindex:
968   + Add support for indexing vCard files if Perl and its Text::vCard module
969     are available.
971   + Recognise application/x-rpm as alternative type since libmagic reports this
972     rather than application/x-redhat-package-manager.
974   + Use official MIME type application/vnd.debian.binary-package for debian
975     packages.  We used to map .deb and .udeb to application/x-debian-package,
976     but in 2014 (after we added that support for .deb) an official type was
977     registered with IANA.  We now map extensions .deb and .udeb to the official
978     type, but the unofficial type is still recognised (older versions of
979     libmagic probably report it, and users may be mapping to it).
981   + Handle PHP as MIME type text/x-php.  The main difference this makes is that
982     PHP files which don't have extension '.php' (e.g. .phtml, .phps, .php5,
983     .ph4, etc) get identified by libmagic as text/x-php and will now be indexed.
984     It also means that the user can now more easily configure different filters
985     for HTML and PHP.
987   + Don't use meta description as sample by default.  Now we have dynamic
988     snippets (via $snippet), the body text is a better default.  Also generated
989     HTML sometimes has unhelpful content in the meta description.  To get the
990     previous behaviour, use the new omindex command line option:
991     --sample=description
993 Omega 1.4.2 (2016-12-26):
995 documentation:
997 * Replace auto-generated list of the supported MIME types with an
998   auto-generated table showing the extensions that are mapped to each MIME type
999   by default.  Partly addresses #569, reported by catkin.
1001 indexers:
1003 * omindex: Add support for indexing markdown files (extension .md or .markdown,
1004   mime-type text/markdown, using "markdown" to convert to HTML).
1006 testsuite:
1008 * Add support for "make installcheck" to run tests against installed version.
1010 build system:
1012 * configure: Fail with clear error with xapian-core < 1.4.0.
1014 portability:
1016 * Fix GCC -Wimplicit-fallthrough warning.
1018 * Add missing <ctime> for time_t.
1020 * Avoid snprintf_for formatting fixed-width integers - it results in warnings
1021   about possible output truncation with GCC7 (which aren't actually possible
1022   due to limited input range) and it's a bit heavyweight for this job anyway.
1024 Omega 1.4.1 (2016-10-21):
1026 documentation:
1028 * Document bug in how $filters encodes DOCIDORDER=A.
1030 * Suggest DOCIDORDER=X for DONT_CARE.
1032 * Correct mentions of C++ API method MSet::get_snippet() to MSet::snippet().
1034 * Fix typo in Omega 1.4.0 NEWS entry.  Patch from James Aylett.
1036 indexers:
1038 * omindex: Also index leafname with _ and & replaced by spaces.  Literal spaces
1039   are often avoided in filenames, and "hello_world.txt" ought to be searchable
1040   for via "hello" and "world".  Partly addresses #618, reported by Julien
1041   Pfefferkorn.
1043 omega:
1045 * Add support for sorting by more than one value - e.g. SORT=+1,-2
1047 * Add $msizelower and $msizeupper which provide access to the lower and upper
1048   bounds on the number of matches.
1050 * Add support for $set{weighting,coord}.
1052 * Add weightingpurefilter option.  Normally a query consisting only of filter
1053   terms won't have relevance weights calculated.  This new option allows you to
1054   specify a weighting scheme to use for such queries, with the same values
1055   supported as for the existing weighting option.  For example,
1056   $set{weightingpurefilter,coord} will weight such queries by how many filter
1057   terms match each document.
1059 * $filters now includes DATEVALUE, which means we'll force the first page when
1060   reloading or changing page starting from existing URLs upon upgrade to 1.4.1,
1061   but the exact same existing URL could be for a search without the date filter
1062   where we want to force the first page, so there's an inherent ambiguity
1063   there.  Forcing first page in this case seems the least problematic
1064   side-effect.  Omission noted by Gaurav Arora.
1066 testsuite:
1068 * Add feature test for boolprefix and prefix maps.
1070 * Add more feature tests for $filters.
1072 build system:
1074 * GCC 4.7 is now enforced as the minimum version.
1076 * Drop unused configure check for symbol visibility
1078 * Drop compiler options that are no longer useful:
1079   + -fshow-column is the default in all GCC versions we now support
1080     (checked as GCC 4.6).
1081   + -Wno-long-long is no longer necessary now that we require C++11 where
1082     "long long" is a standard type.
1084 portability:
1086 * Fix build on platforms which don't provide timegm(), such as Cygwin.
1087   Reported on xapian-discuss by John Bankert.
1089 Omega 1.4.0 (2016-06-24):
1091 documentation:
1093 * Clarify $allterms and $terms documentation.  Make it clearer how they differ,
1094   and document that $allterms without a parameter list gives all terms indexing
1095   the current hit.  Noted by Andy Chilton.
1097 Omega 1.3.7 (2016-06-01):
1099 indexers:
1101 * Make named entity look-up (e.g. &eacute; -> 233) use the same keyword-lookup
1102   table approach we already use for HTML tags and built-in MIME content-types,
1103   rather than a std::map, which makes it faster while using less memory.
1105 Omega 1.3.6 (2016-05-09):
1107 documentation:
1109 * Fix overview.rst processing in VPATH build.  Our workaround for lack of an
1110   include path in docutils was only handling the first include in the file.
1112 omega:
1114 * Implement $match command for omegascript.  Patch from Richhiey Thomas.
1116 templates:
1118 * Lower case all HTML tags, attributes and values; explicitly close <option>
1119   tags.  Patches from Vivek Pal and Nirmal Singhania.
1121 * Migrate Omega Templates to HTML5.  Patch from Nirmal Sighania.
1123 * templates/query: Remove stray double quote from generated URL for spelling
1124   suggestion when THRESHOLD is set.  Patch from Nirmal Singhania.
1126 * templates/opensearch: Change response feeds to support OpenSearch 1.1.
1127   Patch from Nirmal Singhania.
1129 testsuite:
1131 * Update omegatest - the order of subqueries has changed in some cases, due
1132   to the "grouping" changes in the C++ API.
1134 build system:
1136 * Drop workaround for old git master before 1.3.2
1138 Omega 1.3.5 (2016-04-01):
1140 This release includes all changes from 1.2.23 which are relevant.
1142 omega:
1144 * Add optional prefix argument to $terms.
1146 * $snippet now uses MSet::snippet() instead of the Snipper class.
1148 * Add $contains{STRING1,STRING2}.  Contributed by Ayush Gupta.
1150 * Add support for negated boolean filter terms, specified by CGI parameter "N".
1152 * Support a direction prefix on SORT: '+' for ascending, '-' for descending.
1153   SORTREVERSE set to non-0 now flips the direction.  Fixes #697, reported by
1154   Andy Chilton.
1156 build system:
1158 * Need to AC_SUBST probed value of ZLIB_LIBS.  Noted by Paul Wise.
1160 portability:
1162 * omegatest; Test faketime actually works, and if it doesn't work skip
1163   testcases which use it.  On OS X 10.11, faketime from homebrew doesn't seem
1164   to work, probably due to the new "System Integrity Protection".  Fixes part
1165   of #707, reported by James Aylett.
1167 Omega 1.3.4 (2016-01-01):
1169 This release includes all changes from 1.2.22 which are relevant.
1171 documentation:
1173 * The lists of recognised MIME types and of ignored extensions are now
1174   generated along with the corresponding source code from a single master list.
1175   Partly addresses #569, reported by Charles Atkinson.
1177 * Note when $json and $jsonarray were added.
1179 indexers:
1181 * omindex:
1183   + Avoid using the shell to run most external commands as it's unnecessary
1184     overhead.  For the built-in filters, the only cases which now use a shell
1185     are where we run two unzip commands.  For user-specified commands, a simple
1186     and slightly conservative test is used, which should avoid a shell in most
1187     common cases where it isn't needed.  Notably, environment variables set
1188     before the command are handled.
1190   + Track files which couldn't be indexed in the user metadata and skip them by
1191     default on subsequent runs to avoid the costs of repeatedly running a
1192     filter on a file it can't handle.  Run omindex with --retry-failed to retry
1193     such files.
1195   + Overhaul the "per-site" terms:
1196     - 'H' prefix is hostname as before, except that if the term would be > 240
1197       bytes (unlikely but possible) the end is hashed is the same way 'U'
1198       prefix terms are.
1199     - 'P' terms are now added for every directory level, not just the start
1200       URL's path.
1201     - A new 'J' prefix term is added with the start URL (less any trailing
1202       '/'), which means all files indexed from a particular "site" are now
1203       indexed by one term.  See #376.
1205   + Add 'skip' pseudo-mimetype which extensions can be mapped to, and they will
1206     then be reported and skipped (to complement the existing 'ignore'
1207     pseudo-mimetype which causes files with the specified extension to be
1208     quietly ignored).
1210   + Treat a command of 'true' specially as meaning make the text extraction a
1211     no-op (as actually running /bin/true effectively would).  This provides a
1212     way to index some file types by only meta-data.  Fixes #519, reported by
1213     Brian Burton.
1215   + Add support for wildcard mimetypes */* and *.  Combined with filter command
1216     ``true`` for indexing by meta-data only, you can specify a fall back case
1217     of indexing by meta-data only using ``--filter '*:true'``.  From a
1218     suggestion by Brian Burton on xapian-discuss.
1220   + Index message/rfc822 and message/news.  These are individually saved email
1221     messages and news articles.
1223   + Index archived web page formats MAFF and MHTML.
1225   + Handle .xla, yet another XL extension.
1227   + Handle metadata in LibreOffice HTML export (dcterms.subject,
1228     dcterms.description, dcterms.creator and dcterms.contributor).
1230   + Use zlib's gzopen() instead of invoking "gzip -dc" for compressed Abiword
1231     documents.
1233 omega:
1235 * Add options argument to $transform.
1237 * Cache compiled regexps used in $transform.
1239 * Add $ord OmegaScript command which returns the Unicode codepoint for the
1240   first character of a UTF-8 string.
1242 * Add $chr OmegaScript command which returns the UTF-8 string for given Unicode
1243   codepoint.
1245 * Add $csv OmegaScript command which escapes a string for use as a field in a
1246   CSV file ("always quote" mode inspired by patch from Gaurav Arora.)
1248 * New $filters encoding which avoids collisions.  We also compare CGI parameter
1249   xFILTERS to what $filters would have returned in previous releases, so that
1250   on upgrades old format serialised filters are handled correctly.
1252 * Fix $jsonarray not to prepend ']' to the first array element.
1254 * Skip weighting scheme setup for a pure date range query - it won't be
1255   weighted anyway, so we can avoid having to parse weighting scheme parameters,
1256   etc.
1258 * Use value ranges when date range filtering by value.  Should be more
1259   efficient than a MatchDecider, and will automatically take advantage of any
1260   future value range optimisations in xapian-core.
1262 * Add default_db and default_template config options.  These allow the default
1263   template and default database name to be set via the config file, rather than
1264   being stuck with the respective defaults of "default" and "query".  Fixes
1265   #310, reported by Marco Hennigs.
1267 * Add support for non-exclusive filters.  Fixes #234, reported by Thomas
1268   Viehmann.
1270 testsuite:
1272 * Add start of testsuite for omega CGI.
1274 build system:
1276 * configure script now defaults to looking for xapian-config-1.3.  This is now
1277   automatically done for development series (odd middle component of the
1278   version number), but not for stable series (even middle component).  Fixes
1279   #695, reported by Jorge C. Leitão
1281 * Don't pointlessly link omega binary with libmagic (as we have since 1.3.1).
1283 portability:
1285 * Fix "make check" compilation failure on platforms without timegm().
1287 Omega 1.3.3 (2015-06-01):
1289 This release includes all changes from 1.2.20-1.2.21 which are relevant.
1291 documentation:
1293 * INSTALL: IRIX is past EOL so drop information about IRIX make.
1295 indexers:
1297 * omindex:
1299   + Add support for %f in command passed to --filter to allow specifying
1300     commands where the input file is not the final argument.  Fixed #570,
1301     reported by Charles Atkinson.
1303   + Allow --filter to handle commands which produce output in a temporary file
1304     rather than on stdout.
1306   + Allow --filter to specify the character set of the output the filter
1307     produces.
1309   + Handle application/vnd.ms-excel, text/x-perl and application/x-dvi via
1310     default --filter settings instead of hardcoded cases (now possible thanks
1311     to the new abilities that --filter has).
1313   + Add support for specifying a MIME subtype of '*' in --filter arguments.
1315   + Add -track-ctime option to allow omindex to pick up changes to file
1316     ownership and permissions.
1318   + Index terms from the leafname with an 'F' prefix, rather than treating them
1319     as more body text.  (Fixes #633, reported by Emmanuel Garette)
1321 omega:
1323 * Fix handling of multiple P.<prefix> fields - previously only the first seen
1324   was used.  These fields are also now taken into account when deciding if the
1325   query has changed.  $query now returns an OmegaScript list with one entry for
1326   each CGI parameter passed.
1328 templates:
1330 * templates/query: Fix setting setting of prefix map for P - in 1.3.2, this
1331   would failed to also search in the subject.  Now it also searches in the
1332   subject and topic.
1334 build system:
1336 * configure: Fix typo in message: 'libmagic-devl' -> 'libmagic-devel'
1338 portability:
1340 * Require a compiler with good C++11 support, like xapian-core now does.
1342 * Now we require C++11, just include <cstdint> for uint32_t.
1344 * Link omindex-list with our (GNU) getopt for platforms which don't use GNU libc.
1345   Thanks to James Aylett
1347 * Add timegm.cc to scriptindex_SOURCES to fix build on platforms which don't
1348   provide timegm().
1350 * Suppress bogus uninitialised variable warning with -Os under GCC 4.7.2.
1352 packaging:
1354 Omega 1.3.2 (2014-11-24):
1356 This release includes all changes from 1.2.16-1.2.19 which are relevant.
1358 documentation:
1360 * docs/overview.rst: Document built-in list of stopwords.
1362 * docs/termprefixes.rst: Update for renaming of 'brass' backend to 'glass'.
1364 indexers:
1366 * omindex:
1368   + The starting URL wasn't previously URL encoded.  In 1.2.18, a minimally
1369     intrusive fix was implemented.  In 1.3.2, we now encode the starting URL
1370     as we do for the rest of the filename.
1372   + Don't assume .doc is application/msword but let libmagic decide, since .doc
1373     files may actually be RTF, and sometimes people use .doc for plain-text
1374     documentation.
1376   + Add support for indexing 'topic' and 'created date' meta-data for
1377     OpenDocument format and HTML.
1379   + Index "topic" for PDF documents.
1381   + Commit changes and exit, rather than skipping the current file on most
1382     unexpected errors reading directories or initialising libmagic - otherwise
1383     we can end up deleting a lot of database entries on errors like EHOSTDOWN
1384     when indexing network mounts.
1386   + Add --opendir-sleep=SECS option to allow working around problems with
1387     indexing files on Microsoft DFS shares.
1389   + If we get ENOTDIR trying to index a file, skip it quietly (unless in
1390     verbose mode) as we already do if we get ENOENT, since ENOTDIR is what we
1391     get if the file and the directory it was in got removed between us getting
1392     the filename and trying to open it.
1394   + Handle ENOENT, ENOTDIR and EACCES from readdir().
1396   + If we've already opened the file (as we often will have if using a modern
1397     libmagic with magic_descriptor() available), then use fstat() on that fd
1398     rather than stat()/lstat() on the pathname.
1400   + Pass error message string and errno value in ReadError exceptions.
1402   + Report strerror(errno) if we can't read a file.
1404   + Filtering via text/html now handles HTML documents which specify a charset.
1406   + Add support for indexing Microsoft Publisher files using pub2xhtml.
1408   + Restrict the length of what we consider to be an extension, currently to 7
1409     characters or whatever the longest extension in the mime_map is if it is
1410     longer.
1412   + Avoid '//' in temporary filenames (cosmetic only).
1414 * omindex-list: New tool to list URLs of all the documents in a database (or
1415   list of databases) indexed by omindex.
1417 omega:
1419 * Allow setting query expansion scheme to "bo1".
1421 * Make the $json and $jsonarray force the text to be valid UTF-8, since
1422   otherwise the output isn't valid JSON.
1424 * Check parameters to $set{weighting,bm25 ...} and $set{weighting,trad ...}
1425   converted OK.  Based on patch from Aarsh Shah.
1427 * Add support to $set{weighting,...} for bb2, dlh, dph, ifb2, ineb2, inl2, lm,
1428   pl2 when we're built against a xapian-core which is new enough to have these
1429   schemes.
1431 * Add $snippet to generate a snippet of text tailored to the search.
1433 build system:
1435 * configure: Enable GCC's -Woverloaded-virtual warning.
1437 portability:
1439 * Ship common/safewinsock2.h, needed under mingw.
1441 Omega 1.3.1 (2013-05-03):
1443 This release includes all changes from 1.2.10-1.2.15 which are relevant.
1445 documentation:
1447 * INSTALL,configure: Provide hints as to what package to install for magic.h.
1449 indexers:
1451 * The HTML parser now explicitly handles <APPLET>, <OBJECT> and <TR>.
1453 * Use a generated compact and efficient table to convert HTML tag names
1454   to enum codes - this is both faster and smaller than the approach we were
1455   using, with the benefit that the table is auto-generated.
1457 * Always use our built-in conversion code for the character sets it can handle
1458   (previously we'd use iconv if available; now we only use iconv for other
1459   character sets).  This gives us more consistent results, and in particular
1460   means we now handle BOMs better (at least when using GNU iconv).
1462 * A lot of data labelled as "iso-8859-1" is actually "windows-1252".  The two
1463   only differ in characters which are control characters in iso-8859-1, so
1464   assume the latter when we see the former.
1466 * omindex:
1468   + Extend --filter to handle commands which produce HTML on stdout.
1470   + Don't report an error if a file is deleted (or renamed) between us reading
1471     the directory entry for it and trying to read the file itself by default.
1472     In --verbose mode, the situation is still reported, but now with a
1473     specific message.
1475   + If omindex receives any of the signals SIGHUP, SIGINT, SIGQUIT or SIGTERM,
1476     then kill any active external filter child process, then handle the signal
1477     as we did before.  If setpgid() is available, put each external filter in
1478     its own process group and kill the whole process group when we get a
1479     signal.
1481   + Use magic_descriptor() if the version of libmagic we're building against
1482     is new enough to have it.  This eliminates an extra opening of a file
1483     being indexed in certain cases.
1485   + Use rst2html to handle .rst and .rest files.
1487 omega:
1489 * Add new $json and $jsonarray OmegaScript commands to support producing JSON
1490   output.
1492 * Add $truncate command which truncates a string after a word.
1494 * Add support for $set{weighting,tfidf} to allow the new TfIdfWeight weighting
1495   scheme to be used.
1497 build system:
1499 * configure: Now looks for libmagic in MAGIC_PREFIX, to allow building with
1500   libmagic installed in a non-standard location.
1502 * Remove support for 'configure --enable-quiet', 'make QUIET=' and 'make
1503   QUIET=y' - automake now supports 'configure --enable-silent-rules', 'make
1504   V=1' and 'make V=0' which are broadly equivalent and more standard.
1506 portability:
1508 * tmpdir.cc: Add safeunistd.h for rmdir, required by GCC 4.7 (reported by
1509   Gaurav Arora).
1511 Omega 1.3.0 (2012-03-14):
1513 general:
1515 * Make libmagic a required dependency.
1517 documentation:
1519 * docs/termprefixes.html: Document how to map a user prefix to multiple term
1520   prefixes.
1522 * docs/overview.html: Improve documentation of htdig_noindex.
1524 indexers:
1526 * omindex:
1528   + Index title with an 'S' prefix rather than no prefix.
1530   + If the document with the highest existing docid before the run was updated,
1531     we were reporting it as "added", but now we correctly report it as
1532     "updated".
1534   + Catch and report std::exception explicitly, so failing to allocate memory
1535     is no longer reported as "Unknown exception".
1537 * scriptindex:
1539   + Remove special error handling case noting that index=nopos was replaced
1540     with indexnopos - this was removed in 1.1.0 so there's been enough time to
1541     upgrade.
1543 omega:
1545 + DEFAULTOP now defaults to AND rather than OR, since that matches what pretty
1546   much every search engine does these days.  Closes ticket#512.
1548 * Allow mapping a query string prefix to more than one term prefix (which
1549   xapian-core has supported since 1.0.4).
1551 * Add support for search inputs for multiple probabilistic prefixes, with
1552   support for per-prefix stemmers.
1554 * Drop legacy support for handling '.' separated terms in xP - that changed in
1555   Omega 0.9.7, more than 5 years ago now.
1557 * Remove support for OLDP CGI parameter which was superseded by xP
1558   approximately a decade ago, and isn't even documented!
1560 * Drop special handling for R-prefixed terms in $prettyterm - we stopped
1561   generating these in Xapian 1.0.
1563 templates:
1565 * templates/query:
1567   + We now map unprefixed queries to include S-prefixed terms to match the
1568     change in omindex to prefixing terms from the title with S.  You may want
1569     to make the same update to your own templates.
1571   + Set up prefixes for 'author:' and 'title:'.
1573 packaging:
1575 * xapian-omega.spec: We're ABI compatible within a release series so make
1576   dependency on xapian-core-libs >= rather than =.
1578 Omega 1.2.23 (2016-03-28):
1580 documentation:
1582 * Update links to Xapian website and trac to use https, which is now supported,
1583   thanks to James Aylett.
1585 indexers:
1587 * Fix HTML/XML entity decoding to be O(n) not O(n²) - processing HTML/XML with
1588   a lot of entities is now much faster.
1590 templates:
1592 * Remove unused country code to name maps.  These were intended as examples,
1593   but they aren't very useful as such, and really just bloat the templates
1594   needlessly.
1596 Omega 1.2.22 (2015-12-29):
1598 documentation:
1600 * Stop maintaining ChangeLog files.  They make merging patches harder, and stop
1601   'git cherry-pick' from working as it should.  The git repo history should be
1602   sufficient for complying with GPLv2 2(a).
1604 * Clarify help text for omindex --mime-type option.
1606 * docs/omegascript.rst:
1608   + Fix documentation of $last to say it's the MSet index *one beyond* the end
1609     of the current page.  Reported by Andrew Chilton.
1611   + Clarify that $split and $substr work in bytes.  Previously we said
1612     "characters" which could be taken as meaning they work with UTF-8
1613     characters.
1615   + Update documentation for $filters - it was missing these CGI parameters
1616     from the list of those serialised: COLLAPSE, DOCIDORDER, SORT, SORTREVERSE,
1617     SORTAFTER
1619   + Explicitly note user can use $setmap to create their own maps.
1621 * docs/overview.rst:
1623   + SVG extraction is built-in too.
1625   + Expand paragraph about command `false`.  Note the versions where explicit
1626     support was added, and that this will also work with any version on Unix,
1627     where `false` is a command.
1629   + Document `cdb_dir`.
1631 * docs/cgiparams.rst: Document behaviour if xDB is not set.
1633 * Change "characters" to "bytes" in a few places to clarify that we don't mean
1634   Unicode code points.
1636 indexers:
1638 * omindex:
1640   + Add '--title-size' option.
1642   + Handle .oft the same way as .msg - it's some sort of template email, and
1643     has essentially the same format.
1645 omega:
1647 * Make $querydescription ensure the match has been run, so that it includes
1648   filters.
1650 * Avoid $allterms, $cgilist, $filterterms and $terms being O(n²) in the number
1651   of items in the returned list.
1653 * If xFILTERS is not set, don't force the first page as that's unhelpful if
1654   someone fails to set it in their template.
1656 * When environment variable SERVER_PROTOCOL is set to INCLUDED (as it is when
1657   we're being included in a page), we already suppress the HTTP headers, but
1658   now we suppress the blank line after the header too.
1660 * Support option flag_cjk_ngram if built against xapian-core >= 1.2.22.
1662 testsuite:
1664 * Add test coverage for parsing of HTML entities.
1666 build system:
1668 * Fix error reporting if PCRE isn't installed. Fixes #693, reported by lhz7370.
1670 portability:
1672 * Avoid warning when building with glibc >= 2.21.
1674 * Don't provide our own implementation of sleep() under __WIN32__ if there
1675   already is one - mingw provides one, and in some situations it seems to clash
1676   with ours.  Reported to xapian-discuss by John Alveris.
1678 * Stop trying to use O_STREAMING - the patch to implement it was never merged
1679   into the Linux kernel, and I can't find any evidence that other platforms
1680   implement it.  The constant value O_STREAMING used now seems to be used for
1681   the part of O_SYNC which isn't covered by O_DSYNC, which seems likely to hurt
1682   performance if anything.
1684 Omega 1.2.21 (2015-05-20):
1686 documentation:
1688 * docs/overview.rst: Document 'E' prefixed boolean terms for filtering by
1689   extension (see #668, reported by bramvdh).
1691 * docs/encodings.rst: Add a document about character encoding, as suggested by
1692   James Aylett in #550.
1694 indexers:
1696 * omindex:
1698   + outlookmsg2html: Fix handling of message/rfc822 subparts.
1700 omega:
1702 * $prettyurl now decodes valid UTF-8 sequences, and some additional ASCII
1703   characters in the path part: []@!$&'()*+.;= (Fixes #550 and #644, reported by
1704   catkin and terencz.)
1706 * $prettyurl now leaves the query and fragment parts of the URL alone and won't
1707   decode an escaped "/" (omindex doesn't create URLs with any of these, so we
1708   only risk breaking other URLs which have them).
1710 * Drop compilation date and time from output when run from the command line -
1711   they prevent reproducible builds and the version number is sufficient
1712   information.
1714 templates:
1716 * templates/query: When listing matching terms, don't make the commas italic.
1718 * templates/query: Eliminate blank line before <html>.
1720 * templates/xml: Add XML declaration.
1722 * templates/godmode: Specify charset utf-8 in the content-type.
1724 build system:
1726 * Link test programs with libtool's '-no-install' or '-no-fast-install', like
1727   we already do in xapian-core, which means that libtool doesn't need to
1728   generate shell script wrappers for them on most platforms.
1730 portability:
1732 * Add spaces between literal strings and macros which expand to literal strings
1733   for C++11 compatibility.
1735 * Remove 'register' as it's deprecated and clang spits out warnings because of
1736   that.  Any modern compiler likely just ignores it as an optimisation hint
1737   anyway.
1739 Omega 1.2.20 (2015-03-04):
1741 documentation:
1743 * docs/cgiparams.rst: Improve wording of docs for SORT parameter.
1745 * docs/omegascript.rst: Update documentation references to DATE1, DATE2, and
1746   DAYSMINUS which were renamed in 0.6.x and the compatibility aliases removed
1747   in 1.0.0.
1749 indexers:
1751 * omindex:
1753   + Ignore extensions .msi and .msp, which are Microsoft installer files, but
1754     which libmagic sometimes incorrectly identifies as application/msword.
1756   + Interpret a command of "false" in "--filter" as meaning to ignore files
1757     with that MIME type.
1759 omega:
1761 * Handle CGI parameter [=0 as [=1.
1763 templates:
1765 * templates/xml: Update handling of DATE1, DATE2 and DAYSMINUS which were
1766   renamed in 0.6.x and the compatibility aliases removed in 1.0.0.
1768 build system:
1770 * configure: Use pkg-config in preference to determine flags needed to
1771   compile and link with PCRE, as this will just work when cross-compiling
1772   (at least under MXE).
1774 * configure: Define MINGW_HAS_SECURE_API under mingw to get _putenv_s()
1775   declared in stdlib.h.
1777 * Enable automake option 'subdir-objects' to avoid warning from newer automake.
1779 portability:
1781 * Avoid doing link tests with libmagic in configure as they fail on mingw due
1782   to not automatically picking up libraries which libmagic itself depends on.
1784 Omega 1.2.19 (2014-10-21):
1786 documentation:
1788 * docs/overview.rst: Note that pdftotext is part of poppler as well as xpdf.
1789   (Noted by Paul Wise)
1791 Omega 1.2.18 (2014-06-22):
1793 indexers:
1795 * omindex:
1797   + Work around libmagic returning a MIME content-type of "Composite Document
1798     File V2 Document[...]" or "application/CDFV2-corrupt" by returning a more
1799     suitable filetype based on looking at the file's extension.
1801   + The starting URL wasn't previously URL encoded.  In 1.3.2, this will be
1802     fixed by URL encoding it as we do for the rest of the path, for the 1.2
1803     branch we only URL encode it if it contains a character <= 31 or at least
1804     one of '#', '%', ':' or '?'.  This avoids a one-off reindex of every
1805     document in the database in cases which work OK in practice.
1807   + When we skip a file because it exceeds the configured size limit, include
1808     that size limit in the message.
1810 omega:
1812 * Add support for setting the query expansion scheme to use.
1814 portability:
1816 * Don't compile in unixperm.cc - it isn't currently used, and it fails to build
1817   with mingw.  (fixes #635, reported by Alexis Denis)
1819 * Fix warning when built with GCC 4.7.2 using -Os.
1821 * Removed unused inline function, fixing compiler warning.
1823 Omega 1.2.17 (2014-01-29):
1825 documentation:
1827 * docs/overview.html: Add Abiword as an example use of --filter, based on patch
1828   from Frank J Bruzzaniti (fixes#383).
1830 portability:
1832 * Fix "no previous declaration" warning on platforms which don't have
1833   mkdtemp().
1835 Omega 1.2.16 (2013-12-04):
1837 indexers:
1839 * omindex:
1841   + Fix off-by-one when finding documents to delete which would sometimes cause
1842     omindex to fail to delete documents from the database when they weren't
1843     refound during an index update.
1845   + Decode dates in xlsx files.
1847   + Ignore extensions 'adm', 'cur', and 'ico' by default.
1849   + Group-readable files which are owner-readable but not world-readable should
1850     still get a "readable by owner" term added.  Reported by Emmanuel Garette.
1852 build system:
1854 * Compress source tarballs with xz instead of gzip.
1856 * configure: Sync compiler warning flag machinery against xapian-core.  The
1857   changes are special handling for clang, passing -fshow-column where
1858   supported, and handling for new warning flags in GCC 4.6 and 4.7.
1860 Omega 1.2.15 (2013-04-16):
1862 omega:
1864 * Don't pointlessly link utf8convert.o into the omega CGI.
1866 Omega 1.2.14 (2013-03-14):
1868 indexers:
1870 * omindex:
1872   + Correct "max" -> "min" when reserving space for shared strings in .xlsx
1873     files.  This just means we now reserve a more appropriate amount of space
1874     to start with.
1876   + Ignore .com files by default.
1878 Omega 1.2.13 (2013-01-09):
1880 indexers:
1882 * omindex:
1884   + Extracting text using external filters now works for filenames containing a
1885     newline character - previously the newline got lost during escaping for the
1886     shell.
1888   + Fix segfault when -F option without a ':' is passed.
1890   + Skip a file if we get a read error while calculating the MD5 checksum (used
1891     for duplicate detection) - previously we used a checksum of the file up to
1892     that point.
1894   + Avoid rereading SVG and Atom files when we calculate their MD5 checksums.
1896   + Improvement --help output and man page, most notably:
1898     - Say explicitly that --sample-size accepts the same formats as --max-size.
1900     - Note default size limit on files to index is unlimited.
1902   + When generating a sample for a CSV file, limit the size we pre-allocate to
1903     the CSV file size if that's smaller than the requested sample size, in case
1904     the user sets that limit very high.
1906 omega:
1908 * Fix to decode %-encoded character at the end of the query string.
1910 build system:
1912 * INCLUDES is now deprecated in automake, so use AM_CPPFLAGS instead.
1914 Omega 1.2.12 (2012-06-27):
1916 No changes since 1.2.11 except to bump the version - this release was made to
1917 fix an incorrect library version information update in xapian-core 1.2.11.
1919 Omega 1.2.11 (2012-06-26):
1921 indexers:
1923 * Change HTML parser's handling of multiple <body> tags and of text outside of
1924   <body> to match the behaviour of modern web browsers.  (ticket#599)
1926 * omindex:
1928   + Add command line option to control the size of the document sample stored.
1929     Patch from Mihai Bivol.
1931   + Rework .xlsx parsing to substitute the shared strings into the positions
1932     they are used in, so that the sample actually matches what appears in the
1933     spreadsheet, and to index calculated cell contents.
1935   + Improve handling of headers and footers in OpenDocument documents.
1937   + pdftotext outputs a formfeed between each page, which messes up our "empty
1938     body" check, so trim any trailing formfeeds before this check.
1940 build system:
1942 * Don't explicitly link indirect shared library dependencies on FreeBSD,
1943   OpenBSD, and Solaris.
1945 Omega 1.2.10 (2012-05-09):
1947 indexers:
1949 * Add support for CDATA to HTML/XML parser.
1951 * omindex:
1953   + Add --max-size option, based on patch from ndaley in ticket#587.
1955   + Add support for atom feed files, patch from Mihai Bivol in ticket#595.
1957   + If the document with the highest existing docid before the run was updated,
1958     we were reporting it as "added", but now we correctly report it as
1959     "updated".  (Backported from 1.3.0).
1961   + Catch and report std::exception explicitly, so failing to allocate memory
1962     is no longer reported as "Unknown exception".  (Backported from 1.3.0).
1964 * scriptindex:
1966 portability:
1968 * Fix to build with GCC 4.7 by adding cast to rlim_t to fix error about C++11
1969   compatibility (reported by Gaurav Arora).
1971 Omega 1.2.9 (2012-03-08):
1973 documentation:
1975 * docs/overview.html:
1977   + Document that libmagic is used to determine the MIME type if the extension
1978     isn't known.  Partly addresses ticket#569.
1980   + We now limit time as well as CPU and memory for external filters.
1982 indexers:
1984 * Our HTML parser now ignores sections bracketed by <!--UdmComment--> and
1985   <!--/UdmComment-->, like we already do for <!--htdig_noindex-->.
1987 * omindex: Add more extensions to the default ignore list: bin dat db fon jar
1988   lnk pyc pyd pyo sqlite sqlite3 sqlite-journal tmp ttf
1990 Omega 1.2.8 (2011-12-13):
1992 documentation:
1994 * scriptindex.cc: Add link to http://xapian.org/docs/omega/scriptindex.html to
1995   --help output (and so also to the man page which is generated from this).
1997 * omegascript.html: Add note to discourage use of percentage scores.
1999 indexers:
2001 * omindex:
2003   + If we don't get any data from an external filter for 5 minutes, give up -
2004     it has probably ended up blocked indefinitely.
2006   + Improve --help output (and man page which is generated from it).  Closes
2007     bug#572.
2009 * scriptindex:
2011   + If no rules are found in the index script, report an error and give up -
2012     this is inevitably the result of a mistake, and adding empty documents to
2013     the database isn't helpful.
2015 omega:
2017   + Add new $prettyurl{} command which undoes RFC3986 URL escaping which
2018     doesn't affect semantics in practice.  Partly addresses ticket#550.
2020   + Replace URL decoder with new implementation which handles various corner
2021     cases better.  Fixes bug#578.
2023   + If CGI parameter P has trailing spaces, we now remove them all rather than
2024     leaving one.
2026 templates:
2028 * templates/query: HTML escape topterms.
2030 * templates/godmode: HTML escape the contents of document values.
2032 * templates/query: Don't show the percentage score in the default template.
2034 testsuite:
2036 * Add new urlenctest unit test of URL encoding and decoding.
2038 portability:
2040 * configure: Sync changes from xapian-core: Don't pass -Wshadow for GCC < 4.1;
2041   don't pass -Wstrict-null-sentinel for GCC 4.0.x; only enable symbol
2042   visibility on platforms where it is supported.
2044 packaging:
2046 * xapian-omega.spec: Package outlookmsg2html helper.
2048 Omega 1.2.7 (2011-08-10):
2050 documentation:
2052 * docs/termprefixes.html: Document how to map a user prefix to multiple term
2053   prefixes.
2055 * docs/overview.html: Improve documentation of htdig_noindex.
2057 omega:
2059 * Improve $version output from "Xapian - xapian-omega 1.2.7" to "xapian-omega
2060   1.2.7".
2062 packaging:
2064 * xapian-omega.spec: We're ABI compatible within a release series so make
2065   dependency on xapian-core-libs >= rather than =.
2067 Omega 1.2.6 (2011-06-12):
2069 documentation:
2071 * docs/omegascript.html: Correct the documentation of the colours used by
2072   $highlight{}.
2074 * docs/overview.html: Add using unoconv as more complex example of using
2075   --filter (ticket#324).
2077 templates:
2079 * templates/query:
2081   + Make search query input type=search.
2083   + Autofocus the search query input (using HTML autofocus attribute with
2084     Javascript fallback for older browsers).  (ticket#544)
2086 portability:
2088 * Fix a compiler warning.
2090 Omega 1.2.5 (2011-04-04):
2092 documentation:
2094 * Add index page which links to all the other documentation pages.
2096 * INSTALL: Copy new Multi-Arch section from xapian-core/INSTALL.  Replace VPATH
2097   section with better equivalent from Xapian-core/INSTALL.
2099 * docs/omegascript.html: Minor improvements.
2101 indexers:
2103 * The HTML parser no longer uses an exception to signify it has finished in
2104   the normal case as exceptions are typically costly to handle.  In tests,
2105   this made omindex ~0.23% faster when indexing a lot of HTML files.
2107 * omindex:
2109   + Add --ignore-exclusions option, which will index HTML files despite meta
2110     robots tags, etc - omindex is often used in environments where such
2111     exclusions aren't relevant.
2113   + Fix to compile with older versions of libmagic which don't have
2114     MAGIC_MIME_TYPE (e.g. on Ubuntu hardy).
2116   + Tell xls2csv to separate fields with spaces rather than commas, and not to
2117     quote them.  Fixes indexing of numeric fields, and means we don't need to
2118     use our CSV parser to get a sample.
2120   + Add whitespace between chunks of text extracted from Microsoft Office 2007
2121     formats to prevent words in adjacent chunks from being run together.
2123   + Encode reserved characters in URLs - links to files with names containing
2124     '#' and '?' now work.
2126   + Handle .xlr extension the same way as .xls (later Microsoft Works versions
2127     apparently produce such files which are really the same format).
2129   + Index filename extension with new standard prefix E.
2131   + Just report the mimetype as unknown instead of saying "unknown Office 2007
2132     MIME subtype".
2134   + Ignore *.css and *.js by default too.
2136   + Messages reporting skipping files are now more consistent and always report
2137     the filename.
2139   + New --empty-docs option to allow documents we extract no body text from to
2140     be indexed (existing behaviour), skipped, or reported and then indexed.
2142 omega:
2144 * Fix double Content-Type header in some error reporting situations (regression
2145   introduced in 1.2.4).
2147 * Update $url's URL encoding to follow RFC3986.
2149 * Allow QueryParser flags to be set from OmegaScript (ticket#418).  The
2150   FLAG_SPELLING_CORRECTION flag can now be set using
2151   $opt{flag_spelling_correction,1} - the old $opt{spelling,true} way to
2152   enable this flag still works, but it now deprecated.
2154 templates:
2156 * templates/emptydocs,templates/godmode,templates/opensearch,templates/query,
2157   templates/xml: Add missing escaping.  Some of these instances may allow
2158   cross-site scripting, so upgrading your templates is recommended, especially
2159   if you have any sensitive cookies set on the domain Omega is running on.
2161 * templates/xml:
2163   + Try $field{caption} (which is what omindex sets) before $field{title} when
2164     getting a value for the hit tag's title attribute - this is consistent with
2165     how the query template gets the title.
2167   + Add new 'type' attribute which gives $field{type}.
2169   + Add 'DBSize' attribute to <result> element.
2171   + Fix double escaping of matching terms.  This is only likely to affect cases
2172     where a matching term contains '&'.
2174   + Remove support for undocumented HILITECLASS CGI variable.  There's no
2175     evidence I can find using Google code search or web search that this has
2176     been used anywhere, and it's difficult to handle escaping it properly in
2177     the face of all the ways it could reasonably be used.
2179 portability:
2181 * Fix to compile on Microsoft Windows (ticket#350).
2183 Omega 1.2.4 (2010-12-19):
2185 documentation:
2187 * Minor documentation improvements.
2189 indexers:
2191 * Some iconv implementations (such as that on Mac OS X) don't handle many of
2192   the commonly seen mis-punctuated charset names (e.g. UTF16, UTF_16).  We now
2193   check for this if iconv fails, fix up the charset name, and retry.
2195 * The built-in character encoding converter now handles spaces in charset
2196   names.
2198 * Use O_NOATIME if available and either the file is owned by the current euid,
2199   or the current euid is 0 (i.e. we're running as root).  This avoids updating
2200   the access time of files we index which saves time.  Fixes ticket#222.
2202 * Report get_description() for Xapian exceptions, which provides additional
2203   information above get_msg().
2205 * Add boolean terms with add_boolean_term() so they get wdf of 0 and don't
2206   contribute to document length.
2208 * omindex:
2210   + Escape wildcard patterns being passed to unzip - in the unlikely event that
2211     one of these matched files in or under the current directory, we might fail
2212     to extract all the files we wanted to.
2214   + Add explicit support for indexing CSV files (better samples than from
2215     using '-Mcsv:text/plain').
2217   + Add support for indexing .msg files from Microsoft Outlook (using the Perl
2218     module Email::Outlook::Message.  (ticket#334)
2220   + Improve --help for --mime-type option.
2222   + Optionally use libmagic to detect MIME types for files for which we have no
2223     extension mapping, which allows us to handle files with a misleading
2224     extension, or no extension at all.  (ticket#114)
2226   + Add new --filter option which allows the user to specify new filters
2227     provided they return UTF-8 text on stdout.
2229   + If a filter command isn't installed, previously we wouldn't try it again
2230     for the same file extension - now we won't try it again for the same
2231     mime-type.
2233   + Index the leafname of the file (without any extension) as extra keywords.
2235   + Extract author from HTML, OpenDocument, and PDF files.  Index it with an A
2236     prefix, and add it as a field.
2238   + Add support for indexing text and metadata from SVG files.
2240   + Extract metadata from Microsoft Office 2007 file formats.
2242   + Index text in headers and footers for .odt and .docx files.
2244   + Use the CSV parser to generate a nicer sample for files of type
2245     application/vnd.ms-excel.
2247   + Add support for indexing Debian and RPM package files (ticket#493).
2249   + Make the memory limit for filter processes the size of physical memory,
2250     which is a little less arbitrary than 7/8 of this value (ticket#424).
2252   + Under --duplicate=ignore, fix so that old documents which aren't seen get
2253     deleted, which wasn't implemented before (to suppress this deletion, pass
2254     -p as well).
2256   + Rename the short option for --version from -v to -V for consistency with
2257     scriptindex and many other packages, and to free up -v as the short option
2258     for --verbose.  For backward compatibility, "omindex -v" is handled
2259     specially and still reports the version.
2261   + Add --verbose option, and disable the less interesting output unless it is
2262     specified.
2264   + Deprecate "--preserve-nonduplicates" in favour of new long option
2265     "--no-delete" which does the same thing, but has a clearer name.
2267   + The deletion of documents pass at the end of indexing is now more
2268     efficient.  We track how many documents in the database we haven't seen so
2269     we can stop once we've found them all (a particularly big improvement if
2270     there are no documents to delete), and we now use a PostingIterator over
2271     all documents which avoids needing to catch an exception for every gap in
2272     the used document ids.
2274   + Quietly ignore files with mimetype set to "ignore".  The initial list of
2275     extensions set to ignore is: .a .dll .dylib .exe .lib .o .obj .so
2277   + Index file owner and read permissions, to allow finding documents with a
2278     particular owner, and so searches can be restricted to documents a user is
2279     able to read.
2281   + Add file size as a document value, so you can sort on it and filter by it.
2283 * scriptindex:
2285   + Fix file descriptor leak if the LOADFILE action is used on something which
2286     isn't a file.
2288 omega:
2290 * Make sure we write out HTTP headers when reporting an error early on.
2292 * Extend $field to take an optional DOCID argument, rather than always using
2293   the context from $hitlist.
2295 * Add new $emptydocs command which returns a list of documents with doclength
2296   zero.
2298 * Add support for size: range filtering.  Currently the end points of the range
2299   have to be specified in bytes (e.g. size:102400..204800 for 100-200KB).
2301 templates:
2303 * templates/emptydocs: New template which lists documents with doclength zero.
2305 build system:
2307 * configure: Probe for any options needed to enable large file support.
2308   Handling files >= 2GB isn't especially useful, but more importantly this is
2309   needed to allow omindex to index files on filing systems with 64 bit inodes
2310   on some platforms (e.g. 32-bit Linux).
2312 * Use -no-undefined on platforms which need it to dynamically link such as
2313   cygwin (need to do this taken from ticket#282).
2315 portability:
2317 * Fix to compile with Sun C++.
2319 Omega 1.2.3 (2010-08-24):
2321 documentation:
2323 * docs/termprefixes.html: Update "flint and quartz" to "flint and chert" as
2324   quartz is no longer supported.  Give exact term length limit for flint and
2325   chert.
2327 packaging:
2329 * xapian-omega.spec: Don't run autoreconf - it's no longer required.
2331 Omega 1.2.2 (2010-06-27):
2333 portability:
2335 * Apply getopt portability fixes from xapian-core 1.2.0, fixing build failures
2336   on Mac OS X (and probably some other platforms with non-GNU getopt
2337   implementations). (ticket#469)
2339 Omega 1.2.1 (2010-06-22):
2341 This release includes all changes from 1.0.21 which are relevant.
2343 Omega 1.2.0 (2010-04-28):
2345 This release includes all changes from 1.0.20 which are relevant.
2347 build system:
2349 * configure: Tell libtool not to link in deplibs on platforms where we know
2350   they aren't needed.
2352 * configure: On Linux, extract the library search path from ldconfig which
2353   gives us the default entries reliably.
2355 Omega 1.1.5 (2010-04-15):
2357 This release includes all changes from 1.0.19 which are relevant.
2359 Omega 1.1.4 (2010-02-15):
2361 This release includes all changes from 1.0.18 which are relevant.
2363 omega:
2365 * Use the optimised integer to string conversion routines from xapian-core.
2367 Omega 1.1.3 (2009-11-18):
2369 This release includes all changes from 1.0.15-1.0.17 which are relevant.
2371 templates:
2373 * templates/query: If JavaScript is available, convert $field{modtime} to a
2374   string on the client-side so that the timezone is correct.  If JavaScript
2375   isn't available, fall back to the existing behaviour of using UTC.
2376   (ticket#314)
2378 build system:
2380 * configure: Default to looking for xapian-config-1.1 unless XAPIAN_CONFIG is
2381   specified.
2383 Omega 1.1.2 (2009-07-23):
2385 This release includes all changes from 1.0.14 which are relevant.
2387 indexers:
2389 * omindex:
2391   + Handle the "macroenabled" versions of MS Office 2007 files too
2392     (ticket#290).
2394   + Extract pptx notesSlides and comments, if present.  (ticket#290).
2396 Omega 1.1.1 (2009-06-09):
2398 This release includes all changes from 1.0.13 which are relevant.
2400 indexers:
2402 * omindex:
2404   + Check the last modification time of files before reindexing (ticket#342).
2406   + Add "--spelling" option to index spelling correction data.
2408 * scriptindex:
2410   + Add new "spell" action for indexing spelling correction data (ticket#296).
2412 omega:
2414 * Add $suggestion and $opt{spelling} to provide access to spelling correction
2415   (ticket#296).
2417 * Add $opt{weighting} to allow the weighting scheme and parameters to be
2418   specified (ticket#298).
2420 * If SERVER_PROTOCOL in the environment is set to INCLUDED, then our output is
2421   being included in another page (e.g. using SSI) so suppress the output of any
2422   HTTP headers.
2424 templates:
2426 * templates/query: Offer any spelling correction QueryParser gives.
2428 build system:
2430 * configure: Sync warning flags used with GCC with xapian-core apart from
2431   -Woverloaded-virtual which fires for MyHtmlParser::parse_html().  That
2432   probably should be tidied up at some point, but not right now.
2434 Omega 1.1.0 (2009-04-23):
2436 indexers:
2438 * scriptindex:
2440   + Make deprecated "index=nopos" an error.
2442 omega:
2444 * New OmegaScript command $transform{} which performs regular expression
2445   substitutions using the PCRE library (which is now required to build Omega).
2446   (ticket#231)
2448 build system:
2450 * The build system is now bootstrapped with newer versions of autoconf and
2451   libtool which should produce smaller files and speed up configure and
2452   make.
2454 Omega 1.0.23 (2011-01-14):
2456 indexers:
2458 * omindex:
2460   + Escape wildcard patterns being passed to unzip - in the unlikely event that
2461     one of these matched files in or under the current directory, we might fail
2462     to extract all the files we wanted to when indexing document formats like
2463     OpenDocument which use a zip file container.
2465   + The parser for OpenDocument metadata wasn't initialising its "state" field.
2466     Often you'd be lucky and it would be initialised to zero, but this could
2467     have caused misparsing of metadata in some cases.
2469 * scriptindex: Fix file descriptor leak if the LOADFILE action is used on
2470   something that isn't a file.
2472 * If fstat() fails when trying to load a file, preserve the errno value from
2473   the fstat call to report to the user.
2475 portability:
2477 * configure: Probe for any options needed to enable large file support.
2478   Handling files >= 2GB isn't especially useful, but more importantly this is
2479   needed to allow omindex to index files on filing systems with 64 bit inodes
2480   on some platforms (e.g. 32-bit Linux).
2482 * Add -no-undefined to AM_LDFLAGS on platforms which need it to dynamically
2483   link such as cygwin (need to do this taken from ticket#282).
2485 Omega 1.0.22 (2010-10-03):
2487 portability:
2489 * Fix to compile with Sun C++.
2491 Omega 1.0.21 (2010-05-18):
2493 portability:
2495 * Fix build failure in freemem.cc on Microsoft Windows.
2497 Omega 1.0.20 (2010-04-27):
2499 portability:
2501 * Fix build failure on Mac OS X and possibly some other platforms (regression
2502   caused by fix for getopt-related warnings on Cygwin in 1.0.19).
2504 Omega 1.0.19 (2010-04-15):
2506 portability:
2508 * Fix getopt-related warning on Cygwin.
2510 Omega 1.0.18 (2010-02-14):
2512 indexers:
2514 * Make the default charset "utf-8" not "UTF-8" as we lower case explicitly
2515   specified character sets to compare to see if we need to reparse.  Previously
2516   XML documents which explicitly specified their character set as UTF-8 would
2517   cause needless restart or the parser.
2519 * omindex:
2521   + Increase the wdf boost for the document title from 2 to 5, since 2 isn't
2522     really enough.
2524 * scriptindex:
2526   + Don't abort with "Unknown Exception" if indexing is disallowed or we hit
2527     </body> for a document which had an overridden character set.  Fixes
2528     ticket#410.
2530 Omega 1.0.17 (2009-11-18):
2532 indexers:
2534 * omindex:
2536   + On Linux, change the memory limit on external filters to use _SC_PHYS_PAGES
2537     since _SC_AVPHYS_PAGES excludes pages used by the OS cache and so will
2538     often report a really low value.  Fixes Debian bug#548987 and ticket#358.
2540   + Fix likely crash when reading output from external filter program if read()
2541     is interrupted by a signal.
2543   + Fix potential crash when indexing PostScript files (fixed by using delete[]
2544     (not delete) for array allocated by new[]).
2546 testsuite:
2548 * utf8converttest: Charset "8859_1" isn't understood by Solaris libiconv, and
2549   isn't a standard charset name, so just test it when using our built-in
2550   converter and GNU libc.
2552 portability:
2554 * Fix build failure on Mac OS X 10.6.
2556 * Also check for socketpair() in -lxnet if it isn't found without, which
2557   enables resource limits on external filter programs called by omindex on
2558   Solaris, and possibly some other platforms.  Fixes ticket#412.
2560 Omega 1.0.16 (2009-09-10):
2562 * omega: Fix cross-site scripting vulnerability in reporting of exceptions
2563   (CVE-2009-2947).
2565 Omega 1.0.15 (2009-08-26):
2567 general:
2569 * omegascript.vim: The list of OmegaScript commands in the vim mode was rather
2570   out of date, and a few commands were misclassified.  Fix both problems and
2571   avoid future recurrences by automatically generating those lists from the
2572   command list in query.cc.
2574 documentation:
2576 * omegascript.html: Document that $date uses UTC.  (ticket#314)
2578 templates:
2580 * query: Link to "xapian.org" rather than "www.xapian.org".
2582 * inc/toptermsjs: Use double-quotes rather than single quotes for parameter
2583   values on the <script> tag.
2585 portability:
2587 * omindex: Implement correct handling of paths when calling external filter
2588   programs on Microsoft Windows.
2590 Omega 1.0.14 (2009-07-21):
2592 indexers:
2594 * omindex: Make sure that output is flushed after every message, not just after
2595   some of them.
2597 portability:
2599 * Avoid infinite loop in omindex and scriptindex when reading files under
2600   Cygwin with automatic end of line translation enabled.  This same bug can
2601   also manifest on Unix platforms if the file is truncated by another process
2602   while being read.
2604 Omega 1.0.13 (2009-05-23):
2606 indexers:
2608 * omindex:
2610   + If the filter program needed for a file format isn't installed, report this
2611     explicitly when skipping subsequent files with the extension instead of
2612     misleadingly reporting "Unknown extension".
2614   + Make -s actually work as a short-form for --stemmer (as documented by
2615     "omindex --help" and "man omindex").
2617   + Drop the copyright info from the output of --version as it's perennially
2618     out of date and we don't report it for any other Xapian programs.
2620 * scriptindex:
2622   + Add new "valuenumeric" action to add a document value using
2623     Xapian::sortable_serialise() to allow numeric sorting (ticket#260).
2625 build system:
2627 * configure: Enable more GCC warnings - "-Wstrict-null-sentinel" for 4.0+,
2628   "-Wlogical-op -Wmissing-declarations" for 4.3+.
2630 Omega 1.0.12 (2009-04-19):
2632 omega:
2634 * $log now retries a partial write, or one interrupted by a system call.
2636 build system:
2638 * configure: Fix iconv parameter type probe not to implicitly cast a string
2639   literal to char* - this a warning under GCC currently, but the user could
2640   pass -Werror explicitly in CXXFLAGS, and this could be promoted to an error
2641   in future GCC versions, and may already be so for some other compilers.
2643 * Overriding CXXFLAGS at make-time (e.g. "make CXXFLAGS=-Os") no longer
2644   overrides any flags required for building with Xapian.
2646 * We now actually use the compiler warning flags which configure detects.
2648 Omega 1.0.11 (2009-03-15):
2650 documentation:
2652 * cgiparams.html: Note the technique of using a stub database file to allow a
2653   default of searching over multiple databases.
2655 indexers:
2657 * omindex:
2659   + Add support for indexing Microsoft Office 2007 formats and XPS files
2660     (bug#290).
2662   + Fix the extraction of metadata from OpenDocument formats.
2664   + Fix "-l" which would previously always cause a segmentation fault if used
2665     ("--depth-limit" wasn't affected).
2667 build system:
2669 * configure: The output of g++ --version changed format (again) with GCC 4.3
2670   which meant configure got "g++" for the version.  Instead use the (hopefully)
2671   more robust technique of using g++ -E to pull out __GNUC__ and
2672   __GNUC_MINOR__.
2674 * configure: Turn on _FORTIFY_SOURCE where available (as we do in xapian-core).
2676 portability:
2678 * Fix to compile when RLIMIT_AS isn't available (as on NetBSD and OpenBSD).
2679   Instead use RLIMIT_VMEM or RLIMIT_DATA if either is available, else don't try
2680   to limit the memory the filter process can use.
2682 Omega 1.0.10 (2008-12-23):
2684 build system:
2686 * This release now uses newer versions of the autotools (autoconf 2.62 ->
2687   2.63; automake 1.10.1 -> 1.10.2).  The newer autoconf fixes a regression
2688   in autoconf 2.62 (and so Omega 1.0.7) with detecting the endian-ness of some
2689   platforms.
2691 Omega 1.0.9 (2008-10-31):
2693 documentation:
2695 * docs/overview.html: Document HTML parsing a bit, including robots
2696   meta and htdig_noindex.
2698 omega:
2700 * omega: Catch std::exception and report what its what() method returns.
2702 * omega: Remove undocumented and non-functional support for numeric sorting
2703   via CGI parameter SORT=#<slot> (SORT=<slot> works as before).
2705 build system:
2707 * configure: Sync warning flag handling changes from xapian-core to eliminate
2708   many warnings from GCC 4.3.
2710 Omega 1.0.8 (2008-09-04):
2712 documentation:
2714 * Fix a few typos and improve wording in a few places.
2716 indexers:
2718 * omindex:
2720   + If the character encoding is specified using <meta http-equiv=...> in an
2721     HTML document then reparse the document if it isn't the encoding we're
2722     already using so that any preceding <title> is converted correctly
2723     (bug#292).
2725   + Convert text from meta tag parameters to UTF-8 (bug#293).
2727   + Handle <meta charset="..."> (new in HTML 5).
2729   + Fix bug in HTML tag parameter parsing which was probably just a small
2730     performance penalty in real world cases, but could perhaps result in
2731     parsing bogus extra parameters in carefully contrived situations.
2733 portability:
2735 * Add missing <signal.h>, noted on FreeBSD by Henrik Brix Andersen.
2737 Omega 1.0.7 (2008-07-14):
2739 documentation:
2741 * omegascript.html,scriptindex.html: Fix empty titles.
2743 indexers:
2745 * omindex:
2747   + When indexing text files, handle UCS-2 and UTF-16 text files with a
2748     byte-order mark (BOM), and ignore any UTF-8 "byte-order" mark.
2750   + The built-in conversion code (used when iconv isn't available) now handles
2751     UCS-2/UTF-16 with and without a BOM, and also the explicit BE and LE forms.
2753 omega:
2755 * Overhaul the $highlight colour combinations since some were rather
2756   unreadable (Debian bug 484456).
2758 build system:
2760 * configure: Synchronise code for working out warning flags used for builds
2761   with that used for xapian-core, which in particular handles different
2762   output formats from "gcc --version".
2764 portability:
2766 * configure: Fix header checks to pre-include <sys/types.h> which Mac OS X
2767   needs for some other headers to work.
2769 * configure: Fix probing for iconv to work better when iconv isn't found
2770   (previously this only worked on Mac OS X with fink).
2772 * Fix compilation error on FreeBSD, introduced in 1.0.5.
2774 * In omega, cast size to unsigned before division to avoid a warning about
2775   signed overflow.
2777 packaging:
2779 * xapian-omega.spec: Remove "www." from xapian.org and oligarchy.co.uk URLs.
2781 Omega 1.0.6 (2008-03-17):
2783 documentation:
2785 * docs/omegascript.html: Improve formatting.
2787 indexers:
2789 * omindex:
2791   + Add support for DjVu files.
2793   + If we get an error trying to read a directory entry, report it to the user
2794     rather than ignoring it.
2796 omega:
2798 * New OmegaScript commands $addfilter, $lower, $upper.
2800 portability:
2802 * Check "defined HAVE_SYSMP" rather than just "HAVE_SYSMP".  This doesn't
2803   change behaviour, but fixes a compile warning on platforms other than Linux
2804   and IRIX.
2806 Omega 1.0.5 (2007-12-21):
2808 documentation:
2810 * Convert .txt docs to reStructedText which we process to produce HTML.
2812 * Add a note inviting suggestions for additional reliable filter programs.
2814 * overview.html: omindex hasn't generated "W"-prefix terms since 0.9.7, so
2815   remove the documentation saying it does.
2817 indexers:
2819 * omindex:
2821   + If a file's extension isn't found in the mime_map and contains uppercase
2822     ASCII characters, check for the lower cased extension (so .PDF and .Pdf
2823     behave the same way as .pdf, unless you deliberately add different mappings
2824     for them).
2826   + '-f' is documented by --help as a short option for '--follow', but wasn't
2827     previously actually recognised.
2829   + Limit filter programs to 7/8 of free physical memory on platforms where we
2830     know how to determine this statistic (currently at least Linux, FreeBSD,
2831     IRIX, HP-UX; probably Solaris and a few others too).  This helps to prevent
2832     runaway filters from causing a denial of service (bug#111).
2834   + Avoid rereading uncompressed AbiWord documents in order to calculate their
2835     MD5 checksums.
2837 * scriptindex:
2839   + Now inserts a ':' between prefix and term, using the same criteria which
2840     Xapian::QueryParser does.
2842   + The 'BOOLEAN' action now ignores an empty input rather than adding just the
2843     prefix as a term.
2845   + The 'UNIQUE' action now issues a warning for empty input but otherwise
2846     ignores it.
2848 portability:
2850 * Add explicit includes of C headers needed to build with the latest snapshots
2851   of GCC 4.3.
2853 Omega 1.0.4 (2007-10-30):
2855 omega:
2857 * If an OmegaScript template specifies the same field name as both a boolean
2858   and a probabilistic term prefix then previous the boolean setting would
2859   be ignored (e.g. $setmap{prefix,foo,A}$setmap{boolprefix,foo,H}).  Now this
2860   generates an error.  If you set prefixes in your templates, you may wish to
2861   check them over before upgrading.
2863 Omega 1.0.3 (2007-09-28):
2865 general:
2867 * Distribution tarballs are now in the POSIX "ustar" format since it saves
2868   a few KB and we need to use it for xapian-core anyway.
2870 documentation:
2872 * Expand the output of 'mbox2omega --help' and refer the reader to it from
2873   docs/scriptindex.txt.
2875 indexers:
2877 * omindex:
2879   + Add support for indexing AbiWord documents and TeX DVI files.
2881   + Impose a 5 minute CPU time limit on filter programs to prevent problems if
2882     a filter program goes into an infinite loop on a malformed input.  Partly
2883     addresses bug#111.
2885 * scriptindex:
2887   + Fix line number tracking in dump files.
2889 omega:
2891 * Add $muldiv{A,B,C} which calculates int(A*B/C).
2893 * Fix bug in decimal fraction in $size for files >= 1M in size.
2895 templates:
2897 * query:
2899   + Set HTML charset to utf-8 since that's what databases now are by default.
2901   + Restyle to use CSS to draw a "score bar" instead of using images.
2903   + Rework the layout of each hit.
2905   + Add popup hints on mouse-over for various items.
2907   + Tidy up some HTML gremlins.
2909 Omega 1.0.2 (2007-07-05):
2911 documentation:
2913 * scriptindex.txt: Fix typo.
2915 indexers:
2917 * omindex:
2919   + If --url isn't passed, default to "/", but print a warning noting that this
2920     default has been used (at least for now).
2922   + Report files that aren't indexed because their extensions aren't
2923     recognised.
2925 build system:
2927 * Value of XAPIAN_CONFIG supplied to configure is now passed to distcheck,
2928   to ensure that it works with uninstalled copies of Xapian.
2930 portability:
2932 * Fix test programs to build with a development snapshot of GCC 4.3.
2934 Omega 1.0.1 (2007-06-11):
2936 documentation:
2938 * overview.txt: As of 1.0.0, we no longer use pstotext for PostScript, but
2939   instead use ps2pdf followed by pdftotext (since this works for Unicode).
2941 * scriptindex.txt: Document that you can delete a document by supplying a new
2942   document which only contains the unique term.
2944 indexers:
2946 * Fix bug in HTML parser - if the text between two tags consisted entirely of
2947   whitespace it would just be ignored which could run words together if
2948   the tags didn't produce implicit whitespace.  This bug dates back to at least
2949   Omega 0.8.2.
2951 * omindex: Under Linux (and probably some other platforms) struct dirent can
2952   tell us the type of a directory entry for some filing systems, so make use of
2953   this to avoid calling stat() (or lstat()) unnecessarily - when indexing
2954   /usr/share/doc on my Linux box, this saves about 14000 explicit calls to
2955   stat() (leaving about 7000).
2957 omega:
2959 * Fix handling of query parsing errors (broken by changes in 1.0.0).
2961 packaging:
2963 * The required automake version has been lowered to 1.8.3, so RPMs can now be
2964   built on RHEL 4 and SLES 9.
2966 Omega 1.0.0 (2007-05-17):
2968 general:
2970 * Omega and the indexers now work in UTF-8.  If iconv() is available, omindex
2971   will use it to convert documents from other formats, otherwise it has
2972   built-in support for UTF-8 and ISO-8859-1; omindex knows how to run the
2973   various external filter programs to generate UTF-8 output; scriptindex
2974   assumes input is already in UTF-8.
2976 * Change the project name (used to name tarballs, and default installation
2977   paths) to "xapian-omega" since that's what the RPMs and Debian packages
2978   already use (there's a Rogue-like game called Omega).
2980 documentation:
2982 * docs/overview.txt: Document what each of the OmegaScript templates does.
2984 * docs/quickstart.txt: Assorted minor improvements.
2986 * docs/termprefixes.txt: Document new 'Z' prefix, and that the 'R' and 'W'
2987   prefixes are no longer used by Xapian.
2989 * docs/cgiparams.txt: FMT isn't limited to just `a-z' - the actual restriction
2990   is that it may not contain `..'.
2992 * docs/scriptindex.txt: Explicitly note that index=nopos is deprecated
2993   (scriptindex already emits a warning).
2995 * NEWS: Add note that Omega < 0.8.0 NEWS entries are in the xapian-core NEWS
2996   file.
2998 * TODO: Updated.
3000 indexers:
3002 * Updated to use the new Xapian::TermGenerator class.  This means that the
3003   indexing strategy has changed.
3005 * "--help" now reports the default stemming language (i.e. "english").
3007 * Implement new sample generating function which normalises all runs of
3008   whitespace to a single space, and fixes invalid UTF-8 in the sample.
3010 * omindex:
3012   + We now index PostScript by converting to PDF with ps2pdf and then indexing
3013     that.  This allows us to index PostScript files containing Unicode
3014     characters outside of ISO-8859-1, and also means we now get metadata from
3015     PostScript files.  The downside is it is quite a bit slower.
3017   + Add support for indexing MS Works documents using wps2text (part of
3018     libwps).
3020   + Don't index empty files.
3022 * scriptindex:
3024   + Fix optimisation of "load truncate=N" to actually work!
3026   + The "truncate" action knows not to chop off a multibyte UTF-8 character.
3028   + Update short option list for scriptindex to match documented usage (-h, -V
3029     and -s were not working).
3031   + Remove -q and -u options - they no longer do anything and are only accepted
3032     for compatibility with really old versions (0.6.1 and earlier for -q; 0.7.5
3033     and earlier for -u).
3035 omega:
3037 * Add an alternative implementation of date range filtering which uses a
3038   MatchDecider.  This allows everything that the existing implementation does,
3039   plus you can support sorting on a choice of dates (e.g. first published or
3040   last updated), and filtering works to a resolution of a minute rather than a
3041   day.  Set CGI parameter DATEVALUE to enable this, and to specify the value to
3042   use.  Since omindex now adds the last modified date as value 0, this will
3043   work with omindex.
3045 * Enhance $substr{} to accept a negative length (meaning to count back from the
3046   end of the string).
3048 * New CGI parameters to allow finer control of sorting and ranking - SORTAFTER
3049   and DOCIDORDER.
3051 * The sorting options are now encoded in $filters so Omega can automatically
3052   reset to page 1 if they are changed.
3054 * Add new OmegaScript $weight command which returns the raw document weight -
3055   mostly useful for debugging purposes.
3057 * $topterms{} now generates unstemmed terms.
3059 * $prettyterm{TERM} has been updated to fit with changes to the term generation
3060   strategy.
3062 * Add 'you' and 'your' as stopwords.
3064 * $filesize{SIZE} enhanced to return a decimal point for K, M, and G (e.g.
3065   "2.1K" and "4.0M" rather than "2K" and "4M"); $filesize{0} is now "0 bytes";
3066   $filesize{1} is now "1 byte"; $filesize{SIZE} where SIZE is negative is now
3067   "".
3069 * Remove $freqs as it has been deprecated for ages.
3071 * Remove support for xB, xDATE1, xDATE2, xDAYSMINUS, and xDEFAULTOP which were
3072   deprecated in favour of xFILTER in 0.7.5 (over 3 years ago).
3074 * Remove deprecated aliases for CGI parameters (deprecated in 0.6.3 or 0.6.5,
3075   more than 3.5 years ago): RAW_SEARCH (now RAWSEARCH), DATE1 (now START),
3076   DATE2 (now END), DAYSMINUS (now SPAN but with slightly different semantics),
3077   and MIN_HITS (now MINHITS).
3079 * Remove "bias_weight" and "bias_halflife" CGI parameters since they rely on
3080   Enquire::set_bias() which has been removed.
3082 templates:
3084 * The 'query' template no longer uses $topterms by default.
3086 * New 'topterms' template provides a query template with $topterms support.
3088 * Template fragments which aren't intended for direct use have been moved to
3089   an "inc" subdirectory.
3091 testsuite:
3093 * md5test: Add tests for MD5 code.
3095 build system:
3097 * `./configure --enable-quiet' already allows you to specify at configure time
3098   to pass `--quiet' to libtool.  Now you can override this at make-time by
3099   using `make QUIET=' (to turn off `--quiet') or `make QUIET=y' (to turn on
3100   `--quiet').
3102 * configure: Disable probes for f77, gcj, and rc completely by preventing
3103   the probe code from even appearing in configure - this reduces the size of
3104   configure by 29% and should speed it up significantly.
3106 portability:
3108 * Fixed to build with GCC 4.3 snapshot.
3110 * We now make use of the safe*.h portability headers from xapian-core.
3112 * Ensure that the result of snprintf is zero terminated since MSVC's snprintf
3113   is broken (by design it seems).
3115 * configure: xapian-config --cxxflags now includes -ptused for SGI's C++
3116   compiler, so we don't need to probe for it here.
3118 * configure: Perform a link test for posix_fadvise to fix misdetection on
3119   HP-UX.
3121 Omega 0.9.10 (2007-03-04):
3123 documentation:
3125 * docs/omegascript.txt: Rewrite introductory paragraph.  Note that
3126   whitespace is significant, and add explicit warning to $setmap.
3128 * docs/termprefixes.txt: Expand section on boolean prefixes, showing
3129   how to generate them using scriptindex, and how to allow them to be
3130   selected in an HTML form.
3132 indexers:
3134 * omindex: Generate correct MD5 checksums on big-endian platforms.
3136 omega:
3138 * Fix $substr{} with negative start to actually work.
3140 * Fix $substr{} to never cause a C++ exception.
3142 packaging:
3144 * omega.spec.in: Remove "." from the end of the Summary.
3146 Omega 0.9.9 (2006-11-09):
3148 documentation:
3150 * Ship our custom INSTALL file rather than the generic one from autoconf which
3151   we've accidentally been shipping instead since 0.9.5.
3153 indexers:
3155 * scriptindex: The "date" action no longer modifies the value it operates on
3156   (it was never meant to!)
3158 omega:
3160 * Report an error if $setmap is called with an even number of parameters.
3161   An incorrect example in the documentation used to suggest this, so it's
3162   particularly useful to catch this case.
3164 packaging:
3166 * RPMs: Prevent binaries getting an rpath for /usr/lib64 on FC6.
3168 Omega 0.9.8 (2006-11-02):
3170 omega:
3172 * $substr where the start is negative and longer than the string (e.g.
3173   $substr{abcd,-5,1}) wasn't working as intended.
3175 build system:
3177 * configure: Tell AC_CHECK_HEADERS to suppress its backward compatibility mode,
3178   so it only checks headers with the compiler.  This speeds up configure a
3179   little, and is what we do elsewhere.
3181 * configure: Warning flags for GCC weren't actually getting used.  Fix this to
3182   work and use the same warning flags for GCC and Intel C++ as xapian-core does.
3183   Fix all the warnings this uncovered!
3185 * omega,omindex,scriptindex: Remove some old unused code.
3187 portability:
3189 * Ensure that we always pass an unsigned char value to isupper(), toupper(),
3190   etc as they are undefined on other values (glibc makes them work for signed
3191   char values too, but this is an extension).
3193 * configure: Pass magic options to SGI's C++ compiler to allow linking of
3194   templates to work.
3196 * configure: IRIX doesn't allow stdint.h to be included from C++ so we need
3197   a smarter configure test than AC_CHECK_HEADERS.
3199 * Fix warnings from SGI's C++ compiler.
3201 Omega 0.9.7 (2006-10-10):
3203 documentation:
3205 * omegascript.txt: Note that (by design) an omegascript template can't
3206   contain an infinite loop.
3208 * termprefixes.txt: "$setmap{title,S}" should be "$setmap{prefix,title,S}".
3210 * Use the default paths to the database directories and the omega CGI binary in
3211   examples.
3213 * README: Update reference to "CVS" to say "SVN".
3215 indexers:
3217 * Don't get confused by "a<b" in Javascript in a <script> tag.  Fixes bug#91.
3219 * Support htdig's "ignore this bit" comments.
3221 * Don't generate terms with more than 3 trailing symbols ('-', '+', or '#').
3223 * omindex:
3225   + Add the file last modified time as value #0.
3227   + Generate an MD5 checksum of each file indexed and store it in value #1
3228     to allow duplicates to be collapsed.
3230   + Store the file's last modified time in the document data as "modtime" so it
3231     shows up in search results (and tweak the query template so the display of
3232     this information looks nicer).  Don't add "modtime" field if the timestamp
3233     is (time_t)-1.
3235   + Run pdfinfo once and pull out the fields we want using string operations,
3236     instead of running it twice filtered through sed.
3238   + Parse the XML from OpenDocument and OpenOffice using new subclasses of
3239     HtmlParser.  Only extract meta.xml once.
3241   + Add "size" field to document data.
3243   + Run xls2csv on MS Excel files, run catppt on MS Powerpoint files, and also
3244     index MS Word templates (.dot) the same way as .doc files.
3246   + Don't generate 'W' terms since omega doesn't use them.
3248   + If a filter program isn't installed, then don't try it again for the same
3249     extension (not perfect but an improvement - previously we indexed an empty
3250     document!)
3252   + If popen() fails, treat it as a read error.
3254 * scriptindex:
3256   + Add new "load" action to allow the contents of an external file to be
3257     loaded and parsed.
3259   + Fix check for whether a record has content in the case where the same field
3260     is processed more than once.
3262 omega:
3264 * Add $pack and $unpack OmegaScript commands to allow big endian binary values
3265   to be encoded and decoded (for use with omindex's lastmod in value #1).
3267 * omega.conf: Fix code which reads omega.conf to be line based as documented
3268   rather than the wacky whitespace based scheme that was actually implemented.
3269   Also we now allow "#" comments and blank lines in omega.conf.
3271 * Fix $highlight{} to work with capitalised words (it used to work but
3272   regressed in 0.8.2).
3274 * Use '\t' to separate terms in xP since filter terms might contain '.'.  Fixes
3275   bug#87.
3277 testsuite:
3279 * Add htmlparsetest which tests the MyHtmlParser class.
3281 build system:
3283 * Makefile.am: Make use of the dist_ prefix to avoid having to list files in
3284   EXTRA_DIST as well as in *_SCRIPTS, *_DATA, and man_MANS.
3286 * Makefile.am: Prefer $(sysconfdir) to @sysconfdir@ since the former can be
3287   overridden on the "make" command line.
3289 portability:
3291 * xapian-config will now switch Sun's C++ compiler into ANSI C++ compliant
3292   mode, so remove all the special case bits of code added for just this one
3293   compiler.
3295 * omindex: Fix escaping of filenames to cast characters to "unsigned char" so
3296   that isalnum() works correctly everywhere.  Not a security hole as dangerous
3297   characters were still being escaped.
3299 * Call pclose() not fclose() on a FILE* obtained from popen().  This bug could
3300   cause us to run out of file descriptors on some platforms.
3302 * configure: Check for strftime.
3304 packaging:
3306 * omega.spec.in: Include documentation in the RPM package.
3308 Omega 0.9.6 (2006-05-15):
3310 documentation:
3312 * docs/omegascript.txt: Clarified description of $now.
3314 indexers:
3316 * scriptindex: Fix "index" and "indexnopos" without a prefix to set the weight
3317   correctly (bug introduced in 0.9.5).
3319 omega:
3321 * Added new OmegaScript commands $filterterms and $substr.
3323 portability:
3325 * configure: Update snprintf detection to match xapian-core.
3327 * Fix MSVC warnings.
3329 packaging:
3331 * omega.spec.in: Create and package /var/lib/omega/cdb and /var/log/omega.
3333 Omega 0.9.5 (2006-04-08):
3335 documentation:
3337 * README: Add pointer to documentation.
3339 * Added man pages for omindex and scriptindex, generated using help2man.
3341 indexers:
3343 * scriptindex:
3345   + If we fail to open the index script, die with an error (previously we
3346     acted as if an empty file was specified).
3348   + Warn about a useless "weight" action, even if it's followed by another
3349     non-useless action (e.g. "field") - previously we only warned if it
3350     was last or followed only by other useless actions.
3352   + Warn if "unique=<prefix>" is used without a corresponding
3353     "boolean=<prefix>" on the same line.
3355   + Warn that "index=nopos" is deprecated and should be replaced by
3356     "indexnopos".
3358   + Add explanatory text "(note that actions are executed from left to right)"
3359     when reporting useless actions.
3361   + Added new "hash" command to allow hashed terms to be generated from long
3362     URLs like omindex does.
3364 * htdig2omega.script,mbox2omega.script: Make use of the new scriptindex "hash"
3365   command.
3367 * dbi2omega: Check DBIDRIVER environmental variable to allow a driver other
3368   than mysql to be specified without modifying the script.
3370 omega:
3372 * Fix $opt[fieldnames] handling.  Previously it would try to kick in if you
3373   didn't set fieldnames but set any alphabetically later option!  The symptom
3374   was that $field{} would stop working (bug#72).
3376 portability:
3378 * omindex,omega: Tweaks for MSVC compilation.
3380 Omega 0.9.4 (2006-02-21):
3382 documentation:
3384 * COPYING: Updated FSF address.
3386 Omega 0.9.3 (2006-02-16):
3388 documentation:
3390 * overview.txt: The U prefix (URL term) was grouped with the date searching
3391   prefixes, but it makes more sense to group it with the prefixes relating to
3392   parts of the URL (H for hostname, P for path, etc).
3394 * overview.txt: Add pointer to documentation of the supported query syntax.
3396 * omegascript.txt: Improve descriptions of $cgi, $collapsed, $value, $version.
3398 * termprefixes.txt: Fix typo.
3400 indexers:
3402 * omindex: add --preserve-nonduplicates / -p option to not delete any documents
3403   that aren't updated, in replace duplicates mode (so that multiple runs of
3404   omindex on different subsites don't stomp on each other).
3406 * omindex,scriptindex: Add "--stemmer" option to omindex and scriptindex
3407   to allow the stemming language to be set.  Fixes bug#11.
3409 * omindex,scriptindex: More consistent --help and --version output.
3411 * omindex: Add support for OpenDocument format mimetypes and extensions out of
3412   the box.  Previously you could index them but had to pass a "-m" option for
3413   each OpenDocument filename extension you wanted to handle.
3415 * scriptindex: The "-q" option no longer actually controls anything.  Just
3416   ignore it for backwards compatibility (and don't document it in --help).
3418 omega:
3420 * If executing an OmegaScript command causes a Xapian exception to be thrown,
3421   catch it and copy the error message into error_msg (which is read by the
3422   $error command).  This allows such errors to reported in a nicer way.
3424 * Added "SORTREVERSE" CGI parameter which allows the sort order to be reversed
3425   when sorting on a value.  Removed "SORTBANDS" CGI parameter since it no
3426   longer does anything.
3428 * Added $find{LIST,STRING} to return the subscript of the first occurrence of
3429   string STRING in list LIST.
3431 * Added $lookup{CDBFILE,KEY} OmegaScript command to perform a lookup in a CDB
3432   file.
3434 * Added new feature which allows you to avoid storing fieldnames in every
3435   document.  Instead you just store the field values, one per line, and add
3436   something like "$set{fieldnames,$split{caption sample url}}" to the
3437   OmegaScript template to specify the fieldnames to use.  This can save a lot
3438   of disk space for a large database.
3440 * Add new "$split{}" OmegaScript command which splits a string to give an
3441   OmegaScript list.
3443 * Fix $url{} to escape "+" to "%2b".  Also fix encoding of top-bit-set
3444   characters on platforms where char is signed by default.
3446 * Speed up $highlight{} - only compare terms which are the same length.
3448 * Reduce memory usage if a lot of documents are marked as relevant.
3450 templates:
3452 * query: Make the page title shorter so there's more chance it will fit on icon
3453   bars, etc.
3455 * opensearch: Add missing escaping.
3457 * godmode: If a non-existent docid is specified, report the error and prompt
3458   the user to enter another docid.  Fixes bug#60.
3460 portability:
3462 * omega: Fix printf type mismatch on 64 bit platforms.
3464 * omega: Cast time_t to unsigned long to avoid problems on 64bit platforms.
3466 * Use snprintf where available.
3468 * Write top-bit set characters using \xXX notation to avoid warnings from
3469   Intel's C++ compiler.
3471 Omega 0.9.2 (2005-07-15):
3473 * omega: Changed $highlight so if OPEN and CLOSE aren't specified, they default
3474   to highlighting each word from the query with a different background colour
3475   like gmane does (previous default was to use '<strong>' and '</strong>').
3477 * omega: Call QueryParser::set_database() as this is now used to decide what to
3478   do for terms like "C#".
3480 * omega: Added the ability to set boolean prefixes for the QueryParser by
3481   setting a "boolprefix" map in the omegascript template.
3483 * omega: Added $length{} and $stoplist{} commands to OmegaScript.
3485 * scriptindex: Fix infinite loop if there's no newline at the end of a dumpfile.
3487 * docs/termprefixes.txt: Explain how to use termprefixes with scriptindex and
3488   omega, since that's what most people will want to know.
3490 * docs/omegascript.txt: Use standard "S" prefix for title in example for
3491   $setmap, rather than "XT".
3493 Omega 0.9.1 (2005-06-06):
3495 * Releases are now created using libtool 1.5.18 and automake 1.9.5.
3497 * Updated RPM packaging.
3499 Omega 0.9.0 (2005-05-13):
3501 * Updated for 0.9.0 API changes.
3503 * omindex/scriptindex: Generate terms like "c#".
3505 * Added mbox2omega script which allows a mail folder to be indexed using
3506   scriptindex.  Mostly it's an example as there's no mechanism included to show
3507   the full original message.
3509 omega:
3511 * The configuration file is now looked for differently - you can now set
3512   the environmental variable OMEGA_CONFIG_FILE.  See docs/overview.txt for
3513   details.
3515 * $highlight can now highlight terms like "C#".
3517 * Add new template 'opensearch' to implement basic opensearch feeds of search
3518   results.
3520 omindex:
3522 * URL hashing previously depended on sizeof(long) so databases weren't totally
3523   portable between platforms.  This is now fixed, but to do so we've had to
3524   break compatibility with databases built on platforms with 64 bit longs
3525   with URLs > 228 bytes.
3527 * Removed useless "DUPE_duplicate" option.
3529 * Added support for indexing Perl "pod" documentation using pod2text.
3531 * Replaced -l/--no-recurse with -l/--depth-limit which takes an argument
3532   allowing recursion to be restriction to any depth, not just 0 or infinity!
3534 * Extend -M/--mime-type to allow an existing mapping to be removed by omitting
3535   the type.
3537 * Fixed code so that we get lstat() prototype on Linux systems where we have
3538   posix_fadvise().
3540 scriptindex:
3542 * Improved handling of extra blank lines in dump file.
3544 * Strip multiple \r characters from end of line.
3546 * Complain if a dump file doesn't appear to have been = escaped correctly.
3548 * Flush database after each input file to ensure all changes from a file
3549   make it in.
3551 documentation:
3553 * docs/omegascript.txt: Clarify $field description slightly.
3555 * docs/cgiparams.txt,docs/omegascript.txt: Fixed 3 references to OmXxxx classes.
3557 * docs/termprefixes.txt: Added a single document covering all aspects of term
3558   prefixes.
3560 * docs/omegascript.txt: Moved $collapsed into correct place alphabetically!
3562 * docs/cgiparams.txt,docs/overview.txt: Improved description of how B filters
3563   are handled when building the query.
3565 * docs/scriptindex.txt: Note that actions are applied in the specified order.
3567 Omega 0.8.5 (2004-12-23):
3569 * README,INSTALL: Proper installation instructions.
3571 * omega: If an exception is thrown, make sure that the HTTP headers
3572   get written so that we don't cause "500 Internal Server Error".
3573   This problem was introduced by the change to allow a user specified
3574   Content-Type in 0.8.0.  Partly addresses bug#60.
3576 * scriptindex: Fixed "Unknown Exception" when trying to "unhtml" text which
3577   contains "</body>" (bug#61).  This bug was introduced in 0.8.4.
3579 * omindex/scriptindex: <h1> - <h6> and </h1> - </h6> now leave a space in the
3580   dumped HTML.  This bug was introduced in 0.8.4 - before that any tag left
3581   a space in the dumped HTML.
3583 * omindex: Only try to delete removed documents in "replace duplicates" mode
3584   (which is the default).
3586 * omindex: Change behaviour of crawler such that it doesn't follow symbolic
3587   links any more.  The new "--follow" command line option turns following of
3588   symlinks back on.
3590 * dbi2omega: Add a comment to the start of the file detailing what
3591   dbi2omega does.
3593 Omega 0.8.4 (2004-12-08):
3595 * omindex,scriptindex: Improved HTML to text conversion - now we strip
3596   leading and trailing whitespace and convert all other consecutive groups of
3597   whitespace to a single space.  Also the parser now knows that some tags
3598   should be regarded as word breaks and some shouldn't (previously all tags
3599   were treated as word breaks).
3601 * omindex: Removed bogus extra line from code which was meant to
3602   truncate samples, titles, etc at a word boundary, but has never actually
3603   worked!
3605 * omindex: Added hooks for indexing the following formats: OpenOffice (requires
3606   unzip), MS Word (requires antiword), Wordperfect (requires wpd2text), RTF
3607   (requires unrtf).
3609 * omindex: If a filename to be passed to a filter program has a leading "-",
3610   protect it from possible interpretation as an option by prepending "./".
3612 * omega: When there's only a boolean query we promote it to be the query.
3613   Tweaked so we use boolean weights in this case.
3615 * omega: Use Query::empty() instead of the now deprecated Query::is_empty().
3617 * omega,omindex,scriptindex: Use the new Database/WritableDatabase
3618   constructors.
3620 * templates/godmode: Finished off godmode template.
3622 * Compile everything as C++.
3624 * Check snprintf actually works - some older versions don't implement C90
3625   snprintf semantics.
3627 * XAPIAN_FLAGS already links with xapianqueryparser so remove
3628   -lxapianqueryparser from omega_LDADD as it was causing link errors on cygwin.
3630 Omega 0.8.3 (2004-09-20):
3632 * scriptindex: --version now actually reports the version.  --help now exits
3633   with status 0 rather than status 1.
3635 * RPM packaging: Updated.  The most notable change is that the RPM is now
3636   called xapian-omega because there's already an omega RPM (in Fedora Core at
3637   least) which is a game.  Also htdig2omega and htdig2omega.script are now
3638   included in the RPM.
3640 * Install htdig2omega.script in ${prefix}/share/omega/ rather than
3641   ${prefix}/share/.
3643 Omega 0.8.2 (2004-09-13):
3645 * omega: $highlight now handles accented characters (bug#9).
3647 * omega: Use new checkatleast parameter to Enquire::get_mset to implement
3648   MINHITS.
3650 * omindex: When running with "replace duplicates" mode (the default), detect
3651   documents removed since the last indexing run and delete them from the
3652   database (bug #34).
3654 * omindex: Use the new WritableDatabase::replace_document(term, doc) method.
3656 * scriptindex: Report index script file name and line number when
3657   reporting errors in it.  Added warning for redundant actions,
3658   such as "truncate" as the last action in a rule.
3660 * templates/query: Always report if the database is not found - previously we
3661   only did so if there was a query.
3663 * templates/query: Fixed missing </center> tag which happened in certain cases.
3665 * docs/omegascript.txt: Added note about that $add{$hit,1} gives
3666   the "hit number".
3668 * Now includes htdig2omega and htdig2omega.script which allow you to crawl
3669   remote websites with ht://dig, then build a searchable index of them with
3670   Xapian and Omega.
3672 * Link with -lxapianqueryparser, not -lomqueryparser.
3674 Omega 0.8.1 (2004-06-30):
3676 * omindex: Renamed hash() to hash_string() to avoid colliding with something
3677   on IRIX.
3679 * omega: Changed MORELIKE to pick up to 40 terms, rather than up to 6 (feedback
3680   on the mailing list suggests this gives much better results).
3682 * scriptindex: Added explicit catch for std::bad_alloc.
3684 Omega 0.8.0 (2004-04-19):
3686 * scriptindex: Change default to *not* overwriting the database (use
3687   --overwrite if you really want to do this); -u is now accepted but ignored.
3689 * scriptindex: Use getopt for option parsing.
3691 * omindex: Added --overwrite option which forces an existing database to be
3692   deleted before indexing begins.
3694 * templates/xml: Correct spelling of `relavence' to `relevance'.  NB: if you're
3695   parsing the XML output, you'll need to fix this spelling in your parser!
3697 * templates/xml: Now set HTTP header: "Content-Type: application/html".
3699 * templates/xml: Remove unused OmegaScript code:
3700   `$set{topterms,$or{$ne{$msize,0},$query}}'.
3702 * indextext.cc,omindex.cc,scriptindex.cc: Updated to use add_term() instead of
3703   add_term_nopos().
3705 * omega: Added $httpheader Omegascript to allow arbitrary HTTP headers and
3706   alternative Content-Type headers to be specified.
3708 * omega: If the probabilistic query was bad, don't try to run the match.
3710 * omega: Don't crash if there's a date filter but no probabilistic query.
3712 * omindex/scriptindex: Raw terms with a multicharacter prefix are now indexed
3713   with a : inserted (e.g. as XFOO:Rterm).  This matches what the query parser
3714   does.
3716 * omindex/scriptindex: Don't create R terms for terms which start with a digit.
3718 * omindex: Use O_STREAMING and/or posix_fadvise() when reading files to be
3719   indexed (if available).  This helps to keep the Xapian database in cache,
3720   and should greatly improve indexing throughput.
3722 * docs/scriptindex.txt: Make more explicit that boolean produces a *single*
3723   boolean term.
3725 * docs/cgiparams.txt: Note that START and END should be in the format YYYYMMDD.
3727 For NEWS entries for Omega versions prior to 0.8.0, see the xapian-core NEWS
3728 file.