History log of /libuv/ (Results 2926 – 2950 of 5437)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
63cd99ed11-Oct-2013 Sean Farrell

windows: add stdlib.h to satisfy reference to abort

d170c91525-Sep-2013 Maks Naumov

windows: incorrect check for SOCKET_ERROR

1ab3e3f125-Sep-2013 Maks Naumov

windows: "else" keyword is missing

68795b7d25-Sep-2013 Maks Naumov

windows: _snprintf expected wrong parameter type in string

0fdd99f023-Oct-2013 Fedor Indutny

fsevents: increase stack size for OSX 10.9

Otherwise it fails with `EXC_BAD_ACCESS`.

9ab5ee2f22-Oct-2013 Ben Noordhuis

include: document pipe path truncation behavior

Document the fact that the maximum path length for UNIX domain socket
paths is much less than _POSIX_PATH_MAX.

For most file syst

include: document pipe path truncation behavior

Document the fact that the maximum path length for UNIX domain socket
paths is much less than _POSIX_PATH_MAX.

For most file systems, _POSIX_PATH_MAX is 1024 or 4096 bytes while
`sizeof(sockaddr_un.sun_path)` is typically between 92 and 108 bytes.

show more ...

20edfc7621-Oct-2013 Saúl Ibarra Corretgé

windows: remove unneeded check

Cheking if the loop is alive is covered in the while loop afterwards.
Also, the stop flag will be cleared if necessary, which didn't happen
before this

windows: remove unneeded check

Cheking if the loop is alive is covered in the while loop afterwards.
Also, the stop flag will be cleared if necessary, which didn't happen
before this patch.

show more ...

16fb129120-Oct-2013 Ben Noordhuis

windows: fix duplicate case build error

Mea culpa, the previous commit added another ERROR_FILENAME_EXCED_RANGE
case to the switch statement in uv_translate_sys_error(). This commit

windows: fix duplicate case build error

Mea culpa, the previous commit added another ERROR_FILENAME_EXCED_RANGE
case to the switch statement in uv_translate_sys_error(). This commit
fixes up the build error.

show more ...

f2ab62ec21-Oct-2013 Ben Noordhuis

include: add E2BIG status code mapping

Forgotten in commit 3ee4d3f. Add it now and renumber the other status
codes. The Windows status code mappings may not be exhaustive.

Fix

include: add E2BIG status code mapping

Forgotten in commit 3ee4d3f. Add it now and renumber the other status
codes. The Windows status code mappings may not be exhaustive.

Fixes #959.

show more ...

777019b718-Oct-2013 Ben Noordhuis

unix: make uv_tty_reset_mode() async signal-safe

Make it possible to call uv_tty_reset_mode() from inside a signal
handler. The primary motivation is to make it possible to restore

unix: make uv_tty_reset_mode() async signal-safe

Make it possible to call uv_tty_reset_mode() from inside a signal
handler. The primary motivation is to make it possible to restore
the TTY from inside a SIGINT or SIGTERM signal handler.

Fixes #954.

show more ...

372e922918-Oct-2013 Ben Noordhuis

unix: clean up uv_tty_set_mode() a little

150b6a7118-Oct-2013 Ben Noordhuis

unix: add spinlock.h

Add an atomic, non-blocking spinlock type. The primary use case is to
have a mutex type that we can use while inside a signal handler.

a3c3b37b18-Oct-2013 Ben Noordhuis

unix: add atomic-ops.h

Add cmpxchgi(), cmpxchgl() and cpu_relax() functions that we can use
as simple primitives to build spinlocks out of.

147ab0c520-Oct-2013 Ben Noordhuis

test: clean up signal_multiple_loops

The test uses some questionable binary math. Rewrite it in a more
explicit fashion.

939560b618-Oct-2013 Timothy J Fontaine

Now working on v0.10.19

9ec5296318-Oct-2013 Timothy J Fontaine

2013.10.19, Version 0.10.18 (Stable)

Changes since version 0.10.17:

* unix: fix uv_spawn() NULL pointer deref on ENOMEM (Ben Noordhuis)

* unix: don't close inherited fds on

2013.10.19, Version 0.10.18 (Stable)

Changes since version 0.10.17:

* unix: fix uv_spawn() NULL pointer deref on ENOMEM (Ben Noordhuis)

