History log of /libuv/ (Results 3126 – 3150 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5841852726-Jun-2013 Ben Noordhuis

test: add 'start timer from check handle' test

Check that a timer that is started from a check handle gets picked up
correctly, i.e. that it influences the timeout used in the next tick

test: add 'start timer from check handle' test

Check that a timer that is started from a check handle gets picked up
correctly, i.e. that it influences the timeout used in the next tick
of the event loop.

show more ...

488b43ec26-Jun-2013 Ben Noordhuis

test: fix signed/unsigned compiler warning

a0bc4cca26-Jun-2013 Ben Noordhuis

build: darwin: disable -fstrict-aliasing warnings

gcc 4.2.1 as shipped with Xcode complains incessantly about aliasing
warnings, which, while technically true, disregards the fact that t

build: darwin: disable -fstrict-aliasing warnings

gcc 4.2.1 as shipped with Xcode complains incessantly about aliasing
warnings, which, while technically true, disregards the fact that the
aliased types have the same layout in memory. Squelch the warnings.

show more ...

c8c775bd25-Jun-2013 Ben Noordhuis

windows: use WSAGetLastError(), not errno

setsockopt() doesn't touch errno on failure. Use WSAGetLastError()
instead.

This is a back-port of commit 30a8b44 from the master branc

windows: use WSAGetLastError(), not errno

setsockopt() doesn't touch errno on failure. Use WSAGetLastError()
instead.

This is a back-port of commit 30a8b44 from the master branch.

show more ...

30a8b44c25-Jun-2013 Ben Noordhuis

windows: use WSAGetLastError(), not errno

setsockopt() doesn't touch errno on failure. Use WSAGetLastError()
instead.

92040eb718-Jun-2013 Henry Rawas

stream: add an API to make streams do blocking writes

This patch adds the `uv_stream_set_blocking` API which makes all
uv_write calls to that stream blocking. It currently only works for

stream: add an API to make streams do blocking writes

This patch adds the `uv_stream_set_blocking` API which makes all
uv_write calls to that stream blocking. It currently only works for
pipes, on windows.

show more ...

495d1a0918-Jun-2013 Bert Belder

windows: uv_spawn shouldn't reject reparse points

This fixes an issue where uv_spawn would not try to run a reparse point,
and continue to scan the PATH instead. Effectively, it was impo

windows: uv_spawn shouldn't reject reparse points

This fixes an issue where uv_spawn would not try to run a reparse point,
and continue to scan the PATH instead. Effectively, it was impossible to
spawn a symlinked binary. This commit fixes that.

Also see #748

show more ...

6607e70218-Jun-2013 Ben Noordhuis

test: open stdout fd in write-only mode

Fixes #771.

b1d390eb13-Jun-2013 Ben Noordhuis

windows: don't use uppercase in include filename

Change <Winsock2.h> to <winsock2.h>. The former breaks
cross-compilation with mingw.

ff3ee84405-Jun-2013 Linus Mårtensson

build: set OS=="android" for android builds

Work around the build name issues by instead manually adding the build
target for android builds using '-DOS=android'

This additional

build: set OS=="android" for android builds

Work around the build name issues by instead manually adding the build
target for android builds using '-DOS=android'

This additionally resolves problems caused by the OS variable being
rewritten from "android" to "linux" in gyp. This causes errors, as
real-time support (-lrt) and pthread support (-lpthread) is not
available in the android NDK toolchain as libraries.

The functions present in these libraries are included automatically
during the build instead during the android compilation process.

show more ...

7d8504cf15-Jun-2013 Bert Belder

queue: fix pointer truncation on LLP64 platforms

QUEUE_DATA used to cast a pointer to long and back to pointer. This can
corrupt pointers on systems where the long type isn't large enoug

queue: fix pointer truncation on LLP64 platforms

QUEUE_DATA used to cast a pointer to long and back to pointer. This can
corrupt pointers on systems where the long type isn't large enough to
store pointer, like Windows x64. This commit fixes that.

Fixes #835

show more ...

7e8d0e6d13-Jun-2013 Ben Noordhuis

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


5096f1e013-Jun-2013 Andrei Sedoi

linux: add support for MIPS

0c3b061a13-Jun-2013 Ben Noordhuis

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

Conflicts:
src/unix/stream.c
src/version.c


72e440d712-Jun-2013 Ben Noordhuis

Now working on v0.10.12

c3b7540612-Jun-2013 Ben Noordhuis

2013.06.13, Version 0.10.11 (Stable)

Changes since version 0.10.10:

* unix: unconditionally stop handle on close (Ben Noordhuis)

* freebsd: don't enable dtrace if it's not

2013.06.13, Version 0.10.11 (Stable)

Changes since version 0.10.10:

* unix: unconditionally stop handle on close (Ben Noordhuis)

* freebsd: don't enable dtrace if it's not available (Brian White)

* build: make HAVE_DTRACE=0 should disable dtrace (Timothy J. Fontaine)

* unix: remove overzealous assert (Ben Noordhuis)

* unix: clear UV_STREAM_SHUTTING after shutdown() (Ben Noordhuis)

* unix: fix busy loop, write if POLLERR or POLLHUP (Ben Noordhuis)

show more ...

12210fe508-Jun-2013 Ben Noordhuis

unix: fix busy loop, write if POLLERR or POLLHUP

This fixes a busy loop by working around a quirk with Linux kernels
<= 2.6.32 where an EPIPE or ECONNRESET error on a file descriptor tha

unix: fix busy loop, write if POLLERR or POLLHUP

This fixes a busy loop by working around a quirk with Linux kernels
<= 2.6.32 where an EPIPE or ECONNRESET error on a file descriptor that
is polled for EPOLLOUT but not EPOLLIN gets reported by epoll_wait() as
just EPOLLERR|EPOLLHUP, like this:

epoll_wait(5, {{EPOLLERR|EPOLLHUP, {u32=12, u64=12}}}, 1024, 433) = 1

Before this commit, libuv called uv__read() which attempts to read from
the file descriptor. With newer kernels and on other operating systems
that fails like this:

read(12, "", 65536) = -1 EPIPE (Broken pipe)

Which tells libuv there is a connection error and it should notify the
user of that. On the affected Linux kernels however, the read succeeds
with an EOF:

read(12, "", 65536) = 0

Which is subsequently passed on to the user. In most cases, the user
will close the handle and everything is fine.

Node.js however sometimes keeps the handle open in an attempt to flush
pending write requests. While libuv doesn't officially support this,
unofficially it works...

...except on those older kernels. Because the kernel keeps waking up
the event loop without setting POLLOUT and because the read calls EOF
but don't error, libuv's I/O state machine doesn't progress.

That's why this commit changes uv__stream_io() to also write pending
data. While the read() system call doesn't error, the write() system
call will.

Fixes joyent/node#5504.

show more ...

536c5f8608-Jun-2013 Ben Noordhuis

unix: clear UV_STREAM_SHUTTING after shutdown()

Fix a state machine buglet where the UV_STREAM_SHUTTING flag didn't get
cleared.

3ab3543607-Jun-2013 Ben Noordhuis

unix: remove overzealous assert

Several node.js users are hitting this assert under what appear to be
mostly benign conditions. In other words, it's unclear whether it's
catching rea

unix: remove overzealous assert

Several node.js users are hitting this assert under what appear to be
mostly benign conditions. In other words, it's unclear whether it's
catching real bugs or just has wrong expectations.

An aborting process is rather disruptive so I'm removing the assert
from the stable branch and relanding it in the master branch.

show more ...

f84becc606-Jun-2013 Timothy J Fontaine

build: make HAVE_DTRACE=0 should disable dtrace

8974633206-Jun-2013 Ben Noordhuis

unix, windows: clean up uv_thread_create()

Make uv_thread_create() and its helper function a little more DRY and
a little less impenetrable.

43205ed506-Jun-2013 Ben Noordhuis

unix: remove unused function uv_fatal_error()

c16ed50307-Jun-2013 Ben Noordhuis

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

Conflicts:
AUTHORS
ChangeLog
src/unix/stream.c
src/version.c


c8ffee3431-May-2013 Brian White

freebsd: don't enable dtrace if it's not available

8e4b248c05-Jun-2013 Ben Noordhuis

unix: unconditionally stop handle on close

Make sure the handle is fully stopped by the time uv__stream_close()
calls uv_read_stop(). Fixes the following assertion:

Assertio

unix: unconditionally stop handle on close

Make sure the handle is fully stopped by the time uv__stream_close()
calls uv_read_stop(). Fixes the following assertion:

Assertion failed: (!uv__io_active(&stream->io_watcher, UV__POLLOUT)
|| !ngx_queue_empty(&stream->write_completed_queue)
|| !ngx_queue_empty(&stream->write_queue)
|| stream->shutdown_req != NULL
|| stream->connect_req != NULL), function uv_read_stop,
file ../deps/uv/src/unix/stream.c, line 1329.

Fixes joyent/node#5622.

show more ...

1...<<121122123124125126127128129130>>...218