Rasmus Andersson
fd3cd755d1
[dgram] only look up hostname for the requested address family
- [lib/dns.js] dns.lookup takes a new optional argument "family" which
should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a
non-false "family" argument makes c-ares explicitly look up addresses for
the specified family.
- [test/simple/test-c-ares.js] test explicit address family lookups
14 years ago
Brian
3aa5cfde10
Misc. corrections and consistency changes to documentation.
14 years ago
Trent Mick
e8c2453f6d
spelling correction
14 years ago
Bert Belder
aaa1f451e6
Expose cwd option to child_process.exec()
14 years ago
Bert Belder
94914135df
New api for child_process.spawn; ability to set cwd for spawn()ed process
Tests for child_process.spawn() use new API
Test for deprecated child_process.spawn() API
14 years ago
Mikeal Rogers
3214116be6
Implement keep-alive for http.Client
Send the 'Connection: keep-alive' header in your request to enable.
14 years ago
Ryan Dahl
8052dd0022
Clarify string encoding docs
14 years ago
Ryan Dahl
5459e5c606
Globalize the Buffer object
14 years ago
Matt Ranney
f7c5334195
Check for socket on Unix domain connect.
Change scope to context in REPL docs.
14 years ago
Ryan Dahl
6fdb874e2e
Fix DNS example in docs
14 years ago
Ryan Dahl
402bcb83bc
Add reference to base64 encoding
14 years ago
Ryan Dahl
138593b156
Fix case in docs
14 years ago
Chandra Sekar S
f5f7cb9264
Support for reading byte ranges from files using fs.createReadStream.
14 years ago
Ryan Dahl
7067a7155f
Specify env differently in execFile
Callbacks should always be the last argument.
14 years ago
Brian
352b8c3ad5
Consistency changes in api docs
14 years ago
Peter Griess
a9d8cac4b0
Document setuid/setgid sync resolution capability.
14 years ago
Jan Kassens
c7e0c64506
querystring doc fix
15 years ago
Matt Ranney
4e50197e53
Datagram socket refactor. Add tests and documentation.
Support setTTL() and setBroadcast() socket options.
15 years ago
Brian
554b02a14c
Improve docs
Added default values for many parameters, missing properties and methods,
and slight reorganization of the Child Process section.
15 years ago
Adam Wiggins
c8dba94ff6
docs for dgram module (UDP and unix sockets)
15 years ago
Jérémy Lal
a7763d55e4
Fix spelling error
15 years ago
Brian
1191ca052f
Fix docs
Added consistency to the representation of optional parameters and separated
out multiple functions that were in a single heading.
15 years ago
Ryan Dahl
0bceaaa3d4
Fix addon example in docs
15 years ago
Ryan Dahl
0315251d01
Use 'on' in the docs
15 years ago
Peter Griess
94cd83ef34
Doc fixes for FD related features, upgrade.
- Add docs for 'fd' events, Server.listenFD(), Stream.write(...[, fd])
and http.Client 'upgrade' event.
15 years ago
Blake Mizerany
898afbaf34
Buffer.prototype.write: Indifferent order preference of encoding and offset
15 years ago
Ryan Dahl
5e86d01385
Revert "Buffer.copy should copy through sourceEnd, as specified."
This reverts commit a2f70da4c9
.
Keep tests modifies a few edge checks on Copy()
15 years ago
Ryan Dahl
0172cb39f0
Fix incorrect output on docs
15 years ago
Matt Ranney
a2f70da4c9
Buffer.copy should copy through sourceEnd, as specified.
Improve test-buffer.js to cover all copy error cases.
Fix off by one error in string_decoder.
15 years ago
Ryan Dahl
0499618c2b
Edit binary encoding docs
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Mikeal Rogers
f62979da6b
Add sys.pump
15 years ago
Ryan Dahl
7105aeb22f
Doc process.execPath
15 years ago
Ryan Dahl
cb79614f73
Don't encourage strange ideas about req race conditions
15 years ago
Ryan Dahl
14414f81f3
Soft deprecation of 'listening' event.
Add callback param to listen() instead
15 years ago
Jérémy Lal
ce347124e6
The underscores are not meant to emphasize. Escape them.
15 years ago
Ryan Dahl
adc06dd705
Add NODE_NO_READLINE check for REPL
Setting this environmental variable to a non-zero integer will start all
REPL interfaces without readline. For use with rlwrap.
15 years ago
Ryan Dahl
3104662bab
Use a less common port in docs
15 years ago
rentzsch
55d7352189
DOC note stats.isSymbolicLink() is only valid with fs.lstat().
ref: <http://github.com/ry/node/issues#issue/153 >
15 years ago
Ryan Dahl
16818ff250
Remove throttling bug notes
15 years ago
Ryan Dahl
1a5acd9850
API: readFileSync without encoding argument now returns a Buffer
Correctly load utf8 data; add a test test-fs-read-file-sync.js
15 years ago
Aapo Laitinen
c4876d01a1
Change the behavior of path.extname
Make path.extname return an empty string also if:
- The last dot is not in the last path component
- The last dot starts the last path component
15 years ago
Ryan Dahl
1369d606f7
Add bug notes about HTTP streams and throttling
15 years ago
Mikeal Rogers
fe3d8f2411
Add assert.ifError
15 years ago
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