Commit Graph

150 Commits

Author SHA1 Message Date
Ian Clelland
6a934aeb72 Update for pluggable_webview android branch 2014-06-03 13:06:56 -04:00
Marcel Kinard
ef0853dbe8 CB-6802 Add license 2014-05-30 11:25:53 -04:00
Jesse MacFadyen
156ae2092e Merge branch 'wp8-loaded' of https://github.com/mhujer/cordova-plugin-file-transfer 2014-05-27 15:09:54 -07:00
Ian Clelland
3bdf3775eb CB-6706: Relax dependency on file plugin 2014-05-16 10:47:20 -04:00
Bryan Higgins
c6bafea30e CB-3440 [BlackBerry10] Update implementation to use modules from file plugin 2014-05-08 14:01:06 -04:00
Andrew Grieve
67ae8d8852 CB-6378 Use connection.disconnect() instead of stream.close() for thread-safety 2014-05-06 10:25:01 -04:00
Marcel Kinard
2ecc6859e2 CB-6491 add CONTRIBUTING.md 2014-04-30 09:26:21 -04:00
Jesse MacFadyen
77e83c70dd Merge branch 'wp8-file-transfer' of https://github.com/stacic/cordova-plugin-file-transfer 2014-04-28 10:53:27 -07:00
Ian Clelland
a59eb77316 Merge branch 'dev' into master
Futher development should take place on master
2014-04-25 11:21:38 -04:00
Ian Clelland
6a92b13cf3 Merge dev branch @ 'r0.4.3' into master for release 2014-04-23 14:38:55 -04:00
Andrew Grieve
98e5da556f CB-6494 android: Fix upload of KitKat content URIs
FileTransfer was double-decoding the source URL.
2014-04-22 22:16:53 -04:00
Staci
2043b4e8b0 CB-6466 Auto-create directories in download
Bringing WP8 in line with the other platforms to automatically create
missing directories in filetransfer.download().
2014-04-22 13:40:56 -04:00
Ian Clelland
eb63c466e8 CB-6452 Incremented plugin version on dev branch. 2014-04-17 11:16:03 -04:00
Ian Clelland
8b727b2cfd CB-6452 Updated version and RELEASENOTES.md for release 0.4.3 0.4.3 r0.4.3 2014-04-17 10:53:20 -04:00
Ian Clelland
9b85ae122a CB-6460: Update license headers 2014-04-16 16:17:53 -04:00
Jesse MacFadyen
f2e56a2ac0 CB-6422 [windows8] use cordova/exec/proxy 2014-04-08 16:18:01 -07:00
Ian Clelland
2309e0e76c iOS: Fix error where files were not removed on abort 2014-03-28 10:36:01 -04:00
torrmal
223d08626d [CB-5175] CDVFileTransfer asynchronous download (Fixes #24)
Since download can take time, for it to be non-blocking, moved the call to a separate thread.
2014-03-27 13:21:26 -04:00
Ian Clelland
449df55848 [ios] Cast id references to NSURL to avoid compiler warnings (Fixes: apache/cordova-plugin-file-transfer#18) 2014-03-21 11:23:11 -04:00
Ian Clelland
653ec00fa6 [ios] Cleanup extra semicolons 2014-03-21 11:23:01 -04:00
James Jong
0f84287df0 CB-6212 iOS: fix warnings compiled under arm64 64-bit 2014-03-13 09:27:01 -04:00
Archana Naik
05786ec2ec Upleveled from android port with following commits:
3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for gzip downloads
8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it
651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space before "boundary".
35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download
2014-03-10 23:04:58 -07:00
Archana Naik
c35ca1a5c2 Upleveled from android port with following commits:
3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for gzip downloads
8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it
651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space before "boundary".
35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download
2014-03-10 23:02:28 -07:00
Martin Hujer
70463c238a Upload progress now works also for second file
- Sent bytes must be reseted before new upload, otherwise "onprogress" event "loaded" value provides sum of uploaded bytes (not just for the current upload, but all of them)
2014-03-08 22:33:37 +01:00
Andrew Grieve
c0c91d0245 Merge branch 'dev' (early part)
Conflicts:
	RELEASENOTES.md
	plugin.xml
0.4.2 r0.4.2
2014-02-28 16:30:24 -05:00
Andrew Grieve
f115394912 CB-6114 Incremented plugin version on dev branch. 2014-02-28 16:29:11 -05:00
Andrew Grieve
4d2c87350d Add NOTICE file 2014-02-28 16:29:07 -05:00
Andrew Grieve
b3369db910 CB-6114 Updated version and RELEASENOTES.md for release 0.4.2 2014-02-28 16:28:37 -05:00
Ian Clelland
ed24e210f4 CB-6106: Ensure that nativeURL is used by file transfer download 2014-02-27 16:40:32 -05:00
Ian Clelland
0779c71e04 Merge 'lmnbeyond/dev' into dev (closes #20)
Thie merges the code from https://github.com/apache/cordova-plugin-file-transfer/pull/20
2014-02-24 23:25:43 -05:00
lmnbeyond
e76deb20d5 ios:Get file plugin via commandDelegate to avoid using global file plugin directly. 2014-02-25 10:34:11 +08:00
lmnbeyond
d28f85d7b0 Make it a priority to use filesystemName to create FileSystem object 2014-02-24 11:14:16 +08:00
Andrew Grieve
0f8467bdfe CB-6059 iOS: Add necessary @synchronized blocks for newly introduced multi-threading. 2014-02-19 11:49:24 -05:00
Jan Pittner
49b4774e7e CB-6059 iOS: Stop FileTransfer.download doing IO on the UI thread. 2014-02-19 10:56:27 -05:00
Jan Pittner
a588236cbd CB-2190 Make backgroundTaskId apply to downloads as well. Move backgroundTaskId to the delegate. 2014-02-19 10:38:37 -05:00
Andrew Grieve
a1d6fc07e8 Fix default value for trustAllHosts on iOS (YES->NO) 2014-02-19 10:21:33 -05:00
Ian Clelland
35f80e42ec CB-6050: Use instance method on actual file plugin object to get FileEntry to return on download 2014-02-18 15:25:01 -05:00
Ian Clelland
31ac00d3ae CB-6022: Add backwards-compatibility notes to doc
Also change "URI" and "path" references to "URL" where appropriate for consistency.
2014-02-13 09:49:09 -05:00
Steven Gill
914946857f CB-5980 Incremented plugin version on dev branch. 2014-02-10 15:22:08 -08:00
Steven Gill
3c242d8ba8 CB-5980 Updated version and RELEASENOTES.md for release 0.4.1 2014-02-10 15:22:08 -08:00
Andrew Grieve
f8884981e4 CB-5588 Docs for upload headers. 2014-02-10 15:11:05 -05:00
Daniel Heffernan
28fb0a7c4d CB-5588 iOS: Add response headers to upload result
This change adds the HTTP response headers to the result for successful
uploads.
2014-02-10 14:58:37 -05:00
Christoph Neumann
651460fb6b CB-6000 Nginx rejects Content-Type without a space before "boundary".
From: https://github.com/apache/cordova-plugin-file-transfer/pull/6
2014-02-10 13:30:27 -05:00
Bas Bosman
6f91ac3a30 CB-4907 Close stream when we're finished with it 2014-02-10 13:26:43 -05:00
Steven Gill
3c36ee1fcf CB-5980 Updated version and RELEASENOTES.md for release 0.4.1 0.4.1 r0.4.1 2014-02-05 17:53:59 -08:00
Jesse MacFadyen
d3b21b35fc CB-5365 Remove unused exception var to prevent warnings? 2014-02-04 15:23:02 -08:00
Jesse MacFadyen
be44194066 CB-2421 explicitly write the bytesSent,responseCode,result to the FileUploadResult pending release of cordova-plugin-file dependency, added some sanity checks for callbacks 2014-01-28 15:23:10 -08:00
Ian Clelland
4ca546b3d8 iOS: Update for new file plugin api 2014-01-23 22:37:27 -05:00
Colin Mahoney
8374b3dd67 CB-5631 Removed SimpleTrackingInputStream.read(byte[] buffer)
InputStream.read(byte[] buffer) calls InputStream.read(byte[] bytes, int
offset, int count).  As SimpleTrackingInputStream overrides both these
methods a call to SimpleTrackingInputStream.read(byte[] buffer) results
in a call to SimpleTrackingInputStream.read(byte[] bytes, int offset,
int count) - and two calls to SimpleTrackingInputStream.updateBytesRead,
so the counter bytesRead gets incremented twice for each read.
2014-01-10 12:16:26 -05:00
Andrew Grieve
3c1ff16064 CB-5762 android: Fix lengthComputable set wrong for gzip downloads
Gzip + no Content-Length header should be lengthComputable=false
2014-01-10 11:45:59 -05:00