Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 3, 2014
  1. @mattn @saghul

    windows: remove duplicated field

    mattn authored saghul committed
    Fixes build
Commits on Aug 29, 2014
  1. @saghul

    core: add a reserved field to uv_handle_t and uv_req_t

    saghul authored
    Just in case we need to work hard in keeping ABI compatibility.
  2. @saghul
  3. @saghul

    core: update version to 1.0.0

    saghul authored
Commits on Aug 28, 2014
  1. @piscisaureus @saghul

    windows: fix buffer leak after failed udp send

    piscisaureus authored saghul committed
    Fixes #1426
    
    Signed-off-by: Saúl Ibarra Corretgé <saghul@gmail.com>
Commits on Aug 27, 2014
  1. @saghul

    windows: make sure sockets and handles are reset on close

    saghul authored
    Set the socket to INVALID_SOCKET foir TCP and UDP handles and
    the handle to INVALID_HANDLE_VALUE on TTY handles after closing them.
  2. @saghul

    unix, windows: add uv_fileno

    saghul authored
    Returns the platform specific file descriptor for handles that are
    backed by one. The datatype is abstracted as uv_os_fd_t, which maps to
    int on Unices and HANDLE on Windows.
    
    Users can use this function to set specific socket options, for example,
    in a non portable way.
    
    This function is essentially a shotgun, you better be careful with
    whatever you do with it, don't blame me if you used it to get the fd of
    a stream, close it yourself and expect things to Just Work.
Commits on Aug 24, 2014
  1. @saghul
  2. @saghul

    build: remove unneeded define in uv.gyp

    saghul authored
    It's a leftover from the days libuv bundled c-ares.
Commits on Aug 21, 2014
  1. @saghul

    test: fix watcher_cross_stop on Windows

    saghul authored
    All send callbacks are not necessarily called on the same loop iteration
    as the data is received.
  2. @saghul
  3. @saghul
  4. @txdv

    unix: fix tcp write after bad connect freezing

    txdv authored
    If the connect wouldn't go off (no such tcp remote or any other failure),
    the subsequent writes made would not be called. Now we call the writes
    in the queue with ECANCELED if the connect fails.
    
    Fix #1432
Commits on Aug 19, 2014
  1. @tjfontaine

    Now working on v0.11.30

    tjfontaine authored
  2. @tjfontaine

    2014.08.20, Version 0.11.29 (Unstable)

    tjfontaine authored
    Changes since version 0.11.28:
    
    * windows: make uv_read_stop immediately stop reading (Jameson Nash)
    
    * windows: fix uv__getaddrinfo_translate_error (Alexis Campailla)
    
    * netbsd: fix build (Saúl Ibarra Corretgé)
    
    * unix, windows: add uv_recv_buffer_size and uv_send_buffer_size
      (Andrius Bentkus)
    
    * windows: add support for UNC paths on uv_spawn (Paul Goldsmith)
    
    * windows: replace use of inet_addr with uv_inet_pton (Saúl Ibarra
      Corretgé)
    
    * unix: replace some asserts with returning errors (Andrius Bentkus)
    
    * windows: use OpenBSD implementation for uv_fs_mkdtemp (Pavel Platto)
    
    * windows: fix GetNameInfoW error handling (Alexis Campailla)
    
    * fs: introduce uv_readdir_next() and report types (Fedor Indutny)
    
    * fs: extend reported types in uv_fs_readdir_next (Saúl Ibarra Corretgé)
    
    * unix: read on stream even when UV__POLLHUP set. (Julien Gilli)
Commits on Aug 18, 2014
  1. @misterdjules

    unix: read on stream even when UV__POLLHUP set.

    misterdjules authored
    This fixes a SmartOS specific issue that happens when reading from
    a stream that is the reading end of a pipe that has been closed by
    the parent process.
    
    In this case, a UV__POLLHUP event would be set on the stream and would
    prevent the event loop from closing it. As a result, the event loop
    would think there are stil handles open, and leave the process
    hanging.
    
    Fixes #1419.
  2. @saghul

    unix: fix colliding flag value

    saghul authored
    Fixes #1425