* unix: don't close inherited fds on uv_spawn() fail (Ben Noordhuis)

* unix: revert recent FSEvent changes (Ben Noordhuis)

* unix: fix non-synchronized access in signal.c (Ben Noordhuis)

show more ...

fe4f062618-Oct-2013 Ben Noordhuis

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

Conflicts:
include/uv-darwin.h
src/unix/fsevents.c
src/unix/process.c


1800efc118-Oct-2013 Ben Noordhuis

unix: fix non-synchronized access in signal.c

Check the return value of uv__signal_lock(); don't mutate the signal
watcher tree in the signal handler if we failed to acquire the lock.

9d44d78623-Sep-2013 Saúl Ibarra Corretgé

unix, windows: add uv_fs_event_start/stop functions

Make uv_fs_event behave like other handles, that is, it's inactive after
init, and it's active between start and stop.

b0bb8deb09-Oct-2013 Reini Urban

.gitignore: fix .deps/, add .dirstamp

5c00a0ee18-Aug-2013 Ben Noordhuis

unix: fix SIGCHLD waitpid() race in process.c

Before this commit, multiple event loops raced with each other when a
SIGCHLD signal was received. More concretely, it was possible for

unix: fix SIGCHLD waitpid() race in process.c

Before this commit, multiple event loops raced with each other when a
SIGCHLD signal was received. More concretely, it was possible for
event loop A to consume waitpid() events that should have been
delivered to event loop B.

This commit addresses that by doing a linear scan over the list of
child processes. An O(n) scan is not terribly efficient but the
actual performance impact is not measurable in a benchmark that spawns
rounds of several thousands instances of /bin/false. For the time
being, this patch will suffice; we can always revisit it later.

Fixes #887.

show more ...

556fe1a608-Oct-2013 Ben Noordhuis

linux: ignore fractional time in uv_uptime()

Before this commit, uv_uptime() returned the nanoseconds as the
fractional part of the uptime. It's a bit inconsistent with the
output o

linux: ignore fractional time in uv_uptime()

Before this commit, uv_uptime() returned the nanoseconds as the
fractional part of the uptime. It's a bit inconsistent with the
output on other platforms because those only return whole seconds
(with the possible exception of Windows.)

This commit changes linux-core.c to only return whole seconds.

show more ...

a1e159f029-Sep-2013 Luca Bruno

test: relax timing assumption of timer_again

timer_again test makes an implicit assumption on the triggering
timing of a repeating timer. However, this assumption may be not
true on

test: relax timing assumption of timer_again

timer_again test makes an implicit assumption on the triggering
timing of a repeating timer. However, this assumption may be not
true on slower or virtualized architecture due to delay accumulation,
which may fail the test as show in [0].
This commit makes explicit checks conforming to the asserted behavior.

[0] http://ur1.ca/fr5c4

Signed-off-by: Luca Bruno <lucab@debian.org>

show more ...

bddf357b29-Sep-2013 Luca Bruno

test: relax timing assumption of loop_stop

The loop_stop test makes an implicit assumption about the triggering
timing of a repeating trigger, which may not hold true on slower or
vi

test: relax timing assumption of loop_stop

The loop_stop test makes an implicit assumption about the triggering
timing of a repeating trigger, which may not hold true on slower or
virtualized machines, thus failing the test as shown at [0] and
discussed at [1].
This commit relaxes the assumption, without mandating the exact number
of runs.

[0] http://ur1.ca/fr5bw
[1] https://groups.google.com/d/msg/libuv/5-fNIC7hIAo/yqznDmwHDAIJ

Signed-off-by: Luca Bruno <lucab@debian.org>

show more ...

6462eaf429-Sep-2013 Luca Bruno

test: relax TTY availability assumptions

test-tty.c currently assumes that a TTY is available to the test runner,
and fails hard if not. This may not be true on some autobuilding
env

test: relax TTY availability assumptions

test-tty.c currently assumes that a TTY is available to the test runner,
and fails hard if not. This may not be true on some autobuilding
environment, making the build fail as shown in [0].
Instead, let's properly skip the test in such cases.

[0] http://ur1.ca/fr5bd

Signed-off-by: Luca Bruno <lucab@debian.org>

show more ...

1...<<111112113114115116117118119120>>...218