bf5038df | 21-Nov-2013 |
Fedor Indutny |
fsevents: fix subfolder check First of all, a bit of explanation of what happens there: 1. FSEvents emits absolute paths to changed files or directories 2. We cut off the first
fsevents: fix subfolder check First of all, a bit of explanation of what happens there: 1. FSEvents emits absolute paths to changed files or directories 2. We cut off the first part of such paths, which is equal to handle's real path ('/dir/subdir/subsubdir`, without trailing slash) 3. Then, if we are running in non-recursive mode, we discard paths that have slashes ('/') as a non-first character in them
show more ...
|
74457d08 | 25-Nov-2013 |
Ben Noordhuis |
linux: fix up SO_REUSEPORT back-port Commit 3d2c820 back-ports a patch from the master branch that disables the use of SO_REUSEPORT on Linux for reasons mentioned in the commit log.
linux: fix up SO_REUSEPORT back-port Commit 3d2c820 back-ports a patch from the master branch that disables the use of SO_REUSEPORT on Linux for reasons mentioned in the commit log. Unfortunately, the back-port was incomplete; another setsockopt() call site in src/unix/udp.c was overlooked. This commit rectifies that. Hat tip to Luca Bruno for helping troubleshoot the issue.
show more ...
|
c3e05baf | 25-Nov-2013 |
Marc Schlaich |
gitignore: ignore *.pyc files The gyp build on Windows produces a *.pyc file as of commit 991409e. |
a43537ee | 25-Nov-2013 |
Ben Noordhuis |
test: back-port EMFILE test from master branch Back-port the test from commit 27795cf from the master branch ("unix: fix accept() EMFILE error handling"). |
27795cfc | 25-Nov-2013 |
Ben Noordhuis |
unix: fix accept() EMFILE error handling Fix a bug that was introduced in commit 3ee4d3f ("unix, windows: return error codes directly") and add a regression test for good measure.
unix: fix accept() EMFILE error handling Fix a bug that was introduced in commit 3ee4d3f ("unix, windows: return error codes directly") and add a regression test for good measure. Hat tip to Fedor for pointing out the issue. Fixes #1007.
show more ...
|
dbe99057 | 23-Nov-2013 |
Steven Kabbes |
libuv: add more getaddrinfo errors |
c438e739 | 21-Nov-2013 |
ci-innoq |
fsevents: remove kFSEventStreamCreateFlagNoDefer polyfill The kFSEventStreamCreateFlagNoDefer flag is already defined in CarbonCore/FSEvents.h since OS X 10.5. Fixes #1000. |
3a01e683 | 20-Nov-2013 |
Timothy J Fontaine |
Now working on v0.11.16 |
bfe645ed | 20-Nov-2013 |
Timothy J Fontaine |
2013.11.21, Version 0.11.15 (Unstable) Changes since version 0.11.14: * fsevents: report errors to user (Fedor Indutny) * include: UV_FS_EVENT_RECURSIVE is a flag (Fedor In
2013.11.21, Version 0.11.15 (Unstable) Changes since version 0.11.14: * fsevents: report errors to user (Fedor Indutny) * include: UV_FS_EVENT_RECURSIVE is a flag (Fedor Indutny) * linux: use CLOCK_MONOTONIC_COARSE if available (Ben Noordhuis) * build: make systemtap probes work with gyp build (Ben Noordhuis) * unix: update events from pevents between polls (Fedor Indutny) * fsevents: support japaneese characters in path (Chris Bank) * linux: don't turn on SO_REUSEPORT socket option (Ben Noordhuis) * queue: strengthen type checks (Ben Noordhuis) * include: remove uv_strlcat() and uv_strlcpy() (Ben Noordhuis) * build: fix windows smp build with gyp (Geert Jansen) * unix: return exec errors from uv_spawn, not async (Alex Crichton) * fsevents: use native character encoding file paths (Ben Noordhuis) * linux: handle EPOLLHUP without EPOLLIN/EPOLLOUT (Ben Noordhuis) * windows: use _snwprintf(), not swprintf() (Ben Noordhuis) * fsevents: use FlagNoDefer for FSEventStreamCreate (Fedor Indutny) * unix: fix reopened fd bug (Fedor Indutny) * core: fix fake watcher list and count preservation (Fedor Indutny) * unix: set close-on-exec flag on received fds (Ben Noordhuis) * netbsd, openbsd: enable futimes() wrapper (Ben Noordhuis) * unix: nicer error message when kqueue() fails (Ben Noordhuis) * samples: add socks5 proxy sample application (Ben Noordhuis)
show more ...
|
bde41b25 | 27-Oct-2013 |
Ben Noordhuis |
samples: add socks5 proxy sample application |
ab372499 | 18-Nov-2013 |
Ben Noordhuis |
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 informative to people that have their operating
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 informative to people that have their operating system's error codes memorized.
show more ...
|
f3886989 | 16-Nov-2013 |
Ben Noordhuis |
netbsd, openbsd: enable futimes() wrapper OpenBSD and NetBSD have working futimes() implementations. This commit makes uv_fs_futime() work on those platforms. |
0c05532e | 16-Nov-2013 |
Ben Noordhuis |
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 127.0.0.1 instead. |
e9f75fb1 | 15-Nov-2013 |
Ben Noordhuis |
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 leak them when calling fork() afterwards.
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 leak them when calling fork() afterwards. On Linux, we use the MSG_CMSG_CLOEXEC flag when supported (2.6.23 and up.) On older Linux versions and other platforms, we walk the received file descriptors and set the close-on-exec flag for each fd manually. That won't entirely avoid race conditions when other threads call fork() or clone() but at least we're less likely to leak file descriptors now.
show more ...
|
86b5c1ef | 01-Nov-2013 |
Fedor Indutny |
test: test fsevents error reporting Create a lot of `FSEventStream`s to make `FSEventStreamStart()` fail. Fetch the error code and verify that it is correct. |
c2c92fa6 | 13-Nov-2013 |
Ben Noordhuis |
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 autotools build. |
17711b90 | 13-Nov-2013 |
Ben Noordhuis |
Merge remote-tracking branch 'origin/v0.10' Conflicts: AUTHORS ChangeLog src/unix/darwin.c src/version.c
|
026241ca | 13-Nov-2013 |
Ben Noordhuis |
unix: unbreak bsd build after bbccafb Unbreak the build on the BSDs after commit bbccafb. Move the new uv__platform_invalidate_fd() function from src/unix/darwin.c to src/unix/kqueu
unix: unbreak bsd build after bbccafb Unbreak the build on the BSDs after commit bbccafb. Move the new uv__platform_invalidate_fd() function from src/unix/darwin.c to src/unix/kqueue.c.
show more ...
|
1578a5a3 | 12-Nov-2013 |
Timothy J Fontaine |
Now working on v0.10.20 |
33959f75 | 12-Nov-2013 |
Timothy J Fontaine |
2013.11.13, Version 0.10.19 (Stable) Changes since version 0.10.18: * darwin: avoid calling GetCurrentProcess (Fedor Indutny) * unix: update events from pevents between pol
2013.11.13, Version 0.10.19 (Stable) Changes since version 0.10.18: * darwin: avoid calling GetCurrentProcess (Fedor Indutny) * unix: update events from pevents between polls (Fedor Indutny) * fsevents: support japaneese characters in path (Chris Bank) * linux: don't turn on SO_REUSEPORT socket option (Ben Noordhuis) * build: fix windows smp build with gyp (Geert Jansen) * linux: handle EPOLLHUP without EPOLLIN/EPOLLOUT (Ben Noordhuis) * unix: fix reopened fd bug (Fedor Indutny) * core: fix fake watcher list and count preservation (Fedor Indutny)
show more ...
|
6149b66c | 12-Nov-2013 |
Fedor Indutny |
Merge branch 'v0.10' Conflicts: build.mk src/unix/core.c src/unix/darwin.c
|
f50ccd52 | 12-Nov-2013 |
Fedor Indutny |
core: fix fake watcher list and count preservation Fake watcher list and count should be preserved only if `loop->watchers` was already allocated. |
bbccafbe | 25-Oct-2013 |
Fedor Indutny |
unix: fix reopened fd bug When fd is closed and new one (with the same number) is opened inside kqueue/epoll/port loop's callback - stale events might invoke callbacks on wrong watch
unix: fix reopened fd bug When fd is closed and new one (with the same number) is opened inside kqueue/epoll/port loop's callback - stale events might invoke callbacks on wrong watchers. Check if watcher was changed after invocation and invalidate all events with the same fd. fix #826
show more ...
|
0f5c28b6 | 01-Nov-2013 |
Fedor Indutny |
fsevents: use FlagNoDefer for FSEventStreamCreate Otherwise `FSEventStreamCreate()` will coalesce events, even if they're happening in the interval, bigger than supplied `latency`. In ot
fsevents: use FlagNoDefer for FSEventStreamCreate Otherwise `FSEventStreamCreate()` will coalesce events, even if they're happening in the interval, bigger than supplied `latency`. In other words, if this flag is not set events will happen in separate callback only if there was a delay bigger than `latency` between two consecutive events.
show more ...
|
c6ecf97a | 08-Nov-2013 |
Ben Noordhuis |
windows: use _snwprintf(), not swprintf() Drop the _CRT_NON_CONFORMING_SWPRINTFS hack and just use _snwprintf(). It's a long and complicated story but the gist of it is that the MS
windows: use _snwprintf(), not swprintf() Drop the _CRT_NON_CONFORMING_SWPRINTFS hack and just use _snwprintf(). It's a long and complicated story but the gist of it is that the MS CRT had a swprintf() function before ISO C did, with a different function prototype to boot: the ISO C one takes a |size| argument, the MS one does not. The function prototype that's exported by mingw and mingw-w64 depends on the mingw version and the _CRT_NON_CONFORMING_SWPRINTFS define. If they don't match up, you get the wrong prototype and things will crash at run-time. Reduce the phase space by sidestepping the whole issue: drop swprintf() altogether and use _snwprintf() from now on. Fixes #990.
show more ...
|