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.
2010-05-19 12:53:43 -07:00
Ryan Dahl
c489c2c1b5
Fix api for request.connection
2010-05-19 11:01:21 -07:00
Felix Geisendörfer
0a539865dd
Support arrays and strings in buffer constructor
...
This is be very useful for testing code that deals with buffers.
2010-05-17 11:19:14 -07:00
Matt Ranney
1f0963558c
Add process.version description.
2010-05-14 10:11:47 -07:00
Ben Noordhuis
c6c77d535f
Support for fstat(2) through fs.fstat() and fs.fstatSync(). Added test cases, updated documentation.
2010-05-12 14:20:43 -07:00
Ryan Dahl
1c7670aca2
Remove reference to C++ EventEmitter in docs
...
I prefer ppl to use ObjectWrap
2010-05-12 12:17:53 -07:00
Ryan Dahl
ed0c109950
Add note about 'error' event to docs
2010-05-12 10:42:14 -07:00
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.
2010-05-12 10:06:13 -07:00
Tim Caswell
c07c601c3b
fs.readFile uses a buffer internally and will return the raw buffer if no encoding is specified.
2010-05-06 22:22:14 -07:00
Rhys Jones
afce4c3ae8
Added default CAs, updated openssl verify behaviour, added crypto and https documentation
2010-05-04 14:12:54 -07:00
Michaeljohn Clement
fd3e1ca3e2
documentation typos and tweaks
2010-05-03 00:15:35 -07:00
dpb587
a1f23c1aa1
Fix a couple mistypes in API doc
2010-05-01 19:16:00 -07:00
Micheil Smith
3db613e31a
Documenting http.Server#event:upgrade
2010-05-01 19:15:50 -07:00
Ryan Dahl
285c5ed36f
Fix some styling in the docs
2010-04-30 10:33:56 -07:00
Ryan Dahl
5b2801e3ea
Add http server 'request' event to docs
2010-04-30 10:31:21 -07:00
Ryan Dahl
3b323027be
http server emits 'clientError'
2010-04-30 10:29:35 -07:00
Ryan Dahl
c75e4cb48a
fix typos
2010-04-29 10:11:06 -07:00
Thomas Lee
a63ce5cd72
Allow callers to disable PHP/Rails style parameter mungeing in querystring.stringify
2010-04-28 16:18:48 -07:00
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)
2010-04-28 13:54:17 -07:00
Ryan Dahl
e7a1fa1293
fs.FileWriteStream -> fs.WriteStream, fs.FileReadStream -> fs.ReadStream
2010-04-27 18:52:16 -07:00
Ryan Dahl
f618551694
Remove callback argument to FileWriteStream.prototype.write
2010-04-27 17:26:10 -07:00
Matt Ranney
d1b352e4b3
Shorten some long lines.
2010-04-27 00:52:40 -07:00
Matt Ranney
2374e557e3
More Buffer descriptions and examples.
...
Updated Script examples for New Script methods.
2010-04-27 00:25:58 -07:00
Ryan Dahl
cee9080381
Fix typos
2010-04-25 22:44:31 -07:00
Julian Lamb
5f8f561d61
add setKeepAlive function, which enables and sets the TCP keep-alive timer
2010-04-20 16:34:21 -07:00
Tim Caswell
61308a5bff
Add a note in the API docs about binding to ports and using strings.
2010-04-19 15:52:51 -07:00
Tim Caswell
60de86351a
Add Buffer.byteLength docs
2010-04-19 15:51:32 -07:00
Herbert Vojčík
8daa1f8d04
Docs for Script class of 'evals' binding.
2010-04-18 17:23:01 -04:00
Matt Ranney
39464b498f
Add docs for new REPL options and fill out description of commands.
2010-04-15 18:03:56 -07:00
Ryan Dahl
9cf2a02d8b
Add timeout and maxBuffer options to child_process.exec
2010-04-14 11:59:24 -07:00
Ryan Dahl
57edff1f31
Remove mixin from docs
2010-04-13 13:50:17 -07:00
Ryan Dahl
1efd261572
doc typo
2010-04-12 16:27:04 -07:00
Ryan Dahl
8553e8a15d
Add incoming.httpVersion
2010-04-11 15:15:36 -07:00
James Herdman
dd50b86449
Fix documentation errors for DNS
2010-04-11 12:16:36 -07:00
Ryan Dahl
54f02345b5
Fix doc again
2010-04-09 16:52:10 -07:00
Ryan Dahl
ee3026797c
More documentation work. Remove long lines
2010-04-09 15:34:08 -07:00
Ryan Dahl
03ea4b644e
Improve(\?) docs
2010-04-09 14:51:20 -07:00
Ryan Dahl
323a5e11e5
Change how events are represented in docs
2010-04-08 17:39:33 -07:00
Matt Ranney
631e5bf5cb
Improve child_process documentation.
2010-04-08 16:31:36 -07:00
Ryan Dahl
08a09bb50a
Use some more Binary/F methods for Buffer
2010-04-08 16:31:02 -07:00
Ryan Dahl
499c615c9e
Doc changes for new API (part 1)
2010-04-08 15:00:08 -07:00
Ryan Dahl
94644d743c
Remove multipart library
...
Too messy, unmaintainable. Pull it out of the history if you need it.
2010-04-02 16:01:16 -07:00
Matt Ranney
7c77a56b4a
Improve documentation.
2010-03-29 11:23:27 -07:00
Tim Caswell
179f718d62
Conversion to markdown based API docs.
...
With help from Matt Ranney <mjr@ranney.com>
2010-03-26 18:28:40 -07:00