Ryan Dahl
05ae932a0e
Implement fs.readdirSync()
15 years ago
isaacs
9acc8a686a
Expose fs.lstat
15 years ago
Ryan Dahl
12d78cd1df
Rename sendHeader to writeHeader; allow reasonPhrase
15 years ago
Ryan Dahl
a0c48eecab
Rename readPause and readResume to pause/resume
15 years ago
Ryan Dahl
1db824a9c1
Add changelog to website
15 years ago
Ryan Dahl
0485cc41d5
Remove promises
15 years ago
Ryan Dahl
5fbc750db7
multipart no longer depends on Promise
15 years ago
Ryan Dahl
de7016eac5
sys.exec() no longer uses Promise
15 years ago
Ryan Dahl
c04b679e12
'dns' no longer uses Promise
15 years ago
Ryan Dahl
ef55324f1a
Do not use Promise in 'fs' module
15 years ago
Micheil Smith
bcc032e43a
Adding interface between node and libeio for Chmod.
15 years ago
Ryan Dahl
4f01c74e9f
Fix long lines in docs
15 years ago
Ryan Dahl
7811fa6fec
Update example on index.html
15 years ago
Ryan Dahl
87d5e5b316
bump version
15 years ago
Ryan Dahl
c622142692
Add note about gnutls and libgpg-error in installation instructions
15 years ago
Ryan Dahl
d9b0eb3922
Remove references to wait() in docs
15 years ago
Ryan Dahl
df94c763ae
documentation clean up
15 years ago
Ryan Dahl
f57b0e993b
Add asciidoc-xhtml11.js for use with asciidoc 8.5.1
15 years ago
Ryan Dahl
5013bf1781
API: OutgoingMessage.prototype.finish() renamed to close()
15 years ago
Tim Caswell
6115df6338
File API tweaks
- Rename fs.cat to fs.readFile
- Move file.write to fs.writeFile
- Allow strings for the flag argument to fs.open
("r", "r+", "w", "w+", "a", "a+")
- Remove the unused 'File' module / class
15 years ago
Ryan Dahl
ae85d9af97
API: Make request/response object closer to stream interface
- sendBody() renamed to write()
- 'body' event renamed to 'data'
- 'complete' event renamed to 'end'
15 years ago
Ryan Dahl
23cf502db7
API: connection.send() renamed to connection.write()
15 years ago
Ryan Dahl
1bf46d1536
Revert "Add process.startTime"
Unnecessary
This reverts commit 896cef23c4
.
15 years ago
Ryan Dahl
b82ef28d9d
Rename 'posix' module to 'fs'
15 years ago
Ryan Dahl
896cef23c4
Add process.startTime
15 years ago
Ryan Dahl
bc17d94a0a
API: tcp events 'receive' to 'data', 'eof' to 'end'
No deprecation messages. Not sure how...
15 years ago
Ryan Dahl
7d428a7741
s/tinyclouds.org/nodejs.org/
15 years ago
Ryan Dahl
49de41ef46
bump version
15 years ago
Tim Caswell
3aca908db3
Document the changes to sys.inspect's API.
It now takes an optional showHidden argument that shows hidden/non-enumerable properties of objects.
Also cleanup the lib/sys.js file a bit.
15 years ago
isaacs
3adcdfc2e1
A rewrite of multipart library.
1. Support streaming in the simple case. Put huge warnings around the
buffering API.
2. Support nested multipart messages.
3. Support various kinds of multipart messages, including all the various
absurdities of multipart email messages.
4. Error out on various invalid types of data that might come through.
5. Gracefully several edge cases that occur when the chunk size is smaller
than the boundary length, or cuts into the \r\n, etc.
6. Provide both positive and negative tests.
15 years ago
Michael Carter
a38607605c
Add process.setuid(), getuid()
15 years ago
Ryan Dahl
76c1805c67
Add posix.truncate()
15 years ago
Matt Brubeck
1737cdc112
Fix the documentation of dns error handling.
These are actually passed as Error objects, not separate "code" and "message"
parameters.
15 years ago
Ryan Dahl
0cfa789cc5
bump version
15 years ago
Ryan Dahl
f3ad635576
Downcase process.ARGV/ENV to process.argv/env
15 years ago
Blaine Cook
cd6397cc45
Add support for MX, TXT, and SRV records in DNS module.
15 years ago
Joseph Pecoraro
c99e33bc90
Fix minor issues in the documentation.
15 years ago
Felix Geisendörfer
a76c7a89ce
Implemented __dirname
It seems that the current __filename module global is mainly used to
determine the directory the current module is in. To make that
easier, this patch adds support for a __dirname module global
directly.
15 years ago
Ryan Dahl
da00413196
bump version
15 years ago
Felix Geisendörfer
bfd3144861
Make unhandled Promise errors throw an exception
A promise will throw an exception unless an error handler is attached in the
same "tick" that the error is emitted. This is to avoid silent promise
failures.
15 years ago
Felix Geisendörfer
f64371fccb
Support late callback binding for Promises
Listeners attached with addCallback / addErrback will now be executed
right away if the promise has already fired.
15 years ago
Felix Geisendörfer
f2274840a9
Removed Promise.cancel()
The current implementation was bad and nobody is using it. Has a chance
of getting re-implemented by somebody who has an actual need for it.
15 years ago
Micheil Smith
6e3d12f617
Allow optional params to setTimeout, setInterval
15 years ago
Ryan Dahl
8abeffa9ea
Add process.nextTick()
This is a replacement for the common hack:
setTimeout(cb, 0);
It's much more efficient.
15 years ago
Ryan Dahl
70293a43c9
API: Move Promise and EventEmitter into 'events' module
15 years ago
Ryan Dahl
39ca93549a
bump version
15 years ago
isaacs
b3349eb33a
Documentation for path module changes.
15 years ago
Benjamin Thomas
73266cb486
Added extname function to path module that returns the extension.
15 years ago
Felix Geisendörfer
d9085ea0cb
Updated docs for multipart errors
15 years ago
isaacs
2b3d9e4ad0
Use "url" module instead of "uri" module in http.js.
Deprecate the URI module and remove tests for it.
- Rename "uri" to "url".
- Use the "url" module instead of the "uri" module.
- Remove the url parsing from http.js
- Update http.cat with the changed field names.
- Update tests for changes to http.js
- Update documentation for changes in http.js
15 years ago