Permalink
Commits on Jan 23, 2015
  1. build: use -D_GNU_SOURCE with autotools on linux

    Fixes a number of -Wimplicit-function-declaration warnings for functions
    that are behind _GNU_SOURCE on old systems, like strndup() and pread().
    committed Jan 23, 2015
  2. linux: fix epoll_pwait() regression with < 2.6.19

    Linux before kernel 2.6.19 does not support epoll_pwait().  Due to a
    logic error in commit 2daf944 ("unix: add flag for blocking SIGPROF
    during poll"), the fallback path for ENOSYS was not taken.
    
    This commit also adds epoll_pwait() emulation using pthread_sigmask().
    The block/unblock operations are not atomic but that is fine for our
    particular use case, to wit, sleep through SIGPROF signals.
    committed Jan 23, 2015
  3. unix, win: add synchronous uv_get{addr,name}info

    PR-URL: libuv#156
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
    saghul committed Jan 20, 2015
Commits on Jan 21, 2015
  1. unix: fix long line introduced in commit 94e628f

    PR-URL: libuv#150
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed Jan 16, 2015
  2. unix: fix implicit declaration compiler warning

    Include <string.h> explicitly to get the definition of strncpy().
    
    Refs libuv#138.
    
    PR-URL: libuv#150
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed Jan 16, 2015
  3. doc: clarify uv_default_loop

    Indicate that it can (and should) also be closed, currently it's not
    "special" in any way.
    
    PR-URL: libuv#147
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 20, 2015
  4. doc: explain how the threadpool is allocated

    Add an explanation about how libuv implements the threadpool and why.
    This is so users know what behavior they should expect when they make
    use of threads.
    
    Related issue: libuv#145
    
    PR-URL: libuv#146
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    almosnow committed with Jan 19, 2015
Commits on Jan 20, 2015
  1. win,unix: move loop functions which have identical implementations

    uv_default_loop, uv_loop_new, uv_loop_close, uv_loop_delete
    
    PR-URL: libuv#144
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    txdv committed with saghul Jan 20, 2015
Commits on Jan 17, 2015
  1. doc: clarify which flags are supported in uv_fs_event_start

    PR-URL: libuv#135
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 14, 2015
Commits on Jan 16, 2015
  1. unix, windows: set non-block mode in uv_poll_init

    libuv requires that the socket/fd is in non-blocking mode, so do it
    internally so the user doesn't need to write platform specific code to
    do so.
    
    This also makes the API consistent with uv_{tcp,udp,pipe}_open, since
    it's not required to pass the fd in non-blocking mode there either.
    
    PR-URL: libuv#136
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 14, 2015
Commits on Jan 14, 2015
  1. Add SHA to ChangeLog

    saghul committed Jan 14, 2015
  2. 2015.01.15, Version 1.2.1 (Stable)

    Changes since version 1.2.0:
    
    * unix: remove unused dtrace file (Saúl Ibarra Corretgé)
    
    * test: skip TTY select test if /dev/tty can't be opened (Saúl Ibarra
      Corretgé)
    
    * doc: clarify the behavior of uv_tty_init (Saúl Ibarra Corretgé)
    
    * doc: clarify how uv_async_send behaves (Saúl Ibarra Corretgé)
    
    * build: make dist now generates a full tarball (Johan Bergström)
    
    * freebsd: make uv_exepath more resilient (Saúl Ibarra Corretgé)
    
    * unix: make setting the tty mode to the same value a no-op (Saúl Ibarra
      Corretgé)
    
    * win,tcp: support uv_try_write (Bert Belder)
    
    * test: enable test-tcp-try-write on windows (Bert Belder)
    
    * win,tty: support uv_try_write (Bert Belder)
    
    * unix: set non-block mode in uv_{pipe,tcp,udp}_open (Ben Noordhuis)
    saghul committed Jan 14, 2015
  3. unix: set non-block mode in uv_{pipe,tcp,udp}_open

    The contract specifies that the file descriptor should already be in
    non-blocking mode before passing it to libuv.
    
    However, node users don't really have an opportunity to do so, never
    mind the fact that the call to uv_pipe_open() or uv_tcp_open() is an
    implementation detail that most users won't be aware of.
    
    Let's be nice and set the non-blocking flag explicitly.  It's a cheap
    operation anyway.
    
    Fixes: libuv#124
    
    PR: libuv#134
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed with saghul Jan 13, 2015
  4. unix: fix -Wsign-compare warning in tty.c

    The mode argument is an enum now and the signedness of an enum is
    implementation-defined when it doesn't have negative members.
    
    Cast it to int in the comparison to tty->mode because the latter is
    still an int.
    
    PR: libuv#134
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed with saghul Jan 13, 2015
Commits on Jan 13, 2015
  1. win,tty: support uv_try_write

    All windows console writes are synchronous anyway, so there's no reason
    for uv_try_write() to do nothing.
    
    PR: libuv#127
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    piscisaureus committed Jan 12, 2015
  2. test: enable test-tcp-try-write on windows

    PR: libuv#127
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    piscisaureus committed Jan 11, 2015
  3. win,tcp: support uv_try_write

    PR: libuv#127
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    piscisaureus committed Jan 11, 2015
  4. win,stream: start uv_try_write implementation

    PR: libuv#127
    Reviewed-by: Saúl Ibarra Corretgé <saghul@gmail.com>
    piscisaureus committed Jan 13, 2015
  5. unix: make setting the tty mode to the same value a no-op

    Closes #131
    
    PR-URL: libuv#132
    Reviewed-By: Bert Belder <bertbelder@gmail.com>
    saghul committed Jan 12, 2015
