Commit Graph

902 Commits

Author SHA1 Message Date
kwkofler 1dc325556a Resolves issue #112, though isBlockDevice(), isCharacterDevice(), isFIFO(), and isSocket() currently lack constants, hence return false. 2014-03-03 18:54:01 -05:00
Alan Kligman 7d6bd98a31 Merge branch 'develop' of github.com:js-platform/filer into develop
Updated null-bytes test to have absolute paths

Conflicts:
	dist/filer.js
	dist/filer.min.js
2014-02-21 12:51:59 -05:00
Alan Kligman 7fce631ad7 add error for relative paths 2014-02-21 12:39:33 -05:00
Alan K 8b0a2d6bec Update README.md 2014-02-21 10:25:08 -05:00
Alan K 7c68444aa1 Merge pull request #111 from pbouianov/issue91
added fs.exists support
2014-02-21 10:23:51 -05:00
pbouianov 0c30d6dd18 Added fs.exists support. Fixes Issue91 2014-02-21 06:56:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca c87f250c1e Update dist/ with newest filer 2014-02-20 18:27:53 -05:00
Alan K b6b4ac8fec Merge pull request #120 from humphd/issue119
Default provider for tests should be indexeddb. Fixes #119
2014-02-19 18:22:43 -05:00
Alan K bf0354fe78 Merge pull request #114 from humphd/issue98
[WIP] Initial work on FileSystemShell and fs.Shell(), fixes #98
2014-02-19 18:20:54 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 64a52b7d00 Share code from lib/async.js instead of inlining nextTick in Memory provider 2014-02-19 17:55:56 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 715f56b478 Default provider for tests should be indexeddb. Fixes #119 2014-02-19 17:47:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a7a1f4b82e Change sh.exec to take a list vs. object for passed args 2014-02-19 17:36:26 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca eadd4ec03c Review fixes 2014-02-19 17:29:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8eac72b9d0 More README fixes 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 80300fc92d More Readme fixes 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4308e2d9ca Readme fixes 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca dd87117ff8 Update docs for shell changes 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 21f5d15f51 Add support for shell.env, PWD, TMP, and tempDir, with tests 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 83c55308dc Add shell.rm() with tests 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca e4767019cc Add shell.ls() with tests 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2829079bd3 Add Shell.cat() with tests 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca ef09526740 Add cd test for symlink'ed dir 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d7cce709f9 Fix shell.cd and add tests 2014-02-19 15:33:37 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2d3b15d310 Deal with jshint hating the Function constructor 2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 263b9cd9b0 Add shell.exec with test 2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca e43b1ba551 Working touch command with tests 2014-02-19 15:33:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca f618a44b9e Begin work on FileSystemShell and touch command 2014-02-19 15:33:36 -05:00
Alan Kligman ed206d68d8 Bump version. Rebuild artifacts. 2014-02-19 12:59:03 -05:00
Alan Kligman 3d57be4858 Fixes #116. 2014-02-19 12:53:05 -05:00
Alan Kligman ebe52fe5c3 Fixes #106. Also fixed bug in write_data where offset wasn't used copy data from source buffer. 2014-02-19 12:27:57 -05:00
Alan Kligman 18958fc585 Updated indexeddb test messages to match websql 2014-02-18 21:49:56 -05:00
Alan Kligman 49cec5df60 Fix #105. Regression test for #105 had an error so I fixed that also. Updated refactoring-test example. 2014-02-18 21:45:36 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 366c7b12d0 Change Travis notifications 2014-02-18 11:11:05 -05:00
Alan K 513ffb366a Merge pull request #118 from humphd/issue117
Fix failing null-byte case in PhantomJS for fs.truncate. Fixes #117
2014-02-18 11:07:32 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a33c2bd358 Fix failing null-byte case in PhantomJS for fs.truncate. Fixes #117 2014-02-18 11:02:08 -05:00
Alan K 6ac7341edd Update .travis.yml 2014-02-17 18:30:55 -05:00
Alan K 7180cebb18 Update .travis.yml 2014-02-17 18:29:19 -05:00
Alan K 70127ca390 Update .travis.yml 2014-02-17 18:22:38 -05:00
Alan K 989ece2bda Update README.md 2014-02-17 18:16:32 -05:00
Alan K a14ad057e8 Merge pull request #115 from humphd/issue48
Turn on jshint and mocha/phantomjs tests with TravisCI. Fixes #48.
2014-02-17 18:04:43 -05:00
David Humphrey a2d9303193 Update CONTRIBUTING.md
Fix markdown syntax
2014-02-17 16:34:41 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca d2f743511e Turn on jshint and mocha/phantomjs tests with TravisCI. Fixes #48. 2014-02-17 11:28:40 -05:00
Alan K a0ef904f9a Merge pull request #102 from humphd/issue59
[WIP] fix for Issue #59
2014-02-15 13:25:42 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 4812861dcf Refactor tests: switch to Mocha, make providers and filer source configurable. Fixes #59
Make provider configurable via URL. Convert fs.close test to use it. Still have timing issue with WebSQL.

Indent fix

Use bower to install mocha

Converting to mocha, Memory provider failing still in fs.close

Got mocha tests working with all providers

Converted more tests

Move more tests over to mocha

Move more tests over

Move more tests over

More tests moved over

More tests converted

More tests moved over

Move more tests over

Move last tests over

Convert more tests

Remove Jasmine and other unnecessary test files, rename tests/spec/regression to tests/bugs

Get tests running with grunt+mocha+phantomjs

Add docs on new tests
2014-02-14 15:44:57 -05:00
David Humphrey 1e5e06f18e Merge pull request #107 from humphd/issue106
[WIP] Failing test for issue 106
2014-02-11 14:27:56 -05:00
David Humphrey ce39bca20c Failing test for issue 106 2014-02-11 14:26:37 -05:00
Alan K 2b3d6244f5 Merge pull request #109 from humphd/issue105
[WIP] Failing test for issue 105
2014-02-07 10:30:17 -05:00
David Humphrey 7e09a4dfe1 Failing test for issue 105 2014-02-06 22:38:39 -05:00
Alan K 4137c12420 Merge pull request #101 from pbouianov/issue88
added fs.appendFile support
2014-02-03 19:50:37 -08:00
pbouianov 6ec635e551 fixed, added appendFile tests and updated README 2014-01-30 14:12:32 -05:00