Omega 2.2.0 (2026-12-02) indexers: * omindex: + omindex: Support message/global, which is like message/rfc822 but without the 7-bit clean requirements. + omindex: Add mapping from .xht extension to text/html. This is listed in RFC3236 as an extension in use, though it doesn't seem very common. + Work around bug in libextractor <= 1.19 where the data_len value is one byte shorter than documented in some cases. We've not found a case where this bug affects omindex use of libextractor, so it's possible it was only a latent problem. + Fix MD5 calculation of file contents >= 4GB when already read into memory rather than read from a file descriptor. + Parsing of failed log entries now checks integer values for validity. Bad entries are now ignored so we will retry the file, which means such problems should now self-heal. + The amount of available memory (which is used to impose limits on filters to prevent run-away filters causing problems) is now always handled as a 64-bit value. Previously the value was clamped to be at most LONG_MAX, which is 2GB on most platforms. testsuite: * Set UBSan to halt_on_error, so that unsigned overflow errors can't get ignored (previously they just wrote a message to stderr, which is discarded by some tests). * omegatest.pl: Remove redundant setting of UBSAN_OPTIONS, which is also set by Makefile.am. * Annotate cases of expected unsigned overflow and implicit integer sign change (which have defined behaviour but are rarely relied on and may indicate a bug). build system: * configure: Probe for zlib with pkg-config if available. If it isn't, we probe using autoconf macros as before. * Check for clang >= 6 in configure. The cppreference compiler-support pages indicate we need at least this for decent C++17 support, and it seems sufficiently old that nobody's likely to need to use anything older anyway. We also can't easily test anything nearly that old in CI. * configure.ac: Remove macro XAPIAN_TEST_CXXFLAGS which has been unused since we dropped support for Sun C++ in 2.0.0. portability: * Workaround magic.h from libmagic 5.48 breaking if ssize_t macro defined. * Update to use the new public xapian-core API functions Xapian::C::isalpha(), etc instead of an equivalent private API which xapian-core exposed for xapian-omega to use. This means xapian-core >= 2.2.0 is required. See #63. * Fix invalid string_view constructor use which happens to work when a string iterator is (or is implicitly convertible to) `const char*`. * Improve building with MSVC. Building the omega with MSVC is not currently tested by CI, so this may still not currently work out of the box, but these changes should at least get us closer. If you're wanting to build omega with MSVC, please test and report problems or send patches. + Automatically use -nologo flag which stops MSVC from spamming build logs with a banner on every invocation, instead of documenting that users need to do this in INSTALL. + Add missing configure check for MSVC, which means some existing configure code to enable some MSVC-specific options now actually triggers. + Automatically add -EHsc to AM_CXXFLAGS rather than documenting that users need to do this in INSTALL. + Check if `-g` emits a warning (as it does with MSVC) and override default CFLAGS=-g if it does. + Silly Microsoft deprecation warnings are squashed. All the things warned about are either not problematic or can be used in non-problematic ways. None of them are Microsoft's to deprecate anyway - POSIX get to deprecate POSIX things and ISO get to deprecate ISO C/C++ things. + All warnings enabled by MSVC's -W3 command line option have been fixed, and configure now automatically enables -W3. This is documented as the default warning level in the MSVC IDE, so this should also mean there won't be warnings from Xapian headers when building code which uses Xapian's public API. * Get build working with clang-cl (clang with a more MSVC-like command line interface). * Simplify warning flags automatically enabled for Intel classic compiler. * Document IBM xlC as unsupported in INSTALL and remove some conditional code for it. This compiler doesn't support C++17 which is required since Xapian 2.0.0. Note that IBM Open XL C/C++ is a different compiler, which is based on clang and so should support newer C++ standards. * Use C++17 `[[fallthrough]]` attribute instead of magic comments such as `// FALLTHRU`. * Use C++11 std::find_if_not(). * The code has been converted to consistently use nullptr rather than 0 or NULL and configure now automatically enables GCC's -Wzero-as-null-pointer-constant warning option where useful. * Microsoft Windows: Use explicit A-suffixed Win32 APIs. debug code: * Extend the UBSan defined behaviour checks which can be enabled. These are for cases where C and C++ has defined behaviour, but it's rarely intentionally made use of and can cause bugs when not intended. The few places where our code intentionally uses these are annotated and the CI clang-sanitisers job runs the testsuite with these checks on. The new checks include: + implicit conversions which change the value + shift operations which shift out set bits + vptr checks Omega 2.1.0 (2026-08-13): general: * Switch to using only spaces to indent most source files. The old identation style apparently isn't supported by some editors and proved a repeated pain point with GSoC contributors. A small number of files which are imported from elsewhere are left with whatever indentation style the original uses in case we want to update them. Fixes #787, reported by Germán M. Bravo. documentation: * Fix minor typo. indexers: * omindex: + Fix incorrect internal protocol use in gepub and poppler workers. These both sent two FIELD_ERROR messages for certain cases related to loading a file. Only one FIELD_ERROR is expected so this would result in the next file processed by the same worker failing with an error, and then the protocol would be one document out of step. + Modern `.ai` files are now indexed. Previously we assumed `.ai` files were all PostScript, but newer `.ai` files are actually PDF files so we now let libmagic determine their underlying type. + New worker module for PostScript files which uses libspectre to convert PostScript to a temporary PDF file, then libpoppler to extract text from that PDF file. The libspectre library uses ghostscript as a library, so this should give equivalent results to using ps2pdf then pdftotext, but with less overhead. We require libspectre >= 0.2.12 (older versions had a bug which broke saving as a PDF file). + Fix memory leak on error in libreofficekit worker. We need to free the error message. The method to do this was only added in LibreOffice 5.2, but that was released 10 years ago so that's the new minimum requirement. + Improve error message from libreofficekit worker if export to HTML fails. omega: * Fix date term filter for SPAN without START/END. In this case we're meant to use now as the end of the range, but were actually using the start of 1970. The value range filter case was unaffected by this bug. Fixes #853, reported by Darrin Smart. build system: * New cleaner approach to resolving RST includes. To support out-of-tree builds we effectively want to be able to specify an include path for RST files, but sphinx doesn't seem to support this. We now address this using a Perl one-liner to rewrite the path on `.. include::` directives on the fly, rather than substituting the included file's contents in place of the directive. * Remove unused automake condition `VPATH_BUILD`. * Update cdb code to be based on upstream 0.81. Use wordaccess.h which gives more optimised code for loading an unaligned little-endian 32-bit word on some platforms. portability: * configure: `-Wstrict-overflow=1` is no longer added to the default compiler options for GCC and clang. This option has been a no-op since GCC 8 (and has always been a no-op for clang, provided only for GCC compatibility). Patch from Sergei Trofimovich. * Remove some Python2 compatibility code. * configure.ac: Use $SED consistently to improve portability to platforms where the installed sed tool isn't just called `sed`. Omega 2.0.0 (2026-03-16): general: * Add support for result click logging and analysis to generate training data for the xapian-letor module. Configure with `--enable-clickstream` to get the extra programs and scripts installed. Patch from Vivek Pal. * Remove htdig2omega scripts. The last htdig release was in 2004 so these scripts no longer seem at all useful. (Note that omindex still supports htdig's ... markup of sections of pages not to index.) documentation: * docs/overview.rst: Clarify handling of .doc files. Highlighted by Karel Pičman. indexers: * Our XML and HTML parser now treats XML (and XHTML) more correctly rather than treating everything like HTML. We now parse XML and XHTML tag names and attribute names case sensitively. Special handling for htdig and similar "ignore this bit" comments is now only active for HTML and XHTML. Special handling inside