Commits on Mar 25, 2016
  1. @alanw

    Merge pull request #102 from fish2000/patch-1

    Link against `libboost_system` when building demo
    alanw committed Mar 25, 2016
  2. @alanw

    Merge pull request #103 from vslavik/fix-clang-typeid-warning

    Work around clang warning about side effects inside typeid()
    alanw committed Mar 25, 2016
  3. @alanw

    Merge pull request #105 from vslavik/fix-vs2015-warnings

    Fix Visual Studio 2015 warnings
    alanw committed Mar 25, 2016
Commits on Mar 23, 2016
  1. @vslavik

    Fix Visual Studio 2015 warnings

    vslavik committed Mar 23, 2016
Commits on Oct 10, 2015
  1. @vslavik

    Work around clang warning about side effects inside typeid()

    This warning is harmless here, but warnings-free build is even more harmless.
    vslavik committed Oct 10, 2015
Commits on Aug 14, 2015
  1. @fish2000

    Link against `libboost_system` when building demo

    • Added `cmake_minimum_required()` statement at the top of CMakeLists.txt (as per verbose development output from `cmake`)
    • Added call to `find_package()` to find Boost
    • Specified `boost_system` in all calls to `target_link_libraries()`
    fish2000 committed Aug 14, 2015
  2. @alanw

    Make use of boost integer types optional.

    Closes #55.
    alanw committed Aug 14, 2015
Commits on Jul 16, 2015
  1. @alanw

    Fix segfault when unit tests are complete.

    closes #87
    alanw committed Jul 16, 2015
Commits on May 9, 2015
  1. @alanw

    Merge pull request #96 from vslavik/fix-boost1.58

    Fix compilation with Boost 1.58
    alanw committed May 9, 2015
Commits on May 4, 2015
  1. @vslavik

    Fix compilation with Boost 1.58

    1.58 introduces strict type checking in boost::get() and while that's
    good in theory, the VariantUtils code makes it impractical to use.
    Instead, use relaxed_get() to get the old behavior. relaxed_get() didn't
    exist in older versions of Boost, so the code must check BOOST_VERSION.
    
    Fixes #93.
    vslavik committed May 4, 2015
Commits on Apr 28, 2015
  1. @alanw

    Merge pull request #94 from LocutusOfBorg/fix-pc-path

    Fix packageconfig path.
    alanw committed Apr 28, 2015
  2. @LocutusOfBorg

    Fix packageconfig path.

    Rationale: LIB_DESTINATION is set as CMAKE_INSTALL_FULL_LIBDIR. So repeating "{prefix}"
    results in a double usr/usr inclusion
    LocutusOfBorg committed Apr 28, 2015
Commits on Apr 6, 2015
  1. @alanw

    Merge pull request #91 from xhochy/scoretermqueue-indexoutofbounds

    Use maxSize of BooleanQuery as base for the queue size
    alanw committed Apr 6, 2015
  2. @xhochy
Commits on Mar 27, 2015
  1. @alanw

    Merge pull request #90 from gbjbaanb/master

    Updated MSVC builds
    alanw committed Mar 27, 2015
Commits on Mar 25, 2015
  1. @alanw

    Merge pull request #88 from vslavik/implement-fsync

    Fix FSDirectory::sync() to sync writes to disk
    alanw committed Mar 25, 2015
Commits on Mar 24, 2015
  1. @gbjbaanb

    better formatting

    gbjbaanb committed Mar 24, 2015
  2. @gbjbaanb
  3. @gbjbaanb
Commits on Feb 3, 2015
  1. @vslavik

    Fix FSDirectory::sync() to sync writes to disk

    Contrary to the documentation, FSDirectory::sync() conversion to C++
    omitted the most important line of the Java original: actually fsyncing
    the file descriptor. As the result, its current code amounts to little
    more than a little nonsensical noop dance.
    
    Add the missing fsync() call. Use fsync() on Unix, its
    FlushFileBuffers() equivalent on Windows, and F_FULLFSYNC on OS X where
    fsync() is documented as not always sufficient. F_FULLFSYNC is more
    expensive than fsync(), but guarantees physical write; SQLite uses it
    too.
    vslavik committed Feb 3, 2015
Commits on Jan 30, 2015
  1. @alanw

    Release version 3.0.7.

    alanw committed Jan 30, 2015
  2. @alanw

    Whitespace.

    alanw committed Jan 30, 2015
  3. @alanw

    Added licensing clarification for glib code.

    closes #69
    alanw committed Jan 30, 2015
  4. @alanw

    Merge pull request #84 from zsims/disable_boost_autolink

    Improves support for building using the CMake MSVC generator
    alanw committed Jan 30, 2015
  5. @alanw

    Merge pull request #82 from vslavik/fix-analyzer-crash

    Fix crash in StandardTokenizer if wchar_t is 32bit
    alanw committed Jan 30, 2015
  6. @alanw

    Merge pull request #78 from vadz/file-no-except

    Don't throw exceptions in file operations just to ignore them.
    alanw committed Jan 30, 2015
Commits on Jan 13, 2015
  1. @zsims
  2. @zsims
  3. @zsims
Commits on Nov 20, 2014
  1. @vslavik

    Fix crash in StandardTokenizer if wchar_t is 32bit

    StandardTokenizerImpl::getNextToken() uses a map to classify characters;
    the map is 16bit, because this code was ported from Java and Java's
    strings use UTF-16. But Lucene++ uses wchar_t, which may be 32bit on
    some platforms (Unix, OS X), resulting in crashes when encountering
    characters above U+FFFF.
    
    Fix the crash by classifying anything outside of BMP as a character.
    This is hardly ideal, but it prevents the crash and gets the job done
    reasonably well (as StandardTokenizer is intended for European languages
    in the first place). A proper fix would rework the map to correspond to
    UTF-32 rather than UTF-16, or would port Unicode tokenizer from Lucene
    3.1+.
    
    Fixes #57.
    vslavik committed Nov 20, 2014
Commits on Nov 12, 2014
  1. @vadz

    Don't throw exceptions in file operations just to ignore them.

    Use overloads of boost::filesystem functions taking a boost::system::error_code
    to avoid throwing exceptions which are simply immediately ignored.
    
    While this is also more efficient, the main rationale for this change is to
    avoid dozens if not hundreds of exceptions which can be thrown when updating
    the cached index and spam the debugger console.
    
    There should be no changes in behaviour.
    vadz committed Oct 28, 2014
Commits on Nov 8, 2014
  1. @alanw
  2. @alanw

    Update cotire to 1.6.6.

    alanw committed Nov 8, 2014
  3. @alanw
Commits on Nov 7, 2014
  1. @alanw

    Fix cmake gtest.

    alanw committed Nov 7, 2014