Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-02-01Merge remote-tracking branch 'ry/master' into merge-v0.6isaacs
2012-02-01Merge remote-tracking branch 'ry/v0.6' into masterisaacs
Conflicts: ChangeLog deps/uv/src/unix/udp.c deps/uv/src/win/fs.c deps/uv/src/win/udp.c deps/uv/test/test-fs.c doc/index.html doc/logos/index.html doc/template.html src/node_version.h
2012-02-01Process symlinked shared library as .nodePaddy Byers
2012-02-01Tidy _resolveFilenamePaddy Byers
2012-02-01support for sharing streams accross isolatesIgor Zinkovsky
2012-02-01child_process: do not disconnect on exit emitAndreas Madsen
When using isolate the .fork would break because it had no .disconnect method. This remove the exit handler there would call .disconnect since it was not required. It also change .disconnect to throw if the channel is closed, this was not possible before because .disconnect would be called twice.
2012-01-31fs: add O_EXCL support, exclusive open fileBen Noordhuis
2012-01-31fs, test: add file open mode testsBen Noordhuis
2012-01-31url: Support for IPv6 addresses in URLs.Łukasz Walukiewicz
Fixes #1138, #2610.
2012-01-30Add disconnect method to forked child processesAndreas Madsen
This disconnect method allows the child to exit gracefully. This also adds a disconnect event and connect property.
2012-01-30http: fix free http-parser too earlykoichik
when the status code is 100 (Continue). Fixes #2636.
2012-01-30timers: add v0.4 compatibility hackBen Noordhuis
If a timer callback throws and the user's uncaughtException handler ignores the exception, other timers that expire on the current tick should still run. If #2582 goes through, this hack should be removed. Fixes #2631.
2012-01-30core: add `NativeModule.prototype.deprecate`Brandon Benvie
Formalize and cleanup handling of deprecated core methods.
2012-01-28tty: emit 'unknown' key event if key sequence not foundDan VerWeire
Add key.code and key.sequence -mad props go out to @TooTallNate
2012-01-24module: fix --debug-brk on symlinked scriptsFedor Indutny
* fixes #1519
2012-01-24module: fix --debug-brk on symlinked scriptsFedor Indutny
* fixes #1519
2012-01-24net, tls, http: remove socket.ondrainBen Noordhuis
Replace the ondrain hack with a regular 'drain' listener. Speeds up the bytes/1024 http benchmark by about 1.2%.
2012-01-24http: fix test-http-should-keepalive.js is failkoichik
3df7c90 was removed when conflict was resolved.
2012-01-24dgram: bring back setTTL()Ben Noordhuis
2012-01-24dgram: bring back setMulticastLoopback()Ben Noordhuis
2012-01-24dgram: make addMembership() and dropMembership() conform to v0.4 APIBen Noordhuis
- throw on error, don't return an error code
2012-01-24dgram: make setBroadcast() conform to v0.4 APIBen Noordhuis
- don't return a value
2012-01-24dgram: make setMulticastTTL() conform to v0.4 APIBen Noordhuis
- throw if the ttl argument is not a number - return the ttl argument (not particulary useful but it's what v0.4 did) Note that the 0 < ttl < 256 check has *not* been reinstated. On Linux, -1 is a valid argument to setsockopt(IPPROTO_IP, IP_TTL).
2012-01-23Merge branch 'v0.6'Fedor Indutny
Conflicts: ChangeLog doc/template.html lib/cluster.js lib/http.js lib/tls.js src/node.h src/node_version.h test/simple/test-cluster-kill-workers.js
2012-01-22util: use getOwnPropertyDescripterBrandon Benvie
Change formatProperty in util.js to use Object.getOwnPropertyDescriptor instead of __lookup[GS]etter__. Use the cached value from the descriptor to reduce number of property lookups from 3 to 1. Fallback to standard lookup if the descriptor is empty. This doesn't ever happen with normal JS objects (this function is called only when the key exists) but apparently does with Node's custom ENV interface. Fixes: #2109.
2012-01-22http: keep-alive should default with HTTP/1.1 serverkoichik
As RFC 2616 says we should, assume that servers will provide a persistent connection by default. > A significant difference between HTTP/1.1 and earlier versions of > HTTP is that persistent connections are the default behavior of any > HTTP connection. That is, unless otherwise indicated, the client > SHOULD assume that the server will maintain a persistent connection, > even after error responses from the server. > HTTP/1.1 applications that do not support persistent connections MUST > include the "close" connection option in every message. Fixes #2436.
2012-01-21path fs: move `path.exists*` to `fs.exists*`Maciej Małecki
`path.exists*` functions show a deprecation warning and call functions from `fs`. They should be removed later. test: fix references to `path.exists*` in tests test fs: add test for `fs.exists` and `fs.existsSync` doc: reflect moving `path.exists*` to `fs`
2012-01-21http: fix deprecation warning module IDBen Noordhuis
Mea culpa, I told @mmalecki wrong
2012-01-21dgram: reintroduce setMulticastTTL()Dan VerWeire
Removed during the early stages of node 0.5 refactoring to libuv.
2012-01-21dgram: reintroduce setBroadcast()Dan VerWeire
Removed during the early stages of node 0.5 refactoring to libuv.
2012-01-21dgram: reintroduce addMembership() and dropMembership()Roman Shtylman
Removed during the early stages of node 0.5 refactoring to libuv.
2012-01-21http: reduce creating http-parser instanceskoichik
Fixes #2577.
2012-01-21Fix #2365 zlib crashing on invalid inputNicolas LaCasse
Fix zlib crashes on error due to improper use of removeListener in the error handler
2012-01-21Add cluster.setupMasterAndreas Madsen
Fixes #2470
2012-01-18Add missing TTY key translations for F1-F5 on WindowsBrandon Benvie
2012-01-18Make path.extname do the right thing when the last path component is . or ..Bert Belder
Closes GH-2526
2012-01-18cluster: don't always kill the master on uncaughtExceptionBen Noordhuis
uncaughtException handlers installed by the user override the default one that the cluster module installs, the one that kills off the master process. Fixes #2556.
2012-01-17Allow calling fork() without args or optionsAndreas Madsen
Closes GH-2424
2012-01-17child_process: add errno property to exceptionsAndreas Madsen
In case of a write failure when using fork() an error would be thrown. The thrown exception was missing the `errno` property.
2012-01-17tls: fix double 'error' events on HTTPS Requestskoichik
Fixes #2549.
2012-01-17Merge remote branch 'origin/v0.6'Ryan Dahl
Conflicts: deps/uv/src/win/util.c src/udp_wrap.cc
2012-01-16http: use `util._deprecationWarning` for deprecation warningMaciej Małecki
2012-01-16Revert "util: always display a warning for module in debug mode"Fedor Indutny
This reverts commit df62005ece4bb0be0d5af645fd9093b1506ce63d.
2012-01-16util: always display a warning for module in debug modeMaciej Małecki
2012-01-16querystring: fix maxKeys = 0 is ignoredFedor Indutny
2012-01-16http: do not accept headers if limit is exceededFedor Indutny
* fix limiting when parser was reused * fix maxHeadersCount = 0 is ignored ( credit to @koichik ) * add test-http-max-headers-count.js ( credit to @koichik )
2012-01-16http, querystring: added limits to prevent DoSFedor Indutny
2012-01-14net: make .write() throw on bad inputBen Noordhuis
Passing a non-buffer or non-string argument to Socket.prototype.write triggered an assert: Assertion failed: (Buffer::HasInstance(args[0])), function Write, file ../src/stream_wrap.cc, line 289. Fixes #2532.
2012-01-12http: Upgrade/CONNECT request should detach its socket earlierkoichik
With Upgrade or CONNECT request, http.ClientRequest emits 'close' event after its socket is closed. However, after receiving a response, the socket is not under management by the request. http.ClientRequest should detach the socket before 'upgrade'/'connect' event is emitted to pass the socket to a user. After that, it should emit 'close' event immediately without waiting for closing of the socket. Fixes #2510.
2012-01-12zlib: reset() method for deflate/inflate streamsFedor Indutny
* ammended test-zlib-dictionary to cover reusing streams