Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/neovim/libuv

[DEPRECATED] Nvim 0.6+ uses upstream libuv, not this fork.
https://github.com/neovim/libuv

Merge branch 'v0.10'

f6c1a270edde34cbe7674937b110c275ab8adf55 authored about 11 years ago
windows/timer: fix uv_hrtime discontinuity

Large performance counter frequency values would cause overflows, even
when 64-bit integers were...

44ecaa7c9821d41aa3d07e584ea19f60db57f448 authored about 11 years ago
fs-event: fix invalid memory access

file_info->FileName is not null terminated.

da323447308280c736ac44946fce752a5dca8243 authored about 11 years ago
Merge branch 'v0.10'

5812e19bf61ef115e82c4aff915a21c319734090 authored about 11 years ago
doc: Removed use of gendered pronouns

47d98b64c45db8335bf7e065351e385cae32323d authored about 11 years ago
Merge remote-tracking branch 'origin/v0.10'

Conflicts:
src/unix/udp.c

9342ef7155bc30d99120dff492310e25f2eb7d8b authored about 11 years ago
build: make `./gyp_uv.py -f eclipse` work

The eclipse backend (like the ninja backend) does not support the
--generator_output switch.

7bb7371fc5ad7cdabcf997e5002d5fe8f5e47abd authored about 11 years ago
fsevents: fix subfolder check

First of all, a bit of explanation of what happens there:

1. FSEvents emits absolute paths to c...

bf5038df4008d894409dac4d6e64a94f5630bf61 authored about 11 years ago
gitignore: ignore *.pyc files

The gyp build on Windows produces a *.pyc file as of commit 991409e.

c3e05bafa5486120117994d11f38172d3752127d authored about 11 years ago
linux: fix up SO_REUSEPORT back-port

Commit 3d2c820 back-ports a patch from the master branch that disables
the use of SO_REUSEPORT o...

74457d08ba6408d1ce5ff965b113f237c0cf6e51 authored about 11 years ago
Merge remote-tracking branch 'origin/v0.10'

Conflicts:
build.mk
test/test-emfile.c
test/test-list.h

93cc7e5ce1995a1124404f982324e1f1c3918c14 authored about 11 years ago
test: back-port EMFILE test from master branch

