319 Commits (97dc810d46d647186911555808d29d016a62085f)

Author SHA1 Message Date
Peter Dekkers e48f0d1dd9 Fixed incorrect mask for determining fs.Stats types 15 years ago
Ryan Dahl 6bed15e074 Refactor: Utf8Decoder -> StringDecoder 15 years ago
Felix Geisendörfer 5f3906b65e Fix: fs.writeFile could not handle utf8 15 years ago
Felix Geisendörfer 55e964ec19 Fix: fs.readFile would execute callbacks twice 15 years ago
Ryan Dahl 1a5acd9850 API: readFileSync without encoding argument now returns a Buffer 15 years ago
Ryan Dahl 8840ce340d Bugfix: fs.ReadStream.setEncoding 15 years ago
Micheil Smith d89de07758 Adding experimental support for fs.chown and fs.chownSync. 15 years ago
Ryan Dahl 19f475c573 fs.ReadStream should emit Buffers 15 years ago
Felix Geisendörfer c93e0aaf06 Deprecate string interface for fs.read() 15 years ago
Ryan Dahl e84395ff8c Revert "Deprecate string interface for fs.read()" 15 years ago
Felix Geisendörfer cbbf9e43d1 Deprecate string interface for fs.read() 15 years ago
isaacs 5b740c488f Fix a leaking global 15 years ago
Felix Geisendörfer c46cbe0de4 Deprecate string interface for fs.write() 15 years ago
Ryan Dahl e232f09d38 fs.WriteStream.write should support buffer 15 years ago
Andrew Johnston 9599607065 Added posix fsync and fdatasync to fs module 15 years ago
Elijah Insua 976926376d Handle empty files with fs.readFile 15 years ago
Ben Noordhuis c6c77d535f Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation. 15 years ago
isaacs bc45adcffa Add binding.close to fs.readFile 15 years ago
Tim Caswell c07c601c3b fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified. 15 years ago
Jonathan Knezek 82c8973dfa Changed undefined pos to null to prevent hanging on SheevaPlug 15 years ago
Ryan Dahl e7a1fa1293 fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream 15 years ago
Felix Geisendörfer c143cba590 Get rid of coupling for stdin 15 years ago
Felix Geisendörfer f2212fa59d Support for FileReadStream.setEncoding 15 years ago
Felix Geisendörfer 76f98c27de Get rid of coupling for stdout 15 years ago
Ryan Dahl f618551694 Remove callback argument to FileWriteStream.prototype.write 15 years ago
Brian Hammond 40820ec8d5 Leave pos as undefined to allow reads from unseekable files like /proc/x/smaps on Linux 15 years ago
Tim Caswell 62d9852c3d Replace slow and broken for..in loops with faster for loops over the keys. 15 years ago
isaacs 57fbb627ca trailing whitespace fixes 15 years ago
Ryan Dahl 50c70ac714 Update stream API: forceClose() -> destroy(), close() -> end() 15 years ago
Ryan Dahl 7faf7d5c8d Put file stream methods into prototype, small style fixes 15 years ago
Ryan Dahl 3819920d77 Rename binding reference in fs.js 15 years ago
Johan Dahlberg 18de108e4c Bugfix: watchFile, unwatch, watch causes error 15 years ago
Ryan Dahl 627fb5adbb Load c++ modules on demand 15 years ago
Ryan Dahl 5c712a7da5 Lazy load fs.readFile 15 years ago
Ryan Dahl 4ccdc501d4 Include lib/ directory in node executable. Compile on demand. 15 years ago
Ryan Dahl 6bd11f147a Fix undefined reference in fs.js 15 years ago
Ryan Dahl 6d9227b79a Make relative ref to sys in fs module. 15 years ago
Ryan Dahl 03f2bfe51f Make relative ref to sys in fs module. 15 years ago
isaacs a38aa02f9f Remove process.mixin dependency from fs 15 years ago
Felix Geisendörfer 39472709f0 fs.createWriteStream throws fs undefined error 15 years ago
Felix Geisendörfer 9a9f08b1bc Add callbacks to stream methods 15 years ago
Felix Geisendörfer dbf9e466bc Documentation for FileWriteStream 15 years ago
Felix Geisendörfer 78c61000c2 Properly handle read errors 15 years ago
Felix Geisendörfer 145fac2b56 Use sys inherits 15 years ago
Felix Geisendörfer 0fcc94525a Renamed fileReadStream -> createReadStream 15 years ago
Felix Geisendörfer 48562fa938 Updated file streams 15 years ago
Felix Geisendörfer b4fba5fe8e Simplify buffering 15 years ago
Felix Geisendörfer f6e00759ef Initial read stream implementation 15 years ago
Felix Geisendörfer 9415ca909e Use process.mixin instead of sys.mixin 15 years ago
Rasmus Andersson 5c602b750a Rewrote realpath implementation solving all known failing tests (also added a bunch of new test cases) 15 years ago