Stephen Ward
7a6a4160e6
made changes as per thomas's and dave's PR review
2018-10-09 20:25:19 -04:00
Stephen Ward
30752c9109
added a test: open a new file for writing, and set a mode for that file
2018-09-24 23:28:56 -04:00
Stephen Ward
78b3452d5d
added the addition of an optional mode when opening a file, removed my test because it was broken. Seemingly passes all the other tests still. STILL TO DO: add a proper test which makes sure the mode is set.
2018-09-24 19:10:09 -04:00
Stephen Ward
e7811eb53b
fixed lint spaces/indentation errors
2018-09-24 17:46:01 -04:00
Stephen Ward
add00ce563
testing out the validateAndMask() function, with console.log's...
2018-09-23 13:49:00 -04:00
David Humphrey
0980ec4608
Fix lint issues in issue258.js
2018-07-27 11:09:45 -04:00
David Humphrey
a31044cc8d
Fix lint issues in issue267.js
2018-07-27 11:08:40 -04:00
David Humphrey
454d5bc801
Fix lint issues in ls-depth-bug.js
2018-07-27 11:07:17 -04:00
David Humphrey
d41885e9d0
Fix lint issue in tests/lib/indexeddb.js
2018-07-27 11:03:43 -04:00
David Humphrey
0e00af661a
Fix lint issues in fs.appendFile.spec.js
2018-07-27 11:02:42 -04:00
David Humphrey
f89b616fdc
Fix issues in fs.chmod.spec.js
2018-07-27 11:01:47 -04:00
David Humphrey
cbcddee3be
Fix lint issues in fs.chown.spec.js
2018-07-27 11:01:26 -04:00
David Humphrey
1a738dd2bb
Fix lint issues in fs.close.spec.js, fs.link.spec.js
2018-07-27 11:00:48 -04:00
David Humphrey
9e08d96c96
Fix lint issues in fs.lstat.spec.js
2018-07-27 10:44:42 -04:00
David Humphrey
980d5d0917
Fix lint issues in fs.lseek.spec.js
2018-07-27 10:43:51 -04:00
David Humphrey
a8e373e4b9
Fix lint issues in fs.mknod.spec.js
2018-07-27 10:39:34 -04:00
David Humphrey
86e57d60db
Fix lint issues in fs.open.spec.js
2018-07-27 10:38:44 -04:00
David Humphrey
054094c852
Fix lint issues in fs.read.spec.js, fix test failure in fs.stats.spec.js
2018-07-27 10:37:45 -04:00
David Humphrey
cafff52c3a
Fix lint issues in fs.rename.spec.js
2018-07-27 10:34:21 -04:00
David Humphrey
1c7b40c895
Fix lint issues in fs.stats.spec.js
2018-07-26 18:17:05 -04:00
David Humphrey
7258a2913e
Fix lint issues in fs.truncate.spec.js
2018-07-26 18:07:50 -04:00
David Humphrey
bb8743eda1
Fix lint issues in fs.unlink.spec.js
2018-07-26 18:02:16 -04:00
David Humphrey
94e6a98cb8
Fix lint issues in fs.utimes.spec.js
2018-07-26 18:01:21 -04:00
David Humphrey
ee8e2a665a
Fix lint issues in fs.writeFile-readFile.spec.js
2018-07-26 18:01:07 -04:00
David Humphrey
a93ae13c99
Fix lint issues in fs.xattr.spec.js
2018-07-26 17:56:54 -04:00
David Humphrey
ab87c7f14a
Fix lint issues in tests-fs-watch.js
2018-07-26 17:54:26 -04:00
David Humphrey
49931722cc
Fix lint issues in path-resolution.spec.js
2018-07-26 17:53:02 -04:00
David Humphrey
3e1c3deb51
Fix lint issues in providers.base.js
2018-07-26 17:50:32 -04:00
David Humphrey
a8c3fa85db
Fix lint issues in exec.spec.js
2018-07-26 17:44:27 -04:00
David Humphrey
51c81edb5b
Fix lint issues in touch.spec.js
2018-07-26 17:41:35 -04:00
David Humphrey
8e900a3a88
Fix lint issues in time-flags.spec.js
2018-07-26 17:39:19 -04:00
David Humphrey
4a066064f4
Fix lint issues in times.spec.js
2018-07-26 17:37:26 -04:00
David Humphrey
a900d8df6d
Add eslint --fix scripts, fix first round of lint errors
2018-07-15 13:25:35 -04:00
David Humphrey
9832807dd1
Rebase and update to changes on develop
2018-07-14 11:21:34 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
65bbc17ccb
Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD
2018-07-14 10:53:23 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d61c61aab8
Switch to parceljs for bundling, eslint for linting, drop grunt
2018-07-14 10:50:22 -04:00
David Humphrey
b7ecae4af1
Fix typos and clean up for review
2018-07-14 10:02:29 -04:00
David Humphrey
4e73ef8d9b
Allow relpaths for symlink targets (needed by P9vfs), get rid of path info in Node
2018-07-14 10:02:29 -04:00
David Humphrey
9508833b37
Add chown, fchown, chmod, fchmod and tests.
2018-07-14 10:02:29 -04:00
David Humphrey
bf1d0e41d6
Fix bug with stats.name generated from fd, add tests
2018-07-14 10:02:29 -04:00
David Humphrey
c526445a43
Fix mode, fs.link, fix other bugs and cleanup
2018-07-14 10:02:29 -04:00
David Humphrey
0aaaeacd1a
Update sh.ls and stats to remove bits I don't need, add what I do.
2018-07-14 10:02:29 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
3650b798ed
Use transaction per operation in indexeddb.js, fix broken async tests in fs.stats.spec.js
...
Fixing for review comments
Switch to RW or RO transaction per get/put/delete/clear, better error handling for try/catch cases
Switch back to transaction-per-context for better atomic fs operations.
Move _getObjectStore onto prototype
2017-05-25 10:04:20 -04:00
Alan K
525e11f203
Suppress console.error message in test case
2015-08-16 13:18:26 -04:00
Alan K
ddc41f49a5
Fixed default provider when no query string is passed
2015-08-16 13:14:31 -04:00
Alan K
8325b5a9d7
Add a new 'default' provider option so we can force the memory provider
...
for testing
2015-08-16 13:02:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c85fa1851f
Fix #357 - Path.resolve() should not crash with missing Path.relative()
2015-06-29 11:38:51 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
17fb8993c3
fs.rename() should normalize paths before using, dir vs. dir/
2015-05-12 15:16:32 -04:00
Gideon Thomas
e9c4cb6d7a
Fix #340 - Set provider type for unit tests in the browser
2015-03-30 10:30:50 -04:00
Gideon Thomas
8c4de99a98
Fix #334 - Do not allow fs.link on directories
2014-12-17 13:30:31 -05:00