Back-port the test from commit 27795cf from the master branch ("unix:
fix accept() EMFILE error ...

a43537eeada0aa95a0df02da23e9169b981654ba authored about 11 years ago
unix: fix accept() EMFILE error handling

Fix a bug that was introduced in commit 3ee4d3f ("unix, windows:
return error codes directly") a...

27795cfc0f3bd9382d73c1a9ce992f4de15823ca authored about 11 years ago
libuv: add more getaddrinfo errors

dbe99057991bacdb2099f95dd43c324453bf354b authored about 11 years ago
fsevents: remove kFSEventStreamCreateFlagNoDefer polyfill

The kFSEventStreamCreateFlagNoDefer flag is already
defined in CarbonCore/FSEvents.h since OS X ...

c438e739a8a593d75060cf7b01546e32fb4df4c3 authored about 11 years ago
Now working on v0.11.16

3a01e68385f52a9de6fce9d1e4c22eb6a3e645d4 authored about 11 years ago
2013.11.21, Version 0.11.15 (Unstable)

Changes since version 0.11.14:

* fsevents: report errors to user (Fedor Indutny)

* include: UV...

bfe645ed7e99ca5670d9279ad472b604c129d2e5 authored about 11 years ago
samples: add socks5 proxy sample application

bde41b255b9c68cc8d065213e28219b90a945acf authored about 11 years ago
unix: nicer error message when kqueue() fails

Print the error message rather than just the errno. The fact that the
errno is 24 is only infor...

ab3724997594761d318b6e58f65e510f50b8d0e3 authored about 11 years ago
netbsd, openbsd: enable futimes() wrapper

OpenBSD and NetBSD have working futimes() implementations. This commit
makes uv_fs_futime() wor...

f38869898d27d235ee45564385e462b1a1fcb797 authored about 11 years ago
test: don't connect to 0.0.0.0

OpenBSD won't let you do that, the connect() system call fails with
an EINVAL error. Connect to...

0c05532e1398ae986d35ba20573ac0a72ba7b4ab authored about 11 years ago
unix: set close-on-exec flag on received fds

Set the close-on-exec flag on file descriptors that we've received with
recvmsg() so we don't le...

e9f75fb146c85d7962d39a3f15551053f2c4d6dc authored about 11 years ago
test: test fsevents error reporting

Create a lot of `FSEventStream`s to make `FSEventStreamStart()` fail.
Fetch the error code and v...

86b5c1ef1cbd353b36fb901c57e8c7b1c817f64e authored about 11 years ago
build: add test-tcp-close-accept.c to test deps

Add test/test-tcp-close-accept.c to the dependency list of the
`make check` target of the autoto...

c2c92fa65d77722fb655c0acbea765fd0beaca5d authored about 11 years ago
Merge remote-tracking branch 'origin/v0.10'

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

17711b90537f3183065b86a8ea70862b10fe71aa authored about 11 years ago
unix: unbreak bsd build after bbccafb

Unbreak the build on the BSDs after commit bbccafb. Move the new
uv__platform_invalidate_fd() f...

026241ca67717679a7f79d92c4fe1d77f223318c authored about 11 years ago
Now working on v0.10.20

1578a5a371326bd1edabfa146c77d41d4e20928e authored about 11 years ago
2013.11.13, Version 0.10.19 (Stable)

Changes since version 0.10.18:

* darwin: avoid calling GetCurrentProcess (Fedor Indutny)

* uni...

33959f7524090b8d2c6c41e2400ca77e31755059 authored about 11 years ago
Merge branch 'v0.10'

Conflicts:
build.mk
src/unix/core.c
src/unix/darwin.c

6149b66ccb9998f561a207162195bf5cba647280 authored about 11 years ago
core: fix fake watcher list and count preservation

Fake watcher list and count should be preserved only if
`loop->watchers` was already allocated.

f50ccd52388ffbcbbf0cd21ef7d6562300ef7ebb authored about 11 years ago
unix: fix reopened fd bug

When fd is closed and new one (with the same number) is opened inside
kqueue/epoll/port loop's c...

bbccafbe704090e294481d95f73862bc83f33026 authored about 11 years ago
fsevents: use FlagNoDefer for FSEventStreamCreate

Otherwise `FSEventStreamCreate()` will coalesce events, even if they're
happening in the interva...

0f5c28b6844dbe8c037aadfa291c9e6277b2d0e9 authored about 11 years ago
fsevents: use native character encoding file paths

Create file paths with CFStringCreateWithFileSystemRepresentation(),
not CFStringCreateWithCStri...

b1b931de4e634be515e528d1d07d59551a86eded authored about 11 years ago
windows: use _snwprintf(), not swprintf()

Drop the _CRT_NON_CONFORMING_SWPRINTFS hack and just use _snwprintf().

It's a long and complica...

c6ecf97aafc858c2ad1089fb78da6c586d61d8b6 authored about 11 years ago
linux: handle EPOLLHUP without EPOLLIN/EPOLLOUT

Work around an epoll quirk where it sometimes reports just the EPOLLERR
or EPOLLHUP event. In o...

0c76cdb98ffa9a43f169e24b59a3df95f18803f3 authored about 11 years ago
linux: handle EPOLLHUP without EPOLLIN/EPOLLOUT

Work around an epoll quirk where it sometimes reports just the EPOLLERR
or EPOLLHUP event. In o...

24bfef2ef4b5ac3e47f037f0f6759ad63b5d1e96 authored about 11 years ago
build: add test/test-watcher-cross-stop.c to list

Overlooked in the last v0.10 -> master merge.

fd723666af03e72e7edda9471b435ad41c886fe2 authored about 11 years ago
Merge remote-tracking branch 'origin/v0.10'

Drops commit 3780e12 ("fsevents: support japaneese characters in path")
for being quite inapplic...

2bb3326c48a0b0c85960e95c7c00dce6a0d31dfa authored about 11 years ago
unix: return exec errors from uv_spawn, not async

If spawning a process fails due to an exec() failure (but it succeeded
in forking), then this sh...

f764bff699e9897c3ed795a838acd9c1c8ec8133 authored about 11 years ago
build: fix windows smp build with gyp

Gyp will try a parallel build if it detect the system has >1 processor.
This functionality depen...

991409e461e3973f006bf951b3e7513578a41be2 authored about 11 years ago
build: fix windows smp build with gyp

Gyp will try a parallel build if it detect the system has >1 processor.
This functionality depen...

244546781033d21aa48f60392cf4d4fcb48fae14 authored about 11 years ago
include: remove uv_strlcat() and uv_strlcpy()

It was pointed out that they don't quite work like their BSD namesakes
and they arguably shouldn...

7f44933c43f9f549963d68f27e2911bd9941c0e9 authored about 11 years ago
queue: strengthen type checks

Rewrite some of the macros in a way that:

a) makes them more likely to trigger compile-time e...

0520464870756b67be3f75ab8c8b02e583e16524 authored about 11 years ago
fsevents: support japaneese characters in path

3780e128230618bc3bddc9b3942ee149fadf4ca2 authored about 11 years ago
test: add regression test for 29fdb3471

f9960184fd86d43470dc70dcedac32899e532757 authored about 11 years ago
include: UV_FS_EVENT_RECURSIVE is a flag

It should not be the same as:

`UV_FS_EVENT_WATCH_ENTRY | UV_FS_EVENT_STAT`

Because we never me...

8a4aa226772ecd4a2daec40d3806c03f001d2619 authored about 11 years ago
fsevents: report errors to user

43bef41031791b16ca94a58c33d6464e3e543e40 authored about 11 years ago
linux: don't turn on SO_REUSEPORT socket option

On the BSDs, SO_REUSEPORT is pretty much SO_REUSEADDR with some special
casing for IP multicast....

3d2c820a4efe3954a77b539bb56e7398263069d3 authored about 11 years ago
unix: update events from pevents between polls

Watchers could be stopped between two `kevent()`/`epoll_wait()` calls
(which may happen in the s...

29fdb3471ba993a4d129278129ec04e720890063 authored about 11 years ago
Now working on v0.11.15

b45e3cca6b4db4e2ac15c5c0ba29babd0f59dbb2 authored about 11 years ago
2013.10.30, Version 0.11.14 (Unstable)

Changes since version 0.11.13:

* darwin: create fsevents thread on demand (Ben Noordhuis)

* fs...

d7a6482f45c1b4eb4a853dbe1a9ce8090a35633a authored about 11 years ago
build: make systemtap probes work with gyp build

The following now works though the used approach is nothing to write
home about:

$ ./gyp_uv -...

3c172ea74c92f5162eb71460426a5517ffd5d567 authored about 11 years ago
linux: use CLOCK_MONOTONIC_COARSE if available

On some systems, clock_gettime(CLOCK_MONOTONIC) is only serviced from
the vDSO when the __vdso_c...

21c37a7db83e5e06cb28f61112325751fb41661c authored about 11 years ago
Merge branch 'v0.10'

Conflicts:
src/unix/darwin-proctitle.c
src/version.c

ab0225277b0195c5e0202cc7eed215d2bcc25f5c authored about 11 years ago
darwin: avoid calling GetCurrentProcess

Use some black-magic from Apple to change process name without getting
a "Not responding" tag fr...

08e0e63f3adecafeacaf09f519587c381c6e2ef2 authored about 11 years ago
unix: move uv_shutdown() assertion

Allows uv_shutdown() to return an error as intended if the stream has
already been closed.

Fixe...

fb36c099668838defccd892bb7d2a9d1849951d2 authored about 11 years ago
test: remove replacement snprintf for mingw

Mingw has a proper definition of snprintf.

ee434b3069c397d932ab329bc85993e9d76202d8 authored about 11 years ago
build: fix check target for mingw

4c6294e69b007b1038f3dc452a68703371c19789 authored about 11 years ago
windows: add stdlib.h to satisfy reference to abort

63cd99eddcb114f192955f8a9593e73ff4f71ce5 authored about 11 years ago
windows: _snprintf expected wrong parameter type in string

68795b7d6f4d8bad8b383529ecf19bbe7bdef2e7 authored about 11 years ago
windows: incorrect check for SOCKET_ERROR

d170c915c98fec671f99db6f8d6c15aeacc5d754 authored about 11 years ago
windows: "else" keyword is missing

1ab3e3f1dde5cf87acdc1c3dc8efc57e3ed328d7 authored about 11 years ago
fsevents: increase stack size for OSX 10.9

Otherwise it fails with `EXC_BAD_ACCESS`.

0fdd99f02b2b22b0ba4e23f70017fa77393caa11 authored over 11 years ago
include: document pipe path truncation behavior

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

9ab5ee2f398b133e39e85aaf8a7788977ea9aa8d authored over 11 years ago
windows: remove unneeded check

Cheking if the loop is alive is covered in the while loop afterwards.
Also, the stop flag will b...

20edfc76ad3bebe4b7cac50b968119b03dbea671 authored over 11 years ago
windows: fix duplicate case build error

Mea culpa, the previous commit added another ERROR_FILENAME_EXCED_RANGE
case to the switch state...

16fb1291a0214b5d7db6bad239d568b1307809af authored over 11 years ago
include: add E2BIG status code mapping

Forgotten in commit 3ee4d3f. Add it now and renumber the other status
codes. The Windows statu...

f2ab62ec106f5e7880f76fe6d8f4f1dad1dfe7f9 authored over 11 years ago
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 motivati...

777019b76864d140de9e5b401bca38570805c4d5 authored over 11 years ago
unix: clean up uv_tty_set_mode() a little

372e9229ad72c7bd9892d5f26149d3c3568d24ad authored over 11 years ago
unix: add spinlock.h

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

150b6a71c9f65d410b9755df79e7a7733e6cafeb authored over 11 years ago
unix: add atomic-ops.h

Add cmpxchgi(), cmpxchgl() and cpu_relax() functions that we can use
as simple primitives to bui...

a3c3b37bfb7586861ddd138628a9d8a5530c40ca authored over 11 years ago
test: clean up signal_multiple_loops

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

147ab0c5826eb5200647c2dcc251378226318071 authored over 11 years ago
Now working on v0.10.19

939560b6dbbb52252a3d510731431c7c9e03750c authored over 11 years ago
2013.10.19, Version 0.10.18 (Stable)

Changes since version 0.10.17:

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

9ec52963b585e822e87bdc5de28d6143aff0d2e5 authored over 11 years ago
Merge remote-tracking branch 'origin/v0.10'

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

fe4f06261ef46c9b71e3335a998144e24ae2e5af authored over 11 years ago
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 ...

1800efc13806440867b92758d01f0ce97e239e36 authored over 11 years ago
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 b...

9d44d786ada6cf94e1bdcee7d777c790ca712a78 authored over 11 years ago
.gitignore: fix .deps/, add .dirstamp

b0bb8deb17a9619ae6abd078779fa415c18327f8 authored over 11 years ago
unix: fix SIGCHLD waitpid() race in process.c

Before this commit, multiple event loops raced with each other when a
SIGCHLD signal was receive...

5c00a0ee331ed77ee91a75ab33612afeb1a91088 authored over 11 years ago
linux: ignore fractional time in uv_uptime()

Before this commit, uv_uptime() returned the nanoseconds as the
fractional part of the uptime. ...

556fe1a6598bbd1bee4a98587b4a2329697963d0 authored over 11 years ago
test: relax timing assumption of timer_again

timer_again test makes an implicit assumption on the triggering
timing of a repeating timer. How...

a1e159f04ec8fd249ec85bb98f6fdf5b97ef6d14 authored over 11 years ago
test: relax timing assumption of loop_stop

The loop_stop test makes an implicit assumption about the triggering
timing of a repeating trigg...

bddf357baf44b93df36e7a1a128717462dff6615 authored over 11 years ago
test: relax TTY availability assumptions

test-tty.c currently assumes that a TTY is available to the test runner,
and fails hard if not. ...

6462eaf4dc194489e810331a3b37aca9f59b8c97 authored over 11 years ago
fsevents: fix clever rescheduling

There're could be a situation, where one fsevents handle gets created
and another one is destroy...

429bb804ed26e1928818907b1cfcf0161c954ea8 authored over 11 years ago
unix: revert recent FSEvent changes

This commit reverts the following commits:

983fa68 darwin: fix 10.6 build error in fsevents...

38df93cfed1921b4682179c04c298be1b69e6841 authored over 11 years ago
unix: don't close inherited fds on uv_spawn() fail

The cleanup-after-error code path in uv_spawn() was closing file
descriptors indiscriminately. ...

11d80117936bea8da25d28bcf5402615dd3ead05 authored over 11 years ago
unix: fix uv_spawn() NULL pointer deref on ENOMEM

In the cleanup-after-error section of uv_spawn(), check that the pointer
is non-NULL - we might ...

fc3a21f943d5c91cd27fd7df9a973546101fef22 authored over 11 years ago
Merge remote-tracking branch 'origin/v0.10'

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

636f2056a70477e5374e0149d511bed84e47eb9a authored over 11 years ago
unix: remove uv__pipe_accept()

It's basically a less advanced version of uv__server_io(). Drop the
former in favor of the latter.

0d435a56622c02e6164ce34cd820b2add44fadd8 authored over 11 years ago
unix: sanity-check fds before closing

Ensure that close() system calls don't close stdio file descriptors
because that is almost never...

359d6678930fbb25e612d290a2ff5114e10eda6f authored over 11 years ago
Revert "unix: set O_NONBLOCK in uv_pipe_open()"

It turns out that node.js relies on the blocking behavior of pipes in
some cases, notably when f...

8c9cbee1b1fb19786405bdd92af5edfdab4cdbbe authored over 11 years ago
unix: set O_NONBLOCK in uv_pipe_open()

Don't rely on the caller to set the O_NONBLOCK flag on the file
descriptor.

Prevents sporadic s...

8fe4ca686bcb069f670b0381e89c008ca814f8ba authored over 11 years ago
windows: remove duplicate check in stream.c

Fixes #937.

7c7717c6b2d3f65143272d98b10da615a20a16fe authored over 11 years ago
Now working on v0.10.18

e9df7cbcbbcf8972aaf4ae64174a37c46dd62eb2 authored over 11 years ago
2013.09.25, Version 0.10.17 (Stable)

Changes since version 0.10.16:

* build: remove GCC_WARN_ABOUT_MISSING_NEWLINE (Ben Noordhuis)

...

9670e0a93540c2f0d86c84a375f2303383c11e7e authored over 11 years ago
doc: update readme

Update the intro blurb and spend a few more words on libuv's features.

581e8c92666b61af791115d9efd83207890dee73 authored over 11 years ago
build: use -pthread on sunos

When building on sunos with autoconf make sure to specify -pthread
otherwise there will be race ...

717e0e5635a03ab2b1366e3ff2015ad223855b81 authored over 11 years ago
bench: measure total/init/dispatch/cleanup times

* Add finer-grained measurements to the million_timers benchmark.
Before this commit it only m...

b460142451b144e3ff9157c5e15cbd6f2fe0312f authored over 11 years ago
unix, windows: make uv_is_*() always return 0 or 1

Ensure that the following API functions always return either 0 or 1:

* uv_is_active()
* uv_...

d7115f067747c3209ff0559ae62b15dc12038b3a authored over 11 years ago
unix: wrap long lines at 80 columns

05822a5507d25299dd25df6bce9d1663c22ca017 authored over 11 years ago