Commits on Jan 12, 2015
  1. freebsd: make uv_exepath more resilient

    PR-URL: libuv#129
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 12, 2015
Commits on Jan 11, 2015
  1. build: make dist now generates a full tarball

    Autotools tries to figure out what's necessary to create a tarball through
    included files in Makefile.am. Since libuv has conditionals based on target OS
    as well as additional samples/documentation, extra_files needs to include these.
    
    Also, add the result of make dist to gitignore.
    
    PR-URL: libuv#118
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    jbergstroem committed with saghul Jan 6, 2015
Commits on Jan 7, 2015
  1. doc: clarify how uv_async_send behaves

    Closes #29
    
    PR-URL: libuv#122
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 7, 2015
  2. doc: clarify the behavior of uv_tty_init

    Closes #120
    
    PR-URL: libuv#121
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 7, 2015
  3. test: skip TTY select test if /dev/tty can't be opened

    PR-URL: libuv#123
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 7, 2015
Commits on Jan 6, 2015
  1. unix: remove unused dtrace file

    PR-URL: libuv#119
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    saghul committed Jan 6, 2015
Commits on Jan 5, 2015
  1. Add SHA to ChangeLog

    saghul committed Jan 5, 2015
  2. 2015.01.06, Version 1.2.0 (Stable)

    Changes since version 1.1.0:
    
    * linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
    
    * tty: implement binary I/O terminal mode (Yuri D'Elia)
    
    * test: fix spawn test with autotools build (Ben Noordhuis)
    
    * test: skip ipv6 tests when ipv6 is not supported (Ben Noordhuis)
    
    * common: move STATIC_ASSERT to uv-common.h (Alexey Melnichuk)
    
    * win/thread: store thread handle in a TLS slot (Alexey Melnichuk)
    
    * unix: fix ttl, multicast ttl and loop options on IPv6 (Saúl Ibarra
      Corretgé)
    
    * linux: fix support for preadv/pwritev-less kernels (Ben Noordhuis)
    
    * unix: make uv_exepath(size=0) return UV_EINVAL (Ben Noordhuis)
    
    * darwin: fix uv_exepath(smallbuf) UV_EPERM error (Ben Noordhuis)
    
    * openbsd: fix uv_exepath(smallbuf) UV_EINVAL error (Ben Noordhuis)
    
    * linux: fix uv_exepath(size=1) UV_EINVAL error (Ben Noordhuis)
    
    * sunos: preemptively fix uv_exepath(size=1) (Ben Noordhuis)
    
    * win: fix and clarify comments in winapi.h (Bert Belder)
    
    * win: make available NtQueryDirectoryFile (Bert Belder)
    
    * win: add definitions for directory information types (Bert Belder)
    
    * win: use NtQueryDirectoryFile to implement uv_fs_scandir (Bert Belder)
    
    * unix: don't unlink unix socket on bind error (Ben Noordhuis)
    
    * build: fix bad comment in autogen.sh (Ben Noordhuis)
    
    * build: add AC_PROG_LIBTOOL to configure.ac (Ben Noordhuis)
    
    * test: skip udp_options6 if there no IPv6 support (Saúl Ibarra
      Corretgé)
    
    * win: add definitions for MUI errors mingw lacks (Bert Belder)
    
    * build: enable warnings in autotools build (Ben Noordhuis)
    
    * build: remove -Wno-dollar-in-identifier-extension (Ben Noordhuis)
    
    * build: move flags from Makefile.am to configure.ac (Ben Noordhuis)
    saghul committed Jan 5, 2015
  3. Merge branch 'v0.10' into v1.x

    Conflicts:
    	ChangeLog
    	src/version.c
    saghul committed Jan 5, 2015
  4. Now working on v0.10.33

    saghul committed Jan 5, 2015
  5. 2015.01.06, Version 0.10.32 (Stable)

    Changes since version 0.10.31:
    
    * linux: fix epoll_pwait() sigmask size calculation (Ben Noordhuis)
    saghul committed Jan 5, 2015
  6. build: move flags from Makefile.am to configure.ac

    Move compile-time flags that are not platform-specific defines to
    configure.ac where they can be properly feature-detected.
    
    PR-URL: libuv#24
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed Jan 5, 2015
  7. build: remove -Wno-dollar-in-identifier-extension

    Don't check if -Wno-dollar-in-identifier-extension is supported in the
    autotools build; that flag was only necessary on OS X and only when the
    dtrace probes were enabled (because dtrace(1) generates identifiers with
    sigils in them).  The probes were removed in commit cb51400, making the
    check unnecessary.
    
    PR-URL: libuv#24
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed Jan 5, 2015
  8. build: enable warnings in autotools build

    Turn on -Wall -Wextra -Wno-unused-parameter, just like we do in gyp
    builds.
    
    PR-URL: libuv#24
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    committed Dec 1, 2014
  9. win: add definitions for MUI errors mingw lacks

    PR-URL: libuv#110
    Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
    Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
    piscisaureus committed Jan 5, 2015