fix 2.0.22 ivi related regression issue; verion up 04/14004/1
authorziv.chang <ziv.chang@intel.com>
Fri, 20 Dec 2013 04:18:20 +0000 (12:18 +0800)
committerziv.chang <ziv.chang@intel.com>
Fri, 20 Dec 2013 04:18:20 +0000 (12:18 +0800)
fix 2.0.22 ivi related regression issue

Change-Id: I2fb14a967d6c53d556672d4f2704a799c9a41cfa
Signed-off-by: ziv.chang <ziv.chang@intel.com>
package/changelog
package/pkginfo.manifest
web/cache.manifest
web/ripple.css
web/ripple.js

index c5c9ce2..70d6cf4 100644 (file)
@@ -1,3 +1,6 @@
+* 2.0.23
+- fix 2.0.22 ivi related regression issue
+== ziv.chang <ziv.chang@intel.com> 2013-12-20 12:00
 * 2.0.22
 - fixed IVI bugs
 == ziv.chang <ziv.chang@intel.com> 2013-12-18 14:00
index f67327f..a21bea3 100644 (file)
@@ -1,4 +1,4 @@
-Version:2.0.22
+Version:2.0.23
 Maintainer:hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song <jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, bonyong lee <bonyong.lee@samsung.com>
 
 Package:websimulator-core
index 3aa3a12..6b2683e 100644 (file)
@@ -96,4 +96,4 @@ themes/light/images/ui-icons_454545_256x240.png
 themes/light/images/ui-icons_888888_256x240.png
 themes/light/images/ui-icons_cd0a0a_256x240.png
 themes/light/theme.css
-# Manifest build date: Wed Dec 18 2013 13:59:41 GMT+0800 (CST)
\ No newline at end of file
+# Manifest build date: Fri Dec 20 2013 12:14:50 GMT+0800 (CST)
\ No newline at end of file
index a021ad0..81a3307 100644 (file)
@@ -2220,6 +2220,7 @@ textarea {
 
 #vehicle-container #vehicle-supported-show {
     width: 100%;
+    margin: 5px 5px 5px 0;
 }
 
 #vehicle-container #vehicle-supported-show td {
