Commits on Mar 18, 2013
  1. @bnoordhuis @piscisaureus
Commits on May 27, 2012
  1. @bnoordhuis

    unix, windows: set active flag on unref'd handles

    A logic bug in uv__handle_start() and uv__handle_stop() stopped the active flag
    from getting set (or unset) on unref'd handles.
    bnoordhuis committed May 28, 2012
Commits on May 26, 2012
  1. @bnoordhuis

    unix: update timer if already active

    uv_timer_start() no longer returns an error when the timer is already active,
    now it just updates the timer. Consistent with the uv-win implementation.
    
    Fixes #425.
    bnoordhuis committed May 26, 2012
Commits on May 25, 2012
  1. @bnoordhuis
  2. @bnoordhuis

    test: remove stale UNIX socket before running test

    Fixes spurious test and benchmark failures.
    bnoordhuis committed May 26, 2012
Commits on May 24, 2012
  1. @bnoordhuis

    test: remove test-eio-overflow.c

    Unreliable, it's timing / system load sensitive.
    bnoordhuis committed May 25, 2012
  2. @bnoordhuis
  3. @isaacs @piscisaureus
  4. @bnoordhuis

    unix: pack uv structs more

    Try to avoid alignment holes on x86_64. Shaves off 4-8 bytes from most structs.
    bnoordhuis committed May 24, 2012
  5. @bnoordhuis

    unix: don't pass sockaddr to accept()

    Shaves a few nanoseconds off the accept() syscall.
    bnoordhuis committed May 24, 2012
Commits on May 23, 2012
  1. @bnoordhuis

    unix: split up loop.c

    Move prepare/check/idle watcher code to loop-watcher.c so it can be reused for
    the linux backend.
    bnoordhuis committed May 23, 2012
  2. @bnoordhuis
  3. @bnoordhuis

    unix: turn field stream->blocking into a flag

    Saves 4 bytes.
    bnoordhuis committed May 23, 2012
  4. @bnoordhuis
  5. @bnoordhuis

    test: remove stale socket in ipc_send_recv_pipe

    Fixes spurious test failures.
    bnoordhuis committed May 23, 2012
  6. @bnoordhuis
  7. @bnoordhuis

    unix: fix up asserts in udp.c

    bnoordhuis committed May 23, 2012
  8. @bnoordhuis
  9. @bnoordhuis

    unix, windows: make uv_run_once() return a bool

    The return value of uv_run_once() now signals if it needs to be called again.
    
    Fixes #427.
    bnoordhuis committed May 23, 2012
  10. @bnoordhuis

    unix: don't unlink UNIX socket on EADDRINUSE

    It was a bad idea to start with...
    bnoordhuis committed May 23, 2012
  11. @bnoordhuis

    unix: fix uv_poll CPU usage spike

    Saúl Ibarra Corretgé reports that calling uv_poll_start() repeatedly results
    in CPU usage spikes. Fixed by stopping the poll I/O watcher before updating it.
    
    Fixes #424.
    bnoordhuis committed May 23, 2012
  12. @bnoordhuis
  13. @bnoordhuis

    unix: fold uv__io_cb into ev_io struct

    Makes the uv__io code a little more obscure but has the advantage that
    sizeof(uv__io_t) == sizeof(ev_io), i.e. the sizes of embedding handles
    don't change.
    bnoordhuis committed May 23, 2012
  14. @bnoordhuis

    unix: replace ev_io with uv__io_t

    Replace ev_io usage with wrapper constructs.
    
    This is preliminary work for the transition to a libev-less linux backend.
    bnoordhuis committed May 23, 2012
Commits on May 22, 2012
  1. @bnoordhuis

    test: clean up test-tcp-writealot.c

    Avoid unnecessary heap allocations, makes it easier to reason about correctness.
    bnoordhuis committed May 23, 2012
  2. windows: set flags for uv_fs_symlink

    Igor Zinkovsky committed May 22, 2012
  3. report correct error

    Igor Zinkovsky committed May 22, 2012
  4. @piscisaureus

    Disable test-callback-order

    It's not correct.
    piscisaureus committed May 22, 2012
  5. @piscisaureus
  6. @piscisaureus
  7. @piscisaureus
  8. @piscisaureus
  9. @bnoordhuis

    test: add callback order test

    Ensure that idle callbacks run before other callbacks.
    bnoordhuis committed May 22, 2012
  10. @bnoordhuis

    unix: reactive new idle watcher implementation

    The new idle watcher was temporarily disabled in 073a48d due to some semantic
    incompatibilities with the previous implementation. This commit resolves those
    issues and reactivates the new implementation.
    
    One outstanding bug is that idle watchers can run in a different order
    (relative to other handle types) than the old implementation, e.g. (timer, idle)
    instead of the expected (idle, timer). This will be fixed in an upcoming commit.
    bnoordhuis committed May 22, 2012
  11. @bnoordhuis

    unix: remove outdated comment

    bnoordhuis committed May 22, 2012