You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/01/15 23:34:20 UTC
[1/3] git commit: Initial fix for CB-5747
Updated Branches:
refs/heads/dev 9d528160e -> 54a8e7de6
Initial fix for CB-5747
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/3e4f9cdc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/3e4f9cdc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/3e4f9cdc
Branch: refs/heads/dev
Commit: 3e4f9cdc287d907679a47a32f95238180c774860
Parents: cfdb4ed
Author: Matti Eerola <ma...@softapalvelin.com>
Authored: Sat Jan 11 12:37:01 2014 +0000
Committer: Matti Eerola <ma...@softapalvelin.com>
Committed: Sat Jan 11 12:37:01 2014 +0000
----------------------------------------------------------------------
src/windows8/FileProxy.js | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/3e4f9cdc/src/windows8/FileProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/FileProxy.js b/src/windows8/FileProxy.js
index 1445ae7..4a20c64 100644
--- a/src/windows8/FileProxy.js
+++ b/src/windows8/FileProxy.js
@@ -194,6 +194,10 @@ module.exports = {
flag = new Flags(false, false);
}
+ if (path !== null) {
+ path = path.replace("/", "\\");
+ }
+
Windows.Storage.StorageFolder.getFolderFromPathAsync(fullPath).then(
function (storageFolder) {
if (flag.create === true && flag.exclusive === true) {
[3/3] git commit: Merge
https://github.com/spMatti/cordova-plugin-file into dev
Posted by pu...@apache.org.
Merge https://github.com/spMatti/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/54a8e7de
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/54a8e7de
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/54a8e7de
Branch: refs/heads/dev
Commit: 54a8e7de65fe9c1ff7e9194e7ada8964338fad3d
Parents: 9d52816 9b29035
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Jan 15 14:31:19 2014 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Jan 15 14:31:19 2014 -0800
----------------------------------------------------------------------
src/windows8/FileProxy.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/54a8e7de/src/windows8/FileProxy.js
----------------------------------------------------------------------
[2/3] git commit: CB-5774: create DirectoryEntry instead of FileEntry
Posted by pu...@apache.org.
CB-5774: create DirectoryEntry instead of FileEntry
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/9b290353
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/9b290353
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/9b290353
Branch: refs/heads/dev
Commit: 9b290353eca2bd64e5deabbb75487052281100ea
Parents: 3e4f9cd
Author: Matti Eerola <ma...@softapalvelin.com>
Authored: Wed Jan 15 22:07:46 2014 +0200
Committer: Matti Eerola <ma...@softapalvelin.com>
Committed: Wed Jan 15 22:07:46 2014 +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/9b290353/src/windows8/FileProxy.js
----------------------------------------------------------------------
diff --git a/src/windows8/FileProxy.js b/src/windows8/FileProxy.js
index 4a20c64..af5aab8 100644
--- a/src/windows8/FileProxy.js
+++ b/src/windows8/FileProxy.js
@@ -431,7 +431,7 @@ module.exports = {
promiseArr[index++] = storageFolder.createFolderQuery().getFoldersAsync().then(function (folderList) {
if (folderList !== null) {
for (var j = 0; j < folderList.length; j++) {
- result.push(new FileEntry(folderList[j].name, folderList[j].path));
+ result.push(new DirectoryEntry(folderList[j].name, folderList[j].path));
}
}
});