Commit Graph

598 Commits

Author SHA1 Message Date
Alan K 0cfb29eaec Merge pull request #140 from humphd/issue132
Support fs.watch(), FSWatcher. Fixes #132
2014-03-08 16:04:15 -05:00
Alan K f412c65846 Merge pull request #141 from kwkofler/issue#112
Issue #112 - Stats methods
2014-03-08 15:52:33 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca edfcbddb4a s/this/fs/ in callback.apply(fs, arguments) for each complete() call 2014-03-08 15:51:42 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2f7a9d8e35 Review fixes: add context.close(), move intercom broadcast into fs 2014-03-08 15:47:33 -05:00
kwkofler 3bc9b29957 Removed unnecessary curly braces 2014-03-08 14:14:24 -05:00
kwkofler bbdc972011 README formatting issues remedied 2014-03-08 14:12:47 -05:00
kwkofler 4ff7c7d7cb Fixed README issues, and fixed misuse of expect() syntax. 2014-03-08 13:53:53 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 98b40c5045 Review fixes 2014-03-07 20:21:10 -05:00
kwkofler c975c2e3e6 Rebase conflict resolution removed two methods accidentally, replaced them 2014-03-07 18:59:30 -05:00
kwkofler 880f70d3de Merge remote-tracking branch 'upstream/develop' into issue#112
Conflicts:
	src/fs.js
	tests/test-manifest.js
2014-03-07 18:47:32 -05:00
kwkofler 526f2d0934 Renamed Stats to stats 2014-03-07 18:39:38 -05:00
kwkofler 7c14af9668 Fixed Stats prototypes, created full Mocha test suite 2014-03-07 18:10:02 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b3c5524e26 README fixes 2014-03-07 15:24:58 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 2f17d82126 Add fs.watch() docs 2014-03-07 15:22:06 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca eff4d9b5fc Deal with failing tests for rename, and do a better cleanup job in watcher.close() 2014-03-07 13:46:54 -05:00
kwkofler 0fb099d6c8 Renamed test suite, started rewriting for mocha. 2014-03-07 13:06:11 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 96836f355c Most things passing for change events now, ported node.js watch tests 2014-03-07 11:54:14 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 683c548f73 Promote bower to deps vs. devDeps in package.json for EventEmitter2 2014-03-06 22:31:35 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca a365144e97 First passing tests for fs.watch(), use EventEmitter2 via bower 2014-03-06 22:27:10 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 799a7ae4b1 Add intercom.js functionality for inter-window event broadcast 2014-03-06 19:56:49 -05:00
Alan Kligman bb9c34e5b3 Revert "Merge pull request #113 from kwkofler/issue#112"
This reverts commit bfba8c3546, reversing
changes made to f079eaa7dd.
2014-03-06 11:35:53 -05:00
Alan K bfba8c3546 Merge pull request #113 from kwkofler/issue#112
Resolves issue #112, though isBlockDevice(), isCharacterDevice(), isFIFO...
2014-03-06 09:52:40 -05:00
Alan K f079eaa7dd Merge pull request #134 from pbouianov/issue125
Updated error object to match Node.js. Solves issue #125.
2014-03-05 22:39:02 -05:00
Alan K 567145052c Merge pull request #138 from humphd/test-timeouts
Increase the test timeout threshold from 2s to 5s
2014-03-05 22:24:27 -05:00
Alan K 27262cdb67 Merge pull request #137 from humphd/issue2
Update atime, ctime, mtime on fs operations. Fixes #2
2014-03-05 22:23:46 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 31ef56ff8e Increase the test timeout threshold from 2s to 5s (for longer db operations), with a slow test warning of 250ms 2014-03-05 22:02:05 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 72e527dfab Add tests for time mount flag suppression (NOMTIME, NOCTIME) 2014-03-05 21:41:45 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 5438d8c97b Fix mount flags per review and also write docs 2014-03-05 20:03:27 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca f580f40016 Tests for ctime, mtime, atime updates 2014-03-05 19:53:21 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca b95ac40e65 Switch to NOATIME for Filer and mirror ctime to atime. 2014-03-05 17:00:54 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 8c743bb95a Fix remaining test failures 2014-03-05 16:27:12 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 61111da85d Finish atime, ctime, mtime updates for fs operations, fix tests 2014-03-05 15:57:28 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 1fdd9ac476 Initial work refactoring updates to node times 2014-03-05 15:57:28 -05:00
David Humphrey d725157837 Merge pull request #135 from pbouianov/issue128
Changed IndexedDB provider to use RW context if RO is requested. Fixes issue #128
2014-03-05 15:28:53 -05:00
pbouianov fe9b94d4ec Changed IndexedDB provider to use RW context if RO is requested. Fixes issue #128 2014-03-05 14:45:59 -05:00
pbouianov c5ed7d4a55 Updated tests already checking error name 2014-03-05 14:28:31 -05:00
pbouianov bf9ff3ab3a Updated error object to match Node.js. Solves issue #125. 2014-03-05 13:22:23 -05:00
Alan K 3c9c344011 Merge pull request #131 from humphd/issue103
Change fs.utime test to remove constant times, prefering calculated duration. Fixes #103
2014-03-04 16:33:23 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca f10b86b644 Change fs.utime test to remove constant times, prefering calculated duration. Fixes #103 2014-03-04 15:30:46 -05:00
Alan K 503a2d2aca Merge pull request #130 from humphd/websql-fixes
Fix WebSQL provider to properly deal with typed arrays, 100% of tests passing now on WebKit with WebSQL
2014-03-04 14:34:22 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 32a5cfe584 Review fixes 2014-03-04 14:32:33 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca da5e1b2b57 Fix WebSQL provider to properly deal with typed arrays, 100% of tests passing now on WebKit with WebSQL 2014-03-04 13:37:37 -05:00
Alan K 6552683b15 Merge pull request #129 from humphd/issue127
Deal with provider.open edge case in new provider-agnostic tests. Fixes issue #127
2014-03-03 23:14:29 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca 23a9861e82 Deal with provider.open edge case in new provider-agnostic tests. Fixes issue #127. 2014-03-03 19:11:31 -05:00
kwkofler 0ce4d192fa Missing semi-colons added 2014-03-03 18:54:02 -05:00
kwkofler 866d8c1876 Issue #112 - Added mode reporting functions to the Stats object prototype, and appropriate tests 2014-03-03 18:54:01 -05:00
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