You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/09/25 16:19:38 UTC

[1/4] git commit: CB-4889 renaming org.apache.cordova.core.file to org.apache.cordova.file

Updated Branches:
  refs/heads/dev f8a310cff -> a90e68dc3


CB-4889 renaming org.apache.cordova.core.file to org.apache.cordova.file


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/f8de9f8f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/f8de9f8f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/f8de9f8f

Branch: refs/heads/dev
Commit: f8de9f8ff0fdcd4189d0e3abe940d51543243d89
Parents: 371ae8c
Author: Anis Kadri <an...@apache.org>
Authored: Sat Sep 21 12:22:16 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Sat Sep 21 12:22:16 2013 +0200

----------------------------------------------------------------------
 plugin.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/f8de9f8f/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 458798e..394492c 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -2,8 +2,8 @@
 
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 xmlns:android="http://schemas.android.com/apk/res/android"
-           id="org.apache.cordova.core.file"
-      version="0.2.2-dev">
+           id="org.apache.cordova.file"
+      version="0.2.2">
     <name>File</name>
     <description>Cordova File Plugin</description>
     <license>Apache 2.0</license>


[2/4] git commit: CB-4889 renaming references

Posted by an...@apache.org.
CB-4889 renaming references


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/14da0cca
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/14da0cca
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/14da0cca

Branch: refs/heads/dev
Commit: 14da0cca01bbbfda1fce73b23124279861729d5f
Parents: f8de9f8
Author: Anis Kadri <an...@apache.org>
Authored: Wed Sep 25 16:18:49 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 16:18:49 2013 +0200

----------------------------------------------------------------------
 www/Entry.js                                  |  4 ++--
 www/blackberry10/DirectoryEntry.js            | 22 +++++++++++-----------
 www/blackberry10/resolveLocalFileSystemURI.js |  8 ++++----
 3 files changed, 17 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/14da0cca/www/Entry.js
----------------------------------------------------------------------
diff --git a/www/Entry.js b/www/Entry.js
index c4985dc..0e1bc02 100644
--- a/www/Entry.js
+++ b/www/Entry.js
@@ -107,7 +107,7 @@ Entry.prototype.moveTo = function(parent, newName, successCallback, errorCallbac
             if (entry) {
                 if (successCallback) {
                     // create appropriate Entry object
-                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name, entry.fullPath) : new (require('org.apache.cordova.core.file.FileEntry'))(entry.name, entry.fullPath);
+                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name, entry.fullPath) : new (require('org.apache.cordova.file.FileEntry'))(entry.name, entry.fullPath);
                     successCallback(result);
                 }
             }
@@ -148,7 +148,7 @@ Entry.prototype.copyTo = function(parent, newName, successCallback, errorCallbac
             if (entry) {
                 if (successCallback) {
                     // create appropriate Entry object
-                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name, entry.fullPath) : new (require('org.apache.cordova.core.file.FileEntry'))(entry.name, entry.fullPath);
+                    var result = (entry.isDirectory) ? new (require('./DirectoryEntry'))(entry.name, entry.fullPath) : new (require('org.apache.cordova.file.FileEntry'))(entry.name, entry.fullPath);
                     successCallback(result);
                 }
             }

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/14da0cca/www/blackberry10/DirectoryEntry.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/DirectoryEntry.js b/www/blackberry10/DirectoryEntry.js
index 295f88e..cb6628d 100644
--- a/www/blackberry10/DirectoryEntry.js
+++ b/www/blackberry10/DirectoryEntry.js
@@ -33,7 +33,7 @@ utils.extend(DirectoryEntry, Entry);
 
 function err(sandboxState, errorCallback) {
     return function (e) {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
         errorCallback(e);
     }
 };
