Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 3, 2014
  1. @indutny

    pipe: allow queueing pending handles

    indutny authored
    Introduce `int uv_pipe_pending_count(uv_pipe_t*)` and
    `uv_handle_type uv_pipe_pending_type(uv_pipe_t*)`. They should be
    used in IPC pipe's read cb to accept incoming handles:
        int count = uv_pipe_pending_count(pipe);
        int i;
        for (i = 0; i < count; i++) {
          uv_handle_type type = uv_pipe_pending_type(pipe);
          /* ... */
Commits on Dec 21, 2013
  1. @piscisaureus

    Merge branch 'v0.10'

    piscisaureus authored
  2. @piscisaureus

    test: add pipe-server-close test

    piscisaureus authored
    Add a regression test for the pipe server close issue on Windows, which
    was reported in joyent/node#6749 and fixed in 7b16a3f.
Commits on Nov 12, 2013
  1. @indutny

    Merge branch 'v0.10'

    indutny authored
  2. @indutny

    unix: fix reopened fd bug

    indutny authored
    When fd is closed and new one (with the same number) is opened inside
    kqueue/epoll/port loop's callback - stale events might invoke callbacks
    on wrong watchers.
    Check if watcher was changed after invocation and invalidate all events
    with the same fd.
    fix #826
Commits on Nov 8, 2013
  1. @bnoordhuis

    Merge remote-tracking branch 'origin/v0.10'

    bnoordhuis authored
    Drops commit 3780e12 ("fsevents: support japaneese characters in path")
    for being quite inapplicable to the master branch.  Will be reworked
    and applied in a follow-up commit.
Commits on Nov 3, 2013
  1. @bnoordhuis

    include: remove uv_strlcat() and uv_strlcpy()

    bnoordhuis authored
    It was pointed out that they don't quite work like their BSD namesakes
    and they arguably shouldn't have been part of the API anyway.
    Fixes #983.
Commits on Oct 30, 2013
  1. @indutny
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 Jul 4, 2013
  1. @bajtos @piscisaureus

    linux,darwin,win: link-local IPv6 addresses

    bajtos authored piscisaureus committed
    Modified uv_ip6_addr() to fill sin6_scope_id for link-local addresses.
    Fixes #271
Commits on Jul 1, 2013
  1. @bnoordhuis

    build: switch to autotools

    bnoordhuis authored
    Switch to the build tool everyone loves to hate.  The Makefile has
    served us well over the years but it's been acquiring more and more
    features that autotools gives us for free, like easy static+shared
    library building, sane install targets, and so on.
    This commit drops MinGW support.  If there is demand for it, we'll
    re-add it.
Commits on Jun 13, 2013
  1. @bnoordhuis
  2. @bsnote @bnoordhuis

    linux: add support for MIPS

    bsnote authored bnoordhuis committed
Commits on Jun 4, 2013
  1. @bnoordhuis
Commits on Jan 29, 2013
  1. @bnoordhuis

    linux: move files out of src/unix/linux

    bnoordhuis authored
    Flattens the source tree and simplifies the Makefile.
Commits on Jan 6, 2013
  1. @bnoordhuis
Something went wrong with that request. Please try again.