Updates to completion patch
* define private COMPL_MAX_ID
* use it to determine initial pool size
* fix use of uninitialized allocated memory
* cosmetics
[local] Switch to experimental branch and api version
diff -r 84ad372d8137 mcabber/ChangeLog.api
--- a/mcabber/ChangeLog.api Thu Oct 18 21:48:49 2012 +0300
+++ b/mcabber/ChangeLog.api Thu Oct 18 21:48:54 2012 +0300
@@ -1,3 +1,12 @@
+experimental (37)
+
+ * Change branch to "experimental".
+ * Api as defined by dev:24
+ * Add MCABBER_BRANCH_EXPERIMENTAL define to api.h
+ * MQ Patch: switch-to-experimental
+
+ -- Myhailo Danylenko, 2012-10-18
+
dev (24)
* MQ patch completion-sorting.diff
* Change compl_add_category() to accept flags arg
@@ -5,6 +14,15 @@
-- Myhailo Danylenko, 2012-10-18
+experimental (35)
+
+ * Change branch to "experimental".
+ * Api as defined by dev:23
+ * Add MCABBER_BRANCH_EXPERIMENTAL define to api.h
+ * MQ Patch: switch-to-experimental
+
+ -- Myhailo Danylenko, 2012-04-30
+
dev (23)
* Changeset 8dc418af3e72
Add buddy_(get|set)activeresource() functions
@@ -23,6 +41,12 @@
-- Hermitifier, 2011-10-03
+experimental (34)
+
+ * Api as defined by dev:20
+
+ -- Myhailo Danylenko, 2011-06-01
+
dev (20)
* Add cmd_set_safe() and cmd_is_safe()
diff -r 84ad372d8137 mcabber/configure.ac
--- a/mcabber/configure.ac Thu Oct 18 21:48:49 2012 +0300
+++ b/mcabber/configure.ac Thu Oct 18 21:48:54 2012 +0300
@@ -272,7 +272,7 @@
AM_CONDITIONAL([INSTALL_HEADERS], [test x$enable_modules != xno])
# Prepare some config.h variables
-AC_DEFINE([MCABBER_BRANCH], "dev", [Mcabber branch])
+AC_DEFINE([MCABBER_BRANCH], "experimental", [Mcabber branch])
AC_DEFINE([MCABBER_VERSION], "AC_PACKAGE_VERSION", [Mcabber version string])
# We need _GNU_SOURCE for strptime() and strcasestr()
diff -r 84ad372d8137 mcabber/mcabber/api.h
--- a/mcabber/mcabber/api.h Thu Oct 18 21:48:49 2012 +0300
+++ b/mcabber/mcabber/api.h Thu Oct 18 21:48:54 2012 +0300
@@ -4,10 +4,10 @@
#include <glib.h>
#include <mcabber/config.h> // For MCABBER_BRANCH
-#define MCABBER_API_VERSION 24
-#define MCABBER_API_MIN 24
+#define MCABBER_API_VERSION 37
+#define MCABBER_API_MIN 37
-#define MCABBER_BRANCH_DEV 1
+#define MCABBER_BRANCH_EXPERIMENTAL 1
// cmd_add returns gpointer id
#define MCABBER_API_HAVE_CMD_ID 1