History log of /libuv/ (Results 3401 – 3425 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4ba03ddd16-Jan-2013 Ben Noordhuis

unix, windows: rename uv_run2 to uv_run

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 m

unix, windows: rename uv_run2 to uv_run

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.

show more ...


include/uv.h
src/unix/core.c
src/win/core.c
test/benchmark-async-pummel.c
test/benchmark-async.c
test/benchmark-fs-stat.c
test/benchmark-getaddrinfo.c
test/benchmark-loop-count.c
test/benchmark-million-async.c
test/benchmark-million-timers.c
test/benchmark-multi-accept.c
test/benchmark-ping-pongs.c
test/benchmark-pound.c
test/benchmark-pump.c
test/benchmark-spawn.c
test/benchmark-tcp-write-batch.c
test/benchmark-udp-pummel.c
test/blackhole-server.c
test/dns-server.c
test/echo-server.c
test/test-active.c
test/test-async.c
test/test-callback-order.c
test/test-callback-stack.c
test/test-connection-fail.c
test/test-delayed-accept.c
test/test-embed.c
test/test-fs-event.c
test/test-fs-poll.c
test/test-fs.c
test/test-getaddrinfo.c
test/test-getsockname.c
test/test-idle.c
test/test-ipc-send-recv.c
test/test-ipc.c
test/test-loop-handles.c
test/test-multiple-listen.c
test/test-ping-pong.c
test/test-pipe-bind-error.c
test/test-pipe-connect-error.c
test/test-poll-close.c
test/test-poll.c
test/test-ref.c
test/test-run-nowait.c
test/test-run-once.c
test/test-shutdown-close.c
test/test-shutdown-eof.c
test/test-signal-multiple-loops.c
test/test-signal.c
test/test-spawn.c
test/test-stdio-over-pipes.c
test/test-tcp-bind-error.c
test/test-tcp-bind6-error.c
test/test-tcp-close-while-connecting.c
test/test-tcp-close.c
test/test-tcp-connect-error-after-write.c
test/test-tcp-connect-error.c
test/test-tcp-connect-timeout.c
test/test-tcp-connect6-error.c
test/test-tcp-flags.c
test/test-tcp-open.c
test/test-tcp-read-stop.c
test/test-tcp-shutdown-after-write.c
test/test-tcp-unexpected-read.c
test/test-tcp-write-to-half-open-connection.c
test/test-tcp-writealot.c
test/test-thread.c
test/test-threadpool-cancel.c
test/test-threadpool.c
test/test-timer-again.c
test/test-timer.c
test/test-tty.c
test/test-udp-dgram-too-big.c
test/test-udp-ipv6.c
test/test-udp-multicast-join.c
test/test-udp-multicast-ttl.c
test/test-udp-open.c
test/test-udp-options.c
test/test-udp-send-and-recv.c
test/test-walk-handles.c
4cbd5c7b15-Jan-2013 Ben Noordhuis

test: remove bad tcp_write_error test

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
happ

test: remove bad tcp_write_error test

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.

show more ...

768b524614-Jan-2013 Ben Noordhuis

unix: make stream.c more DRY

c931e31714-Jan-2013 Ben Noordhuis

unix: make assertion message more descriptive

8e3e60ff12-Jan-2013 Ben Noordhuis

linux: only pack struct uv__epoll_event on x86_64

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 pac

linux: only pack struct uv__epoll_event on x86_64

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.

show more ...

9cd9bd3312-Jan-2013 Ben Noordhuis

build: fix host/target arch detection

Setting the target_arch without setting the host_arch as well was
effectively broken.

Revision tags: node-v0.9.6
9aab5d4811-Jan-2013 Ben Noordhuis

Revert "unix: improve uv_guess_handle() implementation"

This reverts commit 98bcddc8dddb4b85425d846f546e81e8ccf633f8.

It's making a lot of tests in the node.js test suite fail.

fc42885d11-Jan-2013 Ben Noordhuis

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

* abort() if close() fails
* set fd to -1 after close() to prevent double close bugs

2ec2a51911-Jan-2013 Ben Noordhuis

unix: clean up code in process.c

6f679a4f11-Jan-2013 Ben Noordhuis

unix: don't swap stdin file descriptors

Bug introduced in 47f496a. It turns out the file descriptors of the
stdin pipe don't have to be swapped around.

2cecd0d310-Jan-2013 Bruce Mitchener

include: fix typos in comments

80f6a9c610-Jan-2013 Ben Noordhuis

unix: omit second fcntl() call if possible

Omit the fcntl() syscall when the O_NONBLOCK or FD_CLOEXEC is already
set/clear because it's a no-op in that case.

9eedd32e09-Jan-2013 Ben Noordhuis

build: make clean target remove libuv.{a,so,dylib}

bc0c61cd20-Dec-2012 Tim Bradshaw

linux: ensure that all CPUs have model information

Revision tags: node-v0.9.4, node-v0.8.17
98bcddc809-Dec-2012 Ben Leslie

unix: improve uv_guess_handle() implementation

uv_guess_handle is currently squelching both fifo and all
sockets on to the UV_NAMED_PIPE type. Rather than treating
all sockets as UV_

unix: improve uv_guess_handle() implementation

uv_guess_handle is currently squelching both fifo and all
sockets on to the UV_NAMED_PIPE type. Rather than treating
all sockets as UV_NAMED_PIPE, use getsockopt() and
getsockaddr() to determine if the socket is an AF_UNIX
stream (in which case return UV_NAMED_PIPE), or an AF_INET
stream (in which case return UV_TCP), or an AF_INET datagram
socket (in which case return UV_UDP).

Additionally, currently all other file descriptor types are
squelched to the UV_FILE type. Instead, only file descriptors
that are marked as regular files are treated as UV_FILE. All
other types (such as directories, character and block devices)
are now treated as UV_UNKNOWN_HANDLE.

show more ...

cb3c448d07-Jan-2013 Ben Noordhuis

unix: fix GNU-ism introduced in edd1007

Don't use features.h, it's only available on GNU/glibc systems.

f24335d406-Jan-2013 Ben Noordhuis

test: fix #if defined checks

Same as edd1007 but this time for the tests.

fb725c0806-Jan-2013 Ben Noordhuis

test: simplify tcp_ref2b

Said test doesn't need its own close callback, it can piggyback on the
common close callback.

ccb96b6706-Jan-2013 Ben Noordhuis

test: remove unused function declaration

847182cd06-Jan-2013 Ben Noordhuis

test, bench: make functions/variables static

Make functions and variables that are local to the compilation unit
static. Remove what turns out to be unused.

7ff6f29b06-Jan-2013 Ben Noordhuis

test, bench: ANSI-fy function prototypes

Replace `void f()` with `void f(void)`; the former means "a function
that takes any number of arguments, including none" while the latter
is

test, bench: ANSI-fy function prototypes

Replace `void f()` with `void f(void)`; the former means "a function
that takes any number of arguments, including none" while the latter
is what is actually intended: a function taking no arguments.

The first form also isn't strictly conforming ANSI/ISO C.

show more ...

fa9c577e06-Jan-2013 Ben Noordhuis

linux: fix race in uv_resident_set_memory()

uv_resident_set_memory() used a global buffer to read data into, which
is a decidedly unsafe thing to do in a multi-threaded environment.

5b63285806-Jan-2013 Ben Noordhuis

unix, windows: ANSI-fy uv_tty_reset_mode() prototype

edd1007106-Jan-2013 Ben Noordhuis

unix: fix up #if defined checks

`#if FOO` (where FOO is undefined) is a legal construct in C89 and C99
but gcc, clang and sparse complain loudly about it at higher warning
levels.

unix: fix up #if defined checks

`#if FOO` (where FOO is undefined) is a legal construct in C89 and C99
but gcc, clang and sparse complain loudly about it at higher warning
levels.

Squelch those warnings. Makes the code more consistent as well.

show more ...

e62dd3ca06-Jan-2013 Ben Noordhuis

unix: fix include in cygwin.c

1...<<131132133134135136137138139140>>...218