David Humphrey (:humph) david.humphrey@senecacollege.ca
ba5f3fdbcd
Fix #266 - let FileSystem ctor figure out if an existing filesystem exists
2014-08-20 20:53:01 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4bba2512b0
Failing test for #267 , readdir on file path should error
2014-08-20 15:44:12 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fe0d6ce680
Comment out unused errors for space saving on filer.js
2014-08-18 21:31:25 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
851d863652
A few fixes
2014-08-18 19:21:35 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
ee9ea82cfb
Fix #261 - include path in errors
2014-08-18 19:13:50 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
84112410ba
Fix #258 - Queued fs calls hang when fs goes into error state due to provider.open error
2014-08-18 14:08:54 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1a2774b152
ack's fix + more tests for various cases
2014-08-17 17:15:00 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
b3da2f7681
Fix file name
2014-08-17 15:21:16 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c916c0a407
Update tests/index.js to run regression
2014-08-17 15:12:44 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
76118694bf
Failing test
2014-08-17 15:12:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d44b37c13d
Add test for zero-length buffers with getBuffer/putBuffer
2014-08-16 17:07:38 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d55bf23f1b
Initial work on #227 - improve storage efficiency of provider API
2014-08-16 16:22:41 -04:00
secretrobotron
77e0ee7117
[issue249] fixed Buffer prototype & tests
2014-08-09 13:05:15 -04:00
secretrobotron
af1943b5c9
[Issue249] Support for ArrayBuffer in Filer.Buffer
...
1. Added proxy Buffer constructor for Filer.Buffer.
2. Added tests for new Filer.Buffer.
2014-08-08 15:18:09 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5b785037f0
Fix #247 - sh.cwd() not updating cwd on success, with test.
2014-07-28 18:14:59 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e063edc6fc
Expanded test for wide dirs, fix, switch to async.eachSeries everywhere
2014-07-21 15:08:39 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
064e986d26
sh.ls() fails when stack sized is reached for deep recursive listings: RangeError: Maximum call stack size exceeded
2014-07-21 13:17:16 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
2992f7417b
Failing test for issue #239
2014-07-16 15:23:11 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4d10ba29a9
Use global vs. window for browserify resolution of global object, fixes shared watch events in Intercom
2014-07-15 11:36:53 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
87e291da64
Fix issue #235 - Allow recursive watches on root directory
2014-07-14 15:51:40 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fdfd643d43
Add link to issue
2014-07-02 15:17:22 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
a38a32d5fb
Make browser-request happy and provide a global shim for XHR in issue225 test
2014-07-02 15:17:22 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5c9ba07706
Test for Filer as AMD module use in require.js with Buffer, regression issue 225
2014-07-02 15:17:22 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
98cd3e6da7
Fix #228 : Uncaught [Filer Error] Your browser doesn't support IndexedDB or WebSQL.
2014-06-23 13:09:02 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
939d015e6d
All tests passing, replaced zlib.js with jszip, upstream fixes to browser-request + jszip for Buffers
2014-06-06 21:29:09 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fa65a34905
Get Buffer use fixed, expose Buffer via Filer.Buffer, most tests passing.
2014-06-06 11:14:52 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
1914f7a52b
WIP - moving to Buffer internally from Uint8Array, not passing all tests yet.
2014-06-04 15:52:08 -04:00
Kieran Sedgwick
bb23e902d2
Closes #204 - Move network.js
...
The network module (network.js) logically fits better in /shell since it's the only part of filer that uses it.
2014-05-29 13:00:20 -04:00
Kieran Sedgwick
6353732403
Removed require-config.js
2014-05-27 14:29:11 -04:00
Kieran Sedgwick
ad64ac1b75
Moah fixes
2014-05-26 17:41:17 -04:00
Kieran Sedgwick
823232fc67
Review fixes
2014-05-26 17:35:41 -04:00
Kieran Sedgwick
a4c0874668
Browserify test suite
...
Our tests run in the browser and on node! Switching to browserify made this necessary.
2014-05-26 16:51:42 -04:00
Kieran Sedgwick
2d245a0b26
Removed unnecessary files
2014-05-26 16:51:42 -04:00
Kieran Sedgwick
4efa4a91f3
Review fixes from PR #195
2014-05-26 12:31:34 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
930e5ce2e3
Fix some failing tests
2014-05-23 17:01:57 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
4ab41c4aea
Get tests to run
2014-05-23 16:53:50 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
38627f95d6
Rework tests for node
2014-05-23 14:54:59 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
d9ed65602a
Remove adapters (src, tests, docs), fix providers for node
2014-05-23 14:36:23 -04:00
Kieran Sedgwick
2d5b01719a
Make requirejs crash loudly during tests
...
If requirejs hit a source file it didn't like, it would crash. However, preloaded tests would continue and getting a passing grade on travis-ci (exit code 0).
2014-05-22 23:26:19 -04:00
Kieran Sedgwick
0bbaf5ff93
Added and fixed unit tests
...
Aside from testing our new module (network.js), we also had to add logic that would test Filer appropriately in both the node and browser environments.
2014-05-22 23:26:19 -04:00
Kieran Sedgwick
3ef2a4e07d
Split the distribution of Filer into two files
...
The AMD-module system Filer uses can't handle require() calls that reference a node module. By creating two distributions we allow the node version to use a full implementation of RequireJS, which gracefully falls back to Node's require() when RequireJS can't find the module in its registered paths.
2014-05-22 23:04:08 -04:00
Kieran Sedgwick
9f33d8503e
Swapped out XMLHttpRequest for a custom module
...
We made a module to encapsulate the logic that chooses the nodejs or browser dependency that actually downloads a file when the module is used.
2014-05-22 23:04:08 -04:00
David Humphrey
81b4d26b90
Finish test suite changes for node.js
2014-05-22 23:04:08 -04:00
David Humphrey
9426a700b5
Generate separate filer for testing in node so we don't overwrite dist/filer.js
2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
89c44f2f72
Fix time-based tests to not fail in node, since operations on Memory run faster
2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
e041c2d904
Tests running now
2014-05-22 23:04:08 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
c18660a2ed
Initial work on getting tests to run, some working
2014-05-22 23:04:07 -04:00
David Humphrey
e37ba7142c
Fix review nit, add test
2014-05-22 15:09:33 -04:00
Alan K
247ebd113a
Merge pull request #187 from yoavgurevich/issue62v2
...
Fixes #62
2014-05-21 16:17:19 -04:00
gideonthomas
aff6570ad6
Added mknod command to create a file or directory node
2014-05-21 11:25:23 -04:00