index d3a6ae4..cec6fc6 100644 (file)
@@ -1,5 +1,5 @@
 /*! 
-  Ripple Mobile Environment Emulator v0.9.8 :: Built On Wed Dec 18 2013 13:59:40 GMT+0800 (CST)
+  Ripple Mobile Environment Emulator v0.9.8 :: Built On Fri Dec 20 2013 12:14:50 GMT+0800 (CST)
 
                                 Apache License
                            Version 2.0, January 2004
@@ -70159,48 +70159,48 @@ _vehicleMapStack.vehicleConfigurationMap = [
 ];
 
 _vehicleMapStack.vehiclePropertyRangeMap = {
-    "VehicleSpeed-vehicleSpeed": [0, 400, 10],
+    "VehicleSpeed-vehicleSpeed": [0, 400, 1],
     "EngineSpeed-engineSpeed": [0, 10000, 20],
-    "Acceleration-x": [0, 200, 10],
-    "Acceleration-y": [0, 200, 10],
-    "Acceleration-z": [0, 200, 10],
-    "Fuel-level": [0, 100, 10],
-    "Fuel-range": [0, 1000, 10],
-    "Fuel-instantConsumption": [0, 100, 10],
-    "Fuel-instantEconomy": [0, 100, 10],
-    "Fuel-averageEconomy": [0, 100, 10],
-    "EngineOil-remaining": [0, 100, 10],
-    "EngineOil-temperature": [0, 100, 10],
-    "EngineOil-pressure": [0, 1000, 10],
-    "Location-latitude": [-180, 180, 36],
-    "Location-longitude": [-19, 90, 18],
-    "Location-altitude": [0, 100, 10],
-    "Location-direction": [0, 360, 36],
-    "ExteriorBrightness-exteriorBrightness": [0, 100, 10],
-    "Temperature-interior": [-5, 35, 7],
-    "Temperature-exterior": [-40, 60, 10],
-    "Odometer-odometer": [0, 10000, 100],
-    "CruiseControlStatus-speed": [10, 100, 10],
+    "Acceleration-x": [0, 200, 1],
+    "Acceleration-y": [0, 200, 1],
+    "Acceleration-z": [0, 200, 1],
+    "Fuel-level": [0, 100, 1],
+    "Fuel-range": [0, 1000, 1],
+    "Fuel-instantConsumption": [0, 100, 1],
+    "Fuel-instantEconomy": [0, 100, 1],
+    "Fuel-averageEconomy": [0, 100, 1],
+    "EngineOil-remaining": [0, 100, 1],
+    "EngineOil-temperature": [0, 100, 1],
+    "EngineOil-pressure": [0, 1000, 1],
+    "Location-latitude": [-180, 180, 1],
+    "Location-longitude": [-19, 90, 1],
+    "Location-altitude": [0, 100, 1],
+    "Location-direction": [0, 360, 1],
+    "ExteriorBrightness-exteriorBrightness": [0, 100, 1],
+    "Temperature-interior": [-5, 35, 1],
+    "Temperature-exterior": [-40, 60, 1],
+    "Odometer-odometer": [0, 10000, 10],
+    "CruiseControlStatus-speed": [1, 100, 1],
     "HVAC-targetTemperature": [0, 35, 7],
-    "Sunroof-openness": [0, 100, 10],
-    "Sunroof-tilt": [0, 100, 10],
-    "ConvertibleRoof-openness": [0, 100, 10],
-    "WindowStatus-openness": [0, 100, 10],
-    "VehicleTopSpeedLimit-vehicleTopSpeedLimit": [0, 400, 10],
-    "ObstacleDistance-obstacleDistance": [0, 120, 10],
-    "Fluid-transmission": [0, 100, 10],
-    "Fluid-brake": [0, 100, 10],
-    "Fluid-washer": [0, 100, 10],
-    "Battery-voltage": [0, 12, 4],
-    "Battery-current": [0, 200, 10],
-    "TirePressure-leftFront": [0, 500, 10],
-    "TirePressure-rightFront": [0, 500, 10],
-    "TirePressure-leftRear": [0, 500, 10],
-    "TirePressure-rightRear": [0, 500, 10],
-    "TireTemperature-leftFront": [0, 60, 10],
-    "TireTemperature-rightFront": [0, 60, 10],
-    "TireTemperature-leftRear": [0, 60, 10],
-    "TireTemperature-rightRear": [0, 60, 10]
+    "Sunroof-openness": [0, 100, 1],
+    "Sunroof-tilt": [0, 100, 1],
+    "ConvertibleRoof-openness": [0, 100, 1],
+    "WindowStatus-openness": [0, 100, 1],
+    "VehicleTopSpeedLimit-vehicleTopSpeedLimit": [0, 400, 1],
+    "ObstacleDistance-obstacleDistance": [0, 120, 1],
+    "Fluid-transmission": [0, 100, 1],
+    "Fluid-brake": [0, 100, 1],
+    "Fluid-washer": [0, 100, 1],
+    "Battery-voltage": [0, 12, 1],
+    "Battery-current": [0, 200, 1],
+    "TirePressure-leftFront": [0, 500, 1],
+    "TirePressure-rightFront": [0, 500, 1],
+    "TirePressure-leftRear": [0, 500, 1],
+    "TirePressure-rightRear": [0, 500, 1],
+    "TireTemperature-leftFront": [0, 60, 1],
+    "TireTemperature-rightFront": [0, 60, 1],
+    "TireTemperature-leftRear": [0, 60, 1],
+    "TireTemperature-rightRear": [0, 60, 1]
 };
 
 _vehicleMapStack.vehicleAutoRunningMap = {
@@ -75337,7 +75337,7 @@ function _initialize () {
     }
 
     return format;
-} */
+}*/
 
 _self = function () {
     var vehicle;
@@ -75681,7 +75681,16 @@ VehicleFactory = function (vehicleType, value) {
         break;
     }
 
-    return instanceType;
+    function _construct () {
+        var val;
+
+        for (val in value) {
+            instanceType[val] = value[val];
+        }
+        return instanceType;
+    }
+
+    return _construct();
 };
 
 VehiclePropertyType = function (propertyTypes) {
@@ -75869,7 +75878,7 @@ Acceleration = function (propertyTypes) {
 
     this.__defineSetter__("x", function (val) {
         try {
-            acceleration.x = t.unsigned_long(val, "[]");
+            acceleration.x = t.unsigned_long(val);
         }
         catch (err) {
         }
@@ -75881,7 +75890,7 @@ Acceleration = function (propertyTypes) {
 
     this.__defineSetter__("y", function (val) {
         try {
-            acceleration.y = t.unsigned_long(val, "[]");
+            acceleration.y = t.unsigned_long(val);
         }
         catch (err) {
         }
@@ -75893,7 +75902,7 @@ Acceleration = function (propertyTypes) {
 
     this.__defineSetter__("z", function (val) {
         try {
-            acceleration.z = t.unsigned_long(val, "[]");
+            acceleration.z = t.unsigned_long(val);
         }
         catch (err) {
         }
@@ -76637,7 +76646,7 @@ HVAC = function (propertyTypes) {
         return hvac.time;
     });
 
-    this.__defineGetter__("AIRFLOWDIRECTION_DEFROSTER", function () {
+    this.__defineGetter__("AIRFLOWDIRECTION_FRONTPANEL", function () {
         return 0;
     });
 
@@ -80087,7 +80096,7 @@ module.exports = {
     //"phonegap": {"1.0.0": require('ripple/platform/phonegap/1.0.0/spec')},
     "tizen": {"2.0": require('ripple/platform/tizen/2.0/spec')},
     "ivi": {"3.0": require('ripple/platform/ivi/3.0/spec')},
-    "cordova": {"2.0.0": require('ripple/platform/cordova/2.0.0/spec')},
+    //"cordova": {"2.0.0": require('ripple/platform/cordova/2.0.0/spec')},
     //"webworks.bb10": {"1.0.0": require('ripple/platform/webworks.bb10/1.0.0/spec')},
     //"webworks.handset": {"2.0.0": require('ripple/platform/webworks.handset/2.0.0/spec')},
     //"webworks.tablet": {"2.0.0": require('ripple/platform/webworks.tablet/2.0.0/spec')},
@@ -146653,7 +146662,7 @@ module.exports = {
 
         utils.forEach(platformList, function (platform, platformKey) {
             platformNode = utils.createElement("option", {
-                "innerText": platformKey,
+                "innerText": platformKey === "tizen" ? "mobile": platformKey,
                 "value":  platformKey
             });
 
@@ -149247,7 +149256,7 @@ function _setVehicleSetting (settings) {
                 for (i = 0; i < options.length; i++) {
                     option = options[i];
                     for (optionName in option) {
-                        if (option[optionName].toString() === propertyItems[item].value) {
+                        if (option[optionName].toString() === propertyItems[item].value.toString()) {
                             optionHtml += '<option value="' + option[optionName] + '" selected>' +
                                 optionName + '</option>';
                         }