[maemo-commits] [maemo-commits] r16320 - in projects/connectivity/bluez-debian/trunk: . patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Oct 3 11:26:22 EEST 2008
Author: jh
Date: 2008-10-03 11:26:19 +0300 (Fri, 03 Oct 2008)
New Revision: 16320

Added:
   projects/connectivity/bluez-debian/trunk/patches/004_get_properties.patch
Modified:
   projects/connectivity/bluez-debian/trunk/changelog
   projects/connectivity/bluez-debian/trunk/libbluetooth3.shlibs
Log:
Prepare for 4.10

Modified: projects/connectivity/bluez-debian/trunk/changelog
===================================================================
--- projects/connectivity/bluez-debian/trunk/changelog	2008-10-03 07:20:59 UTC (rev 16319)
+++ projects/connectivity/bluez-debian/trunk/changelog	2008-10-03 08:26:19 UTC (rev 16320)
@@ -1,3 +1,15 @@
+bluez (4.10-0maemo1) unstable; urgency=low
+
+  * New upstream version
+  * Change from ChangeLog since 4.9:
+     - Fix memory leaks with HAL messages.
+     - Add more advanced handsfree features.
+     - Add properties to audio, input and network interfaces.
+     - Stop device discovery timer on device removal.
+  * Backport patch from git for GetProperties
+
+ -- Johan Hedberg <johan.hedberg at nokia.com>  Fri,  3 Oct 2008 08:18:44 +0000
+
 bluez (4.9-0maemo1) unstable; urgency=low
 
   * New upstream version

Modified: projects/connectivity/bluez-debian/trunk/libbluetooth3.shlibs
===================================================================
--- projects/connectivity/bluez-debian/trunk/libbluetooth3.shlibs	2008-10-03 07:20:59 UTC (rev 16319)
+++ projects/connectivity/bluez-debian/trunk/libbluetooth3.shlibs	2008-10-03 08:26:19 UTC (rev 16320)
@@ -1 +1 @@
-libbluetooth 3 libbluetooth3 (>= 4.9)
+libbluetooth 3 libbluetooth3 (>= 4.10)

Added: projects/connectivity/bluez-debian/trunk/patches/004_get_properties.patch
===================================================================
--- projects/connectivity/bluez-debian/trunk/patches/004_get_properties.patch	2008-10-03 07:20:59 UTC (rev 16319)
+++ projects/connectivity/bluez-debian/trunk/patches/004_get_properties.patch	2008-10-03 08:26:19 UTC (rev 16320)
@@ -0,0 +1,52 @@
+--- audio/control.c
++++ audio/control.c
+@@ -958,6 +958,10 @@ static DBusMessage *control_get_properties(DBusConnection *conn,
+ 	DBusMessageIter dict;
+ 	gboolean value;
+ 
++	reply = dbus_message_new_method_return(msg);
++	if (!reply)
++		return NULL;
++
+ 	dbus_message_iter_init_append(reply, &iter);
+ 
+ 	dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY,
+--- audio/sink.c
++++ audio/sink.c
+@@ -519,6 +519,10 @@ static DBusMessage *sink_get_properties(DBusConnection *conn,
+ 	DBusMessageIter dict;
+ 	gboolean value;
+ 
++	reply = dbus_message_new_method_return(msg);
++	if (!reply)
++		return NULL;
++
+ 	dbus_message_iter_init_append(reply, &iter);
+ 
+ 	dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY,
+--- input/device.c
++++ input/device.c
+@@ -995,6 +995,10 @@ static DBusMessage *device_get_properties(DBusConnection *conn,
+ 	DBusMessageIter dict;
+ 	dbus_bool_t connected;
+ 
++	reply = dbus_message_new_method_return(msg);
++	if (!reply)
++		return NULL;
++
+ 	dbus_message_iter_init_append(reply, &iter);
+ 
+ 	dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY,
+--- network/connection.c
++++ network/connection.c
+@@ -453,6 +453,10 @@ static DBusMessage *connection_get_properties(DBusConnection *conn,
+ 	const char *property;
+ 	GSList *l;
+ 
++	reply = dbus_message_new_method_return(msg);
++	if (!reply)
++		return NULL;
++
+ 	dbus_message_iter_init_append(reply, &iter);
+ 
+ 	dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY,


More information about the maemo-commits mailing list