This repository has been archived by the owner. It is now read-only.
Permalink
Switch branches/tags
Commits on Sep 24, 2014
  1. 2014.09.24, Version 0.11.14 (Unstable)

    tjfontaine committed Sep 24, 2014
    * uv: Upgrade to v1.0.0-rc1
    
    * http_parser: Upgrade to v2.3.0
    
    * npm: Upgrade to v2.0.0
    
    * openssl: Upgrade to v1.0.1i
    
    * v8: Upgrade to 3.26.33
    
    * Add fast path for simple URL parsing (Gabriel Wicke)
    
    * Added support for options parameter in console.dir() (Xavi Magrinyà)
    
    * Cluster: fix shared handles on Windows (Alexis Campailla)
    
    * buffer: Fix incorrect Buffer.compare behavior (Feross Aboukhadijeh)
    
    * buffer: construct new buffer from buffer toJSON() output (cjihrig)
    
    * buffer: improve Buffer constructor (Kang-Hao Kenny)
    
    * build: linking CoreFoundation framework for OSX (Thorsten Lorenz)
    
    * child_process: accept uid/gid everywhere (Fedor Indutny)
    
    * child_process: add path to spawn ENOENT Error (Ryan Cole)
    
    * child_process: copy spawnSync() cwd option to proper buffer (cjihrig)
    
    * child_process: do not access stderr when stdio set to 'ignore' (cjihrig)
    
    * child_process: don't throw on EAGAIN (Charles)
    
    * child_process: don't throw on EMFILE/ENFILE (Ben Noordhuis)
    
    * child_process: use full path for cmd.exe on Win32 (Ed Morley)
    
    * cluster: allow multiple calls to setupMaster() (Ryan Graham)
    
    * cluster: centralize removal from workers list. (Julien Gilli)
    
    * cluster: enable error/message events using .worker (cjihrig)
    
    * cluster: include settings object in 'setup' event (Ryan Graham)
    
    * cluster: restore v0.10.x setupMaster() behaviour (Ryan Graham)
    
    * cluster: support options in Worker constructor (cjihrig)
    
    * cluster: test events emit on cluster.worker (Sam Roberts)
    
    * console: console.dir() accepts options object (Xavi Magrinyà)
    
    * crypto: add `honorCipherOrder` argument (Fedor Indutny)
    
    * crypto: allow padding in RSA methods (Fedor Indutny)
    
    * crypto: clarify RandomBytes() error msg (Mickael van der Beek)
    
    * crypto: never store pointer to conn in SSL_CTX (Fedor Indutny)
    
    * crypto: unsigned value can't be negative (Brian White)
    
    * dgram: remove new keyword from errnoException (Jackson Tian)
    
    * dns: always set variable family in lookup() (cjihrig)
    
    * dns: include host name in error message if available (Maciej Małecki)
    
    * dns: introduce lookupService function (Saúl Ibarra Corretgé)
    
    * dns: send lookup c-ares errors to callback (Chris Dickinson)
    
    * dns: throw if hostname is not string or falsey (cjihrig)
    
    * events: Output the event that is leaking (Arnout Kazemier)
    
    * fs: close file if fstat() fails in readFile() (cjihrig)
    
    * fs: fs.readFile should not throw uncaughtException (Jackson Tian)
    
    * http: add 308 status_code, see RFC7238 (Yazhong Liu)
    
    * http: don't default OPTIONS to chunked encoding (Nick Muerdter)
    
    * http: fix bailout for writeHead (Alex Kocharin)
    
    * http: remove unused code block (Fedor Indutny)
    
    * http: write() after end() emits an error. (Julien Gilli)
    
    * lib, src: add vm.runInDebugContext() (Ben Noordhuis)
    
    * lib: noisy deprecation of child_process customFds (Ryan Graham)
    
    * module: don't require fs several times (Robert Kowalski)
    
    * net,dgram: workers can listen on exclusive ports (cjihrig)
    
    * net,stream: add isPaused, don't read() when paused (Chris Dickinson)
    
    * net: Ensure consistent binding to IPV6 if address is absent (Raymond Feng)
    
    * net: add remoteFamily for socket (Jackson Tian)
    
    * net: don't emit listening if handle is closed (Eli Skeggs)
    
    * net: don't prefer IPv4 addresses during resolution (cjihrig)
    
    * net: don't throw on net.Server.close() (cjihrig)
    
    * net: reset `errorEmitted` on reconnect (Ed Umansky)
    
    * node: set names for prototype methods (Trevor Norris)
    
    * node: support v8 microtask queue (Vladimir Kurchatkin)
    
    * path: fix slice OOB in trim (Lucio M. Tato)
    
    * path: isAbsolute() should always return boolean (Herman Lee)
    
    * process: throw TypeError if kill pid not a number (Sam Roberts)
    
    * querystring: custom encode and decode (fengmk2)
    
    * querystring: do not add sep for empty array (cjihrig)
    
    * querystring: remove prepended ? from query field (Ezequiel Rabinovich)
    
    * readline: fix close event of readline.Interface() (Yazhong Liu)
    
    * readline: fixes scoping bug (Dan Kaplun)
    
    * readline: implements keypress buffering (Dan Kaplun)
    
    * repl: fix multi-line input (Fedor Indutny)
    
    * repl: fix overwrite for this._prompt (Yazhong Liu)
    
    * repl: proper `setPrompt()` and `multiline` support (Fedor Indutny)
    
    * stream: don't try to finish if buffer is not empty (Vladimir Kurchatkin)
    
    * stream: only end reading on null, not undefined (Jonathan Reem)
    
    * streams: set default hwm properly for Duplex (Andrew Oppenlander)
    
    * string_bytes: ucs2 support big endian (Andrew Low)
    
    * tls, crypto: add DHE support (Shigeki Ohtsu)
    
    * tls: `checkServerIdentity` option (Trevor Livingston)
    
    * tls: add DHE-RSA-AES128-SHA256 to the def ciphers (Shigeki Ohtsu)
    
    * tls: better error reporting at cert validation (Fedor Indutny)
    
    * tls: support multiple keys/certs (Fedor Indutny)
    
    * tls: throw an error, not string (Jackson Tian)
    
    * udp: make it possible to receive empty udp packets (Andrius Bentkus)
    
    * url: treat  the same as / (isaacs)
  2. deps: upgrade npm to 2.0.0

    tjfontaine committed Sep 24, 2014
  3. test: disable dgram-bind-shared-ports on win32

    tjfontaine committed Sep 24, 2014
    Windows currently doesn't support clustered dgram sockets, when it does
    re-enable this test
  4. tests: add test for buffer.slice.

    Julien Gilli authored and tjfontaine committed Sep 24, 2014
    4c9b30d introduced a regression in buffer.slice that 7c3c51b fixed, but
    no test had been added to make sure that a similar regression is caught
    by the tests suite in the future.
  5. tls_wrap: ensure that TLSCallbacks are gc-able

    indutny committed Sep 23, 2014
    Call `MakeWeak()` to destruct TLSCallbacks when the js-object dies.
    
    fix #8416
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  6. buffer: fix map and set parent to undefined

    trevnorris committed Sep 23, 2014
    In 4c9b30d removal of the prototype attributes meant NativeBuffer() no
    longer had the same object map as Buffer(). By now setting the same
    properties in the same order both constructors will produce the same
    map.
    
    The same commit changed "parent" from undefined to null. This caused a
    failure in Buffer#slice() where it was checked if parent === undefined.
    Causing the incorrect parent to be set.
    
    Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Commits on Sep 23, 2014
  1. deps: update uv to v1.0.0-rc1

    indutny authored and tjfontaine committed Sep 19, 2014
  2. crypto: export externals to internal structs

    indutny committed Sep 12, 2014
    Export External getters for a internal structs: SSL, SSL_CTX.
  3. http: write() after end() emits an error.

    Julien Gilli authored and indutny committed Sep 23, 2014
    When calling write() after end() has been called on an OutgoingMessage,
    an error is emitted and the write's callback is called with an instance
    of Error.
    
    Fix #7477.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Sep 20, 2014
  1. buffer: improve Buffer constructor

    kennyluck authored and trevnorris committed Sep 19, 2014
    Increase the performance of new Buffer construction by initializing all
    properties before SetIndexedPropertiesToExternalArrayData call.
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Sep 19, 2014
  1. doc: corrected typo in vm docs

    ateich authored and trevnorris committed Sep 19, 2014
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Sep 18, 2014
  1. node: support v8 microtask queue

    vkurchatkin authored and trevnorris committed Sep 4, 2014
    When V8 started supporting Promises natively it also introduced a
    microtack queue. This feature operates similar to process.nextTick(),
    and created an issue where neither knew when the other had run. This
    patch has nextTick() call the microtask queue runner at the end of
    processing callbacks in the nextTickQueue.
    
    Fixes: #7714
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  2. test: add test for cluster.worker.destroy()

    Julien Gilli authored and trevnorris committed Sep 2, 2014
    Add a simple test to cover workers' implementation of
    Worker.prototype.destroy(). Before adding this test, this code wouldn't
    be covered by the tests suite, and any regression introduced in workers'
    implementation of Worker.prototype.destroy wouldn't be caught.
    
    Fixes: #8223
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Commits on Sep 17, 2014
  1. crypto: never store pointer to conn in SSL_CTX

    indutny committed Sep 17, 2014
    SSL_CTX is shared between multiple connections and is not a right place
    to store per-connection data.
    
    fix #8348
    
    Reviewed-By: Trevor Norris
  2. crypto: clarify RandomBytes() error msg

    Mickael van der Beek authored and trevnorris committed Sep 17, 2014
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  3. win: manifest node.exe for Windows 8.1

    orangemocha authored and trevnorris committed Aug 15, 2014
    Adding a compatibility section to node.exe embedded manifest so that
    Node is declared explicitly compatible with Windows 8.1. Required so
    that os.release() can return the correct version on Windows 8.1.
    
    See http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  4. doc: console example improvement

    guisouza authored and trevnorris committed Sep 12, 2014
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-by: Fedor Indutny <fedor@indutny.com>
  5. doc: http.request() improved code example

    guisouza authored and trevnorris committed Sep 12, 2014
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
    Reviewed-by: Fedor Indutny <fedor@indutny.com>
  6. Merge remote-tracking branch 'upstream/v0.10' into v0.12

    tjfontaine committed Sep 17, 2014
    Conflicts:
    	ChangeLog
    	deps/v8/src/hydrogen.cc
    	lib/http.js
    	lib/querystring.js
    	src/node_crypto.cc
    	src/node_version.h
    	test/simple/test-querystring.js
