Update groonga to 4.0.7.

News
====

.. _release-4-0-7:

Release 4.0.7 - 2014/10/29
--------------------------

Improvements
^^^^^^^^^^^^

* [windows] Supported Groonga with mruby on Windows.
* Added token filter plugin API.
* Added :ref:`token-filter-stop-word` token filter plugin.
  It treats records of ``is_stop_word`` column as actual stop words.
* [doc] Added :doc:`/client` section which introduces link to client libraries.
  [GitHub#210] [Patch by Naoya Murakami]
* [doc] Reconstructed documentation. :doc:`/reference/suggest` and
  :doc:`/reference/operations/geolocation_search` are grouped under :doc:`/reference`.
  [GitHub#206] [Patch by Naoya Murakami]
* [dump] Supports to dump TABLE_NO_KEY for token_flters.
  [GitHub#215] [Patch by Naoya Murakami]
* [deb] Added stop word token filter plugin.
  [GitHub#216] [Patch by Hiroshi Hatake]
* [deb] Clarified licenses about used/bundled files in debian/copyright.
* Dropped LZO compression support.
* Added LZ4 compression support. [GitHub#223] [Patch by Naoya Murakami]
* Added :doc:`/reference/function/in_values`. We recommends to use it
  instead of ``==`` and ``OR`` combinations ( ``((COLUMN == "a") OR
  (COLUMN == "b") OR (COLUMN == "c"))`` ) because of better
  performance.
* [load] Supported to update existing record in ``TABLE_NO_KEY`` by
  specifying a record by ``_id``.
* Added :ref:`token-filter-stem` token filter plugin. It provides
  stemming feature.  To use this token filter, you need to install
  `libstemmer <http://http://snowball.tartarus.org/>`_ library.
* [doc] Added :doc:`/reference/token_filters` documentation.
  [GitHub#227] [Patch by Naoya Murakami]

Fixes
^^^^^

* [doc] Fixed link of the Ranguba project. [GitHub#212] [Patch by Naoya Murakami]
* [httpd] Updated bundled nginx version to 1.7.6.
  [GitHub#208] [Patch by Hiroshi Hatake]
* [power8] Fixed build failure. See
  http://lists.askmonty.org/pipermail/commits/2014-October/006752.html
  [Patch by Sergey Vojtovich]
* Fixed a bug that URL encoding fails if ``char`` type is build as
  ``unsigned char`` type. [GitHub#217]
* Fixed a bug that a ``TABLE_DAT_KEY`` table returns empty results for
  :doc:`/reference/commands/select`. [GitHub#220]
* Fixed a memory leak about inspecting vector column. It occurs when
  something error reports about vector column.
* Fixed memory leaks in zlib/LZO compressed column [GitHub#221] [Patch
  by Naoya Murakami]
* Fixed a bug that the value of ``Int8`` column which is less than 100 may
  return true in ``--filter``. By this issue, not intended records may
  be included as search results.
* Fixed to handle binary operation for vector column as an error.
* Fixed a bug that ``!XXX`` may return inverted result on big endian
  environment.
* Fixed a memory leak on converting weight vector to text.

Thanks
^^^^^^

* Naoya Murakami
* Hiroshi Hatake
* Sergey Vojtovich

.. _release-4-0-6:

Release 4.0.6 - 2014/09/29
--------------------------

Improvements
^^^^^^^^^^^^

* [deb] Updated to follow the rule about machine-readable
  debian/copyright file. [Reported by Hideki Yamane]
* [deb][rpm] Changed to use signal instead of HTTP to control nginx.
  This way meets nginx style init script.
* [doc] Updated English documentation about [ :doc:`/reference/executables` ].
  [GitHub#196] [Patch by Masafumi Yokoyama]
* [OS X] Added missing sphinx error message for Homebrew users.
  [GitHub#198] [Patch by cosmo0920]
* [mruby] Query optimizer by mruby became a practical for some range select query.
  For example, mruby optimizer overhead is negligible enough for query such as
  "between(X, 0, 'exclude', 100, 'include')" - "X > 0 && X <= 100".
* [doc] Changed to recommend GitHub for reporting issues.
  Until now, Redmine account must be approved by administrator, so you can not
  report at feel free. [GitHub#202] [Patch by cosmo0920]
* [doc] Translated C API document. [GitHub#203] [Patch by NOKUBI Takatsugu]
* Supported to customize similarity threshold by ``'*S10"..."'`` syntax.
* Added source column validation to
  :doc:`/reference/commands/column_create`.  If source column doesn't
  exist, :doc:`/reference/commands/column_create` returns ``false`` and
  column isn't created.
* [debian] Dropped Debian jessie and sid support.

Fixes
^^^^^

* Fixed a bug that similar search doesn't use IDF (Inverse Document Frequency)
  for choosing target tokens.
  In the previous versions, it used token ID instead of IDF.
  [groonga-dev,02731] [groonga-dev,02754] [Reported by Satoshi Mitani, warp kawada]
* Fixed a crash bug when deleting a record.
  If the table of the record has ``_key`` and ``_key`` is
  indexed from two or more index columns, deleting causes a crash.
* Fixed compiler warning about unused variable 'e'. [GitHub#197] [Patch by cosmo0920]
* [fedora][httpd] Fixed service start failure without log directory.
* [mruby] Fixed build error with ``--disable-mruby``.
  [GitHub#200] [Patch by cosmo0920]
* Fixed build warning about CMP0014 for MariaDB bundled Mroonga package.
  [GitHub#201] [Patch by cosmo0920]
* Fixed a bug that "*" is parsed as prefix search with empty string.
  [groonga-dev,02796] [Reported by Kazuhiko]
* [httpd] Updated bundled nginx version to the latest mainline (1.7.5).
  This update contains vulnerability fix (CVE-2014-3616).

Thanks
^^^^^^

* Hideki Yamane
* Masafumi Yokoyama
* cosmo0920
* NOKUBI Takatsugu
* Satoshi Mitani
* warp kawada
* Kazuhiko
Updated textproc/groonga to 4.0.7
Update py-argh to 0.26.1.

- The undocumented (and untested) argument `dispatch(..., pre_call=x)`
  was broken; fixing because at least one important app depends on it
  (issue #63).
Updated devel/py-argh to 0.26.1
Import Barman as databases/py-barman.

Barman (Backup and Recovery Manager) is an open-source administration
tool for disaster recovery of PostgreSQL servers written in Python.
Added databases/py-barman version 1.3.3
Drop guile support because modern guile isn't supported.

siag builds with guile 1.6, but not 1.8.  Because 1.6 will be dropped
from pkgsrc soonish as unreasonably old, disable guile support.  (siag
itself is no longer maintained and thus a candidate for eventual
removal if it causes trouble.)

siag has an included scheme (SIOD), so is still functional without guile.
bml_setup no longer takes an argument.
pkg-config always uses ${} for variable expansion, not $(). Make sure
the correct use ends up in libffi.pc as libdir might be set to an
entirely different value by whoever is using the file. Unbreaks Mozilla
packages that ended up with wrkdir references via rpath. Bump revision.
Replace patch with much simpler logic that actually works.
Add missing dependency for the cffi use.