You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ia...@apache.org on 2014/04/25 20:13:41 UTC

[1/4] git commit: CB-6452 Incremented plugin version on dev branch.

Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master e9efe65a4 -> 69e465a4f


CB-6452 Incremented plugin version on dev branch.


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/39d816f9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/39d816f9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/39d816f9

Branch: refs/heads/master
Commit: 39d816f9573549d3af640c7442dda1c9e1b18058
Parents: c1a1052
Author: Ian Clelland <ic...@chromium.org>
Authored: Thu Apr 17 11:16:03 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Thu Apr 17 11:16:03 2014 -0400

----------------------------------------------------------------------
 plugin.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/39d816f9/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 943aef0..cedabbf 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -21,7 +21,7 @@
 <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
 xmlns:android="http://schemas.android.com/apk/res/android"
            id="org.apache.cordova.file"
-      version="1.1.0">
+      version="1.1.1-dev">
     <name>File</name>
     <description>Cordova File Plugin</description>
     <license>Apache 2.0</license>


[4/4] git commit: Merge branch 'dev' into master

Posted by ia...@apache.org.
Merge branch 'dev' into master

Further development should take place on master


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/69e465a4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/69e465a4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/69e465a4

Branch: refs/heads/master
Commit: 69e465a4f9a4f7ce63ef6890712fea0fb0c0f041
Parents: e9efe65 757e692
Author: Ian Clelland <ic...@chromium.org>
Authored: Fri Apr 25 11:20:54 2014 -0400
Committer: Ian Clelland <ic...@chromium.org>
Committed: Fri Apr 25 11:20:54 2014 -0400

----------------------------------------------------------------------
 doc/index.md | 16 ++++++++++++++++
 plugin.xml   |  2 +-
 www/File.js  |  2 +-
 3 files changed, 18 insertions(+), 2 deletions(-)
----------------------------------------------------------------------



[3/4] git commit: Update File.js for typo: lastModifiedData --> lastModifiedDate (closes #38)

Posted by ia...@apache.org.
Update File.js for typo: lastModifiedData --> lastModifiedDate (closes #38)

Signed-off-by: Shazron Abdullah <sh...@apache.org>


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/757e692f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/757e692f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/757e692f

Branch: refs/heads/master
Commit: 757e692ff02cc21a94452af414e33feda9a09157
Parents: abcaf70
Author: DanielFreiburger <da...@europapark.de>
Authored: Thu Apr 10 13:56:38 2014 +0200
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Apr 18 16:23:13 2014 -0700

----------------------------------------------------------------------
 www/File.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/757e692f/www/File.js
----------------------------------------------------------------------
diff --git a/www/File.js b/www/File.js
index a43108e..d080315 100644
--- a/www/File.js
+++ b/www/File.js
@@ -67,7 +67,7 @@ File.prototype.slice = function(start, end) {
         }
     }
 
-    var newFile = new File(this.name, this.localURL, this.type, this.lastModifiedData, this.size);
+    var newFile = new File(this.name, this.localURL, this.type, this.lastModifiedDate, this.size);
     newFile.start = this.start + newStart;
     newFile.end = this.start + newEnd;
     return newFile;


[2/4] git commit: Add error codes.

Posted by ia...@apache.org.
Add error codes.

I find myself constantly checking the source code to see what each error code represents. I think this should be in the core doc. I'd like to actually add a bit more text, for example, explaining what an encoding error could mean, but for now I figure this is a good start.

(closes #37)

Signed-off-by: Shazron Abdullah <sh...@apache.org>


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/abcaf700
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/abcaf700
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/abcaf700

Branch: refs/heads/master
Commit: abcaf70071dcbc369b8c9804710325cbe1ba3fed
Parents: 39d816f
Author: Raymond Camden <ra...@gmail.com>
Authored: Wed Apr 9 08:38:11 2014 -0500
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Apr 18 16:15:16 2014 -0700

----------------------------------------------------------------------
 doc/index.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/abcaf700/doc/index.md
----------------------------------------------------------------------
diff --git a/doc/index.md b/doc/index.md
index 744007d..b47c95f 100644
--- a/doc/index.md
+++ b/doc/index.md
@@ -193,3 +193,19 @@ This has particularly been an issue with the File-Transfer plugin, which previou
 device-absolute-paths (and can still accept them). It has been updated to work correctly
 with FileSystem URLs, so replacing `entry.fullPath` with `entry.toURL()` should resolve any
 issues getting that plugin to work with files on the device.
+
+## List of Error Codes and Meanings
+When an error is thrown, one of the following codes will be used. 
+
+* 1 = NOT_FOUND_ERR
+* 2 = SECURITY_ERR
+* 3 = ABORT_ERR
+* 4 = NOT_READABLE_ERR
+* 5 = ENCODING_ERR
+* 6 = NO_MODIFICATION_ALLOWED_ERR
+* 7 = INVALID_STATE_ERR
+* 8 = SYNTAX_ERR
+* 9 = INVALID_MODIFICATION_ERR
+* 10 = QUOTA_EXCEEDED_ERR
+* 11 = TYPE_MISMATCH_ERR
+* 12 = PATH_EXISTS_ERR