@@ -50,22 +50,22 @@ DirectoryEntry.prototype.getDirectory = function (path, options, successCallback
         sandboxState = sandboxed;
     }, function (e) {
         console.log("[ERROR]: Could not retrieve sandbox state ", e);
-    }, "org.apache.cordova.core.file", "isSandboxed");
+    }, "org.apache.cordova.file", "isSandboxed");
 
     argscheck.checkArgs('sOFF', 'DirectoryEntry.getDirectory', arguments);
 
     if (fileUtils.isOutsideSandbox(path)) {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [false]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [false]);
         window.webkitRequestFileSystem(window.PERSISTENT, this.filesystem._size, function (fs) {
-            cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+            cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
             fs.root.getDirectory(currentPath + '/' + path, options, function (entry) {
                 successCallback(fileUtils.createEntry(entry));
             }, err(sandboxState, errorCallback));
         }, err(sandboxState, errorCallback));
     } else {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [true]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [true]);
         window.webkitRequestFileSystem(fileUtils.getFileSystemName(this.filesystem) === "persistent" ? window.PERSISTENT : window.TEMPORARY, this.filesystem._size, function (fs) {
-            cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+            cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
             fs.root.getDirectory(currentPath + '/' + path, options, function (entry) {
                 successCallback(fileUtils.createEntry(entry));
             }, err(sandboxState, errorCallback));
@@ -86,22 +86,22 @@ DirectoryEntry.prototype.getFile = function (path, options, successCallback, err
         sandboxState = sandboxed;
     }, function (e) {
         console.log("[ERROR]: Could not retrieve sandbox state ", e);
-    }, "org.apache.cordova.core.file", "isSandboxed");
+    }, "org.apache.cordova.file", "isSandboxed");
 
     argscheck.checkArgs('sOFF', 'DirectoryEntry.getFile', arguments);
 
     if (fileUtils.isOutsideSandbox(path)) {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [false]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [false]);
         window.webkitRequestFileSystem(window.PERSISTENT, this.filesystem._size, function (fs) {
-            cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+            cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
             fs.root.getFile(currentPath + '/' + path, options, function (entry) {
                 successCallback(fileUtils.createEntry(entry));
             }, err(sandboxState, errorCallback));
         }, err(sandboxState, errorCallback));
     } else {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [true]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [true]);
         window.webkitRequestFileSystem(fileUtils.getFileSystemName(this.filesystem) === "persistent" ? window.PERSISTENT: window.TEMPORARY, this.filesystem._size, function (fs) {
-            cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+            cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
             fs.root.getFile(currentPath + '/' + path, options, function (entry) {
                 successCallback(fileUtils.createEntry(entry));
             }, err(sandboxState, errorCallback));

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/14da0cca/www/blackberry10/resolveLocalFileSystemURI.js
----------------------------------------------------------------------
diff --git a/www/blackberry10/resolveLocalFileSystemURI.js b/www/blackberry10/resolveLocalFileSystemURI.js
index 06c1f73..4d5af61 100644
--- a/www/blackberry10/resolveLocalFileSystemURI.js
+++ b/www/blackberry10/resolveLocalFileSystemURI.js
@@ -35,12 +35,12 @@ module.exports = function (uri, success, fail) {
         sandboxState = sandboxed;
     }, function (e) {
         console.log("[ERROR]: Could not retrieve sandbox state ", e);
-    }, "org.apache.cordova.core.file", "isSandboxed");
+    }, "org.apache.cordova.file", "isSandboxed");
 
     if (fileUtils.isOutsideSandbox(stripURI(decodedURI))) {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [false]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [false]);
     } else {
-        cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [true]);
+        cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [true]);
     }
     window.webkitResolveLocalFileSystemURL(decodedURI, function (entry) {
         success(fileUtils.createEntry(entry));
@@ -51,5 +51,5 @@ module.exports = function (uri, success, fail) {
             fail(e);
         });
     });
-    cordova.exec(null, null, "org.apache.cordova.core.file", "setSandbox", [sandboxState]);
+    cordova.exec(null, null, "org.apache.cordova.file", "setSandbox", [sandboxState]);
 };


[4/4] git commit: Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file into dev

Posted by an...@apache.org.
Merge branch 'dev' of https://git-wip-us.apache.org/repos/asf/cordova-plugin-file into dev


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/a90e68dc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/a90e68dc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/a90e68dc

Branch: refs/heads/dev
Commit: a90e68dc3c3074735f857345bacaa73c996c4f8d
Parents: 1240373 f8a310c
Author: Anis Kadri <an...@apache.org>
Authored: Wed Sep 25 16:19:19 2013 +0200
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 16:19:19 2013 +0200

----------------------------------------------------------------------

----------------------------------------------------------------------



[3/4] git commit: [CB-4903] File Plugin not loading Windows8

Posted by an...@apache.org.
[CB-4903] File Plugin not loading Windows8


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/12403736
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/12403736
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/12403736

Branch: refs/heads/dev
Commit: 1240373609cb8ee189dcaab894d053ff8f04d104
Parents: 14da0cc
Author: Carlos Santana <cs...@gmail.com>
Authored: Tue Sep 24 18:12:44 2013 -0400
Committer: Anis Kadri <an...@apache.org>
Committed: Wed Sep 25 16:19:11 2013 +0200

----------------------------------------------------------------------
 src/windows8/FileProxy.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/12403736/src/windows8/FileProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/FileProxy.js b/src/windows8/FileProxy.js
index 6da9dd0..1445ae7 100644
--- a/src/windows8/FileProxy.js
+++ b/src/windows8/FileProxy.js
@@ -842,4 +842,4 @@ module.exports = {
 
 };
 
-require("cordova/commandProxy").add("File",module.exports);
+require("cordova/windows8/commandProxy").add("File",module.exports);