Commits on Sep 16, 2014
  1. Now working on 0.10.33

    tjfontaine committed Sep 16, 2014
  2. 2014.09.16, Version 0.10.32 (Stable)

    tjfontaine committed Sep 16, 2014
    * npm: Update to 1.4.28
    
    * v8: fix a crash introduced by previous release (Fedor Indutny)
    
    * configure: add --openssl-no-asm flag (Fedor Indutny)
    
    * crypto: use domains for any callback-taking method (Chris Dickinson)
    
    * http: do not send `0rnrn` in TE HEAD responses (Fedor Indutny)
    
    * querystring: fix unescape override (Tristan Berger)
    
    * url: Add support for RFC 3490 separators (Mathias Bynens)
  3. npm: Update to 1.4.28

    tjfontaine committed Sep 16, 2014
  4. http: do not send `0\r\n\r\n` in TE HEAD responses

    indutny authored and tjfontaine committed Sep 13, 2014
    When replying to a HEAD request, do not attempt to send the trailers and
    EOF sequence (`0\r\n\r\n`). The HEAD request MUST not have body.
    
    Quote from RFC:
    
    The presence of a message body in a response depends on both the
    request method to which it is responding and the response status code
    (Section 3.1.2).  Responses to the HEAD request method (Section 4.3.2
    of [RFC7231]) never include a message body because the associated
    response header fields (e.g., Transfer-Encoding, Content-Length,
    etc.), if present, indicate only what their values would have been if
    the request method had been GET (Section 4.3.1 of [RFC7231]).
    
    fix #8361
    
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
  5. crypto: use domains for any callback-taking method

    chrisdickinson authored and tjfontaine committed Sep 16, 2014
    This adds domains coverage for pdbkdf2, pseudoRandomBytes, and randomBytes.
    All others should be covered by event emitters.
    
    Fixes #5801.
    
    Reviewed-By: Timothy J Fontaine <tjfontaine@gmail.com>
  6. lib, src: add vm.runInDebugContext()

    bnoordhuis authored and trevnorris committed Aug 22, 2014
    Compiles and executes source code in V8's debugger context.  Provides
    a programmatic way to get access to the debug object by executing:
    
        var Debug = vm.runInDebugContext('Debug');
    
    Fixes #7886.
    
    Reviewed-by: Trevor Norris <trev.norris@gmail.com>
  7. dns: include host name in error message if available

    mmalecki authored and indutny committed Aug 6, 2014
    This makes errors more readable and similar to FS errors, which also
    include file name.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Sep 15, 2014
  1. doc: document `process.env` better

    mmalecki authored and indutny committed Nov 11, 2013
    Fixes #6424.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
  2. tls: fix encoding in certificate-related functions

    alippai authored and indutny committed Sep 13, 2014
    Strings are treated as UTF8 instead of one-byte strings when
    names are processed and when OpenSSL's ..._print functions are used.
    
    This commit fixes simple/test-tls-peer-certificate-encoding test.
    
    fix #8366
  3. doc: fix modules require.resolve documentation

    lo1tuma authored and indutny committed Sep 3, 2014
    The behavior of the `node_modules` lookup algorithm was
    changed in #1177, but the documentation was not updated completely
    to describe the new behavior.
    
    The pseudocode of the lookup algorithm did not metion that
    `index.json` is tried to be loaded if you require a folder.
    
    Reviewed-By: Fedor Indutny <fedor@indutny.com>
