# Generated by Makefile. Do not edit.

commit b82df2fbb3a505fa2a21e58752a9cb7b5563a198
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Sep 9 13:27:49 2020 +0200

    Update NEWS, bump version
    
    Change-Id: Ia479dddbece217eb44d5df265436bcd31ae5f4a1

 NEWS         | 8 ++++++++
 configure.ac | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

commit b0a21bc8aadb58b3b3f118261742d457d188c53f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 30 20:00:10 2020 +0200

    [#4084] Change company name
    
    Change-Id: Ic1719ac5d3151b94495001b8abd447318e0022c3

 HACKING.README                                        | 4 ++--
 LICENSE.README                                        | 4 ++--
 README                                                | 6 +++---
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 4 ++--
 docs/manpages/libpreludedb-config.1                   | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin                                       | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.c             | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 46 files changed, 51 insertions(+), 51 deletions(-)

commit 601cd5f9880c4e50d881504d25e8a8c810ea4784
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 23 15:17:01 2020 +0200

    Update NEWS, bump version
    
    Change-Id: I455c0b96be58782bcccc64c288677f5f2eafe110

 NEWS         | 1 +
 configure.ac | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

commit f5267cd2059480335ccd5b80b703e1ca360fe494
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jun 30 16:51:24 2020 +0200

    Update NEWS, bump version
    
    Change-Id: I98d4307670d0fe4d90f78c7addd90b3c123b897b

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit f2279d218981ff861fefb26123f89038b1b8c53c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Sat Jun 20 15:03:17 2020 +0200

    Update NEWS, bump version
    
    Change-Id: Iff7195b1203c42ffdbd1c82e8436efba7873f8a0

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 10 +++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)

commit 63996691d0cb0e4aaa5ff82f4990a17302cdba87
Author: Francois POIROTTE <francois.poirotte@c-s.fr>
Date:   Wed Jan 8 11:04:14 2020 +0100

    [#3875] Remove superfluous brackets in AC_INIT
    
    Change-Id: Ibbc2014a98fdbc360478a2c168f574bb2c10c17a

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f4c484cb4fc8bd1c194ed9cfe5301f841573db3a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jan 15 12:09:07 2020 +0100

    [#3878] Copyright year update
    
    Change-Id: I6352e43e7bc0773861fe4341efaa9564ce5a478e

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin                                       | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.c             | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 43 files changed, 43 insertions(+), 43 deletions(-)

commit 0507fffa849f15887b4a9ac4e23ed84f7d6591d5
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Oct 15 14:22:55 2019 +0200

    [#3809] Add Python 3.7/3.8 support
    
    Change-Id: Iac074a09d89763cef3221ae544b7366815ba08bb

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5f6d1c1b322e54f67c2774d50577cb713f79ffab
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 18 12:05:37 2019 +0200

    [#3809] Update to SWIG 4.0.1
    
    Change-Id: I06fb2b8947135b3a68e29b74dcf8fef6ec1c2623

 bindings/python/_preludedb.cxx | 18 ++++++------------
 bindings/python/preludedb.py   | 35 +++--------------------------------
 2 files changed, 9 insertions(+), 44 deletions(-)

commit 2235984bf8081d4eb6a679606e84587253cac6ed
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Sep 12 09:33:22 2019 +0200

    [#rel3743] Escaping fixes
    
    - Properly map special LIKE _ character to ?
    - \* is mapped to *, \? to ?
    
    Change-Id: I1451a2e781b773ecc6f41720885e751152cbe36d

 src/preludedb-sql.c | 26 ++++++++++++++++++++------
 1 file changed, 20 insertions(+), 6 deletions(-)

commit c7e68a283e8e2cc73315000c03f6a3acf63f9382
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Sep 13 09:36:33 2019 +0200

    Update NEWS, bump version
    
    Change-Id: Ib92ec6947e4e09275bf67942a19262362e99308c

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 60dd14e518af933a4d0cdad5150310e0614dd2b8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Sep 4 16:40:29 2019 +0200

    Update NEWS, bump version
    
    Change-Id: Id7d37a8f470fe6c8d83dc75d471333c36c219dcd

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 5a60a422413dfcd51cd53149808fd9f762d3aae1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 09:13:17 2019 +0800

    [#3614] Rewrite preludedb-admin in python, multiprocess compatible
    
    Change-Id: Iba73858b59b74b7028e9d576a70ee8ff55e17d54

 Makefile.am                     |    8 +-
 docs/manpages/preludedb-admin.1 |   15 +-
 preludedb-admin                 |  596 ++++++++++++++++
 preludedb-admin.c               | 1422 ---------------------------------------
 4 files changed, 609 insertions(+), 1432 deletions(-)

commit 5d09c22c8884ea87773cbe888b0f4b56369ce0f8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 16 18:06:44 2019 +0200

    Update NEWS, bump version
    
    Change-Id: I3fc01406d653e4d2992c127b6921a0c8dfd23182

 NEWS         | 22 ++++++++++++++++++++++
 configure.ac | 14 +++++++-------
 2 files changed, 29 insertions(+), 7 deletions(-)

commit 9498611cb6f0cad87bf6d0e299b3ffa4ab4419d2
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 26 15:13:05 2019 +0200

    [#3697] Add binding for preludedb_sql_unescape_binary
    
    Change-Id: I60c729561dab340d4a217a5bd0bcd535214a6c05

 bindings/c++/include/preludedb-sql.hxx   | 11 ++++-
 bindings/c++/preludedb-sql.cxx           | 29 +++++++++++-
 bindings/python/_preludedb.cxx           | 79 ++++++++++++++++++++++++++------
 bindings/python/libpreludedbcpp-python.i | 13 ++++++
 4 files changed, 114 insertions(+), 18 deletions(-)

commit 6cc79359028eb88f9bef76c68215c99ca8c8a20d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Aug 8 12:12:33 2019 +0200

    [#3647] Pull update from SWIG repository: fix possible crash on invalid unicode string
    
    Change-Id: I81bf666ee32281754446ea00008b75c0404088fe

 bindings/python/_preludedb.cxx | 64 +++++++++++++++++-----------------------
 bindings/python/pystrings.swg  | 66 ++++++++++++++++++------------------------
 2 files changed, 55 insertions(+), 75 deletions(-)

commit f4ec95aad9a4b0dfdd67b0b46c8dae1b26912b0f
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Aug 1 12:27:42 2019 +0200

    [#3723] Update to SWIG 4
    
    Change-Id: Ic3552bcb7dde1ede74fc8cc83c0b18a9a64bace6

 bindings/python/_preludedb.cxx | 2339 +++++++++++++++++-----------------------
 bindings/python/preludedb.py   |  103 +-
 2 files changed, 1033 insertions(+), 1409 deletions(-)

commit e2714fc82f493844d4baa16bb3d13dbaee41486d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:59:12 2019 +0800

    [#rel3614] Implement DB::get_sql()
    
    Change-Id: Id37603af7f0f307e9ab6ecfc0ae27eb9f9da2ab2

 bindings/c++/include/preludedb-sql.hxx |   6 +-
 bindings/c++/include/preludedb.hxx     |   1 +
 bindings/c++/preludedb-sql.cxx         |  20 +++-
 bindings/c++/preludedb.cxx             |   7 ++
 bindings/python/_preludedb.cxx         | 194 +++++++++++++++++++++++++++++----
 5 files changed, 205 insertions(+), 23 deletions(-)

commit e52944ba58b3eccb860688dfe42f353f0237c077
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:58:15 2019 +0800

    [#rel3614] Provide bindings for DB object transaction
    
    Change-Id: I29bb9eeca698bb77335f6f08e1b2891f11224c17

 bindings/c++/include/preludedb.hxx |  4 ++
 bindings/c++/preludedb.cxx         | 31 +++++++++++++
 bindings/python/_preludedb.cxx     | 93 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 128 insertions(+)

commit 0e4eb5f6801eba85e2158e998fa3f3111bbf6d29
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jul 2 12:55:45 2019 +0200

    [#rel3547] Support AVG function on integer fields
    
    Change-Id: Ied222d78ffe0f9671da59400503b8c37869ac44f

 src/preludedb-sql-select.c | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

commit 1055204099074e36525ccd1e8a65f8f2f80f6682
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jun 19 14:46:42 2019 +0200

    [#3547] Support the SUM function
    
    Change-Id: I2b0fdee27dc7605cccc5ca348cb0da1f6b84c9e2

 src/include/preludedb-path-selection.h    |   1 +
 src/preludedb-path-selection-parser.lex.c | 842 +++++++++++++++++++-----------
 src/preludedb-path-selection-parser.lex.h | 485 ++++++++++++++---
 src/preludedb-path-selection-parser.yac.c | 295 ++++++-----
 src/preludedb-path-selection-parser.yac.h |  12 +-
 src/preludedb-path-selection-parser.yac.y |   1 +
 src/preludedb-path-selection.c            |  18 +
 src/preludedb-sql-select.c                |   3 +
 8 files changed, 1134 insertions(+), 523 deletions(-)

commit 93a4666bef0cb0395cf9e6b8fb6bcb024c890ec1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:45:00 2019 +0800

    [#rel3614] Make db->connect() and db->close() API public
    
    Change-Id: I9e50d4955649040c2e053ececdff1a22ff89d545

 bindings/c++/include/preludedb-sql.hxx |  2 +
 bindings/c++/preludedb-sql.cxx         | 20 ++++++++
 bindings/python/_preludedb.cxx         | 91 ++++++++++++++++++++++++++++------
 src/include/preludedb-sql.h            |  3 ++
 src/preludedb-sql.c                    | 22 +++++++-
 5 files changed, 120 insertions(+), 18 deletions(-)

commit 53ea5ba351d4ba5d171389a2f6518911b3a77c8f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jul 17 17:16:15 2019 +0200

    Update NEWS, bump version
    
    Change-Id: I0b93b61e4bfdbea20a740cc39fcb64fe88c46b45

 NEWS         | 12 ++++++++++++
 configure.ac |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

commit 5ac2ac1dbb21e6a4947538c0a7c73e341601690d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 24 14:30:22 2019 +0200

    [#rel3614] Classic is now multiprocess safe
    
    Change-Id: I651603ef62dd368e60c3ab5901153e425bc3b159

 plugins/format/classic/classic-insert.c | 35 ++-------------------------------
 1 file changed, 2 insertions(+), 33 deletions(-)

commit 274871a0c49de3459efb96d60ca56c91f28bc977
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 24 14:52:29 2019 +0200

    [#rel3614] get_last_insert_ident support for sqlite3
    
    Change-Id: I8758f290a5815aae71ace180468c4b0856a94c8e

 plugins/sql/sqlite3/sqlite3.c | 8 ++++++++
 1 file changed, 8 insertions(+)

commit b0fc5882dfa4a0f909aaf9f752c4bd9c03a9290d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Jun 11 08:55:30 2019 +0800

    [#rel3614] Fix invalid free with NULL selection
    
    Change-Id: Ibc3c012d2b4bd6a8f919aa5f2f722f50779a91b1

 bindings/c++/preludedb.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 9677949b00a4f27725adc53c1c400d7978b197c3
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Mar 15 14:26:56 2019 +0100

    Update NEWS, bump version
    
    Change-Id: Iee459d348a953ec04e39cd69d9bf5d19c1b496f8

 NEWS         | 12 ++++++++++++
 configure.ac | 10 +++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)

commit b788c53f65d62db46f34c721bcf4e71e4aab9110
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 3 13:42:38 2019 +0100

    [#3381] Copyright year update
    
    Change-Id: I4c9246a12076c9fe616748b9070fb5ca3077848e

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-insert.h       | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection-parser.lex.l             | 2 +-
 src/preludedb-path-selection-parser.yac.y             | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 42 files changed, 42 insertions(+), 42 deletions(-)

commit dbfc183b7881ec8a55a7e80aece7ebd9f0fe7e0d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Nov 6 17:01:39 2018 +0800

    [#3318] Prelude Table refcount overflow for selection with > 65535 rows
    
    Since each individual row reference the table, we can easily overflow the 16 bits
    refcount.
    
    Change-Id: I9cfe16422e706165da4d8aa3ff1c55a132207154

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 33d55a084619016e3b8751d57a996e92d14ecd44
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 27 14:30:10 2018 +0200

    [#3293, #ext866] Fix manpage warning
    
    Change-Id: I2a5b71791b1f2eebb87e6acc8e0a45259bf31f71

 docs/manpages/libpreludedb-config.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c34830a793c8b670cfaaf0879b8a5a545ef33f59
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 3 11:04:58 2018 +0800

    [#rel3296] Add missing =*, !=* operator
    
    Change-Id: Ife0c4dbb3fe0a94d18abcb43ccab6412d448ce0f

 plugins/sql/pgsql/pgsql.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

commit 19620181344f87a4265dc0410516db525165b13e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 11 16:01:18 2018 +0800

    [#3296] Support NOT criterion
    
    Change-Id: I76462c3556d58714b922fd4fb511edebcff25e85

 plugins/format/classic/classic-path-resolve.c | 22 +++++++++--------
 src/preludedb-sql.c                           | 35 +++++++++++----------------
 2 files changed, 26 insertions(+), 31 deletions(-)

commit a32ff6db979aec79f5bdec0999615244b794c945
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 6 15:20:51 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I63b8a330887feb2927d37a75286af75b24058919

 NEWS         | 8 ++++++++
 configure.ac | 6 +++---
 2 files changed, 11 insertions(+), 3 deletions(-)

commit 5b80291b4a93884bfd0e0aae740093585f5c402c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 4 14:42:12 2018 +0200

    [#3220] Update GnuLib code
    
    Based on commit 8b1d4a63e34f3893036d82f39c5680e845de5ddf (2018-09-03)
    
    Change-Id: I5a82ea5ef471673e7939130e6553ca7d242c32b0

 libmissing/Makefile.am                   | 29 +++++++++--
 libmissing/errno.in.h                    |  4 +-
 libmissing/glthread/lock.h               | 10 +++-
 libmissing/m4/extern-inline.m4           | 16 +++++-
 libmissing/m4/getpagesize.m4             | 23 +++++++--
 libmissing/m4/gnulib-cache.m4            | 21 +++++++-
 libmissing/m4/gnulib-common.m4           | 29 +++++++----
 libmissing/m4/gnulib-comp.m4             |  1 +
 libmissing/m4/host-cpu-c-abi.m4          | 89 +++++++++++++++++++++++++++++++-
 libmissing/m4/inttypes.m4                |  3 +-
 libmissing/m4/lib-link.m4                |  2 +-
 libmissing/m4/limits-h.m4                |  8 +++
 libmissing/m4/malloc.m4                  |  4 +-
 libmissing/m4/pthread_rwlock_rdlock.m4   |  8 +--
 libmissing/m4/pthread_sigmask.m4         | 70 ++++++++++++-------------
 libmissing/m4/stdint.m4                  |  5 +-
 libmissing/m4/stdio_h.m4                 |  4 +-
 libmissing/m4/threadlib.m4               | 82 ++++++++++++++++++++++++++++-
 libmissing/m4/unistd_h.m4                | 11 ++--
 libmissing/m4/warn-on-use.m4             | 40 +++++++-------
 libmissing/m4/wchar_h.m4                 | 10 ++--
 libmissing/printf-parse.c                |  2 +-
 libmissing/stdio.in.h                    |  4 +-
 libmissing/stdlib.in.h                   |  4 +-
 libmissing/sys_types.in.h                | 15 +++++-
 libmissing/tests/Makefile.am             | 11 ++--
 libmissing/tests/getpagesize.c           |  2 +-
 libmissing/tests/glthread/thread.h       | 19 ++++---
 libmissing/tests/intprops.h              | 16 +++---
 libmissing/tests/inttypes.in.h           |  6 ++-
 libmissing/tests/sigprocmask.c           |  2 +-
 libmissing/tests/sleep.c                 |  2 +-
 libmissing/tests/test-once.c             | 43 +++++++++++++++
 libmissing/tests/test-pthread_sigmask1.c |  2 +-
 libmissing/tests/test-sigprocmask.c      |  2 +-
 libmissing/tests/warn-on-use.h           | 64 +++++++++++++++--------
 libmissing/tests/zerosize-ptr.h          | 13 +++++
 libmissing/time.in.h                     |  2 +-
 libmissing/unistd.in.h                   | 44 +++++++++++++---
 libmissing/vasnprintf.c                  | 14 ++---
 libmissing/verify.h                      |  3 +-
 libmissing/warn-on-use.h                 | 64 +++++++++++++++--------
 42 files changed, 616 insertions(+), 187 deletions(-)

commit 35af745f8e7b5430e4b04eb6af6f1d86f7720aac
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 17 10:07:23 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I7abbcaf7e8ec48f5fc59341d3f48a9ac564f8926

 NEWS         | 16 ++++++++++++++++
 configure.ac |  4 ++--
 2 files changed, 18 insertions(+), 2 deletions(-)

commit 6eec6b60407b0fcc073c199fa4c543c7cfc53707
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 19 12:30:49 2018 +0200

    [#2732] Add a unique identifier in the _format table
    
    Change-Id: I4f3157e4e366f265d5711640205e00027de3af88

 plugins/format/classic/Makefile.am            |   5 +-
 plugins/format/classic/classic.c              |   2 +-
 plugins/format/classic/mysql-update-14-8.sql  |   6 +
 plugins/format/classic/mysql.sql              |   5 +-
 plugins/format/classic/pgsql-update-14-8.sql  |   6 +
 plugins/format/classic/pgsql.sql              |   5 +-
 plugins/format/classic/sqlite-update-14-8.sql |   6 +
 plugins/format/classic/sqlite.sql             |   5 +-
 plugins/sql/mysql/mysql.c                     |  23 +++
 plugins/sql/pgsql/pgsql.c                     |  24 +++
 src/include/preludedb-plugin-sql.h            |   5 +
 src/include/preludedb-sql.h                   |  20 +++
 src/include/preludedb.h                       |   1 +
 src/preludedb-plugin-sql.c                    |  27 +++
 src/preludedb-sql.c                           | 231 +++++++++++++++++++++++++-
 src/preludedb.c                               | 114 +++++++++++--
 16 files changed, 461 insertions(+), 24 deletions(-)

commit 32783e1697feb2d98a5b25049f51e7519feb44df
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jun 7 12:05:22 2018 +0200

    [#3103] Adapt to IDMEF criteria API change
    
    Change-Id: I2f8d5eb224f5c28e15edcc8b039275061f703cc2

 plugins/format/classic/classic-path-resolve.c | 59 ++++++++++++---------------
 src/include/preludedb-sql.h                   |  2 +
 src/preludedb-sql.c                           | 20 +++++++++
 3 files changed, 49 insertions(+), 32 deletions(-)

commit ce25a1b68077e0d4e1ef4ac5a2eec669edacbfa8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed May 23 14:30:16 2018 +0200

    [#2871] Fix SQL connection leak
    
    When an error occurred at the DB initialization
    (for instance, in case of a schema mismatch),
    the SQL object was not destroyed.
    
    Change-Id: Ifdc91d702c0eb8e7d142a2eeea78b64e14c1cc5c

 src/preludedb.c | 2 ++
 1 file changed, 2 insertions(+)

commit b43dbbff9196c3dcde7f2377047f4ad176e84cb9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jun 4 18:22:08 2018 +0800

    [#3078] Properly set top_class when there is no JOIN
    
    Change-Id: I40053f5e8c748bd05b1e232c7ee73c242419d4a2

 plugins/format/classic/classic-path-resolve.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 857de033329a002a0e87c8558b3a8adcbaab6479
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Feb 23 12:05:57 2018 +0700

    [#2897] Prevent failure on additional data type mismatch
    
    When we fail to read the data as a specific type, set the value as a string.
    
    Change-Id: I0a804df70e528d15f71d4f5e1a10b25957565aff

 plugins/format/classic/classic-get.c | 113 ++++++++++++++++++-----------------
 1 file changed, 58 insertions(+), 55 deletions(-)

commit bcb3bff1f597a6da07e3a64e6ea94c604ab0e369
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri May 4 10:09:18 2018 +0200

    Update NEWS, bump version
    
    Change-Id: Id739e0d6738ef3b0df3d5588b5967f502fe4868a

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit d07cf2af999f2239586a10d8c265c1acd03f4867
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 12 16:25:54 2018 +0200

    Update NEWS, bump version
    
    Change-Id: I2968a0843e5dc7dfe27c51c57fe58f929175d576

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 12 ++++++------
 2 files changed, 24 insertions(+), 6 deletions(-)

commit fcc939ee7d16f28e0098c2586792a7bbb2deb3d7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 9 09:58:51 2018 +0100

    Update GnuLib code
    
    Based on commit 646a44e1b190c4a7f6a9f32c63230c619e38d251 (2018-02-04)
    
    Change-Id: Ia87f98940684f9749a30a68668b3b8c8fc3b64f9

 config.rpath                             |   2 +-
 libmissing/Makefile.am                   |  25 +-
 libmissing/alloca.in.h                   |   4 +-
 libmissing/arg-nonnull.h                 |   4 +-
 libmissing/asnprintf.c                   |   4 +-
 libmissing/c++defs.h                     |   8 +-
 libmissing/errno.in.h                    |   4 +-
 libmissing/float+.h                      |   4 +-
 libmissing/float.c                       |   4 +-
 libmissing/float.in.h                    |   8 +-
 libmissing/glthread/lock.c               |   4 +-
 libmissing/glthread/lock.h               |   4 +-
 libmissing/glthread/threadlib.c          |   4 +-
 libmissing/itold.c                       |   4 +-
 libmissing/limits.in.h                   |   4 +-
 libmissing/m4/00gnulib.m4                |   2 +-
 libmissing/m4/absolute-header.m4         |   2 +-
 libmissing/m4/alloca.m4                  |   6 +-
 libmissing/m4/asm-underscore.m4          |  72 +++++
 libmissing/m4/errno_h.m4                 |   2 +-
 libmissing/m4/exponentd.m4               |   2 +-
 libmissing/m4/extensions.m4              |  20 +-
 libmissing/m4/extern-inline.m4           |  10 +-
 libmissing/m4/fdopen.m4                  |   2 +-
 libmissing/m4/float_h.m4                 |  32 ++-
 libmissing/m4/fpieee.m4                  |   4 +-
 libmissing/m4/getpagesize.m4             |   2 +-
 libmissing/m4/gnulib-cache.m4            |   4 +-
 libmissing/m4/gnulib-common.m4           |   8 +-
 libmissing/m4/gnulib-comp.m4             |  48 +++-
 libmissing/m4/gnulib-tool.m4             |   2 +-
 libmissing/m4/host-cpu-c-abi.m4          | 369 ++++++++++++++++++++++++
 libmissing/m4/include_next.m4            |   2 +-
 libmissing/m4/intmax_t.m4                |   2 +-
 libmissing/m4/inttypes-pri.m4            |   2 +-
 libmissing/m4/inttypes.m4                |   2 +-
 libmissing/m4/inttypes_h.m4              |   2 +-
 libmissing/m4/lib-ld.m4                  |  35 ++-
 libmissing/m4/lib-link.m4                |   2 +-
 libmissing/m4/lib-prefix.m4              |  84 +++---
 libmissing/m4/limits-h.m4                |   2 +-
 libmissing/m4/lock.m4                    |   2 +-
 libmissing/m4/longlong.m4                |   2 +-
 libmissing/m4/malloc.m4                  |   8 +-
 libmissing/m4/math_h.m4                  |   5 +-
 libmissing/m4/memchr.m4                  |  33 ++-
 libmissing/m4/memrchr.m4                 |   2 +-
 libmissing/m4/mmap-anon.m4               |   2 +-
 libmissing/m4/msvc-inval.m4              |   2 +-
 libmissing/m4/multiarch.m4               |   2 +-
 libmissing/m4/off_t.m4                   |   2 +-
 libmissing/m4/onceonly.m4                |   4 +-
 libmissing/m4/printf.m4                  | 219 ++++++++++-----
 libmissing/m4/pthread_rwlock_rdlock.m4   |   2 +-
 libmissing/m4/pthread_sigmask.m4         | 279 +++++++++++++++++++
 libmissing/m4/raise.m4                   |  36 +++
 libmissing/m4/signal_h.m4                |  83 ++++++
 libmissing/m4/signalblocking.m4          |  25 ++
 libmissing/m4/size_max.m4                |   2 +-
 libmissing/m4/sleep.m4                   |  14 +-
 libmissing/m4/snprintf.m4                |   2 +-
 libmissing/m4/ssize_t.m4                 |   2 +-
 libmissing/m4/stdalign.m4                |   4 +-
 libmissing/m4/stdbool.m4                 |   6 +-
 libmissing/m4/stddef_h.m4                |   2 +-
 libmissing/m4/stdint.m4                  | 110 ++++----
 libmissing/m4/stdint_h.m4                |   2 +-
 libmissing/m4/stdio_h.m4                 |   2 +-
 libmissing/m4/stdlib_h.m4                |  17 +-
 libmissing/m4/strdup.m4                  |   2 +-
 libmissing/m4/string_h.m4                |  16 +-
 libmissing/m4/strndup.m4                 |   2 +-
 libmissing/m4/strnlen.m4                 |   2 +-
 libmissing/m4/sys_types_h.m4             |   8 +-
 libmissing/m4/thread.m4                  |   2 +-
 libmissing/m4/threadlib.m4               |  12 +-
 libmissing/m4/time_h.m4                  |   2 +-
 libmissing/m4/time_r.m4                  |   2 +-
 libmissing/m4/unistd_h.m4                |   5 +-
 libmissing/m4/usleep.m4                  |  14 +-
 libmissing/m4/vasnprintf.m4              |   2 +-
 libmissing/m4/vsnprintf.m4               |   2 +-
 libmissing/m4/warn-on-use.m4             |   2 +-
 libmissing/m4/wchar_h.m4                 |   8 +-
 libmissing/m4/wchar_t.m4                 |   2 +-
 libmissing/m4/wint_t.m4                  |   2 +-
 libmissing/m4/xsize.m4                   |   2 +-
 libmissing/m4/yield.m4                   |   2 +-
 libmissing/malloc.c                      |   4 +-
 libmissing/memchr.c                      |   4 +-
 libmissing/memrchr.c                     |   4 +-
 libmissing/printf-args.c                 |   4 +-
 libmissing/printf-args.h                 |   4 +-
 libmissing/printf-parse.c                |   4 +-
 libmissing/printf-parse.h                |   4 +-
 libmissing/size_max.h                    |   4 +-
 libmissing/snprintf.c                    |   4 +-
 libmissing/stddef.in.h                   |  22 +-
 libmissing/stdint.in.h                   |   4 +-
 libmissing/stdio.in.h                    |  12 +-
 libmissing/stdlib.in.h                   |  28 +-
 libmissing/strdup.c                      |   4 +-
 libmissing/string.in.h                   |  21 +-
 libmissing/strndup.c                     |   4 +-
 libmissing/strnlen.c                     |   4 +-
 libmissing/sys_types.in.h                |   4 +-
 libmissing/tests/Makefile.am             | 107 ++++++-
 libmissing/tests/arg-nonnull.h           |   4 +-
 libmissing/tests/c++defs.h               |   8 +-
 libmissing/tests/fdopen.c                |   4 +-
 libmissing/tests/fpucw.h                 |   8 +-
 libmissing/tests/getpagesize.c           |   4 +-
 libmissing/tests/glthread/thread.c       |   4 +-
 libmissing/tests/glthread/thread.h       |  12 +-
 libmissing/tests/glthread/yield.h        |   4 +-
 libmissing/tests/init.sh                 |  27 +-
 libmissing/tests/intprops.h              |  10 +-
 libmissing/tests/inttypes.in.h           |   4 +-
 libmissing/tests/macros.h                |   4 +-
 libmissing/tests/msvc-inval.c            |   4 +-
 libmissing/tests/msvc-inval.h            |   8 +-
 libmissing/tests/pthread_sigmask.c       |  92 ++++++
 libmissing/tests/raise.c                 |  81 ++++++
 libmissing/tests/signal.in.h             | 463 +++++++++++++++++++++++++++++++
 libmissing/tests/signature.h             |   4 +-
 libmissing/tests/sigprocmask.c           | 349 +++++++++++++++++++++++
 libmissing/tests/sleep.c                 |   4 +-
 libmissing/tests/stdalign.in.h           |   6 +-
 libmissing/tests/stdbool.in.h            |  10 +-
 libmissing/tests/test-alloca-opt.c       |   4 +-
 libmissing/tests/test-errno.c            |   4 +-
 libmissing/tests/test-fdopen.c           |   4 +-
 libmissing/tests/test-fgetc.c            |   4 +-
 libmissing/tests/test-float.c            |   4 +-
 libmissing/tests/test-fputc.c            |   4 +-
 libmissing/tests/test-fread.c            |   4 +-
 libmissing/tests/test-fwrite.c           |   4 +-
 libmissing/tests/test-init.sh            |   4 +-
 libmissing/tests/test-intprops.c         |   6 +-
 libmissing/tests/test-inttypes.c         |   4 +-
 libmissing/tests/test-limits-h.c         |   4 +-
 libmissing/tests/test-lock.c             |   4 +-
 libmissing/tests/test-memchr.c           |   4 +-
 libmissing/tests/test-memrchr.c          |   4 +-
 libmissing/tests/test-pthread_sigmask1.c |  95 +++++++
 libmissing/tests/test-pthread_sigmask2.c |  99 +++++++
 libmissing/tests/test-raise.c            |  50 ++++
 libmissing/tests/test-rwlock1.c          |   4 +-
 libmissing/tests/test-signal-h.c         | 129 +++++++++
 libmissing/tests/test-sigprocmask.c      | 102 +++++++
 libmissing/tests/test-sleep.c            |   4 +-
 libmissing/tests/test-snprintf.c         |   4 +-
 libmissing/tests/test-stdalign.c         |   6 +-
 libmissing/tests/test-stdbool.c          |  10 +-
 libmissing/tests/test-stddef.c           |   4 +-
 libmissing/tests/test-stdint.c           |   4 +-
 libmissing/tests/test-stdio.c            |   4 +-
 libmissing/tests/test-stdlib.c           |   4 +-
 libmissing/tests/test-string.c           |   4 +-
 libmissing/tests/test-strnlen.c          |   4 +-
 libmissing/tests/test-sys_types.c        |   4 +-
 libmissing/tests/test-sys_wait.h         |   4 +-
 libmissing/tests/test-thread_create.c    |   4 +-
 libmissing/tests/test-thread_self.c      |   4 +-
 libmissing/tests/test-time.c             |   4 +-
 libmissing/tests/test-unistd.c           |   4 +-
 libmissing/tests/test-usleep.c           |   4 +-
 libmissing/tests/test-vasnprintf.c       |   4 +-
 libmissing/tests/test-verify-try.c       |   4 +-
 libmissing/tests/test-verify.c           |   4 +-
 libmissing/tests/test-vsnprintf.c        |   4 +-
 libmissing/tests/test-wchar.c            |   4 +-
 libmissing/tests/usleep.c                |   4 +-
 libmissing/tests/warn-on-use.h           |   4 +-
 libmissing/tests/zerosize-ptr.h          |   4 +-
 libmissing/time.in.h                     |   4 +-
 libmissing/time_r.c                      |   4 +-
 libmissing/unistd.in.h                   |  36 ++-
 libmissing/vasnprintf.c                  |   8 +-
 libmissing/vasnprintf.h                  |   4 +-
 libmissing/verify.h                      |   4 +-
 libmissing/vsnprintf.c                   |   4 +-
 libmissing/warn-on-use.h                 |   4 +-
 libmissing/wchar.in.h                    |  11 +-
 libmissing/xsize.h                       |   4 +-
 185 files changed, 3286 insertions(+), 573 deletions(-)

commit 246bc5c045352b700130d8a296b537aa479c4b33
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Mar 5 16:37:26 2018 +0700

    [#rel2733] Support attaching data to preludedb_t and preludedb_sql_t object
    
    Change-Id: I03b36729726fbbd05840484bad20b66ba1f94c44

 src/include/preludedb-plugin-format-prv.h |  1 +
 src/include/preludedb-plugin-format.h     |  4 ++++
 src/include/preludedb-sql.h               |  4 ++++
 src/include/preludedb.h                   |  4 ++++
 src/preludedb-plugin-format.c             | 13 +++++++++++++
 src/preludedb-sql.c                       | 15 +++++++++++++++
 src/preludedb.c                           | 20 ++++++++++++++++++++
 7 files changed, 61 insertions(+)

commit 80ea0a0e0d7ad25f8bc9548f67e12843ae8b7150
Author: Thomas Andrejak <thomas.andrejak@c-s.fr>
Date:   Sat Mar 10 13:55:23 2018 +0100

    [#2939] Add python 3.6 support
    
    Change-Id: I7f0c1d17595e032c5cf687e235d2c000bbc8ef34

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3fb25f3876d875687711224c0dc1391c38d8e8f7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Feb 14 10:01:03 2018 +0100

    [#2874] Fully support sorting in preludedb_get_message_idents()
    
    Introduce preludedb_get_(alert|hearbeat)_idents2 functions
    taking a path list as the order argument.
    
    Change-Id: I81907c4af5c78217d4b86acfcbacc04b982e1231

 bindings/c++/include/preludedb.hxx     |  10 +---
 bindings/c++/preludedb.cxx             |  22 +++++--
 bindings/python/_preludedb.cxx         |  55 ++++++++++-------
 plugins/format/classic/classic.c       |  35 ++++-------
 preludedb-admin.c                      |   8 +--
 src/include/preludedb-path-selection.h |   4 +-
 src/include/preludedb-plugin-format.h  |   4 +-
 src/include/preludedb.h                |   8 +++
 src/preludedb-path-selection.c         |   4 +-
 src/preludedb.c                        | 106 +++++++++++++++++++++++++++++++--
 10 files changed, 184 insertions(+), 72 deletions(-)

commit 622e8824cabd5779da4e0f4ac2512df7a5f11bb7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 9 10:48:03 2018 +0100

    Update NEWS, bump version
    
    Change-Id: Id46b5f759cc3fe5882d730f4805cc6ddc415772f

 NEWS         | 18 ++++++++++++++++++
 configure.ac | 14 +++++++-------
 2 files changed, 25 insertions(+), 7 deletions(-)

commit a86c71f34eb5cc66485918b8fd1f179fa9ae3b1c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jan 3 11:57:14 2018 +0100

    [#2795] Copyright year update
    
    Change-Id: I52b2f6a874f1c7922dd948707ab9a7557916a511

 LICENSE.README                                     |  2 +-
 bindings/c++/include/preludedb-error.hxx           |  2 +-
 bindings/c++/preludedb-error.cxx                   |  2 +-
 bindings/libpreludedbcpp.i                         |  2 +-
 bindings/python/setup.py.in                        |  2 +-
 docs/manpages/preludedb-admin.1                    |  2 +-
 plugins/format/classic/classic-delete.c            |  2 +-
 plugins/format/classic/classic-get.c               |  2 +-
 plugins/format/classic/classic-insert.c            |  2 +-
 plugins/format/classic/classic-path-resolve.c      |  2 +-
 plugins/format/classic/classic-sql-join.c          |  2 +-
 plugins/format/classic/classic.c                   |  2 +-
 plugins/format/classic/include/classic-delete.h    |  2 +-
 plugins/format/classic/include/classic-get.h       |  2 +-
 plugins/format/classic/include/classic-insert.h    |  6 +++---
 .../format/classic/include/classic-path-resolve.h  |  2 +-
 plugins/format/classic/include/classic-sql-join.h  |  2 +-
 plugins/sql/mysql/mysql.c                          |  2 +-
 plugins/sql/pgsql/pgsql.c                          |  2 +-
 plugins/sql/sqlite3/sqlite3.c                      |  2 +-
 preludedb-admin.c                                  |  2 +-
 src/include/preludedb-error.h                      |  2 +-
 src/include/preludedb-path-selection.h             |  2 +-
 src/include/preludedb-plugin-format-prv.h          |  2 +-
 src/include/preludedb-plugin-format.h              |  2 +-
 src/include/preludedb-plugin-sql.h                 |  2 +-
 src/include/preludedb-sql-select.h                 |  2 +-
 src/include/preludedb-sql-settings.h               |  2 +-
 src/include/preludedb-sql.h                        |  2 +-
 src/include/preludedb-version.h.in                 |  2 +-
 src/include/preludedb.h                            |  2 +-
 src/preludedb-error.c                              |  2 +-
 src/preludedb-path-selection-parser.lex.l          | 22 +++++++++++++++++++++
 src/preludedb-path-selection-parser.yac.y          | 23 ++++++++++++++++++++++
 src/preludedb-path-selection.c                     |  2 +-
 src/preludedb-plugin-format.c                      |  2 +-
 src/preludedb-plugin-sql.c                         |  2 +-
 src/preludedb-sql-select.c                         |  2 +-
 src/preludedb-sql-settings.c                       |  2 +-
 src/preludedb-sql.c                                |  2 +-
 src/preludedb-version.c                            |  2 +-
 src/preludedb.c                                    |  2 +-
 42 files changed, 87 insertions(+), 42 deletions(-)

commit d9a7aa7ba5c1208f08856a0d8162b807ede6855f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Dec 11 16:35:45 2017 +0100

    [#2755] Fix the encoding error handler for Python 2
    
    Change-Id: I8e50cccfe04a67e3ed56829c7255dfe054d4914c

 bindings/python/_preludedb.cxx | 2 +-
 bindings/python/pystrings.swg  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5ae65508c28b96f8c78d72f92442913ecd3edbea
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 11 21:13:53 2017 +0200

    [#rel2505] Fix memory leak in case of PQescapeStringConn() error
    
    Change-Id: I2e133cea908a17d96d3919785bbee278847fd045

 plugins/sql/pgsql/pgsql.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 11cd3d450ea0e2a0c74ed1323b9c4f549edd363f
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Aug 22 17:17:47 2017 +0200

    [#2705] Use 'DROP TABLE IF EXISTS' for PostgreSQL
    
    Change-Id: Ie4ad608eb757bd5ddeb40219063dd8f392c7650a

 plugins/format/classic/mysql2pgsql.sh |  1 -
 plugins/format/classic/pgsql.sql      | 74 +++++++++++++++++------------------
 2 files changed, 37 insertions(+), 38 deletions(-)

commit f746d3a8d5a3945c6157a17949daf36f7cc3ab52
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 28 18:03:41 2017 +0200

    [#2669] preludedb_sql_query() now return the number of affected rows
    
    High level bindings return the information through the Table.affected_rows member.
    
    Change-Id: I01417d064962fc764a1fc0ed00ec2ee0d8187c1c

 bindings/c++/include/preludedb-sql.hxx |  6 ++-
 bindings/c++/preludedb-sql.cxx         |  7 ++-
 bindings/python/_preludedb.cxx         | 93 +++++++++++++++++++++++++++-------
 bindings/python/preludedb.py           |  2 +-
 plugins/sql/mysql/mysql.c              |  8 +--
 plugins/sql/pgsql/pgsql.c              | 24 +++++----
 plugins/sql/sqlite3/sqlite3.c          |  1 +
 src/preludedb-sql.c                    |  8 +--
 8 files changed, 110 insertions(+), 39 deletions(-)

commit 115b5e9f5aac35d9fd158f980307aa02e9b953e0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 21 17:55:06 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I2893071acaafbad709924f68d1bf80e3e660ebec

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 4b9b416f03925e9ce40011bfbf4789bfb13a930e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jul 13 16:39:45 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I89b24d77336014326fa87c6ea8d8d414ef807190

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 580a3f860f0172a87e2f7a6d96fcf4d600af10d8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 10 15:11:10 2017 +0200

    [#2632] Update GnuLib code
    
    Change-Id: I34c36260c10439d88c679de17321cf4bf0893584

 libmissing/Makefile.am                 | 130 ++++----------
 libmissing/_Noreturn.h                 |  10 ++
 libmissing/arg-nonnull.h               |  26 +++
 libmissing/c++defs.h                   | 316 +++++++++++++++++++++++++++++++++
 libmissing/float.in.h                  |   2 +-
 libmissing/gettimeofday.c              | 154 ----------------
 libmissing/glthread/lock.c             | 182 ++++++++++++++++++-
 libmissing/glthread/lock.h             |  62 ++++++-
 libmissing/limits.in.h                 |  11 ++
 libmissing/m4/fdopen.m4                |  13 +-
 libmissing/m4/float_h.m4               |   6 +-
 libmissing/m4/gettimeofday.m4          | 138 --------------
 libmissing/m4/gnulib-common.m4         |  13 +-
 libmissing/m4/gnulib-comp.m4           |  56 +++---
 libmissing/m4/include_next.m4          |   5 +-
 libmissing/m4/lib-ld.m4                | 140 +++++++++------
 libmissing/m4/lib-prefix.m4            | 107 ++++++-----
 libmissing/m4/lock.m4                  |   9 +-
 libmissing/m4/printf.m4                |  13 +-
 libmissing/m4/pthread_rwlock_rdlock.m4 | 163 +++++++++++++++++
 libmissing/m4/sleep.m4                 |  62 +++++++
 libmissing/m4/stdalign.m4              |   4 +-
 libmissing/m4/sys_socket_h.m4          | 176 ------------------
 libmissing/m4/sys_time_h.m4            | 111 ------------
 libmissing/m4/sys_types_h.m4           |  13 +-
 libmissing/m4/time_h.m4                |  12 +-
 libmissing/m4/unistd_h.m4              |   9 +-
 libmissing/m4/usleep.m4                |  45 +++++
 libmissing/m4/wchar_h.m4               |   9 +-
 libmissing/m4/wint_t.m4                |  14 +-
 libmissing/stdint.in.h                 |  43 +++--
 libmissing/sys_time.in.h               | 220 -----------------------
 libmissing/sys_types.in.h              |  42 +++++
 libmissing/tests/Makefile.am           | 137 +++++++-------
 libmissing/tests/_Noreturn.h           |  10 ++
 libmissing/tests/arg-nonnull.h         |  26 +++
 libmissing/tests/c++defs.h             | 316 +++++++++++++++++++++++++++++++++
 libmissing/tests/glthread/thread.h     |  11 +-
 libmissing/tests/intprops.h            |  81 ++++-----
 libmissing/tests/macros.h              |   8 +
 libmissing/tests/sleep.c               |  76 ++++++++
 libmissing/tests/stdalign.in.h         |   2 +-
 libmissing/tests/test-fgetc.c          |   4 +-
 libmissing/tests/test-fputc.c          |   4 +-
 libmissing/tests/test-fread.c          |   4 +-
 libmissing/tests/test-fwrite.c         |   4 +-
 libmissing/tests/test-gettimeofday.c   |  47 -----
 libmissing/tests/test-intprops.c       |  21 +++
 libmissing/tests/test-lock.c           | 110 +++++++++++-
 libmissing/tests/test-rwlock1.c        | 157 ++++++++++++++++
 libmissing/tests/test-sleep.c          |  58 ++++++
 libmissing/tests/test-stdalign.c       |   5 +
 libmissing/tests/test-stddef.c         |   6 +-
 libmissing/tests/test-sys_time.c       |  34 ----
 libmissing/tests/test-usleep.c         |  40 +++++
 libmissing/tests/test-verify-try.c     |  21 +++
 libmissing/tests/test-verify.sh        |   9 +-
 libmissing/tests/usleep.c              |  58 ++++++
 libmissing/tests/warn-on-use.h         | 109 ++++++++++++
 libmissing/time.in.h                   |  59 +++++-
 libmissing/unistd.in.h                 |  48 ++++-
 libmissing/vasnprintf.c                |  45 +++--
 libmissing/verify.h                    |   7 +-
 libmissing/warn-on-use.h               | 109 ++++++++++++
 libmissing/wchar.in.h                  |  44 ++++-
 65 files changed, 2663 insertions(+), 1323 deletions(-)

commit 1c7b76e28ce7d293d0c4563b35ab9169a45846b6
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 30 15:35:08 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I573de8e01efece94158e2dd44205bbd127c64345

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit b19b1387360200dbc18dd822126c0e4d4e09a3f7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 29 12:49:08 2017 +0200

    [#2226] Reconnect to the database automatically
    
    If the connection drop, attempt to reconnect at least once before giving up.
    
    Change-Id: I447e130ec85eee11f020916ee133d3d5b621258a

 src/preludedb-sql.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit b3ce37cea33ec7bc9954a4eacb544a66079c8b8c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 23 19:11:38 2017 +0200

    Update NEWS, bump version
    
    Change-Id: I98fa097a63572423a51dbdd47b946136bcef27a9

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 99be7188599cd93234d1b0f2f3e06cd2fa960703
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jun 16 10:04:35 2017 +0200

    [#2035] Fix crash with tuple object as input
    
    Change-Id: If242cf90425f3e9721d39d143dfc7cebd3aaeadd

 bindings/python/_preludedb.cxx           | 63 ++++++++++++++++++++------------
 bindings/python/libpreludedbcpp-python.i | 21 +++++++----
 2 files changed, 52 insertions(+), 32 deletions(-)

commit 368abee5f99e40ae020ca7c175ca2a6b1b1b08f0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 16 12:41:02 2017 +0200

    Update NEWS, bump version
    
    Change-Id: Icc4cf879cf69bd0e10bf171664442e2a4e9b3228

 NEWS         |  8 ++++++++
 configure.ac | 10 +++++-----
 2 files changed, 13 insertions(+), 5 deletions(-)

commit 040569bf5ffe0172562608dfda00c7d177171a5b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon May 29 15:59:52 2017 +0700

    [#rel2386] fetching server version might require connection
    
    Change-Id: I39ae70732c9ea253895a03d5af5e7d4975bc5b9a

 src/include/preludedb-sql.h | 2 +-
 src/preludedb-sql.c         | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 71aa439b0ae5dc2f3b9dc307602371409f23bc37
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Feb 15 15:45:40 2017 +0100

    Update NEWS, bump version
    
    Change-Id: I3a740035532339ceed1e35cc624d10cfeee079cb

 NEWS         | 6 ++++++
 configure.ac | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 8d3c18e175790ecc7e10ceaaeff6af0e698c265a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 10 20:18:56 2017 +0100

    Update NEWS, bump version
    
    Change-Id: If6e059862dd74265854a6cd648bf979b61e944b0

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit fc4c1b02b9c94db5bbd17223fc0c51ecbf26a0f1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Feb 8 17:56:49 2017 +0700

    [#1739] Raise an error if timezone convertion is not supported
    
    Change-Id: Ic005359eb8be32e218b68fe36175dfe292d00a4f

 plugins/sql/mysql/mysql.c          | 63 +++++++++++++++++++++++++++++++-------
 plugins/sql/pgsql/pgsql.c          | 12 ++++----
 plugins/sql/sqlite3/sqlite3.c      | 12 ++++----
 src/include/preludedb-plugin-sql.h | 24 +++++++--------
 src/preludedb-plugin-sql.c         | 24 +++++++--------
 src/preludedb-sql.c                | 14 ++++-----
 6 files changed, 95 insertions(+), 54 deletions(-)

commit 3e5c7911310ddc82f72427b6b7ca3f84f4a926fa
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 3 19:20:38 2017 +0100

    Update NEWS, bump version
    
    Change-Id: Ibd7425476dd62c3d54cb0534105a6e864c61e2d3

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 463769664783eab6ff138f212d42f9a743118876
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 26 18:28:17 2017 +0100

    Update NEWS, bump version
    
    Change-Id: I1702b144a7a48ad75066cf00f6d3ab06680a40eb

 NEWS         | 8 ++++++++
 configure.ac | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 294144d5ecbaa0fcb5c14c31074125dd8531cd8c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 25 10:38:46 2017 +0700

    [#1999] Fix getLastInsertIdent() crash on uninitialized session
    
    Change-Id: Ie70795230380e9cc50e1507a7d7379266ffaef3c

 src/preludedb-plugin-sql.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit cc2fb6c3af2f97a6049594082bcbc113b157a1ab
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 12 11:13:23 2017 +0100

    Copyright year update
    
    Change-Id: I9eaa70f88763c20b1f2a01c3bf7668a24a2e7154

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit ca8ab0a09ad204b7e7e82e94d0de4ca0e66b1ddb
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Jan 12 11:11:28 2017 +0100

    Update NEWS, bump version
    
    Change-Id: Ib0f0b5db3063ce9f9f83ced315a13d33c50a71a1

 NEWS         | 8 ++++++++
 configure.ac | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

commit 5d54355a39e9944374eeadc3dad4c576012e93da
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 4 17:12:30 2017 +0700

    [#2113] Update Gnulib & SWIG generated code
    
    Change-Id: I378ed6aca073cc35afc033f7f9efd546328a0637

 INSTALL                               |    4 +-
 bindings/python/_preludedb.cxx        | 2043 ++++++++++++++++++---------------
 bindings/python/preludedb.py          |   16 +-
 config.rpath                          |    2 +-
 gtk-doc.make                          |  100 +-
 libmissing/Makefile.am                |   36 +-
 libmissing/alloca.in.h                |    4 +-
 libmissing/asnprintf.c                |    2 +-
 libmissing/errno.in.h                 |    2 +-
 libmissing/float+.h                   |    2 +-
 libmissing/float.c                    |    2 +-
 libmissing/float.in.h                 |    2 +-
 libmissing/gettimeofday.c             |    2 +-
 libmissing/glthread/lock.c            |    2 +-
 libmissing/glthread/lock.h            |    2 +-
 libmissing/glthread/threadlib.c       |    2 +-
 libmissing/itold.c                    |    2 +-
 libmissing/limits.in.h                |   63 +
 libmissing/m4/00gnulib.m4             |    2 +-
 libmissing/m4/absolute-header.m4      |    2 +-
 libmissing/m4/alloca.m4               |    2 +-
 libmissing/m4/errno_h.m4              |    2 +-
 libmissing/m4/exponentd.m4            |    2 +-
 libmissing/m4/extensions.m4           |   46 +-
 libmissing/m4/extern-inline.m4        |    2 +-
 libmissing/m4/fdopen.m4               |    2 +-
 libmissing/m4/float_h.m4              |    2 +-
 libmissing/m4/fpieee.m4               |    2 +-
 libmissing/m4/getpagesize.m4          |    2 +-
 libmissing/m4/gettimeofday.m4         |    2 +-
 libmissing/m4/gnulib-cache.m4         |    2 +-
 libmissing/m4/gnulib-common.m4        |    2 +-
 libmissing/m4/gnulib-comp.m4          |   12 +-
 libmissing/m4/gnulib-tool.m4          |    2 +-
 libmissing/m4/include_next.m4         |    2 +-
 libmissing/m4/intmax_t.m4             |    2 +-
 libmissing/m4/inttypes-pri.m4         |    2 +-
 libmissing/m4/inttypes.m4             |    2 +-
 libmissing/m4/inttypes_h.m4           |    2 +-
 libmissing/m4/lib-ld.m4               |    2 +-
 libmissing/m4/lib-link.m4             |    2 +-
 libmissing/m4/lib-prefix.m4           |    2 +-
 libmissing/m4/limits-h.m4             |   31 +
 libmissing/m4/lock.m4                 |    2 +-
 libmissing/m4/longlong.m4             |    2 +-
 libmissing/m4/malloc.m4               |    2 +-
 libmissing/m4/math_h.m4               |   16 +-
 libmissing/m4/memchr.m4               |    2 +-
 libmissing/m4/memrchr.m4              |    2 +-
 libmissing/m4/mmap-anon.m4            |    2 +-
 libmissing/m4/msvc-inval.m4           |    2 +-
 libmissing/m4/multiarch.m4            |    2 +-
 libmissing/m4/off_t.m4                |    2 +-
 libmissing/m4/onceonly.m4             |    2 +-
 libmissing/m4/printf.m4               |    4 +-
 libmissing/m4/size_max.m4             |    2 +-
 libmissing/m4/snprintf.m4             |   12 +-
 libmissing/m4/ssize_t.m4              |    2 +-
 libmissing/m4/stdalign.m4             |    2 +-
 libmissing/m4/stdbool.m4              |   30 +-
 libmissing/m4/stddef_h.m4             |    2 +-
 libmissing/m4/stdint.m4               |   66 +-
 libmissing/m4/stdint_h.m4             |    2 +-
 libmissing/m4/stdio_h.m4              |   14 +-
 libmissing/m4/stdlib_h.m4             |    7 +-
 libmissing/m4/strdup.m4               |    2 +-
 libmissing/m4/string_h.m4             |    2 +-
 libmissing/m4/strndup.m4              |    2 +-
 libmissing/m4/strnlen.m4              |    2 +-
 libmissing/m4/sys_socket_h.m4         |    2 +-
 libmissing/m4/sys_time_h.m4           |    2 +-
 libmissing/m4/sys_types_h.m4          |   29 +-
 libmissing/m4/thread.m4               |    2 +-
 libmissing/m4/threadlib.m4            |    8 +-
 libmissing/m4/time_h.m4               |    2 +-
 libmissing/m4/time_r.m4               |    2 +-
 libmissing/m4/unistd_h.m4             |    5 +-
 libmissing/m4/vasnprintf.m4           |    2 +-
 libmissing/m4/vsnprintf.m4            |   12 +-
 libmissing/m4/warn-on-use.m4          |    2 +-
 libmissing/m4/wchar_h.m4              |   16 +-
 libmissing/m4/wchar_t.m4              |    2 +-
 libmissing/m4/wint_t.m4               |   36 +-
 libmissing/m4/xsize.m4                |    2 +-
 libmissing/m4/yield.m4                |    2 +-
 libmissing/malloc.c                   |    2 +-
 libmissing/memchr.c                   |    2 +-
 libmissing/memrchr.c                  |    2 +-
 libmissing/printf-args.c              |    2 +-
 libmissing/printf-args.h              |    2 +-
 libmissing/printf-parse.c             |    2 +-
 libmissing/printf-parse.h             |    2 +-
 libmissing/size_max.h                 |    2 +-
 libmissing/snprintf.c                 |    2 +-
 libmissing/stddef.in.h                |    2 +-
 libmissing/stdint.in.h                |  758 ++++++------
 libmissing/stdio.in.h                 |   22 +-
 libmissing/stdlib.in.h                |   17 +-
 libmissing/strdup.c                   |    2 +-
 libmissing/string.in.h                |   18 +-
 libmissing/strndup.c                  |    2 +-
 libmissing/strnlen.c                  |    2 +-
 libmissing/sys_time.in.h              |    9 +-
 libmissing/sys_types.in.h             |    2 +-
 libmissing/tests/Makefile.am          |   10 +-
 libmissing/tests/fdopen.c             |    2 +-
 libmissing/tests/fpucw.h              |    2 +-
 libmissing/tests/getpagesize.c        |    2 +-
 libmissing/tests/glthread/thread.c    |    4 +-
 libmissing/tests/glthread/thread.h    |   11 +-
 libmissing/tests/glthread/yield.h     |    2 +-
 libmissing/tests/init.sh              |   79 +-
 libmissing/tests/intprops.h           |  100 +-
 libmissing/tests/inttypes.in.h        |    2 +-
 libmissing/tests/macros.h             |    2 +-
 libmissing/tests/msvc-inval.c         |    2 +-
 libmissing/tests/msvc-inval.h         |    2 +-
 libmissing/tests/signature.h          |    2 +-
 libmissing/tests/stdalign.in.h        |    2 +-
 libmissing/tests/stdbool.in.h         |    2 +-
 libmissing/tests/test-alloca-opt.c    |    2 +-
 libmissing/tests/test-errno.c         |    2 +-
 libmissing/tests/test-fdopen.c        |    2 +-
 libmissing/tests/test-fgetc.c         |    2 +-
 libmissing/tests/test-float.c         |    2 +-
 libmissing/tests/test-fputc.c         |    2 +-
 libmissing/tests/test-fread.c         |    2 +-
 libmissing/tests/test-fwrite.c        |    2 +-
 libmissing/tests/test-gettimeofday.c  |    2 +-
 libmissing/tests/test-init.sh         |    5 +-
 libmissing/tests/test-intprops.c      |   11 +-
 libmissing/tests/test-inttypes.c      |    2 +-
 libmissing/tests/test-limits-h.c      |   50 +
 libmissing/tests/test-lock.c          |   81 +-
 libmissing/tests/test-memchr.c        |    2 +-
 libmissing/tests/test-memrchr.c       |    2 +-
 libmissing/tests/test-snprintf.c      |    2 +-
 libmissing/tests/test-stdalign.c      |    2 +-
 libmissing/tests/test-stdbool.c       |    2 +-
 libmissing/tests/test-stddef.c        |    2 +-
 libmissing/tests/test-stdint.c        |   69 +-
 libmissing/tests/test-stdio.c         |    2 +-
 libmissing/tests/test-stdlib.c        |    2 +-
 libmissing/tests/test-string.c        |    2 +-
 libmissing/tests/test-strnlen.c       |    2 +-
 libmissing/tests/test-sys_time.c      |    2 +-
 libmissing/tests/test-sys_types.c     |    2 +-
 libmissing/tests/test-sys_wait.h      |    2 +-
 libmissing/tests/test-thread_create.c |    2 +-
 libmissing/tests/test-thread_self.c   |    2 +-
 libmissing/tests/test-time.c          |    2 +-
 libmissing/tests/test-unistd.c        |    2 +-
 libmissing/tests/test-vasnprintf.c    |    2 +-
 libmissing/tests/test-verify.c        |    2 +-
 libmissing/tests/test-vsnprintf.c     |    2 +-
 libmissing/tests/test-wchar.c         |    2 +-
 libmissing/tests/zerosize-ptr.h       |    2 +-
 libmissing/time.in.h                  |    2 +-
 libmissing/time_r.c                   |    2 +-
 libmissing/unistd.in.h                |    8 +-
 libmissing/vasnprintf.c               |    4 +-
 libmissing/vasnprintf.h               |    2 +-
 libmissing/verify.h                   |    2 +-
 libmissing/vsnprintf.c                |    2 +-
 libmissing/wchar.in.h                 |    9 +-
 libmissing/xsize.h                    |    2 +-
 m4/gtk-doc.m4                         |   47 +-
 snippet/arg-nonnull.h                 |    2 +-
 snippet/c++defs.h                     |   89 +-
 snippet/warn-on-use.h                 |    2 +-
 170 files changed, 2601 insertions(+), 1664 deletions(-)

commit aba80d83135ba34623c9319d2c095b1c59fd3859
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Dec 23 11:03:53 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I36923854157363411a0fa6cebf5c655eb8a0decd

 NEWS         | 21 +++++++++++++++++++++
 configure.ac | 18 +++++++++---------
 2 files changed, 30 insertions(+), 9 deletions(-)

commit 3ae76aa00b6203409461a1ceb36900f9fda5d3b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Nov 7 18:25:58 2016 +0800

    [#2091] Implement preludedb_delete()
    
    Change-Id: Ife26f350c33756f131920a9becc62f37104ebfc2

 bindings/c++/include/preludedb.hxx        |  4 ++
 bindings/c++/preludedb.cxx                | 14 +++++++
 bindings/python/_preludedb.cxx            | 64 +++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-format-prv.h |  1 +
 src/include/preludedb-plugin-format.h     |  3 ++
 src/include/preludedb.h                   |  2 +
 src/preludedb-plugin-format.c             |  6 +++
 src/preludedb.c                           | 46 ++++++++++++++++++++++
 8 files changed, 140 insertions(+)

commit 908ba03be23693b00f47046f5804f8e3aa7855a3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Nov 21 22:40:42 2016 +0800

    [#rel2047] Implement preludedb.return_unicode(flags)
    
    When enabled, string returned from SWIG wrapped function will be
    converted to unicode.
    
    Change-Id: If640544b53f8e6fff76ef264066429777da14d8e

 bindings/python/_preludedb.cxx           | 213 +++++++++++++++++++++----------
 bindings/python/libpreludedbcpp-python.i |   8 +-
 bindings/python/pystrings.swg            | 146 +++++++++++++--------
 3 files changed, 247 insertions(+), 120 deletions(-)

commit c91e5fa3098156bc2060df694c2c5e6800f2a67d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Oct 11 14:03:57 2016 +0200

    [#rel1943] Add binding for preludedb_get_last_insert_ident()
    
    Change-Id: I45141861cca7cdd93595add7894756c2f8e255b5

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/c++/preludedb-sql.cxx         | 12 ++++++++++++
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

commit b4c725452d81ef585d0f4df2d9a4a12f21d3f46d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Sep 26 16:44:08 2016 +0200

    [#1925] Do not automatically regenerate SWIG bindings by default
    
    This is now consistent with the libprelude behavior.
    
    Change-Id: I628648edc4210af183e7bb468ae570fdfd9c5147

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 2cbc6441c6027802a1272c13974afbdc62b31787
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 14 19:29:15 2016 +0200

    [#rel1859] Add missing getServerVersion method to PreludeDB::SQL.
    
    This is needed for upsert() support in Prewikka.
    
    Change-Id: I6eee0c721e2118bf85b5184f7926afb11685424a

 bindings/c++/include/preludedb-sql.hxx |  2 ++
 bindings/c++/preludedb-sql.cxx         | 13 +++++++++++++
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

commit a5c754aa75f84478dc05d2074d8a0bc748879a1d
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Wed Sep 14 00:49:04 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Idc3ffa6f85baa7745f15e0eb7a61c4d6981a9ed0

 NEWS         | 9 +++++++++
 configure.ac | 6 +++---
 2 files changed, 12 insertions(+), 3 deletions(-)

commit 2fed3feeddff9b8127c584db144b5aec8d89c56d
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 13 11:36:28 2016 +0200

    [#1889] Support DISTINCT
    
    Change-Id: I6e3f9b27dbe0fe4edff87567c487ed02514e4477

 src/include/preludedb-path-selection.h    |   1 +
 src/preludedb-path-selection-parser.lex.c | 316 +++++++++++++++--------------
 src/preludedb-path-selection-parser.lex.h |   2 +-
 src/preludedb-path-selection-parser.lex.l |   1 +
 src/preludedb-path-selection-parser.yac.c | 324 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.yac.h |  64 +++---
 src/preludedb-path-selection-parser.yac.y |   3 +-
 src/preludedb-path-selection.c            |   1 +
 src/preludedb-sql-select.c                |   3 +
 9 files changed, 374 insertions(+), 341 deletions(-)

commit 9946ac80d217e371f33915d9dc09c0ec279d89b8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 30 15:17:05 2016 +0200

    [#1888] Prefix Flex/Yacc public symbol
    
    Prevent compilation error on FreeBSD due to conflicting symbols with libprelude.
    
    Change-Id: I748feb0ab46148305efbd0fcfa89daf18edddc3d

 src/Makefile.am                           |   4 +-
 src/preludedb-path-selection-parser.lex.c | 506 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.lex.h | 105 ++++---
 src/preludedb-path-selection-parser.lex.l |   4 +-
 src/preludedb-path-selection-parser.yac.c | 213 +++++++------
 src/preludedb-path-selection-parser.yac.h |  48 +--
 src/preludedb-path-selection-parser.yac.y |   9 +-
 7 files changed, 484 insertions(+), 405 deletions(-)

commit 2325b4633b937082e80b4eaec37ed94b2c8e1189
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 1 08:36:41 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I10edca00098fb3f4dbbf62368472a97dfaef6965

 NEWS         | 6 ++++++
 configure.ac | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit d596e4a23e362d7de29d92dfe6b8c40b18b50121
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 19 16:24:00 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Ib4c08a1948203e51c8a9dcbed1d9840206ccb4e3

 NEWS         | 1 +
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

commit 87f618a7811d68c4225ba83ee62611d52274a24e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Aug 5 16:23:54 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I81d464babf19d457caef888430901b598261efe5

 NEWS         | 25 +++++++++++++++++++++++++
 configure.ac |  8 ++++----
 2 files changed, 29 insertions(+), 4 deletions(-)

commit e288d3d55681314bca067eff50d69ae020e8ea44
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 22 11:29:50 2016 +0200

    Add --optimize delete operation parameter
    
    Change-Id: Ie09e8f4680f251567e98df4565a35ea8632e7087

 preludedb-admin.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

commit 691a2f68b4cc596de8af29cfc227b02765ff7d7d
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Mon Jul 25 00:27:30 2016 +0200

    [#1784] Rename configure.in to configure.ac
    
    Change-Id: I5ec97beeef45d248560493c35bb285437c50ff6a

 configure.ac | 389 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in | 389 -----------------------------------------------------------
 2 files changed, 389 insertions(+), 389 deletions(-)

commit 65f70ef99f1bf7a34b658c5aee77ef9ed2eae74e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 6 12:12:39 2016 +0200

    [rel#1758] Code cleanup, error handling improvement
    
    Change-Id: Ia898250956e5d65e86327a5cef2956fca56d98b2

 plugins/sql/pgsql/pgsql.c | 77 ++++++++++++++++++++++++++---------------------
 1 file changed, 43 insertions(+), 34 deletions(-)

commit 62949dc8f3b88a4ca2632cedf0ea87c602e64b40
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 6 10:30:54 2016 +0200

    [#1758,#ext781] check libpq / PostgreSQL server compatibility
    
    libpq < 9.0 is not capable of unescaping hexadecimal bytea output,
    which is the default in PostgreSQL server 9.0 and newer.
    
    Check whether the two systems are compatible, and if they are not
    return an error suggesting to upgrade libpq or to set bytea_output to
    'escape' on the PostgreSQL server side.
    
    Change-Id: I4c9dc58e6494cdac2d7a5ca4fe5b42f2a29f5d9c

 plugins/sql/pgsql/pgsql.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)

commit 3eef25fc63f5a4f34ae5dbd8a0ec7449a7aa92f9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 16 17:25:22 2016 +0800

    Update SWIG code
    
    Change-Id: Idd05872d7a803a11a7a9f0ff23c560b467164374

 bindings/python/_preludedb.cxx | 924 ++++++++++++++++++++++++++++++++---------
 bindings/python/preludedb.py   |  56 ++-
 2 files changed, 771 insertions(+), 209 deletions(-)

commit 1cfe24f2dc5417b5d61ef146140cfd80d1986210
Author: Sélim Menouar <selim.menouar@c-s.fr>
Date:   Mon May 2 10:57:50 2016 +0200

    [#1685] Add libpreludedb-config man page
    
    Change-Id: Ibb755411543508232fdfb2694f348a6def5e4c3d

 docs/manpages/Makefile.am           |  2 +-
 docs/manpages/libpreludedb-config.1 | 74 +++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+), 1 deletion(-)

commit f688d316edf96373ee42e2410b1a996cea015187
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jun 16 15:57:58 2016 +0800

    Update GnuLib code
    
    Change-Id: I2444697b8fe222ac1478c9e6c6039e76645be783

 config.rpath                          |   2 +-
 libmissing/Makefile.am                |  10 +-
 libmissing/alloca.in.h                |   2 +-
 libmissing/asnprintf.c                |   2 +-
 libmissing/errno.in.h                 |   2 +-
 libmissing/float+.h                   |   2 +-
 libmissing/float.c                    |   2 +-
 libmissing/float.in.h                 |   2 +-
 libmissing/gettimeofday.c             |   2 +-
 libmissing/glthread/lock.c            |   2 +-
 libmissing/glthread/lock.h            |   2 +-
 libmissing/glthread/threadlib.c       |   2 +-
 libmissing/itold.c                    |   2 +-
 libmissing/m4/00gnulib.m4             |   2 +-
 libmissing/m4/absolute-header.m4      |   2 +-
 libmissing/m4/alloca.m4               |   2 +-
 libmissing/m4/errno_h.m4              |   2 +-
 libmissing/m4/exponentd.m4            |   2 +-
 libmissing/m4/extensions.m4           |   7 +-
 libmissing/m4/extern-inline.m4        |  15 +-
 libmissing/m4/fdopen.m4               |   2 +-
 libmissing/m4/float_h.m4              |   2 +-
 libmissing/m4/fpieee.m4               |   4 +-
 libmissing/m4/getpagesize.m4          |   2 +-
 libmissing/m4/gettimeofday.m4         |   2 +-
 libmissing/m4/gnulib-cache.m4         |   4 +-
 libmissing/m4/gnulib-common.m4        |  45 ++--
 libmissing/m4/gnulib-comp.m4          |  15 +-
 libmissing/m4/gnulib-tool.m4          |   2 +-
 libmissing/m4/include_next.m4         |   2 +-
 libmissing/m4/intmax_t.m4             |   2 +-
 libmissing/m4/inttypes-pri.m4         |   2 +-
 libmissing/m4/inttypes.m4             |   2 +-
 libmissing/m4/inttypes_h.m4           |   2 +-
 libmissing/m4/lib-ld.m4               |   2 +-
 libmissing/m4/lib-link.m4             |   2 +-
 libmissing/m4/lib-prefix.m4           |   2 +-
 libmissing/m4/lock.m4                 |   2 +-
 libmissing/m4/longlong.m4             |   2 +-
 libmissing/m4/malloc.m4               |  13 +-
 libmissing/m4/math_h.m4               |   2 +-
 libmissing/m4/memchr.m4               |   2 +-
 libmissing/m4/memrchr.m4              |   2 +-
 libmissing/m4/mmap-anon.m4            |   2 +-
 libmissing/m4/msvc-inval.m4           |   2 +-
 libmissing/m4/multiarch.m4            |   2 +-
 libmissing/m4/off_t.m4                |   2 +-
 libmissing/m4/onceonly.m4             |   2 +-
 libmissing/m4/printf.m4               |  51 ++---
 libmissing/m4/size_max.m4             |   2 +-
 libmissing/m4/snprintf.m4             |   2 +-
 libmissing/m4/ssize_t.m4              |   2 +-
 libmissing/m4/stdalign.m4             |  57 +++++
 libmissing/m4/stdbool.m4              |  36 ++--
 libmissing/m4/stddef_h.m4             |  10 +-
 libmissing/m4/stdint.m4               |  31 ++-
 libmissing/m4/stdint_h.m4             |   2 +-
 libmissing/m4/stdio_h.m4              |  31 ++-
 libmissing/m4/stdlib_h.m4             |   2 +-
 libmissing/m4/strdup.m4               |   2 +-
 libmissing/m4/string_h.m4             |   2 +-
 libmissing/m4/strndup.m4              |   9 +-
 libmissing/m4/strnlen.m4              |   2 +-
 libmissing/m4/sys_socket_h.m4         |   2 +-
 libmissing/m4/sys_time_h.m4           |   3 +-
 libmissing/m4/sys_types_h.m4          |   2 +-
 libmissing/m4/thread.m4               |   2 +-
 libmissing/m4/threadlib.m4            |   2 +-
 libmissing/m4/time_h.m4               |  22 +-
 libmissing/m4/time_r.m4               |   2 +-
 libmissing/m4/unistd_h.m4             |   6 +-
 libmissing/m4/vasnprintf.m4           |   2 +-
 libmissing/m4/vsnprintf.m4            |   2 +-
 libmissing/m4/warn-on-use.m4          |   2 +-
 libmissing/m4/wchar_h.m4              |   2 +-
 libmissing/m4/wchar_t.m4              |   2 +-
 libmissing/m4/wint_t.m4               |   2 +-
 libmissing/m4/xsize.m4                |   2 +-
 libmissing/m4/yield.m4                |   2 +-
 libmissing/malloc.c                   |   2 +-
 libmissing/memchr.c                   |   2 +-
 libmissing/memrchr.c                  |   2 +-
 libmissing/printf-args.c              |   2 +-
 libmissing/printf-args.h              |   2 +-
 libmissing/printf-parse.c             |   2 +-
 libmissing/printf-parse.h             |   2 +-
 libmissing/size_max.h                 |   2 +-
 libmissing/snprintf.c                 |   2 +-
 libmissing/stddef.in.h                |  56 +++--
 libmissing/stdint.in.h                |  16 +-
 libmissing/stdio.in.h                 |  12 +-
 libmissing/stdlib.in.h                |   2 +-
 libmissing/strdup.c                   |   2 +-
 libmissing/string.in.h                |  23 +-
 libmissing/strndup.c                  |   2 +-
 libmissing/strnlen.c                  |   2 +-
 libmissing/sys_time.in.h              |   2 +-
 libmissing/sys_types.in.h             |   2 +-
 libmissing/tests/Makefile.am          |  38 +++-
 libmissing/tests/fdopen.c             |   2 +-
 libmissing/tests/fpucw.h              |   4 +-
 libmissing/tests/getpagesize.c        |   2 +-
 libmissing/tests/glthread/thread.c    |   2 +-
 libmissing/tests/glthread/thread.h    |   2 +-
 libmissing/tests/glthread/yield.h     |   2 +-
 libmissing/tests/init.sh              |  57 +++--
 libmissing/tests/intprops.h           | 196 +++++++++++++----
 libmissing/tests/inttypes.in.h        |   6 +-
 libmissing/tests/macros.h             |   2 +-
 libmissing/tests/msvc-inval.c         |   2 +-
 libmissing/tests/msvc-inval.h         |   2 +-
 libmissing/tests/signature.h          |   2 +-
 libmissing/tests/stdalign.in.h        | 121 +++++++++++
 libmissing/tests/stdbool.in.h         |   2 +-
 libmissing/tests/test-alloca-opt.c    |   2 +-
 libmissing/tests/test-errno.c         |   2 +-
 libmissing/tests/test-fdopen.c        |   2 +-
 libmissing/tests/test-fgetc.c         |   2 +-
 libmissing/tests/test-float.c         |   2 +-
 libmissing/tests/test-fputc.c         |   2 +-
 libmissing/tests/test-fread.c         |   2 +-
 libmissing/tests/test-fwrite.c        |   2 +-
 libmissing/tests/test-gettimeofday.c  |   2 +-
 libmissing/tests/test-init.sh         |   2 +-
 libmissing/tests/test-intprops.c      | 394 +++++++++++++++++++++-------------
 libmissing/tests/test-inttypes.c      |   2 +-
 libmissing/tests/test-lock.c          |   2 +-
 libmissing/tests/test-memchr.c        |   2 +-
 libmissing/tests/test-memrchr.c       |   2 +-
 libmissing/tests/test-snprintf.c      |   2 +-
 libmissing/tests/test-stdalign.c      | 116 ++++++++++
 libmissing/tests/test-stdbool.c       |   2 +-
 libmissing/tests/test-stddef.c        |  25 ++-
 libmissing/tests/test-stdint.c        |   2 +-
 libmissing/tests/test-stdio.c         |   2 +-
 libmissing/tests/test-stdlib.c        |   2 +-
 libmissing/tests/test-string.c        |   2 +-
 libmissing/tests/test-strnlen.c       |   2 +-
 libmissing/tests/test-sys_time.c      |   2 +-
 libmissing/tests/test-sys_types.c     |   2 +-
 libmissing/tests/test-sys_wait.h      |   2 +-
 libmissing/tests/test-thread_create.c |   2 +-
 libmissing/tests/test-thread_self.c   |   2 +-
 libmissing/tests/test-time.c          |   2 +-
 libmissing/tests/test-unistd.c        |   2 +-
 libmissing/tests/test-vasnprintf.c    |   2 +-
 libmissing/tests/test-verify.c        |   2 +-
 libmissing/tests/test-vsnprintf.c     |   2 +-
 libmissing/tests/test-wchar.c         |   2 +-
 libmissing/tests/zerosize-ptr.h       |   2 +-
 libmissing/time.in.h                  |  31 ++-
 libmissing/time_r.c                   |   2 +-
 libmissing/unistd.c                   |   1 +
 libmissing/unistd.in.h                |  39 +++-
 libmissing/vasnprintf.c               |  27 +--
 libmissing/vasnprintf.h               |   2 +-
 libmissing/verify.h                   |   4 +-
 libmissing/vsnprintf.c                |   2 +-
 libmissing/wchar.in.h                 |  16 +-
 libmissing/xsize.h                    |   2 +-
 snippet/arg-nonnull.h                 |   2 +-
 snippet/c++defs.h                     |   2 +-
 snippet/warn-on-use.h                 |   2 +-
 163 files changed, 1304 insertions(+), 499 deletions(-)

commit e23a1ffcfd30a6e7e4eefe045877436ded39b318
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Apr 21 18:04:30 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I7351e79f60f1f5fe12fa606e8408ad024e380b75

 NEWS         | 10 +++++++++-
 configure.in |  6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

commit dbc9b665811cbe3b268027d9faffae673af43fe2
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 15 17:26:50 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Ia7386db52297bf2138b16a229e855639ffb83543

 NEWS         | 8 +++++++-
 configure.in | 8 ++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

commit c2b176f92bdac1f08070c5ffc4e48d07d3eeb5b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sat Apr 16 01:23:56 2016 +0700

    Update SWIG bindings
    
    Change-Id: I6b460ed437d32a0548e4763e0f41704f2f9bdbcf

 bindings/python/_preludedb.cxx | 111 +++++++++++++++++++++++++++++++++--------
 bindings/python/preludedb.py   |   2 +-
 2 files changed, 91 insertions(+), 22 deletions(-)

commit e7e3d0a6ae62cf3387a4f188e4c85da8bad291c3
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 8 12:32:36 2016 +0200

    Update NEWS, bump version
    
    Change-Id: I31153b37b4c3d363d958b5410caa8ef19f78c176

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit e13059a4f9d0dd3e0b1c4123d6e86fddd5d48882
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 6 02:45:02 2016 +0700

    [#1557] Missing increment when adding static field
    
    Change-Id: Ibfd860ce7c494ea3e071063541e5165b585bc529

 src/preludedb-sql-select.c | 1 +
 1 file changed, 1 insertion(+)

commit 6939bc03243762703b0127b236d62054b303ee6e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Apr 1 17:49:03 2016 +0200

    Update NEWS, bump version
    
    Change-Id: Iae2c88838176e27b9a65acf53555e5b535abfcbd

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit e06d0e3c89a2376e4627e48d8de46db46b543128
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Mar 30 12:56:50 2016 +0200

    [#rel1242] Standardize day of week extraction (monday=0, sunday=6).
    
    Change-Id: If22ccc290b0cad68f27d2a4285b8aeead8e76768

 plugins/sql/mysql/mysql.c     | 2 +-
 plugins/sql/pgsql/pgsql.c     | 2 +-
 plugins/sql/sqlite3/sqlite3.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 95f02bdef0afcd6450c3bef455148d96ae4f9e54
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Mar 23 16:59:43 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I6d029999e1d9ae2ec1a2d27fe4180464347a4de3

 NEWS         | 6 ++++++
 configure.in | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit a65da0d1d6dc79aac78ed3a3dc3f4bff89116136
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Mar 17 15:55:08 2016 +0100

    Update NEWS, bump version
    
    Change-Id: Icc937f3dee6d5497e6ac323ec6d80a7971600f66

 NEWS         | 8 ++++++++
 configure.in | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

commit ed6498c276b6dd00b973a717be5724e7b3775198
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Mar 6 18:23:05 2016 +0100

    [#1242] Implement the SQL timezone() function
    
    Change-Id: Id38f4e059c9fe2f91de7611ae0364966bbd02873

 plugins/sql/mysql/mysql.c                 |   8 +
 plugins/sql/pgsql/pgsql.c                 |  10 +
 src/include/preludedb-path-selection.h    |   1 +
 src/include/preludedb-plugin-sql.h        |  10 +
 src/include/preludedb-sql.h               |   2 +
 src/preludedb-path-selection-parser.lex.c | 311 ++++++++++++++-------------
 src/preludedb-path-selection-parser.lex.h |   2 +-
 src/preludedb-path-selection-parser.lex.l |   1 +
 src/preludedb-path-selection-parser.yac.c | 344 ++++++++++++++++--------------
 src/preludedb-path-selection-parser.yac.h |  64 +++---
 src/preludedb-path-selection-parser.yac.y |  19 +-
 src/preludedb-path-selection.c            |  17 +-
 src/preludedb-plugin-sql.c                |  19 ++
 src/preludedb-sql-select.c                |  44 ++--
 src/preludedb-sql.c                       |   8 +
 15 files changed, 492 insertions(+), 368 deletions(-)

commit b32de92ce3c0e896999838272b16e543e9a06863
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Feb 26 10:52:35 2016 +0100

    Update NEWS, bump version
    
    Change-Id: If49d15cc794d42b9e495fe309df723b3046ca2c7

 NEWS         | 18 ++++++++++++++++++
 configure.in |  8 ++++----
 2 files changed, 22 insertions(+), 4 deletions(-)

commit a15040b185d86b77f50d0e2b7c30679ab6fb5654
Author: Louis-David GABET <louis-david.gabet@c-s.fr>
Date:   Tue Feb 23 15:17:20 2016 +0100

    [#1182] Document the "optimize" command
    
    Document the "optimize" command introduced in
    commit 8912325de6411afd8e7ab37aeb0a6557c5b0df08
    
    Change-Id: Ie1aaa133a38479db9c0c6233b051bce97e2f1fcf

 preludedb-admin.c | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

commit c313235e84395411bb8a0087b4d67a87ea04d449
Author: Abdel ELMILI <abdel.elmili@c-s.fr>
Date:   Fri Feb 5 18:42:26 2016 +0100

    [#1095] Fix URL and spelling mistakes
    
    Change-Id: Id1fdf92099d76735b663886864b6f731ea494cf6

 README | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit e36efb60e226635c19614d745f3ac15407581648
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jan 22 14:20:19 2016 +0100

    Missing config.h inclusion
    
    Change-Id: I1945b1dd1228120ede18f77cd71e5e31d79e6ef3

 src/preludedb-path-selection-parser.lex.c |  91 +++++++++---------
 src/preludedb-path-selection-parser.lex.h |   4 +-
 src/preludedb-path-selection-parser.lex.l |   2 +
 src/preludedb-path-selection-parser.yac.c | 147 +++++++++++++++---------------
 src/preludedb-path-selection-parser.yac.h |  12 ++-
 src/preludedb-path-selection-parser.yac.y |   1 +
 src/preludedb-plugin-format.c             |   2 +
 src/preludedb-plugin-sql.c                |   2 +
 8 files changed, 139 insertions(+), 122 deletions(-)

commit 1f3a617f758b2d64226d087ba4736a1192d09752
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jan 20 19:43:39 2016 +0100

    [#rel1035] preludedb_sql_field_t conversion performance improvement
    
    Use strto(u)(d|f|ll) in place of sscanf() for preludedb_sql_field_t type conversion.
    This provide massive performance improvement when batch converting a lot of field.
    
    Before the patch, retrieval of 544 correlation alert including a lot of sources
    took 12.30 seconds, after the patch : 5.10 seconds.
    
    Change-Id: I31d6138affaabfe89d564e6539c4e901d257e655

 src/preludedb-sql.c | 73 ++++++++++++++++++++++++++++++++---------------------
 1 file changed, 44 insertions(+), 29 deletions(-)

commit 690d8a598b2697640d6b05d0fae0e63426e094a8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jan 11 11:38:36 2016 +0100

    Update NEWS, bump version
    
    Change-Id: I55b0d3b2a49d08067d8949097beaeef1fd74a518

 NEWS         | 32 ++++++++++++++++++++++++++++++++
 configure.in | 16 ++++++++--------
 2 files changed, 40 insertions(+), 8 deletions(-)

commit 47dde469b3a5dcc7d7a399f54222b6cae0ed1f78
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jan 12 14:37:03 2016 +0100

    [#1007] Copyright year update
    
    Change-Id: I4fe75cfdbebbf7afe3e5b8d7fd12afc7960e99a9

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-select.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-select.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit 99cd43373b78fe444a7627f298d79d9743ba5182
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Dec 24 12:55:55 2015 +0100

    [#rel990] Implement preludedb_path_selection_set_column_count()
    
    Change to preludedb_path_selection_add_selected() so that the column count
    is retrieved only if it has not been manually set.
    
    Change-Id: I62ba9a4ab3995dfb64fe52e379beaee6da03a4ea

 src/include/preludedb-path-selection.h |  1 +
 src/preludedb-path-selection.c         | 20 +++++++++++++++++---
 2 files changed, 18 insertions(+), 3 deletions(-)

commit 8912325de6411afd8e7ab37aeb0a6557c5b0df08
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Dec 17 11:28:56 2015 +0100

    [#rel866] Support for format plugin initialization, optimize function
    
    Change-Id: Ia5c4c7fee81faba5a1308e7a6653e3cd25fb39ab

 bindings/c++/include/preludedb.hxx        |  2 +
 bindings/c++/preludedb.cxx                | 12 +++++
 preludedb-admin.c                         | 78 +++++++++++++++++++++++++++----
 src/include/preludedb-plugin-format-prv.h |  2 +
 src/include/preludedb-plugin-format.h     |  9 ++++
 src/include/preludedb.h                   |  2 +
 src/preludedb-plugin-format.c             | 27 +++++++++++
 src/preludedb.c                           | 24 ++++++++++
 8 files changed, 148 insertions(+), 8 deletions(-)

commit 376b3b49da6e3c76025fe4c88d33ea216e1dc55f
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Nov 13 20:08:40 2015 +0700

    [#rel866] MySQL support for multiple statement
    
    This allows multiple INSERT queries to be grouped in the same statement.
    Execution of multiple SELECT queries is also supported, but only the last
    result may be retrieved.
    
    Change-Id: I3405c2e75e4af53df205e6d278cee450e14bb7fd

 plugins/sql/mysql/mysql.c | 30 ++++++++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

commit d936839d2c450ad0b3ad219328f94f91361ddd4a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Dec 16 17:25:05 2015 +0100

    [#rel866]: implement preludedb_sql_get_settings()
    
    Implement missing preludedb_sql_get_settings() function, making it possible
    for the client to retrieve the settings used by the SQL object.
    
    Change-Id: If68c685ce5f19f4c009f054bfb247cbe14259811

 src/include/preludedb-sql.h |  2 ++
 src/preludedb-sql.c         | 14 ++++++++++++++
 2 files changed, 16 insertions(+)

commit 09ddd6d911ed9ed8115e6c1be1d219b7a91a1f67
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Nov 13 20:02:21 2015 +0700

    [rel#866]: Improved error reporting
    
    Change-Id: I738f88e120c821a6a3a58e9aec889c8fe4e37ea5

 plugins/sql/mysql/mysql.c     | 4 ++--
 plugins/sql/pgsql/pgsql.c     | 8 +++++++-
 plugins/sql/sqlite3/sqlite3.c | 2 +-
 3 files changed, 10 insertions(+), 4 deletions(-)

commit f97e9b75184fb925a90482a7e5e42c6b822de9c4
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 11 14:57:40 2015 +0200

    [#777]: getValues() improvement
    
    - Moved to a Flex/Bison parser
    - Allow support for more complex request, with different level of code :
      max(extract(alert.create_time, "hour"))
    
    New public preludedb_sql_select_t API, deprecating classic_sql_select_t.
    
    Change-Id: I36ad67a98ed4a2c62ccbe54074cdfa09fd19c785

 configure.in                                       |    3 +
 plugins/format/classic/Makefile.am                 |    2 +-
 plugins/format/classic/classic-delete.c            |   24 +-
 plugins/format/classic/classic-get.c               |   11 +-
 plugins/format/classic/classic-insert.c            |    6 +-
 plugins/format/classic/classic-path-resolve.c      |   97 +-
 plugins/format/classic/classic-sql-select.c        |  190 --
 plugins/format/classic/classic.c                   |  114 +-
 plugins/format/classic/include/Makefile.am         |    2 +-
 plugins/format/classic/include/classic-delete.h    |   12 +-
 plugins/format/classic/include/classic-get.h       |    4 +-
 plugins/format/classic/include/classic-insert.h    |    2 +-
 .../format/classic/include/classic-path-resolve.h  |    8 +-
 .../format/classic/include/classic-sql-select.h    |   39 -
 plugins/sql/mysql/mysql.c                          |   52 +-
 plugins/sql/pgsql/pgsql.c                          |   55 +-
 plugins/sql/sqlite3/sqlite3.c                      |   48 +-
 src/Makefile.am                                    |    9 +
 src/include/Makefile.am                            |    1 +
 src/include/preludedb-path-selection.h             |   50 +-
 src/include/preludedb-plugin-format-prv.h          |    1 +
 src/include/preludedb-plugin-format.h              |   43 +-
 src/include/preludedb-plugin-sql.h                 |    7 +-
 src/include/preludedb-sql-select.h                 |   53 +
 src/include/preludedb-sql.h                        |   19 +-
 src/include/preludedb.h                            |    1 +
 src/preludedb-path-selection-parser.lex.c          | 2209 ++++++++++++++++++++
 src/preludedb-path-selection-parser.lex.h          |  344 +++
 src/preludedb-path-selection-parser.lex.l          |  101 +
 src/preludedb-path-selection-parser.yac.c          | 1885 +++++++++++++++++
 src/preludedb-path-selection-parser.yac.h          |  148 ++
 src/preludedb-path-selection-parser.yac.y          |  263 +++
 src/preludedb-path-selection.c                     |  445 ++--
 src/preludedb-plugin-format.c                      |   39 +-
 src/preludedb-plugin-sql.c                         |    5 +-
 src/preludedb-sql-select.c                         |  394 ++++
 src/preludedb-sql.c                                |    9 +
 src/preludedb.c                                    |   32 +-
 38 files changed, 6077 insertions(+), 650 deletions(-)

commit 18c502c3a168290e944619f9311ec83fe10bc24c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 4 17:50:03 2015 +0200

    [#866] Use UNIX database connection by default
    
    Change-Id: Iaccbd4d2efd8468d83d3fafd04477d7727aefadd

 src/preludedb-sql-settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4556da4fe4e9d99fe55f983422cfebfe73e4c130
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Aug 4 15:30:18 2015 +0200

    [#866] New get_last_insert_ident() API
    
    Improve auto-incremented field retrieval performance for format plugin
    supporting this API.
    
    Change-Id: I1ae270f5b7e0958a59de3b0363d4005ef76daaf1

 plugins/sql/mysql/mysql.c          | 11 +++++++++++
 plugins/sql/pgsql/pgsql.c          | 30 ++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-sql.h |  6 +++++-
 src/include/preludedb-sql.h        |  2 ++
 src/preludedb-plugin-sql.c         | 13 +++++++++++++
 src/preludedb-sql.c                | 20 ++++++++++++++++++++
 6 files changed, 81 insertions(+), 1 deletion(-)

commit 10d15a3d6903c5add7001f60a10f28e80d88ca19
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jul 31 09:43:55 2015 +0200

    Update NEWS, bump version
    
    Change-Id: I3e8f6265753a41bafc1bccb75577c4c8b2a1fe91

 NEWS         | 6 ++++++
 configure.in | 6 +++---
 2 files changed, 9 insertions(+), 3 deletions(-)

commit 3f19ab8cb1df55f61a602385a6f2473b58b0246b
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jul 27 10:07:38 2015 +0200

    Update NEWS, bump version
    
    Change-Id: Ife0f61bf751046b1d4e8d65f7990c779bfc8a3d1

 NEWS         | 44 ++++++++++++++++++++++++++++++++++++++++++++
 configure.in | 12 ++++++------
 2 files changed, 50 insertions(+), 6 deletions(-)

commit 3ac9b75b9f3210b890995748df58a9bfab2c8880
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Jul 29 15:21:13 2015 +0200

    [#720] Update from prelude-ids.org to prelude-siem.org
    
    Change mailing lists to forums.
    
    Change-Id: I222e5bb52eb7e28728aa93f9e14dbefbf0368133

 LICENSE.README                  |  2 +-
 README                          | 22 +++++++++-------------
 bindings/python/setup.py.in     |  2 +-
 docs/manpages/preludedb-admin.1 | 10 +++++-----
 m4/libprelude.m4                |  2 +-
 m4/libpreludedb.m4              |  2 +-
 6 files changed, 18 insertions(+), 22 deletions(-)

commit a808174302f24b1b263f0edf4b13f269fde07720
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 24 09:21:28 2015 +0200

    [#723]: fix version checking on 32 bits system
    
    prelude_simple_strtod() seems to trigger kind of a gcc problem.
    Additionally, we cannot really expect a version number to only have
    2 version level.
    
    Change-Id: Ie1c7e7dedbd554fabf66a494538ca2ae3bdd2876

 plugins/format/classic/classic.c | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

commit 9f3f88e5b3593e79af2f23a66d3f086e3228c059
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 17 10:15:09 2015 +0200

    [#rel:628] Handle type 'data' in value convertion
    
    Change-Id: I3a7efbc69d3871b989cbd406f6b157d234b396af

 bindings/python/_preludedb.cxx           | 1 +
 bindings/python/libpreludedbcpp-python.i | 1 +
 2 files changed, 2 insertions(+)

commit 864829142741f0ee6682cfc1aab892b96dbdcec6
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 9 07:17:28 2015 +0200

    [#650, #ext608] Fix warnings with PostgreSQL string insertion
    
    Never use the E'' syntax anymore : use standard escaping function and
    force standard_conforming_strings to on to avoid the double backslash
    warning on PostgreSQL < 9.1.
    
    - Turn standard_conforming_strings to ON for the connection.
    - Revert "Fix warnings and error on ByteA insertion", id d62e99d8c00480ed7529ac8a089352cb8f30a1b9.
    
    Change-Id: I9411d55642efea76fc668f5d6e9b6666ca9a162f

 configure.in              |  1 +
 plugins/sql/pgsql/pgsql.c | 66 +++++++++++++++++++----------------------------
 2 files changed, 27 insertions(+), 40 deletions(-)

commit 25d0db4a280e26ff32b27f3bfb37f1efc911a30e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 8 11:09:00 2015 +0800

    [#628] Fix AdditionalData retrieval failure
    
    - When SQL function are used, the number of retrieved field is always 1.
    - Properly return untyped AdditionalData in situation where the type field is not available.
    
    Change-Id: Ibc3e16fbbf6b8a89d2160dcbde1e067b64d97086

 plugins/format/classic/classic.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit b9c3f5e3bea0291cfb08600d18577332e4ced32e
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 6 07:35:12 2015 +0800

    Add getType() wrapper for preludedb_sql_get_type() function
    
    Change-Id: I3773bb43a3400510f6ca5fd9140e22112c42b1b5

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/python/_preludedb.cxx         | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

commit 404ffd83a6a623646fb523c9d29a08d022a7f30c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 8 11:13:46 2015 +0800

    Update SWIG generated code
    
    Use SWIG 3.0.6 to generate the bindings code
    
    Change-Id: I714cc50affe633d7ae021957737330e77425e2bf

 bindings/python/_preludedb.cxx | 120 +++++++++++++++++++++++++++++++++++------
 bindings/python/preludedb.py   |  64 ++++++++++++++--------
 2 files changed, 146 insertions(+), 38 deletions(-)

commit 305395f0544f9d17d0f69f28c4bd75f1c7762782
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 6 07:30:32 2015 +0800

    [#593] Year extraction was not working
    
    PRELUDEDB_SQL_TIME_CONSTRAINT_YEAR was defined as 0, which made it impossible to know
    when the flags was set. Set it to a new custom value, and preserve other flags values
    for backward compatibility.
    
    Change-Id: I77e992d1b055d6b447ff9939fb0c6f3b1c77a0f4

 src/include/preludedb-sql.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 83c21c9371786d1abfa9a21b6d9e3e70e8eabfc4
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jun 29 17:24:54 2015 +0200

    [#516] Copyright year update
    
    Change-Id: Iffacde1c2dd9242140d18b4fd19c4e0f15e4116a

 LICENSE.README                                        | 2 +-
 bindings/c++/include/preludedb-error.hxx              | 2 +-
 bindings/c++/preludedb-error.cxx                      | 2 +-
 bindings/libpreludedbcpp.i                            | 2 +-
 bindings/python/setup.py.in                           | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/classic-delete.c               | 2 +-
 plugins/format/classic/classic-get.c                  | 2 +-
 plugins/format/classic/classic-insert.c               | 2 +-
 plugins/format/classic/classic-path-resolve.c         | 2 +-
 plugins/format/classic/classic-sql-join.c             | 2 +-
 plugins/format/classic/classic-sql-select.c           | 2 +-
 plugins/format/classic/classic.c                      | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/format/classic/include/classic-sql-select.h   | 2 +-
 plugins/sql/mysql/mysql.c                             | 2 +-
 plugins/sql/pgsql/pgsql.c                             | 2 +-
 plugins/sql/sqlite3/sqlite3.c                         | 2 +-
 preludedb-admin.c                                     | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 src/preludedb-error.c                                 | 2 +-
 src/preludedb-path-selection.c                        | 2 +-
 src/preludedb-plugin-format.c                         | 2 +-
 src/preludedb-plugin-sql.c                            | 2 +-
 src/preludedb-sql-settings.c                          | 2 +-
 src/preludedb-sql.c                                   | 2 +-
 src/preludedb-version.c                               | 2 +-
 src/preludedb.c                                       | 2 +-
 39 files changed, 39 insertions(+), 39 deletions(-)

commit 5c08cdcc3d6109087bf21dede055279e86c1511a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Nov 5 16:50:22 2014 +0100

    SWIG Python now use builtin mode (massive performance improvements)
    
    Change-Id: Ic7522b53419007da101a34697eac125163b343f2

 bindings/c++/include/preludedb-sql.hxx   |     9 +-
 bindings/c++/include/preludedb.hxx       |    12 +-
 bindings/c++/preludedb-sql.cxx           |    58 +-
 bindings/c++/preludedb.cxx               |   102 +-
 bindings/libpreludedbcpp.i               |    34 +-
 bindings/python/Makefile.am              |     2 +-
 bindings/python/_preludedb.cxx           | 12225 +++++++++++++++++++++--------
 bindings/python/libpreludedbcpp-python.i |   401 +-
 bindings/python/preludedb.py             |   275 +-
 9 files changed, 9247 insertions(+), 3871 deletions(-)

commit b9c6bdf9e7e146cc89c57563ddc55b976b32c827
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 27 13:51:38 2014 +0100

    Optimisation work : reduce the number of allocation
    
    When fetching a high number of rows/fields, it is sub-optimal to
    allocate a new field structure for each field.
    
    Make fields a flexible array member within the row structure, and
    allocate it dynamically.
    
    This also substentially reduce the preludedb_sql_field_t structure
    size.
    
    Change-Id: I52e3e1268e4f0f4807e176d6df927d968ae913d4

 src/preludedb-sql.c | 99 ++++++++++++++++++++++++-----------------------------
 1 file changed, 45 insertions(+), 54 deletions(-)

commit eeefab035bf0ce9cfc418cd80b7bf990788c8f7b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 27 13:34:46 2014 +0100

    Cache preludedb_sql_table_get_(row|column)_count()
    
    Depending on the backend, theses function might be slow : cache
    the return value.
    
    Change-Id: I11ba506cc9c051ba687ca1e807c9552bfa77b5a1

 src/preludedb-sql.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

commit b267fd6a1b85c16e078b5948207fdfbc877e7cb7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 31 09:02:19 2014 +0100

    Add missing C++ operator
    
    Change-Id: I43a9d59c925585ed24ac6d2c2be30ec05133f792

 bindings/c++/include/preludedb-sql.hxx |  1 +
 bindings/c++/include/preludedb.hxx     |  2 +-
 bindings/c++/preludedb-sql.cxx         | 12 ++++++++++++
 bindings/c++/preludedb.cxx             | 14 +++++++++++++-
 4 files changed, 27 insertions(+), 2 deletions(-)

commit a3ef2feca08fe0ddfbe12ee64e2d6563222ca803
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 30 12:30:41 2014 +0100

    Fix memory leak on AdditionalData retrieval
    
    Change-Id: I22e4553e34c888100b75edff047cf27a8d9911d2

 plugins/format/classic/classic-get.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 6f7c57c7cf8afb9d26809176a448cb572b7339bb
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 30 07:15:02 2014 +0100

    Fix getValues() AdditionalData handling
    
    AdditionalData returned through getValues() weren't unescaped, and were
    always of type string. We now automatically unescape the data, and
    retrieve the AdditionalData type from the database to return the
    correct value type.
    
    PreludeDB internal_value_cb is also modified in order to best handle byte
    string (use a prelude_string container, which is able to carry any string
    independantly from their content).
    
    Change-Id: Ic71aa54966cd93bd36b6a04364096fd9461a7b65

 plugins/format/classic/classic-get.c          |  64 ++++---------
 plugins/format/classic/classic-path-resolve.c |  17 +++-
 plugins/format/classic/classic.c              | 128 ++++++++++++++++++++++++--
 src/preludedb.c                               |  11 +++
 4 files changed, 165 insertions(+), 55 deletions(-)

commit 23104e0f396b8e6a19febb933406b46670c74cd7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 17:00:02 2014 +0100

    Fix deprecation warnings
    
    Change-Id: Ia4ca53a1756d18628fb75dbe920f24e62677a008

 plugins/format/classic/classic-get.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit dae1623639ae086e45530fda7559d55c028e4eb3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 12:53:44 2014 +0100

    preludedb-admin fixes
    
    preludedb-admin needed a few update to be on par with latest changes.
    
    Change-Id: Id7111e9d748793cd81b3f9533997fa274f1ee069

 preludedb-admin.c | 17 ++++++++++++-----
 src/preludedb.c   |  3 ++-
 2 files changed, 14 insertions(+), 6 deletions(-)

commit a2df5e85e60ce4d434b28142c07502586c84d9cd
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 29 11:06:24 2014 +0100

    New value fetch mode, remove deprecated API
    
    Introduce preludedb_result_values_get_field_direct() function, that can
    be used by libpreludedb bindings in order to optimize translation from
    C to target language value.
    
    Implement missing preludedb_result_values_get_db() function.
    
    Remove deprecated old *_get_next_* functions.
    Remove deprecated low-level bindings.
    
    Change-Id: Ia31938f1cf197e91c790cf179d42e795c0d443dd

 bindings/Makefile.am                            |     2 +-
 bindings/low-level/Makefile.am                  |    16 -
 bindings/low-level/libpreludedb.i               |   111 -
 bindings/low-level/python/Makefile.am           |    27 -
 bindings/low-level/python/_preludedbold.c       | 11352 ----------------------
 bindings/low-level/python/libpreludedb-python.i |   410 -
 bindings/low-level/python/preludedbold.py       |     9 -
 bindings/low-level/python/setup.py.in           |    90 -
 bindings/python/_preludedb.cxx                  |     8 +-
 configure.in                                    |     4 -
 plugins/format/classic/classic-delete.c         |     4 +-
 plugins/format/classic/classic.c                |   197 +-
 preludedb-admin.c                               |    22 +-
 src/include/preludedb-plugin-format-prv.h       |     2 -
 src/include/preludedb-plugin-format.h           |    12 +-
 src/include/preludedb.h                         |     9 +-
 src/preludedb-plugin-format.c                   |    22 +-
 src/preludedb.c                                 |    70 +-
 18 files changed, 132 insertions(+), 12235 deletions(-)

commit 86a3f8c0096559d9911658d1dc6c725fa66bf570
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Oct 27 10:42:03 2014 +0100

    Update NEWS, bump version
    
    Change-Id: I6a9e9c1979e7345657d3e56fbaba7b083d968490

 NEWS                                      | 44 +++++++++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  6 ++---
 configure.in                              |  8 +++---
 3 files changed, 51 insertions(+), 7 deletions(-)

commit c7c477655968d64c87359e3a71b40b3612d4d730
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Oct 26 10:57:47 2014 +0100

    MySQL: fix invalid field length
    
    mysql_fetch_lengths() is only valid for the current row of the result set.
    As a result, the lengths pointer we used to hold in preludedb_sql_row_t
    wasn't reflecting the given preludedb_sql_row_t fields lengths, but the
    current fields lengths.
    
    To fix this problem, we copy the MySQL lengths at preludedb_sql_row_t
    creation time. A flexible array member is used to avoid repeated call
    to malloc.
    
    Change-Id: Ia06302f5c23e4c99562aa810baab74067d7553ab

 plugins/sql/mysql/mysql.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 7e9ff40e6e6116b7e706137a1bbb129566cde18a
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 24 17:37:08 2014 +0200

    Force default include path for high-level Python binding
    
    Change-Id: I8b28fb49c819f858bb5247aa3e085cbd4695194b

 bindings/python/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit cefb5fa88e8b001add35cb882039f4d53caa7749
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Oct 24 10:35:48 2014 +0200

    Fix #436: allow serial_version to be 0 when level_version is final
    
    Change-Id: Ic071f781741f363379bfb905f19d40281d8c557e

 configure.in | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 9537609c012fa4f74eaedb428f0daffc40dc8cd7
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 24 14:07:10 2014 +0200

    Fix possible NULL pointer dereference
    
    In case we try to access a specific row, and that some preceding rows
    have not been fetched previously, they might be NULL.
    
    Change-Id: Ia01737d20f3efd868bb33866afc810ac6479acef

 src/preludedb-sql.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 037f81142367c7039854f3b1ddea4e008a2e7ef5
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 23 21:16:44 2014 +0200

    Fix memory leak
    
    Change-Id: I398b27126fd82a856acd672764f9acc1992a02e9

 bindings/c++/preludedb.cxx | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

commit daba44a4f0edfc9b3c7efeaf5d6006b4a15f1c96
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Oct 22 16:59:46 2014 +0200

    Fix memory (over) allocation for SQL fields
    
    We were allocating too much memory for the fields table, which could
    lead to very big memory usage in case of high number of rows / fields.
    
    Change-Id: Ia9838746c4d2c7226c83f236c0860e54a10d00c1

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c380c2aeb0b723503b8bf41ca8585fbb150861c1
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 18:20:20 2014 +0200

    Support self argument to IDMEFValue_to_SWIG for future builtin compatibility
    
    Change-Id: I251248a340fbf04863ec877150d24edd29071fa0

 bindings/python/_preludedb.cxx           | 14 ++++++++------
 bindings/python/libpreludedbcpp-python.i |  1 +
 2 files changed, 9 insertions(+), 6 deletions(-)

commit a68419e36f55177344ab8590852a7b1546ae7a27
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 10:55:39 2014 +0200

    Add API safety checks
    
    Change-Id: I84224a92ed74e5c3a7c751677ca7b4ea7a9dc61e

 src/preludedb.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 58 insertions(+), 1 deletion(-)

commit 55301b87e467c519bcdc316658672e4897b3662c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 21 10:54:38 2014 +0200

    Make sure the results are not empty when calling db backend function
    
    Change-Id: I9a6f3336e4501d4d761cbaf93966b14ce9ea41b6

 bindings/c++/preludedb.cxx | 9 +++++++++
 1 file changed, 9 insertions(+)

commit c9758d143de930a5baf449ea9077b651c8d2e851
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 18:40:38 2014 +0200

    Update low-level bindings
    
    Change-Id: I1881d820177df34593524b1e755738cb4a268dff

 bindings/low-level/python/_preludedbold.c | 452 +++++++++++++++---------------
 1 file changed, 228 insertions(+), 224 deletions(-)

commit 26cc7a2537c816465894734b72579ee141a0870b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 18:43:54 2014 +0200

    Update GnuLib code to include memrchr
    
    Change-Id: Ia145b71b5bc0d4f6c108b9b05a71ff7eec1ca4f0

 libmissing/Makefile.am          |  11 ++-
 libmissing/alloca.in.h          |   2 +-
 libmissing/asnprintf.c          |   2 +-
 libmissing/errno.in.h           |   2 +-
 libmissing/float+.h             |   2 +-
 libmissing/float.c              |   2 +-
 libmissing/float.in.h           |   2 +-
 libmissing/gettimeofday.c       |   2 +-
 libmissing/glthread/lock.c      |   2 +-
 libmissing/glthread/lock.h      |   2 +-
 libmissing/glthread/threadlib.c |   2 +-
 libmissing/itold.c              |   2 +-
 libmissing/m4/gnulib-cache.m4   |   5 +-
 libmissing/m4/gnulib-comp.m4    |  14 ++++
 libmissing/m4/memrchr.m4        |  23 ++++++
 libmissing/malloc.c             |   2 +-
 libmissing/memchr.c             |   2 +-
 libmissing/memrchr.c            | 161 ++++++++++++++++++++++++++++++++++++++++
 libmissing/printf-args.c        |   2 +-
 libmissing/printf-args.h        |   2 +-
 libmissing/printf-parse.c       |   2 +-
 libmissing/printf-parse.h       |   2 +-
 libmissing/size_max.h           |   2 +-
 libmissing/snprintf.c           |   2 +-
 libmissing/stddef.in.h          |   2 +-
 libmissing/stdint.in.h          |   2 +-
 libmissing/stdio.in.h           |   2 +-
 libmissing/stdlib.in.h          |   2 +-
 libmissing/strdup.c             |   2 +-
 libmissing/string.in.h          |   2 +-
 libmissing/strndup.c            |   2 +-
 libmissing/strnlen.c            |   2 +-
 libmissing/sys_time.in.h        |   2 +-
 libmissing/sys_types.in.h       |   2 +-
 libmissing/tests/Makefile.am    |   8 ++
 libmissing/tests/test-memrchr.c |  91 +++++++++++++++++++++++
 libmissing/time.in.h            |   2 +-
 libmissing/time_r.c             |   2 +-
 libmissing/unistd.in.h          |   2 +-
 libmissing/vasnprintf.c         |   2 +-
 libmissing/vasnprintf.h         |   2 +-
 libmissing/verify.h             |   2 +-
 libmissing/vsnprintf.c          |   2 +-
 libmissing/wchar.in.h           |   2 +-
 libmissing/xsize.h              |   2 +-
 45 files changed, 348 insertions(+), 41 deletions(-)

commit 1625e3cd30e8c6e51a08d51c665cffafd51ee432
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Oct 20 09:17:15 2014 +0200

    Support time extraction on selected fields
    
    Change-Id: Ib7379170dc09ac4fcadc8f3875bfb4f4b056aba4

 plugins/format/classic/classic-path-resolve.c | 23 +++++++--
 plugins/format/classic/classic.c              |  4 +-
 plugins/sql/mysql/mysql.c                     | 67 +++++++++++++++------------
 plugins/sql/pgsql/pgsql.c                     | 63 ++++++++++++++-----------
 plugins/sql/sqlite3/sqlite3.c                 | 62 +++++++++++++++----------
 src/include/preludedb-plugin-sql.h            | 11 +++++
 src/include/preludedb-sql.h                   |  3 ++
 src/preludedb-path-selection.c                | 67 ++++++++++++++++++++++++---
 src/preludedb-plugin-sql.c                    | 22 +++++++++
 src/preludedb-sql.c                           |  7 +++
 10 files changed, 238 insertions(+), 91 deletions(-)

commit b396a70ae11f3da2434e2c9cc9963993236e18dd
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 18:47:02 2014 +0200

    When there are multiple field, apply order/group_by to each field
    
    Additionally, when a GROUP BY occur on create_time, ignore
    gmtoff and usec fields, since the result wouldn't be reliable.
    
    Also, since we now know the number of column used for each path,
    we don't need to insert dummy "O" field.
    
    Change-Id: Ie22c30edc00e4e2a299d5763af6fe4db47f5583f

 plugins/format/classic/classic-path-resolve.c      |  9 ++--
 plugins/format/classic/classic-sql-select.c        | 50 ++++++++++------------
 plugins/format/classic/classic.c                   |  3 +-
 .../format/classic/include/classic-sql-select.h    |  2 +-
 4 files changed, 32 insertions(+), 32 deletions(-)

commit 87221d71bc427c6f0406b5139b99f9b4292243e3
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 18:50:18 2014 +0200

    Fix issues with fields internally expanded to multiples fields
    
    Format plugins now have to register a "get_path_column_count"
    callback, that will return the number of field used for a given
    path.
    
    Fix a problem with invalid fields returned, in query on specific
    fields that were expanded to multiple fields.
    
    Change-Id: Ic210c0e270ea2344bc60c433af10fd23e3da71f6

 bindings/c++/Makefile.am                          |    2 +-
 bindings/c++/include/Makefile.am                  |    2 +-
 bindings/c++/include/preludedb-path-selection.hxx |   22 -
 bindings/c++/include/preludedb.hxx                |    5 +-
 bindings/c++/preludedb-path-selection.cxx         |   69 -
 bindings/c++/preludedb.cxx                        |   56 +-
 bindings/libpreludedbcpp.i                        |   32 -
 bindings/python/_preludedb.cxx                    |  655 +++------
 bindings/python/libpreludedbcpp-python.i          |    3 +-
 bindings/python/preludedb.py                      |   17 +-
 docs/api/libpreludedb-decl.txt                    | 1613 +++++++++++++--------
 docs/api/tmpl/libpreludedb-unused.sgml            |   16 +
 docs/api/tmpl/preludedb-error.sgml                |    1 +
 docs/api/tmpl/preludedb-path-selection.sgml       |    2 +
 docs/api/tmpl/preludedb-plugin-sql.sgml           |   30 +-
 docs/api/tmpl/preludedb.sgml                      |    4 +-
 plugins/format/classic/classic-path-resolve.c     |    2 +-
 plugins/format/classic/classic.c                  |   45 +-
 preludedb-admin.c                                 |   51 +-
 src/include/preludedb-path-selection.h            |   18 +-
 src/include/preludedb-plugin-format-prv.h         |    1 +
 src/include/preludedb-plugin-format.h             |    5 +
 src/include/preludedb.h                           |    3 +-
 src/preludedb-path-selection.c                    |   39 +-
 src/preludedb-plugin-format.c                     |    8 +
 src/preludedb.c                                   |    8 +-
 26 files changed, 1384 insertions(+), 1325 deletions(-)

commit 3b8e2f2d83ef2cf4c07f8225e27fbe0e617f83ff
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 15:06:33 2014 +0200

    Correctly throw PreludeDB exception in Python
    
    Throw PreludeDBError exception object rather than generic
    Python exception. Additionally, modify libpreludedbcpp.i
    so that PreludeDBError is derived from PreludeError.
    
    Change-Id: Id0aaeb94ee8dc7964082d1d7c2d398f384e89917

 bindings/libpreludedbcpp.i               |    2 +
 bindings/python/_preludedb.cxx           | 2454 ++++++++++++++++--------------
 bindings/python/libpreludedbcpp-python.i |   15 +
 bindings/python/preludedb.py             |    4 +-
 4 files changed, 1372 insertions(+), 1103 deletions(-)

commit 61ffa3a1ab0ad25ef82ad472f2a1048c6c6d9ca8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 14:42:49 2014 +0200

    Fix memory leak on error
    
    Change-Id: Ib8f38ec29a27ab2467e7e938660a1a1c663b993a

 src/preludedb-sql.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit b4654fc99f1a9fe974af56ba5021fee8fa0ae878
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 17 12:06:23 2014 +0200

    Error checking fixes, use ENOSYS in place of ENOTSUP
    
    Check _preludedb_plugin_sql_get_row_count() return value with
    the prelude_error defined code so that we can workaround the
    case where the backend doesn't implement the function.
    
    Additionally, replace any instance of ENOTSUP with ENOSYS. ENOTSUP
    is not available everywhere (OpenBSD), so we used to define it to
    ENOTSUPP in case it wasn't. This made it harder to check for the
    libprelude mapped error code (which could be PRELUDE_ERROR_ENOTSUP
    or PRELUDE_ERROR_ENOTSUPP). Using ENOSYS, which seems portable,
    make it possible to avoid the problem.
    
    Change-Id: I1e261f2cb2414cf5a2424acf0ac8a731e0c45623

 src/preludedb-plugin-sql.c | 6 +-----
 src/preludedb-sql.c        | 2 +-
 src/preludedb.c            | 7 ++++---
 3 files changed, 6 insertions(+), 9 deletions(-)

commit 6bfb5c0ea567566abfdb80a5d27797192cc5a90d
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Oct 15 18:03:28 2014 +0200

    Update NEWS, bump version
    
    Change-Id: I861d70e0cf13fa86e6806749b2873e68dd93b962

 NEWS                                      | 24 ++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  2 +-
 configure.in                              |  6 +++---
 3 files changed, 28 insertions(+), 4 deletions(-)

commit 0f7bc30a8ff296c2cd04a0148bc133a0658ba355
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Oct 14 16:32:13 2014 +0200

    Fix possible group_by/order_by index problem
    
    This can happen in case the previously selected field is an aggregate
    of multiple fields (like create_time).
    
    Change-Id: I01e01c9ab7e61fea7d6f78677bcff5c6b965b1d1

 plugins/format/classic/classic-sql-select.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit a396369dcf503ab4ac996011d7ebab87a501c137
Author: Camille GARDET <camille.gardet@c-s.fr>
Date:   Wed Oct 15 09:38:10 2014 +0200

    Fix #412 - Move dependencies in README file
    
    Change-Id: Ia415187a3c94eb1f204050cf1c64a6be5816a633

 INSTALL | 15 ---------------
 README  | 27 ++++++++++++++++++++++-----
 2 files changed, 22 insertions(+), 20 deletions(-)

commit bd3859afe35196757b0f7e6bcdefc661df964bd4
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 9 02:06:25 2014 +0200

    Unlock Python GIL before calling libpreludedb function
    
    Some libpreludeDB function are blocking, so we don't want long
    request to completly lock the interpreter.
    
    Change-Id: I45dec7ea6441f137b0090fe6caaaf0dbee743375

 bindings/libpreludedbcpp.i     |   2 +
 bindings/python/_preludedb.cxx | 486 ++++++++++++++++++++++++++++++++++-------
 2 files changed, 407 insertions(+), 81 deletions(-)

commit d8e01e5478f9a38b502c373b12c8e6891697e555
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Oct 9 00:05:35 2014 +0200

    Prevent version check failure in case of localisation change
    
    Change-Id: Ia30c5affee9f21401107d6ad293844e635bbc23a

 plugins/format/classic/classic.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 0956a28a2c4b3eb67578e7bf56211556dfa6c54c
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Oct 3 14:54:31 2014 +0200

    Use --lgpl=2 when invoking GnuLib, remove obsolete GnuLib files
    
    Change-Id: Ia7cce67c7daa766e964af7ddf37a7b56a25dbd6c

 libmissing/Makefile.am          |  2 +-
 libmissing/alloca.in.h          |  2 +-
 libmissing/asnprintf.c          |  2 +-
 libmissing/errno.in.h           |  2 +-
 libmissing/float+.h             |  2 +-
 libmissing/float.c              |  2 +-
 libmissing/float.in.h           |  2 +-
 libmissing/gettimeofday.c       |  2 +-
 libmissing/glthread/lock.c      |  2 +-
 libmissing/glthread/lock.h      |  2 +-
 libmissing/glthread/threadlib.c |  2 +-
 libmissing/itold.c              |  2 +-
 libmissing/m4/gnulib-cache.m4   |  4 ++--
 libmissing/malloc.c             |  2 +-
 libmissing/memchr.c             |  2 +-
 libmissing/printf-args.c        |  2 +-
 libmissing/printf-args.h        |  2 +-
 libmissing/printf-parse.c       |  2 +-
 libmissing/printf-parse.h       |  2 +-
 libmissing/size_max.h           |  2 +-
 libmissing/snprintf.c           |  2 +-
 libmissing/stddef.in.h          |  2 +-
 libmissing/stdint.in.h          |  2 +-
 libmissing/stdio.in.h           |  2 +-
 libmissing/stdlib.in.h          |  2 +-
 libmissing/strdup.c             |  2 +-
 libmissing/string.in.h          |  2 +-
 libmissing/strndup.c            |  2 +-
 libmissing/strnlen.c            |  2 +-
 libmissing/sys_time.in.h        |  2 +-
 libmissing/sys_types.in.h       |  2 +-
 libmissing/time.in.h            |  2 +-
 libmissing/time_r.c             |  2 +-
 libmissing/unistd.in.h          |  2 +-
 libmissing/vasnprintf.c         |  2 +-
 libmissing/vasnprintf.h         |  2 +-
 libmissing/verify.h             |  2 +-
 libmissing/vsnprintf.c          |  2 +-
 libmissing/wchar.in.h           |  2 +-
 libmissing/xsize.h              |  2 +-
 link-warning.h                  | 28 ----------------------------
 41 files changed, 41 insertions(+), 69 deletions(-)

commit d4b449fe50d5be8e73d949fcce0d9a681a1c0d11
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 24 17:04:02 2014 +0200

    Include string.h for strcmp()
    
    Change-Id: Ibd49f3ce4b11ae74abd81feaeb80d0d3dbe9b368

 src/preludedb-version.c | 1 +
 1 file changed, 1 insertion(+)

commit 71a63ae0794a75ee6acd807809cb66cf11d11291
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 1 14:07:27 2014 +0200

    PreludeDB high level C++ and Python bindings
    
    Implemented high level Python2 and 3 bindings for libpreludedb.
    The main API, DB and SQL are supported.
    
    Change-Id: I1bc6d4e645bcb4a6a35aa5f64b255fdb8923b730

 Makefile.am                                       |     2 +-
 bindings/Makefile.am                              |     9 +-
 bindings/c++/Makefile.am                          |    15 +
 bindings/c++/include/Makefile.am                  |     4 +
 bindings/c++/include/preludedb-error.hxx          |    39 +
 bindings/c++/include/preludedb-path-selection.hxx |    22 +
 bindings/c++/include/preludedb-sql.hxx            |    89 +
 bindings/c++/include/preludedb.hxx                |   120 +
 bindings/c++/preludedb-error.cxx                  |    45 +
 bindings/c++/preludedb-path-selection.cxx         |    69 +
 bindings/c++/preludedb-sql.cxx                    |   352 +
 bindings/c++/preludedb.cxx                        |   481 +
 bindings/libpreludedbcpp.i                        |   171 +
 bindings/low-level/python/Makefile.am             |    10 +-
 bindings/low-level/python/_preludedbold.c         |    27 +
 bindings/python/Makefile.am                       |    48 +
 bindings/python/_preludedb.cxx                    | 11271 ++++++++++++++++++++
 bindings/python/libpreludedbcpp-python.i          |   122 +
 bindings/python/preludedb.py                      |   368 +
 bindings/python/pystrings.swg                     |   111 +
 bindings/python/setup.py.in                       |   111 +
 configure.in                                      |    78 +-
 m4/ax_reset_headers_cache.m4                      |    23 +
 preludedb-admin.c                                 |    15 +-
 src/include/preludedb-plugin-format.h             |     6 +-
 src/include/preludedb-sql.h                       |     1 +
 src/include/preludedb.h                           |     6 +-
 src/preludedb-sql.c                               |     6 +
 src/preludedb.c                                   |     6 +-
 29 files changed, 13593 insertions(+), 34 deletions(-)

commit 621fd294a79da45583a40bb2cfee54e6d2d011bc
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Wed Sep 24 23:15:19 2014 +0200

    Some distribution like CentOS do not use default include path from the system, force it for swig
    
    Change-Id: Icb318020b62798d107f06425c8ce44baddfa9f13

 bindings/low-level/python/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit caa836e19df57dcfc14e859058c642e6a38d67b7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 23 15:41:25 2014 +0200

    Update NEWS, bump version
    
    Change-Id: I961d73140843cca14fd8fc4b68fcf163403028f6

 NEWS                                      | 25 +++++++++++++++++++++++++
 bindings/low-level/python/_preludedbold.c |  2 +-
 configure.in                              |  8 ++++----
 3 files changed, 30 insertions(+), 5 deletions(-)

commit 114b67a7639423b998147c2830b77bd33ce1b3ce
Author: Camille GARDET <camille.gardet@c-s.fr>
Date:   Tue Sep 16 11:42:34 2014 +0200

    Add dependencies in INSTALL file
    
    Change-Id: Id45d266024bff31a9c50ad7a16da7fc142fba0c1

 INSTALL | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 6042de43b3016183e283506c5db9b2d3355d005b
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 23 11:04:57 2014 +0200

    Fix insertion of the preludedbold module
    
    Change-Id: I1993daefc6ad6bb494aee649f8659659c768b094

 bindings/low-level/python/_preludedbold.c       | 2 +-
 bindings/low-level/python/libpreludedb-python.i | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 13bb279f7c15d530bd12a3f82f0fa66cfb191e44
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 22 09:26:41 2014 +0200

    Correct autogen.sh output
    
    Change-Id: I3fdfe747a1d850a01abfead65bf9559b9f4ddf90

 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6d63146d6785a5545c87866629e92390456509c2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 22 03:40:51 2014 +0200

    Change update API so that it use idmef_path_t and idmef_value_t
    
    This change is needed so that the backend can handle the escaping of
    passed value. The caller has no knowledge of what need to be escaped.
    It also allow to update any type of value.
    
    Change-Id: I78da4c1afc857c4bd5de5668d323fd57173a8fa3

 bindings/low-level/python/_preludedbold.c       | 203 +++++++++++++++++-------
 bindings/low-level/python/libpreludedb-python.i |  27 +++-
 src/include/preludedb-plugin-format.h           |   6 +-
 src/include/preludedb.h                         |   6 +-
 src/preludedb.c                                 |   6 +-
 5 files changed, 173 insertions(+), 75 deletions(-)

commit 317f20ea7cb93dccc57609030a069c1ffdb41e22
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 17 15:49:34 2014 +0200

    Move old C based bindings to bindings/low-level directory
    
    This prepare the move to C++ bindings.
    
    Change-Id: I36e93980c5222fb2e6c1e41e246a7cb60a970b51

 bindings/Makefile.am                            |    71 +-
 bindings/generate.sh                            |     5 -
 bindings/libpreludedb.i                         |   111 -
 bindings/low-level/Makefile.am                  |    16 +
 bindings/low-level/libpreludedb.i               |   111 +
 bindings/low-level/python/Makefile.am           |    26 +
 bindings/low-level/python/_preludedbold.c       | 11238 ++++++++++++++++++++++
 bindings/low-level/python/libpreludedb-python.i |   395 +
 bindings/low-level/python/preludedbold.py       |     9 +
 bindings/low-level/python/setup.py.in           |    90 +
 bindings/perl/Makefile.PL.in                    |    45 -
 bindings/perl/PreludeDB.pm                      |    21 -
 bindings/perl/libpreludedb-perl.i               |   164 -
 bindings/python/Makefile.am                     |    26 -
 bindings/python/libpreludedb-python.i           |   395 -
 bindings/python/preludedb.py                    |     9 -
 bindings/python/setup.py.in                     |    90 -
 configure.in                                    |    53 +-
 18 files changed, 11890 insertions(+), 985 deletions(-)

commit 2069cdd4f029ec75db1b6f76169600cb7a2f2929
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 16 17:57:26 2014 +0200

    Update GnuLib code
    
    Change-Id: I94e1b0d0d2f961c3000dd744cbe69218344133bd

 config.rpath                          |   18 +-
 libmissing/Makefile.am                |  332 ++++++-
 libmissing/alloca.in.h                |    2 +-
 libmissing/asnprintf.c                |    2 +-
 libmissing/errno.in.h                 |    2 +-
 libmissing/float+.h                   |    2 +-
 libmissing/float.c                    |    2 +-
 libmissing/float.in.h                 |    2 +-
 libmissing/gettimeofday.c             |  154 ++++
 libmissing/glthread/lock.c            |    2 +-
 libmissing/glthread/lock.h            |    2 +-
 libmissing/glthread/threadlib.c       |    2 +-
 libmissing/itold.c                    |    2 +-
 libmissing/m4/00gnulib.m4             |   22 +-
 libmissing/m4/absolute-header.m4      |    2 +-
 libmissing/m4/alloca.m4               |    2 +-
 libmissing/m4/errno_h.m4              |    2 +-
 libmissing/m4/exponentd.m4            |    2 +-
 libmissing/m4/extensions.m4           |    2 +-
 libmissing/m4/extern-inline.m4        |   33 +-
 libmissing/m4/fdopen.m4               |    2 +-
 libmissing/m4/float_h.m4              |    2 +-
 libmissing/m4/fpieee.m4               |    2 +-
 libmissing/m4/getpagesize.m4          |    2 +-
 libmissing/m4/gettimeofday.m4         |  138 +++
 libmissing/m4/gnulib-cache.m4         |    6 +-
 libmissing/m4/gnulib-common.m4        |  120 ++-
 libmissing/m4/gnulib-comp.m4          |   50 +-
 libmissing/m4/gnulib-tool.m4          |    2 +-
 libmissing/m4/include_next.m4         |    2 +-
 libmissing/m4/intmax_t.m4             |    2 +-
 libmissing/m4/inttypes-pri.m4         |    2 +-
 libmissing/m4/inttypes.m4             |    2 +-
 libmissing/m4/inttypes_h.m4           |    2 +-
 libmissing/m4/lib-ld.m4               |    2 +-
 libmissing/m4/lib-link.m4             |    2 +-
 libmissing/m4/lib-prefix.m4           |    2 +-
 libmissing/m4/lock.m4                 |    2 +-
 libmissing/m4/longlong.m4             |    2 +-
 libmissing/m4/malloc.m4               |   98 +++
 libmissing/m4/math_h.m4               |    2 +-
 libmissing/m4/memchr.m4               |    2 +-
 libmissing/m4/mmap-anon.m4            |    2 +-
 libmissing/m4/msvc-inval.m4           |    2 +-
 libmissing/m4/multiarch.m4            |    2 +-
 libmissing/m4/off_t.m4                |    2 +-
 libmissing/m4/onceonly.m4             |    2 +-
 libmissing/m4/printf.m4               |   20 +-
 libmissing/m4/size_max.m4             |    2 +-
 libmissing/m4/snprintf.m4             |    2 +-
 libmissing/m4/ssize_t.m4              |    2 +-
 libmissing/m4/stdbool.m4              |    2 +-
 libmissing/m4/stddef_h.m4             |    2 +-
 libmissing/m4/stdint.m4               |    2 +-
 libmissing/m4/stdint_h.m4             |    2 +-
 libmissing/m4/stdio_h.m4              |    2 +-
 libmissing/m4/stdlib_h.m4             |  119 +++
 libmissing/m4/strdup.m4               |    2 +-
 libmissing/m4/string_h.m4             |    2 +-
 libmissing/m4/strndup.m4              |    2 +-
 libmissing/m4/strnlen.m4              |    2 +-
 libmissing/m4/sys_socket_h.m4         |  176 ++++
 libmissing/m4/sys_time_h.m4           |  110 +++
 libmissing/m4/sys_types_h.m4          |    2 +-
 libmissing/m4/thread.m4               |    2 +-
 libmissing/m4/threadlib.m4            |   40 +-
 libmissing/m4/time_h.m4               |   13 +-
 libmissing/m4/time_r.m4               |    2 +-
 libmissing/m4/unistd_h.m4             |    2 +-
 libmissing/m4/vasnprintf.m4           |    2 +-
 libmissing/m4/vsnprintf.m4            |    2 +-
 libmissing/m4/warn-on-use.m4          |    2 +-
 libmissing/m4/wchar_h.m4              |    2 +-
 libmissing/m4/wchar_t.m4              |    2 +-
 libmissing/m4/wint_t.m4               |    2 +-
 libmissing/m4/xsize.m4                |    2 +-
 libmissing/m4/yield.m4                |    2 +-
 libmissing/malloc.c                   |   56 ++
 libmissing/memchr.c                   |    2 +-
 libmissing/printf-args.c              |    2 +-
 libmissing/printf-args.h              |    2 +-
 libmissing/printf-parse.c             |    2 +-
 libmissing/printf-parse.h             |    2 +-
 libmissing/size_max.h                 |    2 +-
 libmissing/snprintf.c                 |    2 +-
 libmissing/stddef.in.h                |    2 +-
 libmissing/stdint.in.h                |    5 +-
 libmissing/stdio.in.h                 |    2 +-
 libmissing/stdlib.in.h                |  977 +++++++++++++++++++++
 libmissing/strdup.c                   |    2 +-
 libmissing/string.in.h                |    2 +-
 libmissing/strndup.c                  |    2 +-
 libmissing/strnlen.c                  |    2 +-
 libmissing/sys_time.in.h              |  213 +++++
 libmissing/sys_types.in.h             |    4 +-
 libmissing/tests/Makefile.am          |  191 +---
 libmissing/tests/fdopen.c             |    2 +-
 libmissing/tests/fpucw.h              |    2 +-
 libmissing/tests/getpagesize.c        |    2 +-
 libmissing/tests/glthread/thread.c    |    2 +-
 libmissing/tests/glthread/thread.h    |    2 +-
 libmissing/tests/glthread/yield.h     |    2 +-
 libmissing/tests/init.sh              |    4 +-
 libmissing/tests/intprops.h           |    2 +-
 libmissing/tests/inttypes.in.h        |    2 +-
 libmissing/tests/macros.h             |    2 +-
 libmissing/tests/msvc-inval.c         |    2 +-
 libmissing/tests/msvc-inval.h         |    2 +-
 libmissing/tests/signature.h          |    2 +-
 libmissing/tests/stdbool.in.h         |    2 +-
 libmissing/tests/test-alloca-opt.c    |    2 +-
 libmissing/tests/test-errno.c         |    2 +-
 libmissing/tests/test-fdopen.c        |   39 +-
 libmissing/tests/test-fgetc.c         |    2 +-
 libmissing/tests/test-float.c         |    2 +-
 libmissing/tests/test-fputc.c         |    2 +-
 libmissing/tests/test-fread.c         |    2 +-
 libmissing/tests/test-fwrite.c        |    2 +-
 libmissing/tests/test-gettimeofday.c  |   47 +
 libmissing/tests/test-init.sh         |    2 +-
 libmissing/tests/test-intprops.c      |    2 +-
 libmissing/tests/test-inttypes.c      |    2 +-
 libmissing/tests/test-lock.c          |    2 +-
 libmissing/tests/test-memchr.c        |    2 +-
 libmissing/tests/test-snprintf.c      |    2 +-
 libmissing/tests/test-stdbool.c       |    2 +-
 libmissing/tests/test-stddef.c        |    2 +-
 libmissing/tests/test-stdint.c        |    2 +-
 libmissing/tests/test-stdio.c         |    2 +-
 libmissing/tests/test-stdlib.c        |   54 ++
 libmissing/tests/test-string.c        |    2 +-
 libmissing/tests/test-strnlen.c       |    2 +-
 libmissing/tests/test-sys_time.c      |   34 +
 libmissing/tests/test-sys_types.c     |    2 +-
 libmissing/tests/test-sys_wait.h      |   53 ++
 libmissing/tests/test-thread_create.c |    2 +-
 libmissing/tests/test-thread_self.c   |    2 +-
 libmissing/tests/test-time.c          |    2 +-
 libmissing/tests/test-unistd.c        |    2 +-
 libmissing/tests/test-vasnprintf.c    |    2 +-
 libmissing/tests/test-verify.c        |    2 +-
 libmissing/tests/test-vsnprintf.c     |    2 +-
 libmissing/tests/test-wchar.c         |    2 +-
 libmissing/tests/unistd.c             |    3 -
 libmissing/tests/unistd.in.h          | 1542 --------------------------------
 libmissing/tests/zerosize-ptr.h       |    2 +-
 libmissing/time.in.h                  |   46 +-
 libmissing/time_r.c                   |    2 +-
 libmissing/unistd.c                   |    3 +
 libmissing/unistd.in.h                | 1557 +++++++++++++++++++++++++++++++++
 libmissing/vasnprintf.c               |  176 ++--
 libmissing/vasnprintf.h               |    2 +-
 libmissing/verify.h                   |    2 +-
 libmissing/vsnprintf.c                |    2 +-
 libmissing/wchar.in.h                 |    2 +-
 libmissing/xsize.h                    |    2 +-
 snippet/_Noreturn.h                   |   10 +
 snippet/arg-nonnull.h                 |    2 +-
 snippet/c++defs.h                     |    2 +-
 snippet/warn-on-use.h                 |    2 +-
 160 files changed, 4673 insertions(+), 2040 deletions(-)

commit 007535eeb27e9e33cb8698627202176c9fd0a618
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Sep 10 15:19:23 2014 +0200

    Change preludedb_strerror() so that it never return NULL
    
    Return "Unknown error code" in place of NULL.
    
    Change-Id: Ia20b180005bed54e9921eb32614c5bf6996398e7

 src/preludedb-error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 54ad06fe6839053c66eda406f866d72ad8c1b6ac
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 2 09:32:44 2014 +0200

    PreludeDB ResultValues / ResultIdents API update
    
    Previously, it was only possible to iterate ResultValues and ResultIdents
    object rows once. The new API make it possible to retrieve a specific row/field
    located at a given index. This is achieved by the following new function :
     - preludedb_result_values_get_row(): return the row at the given index
     - preludedb_result_values_get_field(): return the specified field at the given row
    
    The new ResultValues API provide the following new utility function :
    - preludedb_result_values_get_count(): return the number of row in the results
    - preludedb_result_values_get_field_count: return the number of field by row in the results
    - preludedb_result_values_get_selection: return the selection used to retrieve the current values
    - preludedb_result_values_get_data: low-level layer data pointer, used by format-plugin
    
    For ResultIdents object, one new function is introduced :
    - preludedb_result_idents_get: return the ident at the given index
    
    *** PathSelection API update :
    
    Update the preludedb_path_selection API, so that it use an
    array to store element, and make it possible to access each
    element in O(1) time.
    
    Introduce two new function to the API :
    - preludedb_path_selection_get_selected(), which retrieve a selected
      element at the index specified as argument.
    - preludedb_selected_path_get_index : return the index of a given selected element.
    
    This is done since the path_selection API is now directly used to
    access fields in ResultValues row object.
    
    *** Refcounting support
    The preludedb_t, prelude_result_values_t and prelude_result_idents_t
    object now provide refcounting support, and make use of refcounting
    themselve.
    
    Change-Id: Ifa332d8a26421bda3c5f7a77ac7239b75de98b88

 plugins/format/classic/classic.c          |  49 ++++++++++
 src/include/preludedb-path-selection.h    |   5 +-
 src/include/preludedb-plugin-format-prv.h |   4 +
 src/include/preludedb-plugin-format.h     |  20 ++++
 src/include/preludedb.h                   |  21 +++-
 src/preludedb-path-selection.c            |  58 ++++++++---
 src/preludedb-plugin-format.c             |  28 ++++++
 src/preludedb.c                           | 156 ++++++++++++++++++++++++++++--
 8 files changed, 315 insertions(+), 26 deletions(-)

commit 257ff2022fe94ccd25438a90d0bbca1c33882ae2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Sep 1 14:03:01 2014 +0200

    SQL API / Plugin rework
    
    - New row_destroy, and field_destroy plugin callback.
    - resource_destroy callback is renamed to table_destroy.
    - The get_row callback now has the table, and the required row_index as argument.
    - The get_field callback now return a preludedb_sql_field_t structure, in place of just a char and size value.
    
    SQL plugins callback functions now take a preludedb_sql_table_t argument
    in place of a void resource pointer. The table argument has a data member
    which can contain the "real" plugin resource data needed.
    
    The fetch_row function now take a row_index argument, and the SQL plugin
    has to return the data at the given index. Note that libpreludedb will
    cache all the data, so once every rows / fields have been returned by
    the plugin, libpreludedb will use it's internal cache.
    
    Following this change SQL plugin now has complete flexibility in the way
    it can create the preludedb_sql_row_t or preludedb_sql_field_t object.
    For example if a given plugin (SQLite, MySQL) has to step from row 0 to
    10 to access row 10, the plugin can now instruct libpreludedb to create
    all the row in one fetch call.
    
    ** SQL API rework :
    
    Since the SQL plugin are now responsible for the creation of the table,
    row, and field object, new function are exposed :
    
    preludedb_sql_table_new(), preludedb_sql_row_new_field(), preludedb_sql_table_new_row(),
    preludedb_sql_row_(set|get)_data(), preludedb_sql_table_get_data()
    
    Table, row, and field object now support refcounting. Previously all resources where
    freed when a call to preludedb_sql_table_destroy() was issued. Now the caller might
    independantly reference any row object and destroy its parent :
    
    preludedb_sql_field_ref(),
    preludedb_sql_row_ref(),
    preludedb_sql_table_ref(),
    
    A new get row function is introduced, that support an additional row_index argument:
    - preludedb_sql_table_get_row().
    
    Also, preludedb_sql_row_fetch_field() is now an alias (marked as deprecated),
    for preludedb_sql_row_get_field(). The same apply for preludedb_sql_row_fetch_field_by_name()
    which is now an alias for preludedb_sql_row_get_field_by_name().
    
    Also, internal algorithm have been completly rewritten. The caller might now iterate
    as much as wanted on a table object, when previous version were iterate once and throw
    away after use.
    
    We now use an array in place of a linked list in order to store the fetched row
    and field, which make accessing a row/field O(1) once it is cached by libpreludedb.
    
    The table, row, and field structure have also been optimized for size.
    
    - Table is down from 40 to 32 bytes.
    - Row is down from 48 to 32 bytes.
    - Field is down from 48 to 32 bytes.
    
    ** SQL Plugin:
    
    PgSQL: adaptation to the new API. Since PgSQL provide results in an array
    the mapping is very natural.
    
    Sqlite3: use the new preludedb-sql API to store the row/field structure in
    place of doing it all internally.
    
    Change-Id: I2230b11fce6861e36cb953b1b213f92bc556b0bc

 bindings/libpreludedb.i                 |   2 +
 plugins/format/classic/classic-get.c    |  20 +-
 plugins/format/classic/classic-insert.c |   2 +-
 plugins/format/classic/classic.c        |   8 +-
 plugins/sql/mysql/mysql.c               | 134 +++++++----
 plugins/sql/pgsql/pgsql.c               | 110 +++++----
 plugins/sql/sqlite3/sqlite3.c           | 243 +++++--------------
 src/include/preludedb-error.h           |   4 +-
 src/include/preludedb-plugin-sql.h      |  48 ++--
 src/include/preludedb-sql.h             |  36 ++-
 src/preludedb-error.c                   |   3 +-
 src/preludedb-plugin-sql.c              |  71 ++++--
 src/preludedb-sql.c                     | 400 +++++++++++++++++++++++++-------
 src/preludedb.c                         |   4 +-
 14 files changed, 652 insertions(+), 433 deletions(-)

commit febb33bc671640980a6cbe94daaeeb2243e75f83
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Jul 31 18:26:24 2014 +0200

    Refcount support for path-selection
    
    Change-Id: Id8cf575ed77ebf5619b1071c60758cc7dcdbb1de

 src/include/preludedb-path-selection.h |  4 ++++
 src/preludedb-path-selection.c         | 13 +++++++++++++
 2 files changed, 17 insertions(+)

commit 5ec68af227b18c3e28109fb9f4265a4a26f3a1a8
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Jul 30 09:36:34 2014 +0200

    Whitespace police
    
    Change-Id: I28169f8a5ef6b355ed3a94f3284fabef161ec839

 src/include/preludedb-path-selection.h | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit 8c4083e42c6bcd06f83751c0ad99269506491498
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Sep 16 13:40:25 2014 +0200

    Provide more version number information (major, minor, micro, level, serial)
    
    Generated preludedb-version.h header file now include separate major, minor,
    micro, serial, and level (read ahead), definition.
    
    The level information is used to tag a release as alpha, beta, rc, or final.
    We also provide a LIBPRELUDEDB_HEXVERSION definition, making it easy to add
    version checking in the code. For example, checking for libpreludedb higher
    than libpreludedb 1.2.5 would look like.
    
    Change-Id: Id878bd8265a23a9d6d4c3e1770724e5040c49be2

 configure.in                       | 29 +++++++++++++++-
 src/include/preludedb-version.h.in | 18 ++++++++++
 src/preludedb-version.c            | 68 ++++++++++++++++++++++++++++----------
 3 files changed, 97 insertions(+), 18 deletions(-)

commit 80546ae13487449084057d454fcbf42945d0c62e
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Sep 16 11:08:03 2014 +0200

    Update NEWS, bump version
    
    Change-Id: Ibd9de1034d0c719fcc1bb0be09c4256a93d9802b

 NEWS         | 21 +++++++++++++++++++++
 configure.in | 10 +++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

commit edc8ffa6ca265b6206a5491e16f6b7d55e070c45
Author: Thomas Andrejak <thomas.andrejak@c-s.fr>
Date:   Tue Jul 8 15:58:46 2014 +0200

    UPDATE API support
    
    This introduce 3 new public function in the API to support UPDATE commands :
    
    The paths and values argument are the list of paths and their respective
    values to be used for the update. The _from_list and _from_result_idents
    function apply the update to message identified by the provided idents.
    
    The _update() function will apply the UPDATE to any events matching the
    provided criteria / order / limit / offset.
    
    preludedb-admin is also updated so that the update commande can be used
    from the command line.
    
    ssize_t preludedb_update_from_list(preludedb_t *db,
                                       const char const * const *paths, const char const * const *values, size_t pvsize,
                                       uint64_t *idents, size_t size);
    
    ssize_t preludedb_update_from_result_idents(preludedb_t *db,
                                                const char const * const *paths, const char const * const *values, size_t pvsize,
                                                preludedb_result_idents_t *results);
    
    int preludedb_update(preludedb_t *db,
                         const char const * const *paths, const char const * const *values, size_t pvsize,
                         idmef_criteria_t *criteria, preludedb_path_selection_t *order, int limit, int offset);
    
    Change-Id: If72fadeb2a2ad279fe28841229e09f2d08cc7b4a

 bindings/python/libpreludedb-python.i     | 45 +++++++++++++++-
 preludedb-admin.c                         | 87 +++++++++++++++++++++++++++++++
 src/include/preludedb-plugin-format-prv.h |  7 ++-
 src/include/preludedb-plugin-format.h     | 29 ++++++++---
 src/include/preludedb.h                   | 15 +++++-
 src/preludedb-plugin-format.c             | 20 +++++++
 src/preludedb.c                           | 63 +++++++++++++++++++---
 7 files changed, 248 insertions(+), 18 deletions(-)

commit 7a9cdefef70c199fcc986aae496b61e1dfb26214
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Jul 11 09:46:56 2014 +0200

    Support for retrieving database type, and server version
    
    Change-Id: I85240120ede3474ebd28e30b80d336e38f1db7df

 plugins/sql/mysql/mysql.c          |  8 ++++++++
 plugins/sql/pgsql/pgsql.c          |  8 ++++++++
 plugins/sql/sqlite3/sqlite3.c      |  8 ++++++++
 src/include/preludedb-plugin-sql.h | 12 +++++++++---
 src/include/preludedb-sql.h        |  5 +++++
 src/preludedb-plugin-sql.c         | 17 ++++++++++++++++-
 src/preludedb-sql.c                | 31 +++++++++++++++++++++++++++++++
 7 files changed, 85 insertions(+), 4 deletions(-)

commit 75a300a02b14d4551fd67b4e86cc5507799e94d9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Mon Jul 7 08:23:22 2014 +0200

    Whitespace police
    
    Change-Id: Idcd5014df38d9cdb62dd8ab27601e48f55ee24cf

 bindings/python/libpreludedb-python.i | 232 +++++++++++++++++-----------------
 src/include/preludedb-sql.h           |  34 ++---
 2 files changed, 133 insertions(+), 133 deletions(-)

commit 3850cf04ec80cb739f26aade63ac878722ba6cf7
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Tue Jul 15 09:10:16 2014 +0200

    Update configure.in
    
    Change-Id: I51dfd6789ed27be846dec25fe647b624d1de44dc

 configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 378d4a47caabec8fac6cca0bc7147abb035574e8
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Jul 7 15:30:16 2014 +0200

    Update NEWS, bump version
    
    Change-Id: Ia532bb805679d8ea3e6ccb0f4a08f8f9b640f659

 NEWS                           | 32 ++++++++++++++++++++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 34 insertions(+), 2 deletions(-)

commit 7a3494000703f5fbba600b13702a6d26dedc9f71
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 23 21:19:55 2014 -0300

    Fix AdditionalData insertion/retrieval
    
    * Insertion:
    
    - AdditionalData with the BYTE datatype are now treated like INTEGER datatype:
      The value is converted to an integer and inserted as a string.
    
    - When inserting string converted AdditionalData, we do not insert the
      terminating 0 anymore. This make filtering through theses AdditionalData
      type work. Adding the terminating 0 is done again at retrieval time.
    
    * Retrieval:
    
    - Always unescape the retrieved value, independantly from the data type, we
      can never expect the value to be unmodified after escaping.
    
    - In all AdditionalData retrieval case except byte-string and character,
      append a terminating 0 at the end of the string (see insertion change).
    
    * Actual effect:
    
    - MySQL:
      - old data : anything beyond datatype "string", "bytestring", and "character" fail
                   (this was already the case)
      - new data : search on everything work as expected.
    
    - PostgreSQL:
      - old data : anything beyond datatype "string", "bytestring", and "character"
                   would fail to insert, there is no such data in database (this is
                   fixed since recent commit d19c0b073da6696a76deb4a41e022ea30a86cd93).
      - new data : search on everything work as expected.
    
    Change-Id: Icea3f2a74f8866a5ab9922bf4471c8071d5f4cc5

 plugins/format/classic/classic-get.c    | 140 ++++++++++++++++++++------------
 plugins/format/classic/classic-insert.c |   3 +-
 2 files changed, 89 insertions(+), 54 deletions(-)

commit 1fff21f78d68735f7f2abe941f931710a4bd0ca2
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Wed Apr 16 13:08:46 2014 +0200

    Use new libprelude PRELUDE_SCN* definition
    
    Fix compilation warnings.

 src/preludedb-sql.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 2a49406dc60e1a7cd6f5b353e802afa5f20943c9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Apr 11 15:14:34 2014 +0200

    Handle NULL input on preludedb_sql_escape_fast() and preludedb_sql_escape_binary()
    
    BLOB field accept NULL input, so the preludedb_sql_escape_binary() function should
    handle this case.
    
    Additionally, handle NULL input on preludedb_sql_escape_fast() for safety, even
    though the function take a length parameter.

 src/preludedb-sql.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit 546a8862bd065d7b857cba7f6e36738d0b439602
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 18:08:19 2014 +0200

    Use PQescapeStringConn() in place of PQescapeString() when available
    
    As suggested by the PostgreSQL documentation :
    "The only difference from PQescapeStringConn is that PQescapeString does not take
     PGconn or error parameters. Because of this, it cannot adjust its behavior
     depending on the connection properties (such as character encoding) and
     therefore it might give the wrong results. Also, it has no way to report error
     conditions."

 configure.in              |  1 +
 plugins/sql/pgsql/pgsql.c | 10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

commit d62e99d8c00480ed7529ac8a089352cb8f30a1b9
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 13:00:00 2014 +0200

    Fix warnings and error on ByteA insertion
    
    Using '%s' for inserting data escaped with PQescapeByteaConn() correctly
    work with latests PostgreSQL version. However, on version earlier than 9.1,
    this generate a warning (HINT:  Use the escape string syntax for backslashes,
    e.g., E'\\'. WARNING:  nonstandard use of \\ in a string literal) which
    require the user to activate the standard_conforming_strings variable.
    
    On the other end, using the E'%s' escape method is not compatible with
    the PQescapeByteaConn() function, we have noticed various error like :
     ERROR:  invalid byte sequence for encoding "UTF8": 0x00
     ERROR:  invalid input syntax for type bytea at character 145
    
    Confirmation of this incompatibility is given by Tom Lane on the PostgreSQL
    mailing lists :
    http://grokbase.com/t/postgresql/pgsql-general/11b2e9h9xm/postgresql-9-1-1-pqescapebyteaconn-generating-incorrectly-quoted-output
    
    "The result of PQescapeByteaConn has never been meant to be put into an E'' literal.
     You might have managed to get away with it so long as standard_conforming_strings
     was off in the server, but it's on by default in 9.1."
    
    As a result, and since we don't want to force the user to change his PostgreSQL
    server configuration, we now use the E'%s' ByteA insertion method in conjonction
    with our own escaping function. This function follow the escaping instruction
    provided in the PostgreSQL documentation :
    http://www.postgresql.org/docs/7.3/static/datatype-binary.html

 configure.in              |  1 -
 plugins/sql/pgsql/pgsql.c | 68 ++++++++++++++++++++++++++++-------------------
 2 files changed, 40 insertions(+), 29 deletions(-)

commit 2f152d02b636909c11237b36300675997d83ac9a
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 12:58:55 2014 +0200

    Improve sscanf() error check

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7c4eec5623e261a238a1d6e5795103b4bf17d794
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Sun Apr 20 11:58:29 2014 +0200

    Let the compiler decide whether to inline this function

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ff055621e045edb1b898a150ad7b70b9ec245f09
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Thu Apr 10 09:45:49 2014 +0200

    Whitespace police

 plugins/format/classic/classic-insert.c | 1550 +++++++++++++++----------------
 1 file changed, 775 insertions(+), 775 deletions(-)

commit fb91684cda3efb7357c70f9f6f9e9746d2922629
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Fri Feb 7 10:30:47 2014 +0100

    Fix possible ByteA insertion error
    
    Use PQescapeByteaConn() in place of PQescapeBytea() when available, to
    prevent possible insertion error.

 configure.in              | 1 +
 plugins/sql/pgsql/pgsql.c | 4 ++++
 2 files changed, 5 insertions(+)

commit 3070195c2acc6d510442a57a3f0872a6bb3caac0
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Feb 3 09:56:39 2014 +0100

    Removed rhel6 packaging

 pkg/rhel6/libpreludedb.spec | 267 --------------------------------------------
 1 file changed, 267 deletions(-)

commit b33c4abe9975c2e74ee4d3a52846a67f14eeea23
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jan 31 16:23:08 2014 +0100

    Fixed typo for PostgreSQL plugin compilation

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 67d54ffe0dc10697b85842517ea18a5fcd808b1b
Author: Thomas ANDREJAK <thomas.andrejak@c-s.fr>
Date:   Tue Jan 7 00:13:13 2014 +0100

    Provide AS_VAR_COPY, for system lacking it

 configure.in | 4 ++++
 1 file changed, 4 insertions(+)

commit 522f6b54f4df67ff7741ba068fec5065f4d69200
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 13:11:15 2013 +0100

    Move Python command to a Python specific Makefile, filename fixes

 bindings/Makefile.am                  |  39 +---
 bindings/libpreludedb.i               |   4 +-
 bindings/libpreludedb_perl.i          | 164 ----------------
 bindings/libpreludedb_python.i        | 352 ----------------------------------
 bindings/perl/libpreludedb-perl.i     | 164 ++++++++++++++++
 bindings/python/Makefile.am           |  26 +++
 bindings/python/libpreludedb-python.i | 352 ++++++++++++++++++++++++++++++++++
 configure.in                          |   1 +
 8 files changed, 550 insertions(+), 552 deletions(-)

commit 7014f7b3f256df0eaeaebd955d6e08c21c4740cf
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:42:04 2013 +0100

    Fix compile warnings

 plugins/format/classic/classic-insert.c | 18 ++++++------------
 src/preludedb-sql.c                     |  2 --
 2 files changed, 6 insertions(+), 14 deletions(-)

commit 611a5df2b4466c212ed65afc699355d1990db319
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:41:46 2013 +0100

    Add missing Python package information

 bindings/python/setup.py.in | 5 +++++
 1 file changed, 5 insertions(+)

commit dd1cc76f26657645f36f7211da30fe236c0ee001
Author: Yoann Vandoorselaere <yoannv@gmail.com>
Date:   Tue Dec 17 12:39:48 2013 +0100

    Fix configure script generation, and update GnuLib code
    
    Modify configure.in to fit latest autoconf / automake change.
    Configure script generation and make distcheck now work again.
    Update GnuLib code.
    
    Update various autoconf macros, and gtk-doc build files.

 INSTALL                                     |   15 +-
 Makefile.am                                 |    2 +-
 arg-nonnull.h                               |   26 -
 config.rpath                                |  106 +-
 configure.in                                |   69 +-
 docs/api/Makefile.am                        |   47 +-
 docs/api/libpreludedb-docs.xml              |   43 +
 docs/api/tmpl/preludedb-error.sgml          |    5 +-
 docs/api/tmpl/preludedb-path-selection.sgml |    3 +
 docs/api/tmpl/preludedb-plugin-format.sgml  |    3 +
 docs/api/tmpl/preludedb-plugin-sql.sgml     |    3 +
 docs/api/tmpl/preludedb-sql-settings.sgml   |    3 +
 docs/api/tmpl/preludedb-sql.sgml            |    7 +-
 docs/api/tmpl/preludedb-version.sgml        |    3 +
 docs/api/tmpl/preludedb.sgml                |    5 +
 gtk-doc.make                                |  250 +++--
 libmissing/Makefile.am                      |  573 +++++++---
 libmissing/alloca.in.h                      |   17 +-
 libmissing/asnprintf.c                      |    5 +-
 libmissing/errno.in.h                       |  195 +++-
 libmissing/float+.h                         |   11 +-
 libmissing/float.c                          |   33 +
 libmissing/float.in.h                       |  138 ++-
 libmissing/glthread/lock.c                  |   13 +-
 libmissing/glthread/lock.h                  |   40 +-
 libmissing/glthread/threadlib.c             |    5 +-
 libmissing/itold.c                          |   28 +
 libmissing/m4/00gnulib.m4                   |    2 +-
 libmissing/m4/absolute-header.m4            |  102 ++
 libmissing/m4/alloca.m4                     |   86 +-
 libmissing/m4/errno_h.m4                    |   28 +-
 libmissing/m4/exponentd.m4                  |  116 ++
 libmissing/m4/extensions.m4                 |   56 +-
 libmissing/m4/extern-inline.m4              |   84 ++
 libmissing/m4/fdopen.m4                     |   47 +
 libmissing/m4/float_h.m4                    |   87 +-
 libmissing/m4/fpieee.m4                     |   54 +
 libmissing/m4/getpagesize.m4                |   32 +
 libmissing/m4/gnulib-cache.m4               |   29 +-
 libmissing/m4/gnulib-common.m4              |  260 ++++-
 libmissing/m4/gnulib-comp.m4                |  230 +++-
 libmissing/m4/gnulib-tool.m4                |    2 +-
 libmissing/m4/include_next.m4               |  120 ++-
 libmissing/m4/intmax_t.m4                   |   15 +-
 libmissing/m4/inttypes-pri.m4               |   42 +
 libmissing/m4/inttypes.m4                   |  158 +++
 libmissing/m4/inttypes_h.m4                 |   19 +-
 libmissing/m4/lib-ld.m4                     |   77 +-
 libmissing/m4/lib-link.m4                   |   55 +-
 libmissing/m4/lib-prefix.m4                 |    2 +-
 libmissing/m4/lock.m4                       |   25 +-
 libmissing/m4/longlong.m4                   |   87 +-
 libmissing/m4/math_h.m4                     |  353 ++++++
 libmissing/m4/memchr.m4                     |   32 +-
 libmissing/m4/mmap-anon.m4                  |   18 +-
 libmissing/m4/msvc-inval.m4                 |   19 +
 libmissing/m4/multiarch.m4                  |   11 +-
 libmissing/m4/off_t.m4                      |   18 +
 libmissing/m4/onceonly.m4                   |   33 +-
 libmissing/m4/printf.m4                     | 1046 ++++++++++--------
 libmissing/m4/size_max.m4                   |   16 +-
 libmissing/m4/snprintf.m4                   |   20 +-
 libmissing/m4/ssize_t.m4                    |   23 +
 libmissing/m4/stdbool.m4                    |  100 ++
 libmissing/m4/stddef_h.m4                   |   12 +-
 libmissing/m4/stdint.m4                     |   52 +-
 libmissing/m4/stdint_h.m4                   |   17 +-
 libmissing/m4/stdio_h.m4                    |  105 +-
 libmissing/m4/strdup.m4                     |   18 +-
 libmissing/m4/string_h.m4                   |   30 +-
 libmissing/m4/strndup.m4                    |   32 +-
 libmissing/m4/strnlen.m4                    |   26 +-
 libmissing/m4/sys_types_h.m4                |   24 +
 libmissing/m4/thread.m4                     |    5 +-
 libmissing/m4/threadlib.m4                  |  167 +--
 libmissing/m4/time_h.m4                     |   67 +-
 libmissing/m4/time_r.m4                     |   58 +-
 libmissing/m4/unistd_h.m4                   |  187 ++++
 libmissing/m4/vasnprintf.m4                 |   25 +-
 libmissing/m4/vsnprintf.m4                  |   20 +-
 libmissing/m4/warn-on-use.m4                |   18 +-
 libmissing/m4/wchar.m4                      |  150 ---
 libmissing/m4/wchar_h.m4                    |  225 ++++
 libmissing/m4/wchar_t.m4                    |   14 +-
 libmissing/m4/wint_t.m4                     |   14 +-
 libmissing/m4/xsize.m4                      |    5 +-
 libmissing/m4/yield.m4                      |    2 +-
 libmissing/memchr.c                         |    2 +-
 libmissing/printf-args.c                    |    5 +-
 libmissing/printf-args.h                    |    9 +-
 libmissing/printf-parse.c                   |   55 +-
 libmissing/printf-parse.h                   |   19 +-
 libmissing/size_max.h                       |    5 +-
 libmissing/snprintf.c                       |    5 +-
 libmissing/stddef.in.h                      |   20 +-
 libmissing/stdint.in.h                      |  293 +++--
 libmissing/stdio-write.c                    |  150 ---
 libmissing/stdio.in.h                       | 1196 ++++++++++++++++-----
 libmissing/strdup.c                         |    7 +-
 libmissing/string.in.h                      |  615 +++++++++--
 libmissing/strndup.c                        |    7 +-
 libmissing/strnlen.c                        |    5 +-
 libmissing/sys_types.in.h                   |   51 +
 libmissing/tests/Makefile.am                |  514 ++++++++-
 libmissing/tests/fdopen.c                   |   69 ++
 libmissing/tests/fpucw.h                    |  108 ++
 libmissing/tests/getpagesize.c              |   39 +
 libmissing/tests/glthread/thread.c          |   24 +-
 libmissing/tests/glthread/thread.h          |   64 +-
 libmissing/tests/glthread/yield.h           |   10 +-
 libmissing/tests/init.sh                    |  589 ++++++++++
 libmissing/tests/intprops.h                 |  319 +++++-
 libmissing/tests/inttypes.in.h              | 1140 ++++++++++++++++++++
 libmissing/tests/macros.h                   |   15 +-
 libmissing/tests/msvc-inval.c               |  129 +++
 libmissing/tests/msvc-inval.h               |  222 ++++
 libmissing/tests/signature.h                |    2 +-
 libmissing/tests/stdbool.in.h               |  132 +++
 libmissing/tests/test-alloca-opt.c          |    4 +-
 libmissing/tests/test-errno.c               |    4 +-
 libmissing/tests/test-fdopen.c              |   56 +
 libmissing/tests/test-fgetc.c               |   97 ++
 libmissing/tests/test-float.c               |  384 +++++++
 libmissing/tests/test-fputc.c               |   91 ++
 libmissing/tests/test-fread.c               |  100 ++
 libmissing/tests/test-fwrite.c              |   94 ++
 libmissing/tests/test-init.sh               |   73 ++
 libmissing/tests/test-intprops.c            |  275 +++++
 libmissing/tests/test-inttypes.c            |  118 ++
 libmissing/tests/test-lock.c                |   88 +-
 libmissing/tests/test-memchr.c              |   21 +-
 libmissing/tests/test-snprintf.c            |   20 +-
 libmissing/tests/test-stdbool.c             |  118 ++
 libmissing/tests/test-stddef.c              |   16 +-
 libmissing/tests/test-stdint.c              |    3 +-
 libmissing/tests/test-stdio.c               |    2 +-
 libmissing/tests/test-string.c              |    2 +-
 libmissing/tests/test-strnlen.c             |   68 ++
 libmissing/tests/test-sys_types.c           |   34 +
 libmissing/tests/test-thread_create.c       |   78 ++
 libmissing/tests/test-thread_self.c         |   34 +
 libmissing/tests/test-time.c                |   10 +-
 libmissing/tests/test-unistd.c              |   56 +
 libmissing/tests/test-vasnprintf.c          |   65 +-
 libmissing/tests/test-verify.c              |   69 ++
 libmissing/tests/test-verify.sh             |   24 +
 libmissing/tests/test-vsnprintf.c           |   20 +-
 libmissing/tests/test-wchar.c               |    2 +-
 libmissing/tests/unistd.c                   |    3 +
 libmissing/tests/unistd.in.h                | 1542 +++++++++++++++++++++++++++
 libmissing/tests/verify.h                   |  140 ---
 libmissing/tests/zerosize-ptr.h             |    2 +-
 libmissing/time.in.h                        |  214 +++-
 libmissing/time_r.c                         |    7 +-
 libmissing/vasnprintf.c                     |  737 +++++++------
 libmissing/vasnprintf.h                     |   19 +-
 libmissing/verify.h                         |  279 +++++
 libmissing/vsnprintf.c                      |    5 +-
 libmissing/wchar.in.h                       |  865 +++++++++++++--
 libmissing/xsize.c                          |    3 +
 libmissing/xsize.h                          |   25 +-
 m4/ax_c_check_flag.m4                       |   89 --
 m4/ax_check_compile_flag.m4                 |   74 ++
 m4/ax_check_link_flag.m4                    |   73 ++
 m4/ax_ld_check_flag.m4                      |   97 --
 m4/ax_lib_mysql.m4                          |   28 +-
 m4/ax_lib_postgresql.m4                     |   13 +-
 m4/ax_lib_sqlite3.m4                        |   19 +-
 m4/gtk-doc.m4                               |   84 +-
 plugins/sql/Makefile.am                     |    5 -
 snippet/arg-nonnull.h                       |   26 +
 snippet/c++defs.h                           |  271 +++++
 snippet/warn-on-use.h                       |  109 ++
 warn-on-use.h                               |   75 --
 174 files changed, 15650 insertions(+), 3425 deletions(-)

commit ca9cd1acf5f6bd5b52d26ff192fe359729dd61a1
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Thu Sep 6 10:51:18 2012 +0200

    Updated URL info #2

 README                          | 2 +-
 docs/manpages/preludedb-admin.1 | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

commit 417d217f7d0e864f6733db45d309ebad0fdc9f40
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Aug 29 11:55:29 2012 +0200

    Updated URL info

 README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c8767b0f33ff76b3b0a2e9152a3415e8f77b818c
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Mon Aug 13 16:11:59 2012 +0200

    Updated Free Software Foundation headers

 COPYING                                            | 41 +++++++++++-----------
 bindings/libpreludedb.i                            |  6 ++--
 bindings/libpreludedb_perl.i                       |  6 ++--
 bindings/libpreludedb_python.i                     |  6 ++--
 bindings/perl/PreludeDB.pm                         |  6 ++--
 m4/ax_c_check_flag.m4                              |  7 ++--
 m4/ax_ld_check_flag.m4                             |  7 ++--
 plugins/format/classic/classic-delete.c            |  6 ++--
 plugins/format/classic/classic-get.c               |  6 ++--
 plugins/format/classic/classic-insert.c            |  6 ++--
 plugins/format/classic/classic-path-resolve.c      |  6 ++--
 plugins/format/classic/classic-sql-join.c          |  6 ++--
 plugins/format/classic/classic-sql-select.c        |  6 ++--
 plugins/format/classic/classic.c                   |  6 ++--
 plugins/format/classic/include/classic-delete.h    |  6 ++--
 plugins/format/classic/include/classic-get.h       |  6 ++--
 plugins/format/classic/include/classic-insert.h    |  6 ++--
 .../format/classic/include/classic-path-resolve.h  |  6 ++--
 plugins/format/classic/include/classic-sql-join.h  |  6 ++--
 .../format/classic/include/classic-sql-select.h    |  6 ++--
 plugins/sql/mysql/mysql.c                          |  6 ++--
 plugins/sql/pgsql/pgsql.c                          |  6 ++--
 plugins/sql/sqlite3/sqlite3.c                      |  6 ++--
 preludedb-admin.c                                  |  6 ++--
 src/include/preludedb-error.h                      |  6 ++--
 src/include/preludedb-path-selection.h             |  6 ++--
 src/include/preludedb-plugin-format-prv.h          |  6 ++--
 src/include/preludedb-plugin-format.h              |  6 ++--
 src/include/preludedb-plugin-sql.h                 |  6 ++--
 src/include/preludedb-sql-settings.h               |  6 ++--
 src/include/preludedb-sql.h                        |  6 ++--
 src/include/preludedb-version.h.in                 |  6 ++--
 src/include/preludedb.h                            |  6 ++--
 src/preludedb-error.c                              |  6 ++--
 src/preludedb-path-selection.c                     |  6 ++--
 src/preludedb-plugin-format.c                      |  6 ++--
 src/preludedb-plugin-sql.c                         |  6 ++--
 src/preludedb-sql-settings.c                       |  6 ++--
 src/preludedb-sql.c                                |  6 ++--
 src/preludedb-version.c                            |  6 ++--
 src/preludedb.c                                    |  6 ++--
 41 files changed, 140 insertions(+), 143 deletions(-)

commit d2229d0c98efb829056acff1843b41b78f925e09
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Wed Aug 8 15:41:46 2012 +0200

    Update NEWS, bump version

 NEWS                        | 4 ++--
 configure.in                | 2 +-
 pkg/rhel6/libpreludedb.spec | 7 +++++--
 3 files changed, 8 insertions(+), 5 deletions(-)

commit 2bad4b1cba88753df952654f69a085221bc90910
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Mon Jul 9 11:30:06 2012 +0200

    Change TYPE to ENGINE in mysql.sql (requires MySQL >= 4.0.18)

 NEWS                                   |  6 +++
 pkg/rhel6/libpreludedb.spec            |  2 +-
 plugins/format/classic/mysql.sql       | 72 +++++++++++++++++-----------------
 plugins/format/classic/mysql2pgsql.sh  |  2 +-
 plugins/format/classic/mysql2sqlite.sh |  2 +-
 5 files changed, 45 insertions(+), 39 deletions(-)

commit c56c2531048b69f3f5720f93f752af404325a388
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Fri Jun 1 18:02:08 2012 +0200

    Updated info URL

 README                          |  9 ++++-----
 docs/manpages/preludedb-admin.1 | 10 +++++-----
 m4/libpreludedb.m4              |  2 +-
 pkg/rhel6/libpreludedb.spec     |  4 ++--
 4 files changed, 12 insertions(+), 13 deletions(-)

commit 27465d0c37bad4d0502f0742479a310f1716e6d0
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Fri Jun 1 17:32:40 2012 +0200

    Update NEWS, documentation, bump version

 NEWS                             |  21 +
 configure.in                     |   2 +-
 docs/api/libpreludedb-decl.txt   | 848 +++++++++++++++++++--------------------
 docs/api/tmpl/preludedb-sql.sgml |   4 +-
 4 files changed, 448 insertions(+), 427 deletions(-)

commit 050c2d9dffc40036efac0196edd502ff549efced
Author: Antoine LUONG <antoine.luong@c-s.fr>
Date:   Fri Jun 1 14:20:32 2012 +0200

    Copyright change for README files

 HACKING.README | 8 ++++----
 LICENSE.README | 4 ++--
 README         | 4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

commit 0fd48c350dbe8ec81dbebec7bb777f8b052805a9
Author: root <root@localhost.localdomain>
Date:   Fri May 11 10:05:35 2012 +0200

    Copyright change for .h files

 bindings/libpreludedb.i                               | 2 +-
 bindings/libpreludedb_perl.i                          | 2 +-
 bindings/libpreludedb_python.i                        | 2 +-
 bindings/perl/PreludeDB.pm                            | 2 +-
 docs/manpages/preludedb-admin.1                       | 2 +-
 plugins/format/classic/include/classic-delete.h       | 2 +-
 plugins/format/classic/include/classic-get.h          | 2 +-
 plugins/format/classic/include/classic-path-resolve.h | 2 +-
 plugins/format/classic/include/classic-sql-join.h     | 2 +-
 plugins/format/classic/include/classic-sql-select.h   | 2 +-
 src/include/preludedb-error.h                         | 2 +-
 src/include/preludedb-path-selection.h                | 2 +-
 src/include/preludedb-plugin-format-prv.h             | 2 +-
 src/include/preludedb-plugin-format.h                 | 2 +-
 src/include/preludedb-plugin-sql.h                    | 2 +-
 src/include/preludedb-sql-settings.h                  | 2 +-
 src/include/preludedb-sql.h                           | 2 +-
 src/include/preludedb-version.h.in                    | 2 +-
 src/include/preludedb.h                               | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

commit ef157e1d5f3fecb3ab7e83fd36d01de9bf16442b
Author: root <root@localhost.localdomain>
Date:   Thu May 10 16:28:43 2012 +0200

    Copyright change for .c and .py files

 plugins/format/classic/classic-delete.c       | 2 +-
 plugins/format/classic/classic-get.c          | 2 +-
 plugins/format/classic/classic-insert.c       | 2 +-
 plugins/format/classic/classic-path-resolve.c | 2 +-
 plugins/format/classic/classic-sql-join.c     | 2 +-
 plugins/format/classic/classic-sql-select.c   | 2 +-
 plugins/format/classic/classic.c              | 2 +-
 plugins/sql/mysql/mysql.c                     | 2 +-
 plugins/sql/pgsql/pgsql.c                     | 2 +-
 plugins/sql/sqlite3/sqlite3.c                 | 2 +-
 preludedb-admin.c                             | 2 +-
 src/preludedb-error.c                         | 2 +-
 src/preludedb-path-selection.c                | 2 +-
 src/preludedb-plugin-format.c                 | 2 +-
 src/preludedb-plugin-sql.c                    | 2 +-
 src/preludedb-sql-settings.c                  | 2 +-
 src/preludedb-sql.c                           | 2 +-
 src/preludedb-version.c                       | 2 +-
 src/preludedb.c                               | 2 +-
 19 files changed, 19 insertions(+), 19 deletions(-)

commit c85c6169912a613e4cd89d95631787c3adc857bc
Author: Jean-Charles ROGEZ <jean-charles.rogez@c-s.fr>
Date:   Mon Apr 2 15:55:45 2012 +0200

    Added packaging for rhel6

 pkg/rhel6/libpreludedb.spec | 264 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 264 insertions(+)

commit 6e02cae79e1cafdb725ed1520d13859c1e6a3944
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Thu Jan 13 09:20:48 2011 +0100

    Call prelude_transaction_abort() on empty IDMEF message.
    
    When trying to insert a message containing no alert/heartbeat,
    the database would remain locked since preludedb_transaction_abort()
    was not called.

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit b26bab33a618cdffae4f0d9da20040d30e8fa546
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Mon Oct 25 10:01:06 2010 +0200

    Whitespace police

 plugins/format/classic/classic.c | 718 +++++++++++++++++++--------------------
 1 file changed, 359 insertions(+), 359 deletions(-)

commit 1109068059501f5e7d5fbbae6bdcc1903117813e
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Tue Jun 22 12:19:52 2010 +0200

    C++ compilation fixes
    
    Include required dependencies, and add missing cast to preludedb-error.h

 src/include/preludedb-error.h | 4 ++--
 src/include/preludedb-sql.h   | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)

commit 425c4dc86168e8bf8c2c47cac2e05e78baf8e77c
Author: Hauke Mehrtens <hauke@hauke-m.de>
Date:   Fri Jun 18 13:45:50 2010 +0200

    preludedb: fix some compile errors with g++
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

 src/include/preludedb-error.h | 4 ++--
 src/include/preludedb-sql.h   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 0364971e171bc634c0ac6028bf758ec2aeee2859
Author: Yoann Vandoorselaere <yoann.v@prelude-technologies.com>
Date:   Tue Mar 16 15:55:31 2010 +0100

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 9c038260b90c3607a76276f628d9353b159c5baa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 17:56:08 2010 +0100

    Update NEWS, bump version

 INSTALL                        | 97 ++++++++++++++++++++++++++++++++++--------
 NEWS                           | 25 +++++++++++
 configure.in                   | 10 ++---
 docs/api/libpreludedb-decl.txt |  2 +-
 4 files changed, 111 insertions(+), 23 deletions(-)

commit 3c9f4ebed4695392da975602422e2390e8254829
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 17:53:54 2010 +0100

    Update GnuLib code

 arg-nonnull.h                      |   26 +
 config.rpath                       |    2 +-
 libmissing/Makefile.am             |  318 +-
 libmissing/alloca.in.h             |    4 +-
 libmissing/asnprintf.c             |    2 +-
 libmissing/errno.in.h              |    2 +-
 libmissing/float+.h                |    2 +-
 libmissing/float.in.h              |    2 +-
 libmissing/getpagesize.c           |   39 -
 libmissing/glthread/lock.c         |  436 +-
 libmissing/glthread/lock.h         |    2 +-
 libmissing/glthread/threadlib.c    |   20 +-
 libmissing/m4/00gnulib.m4          |    2 +-
 libmissing/m4/alloca.m4            |    3 +-
 libmissing/m4/errno_h.m4           |    2 +-
 libmissing/m4/extensions.m4        |   22 +-
 libmissing/m4/float_h.m4           |    2 +-
 libmissing/m4/getpagesize.m4       |   29 -
 libmissing/m4/gnulib-cache.m4      |    2 +-
 libmissing/m4/gnulib-common.m4     |   35 +-
 libmissing/m4/gnulib-comp.m4       |   24 +-
 libmissing/m4/gnulib-tool.m4       |    2 +-
 libmissing/m4/include_next.m4      |   80 +-
 libmissing/m4/intmax_t.m4          |    3 +-
 libmissing/m4/inttypes_h.m4        |    2 +-
 libmissing/m4/lib-ld.m4            |    8 +-
 libmissing/m4/lib-link.m4          |    2 +-
 libmissing/m4/lib-prefix.m4        |    2 +-
 libmissing/m4/lock.m4              |    2 +-
 libmissing/m4/longlong.m4          |   66 +-
 libmissing/m4/memchr.m4            |   10 +-
 libmissing/m4/mmap-anon.m4         |    2 +-
 libmissing/m4/multiarch.m4         |    2 +-
 libmissing/m4/onceonly.m4          |    3 +-
 libmissing/m4/printf.m4            |    2 +-
 libmissing/m4/size_max.m4          |    2 +-
 libmissing/m4/snprintf.m4          |    2 +-
 libmissing/m4/stddef_h.m4          |   45 +
 libmissing/m4/stdint.m4            |   14 +-
 libmissing/m4/stdint_h.m4          |    2 +-
 libmissing/m4/stdio_h.m4           |  121 +-
 libmissing/m4/strdup.m4            |    2 +-
 libmissing/m4/string_h.m4          |   66 +-
 libmissing/m4/strndup.m4           |   48 +-
 libmissing/m4/strnlen.m4           |    3 +-
 libmissing/m4/thread.m4            |    2 +-
 libmissing/m4/threadlib.m4         |   15 +-
 libmissing/m4/time_h.m4            |   22 +-
 libmissing/m4/time_r.m4            |   21 +-
 libmissing/m4/unistd_h.m4          |   83 -
 libmissing/m4/vasnprintf.m4        |    2 +-
 libmissing/m4/vsnprintf.m4         |    2 +-
 libmissing/m4/warn-on-use.m4       |   45 +
 libmissing/m4/wchar.m4             |  100 +-
 libmissing/m4/wchar_t.m4           |    2 +-
 libmissing/m4/wint_t.m4            |    2 +-
 libmissing/m4/xsize.m4             |    2 +-
 libmissing/m4/yield.m4             |    2 +-
 libmissing/memchr.c                |   26 +-
 libmissing/printf-args.c           |  211 +-
 libmissing/printf-args.h           |   55 +-
 libmissing/printf-parse.c          |  940 ++---
 libmissing/printf-parse.h          |   21 +-
 libmissing/size_max.h              |    2 +-
 libmissing/snprintf.c              |   12 +-
 libmissing/stddef.in.h             |   86 +
 libmissing/stdint.in.h             |   10 +-
 libmissing/stdio-write.c           |   48 +-
 libmissing/stdio.in.h              |  849 ++--
 libmissing/strdup.c                |    4 +-
 libmissing/string.in.h             |  360 +-
 libmissing/strndup.c               |    4 +-
 libmissing/strnlen.c               |    2 +-
 libmissing/tests/Makefile.am       |   80 +-
 libmissing/tests/glthread/thread.c |   34 +-
 libmissing/tests/glthread/thread.h |    2 +-
 libmissing/tests/glthread/yield.h  |    2 +-
 libmissing/tests/intprops.h        |   50 +-
 libmissing/tests/macros.h          |   64 +
 libmissing/tests/signature.h       |   48 +
 libmissing/tests/test-alloca-opt.c |    2 +-
 libmissing/tests/test-errno.c      |    2 +-
 libmissing/tests/test-lock.c       |   58 +-
 libmissing/tests/test-memchr.c     |   71 +-
 libmissing/tests/test-snprintf.c   |   46 +-
 libmissing/tests/test-stddef.c     |   38 +
 libmissing/tests/test-stdint.c     |    4 +-
 libmissing/tests/test-stdio.c      |   11 +-
 libmissing/tests/test-string.c     |    4 +-
 libmissing/tests/test-time.c       |   10 +-
 libmissing/tests/test-unistd.c     |   56 -
 libmissing/tests/test-vasnprintf.c |   23 +-
 libmissing/tests/test-vsnprintf.c  |   46 +-
 libmissing/tests/test-wchar.c      |   10 +-
 libmissing/tests/verify.h          |    6 +-
 libmissing/tests/zerosize-ptr.h    |   10 +-
 libmissing/time.in.h               |   34 +-
 libmissing/time_r.c                |    2 +-
 libmissing/unistd.in.h             |  578 ---
 libmissing/vasnprintf.c            | 8063 ++++++++++++++++++------------------
 libmissing/vasnprintf.h            |   17 +-
 libmissing/vsnprintf.c             |   12 +-
 libmissing/wchar.in.h              |  121 +-
 libmissing/xsize.h                 |    2 +-
 src/Makefile.am                    |    2 +-
 warn-on-use.h                      |   75 +
 106 files changed, 6968 insertions(+), 7012 deletions(-)

commit fb152c4c92e96a2d5a26e4307300deefbfd5e1b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 29 11:04:35 2010 +0100

    Correctly compare table name for IDMEFTime field
    
    The old implementation could use the CreateTime table, in place of
    the DetectTime table, when asked for the table handling a detect_time
    element.

 plugins/format/classic/classic-sql-join.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3ef573868ba897dcfc817876894dd326e6964de8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 13:32:58 2010 +0100

    Force upgrading copied count before next database retrieval
    
    This fix a problem where the offset was not correctly calculated
    when retrieving alert to be copied, when the previous number of
    events copied didn't exceed events_per_transaction.

 preludedb-admin.c | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit b834aa8015f1fe529cb108bf9342f0fd152f5f8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 13:02:53 2010 +0100

    Do not account for EOF return in loaded messages statistics

 preludedb-admin.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 8fd6982cab2c0eb6bbe1e269296cc7929f53bb55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 11:43:13 2010 +0100

    Error return propagation fix
    
    Correctly propagate error return on prelude_msg_read() error, fix
    a possible crash in case of invalid input message.

 preludedb-admin.c | 2 ++
 1 file changed, 2 insertions(+)

commit e8ee0396b926e1edae26f69cf61d4cd2d3e24435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 10:52:39 2010 +0100

    Fix events deletion/move bugs
    
    When deleting events without specifying the --count parameters, only
    half of the events would be deleted.
    
    When moving alert, only half of the alert would be moved.

 preludedb-admin.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit b7d60fbb66c09f0a188b5ce6387ed53c5efdcce7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 09:39:57 2010 +0100

    Fixes some warnings uncovered by -Wextra

 plugins/format/classic/classic-delete.c       | 5 ++---
 plugins/format/classic/classic-get.c          | 2 +-
 plugins/format/classic/classic-path-resolve.c | 2 +-
 plugins/format/classic/classic-sql-select.c   | 2 +-
 plugins/sql/mysql/mysql.c                     | 4 ++--
 plugins/sql/pgsql/pgsql.c                     | 8 +++++---
 plugins/sql/sqlite3/sqlite3.c                 | 5 +++--
 preludedb-admin.c                             | 2 +-
 src/preludedb-error.c                         | 2 +-
 src/preludedb-path-selection.c                | 4 ++--
 src/preludedb-plugin-sql.c                    | 2 +-
 src/preludedb-sql.c                           | 4 ++--
 src/preludedb.c                               | 2 +-
 13 files changed, 23 insertions(+), 21 deletions(-)

commit 3cd795ae63fee8a95b05f8f925200aab42e9d26c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 21 09:26:01 2010 +0100

    Whitespace police

 plugins/format/classic/classic-delete.c |  152 +-
 plugins/format/classic/classic-get.c    | 3192 +++++++++++++++----------------
 src/preludedb-error.c                   |   36 +-
 3 files changed, 1690 insertions(+), 1690 deletions(-)

commit 658a85e55df3cc7b4d123cb612df6be02814aa7d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 19 15:46:35 2010 +0100

    Fixes insertion failure for ProcessEnv

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ee268850d6f44f8cb2cc1594f7ec954282a7858a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jul 15 09:50:54 2009 +0200

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit b659b5dbaba9fdd0f0253d7056253dc472c77dca
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jul 15 09:48:23 2009 +0200

    libpreludedb distribution was missing SWIG generated bindings

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 89656057ba31c69ab0395243ff8a4c83d6952107
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 17:40:05 2009 +0200

    Remove deprecated

 bindings/perl/generate.sh   | 3 ---
 bindings/python/generate.sh | 3 ---
 2 files changed, 6 deletions(-)

commit 470ece71bf055781f77bb4e38ba605b68498651c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:53:14 2009 +0200

    Update NEWS, bump version number

 NEWS         | 11 +++++++++++
 configure.in |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)

commit 1bbcbf3dbe5b78305050c443406fc1295f3dd136
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:34:02 2009 +0200

    Pass make distcheck again

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c03dd0f03f8cdfe9b05a5f8018ddb1c52740f9f5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:21:17 2009 +0200

    Update gtk-doc, documentation

 docs/api/libpreludedb-decl.txt | 856 ++++++++++++++++++++---------------------
 gtk-doc.make                   |  47 ++-
 2 files changed, 463 insertions(+), 440 deletions(-)

commit c1233caa1df20652c75ef4fec6539da8779c0007
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 11:20:43 2009 +0200

    Fix compilation warning

 plugins/sql/mysql/mysql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit df9cb12498651abfa53ee456c92d1f82da6aff7b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 10:49:54 2009 +0200

    Update MySQL, PostgreSQL, and SQLite3 detection method
    
    Update to newer detection method based on Autoconf Macros Archives macros.
    This should fixes a number of detection problem (64 bits libdir), and make
    it easier to cross compile libpreludedb.

 configure.in                    | 145 ++++++-------------------------------
 m4/ax_lib_mysql.m4              | 145 +++++++++++++++++++++++++++++++++++++
 m4/ax_lib_postgresql.m4         | 152 +++++++++++++++++++++++++++++++++++++++
 m4/ax_lib_sqlite3.m4            | 153 ++++++++++++++++++++++++++++++++++++++++
 plugins/sql/mysql/Makefile.am   |   2 +-
 plugins/sql/pgsql/Makefile.am   |   4 +-
 plugins/sql/sqlite3/Makefile.am |   2 +-
 7 files changed, 476 insertions(+), 127 deletions(-)

commit ea29614ae5ac2acc345bacb7404632f2d50a86dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 10:36:06 2009 +0200

    Update autoconf generated files

 INSTALL | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 86 insertions(+), 21 deletions(-)

commit 29461dbe823796af968db56c2408fbdb3efa2c8f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 13 09:35:19 2009 +0200

    Remove libmissing.h dependency
    
    We used to have a single libmissing header including all GnuLib
    headers file. Now that GnuLib provides replacement for default
    system headers, there is no need to include "libmissing.h" in
    source code anymore.

 plugins/format/classic/classic-delete.c       |  2 +-
 plugins/format/classic/classic-get.c          |  2 +-
 plugins/format/classic/classic-insert.c       |  1 -
 plugins/format/classic/classic-path-resolve.c |  1 -
 plugins/format/classic/classic-sql-join.c     |  2 +-
 plugins/format/classic/classic-sql-select.c   |  2 +-
 plugins/format/classic/classic.c              |  2 +-
 plugins/sql/mysql/mysql.c                     |  1 -
 plugins/sql/pgsql/pgsql.c                     |  1 -
 plugins/sql/sqlite3/sqlite3.c                 |  1 -
 src/include/Makefile.am                       |  2 +-
 src/include/libmissing.h                      | 33 ---------------------------
 src/preludedb-path-selection.c                |  1 -
 src/preludedb-sql-settings.c                  |  1 -
 src/preludedb-sql.c                           |  1 -
 src/preludedb.c                               |  1 -
 16 files changed, 6 insertions(+), 48 deletions(-)

commit 4ec573b0304d10d66792f22b56e372a1c3a703b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 10 14:27:04 2009 +0200

    GnuLib update

 libmissing/Makefile.am          |  95 ++++++-
 libmissing/errno.in.h           |   7 +-
 libmissing/getpagesize.c        |  39 +++
 libmissing/m4/errno_h.m4        |   5 +-
 libmissing/m4/getpagesize.m4    |  29 ++
 libmissing/m4/gnulib-comp.m4    |  16 ++
 libmissing/m4/include_next.m4   |  32 ++-
 libmissing/m4/lib-link.m4       |   7 +-
 libmissing/m4/memchr.m4         |  86 ++++++
 libmissing/m4/mmap-anon.m4      |  59 ++++
 libmissing/m4/size_max.m4       |  17 +-
 libmissing/m4/stdio_h.m4        |   5 +-
 libmissing/m4/string_h.m4       |   6 +-
 libmissing/m4/unistd_h.m4       |  83 ++++++
 libmissing/memchr.c             | 172 ++++++++++++
 libmissing/memchr.valgrind      |  14 +
 libmissing/stdio.in.h           |  20 +-
 libmissing/string.in.h          |  17 +-
 libmissing/tests/Makefile.am    |  19 +-
 libmissing/tests/test-memchr.c  | 130 +++++++++
 libmissing/tests/test-stdio.c   |   8 +-
 libmissing/tests/test-string.c  |   8 +-
 libmissing/tests/test-unistd.c  |  56 ++++
 libmissing/tests/zerosize-ptr.h |  68 +++++
 libmissing/unistd.in.h          | 578 ++++++++++++++++++++++++++++++++++++++++
 25 files changed, 1548 insertions(+), 28 deletions(-)

commit d1190f4b40007040c853e9d6b859a4dafc962756
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 13 11:52:08 2009 +0200

    Fix regression introduced in libpreludedb 0.9.15:
    libpreludedb-config --plugin-dir would return incorrect result.

 configure.in | 1 +
 1 file changed, 1 insertion(+)

commit d15d1cd066f5d5da409c6b0472de6766a2517bcc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 18:43:48 2009 +0200

    Add autogenerated file to the repository.

 docs/api/libpreludedb-overrides.txt | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

commit 540d9f3cec220325ba3a434b31411813256af769
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 18:37:19 2009 +0200

    Documentation update.

 docs/api/libpreludedb-decl.txt | 696 ++++++++++++++++++++---------------------
 1 file changed, 348 insertions(+), 348 deletions(-)

commit 4e8cf7a6d525e1a21d5a3761a56147fc830c2a7b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 17:15:04 2009 +0200

    Automatic gitignore generation.

 Makefile.am                                |  23 ++++
 bindings/Makefile.am                       |  11 +-
 docs/Makefile.am                           |   2 +
 docs/api/Makefile.am                       |   2 +
 docs/manpages/Makefile.am                  |   2 +
 git.mk                                     | 183 +++++++++++++++++++++++++++++
 libmissing/Makefile.am                     |   2 +
 libmissing/tests/Makefile.am               |   2 +
 m4/Makefile.am                             |   8 ++
 plugins/Makefile.am                        |   2 +
 plugins/format/Makefile.am                 |   2 +
 plugins/format/classic/Makefile.am         |   2 +
 plugins/format/classic/include/Makefile.am |   2 +
 plugins/sql/Makefile.am                    |   2 +
 plugins/sql/mysql/Makefile.am              |   2 +
 plugins/sql/pgsql/Makefile.am              |   2 +
 plugins/sql/sqlite3/Makefile.am            |   2 +
 src/Makefile.am                            |   2 +
 src/include/Makefile.am                    |   2 +
 19 files changed, 254 insertions(+), 1 deletion(-)

commit 931654dd6509992d872b6a155d070cb70a67858e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 16:59:11 2009 +0200

    Update autogenerated file.

 INSTALL | 53 +++++++++++++++++++++++++++--------------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

commit 34b478bfa015db5ed64f5b53706e764826b8fb94
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 16:58:52 2009 +0200

    Automatically generate ChangeLog from git history.

 ChangeLog   | 1839 +----------------------------------------------------------
 Makefile.am |   13 +
 2 files changed, 16 insertions(+), 1836 deletions(-)

commit 8feffb192e83e004e042c2c048ab9bbe8198a9b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 12 15:10:21 2009 +0200

    Update GnuLib code, add missing GnuLib generated files.

 config.rpath                       | 672 +++++++++++++++++++++++++++++++
 libmissing/Makefile.am             | 226 +++++------
 libmissing/errno.in.h              | 155 ++++++++
 libmissing/float.in.h              |   6 +-
 libmissing/glthread/lock.c         |   5 +
 libmissing/glthread/lock.h         |   6 +-
 libmissing/glthread/threadlib.c    |   7 +-
 libmissing/m4/00gnulib.m4          |  30 ++
 libmissing/m4/alloca.m4            |   6 +-
 libmissing/m4/eoverflow.m4         |  70 ----
 libmissing/m4/errno_h.m4           | 112 ++++++
 libmissing/m4/extensions.m4        |  32 +-
 libmissing/m4/gnulib-cache.m4      |   4 +-
 libmissing/m4/gnulib-common.m4     |  41 +-
 libmissing/m4/gnulib-comp.m4       |  26 +-
 libmissing/m4/include_next.m4      |  99 ++++-
 libmissing/m4/intmax_t.m4          |  16 +-
 libmissing/m4/inttypes_h.m4        |  12 +-
 libmissing/m4/lib-ld.m4            |  14 +-
 libmissing/m4/lib-link.m4          |  56 ++-
 libmissing/m4/lib-prefix.m4        |  91 +++--
 libmissing/m4/lock.m4              |   8 +-
 libmissing/m4/longlong.m4          |   8 +-
 libmissing/m4/malloc.m4            |  41 --
 libmissing/m4/multiarch.m4         |  65 +++
 libmissing/m4/printf.m4            | 249 ++++++++----
 libmissing/m4/size_max.m4          |  14 +-
 libmissing/m4/stdint.m4            |  95 ++++-
 libmissing/m4/stdint_h.m4          |  12 +-
 libmissing/m4/stdio_h.m4           | 140 ++++---
 libmissing/m4/stdlib_h.m4          |  47 ---
 libmissing/m4/strdup.m4            |  26 +-
 libmissing/m4/string_h.m4          |   9 +-
 libmissing/m4/strndup.m4           |   8 +-
 libmissing/m4/strnlen.m4           |   8 +-
 libmissing/m4/thread.m4            |   6 +-
 libmissing/m4/threadlib.m4         |  51 ++-
 libmissing/m4/unistd_h.m4          |  63 ---
 libmissing/m4/vasnprintf.m4        |  56 ++-
 libmissing/m4/wchar.m4             |  62 ++-
 libmissing/m4/wchar_t.m4           |  10 +-
 libmissing/m4/wint_t.m4            |  10 +-
 libmissing/m4/xsize.m4             |   6 +-
 libmissing/m4/yield.m4             |   8 +-
 libmissing/malloc.c                |  57 ---
 libmissing/stdint.in.h             | 123 ++++--
 libmissing/stdio-write.c           | 148 +++++++
 libmissing/stdio.in.h              | 122 ++++++
 libmissing/stdlib.in.h             | 240 -----------
 libmissing/string.in.h             |  10 +-
 libmissing/tests/Makefile.am       |  39 +-
 libmissing/tests/glthread/thread.c | 256 ++++++------
 libmissing/tests/glthread/thread.h |  23 +-
 libmissing/tests/test-EOVERFLOW.c  |  32 --
 libmissing/tests/test-errno.c      | 117 ++++++
 libmissing/tests/test-lock.c       |  56 ++-
 libmissing/tests/test-stdlib.c     |  37 --
 libmissing/tests/test-unistd.c     |  44 --
 libmissing/tests/test-wchar.c      |   6 +-
 libmissing/time.in.h               |   6 +-
 libmissing/unistd.in.h             | 340 ----------------
 libmissing/vasnprintf.c            | 796 +++++++++++++++++++++++++++++++++----
 libmissing/wchar.in.h              | 225 ++++++++++-
 link-warning.h                     |  28 ++
 plugins/format/classic/Makefile.am |   2 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 plugins/sql/sqlite3/Makefile.am    |   2 +-
 src/Makefile.am                    |   2 +-
 69 files changed, 3675 insertions(+), 1728 deletions(-)

commit 408ca1ff428fcec96c3d1da0e2f8fd62a929fe01
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:59 2008 +0000

    Tags 0.9.15.1

commit 6cf60a6d1e69baf41228f113d6a663228402c676
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:39 2008 +0000

    Update NEWS, bump version

 NEWS         | 5 +++++
 configure.in | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 3cac3c8ff98b1dba737933e0d6c4b5d331cc3b2b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:37 2008 +0000

    Fix handling of the offset parameter.

 preludedb-admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 17cd0b646ce73b1f1ad433d974d44187c94fdd56
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:35 2008 +0000

    Add a THREAD_SUPPORT argument to AM_PATH_LIBPRELUDEDB()

 m4/libpreludedb.m4 | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

commit 1f0e69fcf0c32c25f36a44e33eb00f56879c46ce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:32 2008 +0000

    Add optional --thread option, to pull thread dependencies.

 libpreludedb-config.in | 43 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 36 insertions(+), 7 deletions(-)

commit dea95231adde83c79de358786e9710b4aa755f11
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:29 2008 +0000

    Explicitly disable libprelude thread dependencie.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f6f266ed31562e305869c844a676934ce89e1e47
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 9 12:20:27 2008 +0000

    Update from libprelude.

 m4/libprelude.m4 | 46 +++++++++++++++++++++++++++-------------------
 1 file changed, 27 insertions(+), 19 deletions(-)

commit e1572b8a7af7c0bf4cc395305f94ddec6dbf1273
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 14:04:32 2008 +0000

    Update NEWS, doc, bump version number.

 NEWS                                       | 17 +++++++++++++++++
 configure.in                               |  6 +++---
 docs/api/libpreludedb-decl.txt             | 27 +--------------------------
 docs/api/tmpl/libpreludedb-unused.sgml     | 24 ++++++++++++++++++++++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 24 ------------------------
 5 files changed, 45 insertions(+), 53 deletions(-)

commit c53c47d660d7b4f904b4ee74323766b18515653c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:50:27 2008 +0000

    Add tests subdir.

 libmissing/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit d64277db38e5b82d923edf19342515e06eea21dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:46:47 2008 +0000

    Add missing m4 macros.

 m4/ax_c_check_flag.m4  | 90 ++++++++++++++++++++++++++++++++++++++++++++++
 m4/ax_ld_check_flag.m4 | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 188 insertions(+)

commit c5774ec9d956a10c814df35c766614d7b5c5a91f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:38:36 2008 +0000

    Add missing m4 macro.

 m4/as-ac-expand.m4 | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

commit e0c11c84f604b6293807c9e38d88b89b91e5e8b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:46 2008 +0000

    Update GnuLib code.

 libmissing/Makefile.am       |  2 ++
 libmissing/m4/string_h.m4    |  4 +++-
 libmissing/m4/thread.m4      |  3 +++
 libmissing/string.in.h       | 12 ++++++++++++
 libmissing/tests/test-lock.c |  3 +++
 5 files changed, 23 insertions(+), 1 deletion(-)

commit 52e69fe20cde0380272cfa8731a808db8c588ffa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:42 2008 +0000

    Build system cleanup.

 Makefile.am                        |   5 +-
 configure.in                       | 180 +++++++++++++++++++-----------------
 m4/ax_cflags_gcc_option.m4         | 183 -------------------------------------
 m4/gtk-doc.m4                      |   4 +-
 plugins/format/classic/Makefile.am |   2 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 plugins/sql/sqlite3/Makefile.am    |   2 +-
 src/Makefile.am                    |   5 +-
 9 files changed, 107 insertions(+), 278 deletions(-)

commit efd3eb1a3fda21fcb560220d462d4dc8f0213635
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:38 2008 +0000

    Add description for the count command, describe more db settings arguments.

 preludedb-admin.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 9f872d210c8cab23d067f7d31a39abc16d847691
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 27 13:36:36 2008 +0000

    Whitespace police.

 NEWS | 354 +++++++++++++++++++++++++++++++++----------------------------------
 1 file changed, 177 insertions(+), 177 deletions(-)

commit 6778986e3d773315b6c6765066687ce9dc77af76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:20:30 2008 +0000

    Add missing tests.

 libmissing/glthread/lock.c      | 1053 +++++++++++++++++++++++++++++++++++++++
 libmissing/glthread/lock.h      |  927 ++++++++++++++++++++++++++++++++++
 libmissing/glthread/threadlib.c |   69 +++
 3 files changed, 2049 insertions(+)

commit f652acf811c34890fd8d0d53762119af8503414e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:12:52 2008 +0000

    Add GnuLib unit-tests.

 Makefile.am  | 3 +++
 configure.in | 1 +
 2 files changed, 4 insertions(+)

commit e9ce210f002e3b9bfef68dbc92193512f8e38eb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 15:12:49 2008 +0000

    Update GnuLib code, update lock.h inclusion path, add LTLIBTHREAD to LDFLAGS.

 libmissing/Makefile.am             |   27 +-
 libmissing/lock.c                  |  938 --------------------------
 libmissing/lock.h                  | 1105 ------------------------------
 libmissing/m4/extensions.m4        |    6 +-
 libmissing/m4/gnulib-cache.m4      |   15 +-
 libmissing/m4/gnulib-common.m4     |   30 +-
 libmissing/m4/gnulib-comp.m4       |  102 ++-
 libmissing/m4/gnulib-tool.m4       |   28 +-
 libmissing/m4/include_next.m4      |    4 +-
 libmissing/m4/lock.m4              |  313 +--------
 libmissing/m4/onceonly.m4          |   90 +++
 libmissing/m4/onceonly_2_57.m4     |   86 ---
 libmissing/m4/printf.m4            | 1309 ++++++++++++++++++++++++++++++++++++
 libmissing/m4/snprintf.m4          |   15 +-
 libmissing/m4/stdint.m4            |   20 +-
 libmissing/m4/stdio_h.m4           |   14 +-
 libmissing/m4/stdlib_h.m4          |    9 +-
 libmissing/m4/string_h.m4          |    2 +
 libmissing/m4/strndup.m4           |    8 +-
 libmissing/m4/thread.m4            |   15 +
 libmissing/m4/threadlib.m4         |  314 +++++++++
 libmissing/m4/vasnprintf.m4        |    3 +-
 libmissing/m4/vsnprintf.m4         |   15 +-
 libmissing/m4/yield.m4             |   19 +
 libmissing/snprintf.c              |    7 +-
 libmissing/stdio.in.h              |   20 +
 libmissing/stdlib.in.h             |   34 +-
 libmissing/string.in.h             |   16 +
 libmissing/tests/Makefile.am       |  196 ++++++
 libmissing/tests/glthread/thread.c |  206 ++++++
 libmissing/tests/glthread/thread.h |  369 ++++++++++
 libmissing/tests/glthread/yield.h  |  121 ++++
 libmissing/tests/intprops.h        |   77 +++
 libmissing/tests/test-EOVERFLOW.c  |   32 +
 libmissing/tests/test-alloca-opt.c |   62 ++
 libmissing/tests/test-lock.c       |  554 +++++++++++++++
 libmissing/tests/test-snprintf.c   |   72 ++
 libmissing/tests/test-stdint.c     |  360 ++++++++++
 libmissing/tests/test-stdio.c      |   30 +
 libmissing/tests/test-stdlib.c     |   37 +
 libmissing/tests/test-string.c     |   27 +
 libmissing/tests/test-time.c       |   29 +
 libmissing/tests/test-unistd.c     |   44 ++
 libmissing/tests/test-vasnprintf.c |  128 ++++
 libmissing/tests/test-vsnprintf.c  |   85 +++
 libmissing/tests/test-wchar.c      |   27 +
 libmissing/tests/verify.h          |  140 ++++
 libmissing/vasnprintf.c            |  279 +++++---
 libmissing/vsnprintf.c             |    7 +-
 libmissing/wchar.in.h              |   11 +-
 src/Makefile.am                    |    3 +-
 src/preludedb-sql.c                |    2 +-
 52 files changed, 4869 insertions(+), 2593 deletions(-)

commit 9624d2edef0cd71d556036e56938e3bdd8ed216b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:53:53 2008 +0000

    Check PostgreSQL version and use new escape method if possible
    to avoid a warning.

 configure.in              | 6 ++++++
 plugins/sql/pgsql/pgsql.c | 2 ++
 2 files changed, 8 insertions(+)

commit 828a54a429f9c8c05396f25c3ae336491ed56638
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:53:50 2008 +0000

    Whitespace police.

 configure.in | 70 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

commit 50f9becca2ba9c256f120d08af48296dde665707
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:58 2008 +0000

    Add a count command, printing the result of a COUNT() on the database.
    
    Do not fetch more than 'events-per-transaction' idents at once, work
    in a loop (fix #220, refs #305).
    
    Code cleanup, improved handling of interrupted transaction.

 preludedb-admin.c | 288 ++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 192 insertions(+), 96 deletions(-)

commit 38e83215263cec9cdf56ee3103f4919db0a3a43f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:56 2008 +0000

    Update gtk-doc files.

 gtk-doc.make | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

commit 510d28efe2d1c99626fe88e5ab1b6f3a8a66fec3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:54 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-sql-select.c | 220 ++++++++++++++--------------
 1 file changed, 110 insertions(+), 110 deletions(-)

commit 03cbd9eb84d3f421b4b1114e4cc86957592ddf5d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:51 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-sql-join.c | 386 +++++++++++++++---------------
 1 file changed, 193 insertions(+), 193 deletions(-)

commit 00232f5f713369be20e6bbab0bcfa3e8b19a47a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 14:41:47 2008 +0000

    Whitespace police.

 plugins/format/classic/classic-path-resolve.c | 346 +++++++++++++-------------
 1 file changed, 173 insertions(+), 173 deletions(-)

commit a0653e72c6938dccb012a8b1b9aef1685b35771f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 18 16:26:54 2008 +0000

    Include patch from Uwe Schwartz <usx303 at googlemail.com>,
    fixing SQLite and MySQL detection under MacOSX. Fix #296.

 configure.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit c8c587480b2c3972b64965970b628413c679a004
Author: Sebastien Tricaud <s.tricaud@inl.fr>
Date:   Wed Apr 16 12:03:58 2008 +0000

    changed manpage to new use

 docs/manpages/preludedb-admin.1 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit d8ba0546dfd55bff66e5d8a576f6820665b00fcc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 27 15:30:32 2008 +0000

    Update gtk-doc.make.

 gtk-doc.make | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

commit 7dc760cee1c1863ab0e682f7b36d18fc0c776343
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 27 15:30:23 2008 +0000

    Update gnulib code.

 libmissing/Makefile.am           | 19 +++++-----
 libmissing/alloca.in.h           |  4 ++-
 libmissing/m4/absolute-header.m4 | 49 -------------------------
 libmissing/m4/alloca.m4          |  8 ++---
 libmissing/m4/gnulib-cache.m4    |  2 +-
 libmissing/m4/gnulib-comp.m4     |  3 +-
 libmissing/m4/include_next.m4    |  7 ++--
 libmissing/m4/lib-link.m4        | 66 ++++++++++++++++++++++++----------
 libmissing/m4/string_h.m4        | 10 ++++--
 libmissing/m4/time_r.m4          |  6 ++--
 libmissing/m4/unistd_h.m4        |  6 ++--
 libmissing/m4/vasnprintf.m4      | 20 +++++++++--
 libmissing/printf-parse.c        | 40 ++++++++++++++++++++-
 libmissing/stdio.in.h            |  4 +--
 libmissing/string.in.h           | 78 +++++++++++++++++++++++++++++++---------
 libmissing/unistd.in.h           | 22 +++++++++++-
 libmissing/vasnprintf.c          | 55 +++++++++++++++++-----------
 libmissing/vasnprintf.h          |  4 +--
 libmissing/xsize.h               |  4 +--
 19 files changed, 266 insertions(+), 141 deletions(-)

commit 98ab0ed10307a9eeb5996451ebe5fdee68bdda49
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 5 11:16:13 2008 +0000

    Only use E'value' mode of escaping if PostgreSQL server version is
    higher or equal than 8.2.0.

 plugins/sql/pgsql/pgsql.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 5fc347765517c24c39ed98fdb039906e1e8c058e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 3 10:59:21 2008 +0000

    Update NEWS, bump version number.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 747cb4e3072bada00fe62b8e0de3e83d38bbad0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 3 10:59:12 2008 +0000

    Gnulib code update.

 libmissing/Makefile.am    |  7 +++++++
 libmissing/m4/stdlib_h.m4 |  7 ++++++-
 libmissing/m4/string_h.m4 |  3 +++
 libmissing/m4/unistd_h.m4 |  1 +
 libmissing/stdint.in.h    | 10 ++++++++--
 libmissing/stdlib.in.h    | 25 ++++++++++++++++++++++++-
 libmissing/string.in.h    |  5 ++++-
 libmissing/unistd.in.h    |  5 ++++-
 8 files changed, 57 insertions(+), 6 deletions(-)

commit 73305d7b4529a1b4a8d004f9007d3e8bceec0bca
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 2 12:46:29 2008 +0000

    Drop 'NOT NULL' constraint with a separate query (Fix #271).
    Thanks to Pierre Chifflier <p.chifflier@inl.fr> for pointing this out.

 plugins/format/classic/pgsql-update-14-7.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 55e8408711050b38ef7bd378635e5e1b5b5d9f83
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:32:31 2007 +0000

    Update NEWS, bump version number.

 NEWS         | 25 +++++++++++++++++++++++++
 configure.in |  4 ++--
 2 files changed, 27 insertions(+), 2 deletions(-)

commit 7c47b4f30e7b1e464c1b0d0bc5e72733ad471eac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:21:39 2007 +0000

    Configure the BINDINGS_CC variable, not modified by GnuLib autoconfiguration.

 configure.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit e9cf7b9eb9d5b9a482b0020d13fed567081fd299
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 19 15:20:03 2007 +0000

    Add missing sqlite-update-14-7.sql. Distribute schema update 14.7.
    Propagate CC variable for bindings compilation.

 bindings/Makefile.am                          | 6 +++---
 plugins/format/classic/Makefile.am            | 5 ++++-
 plugins/format/classic/sqlite-update-14-7.sql | 1 +
 3 files changed, 8 insertions(+), 4 deletions(-)

commit 581882da626033fdc2ce73ce767fe98f21fcbfcb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:22:33 2007 +0000

    Use the GnuLib "lock" module to provide portable recursive mutex
    access different architecture. We now ensure that a single query
    or transaction is held at a time.

 src/preludedb-sql.c | 90 +++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 66 insertions(+), 24 deletions(-)

commit f25667e90f216af52034fa58d033d5e58b81cc53
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:22:06 2007 +0000

    Add missing GnuLib module.

 libmissing/lock.c           |  938 ++++++++++++++++++++++++++++++++++++
 libmissing/lock.h           | 1105 +++++++++++++++++++++++++++++++++++++++++++
 libmissing/m4/lib-ld.m4     |  110 +++++
 libmissing/m4/lib-link.m4   |  709 +++++++++++++++++++++++++++
 libmissing/m4/lib-prefix.m4 |  185 ++++++++
 libmissing/m4/lock.m4       |  316 +++++++++++++
 6 files changed, 3363 insertions(+)

commit a92087c4807b2232580717fc0139cc936fa6777e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 18 11:19:12 2007 +0000

    Update GnuLib code, include the lock module.

 libmissing/Makefile.am         |  31 +-
 libmissing/alloca.in.h         |   2 +-
 libmissing/asnprintf.c         |   2 +-
 libmissing/dummy.c             |  42 --
 libmissing/float+.h            |   2 +-
 libmissing/float.in.h          |   2 +-
 libmissing/m4/float_h.m4       |   4 +-
 libmissing/m4/gnulib-cache.m4  |   4 +-
 libmissing/m4/gnulib-common.m4 |  45 +-
 libmissing/m4/gnulib-comp.m4   |  81 +++-
 libmissing/m4/intmax_t.m4      |  12 +-
 libmissing/m4/longlong.m4      |  75 +++-
 libmissing/m4/stdio_h.m4       |  15 +-
 libmissing/m4/stdlib_h.m4      |   4 +-
 libmissing/m4/string_h.m4      |   2 -
 libmissing/m4/ulonglong.m4     |  51 ---
 libmissing/m4/unistd_h.m4      |   6 +-
 libmissing/m4/vasnprintf.m4    |  52 ++-
 libmissing/m4/wint_t.m4        |   2 +-
 libmissing/malloc.c            |   2 +-
 libmissing/printf-args.c       |   2 +-
 libmissing/printf-args.h       |   2 +-
 libmissing/printf-parse.c      |  25 +-
 libmissing/printf-parse.h      |   2 +-
 libmissing/size_max.h          |   2 +-
 libmissing/snprintf.c          |   2 +-
 libmissing/stdint.in.h         |   7 +-
 libmissing/stdio.in.h          |   2 +-
 libmissing/stdlib.in.h         |   9 +
 libmissing/strdup.c            |   2 +-
 libmissing/string.in.h         |  47 +--
 libmissing/strndup.c           |   2 +-
 libmissing/strnlen.c           |   2 +-
 libmissing/time.in.h           |   2 +-
 libmissing/time_r.c            |   2 +-
 libmissing/unistd.in.h         |  57 ++-
 libmissing/vasnprintf.c        | 904 ++++++++++++++++++++++++++++++++++++-----
 libmissing/vasnprintf.h        |   2 +-
 libmissing/vsnprintf.c         |   2 +-
 libmissing/wchar.in.h          |   2 +-
 libmissing/xsize.h             |   2 +-
 41 files changed, 1186 insertions(+), 329 deletions(-)

commit f2579bce080c9476fd38c132ea4ade085b5dd0be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Nov 27 14:18:43 2007 +0000

    Fix a problem handling offset when using the "load" command.
    
    Additionnally, do not compute statistics by storing the number of useconds
    elapsed, since the statistics counter would wrap arround with long operation.

 preludedb-admin.c | 114 ++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 77 insertions(+), 37 deletions(-)

commit 642d5d510b89b5e1ef024ef60c436d8574422c79
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Nov 2 13:25:12 2007 +0000

    Use TEXT in place of VARCHAR for alert.assessment.impact.description (fix #265).

 plugins/format/classic/classic.c             | 2 +-
 plugins/format/classic/mysql-update-14-7.sql | 6 ++++++
 plugins/format/classic/mysql.sql             | 4 ++--
 plugins/format/classic/pgsql-update-14-7.sql | 6 ++++++
 plugins/format/classic/pgsql.sql             | 4 ++--
 plugins/format/classic/sqlite.sql            | 2 +-
 6 files changed, 18 insertions(+), 6 deletions(-)

commit 706cdc84d16a879c0bfcb60bf8258cfe03c30561
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 29 13:36:01 2007 +0000

    Fix OpenBSD compilation issue, thanks Alexandre Anriot <aanriot@atlantilde.com>
    for pointing out this (fix #227).

 src/preludedb-plugin-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit bdf468e120b1797f4cb22232481af02eb7a0809a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 25 13:23:45 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           | 146 ++++++++--
 libmissing/alloca.in.h           |  54 ++++
 libmissing/alloca_.h             |  54 ----
 libmissing/dummy.c               |  10 +-
 libmissing/float.in.h            |  58 ++++
 libmissing/float_.h              |  59 ----
 libmissing/m4/absolute-header.m4 |  49 ++++
 libmissing/m4/extensions.m4      |  52 +++-
 libmissing/m4/gnulib-comp.m4     |  55 ++--
 libmissing/m4/longlong.m4        |  13 +-
 libmissing/m4/malloc.m4          |  41 +++
 libmissing/m4/stdint.m4          |   4 +-
 libmissing/m4/stdio_h.m4         |  11 +-
 libmissing/m4/stdlib_h.m4        |  35 +++
 libmissing/m4/string_h.m4        |   3 +
 libmissing/m4/strndup.m4         |   6 +-
 libmissing/m4/strnlen.m4         |   6 +-
 libmissing/m4/time_h.m4          |   2 +-
 libmissing/m4/ulonglong.m4       |  13 +-
 libmissing/m4/unistd_h.m4        |  56 ++++
 libmissing/malloc.c              |  57 ++++
 libmissing/printf-parse.c        |   2 +-
 libmissing/stdint.in.h           | 513 +++++++++++++++++++++++++++++++++++
 libmissing/stdint_.h             | 508 -----------------------------------
 libmissing/stdio.in.h            | 382 ++++++++++++++++++++++++++
 libmissing/stdio_.h              | 312 ----------------------
 libmissing/stdlib.in.h           | 176 ++++++++++++
 libmissing/string.in.h           | 563 +++++++++++++++++++++++++++++++++++++++
 libmissing/string_.h             | 548 -------------------------------------
 libmissing/time.in.h             | 114 ++++++++
 libmissing/time_.h               | 114 --------
 libmissing/unistd.in.h           | 262 ++++++++++++++++++
 libmissing/vasnprintf.c          |  45 +++-
 libmissing/wchar.in.h            |  82 ++++++
 libmissing/wchar_.h              |  82 ------
 35 files changed, 2720 insertions(+), 1767 deletions(-)

commit 18e81ba546d6944abf4f6e490e826d110293dcb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:03:30 2007 +0000

    Handle case where an offset is set, but no limit were specified.

 plugins/sql/mysql/mysql.c     | 3 +++
 plugins/sql/pgsql/pgsql.c     | 5 ++++-
 plugins/sql/sqlite3/sqlite3.c | 5 ++++-
 3 files changed, 11 insertions(+), 2 deletions(-)

commit e16d16c7385a9910cbd29d9a5cb00c79b2692d84
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:03:24 2007 +0000

    Whitespace police.

 plugins/sql/sqlite3/sqlite3.c | 114 +++++++++++++++++++++---------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

commit d7c38decdbdb33551893c599eaa7322a61639fc0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 11 09:01:02 2007 +0000

    Whitespace police.

 plugins/sql/pgsql/pgsql.c | 46 +++++++++++++++++++++++-----------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

commit 3d85bf5f7eb096ffbe9db58a7284c3934b0c4e8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 12 13:52:40 2007 +0000

    Prevent MySQL session from timing out after 8 hours of inactivity.
    
    Upon connection to the MySQL server, set the wait_timeout session
    variable to 31536000 seconds (365 days).

 plugins/sql/mysql/mysql.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 2d7b91e08e033c29937ab0af9d76b6c433c4eadb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 12 13:48:17 2007 +0000

    Whitespace police.

 plugins/sql/mysql/mysql.c | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

commit caefe944dbf6774217592c65104b10614d770dbe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 6 17:35:10 2007 +0000

    Fix postgreSQL warning when inseting binary data.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit aadc9eb19401878f9e390e677faa46c25117cdb9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 6 17:35:04 2007 +0000

    Allow Python thread to run, while entering libpreludedb C function.
    
    Avoid Python thread from stalling while blocking libpreludedb function
    are waiting.

 bindings/libpreludedb_python.i | 7 +++++++
 1 file changed, 7 insertions(+)

commit 1eb62b3c5081f048ea747007f484b277a36121db
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 20 15:37:25 2007 +0000

    Update NEWS, documentation, bump version number.

 NEWS                           | 25 +++++++++++++++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  8 ++++----
 3 files changed, 31 insertions(+), 6 deletions(-)

commit 853bc7439c1d1ee84aeb6cc5fd7f43f54166bca9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 20 15:37:19 2007 +0000

    Make comparison for the type of operation case insensitive. Fix a typo.

 preludedb-admin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c332c96689f955f15b5a702d2306b97c5a80ef32
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 16 12:15:04 2007 +0000

    Update GnuLib code, include missing files (fix #250).

 libmissing/float+.h           | 148 ++++++++++++
 libmissing/float_.h           |  59 +++++
 libmissing/m4/float_h.m4      |  19 ++
 libmissing/m4/include_next.m4 | 107 +++++++++
 libmissing/m4/stdint.m4       | 395 ++++++++++++++++++++++++++++++++
 libmissing/m4/ulonglong.m4    |  48 ++++
 libmissing/m4/wchar.m4        |  54 +++++
 libmissing/stdint_.h          | 508 ++++++++++++++++++++++++++++++++++++++++++
 libmissing/wchar_.h           |  82 +++++++
 9 files changed, 1420 insertions(+)

commit 8f468f509b32a859fa79844a5e95e60f189334b8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:42 2007 +0000

    Give the delete table a decent size.
    Make count and offset 64 bits, in place of 32 bits.
    Stop processing on certain error.
    Correct preludedb-admin print example, and improve error message on
    invalid message type.

 preludedb-admin.c | 89 ++++++++++++++++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 41 deletions(-)

commit 371cdb5da1a3095b9c1f9e98cf459631ef74a6a9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:33 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           |  127 +-
 libmissing/alloca_.h             |    8 +-
 libmissing/m4/absolute-header.m4 |   44 -
 libmissing/m4/gnulib-cache.m4    |    2 +
 libmissing/m4/gnulib-comp.m4     |   14 +-
 libmissing/m4/longdouble.m4      |   31 -
 libmissing/m4/stdio_h.m4         |   42 +-
 libmissing/m4/string_h.m4        |    5 +-
 libmissing/m4/time_h.m4          |    4 +-
 libmissing/m4/vasnprintf.m4      |  137 +-
 libmissing/m4/wint_t.m4          |    2 +-
 libmissing/printf-args.c         |   56 +-
 libmissing/printf-args.h         |   28 +-
 libmissing/printf-parse.c        |   83 +-
 libmissing/printf-parse.h        |  115 +-
 libmissing/snprintf.h            |   29 -
 libmissing/stdio_.h              |  126 +-
 libmissing/string_.h             |   24 +-
 libmissing/time_.h               |   19 +-
 libmissing/vasnprintf.c          | 3147 ++++++++++++++++++++++++++++++++++----
 20 files changed, 3558 insertions(+), 485 deletions(-)

commit 2399d76f7c87daa6d9584a20b0e107cbb9602e82
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:12:16 2007 +0000

    Whitespace police.

 src/preludedb-sql.c | 184 ++++++++++++++++++++++++++--------------------------
 1 file changed, 92 insertions(+), 92 deletions(-)

commit d76560a6ce0697b135e67e03c0bf41e57149c3b9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:56 2007 +0000

    Whitespace police.

 src/preludedb-sql-settings.c | 154 +++++++++++++++++++++----------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

commit e03ba52c0d57eda3f0c40864dffa1b1b4591749c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:47 2007 +0000

    Whitespace police.

 src/preludedb-plugin-sql.c | 54 +++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

commit e14a5355972af7174ff7b44f20b9ba12a3424bd7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:33 2007 +0000

    Whitespace police.

 src/preludedb-plugin-format.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

commit fb6de82a906cb1a5e6df433150d99c64d4bbbeaf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 10 12:11:23 2007 +0000

    Whitespace police.

 src/preludedb-path-selection.c | 224 ++++++++++++++++++++---------------------
 1 file changed, 112 insertions(+), 112 deletions(-)

commit bd051d68e4895906fa28c0f9f0a76a24f4778686
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 6 15:41:52 2007 +0000

    Add mising docs/manpages/Makefile.am.

 docs/manpages/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit a6b13a54504530ab60dfeb4ba1fef7cc7ead51b6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 6 15:41:30 2007 +0000

    Update.

 gtk-doc.make | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit b899bf33967f84d03da08a50ef81619a8bcff983
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jun 9 07:29:13 2007 +0000

    preludedb-admin manpage, by Pierre Chifflier <chifflier@inl.fr> (fix #230).

 configure.in                    |  1 +
 docs/Makefile.am                |  2 +-
 docs/manpages/preludedb-admin.1 | 93 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 95 insertions(+), 1 deletion(-)

commit 85824ce61165b4452f0a05fd84991a1740f20cb7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jun 9 07:28:59 2007 +0000

    Whitespace police.

 src/include/preludedb.h |  32 ++---
 src/preludedb.c         | 332 ++++++++++++++++++++++++------------------------
 2 files changed, 182 insertions(+), 182 deletions(-)

commit fc001483e8dbcc852b28823486fd3ebba77b9557
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 7 09:19:06 2007 +0000

    Fix sqlite-update-14-5.sql, thanks to Pierre Chifflier <chifflier@inl.fr>.

 plugins/format/classic/sqlite-update-14-5.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 25bfcb95c932628620a84231ee0040a1c92f14ed
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jun 6 12:48:29 2007 +0000

    Speedup / simplify PostgreSQL update, although this require newer PgSQL version.

 plugins/format/classic/pgsql-update-14-6.sql | 28 +++++-----------------------
 1 file changed, 5 insertions(+), 23 deletions(-)

commit ed003665ff18555160aa94913688e5509e48a948
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 5 11:30:32 2007 +0000

    Fix multiple preludedb-admin issues
    
    All command now take a type argument (value should be alert or heartbeat),
    This is done to have a coherent implementation of the --offset and --count options.
    
    Fix --offset with the load command.
    
    Whitespace police.

 preludedb-admin.c | 509 ++++++++++++++++++++++++++----------------------------
 1 file changed, 244 insertions(+), 265 deletions(-)

commit d743859eea4ecc13e9df5e013903ca584907fa0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 5 08:08:50 2007 +0000

    Revert to schema version 14.6, which is not yet released (we
    previously bumped to 14.7 - that was not needed).

 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql.sql             |  2 +-
 plugins/format/classic/pgsql-update-14-6.sql | 35 ++++++++++++++++++++++++++
 plugins/format/classic/pgsql-update-14-7.sql | 37 ----------------------------
 plugins/format/classic/pgsql.sql             |  2 +-
 5 files changed, 38 insertions(+), 40 deletions(-)

commit 319218d78ceef35bc1216b2c31850c752c14e977
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 26 06:28:43 2007 +0000

    Patch by Pierre Chifflier <chifflier@inl.fr>, fixing
    type conversions preventing PostgreSQL to use indexes (fix #225).
    
    Additionally, update schema version number to 14.7.

 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql.sql             |  2 +-
 plugins/format/classic/mysql2pgsql.sh        |  2 +-
 plugins/format/classic/pgsql-update-14-7.sql | 37 +++++++++++++++
 plugins/format/classic/pgsql.sql             | 70 ++++++++++++++--------------
 5 files changed, 75 insertions(+), 38 deletions(-)

commit bec7116b56f776fde6e391e8cfba8f8f481a0c68
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:35 2007 +0000

    Fix compilation on system without ENOTSUP (fix #227):
    Include modified patch from Alexandre Anriot <aanriot@atlantilde.com>.

 src/preludedb-plugin-sql.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 2448e136849fb5f6f8c595a9fa5e865d16cf6d8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:32 2007 +0000

    More warnings.

 configure.in | 2 ++
 1 file changed, 2 insertions(+)

commit e9e8ff515ea1ecbf7c3cea755f3176db11ebae81
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue May 22 08:49:27 2007 +0000

    Slight optimisation: cache path count.

 src/preludedb-path-selection.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

commit ac660eef3e3210b16f3c6d8307606483ff2ca67a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:55:55 2007 +0000

    Fix column name.

 plugins/format/classic/pgsql-update-14-6.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 58e2045b5acc6c46fcabe635573d86f33ffb587a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:37:06 2007 +0000

    Track change in pgsql/sqlite.

 plugins/format/classic/pgsql.sql  | 522 ++++++++++++++++++++++++++++++++++++++
 plugins/format/classic/sqlite.sql | 485 +++++++++++++++++++++++++++++++++++
 2 files changed, 1007 insertions(+)

commit 4792353ab6bf8d1c7363bfab15d60537c99ea620
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:36:59 2007 +0000

    Bump schema version. Source and Target now use a 16 bits index (required for CorrelationAlert with large number of source/target). Correlation alert now use a 32 bits index (required to link large number of Alert together).

 plugins/format/classic/Makefile.am           |  5 +++-
 plugins/format/classic/classic.c             |  2 +-
 plugins/format/classic/mysql-update-14-6.sql | 29 +++++++++++++++++-
 plugins/format/classic/mysql.sql             | 44 ++++++++++++++--------------
 plugins/format/classic/pgsql-update-14-6.sql | 25 ++++++++++++++++
 5 files changed, 80 insertions(+), 25 deletions(-)

commit 236f78baa6c025df292fa1c4a03364da6c3d8369
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 2 12:36:52 2007 +0000

    Fix some convertion.

 plugins/format/classic/mysql-update-14-6.sql  | 2 ++
 plugins/format/classic/mysql2pgsql.sh         | 6 +++---
 plugins/format/classic/pgsql-update-14-6.sql  | 9 +++++++++
 plugins/format/classic/sqlite-update-14-6.sql | 1 +
 4 files changed, 15 insertions(+), 3 deletions(-)

commit 974734120dc70c7133ee23681a5b75eb079446fc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 14 10:42:35 2007 +0000

    Module path migration: move /trunk/libpreludedb /libpreludedb/trunk

commit 9c3a46a4f8c46de0756530a2254070ee47bec47e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 15:19:38 2007 +0000

    Update NEWS, doc. Bump version number.

 NEWS                           | 25 ++++++++++++++++++++++++-
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  4 ++--
 3 files changed, 28 insertions(+), 5 deletions(-)

commit eeba8ab0f098497f1c0e197d67f2cf7590588daf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 12:11:46 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am       |  79 ++++++-
 libmissing/dummy.c           |  16 +-
 libmissing/m4/gnulib-comp.m4 |  15 +-
 libmissing/m4/minmax.m4      |  41 ----
 libmissing/m4/snprintf.m4    |  24 +-
 libmissing/m4/stdio_h.m4     |  43 ++++
 libmissing/m4/string_h.m4    |  46 ++--
 libmissing/m4/time_h.m4      |  76 +++++++
 libmissing/m4/time_r.m4      |  10 +-
 libmissing/m4/vasnprintf.m4  |  31 ++-
 libmissing/m4/vsnprintf.m4   |  24 +-
 libmissing/minmax.h          |  60 -----
 libmissing/snprintf.c        |   7 +-
 libmissing/stdio_.h          | 192 ++++++++++++++++
 libmissing/string_.h         | 183 +++++++++++-----
 libmissing/time_.h           | 107 +++++++++
 libmissing/time_r.c          |   4 +-
 libmissing/time_r.h          |  52 -----
 libmissing/vasnprintf.c      | 512 ++++++++++++++++++++++++++++++++++++++++++-
 libmissing/vasnprintf.h      |  10 +-
 libmissing/vsnprintf.c       |   7 +-
 libmissing/vsnprintf.h       |  31 ---
 src/include/libmissing.h     |   5 +-
 23 files changed, 1263 insertions(+), 312 deletions(-)

commit e32aa1966c56621a5f7e41e621200fa03efc546b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 10:33:39 2007 +0000

    Patch from Rob Holand <rob@inversepath.com>: The \? and + syntax for sed is not supported using "basic regular expressions" on at least Darwin and
    DragonFly BSD (I didn't test other OS). You can use the \{0,1\} and \{1,\} syntax to achieve the desired result.

 plugins/format/classic/mysql2pgsql.sh  | 6 +++---
 plugins/format/classic/mysql2sqlite.sh | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

commit 233cafa668d343dd32259176b5dda174b0710884
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 17 09:43:43 2007 +0000

    Fix a field shift bug that happened after trying to retrieve an empty time field.

 plugins/format/classic/classic.c | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

commit e5a5f68f5536a6cd908a12f218e972eab215d019
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 18:06:58 2007 +0000

    Handle case-insensitive regex using lower().

 plugins/sql/sqlite3/sqlite3.c | 3 +++
 1 file changed, 3 insertions(+)

commit 86baa2c01b3a5d5950072f1ed41a02d4bdcfa1b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:53:40 2007 +0000

    Function declaration fix.

 src/include/preludedb-path-selection.h | 2 +-
 src/preludedb-path-selection.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 692b7c3f48d0c259362b1d676dc667518c7598cd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:46:23 2007 +0000

    Check format string if the compiler support it.

 src/include/preludedb-sql.h | 21 +++++++++++++++++++--
 1 file changed, 19 insertions(+), 2 deletions(-)

commit b9eb4f22eb3d335cee5c0b40c251024339c9914a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:45:21 2007 +0000

    When a given SQL function is not implemented by the driver, return an error with the missing function.

 src/preludedb-plugin-sql.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

commit 16f070a0d73aca17908a6cedb223e8aa9065694b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:44:00 2007 +0000

    Doc update.

 src/preludedb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 587487f8c06ff2c1b2ccfdf3c873e73b1fa51332
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 16:43:29 2007 +0000

    Make preludedb_sql_query() return the number of rows instead of 1. Ability to build LIKE value from AdditionalData.

 src/preludedb-sql.c | 41 ++++++++++++++++++++++++++++++-----------
 1 file changed, 30 insertions(+), 11 deletions(-)

commit 5ed6913e069157161ec0c47ceb34b6728d25fe81
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 15:56:18 2007 +0000

    Implement loading of multiple file. Improved error/information reporting.

 preludedb-admin.c | 117 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 63 insertions(+), 54 deletions(-)

commit 9884dc61ed4f2c7c09b67b4967b20decf28bc8a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 14:47:14 2007 +0000

    Implement Python only preludedb_get_values2, preludedb_get_heartbeat_idents2, preludedb_get_alert_idents2. Return rows and number of rows in a tupple.

 bindings/libpreludedb_python.i | 102 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)

commit 628ee985fbe60fd65ccb2ace5ffb230a17dfdc23
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 16 11:08:30 2007 +0000

    Fix insertion issue for ProcessArg and File Linkage.

 plugins/format/classic/classic-insert.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 94f707c8d9d3f001470ff4e2b7b9d584d655ffe2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 6 21:09:53 2007 +0000

    Fix error handling.

 plugins/format/classic/classic-get.c | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

commit 39de088c79b43d615b28fbc84968ef6f2a13574a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 19 10:27:33 2007 +0000

    Make sure we have an exception to process. This fix a crash with Python bindings upon signal reception. Fix #200.

 bindings/libpreludedb_python.i | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 75c1e95ff7cabb3cb3a69d1f73065ac247317465
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 16:05:04 2007 +0000

    Update NEWS. Bump version number.

 NEWS         | 7 +++++++
 configure.in | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 3e052759eaf9d58aa89ab823d78f04792930ad73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:29:00 2007 +0000

    Update GnuLib code.

 libmissing/Makefile.am           |  64 +++++-
 libmissing/m4/absolute-header.m4 |  44 ++++
 libmissing/m4/gnulib-common.m4   |  22 ++
 libmissing/m4/gnulib-comp.m4     |  38 +---
 libmissing/m4/strdup.m4          |  11 +-
 libmissing/m4/string_h.m4        |  80 +++++++
 libmissing/m4/strndup.m4         |   9 +-
 libmissing/m4/strnlen.m4         |  14 +-
 libmissing/m4/wint_t.m4          |  14 +-
 libmissing/printf-args.c         |  12 +-
 libmissing/printf-args.h         |  26 +--
 libmissing/printf-parse.c        |  20 +-
 libmissing/strdup.c              |   8 +-
 libmissing/strdup.h              |  39 ----
 libmissing/string_.h             | 467 +++++++++++++++++++++++++++++++++++++++
 libmissing/strndup.c             |   8 +-
 libmissing/strndup.h             |  32 ---
 libmissing/strnlen.c             |   4 +-
 libmissing/strnlen.h             |  32 ---
 libmissing/vasnprintf.c          |  36 +--
 src/include/libmissing.h         |   3 +-
 21 files changed, 775 insertions(+), 208 deletions(-)

commit f9979f90421296d3de515cc53fab5f81171c9ae4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:28:33 2007 +0000

    Correct libmissing inclusion path.

 plugins/format/classic/Makefile.am | 2 +-
 plugins/sql/mysql/Makefile.am      | 4 ++--
 plugins/sql/pgsql/Makefile.am      | 2 +-
 plugins/sql/sqlite3/Makefile.am    | 2 +-
 src/Makefile.am                    | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

commit 27140a6978a450a47ed08417b312e9fc0207d95a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:12:13 2007 +0000

    Fix copy / move operation.

 preludedb-admin.c | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

commit 1fb11c35ae460d91178163133d70b74bb75c4382
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 7 14:07:55 2007 +0000

    Fix possible NULL free().

 plugins/sql/sqlite3/sqlite3.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 24db0addb87a48c214d74d03ebbc3ca837ad9e6e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 8 13:34:28 2007 +0000

    Version bump.

 NEWS         | 7 ++++++-
 configure.in | 2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)

commit beb163f8a1c816f7ac865999bc9f11bc99c1d9f7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 8 13:23:53 2007 +0000

    Fix make installation error when Perl bindings are disabled.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4273738e9ec2999ec003a07b2952b5dcc815d8d8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:20:54 2007 +0000

    Forgot to update NEWS.

 NEWS | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 3dd55f6b5dc11f6742b3b0b851e2021d43d2d531
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:17:17 2007 +0000

    Update NEWS, documentation, Gnulib code. Bump version number.

 configure.in                  |  4 ++--
 libmissing/Makefile.am        |  2 +-
 libmissing/m4/gnulib-cache.m4 |  2 +-
 libmissing/m4/gnulib-comp.m4  | 28 +++++++++++++++++++++++++++-
 4 files changed, 31 insertions(+), 5 deletions(-)

commit fb67aaece41e17d4c89bbba6833f5ccc5de4a814
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 5 17:13:28 2007 +0000

    Fix make -j compilation. New configure --with-perl-installdirs flags: might be used to override default site perl installation.

 bindings/Makefile.am | 34 +++++++++++++++-------------------
 configure.in         | 14 ++++++++++++++
 2 files changed, 29 insertions(+), 19 deletions(-)

commit d1ba937f985dc5d3fb83215bb50173ae7e0a6ecc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 4 21:46:18 2007 +0000

    Small definition fix.

 plugins/sql/mysql/mysql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 148e166757b9a940a49c7ad95cfec7d55600391f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 30 14:57:31 2006 +0000

    Ignore inline keyword to prevent error with old SWIG version. Prevent preludedb_error_t redefinition error.

 bindings/libpreludedb.i                |  3 +++
 docs/api/libpreludedb-decl.txt         | 10 +---------
 docs/api/libpreludedb-sections.txt     |  1 -
 docs/api/tmpl/libpreludedb-unused.sgml |  9 +++++++++
 docs/api/tmpl/preludedb-sql.sgml       |  9 ---------
 5 files changed, 13 insertions(+), 19 deletions(-)

commit 8af470fac935adb497737f19b4b2761790b6c6da
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:51:17 2006 +0000

    Ooops.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d9dacbd965b7de5ff8ccddd1fc3890115918144b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:46:24 2006 +0000

    Make preludedb_sql_status_t a private bitfield, so that we can store multiple state.
    x

 src/include/preludedb-sql.h |  8 +----
 src/preludedb-sql.c         | 73 ++++++++++++++++++++++++---------------------
 2 files changed, 40 insertions(+), 41 deletions(-)

commit 7e21c2819b1f6acd6c01cd7d9d191f0e0d385d93
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 29 12:43:59 2006 +0000

    Generate bindings for the error handling API.

 bindings/libpreludedb.i | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 18067e6413e7a22732f5fefec5d7cd402bce4cad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 27 12:44:15 2006 +0000

    Don't duplicate call to update_sql_from_errno() and assert_connected, for function which call preludedb_sql_query() and preludedb_sql_escape().

 src/preludedb-sql.c | 32 +++++++-------------------------
 1 file changed, 7 insertions(+), 25 deletions(-)

commit de8f023ea8897cb8630d7e0fe329ac36ea6aaa23
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 26 14:29:12 2006 +0000

    Fix possible memory leak on query error with transaction enabled. In case ROLLBACK fail, provide the original error as well as the ROLLBACK error.

 src/preludedb-sql.c | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

commit de9b8d30a4f31d787dea92735ff748e190ed8f8c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Dec 21 09:06:38 2006 +0000

    Small Perl/Python detection improvement. Fix #182.

 configure.in | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

commit 1b51637e71ba5df2856b1ed30b61746b00e54daa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 20:33:59 2006 +0000

    Update GnuLib code, NEWS, documentation. Version bump.

 NEWS                           | 13 +++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  2 +-
 libmissing/strdup.h            | 12 +++++++++++-
 4 files changed, 27 insertions(+), 4 deletions(-)

commit b290f98e0c647b9fe122102bb35610805e986b2e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 17:50:06 2006 +0000

    Enable -no-cpp-precomp on Dawin. Add a few check.

 configure.in | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

commit b2f3d48b5264f09522b0bef3b08f58abf56beed3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 20 17:49:19 2006 +0000

    Remove deprecated, unportable inttypes.h inclusion. Fixe time.h inclusion.

 plugins/format/classic/classic-delete.c |  2 --
 plugins/format/classic/classic-get.c    |  1 -
 plugins/format/classic/classic-insert.c |  1 -
 plugins/format/classic/classic.c        |  1 -
 plugins/sql/mysql/mysql.c               |  2 --
 plugins/sql/pgsql/pgsql.c               |  2 --
 plugins/sql/sqlite3/sqlite3.c           |  1 -
 src/preludedb-sql.c                     | 14 +++++++++++---
 src/preludedb.c                         |  1 -
 9 files changed, 11 insertions(+), 14 deletions(-)

commit f1c0cdab056419c81caaafeacc7e462171daa807
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 10:08:23 2006 +0000

    Missing regexp include (no longer included from libmissing).

 plugins/sql/sqlite3/sqlite3.c | 1 +
 1 file changed, 1 insertion(+)

commit 3209101d8ba4210de0ffee8951ee4d6f4b24928e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 10:05:42 2006 +0000

    Update.

 src/include/libmissing.h | 17 -----------------
 1 file changed, 17 deletions(-)

commit 350d4d472fa855efd29402990f2c86f53ddd5c3f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 09:57:09 2006 +0000

    Update GnuLib code, remove un-needed dependencies.

 libmissing/Makefile.am           |  164 +-
 libmissing/alloca.c              |  489 -----
 libmissing/dummy.c               |   30 +
 libmissing/gettext.h             |  242 ---
 libmissing/m4/absolute-header.m4 |   44 -
 libmissing/m4/alloca.m4          |   28 +-
 libmissing/m4/codeset.m4         |   21 -
 libmissing/m4/eoverflow.m4       |   12 +-
 libmissing/m4/extensions.m4      |   64 +-
 libmissing/m4/gnulib-cache.m4    |    4 +-
 libmissing/m4/gnulib-comp.m4     |   87 +-
 libmissing/m4/longlong.m4        |   32 +-
 libmissing/m4/mbchar.m4          |   23 -
 libmissing/m4/mbiter.m4          |   17 -
 libmissing/m4/mbrtowc.m4         |   31 -
 libmissing/m4/memchr.m4          |   18 -
 libmissing/m4/regex.m4           |  199 --
 libmissing/m4/signed.m4          |   18 -
 libmissing/m4/size_max.m4        |   76 +-
 libmissing/m4/ssize_t.m4         |   21 -
 libmissing/m4/stdbool.m4         |  115 -
 libmissing/m4/stdint.m4          |  361 ----
 libmissing/m4/strcase.m4         |   39 -
 libmissing/m4/vasnprintf.m4      |   11 +-
 libmissing/m4/wcwidth.m4         |   30 -
 libmissing/malloc.c              |   35 -
 libmissing/mbchar.c              |   36 -
 libmissing/mbchar.h              |  478 -----
 libmissing/mbuiter.h             |  203 --
 libmissing/memchr.c              |  201 --
 libmissing/printf-args.c         |    4 +-
 libmissing/printf-args.h         |   10 +-
 libmissing/printf-parse.c        |   25 +-
 libmissing/regcomp.c             | 3858 ---------------------------------
 libmissing/regex.c               |   71 -
 libmissing/regex.h               |  668 ------
 libmissing/regex_internal.c      | 1742 ---------------
 libmissing/regex_internal.h      |  865 --------
 libmissing/regexec.c             | 4398 --------------------------------------
 libmissing/stdbool_.h            |  115 -
 libmissing/stdint_.h             |  456 ----
 libmissing/strcase.h             |   48 -
 libmissing/strcasecmp.c          |  103 -
 libmissing/strdup.c              |    4 +-
 libmissing/strncasecmp.c         |   63 -
 libmissing/strnlen1.c            |   36 -
 libmissing/strnlen1.h            |   40 -
 libmissing/vasnprintf.c          |   12 +-
 libmissing/wcwidth.h             |   77 -
 49 files changed, 296 insertions(+), 15428 deletions(-)

commit b39e98fab3d6cffdf4fa394c555515fa45518141
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 17 08:25:59 2006 +0000

    Map ssize_t to avoid a memory leak when calling preludedb_delete_alert|heartbeat_from_list().

 bindings/libpreludedb_python.i | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 3f8160f25830ffb898a8b05a67540d7e2453ff11
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 13 17:18:38 2006 +0000

    Print the filename... Not the file descriptor.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 339f49816abc4f2f1a5c11b87d86c5c0f86573ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 27 16:30:55 2006 +0000

    Apply modified patch from Alexandre Anriot <aanriot@atlantilde.com>: avoid using GNU sed extension.

 plugins/format/classic/mysql2sqlite.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4663eed4708290fc68f9233efd750ab60148571a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 6 13:56:03 2006 +0000

    Update NEWS, documentation. Version bump.

 NEWS                                       |  9 ++++
 configure.in                               |  4 +-
 docs/api/libpreludedb-decl.txt             |  6 +--
 docs/api/libpreludedb-sections.txt         | 12 +++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 78 ++++++++++++++++++++++++++++++
 docs/api/tmpl/preludedb.sgml               | 42 ++++++++++++++++
 6 files changed, 146 insertions(+), 5 deletions(-)

commit 6efd5200706e5448c32ae3c3217ee4fa3593d9c5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 5 15:41:42 2006 +0000

    Fix parameter name.

 src/include/preludedb.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 71d0d2ebf9e37bc6b1c56c2c49bff83a5e00059e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 5 12:34:12 2006 +0000

    Update gnulib code.

 libmissing/Makefile.am           |  79 ++++++-
 libmissing/alloca.c              |   4 +-
 libmissing/asnprintf.c           |   6 +-
 libmissing/m4/absolute-header.m4 |  44 ++++
 libmissing/m4/codeset.m4         |   6 +-
 libmissing/m4/extensions.m4      |  42 ++--
 libmissing/m4/gnulib-cache.m4    |   2 +
 libmissing/m4/gnulib-comp.m4     |   6 +
 libmissing/m4/intmax_t.m4        |   6 +-
 libmissing/m4/inttypes_h.m4      |   6 +-
 libmissing/m4/longlong.m4        |   6 +-
 libmissing/m4/mbchar.m4          |  13 +-
 libmissing/m4/regex.m4           |  38 +++-
 libmissing/m4/restrict.m4        |  38 ----
 libmissing/m4/signed.m4          |   7 +-
 libmissing/m4/stdint.m4          | 361 +++++++++++++++++++++++++++++++
 libmissing/m4/stdint_h.m4        |   6 +-
 libmissing/m4/strdup.m4          |   6 +-
 libmissing/m4/strndup.m4         |   9 +-
 libmissing/m4/strnlen.m4         |   6 +-
 libmissing/m4/time_r.m4          |   4 +-
 libmissing/malloc.c              |   7 +-
 libmissing/mbchar.c              |   6 +-
 libmissing/mbchar.h              |   5 +-
 libmissing/memchr.c              |   4 +-
 libmissing/printf-args.c         |   4 +-
 libmissing/printf-parse.c        |   6 +-
 libmissing/regex.c               |   4 +-
 libmissing/regex_internal.c      | 121 ++++++++---
 libmissing/regex_internal.h      |   4 +-
 libmissing/snprintf.c            |  14 +-
 libmissing/stdint_.h             | 456 +++++++++++++++++++++++++++++++++++++++
 libmissing/strcasecmp.c          |   6 +-
 libmissing/strdup.c              |   9 +-
 libmissing/strncasecmp.c         |   6 +-
 libmissing/strndup.c             |  43 +---
 libmissing/strndup.h             |  20 +-
 libmissing/strnlen.c             |   4 +-
 libmissing/strnlen1.c            |  23 +-
 libmissing/strnlen1.h            |  17 +-
 libmissing/time_r.c              |   4 +-
 libmissing/vasnprintf.c          |  26 +--
 libmissing/vsnprintf.c           |  35 ++-
 src/include/libmissing.h         |  21 +-
 44 files changed, 1241 insertions(+), 299 deletions(-)

commit 89d3a6ab6ee431d2cd53e7c2474cf5963d574b4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 12 10:27:23 2006 +0000

 plugins/format/classic/pgsql-update-14-5.sql | 2 --
 1 file changed, 2 deletions(-)

commit 29a07e230a454ac16e90867469bb6f9f8cb4f2b7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 11 15:08:33 2006 +0000

    Only export symbol starting with preludedb_

 src/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 79a89b8be6c765c9ba88287f0594073db2df22ef
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 11 15:07:36 2006 +0000

    Verbose error reporting in case of libpreludedb initialization failure.

 preludedb-admin.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit c0d95b6fb1c51119c5b8bf1ca6894a5b0261b588
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 16:05:22 2006 +0000

    Warning fix.

 preludedb-admin.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit feb50aa0944c9ab52e5f1cd2b245cdead250c97c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 15:16:10 2006 +0000

    Update documentation, GnuLib code, NEWS. Bump version number.

 NEWS                                       |  14 +++
 configure.in                               |  10 +-
 docs/api/libpreludedb-decl.txt             |  68 +++++++++++-
 docs/api/tmpl/preludedb-plugin-format.sgml |   4 +
 gtk-doc.make                               |  12 ++-
 libmissing/Makefile.am                     |   7 +-
 libmissing/gettext.h                       | 166 ++++++++++++++++++++++++++++-
 libmissing/m4/gnulib-cache.m4              |   3 +-
 libmissing/m4/gnulib-comp.m4               |   4 +-
 libmissing/m4/mbchar.m4                    |   6 +-
 libmissing/m4/onceonly_2_57.m4             |  12 +--
 libmissing/m4/regex.m4                     |   9 +-
 libmissing/m4/strndup.m4                   |  14 +--
 libmissing/m4/time_r.m4                    |   2 +-
 libmissing/m4/wcwidth.m4                   |  12 ++-
 libmissing/mbchar.h                        | 121 +++++++++++++++++++++
 libmissing/printf-args.c                   |  10 +-
 libmissing/regex.h                         |  11 +-
 libmissing/regex_internal.c                |  26 +++--
 libmissing/regex_internal.h                |   5 +-
 libmissing/snprintf.c                      |  32 ++++--
 libmissing/wcwidth.h                       |   9 +-
 22 files changed, 486 insertions(+), 71 deletions(-)

commit a171c4d9fbb0f62808319e64f8094b5dd5b45243
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:55:49 2006 +0000

    Datatype fixes. Error handling fixes.

 preludedb-admin.c | 46 ++++++++++++++++++++++++++--------------------
 1 file changed, 26 insertions(+), 20 deletions(-)

commit 704a00a5cdbe18735a7c77806711d4e25e43afb8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:55:09 2006 +0000

    Handle empty result idents case.

 plugins/format/classic/classic-delete.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 1637c78988faef5c486a03f4a9b3b1052b5da4b0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:54:34 2006 +0000

    Return 0 if preludedb_delete_alert|heartbeat_from_list() size argument is 0.

 src/preludedb.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit 0e03e8b48a7921cc24ca7e23d471beb0f11bb4ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 14:31:53 2006 +0000

    Build compatibility fix for SWIG > 1.3.27.

 bindings/libpreludedb_python.i | 3 +++
 1 file changed, 3 insertions(+)

commit 2c32643ae1655f588e597971c00cd21b339ce86a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 13:22:27 2006 +0000

    Improved statistic handling. Use preludedb_alert|heartbeat_delete_from_list() to benefit
    from list deletion performance improvement.

 preludedb-admin.c | 378 +++++++++++++++++++++++++++---------------------------
 1 file changed, 192 insertions(+), 186 deletions(-)

commit 1e55c0435e46234d912a53c37beb5c4d912d45a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 13:20:20 2006 +0000

    Delete from list function return ssize_t

 src/include/preludedb.h | 8 ++++----
 src/preludedb.c         | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

commit fc28ff6d3f8ba6b558f792167a6484f7818c6435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 10:11:45 2006 +0000

    Code documentation fixes: alert->heartbeat.

 src/preludedb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit ec82223508786cfa1b9d8a218d4619eae906d73b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 11 09:48:56 2006 +0000

    Implement an idea from Lex van Roon <r3boot@r3blog.nl.eu.org> to make it possible
    to delete a list of ident in a given table, rather than iterating ident and droping
    one ident per table at a time.
    
    This introduce 4 new API function:
    - preludedb_delete_alert_from_list() / preludedb_delete_heartbeat_from_list()
    - preludedb_delete_alert_from_result_idents() / preludedb_delete_heartbeat_from_result_idents()
    
    Implement workaround to revert to the old implementation in case the format plugin in use does
    not export the necessary function. Using these function to delete list of alert/heartbeat increase
    delete time by about 3000%.
    
    These functions still need to be hooked in preludedb-admin and prewikka so that the user might
    see the deletion performance improvement.

 bindings/libpreludedb_python.i                  |  21 ++
 plugins/format/classic/classic-delete.c         | 273 +++++++++++++++++++-----
 plugins/format/classic/classic.c                |   9 +-
 plugins/format/classic/include/classic-delete.h |   8 +
 src/include/preludedb-plugin-format-prv.h       |   4 +
 src/include/preludedb-plugin-format.h           |  32 ++-
 src/include/preludedb.h                         |   9 +
 src/preludedb-plugin-format.c                   | 114 ++++++++++
 src/preludedb.c                                 |  65 +++++-
 9 files changed, 478 insertions(+), 57 deletions(-)

commit 1865f49bd1f3dd0564cbca7e4e62eaf38638a332
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:25:44 2006 +0000

    Fix --with-(perl|python|swig) detection path ordering

 configure.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 1ee9323a571479d32209d2aa551481475dd26a75
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:18:49 2006 +0000

    Coding style fixes.

 src/preludedb-sql-settings.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 635a916af7e722efdd2a6c8207eeac47bcc6a0be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:14:35 2006 +0000

    Coding styles fixes. Error reporting fixes.

 src/preludedb-sql.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit f88a762b86f8f461d4501bcb9ba3cbe710166a88
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 06:09:13 2006 +0000

    Slight optimisations. Improved error reporting. Coding style fixes.

 src/preludedb-path-selection.c | 86 +++++++++++++++++++-----------------------
 1 file changed, 38 insertions(+), 48 deletions(-)

commit 3eb7976847fcfb6b6c75db739e5b11a50527970a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 05:54:49 2006 +0000

    Verbose error reporting on logfile open problem

 src/preludedb-sql.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 3b8a6cd2036807f7c66587567bfd8485a7cd2e8e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 2 05:53:43 2006 +0000

    Fix warnings.

 plugins/format/classic/classic-insert.c | 3 ++-
 plugins/sql/sqlite3/sqlite3.c           | 4 ++--
 src/preludedb-plugin-sql.c              | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

commit 55688ef553351d9e209cf5f27d8cb35900dd262f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jul 27 10:28:40 2006 +0000

    Since we don't generate binding for prelude-inttypes, bind prelude_bool_t manually.

 bindings/libpreludedb.i | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 34a48ccec0934be4230af7b75198ceb38d69b860
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jul 4 08:33:05 2006 +0000

    Bump version number, update NEWS/documentation.

 NEWS                           | 5 +++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

commit d81e94a5fccd3f2472edaa3dbc03987464625579
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 3 05:53:22 2006 +0000

    Update GnuLib code

 libmissing/Makefile.am       | 15 ++++++++++
 libmissing/alloca_.h         | 26 ++++++++--------
 libmissing/m4/gnulib-comp.m4 |  3 ++
 libmissing/m4/longlong.m4    | 39 ++++++++++++++++++------
 libmissing/m4/size_max.m4    | 45 ++++++++++++++--------------
 libmissing/m4/ssize_t.m4     | 21 +++++++++++++
 libmissing/m4/wcwidth.m4     | 26 ++++++++++++++++
 libmissing/mbchar.h          |  4 ++-
 libmissing/size_max.h        |  6 +++-
 libmissing/wcwidth.h         | 70 ++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 210 insertions(+), 45 deletions(-)

commit 6fd0a04f4fc4810911208f922c0a836c4f225208
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 3 05:52:22 2006 +0000

    Patch from Christian Wiese <cw@ixplanet.de>: update MySQL template schema version (fix #159)

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a22c0d36c626c52a88f4ee9b0c9b26a70bba1324
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:46:07 2006 +0000

    Update GnuLib code, documentation, NEWS. Bump version number.

 NEWS                                    |  18 +
 configure.in                            |   4 +-
 docs/api/libpreludedb-decl.txt          |   2 +-
 docs/api/tmpl/preludedb-plugin-sql.sgml |   3 -
 libmissing/Makefile.am                  |  12 +-
 libmissing/m4/extensions.m4             |   3 +
 libmissing/m4/gnulib-cache.m4           |   3 +-
 libmissing/m4/gnulib-comp.m4            |   5 +-
 libmissing/m4/longdouble.m4             |   7 +-
 libmissing/m4/regex.m4                  |   8 +-
 libmissing/m4/stdbool.m4                |   4 +-
 libmissing/m4/strndup.m4                |  36 +-
 libmissing/m4/time_r.m4                 |   3 +-
 libmissing/printf-args.c                |  21 +-
 libmissing/regcomp.c                    | 629 +++++++++++++++++-------------
 libmissing/regex.c                      |   7 +-
 libmissing/regex.h                      | 500 ++++++++++--------------
 libmissing/regex_internal.c             | 271 ++++++-------
 libmissing/regex_internal.h             | 195 ++++------
 libmissing/regexec.c                    | 669 ++++++++++++++++++--------------
 libmissing/strndup.c                    |   4 +-
 21 files changed, 1245 insertions(+), 1159 deletions(-)

commit 53af12f93200992ff3a0a32f9f3646fdc437e39c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:42:36 2006 +0000

    Fix pgsql requirement check

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e619b38a332e672c6a3a4cc2e086195752438dd2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 6 08:25:02 2006 +0000

    Update requirement, fix sqlite3/pgsql detection

 configure.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit a358cd4a30e8082e5a11074084f288c3eacfc49c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 08:48:56 2006 +0000

    Use --with instead of --enable for activating different component. Sanitisation work

 configure.in | 255 ++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 130 insertions(+), 125 deletions(-)

commit 475ba1397aceac1aa59b2c31f0ccf3ecf5b92d1b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 07:43:51 2006 +0000

    Update libprelude* m4

 m4/libprelude.m4   | 6 +++---
 m4/libpreludedb.m4 | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

commit ecdf1c27540e167cbffbfc529dbf0449deba6999
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 2 07:38:56 2006 +0000

    Add update code for constraint check.

 plugins/format/classic/pgsql-update-14-5.sql | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 99caf1902b27a8c31aaaa2e02145a0799c5000cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 15:38:23 2006 +0000

    Update for 14-5

 plugins/format/classic/Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 583639aab5074e217bbb6272d632392c2dc53c6a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:49:04 2006 +0000

    Some more fixes.

 plugins/format/classic/classic-insert.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit d3ea5b1fb281a6975bfd13dd6ed19f096fd72fc6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:27:04 2006 +0000

    Always use prelude_escape_binary() when we're inserting additional data. This is
    important even in case we're inserting a string, since the database field might be
    of a type that require binary kind of escaping. Fix #143.

 plugins/format/classic/classic-insert.c | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

commit d80cef0ee99a2d1aa29da563fb559b27bbd45295
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 1 14:25:23 2006 +0000

    Remove deprecated code.

 plugins/sql/pgsql/pgsql.c | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

commit d84f39edfed8a945fa5ffeeeaddf93387c53e5ec
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 26 09:48:30 2006 +0000

    PostgreSQL typing fix.

 plugins/format/classic/pgsql-update-14-5.sql | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

commit 43da98073db04f258b526e677aed87736b146c92
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Apr 21 09:13:59 2006 +0000

    Update for IDMEFv16 SnmpService class modification.
    Fix a bug where Service->ip_version would not be read from database.

 plugins/format/classic/classic-get.c          | 39 ++++++++++++++++++---------
 plugins/format/classic/classic-insert.c       | 22 ++++++++-------
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-5.sql  |  6 +++++
 plugins/format/classic/mysql.sql              |  4 ++-
 plugins/format/classic/pgsql-update-14-5.sql  |  6 +++++
 plugins/format/classic/sqlite-update-14-5.sql | 25 +++++++++++++++++
 7 files changed, 79 insertions(+), 25 deletions(-)

commit bc89d514ed8354b57a90aa4859019351df8259a4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 19 12:24:13 2006 +0000

    Fix warning

 plugins/sql/pgsql/pgsql.c | 66 +++++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 33 deletions(-)

commit 47c08769b528ed3d79e81390196b88f569eaa53c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Apr 10 12:35:12 2006 +0000

    Return meaningful error in case of parsing problem.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f5aaef0fa5eac6a7ea338bee46c54e1e54e96b48
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Apr 10 12:33:15 2006 +0000

    Upon connection to the database, set default date style to ISO (SET DATESTYLE TO 'ISO').
    This is needed since libpreludedb assume ISO format to parse database timestamp.
    
    Not doing this resulted in error when trying to read data from postgreSQL database
    if the user used specific lc_time setting in postgresql.conf.
    
    Fix #140.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dd6be853e9783e65dce82f7059fd869a4539c290
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 30 09:38:51 2006 +0000

    Update documentation, Gnulib code. Bump version number.

 NEWS                           |  9 +++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  6 +++---
 libmissing/m4/regex.m4         | 36 ++++++++++++++++++------------------
 libmissing/time_r.c            |  8 --------
 5 files changed, 32 insertions(+), 31 deletions(-)

commit 8a21a148c7c54b9df54ec228293633d50f024d06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 30 09:01:46 2006 +0000

    Replace --disable-global-transaction with --events-per-transaction.
    Restore global transaction on insert, but add a default global limit of 1000 events
    per transaction.

 preludedb-admin.c | 83 ++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 61 insertions(+), 22 deletions(-)

commit 4f74c354962082c289b44d17e20cd199468d0c3e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 29 13:38:23 2006 +0000

    Formatting tweak.

 src/preludedb-sql.c | 1 +
 1 file changed, 1 insertion(+)

commit c32edbff2852ec900aabd375fd55cc7eef77bc8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 29 08:47:57 2006 +0000

    Flush the log descriptor.

 src/preludedb-sql.c | 1 +
 1 file changed, 1 insertion(+)

commit 18b4ad38a33e207c5a6d42a9827bd5244a91a815
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 28 17:25:13 2006 +0000

    Disable global transaction on insertion since it might get to heavy on memory.

 preludedb-admin.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

commit 8504edfd73f6e0fafbf0ef595016044ccbb59b25
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 17:54:10 2006 +0000

    Update NEWS, bump version number.

 NEWS                               | 24 ++++++++++++++++++++++++
 configure.in                       |  8 ++++----
 docs/api/libpreludedb-decl.txt     | 21 ++++++++++++++++++---
 docs/api/libpreludedb-sections.txt |  3 +++
 docs/api/tmpl/preludedb.sgml       | 27 +++++++++++++++++++++++++++
 gtk-doc.make                       | 12 ++++++------
 6 files changed, 82 insertions(+), 13 deletions(-)

commit b75c3d76ebe7e60e66d0b1ac465ccaba507fdacd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 16:58:32 2006 +0000

    Dynamic PostgreSQL schema generation (this fix certain inefficient
    datatype that were used in the old version). Update schema would be hard
    to do for all postgreSQL version, thus using preludedb-admin copy for
    the update is required.

 plugins/format/classic/Makefile.am    |   8 +-
 plugins/format/classic/mysql2pgsql.sh |  22 ++
 plugins/format/classic/pgsql.sql      | 520 ----------------------------------
 3 files changed, 28 insertions(+), 522 deletions(-)

commit c72ddc000e4940cad564612a5105146f192768e2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 15:25:27 2006 +0000

    Fix invalid query, reported when using PostgreSQL.

 plugins/format/classic/classic-get.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit b49ee18fcf1438c5803a02706f36502af45a216e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 24 10:06:43 2006 +0000

    Use a global transaction surrounding all database operation rather than a per
    events transaction. Also add a --disable-global-transaction option to cancel
    this behavior.

 preludedb-admin.c | 43 +++++++++++++++++++++++++++++++------------
 1 file changed, 31 insertions(+), 12 deletions(-)

commit e4db32aa25f518b4fd4664cfd2754ad0ea877ddb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 23 10:20:46 2006 +0000

    Wrap insert and delete in one big transaction. Should speed up preludedb-admin operation.

 preludedb-admin.c | 63 ++++++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 48 insertions(+), 15 deletions(-)

commit b931ad50c920d777b3ef46e6809979422c632164
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 22 17:45:00 2006 +0000

    Update GnuLib code.

 libmissing/m4/regex.m4 | 41 +++++++++--------------------------------
 libmissing/regex.h     | 14 ++++++++------
 libmissing/time_r.c    | 14 +-------------
 libmissing/time_r.h    | 21 ++++++++-------------
 4 files changed, 26 insertions(+), 64 deletions(-)

commit 069ce06e479a4ec3cdc4de3698504769232a5dad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 22 17:42:36 2006 +0000

    Newer API permitting the caller to override default transaction handling
    (useful to speed up batch processing of events).

 src/include/preludedb.h |  10 +++++
 src/preludedb-sql.c     | 115 +++++++++++++++++++++++++++++++++++-------------
 src/preludedb.c         |  84 +++++++++++++++++++++++++++++++++++
 3 files changed, 178 insertions(+), 31 deletions(-)

commit d21288b344f0d6623cc7653c20c4a4b804049ceb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 21 16:25:24 2006 +0000

    We can't conditionally define the size of uint64_t since the typedef are directly
    handled by swig when generating the resulting source code. Thus revert to statically
    mapping int64_t to long long since it seem to work for everyone.

 bindings/libpreludedb.i | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

commit 7247b5f7d8612ed3552f641d4f13caee2da48ffd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 20 16:47:46 2006 +0000

    Wrap preludedb_check_version().

 bindings/libpreludedb.i | 2 ++
 1 file changed, 2 insertions(+)

commit 510f7e38df1d606f8fc11caf12a9fe3ccc9e93a2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 20 15:40:41 2006 +0000

    Use new IDMEF_LIST_APPEND primitive, require libprelude 0.9.6.

 configure.in                         |  2 +-
 plugins/format/classic/classic-get.c | 28 ++++++++++++++--------------
 2 files changed, 15 insertions(+), 15 deletions(-)

commit de60ad6224985eb90ac80ea2d357f5f91faba428
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 16 09:59:48 2006 +0000

    Add libprelude dependencie, since these plugin depend on libprelude symbols.

 plugins/sql/mysql/Makefile.am   | 4 ++--
 plugins/sql/pgsql/Makefile.am   | 4 ++--
 plugins/sql/sqlite3/Makefile.am | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

commit 24cb595e53c18c53eca856799a4f42827d022f8a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 8 11:54:09 2006 +0000

    Update GnuLib code, NEWS, bump version number.

 NEWS                        | 11 +++++++++++
 configure.in                |  2 +-
 libmissing/m4/extensions.m4 |  2 +-
 3 files changed, 13 insertions(+), 2 deletions(-)

commit 3cb387b0cad4f1bda174d776201c05865b9de17e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Mar 8 11:27:45 2006 +0000

    Update base schema version number to 14.4, thanks to Sebastien Tricaud <sebastien.tricaud@wengo.fr>
    for reporting this.

 plugins/format/classic/mysql.sql | 2 +-
 plugins/format/classic/pgsql.sql | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5928739d221383cc5276330ecef6f29ba720624e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 11:41:47 2006 +0000

    Prelude_AdditionalData data field is not NULL.

 plugins/format/classic/Makefile.am            |  5 ++++-
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-4.sql  |  2 ++
 plugins/format/classic/mysql.sql              |  3 ++-
 plugins/format/classic/pgsql-update-14-4.sql  |  2 ++
 plugins/format/classic/pgsql.sql              |  3 ++-
 plugins/format/classic/sqlite-update-14-4.sql | 20 ++++++++++++++++++++
 7 files changed, 33 insertions(+), 4 deletions(-)

commit bc53a048e9230b825c887c94e95a98cb9199c28e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:26:15 2006 +0000

    Set libprelude include path.

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 57d9906cec1c47ba2c238f78d72be63bae8d61ba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:25:36 2006 +0000

    Rely on prelude-inttypes.h for type mapping.

 bindings/libpreludedb.i | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit 06a8edb3d24d5b514907fdd5348fb12f2cde929c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Mar 6 10:24:30 2006 +0000

    Fix query time calculation.

 src/preludedb-sql.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 54f65e740ae01d858217b3e5732f2e76a735c8dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 28 09:29:42 2006 +0000

    Revert [7799], replace it with a configure time check. Fix PostgreSQL compile issue (#136).

 configure.in              | 4 ++++
 plugins/sql/pgsql/pgsql.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit dfb18de1663f06dd54adea9da4a82be6ba95603f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 21:45:43 2006 +0000

    Bump version to 0.9.5.1, bug fix release.

 NEWS                           | 5 +++++
 configure.in                   | 4 ++--
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

commit 56e3416524faa6e83c27dbe62d9b90544cbfa3be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 21:42:47 2006 +0000

    Correctly read database schema version.

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e24da3028439bb6b8f36f6f8912dee36395c6cb7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 18:19:34 2006 +0000

    Update NEWS, documentation, bump version number.

 NEWS                           | 14 ++++++++++++++
 configure.in                   |  4 ++--
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 17 insertions(+), 3 deletions(-)

commit 3863f38b45a0758006bb9e651b2c4f3554eac0c9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 18:13:34 2006 +0000

    Use %g for double formatting.

 plugins/format/classic/classic.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 0fa9fa06e0a22e0c9d7561fcd2500ab5ecfaade5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:51:53 2006 +0000

    Only start incrementing count when we are at the provided offset.

 preludedb-admin.c | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

commit 4373964996f5be2cda06516590bf783a80c4afd1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:45:59 2006 +0000

    Remove unused typemap.

 bindings/libpreludedb_python.i | 62 ------------------------------------------
 1 file changed, 62 deletions(-)

commit a8f8bbe01ccc354e1d4adf937df3bee8a9377725
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:41:43 2006 +0000

    Remove unreachable code.

 plugins/format/classic/classic.c | 3 ---
 1 file changed, 3 deletions(-)

commit e0e4b166c823edc8185d138a385703d3bc3de47a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 22 17:35:10 2006 +0000

    Fix a possible leak. Make schema version error verbose.

 plugins/format/classic/classic.c | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

commit 16a7306520eb6539053cc0ca014fa6d1594f75e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 19 22:27:08 2006 +0000

    Define type within libpreludedb.i to avoid duplication.

 bindings/libpreludedb.i        | 35 +++++++++++++++++++++++++++++++++++
 bindings/libpreludedb_perl.i   | 35 -----------------------------------
 bindings/libpreludedb_python.i | 35 -----------------------------------
 3 files changed, 35 insertions(+), 70 deletions(-)

commit 25ddd248f0ca912e5792700de0f014980e243132
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 19 22:16:14 2006 +0000

    Remove unused definition.

 src/preludedb-sql.c | 3 ---
 1 file changed, 3 deletions(-)

commit 18cf360223b1bc5bb7c21753c7372dcd3b856e2f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Feb 18 01:49:03 2006 +0000

    Fix important memory leak on Python preludedb_result_values_get_next().

 bindings/libpreludedb_python.i | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit b8c7eb94de74c5a1bb49a565696c0826e09188a6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 14 12:42:56 2006 +0000

    Include message count on error.

 preludedb-admin.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit ef916b944ddf48e6c072afbfe4941b3cf04ff0cf
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 14 01:28:35 2006 +0000

    Include patch from Emmanuel Saracco <esaracco@free.fr> to fix PostgreSQL
    header path.

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9cdab2f9156faf3ec654a7e1afd5aec75579664d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 11:28:44 2006 +0000

    Update documentation, NEWS, bump version number

 NEWS                                    | 23 +++++++++++++++++++++++
 configure.in                            | 10 +++++-----
 docs/api/libpreludedb-decl.txt          | 22 ++++++----------------
 docs/api/libpreludedb-sections.txt      |  5 +----
 docs/api/tmpl/libpreludedb-unused.sgml  | 16 ++++++++++++++++
 docs/api/tmpl/preludedb-error.sgml      |  8 ++++----
 docs/api/tmpl/preludedb-plugin-sql.sgml | 21 ++-------------------
 7 files changed, 57 insertions(+), 48 deletions(-)

commit f7ea6529741fe9a1b67e3ce1ffb6180b33939841
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 11:02:57 2006 +0000

    Update GnuLib code.

 libmissing/m4/extensions.m4 | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 15eb07778e861c9e1d3533af02696d905d5fee34
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 10:55:17 2006 +0000

    More fix for #129.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3b6e9319b3c5fd406c6652a40110aecdd5a98efc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 8 10:45:28 2006 +0000

    Cleanup, fix #129.

 src/preludedb-sql.c | 44 ++++++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 20 deletions(-)

commit 9cc58bc1651eb6dce641b9410395f0ea8c5f2210
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 15:09:21 2006 +0000

    Remove old bindings workaround used to catch preludedb error. This is un-needed
    since the latest error handling change introducing preludedb_strerror(). Error
    handling from bindings now work as expected.

 bindings/libpreludedb_perl.i   |  17 -----
 bindings/libpreludedb_python.i | 169 +----------------------------------------
 2 files changed, 2 insertions(+), 184 deletions(-)

commit c66ba825f049658addfafbb2eebce2bac584c7d8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 15:03:07 2006 +0000

    Restore preludedb_sql_plugin_get_error() for API compatibility purpose. Mark it as deprecated.

 src/include/preludedb-sql.h |  7 ++++++-
 src/preludedb-sql.c         | 19 +++++++++++++++++++
 2 files changed, 25 insertions(+), 1 deletion(-)

commit 3c4b81d6f3230f709cba80f6ace6cfcd1eb36496
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 14:56:28 2006 +0000

    Fix unused.

 preludedb-admin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 29654feba144ca462fdd6405e81318720ff007c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:51:23 2006 +0000

    Use preludedb_strerror() in place of errbuf.

 preludedb-admin.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

commit a023cb7c7d5a0fdf333acc3178dc0bda56201465
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:49:05 2006 +0000

    Check whether errbuf is set.

 src/preludedb.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit b6592d4524ee9520d5a3b6b0b0876f7050d931e6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:47:35 2006 +0000

    Rework error handling plugin API, so that it is suitable for any kind of driver,
    and provide more control over what's going on. The library API remain compatible,
    although the caller might now use preludedb_strerror() in order to get a detailed
    error instead of relying on errbuf or preludedb_get_error().

 plugins/sql/mysql/mysql.c          | 85 ++++++++++++++++++++------------------
 plugins/sql/pgsql/pgsql.c          | 61 +++++++++++++--------------
 plugins/sql/sqlite3/sqlite3.c      | 41 ++++++++----------
 src/include/preludedb-plugin-sql.h |  9 +---
 src/include/preludedb-sql.h        |  2 -
 src/preludedb-plugin-sql.c         | 21 +---------
 src/preludedb-sql.c                | 81 +++++++++++++++---------------------
 src/preludedb.c                    | 25 ++++-------
 8 files changed, 137 insertions(+), 188 deletions(-)

commit ed718d2efdb2c7c178d7a1e546d5fdb1f637bf51
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 13:40:56 2006 +0000

    Untabify.

 src/preludedb-sql.c | 642 ++++++++++++++++++++++++++--------------------------
 1 file changed, 321 insertions(+), 321 deletions(-)

commit 381d16f92f5ec262c719f87035b339fd6f3b5bba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 02:13:31 2006 +0000

    Handle NULL logfile.

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0894c3605db721b2c99d91a420482ad8843652c1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:58:24 2006 +0000

    Documentation update.

 docs/api/libpreludedb-decl.txt             | 584 +++++++++++++++++------------
 docs/api/libpreludedb-sections.txt         |  54 ++-
 docs/api/tmpl/preludedb-plugin-format.sgml | 195 ++++++----
 docs/api/tmpl/preludedb-plugin-sql.sgml    | 355 ++++++++++++++----
 docs/api/tmpl/preludedb-sql-settings.sgml  |  26 ++
 docs/api/tmpl/preludedb-sql.sgml           |   1 +
 6 files changed, 819 insertions(+), 396 deletions(-)

commit eaca1c0be3da3267c40fe14792ef9180b13eb586
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:58:08 2006 +0000

    Implement "move" command. Make argument to --query-logging option optional:
    if no argument is provided, logging happen on stdout. "-" is also decoded as stdout.

 preludedb-admin.c | 154 ++++++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 114 insertions(+), 40 deletions(-)

commit ab9b4738b1323c44559f939ebfb83e133c95a9c1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 7 01:57:02 2006 +0000

    If argument is NULL, log to stdout.

 src/preludedb-sql.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

commit 3ff3b84d250731e847fee7d69e818175fb0cf511
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 15:54:07 2006 +0000

    Log query time.

 src/preludedb-sql.c | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

commit 117ed71fecc97e90826bcee6b86d55c2b795291e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 12:16:07 2006 +0000

    Dynamic plugin allocation, since plugin structure is now opaque.

 plugins/format/classic/classic-insert.c | 15 +++---
 plugins/format/classic/classic.c        | 45 +++++++++--------
 plugins/sql/mysql/mysql.c               | 51 ++++++++++---------
 plugins/sql/pgsql/pgsql.c               | 56 ++++++++++++---------
 plugins/sql/sqlite3/sqlite3.c           | 87 ++++++++++-----------------------
 5 files changed, 120 insertions(+), 134 deletions(-)

commit 84c20125fbe42c505ab93e165644f6b9e6c86ed5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 6 12:15:31 2006 +0000

    Add sqlite3 plugin to list of dlopened object (for pre-opening support).
    Make the plugins structure opaque, so that better binary compatibility is achieved.
    Add extern C declaration to all public header files.
    
    Modify preludedb_sql_time_to_timestamp() so that it take a preludedb_sql_t object as input,
    since the timestamp format depend on the implementation.
    
    Implement default fallback for escape, timestamp function.
    Verbose error reporting.

 src/Makefile.am                           |  10 +-
 src/include/Makefile.am                   |   2 +-
 src/include/preludedb-plugin-format-prv.h |  48 ++++
 src/include/preludedb-plugin-format.h     | 118 ++++-----
 src/include/preludedb-plugin-sql.h        | 187 ++++++++++-----
 src/include/preludedb-sql.h               |  12 +-
 src/preludedb-plugin-format.c             | 139 +++++++++++
 src/preludedb-plugin-sql.c                | 387 ++++++++++++++++++++++++++++++
 src/preludedb-sql.c                       | 133 ++++------
 src/preludedb.c                           |  28 ++-
 10 files changed, 849 insertions(+), 215 deletions(-)

commit 5dc29d8229387d280e7baf0eb3a7d9908bc324ec
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:15:53 2006 +0000

    Add extern C.

 src/include/preludedb-path-selection.h | 8 ++++++++
 src/include/preludedb-sql-settings.h   | 9 +++++++++
 2 files changed, 17 insertions(+)

commit b6ad85657ee9dafee9e6dae7008926037c21fceb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:15:25 2006 +0000

    Add extern C. Fix recursive header inclusion.

 src/include/preludedb-version.h.in | 8 ++++++++
 src/include/preludedb.h            | 9 ++++++++-
 2 files changed, 16 insertions(+), 1 deletion(-)

commit a257771e6a1c57f2d382268fd5139811d4ba8a4e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:14:40 2006 +0000

    Verbose error handling.

 src/preludedb-error.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit f0f480a0fa99385501780b89fc9f49017cd7aadc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:14:16 2006 +0000

    Implement preludedb_error_verbose(). Add extern C.

 src/include/preludedb-error.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

commit a6bbb28be34668458a805ca7f8c85b9881083c31
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Feb 5 22:00:36 2006 +0000

    Update gnulib code.

 libmissing/m4/stdbool.m4 | 31 +++++++++++++++++++++++++++++--
 libmissing/stdbool_.h    | 38 ++++++++++++++++++++++++++++++--------
 libmissing/strndup.c     | 23 ++++++++++++++++++-----
 libmissing/strnlen.c     | 27 ++++++---------------------
 libmissing/vasnprintf.c  | 46 ++++++++++++++++++++++++----------------------
 5 files changed, 107 insertions(+), 58 deletions(-)

commit bf73bc3e8013e9c99a54f39d79b22d0b7523b76c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 14:19:13 2006 +0000

    Fix cast.

 plugins/format/classic/classic-get.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 2a31db4128fbf29a0e162f3216e87158eed5ed37
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 13:46:53 2006 +0000

    Do not mangle the pos argument (resulting in it being uninitialized) for IDMEF function
    that support it. This fix a bug where retrieved object where un-ordered.

 plugins/format/classic/classic-get.c | 87 +++++++++++++++++++++++++-----------
 1 file changed, 61 insertions(+), 26 deletions(-)

commit a891a01b83f306f2f76e1c605219d5f2e8d45f06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 2 12:21:32 2006 +0000

    Enforce list ordering.

 plugins/format/classic/classic-get.c | 58 ++++++++++++++++++++++++------------
 1 file changed, 39 insertions(+), 19 deletions(-)

commit cf6bb290688a2b1687996caccc159efe4b4ac1ea
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:40:26 2006 +0000

    Version bump.

 INSTALL                        | 69 +++++++++++++++++++++++-------------------
 NEWS                           | 14 +++++++++
 configure.in                   |  6 ++--
 docs/api/libpreludedb-decl.txt | 14 +++++++++
 4 files changed, 69 insertions(+), 34 deletions(-)

commit e99708159ba4904faf77a83c2607d2cb52442173
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:30:45 2006 +0000

    Update gnulib code.

 libmissing/Makefile.am        |   53 +-
 libmissing/alloca.c           |  491 +++++
 libmissing/gettext.h          |   78 +
 libmissing/m4/codeset.m4      |   21 +
 libmissing/m4/gnulib-cache.m4 |    6 +-
 libmissing/m4/gnulib-comp.m4  |   41 +-
 libmissing/m4/mbchar.m4       |   20 +
 libmissing/m4/mbiter.m4       |   17 +
 libmissing/m4/mbrtowc.m4      |   31 +
 libmissing/m4/memchr.m4       |   18 +
 libmissing/m4/regex.m4        |  187 ++
 libmissing/m4/stdbool.m4      |   88 +
 libmissing/m4/strcase.m4      |   39 +
 libmissing/malloc.c           |   36 +
 libmissing/mbchar.c           |   38 +
 libmissing/mbchar.h           |  352 ++++
 libmissing/mbuiter.h          |  203 ++
 libmissing/memchr.c           |  201 ++
 libmissing/regcomp.c          | 3779 +++++++++++++++++++++++++++++++++++
 libmissing/regex.c            |   68 +
 libmissing/regex.h            |  769 ++++++++
 libmissing/regex_internal.c   | 1656 ++++++++++++++++
 libmissing/regex_internal.h   |  915 +++++++++
 libmissing/regexec.c          | 4333 +++++++++++++++++++++++++++++++++++++++++
 libmissing/stdbool_.h         |   93 +
 libmissing/strcase.h          |   48 +
 libmissing/strcasecmp.c       |  105 +
 libmissing/strncasecmp.c      |   65 +
 libmissing/strnlen1.c         |   39 +
 libmissing/strnlen1.h         |   41 +
 30 files changed, 13826 insertions(+), 5 deletions(-)

commit dff7456c82cf0065d2a9f0cee8040aa60c44babe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 16 12:30:21 2006 +0000

    Remove hard <regex.h> dependencies, use libmissing provided dependencie/fallback rather.

 plugins/sql/sqlite3/sqlite3.c |  1 -
 src/include/libmissing.h      | 17 +++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

commit d6e488071c22b86b9839a2aa4de3738a30698715
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 14 09:43:29 2006 +0000

    Included modified SQLite3 patch from Rob Holland <rob@inversepath.com>,
    which implement the REGEXP operator, and SQLite3 compatible time constraint.

 plugins/sql/sqlite3/sqlite3.c | 106 ++++++++++++++++++++++++------------------
 1 file changed, 60 insertions(+), 46 deletions(-)

commit 04a3740f86eefb686ff67006f1fbf975fae16d4c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 14 08:26:09 2006 +0000

    Fix sqlite3 check.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 764992cb2224335fb0c018d5b51eae9dfe6eb006
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jan 12 20:22:57 2006 +0000

    Correctly use prelude_option_read() return value as the index for un-handled arguments.

 preludedb-admin.c | 66 ++++++++++++++++++++++++++++---------------------------
 1 file changed, 34 insertions(+), 32 deletions(-)

commit 9c0fbe80ec4a6a96680b47c952fdf47a1098dbfe
Author: Rob Holand <rob@inversepath.com>
Date:   Wed Jan 11 18:34:12 2006 +0000

    working extract code

 plugins/sql/sqlite3/sqlite3.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 98e2d268e61252fd4b96a04faf0fdae51f7a690e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 10 08:52:48 2006 +0000

    Automatic sqlite.sql generation.

 plugins/format/classic/Makefile.am | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

commit 13ad7cc80094c37e49cf3e5de0dd57aa558716fb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 9 15:32:40 2006 +0000

    Fix mysql2sqlite.sh

 plugins/format/classic/mysql2sqlite.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 5d7b444f6c461af755f65e2ab775c3784fb2dfb3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jan 9 15:31:00 2006 +0000

    Slight cleanup.

 plugins/sql/sqlite3/sqlite3.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit 5e062bad10d674f54a26477d7356d6f8560d5a1c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jan 3 23:41:19 2006 +0000

    Clearly state that linking from a GPL compatible program is okay.

 LICENSE.README | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

commit bdd541cb21f9ee81ae0ed94edfc269015175fd54
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 21 10:09:43 2005 +0000

    New experimental SQLite3 plugin, original implementation by
    Rob Holland <rob@inversepath.com>, with further work done by me.

 configure.in                           |  46 +++
 plugins/format/classic/Makefile.am     |  15 +-
 plugins/format/classic/mysql2sqlite.sh |  13 +
 plugins/sql/Makefile.am                |   2 +-
 plugins/sql/sqlite3/Makefile.am        |  11 +
 plugins/sql/sqlite3/sqlite3.c          | 620 +++++++++++++++++++++++++++++++++
 6 files changed, 704 insertions(+), 3 deletions(-)

commit 43c41a34aece249dcced79d5e588922dcd50e87a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 18:20:41 2005 +0000

    Use db_error() for accurate error reporting.

 preludedb-admin.c | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

commit 828e2d2725850bc3c1aa004bdd894fb33cdfa150
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 17:35:33 2005 +0000

    Oops

 src/preludedb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 95b5b40c44de33e26c1010f01701cd78971f7dae
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 17:33:06 2005 +0000

    Don't return NULL incase the buffer is too small. Truncate the error instead.

 src/preludedb.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 7d2edf114f9e9e302f84eccab7949d885ee651d7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 11:17:54 2005 +0000

    Implement "file" setting, for file based database (sqlite for example).

 src/include/preludedb-sql-settings.h | 4 ++++
 src/preludedb-sql-settings.c         | 1 +
 2 files changed, 5 insertions(+)

commit 34c13d5dc4519b38208265bcc2e5e4ccb7ae51f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 16 11:14:54 2005 +0000

    Avoid un-necessary call to strlen().

 src/preludedb-sql.c | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

commit b18b2296ec846d707b25582ea76476b4a5e4e1b5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 14 10:14:32 2005 +0000

    Schema sanitization and cleanup from Rob Holland <tigger@gentoo.org>.

 plugins/format/classic/mysql.sql | 123 ++++++++++++++++++++-------------------
 plugins/format/classic/pgsql.sql | 103 ++++++++++++++++----------------
 2 files changed, 113 insertions(+), 113 deletions(-)

commit d9ec22cb726b1c77c9b11f08c2b6fc9014db1f00
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Dec 12 09:28:13 2005 +0000

    Bump version number, update NEWS, documentation.

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit e18309dede223e3feb0bee5cf2f66f59b503729f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Dec 12 09:16:30 2005 +0000

    Set library soname.

 configure.in    | 9 +++++++++
 src/Makefile.am | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 637e1b415276c58de3487b4e8c1f0dde56b88f4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Dec 6 19:40:07 2005 +0000

    Fix character escape issue with multiple consecutive backslash. Keep
    a consistant state.

 src/preludedb-sql.c | 25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

commit 12c767d395a6687a62e19b6dd818d6b5af494a55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 28 14:23:51 2005 +0000

    Update NEWS. Bump version number.

 NEWS                           | 14 ++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 libmissing/m4/gnulib-comp.m4   |  1 +
 4 files changed, 17 insertions(+), 2 deletions(-)

commit c00be489418d01976d390c0dce097941f1eab111
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 28 14:04:21 2005 +0000

    Fix command help, and allow the save command to be used without specifying
    an output filename.

 preludedb-admin.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

commit b6ab92119acdfd9c628c40fa5dd8a94c747149ee
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 27 12:59:17 2005 +0000

    For automated build.

 autogen.sh | 2 ++
 1 file changed, 2 insertions(+)

commit 10804d320f09c599789abc264e5cb4623f697128
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Nov 16 16:07:40 2005 +0000

    Fix path.

 src/include/preludedb.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit a1a212edb5314fd3471c246d104b8a1a374bf2bd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Nov 16 16:04:24 2005 +0000

    Include standard libpreludedb headers.

 src/include/preludedb.h | 6 ++++++
 1 file changed, 6 insertions(+)

commit 12f9a445edf0c7b459e6c3fbde8a97547bfdac3c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 13 13:01:59 2005 +0000

    Make sure we return PRELUDEDB_ERROR_CONNECTION when the SQL query function
    return a server connection problem. So that the upper layer can trigger
    reconnection to the database.

 plugins/sql/mysql/mysql.c | 29 +++++++++++++++++++++++++++--
 plugins/sql/pgsql/pgsql.c |  4 +++-
 2 files changed, 30 insertions(+), 3 deletions(-)

commit d858d2a380f12a7a1001d5ead6afd45b6a06b756
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 13 12:30:21 2005 +0000

    Untabify.

 plugins/sql/mysql/mysql.c | 312 +++++++++++++++++++++++-----------------------
 plugins/sql/pgsql/pgsql.c | 312 +++++++++++++++++++++++-----------------------
 2 files changed, 312 insertions(+), 312 deletions(-)

commit 8e7d697da718bacc1808b95987734a3b1751ff96
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Nov 3 12:37:52 2005 +0000

    Make the delete command safer to use: forbid deletion until a criteria is provided.

 preludedb-admin.c | 33 +++++++++++++++++++++------------
 1 file changed, 21 insertions(+), 12 deletions(-)

commit 1dbff223cfb5bb1cd139f5bec8ab97360f73696d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 8 09:10:03 2005 +0000

    Oops

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c07424f51f7a1b47dc0044014ba1061aab3c0114
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 8 09:03:20 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to workaround invalid library run path added through MakeMaker? generated Makefile.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 787bc8ae05c7d6b459b9465c739b384f4746bf26
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Oct 7 13:53:17 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to fix Perl bindings Makefile
    generated with DESTDIR appended twice.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 05e9bd0d1164582beda487b1c0f9810f2718536c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 3 09:14:47 2005 +0000

    Patch from Daniel Black <dragonheart@gentoo.org> to workaround invalid library run path added through MakeMaker generated Makefile.

 bindings/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a6637d4b2c1267daa8d92b1cbfd56e952a51215f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 20 20:10:24 2005 +0000

    Bump to 0.9.0

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit 06cdd614be9122f9b9fedff3593002859f65180c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 19 20:38:09 2005 +0000

    Update GnuLib code.

 libmissing/m4/gnulib-cache.m4 | 3 +--
 libmissing/m4/gnulib-comp.m4  | 2 --
 libmissing/strndup.c          | 2 +-
 libmissing/strnlen.c          | 2 +-
 libmissing/time_r.c           | 2 +-
 5 files changed, 4 insertions(+), 7 deletions(-)

commit 14e7c345aab64ed8b5fb8925e678c836f21d870f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Sep 18 20:35:30 2005 +0000

    More arguments checkings.

 bindings/libpreludedb_perl.i   | 65 +++++++++++++++++++++++++++++-------------
 bindings/libpreludedb_python.i | 56 ++++++++++++++++++++++++++----------
 2 files changed, 86 insertions(+), 35 deletions(-)

commit 13f707e51359f96b9239087c6d576b57e65dcba2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 17:40:30 2005 +0000

    Version bump.

 NEWS                                   | 12 ++++++++++++
 configure.in                           |  2 +-
 docs/api/libpreludedb-decl.txt         |  7 +------
 docs/api/tmpl/libpreludedb-unused.sgml |  9 +++++++++
 docs/api/tmpl/preludedb-error.sgml     | 10 ----------
 5 files changed, 23 insertions(+), 17 deletions(-)

commit 4e59dad796190626beb80a112c701324aa4e05be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:58:09 2005 +0000

    Fix warnings.

 src/preludedb-sql-settings.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6893aacc48bace28cc884a4cb87fabe100efcace
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:52:32 2005 +0000

    Include config.h

 src/preludedb-error.c | 1 +
 1 file changed, 1 insertion(+)

commit 9a1cbe051ed6b632d23f81954b77b5768f08fde8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:52:07 2005 +0000

    Fix warning.

 src/include/preludedb-error.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dc3d11b0e45e278d7a78050afad0d8664246f23a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 12:51:35 2005 +0000

    Include libmissing.h

 plugins/format/classic/classic-delete.c     | 2 ++
 plugins/format/classic/classic-get.c        | 2 ++
 plugins/format/classic/classic-sql-join.c   | 2 ++
 plugins/format/classic/classic-sql-select.c | 2 ++
 plugins/format/classic/classic.c            | 2 ++
 5 files changed, 10 insertions(+)

commit af964c5f15a9b2154aa216f302242139cecd8a54
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 15 11:58:29 2005 +0000

    Compiler used to build Perl module might be different than compiler used to build libprelude.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a00287424a237bb0ad06f4ae1de5f6fc62ae16be
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 14 15:01:46 2005 +0000

    Build fixes.

 bindings/perl/Makefile.PL.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c67165ef0ee39361e4332768d7ff070c5d06a8ce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 12 14:41:17 2005 +0000

    Slight improvement.

 autogen.sh | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

commit fac1214828ac3821310f551f02e8cceaeb23c69c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Sep 8 21:47:49 2005 +0000

    Trick to avoid overwritting exception on error.

 bindings/libpreludedb_python.i | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

commit 2cdc9f3972477c4fb99fc53e15f09e8cc15cd277
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 7 12:52:31 2005 +0000

    Enforce --lgpl use when calling gnulib-tool.

 libmissing/Makefile.am        |  9 +++-
 libmissing/alloca_.h          |  6 +--
 libmissing/asnprintf.c        |  8 ++--
 libmissing/m4/gnulib-cache.m4 | 29 +++++++++++++
 libmissing/m4/gnulib-comp.m4  | 95 +++++++++++++++++++++++++++++++++++++++++++
 libmissing/m4/gnulib-tool.m4  | 33 +++++++++++++++
 libmissing/m4/gnulib.m4       | 54 ------------------------
 libmissing/m4/minmax.m4       | 17 ++++----
 libmissing/minmax.h           |  8 ++--
 libmissing/printf-args.c      |  8 ++--
 libmissing/printf-args.h      |  8 ++--
 libmissing/printf-parse.c     |  8 ++--
 libmissing/printf-parse.h     |  8 ++--
 libmissing/size_max.h         |  8 ++--
 libmissing/snprintf.c         |  8 ++--
 libmissing/snprintf.h         |  8 ++--
 libmissing/strdup.c           |  8 ++--
 libmissing/strdup.h           |  8 ++--
 libmissing/strndup.c          |  8 ++--
 libmissing/strndup.h          |  8 ++--
 libmissing/strnlen.c          |  8 ++--
 libmissing/strnlen.h          |  8 ++--
 libmissing/time_r.c           |  8 ++--
 libmissing/time_r.h           |  8 ++--
 libmissing/vasnprintf.c       |  8 ++--
 libmissing/vasnprintf.h       |  8 ++--
 libmissing/vsnprintf.c        |  8 ++--
 libmissing/vsnprintf.h        |  8 ++--
 libmissing/xsize.h            |  8 ++--
 src/include/libmissing.h      |  1 +
 30 files changed, 266 insertions(+), 154 deletions(-)

commit 1a5bd62d48848755548413910ba994412a0041ab
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Sep 7 12:52:03 2005 +0000

    Some reformatting.

 preludedb-admin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c06ee3f8bf664193c694cb9c91963da6592b65f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 5 16:39:31 2005 +0000

    - Stats beautification.
    - Fix saving of alerts.
    - Fix help.

 preludedb-admin.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

commit 5db7dd0faa6965cfc5cc51f03345ec1f573f414e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 5 09:12:07 2005 +0000

    Add Copyright / License notice.

 HACKING.README | 16 ++++++++++++++++
 LICENSE.README | 19 +++++++++++++++++++
 Makefile.am    |  1 +
 3 files changed, 36 insertions(+)

commit dbd31b9d46677cb62421b83a7a8fdb9b09cb38cc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 02:02:35 2005 +0000

    Bump version number

 NEWS                           | 7 +++++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

commit 95254184afc0f506d6609652be331c8edf3f4289
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 01:41:49 2005 +0000

    Remove pthread dependencies.

 bindings/libpreludedb.i | 1 -
 src/preludedb-sql.c     | 1 -
 2 files changed, 2 deletions(-)

commit 6a974733dbd85d3e2ae6dfe46db5c5f75cc338df
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Aug 25 01:41:27 2005 +0000

    Update GnuLib code.

 libmissing/m4/gnulib.m4        |  3 +++
 libmissing/m4/onceonly_2_57.m4 |  4 ++--
 libmissing/m4/strndup.m4       |  6 ++----
 libmissing/m4/strnlen.m4       | 10 +++++++---
 libmissing/strndup.c           | 10 +++-------
 libmissing/strnlen.h           | 32 ++++++++++++++++++++++++++++++++
 6 files changed, 49 insertions(+), 16 deletions(-)

commit 9304f9a44a45324b14683b17c5df3ed8cfd4297c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 24 15:44:10 2005 +0000

    Make sure we link correctly the Perl bindings to libpreludedb.

 bindings/Makefile.am         | 2 +-
 bindings/perl/Makefile.PL.in | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit fd37f89a54fb7558e100b1ca5dcdf1d35b82faad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 23:32:05 2005 +0000

    Fix broken compare.

 plugins/format/classic/classic-path-resolve.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 775015125de2b00b6c334966aa29a198dd488b0d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 17:48:22 2005 +0000

    Get rid of the gtk-doc dependencies for generating the configure script.

 gtk-doc.make | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 153 insertions(+)

commit c58998745522a9bb9aff4f2f9ad139a115e5c69f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 17:35:49 2005 +0000

    Add gtk-doc.m4, to avoid external dependencies.

 m4/gtk-doc.m4 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

commit fae94009a914aa1c079e2e21e103eeddee0b28c3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:06:17 2005 +0000

    Empty additional data are valid.

 plugins/format/classic/classic-get.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

commit 30b76c89c80fd2632d04b27755273349316d2fe5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:03:30 2005 +0000

    Oops, use prelude_error_get_code().

 plugins/format/classic/classic-sql-join.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4b68c13543d421d7947db0582da5805519571df9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 21 11:02:29 2005 +0000

    Remove deprecated.

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 790fa357fcbf33d193886c7d2a19f8e7658d7249
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Aug 20 17:56:18 2005 +0000

    Cleanup resolve_indexes() factor out some code.

 plugins/format/classic/classic-sql-join.c | 49 +++++++++++++++++--------------
 1 file changed, 27 insertions(+), 22 deletions(-)

commit ffec9fe5d9af71d3ebfa85ec5e2f1d698f8bca39
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Aug 20 17:54:16 2005 +0000

    Forgot to commit old version bump.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit d4bb1a11fbb7c23ed4269e89a51a667ebba47d91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 17 08:35:15 2005 +0000

    Explicit link from preludedb-admin to libprelude.

 Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 014cac81cb52a32538d988853281f353c418d48b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 23:26:54 2005 +0000

    Version bump.

 NEWS                                      |  22 ++++
 configure.in                              |   2 +-
 docs/api/libpreludedb-decl.txt            | 161 +++++++++++++-----------------
 docs/api/libpreludedb-sections.txt        |  25 ++---
 docs/api/tmpl/libpreludedb-unused.sgml    | 127 +++++++++++++++++++++++
 docs/api/tmpl/preludedb-plugin-sql.sgml   | 146 ++-------------------------
 docs/api/tmpl/preludedb-sql-settings.sgml |  52 ++++++++++
 docs/api/tmpl/preludedb-sql.sgml          |   9 --
 8 files changed, 289 insertions(+), 255 deletions(-)

commit 8b9c7e23d7a57e078542d65e9ae18ca505c10eef
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 23:11:54 2005 +0000

    Make sure the path have a minimum depth of 2.

 plugins/format/classic/classic-sql-join.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit e28cc881a93b4903fdf3c5fd4d4767d02ade4d24
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 16:43:28 2005 +0000

    Fix typos.

 bindings/libpreludedb_python.i | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a6dee5f52ed1ec760944143247f96436b6fad16f
Author: Rob Holand <rob@inversepath.com>
Date:   Tue Aug 16 12:48:22 2005 +0000

    Allow useful exceptions to be raised on preludedb errors

 bindings/libpreludedb_python.i | 138 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 137 insertions(+), 1 deletion(-)

commit a5a26b427d9263a027f278ea529ac667d5a0e3b1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 10:46:41 2005 +0000

    Re-establish signal handler for older *nix. Print statistics on SIGQUIT.

 preludedb-admin.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit f23678cde0ff55687a4323265503de5f14c9be14
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 09:55:04 2005 +0000

    Fix error check.

 preludedb-admin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit c9ad056d2f7dc37abdcedc7394fa1cf29f6ecf5c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 09:07:04 2005 +0000

    Fix FileAccess_Permission insertion.

 plugins/format/classic/classic-insert.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit ebe5303d738db3e14d6ad736c92315c469ae1f3f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 16 08:52:31 2005 +0000

    Get user_id tty when retrieving user_id.

 plugins/format/classic/classic-get.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit d3293556ee2c82af172b7e9592bb1e9e5b0b1c91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:53:01 2005 +0000

    Always pre-process substr.

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6238aec400f6726a72e267d5aac741437b84f6f5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:41:50 2005 +0000

    Always dump stats on success.

 preludedb-admin.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit e02270c89cf45362dc46cd5ac018ba4f29cdb5e1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 19:00:57 2005 +0000

    Fine grained libprelude operator now allow us to have similar behavior
    between different database implementation.
    
    MySQL: Default match become case insensitive, Implement REGEX matching.
    Implement case insensitive behavior for regexp/substr operation.
    
    PostgreSQL: Implement case insensitive behavior for the support operators,
    implement regexp() matching.
    
    Fix invalid UTC offset applied to broken down time match.

 plugins/sql/mysql/mysql.c          |  64 ++++++++++++++++------
 plugins/sql/pgsql/pgsql.c          |  69 +++++++++++++++++------
 src/include/preludedb-plugin-sql.h |   7 ++-
 src/include/preludedb-sql.h        |   2 -
 src/preludedb-sql.c                | 109 +++++++++++++++++++------------------
 5 files changed, 160 insertions(+), 91 deletions(-)

commit 0c27b1e05a8d112ac3f2376895cb7c34e7e9ec91
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 17:11:49 2005 +0000

    Improve error reporting.

 preludedb-admin.c | 69 +++++++++++++++++++++++++++++++++----------------------
 1 file changed, 42 insertions(+), 27 deletions(-)

commit 1143dee5f6cebfaa98787ee28ffca88fc50e894d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 16:24:57 2005 +0000

    Dump more statistics. Implement a print() command. Bug fixes.

 preludedb-admin.c | 272 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 230 insertions(+), 42 deletions(-)

commit e9b7d7fa79fec7b79199facc26f86d04bffe5372
Author: Rob Holand <rob@inversepath.com>
Date:   Mon Aug 15 13:31:00 2005 +0000

    fix include paths

 preludedb-admin.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit df985e8c71d4d31ec7ee6bc35734d327835b231d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 15 12:52:44 2005 +0000

    Fix include path.

 Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit cd4600bff4ea0a1205a5e175da96d7004a180f77
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Aug 12 08:36:25 2005 +0000

    Move idmef_criterion_operator_t to database operator translation to the SQL
    plugins, since these operator are not portable accross database. Implement
    the regex operator (which is different accros implementation and could not
    be done without this change).

 plugins/sql/mysql/mysql.c          | 35 ++++++++++++++-
 plugins/sql/pgsql/pgsql.c          | 32 +++++++++++++-
 src/include/preludedb-plugin-sql.h | 87 +++++++++++++++++++++++---------------
 src/include/preludedb-sql.h        |  2 +-
 src/preludedb-sql.c                | 33 +++------------
 5 files changed, 123 insertions(+), 66 deletions(-)

commit 8a71d8853e76a56e05103ed6e5d0a2fecb6e9fbe
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Aug 10 10:37:59 2005 +0000

    Handle SIGINT and SIGTERM so that the current transaction is terminated before
    processing the signal. Print a specific message when exiting because we were interupted by a signal, and provide the necessary offset to be used to resume the transaction.
    
    Add a --offset option, to skip processing of events until the provided offset is reached. This is useful for resuming failed/interupted transaction.
    
    Implement the offset and count limit to the load operation.
    
    Fix memory leak on database copy.

 preludedb-admin.c | 132 +++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 97 insertions(+), 35 deletions(-)

commit 2904bf4e96a22e47832f1b63df7713ce1dbc2ac2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:14:22 2005 +0000

    New preludedb-admin tool. Allow save/load/delete/copy of PreludeDB database.

 Makefile.am       |   5 +-
 preludedb-admin.c | 639 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 643 insertions(+), 1 deletion(-)

commit 15031149de1e2e83474804908c92a594b425c339
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:12:47 2005 +0000

    Handle type/query logging provided from SQL settings.

 src/preludedb-sql.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit 569e3f96ddb2ed69520d9099da18098251f96e67
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 8 21:11:40 2005 +0000

    Fix broken user/pass defaulting to "prelude". This forbid the user to have, for
    example, an empty database password. Plus this is not intuitive for the user.
    
    Provide a way to set the type of database through preludedb_sql_settings_t. Ditto
    for the query logging feature.

 src/include/preludedb-sql-settings.h | 8 ++++++++
 src/preludedb-sql-settings.c         | 6 ++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

commit 236bc04a5bd3ce9027a50894586b3cd6d60b704d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 2 10:42:55 2005 +0000

    Include missing schema. Bump version number.

 NEWS                                         | 5 +++++
 configure.in                                 | 2 +-
 plugins/format/classic/Makefile.am           | 5 +++--
 plugins/format/classic/mysql-update-14-3.sql | 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

commit 196e151f76e7e853a293f32773546b681f573fd1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 21:37:10 2005 +0000

    Update documentation, NEWS. Bump version number.

 NEWS                                        | 11 +++++++++++
 configure.in                                |  2 +-
 docs/api/libpreludedb-decl.txt              |  2 +-
 docs/api/tmpl/preludedb-error.sgml          |  3 +++
 docs/api/tmpl/preludedb-path-selection.sgml |  3 +++
 docs/api/tmpl/preludedb-plugin-format.sgml  |  3 +++
 docs/api/tmpl/preludedb-plugin-sql.sgml     |  3 +++
 docs/api/tmpl/preludedb-sql-settings.sgml   |  3 +++
 docs/api/tmpl/preludedb-sql.sgml            |  3 +++
 docs/api/tmpl/preludedb-version.sgml        |  3 +++
 docs/api/tmpl/preludedb.sgml                |  3 +++
 11 files changed, 37 insertions(+), 2 deletions(-)

commit 59aa5f7eb28bf5848ea50008a0461c9422fc183f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:40:31 2005 +0000

    Remode prelude-db-create reference.

 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68cb74c9a2a0b20f94ffa3c877ec5994d69f6157
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:39:54 2005 +0000

    Remove obsolete prelude-db-create script.

 configure.in            |   3 -
 prelude-db-create.sh.in | 405 ------------------------------------------------
 2 files changed, 408 deletions(-)

commit 49d7a24100ed92e2b658496ff4468dcd890d38dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:35:08 2005 +0000

    Update GnuLib code.

 libmissing/Makefile.am    |  5 ++---
 libmissing/m4/gnulib.m4   |  3 ++-
 libmissing/m4/size_max.m4 | 10 +++++-----
 libmissing/size_max.h     | 27 +++++++++++++++++++++++++++
 libmissing/time_r.h       | 13 ++++++++++++-
 5 files changed, 48 insertions(+), 10 deletions(-)

commit cf0c360c2d40035d50ae81973e74a15204f0faf2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 16:31:02 2005 +0000

    Rename Prelude_SNMPService to Prelude_SnmpService to avoid special case at place where
    we use this table. Fix SNMP table insertion error.
    
    Fix libpreludedb mapping for IDMEF FileAccess->permission member.
    Fix libpreludedb mapping for IDMEF WebService->arg member.
    
    Bump classic version to 14.3.
    
    
    Include MySQL and PostgreSQL schema upgrade by Sebastien Tricaud <toady@gscore.org>.

 plugins/format/classic/classic-delete.c       |  2 +-
 plugins/format/classic/classic-get.c          |  2 +-
 plugins/format/classic/classic-insert.c       |  4 ++--
 plugins/format/classic/classic-path-resolve.c | 32 ++++++++++++++++++++++++++-
 plugins/format/classic/classic.c              |  2 +-
 plugins/format/classic/mysql-update-14-3.sql  |  3 +++
 plugins/format/classic/mysql.sql              |  6 ++---
 plugins/format/classic/pgsql-update-14-3.sql  |  3 +++
 plugins/format/classic/pgsql.sql              |  6 ++---
 9 files changed, 48 insertions(+), 12 deletions(-)

commit 6d978394ab1c5d452c72971fbf7936da5238b04c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 1 14:50:39 2005 +0000

    Set FD_CLOEXEC on preludedb logfile.

 src/preludedb-sql.c | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

commit 928b2f652bb8b38f9a68b064e3d1fe47d0cad1a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 22 11:18:52 2005 +0000

    Escape '%' character, since the caller is expected to use '*'.

 src/preludedb-sql.c | 35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

commit 746c3a59bd1d7eaa7789ee355a621bc7e0fda262
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Jul 11 15:17:55 2005 +0000

    Forgot to check in rc8 bump.

 NEWS                           | 13 +++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 15 insertions(+), 2 deletions(-)

commit 992729e9aae214984bc0b63d6fc7bb399bd5be12
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jul 7 16:05:43 2005 +0000

    Update GnuLib code. Include time_r module.

 libmissing/Makefile.am      | 10 +++++--
 libmissing/m4/extensions.m4 | 30 ++++++++++++++++++++
 libmissing/m4/gnulib.m4     |  8 ++++--
 libmissing/m4/restrict.m4   | 38 +++++++++++++++++++++++++
 libmissing/m4/time_r.m4     | 38 +++++++++++++++++++++++++
 libmissing/time_r.c         | 69 +++++++++++++++++++++++++++++++++++++++++++++
 libmissing/time_r.h         | 46 ++++++++++++++++++++++++++++++
 src/include/libmissing.h    | 28 ++++++++++++++++++
 8 files changed, 263 insertions(+), 4 deletions(-)

commit 18a5b1db737254d6fecbd45c50c46cdf951f8d4e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Jul 3 10:52:44 2005 +0000

    Workaround MakeMaker issue where generated Perl Makefile would be invalid
    when UTF-8 is enabled.

 bindings/Makefile.am | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

commit db5680d6604322165cf107cf6a8db76e70e9dbe1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 1 08:35:08 2005 +0000

    Build/Link libmissing.

 Makefile.am             | 2 +-
 configure.in            | 1 +
 src/Makefile.am         | 2 +-
 src/include/Makefile.am | 3 +--
 4 files changed, 4 insertions(+), 4 deletions(-)

commit a36ace390420e87567f4020ff71248bf2cc4c597
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 1 08:24:11 2005 +0000

    Support GnuLib for portability.

 Makefile.am                                   |   2 +-
 configure.in                                  |  20 +-
 libmissing/Makefile.am                        |  74 +++
 libmissing/alloca_.h                          |  52 ++
 libmissing/asnprintf.c                        |  37 ++
 libmissing/m4/alloca.m4                       |  42 ++
 libmissing/m4/eoverflow.m4                    |  64 ++
 libmissing/m4/gnulib.m4                       |  46 ++
 libmissing/m4/intmax_t.m4                     |  61 ++
 libmissing/m4/inttypes_h.m4                   |  26 +
 libmissing/m4/longdouble.m4                   |  28 +
 libmissing/m4/longlong.m4                     |  23 +
 libmissing/m4/minmax.m4                       |  38 ++
 libmissing/m4/onceonly_2_57.m4                |  86 +++
 libmissing/m4/signed.m4                       |  17 +
 libmissing/m4/size_max.m4                     |  59 ++
 libmissing/m4/snprintf.m4                     |  15 +
 libmissing/m4/stdint_h.m4                     |  26 +
 libmissing/m4/strdup.m4                       |  17 +
 libmissing/m4/strndup.m4                      |  23 +
 libmissing/m4/strnlen.m4                      |  25 +
 libmissing/m4/vasnprintf.m4                   |  58 ++
 libmissing/m4/vsnprintf.m4                    |  15 +
 libmissing/m4/wchar_t.m4                      |  20 +
 libmissing/m4/wint_t.m4                       |  20 +
 libmissing/m4/xsize.m4                        |  13 +
 libmissing/minmax.h                           |  60 ++
 libmissing/printf-args.c                      | 118 ++++
 libmissing/printf-args.h                      | 136 ++++
 libmissing/printf-parse.c                     | 536 +++++++++++++++
 libmissing/printf-parse.h                     |  74 +++
 libmissing/snprintf.c                         |  60 ++
 libmissing/snprintf.h                         |  29 +
 libmissing/strdup.c                           |  56 ++
 libmissing/strdup.h                           |  29 +
 libmissing/strndup.c                          |  55 ++
 libmissing/strndup.h                          |  30 +
 libmissing/strnlen.c                          |  48 ++
 libmissing/vasnprintf.c                       | 901 ++++++++++++++++++++++++++
 libmissing/vasnprintf.h                       |  77 +++
 libmissing/vsnprintf.c                        |  58 ++
 libmissing/vsnprintf.h                        |  31 +
 libmissing/xsize.h                            | 108 +++
 plugins/format/classic/Makefile.am            |   2 +-
 plugins/format/classic/classic-insert.c       |   3 +
 plugins/format/classic/classic-path-resolve.c |   3 +
 plugins/sql/mysql/Makefile.am                 |   2 +-
 plugins/sql/mysql/mysql.c                     |   5 +-
 plugins/sql/pgsql/Makefile.am                 |   2 +-
 plugins/sql/pgsql/pgsql.c                     |   1 +
 src/Makefile.am                               |   2 +-
 src/include/libmissing.h                      |  11 +
 src/preludedb-path-selection.c                |   3 +
 src/preludedb-sql-settings.c                  |  26 +-
 src/preludedb-sql.c                           |   2 +
 src/preludedb.c                               |   5 +-
 56 files changed, 3345 insertions(+), 35 deletions(-)

commit 06edfde3637b8728e773edc5adbc388eb4ecefdd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Jun 19 16:16:33 2005 +0000

    Fix PRELUDE_PRIu64 usage.

 plugins/format/classic/classic-get.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 778e572bf0aa690563aad2d8d92eba03cb13bd21
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:56:07 2005 +0000

    gcc4 shut up.

 plugins/format/classic/classic-get.c    | 2 +-
 plugins/format/classic/classic-insert.c | 4 ++--
 plugins/format/classic/classic.c        | 3 ++-
 plugins/sql/mysql/mysql.c               | 2 +-
 src/preludedb-sql-settings.c            | 2 +-
 5 files changed, 7 insertions(+), 6 deletions(-)

commit 509e5e0d6215a4eabdaee328eb72257883f108ea
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:55:45 2005 +0000

    gcc4 shut up. Fix a possible memory leak.

 plugins/sql/pgsql/pgsql.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 5693cc43c478257d129a18743dccb1662b444111
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 10 12:54:49 2005 +0000

    Remove file installed in platform specific prefix.

 bindings/python/setup.py.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 5028ed9412a99ed0940afc639c92ede4ccb015ba
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 3 11:43:48 2005 +0000

    Remove debug spew.

 src/preludedb-sql.c | 2 --
 1 file changed, 2 deletions(-)

commit bbfc09a64fe191850d253b3d8ec73c9b336c7fe6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 2 17:38:19 2005 +0000

    Handle broken down criteria match.

 src/preludedb-sql.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 110 insertions(+), 7 deletions(-)

commit 604a252e30cf3768ea159268060f0612b5650170
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Jun 2 08:01:57 2005 +0000

    Improve error reporing in case plugin directory does not exist.

 src/preludedb.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit cc3d253accdf0d427cd94c852b5c91f3b1acb8d7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jun 1 08:05:48 2005 +0000

    Forgot to commit last libpreludedb version bump.

 NEWS                           | 5 +++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

commit f7428369affe3b9b6872390482a54c6831f41b5e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 14:11:27 2005 +0000

    Missing comma.

 plugins/format/classic/classic-delete.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ed04747a7f3b32703aca406749f0a915daa3e972
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 14:09:34 2005 +0000

    Bump version number. Update docs.

 NEWS                           | 22 ++++++++++++++++++++++
 configure.in                   |  2 +-
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 24 insertions(+), 2 deletions(-)

commit 05831c4146ebd24def6faa92c52619f0b839da2e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 07:39:13 2005 +0000

    Untabify.

 src/preludedb-sql-settings.c | 62 ++++++++++++++++++++++----------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

commit 87bfb3cb355af9107984de71379ad8c5ff991048
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 07:38:40 2005 +0000

    Fix warnings. Cleanup.

 src/preludedb-sql-settings.c | 34 +++++++++++++++++++++++++++++-----
 1 file changed, 29 insertions(+), 5 deletions(-)

commit e3f75aaf12b63957b1acdfa9e4de97bd0bf95e20
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 30 06:38:37 2005 +0000

    Cleanup default_table_name_resolver(), make it faster.
    Use time_without_usec_field_name_resolver() for Prelude_File time member.

 plugins/format/classic/classic-path-resolve.c | 57 ++++++++++++++++++---------
 1 file changed, 38 insertions(+), 19 deletions(-)

commit 250cd79ac86620951c792d1d3866cb75e9a328cd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 29 15:04:13 2005 +0000

    Fix warnings.

 src/preludedb-sql.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit daa271663107b48cac106eb6f7ad58657c494e2c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 26 16:56:36 2005 +0000

    Patch from Cedric Foll <cedric.foll@ac-rouen.fr>, that should reduce
    DELETE operation by a factor of 2.

 plugins/format/classic/classic-delete.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 0ab0316af2910a0f4feddd0f0532f43ceab4e868
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 19 10:49:15 2005 +0000

    Patch from Nicolas Delon, fixing DetectTime SQL join generation. DetectTime
    has no parent_type.

 plugins/format/classic/classic-sql-join.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit feb064203b40923b786cebc73b7b573904da980c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:49:06 2005 +0000

    Remove duplicate inode_number get.
    Handle file_type insertion.

 plugins/format/classic/classic-insert.c | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

commit 512804c36339f2a1f8df1e0d1629a16ce4f7a935
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:47:27 2005 +0000

    Handle file_type get. s/and/AND/.

 plugins/format/classic/classic-get.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit b8c195f5da1c31cc712b2eed2438500ee59a24e6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 16:46:33 2005 +0000

    Update.

 plugins/format/classic/Makefile.am | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit c1ea555d0be53a05e06732d77ebf560e06bc04eb
Author: Sebastien Tricaud <s.tricaud@inl.fr>
Date:   Wed May 18 16:41:44 2005 +0000

    database upgrade and missing fields added to pgsql.sql

 ChangeLog                                    |   8 +
 plugins/format/classic/classic.c             |   2 +-
 plugins/format/classic/mysql-update-14-2.sql |  29 +++
 plugins/format/classic/mysql.sql             |   5 +-
 plugins/format/classic/pgsql-update-14-2.sql | 295 +++++++++++++++++++++++++++
 plugins/format/classic/pgsql.sql             | 115 ++++++-----
 6 files changed, 393 insertions(+), 61 deletions(-)

commit a00eb7c7306215f17f5637ccb9b6383dadcfb6a4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed May 18 15:35:38 2005 +0000

    Fix portability problem with generated request. PostgreSQL might fail if the
    operator is not separated from operand.

 plugins/format/classic/classic-sql-join.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 6315f2bba9cc969e7e15d4907323889cd4c1b7ac
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu May 12 15:45:42 2005 +0000

    Remove trailing \n from PgSQL error return.

 plugins/sql/pgsql/pgsql.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)

commit b93eac614c903dcb5ba2ea33678cc7e663a043a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 9 08:09:05 2005 +0000

    Avoid not portable %hh convertion specifier.

 plugins/format/classic/classic-insert.c | 14 +++++++++++++-
 src/preludedb-sql.c                     | 33 ++++++++++++++++++++++++++++-----
 2 files changed, 41 insertions(+), 6 deletions(-)

commit eb05e2a3aecbc2eee3e9f1da5eadcce6dbe259d9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 23 12:11:48 2005 +0000

    Fix insertion of Prelude_FileAccess.

 plugins/format/classic/classic-insert.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 7a32e8d784b7f9338487dd5b3d619d88d0bd8160
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 19 14:39:01 2005 +0000

    fix bad indexes

 plugins/format/classic/mysql.sql | 27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

commit ed6b53aab22364d7d77822b31c504eae117aac03
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Apr 17 23:10:29 2005 +0000

    Bump version number, update documentation.

 NEWS                           | 15 +++++++++++++++
 configure.in                   |  7 ++++---
 docs/api/libpreludedb-decl.txt |  2 +-
 3 files changed, 20 insertions(+), 4 deletions(-)

commit 5af875120bae895afb9ebe396686ef77fab5bf8f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 16:07:43 2005 +0000

    fix duplicated code

 plugins/format/classic/classic-get.c | 10 ----------
 1 file changed, 10 deletions(-)

commit 039a881efc81681b2f9a0532142621463282fdf5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 09:17:42 2005 +0000

    fix returned values

 plugins/format/classic/classic-insert.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

commit 3b2734eddc8b608dab3a67eda4641bba838eb895
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 14 09:13:07 2005 +0000

    bug fix: confidence is a float, not an integer

 plugins/format/classic/classic-insert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f7b077de33e794a6c00f3164ba82988770026e19
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 13 06:36:51 2005 +0000

    fix bad quoting (thanks to Ruben Alonso <1rualons@rigel.deusto.es> for
    pointing that out)

 plugins/format/classic/pgsql-update-14-1.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ad0dd980183a11feab4a36dd57f34325b372f0bf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 16:05:40 2005 +0000

    update schema version

 plugins/format/classic/pgsql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit af3f4558a33eba1049e570a0f36331e286b01ee3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 15:37:39 2005 +0000

    bug fix: gmtoff and usec fields were inverted while building the query string,
    that lead to bad usec/gmtoff values when doing a preludedb_get_values

 plugins/format/classic/classic-path-resolve.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c4168080ac8a03e89f1e33849811a9d6b0997b64
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 12 09:22:04 2005 +0000

    bug fix: forgot to insert checksum index in Prelude_Checksum table

 plugins/format/classic/classic-insert.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit b8ae18088fb5167ae6b5b146b16a48163f2d992e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Apr 10 17:58:11 2005 +0000

    bug fix: forgot to update the schema version

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0792802e47a0ec4b9803d7ee4860e773d1daa687
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Apr 10 00:50:50 2005 +0000

    Update API documentation, NEWS. Bump version number.

 NEWS                                       | 29 ++++++++++++++++++-----
 configure.in                               |  3 ++-
 docs/api/libpreludedb-decl.txt             | 37 +++++++++++++++++++++++++++---
 docs/api/libpreludedb-sections.txt         |  7 +++++-
 docs/api/tmpl/libpreludedb-unused.sgml     |  8 +++++++
 docs/api/tmpl/preludedb-error.sgml         |  5 ++++
 docs/api/tmpl/preludedb-plugin-format.sgml | 18 +++++++++++++++
 docs/api/tmpl/preludedb.sgml               | 26 ++++++++++++++++++++-
 8 files changed, 121 insertions(+), 12 deletions(-)

commit 035bbae4c2bf36a674ef10eb7df8404fd73b73ff
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Apr 9 22:48:59 2005 +0000

    Fix MySQL header check.

 configure.in | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

commit b2691331cde8708e6bca6bf724bea2ce4e1fc513
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Apr 9 20:49:30 2005 +0000

    bug fix, bad function call

 src/preludedb-sql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d05b15df40f6374aa2756afc78437ca420147010
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Apr 9 12:13:48 2005 +0000

    manually define libprelude structures used by libpreludedb so that
    we are sure that the will be wrapped in libprelude and libpreludedb
    the same way (we got incompatibility errors between libprelude and
    libpreludedb with swig 1.3.24)

 bindings/libpreludedb.i | 6 ++++++
 1 file changed, 6 insertions(+)

commit ce7bef459298a735da07ec51bc86005c5da038cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Apr 8 10:16:07 2005 +0000

    Fix GnuIsm...

 bindings/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3d2e23e06cece3f33c52b37301c4a2c4622e0f50
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 7 11:53:43 2005 +0000

    fix filenames

 plugins/format/classic/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9ffb22887500cb86068911d668c775aeadaf3305
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 7 11:49:23 2005 +0000

    add schema version check
    add error codes for plugin load failure

 plugins/format/classic/classic.c             | 25 +++++++++++++
 plugins/format/classic/mysql-rc3_rc4.sql     |  1 -
 plugins/format/classic/mysql-update-14-1.sql |  2 ++
 plugins/format/classic/pgsql-update-14-1.sql |  1 +
 src/include/preludedb-error.h                |  8 ++++-
 src/include/preludedb-plugin-format.h        |  4 +++
 src/include/preludedb.h                      |  3 +-
 src/preludedb-error.c                        |  7 +++-
 src/preludedb-sql.c                          |  2 +-
 src/preludedb.c                              | 54 ++++++++++++++++++++--------
 10 files changed, 88 insertions(+), 19 deletions(-)

commit 33f9dc1f3f99eaea85c13899594a9427b677c2ce
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:26:12 2005 +0000

    dist and install the new upgrade script

 plugins/format/classic/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit cf3ae7d7df6593729a33edfffd743907e8d37cc4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:23:44 2005 +0000

    add an update script to fix the missing info value in the enum
    field of Prelude_Impact.severity

 plugins/format/classic/mysql-rc3_rc4.sql | 1 +
 1 file changed, 1 insertion(+)

commit cdf8e2e7258e49d2e7948f978639b86c9494c3c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Apr 6 18:17:58 2005 +0000

    bug fix: forgot the 'info' value of severity

 plugins/format/classic/mysql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f4b3dbc00c4ba02d6162fab9c5e4289e120d8749
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Apr 6 16:55:20 2005 +0000

    Fit plugins system change (version handling / re-entrancy).

 plugins/format/classic/classic.c | 18 ++++++++++------
 plugins/sql/mysql/mysql.c        | 18 ++++++++++------
 plugins/sql/pgsql/pgsql.c        | 22 +++++++++++--------
 src/preludedb-sql.c              |  6 +++++-
 src/preludedb.c                  | 46 ++++++++++++++++++----------------------
 5 files changed, 61 insertions(+), 49 deletions(-)

commit 8e66d52a339571577c7e499e40f53d97487014de
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 20:20:38 2005 +0000

    fixes

 src/include/preludedb.h |  2 +-
 src/preludedb.c         | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

commit 4e6cbb4a98dcfd919f7186a20aedbeb4b4ec990d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Apr 5 19:35:33 2005 +0000

    Fix libpreludedb detection.

 m4/libpreludedb.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1d4fa991564984c0bf0436bc702ebc4e04bc165d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 18:38:03 2005 +0000

    add preludedb_init/preludedb_deinit to do plugins loading/unloading
    safely

 bindings/libpreludedb_python.i | 31 +++++++++++++++++++
 src/include/preludedb.h        |  2 ++
 src/preludedb-sql.c            | 35 +--------------------
 src/preludedb.c                | 69 ++++++++++++++++++++++++++++--------------
 4 files changed, 81 insertions(+), 56 deletions(-)

commit e59fda3ffa6b8408411ecbd41695e04a3c8f9a4d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Apr 5 16:46:16 2005 +0000

    Update.

 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 48667f48d84bcf4377ce4d506542b7d76886a0c7
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Apr 5 11:09:52 2005 +0000

    remove preludedb-version.h dependancy, it caused the bindings to be
    always regenerated after the ./configure step (as preludedb-version.h
    is generated from preludedb-version.h.in)

 bindings/Makefile.am | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit dfe90ab9eebc1d4df6d7d74b7072fb938eb31209
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Apr 1 14:22:44 2005 +0000

    fix schema for mysql 3.23, it does not seem to support index length
    when the index is directly created in the table, thanks to
    Michael Kiessling <patter_xx@arcor.de> for pointing this out and for
    debugging help

 plugins/format/classic/mysql.sql | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 076cc966dbc4cc0e67f648dcebb6e33038e8439a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 21:33:15 2005 +0000

    Bump to 0.9.0-rc3.

 NEWS         | 5 +++++
 configure.in | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit eee383e8fc5c51c529dcc1d0d739da948204d87c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 20:31:17 2005 +0000

    Fix Debian specific PgSQL plugin loading problem.

 plugins/sql/pgsql/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d348bc68dc2b290aa07ce5b0eea2d35ea326bb8b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 31 17:52:19 2005 +0000

    Bump version to libpreludedb-0.9.0-rc2. Update NEWS.

 NEWS         | 13 +++++++++++--
 configure.in |  2 +-
 2 files changed, 12 insertions(+), 3 deletions(-)

commit 7e6b98b7c7501fe6e4fd297ab848feb5dc1cd6c2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Mar 31 17:14:39 2005 +0000

    fix library link path order, CFLAGS propagation and perl make clean

 bindings/Makefile.am         | 2 +-
 bindings/perl/Makefile.PL.in | 6 +++---
 bindings/python/setup.py.in  | 6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)

commit 7f39cd8a5bb17e92aedea57970409954477d9e91
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 29 16:17:28 2005 +0000

    add a version field to the _format table so that
    we can keep track of different versions of the same
    format

 plugins/format/classic/mysql.sql | 5 +++--
 plugins/format/classic/pgsql.sql | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit fbfe6d9dc491649c51f5ac43e6325fef64859e0b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 13:47:17 2005 +0000

    Fix schema location.

 configure.in                       | 2 ++
 plugins/format/classic/Makefile.am | 9 ++-------
 prelude-db-create.sh.in            | 8 ++++----
 3 files changed, 8 insertions(+), 11 deletions(-)

commit 5c1c228fc4541bb81f30a50d27ad7286770aa769
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 09:18:32 2005 +0000

    Update INSTALL

 INSTALL | 61 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 27 insertions(+), 34 deletions(-)

commit 67a7c968cf7ba0eb9b2ec2621783299d4e728cc1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 08:31:48 2005 +0000

    Bump version to 0.9.0-rc1. Update NEWS file.

 NEWS                           | 4 ++++
 configure.in                   | 2 +-
 docs/api/libpreludedb-decl.txt | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

commit 3c4a0797a7e8cd27ba90136c67aa4f1fd7039d15
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 29 08:29:01 2005 +0000

    Print uptodate information, thanks to Sebastien Tricaud <toady@gscore.org>
    for pointing this out.

 prelude-db-create.sh.in | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

commit 64e967f9278d91aa0e13ebda4336bca677381c07
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 29 01:49:09 2005 +0000

    fixes

 README | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit c80dfe9fddbbdf6c8bea389a309e93229e239e77
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Mar 27 00:04:05 2005 +0000

    Use PRELUDE_PRIu* instead of PRIu*

 bindings/libpreludedb_perl.i            |  4 +-
 docs/api/libpreludedb-decl.txt          |  2 +-
 plugins/format/classic/classic-delete.c | 90 ++++++++++++++++-----------------
 plugins/format/classic/classic-get.c    | 72 +++++++++++++-------------
 plugins/format/classic/classic-insert.c | 70 ++++++++++++-------------
 src/preludedb-sql.c                     |  4 +-
 6 files changed, 121 insertions(+), 121 deletions(-)

commit e204f819504fa8d4b791eaefe2a60cda7af5ca3b
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 26 13:16:56 2005 +0000

    bug fix, analyzerid is now an optional string field

 plugins/format/classic/pgsql.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 23f934da78a7b5a869372194d75a7dc6c1b2ed5c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 26 12:58:10 2005 +0000

    * plugins/sql/pgsql/pgsql.c:
      cleanup row fetch handling
    
    * plugins/format/classic/mysql.sql:
      fixes
    
    * plugins/format/classic/pgsql.sql:
      update schema to the last classic plugin changes

 plugins/format/classic/mysql.sql |   4 +-
 plugins/format/classic/pgsql.sql | 120 ++++++++++++++++++++-------------------
 plugins/sql/pgsql/pgsql.c        | 104 +++++++++++++++++----------------
 3 files changed, 119 insertions(+), 109 deletions(-)

commit 705c9a57831a8ebc5f59d59ea8d3dcbef5c48b26
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 26 12:10:46 2005 +0000

    Include prelude.h

 bindings/libpreludedb.i | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d335c0138d13b4f0700ece548a437a1a238c5a37
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 20:14:44 2005 +0000

    remove debug message

 src/preludedb.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

commit d4f45b11b58ce9890d3757d95d6b78697b4f7971
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:37:21 2005 +0000

    minor fixes

 bindings/libpreludedb_perl.i   | 2 +-
 bindings/libpreludedb_python.i | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

commit 02322a348140fddc87bfc5c2648577b742b6c9cd
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:25:38 2005 +0000

    update plugin contact stuff

 plugins/format/classic/classic.c | 6 ++++--
 plugins/sql/mysql/mysql.c        | 2 +-
 plugins/sql/pgsql/pgsql.c        | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

commit f3cbeece057ec91004ec5ac1236aa18a5cdeb70a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 19:15:44 2005 +0000

    add README file

 README | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

commit c34e2786deafe0d8a649654610982ddd7f9eb8fa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 19:05:56 2005 +0000

    ========================================================
    libpreludedb-0.9.0-svn archives ready for distribution:
    libpreludedb-0.9.0-svn.tar.gz
    ========================================================

 configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dbc7efd0b6eeb742827d9e18ed069abe64e2d0c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 18:54:07 2005 +0000

    transfert copyrights to PreludeIDS Technologies

 plugins/format/classic/classic-delete.c               |  6 +++---
 plugins/format/classic/classic-get.c                  |  6 +++---
 plugins/format/classic/classic-insert.c               |  7 +++----
 plugins/format/classic/classic-path-resolve.c         |  6 +++---
 plugins/format/classic/classic-sql-join.c             |  6 +++---
 plugins/format/classic/classic-sql-select.c           |  6 +++---
 plugins/format/classic/classic.c                      |  6 +++---
 plugins/format/classic/include/classic-delete.h       |  6 +++---
 plugins/format/classic/include/classic-get.h          |  6 +++---
 plugins/format/classic/include/classic-path-resolve.h |  6 +++---
 plugins/format/classic/include/classic-sql-join.h     |  6 +++---
 plugins/format/classic/include/classic-sql-select.h   |  6 +++---
 plugins/sql/mysql/mysql.c                             |  8 +++-----
 plugins/sql/pgsql/pgsql.c                             |  7 +++----
 src/include/preludedb-error.h                         |  6 +++---
 src/include/preludedb-path-selection.h                |  6 +++---
 src/include/preludedb-plugin-format.h                 |  7 +++----
 src/include/preludedb-plugin-sql.h                    |  7 +++----
 src/include/preludedb-sql-settings.h                  |  6 +++---
 src/include/preludedb-sql.h                           |  6 +++---
 src/include/preludedb-version.h.in                    |  6 +++---
 src/include/preludedb.h                               |  6 +++---
 src/preludedb-error.c                                 |  6 +++---
 src/preludedb-path-selection.c                        |  6 +++---
 src/preludedb-sql-settings.c                          |  6 +++---
 src/preludedb-sql.c                                   |  7 +++----
 src/preludedb-version.c                               |  6 +++---
 src/preludedb.c                                       | 13 +++++++++----
 28 files changed, 90 insertions(+), 92 deletions(-)

commit 702a5357938b4713c16fb8a8c185af105f5b5a76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:41:13 2005 +0000

    Update INSTALL file. Update libpreludedb.m4. Remove un-needed libtool.m4.

 INSTALL            |   11 +-
 m4/libpreludedb.m4 |    2 +-
 m4/libtool.m4      | 6108 ----------------------------------------------------
 3 files changed, 9 insertions(+), 6112 deletions(-)

commit 1ff8710d37a91477eac00126a1be26fc6a335bbb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:28:51 2005 +0000

    Cleanup perl file.

 Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

commit 9babdd996d7eecf024bc9d1d1f70a828730d757e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:26:03 2005 +0000

    Restore LDFLAGS.

 m4/libpreludedb.m4 | 1 +
 1 file changed, 1 insertion(+)

commit 550594ce020f3b0b9d538bb361a76e6cbb5959a0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:22:55 2005 +0000

    Update.

 m4/libprelude.m4 | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit e86001f7839cf0a3e57da96a9a464532a4d08c73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:21:51 2005 +0000

    Fix distcheck.

 src/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit c059ffc9851d16f7e911bec0f6da92bea0b7b7ad
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:20:59 2005 +0000

    Output cleanup.

 configure.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

commit 515f1d6516a6b5ea33198fae60f47be3df199e05
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 25 18:20:41 2005 +0000

    Fix distcheck.

 bindings/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4c824518bea173c2dfd5a513dd1b41160d4a5827
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 25 17:46:13 2005 +0000

    fix perl bindings

 bindings/Makefile.am           |   2 +-
 bindings/libpreludedb.i        | 319 +--------------------------
 bindings/libpreludedb_perl.i   | 191 +++++++++++++++++
 bindings/libpreludedb_python.i | 266 +++++++++++++++++++++++
 bindings/perl/PreludeDB.pm     | 475 +----------------------------------------
 5 files changed, 470 insertions(+), 783 deletions(-)

commit e46366f303b2c12bf3a51ff007a89d1f8bfdc4fd
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:17:34 2005 +0000

    Fix warnings.

 plugins/format/classic/classic-path-resolve.c         | 14 +++++++-------
 plugins/format/classic/classic.c                      |  2 +-
 plugins/format/classic/include/classic-path-resolve.h |  6 +++---
 3 files changed, 11 insertions(+), 11 deletions(-)

commit 0293f8e5271c8f9d9f7cd0342c99e5a30d0f071b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:05:03 2005 +0000

    Correct gtk-doc support.

 docs/api/Makefile.am                        | 196 ++----
 docs/api/libpreludedb-decl.txt              | 893 ++++++++++++++++++++++++++++
 docs/api/libpreludedb-docs.sgml             |  20 +
 docs/api/libpreludedb-sections.txt          | 207 +++++++
 docs/api/tmpl/libpreludedb-unused.sgml      |   0
 docs/api/tmpl/preludedb-error.sgml          |  72 +++
 docs/api/tmpl/preludedb-path-selection.sgml | 134 +++++
 docs/api/tmpl/preludedb-plugin-format.sgml  | 256 ++++++++
 docs/api/tmpl/preludedb-plugin-sql.sgml     | 328 ++++++++++
 docs/api/tmpl/preludedb-sql-settings.sgml   | 210 +++++++
 docs/api/tmpl/preludedb-sql.sgml            | 494 +++++++++++++++
 docs/api/tmpl/preludedb-version.sgml        |  32 +
 docs/api/tmpl/preludedb.sgml                | 242 ++++++++
 13 files changed, 2923 insertions(+), 161 deletions(-)

commit c40a7a516a235c6ccf8f51b5a1d51a42018a68cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Mar 24 12:01:34 2005 +0000

    Fix gtk-doc support.

 Makefile.am  |  2 ++
 autogen.sh   |  1 +
 configure.in | 36 +-----------------------------------
 3 files changed, 4 insertions(+), 35 deletions(-)

commit 88e390fa133ae54843e7ede03174a5c0203b580b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Mar 22 00:36:16 2005 +0000

    Don't use linked object unless you got a very good reason to do so.

 plugins/format/classic/classic-sql-join.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 93b590006a51a7a16925c7d12828a3804dea3bed
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Mar 15 13:52:00 2005 +0000

    bug fix: the output buffer must be allocated dynamically

 src/preludedb-sql.c | 47 ++++++++++++++++++++++++++++-------------------
 1 file changed, 28 insertions(+), 19 deletions(-)

commit e21f591be2760b4f35cb266d0cc405e15ca69ed2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 19:08:44 2005 +0000

    bug fix: handle '(' and ')' in selected_path strings

 src/preludedb-path-selection.c | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

commit 09e67f40ad3766fc70c83df1ba7b12adebf8dfc9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 14:57:15 2005 +0000

    remove deprecated reference to IDMEF_TIME_MAX_STRING_SIZE

 plugins/format/classic/classic-insert.c | 14 +++++++-------
 src/include/preludedb-sql.h             |  2 ++
 src/preludedb-sql.c                     |  2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

commit 0c37187b72389e0d53c03e7299687801345a1c3f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 14:08:09 2005 +0000

    support for -1 list special indexes

 plugins/format/classic/classic-get.c      |  35 +--
 plugins/format/classic/classic-insert.c   | 404 ++++++++++++++++++++++--------
 plugins/format/classic/classic-sql-join.c |  37 +--
 plugins/format/classic/mysql.sql          |   2 +-
 4 files changed, 340 insertions(+), 138 deletions(-)

commit 8a9f6b1603489ddd520c5a831392246d1f4ff725
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 14 08:36:40 2005 +0000

    bind stuff related to libpreludedb sql layer

 bindings/libpreludedb.i | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

commit ac3697a63c23c782fe8c6b8c9999f3ea7ff30412
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Mar 13 17:31:11 2005 +0000

    filenames/structures/functions naming cleanup for the
    classic plugin

 plugins/format/classic/Makefile.am                 |    2 +-
 plugins/format/classic/classic-delete.c            |  129 ++
 plugins/format/classic/classic-get.c               | 2111 +++++++++++++++++++
 plugins/format/classic/classic-insert.c            | 1854 +++++++++++++++++
 plugins/format/classic/classic-path-resolve.c      |  400 ++++
 plugins/format/classic/classic-sql-join.c          |  373 ++++
 plugins/format/classic/classic-sql-select.c        |  186 ++
 plugins/format/classic/classic.c                   |  132 +-
 plugins/format/classic/idmef-db-delete.c           |  129 --
 plugins/format/classic/idmef-db-get.c              | 2113 --------------------
 plugins/format/classic/idmef-db-insert.c           | 1854 -----------------
 plugins/format/classic/idmef-db-path.c             |  976 ---------
 plugins/format/classic/include/Makefile.am         |    2 +-
 plugins/format/classic/include/classic-delete.h    |   31 +
 plugins/format/classic/include/classic-get.h       |   31 +
 plugins/format/classic/include/classic-insert.h    |   30 +
 .../format/classic/include/classic-path-resolve.h  |   39 +
 plugins/format/classic/include/classic-sql-join.h  |   43 +
 .../format/classic/include/classic-sql-select.h    |   39 +
 plugins/format/classic/include/db-path.h           |   54 -
 plugins/format/classic/include/idmef-db-delete.h   |   31 -
 plugins/format/classic/include/idmef-db-get.h      |   31 -
 plugins/format/classic/include/idmef-db-insert.h   |   31 -
 plugins/format/classic/include/idmef-db-path.h     |   53 -
 plugins/format/classic/include/idmef-db-select.h   |   50 -
 25 files changed, 5318 insertions(+), 5406 deletions(-)

commit 8863cdfee718ab1d38af0bdb85e17bafed18f234
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Mar 12 16:09:54 2005 +0000

    process retrieved data as string if it is not in specified format

 plugins/format/classic/idmef-db-get.c | 37 ++++++++++++++++++++++++-----------
 1 file changed, 26 insertions(+), 11 deletions(-)

commit fddb294e14743d4f98d38e6c887b98b843e63970
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 11 19:49:10 2005 +0000

    fit libprelude changes on idmef_criterion_value
    replace idmef-db-select.c/db-path.c/schema.txt by
    idmef-db-path.c that semi-automatically analyze idmef-path
    objects to build parts of sql queries, this mapper now
    supports index for lists

 plugins/format/classic/Makefile.am             |    5 +-
 plugins/format/classic/classic.c               |  234 +++++-
 plugins/format/classic/db-path.c               |  482 -----------
 plugins/format/classic/idmef-db-delete.c       |    2 +-
 plugins/format/classic/idmef-db-get.c          |   40 +-
 plugins/format/classic/idmef-db-insert.c       |  405 +++++----
 plugins/format/classic/idmef-db-path.c         |  976 ++++++++++++++++++++++
 plugins/format/classic/idmef-db-select.c       | 1064 ------------------------
 plugins/format/classic/include/idmef-db-path.h |   53 ++
 plugins/format/classic/mysql.sql               |  120 +--
 plugins/format/classic/schema.txt              |  209 -----
 plugins/sql/mysql/mysql.c                      |   28 +-
 plugins/sql/pgsql/pgsql.c                      |   28 +-
 src/include/preludedb-plugin-sql.h             |    2 +-
 src/include/preludedb-sql.h                    |    4 +-
 src/preludedb-path-selection.c                 |    2 +-
 src/preludedb-sql.c                            |  358 +-------
 17 files changed, 1647 insertions(+), 2365 deletions(-)

commit 55201ec5b48aed04adbf0cea7261e134bd991a76
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 4 12:40:26 2005 +0000

    bug fix

 plugins/format/classic/idmef-db-get.c | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

commit 839a8a033e419fef4223bd736f3995fbe3edae59
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Mar 4 11:01:10 2005 +0000

    fit libprelude changes on analyzers handling

 plugins/format/classic/idmef-db-get.c    | 98 ++++++++++++++++----------------
 plugins/format/classic/idmef-db-insert.c | 38 ++++++-------
 plugins/format/classic/mysql.sql         |  4 +-
 plugins/format/classic/pgsql.sql         | 58 +++++++++----------
 plugins/format/classic/schema.txt        | 57 ++++++-------------
 5 files changed, 115 insertions(+), 140 deletions(-)

commit 9fd768ba8ab19566d45241995cb34a98f39d9ab6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 4 09:27:38 2005 +0000

    Modification for new kind of analyzer chaining. To be modified by Nicolas.

 plugins/format/classic/idmef-db-get.c    | 25 ++++++---------
 plugins/format/classic/idmef-db-insert.c | 52 +++++++++++++++++++++-----------
 plugins/format/classic/mysql.sql         |  2 +-
 plugins/format/classic/pgsql.sql         |  6 ++--
 4 files changed, 49 insertions(+), 36 deletions(-)

commit 8b5e15979993af1aa16ef83c6858b91327799a8f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 19:46:30 2005 +0000

    forgot a function

 plugins/format/classic/idmef-db-select.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 4adae72471ddd7c88a34f040461032fafd7b8581
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 17:24:46 2005 +0000

    support for heartbeat-interval when retrieving alerts

 plugins/format/classic/idmef-db-get.c | 44 +++++++++++++++++++++++++++++------
 plugins/format/classic/schema.txt     |  2 ++
 2 files changed, 39 insertions(+), 7 deletions(-)

commit dd4eb711ceebe7e2d562cc57fe29271d0be8a32a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 28 16:24:43 2005 +0000

    Fix warning.

 plugins/format/classic/idmef-db-get.c | 1 -
 1 file changed, 1 deletion(-)

commit eab8520119431e07c8f6da97f69598fdf1446cb2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 16:14:24 2005 +0000

    bug fix: check messageid field validity

 plugins/format/classic/idmef-db-get.c | 30 ++++++------------------------
 1 file changed, 6 insertions(+), 24 deletions(-)

commit ab06521c179463fccefa59f052195da870d6975a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 28 13:51:49 2005 +0000

    Implement new IDMEFv14 attribute. Ident are now string. Update schema.

 plugins/format/classic/idmef-db-get.c    |  31 ++--
 plugins/format/classic/idmef-db-insert.c | 281 +++++++++++++++++++++----------
 plugins/format/classic/mysql.sql         |  30 ++--
 plugins/format/classic/pgsql.sql         |  21 +--
 4 files changed, 233 insertions(+), 130 deletions(-)

commit ecb14b0b50c1ad0b8f19bb69353152389d646477
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Feb 28 10:25:17 2005 +0000

    save last error message (if any) when doing a rollback so that we
    can retrieve the error message that triggered the rollback even if the
    sql backend clear the error buffer while doing the rollback query

 src/preludedb-sql.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

commit f56dd271e3cb6210e4ef8fcd8a642db958852b82
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Feb 25 10:07:20 2005 +0000

    improve tables indexes

 plugins/format/classic/mysql.sql | 38 ++++++++++++++++++++------------------
 plugins/format/classic/pgsql.sql | 29 +++++++++++++++--------------
 2 files changed, 35 insertions(+), 32 deletions(-)

commit 1a627e596efa00a9868b8ad96432b3c1b5fc90f4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Feb 24 11:14:58 2005 +0000

    support for alert.analyzer.analyzer.* paths

 plugins/format/classic/schema.txt | 35 ++++++++++++++++++++++++++++++-----
 1 file changed, 30 insertions(+), 5 deletions(-)

commit 553ff5e048ca3355dd4227214fac9ddddd2c096e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 16:50:46 2005 +0000

    bug fix: gmt offset are signed integers NOT unsigned

 plugins/format/classic/classic.c      |  4 ++--
 plugins/format/classic/idmef-db-get.c |  4 ++--
 plugins/format/classic/mysql.sql      | 14 +++++++-------
 src/include/preludedb-sql.h           |  2 +-
 src/preludedb-sql.c                   |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

commit b86d65163c7b0b1865f16a7c17ff605304f6a919
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 16:27:11 2005 +0000

    don't generate proxy classes, we don't need them

 bindings/Makefile.am         | 2 +-
 bindings/python/preludedb.py | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

commit 61318b73371bccb17a2f47689a8f656c08c6d48a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:39:18 2005 +0000

    code cleanup: rewrite schema.txt parser

 plugins/format/classic/db-path.c | 330 ++++++++++++---------------------------
 1 file changed, 102 insertions(+), 228 deletions(-)

commit cd403569d0f488a6783a126adc5610db3a61bef2
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:27:32 2005 +0000

    bug fix for idmef_time field retrieval

 plugins/format/classic/classic.c | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

commit 638461236990833f9c6e1e834a29967770d65e75
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Feb 22 15:09:46 2005 +0000

    bug fix, forgot to increment Py_None, it led to a python exception when
    its refcount reach 0

 bindings/libpreludedb.i | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 6c00223bb89801c668f04889ee6a7ad248244b41
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 18:09:13 2005 +0000

    bug fix

 src/preludedb-sql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a39c3dfc21d22ab47f74aa91ffef8329ee1a7ca9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 17:07:01 2005 +0000

    for get_values replace right join by left join, it fix
    some applications problems when dealing with NULL field

 plugins/format/classic/idmef-db-select.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

commit d49f017a869e1e918cd4bd5dd903889d87c5e147
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Feb 16 14:37:18 2005 +0000

    bug fix, forgot a whitespace

 plugins/format/classic/idmef-db-select.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ef468bbfc6d8b333df485e88eee012d057298c45
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 03:51:33 2005 +0000

    Fix mysql/pgsql detection when MYSQL_CONFIG / PG_CONFIG are set.

 configure.in | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 293ec384059171d057620c4407532d5e0e34fa21
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 02:31:26 2005 +0000

    Fix API doc generation. Remove debugging stuff.

 src/include/preludedb.h      |  2 +-
 src/preludedb-sql-settings.c | 15 +++++++--------
 src/preludedb-sql.c          |  8 +++++---
 src/preludedb.c              | 14 +++++++++-----
 4 files changed, 22 insertions(+), 17 deletions(-)

commit 5773fecf009c5709a8cc6f6f81c0a6bfa646d414
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:52:55 2005 +0000

    Remove deprecated definition.

 plugins/format/classic/idmef-db-select.c | 2 --
 1 file changed, 2 deletions(-)

commit bcc13bc356733b91e700fa625c4fd70de3e2385e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:51:21 2005 +0000

    remove deprecated idmef-util.h header inclusion;

 plugins/format/classic/idmef-db-insert.c | 1 -
 plugins/format/classic/idmef-db-select.c | 1 -
 2 files changed, 2 deletions(-)

commit 28c8046901d8cbd9ae4b59c1e4143b1af81daf0a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:50:11 2005 +0000

    remove deprecated idmef-util.h header file inclusion.

 src/preludedb-sql.c | 1 -
 1 file changed, 1 deletion(-)

commit fb98b5a04c340a8df9d3abe2cc637abb5fc0761d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Feb 16 01:37:04 2005 +0000

     r7589@arwen (orig r5134):  yoann | 2005-02-16 02:36:18 +0100
     Fit libprelude API change.

 plugins/format/classic/classic.c |  48 ++++++++---------
 plugins/sql/mysql/mysql.c        |  59 +++++++++++----------
 plugins/sql/pgsql/pgsql.c        | 111 +++++++++++++++++++--------------------
 src/preludedb-sql.c              |   4 +-
 src/preludedb.c                  |   6 ++-
 5 files changed, 114 insertions(+), 114 deletions(-)

commit e6574ae402fbddc76b119bfcaace5765a48e2ff6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Feb 14 19:15:48 2005 +0000

    Merge back pre-0-9-api-cleanup into trunk.

 INSTALL                                          |  52 +-
 bindings/Makefile.am                             |   4 +-
 bindings/libpreludedb.i                          | 177 ++++++-
 bindings/python/preludedb.py                     | 182 -------
 m4/libpreludedb.m4                               |  14 +-
 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |  54 +-
 plugins/format/classic/db-object.c               | 590 ----------------------
 plugins/format/classic/db-path.c                 | 608 +++++++++++++++++++++++
 plugins/format/classic/idmef-db-get.c            | 403 +++++++--------
 plugins/format/classic/idmef-db-insert.c         |  17 +-
 plugins/format/classic/idmef-db-select.c         | 537 ++++++++++----------
 plugins/format/classic/include/Makefile.am       |   2 +-
 plugins/format/classic/include/db-object.h       |  54 --
 plugins/format/classic/include/db-path.h         |  54 ++
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 plugins/sql/mysql/mysql.c                        |  24 +-
 plugins/sql/pgsql/pgsql.c                        |  17 +-
 src/Makefile.am                                  |   2 +-
 src/include/Makefile.am                          |   2 +-
 src/include/preludedb-error.h                    |   4 +-
 src/include/preludedb-object-selection.h         |  58 ---
 src/include/preludedb-path-selection.h           |  59 +++
 src/include/preludedb-plugin-format.h            |   4 +-
 src/include/preludedb-plugin-sql.h               |   2 +-
 src/include/preludedb-sql-settings.h             |   4 +-
 src/include/preludedb.h                          |  35 +-
 src/preludedb-error.c                            |   4 +-
 src/preludedb-object-selection.c                 | 286 -----------
 src/preludedb-path-selection.c                   | 277 +++++++++++
 src/preludedb-sql-settings.c                     |  40 +-
 src/preludedb-sql.c                              |  50 +-
 src/preludedb.c                                  | 312 +++++++-----
 33 files changed, 1979 insertions(+), 1953 deletions(-)

commit f43f06d33b6064c1541e780e4c64485c6a637f8d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Feb 10 14:32:19 2005 +0000

    remove outdated copyrights

 src/include/preludedb-plugin-format.h | 1 -
 src/include/preludedb-plugin-sql.h    | 1 -
 src/include/preludedb-sql.h           | 1 -
 src/include/preludedb.h               | 1 -
 src/preludedb-sql.c                   | 1 -
 src/preludedb.c                       | 1 -
 6 files changed, 6 deletions(-)

commit 7bda76c921b3dd2b91e8abf9cf79ad154cb0533a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:48:47 2005 +0000

    bug fix: check value before attempting to destroy it

 bindings/python/preludedb.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 6c3a61771ff7b567582a282c4f8bea2941b2e37e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:03:59 2005 +0000

    backport bug fix [5004] from pre-0-9-api-cleanup branch

 plugins/format/classic/classic.c | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

commit b2eacb341e58d6937d9a25cad82cb7a058a1b358
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Feb 5 03:02:51 2005 +0000

    check if the function returns no result

 src/preludedb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1b9a825b08a5850ca3d052bb240f76dc38125af0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jan 24 00:09:07 2005 +0000

    bug fix, rename indexes to avoid conflicting names

 plugins/format/classic/pgsql.sql | 46 ++++++++++++++++++++--------------------
 1 file changed, 23 insertions(+), 23 deletions(-)

commit d75d672e344e5eaab7ee86c9d8f82ba49681e959
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 23 11:43:33 2005 +0000

    update the list of APIs to bind

 bindings/Makefile.am | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit 089feb6b6850378148782dda3cd765eb9f0c0a4e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 23 01:36:32 2005 +0000

    * src/include/preludedb-error.h:
    * src/preludedb-error.c:
    * src/preludedb.c:
    * plugins/sql/mysql/mysql.c:
    * plugins/sql/pgsql/pgsql.c:
      drop the two PRELUDEDB_ERROR_CANNOT_CONNECT and PRELUDEDB_ERROR_DISCONNECTED
      error codes and replace them by a single error code PRELUDEDB_ERROR_CONNECTION
      that is more generic
    
    * src/preludedb-sql.c:
    * src/preludedb.c:
    * src/include/preludedb.h:
    * src/include/preludedb-sql.h
      rework connection system, connection (and reconnection in case where disconnection
      happen) is now done automatically and transparently done in preludedb-sql layer.
    
    bug fixes

 bindings/python/preludedb.py  |  9 ------
 plugins/sql/mysql/mysql.c     |  2 +-
 plugins/sql/pgsql/pgsql.c     |  2 +-
 src/include/preludedb-error.h | 27 ++++++++--------
 src/include/preludedb-sql.h   |  3 --
 src/include/preludedb.h       |  5 ---
 src/preludedb-error.c         |  3 +-
 src/preludedb-sql.c           | 72 +++++++++++++++++--------------------------
 src/preludedb.c               | 27 ----------------
 9 files changed, 44 insertions(+), 106 deletions(-)

commit 0f834e92ca08252a0b24679e92dbc5dd5a23f659
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 22:43:05 2005 +0000

    document part of the preludedb main API

 src/preludedb.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 82 insertions(+), 6 deletions(-)

commit 21bc208a61660d496dc1d5ecd5b4933d0cb98af9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 18:56:40 2005 +0000

    fix documentation errors for functions that can return three types
    of value (1 for results, 0 for no results or a negative value for errors)

 src/preludedb-sql.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

commit cab0c6240f090e7fb9d866ff879c0443f6c90605
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 22 17:25:20 2005 +0000

    import gtk-doc documentation system from libprelude

 Makefile.am          |   2 +-
 configure.in         |  42 +++++++++++
 docs/Makefile.am     |   1 +
 docs/api/Makefile.am | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 238 insertions(+), 1 deletion(-)

commit 3bbfaa74f6a090de77998126af50afd242d0395b
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 21 15:17:29 2005 +0000

    in preludedb_new, let the caller create his sql object, it allows him
    to have more control on it and ease error handling
    update python bindings accordingly

 bindings/libpreludedb.i      | 12 ++++++++++++
 bindings/python/preludedb.py | 20 ++++++++++++++------
 src/include/preludedb.h      |  3 +--
 src/preludedb.c              | 28 ++--------------------------
 4 files changed, 29 insertions(+), 34 deletions(-)

commit d6e61956abaecd4f0e9f2bd1cdf669fa6bed00f5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Jan 20 19:44:39 2005 +0000

    merge the libpreludedb-api-rework back into trunk

 README                                           |   66 -
 bindings/Makefile.am                             |    6 +-
 bindings/libpreludedb.i                          |  126 +-
 bindings/python/preludedb.py                     |  527 +----
 configure.in                                     |    2 +-
 plugins/filters/Makefile.am                      |    5 -
 plugins/filters/skeleton/Makefile.am             |    6 -
 plugins/filters/skeleton/skeleton.c              |  163 --
 plugins/format/classic/classic.c                 |  467 ++---
 plugins/format/classic/db-object.c               |  198 +-
 plugins/format/classic/idmef-db-delete.c         |  192 +-
 plugins/format/classic/idmef-db-get.c            | 2417 ++++++++++------------
 plugins/format/classic/idmef-db-insert.c         | 1069 +++++-----
 plugins/format/classic/idmef-db-select.c         |  304 ++-
 plugins/format/classic/include/idmef-db-delete.h |    4 +-
 plugins/format/classic/include/idmef-db-get.h    |   10 +-
 plugins/format/classic/include/idmef-db-insert.h |    2 +-
 plugins/format/classic/include/idmef-db-select.h |   19 +-
 plugins/format/classic/mysql.sql                 |   15 +-
 plugins/format/classic/pgsql.sql                 |  772 ++++---
 plugins/format/classic/schema.txt                |    2 +-
 plugins/format/new/idmef-db-output.c             |  401 ----
 plugins/sql/mysql/mysql.c                        |  639 ++----
 plugins/sql/pgsql/pgsql.c                        |  601 ++----
 src/Makefile.am                                  |   19 +-
 src/db-connection-data.c                         |   92 -
 src/db-connection.c                              |   97 -
 src/db-interface-string.c                        |  137 --
 src/db-interface.c                               |  546 -----
 src/db-message-cache.c                           |  310 ---
 src/db-message-ident.c                           |   72 -
 src/db-object-selection.c                        |  270 ---
 src/db.c                                         |  107 -
 src/format-plugins.c                             |   81 -
 src/include/Makefile.am                          |   32 +-
 src/include/db-connection-data.h                 |   40 -
 src/include/db-connection.h                      |   40 -
 src/include/db-interface-string.h                |   29 -
 src/include/db-interface.h                       |  103 -
 src/include/db-message-cache.h                   |   37 -
 src/include/db-message-ident.h                   |   36 -
 src/include/db-object-selection.h                |   54 -
 src/include/db-type.h                            |   34 -
 src/include/db.h.in                              |   33 -
 src/include/param-string.h                       |   32 -
 src/include/plugin-filter.h                      |   88 -
 src/include/plugin-format.h                      |  120 --
 src/include/plugin-sql.h                         |  164 --
 src/include/preludedb-error.h                    |   73 +
 src/include/preludedb-object-selection.h         |   58 +
 src/include/preludedb-plugin-format.h            |   99 +
 src/include/preludedb-plugin-sql.h               |   97 +
 src/include/preludedb-sql-settings.h             |   62 +
 src/include/preludedb-sql.h                      |  120 ++
 src/include/preludedb-version.h.in               |   31 +
 src/include/preludedb.h                          |   87 +
 src/include/sql-connection-data.h                |   60 -
 src/include/sql.h                                |  123 --
 src/param-string.c                               |  221 --
 src/preludedb-error.c                            |   60 +
 src/preludedb-object-selection.c                 |  286 +++
 src/preludedb-sql-settings.c                     |  238 +++
 src/preludedb-sql.c                              | 1535 ++++++++++++++
 src/preludedb-version.c                          |   56 +
 src/preludedb.c                                  |  422 ++++
 src/sql-connection-data.c                        |  202 --
 src/sql-plugins.c                                |   75 -
 src/sql.c                                        | 1335 ------------
 68 files changed, 6404 insertions(+), 9422 deletions(-)

commit 8e47bb8d464dd9f6035c6f025e4448f190edef0d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 31 16:35:59 2004 +0000

    Update.

 m4/libtool.m4 | 471 ++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 276 insertions(+), 195 deletions(-)

commit fa076da84e42168996439bc5a2aa7f236ea6fa5e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 30 22:54:32 2004 +0000

    fit last libprelude API changes

 plugins/format/classic/idmef-db-insert.c | 18 +++++++++++---
 src/sql.c                                | 42 ++++++++++++++++++++++++++------
 2 files changed, 49 insertions(+), 11 deletions(-)

commit 8afba82359a27acc9adf34742c705b8009aa2a49
Author: Rob Holand <rob@inversepath.com>
Date:   Thu Dec 23 11:31:02 2004 +0000

    don't try and clean perl stuff up if we did --disable-perl

 bindings/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

commit 7f08193562d9f3bc7d6d8c34bce9513f344ab0c8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 20 02:39:42 2004 +0000

    rename byte in byte-string in mysql.sql to conform last IDMEF changes
    make the sql layer handle the length of a field, that fix a bug happening
    when binary data contains a NULL byte.

 plugins/format/classic/idmef-db-get.c |  4 +--
 plugins/format/classic/mysql.sql      |  2 +-
 plugins/sql/mysql/mysql.c             | 49 ++++++++++++++++++++++-------------
 plugins/sql/pgsql/pgsql.c             | 33 +++++++++--------------
 src/include/plugin-sql.h              | 11 +++-----
 src/include/sql.h                     |  1 +
 src/sql.c                             | 39 ++++++++++++++++++----------
 7 files changed, 76 insertions(+), 63 deletions(-)

commit e68268bca67c471378aef6b4987bf824eb574341
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 19 16:44:51 2004 +0000

    bug fix: classification is not mandatory

 plugins/format/classic/idmef-db-insert.c | 3 +++
 1 file changed, 3 insertions(+)

commit c742e1c6fae36db21e09f70ebd7fb1310272b180
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 17 06:11:20 2004 +0000

    fit additional data API changes

 plugins/format/classic/idmef-db-get.c    | 131 ++++++++++++++++++++++---------
 plugins/format/classic/idmef-db-insert.c |  77 ++++++++++--------
 2 files changed, 139 insertions(+), 69 deletions(-)

commit 25c2d1c9c6ed2ecd19a3f0f5e1c52eaffd639987
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 17 02:23:05 2004 +0000

    Fit prelude-msgbuf API change.

 src/db-message-cache.c | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

commit 4fe674c58588e29c78315a4d9c67d825709a6f90
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 11 02:57:02 2004 +0000

    fix memory leak

 plugins/format/classic/idmef-db-insert.c | 3 +++
 1 file changed, 3 insertions(+)

commit 9fdd7415cee6f7d3e0b8ac4023968a29a0e65afc
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 9 14:05:27 2004 +0000

    fix bad sql table field name

 plugins/format/classic/idmef-db-get.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7e8c1849f1a306babefde0d4f0bbe5a7f2684325
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 8 18:54:14 2004 +0000

    port delete code to the last schema changes

 INSTALL                                  |  2 +-
 plugins/format/classic/idmef-db-delete.c | 91 ++++++++++++++++----------------
 2 files changed, 47 insertions(+), 46 deletions(-)

commit 76a85662e462114d5d8c7ec5a19013ab62acdfc9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 8 11:03:22 2004 +0000

    handle missing field file.ident, file.fstype and file.checksum.*

 plugins/format/classic/idmef-db-get.c | 87 +++++++++++++++++++++++++++++++----
 1 file changed, 77 insertions(+), 10 deletions(-)

commit 421dfc3010f7630055cb8d369b81c204c5cc2cb7
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 5 17:47:26 2004 +0000

    support for name field in idmef_analyzer

 plugins/format/classic/idmef-db-get.c    | 17 ++++++++++-------
 plugins/format/classic/idmef-db-insert.c | 16 +++++++++++-----
 plugins/format/classic/mysql.sql         |  1 +
 plugins/format/classic/schema.txt        |  2 ++
 4 files changed, 24 insertions(+), 12 deletions(-)

commit b5965cb220bfec0c7717b781c72e0dd3adc2ab6f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 5 12:53:02 2004 +0000

    Use idmef_message_read() instead of calling idmef_alert_read() / idmef_heartbeat_read() manually.

 src/db-message-cache.c | 73 ++++++++------------------------------------------
 1 file changed, 11 insertions(+), 62 deletions(-)

commit 62c17fe6ebdedaf7d5b01ef2462f756e2fa43784
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 5 11:57:11 2004 +0000

    Remove deprecated header inclusion. Kill some warnings.

 plugins/format/classic/idmef-db-delete.c | 1 -
 plugins/format/classic/idmef-db-get.c    | 1 -
 plugins/format/classic/idmef-db-insert.c | 7 ++-----
 plugins/format/classic/idmef-db-select.c | 6 +++---
 plugins/sql/pgsql/pgsql.c                | 1 -
 src/db.c                                 | 2 --
 src/sql.c                                | 4 ++--
 7 files changed, 7 insertions(+), 15 deletions(-)

commit e86510cd40eee8fd929b849196aaaf7e8089cba5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 4 16:46:38 2004 +0000

    handle usec and gmtoff fields for idmef_time retrieved in get_values,
    these two fields are not supported when idmef_time is retrieved in a function
    like "max"

 plugins/format/classic/classic.c           |  23 +++++-
 plugins/format/classic/db-object.c         |  28 ++++++-
 plugins/format/classic/idmef-db-select.c   | 122 ++++++++++++++---------------
 plugins/format/classic/include/db-object.h |   4 +
 plugins/format/classic/schema.txt          |  14 ++--
 5 files changed, 119 insertions(+), 72 deletions(-)

commit e0a3d13df80fb87891be669465309b1a463cc749
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Dec 3 18:27:15 2004 +0000

    Fit latest libprelude API change.

 INSTALL                                  | 2 +-
 plugins/format/classic/classic.c         | 3 ---
 plugins/format/classic/idmef-db-insert.c | 3 ---
 plugins/sql/pgsql/pgsql.c                | 4 ----
 src/db-message-cache.c                   | 2 +-
 src/db.c                                 | 2 --
 src/include/plugin-format.h              | 4 +---
 src/include/plugin-sql.h                 | 3 ---
 src/sql-plugins.c                        | 5 -----
 9 files changed, 3 insertions(+), 25 deletions(-)

commit 5ecfa01eb20a5052a95ceeb876b880d9fdd28908
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Dec 2 18:12:09 2004 +0000

    Merge idmef-v12-work change back in trunk.

 plugins/format/classic/classic.c         |   90 +--
 plugins/format/classic/idmef-db-get.c    |  872 +++++++++++-----------
 plugins/format/classic/idmef-db-insert.c | 1201 +++++++++++++++++-------------
 plugins/format/classic/idmef-db-select.c |   51 +-
 plugins/format/classic/mysql.sql         |  668 +++++++++--------
 plugins/format/classic/schema.txt        |  354 +++++----
 src/db-message-cache.c                   |    4 +-
 src/include/sql.h                        |    7 +
 src/sql.c                                |   99 ++-
 9 files changed, 1905 insertions(+), 1441 deletions(-)

commit bbae36427599859ba2a7e5c6935433caa795dc9f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Nov 21 04:32:03 2004 +0000

    Link to libpreludedb, so we don't end up with undefined reference..

 plugins/sql/mysql/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9bfea90732f0f9340f1eaf1f8820e4425a9ae942
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 16:15:26 2004 +0000

    use full path of perl and python found by AC_PATH_PROG

 configure.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit a5e231e39e685b65654cfb172f6832d643e9120a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 16:04:01 2004 +0000

    restore perl and python detection code that have been removed
    by a bad guy (me)

 configure.in | 7 +++++++
 1 file changed, 7 insertions(+)

commit fcc04fa6707951ac5a7d81d7be5e87a2dec0f807
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 9 13:01:30 2004 +0000

    make the compilation of the generated .c files depending on the
    wrapped .h files

 bindings/Makefile.am | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

commit 55fbf76b1cd6de4b7f870153af9cd28e78d45c60
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Nov 9 02:27:20 2004 +0000

    Use prelude-string instead of idmef-string.

 plugins/format/classic/idmef-db-get.c    |  16 +--
 plugins/format/classic/idmef-db-insert.c |  12 +-
 plugins/format/classic/idmef-db-select.c | 199 ++++++++++++++++---------------
 plugins/format/new/idmef-db-output.c     |   2 +-
 plugins/sql/mysql/mysql.c                |  20 ++--
 plugins/sql/pgsql/pgsql.c                |  18 +--
 src/include/plugin-sql.h                 |   2 +-
 src/include/sql.h                        |   7 +-
 src/sql.c                                |  48 ++++----
 9 files changed, 168 insertions(+), 156 deletions(-)

commit 89ae5c4be5be32cf5450a201b556171fff8e2c06
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 1 16:22:19 2004 +0000

    Update for idmef message read/write api change.

 src/db-message-cache.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit aaf6a0ecd0a8f2b3fcf4f20df065aa55059fcd1c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Nov 1 14:50:46 2004 +0000

    Fit IDMEF message read API change.

 src/db-message-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e67895410208b4028d0963e45528b301c7d26f36
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Oct 28 15:00:03 2004 +0000

    bug fix: group by idents while fetching message ident list, this avoid possible
    ident duplication

 INSTALL                          | 2 +-
 plugins/format/classic/classic.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 62f4e59908e3f57e740698b2e3d363e395692aa3
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 21 13:25:59 2004 +0000

    Disable dlpreopening for plugins since it give a redondant dependencie problem...
    Will try to find a workaround later.

 Makefile.am     | 2 +-
 src/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 802f8ec82e2c3e788af63739c6257fb97e245480
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Oct 20 19:29:16 2004 +0000

    Use libpreludedb.la in order to link classic with libpreludedb.

 plugins/format/classic/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dac3981b2d54d67aec06e216f6053b9f8dd01437
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Oct 20 19:10:03 2004 +0000

    fix bad library path

 plugins/format/classic/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3addc2c5bf0f2b54f54dfc1c90823899493422e1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Oct 19 22:48:19 2004 +0000

    bug fix: a blank space was missing

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6cf6e065e27e93475718b812dc97d0348fdbf699
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 13:39:33 2004 +0000

    Use @LIBPRELUDE_CFLAGS@

 bindings/perl/Makefile.PL.in | 2 +-
 bindings/python/setup.py.in  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 08b65ec862dd43d68c6669e8121c0fe6c3937c9a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:43:02 2004 +0000

 src/include/db.h | 33 ---------------------------------
 1 file changed, 33 deletions(-)

commit 62d4fbea543677623ee7e30e83137745ce6fc08b
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:13:10 2004 +0000

    Add missing header file.

 src/include/db.h | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

commit df9a9f5e5bf56649e02156db7b40502127fee2fa
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:11:53 2004 +0000

    Remove swig generated source code.

 bindings/perl/PreludeDB.c    | 3674 ------------------------------------------
 bindings/python/_preludedb.c | 2491 ----------------------------
 2 files changed, 6165 deletions(-)

commit 293a86b0ae9dd050f00ba029f2089bd24d223e93
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:10:23 2004 +0000

    Revert previous commit enabling -export-dynamic, and link the classic format
    plugin to libprelude and libpreludedb.

 plugins/format/classic/Makefile.am | 5 +++--
 src/Makefile.am                    | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

commit 884d967aeab87348f98e4245ef10ab42b6a631f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Oct 19 00:01:58 2004 +0000

    Add missing space.

 bindings/python/setup.py.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 44bfe0821d66285b6b3c416f6d987bbcffa715c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:57:14 2004 +0000

    Update to more recent swig, python and perl detection scheme.

 configure.in | 67 ++++++++++++++++++------------------------------------------
 1 file changed, 20 insertions(+), 47 deletions(-)

commit adba552dd85301fa65050f52d338c4530f657191
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:56:39 2004 +0000

    Port the bindings build system work done in libprelude to libpreludedb,
    so that bindings compile and install correctly.

 bindings/Makefile.am         | 75 +++++++++++++++++++++++++++++++++++++++-
 bindings/perl/Makefile.PL.in | 45 ++++++++++++++++++++++++
 bindings/perl/Makefile.am    | 27 ---------------
 bindings/python/Makefile.am  | 26 --------------
 bindings/python/setup.py.in  | 82 ++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 201 insertions(+), 54 deletions(-)

commit ee4fdaeddef4453ed9f9b1a6b51987fd6ffbc9b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:55:00 2004 +0000

    Add mysql.sql, pgsql.sql, schema.txt to EXTRA_DIST, and create
    the uninstall-local target to remove them to fix make distcheck.

 plugins/format/classic/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

commit 8c0e38a3dd2bd78fa5d582e7acfb1fb3495a62fc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:49:40 2004 +0000

    Fix unresolved symbols. Untabify.

 plugins/format/classic/idmef-db-insert.c | 635 ++++++++++++++++---------------
 1 file changed, 318 insertions(+), 317 deletions(-)

commit abd19e0c0d88b2672fa4f5c918b305e6c0312f1e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:23:36 2004 +0000

    Add missing libtool.m4

 m4/libtool.m4 | 6027 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 6027 insertions(+)

commit 554b962f2aa2d55abe29c2d9f9132719951efdc2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 23:21:09 2004 +0000

    Fix link ordering.

 bindings/perl/Makefile.am   | 2 +-
 bindings/python/Makefile.am | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 85d12390e746123e26c5710adba2a25b1ed91aa2
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 21:38:14 2004 +0000

    Re activate -export-dynamic, which is needed for libpreludedb plugin.

 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f7d4077cae41b3ee1de80f01f3349f07f6f78ffc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 18 19:39:12 2004 +0000

    Include missing stdio.h.

 src/db-connection.c | 1 +
 1 file changed, 1 insertion(+)

commit f3c9cbac33309fe77abc0813ac47305008317e5a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Oct 16 13:25:00 2004 +0000

    Slight variable substitution fix.

 configure.in           | 6 ++++--
 libpreludedb-config.in | 2 +-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit 9a32f439032c75ad3c0b60994331b1194d8b87e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 12:09:58 2004 +0000

    Quote version string.

 src/include/db.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9d6d2153e22960897fcc01861fd2cd40deeed238
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 11:46:25 2004 +0000

    Commit missing file.

 plugins/format/classic/include/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

commit 84ef1cf7a8739ccaec4f226eedd795c97ad4ef17
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Oct 14 11:35:21 2004 +0000

    Generate db.h from db.h.in, and substitute LIBPRELUDEDB_VERSION
    with the version number provided to automake. This fix a configure error
    with SVN snapshots where the headers LIBPRELUDEDB_VERSION version was different
    from the autoconf provided version.
    
    Thanks to Jochen Schlick <jochen.schlick@comsoft.de> for pointing the problem.

 configure.in            |  1 +
 src/include/Makefile.am |  3 ++-
 src/include/db.h        | 33 ---------------------------------
 src/include/db.h.in     | 33 +++++++++++++++++++++++++++++++++
 4 files changed, 36 insertions(+), 34 deletions(-)

commit e2115c0581d84ce9e35d2cd28778313a58b38215
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Oct 11 00:07:35 2004 +0000

    Several build fix. Fixed libpreludedb-config so that static linking work.
    Provide libpreludedb.m4

 INSTALL                            | 131 +++++++++++++++++---------
 Makefile.am                        |   3 +-
 acinclude.m4                       | 149 ------------------------------
 autogen.sh                         |   9 +-
 configure.in                       |  29 +++---
 libpreludedb-config.in             |   8 +-
 m4/Makefile.am                     |   2 +
 m4/ax_cflags_gcc_option.m4         | 183 +++++++++++++++++++++++++++++++++++++
 m4/libprelude.m4                   | 168 ++++++++++++++++++++++++++++++++++
 m4/libpreludedb.m4                 | 168 ++++++++++++++++++++++++++++++++++
 plugins/Makefile.am                |   2 +-
 plugins/format/classic/Makefile.am |   4 +-
 plugins/sql/mysql/Makefile.am      |   2 +-
 plugins/sql/pgsql/Makefile.am      |   2 +-
 src/Makefile.am                    |   4 +-
 src/db.c                           |  30 ++++++
 src/format-plugins.c               |   2 +-
 src/include/db.h                   |   3 +
 src/sql-plugins.c                  |   1 -
 src/sql.c                          |   1 -
 20 files changed, 678 insertions(+), 223 deletions(-)

commit 6b7bfc4179404e36bf556c2d5f96ebb230ce36f9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 16:01:14 2004 +0000

    Fix format string when printing 64 bits integer on 64 bit system.

 bindings/libpreludedb.i   |    4 +-
 bindings/perl/PreludeDB.c | 1228 +++++++++++++++++++++++----------------------
 2 files changed, 633 insertions(+), 599 deletions(-)

commit 93cb049a92b6e299ac251703be8733a4833829dc
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 15:56:52 2004 +0000

    Fix format string when printing 64 bits integer on 64 bit system.

 plugins/format/classic/classic.c         |  2 +-
 plugins/format/classic/idmef-db-delete.c | 92 ++++++++++++++++----------------
 plugins/format/classic/idmef-db-get.c    | 74 ++++++++++++-------------
 plugins/format/classic/idmef-db-insert.c | 69 ++++++++++++------------
 src/db-message-cache.c                   |  2 +-
 src/sql.c                                |  4 +-
 6 files changed, 122 insertions(+), 121 deletions(-)

commit ac5e6a1f4c27a78729428f8990afa3444be1fc73
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 20 11:45:45 2004 +0000

    Remove invalid dependency.

 plugins/format/classic/Makefile.am | 2 --
 1 file changed, 2 deletions(-)

commit 197e9e281f0b959b3faf6b9b4ad0410ba3378d07
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Sep 19 16:44:38 2004 +0000

    dlpreopening support.

 Makefile.am                      |  2 +-
 plugins/format/classic/classic.c |  6 +++++-
 plugins/sql/mysql/mysql.c        |  5 ++++-
 plugins/sql/pgsql/pgsql.c        |  3 ++-
 src/Makefile.am                  | 11 +++++++++++
 5 files changed, 23 insertions(+), 4 deletions(-)

commit 0318067bbaf707f31a90dc75a7af53ebc044a425
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jul 23 15:09:48 2004 +0000

    raise an exception when an {alert,heartbeat}/{delete,get} fail

 bindings/python/preludedb.py | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)

commit aa4742372f389622d7a9a0234aeb2352a448ef83
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jul 16 10:10:47 2004 +0000

    Fix leak on error in prelude_db_interface_new().

 src/db-interface.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 96000f180b88750b45903e6450b794645c4c71b4
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jul 13 22:17:49 2004 +0000

    Fix a leak on connection error.

 src/sql.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 7ef6f891b3065249922ba791e49e9fdbd9b94bd5
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 29 13:25:36 2004 +0000

    * plugins/sql/mysql/mysql.c: include <mysql.h> instead of <mysql/mysql.h>,
      as we already have the mysql include directory in the include path.

 plugins/sql/mysql/mysql.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

commit 3576343b40ed3b42f4e7d96f6d0da9f42c75579d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 25 09:33:12 2004 +0000

    revert SQL schema modification. They didn't meant to be commited

 plugins/format/classic/mysql.sql | 3 ---
 plugins/format/classic/pgsql.sql | 3 ---
 2 files changed, 6 deletions(-)

commit 5629245d3f679c2c8119d97ba9828c54ef28066c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jun 25 09:10:10 2004 +0000

    Applied patch from Rodolphe Ortalo <rodolphe.ortalo@cram-mp.fr>:
    
     Apparently, in order to build and install the latest libprelude an
     libpreludedb from a _separate_ build directory (as in: cd libprelude &&
     mkdir build && cd build && ../configure && make) one needs to apply the
     following modifications to some Makefile.am: see attached patches.
     Note the distinction between $(top_srcdir), $(top_builddir), $(srcdir) and
     . [$(builddir) in fact] in automake.

 Makefile.am                        | 2 +-
 bindings/perl/Makefile.am          | 4 ++--
 bindings/python/Makefile.am        | 4 ++--
 plugins/format/classic/Makefile.am | 8 ++++----
 plugins/format/classic/mysql.sql   | 3 +++
 plugins/format/classic/pgsql.sql   | 3 +++
 6 files changed, 15 insertions(+), 9 deletions(-)

commit aa6ba7f93f27b388a550dbd0f05c37801f6fd170
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jun 22 14:40:47 2004 +0000

    bug fix for heartbeat handling

 bindings/python/preludedb.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit eacb5ddaf5037a88cd61a7257cb4bbb0884ac125
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Jun 15 13:21:21 2004 +0000

    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/mysql.sql:
      use unique index on analyzerid+alert_ident to insure we don't insert
      the same things twice.
    
    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/pgsql.sql
      (): ditto... Need to be tested.

 plugins/format/classic/mysql.sql | 3 ++-
 plugins/format/classic/pgsql.sql | 4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 0506f03e267933518fdb1664671e288ad4d35958
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jun 1 11:27:53 2004 +0000

    * bindings/perl/PreludeDB.c:
      regenerate the bindings with swig 1.3.19

 bindings/perl/PreludeDB.c | 1218 ++++++++++++++++++++++-----------------------
 1 file changed, 592 insertions(+), 626 deletions(-)

commit d98eb4d76f63aa6b4e28e41537c32b6a73f52018
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 31 11:32:11 2004 +0000

    * libpreludedb/configure.in
      (libprelude_db_cflags): expand prefix.

 configure.in | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

commit 2f02d4fab4d6f3b017f8aa7a94e0aa72c89e33cc
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri May 28 08:59:58 2004 +0000

    * support for alerts/heartbeats identified by the unique analzerid/{alert,heartbeat}_ident pair

 plugins/format/classic/classic.c                 | 100 ++++++++++++++++++++++-
 plugins/format/classic/idmef-db-delete.c         |  43 +---------
 plugins/format/classic/idmef-db-get.c            |  58 ++-----------
 plugins/format/classic/idmef-db-insert.c         |  80 ++++++++++++++++--
 plugins/format/classic/include/idmef-db-delete.h |   6 +-
 plugins/format/classic/include/idmef-db-get.h    |   2 +
 plugins/format/classic/mysql.sql                 |  12 ++-
 plugins/format/classic/schema.txt                |   4 +-
 8 files changed, 192 insertions(+), 113 deletions(-)

commit 21cd4a14fc3594a743a80aa61b9bc7f4e433d891
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 27 21:47:12 2004 +0000

    * update perl binding to the underlying C API

 bindings/perl/PreludeDB.pm | 41 ++---------------------------------------
 1 file changed, 2 insertions(+), 39 deletions(-)

commit 9da9218568045f11efebb9d7e086cf116fbc59f8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 27 21:41:51 2004 +0000

    * fit last API changes of the underlying prelude_db_interface_get_{alert,heartbeat}
      C functions

 bindings/python/preludedb.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 065214b12ff42686f92aa55371928077e51a665d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon May 24 17:40:27 2004 +0000

    * libpreludedb/configure.in:
      generate prelude-db-create.sh.
    
    * libpreludedb/prelude-db-create.sh.in:
      move and rename from prelude-manager. Adapt to libpreludedb.
    
    * libpreludedb/Makefile.am:
      install prelude-db-create.sh.
    
     * libpreludedb/plugins/format/classic/Makefile.am
      (install-data-local): install SQL schema.

 Makefile.am                        |   2 +-
 configure.in                       |   4 +-
 plugins/format/classic/Makefile.am |   1 +
 prelude-db-create.sh.in            | 413 +++++++++++++++++++++++++++++++++++++
 4 files changed, 418 insertions(+), 2 deletions(-)

commit 8ad24eeca7211a910ee36555e8b9aee209fcc416
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 18:06:03 2004 +0000

    * libpreludedb/plugins/format/classic/pgsql.sql:
      Support 64 bits unsigned int idents.

 plugins/format/classic/pgsql.sql | 126 +++++++++++++++++++--------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

commit e27b9f51c88a60e48ca2d321a259e3a8d7ce9496
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 17:56:14 2004 +0000

    port to new prelude-list.h API

 bindings/libpreludedb.i                  |  2 +-
 bindings/perl/PreludeDB.c                |  2 +-
 bindings/python/_preludedb.c             |  2 +-
 plugins/format/classic/db-object.c       | 29 +++++++++---------
 plugins/format/classic/idmef-db-insert.c |  1 -
 plugins/format/classic/idmef-db-select.c | 43 ++++++++++++++-------------
 plugins/sql/mysql/mysql.c                |  1 -
 plugins/sql/pgsql/pgsql.c                |  1 -
 src/db-interface-string.c                |  1 -
 src/db-interface.c                       |  6 +---
 src/db-object-selection.c                | 24 +++++++--------
 src/sql-plugins.c                        |  2 +-
 src/sql.c                                | 51 ++++++++++++++++++--------------
 13 files changed, 83 insertions(+), 82 deletions(-)

commit 67f6d2c985ae7d37b2e9787c800c75e5ef2940ee
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun May 23 11:55:18 2004 +0000

    * libpreludedb/plugins/format/classic/classic.c:
      remove a lot of obsolete code.
    
    * db-interface.c
      (prelude_db_interface_get_alert):
      (prelude_db_interface_get_heartbeat): remove obsoleted object_list parameter.
    
    * bindings: updated.

 bindings/perl/PreludeDB.c        |  77 ++++++---------
 bindings/python/_preludedb.c     |  67 ++++++-------
 plugins/format/classic/classic.c | 200 +--------------------------------------
 src/db-interface.c               |  10 +-
 src/include/db-interface.h       |   6 +-
 src/include/plugin-format.h      |  10 +-
 6 files changed, 74 insertions(+), 296 deletions(-)

commit eef52f9458159f1eac67ec26e986587607dc835f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 22:53:47 2004 +0000

    use BIGINT UNSIGNED for ident

 plugins/format/classic/mysql.sql | 126 +++++++++++++++++++--------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

commit 6bc2c291155673f61b34abba69c5f762a20b48a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 13:15:46 2004 +0000

    Regenerated bindings

 bindings/perl/PreludeDB.c    | 1316 ++++++++++++++++++++++--------------------
 bindings/python/_preludedb.c |  372 +++++++-----
 2 files changed, 916 insertions(+), 772 deletions(-)

commit d9473488e6207683c58cfac064fbd8606b21a7e7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 13:15:29 2004 +0000

    * libpreludedb/src/sql.c: fit latest API change.
    
      (build_criterion_fixed_sql_like_value): cleanup parser, fix a possible
      off by one.
    
      (prelude_sql_idmef_relation_to_string): new relation naming, use a loop
      to find the matching relation.
    
    * libpreludedb/plugins/format/classic/idmef-db-select.c
      remove old/unused code.
      (criteria_to_sql:) update to work with new idmef-criteria implementation.

 plugins/format/classic/classic.c         |  12 +-
 plugins/format/classic/idmef-db-select.c | 200 +++++--------------------------
 plugins/sql/mysql/mysql.c                |   2 +-
 plugins/sql/pgsql/pgsql.c                |   2 +-
 src/db-interface.c                       |   4 +-
 src/include/db-interface.h               |   2 +-
 src/include/plugin-sql.h                 |   2 +-
 src/include/sql.h                        |   4 +-
 src/sql.c                                | 153 ++++++++++-------------
 9 files changed, 107 insertions(+), 274 deletions(-)

commit 6575838fb8da7bc3325cc51fd96cfd6a462473cb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat May 22 09:05:00 2004 +0000

    Merge pgsql plugins-instances port

 plugins/sql/pgsql/pgsql.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

commit d90ef6fb1816750d270a8f52852996d9cd5c3262
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri May 21 17:59:13 2004 +0000

    Merge back plugins-instances change into trunk

 plugins/format/classic/classic.c         |  12 +-
 plugins/format/classic/idmef-db-insert.c |   5 +-
 plugins/sql/mysql/mysql.c                |   9 +-
 src/db-interface.c                       |   4 +-
 src/db.c                                 |  21 +---
 src/filter-plugins.c                     | 202 -------------------------------
 src/format-plugins.c                     |   4 +-
 src/include/dispatch.h                   |  16 ---
 src/include/plugin-format.h              |  10 +-
 src/include/plugin-sql.h                 |  12 +-
 src/sql-plugins.c                        |  10 +-
 src/sql.c                                |   4 +-
 12 files changed, 39 insertions(+), 270 deletions(-)

commit fdb0c2b7482dae836d87318c3c19c2a88696bde9
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun May 16 12:11:18 2004 +0000

    fix a compilation error in the case libpreludedb
    is compiled without Perl/Python support

 bindings/perl/Makefile.am   | 4 +++-
 bindings/python/Makefile.am | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

commit 7a1bfddebf7bb870907e82090a734294b80c2571
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon May 10 16:23:37 2004 +0000

    bug fix (it could lead to a crash)

 bindings/python/preludedb.py | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit fc59cf776591ec0ec7cfb1ebb188995386c62997
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Apr 1 09:42:55 2004 +0000

    	* plugins/format/classic/mysql.sql:
    	* plugins/format/classic/pgsql.sql:
    	bug fix, the service_ident field was missing in table Prelude_WebService

 plugins/format/classic/mysql.sql | 1 +
 plugins/format/classic/pgsql.sql | 1 +
 2 files changed, 2 insertions(+)

commit 1ff4c2060d1345fda9512894dd4c46a32170a247
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Mar 29 19:53:53 2004 +0000

    	* bindings/python/preludedb.py:
    	bug fix

 bindings/python/preludedb.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b7e41c4265d6f8590b21ec77b6f0b3a733493289
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Mar 24 22:28:42 2004 +0000

    	* libpreludedb/configure.in:
    	fix wrong installation paths for libpreludedb (bindings
    	were installed in libprelude path instead of libpreludedb)
    
    	* libpreludedb/bindings/python/preludedb.py:
    	* libpreludedb/bindings/perl/PreludeDB.pm:
    	support of db message insertion for perl and python bindings

 bindings/perl/PreludeDB.pm   | 8 ++++++++
 bindings/python/preludedb.py | 5 +++++
 configure.in                 | 4 ++--
 3 files changed, 15 insertions(+), 2 deletions(-)

commit 75f44721f6258556f3de21b217a6a960dc235435
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Mar 6 20:46:32 2004 +0000

    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/idmef-db-get.c
      (get_target): use idmef_target_decoy_to_numeric().
      (get_source): use idmef_source_spoofed_to_numeric().
    
    * dev/prelude/svn/trunk/libpreludedb/plugins/format/classic/idmef-db-insert.c
      (insert_target): use idmef_target_decoy_to_string().
      (insert_source): use idmef_source_spoofed_to_string().

 plugins/format/classic/idmef-db-get.c    | 4 ++--
 plugins/format/classic/idmef-db-insert.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

commit 3fc11d48086afe63900d6a320278cd4652316242
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:11:16 2004 +0000

    * db-message-cache.c
      (msg_to_heartbeat): idmef_recv_heartbeat() -> idmef_read_heartbeat().
      (msg_to_alert): idmef_recv_alert() -> idmef_read_alert().
      (write_message_to_cache): idmef_send_message() -> idmef_write_message().

 src/db-message-cache.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 5124e6c78ebc990d04103916990fe5ad45c3922e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:06:25 2004 +0000

    Fit libprelude IDMEF API change.

 plugins/format/classic/classic.c                 |  2 +-
 plugins/format/classic/idmef-db-insert.c         | 34 +++++++++++-------------
 plugins/format/classic/include/idmef-db-insert.h |  4 +--
 src/db-message-cache.c                           |  4 +--
 src/include/plugin-format.h                      |  2 +-
 5 files changed, 21 insertions(+), 25 deletions(-)

commit 27a0e40d36c80f5c59354602d0e7cd2726f15a0c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Mar 5 19:06:04 2004 +0000

    remove deprecated autoconf file. Fix call to AC_DEFINE to shutup
    autoconf.

 acconfig.h   | 8 --------
 configure.in | 2 +-
 2 files changed, 1 insertion(+), 9 deletions(-)

commit 7636e62ca12462c4f2a18177c83fe83e37daf6f7
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Thu Feb 12 22:53:20 2004 +0000

    	* configure.in: correct test for python/perl.

 ChangeLog    |   4 +++
 configure.in | 106 +++++++++++++++++++++++++++++++----------------------------
 2 files changed, 59 insertions(+), 51 deletions(-)

commit 64cee2a574f84d603f69c00d24a6de94d4c9c5c8
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Feb 6 00:46:15 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	use the size returned by idmef_additionaldata_data_to_string().

 ChangeLog                                |  5 +++++
 plugins/format/classic/idmef-db-insert.c | 11 ++++++-----
 2 files changed, 11 insertions(+), 5 deletions(-)

commit 63056581bb1cc7cbd0c02bbf9f3ce52fbc30bf55
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 3 10:20:17 2004 +0000

    	* plugins/sql/pgsql/pgsql.c (db_build_time_constraint):
    	* plugins/sql/mysql/mysql.c (db_build_time_constraint):
    	remove call to prelude_get_gmt_offset(). gmt_offset is already
    	provided as an argument, and so it make no sense to compute it
    	again. Fix re-declaration of gmt_offset.
    
    	* src/sql.c (build_time_constraint, build_criterion_hour):
    	update call to prelude_get_gmt_offset() to fit API change.
    
    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	back to using idmef_additionaldata_data_to_string(), which should
    	now work better.

 ChangeLog                 |  9 +++++++++
 plugins/sql/mysql/mysql.c |  7 +------
 plugins/sql/pgsql/pgsql.c |  4 ----
 src/sql.c                 | 13 +++++++------
 4 files changed, 17 insertions(+), 16 deletions(-)

commit cf296bbdf25dade85b6c064b2683c5671d23e654
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Feb 3 00:20:01 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	back to using idmef_additionaldata_data_to_string(), which should
    	now work better.

 ChangeLog                                |  6 ++++++
 plugins/format/classic/idmef-db-insert.c | 33 ++++++++++++++++++++------------
 2 files changed, 27 insertions(+), 12 deletions(-)

commit 3f7c29f88902e199452ba900c58236cf364bc0b0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Feb 1 16:33:05 2004 +0000

    	* bindings/python/preludedb.py:
    	(PreludeDB.get_values)
    	bug fixes: wrong test for tmp, and destroy function call of
    	the wrong variable

 ChangeLog                    | 7 +++++++
 bindings/python/preludedb.py | 6 +++---
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 4a94bb56653e6b402a493e992a2f516efe051428
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Jan 31 13:04:29 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c (insert_additional_data):
    	remove call to idmef_additionaldata_data_to_string(). This function
    	does absolutly nothing useful, and it's removal is pending. Use
    	prelude_sql_escape_fast().

 ChangeLog                                |  7 +++++++
 plugins/format/classic/idmef-db-insert.c | 15 +++++++--------
 2 files changed, 14 insertions(+), 8 deletions(-)

commit ac4be614665a70c9b8583a345d722e59cf49f53f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Fri Jan 30 13:08:37 2004 +0000

    	* plugins/sql/mysql/mysql.c (db_escape):
    	s/string/buf/

 ChangeLog                 | 5 +++++
 plugins/sql/mysql/mysql.c | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

commit 9710ed309096e624dc966a26734495b0d6e5ffb8
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 30 07:44:20 2004 +0000

    	* src/sql.c:
    	(build_criterion_timestamp)
    	bug fix, handle the "<=" relation correctly

 ChangeLog | 6 ++++++
 src/sql.c | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

commit 037b39788ae65565a6aa83987c87a22431712bc6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 28 19:06:57 2004 +0000

    	* src/sql.c (prelude_sql_escape_fast):
    	implement. Same as prelude_sql_escape() but take
    	a size as argument.
    
    	* plugins/sql/pgsql/pgsql.c (db_escape):
    	* plugins/sql/mysql/mysql.c (db_escape):
    	now take a len argument. We doesn't compute len
    	by ourself anymore.

 ChangeLog                 | 11 +++++++++++
 plugins/sql/mysql/mysql.c |  8 +++-----
 plugins/sql/pgsql/pgsql.c |  6 ++----
 src/include/plugin-sql.h  |  2 +-
 src/include/sql.h         |  1 +
 src/sql.c                 | 22 ++++++++++++++++++----
 6 files changed, 36 insertions(+), 14 deletions(-)

commit 6b4696c94073f30fc67bc4c4d7b7bc9e362b65b1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 25 18:11:53 2004 +0000

    	Add support of time manipulation functions to pgsql

 ChangeLog                 |   1 +
 plugins/sql/mysql/mysql.c |   2 +-
 plugins/sql/pgsql/pgsql.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 105 insertions(+), 1 deletion(-)

commit fb46d68228f65b99f05b1e1636bdbaf3060f8928
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 25 17:46:15 2004 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/python/_preludedb.c:
    	regenerated
    
    	* bindings/python/preludedb.py:
    	add support for prelude_db_interface_get_*_ident_list_len
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* plugins/format/classic/classic.c:
    	add the ability to get the len of a db message ident list
    
    	* plugins/format/classic/classic.c:
    	(classic_get_values)
    	bug fix, convert from UTC to localtime the time fields retrieved
    
    	* plugins/format/classic/idmef-db-select.c:
    	* src/sql.c:
    	* src/include/sql.h:
    	* src/include/plugin-sql.h
    	* plugins/sql/mysql/mysql.c:
    	add support for idmef-criterion-value

 ChangeLog                                |  28 ++
 bindings/perl/PreludeDB.c                | 216 +++++++++++++-
 bindings/python/_preludedb.c             | 133 ++++++++-
 bindings/python/preludedb.py             |  19 +-
 plugins/format/classic/classic.c         |  91 ++++--
 plugins/format/classic/idmef-db-select.c |  40 ++-
 plugins/sql/mysql/mysql.c                | 103 +++++++
 src/db-interface.c                       |  16 ++
 src/include/db-interface.h               |   4 +
 src/include/plugin-format.h              |   8 +
 src/include/plugin-sql.h                 |  24 +-
 src/include/sql.h                        |   5 +
 src/sql.c                                | 470 ++++++++++++++++++++++++++++++-
 13 files changed, 1090 insertions(+), 67 deletions(-)

commit f8a2c4106c5b0c565589601d8cf273cb90581e1a
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Jan 23 14:55:27 2004 +0000

    change parent_type fields from VARCHAR(1) to ENUM('S','T','H','A') in mysql schema

 plugins/format/classic/mysql.sql | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

commit a2c686b8e09cd12ec9b8c858d0a547f700a43ecc
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Thu Jan 22 18:40:42 2004 +0000

    add keys to speed up piwi when database starts to be huge

 plugins/format/classic/mysql.sql | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

commit c3b04aca771e434a9a28c02957886cd79effb04f
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Jan 16 21:03:20 2004 +0000

    indent fix only, no content change
    tabs in .sql files are evil, replace by plain spaces

 plugins/format/classic/pgsql.sql | 48 ++++++++++++++++++++--------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

commit 18868747ae8f92a0873e0045206798f0c79a889c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 14 21:53:54 2004 +0000

    	* plugins/format/classic/pgsql.sql:
    	bug fix, switch all time field in TIMESTAMP type
    	(instead of VARCHAR or DATE types)
    
    	* plugins/sql/pgsql/pgsql.c:
    	(db_field_fetch)
    	(db_field_fetch_by_name)
    	bug fix, return NULL if the field contains NULL

 ChangeLog                        | 11 +++++++++++
 plugins/format/classic/pgsql.sql | 14 +++++++-------
 plugins/sql/pgsql/pgsql.c        | 15 ++++++++-------
 3 files changed, 26 insertions(+), 14 deletions(-)

commit 9d43884e3f64616bf41ba213ab5a18f3018d7e6f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Jan 14 18:24:53 2004 +0000

    	* plugins/sql/pgsql/pgsql.c (db_escape):
    	checking the wrong variable is bad for your health.

 ChangeLog                 | 5 +++++
 plugins/sql/pgsql/pgsql.c | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit a6c093d12ca282d6884d9398f7fe52d4d965b87a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 11 20:24:58 2004 +0000

    	test

 plugins/format/classic/db-object.c | 2 --
 1 file changed, 2 deletions(-)

commit 709d7ab664653731fbc0236927f2ba109ea3ce75
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jan 11 17:29:19 2004 +0000

    	* bindings/python/preludedb.py:
    	(PreludeDB.__get_message)
    	bug fix, return None if the underlying C function returns
    	NULL
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_userid)
    	bug fix, did not check correctly the return value of a
    	get_uint32
    	(get_user)
    	(get_process)
    	bug fix, forgot to set table to NULL after destroying it that could lead
    	to a double free
    	(get_alert)
    	(get_heartbeat)
    	check if the alert/heartbeat is present in the DB before trying to fetch it instead
    	of returning an empty idmef_message if it is not present

 ChangeLog                             | 20 +++++++++++++
 bindings/python/preludedb.py          |  3 ++
 plugins/format/classic/idmef-db-get.c | 54 ++++++++++++++++++++++++++++++++++-
 3 files changed, 76 insertions(+), 1 deletion(-)

commit 4840f10c5ffa1e818c09ba40c91fe7c937166198
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Jan 10 08:10:48 2004 +0000

            * bindings/perl/PreludeDB.pm:
            (get_message_ident_list)
            bug fix for criteria argument retrieval

 ChangeLog                  | 6 ++++++
 bindings/perl/PreludeDB.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 3441f5e48d38634b430084cb89afd322685f5899
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 7 22:36:13 2004 +0000

    	Make yoann happy ;)

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 107306b81182dac12ad6f2259c8ab23b3ea57b65
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jan 7 16:49:49 2004 +0000

    	* plugins/format/classic/classic.c:
    	(get_message)
    	fit idmef_message changes

 ChangeLog                        |  6 ++++++
 plugins/format/classic/classic.c | 12 ++++++------
 2 files changed, 12 insertions(+), 6 deletions(-)

commit 93be93dec40a341c3314a59fc964443a20339ec6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jan 2 21:55:23 2004 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	(get_timestamp)
    	use idmef_time_set_db_timestamp
    	(*)
    	handle correctly NULL value: don't create empty object
    	for NULL value anymore
    	cleanup

 ChangeLog                             |  10 +
 plugins/format/classic/idmef-db-get.c | 973 ++++++++++++----------------------
 2 files changed, 338 insertions(+), 645 deletions(-)

commit ff62956b08e557fe3b7a8462d8a9dd5af416a816
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Jan 1 23:18:39 2004 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	(insert_inode)
    	(insert_file)
    	bug fix: insertion failed if there was no *time fields
    	fit idmef_time_get_db_timestamp changes
    	(insert_additional_data)
    	bug fix: insertion failed if the len of the data embedded in
    	additional_data was superior to 1024 bytes
    	fit idmef_additionaldata_data_to_string changes
    	(insert_createtime)
    	(insert_detecttime)
    	(insert_analyzertime)
    	fit idmef_time_get_db_timestamp changes

 ChangeLog                                |  20 +++-
 plugins/format/classic/idmef-db-insert.c | 166 ++++++++++---------------------
 2 files changed, 72 insertions(+), 114 deletions(-)

commit c340ec031e03f6bc3ed602a784073d1f117a3219
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Wed Dec 31 14:17:51 2003 +0000

    *** empty log message ***

 ChangeLog                 | 5 +++++
 plugins/sql/pgsql/pgsql.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit d353df9273989bd2e5ae0dffaa8ac9d58eb03af6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 31 11:53:45 2003 +0000

    	* plugins/format/classic/classic.c:
    	fix some warnings
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_ntp_timestamp)
    	remove unused variables
    
    	* plugins/sql/pgsql/pgsql.c:
    	bug fix: db_limit_offset was assigned to the escape func
    	entry of the plugin
    
    	* src/param-string.c:
    	fix some warnings

 ChangeLog                             | 16 ++++++++++++++++
 plugins/format/classic/classic.c      |  3 +++
 plugins/format/classic/idmef-db-get.c |  1 -
 plugins/sql/pgsql/pgsql.c             |  4 +++-
 src/param-string.c                    | 31 +++++++++++++++++--------------
 5 files changed, 39 insertions(+), 16 deletions(-)

commit 18adbf685eeaf5c48ff414f693b9c0e54378f071
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 18:37:29 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	(get_ntp_timestamp)
    	bug fix: avoid (possibly buggy) code duplication, use
    	idmef_time_new_ntp_timestamp to convert ntp stamptime
    	to idmef_time
    
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/sql/mysql/mysql.c:
    	* plugins/sql/pgsql/pgsql.c:
    	* src/sql.c:
    	* src/include/plugin-sql.h:
    	* src/include/sql.h:
    	make sql limit and offset the sql plugin' job to have a better
    	portability (libpreludedb should re-work with MySQL 3.2x)

 ChangeLog                                | 17 +++++++
 plugins/format/classic/idmef-db-get.c    | 14 +-----
 plugins/format/classic/idmef-db-select.c | 82 +++++++++++++++++---------------
 plugins/sql/mysql/mysql.c                | 19 ++++++++
 plugins/sql/pgsql/pgsql.c                | 20 ++++++++
 src/include/plugin-sql.h                 |  3 ++
 src/include/sql.h                        |  1 +
 src/sql.c                                |  9 ++++
 8 files changed, 114 insertions(+), 51 deletions(-)

commit dcd0a3666674fbfc9c85842d58eb70dfe321cbef
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 13:54:40 2003 +0000

    	Cleanup

 ChangeLog                    |   1 +
 bindings/python/preludedb.py | 148 +++++++++++++++++++++++--------------------
 2 files changed, 79 insertions(+), 70 deletions(-)

commit 78f0f78d1277a80f1784c48d0abd4e435f0c1158
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Dec 29 11:20:29 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDBSQL)
    	remove the "close" method (it should not be directly accessed)
    
    	* bindings/python/preludedb.py:
    	documentation written
    	remove the "close" method (see above)

 ChangeLog                    | 10 +++++
 bindings/perl/PreludeDB.pm   |  8 ----
 bindings/python/preludedb.py | 93 +++++++++++++++++++++++++++++++++++++-------
 3 files changed, 90 insertions(+), 21 deletions(-)

commit 260ac5095eb5d0e97547d8fa3be2c7232a58cb1f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 22:21:30 2003 +0000

    	Fixes

 plugins/format/classic/idmef-db-select.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit eeafdb5b1e1ac7c3c228217052c8625c56854ebe
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 16:10:08 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	insert an empty string ("") if a MUST-BE-PRESENT string
    	does not contain anything

 ChangeLog                                |  6 ++
 plugins/format/classic/idmef-db-insert.c | 94 +++++++++++++++++++-------------
 2 files changed, 61 insertions(+), 39 deletions(-)

commit ae908c25abeaaa8386822c0b83e7a14cbafa24fa
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 28 15:18:55 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(relation_to_sql)
    	fit last changes of prelude_sql_escape (and underlying
    	db_escape sql plugin functions): the value is already quoted
    	cleanup

 ChangeLog                                |  8 +++
 plugins/format/classic/idmef-db-select.c | 92 +++++++++++++++++---------------
 plugins/sql/mysql/mysql.c                |  2 +-
 3 files changed, 59 insertions(+), 43 deletions(-)

commit b53b82243916bd541c9c8b0216fafbf680ffa5e0
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 23:55:39 2003 +0000

    Ooops

 plugins/sql/mysql/mysql.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 9b7d87e0f0628d03fc3908a99fbacb263d1e35ef
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Dec 27 16:29:09 2003 +0000

    	* bindings/python/preludedb.py:
    	fixes

 ChangeLog                    |  5 +++++
 bindings/python/preludedb.py | 25 +++++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

commit 9c1732301b6af90c0250d808da4f33f630dfe8a1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:26:14 2003 +0000

    *** empty log message ***

 plugins/sql/pgsql/pgsql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 68bcecd44a661ff7ce1bc4c2a9a52145dbb70061
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:17:47 2003 +0000

            * src/include/Makefile.am (noinst_HEADERS):
            * src/Makefile.am (libpreludedb_la_SOURCES):
            * src/include/gdb.h:
            * src/gdb.c:
            removed.

 ChangeLog               | 20 +++++++++++++-------
 src/Makefile.am         |  1 -
 src/gdb.c               | 39 ---------------------------------------
 src/include/Makefile.am |  1 -
 src/include/gdb.h       |  7 -------
 5 files changed, 13 insertions(+), 55 deletions(-)

commit 5a9bd27484417fbbe4be9686dd1757eea5a0dc48
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 16:08:12 2003 +0000

            * plugins/sql/mysql/mysql.c (cleanup):
            * plugins/sql/pgsql/pgsql.c (cleanup):
            fix possible NULL pointer dereference on cleanup.
    
            * plugins/sql/mysql/mysql.c (db_escape):
            * plugins/sql/pgsql/pgsql.c (db_escape):
            updated. Return "NULL" if input is NULL. Else, quote
            the string using '' characters. Please note that this
            plugin is seriously updated compared to 0-8 version
            and that it should be synced asap.
    
            * plugins/format/classic/idmef-db-insert.c (insert_address):
            (insert_node): (insert_userid): (insert_user): (insert_process):
            (insert_snmp_service): (insert_service): (insert_inode):
            (insert_linkage): (insert_analyzer): (insert_target):
            (insert_source): (insert_file): (insert_classification):
            (insert_additional_data): (insert_createtime): (insert_detecttime):
            (insert_impact): (insert_analyzertime): (insert_action):
            (insert_confidence): (insert_overflow_alert): (insert_tool_alert):
            (insert_correlation_alert):
    
            Restore fix already applied to 0-8 branch, where the
            responssability to quote (' ') a string is up to the database plugin.
    
            This avoid insertion of quoted NULL entry in the database, which
            would be considered as valid string.

 ChangeLog                                |  27 +++
 plugins/format/classic/idmef-db-delete.c |   2 +-
 plugins/format/classic/idmef-db-get.c    |   5 +-
 plugins/format/classic/idmef-db-insert.c | 277 ++++++++++++++++++-------------
 plugins/sql/mysql/mysql.c                |  45 +++--
 plugins/sql/pgsql/pgsql.c                |  46 +++--
 6 files changed, 261 insertions(+), 141 deletions(-)

commit 754a4579236a57e1599b7749d7f4b79cf2cf5077
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 27 12:27:40 2003 +0000

            * src/include/Makefile.am (include_HEADERS):
            * src/Makefile.am (libpreludedb_la_SOURCES):
            remove strbuf.[ch].
    
            * plugins/format/classic/idmef-db-select.c:
            use prelude-strbuf instead of libpreludedb own strbuf
            implementation.

 ChangeLog                                |  10 ++
 plugins/format/classic/idmef-db-select.c | 253 ++++++++++++++++---------------
 src/Makefile.am                          |   1 -
 src/include/Makefile.am                  |   3 -
 src/include/strbuf.h                     |  43 ------
 src/strbuf.c                             | 139 -----------------
 6 files changed, 137 insertions(+), 312 deletions(-)

commit 6b87d3bcb31fd4abb2d1a2cd7fa867bb87c67a24
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 21:28:12 2003 +0000

    	* plugins/format/classic/db-object.c:
    	* src/db.c:
    	only print debug message if in debug mode

 ChangeLog                          | 4 ++++
 plugins/format/classic/db-object.c | 5 ++++-
 src/db.c                           | 4 +++-
 3 files changed, 11 insertions(+), 2 deletions(-)

commit ee1050036e3f7ac1d8a4b6394595d71303a0cdd0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 21:17:04 2003 +0000

    	* configure.in:
    	don't regenerate the .c source files of bindings during
    	./configure

 ChangeLog    | 6 ++++++
 configure.in | 4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)

commit 4ff6abd39c7e819ec82ba4b11bc917dd0886a65a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 26 18:30:44 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	cleanup
    	(PreludeDBSelection)
    	modified to use the new prelude_db_selected_object_new_string
    	function (the function has been rewritten from Perl to C so that
    	it can be also used from Python)
    
    	* bindings/perl/PreludeDB.i:
    	moved in bindings/libpreludedb.i
    
    	* src/db-connection.c:
    	* src/include/db-connection.h:
    	(prelude_db_connection_get_sql)
    	new function
    
    	* src/db-object-selection.c:
    	* src/include/db-object-selection.h:
    	(prelude_db_selected_object_new_string)
    	new function, it should be used by the bindings
    
    	* bindings/python/*:
    	new files
    	python binding support

 ChangeLog                         |   29 +
 bindings/Makefile.am              |    2 +-
 bindings/generate.sh              |    5 +
 bindings/libpreludedb.i           |  145 +++
 bindings/perl/PreludeDB.c         |  185 ++-
 bindings/perl/PreludeDB.i         |  154 ---
 bindings/perl/PreludeDB.pm        |   65 +-
 bindings/perl/generate.sh         |    2 +-
 bindings/python/Makefile.am       |   24 +
 bindings/python/_preludedb.c      | 2317 +++++++++++++++++++++++++++++++++++++
 bindings/python/generate.sh       |    3 +
 bindings/python/preludedb.py      |  402 +++++++
 configure.in                      |   42 +-
 plugins/format/classic/classic.c  |    3 +-
 src/db-connection.c               |   13 +
 src/db-interface-string.c         |    1 +
 src/db-object-selection.c         |  141 +++
 src/include/db-connection.h       |    2 +-
 src/include/db-interface.h        |    2 +-
 src/include/db-object-selection.h |    1 +
 20 files changed, 3219 insertions(+), 319 deletions(-)

commit 5edf5f0fb16501a3b1fca7d9e71b541aeec750da
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 21 22:36:29 2003 +0000

    	add an "offset" parameter to the prelude_db_interface_select_values
    	function

 ChangeLog                        |  2 ++
 bindings/perl/PreludeDB.c        | 10 ++++++----
 bindings/perl/PreludeDB.pm       |  6 ++++--
 plugins/format/classic/classic.c |  4 ++--
 src/db-interface.c               |  4 ++--
 src/include/db-interface.h       |  2 +-
 src/include/plugin-format.h      |  2 +-
 7 files changed, 18 insertions(+), 12 deletions(-)

commit 1bacaaeea53d54ae9853a781ba607ff5ada5a011
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 21 19:40:23 2003 +0000

    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* plugins/format/classic/classic.c:
    	add a "limit" and an "offset" parameter to the
    	prelude_db_interface_get_{alert,heartbeat}_ident_list functions
    
    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	fit changes of limit and offset stuff

 ChangeLog                                        | 17 +++++++++++++++
 bindings/perl/PreludeDB.c                        | 22 +++++++++++++------
 bindings/perl/PreludeDB.pm                       | 11 ++++++++--
 plugins/format/classic/classic.c                 | 17 +++++++++------
 plugins/format/classic/idmef-db-select.c         | 27 ++++++++++++++++++------
 plugins/format/classic/include/idmef-db-select.h |  3 +++
 src/db-interface.c                               | 18 ++++++++++------
 src/include/db-interface.h                       |  6 ++++--
 src/include/plugin-format.h                      |  6 ++++--
 9 files changed, 95 insertions(+), 32 deletions(-)

commit 500a6a31bc9ab309f71fa95657013db952e75b6e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Dec 19 14:14:13 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(relation_to_sql)
    	bug fix for substr relation

 ChangeLog                                | 6 ++++++
 bindings/perl/PreludeDB.c                | 2 +-
 plugins/format/classic/idmef-db-select.c | 4 ++--
 3 files changed, 9 insertions(+), 3 deletions(-)

commit 0c2c39f909b7857bb0ff6ac881f562d7623d7402
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Dec 18 23:45:45 2003 +0000

    	* plugins/format/classic/schema.txt:
    	add support for {alert,heartbeat}.analyzer.{node,process}* objects

 ChangeLog                         |  5 +++++
 plugins/format/classic/schema.txt | 35 +++++++++++++++++++++++++++++++----
 2 files changed, 36 insertions(+), 4 deletions(-)

commit 6e0127004da7e839ee7c0cc1906be12eced803f6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Dec 14 18:45:58 2003 +0000

    * src/db-message-cache.c (cache_write_cb):
    	fix a NULL pointer dereference in the messaging subsystem
    	that would trigger if the cached alert we were written was
    	to big. Return the recycled message.

 ChangeLog              | 7 +++++++
 src/db-message-cache.c | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit 141313a2304bda8f6a6d3ec6e967ce2ec0f6dcab
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 14 18:25:18 2003 +0000

    	don't set default path for cache

 bindings/perl/PreludeDB.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 8d36a802c7a5b920e167291122486ac82255c9a3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Dec 14 18:11:49 2003 +0000

    	* src/db-cache.c:
    	renamed in src/db-message-cache.c
    	little code cleanup
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	make db-interface use db-message-cache
    
    	* bindings/perl/Prelude.c:
    	regenerated
    
    	* bindings/perl/Prelude.pm:
    	updated to use cache feature of db-interface

 ChangeLog                      |  16 ++
 bindings/perl/PreludeDB.c      | 119 +++++++++----
 bindings/perl/PreludeDB.pm     |   8 +
 src/Makefile.am                |   2 +-
 src/db-cache.c                 | 377 -----------------------------------------
 src/db-interface.c             |  93 +++++++---
 src/db-message-cache.c         | 369 ++++++++++++++++++++++++++++++++++++++++
 src/include/Makefile.am        |   2 +-
 src/include/db-cache.h         |  33 ----
 src/include/db-interface.h     |   9 +-
 src/include/db-message-cache.h |  37 ++++
 11 files changed, 603 insertions(+), 462 deletions(-)

commit fd76b73bf97c2839c78ad82dd010cb9d17488e5d
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:37:19 2003 +0000

    *** empty log message ***

 src/db-cache.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 6a962b17b9773934bb4cee0325775799ef83f8e1
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:36:38 2003 +0000

    *** empty log message ***

 src/db-cache.c | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

commit 336f2588751b0ddd2ab77217273d9dad37bc4957
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:17:32 2003 +0000

    *** empty log message ***

 src/db-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit fad0f550a58c414b7ae8d3134de4533c7df09a80
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:14:47 2003 +0000

    *** empty log message ***

 src/db-cache.c | 1 -
 1 file changed, 1 deletion(-)

commit deef51d5671d8cdcd12a1595997296ed8ccd6197
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:14:09 2003 +0000

    *** empty log message ***

 src/db-cache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c4c3584562d61d0fc88021b3e1e875e7d71d678e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 16:06:27 2003 +0000

    *** empty log message ***

 src/db-cache.c | 41 ++++++++++++++++++-----------------------
 1 file changed, 18 insertions(+), 23 deletions(-)

commit 4719a44bcade0a8a27a033f1b93887c95ad33d6a
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 15:45:45 2003 +0000

    more db-cache work...

 src/db-cache.c | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

commit f00f3f1c7df024e8a9577cf0d4f3c64a9dab80d6
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sat Dec 13 14:34:42 2003 +0000

    	* configure.in:
    	stop overwritting user provided CFLAGS.
    
    	* src/sql-connection-data.c:
    	remove useless NULL check.
    
    	* src/include/Makefile.am (includedir):
    	* src/Makefile.am (libpreludedb_la_SOURCES):
    	* src/include/db-cache.h:
    	* src/db-cache.c:
    	database caching mechanism implementation.

 ChangeLog                 |  14 ++
 configure.in              |   8 +-
 src/Makefile.am           |   1 +
 src/db-cache.c            | 372 ++++++++++++++++++++++++++++++++++++++++++++++
 src/include/Makefile.am   |   1 +
 src/include/db-cache.h    |  33 ++++
 src/sql-connection-data.c |  54 ++-----
 7 files changed, 437 insertions(+), 46 deletions(-)

commit d7067f84006785a2e1ba3cb9f93dc1406c2bba27
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Dec 10 17:58:55 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	* plugins/format/classic/idmef-db-select.c:
    	fit last changes of libprelude (stuff moved from
    	idmef-util.c to idmef-time.c)

 ChangeLog                                |  7 +++++++
 bindings/perl/PreludeDB.c                |  2 +-
 plugins/format/classic/idmef-db-insert.c | 20 ++++++++++----------
 plugins/format/classic/idmef-db-select.c |  2 +-
 4 files changed, 19 insertions(+), 12 deletions(-)

commit 67e5557274b92efe2d025103cffc504bbb7b8bba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 30 12:44:26 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::delete_alert)
    	(PreludeDB::delete_heartbeat)
    	bug fix, forgot to port this two functions to the
    	last changes of the libpreludedb C API

 ChangeLog                  |  8 ++++++++
 bindings/perl/PreludeDB.pm | 27 ++++++++++++++++++++-------
 2 files changed, 28 insertions(+), 7 deletions(-)

commit a8bd1147215d2855cbae3a1743637fed61f47616
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Nov 24 07:01:25 2003 +0000

    forgot to remove the include of db-uident.h ...

 plugins/format/classic/idmef-db-get.c | 1 -
 1 file changed, 1 deletion(-)

commit 89c5719e10fd95b3ca9cea0873535006fe79a631
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 23 23:23:08 2003 +0000

    I forgot to add/remove some files...

 src/db-message-ident.c         | 72 ++++++++++++++++++++++++++++++++++++++++++
 src/include/db-message-ident.h | 36 +++++++++++++++++++++
 src/include/db-uident.h        | 37 ----------------------
 3 files changed, 108 insertions(+), 37 deletions(-)

commit 40c4b26377e57475fcaee183a9a43e8889a40306
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Nov 23 19:46:13 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	updated to fit the new db-message-ident.[ch]
    
    	* bindings/perl/PreludeDB.pm:
    	updated to fit the new db-message-ident.c and the API
    	changes of format plugin
    	code cleanup
    
    	* plugins/format/classic/classic.c:
    	updated to fit the new db-message-ident.c
    	code cleanup
    
    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/include/idmef-db-delete.h:
    	updated to fit the new db-message-ident.c
    
    	* plugins/format/classic/idmef-db-select.c:
    	bug fix, handle correctly is_null and is_not_null relations
    
    	* plugins/sql/mysql/mysql.c:
    	remove the double queries limitation
    
    	* plugins/sql/pgsql/pgsql.c:
    	remove the double queries limitation
    	bug fix, db_query did not return NULL for table with 0 row
    
    	* src/db-message-ident.c:
    	* src/include/db-message-ident.h:
    	new files
    	provide message ident manipulation functions
    
    	* src/db-interface-string.c:
    	include db-message-ident.h
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	the API for alert ident list retrieving has been changed in order
    	to be more efficient
    	code cleanup
    
    	* src/db.c:
    	* src/include/db.h:
    	include db-message-ident.h
    	prelude_db_shutdown now returns void instead of int
    
    	* src/format-plugins.c:
    	include db-message-ident.h
    
    	* src/include/plugin-format.h:
    	API has been changed to provide a more efficient to way
    	to handle alert lists
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                                        |  57 +++
 bindings/perl/PreludeDB.c                        | 539 +++++++++++------------
 bindings/perl/PreludeDB.i                        | 143 +-----
 bindings/perl/PreludeDB.pm                       |  99 +++--
 plugins/format/classic/classic.c                 | 188 +++-----
 plugins/format/classic/idmef-db-delete.c         |  10 +-
 plugins/format/classic/idmef-db-select.c         |  10 +-
 plugins/format/classic/include/idmef-db-delete.h |   4 +-
 plugins/sql/mysql/mysql.c                        |  34 +-
 plugins/sql/pgsql/pgsql.c                        |  42 +-
 src/Makefile.am                                  |   1 +
 src/db-interface-string.c                        |   2 +-
 src/db-interface.c                               | 202 ++++-----
 src/db.c                                         |   6 +-
 src/format-plugins.c                             |   2 +-
 src/include/Makefile.am                          |   2 +-
 src/include/db-interface.h                       |  26 +-
 src/include/db.h                                 |   2 +-
 src/include/plugin-format.h                      |  46 +-
 19 files changed, 595 insertions(+), 820 deletions(-)

commit 4273bdf890674ea7e03a04d82d0f98877a7ad5b0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Nov 19 20:09:58 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	bug fix, idmef_source_spoofed_to_string does not
    	exist anymore, replace it by idmef_spoofed_to_string
    	thanks to John Green for pointing that out

 ChangeLog                                | 7 +++++++
 plugins/format/classic/idmef-db-insert.c | 4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

commit 838e5ad99c5c39b36a5f0bcbeb2c344784d7005f
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Nov 18 00:10:27 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	bug fix (IDMEFSelection did not longer exist)

 ChangeLog                  |  5 +++++
 bindings/perl/PreludeDB.c  |  2 +-
 bindings/perl/PreludeDB.pm | 52 +++++++++++++++++++++++++++++++++++-----------
 3 files changed, 46 insertions(+), 13 deletions(-)

commit 28e96ad956c0a8d220d11b235fcc8604960065a0
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Nov 17 00:15:20 2003 +0000

    	* src/db-object-selection.c:
    	* src/include/db-object-selection.h:
    	new files
    	replace idmef-selection
    
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* src/db-interface-string.c:
    	* src/db-interface-string.c:
    	* src/db-interface.c:
    	* src/db.c:
    	* src/format-plugins.c:
    	* src/include/plugin-format.h:
    	fit new selection stuff changes
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                                        |  23 ++
 bindings/perl/PreludeDB.c                        | 358 +++++++++++++++++++----
 bindings/perl/PreludeDB.i                        |   2 +
 bindings/perl/PreludeDB.pm                       | 103 ++++++-
 plugins/format/classic/classic.c                 | 144 ++++++---
 plugins/format/classic/idmef-db-select.c         |  90 +++---
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 src/Makefile.am                                  |   1 +
 src/db-interface-string.c                        |   2 +
 src/db-interface.c                               |  19 +-
 src/db-object-selection.c                        | 129 ++++++++
 src/db.c                                         |   1 +
 src/format-plugins.c                             |   2 +
 src/include/Makefile.am                          |   1 +
 src/include/db-interface.h                       |   8 +-
 src/include/db-object-selection.h                |  53 ++++
 src/include/plugin-format.h                      |   8 +-
 17 files changed, 784 insertions(+), 162 deletions(-)

commit eafe5c33e3f4f236c4d2d839d76045050a179d9c
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Sat Nov 15 16:44:31 2003 +0000

    remove 'strip'ping of perl binding
    correct case on table name (Prelude_UserId not Prelude_UserID)

 bindings/perl/Makefile.am             | 2 +-
 plugins/format/classic/idmef-db-get.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit f3c81df0aecdd5d411f49942852e9e31636525bb
Author: Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
Date:   Fri Nov 14 22:49:03 2003 +0000

    fix installation problems on gentoo and perhaps other distribs

 bindings/perl/Makefile.am | 8 ++++----
 libpreludedb-config.in    | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

commit a667655d9c63b428e04dc3067da5a333f1a786fb
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Nov 5 20:04:15 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	fit libprelude changes (*_find_{string,numeric} functions
    	renamed in *_to_{string,numeric})

 ChangeLog                             |  6 ++++++
 bindings/perl/PreludeDB.c             |  2 +-
 plugins/format/classic/idmef-db-get.c | 30 +++++++++++++++---------------
 3 files changed, 22 insertions(+), 16 deletions(-)

commit 3cf119295e86485c5b70a3677f4d249ae7ac1eb1
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 25 22:16:19 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	remove idmef_selection build related code
    	use new libprelude perl's IDMEFSelection

 ChangeLog                  |   6 ++
 bindings/perl/PreludeDB.c  |   2 +-
 bindings/perl/PreludeDB.pm | 138 ++++++---------------------------------------
 3 files changed, 23 insertions(+), 123 deletions(-)

commit f05057ec53eaa4bc57faba69ea70bfcba55f4a39
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 25 07:54:18 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::get_values)
    	updated to use distinct stuff
    
    	* plugins/format/classic/idmef-db-select.c:
    	(build_request)
    	fix a bug introduced when "SELECT DISTINCT" has
    	been reintroduced: the two last arguments of
    	strbuf_sprintf where not took into account because
    	two "%s" where missing in the format string

 ChangeLog                                | 16 ++++++++++++++--
 bindings/perl/PreludeDB.c                |  2 +-
 bindings/perl/PreludeDB.pm               |  5 ++++-
 plugins/format/classic/idmef-db-select.c |  4 ++--
 4 files changed, 21 insertions(+), 6 deletions(-)

commit 44aa9c410c23d89492a19e1a1f8ece627cf59cbf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Oct 23 22:04:54 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/idmef-db-insert.c:
    	fit idmef-tree last changes

 ChangeLog                                |  7 +++++
 bindings/perl/PreludeDB.c                |  2 +-
 plugins/format/classic/idmef-db-get.c    | 45 +++++++-------------------------
 plugins/format/classic/idmef-db-insert.c |  8 +++---
 4 files changed, 22 insertions(+), 40 deletions(-)

commit b44ffde568dfab593e480b246ef35509b65f59cf
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Oct 21 15:38:24 2003 +0000

            * src/include/plugin-format.h:
            * src/include/db-interface.c:
            * src/db-interface.c:
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-select.c:
            * plugins/format/classic/include/idmef-db-select.h:
            reintroduced support for "SELECT DISTINCT".
    
            * plugins/format/classic/include/idmef-db-select.h:
            #define'd some useful symbolic names for three int parameters of
            idmef_db_select().
    
            * bindings/perl/PreludeDB.c:
            regenerated.

 ChangeLog                                        | 17 +++++++++++++++++
 bindings/perl/PreludeDB.c                        | 10 ++++++----
 plugins/format/classic/classic.c                 | 10 +++++++---
 plugins/format/classic/idmef-db-select.c         |  7 +++++--
 plugins/format/classic/include/idmef-db-select.h |  9 +++++++++
 src/db-interface.c                               |  3 ++-
 src/include/db-interface.h                       |  1 +
 src/include/plugin-format.h                      |  1 +
 8 files changed, 48 insertions(+), 10 deletions(-)

commit cabf9d19d585c9a62ff605a4bde1fb18dbd5c110
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Oct 21 14:53:09 2003 +0000

    2003-10-21  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
            * plugins/format/classic/idmef-db-select.c:
            (table_list_to_strbuf): renamed to table_list_to_strbuf_for_alerts().
            (table_list_to_strbuf_for_values): implemented. This function uses
            right joins as opposed to table_list_to_strbuf_for_alerts().
            (build_request):
            (idmef_db_select): take a parameter specifying if we are extracting
            complete alerts or values accross the alerts; use left and right
            joins respectively
    
            * plugins/format/classic/idmef-db-select.h:
            * plugins/format/classic/classic.c:
            modified accordingly.

 ChangeLog                                        |  15 +++
 plugins/format/classic/classic.c                 |   6 +-
 plugins/format/classic/idmef-db-select.c         | 124 +++++++++++++++++++++--
 plugins/format/classic/include/idmef-db-select.h |   3 +-
 4 files changed, 134 insertions(+), 14 deletions(-)

commit 201beea5485de2e293ecdf878f5bdea1337a4a0a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Oct 20 07:35:11 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	code review: fixes and cleanup
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                  |   9 ++
 bindings/perl/PreludeDB.c  | 243 ++++++++++++++++++++++++++++++++-------------
 bindings/perl/PreludeDB.i  | 151 +++++++++++++++++++---------
 bindings/perl/PreludeDB.pm |  45 ++++++---
 4 files changed, 320 insertions(+), 128 deletions(-)

commit d9b47c4caa554c60eeed8be16e3a3284a15d22c5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Oct 18 06:59:41 2003 +0000

    	* plugins/format/classic/classic.c:
    	bug fix: build value the right way

 ChangeLog                        |  5 +++++
 bindings/perl/PreludeDB.i        |  4 ++++
 plugins/format/classic/classic.c | 27 ++++++++++++++++++++++-----
 3 files changed, 31 insertions(+), 5 deletions(-)

commit b9241548f488ffee895f44e7ba5bee4f5558cfba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Oct 12 17:53:27 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::DESTROY)
    	(PreludeDBSQLRow::DESTROY)
    	<<<grab from the ChangeLog of libprelude, we have
    	exactly the same problem in libpreludedb>>>
    	"bug" fix/workaround
    	some code like this:
    	perl -e "use Prelude; $message = new IDMEFMessage"
    	(note that I did not use "my")
    	leads to call IDMEFMessage::DESTROY -> idmef_message_destroy with a NULL
    	pointer (because the swig intermediate object has been destroyed before
    	the top IDMEFMessage::DESTROY is called itself)
    	this is very bizarre, and only happen for non-my variable at perl exit stage,
    	perl -e "use Prelude; my $message = new IDMEFMessage" will work
    	perl -e "use Prelude; $message = new IDMEFMessage; $message = undef" will also work
    	indeed, perl is great language ;)

 ChangeLog                  | 19 +++++++++++++++++++
 bindings/perl/PreludeDB.pm |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)

commit f7cfad3ef300b6b4959280b78641613bafc2c47d
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Oct 12 13:15:48 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	(insert_additional_data)
    	fit idmef_additional_data_to_string changes

 ChangeLog                                |  6 ++++++
 plugins/format/classic/idmef-db-insert.c | 15 +++++----------
 2 files changed, 11 insertions(+), 10 deletions(-)

commit 0c88efb8269cc778599064067390669e2b2599b4
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Oct 8 09:59:07 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	fit idmef-criteria changes
    
    	* plugins/format/classic/classic.c:
    	fit idmef-criteria changes
    
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h
    	fit idmef-criteria changes
    	criterion_to_sql has been splited up in two
    	functions: criteria_to_sql and criterion_to_sql
    
    	* plugins/format/classic/schema.txt:
    	add the support of the following objects:
    	heartbeat.create_time
    	heartbeat.analyzer_time
    	alert.create_time
    	alert.analyzer_time
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	fit idmef-criteria changes
    
    	* src/sql.c:
    	fit idmef-criteria changes
    
    	* src/include/plugin-format.h:
    	fit idmef-criteria changes

 ChangeLog                                        |  34 +++++
 bindings/perl/PreludeDB.c                        | 141 ++++++++++++++------
 bindings/perl/PreludeDB.pm                       |  18 +--
 plugins/format/classic/classic.c                 |  45 +++++--
 plugins/format/classic/idmef-db-select.c         | 160 +++++++++++------------
 plugins/format/classic/include/idmef-db-select.h |   2 +-
 plugins/format/classic/schema.txt                |   6 +
 src/db-interface.c                               |  10 +-
 src/include/db-interface.h                       |   6 +-
 src/include/plugin-format.h                      |   6 +-
 10 files changed, 274 insertions(+), 154 deletions(-)

commit cdd37296bcd3e46cea7298263cb3a4a5df6cf347
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Sep 21 13:33:35 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	(get_alert_uident_list)
    	(get_heartbeat_uident_list)
    	(get_values)
    	those functions can accept directly a criterion string
    	as a criterion
    
    	* plugins/format/classic/idmef-db-insert.c:
    	check return value of idmef_get_db_timestamp and
    	idmef_get_ntp_timestamp functions
    
    	* plugins/format/classic/idmef-db-select.c:
    	(value_to_sql)
    	new function
    	support for idmef_date in idmef_criterion
    
    	* plugins/format/classic/schema.txt:
    	add support of alert.detect_time object

 ChangeLog                                | 21 +++++++++++
 bindings/perl/PreludeDB.pm               | 21 +++++++----
 plugins/format/classic/idmef-db-insert.c | 61 +++++++++++++++++++-------------
 plugins/format/classic/idmef-db-select.c | 34 ++++++++++++++----
 plugins/format/classic/schema.txt        |  2 ++
 5 files changed, 102 insertions(+), 37 deletions(-)

commit 8d05f992e746a7d053a2eebdb2234942efc1ca97
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 19 21:51:05 2003 +0000

    	* bindings/perl/PreludeDB.pm
    	(PreludeDB::get_values)
    	bug fix

 ChangeLog                  | 6 ++++++
 bindings/perl/PreludeDB.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

commit 46200c2f0886748937628fc2d1ae91798528617c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 19 07:39:48 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	add the get_values function
    
    	* plugins/format/classic/classic.c:
    	check idmef_object_value_new's return value and destroy objval
    	when idmef_object_value_list_add failed

 ChangeLog                                |  12 +++
 bindings/perl/PreludeDB.c                |  81 +++----------------
 bindings/perl/PreludeDB.pm               | 135 +++++++++++++++++++++++++++++--
 plugins/format/classic/classic.c         |   8 +-
 plugins/format/classic/idmef-db-select.c |  10 +--
 5 files changed, 165 insertions(+), 81 deletions(-)

commit 949092993fe2c56fb1c4781d7bc1a6cb51f8438e
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu Sep 18 06:55:57 2003 +0000

    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* plugins/format/classic/classic.c:
    	modifications to fit changes of idmef_db_select's prototype
    	(classic_get_values)
    	skip empty lines (lines where all fields are NULL)
    	don't build value depending of object because of sql functions
    	(for example, count for a string field returns a number)
    
    	* plugins/format/classic/idmef-db-select.c:
    	lot of changes and cleanup to support GROUP BY, ORDER BY and LIMIT
    	distinct is not used anymore, use group by instead
    
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	(prelude_db_interface_select_values)
    	(format_select_values)
    	function's prototype changes, remove distinct and add limit argument

 ChangeLog                                        |  23 +++
 bindings/perl/PreludeDB.c                        |  20 +-
 plugins/format/classic/classic.c                 |  44 +++--
 plugins/format/classic/idmef-db-select.c         | 241 +++++++++++++++--------
 plugins/format/classic/include/idmef-db-select.h |   8 +-
 plugins/sql/mysql/mysql.c                        |   2 +-
 src/db-interface.c                               |   8 +-
 src/include/db-interface.h                       |   6 +-
 src/include/plugin-format.h                      |   6 +-
 9 files changed, 234 insertions(+), 124 deletions(-)

commit 50fc4e9a7843c4d706dcaf7f52215db474003a9a
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Sep 15 08:41:58 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	changes to fit modifications in libprelude's idmef_selection

 ChangeLog                                |  7 +++++++
 bindings/perl/PreludeDB.pm               |  2 +-
 plugins/format/classic/classic.c         | 24 ++++++++++++------------
 plugins/format/classic/idmef-db-select.c | 23 +++++++++++++----------
 4 files changed, 33 insertions(+), 23 deletions(-)

commit 97aebd9c07061aa3d285e8475e0d705983562504
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Sep 12 14:30:05 2003 +0000

            * bindings/perl/PreludeDB.i:
            cleanup, do not cut & paste the prototypes of functions used,
            instead, include directly the needed headers
    
            * bindings/perl/PreludeDB.c:
            regenerated
    
            * bindings/perl/PreludeDB.pm:
            some fixes in sql related functions

 ChangeLog                  |   12 +
 bindings/perl/PreludeDB.c  | 1503 +++++++++++++++++++++++++++++++++++---------
 bindings/perl/PreludeDB.i  |   93 +--
 bindings/perl/PreludeDB.pm |   12 +-
 4 files changed, 1239 insertions(+), 381 deletions(-)

commit fa04806ed0765de3f3a5a2d5d1fc000c6730f474
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 8 09:48:45 2003 +0000

    	* src/db-interface.c (prelude_db_interface_new):
    	check for NULL strdup return value.

 ChangeLog          | 5 ++++-
 src/db-interface.c | 7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

commit 5300a9779655654c29e228b3fcc0b4a8d2a93dce
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Sep 8 00:58:50 2003 +0000

    *** empty log message ***

 ChangeLog                  |  30 +++++++
 src/db-interface.c         | 214 +++++++++++++++++++--------------------------
 src/include/db-interface.h |   4 -
 3 files changed, 119 insertions(+), 129 deletions(-)

commit 71fc24572227d5a43258e298701d390c22268a7e
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 2 09:20:55 2003 +0000

    *** empty log message ***

 src/db.c | 2 ++
 1 file changed, 2 insertions(+)

commit 1154b73fbc05f1f60858850b1bc2dcc579ba5710
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 2 09:19:34 2003 +0000

    * src/db-interface-string.c (get_sql_connection_data):
    reworked this function so that it is easy to add new
    parameters. You now just have to add a parameters name and
    handling function to the array of structure in order for
    the parameter to be taken into account.

 ChangeLog                 |   8 +++
 src/db-interface-string.c | 130 +++++++++++++++-------------------------------
 2 files changed, 50 insertions(+), 88 deletions(-)

commit 14d0b021f5fcd1df6863ae1b8f52e80da122298c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Aug 30 19:16:21 2003 +0000

    	* bindings/perl/PreludeDB.i:
    	update the binding interface to the last API changes
    
    	* bindings/perl/PreludeDB.c:
    	regenerated
    
    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB::new)
    	restore the removed constructor code and also accept directly
    	connection string
    	update the binding interface to the last API changes
    	(PreludeDB::get_alert)
    	restore the old function's implementation which already
    	"treat empty @object_list as undefined"
    	(PreludeDB::get_heartbeat)
    	some fixes
    
    	* plugins/format/classic/idmef-db-select.c:
    	(table_list_destroy)
    	fix a memory leak (tlist->top_table was not freed)
    
    	* plugins/format/classic/classic.c:
    	(classic_select_values)
    	some modifications to fit the last idmef_object_value_new's changes
    
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-delete.h:
    	* src/db-interface-string.c:
    	* src/db-interface.c:
    	* src/db.c:
    	* src/format-plugins.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	* src/include/db-uident.h:
    	API changes, an alert/heartbeat was previously identified by its ident field
    	which is an uint64_t, however IDMEF tell:
    	"""
    	The "ident" attribute by itself provides a unique identifier only
    	among all the "ident" values sent by a particular analyzer.  But
    	when combined with the "analyzerid" value for the analyzer, a
    	value that is unique across the intrusion detection environment is
    	created.
    	"""
    	so now, an alert is identified by the couple analyzerid + alert_ident
    	which MUST be unique among the others in the db
    	the current db schema does not respect this, but the new one will

 ChangeLog                                        |  52 ++++
 bindings/perl/PreludeDB.c                        | 349 +++++++++++++++++------
 bindings/perl/PreludeDB.i                        | 119 +++++++-
 bindings/perl/PreludeDB.pm                       | 103 ++++---
 plugins/format/classic/classic.c                 | 206 +++++++------
 plugins/format/classic/idmef-db-delete.c         |  13 +-
 plugins/format/classic/idmef-db-get.c            |  11 +-
 plugins/format/classic/idmef-db-select.c         |  11 +-
 plugins/format/classic/include/idmef-db-delete.h |   7 +-
 src/db-interface-string.c                        |   1 +
 src/db-interface.c                               | 146 +++++++---
 src/db.c                                         |   3 +-
 src/format-plugins.c                             |   1 +
 src/include/Makefile.am                          |   1 +
 src/include/db-interface.h                       |  35 ++-
 src/include/db-uident.h                          |  37 +++
 src/include/plugin-format.h                      |  38 ++-
 17 files changed, 830 insertions(+), 303 deletions(-)

commit 22cee17dab9dcaf8f2ae8267c498a2aedfd81a76
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 17:26:27 2003 +0000

    *** empty log message ***

 src/strbuf.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit c99ff51a355658074f0d4c9dcbf4764833753e4c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Aug 19 17:24:11 2003 +0000

    	* src/strbuf.c (strbuf_new):
    	use similar OOM warning as we have in other place in the code.
    
    	coding style fix.

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit 01bb488d1aa690bac8c163abc4c311e73a2c3695
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 14 13:41:59 2003 +0000

            * bindings/perl/PreludeDB.pm:
            (PreludeDB::new): pass connection string directly to
            prelude_db_interface_new_string(), instead of parsing
            (since parser does not seem to work anyhow).
            (_convert_object_list): adapted to changed idmef-selection API
            (get_alert): treat empty @object_list as undefined
    
            * plugins/format/classic/classic.c:
            (classic_get_alert): fixed an idiotic bug in handling NULL selection.

 ChangeLog                        | 12 ++++++++++++
 bindings/perl/PreludeDB.pm       | 35 ++++++++++-------------------------
 plugins/format/classic/classic.c |  2 +-
 3 files changed, 23 insertions(+), 26 deletions(-)

commit 5f3e2a880e10f6628c2bd46d3aeb6b7d909ff68e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Aug 13 22:03:42 2003 +0000

            * bindings/perl/PreludeDB.i:
            modified to reflect recent API changes.
    
            * bindings/perl/PreludeDB.c:
            regenerated.

 ChangeLog                 |   9 +++-
 bindings/perl/PreludeDB.c | 107 +++++++++++++++++++++++++++++++++++++++++++---
 bindings/perl/PreludeDB.i |   8 ++++
 3 files changed, 116 insertions(+), 8 deletions(-)

commit b428c80a98cf53c30d2d1b89d77716f1c991032c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Aug 12 10:55:20 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (aggregate_function_to_sql): implemented.
            (add_field):
            (relation_to_sql): handle aggregate functions
            (build_request):
            (idmef_db_select): handle 'distinct' parameter
    
            *  plugins/format/classic/classic.c:
            handle aggregate functions.
            (classic_select_values):
            (classic_get_values): implemented.
            (classic_get_alert):
            (classic_get_heartbeat):
            force full alert extraction under conditions where partial extraction
            can produce incorrect results
    
            * src/include/db-interface.h:
            * src/db-interface.c:
            style fixes
            (prelude_db_interface_select_values):
            (prelude_db_interface_get_values):
            implemented
    
            * src/include/plugin-format.h:
            added format_select_values and format_get_values callbacks

 ChangeLog                                        |  29 +++++
 plugins/format/classic/classic.c                 | 142 ++++++++++++++++++++---
 plugins/format/classic/idmef-db-select.c         |  63 ++++++++--
 plugins/format/classic/include/idmef-db-select.h |   1 +
 src/db-interface.c                               |  33 +++++-
 src/include/db-interface.h                       |   9 ++
 src/include/plugin-format.h                      |  23 +++-
 7 files changed, 267 insertions(+), 33 deletions(-)

commit 89a8d7a8ea90c0d6958c3b356f556aba19439f81
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sat Aug 2 21:54:33 2003 +0000

    	* plugins/format/classic/idmef-db-select.c:
    	(table_entry_new):
    	bug fix: free entry AFTER its fields have been freed
    
    	* plugins/sql/mysql/mysql.c:
    	(db_begin)
    	check session's status before doing anything
    
    	* plugins/sql/pgsql/pgsql.c:
    	(db_begin)
    	check session's status before doing anything

 ChangeLog                                | 20 ++++++++++
 bindings/perl/PreludeDB.c                | 65 +++++++++++++++++++++++++++++++-
 plugins/format/classic/idmef-db-select.c |  5 ++-
 plugins/sql/mysql/mysql.c                | 14 +++++++
 plugins/sql/pgsql/pgsql.c                | 14 +++++++
 5 files changed, 114 insertions(+), 4 deletions(-)

commit 38fb09d3a4a5ccd62012ec7bbd2ee91ee7be3288
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jul 14 10:33:00 2003 +0000

    	* src/db-interface.c:
    	(prelude_db_interface_disconnect)
    	fix a bug, interface->db_connection was not set to NULL
    	after it has been destroyed
    
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	(PreludeDB)
    	add the disconnect function
    
    	* bindings/perl/PreludeDB.c:
    	regenerated

 ChangeLog                  | 15 +++++++++++++++
 bindings/perl/PreludeDB.c  | 34 ++++++++++++++++++++++++++++++++--
 bindings/perl/PreludeDB.i  |  3 ++-
 bindings/perl/PreludeDB.pm |  7 +++++++
 src/db-interface.c         |  1 +
 5 files changed, 57 insertions(+), 3 deletions(-)

commit 9da9cc4828568e1eeb07c9e77b0089e98168e185
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 9 20:32:37 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	return value of function like PreludeDB::init that returns an
    	integer to indicate if the function failed or not has changed:
    	before the changes, functions returned a value < 0 if the function failed
    	or a value >= 0 otherwise
    	now, the functions return 0 if the function failed or another value otherwise
    	this choice has been done to follow the perl's "conventions" in this domain

 ChangeLog                  | 10 ++++++++++
 bindings/perl/PreludeDB.pm | 24 +++++++++---------------
 2 files changed, 19 insertions(+), 15 deletions(-)

commit 4593e87adf76514eda92d2f3fab3d1ce5d3b9fbf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 9 08:48:55 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	add a 1 (true value) at the end of the package's code
    
    	* plugins/format/classic/idmef-db-get.c:
    	(get_user)
    	bug fix, "parent" was passed as parent argument of function get_userid
    	instead of "user"

 ChangeLog                             | 10 ++++++++++
 bindings/perl/PreludeDB.pm            |  2 ++
 plugins/format/classic/idmef-db-get.c |  2 +-
 3 files changed, 13 insertions(+), 1 deletion(-)

commit 2d838fc5b079a7a8e6c396dc91213818eab2ad92
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Tue Jul 8 08:43:56 2003 +0000

    	* plugins/format/classic/idmef-db-insert.c:
    	bug fix, code cleanup, port to the new IDMEF API
    
    	* plugins/format/classic/schema.txt:
    	add the alert.target.service.port object

 ChangeLog                                |    8 +
 plugins/format/classic/idmef-db-insert.c | 1118 +++++++++++++++---------------
 plugins/format/classic/schema.txt        |    1 +
 3 files changed, 568 insertions(+), 559 deletions(-)

commit b2410b9040ca172e5090662c26a0f5f9c192afba
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jul 7 18:58:55 2003 +0000

    ChangeLog has not been commited the last two times

 ChangeLog | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

commit d4057926dcc2a20e9a84de921d9fe02a1452fdf6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun Jul 6 14:24:04 2003 +0000

    	* bindings/perl/PreludeDB.pm:
    	support full message fetching
    
    	* plugin/format/classic/idmef-db-delete.c:
    	fix two bugs in alert/heartbeat deletion code
    	(bad test for deletion of Prelude_Address row,
    	and Prelude_Heartbeat rows were not deleted in
    	classic_delete_heartbeat)

 bindings/perl/PreludeDB.c                |  2 +-
 bindings/perl/PreludeDB.pm               | 11 ++++++++---
 plugins/format/classic/idmef-db-delete.c |  3 ++-
 3 files changed, 11 insertions(+), 5 deletions(-)

commit 25f25226919d6cbb4e26144cea08bdd2166454c6
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jul 4 20:56:48 2003 +0000

    	* plugins/format/classic/idmef-db-delete.c:
    	* plugins/format/classic/include/idmef-db-delete.c:
    	new files
    	* bindings/perl/PreludeDB.c:
    	regenerated
    	* bindings/perl/PreludeDB.i:
    	* bindings/perl/PreludeDB.pm:
    	* plugins/format/classic/classic.c:
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	support the deletion of alert/heartbeat

 bindings/perl/PreludeDB.c                        |  78 ++++++++-
 bindings/perl/PreludeDB.i                        |   6 +-
 bindings/perl/PreludeDB.pm                       |  24 ++-
 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |   3 +
 plugins/format/classic/idmef-db-delete.c         | 192 +++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-delete.h |  30 ++++
 src/db-interface.c                               |  27 +++-
 src/include/db-interface.h                       |   4 +
 src/include/plugin-format.h                      |   9 ++
 10 files changed, 364 insertions(+), 11 deletions(-)

commit bf45f9ba119ae89a5c3f17bb1a10a86687b82986
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jul 2 22:29:25 2003 +0000

            * plugins/format/classic/classic.c:
            include "idmef-db-get.h"
    
            * plugins/format/classic/idmef-db-get.c:
            (get_user): fixed error detection.
    
            * plugins/format/classic/schema.txt:
            newer version.

 ChangeLog                             | 11 ++++++
 plugins/format/classic/classic.c      |  1 +
 plugins/format/classic/idmef-db-get.c |  2 +-
 plugins/format/classic/schema.txt     | 68 +++++++++++++++++++++++++++++++++++
 4 files changed, 81 insertions(+), 1 deletion(-)

commit aca804afab83f4d81d37fc51b9d1bc7f53951adf
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed Jul 2 19:44:29 2003 +0000

    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/schema.txt:
    	support whole message fetching for heartbeat

 ChangeLog                         |  6 ++++++
 plugins/format/classic/classic.c  |  4 +++-
 plugins/format/classic/schema.txt | 10 +++++++++-
 3 files changed, 18 insertions(+), 2 deletions(-)

commit 8253ed4bbdcf14434c2dd650db3f1f651038816a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jul 2 10:38:45 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (normalize_condition): implemented.
            (table_entry_new): copy criteria into table entry structure.
            Fixed memory leaks in error handling.
            (table_list_to_strbuf): put condition in bracket (just in case)
            (add_table): normalize condition before matching with condition
            in the table entry structure
            (criterion_to_sql): use aliased table names.
            (build_request): compile table list after processing criteria
    
            * plugins/format/classic/schema.txt:
            new version of database schema file, courtesy of Davor Ocelic
            <docelic@mail.inet.hr>.

 ChangeLog                                |  16 +++
 plugins/format/classic/idmef-db-select.c | 163 ++++++++++++++++++++++---------
 plugins/format/classic/schema.txt        |  79 +++++++--------
 3 files changed, 169 insertions(+), 89 deletions(-)

commit 773f8fe61194ed189ba792ecd914f097524f438e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jul 1 11:13:04 2003 +0000

    *** empty log message ***

 ChangeLog | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 0a5f23d9403aa066b6809b480545beb4b8e74e58
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jul 1 11:11:41 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): more readable debug messages :). Handle 1-to-N
            relations better ( still not perfect :( ). Don't check if
            selection is NULL, the calling function already does that.
    
            * plugins/format/classic/idmef-db-select.c:
            don't try to build the FROM ... LEFT JOIN ... statements at once;
            instead, first build a table list and then compile to SQL.
            Alias all tables. That should make extracting values with 1-to-N
            relations work correctly. Add a debug messsage containing a number
            of rows extracted.

 ChangeLog                                |  19 +-
 plugins/format/classic/classic.c         |  35 +-
 plugins/format/classic/idmef-db-select.c | 570 +++++++++++++++++++------------
 3 files changed, 396 insertions(+), 228 deletions(-)

commit ab9bdd8f0d2edb4f437285aaf044ccf3960c9468
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon Jun 30 22:15:40 2003 +0000

    	* plugins/format/classic/idmef-db-get.c:
    	* plugins/format/classic/include/idmef-db-get.h:
    	new files
    	add the support of a whole message fetching
    
    	* plugins/format/classic/classic.c:
    	(classic_get_alert)
    	call get_alert when the selection argument is NULL in order
    	to fetch the whole message

 ChangeLog                                     |   20 +
 bindings/perl/PreludeDB.c                     |    2 +-
 plugins/format/classic/Makefile.am            |    2 +-
 plugins/format/classic/classic.c              |    4 +-
 plugins/format/classic/idmef-db-get.c         | 2556 +++++++++++++++++++++++++
 plugins/format/classic/idmef-db-insert.c      |    2 +-
 plugins/format/classic/include/idmef-db-get.h |   33 +
 src/sql.c                                     |    2 +
 8 files changed, 2617 insertions(+), 4 deletions(-)

commit 0c6b86a7b788f42f822b9b5e5bd5a880539a9276
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Fri Jun 27 07:30:43 2003 +0000

    	* src/sql.c:
    	* src/include/sql.h:
    	(prelude_sql_field_value_int16)
    	(prelude_sql_field_value_uint16)
    	new functions

 src/include/sql.h |  2 ++
 src/sql.c         | 24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

commit 6446d4e04ef7dc40c1c11d2e0598a77a6d021323
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 22:10:46 2003 +0000

    *** empty log message ***

 plugins/format/classic/classic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 55e149b41bbcab03ffcfb137391ce53339fe9e61
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 21:46:12 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): add some log() statements to help debugging.

 ChangeLog                        |  5 +++++
 plugins/format/classic/classic.c | 25 +++++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

commit ab5cdcfe4a520ce8ee837dd365220be2c9bf4a8c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Jun 23 20:47:44 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): handle NULL fields correctly.
    
            * plugins/format/classic/idmef-db-select.c:
            build query differently, using LEFT JOIN statements. This allows
            to handle empty tables / records correctly when used along with
            filled ones.

 ChangeLog                                | 10 ++++
 plugins/format/classic/classic.c         |  8 ++-
 plugins/format/classic/idmef-db-select.c | 96 +++++++++-----------------------
 3 files changed, 42 insertions(+), 72 deletions(-)

commit 6c663cfb506cbe0cc894f19c536c213227fb375f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 22 23:21:05 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): call idmef_selection_set_object_iterator()
            before processing each row. Use idmef_value_new_for_object()
            instead of idmef_value_new_generic() to handle enums
            correctly.

 ChangeLog                        |  8 ++++++++
 plugins/format/classic/classic.c | 11 ++++-------
 2 files changed, 12 insertions(+), 7 deletions(-)

commit 3242075b88429b6eba2aa42d39de72d8dcba77ec
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 22 13:32:21 2003 +0000

            * plugins/format/classic/classic.c:
            (get_message): don't use prelude_sql_field_idmef_value(),
            do convertion manually, obtaining variable type via
            idmef_object_get_type(). This is caused by some braindead
            type mappings (uint64_t as STRING, eh?).

 ChangeLog                        | 8 ++++++++
 plugins/format/classic/classic.c | 7 ++++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

commit a5e69ac3b0c553c6bcaa9d7b8e4ae5f1ebcc3cce
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Jun 1 17:20:09 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (objects_to_sql):
            remove unneeded cached_obj variable.

 ChangeLog                                | 6 ++++++
 plugins/format/classic/idmef-db-select.c | 1 -
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 7220abc443ddfe28ae2fb20b1d1613a20b8f2df3
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Thu May 29 20:32:31 2003 +0000

    	* bindings/perl/PreludeDB/*:
    	removed
    
    	* bindings/perl/*:
    	new files, the perl binding has been rewritten using swig
    
    	* configure.in:
    	* Makefile.am:
    	modified to support the perl binding in the build process
    
    	* plugins/format/classic/idmef-db-select.c:
    	in criterion_to_sql, check if db_object_find's return value is NULL
    	rename idmef_object_get_num function's call in idmef_object_get_numeric
    	because idmef_object_get_num does not exist

 ChangeLog                                |   17 +
 Makefile.am                              |    2 +-
 bindings/Makefile.am                     |    1 +
 bindings/perl/Makefile.am                |   25 +
 bindings/perl/PreludeDB.c                | 1697 ++++++++++++++++++++++++++++++
 bindings/perl/PreludeDB.i                |  165 +++
 bindings/perl/PreludeDB.pm               |  334 ++++++
 bindings/perl/PreludeDB/Changes          |    6 -
 bindings/perl/PreludeDB/MANIFEST         |    8 -
 bindings/perl/PreludeDB/Makefile.PL      |   17 -
 bindings/perl/PreludeDB/PreludeDB.pm     |  131 ---
 bindings/perl/PreludeDB/PreludeDB.xs     |  338 ------
 bindings/perl/PreludeDB/README           |   38 -
 bindings/perl/PreludeDB/ppport.h         |  540 ----------
 bindings/perl/PreludeDB/test.pl          |   97 --
 bindings/perl/PreludeDB/typemap          |    5 -
 bindings/perl/generate.sh                |    3 +
 configure.in                             |   40 +
 plugins/format/classic/idmef-db-select.c |   11 +-
 src/db-interface.c                       |    3 +-
 20 files changed, 2294 insertions(+), 1184 deletions(-)

commit 919f0ee4e75dfbe0a414cbc99bfa75975839238c
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Mon May 19 20:06:17 2003 +0000

    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-select.c:
    	* plugins/format/classic/include/idmef-db-select.h:
    	* src/sql.c:
    	* src/include/sql.h:
    	* src/db-interface.c:
    	* src/include/db-interface.h:
    	* src/include/plugin-format.h:
    	libpreludedb API changes, idmef_cache is not used anymore,
    	idmef_selection is now used for object selection and
    	idmef_message is used to store the fetched fields

 ChangeLog                                        |  14 ++
 plugins/format/classic/classic.c                 | 261 ++++++++++-------------
 plugins/format/classic/idmef-db-select.c         |  54 +++--
 plugins/format/classic/include/idmef-db-select.h |   3 +-
 src/db-interface.c                               | 113 ++++------
 src/include/db-interface.h                       |  20 +-
 src/include/plugin-format.h                      |  49 ++---
 src/include/sql.h                                |   2 +-
 src/sql.c                                        |  19 +-
 9 files changed, 235 insertions(+), 300 deletions(-)

commit b739568917913c3b5496745a58e65b47dedd3734
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Sun May 18 17:17:08 2003 +0000

    	* plugins/format/classic/schema.txt:
    	minor modification to fit idmef_data's last changes
    
    	* plugins/format/classic/classic.c:
    	minor modifications to fit the idmef_criterion_new's
    	changes

 ChangeLog                         | 9 +++++++++
 plugins/format/classic/classic.c  | 2 --
 plugins/format/classic/schema.txt | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

commit a6130d5890fa5f2c1ff4708241942bdaefae0077
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed May 14 08:31:32 2003 +0000

            * src/sql-plugins.c:
            * src/sql.c:
            minor modifications to fit idmef_string's last changes

 ChangeLog | 6 ++++++
 1 file changed, 6 insertions(+)

commit a3f3ac9fb2d0a66e7ea66bd56d7fe501af21d9f5
Author: Nicolas Delon <nicolas.delon@prelude-ids.com>
Date:   Wed May 14 08:09:45 2003 +0000

            * src/sql-plugins.c:
            * src/sql.c:
            minor modifications to fit idmef_string's last changes

 src/sql-plugins.c | 1 +
 src/sql.c         | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

commit 36d1f139b7eb30a7b971b148cd0b29014fdb76b9
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu May 8 19:21:36 2003 +0000

            * plugins/format/classic/include/idmef-db-select.h:
            * plugins/format/classic/include/idmef-db-insert.h:
            change #define'd constants names to match file names.

 ChangeLog                                        | 8 +++++++-
 plugins/format/classic/include/idmef-db-insert.h | 6 +++---
 plugins/format/classic/include/idmef-db-select.h | 6 +++---
 3 files changed, 13 insertions(+), 7 deletions(-)

commit 8e69029590e38064379e9e0f2f1b2ce3f27bd01d
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu May 8 19:14:05 2003 +0000

            (these modifications should have been checked in on 2003-05-05)
    
            * plugins/format/classic/include/idmef-db-output.h:
            renamed to idmef-db-insert.h
    
            * plugins/format/classic/include/idmef-db-read.h:
            renamed to idmef-db-select.h
    
            * plugins/forma/classic/include/idmef-db-select.h:
            apply modifications corresponding to those in
            idmef-db-select.c

 ChangeLog                                        | 15 ++++++++++-
 plugins/format/classic/include/idmef-db-insert.h | 31 +++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-output.h | 30 ----------------------
 plugins/format/classic/include/idmef-db-read.h   | 32 ------------------------
 plugins/format/classic/include/idmef-db-select.h | 32 ++++++++++++++++++++++++
 5 files changed, 77 insertions(+), 63 deletions(-)

commit d7f8312cb24301bfea27edf93d8cecfb39767688
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 21:35:35 2003 +0000

            * plugins/format/classic/idmef-db-select.c:
            (objects_to_sql):
            avoid a SIGSEGV in a situation when a requested object
            is not present in database schema.

 ChangeLog                                |  7 +++++++
 plugins/format/classic/idmef-db-select.c | 11 +++++++++++
 2 files changed, 18 insertions(+)

commit 9410593cb87e29f99155e1f17d9b6ee3e87443bb
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 21:03:12 2003 +0000

            * plugins/sql/mysql/mysql.c(db_query):
            fix a bug that returned a non-null pointer for select that
            returns no rows (this bug was introduced in the last mysql.c
            modification by using mysql_store_result which has not the same
            behaviour that mysql_use_result
    
            * plugins/format/classic/Makefile.am:
            the last fix did not work, this one works
    
            * src/db-interface.c:
            * src/include/db-interface.h:
            a lot of modifications, now, we provide a higher level (easier to use,
            more efficient) of abstraction on top of the sql database
    
            * plugins/format/classic/idmef-db-output.c:
            has been renamed in idmef-db-insert.c
    
            * plugins/format/classic/idmef-db-read.c:
            has been renamed in idmef-db-select.c
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-insert.c:
            * plugins/format/classic/idmef-db-select.c:
            a lot of modifications to fit the new format plugin API

 ChangeLog                                |   28 +
 plugins/format/classic/Makefile.am       |    7 +-
 plugins/format/classic/classic.c         |  263 ++++--
 plugins/format/classic/idmef-db-insert.c | 1353 ++++++++++++++++++++++++++++++
 plugins/format/classic/idmef-db-output.c | 1352 -----------------------------
 plugins/format/classic/idmef-db-read.c   |  819 ------------------
 plugins/format/classic/idmef-db-select.c |  629 ++++++++++++++
 plugins/sql/mysql/mysql.c                |    9 +-
 src/db-interface.c                       |  194 ++++-
 src/include/db-interface.h               |   25 +-
 src/include/plugin-format.h              |   54 +-
 11 files changed, 2419 insertions(+), 2314 deletions(-)

commit e94ea5341fab96b79414a52446f8a68ec5b015fa
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon May 5 17:20:54 2003 +0000

            * src/sql.c:
            (prelude_sql_field_idmef_value):
            modify to accomodate a change in idmef_string_new() syntax.

 ChangeLog | 6 ++++++
 src/sql.c | 3 +--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 142d94c13cd910857c797f6251226e511178122e
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Apr 27 21:40:25 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            fix compilation warnings.
            (objects_to_sql):
            fix possible use of uninitialized values on error.
            (criterion_to_sql):
            modified to reflect recent libprelude API changes
            (relation_less, relation_greater).
    
            * src/gdb.c:
            fix warnings.

 ChangeLog                              | 13 +++++++++++++
 configure.in                           |  2 +-
 plugins/format/classic/idmef-db-read.c | 34 ++++++++++++++++++++--------------
 src/gdb.c                              |  7 ++++++-
 4 files changed, 40 insertions(+), 16 deletions(-)

commit 2d9c3f130bea22109b45993c51d3b096ebf60c20
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Apr 15 21:10:37 2003 +0000

    *** empty log message ***

 src/include/queue.h | 39 ---------------------------------------
 1 file changed, 39 deletions(-)

commit f5242a0f3fdefa561060029bd99253804f35e1cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Apr 1 20:46:22 2003 +0000

    	* plugins/format/classic/classic.c(add_criterion):
    	use idmef_value_ref() instead of idmef_value_clone()

 ChangeLog                        | 5 +++++
 plugins/format/classic/classic.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

commit 80f399c86c357e246fd3b872d5fff25a1b365aee
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:13:57 2003 +0000

    *** empty log message ***

 ChangeLog | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

commit 8edd2b1572c59706ab6b64c99e062488de77b2cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:13:34 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            (build_request): handle queries without WHERE clause

 plugins/format/classic/idmef-db-read.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit feb4afaa5117824771b841e40304b981ecbb3066
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Mar 16 13:01:53 2003 +0000

    2003-03-16  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
            * plugins/format/classic/idmef-db-read.c
            (criterion_to_sql): handle empty criteria chain correctly
    
    2003-03-14  Nicolas Delon  <delon.nicolas@wanadoo.fr>
    
            * plugins/format/classic/Makefile.am
            fix a compilation rule error

 plugins/format/classic/Makefile.am     |  2 +-
 plugins/format/classic/idmef-db-read.c | 17 +++++++++++------
 2 files changed, 12 insertions(+), 7 deletions(-)

commit 727be0b221fcf39d73b8993faabb5e392083b326
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 22 00:24:51 2003 +0000

    	* plugins/sql/mysql/mysql.c:
    	functions prelude_sql_{fields,rows}_num works now,
    	mysql_use_result has been replaced by mysql_store_result
    	Thanks to Vincent Glaume for the bug report.
    
    	* src/include/sql.h:
    	add a comment to explain what does the return value of the
    	prelude_sql_field_fetch mean
    
    	* plugins/format/classic/Makefile.am:
    	link classic.so against libpreludedb in order to make the
    	perl binding working

 ChangeLog                          | 15 +++++++++++++++
 bindings/perl/PreludeDB/test.pl    |  4 +++-
 plugins/format/classic/Makefile.am |  2 +-
 plugins/sql/mysql/mysql.c          |  5 +----
 src/include/sql.h                  |  9 +++++++++
 5 files changed, 29 insertions(+), 6 deletions(-)

commit 4ef7f0bf43abc9754581366302d924a1e46b88e7
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Feb 18 22:42:32 2003 +0000

    	* plugins/format/classic/pgsql.sql:
    	included a patch from Herve Debar <herve.debar@francetelecom.com>
    	(a syntax fix)

 ChangeLog                        | 6 ++++++
 plugins/format/classic/pgsql.sql | 3 ++-
 2 files changed, 8 insertions(+), 1 deletion(-)

commit ddc22a5979426e91f0ddbbb7c2e54d8bb8b38795
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 08:01:34 2003 +0000

    *** empty log message ***

 ChangeLog | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

commit aa793918f97dff5b936d5f3fb4703df319707303
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 08:00:47 2003 +0000

            * plugins/format/classic/idmef-db-read.c:
            use SELECT DISTINCT instead of SELECT (eliminates duplicates
            introduced by 1-to-N relations).

 plugins/format/classic/idmef-db-read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6b72b6308979cfc98b97dd9826caac4d1ba54930
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Feb 15 06:03:40 2003 +0000

    	* plugins/format/classic/idmef-db-read.c:
    	fix handling of 1-to-N relations
    
    	* src/idmef-object-list.c:
    	* src/include/idmef-object-list.h:
    	removed.
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	updated accordingly.

 plugins/format/classic/idmef-db-read.c |  81 ++++++++++++----------
 src/Makefile.am                        |   1 -
 src/idmef-object-list.c                | 121 ---------------------------------
 src/include/Makefile.am                |   1 -
 src/include/idmef-object-list.h        |  39 -----------
 5 files changed, 46 insertions(+), 197 deletions(-)

commit 88948db90af6b5c63cd84ccb878c12708fa116ff
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Feb 14 14:09:53 2003 +0000

            * configure.in:
            add a variable for directory for holding configuration of
            format plugins
    
            * plugins/format/classic/Makefile.am:
            add plugin and config directories to DEFS.
            compile db-object.c.
            install schema.txt.
    
            * plugins/format/classic/include/db-object.h
            * plugins/format/classic/db-object.c:
            * plugins/format/classic/schema.txt:
            new file. Parser and config file for describing database structure
    
            * plugins/format/classic/include/idmef-db-read.h:
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/classic.c:
            add IDMEF message reading support.
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            Removed. idmef_cache_t used instead.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            updated accordingly
    
            * src/db-interface-string.c:
            * src/db-interface.c:
            * src/db.c
            * src/format-plugins.c:
            * src/include/db-interface.h:
            * src/include/plugin-format.h:
            modify to reflect used API.
    
            * src/include/param-string.h
            * src/param-string.c:
            fix various bugs resulting in SIGSEGVs
            (strbuf_sprintf): handle empty strings correctly
            (strbuf_string):
            (strbug_empty):
            (strbuf_clear): implemented
    
            * src/db.c:
            change comment to indicate that reinitialization attempts are OK

 ChangeLog    | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 configure.in |  3 +++
 2 files changed, 52 insertions(+)

commit 68aa87ab2c1a5b262843e7ee2a9cb62449a066f1
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Feb 14 14:08:05 2003 +0000

            * configure.in:
            add a variable for directory for holding configuration of
            format plugins
    
            * plugins/format/classic/Makefile.am:
            add plugin and config directories to DEFS.
            compile db-object.c.
            install schema.txt.
    
            * plugins/format/classic/include/db-object.h
            * plugins/format/classic/db-object.c:
            * plugins/format/classic/schema.txt:
            new file. Parser and config file for describing database structure
    
            * plugins/format/classic/include/idmef-db-read.h:
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/classic.c:
            add IDMEF message reading support.
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            Removed. idmef_cache_t used instead.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            updated accordingly
    
            * src/db-interface-string.c:
            * src/db-interface.c:
            * src/db.c
            * src/format-plugins.c:
            * src/include/db-interface.h:
            * src/include/plugin-format.h:
            modify to reflect used API.
    
    	* src/include/param-string.h
            * src/param-string.c:
            fix various bugs resulting in SIGSEGVs
            (strbuf_sprintf): handle empty strings correctly
            (strbuf_string):
            (strbug_empty):
            (strbuf_clear): implemented
    
            * src/db.c:
            change comment to indicate that reinitialization attempts are OK

 plugins/format/classic/Makefile.am             |   9 +-
 plugins/format/classic/classic.c               | 147 ++++-
 plugins/format/classic/db-object.c             | 376 ++++++++++++
 plugins/format/classic/idmef-db-read.c         | 753 ++++++++++++++++++++++++-
 plugins/format/classic/include/db-object.h     |  50 ++
 plugins/format/classic/include/idmef-db-read.h |   6 +-
 plugins/format/classic/schema.txt              |  44 ++
 src/Makefile.am                                |   1 -
 src/db-interface-string.c                      |   2 -
 src/db-interface.c                             |  35 +-
 src/db.c                                       |  12 +-
 src/format-plugins.c                           |   2 -
 src/idmef-db-values.c                          |  32 --
 src/include/Makefile.am                        |   1 -
 src/include/db-interface.h                     |   9 +-
 src/include/idmef-db-values.h                  |  33 --
 src/include/plugin-format.h                    |  10 +-
 src/include/strbuf.h                           |   6 +
 src/param-string.c                             |  17 +-
 src/strbuf.c                                   |  28 +-
 20 files changed, 1457 insertions(+), 116 deletions(-)

commit 53a72e60840d4f54c9119c204b7d207aff1c16df
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 23:26:57 2003 +0000

    fix a mistake in ChangeLog

 ChangeLog | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a4db2b5e2c0a7ee0bff65f59a7aaeb565b46653f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 23:25:50 2003 +0000

    2003-01-17  Krzysztof Zaraska  <kzaraska@student.uci.agh.edu.pl>
    
    	* plugins/format/classic/classic.c:
            remove obsoleted call to set_state() (so the code compiles ;P)

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit d08f093c8c46e85d02ed7ddd77eebccf4c7c8e18
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Jan 17 22:18:16 2003 +0000

    plugins/format/classic/classic.c:
    remove obsoleted call to set_state()

 plugins/format/classic/classic.c | 2 --
 1 file changed, 2 deletions(-)

commit 3caa21101f590eedd3b4d0e8eff528aa51113579
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Jan 16 22:05:03 2003 +0000

    correct URL

 README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit be3a7b4069b7bdcb885efaabe9e1f7e1a3617f67
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Jan 16 22:02:29 2003 +0000

            * plugins/format/classic/classic:
            removed unnecessary plugin (un)subscription code.

 ChangeLog                        |  5 +++++
 plugins/format/classic/classic.c | 31 +++----------------------------
 2 files changed, 8 insertions(+), 28 deletions(-)

commit 4faada04df04932d66158658342db0c6d53a8490
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 11 21:38:52 2003 +0000

            * plugins/format/classic/Makefile.am:
            link the plugin dynamically against libprelude to avoid linker
            errors when used from Perl.
    
            * bindings/*:
            new files. Perl 5.8 bindings from Nicolas Delon
            <delon.nicolas@wanadoo.fr>

 ChangeLog                            |  10 +
 bindings/perl/PreludeDB/Changes      |   6 +
 bindings/perl/PreludeDB/MANIFEST     |   8 +
 bindings/perl/PreludeDB/Makefile.PL  |  17 ++
 bindings/perl/PreludeDB/PreludeDB.pm | 131 +++++++++
 bindings/perl/PreludeDB/PreludeDB.xs | 338 ++++++++++++++++++++++
 bindings/perl/PreludeDB/README       |  38 +++
 bindings/perl/PreludeDB/ppport.h     | 540 +++++++++++++++++++++++++++++++++++
 bindings/perl/PreludeDB/test.pl      |  95 ++++++
 bindings/perl/PreludeDB/typemap      |   5 +
 plugins/format/classic/Makefile.am   |   1 +
 11 files changed, 1189 insertions(+)

commit 71029ebaf5b51f9100e67b5b78f184f31df29a71
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:16:25 2003 +0000

            * plugins/sql/mysql.c:
            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.

 ChangeLog | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

commit 930a14d516549dc6e11c7637fcd92cff0cf04907
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:15:16 2003 +0000

            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.
    
    --------------------------------------------------------------------

 plugins/format/classic/idmef-db-read.c         |  57 ++++++++++++
 plugins/format/classic/include/idmef-db-read.h |  32 +++++++
 src/idmef-object-list.c                        | 121 +++++++++++++++++++++++++
 src/include/idmef-object-list.h                |  39 ++++++++
 4 files changed, 249 insertions(+)

commit 6f742aa2e8d02dd60b974693735a494addab8ecc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Jan 7 23:12:42 2003 +0000

            * plugins/sql/pgsql.c:
            (db_query): don't change session status to st_query if there are
            no results. Remove unneeded st_transaction state (backend will
            check these things anyhow). Patch from Nicolas Delon
            <delon.nicolas@wanadoo.fr> (with my cooperation ;)).
    
            * src/sql.c:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            (prelude_sql_insert):
            fix bug in error handling.
            (prelude_sql_row_free):
            Check for NULL argument.
            (prelude_sql_field_info_type):
            Implemented.
    
            * src/include/sql.h:
            Patch from Nicolas Delon <delon.nicolas@wanadoo.fr>:
            updated accordingly.
    
            * plugins/format/classic/idmef-db-output.c:
            added error handling. Added transaction support: BEGIN; at the
            start, COMMIT; when we're done or ROLLBACK on error. Finally :)
    
            * src/idmef-db-values.c:
            * src/include/idmef-db-values.h:
            new file. Implementation of container datatype for data read
            from database will be placed here.
    
            * src/strbuf.c:
            * src/include/strbuf.h:
            new file. Provides a dynamically resizable char * buffer.
    
            * src/idmef-object-list.c:
            * src/include/idmef-object-list.h:
            new file. Local implementation of lists of idmef_object_t objects.
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modified accordingly
    
            * src/plugin-format.h:
            API change: add hooks for alert reading function.
    
            * plugins/format/classic/idmef-db-read.c:
            * plugins/format/classic/include/idmef-db-read.h:
            new file. Alert reading code will be placed here.
    
            * plugins/format/classic/classic.c:
            register callback for alert reading. Remove check for database
            type duplicating the one from idmef-db-output.c.
    
            * plugins/format/classic/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/include/idmef-db-output.h:
            change preprocessor macros to avoid names clash.
    
            * plugins/format/classic/classic.c:
            add support for alert reading API.
    
            * src/db-interface.c:
            * src/include/db-interface.c:
            (prelude_db_interface_read_idmef_objects): implemented.
    
            * src/db.c:
            fix includes adapting to new API. Update copyright notice.
    
            * src/format-plugins.c:
            fix includes adapting to new API.
    
    
    --------------------------------------------------------------------

 plugins/format/classic/Makefile.am               |   2 +-
 plugins/format/classic/classic.c                 |  25 +-
 plugins/format/classic/idmef-db-output.c         | 276 +++++++++++++++--------
 plugins/format/classic/include/idmef-db-output.h |   6 +-
 plugins/sql/mysql/mysql.c                        |  94 ++------
 plugins/sql/pgsql/pgsql.c                        |  62 ++---
 src/Makefile.am                                  |   3 +
 src/db-interface-string.c                        |   4 +-
 src/db-interface.c                               |  34 ++-
 src/db.c                                         |   9 +-
 src/format-plugins.c                             |   5 +-
 src/gdb.c                                        |   1 +
 src/idmef-db-values.c                            |  32 +++
 src/include/Makefile.am                          |   4 +
 src/include/db-interface.h                       |   4 +
 src/include/idmef-db-values.h                    |  33 +++
 src/include/plugin-format.h                      |   7 +
 src/include/sql.h                                |   1 +
 src/include/strbuf.h                             |  37 +++
 src/sql.c                                        |  12 +-
 src/strbuf.c                                     | 110 +++++++++
 21 files changed, 529 insertions(+), 232 deletions(-)

commit 64fc9fadb92b30e7b864c7d8d467389753c5f0d2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 4 20:17:07 2003 +0000

    cleanup

 src/dispatch.c | 89 ----------------------------------------------------------
 1 file changed, 89 deletions(-)

commit e023a62c1b47fa8ef04a7a6dbb29c8880247fbbb
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Jan 4 17:43:30 2003 +0000

            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            * src/include/plugin-sql.h:
            * src/include/sql.h:
            * src/sql.c:
            updated copyright notices
    
            * src/sql.c(prelude_sql_field_value_idmef):
            call idmef_value_have_own_data() after bulding idmef_string_t
            object.
    
            * src/include/plugin-sql.h:
            sql plugin API re-designed
            we no longer convert the database result in our own format
            we no longer use the errno global variable, instead of this,
            the sql plugin must maintain an internal errno-type variable
    
            * src/{sql.c,include/sql.h}:
            a lot of changes to fit the new sql plugin API
    
            * src/{sql-table.c,include/sql-table.h}:
            as we are not doing results conversion anymore, those files
            have been deleted
    
            * plugins/sql/mysql/mysql.c:
            a lot of changes to fit the new sql plugin API
            dbport argument in db_setup is supported
            code cleanup, we no longer use mysql API deprecated functions
            we no longer fetch the query result in one time, instead of this,
            we fetch the result row by row
    
            * plugins/sql/pgsql/pgsql.c
            a lot of changes to fit the new sql plugin API

 ChangeLog                                |  38 ++
 plugins/format/classic/classic.c         |   1 -
 plugins/format/classic/idmef-db-output.c |   1 -
 plugins/sql/mysql/mysql.c                | 630 ++++++++++++++++++++-----------
 plugins/sql/pgsql/pgsql.c                | 542 ++++++++++++++++----------
 src/Makefile.am                          |   3 +-
 src/db-interface.c                       |   1 -
 src/db-write.c                           |   0
 src/db.c                                 |   2 +-
 src/format-plugins.c                     |   2 +-
 src/include/Makefile.am                  |   6 +-
 src/include/plugin-sql.h                 |  81 ++--
 src/include/sql-table.h                  |  73 ----
 src/include/sql.h                        |  69 +++-
 src/message-queue.c                      |  60 ---
 src/queue.c                              | 181 ---------
 src/sql-plugins.c                        |   3 +-
 src/sql-table.c                          | 371 ------------------
 src/sql.c                                | 447 ++++++++++++++++++++--
 19 files changed, 1322 insertions(+), 1189 deletions(-)

commit 6c4e677b96fec7eb735c6b0bd0a9f232ed15696f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Jan 1 12:57:05 2003 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            free 'data' structure correctly on error.
            Happy New Year :)

 ChangeLog                 |  6 ++++++
 src/db-interface-string.c | 14 +++++++-------
 2 files changed, 13 insertions(+), 7 deletions(-)

commit 5ff1d12255a44d307bd12dee46ade26766b341cc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 17:18:14 2002 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            fix memory leaks on errors.

 ChangeLog                 | 5 +++++
 src/db-interface-string.c | 6 ++++++
 2 files changed, 11 insertions(+)

commit ec9205eee18b2c42e34a30f7fca21be1a2529c51
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 16:04:40 2002 +0000

            * src/db-interface-string.c(get_sql_connection_data):
            add handling of "port" keyword.
    
    
            Happy New Year :)

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit 2c33900af31a91374b5f1cc5843c67ce7565e682
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Tue Dec 31 16:04:05 2002 +0000

    	* src/db-interface-string.c(get_sql_connection_data):
    	add handling of "port" keyword.
    
    
    	Happy New Year :)

 src/db-interface-string.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit cbcfbe07e6fe3f36b3ca9bc2bd015a273225dc00
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 20 13:34:54 2002 +0000

            * plugins/sql/pgsql.c(db_query):
            fix a memory leak and a possible NULL pointer dereference on error.
            Thanks to Nicolas Delon <delon.nicolas@wanadoo.fr> for pointing
            this out.

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit c13b76389d17f8aba837653a2c4d26b5afa10de2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 20 13:33:25 2002 +0000

    	* plugins/sql/pgsql.c(db_query):
    	fix a memory leak and a possible NULL pointer dereference on error.
    	Thanks to Nicolas Delon <delon.nicolas@wanadoo.fr> for pointing
    	this out.

 plugins/sql/pgsql/pgsql.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit fa2ab54d4bd9e074b9097fbaae6221270cc7a790
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Dec 19 21:41:01 2002 +0000

            * plugins/sql/mysql.c
            Remove no longer used connection_closed state.
            (db_connect):
            modify accordingly
            (db_cleanup):
            rename to cleanup. Change type to void. Remove unneeded check
            for connection state.
            (db_close):
            call cleanup().
    
            * plugins/pgsql/pgsql.c:
            ditto.
    
            * src/db-connection-data.c(prelude_db_connection_data_destroy):
            add missing call to free the structure.
    
            * src/db-connection.c:
            * src/include/db-connection.h:
            (prelude_db_connection_destroy):
            implemented.
    
            * src/db-interface-string.c:
            fix memory leaks related to calls to parameter_value()
    
            * src/db-interface.c
            (prelude_db_interface_new):
            set interface state to active after creating
            (prelude_db_interface_destroy):
            don't abort on prelude_db_interface_deactivate() error
            add missing call to prelude_db_connection_destroy()
    
            * src/sql.c
            (prelude_sql_escape):
            style fix.
            (prelude_sql_close):
            free() the structure

 ChangeLog                   | 39 ++++++++++++++++++++++++
 plugins/sql/mysql/mysql.c   | 18 ++++--------
 plugins/sql/pgsql/pgsql.c   | 18 ++++--------
 src/db-connection-data.c    |  2 ++
 src/db-connection.c         |  9 ++++++
 src/db-interface-string.c   | 72 +++++++++++++++++++++++++++++----------------
 src/db-interface.c          | 18 ++++++------
 src/include/db-connection.h |  2 +-
 src/sql.c                   |  4 ++-
 9 files changed, 122 insertions(+), 60 deletions(-)

commit 8877c186591a920581b4439b1a3efeb66ce2811c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Dec 19 13:14:39 2002 +0000

    	* plugins/sql/mysql/mysql.c:
    	implement handling of queries returning results
    	(this has been done by Nicolas Delon <delon.nicolas@wanadoo.fr>)

 ChangeLog                 |   6 +++
 plugins/sql/mysql/mysql.c | 118 +++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 122 insertions(+), 2 deletions(-)

commit e756875f3193392fd3735034f98f1abecb7831d7
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 14 16:55:25 2002 +0000

    	* src/sql-table.c:
    	add missing copyright notice.

 ChangeLog       |  5 +++++
 src/sql-table.c | 23 +++++++++++++++++++++++
 2 files changed, 28 insertions(+)

commit 4c2884244fffe161bb4688c0cfd4e5f8470d4c25
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Dec 13 23:33:59 2002 +0000

            * src/db-interface.c:
            allow interface specification with format = NULL
    
            * src/db-interface.c:
            * src/include/db-interface-h:
            (prelude_db_interface_get_connection)
            (prelude_db_interface_get_connection_data)
            new function.
    
            * src/sql-table.c:
            * src/include/sql-table.h:
            rename prelude_sql_row_add_field() to prelude_sql_row_set_field()
            to reflect actual behavior. Add new function
            prelude_sql_row_get_width().
    
            * plugins/sql/pgsql/pgsql.c(get_query_result):
            fix a bug preventing function from working :-)
            (add missing call to prelude_sql_row_set_field())

 ChangeLog                  | 21 +++++++++++++++++++++
 plugins/sql/pgsql/pgsql.c  |  2 ++
 src/db-interface.c         | 47 ++++++++++++++++++++++++++++++----------------
 src/include/db-interface.h |  4 ++++
 src/include/sql-table.h    |  3 ++-
 src/sql-table.c            | 11 +++++++++--
 6 files changed, 69 insertions(+), 19 deletions(-)

commit 9c87234736aee3fbd2eac2c4c82b2454723b61fc
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:57:01 2002 +0000

    *** empty log message ***

 src/include/param-string.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit e980c913d30d57bfdebdd92238fd2166573e29d2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:55:20 2002 +0000

            * src/include/sql.h:
            * src/include/sql-table.h:
            * src/include/param-string.h:
            add missing copyright notice
    
            * src/include/param-string.h:
            add missing #ifdef

 ChangeLog                  | 10 ++++++++++
 src/include/param-string.h | 29 +++++++++++++++++++++++++++++
 src/include/sql-table.h    | 23 +++++++++++++++++++++++
 src/include/sql.h          | 23 +++++++++++++++++++++++
 4 files changed, 85 insertions(+)

commit 965e546901a66e416b01c47625cea39ec947cd0c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 22:16:47 2002 +0000

            * src/sql-table.c:
            * src/include/sql-table.h:
            prefix public functions and structures with prelude_
            (so all public SQL functions are now prefixed with prelude_sql_)
    
            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            * src/sql.c:
            * src/include/sql.h:
            * src/include/plugin-sql.h:
            update accordingly.
    
            * src/include/plugin-sql.h:
            add missing plugin_init() prototype.
    
            * src/include/format.h:
            removed.

 ChangeLog                 | 23 +++++++++++++++--
 plugins/sql/mysql/mysql.c |  2 +-
 plugins/sql/pgsql/pgsql.c | 22 ++++++++--------
 src/include/format.h      | 15 -----------
 src/include/plugin-sql.h  |  5 ++--
 src/include/sql-table.h   | 38 +++++++++++++--------------
 src/include/sql.h         |  2 +-
 src/sql-table.c           | 66 +++++++++++++++++++++++------------------------
 src/sql.c                 |  4 +--
 9 files changed, 91 insertions(+), 86 deletions(-)

commit f9284b9dacd9dda9507bc167719201fc5bb6d6e4
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 21:30:40 2002 +0000

            * src/include/format.h:
            * src/sql.c:
            prefix public functions with prelude_ (so all public SQL functions
            are now prefixed with prelude_sql_)
    
            * src/include/format.h:
            * src/db-interface.c:
            * plugins/format/classic/idmef-db-output.c:
            modified accordingly

 ChangeLog                                |  12 ++
 plugins/format/classic/idmef-db-output.c | 230 +++++++++++++++----------------
 src/db-interface.c                       |   6 +-
 src/include/format.h                     |   2 +-
 src/include/sql.h                        |  18 +--
 src/sql.c                                |  22 +--
 6 files changed, 151 insertions(+), 139 deletions(-)

commit f8b3c234d5bbfba6ade9bcf4e0f73ad797a1c2ac
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Dec 9 20:43:03 2002 +0000

    	* src/include/sql.h:
    	* src/sql.c:
    	SQL connection handling code from sql-plugins.c. sql_connection_t
    	structure made opaque. sql.h is a public header, offering
    	application access to our SQL layer.
    
    	* src/sql-plugins.c:
    	* src/include/plugin-sql.h:
    	remove code moved to sql.[ch].
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	modified accordingly
    
    	* plugins/format/classic/classic.c:
    	* plugins/format/classic/idmef-db-output.c:
    	* src/db-interface.c:
    	include "sql.h" instead of "plugin-sql.h"

 ChangeLog                                |  22 +++
 plugins/format/classic/classic.c         |   2 +-
 plugins/format/classic/idmef-db-output.c |   2 +-
 src/Makefile.am                          |   1 +
 src/db-interface.c                       |   2 +-
 src/include/Makefile.am                  |   1 +
 src/include/plugin-sql.h                 |  28 ---
 src/include/sql.h                        |  27 +++
 src/sql-plugins.c                        | 268 --------------------------
 src/sql.c                                | 319 +++++++++++++++++++++++++++++++
 10 files changed, 373 insertions(+), 299 deletions(-)

commit b6928de35ee93fba8eb6a1422f3fa2538ba629ca
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 21:11:56 2002 +0000

    	* src/db-interface-string.c:
    	remove unneeded includes.

 ChangeLog                 | 5 +++++
 src/db-interface-string.c | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

commit b9278d319a0c4d01e43db527809650019b0ab285
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:54:34 2002 +0000

    	* src/db-interface.c(prelude_db_interface_connect):
    	add missing "break" statement
    
    	* src/db-interface-string.c:
    	* src/include/db-interface-string.h:
    	new file. Reintroducing "ODBC-style" constructor for
    	prelude_db_interface_t.
    
    	* src/Makefile.am:
    	* src/include/Makefile.am:
    	update accordingly.

 ChangeLog                         |  14 ++++
 src/Makefile.am                   |   1 +
 src/db-interface-string.c         | 142 ++++++++++++++++++++++++++++++++++++++
 src/db-interface.c                |   2 +
 src/include/Makefile.am           |   1 +
 src/include/db-interface-string.h |  29 ++++++++
 6 files changed, 189 insertions(+)

commit 6c66af1dd75b32aa8a339b10948e6f8f972a82bd
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:37:28 2002 +0000

            * src/sql-connection-data.c:
            handle NULL parameter values correctly in all functions
    
            * src/include/db-type.h:
            define prelude_db_type_invalid

 ChangeLog | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 25611510b726e68213f54f8e1c78f019c7c2f24a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 20:36:06 2002 +0000

    	* src/sql-connection-data.c:
    	handle NULL parameter values correctly in all functions
    
    	* src/include/db-type.h:
    	define prelude_db_type_invalid
    
    	* src/include/db-connection-data.c:
    	* src/include/db-interface.c:
    	removed (fixing wrong commit)

 src/db-connection-data.c         | 90 ++++++++++++++++++++++++++++++++++++++++
 src/include/db-connection-data.c | 85 -------------------------------------
 src/include/db-interface.c       |  0
 src/include/db-type.h            |  1 +
 src/sql-connection-data.c        | 56 ++++++++++++++++++-------
 5 files changed, 133 insertions(+), 99 deletions(-)

commit b5b70a60183d8d47efb2c7adafad6c5d775046b3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 18:24:45 2002 +0000

            * src/db-interface.c:
            don't include "param-string.h"

 ChangeLog          | 5 +++++
 src/db-interface.c | 1 -
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 797daad9a8d304abdb29b36010a49fe1d77dee2a
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 18:15:55 2002 +0000

            * src/db-interface.c(prelude_db_interface_new):
            avoid problems when 'format' or 'name' parameter is NULL

 ChangeLog          | 5 +++++
 src/db-interface.c | 9 ++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)

commit 4036f81b6437bd5aee4c97f1b6ee4096d7cec9fd
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 16:19:32 2002 +0000

            * src/include/db-type.h:
            new file. prelude_db_type_t moved from db-connection.h
    
            * src/include/db-connection.h:
            modified accordingly.
    
            * src/include/Makefile.am:
            modified accordingly.
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-output.c:
            * src/db-connection.c:
            * src/db-interface.c:
            * src/db.c:
            * src/format-plugins.c:
            * src/sql-plugins.c:
            include "db-type.h"
    
            * src/sql-connection-data.c:
            * src/include/sql-connection-data.h:
            (prelude_sql_connection_data_set_name):
            (prelude_sql_connection_data_get_name):
            implemented.
    
            * src/param-string.c:
            declare local functions as static

 ChangeLog                                | 29 ++++++++++++++++++++++++++++
 plugins/format/classic/classic.c         |  1 +
 plugins/format/classic/idmef-db-output.c |  1 +
 src/db-connection.c                      |  1 +
 src/db-interface.c                       |  1 +
 src/db.c                                 |  1 +
 src/format-plugins.c                     |  1 +
 src/include/Makefile.am                  |  1 +
 src/include/db-connection-data.h         |  3 ++-
 src/include/db-connection.h              |  6 ------
 src/include/db-type.h                    | 33 ++++++++++++++++++++++++++++++++
 src/include/sql-connection-data.h        |  6 +++++-
 src/param-string.c                       | 10 +++++-----
 src/sql-connection-data.c                | 18 +++++++++++++++++
 src/sql-plugins.c                        |  1 +
 15 files changed, 100 insertions(+), 13 deletions(-)

commit 421ca95fa687a7886a9c4f4ecb59c6fa052497b0
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 15:44:32 2002 +0000

    	* src/db-interface.c:
    	* src/include/db-connection-data.c:
    	add missing copyright notice

 ChangeLog                        |  6 ++++++
 src/db-interface.c               | 22 ++++++++++++++++++++++
 src/include/db-connection-data.c | 23 +++++++++++++++++++++++
 3 files changed, 51 insertions(+)

commit be401069b1765d7e8e6f24862d79681a26e22923
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sat Dec 7 15:33:54 2002 +0000

            * src/db-connection-data.c
            * src/include/db-connection-data.c
            * src/db-interface.c
            * src/include/db-interface.h
            * src/sql-connection-data.c
            * src/include/sql-connection-data.h
            new files. Object model for connection management has been totally
            reworked using opaque datatypes and should finally be correct.
    
            * src/db-connection.c:
            * src/include/db-connection.h:
            remove code regaring interface object (moved to db-interface.[ch]).
            Change structure of prelude_db_connection_t and make opaque.
    
            * src/db.c:
            * src/include/db.h:
            don't include anything in .h
    
            * plugins/format/classic/classic.c:
            * plugins/format/classic/idmef-db-output.c:
            modify code as necessary
    
            * plugins/sql/mysql/mysql.c:
            * plugins/sql/pgsql/pgsql.c:
            fix includes accordingly
    
            * src/Makefile.am:
            * src/include/Makefile.am:
            modify accordingly

 ChangeLog                                |  32 ++++
 plugins/format/classic/classic.c         |   3 +-
 plugins/format/classic/idmef-db-output.c |  10 +-
 plugins/sql/mysql/mysql.c                |  15 +-
 plugins/sql/pgsql/pgsql.c                |  19 ++-
 src/Makefile.am                          |   3 +
 src/db-connection-data.c                 |   0
 src/db-connection.c                      | 253 +++---------------------------
 src/db-interface.c                       | 254 +++++++++++++++++++++++++++++++
 src/db.c                                 |  15 +-
 src/format-plugins.c                     |   1 +
 src/include/Makefile.am                  |   6 +
 src/include/db-connection-data.c         |  62 ++++++++
 src/include/db-connection-data.h         |  39 +++++
 src/include/db-connection.h              |  45 ++----
 src/include/db-interface.c               |   0
 src/include/db-interface.h               |  51 +++++++
 src/include/db.h                         |  18 ---
 src/include/plugin-sql.h                 |   4 +-
 src/include/sql-connection-data.h        |  56 +++++++
 src/sql-connection-data.c                | 180 ++++++++++++++++++++++
 src/sql-plugins.c                        |  16 +-
 22 files changed, 775 insertions(+), 307 deletions(-)

commit 7dadeee523611893730570008558ba0afd4c9c7f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Dec 1 18:50:14 2002 +0000

    sync with old changes to HEAD

 ChangeLog                                |  23 ++++++
 plugins/format/classic/idmef-db-output.c |  35 +++++-----
 plugins/format/classic/mysql.sql         |  14 ++--
 plugins/format/classic/pgsql.sql         | 116 ++++++++++++++++---------------
 4 files changed, 109 insertions(+), 79 deletions(-)

commit a3357fffca40d500884965584dc72f83643e59d9
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 24 15:35:57 2002 +0000

    *** empty log message ***

 src/include/db-connection.h | 7 -------
 1 file changed, 7 deletions(-)

commit 19031714c145e09f2f7654a1730b8487389f173f
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Tue Sep 24 15:34:12 2002 +0000

    *** empty log message ***

 ChangeLog                   |  16 ++++
 src/db-connection.c         | 217 +++++++++++++++++++++++---------------------
 src/include/db-connection.h |  16 ++++
 3 files changed, 147 insertions(+), 102 deletions(-)

commit 40b0942461fd4cdb95144e048ebd869057312537
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Sep 16 20:25:23 2002 +0000

    *** empty log message ***

 ChangeLog | 7 +++++++
 1 file changed, 7 insertions(+)

commit 73f06d40143dea1c77b83d2a3d65e34aa9bf552c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Mon Sep 16 20:24:59 2002 +0000

    moved *.sql to plugins/format/classic

 plugins/format/classic/mysql.sql | 389 +++++++++++++++++++++++++++++++++++++++
 plugins/format/classic/pgsql.sql | 374 +++++++++++++++++++++++++++++++++++++
 plugins/sql/mysql/mysql.sql      | 389 ---------------------------------------
 plugins/sql/pgsql/postgres.sql   | 374 -------------------------------------
 4 files changed, 763 insertions(+), 763 deletions(-)

commit e170508e5f6e1e2cd9f47d2dc799749ace28275f
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Sun Sep 15 20:52:17 2002 +0000

    fix transaction handling. remove db_insert().

 ChangeLog                 |  13 +++++
 plugins/sql/mysql/mysql.c | 118 +++++++++++++++++++---------------------------
 plugins/sql/pgsql/pgsql.c |  78 ++++++++++++------------------
 src/include/plugin-sql.h  |   6 +--
 src/sql-plugins.c         |   4 +-
 5 files changed, 96 insertions(+), 123 deletions(-)

commit 0948cb136edd510ccb59618ab3d1556ed652b969
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Sep 12 07:28:14 2002 +0000

    *** empty log message ***

 ChangeLog    | 21 +++++++++++++++++++++
 README       | 42 ++++++++++++++++++++++++++++++++++++++----
 configure.in | 16 ++++++++++++++++
 3 files changed, 75 insertions(+), 4 deletions(-)

commit 537d1715309210bfb34b20f102878bd792ff28a2
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Sep 12 07:17:46 2002 +0000

            * src/db-connection.c:
            * src/include/db-connection.h:
            removed support for connection lists. This should be done
            in the application.
    
            Added a new ODBC-style common connection interface
            (prelude_db_connect).
    
            * src/param-string.c
            * src/include/param-string.h:
            Functions needed for parsing connection configuration strings.
    
            * src/sql-table.c: made sql_field_t, sql_row_t, sql_table_t
            be opaque datatype, for the sake of binary compatibility.
    
            * lot of cleanup, handle session the right way (tm).

 plugins/format/classic/classic.c         |   2 +-
 plugins/format/classic/idmef-db-output.c |   2 +-
 plugins/sql/mysql/mysql.c                | 344 +++++++++------------
 plugins/sql/pgsql/pgsql.c                | 512 +++++++++++++++----------------
 src/Makefile.am                          |   5 +-
 src/db-connection.c                      | 213 +++++++------
 src/db.c                                 |  38 +--
 src/format-plugins.c                     |  39 +--
 src/include/Makefile.am                  |   2 +
 src/include/db-connection.h              |  18 +-
 src/include/db.h                         |   3 +-
 src/include/param-string.h               |   1 +
 src/include/plugin-format.h              |   8 +-
 src/include/plugin-sql.h                 |  26 +-
 src/include/sql-table.h                  |  59 ++--
 src/param-string.c                       | 211 +++++++++++++
 src/sql-plugins.c                        |  72 ++---
 src/sql-table.c                          | 262 +++++++++++-----
 18 files changed, 1003 insertions(+), 814 deletions(-)

commit 0e9b4da3ff12f762f8fa75faaf74e4988d55980c
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 26 09:43:25 2002 +0000

    	* src/sql-plugins.c:
    	if va_copy isn't defined (C99), check for __va_copy (C89).
    
    	If __va_copy isn't available, then fallback on the memcpy()
    	method, but give a compile warning as well explaining this
    	might result in undefined behavior on certain architecture.
    
    	generate_query(): copy the variable argument list in case
    	generate_dynamic_query() is to be called. This avoid undefined
    	behavior on some architecture, where you can't use a variable
    	argument list twice.

 ChangeLog         | 12 ++++++++++++
 src/sql-plugins.c | 32 +++++++++++++++++++++++++++++++-
 2 files changed, 43 insertions(+), 1 deletion(-)

commit 9b3d6221000542b44052a82f197758ecaeb22025
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Mon Aug 26 08:23:45 2002 +0000

    2002-08-26  Yoann Vandoorselaere  <yoann@mandrakesoft.com>
    
    	* src/sql-plugins.c (sql_query):
    	(sql_insert): kill code duplication, use generate_query().
    
    	(generate_query): new function. Fix an off by one in
    	sql_insert() and sql_query.

 ChangeLog         |   6 +++
 src/sql-plugins.c | 140 ++++++++++++++++++++++++------------------------------
 2 files changed, 67 insertions(+), 79 deletions(-)

commit 58d96f56f7c8b8d4f80c517d7f83b55c6a32f644
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 25 22:39:05 2002 +0000

    *** empty log message ***

 ChangeLog    | 4 ++++
 configure.in | 1 +
 2 files changed, 5 insertions(+)

commit 3f396fdab8e224650ed50080f429f8ea1fefb3bb
Author: Yoann Vandoorselaere <yoann.v@prelude-ids.com>
Date:   Sun Aug 25 14:06:58 2002 +0000

    2002-08-25  Yoann Vandoorselaere  <yoann@mandrakesoft.com>
    
    	* src/format-plugins.c: avoid using global variable when
    	possible. Style fix.

 ChangeLog            |  5 +++++
 src/format-plugins.c | 18 ++++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)

commit 810783cd42383f2a0a2d7d8ec09125945839793c
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 22:02:02 2002 +0000

    removed rh artifacts ;-)

 autogen.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 25ba5165252697d95c4a7397d41a37abbcf89095
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 21:15:44 2002 +0000

    *** empty log message ***

 ChangeLog | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 README    | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 83 insertions(+), 1 deletion(-)

commit 32a0fc085b51eb90945cc91ec6facb15b2644a22
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Fri Aug 23 21:14:35 2002 +0000

    mysql plugin ported. README file added.

 plugins/format/classic/classic.c |   8 -
 plugins/sql/Makefile.am          |   3 +-
 plugins/sql/mysql/Makefile.am    |   2 +-
 plugins/sql/mysql/mysql.c        | 343 +++++++++++++++++++++++++++++----------
 plugins/sql/pgsql/pgsql.c        |  31 ++--
 src/db-connection.c              |  16 +-
 src/include/plugin-sql.h         |   4 +-
 src/sql-plugins.c                |   7 +-
 8 files changed, 285 insertions(+), 129 deletions(-)

commit b188cbca62acf9619b0ee93a628780e8cb4d50e3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 17:24:36 2002 +0000

    clean up. improve interface handling code.

 plugins/format/classic/classic.c                 |   4 +-
 plugins/format/classic/idmef-db-output.c         |   4 +-
 plugins/format/classic/include/idmef-db-output.h |   2 +-
 src/db-connection.c                              | 163 ++++++++++++++++++-----
 src/db.c                                         |  67 ++++++----
 src/include/db-connection.h                      |  59 +++++++-
 src/include/db.h                                 |   8 +-
 src/include/plugin-format.h                      |   2 +-
 8 files changed, 228 insertions(+), 81 deletions(-)

commit e3305bf6602287a7e98bb15927076dcbf7f21068
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 15:25:50 2002 +0000

    initial db-work commit

 ChangeLog | 5 +++++
 1 file changed, 5 insertions(+)

commit 2a1439f82ecc3675fd2b677a82afdc08bb3a25e3
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Thu Aug 22 15:13:04 2002 +0000

    *** empty log message ***

 plugins/format/classic/classic.c         |  2 +
 plugins/format/classic/idmef-db-output.c | 96 ++++++++++++++++----------------
 src/db-connection.c                      |  6 ++
 src/include/plugin-sql.h                 | 16 +++---
 src/sql-plugins.c                        | 38 +++----------
 5 files changed, 74 insertions(+), 84 deletions(-)

commit fb7e88026bfe27a02d69b7d8ae42806f8b97d441
Author: Krzysztof Zaraska <kzaraska@student.uci.agh.edu.pl>
Date:   Wed Aug 21 23:19:21 2002 +0000

    Initial revision

 AUTHORS                                          |    0
 COPYING                                          |  340 ++++++
 ChangeLog                                        |    0
 INSTALL                                          |  182 ++++
 Makefile.am                                      |    3 +
 NEWS                                             |    0
 README                                           |    0
 acconfig.h                                       |    8 +
 acinclude.m4                                     |  149 +++
 autogen.sh                                       |    6 +
 configure.in                                     |  183 ++++
 libpreludedb-config.in                           |   71 ++
 plugins/Makefile.am                              |    1 +
 plugins/filters/Makefile.am                      |    5 +
 plugins/filters/skeleton/Makefile.am             |    6 +
 plugins/filters/skeleton/skeleton.c              |  163 +++
 plugins/format/Makefile.am                       |    1 +
 plugins/format/classic/Makefile.am               |    6 +
 plugins/format/classic/classic.c                 |  104 ++
 plugins/format/classic/idmef-db-output.c         | 1255 ++++++++++++++++++++++
 plugins/format/classic/include/idmef-db-output.h |   30 +
 plugins/format/new/idmef-db-output.c             |  401 +++++++
 plugins/sql/Makefile.am                          |    6 +
 plugins/sql/mysql/Makefile.am                    |   11 +
 plugins/sql/mysql/mysql.c                        |  260 +++++
 plugins/sql/mysql/mysql.sql                      |  389 +++++++
 plugins/sql/pgsql/Makefile.am                    |   12 +
 plugins/sql/pgsql/pgsql.c                        |  482 +++++++++
 plugins/sql/pgsql/postgres.sql                   |  374 +++++++
 src/Makefile.am                                  |   16 +
 src/db-connection.c                              |  167 +++
 src/db-write.c                                   |    0
 src/db.c                                         |   74 ++
 src/dispatch.c                                   |   89 ++
 src/filter-plugins.c                             |  202 ++++
 src/format-plugins.c                             |  112 ++
 src/gdb.c                                        |   33 +
 src/include/Makefile.am                          |   15 +
 src/include/db-connection.h                      |   19 +
 src/include/db.h                                 |   49 +
 src/include/dispatch.h                           |   16 +
 src/include/format.h                             |   15 +
 src/include/gdb.h                                |    7 +
 src/include/plugin-filter.h                      |   88 ++
 src/include/plugin-format.h                      |   51 +
 src/include/plugin-sql.h                         |  133 +++
 src/include/queue.h                              |   39 +
 src/include/sql-table.h                          |   66 ++
 src/message-queue.c                              |   60 ++
 src/queue.c                                      |  181 ++++
 src/sql-plugins.c                                |  357 ++++++
 src/sql-table.c                                  |  225 ++++
 52 files changed, 6462 insertions(+)
