[Tizen-submit] 9350: Changes to Tizen:IVI/wrt-plugins-ivi

noreply at tizen.org noreply at tizen.org
Wed Aug 28 21:54:56 GMT 2013


Hi,
brianjjones have made the following changes to wrt-plugins-ivi in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #9350

  submit:       Tizen:IVI:build/wrt-plugins-ivi(cleanup) -> Tizen:IVI


Message:
Submitter: brianjjones <brian.j.jones at intel.com>
Comments: Fixed speech recognition bug that caused crashing due to empty memory read. Also adding speech-recognition as a required package for the Speech plugin
Git project: profile/ivi/wrt-plugins-ivi
Tag: submit/tizen/20130828.215931
Commit: 28a9c4c7f6e180f999d85c32982c5aa405d48444 Fixed speech recognition bug that caused crashing due to empty memory read

State:   new        2013-08-28T14:51:40 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- wrt-plugins-ivi.spec
+++ wrt-plugins-ivi.spec
@@ -2,7 +2,7 @@
 Summary:    JavaScript plugins for WebRuntime for IVI
 Version:    0.8.2
 Release:    1
-VCS:        profile/ivi/wrt-plugins-ivi#submit/tizen/20130823.212254-0-g9aadca859b6d0d22af25608874a6b0e190e91a34
+VCS:        profile/ivi/wrt-plugins-ivi#submit/tizen/20130828.215931-0-g28a9c4c7f6e180f999d85c32982c5aa405d48444
 Group:      Development/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -29,6 +29,7 @@
 BuildRequires:  boost-system
 BuildRequires:  boost-filesystem
 BuildRequires:  pkgconfig(json-glib-1.0)
+BuildRequires:  speech-recognition
 
 %description
 JavaScript plugins for WebRuntime

other changes:
--------------

++++++ wrt-plugins-ivi-0.8.2.tar.gz
--- packaging/wrt-plugins-ivi.spec
+++ packaging/wrt-plugins-ivi.spec
@@ -28,6 +28,7 @@
 BuildRequires:  boost-system
 BuildRequires:  boost-filesystem
 BuildRequires:  pkgconfig(json-glib-1.0)
+BuildRequires:  speech-recognition
 
 %description
 JavaScript plugins for WebRuntime
--- src/Speech/Speech.cpp
+++ src/Speech/Speech.cpp
@@ -76,7 +76,6 @@
 
 			LoggerD("signalCallback break 3");
 
-			GVariantIter *resultIter;
 			gchar* result;
 			std::string strResult;
 
@@ -111,6 +110,12 @@
 void SpeechMaster::onSignalReceived(SpeechEventType eventType, std::vector<std::string> speechCommands)
 {
 	LoggerD("SpeechMaster::onSignalReceived called");
+	LoggerD("SpeechMaster::eventType" << eventType);
+
+	for (int i = 0; i < speechCommands.size(); i++)
+	{
+		LoggerD("speechCommand: " << speechCommands.at(i));
+	}
 
 	switch(eventType)
 	{
@@ -179,18 +184,6 @@
 										   "End", "/srs", NULL, G_DBUS_SIGNAL_FLAGS_NONE,
 										   signalCallback, this, NULL);
 
-	g_dbus_connection_signal_subscribe(g_bus_get_sync(G_BUS_TYPE_SESSION, NULL,NULL), "org.tizen.srs", "org.tizen.srs",
-										   NULL, "/srs", NULL, G_DBUS_SIGNAL_FLAGS_NONE,
-										   signalCallback, this, NULL);
-
-	g_dbus_connection_signal_subscribe(g_bus_get_sync(G_BUS_TYPE_SESSION, NULL,NULL), "org.tizen.srs", NULL,
-										   NULL, NULL , NULL, G_DBUS_SIGNAL_FLAGS_NONE,
-										   signalCallback, this, NULL);
-
-	g_dbus_connection_signal_subscribe(g_bus_get_sync(G_BUS_TYPE_SESSION, NULL,NULL), NULL, NULL,
-										   NULL, NULL , NULL, G_DBUS_SIGNAL_FLAGS_NONE,
-										   signalCallback, this, NULL);
-
 }
 
 


More information about the Tizen-submit mailing list