Permalink
Commits on Nov 21, 2013
  1. 2013.11.20, Version 0.11.9 (Unstable)

    * uv: upgrade to v0.11.15 (Timothy J Fontaine)
    
    * v8: upgrade to 3.22.24.5 (Timothy J Fontaine)
    
    * buffer: remove warning when no encoding is passed (Trevor Norris)
    
    * build: make v8 use random seed for hash tables (Ben Noordhuis)
    
    * crypto: build with shared openssl without NPN (Ben Noordhuis)
    
    * crypto: update root certificates (Ben Noordhuis)
    
    * debugger: pass on v8 debug switches (Ben Noordhuis)
    
    * domain: use AsyncListener API (Trevor Norris)
    
    * fs: add recursive subdirectory support to fs.watch (Nick Simmons)
    
    * fs: make fs.watch() non-recursive by default (Ben Noordhuis)
    
    * http: cleanup freeSockets when socket destroyed (fengmk2)
    
    * http: force socket encoding to be null (isaacs)
    
    * http: make DELETE requests set `req.method` (Nathan Rajlich)
    
    * node: add AsyncListener support (Trevor Norris)
    
    * src: remove global HandleScope that hid memory leaks (Ben Noordhuis)
    
    * tls: add ECDH ciphers support (Erik Dubbelboer)
    
    * tls: do not default to 'localhost' servername (Fedor Indutny)
    
    * tls: more accurate wrapping of connecting socket (Fedor Indutny)
    tjfontaine committed Nov 21, 2013
Commits on Nov 20, 2013
  1. Merge remote-tracking branch 'upstream/v0.10'

    Conflicts:
    	lib/events.js
    	src/udp_wrap.cc
    tjfontaine committed Nov 20, 2013
  2. npm: Upgrade to v1.3.15

    isaacs committed Nov 20, 2013
  3. child_process: deliver ENOENT on nextTick

    After the uv upgrade, uv_spawn will now fail faster for certain
    failures like ENOENT. However, our tests and other people may be
    depending on that error being passed to the callback instead of a
    throw.
    tjfontaine committed Nov 20, 2013
  4. uv: upgrade to v0.11.15

    tjfontaine committed Nov 20, 2013
  5. asyncwrap: add missing TryCatch

    The TryCatch was not being checked after calling the unload asyncQueue
    callback in AsyncWrap::MakeCallback.
    trevnorris committed Nov 20, 2013
Commits on Nov 19, 2013
  1. src: make queue.h c++ compatible

    This is a cherry-pick of commit joyent/libuv@0520464.
    bnoordhuis committed Nov 13, 2013
  2. crypto: `randomBytes` is non-blocking

    Add NOTE section in documentation, mentioning that `randomBytes` won't
    block when entropy sources are drained.
    
    fix #6372
    indutny committed Oct 19, 2013
  3. net: fix `new net.Socket` documentation

    `Socket` no longer accepts `type` option, and also accepts `readable`,
    `writable` options.
    
    fix #6541
    indutny committed Nov 19, 2013
  4. dgram: fix abort when getting `fd` of closed dgram

    v8's `messages.js` file's `CallSiteGetMethodName` is running through all
    object properties and getter to figure out method name of function that
    appears in stack trace. This run-through will also read `fd` property of
    `UDPWrap` instance's javascript object, making `UNWRAP()` fail.
    
    As a simple alternative to the test case above, one could just keep
    reference to the dgram handle and try accessing `handle.fd` after it has
    been fully closed.
    
    fix #6536
    indutny committed Nov 19, 2013
Commits on Nov 18, 2013
  1. v8: upgrade to 3.22.24.5

    tjfontaine committed Nov 18, 2013
  2. Merge remote-tracking branch 'upstream/v0.10'

    Conflicts:
    	AUTHORS
    	ChangeLog
    	deps/uv/AUTHORS
    	deps/uv/ChangeLog
    	deps/uv/README.md
    	deps/uv/build.mk
    	deps/uv/src/unix/core.c
    	deps/uv/src/unix/darwin-proctitle.c
    	deps/uv/src/unix/darwin.c
    	deps/uv/src/unix/fsevents.c
    	deps/uv/src/unix/udp.c
    	deps/uv/src/version.c
    	deps/v8/src/platform-solaris.cc
    	deps/v8/test/cctest/test-api.cc
    	lib/tls.js
    	src/node.h
    	src/node_version.h
    tjfontaine committed Nov 18, 2013
