Commit Graph

356 Commits

Author SHA1 Message Date
David Humphrey 14c584ab8e Update README.md
Fix outdated wget file naming docs missed when we landed the new wget stuff.
2014-05-15 11:48:47 -04:00
Alan K bb87dcdb5e Merge pull request #174 from pbouianov/issue62
Fixes #62
2014-05-14 20:14:58 -04:00
Alan K 4a72e3b333 Update README.md
Realpath won't be implemented on the fs object.
2014-05-14 17:07:29 -04:00
Alan K d0f80cfd16 Merge pull request #164 from humphd/zip2
Implement sh.zip() and sh.unzip()
2014-05-14 16:17:00 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b04fc6dbae Fix tests so they pass in PhantomJS (hack, we just skip for now) 2014-05-14 15:09:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 411d6b2a9c Docs and update arg names to match docs 2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca af4a004435 All zip/unzip tests passing 2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 35b2fe46c6 Complex trees can be unzipped 2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 16c64d1ca2 Switched to zlib.js, all tests passing 2014-05-14 13:31:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c9cb4b4bdb Work thus far, still not right 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 1cbede711a Add test to confirm that fs.appendFile works when file is missing. 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca fe4b1e5c0e Adding sh.zip() but still failing a test 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 3411ba2dd3 First working end-to-end unzip test passing 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 5a13dbfa4d Initial commit of zip.js lib 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 0e213077e7 Add sh.wget() for downloading files into the fs, with tests and docs 2014-05-14 13:31:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 1b12f44a02 Allow query string and hashes in wget filenames and add tests. 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 670b84eba9 Fixed wget docs to match new filename extraction 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 9725f0a412 Improve automatic filename extraction for wget 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 3e11408f44 Fix failing travis/phantomjs tests by adding testing web server--run npm install 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 60a9dc2470 Beef up XHR code in sh.wget(), still failing 2 in PhantomJS due to not having web server 2014-05-14 13:24:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2aa46493fa Add sh.wget() for downloading files into the fs, with tests and docs 2014-05-14 13:24:53 -04:00
Alan K c06c024109 Merge pull request #177 from kwkofler/issue#7
Fixed #7
2014-05-14 13:17:54 -04:00
Kevin 51c858a2ce Made requested changes 2014-04-25 16:54:20 -04:00
Kevin 51abd49cd7 Merge branch 'develop' into issue#7 2014-04-25 16:49:32 -04:00
Alan K badc309297 Merge pull request #173 from pbouianov/issue78
Tests that expect errors check error codes. Fixes issue78
2014-04-20 11:06:19 -04:00
kwkofler 678000f706 Issue #7 - Docs explicitly mention that buffers must be ArrayBufferView's. 2014-04-18 14:42:36 -04:00
Petr Bouianov bdd4b5c9fe Fixes issue #62 2014-04-17 19:22:20 -04:00
Alan K 9c11fe562c avoid reallocation on test buffers 2014-04-17 13:05:05 -04:00
Alan K 9a3a2d14e6 Merge branch 'develop' of github.com:js-platform/filer into develop 2014-04-17 12:51:12 -04:00
Alan K 71c5a24c80 simple perf test 2014-04-17 12:50:51 -04:00
Petr Bouianov febba4c8ba Tests that expect errors check error codes. Fixes issue78 2014-04-17 11:53:55 -04:00
Alan K 073fe45223 Merge pull request #167 from kwkofler/issue#136
Issue #136 - Added more verbose errors for situations where Private Brow...
2014-04-02 20:00:42 -04:00
Alan K 4ef0f26b79 Merge pull request #162 from pbouianov/mkdirp
Fixed issues as per pull request conversation
2014-04-02 19:58:54 -04:00
kwkofler e925ec3556 Changed WebSQL error to be more in line with IndexedDB error. 2014-03-30 12:48:04 -04:00
Petr Bouianov ea88e78df2 Fixed issues as per pull request conversation 2014-03-30 00:13:25 -04:00
kwkofler 67ada1ba73 Issue #136 - Added more verbose errors for situations where Private Browsing prevents DB access 2014-03-29 13:34:37 -04:00
Alan K 8d55a5ebe9 Merge pull request #161 from humphd/issue143
Fix Issue #143
2014-03-28 14:56:59 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 11127dfe94 Remove dead code 2014-03-18 16:47:04 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca bf22cad14d Move shell.js and environment.js to shell/ 2014-03-18 16:41:31 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a28feae506 Fix failing tests for src/filesystem/* issues, all tests pass now 2014-03-18 16:34:47 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b73678c5c0 Remove duplicate decls across filesystem/* 2014-03-18 14:31:38 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 87fd1465f7 Dump fs.js 2014-03-18 14:16:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2418b4a634 Split up fs.js 2014-03-18 14:16:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8dcc38de82 Start refactoring of fs.js 2014-03-18 12:29:20 -04:00
Alan K 70aaf613ed Merge pull request #160 from humphd/issue153
Fix issue #153, add browser compatibility matrix
2014-03-18 09:12:46 -07:00
David Humphrey (:humph) david.humphrey@senecacollege.ca e7c6b4f105 Fix issue #153, add browser compatibility matrix 2014-03-18 11:10:43 -04:00
Alan K 5c5c4a6070 Merge pull request #155 from humphd/node-error-support
Node error support
2014-03-16 22:55:20 -07:00
David Humphrey (:humph) david.humphrey@senecacollege.ca cf29eef1ef Rebase and fix failing tests in mkdirp 2014-03-16 11:47:55 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca be9e0b50a8 Generate errors instead of hard-coding, with tests 2014-03-16 11:36:15 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca fe7ec79f83 Refactor errors code, fix to better match node 2014-03-16 11:36:15 -04:00