Commit Graph

175 Commits

Author SHA1 Message Date
Antelle 338ac0acb7 Update dist 2015-10-03 23:22:31 +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 bf44e184c1 Closes #164 2015-09-24 00:00:32 -04: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
Eli Grey 9befa6c5a5 Merge pull request #152 from Josh-Dykstra/set-timeout
Wraps save link technique in setTimeout + use MouseEvent
2015-07-12 12:31:02 -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 239f3c427f Merge pull request #136 from treygriffith/patch-1
Add link to bower-compatible repo
2015-03-22 19:47:47 -04:00
Trey Griffith fc84cff9a7 Add link to bower-compatible repo
[This comment](https://github.com/eligrey/FileSaver.js/issues/104#issuecomment-64328197) indicates a willingness to include a link to a bower-compatible fork of FileSaver.js. I created the fork so that I could install it using bower (via rails-assets.org) and wanted to share.

Based on [previous statements](https://github.com/eligrey/FileSaver.js/pull/109#issuecomment-65692833) about converting the package to semver, I've used a versioning system that reflects this package actual version. The version  I uploaded is 1.20150304.1. Going forward I plan to change the minor version when new versions are released, with the date they are released as the minor version.

For example, if a new version were released today, I would update the bower package to version `1.20150322.0`.

I know that you [tweeted](https://twitter.com/sephr/status/542978804441169920) a recommendation to use the patch version as the date, but since most package managers treat patch bumps as easy upgrade paths, the minor version seemed more appropriate.
2015-03-22 16:02:45 -07:00
Eli Grey 829e18db5d Update link 2015-03-20 20:39:19 -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 24b303f492 Update license date 2015-01-04 03:41:52 -05:00
Eli Grey d593c0b911 Fixes #120 2015-01-04 03:41:30 -05:00
Eli Grey f19f514772 Document Chrome blob size limit 2014-12-27 18:35:17 -05:00
Eli Grey 565e2f83a6 Merge pull request #122 from blakeembrey/master
More hardy node environment check
2014-12-17 22:04:48 -05:00
Blake Embrey bc962b7c40 Update minified build 2014-12-17 18:40:50 -08: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 11751a6a65 Attribute both fork contributors 2014-11-30 17:46:08 -05:00
Eli Grey 806dc4411e Linking to @koffsyrup's fork of @ChenWenBrian
Due to ChenWenBrian/FileSaver.js#1
2014-11-30 17:44:18 -05:00
Eli Grey 0908030da6 Fix header case 2014-11-29 20:18:50 -05: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 899ed116a9 Merge pull request #113 from mudcube/master
iOS notes in README.md
2014-11-06 18:16:58 -05:00
Michael Deal f1132903ff Update README.md 2014-11-06 15:11:56 -08:00
Michael Deal 86fb7e9f8f tweak link to bug report 2014-11-06 15:11:02 -08:00
Michael Deal 6a74334417 Add note about iOS
Hopefully this might help others not run into the same issue of executing outside of a user interaction event loop.
2014-11-06 15:09:41 -08:00
Eli Grey 3385907651 Merge pull request #112 from mudcube/patch-1
Fix demo paths
2014-11-06 17:27:03 -05:00
Michael Deal 191d4fc695 Fix demo paths
Blob.min.js does not exist, change to Blob.js

Replace raw.github.com w/ cdn.rawgit.com -- fixed "strict MIME type checking is enabled" as per: 

http://stackoverflow.com/questions/17341122/link-and-execute-external-javascript-file-hosted-on-github
2014-11-06 14:25:51 -08:00
Eli Grey 765f1d90ae Update minified version 2014-09-16 02:48:51 -04:00
Eli Grey 17b23c437a Merge pull request #105 from haydenbleasel/master
Added production version, updated readme
2014-09-16 01:28:43 -04:00
Hayden Bleasel b06be70442 Restored original Markdown style 2014-09-01 13:54:32 +10:00
Hayden Bleasel 0ff53e0c2f Added production version, updated readme 2014-09-01 12:25:59 +10: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 c69c21d488 Confirming max blob size on Chrome for Android 2014-07-25 23:25:52 -04:00
Eli Grey 1e7251f2d4 Improved crbug.com/375297 workaround 2014-07-25 20:48:15 -04:00
Eli Grey d9a5ac1d93 Merge pull request #99 from eugene-ku/master
add location.href fallback for safari
2014-07-22 12:31:29 -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 647fca0d83 Saving text files in IE<10 2014-07-12 14:25:29 -04:00
Eli Grey f85d70c825 Link to saveTextAs 2014-07-12 14:24:00 -04:00
Eli Grey 9921b2c327 More Safari info (#12) 2014-06-27 14:49:13 -04:00
Eli Grey b8054a26d1 Full license link 2014-05-27 19:06:18 -04:00
Eli Grey 912adc4b20 Removing all official cdn/package manager support
You are still free to upload new versions to your preferred cdn or
package manager, as this library is open source.
2014-05-27 15:04:25 -04:00