Commit Graph
60 Commits
Author SHA1 Message Date
Jimmy Karl Roland Wärting a6d11998e2 Now use minor version instead of date 2016-05-25 22:22:13 +02:00
Jimmy Karl Roland Wärting 1be5622d52 Fix typo #223 2016-05-22 12:16:52 +02:00
Jimmy Karl Roland Wärting 967f5c1851 Merge pull request #223 from 719media/patch-1
missing semicolon
2016-05-22 12:15:20 +02:00
Eli Grey 921c78ff43 Change UTF-16 BOM to UTF-8
Fixes #219
2016-05-20 21:37:27 -04:00
719media a7ae178604 missing semicolon
missing semicolon
2016-05-12 13:34:49 -07:00
Eli Grey 62d219a0fa Semi-workaround for #205
This solution still isn't technically correct because it could take more
than 40 seconds to download a file. I could simply not revoke any files,
but then users would run into issues once they have saved a cumulative
total of over 500MB (
https://bugs.chromium.org/p/chromium/issues/detail?id=375297 )

Complain to @sicking and @arunranga for creating and standardizing an
incomplete revocation API.
2016-03-28 16:07:08 -04:00
evilaliv3 ae7b37aef2 Update sourcecode date 2016-03-19 10:18:10 +01:00
evilaliv3 8a413edc32 Fix issue #207 2016-03-19 01:18:30 +01:00
J. Harshbarger 04f232f658 Fix #165, Saving multiple files 2015-11-19 14:07:28 +09:00
Eli Grey ec5c3cca11 License clarification 2015-10-15 13:56:04 -04:00
Eli Grey f23c4a66dc Update version (to go with #175) 2015-10-03 22:04:02 -04:00
Antelle 6d6eefe570 more accurate base64 data processing; moved safari check to variables 2015-10-03 23:37:48 +03:00
Antelle 0d4ddb673d removed encodeURI and fixed Safari detection 2015-10-03 23:19:11 +03:00
Antelle a3dc9ebddc better regex check 2015-10-03 22:56:04 +03:00
Antelle c0c13ccc0e Workaround for downloading application/octet-stream in Safari 2015-10-03 22:26:16 +03:00
Eli Grey e3485a652b Switching to semver due to the first API addition
The first API addition in almost 5 years!
2015-07-16 15:09:15 -04:00
Eli Grey 631047d72f Fixed #160: Made auto-BOM code toggleable 2015-07-16 15:03:38 -04:00
Joshua Dykstra 83ae1de762 Wraps save link technique in setTimeout + use MouseEvent 2015-06-03 14:07:25 -07:00
Eli Grey babc6d9d8f Auto-prepend BOM in IE10+
The last commit fixes some BOM prepending issues but it doesn't actually
add support for IE. This commit adds full auto-prepend BOM support for
IE.
2015-05-07 18:16:34 -04:00
Eli Grey f9a09b26f8 Expand BOM prepending to text/*
Now you can save HTML and rely on the auto-BOM prepender
2015-05-07 13:37:41 -04:00
Eli Grey 147cf92020 Fixing BOM prepending in IE10
Thanks for pointing it out @ruifcardoso
2015-05-07 13:25:35 -04:00
Eli Grey 214271766c Prepend BOM for UTF-8 XML and text/plain types 2015-03-04 03:23:19 -05:00
Eli Grey d593c0b911 Fixes #120 2015-01-04 03:41:30 -05:00
Blake Embrey 239d64d59d Bump version 2014-12-17 18:36:59 -08:00
Blake Embrey 74d38bafd1 More hardy node environment check 2014-12-17 18:28:09 -08:00
Eli Grey 27c4818941 Addressing @stesch13's timeout concerns
I raised the arbitrary-ish revocation timeout from 10ms to 500ms. I hope
to refine this value in the future with input from YOU, my users reading
this.

Please comment on this commit with any feedback you have.

@stesch13's concerns can be found at
https://github.com/eligrey/FileSaver.js/commit/485930a#commitcomment-8768047
2014-11-29 14:16:15 -05:00
Eli Grey 879b3c228c Update version
Oops, should have bumped the version in that last commit.
2014-08-29 01:18:43 -04:00
Eli Grey d2dc258838 Removed Chrome Frame stuff
I originally accepted a pullreq that added this check but since then Chrome Frame support has been discontinued and people have told me that FileSaver.js doesn't work in Chrome Frame, so this has no place here.
2014-08-29 01:18:08 -04:00
Eli Grey 1e7251f2d4 Improved crbug.com/375297 workaround 2014-07-25 20:48:15 -04:00
Yevhenii Kurtov 5d2f3497c2 add location.href fallback for safari 2014-07-22 13:42:05 +03:00
Eli Grey 485930a7bc Workaround for crbug.com/375297
Removed deletion queue + unload processing; replaced it with an
asynchronous revocation flow
2014-07-21 13:48:56 -04:00
Eli Grey d50456a358 Spacing change in the intro comment
Zero code changes, still v.2014.05.27
2014-07-14 02:43:46 -04:00
Eli Grey b8054a26d1 Full license link 2014-05-27 19:06:18 -04:00
Eli Grey 1374a3d82f Only the @source comment attribution is required 2014-05-27 13:08:35 -04:00
Eli Grey d28d0bb26e Firefox for Android GC bug no longer applies 2014-05-27 13:01:40 -04:00
Eli Grey 6963e120d4 Removed redundant code for the blob URL 2014-05-27 12:49:41 -04:00
Jaakko Juutila d8388a1a3c Add AMD export 2014-03-20 16:13:29 +02:00
minj e81a06bcba add saveAs.unload to prevent memleaks 2014-02-23 07:49:28 +02:00
minj c71508b5e2 test for existence of navigator 2014-02-23 07:48:15 +02:00
Eli Grey da0d8ffa6a Fix indentation 2014-02-09 14:56:34 -05:00
XhmikosR 554f6cc11b Update FileSaver.js.
* update JSHint config options to match the current coding style
* use the important comment for the license header
2014-02-09 13:34:41 +02:00
Eli Grey 7cbbf5a7cc Update release date 2014-01-24 00:40:56 -05:00
Eli Grey 05df3e07e1 Closes #40 and #66
Also assuming navigator is defined from now on
2014-01-24 00:40:21 -05:00
Eli Grey 9d69e4b273 Attempting to fix #57 2013-12-27 14:32:57 -05:00
Eli Grey d8c81c105f Simplifying minj's changes 2013-10-21 16:17:17 -04:00
minj 3109255efe adapt FileSaver.js to allow including it as a content script in Firefox for Android add-ons 2013-10-21 00:09:59 +03:00
Tom MacWright 93cd13cf46 Export module, add package.json. 2013-09-04 21:11:04 -04:00
floriangouy 5d049fae8c Enhancement for IE10: let the user choose between Save or Open (as proposed in Mozilla Firefox) 2013-08-01 17:53:53 +02:00
Eli Grey 6efb04a2db s/window/view/ 2013-07-16 14:35:26 -04:00
mukarev 33e64b435a Chrome Frame Support
Chrome Frame is for some reason not able to use save link when running in IE 9, so I added a check for window.externalHost if using save_link
2013-07-16 11:35:25 +02:00