[GitHub] cordova-plugin-file pull request: CB-7027 GetMetada fails on Windo...

2014-06-25 Thread fberton
GitHub user fberton opened a pull request:

https://github.com/apache/cordova-plugin-file/pull/56

CB-7027 GetMetada fails on Windows8

GetMetadata in FileProxy.js returns the object 
basicProperties.dateModified in the case of a file and a folder. 
This function needs to return the primitive value of dateModified by using 
the function valueOf.
Furthermore, it is interesting for a file in some cases to return also the 
primitive of basicProperties.size.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Touchit/cordova-plugin-file CB-7027

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-file/pull/56.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #56


commit 823d2ff100757b21411e990633d084482bbca52e
Author: Florian BERTON flor...@touchify.co
Date:   2014-06-20T17:22:16Z

Fix function write for big files on windows 8

commit b489022d423da0733396f876866f968b5e8ff44c
Author: Florian BERTON flor...@touchify.co
Date:   2014-06-25T16:20:59Z

Fix issues in FileProxy.js CB-7027




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] cordova-plugin-file pull request: CB-6994 - Windows 8 does not sav...

2014-06-20 Thread fberton
GitHub user fberton opened a pull request:

https://github.com/apache/cordova-plugin-file/pull/54

CB-6994 - Windows 8 does not save big file transferred using Blob

When trying to save Blob using FileWriter.write method, if the blob's size 
is too high, we get a stack overflow exception during the conversion of the 
blob into an basic array.

In order to avoid this exception, we pass the Blob or File directly in 
FileProxy (avoid the conversion to ArrayBuffer) and we use a specific method in 
FileProxy to save the Blob directly to the filesystem by using Streams (safe).

More info at : https://issues.apache.org/jira/browse/CB-6994

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/Touchit/cordova-plugin-file CB-6994

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cordova-plugin-file/pull/54.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #54


commit 823d2ff100757b21411e990633d084482bbca52e
Author: Florian BERTON flor...@touchify.co
Date:   2014-06-20T17:22:16Z

Fix function write for big files on windows 8




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---