summaryrefslogtreecommitdiff
path: root/doc/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/v0.8'Ben Noordhuis2012-10-251-0/+2
|\ | | | | | | | | | | Conflicts: configure deps/v8/build/common.gypi
| * doc: child_process: document uid and gid spawn() optionsOlivier Lalonde2012-10-241-0/+2
| |
* | doc: OpenSSL is bundled now.isaacs2012-10-231-2/+1
| |
* | crypto: Add crypto.DEFAULT_ENCODING (defaults to 'buffer')isaacs2012-10-231-144/+189
| | | | | | | | | | | | | | | | | | This is a flag to make it easier for users to upgrade through the breaking crypto change, and easier for us to switch it back if it's a problem. Explicitly set default encoding to 'buffer' in other tests, in case it ever changes back.
* | crypto: Binding only accepts buffersisaacs2012-10-231-0/+4
| |
* | crypto: Move encoding logic to JS, default=bufferisaacs2012-10-231-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | crypto: Hash and Hmac default to buffers crypto: Move Cipher encoding logic to JS crypto: Move Cipheriv encoding logic to JS crypto: Move Decipher encoding logic to JS crypto: Move Decipheriv into JS, default to buffers crypto: Move Sign class to JS crypto: Better encoding handling in Hash.update crypto: Move Verify class to JS crypto: Move DiffieHellman to JS, default to buffers crypto: Move DiffieHellmanGroup to JS, default to buffers Also, create a test for this feature
* | Merge remote-tracking branch 'origin/v0.8'Ben Noordhuis2012-10-212-2/+2
|\ \ | |/ | | | | | | Conflicts: deps/openssl/openssl.gyp
| * doc: Typo. s/arguemnt/argument/isaacs2012-10-161-1/+1
| |
| * docs: fix copy and paste errorJan Lehnardt2012-10-141-1/+1
| |
* | Merge remote-tracking branch 'origin/v0.8'Nathan Rajlich2012-10-139-42/+106
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog deps/uv/test/runner-win.c doc/api/process.markdown lib/repl.js src/node_crypto.cc src/node_version.h
| * doc: rectify http.ClientResponse close/end eventsBen Noordhuis2012-10-131-5/+12
| | | | | | | | | | | | | | | | | | * The 'close' event doesn't emit an error object. * It's possible for a 'close' event to come after an 'end' event, contrary to what the documentation said. Fixes #4116.
| * doc: Reduce crypto stability to 2-Unstableisaacs2012-10-111-1/+33
| |
| * doc: consistent use of the callback argumentAndreas Madsen2012-10-085-24/+37
| |
| * doc: document the custom "inspect()" function behaviorNathan Rajlich2012-10-051-0/+13
| | | | | | | | Closes #3361.
| * doc: better example for process.hrtime()Alex Kocharin2012-10-031-3/+4
| | | | | | | | Fixes #3984.
| * doc: stream: clarify meaning of 'drain' some moreBen Noordhuis2012-10-031-0/+4
| | | | | | | | Courtesy of Lee Coltrane (@coltrane).
| * doc: stream: clarify meaning of 'drain' eventBen Noordhuis2012-10-031-2/+2
| |
| * doc: Correct stream.write fd mentionisaacs2012-10-011-7/+1
| | | | | | | | No streams actually work this way.
* | crypto: add crypto.getHashes()Ben Noordhuis2012-10-131-0/+10
| |
* | crypto: add crypto.getCiphers()Ben Noordhuis2012-10-131-0/+11
| | | | | | | | Returns a list of, unsurprisingly, the available ciphers.
* | string_decoder: Add 'end' method, do base64 properlyisaacs2012-10-111-2/+6
| |
* | util: add a "customInspect" option to `util.inspect()`Nathan Rajlich2012-10-101-0/+3
| | | | | | | | | | For disabling calling the custom `inspect()` function when defined on an object that is being inspected.
* | util: make `inspect()` accept an "options" argumentNathan Rajlich2012-10-101-11/+11
| | | | | | | | | | | | | | | | Consolidates all the formatting options into an "options" object argument. This is so that we don't have to be constantly remembering the order of the arguments and so that we can add more formatting options easily. Closes #4085.
* | https: fix renegotation attack protectionBen Noordhuis2012-10-092-2/+7
| | | | | | | | | | | | | | Listen for the 'clientError' event that is emitted when a renegotation attack is detected and close the connection. Fixes test/pummel/test-https-ci-reneg-attack.js
* | Revert "http: make http.ServerResponse emit 'end'"isaacs2012-10-031-11/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 790d651f0dfae13f1e2b799820ab18ac09f251b7. This makes Duplex streams unworkable, and would only ever be a special case for HTTP responses, which is not ideal. Intead, we're going to just bless the 'finish' event for all Writable streams in 0.10
* | path: add platform specific path delimiterPaul Serby2012-10-011-4/+26
| | | | | | | | | | Closes #3728 Closes #4071
* | Merge remote-tracking branch 'ry/v0.8' into v0.8-mergeisaacs2012-09-284-27/+27
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: AUTHORS ChangeLog deps/openssl/openssl.gyp deps/uv/src/unix/linux/linux-core.c deps/uv/src/unix/process.c deps/uv/src/unix/stream.c deps/v8/src/arm/builtins-arm.cc deps/v8/src/arm/code-stubs-arm.cc deps/v8/src/arm/full-codegen-arm.cc lib/tls.js src/node_version.h test/simple/test-http-client-timeout-agent.js
| * doc: put API table of contents in alphabetical orderAdam Blackburn2012-09-251-24/+24
| |
| * doc: fix three typosRobin Lee2012-09-173-3/+3
| |
* | http: add response.headersSent propertyPavel Lang2012-09-281-0/+4
| | | | | | | | Boolean property getter. True if headers was sent, false otherwise.
* | events: add 'removeListener' eventBen Noordhuis2012-09-221-1/+1
| |
* | doc: zlib: document flush() and reset() methodsBen Noordhuis2012-09-191-0/+15
| |
* | crypto: bring module into modern ageFedor Indutny2012-09-181-24/+27
| | | | | | | | | | | | | | Introduce 'buffer' encoding, allow returning and giving buffers as arguments of 'crypto' routines. Fix #3278
* | tls, https: validate server certificate by defaultBen Noordhuis2012-09-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the default value of the rejectUnauthorized option from false to true. What that means is that tls.connect(), https.get() and https.request() will reject invalid server certificates from now on, including self-signed certificates. There is an escape hatch: if you set the NODE_TLS_REJECT_UNAUTHORIZED environment variable to the literal string "0", node.js reverts to its old behavior. Fixes #3949.
* | Merge remote-tracking branch 'ry/v0.8' into masterisaacs2012-09-124-8/+37
|\ \ | |/ | | | | | | | | | | Conflicts: ChangeLog src/node_version.h test/simple/test-util-inspect.js
| * doc: fs: clarfify fs.watch() documentationBen Noordhuis2012-09-121-5/+8
| | | | | | | | | | | | | | fs.watch() is implemented on all supported platforms but, depending on the object being watched, doesn't always work reliably (or at all). Fixes #4005.
| * doc: http: expand request.headers documentationBen Noordhuis2012-09-121-1/+10
| |
| * Update doc and test for sunos/solaris switchisaacs2012-09-111-1/+1
| |
| * cluster.worker description and examples ere missing from the top level of docsPooya Karimian2012-09-061-1/+18
| |
* | docs: fix typo in Buffer#toJSON() docsNathan Rajlich2012-09-091-1/+1
| |
* | buffer: implement Buffer.prototype.toJSON()Nathan Rajlich2012-09-091-0/+19
| | | | | | | | | | Returns an Array-representation of the Buffer. Closes #3905.
* | tls: async session storageFedor Indutny2012-09-051-0/+19
| |
* | http: make http.ServerResponse emit 'end'Ben Noordhuis2012-09-041-0/+11
| | | | | | | | | | | | | | This used to be the internal 'finish' event. Make it public so API users will know when the response has been sent completely. Fixes #3855.
* | Merge remote-tracking branch 'origin/v0.8'Ben Noordhuis2012-09-042-3/+3
|\ \ | |/ | | | | | | | | Conflicts: deps/uv/include/uv.h src/node_crypto.cc
| * doc: fix typo in api/clusterAtsuya Takagi2012-09-041-1/+1
| |
| * doc: fix grammar errorsAnkur Oberoi2012-08-301-2/+2
| |
* | doc: update assert.doesNotThrow() docsBen Noordhuis2012-08-291-1/+1
| | | | | | | | | | | | | | | | It takes an optional "expected exception" argument that is not used meaningfully but is nevertheless documented. Undocument it, it confuses casual readers of the documentation. Fixes #3935.
* | Merge branch 'v0.8'Bert Belder2012-08-286-73/+43
|\ \ | |/ | | | | | | | | | | Conflicts: ChangeLog deps/openssl/openssl.gyp src/node_version.h
| * docs: fix syntax error in "https" exampleNathan Rajlich2012-08-241-1/+1
| |
| * https: make https.get() accept a URLkoichik2012-08-241-3/+10
| | | | | | | | | | | | | | https.get() now accepts either a URL (as a string) or an options object. Refs #2859. Fixes #3882.