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

noreply at tizen.org noreply at tizen.org
Thu Jan 23 23:41:56 GMT 2014


Hi,
Kevron Rees 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: #19837

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


Message:
Submitter: Kevron Rees <kevron.m.rees at intel.com>
Comments: added async vehicle.get(), TIVI-2255
Git project: profile/ivi/wrt-plugins-ivi
Tag: submit/tizen/20140123.235050
Commit: 6fecebbdce941e64d04f1f12de936de636266e14 added async version of vehicle.get

State:   new        2014-01-23T23:43:52 tizenrobot
Comment: <no comment>
changes files:
--------------
--- wrt-plugins-ivi.changes
+++ wrt-plugins-ivi.changes
@@ -0,0 +1,3 @@
+* Thu Jan 23 2013 <kevron.m.rees at intel.com>
+- Added vehicle.getAsync() method
+

old:
----
  wrt-plugins-ivi-0.12.1.tar.gz

new:
----
  wrt-plugins-ivi-0.13.0.tar.gz

spec files:
-----------
--- wrt-plugins-ivi.spec
+++ wrt-plugins-ivi.spec
@@ -1,7 +1,7 @@
 Name:       wrt-plugins-ivi
-VCS:        profile/ivi/wrt-plugins-ivi#fed7f97e944afebc4a3989e42913ab01b559ea74
+VCS:        profile/ivi/wrt-plugins-ivi#6fecebbdce941e64d04f1f12de936de636266e14
 Summary:    JavaScript plugins for WebRuntime for IVI
-Version:    0.12.1
+Version:    0.13.0
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0

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

++++++ wrt-plugins-ivi-0.12.1.tar.gz -> wrt-plugins-ivi-0.13.0.tar.gz
--- packaging/wrt-plugins-ivi.changes
+++ packaging/wrt-plugins-ivi.changes
@@ -1,3 +1,6 @@
+* Thu Jan 23 2013 <kevron.m.rees at intel.com>
+- Added vehicle.getAsync() method
+
 * Wed Dec 11 2013 <kevron.m.rees at intel.com>
 - Fixed crash when using locale
 
--- packaging/wrt-plugins-ivi.spec
+++ packaging/wrt-plugins-ivi.spec
@@ -1,6 +1,6 @@
 Name:       wrt-plugins-ivi
 Summary:    JavaScript plugins for WebRuntime for IVI
-Version:    0.12.1
+Version:    0.13.0
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
--- src/Vehicle/JSVehicle.cpp
+++ src/Vehicle/JSVehicle.cpp
@@ -44,6 +44,7 @@
 
 JSStaticFunction JSVehicle::m_function[] = {
 	{ "get", JSVehicle::get, kJSPropertyAttributeNone },
+	{ "getAsync", JSVehicle::getAsync, kJSPropertyAttributeNone },
 	{ "subscribe", JSVehicle::subscribe, kJSPropertyAttributeNone },
 	{ "supported", JSVehicle::supported, kJSPropertyAttributeNone },
 	{ "set", JSVehicle::set, kJSPropertyAttributeNone },
@@ -183,6 +184,47 @@
 	//return JSTizenExceptionFactory::postException(context, exception, JSTizenException::UNKNOWN_ERROR, "Unknown Error");
 }
 
+JSValueRef JSVehicle::getAsync(JSContextRef context,
+		JSObjectRef object,
+		JSObjectRef thisObject,
+		size_t argumentCount,
+		const JSValueRef arguments[],
+		JSValueRef* exception)
+{
+	LoggerD("Entered async");
+	//Try {
+		VehiclePrivObject* privateObject = static_cast<VehiclePrivObject*>(JSObjectGetPrivate(thisObject));
+		if (NULL == privateObject)
+		{
+			LoggerE("private object is null");
+			return JSValueMakeUndefined(context);
+		}
+
+		LoggerD("Validating arguments: " << argumentCount);

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list