libprelude/master: Update NEWS, bump version

[email protected] Fri, 29 Jan 2010 18:01:00 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit 7e5d8ca799e0ad4d9b10dc160b22ba6b35c03082
Author: Yoann Vandoorselaere <[email protected]>
Date:   Fri Jan 29 17:16:44 2010 +0100

    Update NEWS, bump version


========================================

 NEWS                              |   38 +++++++++++++++++++++++++++++++++++++
 configure.in                      |   16 +++++++-------
 docs/api/libprelude-decl.txt      |   16 ++++++++++++--
 docs/api/libprelude-sections.txt  |    2 +
 docs/api/tmpl/prelude-option.sgml |   18 +++++++++++++++++
 5 files changed, 79 insertions(+), 11 deletions(-)

========================================

diff --git a/NEWS b/NEWS
index 358981e..c236dcf 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,41 @@
+* 2010-01-29, libprelude-1.0.0rc1:
+
+- Libprelude EasyBindings are now enabled by default
+
+- Default to generating 2048 bits TLS keys
+
+- Fix a potential IDMEF object copy/clone error return that could occur
+  if the caller had freed a required children from the copied object.
+
+- Prevent unsafe modification of the Libprelude returned Analyzer object
+
+- When retrieving a list of IDMEF object, return a Python list
+  containing one IDMEFValue for each object.
+
+  This behavior is more consistant than retrieving a single IDMEFValue
+  carrying the whole list, and might permit the user to play with the
+  object directly if we extand the API in the future.
+
+- Fix argv memory leak on bindings initialization
+
+- Fixes some warnings uncovered by GCC -Wextra
+
+- Thanks to Steve Grubb <[email protected]> for reporting Flexelint
+  output! This allowed fixing the following issues:
+
+  [prelude-admin]: fix possible leak on getpass() failure.
+
+  [idmef-data]: fix potential invalid read on architecture where
+                sizeof(char) > 1.
+
+  [idmef-path]: idmef_path_set_index() would accept an off by one depth,
+                protect the caller.
+
+  [prelude-connection]: fix invalid pointer dereference in case of
+                        malloc() failure.
+
+
+
 * 2009-01-11, libprelude-0.9.25:
 
 - Sent message priority will now be correctly assigned depending on the input
diff --git a/configure.in b/configure.in
index b793b88..b714e64 100644
--- a/configure.in
+++ b/configure.in
@@ -9,9 +9,9 @@ dnl **********************************************************
 dnl * Version and release information
 dnl **********************************************************
 
-libprelude_major=0
-libprelude_minor=9
-libprelude_micro=25
+libprelude_major=1
+libprelude_minor=0
+libprelude_micro=0rc1
 libprelude_patchlevel=
 libprelude_version=$libprelude_major.$libprelude_minor.$libprelude_micro$libprelude_patchlevel
 
@@ -20,14 +20,14 @@ dnl **********************************************************
 dnl * Library soname (http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91)
 dnl **********************************************************
 
-libprelude_current=20
-libprelude_revision=2
-libprelude_age=18
+libprelude_current=21
+libprelude_revision=0
+libprelude_age=19
 LIBPRELUDE_SONAME=$libprelude_current:$libprelude_revision:$libprelude_age
 
-libpreludecpp_current=2
+libpreludecpp_current=3
 libpreludecpp_revision=0
-libpreludecpp_age=2
+libpreludecpp_age=3
 LIBPRELUDECPP_SONAME=$libpreludecpp_current:$libpreludecpp_revision:$libpreludecpp_age
 
 
diff --git a/docs/api/libprelude-decl.txt b/docs/api/libprelude-decl.txt
index 12f8f40..c16d076 100644
--- a/docs/api/libprelude-decl.txt
+++ b/docs/api/libprelude-decl.txt
@@ -1865,6 +1865,16 @@ prelude_option_t *opt, prelude_option_context_t **ctx, const char *name, void *d
 prelude_option_context_t *oc
 </FUNCTION>
 <FUNCTION>
+<NAME>prelude_option_context_get_data</NAME>
+<RETURNS>void *</RETURNS>
+prelude_option_context_t *oc
+</FUNCTION>
+<FUNCTION>
+<NAME>prelude_option_context_set_data</NAME>
+<RETURNS>void </RETURNS>
+prelude_option_context_t *oc, void *data
+</FUNCTION>
+<FUNCTION>
 <NAME>prelude_option_search</NAME>
 <RETURNS>prelude_option_t *</RETURNS>
 prelude_option_t *parent, const char *name,prelude_option_type_t type, prelude_bool_t walk_children
@@ -6666,7 +6676,7 @@ idmef_message_t *message
 </MACRO>
 <MACRO>
 <NAME>LIBPRELUDE_VERSION</NAME>
-#define LIBPRELUDE_VERSION "0.9.24"
+#define LIBPRELUDE_VERSION "1.0.0rc1"
 </MACRO>
 <FUNCTION>
 <NAME>prelude_init</NAME>
@@ -6745,7 +6755,7 @@ const idmef_path_t *path, int depth
 <FUNCTION>
 <NAME>idmef_path_set_index</NAME>
 <RETURNS>int </RETURNS>
-idmef_path_t *path, unsigned int depth, unsigned int index
+idmef_path_t *path, unsigned int depth, int index
 </FUNCTION>
 <FUNCTION>
 <NAME>idmef_path_undefine_index</NAME>
@@ -6760,7 +6770,7 @@ const idmef_path_t *path, unsigned int depth
 <FUNCTION>
 <NAME>idmef_path_make_child</NAME>
 <RETURNS>int </RETURNS>
-idmef_path_t *path, const char *child_name, unsigned int index
+idmef_path_t *path, const char *child_name, int index
 </FUNCTION>
 <FUNCTION>
 <NAME>idmef_path_make_parent</NAME>
diff --git a/docs/api/libprelude-sections.txt b/docs/api/libprelude-sections.txt
index 06176ab..37bd6d8 100644
--- a/docs/api/libprelude-sections.txt
+++ b/docs/api/libprelude-sections.txt
@@ -955,6 +955,8 @@ prelude_option_get_shortname
 prelude_option_get_longname
 prelude_option_set_data
 prelude_option_get_data
+prelude_option_context_get_data
+prelude_option_context_set_data
 prelude_option_invoke_commit
 prelude_option_invoke_set
 prelude_option_invoke_get
diff --git a/docs/api/tmpl/prelude-option.sgml b/docs/api/tmpl/prelude-option.sgml
index ff5351f..c1288d5 100644
--- a/docs/api/tmpl/prelude-option.sgml
+++ b/docs/api/tmpl/prelude-option.sgml
@@ -254,6 +254,24 @@ prelude-option
 @Returns: 
 
 
+<!-- ##### FUNCTION prelude_option_context_get_data ##### -->
+<para>
+
+</para>
+
+@oc: 
+@Returns: 
+
+
+<!-- ##### FUNCTION prelude_option_context_set_data ##### -->
+<para>
+
+</para>
+
+@oc: 
+@data: 
+
+
 <!-- ##### FUNCTION prelude_option_invoke_commit ##### -->
 <para>
 
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog