incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [6/6] js+path updates for 1.9.0 release
Date Fri, 29 Jun 2012 19:08:24 GMT
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/templates/custom/www/index.html
----------------------------------------------------------------------
diff --git a/templates/custom/www/index.html b/templates/custom/www/index.html
index 41bb677..89ba448 100644
--- a/templates/custom/www/index.html
+++ b/templates/custom/www/index.html
@@ -26,7 +26,7 @@
     
 	  <link rel="stylesheet" href="master.css" type="text/css" media="screen" title="no title"
charset="utf-8"/>
             
-      <script type="text/javascript" charset="utf-8" src="cordova-1.8.0.js"></script>
+      <script type="text/javascript" charset="utf-8" src="cordova-1.9.0.js"></script>
       
       <script type="text/javascript">
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/templates/description.txt
----------------------------------------------------------------------
diff --git a/templates/description.txt b/templates/description.txt
index 53f1f71..1582b22 100644
--- a/templates/description.txt
+++ b/templates/description.txt
@@ -1,4 +1,4 @@
 CordovaStarter
 
-Starter project for building a Cordova app for Windows Phone version: 1.9.0rc1 ( formerly
PhoneGap )
+Starter project for building a Cordova app for Windows Phone version: 1.9.0 ( formerly PhoneGap
)
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/templates/full/www/cordova-1.9.0.js
----------------------------------------------------------------------
diff --git a/templates/full/www/cordova-1.9.0.js b/templates/full/www/cordova-1.9.0.js
index 72d197c..17817c6 100644
--- a/templates/full/www/cordova-1.9.0.js
+++ b/templates/full/www/cordova-1.9.0.js
@@ -1,6 +1,6 @@
-// commit ec02143a7cb86f6e0895f3262af43737ab5403a7
+// commit ec1cc3e911f1e1e3de91f8e9beae7afd54aee58b
 
-// File generated at :: Fri Jun 22 2012 01:05:18 GMT-0700 (Pacific Daylight Time)
+// File generated at :: Fri Jun 29 2012 11:35:38 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -1103,9 +1103,6 @@ module.exports = {
                     path: "cordova/plugin/wp7/console"
 
                 }
-            },
-            FileTransfer: {
-                path: 'cordova/plugin/wp7/FileTransfer'
             }
         },
         device:{
@@ -1113,6 +1110,9 @@ module.exports = {
         },
         console:{
           path: "cordova/plugin/wp7/console"
+        },
+        FileTransfer: {
+            path: 'cordova/plugin/wp7/FileTransfer'
         }
     }
 };
@@ -4989,7 +4989,6 @@ var FileTransfer = function() {};
 
 FileTransfer.prototype.upload = function(filePath, server, successCallback, errorCallback,
options, trustAllHosts) {
 
-    console.log("WP7 specific FileTransfer.upload called with options::" + JSON.stringify(options));
     // sanity parameter checking
     if (!filePath || !server) throw new Error("FileTransfer.upload requires filePath and
server URL parameters at the minimum.");
     // check for options
@@ -4998,6 +4997,7 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
     var mimeType = null;
     var params = null;
     var chunkedMode = true;
+
     if (options) {
         fileKey = options.fileKey;
         fileName = options.fileName;
@@ -5005,14 +5005,14 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
         if (options.chunkedMode !== null || typeof options.chunkedMode != "undefined") {
             chunkedMode = options.chunkedMode;
         }
-        if (options.params) {
-            if(params && typeof params != typeof "") {
-                var arrParams = [];
-                for(var v in params) {
-                    arrParams.push(v + "=" + params[v]);
-                }
-                params = encodeURIComponent(arrParams.join("&"));
+
+        // if options are specified, and NOT a string already, we will stringify it.
+        if(options.params && typeof options.params != typeof "") {
+            var arrParams = [];
+            for(var v in options.params) {
+                arrParams.push(v + "=" + options.params[v]);
             }
+            params = encodeURI(arrParams.join("&"));
         }
     }
 
@@ -5021,8 +5021,6 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
         errorCallback(error);
     };
 
-    console.log("new patames look like this :: " + params);
-
     exec(successCallback, fail, 'FileTransfer', 'upload', [filePath, server, fileKey, fileName,
mimeType, params, trustAllHosts, chunkedMode]);
 };
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/tests/MobileSpecUnitTests/SubmissionInfo/ManualTestResults.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/SubmissionInfo/ManualTestResults.xml b/tests/MobileSpecUnitTests/SubmissionInfo/ManualTestResults.xml
deleted file mode 100644
index e4ae656..0000000
--- a/tests/MobileSpecUnitTests/SubmissionInfo/ManualTestResults.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<ManualTestResults version="1.0.0.2">
-  <ManualTestCases>
-    <ManualTestCase Name="4.7.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.1.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.1.2">Pending</ManualTestCase>
-    <ManualTestCase Name="5.1.3">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.2">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.3">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.4.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.4.2">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.4.3">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.4.4">Pending</ManualTestCase>
-    <ManualTestCase Name="5.2.6">Pending</ManualTestCase>
-    <ManualTestCase Name="5.3.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.3.2">Pending</ManualTestCase>
-    <ManualTestCase Name="5.3.3">Pending</ManualTestCase>
-    <ManualTestCase Name="5.4.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.5.1">Pending</ManualTestCase>
-    <ManualTestCase Name="5.5.2">Pending</ManualTestCase>
-    <ManualTestCase Name="5.6.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.2.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.2.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.3.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.3.2.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.3.2.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.3.3.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.3">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.4">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.5">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.6">Pending</ManualTestCase>
-    <ManualTestCase Name="6.4.7">Pending</ManualTestCase>
-    <ManualTestCase Name="6.5.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.5.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.5.3">Pending</ManualTestCase>
-    <ManualTestCase Name="6.5.4">Pending</ManualTestCase>
-    <ManualTestCase Name="6.6.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.6.3">Pending</ManualTestCase>
-    <ManualTestCase Name="6.6.4">Pending</ManualTestCase>
-    <ManualTestCase Name="6.7.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.7.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.8.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.9.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.9.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.9.3">Pending</ManualTestCase>
-    <ManualTestCase Name="6.9.4">Pending</ManualTestCase>
-    <ManualTestCase Name="6.9.5">Pending</ManualTestCase>
-    <ManualTestCase Name="6.10.1">Pending</ManualTestCase>
-    <ManualTestCase Name="6.10.2">Pending</ManualTestCase>
-    <ManualTestCase Name="6.10.3">Pending</ManualTestCase>
-  </ManualTestCases>
-</ManualTestResults>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/tests/MobileSpecUnitTests/SubmissionInfo/Settings.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/SubmissionInfo/Settings.xml b/tests/MobileSpecUnitTests/SubmissionInfo/Settings.xml
deleted file mode 100644
index 4c36534..0000000
--- a/tests/MobileSpecUnitTests/SubmissionInfo/Settings.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<MarketplaceDetails>
-  <SmallAppTile>
-  </SmallAppTile>
-  <LargeAppTile>
-  </LargeAppTile>
-  <PCAppTile>
-  </PCAppTile>
-  <ScreenShots>;;;;;;;;</ScreenShots>
-</MarketplaceDetails>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/c7d9a283/tests/MobileSpecUnitTests/www/cordova-1.9.0.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/www/cordova-1.9.0.js b/tests/MobileSpecUnitTests/www/cordova-1.9.0.js
index 72d197c..17817c6 100644
--- a/tests/MobileSpecUnitTests/www/cordova-1.9.0.js
+++ b/tests/MobileSpecUnitTests/www/cordova-1.9.0.js
@@ -1,6 +1,6 @@
-// commit ec02143a7cb86f6e0895f3262af43737ab5403a7
+// commit ec1cc3e911f1e1e3de91f8e9beae7afd54aee58b
 
-// File generated at :: Fri Jun 22 2012 01:05:18 GMT-0700 (Pacific Daylight Time)
+// File generated at :: Fri Jun 29 2012 11:35:38 GMT-0700 (Pacific Daylight Time)
 
 /*
  Licensed to the Apache Software Foundation (ASF) under one
@@ -1103,9 +1103,6 @@ module.exports = {
                     path: "cordova/plugin/wp7/console"
 
                 }
-            },
-            FileTransfer: {
-                path: 'cordova/plugin/wp7/FileTransfer'
             }
         },
         device:{
@@ -1113,6 +1110,9 @@ module.exports = {
         },
         console:{
           path: "cordova/plugin/wp7/console"
+        },
+        FileTransfer: {
+            path: 'cordova/plugin/wp7/FileTransfer'
         }
     }
 };
@@ -4989,7 +4989,6 @@ var FileTransfer = function() {};
 
 FileTransfer.prototype.upload = function(filePath, server, successCallback, errorCallback,
options, trustAllHosts) {
 
-    console.log("WP7 specific FileTransfer.upload called with options::" + JSON.stringify(options));
     // sanity parameter checking
     if (!filePath || !server) throw new Error("FileTransfer.upload requires filePath and
server URL parameters at the minimum.");
     // check for options
@@ -4998,6 +4997,7 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
     var mimeType = null;
     var params = null;
     var chunkedMode = true;
+
     if (options) {
         fileKey = options.fileKey;
         fileName = options.fileName;
@@ -5005,14 +5005,14 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
         if (options.chunkedMode !== null || typeof options.chunkedMode != "undefined") {
             chunkedMode = options.chunkedMode;
         }
-        if (options.params) {
-            if(params && typeof params != typeof "") {
-                var arrParams = [];
-                for(var v in params) {
-                    arrParams.push(v + "=" + params[v]);
-                }
-                params = encodeURIComponent(arrParams.join("&"));
+
+        // if options are specified, and NOT a string already, we will stringify it.
+        if(options.params && typeof options.params != typeof "") {
+            var arrParams = [];
+            for(var v in options.params) {
+                arrParams.push(v + "=" + options.params[v]);
             }
+            params = encodeURI(arrParams.join("&"));
         }
     }
 
@@ -5021,8 +5021,6 @@ FileTransfer.prototype.upload = function(filePath, server, successCallback,
erro
         errorCallback(error);
     };
 
-    console.log("new patames look like this :: " + params);
-
     exec(successCallback, fail, 'FileTransfer', 'upload', [filePath, server, fileKey, fileName,
mimeType, params, trustAllHosts, chunkedMode]);
 };
 


Mime
View raw message