Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 11, 2013
  1. @bnoordhuis
Commits on Sep 4, 2013
  1. @bnoordhuis

    include: merge uv_tcp_connect and uv_tcp_connect6

    bnoordhuis authored
    Merge uv_tcp_connect6() into uv_tcp_connect().  uv_tcp_connect() now
    takes a const struct sockaddr*.
Commits on Sep 1, 2013
  1. @bnoordhuis

    include: uv_tcp_connect{6} now takes sockaddr_in*

    bnoordhuis authored
    Passing or returning structs as values makes life hard for people that
    work with libuv through a foreign function interface. Switch to a
    pointer-based approach.
    
    Fixes #684.
  2. @bnoordhuis

    include: uv_ip[46]_addr now takes sockaddr_in*

    bnoordhuis authored
    Passing or returning structs as values makes life hard for people that
    work with libuv through a foreign function interface. Switch to a
    pointer-based approach.
    
    Fixes #684.
  3. @bnoordhuis

    include: uv_read{2}_cb now takes const uv_buf_t*

    bnoordhuis authored
    Passing or returning structs as values makes life hard for people that
    work with libuv through a foreign function interface. Switch to a
    pointer-based approach.
    
    Fixes #684.
  4. @bnoordhuis

    include: uv_alloc_cb now takes uv_buf_t*

    bnoordhuis authored
    Passing or returning structs as values makes life hard for people that
    work with libuv through a foreign function interface. Switch to a
    pointer-based approach.
    
    Fixes #684.
Commits on Jul 7, 2013
  1. @bnoordhuis

    unix, windows: return error codes directly

    bnoordhuis authored
    This commit changes the libuv API to return error codes directly rather
    than storing them in a loop-global field.
    
    A code snippet like this one:
    
        if (uv_foo(loop) < 0) {
          uv_err_t err = uv_last_error(loop);
          fprintf(stderr, "%s\n", uv_strerror(err));
        }
    
    Should be rewritten like this:
    
        int err = uv_foo(loop);
        if (err < 0)
          fprintf(stderr, "%s\n", uv_strerror(err));
    
    The rationale for this change is that it should make creating bindings
    for other languages a lot easier: dealing with struct return values is
    painful with most FFIs and often downright buggy.
Commits on Jan 16, 2013
  1. @bnoordhuis

    unix, windows: rename uv_run2 to uv_run

    bnoordhuis authored
    This changes the prototype of uv_run() from:
    
      int uv_run(uv_loop_t* loop);
    
    To:
    
      int uv_run(uv_loop_t* loop, uv_run_mode mode);
    
    Where `mode` is UV_RUN_DEFAULT, UV_RUN_ONCE or UV_RUN_NOWAIT.
    
    Fixes #683.
Commits on Oct 16, 2012
  1. @piscisaureus
Commits on Jun 7, 2012
  1. @bnoordhuis

    unix, test: make NANOSEC a 64 bits unsigned int

    bnoordhuis authored
    Avoids accidental overflow / truncation when it's used in 32 bits arithmetic.
Commits on Mar 9, 2012
  1. @piscisaureus
Commits on Nov 11, 2011
  1. @bnoordhuis
Commits on Nov 4, 2011
  1. make uv_pipe_connect return void

    Igor Zinkovsky authored
Commits on Oct 6, 2011
  1. @ry
Commits on Sep 12, 2011
  1. @piscisaureus @ry

    Remove uv_init calls from tests and benchmarks

    piscisaureus authored ry committed
Commits on Aug 31, 2011
  1. @piscisaureus
  2. @piscisaureus

    bring back uv_init

    piscisaureus authored
  3. @ry @piscisaureus

    unix: multiplicity

    ry authored piscisaureus committed
Commits on Aug 24, 2011
  1. @bnoordhuis

    Add UDP support to libuv.

    bnoordhuis authored
Commits on Aug 18, 2011
  1. @ry
  2. @ry

    Fix pipe-pound and clean-up

    Igor Zinkovsky authored ry committed
  3. @ry
Commits on Aug 11, 2011
  1. @bnoordhuis
Commits on Aug 9, 2011
  1. @bnoordhuis

    bench: create separate arrays for TCP and pipe streams

    bnoordhuis authored
    Size and alignment of tcp_conn_rec and pipe_conn_rec may differ
    so it's not safe to reuse a single array of conn_rec elements.
  2. @bnoordhuis
Commits on Aug 8, 2011
  1. @bnoordhuis
  2. fix for pound benchmark

    Igor Zinkovsky authored
Commits on Aug 6, 2011
  1. accept benchmark

    Igor Zinkovsky authored
Something went wrong with that request. Please try again.