Commits on Nov 16, 2013
  1. debugger: pass on v8 debug switches

    Before this commit, passing --debugger and other V8 debug switches to
    node.js made node print a usage message and exit.
    
    Rewrite the debug argument parser so it only consumes switches that we
    understand and pass everything else as-is to V8.
    
    A side effect of this change is that switches like --debugger_agent and
    --debugger_port now work.  That kind of obsoletes our debugger switches
    because they implement pretty much the same functionality but let's
    leave them in for now for the sake of convenience and backwards
    compatibility.
    
    Fixes #6526.
    bnoordhuis committed Nov 16, 2013
Commits on Nov 15, 2013
  1. buffer: convert values to uint, not int

    In many cases values expected to be unsigned were converted to a signed
    integer.
    
    Also include some small code cleanup.
    trevnorris committed Nov 14, 2013
  2. buffer: no warning when encoding isn't passed

    Buffer#write() was showing the deprecation warning when only
    buf.write('string') was passed. This is incorrect since the encoding is
    always optional.
    
    Argument order should follow:
      Buffer#write(string[, offset[, length]][, encoding])
    
    (yeah, not confusing at all)
    trevnorris committed Nov 14, 2013
  3. doc: add nodejs.vn to community page

    Node.js.  It's not just for SF hipsters anymore.
    bnoordhuis committed Nov 15, 2013
  4. doc: sort community page links alphabetically

    This commit introduces some long lines but it's HTML so it's okay.
    bnoordhuis committed Nov 15, 2013
Commits on Nov 14, 2013
Commits on Nov 13, 2013
  1. smalloc: check if object has external memory

    Add HasExternalData API to check if Object has externally allocated
    memory, and accompanying tests.
    trevnorris committed Nov 13, 2013
  2. tls: handle `ssl.start()` errors

    indutny committed Nov 13, 2013
Commits on Nov 12, 2013
  1. events: don't call once twice

    Emitting an event within a `EventEmitter#once` callback of the same
    event name will cause subsequent `EventEmitter#once` listeners of the
    same name to be called multiple times.
    
        var emitter = new EventEmitter();
    
        emitter.once('e', function() {
          emitter.emit('e');
          console.log(1);
        });
    
        emitter.once('e', function() {
          console.log(2);
        });
    
        emitter.emit('e');
    
        // Output
        // 2
        // 1
        // 2
    
    Fix the issue, by calling the listener method only if it was not
    already called.
    timrwood committed with indutny Nov 12, 2013
  2. base-object: add BaseObject

    BaseObject is a class that just handles the Persistent handle attached
    to the class instance.
    
    This also removed WeakObject. Reordering the inheritance chain helps
    prevent unneeded calls on instances that don't call MakeCallback.
    trevnorris committed Nov 4, 2013
  3. tls_wrap: move members to initialization list

    They didn't need to be defined in the body of the constructor.
    trevnorris committed Nov 5, 2013
  4. src: use Context::Scope objects in cares_wrap.cc

    Enter the context explicitly, don't rely on the fact that there is a
    Context::Scope a few stack frames below because it may be gone someday
    bnoordhuis committed Nov 11, 2013
  5. src: fix Context::Scope usage

    env->context() may or may not create a new Local.  It currently does
    not but don't depend on that behavior, create a HandleScope first.
    bnoordhuis committed Nov 11, 2013
  6. crypto: fix up implicit HandleScope abuse

    Don't depend on any HandleScope objects that may or may not have been
    created in src/stream_wrap.cc, create them explicitly.
    bnoordhuis committed Nov 11, 2013
  7. src: remove global HandleScope

    Make it more difficult to accidentally leak handles by removing the
    top-level HandleScope.  Now if there's no valid HandleScope now, V8
    will complain and, in debug builds, abort.
    bnoordhuis committed Nov 11, 2013
  8. blog: Post for v0.10.22

    tjfontaine committed Nov 12, 2013
  9. Now working on 0.10.23

    tjfontaine committed Nov 12, 2013