Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Feb 2, 2013
  1. sunos: use pset_getloadavg instead of getloadavg

    authored
    If used in a non-global zone, getloadavg() always returns [0, 0, 0]. If
    pset_getloadavg is used instead, the current processor set is analyzed, which
    should work in both global and non-global zones.
  2. @bnoordhuis

    build: fix up WIN_SRCS

    bnoordhuis authored
Commits on Jan 31, 2013
  1. @bnoordhuis
Commits on Jan 30, 2013
  1. @piscisaureus

    win: get rid of early ipv6 support detection

    piscisaureus authored
    No longer explictly check wheter an IPv6 stack is present when the user
    tries to use IPV6 sockets. Instead realy on the operating system
    to report the lack of protocol support via appropriate error messages.
  2. @piscisaureus

    win/udp: DRY up setting SO_REUSEADDR

    piscisaureus authored
    This patch makes sure that only uv_udp_set_socket sets the SO_REUSEADDR
    bit for UDP sockets.
  3. @piscisaureus
  4. @piscisaureus

    win/udp: make uv_udp_set_socket set UV_HANDLE_IPV6

    piscisaureus authored
    This patch makes uv_udp_set_socket responsible for setting the
    UV_HANDLE_IPV6 flag. It also fixes the problem that uv_udp_open would
    never set this flag at all.
    
    In addition, this patch fixes some minor style issues.
  5. @piscisaureus

    win/tcp: make uv_tcp_set_socket set UV_HANDLE_IPV6

    piscisaureus authored
    This makes uv_tcp_set_socket responsible for setting the UV_HANDLE_IPV6
    flag. This fixes a couple of situations where the the fact that a socket
    is an IPv6 socket is not taken into account when deciding whether a call
    to SetFileCompletionNotificationModes is appropriate.
    
    It also fixes the issue that uv_tcp_open would never set this flag at
    all.
  6. @piscisaureus

    win: fix uv_winsock_init crash when no IPv4 stack present

    piscisaureus authored
    uv_winsock_init() tries to create an IPv4 socket in order to detect
    if the system has any layered service providers (LSPs) installed.
    When creating this socket failed it would call uv_fatal_error and exit
    with the following message:
    
      socket: (10047) An address incompatible with the requested protocol was used.
    
    This patch fixes that. It also includes some minor style tweaks.
  7. @piscisaureus
  8. @piscisaureus
Commits on Jan 29, 2013
  1. @bnoordhuis

    build: fix up dependency rules

    bnoordhuis authored
    * Auto-create build subdirectories.
    
    * Add coarse dependencies on header files so make rebuilds the sources
      whenever the headers change.
  2. @bnoordhuis

    linux: move files out of src/unix/linux

    bnoordhuis authored
    Flattens the source tree and simplifies the Makefile.
  3. @bnoordhuis

    build: support out of tree builds

    bnoordhuis authored
    Invoking make with builddir_name=/path/to/dir builds libuv in the
    designated directory.
  4. @bnoordhuis

    build: add OS= make switch

    bnoordhuis authored
    Overrides the platform detection heuristic. Useful for cross-compiling.
Commits on Jan 27, 2013
  1. @bnoordhuis
Commits on Jan 22, 2013
  1. @piscisaureus
  2. @bnoordhuis

    test: remove .travis.yml

    bnoordhuis authored
    Travis CI was generating a lot of false positives (or rather, false
    negatives - tests that fail due to the environment they run in) and
    it's been in a continuous error state for days now.
    
    Remove it, we'll set up something ourselves.
  3. @bnoordhuis

    build: don't export _POSIX_C_SOURCE on non-linux

    bnoordhuis authored
    Don't export _POSIX_C_SOURCE to dependents. On the BSDs (and the
    BSD-ish, like OS X), it hides SysV and BSD definitions.
    
    The exception is Linux: _POSIX_C_SOURCE=200112 unlocks some of the
    newer pthreads features like spinlocks and barriers, so keep
    exporting it on that platform.
  4. @txdv @bnoordhuis

    unix, windows: return UV_EINVAL, not UV_EFAULT

    txdv authored bnoordhuis committed
    A wrong multicast membership should return EINVAL.
Commits on Jan 18, 2013
  1. @txdv @bnoordhuis

    unix, windows: make uv_*_bind() error codes consistent

    txdv authored bnoordhuis committed
    Just like uv_tcp_connect() it should return an EINVAL when the handle
    is of an invalid type or when the network address is faulty.
Commits on Jan 17, 2013
  1. @bnoordhuis

    linux: translate futimes() fallback error codes

    bnoordhuis authored
    The fallback added in 9d4a16e uses the /proc filesystem to emulate
    utimensat().
    
    Translate error codes that indicate no procfs is mounted to ENOSYS.
    Letting those error codes through unchecked will only confuse callers.
  2. @bnoordhuis
  3. @bnoordhuis

    linux: add futimes() fallback

    bnoordhuis authored
    The utimensat() syscall was added in 2.6.22. Add a fallback mode for
    older kernels that uses utimes("/proc/self/fd/<fd>").
    
    Fixes #687.
  4. @bnoordhuis

    linux: use stdint types in structs

    bnoordhuis authored
    Use the typedefs from stdint.h to avoid build breakage on systems
    where __u64 and friends are hidden when --std=c89 is in effect.
    
    Fixes #685.
Commits on Jan 16, 2013
  1. @bnoordhuis

    test: make threadpool tests valgrind-compliant

    bnoordhuis authored
    Delete the event loop after the test to stop valgrind from complaining
    about memory leaks.
  2. @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 Jan 15, 2013
  1. @bnoordhuis

    test: remove bad tcp_write_error test

    bnoordhuis authored
    It makes the assumption that if you try to write to a localhost socket
    often enough, eventually its send queue will fill up - which doesn't
    happen if the machine it's running on is fast enough.
Commits on Jan 14, 2013
  1. @bnoordhuis
  2. @bnoordhuis
Commits on Jan 12, 2013
  1. @bnoordhuis

    linux: only pack struct uv__epoll_event on x86_64

    bnoordhuis authored
    On i386, it does not need packing; it's 12 bytes packed or unpacked.
    
    On ARM, it's actively harmful: the struct is 12 bytes when packed and
    16 bytes when unpacked.
  2. @bnoordhuis

    build: fix host/target arch detection

    bnoordhuis authored
    Setting the target_arch without setting the host_arch as well was
    effectively broken.
Commits on Jan 11, 2013
  1. @bnoordhuis

    Revert "unix: improve uv_guess_handle() implementation"

    bnoordhuis authored
    This reverts commit 98bcddc.
    
    It's making a lot of tests in the node.js test suite fail.
  2. @bnoordhuis

    unix: set closed fd to -1, avoid double close bugs

    bnoordhuis authored
    * abort() if close() fails
    * set fd to -1 after close() to prevent double close bugs
  3. @bnoordhuis
Something went wrong with that request. Please try again.