Permalink
Commits on Mar 1, 2012
  1. unix: fix fs_event refcount bug on darwin

    bnoordhuis committed Feb 29, 2012
    The event loop got unref'd twice when the handle was closed.
  2. unix: don't rely on libev to track timer state

    bnoordhuis committed Jan 11, 2012
    An obscure libev bug sometimes makes it miss state changes. Keep track of the
    state ourselves.
    
    Fixes nodejs/node-v0.x-archive#2515.
Commits on Feb 27, 2012
  1. windows: fix time conversion in stat

    Igor Zinkovsky
    Igor Zinkovsky committed Feb 27, 2012
Commits on Feb 23, 2012
  1. win: fs: handle EOF in read

    philips authored and piscisaureus committed Feb 23, 2012
    in luvit after upgrade libuv from 243cfc to d3efef readSync started
    failing.  It seems that the code cleanup stopped handling EOF
    
    Trivially reproduced with this
    
        local fs = require('fs')
        print(fs.readFileSync('foo.luvit'))
Commits on Feb 22, 2012
Commits on Feb 16, 2012
Commits on Feb 13, 2012
  1. unix: don't flush tty on switch to raw mode

    bnoordhuis committed Feb 13, 2012
    Drain, don't flush the tty when switching from cooked to raw mode. Prevents
    buffered keystrokes from getting lost. Switching back to cooked mode still
    flushes.
    
    Fixes nodejs/node-v0.x-archive#2744.
Commits on Feb 9, 2012
  1. support half-duplex pipes

    Igor Zinkovsky
    Igor Zinkovsky committed Feb 8, 2012
  2. fix windows build

    Igor Zinkovsky
    Igor Zinkovsky committed Feb 9, 2012
Commits on Feb 7, 2012
Commits on Feb 6, 2012
  1. Add EXDEV to the errno map.

    TooTallNate authored and bnoordhuis committed Feb 6, 2012
  2. test: add multicast TTL test

    defunctzombie authored and bnoordhuis committed Jan 19, 2012
Commits on Feb 5, 2012
Commits on Feb 3, 2012
  1. unix: map `ELOOP` to `UV_ELOOP`

    mmalecki authored and bnoordhuis committed Jan 25, 2012
  2. unix: map ECONNABORTED

    bnoordhuis committed Feb 3, 2012
Commits on Feb 2, 2012
Commits on Feb 1, 2012
  1. windows: map ERROR_ACCESS_DENIED to UV_EPERM

    Igor Zinkovsky
    Igor Zinkovsky committed Feb 1, 2012
  2. uv.h: add EPERM to errno map to fix regression

    Brandon Philips authored and isaacs committed Jan 27, 2012
    EPERM isn't mapped in so chown returns an unknown error. This is a
    regression from 0.4.12.
    
    philips:node/ (master*) $ cat chown.js
    var fs = require('fs')
    fs.chown("/tmp/foobar", 100, 100, function(er){ console.log(er);})
    
    philips:node/ (master*) $ ls -la /tmp/foobar
    total 0
    drwxr-xr-x   2 root  wheel   68 Jan 24 17:21 .
    
    0.4
    ---
    
    philips:node/ (master*) $ /usr/local/Cellar/node/0.4.12/bin/node chown.js
    { stack: [Getter/Setter],
      arguments: undefined,
      type: undefined,
      message: 'EPERM, Operation not permitted \'/tmp/foobar\'',
      errno: 1,
      code: 'EPERM',
      path: '/tmp/foobar' }
    
    master
    ------
    
    philips:node/ (master*) $ ./node chown.js
    { [Error: UNKNOWN, unknown error '/tmp/foobar'] errno: -1, code: 'UNKNOWN', path: '/tmp/foobar' }
    
    AFTER
    -----
    
    philips:node/ (master*) $ ./node chown.js
    { [Error: EPERM, operation not permitted '/tmp/foobar'] errno: 49, code: 'EPERM', path: '/tmp/foobar' }
Commits on Jan 31, 2012
  1. Implement udp multicast methods on windows

    piscisaureus committed Jan 27, 2012
    uv_udp_set_membership is not supported for UDP-IPv6 sockets yet.
  2. test-multicast-join: don't attempt to bind to a multicast address

    piscisaureus committed Jan 31, 2012
    Does not work on Windows. Bind to a normal interface first, then join the
    multicast group instead.
Commits on Jan 30, 2012
  1. unix: Remove assert in uv__pipe_accept

    isaacs committed Jan 30, 2012
    This assert unnecessarily prevents people from using the pipe_wrap
    class in node to send file descriptors over sockets.
Commits on Jan 28, 2012
  1. windows: fix off-by-one error in uv_fs_stat

    Brandon Benvie authored and bnoordhuis committed Jan 28, 2012
    uv__is_root typo caused incorrect fs.exists results in Node.
  2. sunos: fix uv_udp_set_ttl and uv_udp_set_multicast_loop

    bnoordhuis committed Jan 28, 2012
    It turns out that setsockopt(IP_TTL) *does* expect an int, whereas
    setsockopt(IP_MULTICAST_LOOP) needs a char.
Commits on Jan 27, 2012
  1. sunos: fix uv_udp_set_ttl and uv_udp_multicast_ttl

    bnoordhuis committed Jan 27, 2012
    The argument to setsockopt(IP_TTL|IP_MULTICAST_TTL) should be a char, not an int
    like on other Unices.