Commits on Sep 9, 2014
  1. deps: backport 60c316 from v8 trunk

    indutny authored and trevnorris committed Jul 24, 2014
    Original commit message:
    
        Extend the interceptor setter ASSERT to support the JSGlobalProxy case.
    
        BUG=v8:3463
        LOG=n
        R=dcarney@chromium.org
    
        Review URL: https://codereview.chromium.org/415973004
    
        git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22589 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    
        Signed-off-by: Fedor Indutny <fedor@indutny.com>
    
    fix #7969
  2. gyp: fix post-mortem in v0.11

    indutny authored and trevnorris committed Jul 21, 2014
    Expose missing constants and keep symbols on OSX.
  3. deps: cherry-pick r21466 from v8 trunk

    bnoordhuis authored and trevnorris committed May 23, 2014
    Check for cached transition to ExternalArray elements kind.
    See [1] and [2] for details.
    
    [1] https://code.google.com/p/v8/issues/detail?id=3337
    [2] https://codereview.chromium.org/291193011
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>
  4. deps: cherry-pick r21297 from v8 trunk

    bnoordhuis authored and trevnorris committed May 14, 2014
    Changes the return value of PropertyCallbackInfo<T>::This() from
    Local<Value> back to Local<Object>.  See [1] and [2] for background.
    
    [1] https://groups.google.com/forum/#!topic/v8-users/wP2UcQ4cBW4
    [2] https://codereview.chromium.org/285643008/
    
    Signed-off-by: Fedor Indutny <fedor@indutny.com>