Commits on Aug 15, 2014
  1. @saghul

    fs: extend reported types in uv_fs_readdir_next

    saghul authored
    Support all possible types on Unix, and files, directories and links on
    Windows. Some systems (hello SunOS!) don't have the d_type field on struct
    dirent, so mark them as UV_DIRENT_UNKNOWN.
Commits on Aug 14, 2014
  1. @indutny

    fs: introduce uv_readdir_next() and report types

    indutny authored
    Introduce:
    
        int uv_fs_readdir_next(uv_fs_t* req, uv_dirent_t* ent);
    
    `uv_fs_readdir()` is not returning a file names list in `req->ptr`
    anymore, the proper way to gather them is to call `uv_fs_readdir_next()`
    in a callback.
Commits on Aug 12, 2014
  1. @orangemocha @saghul

    windows: fix GetNameInfoW error handling

    orangemocha authored saghul committed
    GetNameInfoW return non-zero on error, and not vice versa.
  2. @Hinidu @saghul

    windows: use OpenBSD implementation for uv_fs_mkdtemp

    Hinidu authored saghul committed
Commits on Aug 11, 2014
  1. @txdv @saghul

    unix: replace some asserts with returning errors

    txdv authored saghul committed
  2. @saghul

    windows: replace use of inet_addr with uv_inet_pton

    saghul authored
    Fixes a compilation warning with Visual Studio 2013.
Commits on Aug 10, 2014
  1. @lhecker

    unix: fix typedef of uv_buf_t

    lhecker authored
    Typedefs of unnamed structs cannot be forward declared.
    Giving the uv_buf_t struct a name makes forward declarations possible.
  2. @huxingyi @saghul

    windows: fix build on MinGW

    huxingyi authored saghul committed
  3. @saghul

    test: fix spawn_reads_child_path when using autoconf

    saghul authored
    Don't hardcode the name of the executable, take it from the exepath.
    
    Fixes #1407
  4. @saghul

    test: skip UDP dualstack test on BSDs

    saghul authored
    As of right now Linux comes with bindv6only=0 by default but BSDs use
    bindv6only=1. It can be changed systemwide with sysctl, but it's not
    nice to depend on the environment for running tests, so disable it just
    on BSDs.
  5. @saghul
  6. @paulgoldsmith @saghul

    windows: add support for UNC paths on uv_spawn

    paulgoldsmith authored saghul committed
Commits on Aug 9, 2014
  1. @txdv @saghul
  2. @saghul

    netbsd: fix build

    saghul authored
    Thanks @ezra1!
    
    Closes #1391
  3. @orangemocha @saghul

    windows: fix uv__getaddrinfo_translate_error

    orangemocha authored saghul committed
    Use Windows socket error codes, as recommended by MSDN, like we already
    do with GetNameInfoW.
  4. @vtjnash @saghul

    windows: make uv_read_stop immediately stop reading

    vtjnash authored saghul committed
    This implements locking around the blocking call to ReadFile to get
    around a Windows kernel bug where a blocking ReadFile operation on a
    stream can deadlock the thread. This allows uv_read_stop to immediately
    cancel a pending IO operation, and allows uv_pipe_getsockname to
    "pause" any pending read (from libuv) while it retrieves the
    sockname information.
    
    If unsupported by the OS (pre-Vista), this reverts to the old
    (e.g. deadlock-prone) behavior
    
    Closes #1313
Commits on Aug 7, 2014
  1. @saghul

    include: remove unneeded EADDRINFO errno

    saghul authored
    EADDRINFO is not a readl errno, it was used to signal any error that
    getaddrinfo would return, but we return actual errors now.
  2. @saghul

    Now working on v0.11.29

    saghul authored
Something went wrong with that request. Please try again.