mark 0.11 as alpha (0.10.8)
authorKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 12 Jul 2013 21:54:10 +0000 (14:54 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Fri, 12 Jul 2013 21:57:57 +0000 (14:57 -0700)
CMakeLists.txt
README
plugins/dbus/abstractdbusinterface.cpp

index 8e7b3cc..fa3d1fe 100644 (file)
@@ -6,7 +6,7 @@ set(CMAKE_BUILD_TYPE, Debug)
 include(FindPkgConfig)
 
 set(PROJECT_NAME "automotive-message-broker")
-set(PROJECT_VERSION "0.10.9")
+set(PROJECT_VERSION "0.10.8")
 set(PROJECT_CODENAME "challenger")
 
 add_definitions(-DPROJECT_VERSION="${PROJECT_VERSION}")
diff --git a/README b/README
index b7ac8ce..cbc831e 100644 (file)
--- a/README
+++ b/README
@@ -6,7 +6,7 @@ Automotive Message Broker is built using CMake and requires libltdl (libtool), j
 
 About the Git Tree:
 master is expected to be unstable and may not even compile.  If you want something more stable, checkout one of the 
-release branches (ie, 0.9.0, 0.10.0, etc)
+release branches (ie, 0.9.0, 0.10, etc)
 
 
 To build:
index 0e39967..c111a92 100644 (file)
@@ -218,9 +218,6 @@ void AbstractDBusInterface::updateValue(AbstractProperty *property)
 
        g_dbus_connection_emit_signal(mConnection, NULL, mObjectPath.c_str(), mInterfaceName.c_str(), string(property->name() + "Changed").c_str(), tuple_variant, &error);
 
-       g_free(params);
-       g_variant_unref(val);
-
        if(error)
        {
                DebugOut(DebugOut::Error)<<error->message<<endl;
@@ -228,6 +225,21 @@ void AbstractDBusInterface::updateValue(AbstractProperty *property)
        }
 
 
+
+       /// Send PropertiesChanged signal
+
+       GVariantBuilder builder;
+       g_variant_builder_init(&builder, G_VARIANT_TYPE_DICTIONARY);
+
+       g_variant_builder_add(&builder, "{sv}", property->name().c_str(), val);
+
+       GError *error2 = NULL;
+
+       g_dbus_connection_emit_signal(mConnection, NULL, mObjectPath.c_str(), "org.freedesktop.DBus.Properties", "PropertiesChanged", g_variant_new("(sa{sv}as)",
+                                                                                                                                                                                                                                                                                               mInterfaceName.c_str(),
+                                                                                                                                                                                                                                                                                               &builder, NULL), &error2);
+       g_variant_unref(val);
+
 }
 
 std::list<AbstractDBusInterface *> AbstractDBusInterface::getObjectsForProperty(string property, Zone::Type zone)