Felix Geisendörfer
c93e0aaf06
Deprecate string interface for fs.read()
This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Ryan Dahl
e84395ff8c
Revert "Deprecate string interface for fs.read()"
This reverts commit cbbf9e43d1
.
15 years ago
Felix Geisendörfer
cbbf9e43d1
Deprecate string interface for fs.read()
This patch makes buffers the preferred output for fs.read() and
fs.readSync(). The old string interface is still supported by
converting buffers to strings dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Felix Geisendörfer
c46cbe0de4
Deprecate string interface for fs.write()
This patch makes buffers the preferred input for fs.write() and
fs.writeSync(). The old string interface is still supported by
converting strings to buffers dynamically. This allows to remove the
C++ code for string handling which is also part of this patch.
15 years ago
Ryan Dahl
c489c2c1b5
Fix api for request.connection
15 years ago
Felix Geisendörfer
0a539865dd
Support arrays and strings in buffer constructor
This is be very useful for testing code that deals with buffers.
15 years ago
Matt Ranney
307e70afaf
Remove unused CSS reference.
15 years ago
Matt Ranney
1f0963558c
Add process.version description.
15 years ago
Ryan Dahl
0914d33842
bump version
15 years ago
Ben Noordhuis
c6c77d535f
Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation.
15 years ago
Ryan Dahl
1c7670aca2
Remove reference to C++ EventEmitter in docs
I prefer ppl to use ObjectWrap
15 years ago
Ryan Dahl
ed0c109950
Add note about 'error' event to docs
15 years ago
Ryan Dahl
d2cff34fa3
Idle timeout changes
- setTimeout should active the timeout too. (test-net-set-timeout tests
this.)
- 'timeout' event is not automatically followed by an 'error' event. That
is the user is now responsible for destroying the stream if there is an
idle timeout.
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
Ryan Dahl
f711d5343b
bump version
15 years ago
Matt Ranney
eb4951d499
Add proper HTML header for changelog so UTF-8 works.
15 years ago
Rhys Jones
afce4c3ae8
Added default CAs, updated openssl verify behaviour, added crypto and https documentation
15 years ago
Michaeljohn Clement
fd3e1ca3e2
documentation typos and tweaks
15 years ago
Ryan Dahl
61364f9443
GnuTLS -> OpenSSL on website
15 years ago
dpb587
a1f23c1aa1
Fix a couple mistypes in API doc
15 years ago
Micheil Smith
3db613e31a
Documenting http.Server#event:upgrade
15 years ago
Ryan Dahl
285c5ed36f
Fix some styling in the docs
15 years ago
Ryan Dahl
5b2801e3ea
Add http server 'request' event to docs
15 years ago
Ryan Dahl
3b323027be
http server emits 'clientError'
15 years ago
Ryan Dahl
557ba6bd97
bump version
15 years ago
Ryan Dahl
c75e4cb48a
fix typos
15 years ago
Thomas Lee
a63ce5cd72
Allow callers to disable PHP/Rails style parameter mungeing in querystring.stringify
15 years ago
Felix Geisendörfer
f8a3cf980f
Properly handle child process exit codes
The child process 'exit' was returning the status of the process, rather than
the exit code. This patch properly deconstructs the status into the exit code
and the term signal a process may have received.
See:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#Watcher_Specific_Functions_and_Data_-5
and waitpid(2)
15 years ago
Ryan Dahl
e7a1fa1293
fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream
15 years ago
Ryan Dahl
f618551694
Remove callback argument to FileWriteStream.prototype.write
15 years ago
Matt Ranney
d1b352e4b3
Shorten some long lines.
15 years ago
Matt Ranney
2374e557e3
More Buffer descriptions and examples.
Updated Script examples for New Script methods.
15 years ago
Ryan Dahl
cee9080381
Fix typos
15 years ago
Ryan Dahl
caa828a242
bump version
15 years ago
Ryan Dahl
bb4ae1769b
Link to old versions
15 years ago
mape
b299b4b7a1
Update API doc
15 years ago
Ryan Dahl
94f9dc67c0
Add link to older tarball versions
15 years ago
Julian Lamb
5f8f561d61
add setKeepAlive function, which enables and sets the TCP keep-alive timer
15 years ago
Tim Caswell
61308a5bff
Add a note in the API docs about binding to ports and using strings.
15 years ago
Tim Caswell
60de86351a
Add Buffer.byteLength docs
15 years ago
Herbert Vojčík
8daa1f8d04
Docs for Script class of 'evals' binding.
15 years ago
Matt Ranney
39464b498f
Add docs for new REPL options and fill out description of commands.
15 years ago
Ryan Dahl
311d7dee19
bump version
15 years ago
Ryan Dahl
9cf2a02d8b
Add timeout and maxBuffer options to child_process.exec
15 years ago
Ryan Dahl
57edff1f31
Remove mixin from docs
15 years ago
Ryan Dahl
1efd261572
doc typo
15 years ago
Ryan Dahl
8553e8a15d
Add incoming.httpVersion
15 years ago
James Herdman
dd50b86449
Fix documentation errors for DNS
15 years ago
Ryan Dahl
07e64d45ff
bump version
15 years ago
Ryan Dahl
54f02345b5
Fix doc again
15 years ago