- 28 Mar, 2013 2 commits
-
-
Bert Belder authored
Changes since version 0.10.2: * include: remove extraneous const from uv_version() (Ben Noordhuis) * doc: update README, replace `OS` by `PLATFORM` (Ben Noordhuis) * build: simplify .buildstamp rule (Ben Noordhuis) * build: disable -Wstrict-aliasing on darwin (Ben Noordhuis) * darwin: don't select(&exceptfds) in fallback path (Ben Noordhuis) * unix: don't clear flags after closing UDP handle (Saúl Ibarra Corretgé)
-
Saúl Ibarra Corretgé authored
-
- 27 Mar, 2013 2 commits
-
-
Ben Noordhuis authored
The exceptfds set is for polling OOB data, not errors. Fixes joyent/node#5155.
-
Ben Noordhuis authored
The antiquated gcc/clang that ships with Xcode emits waaaay too many false positives.
-
- 26 Mar, 2013 3 commits
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Commit a9740c9b changed the name of the OS var to PLATFORM but forgot to update the README.
-
Ben Noordhuis authored
Fixes the following warning: include/uv.h:236:30: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] UV_EXTERN const unsigned int uv_version(void);
-
- 25 Mar, 2013 4 commits
-
-
Bert Belder authored
-
Bert Belder authored
This is the first officially versioned release of libuv. Starting now libuv will make releases independently of Node.js. Changes since Node.js v0.10.0: * test: add tap output for windows (Timothy J. Fontaine) * unix: fix uv_tcp_simultaneous_accepts() logic (Ben Noordhuis) * include: bump UV_VERSION_MINOR (Ben Noordhuis) * unix: improve uv_guess_handle() implementation (Ben Noordhuis) * stream: run try_select only for pipes and ttys (Fedor Indutny) Changes since Node.js v0.10.1: * build: rename OS to PLATFORM (Ben Noordhuis) * unix: make uv_timer_init() initialize repeat (Brian Mazza) * unix: make timers handle large timeouts (Ben Noordhuis) * build: add OBJC makefile var (Ben Noordhuis) * Add `uv_version()` and `uv_version_string()` APIs (Bert Belder)
-
Bert Belder authored
-
Bert Belder authored
-
- 23 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
Overrides the Objective-C compiler that is used. Defaults to $(CC).
-
- 21 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
This commit fixes two closely related integer overflow bugs: * Timers with a timeout > INT_MAX cause uv__next_timeout() to return a negative value. * Timers with very large timeouts (close or equal to ULLONG_MAX) run on the next tick. In both cases, clamp the values to prevent the overflow from happening. Fixes joyent/node#5101.
-
- 19 Mar, 2013 1 commit
-
-
Brian Mazza authored
uv_timer_get_repeat() should return 0 for timers that haven't been started.
-
- 16 Mar, 2013 2 commits
-
-
Ben Noordhuis authored
Rename the OS make variable to PLATFORM, it conflicts with the OS env var. That is, running `make` when the OS env var is set, may cause spurious build breakage. Fixes #737.
-
Fedor Indutny authored
Its not necesary for TCP and other streams, since fd is always working with kqueue there.
-
- 14 Mar, 2013 2 commits
-
-
Ben Noordhuis authored
Make it understand FIFOs, character devices and sockets.
-
Ben Noordhuis authored
Fixes #740.
-
- 12 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
Inverts the meaning of the 'enable' argument. Before, it actually set the UV_TCP_SINGLE_ACCEPT flag when enable=1. Now it clears it, which is what uv-win does and what you would expect it to do.
-
- 11 Mar, 2013 1 commit
-
-
Timothy J Fontaine authored
-
- 09 Mar, 2013 2 commits
-
-
Bert Belder authored
When iocp sync bypass is in use libuv doesn't expect the system to generate events when an i/o operation completes synchronously. However when iocp emulation is enabled an event will always be generated because SetFileCompletionNotificationModes() doesn't stop OVERLAPPED.hEvent from becoming signaled. This should fix joyent/node#4959.
-
Bert Belder authored
Closes #738.
-
- 08 Mar, 2013 1 commit
-
-
isaacs authored
This error is raised when calling read() or write() on a directory. A bit of googling turns up some cases where this error can be raised that are not properly mapped to EISDIR, but are also cases that libuv doesn't really care about, like the Password Manager API, GetFirmwareEnvironmentVariable, or CreateTapePartition. If libuv ever needs to handle these cases, then I suppose that the ERROR_INVALID_FUNCTION->EISDIR mapping could be done directly in the fs read() and write() functions, but doing so at this point seems premature, as it makes the error code mapping a bit more messy. Fixes joyent/node#4951
-
- 07 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
-
- 06 Mar, 2013 6 commits
-
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Verify that our uv_buf_t type is ABI-compatible with struct iovec.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
Replace a few internal functions in uv-common.h with macros to avoid strict aliasing warnings with older versions of gcc. It's not smart enough to figure out that e.g. a uv_tcp_t is an instance of uv_handle_t with similar alignment requirements and therefore no aliasing happens. More recent versions of gcc don't suffer from this. I'm not normally in the habit of catering to compiler defects but the aliasing warnings drown out legitimate warnings, hence the change.
-
Ben Noordhuis authored
Make the size of the thread pool configurable through an environment variable. For sanity reasons, the size is clamped to the range 1-128.
-
- 05 Mar, 2013 4 commits
-
-
Bert Belder authored
-
Bert Belder authored
Hopefully this fixes joyent/node#4809.
-
Bert Belder authored
In very rare circumstances a uv_read_start() call on a uv_tty_t handle in raw mode would return -1 but there was no actual failure. This patch fixes that.
-
Ben Noordhuis authored
Fixes a busy loop when the file descriptor emits POLLHUP but not POLLIN or POLLOUT, e.g. when polling the read end of a pipe and the write end is closed. Fixes joyent/node#4923.
-
- 04 Mar, 2013 1 commit
-
-
Bert Belder authored
Older versions of GYP would set up the Visual Studio project to link with these libraries by default, but this was changed in r1584 (see https://codereview.chromium.org/12256017). Closes #728
-
- 02 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
Return an error when reading from /proc files fails because the procfs isn't mounted.
-
- 01 Mar, 2013 1 commit
-
-
Ben Noordhuis authored
We abuse uv_write2() to send over UDP handles to child processes. Don't call uv__stream_fd() on those handles, it's a macro that on OS X evaluates to a function that operates on a uv_stream_t with a couple of OS X specific fields. On other Unices it does (handle)->io_watcher.fd, which works but only by accident. Fixes joyent/node#4870.
-
- 28 Feb, 2013 1 commit
-
-
Marc Schlaich authored
-
- 27 Feb, 2013 2 commits
-
-
Timothy J Fontaine authored
-
Ben Noordhuis authored
Only report as an error when status != 0. Stops the platform_output test from being reported as having failed on Jenkins.
-