History log of /libuv/ (Results 3326 – 3350 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
0ad46bdb28-Feb-2013 Marc Schlaich

build, windows: return an error code on failure

49d2ae3327-Feb-2013 Timothy J Fontaine

test: fix tap output even when ok but have output

1821bba427-Feb-2013 Ben Noordhuis

test: fix tap output check

Only report as an error when status != 0.

Stops the platform_output test from being reported as having failed
on Jenkins.

cdf69dbe27-Feb-2013 Ben Noordhuis

build: add distclean target to out-of-tree builds

dd20025227-Feb-2013 Ben Noordhuis

build: make clean target remove all build artifacts

78dcaa5c27-Feb-2013 Ben Noordhuis

darwin: fix read from uninitialized struct kevent

In the OS X fallback code, don't read from the struct when the kevent()
syscall times out.

7c3b9e5a27-Feb-2013 Ben Noordhuis

unix: make stream.c internal functions static

a924f79024-Feb-2013 Ben Noordhuis

test: remove 'is root?' check

I debug tests regularly as root (because dtrace and dtruss require the
additional privileges). The 'is root?' check gets in the way more often
than it p

test: remove 'is root?' check

I debug tests regularly as root (because dtrace and dtruss require the
additional privileges). The 'is root?' check gets in the way more often
than it prevents me from doing something silly. Remove it.

show more ...

85124d7e27-Feb-2013 Marc Schlaich

build, windows: allow override of python executable

Fixes #723.

a0c1d84c26-Feb-2013 Ben Noordhuis

linux, darwin: don't touch environ in uv_setup_args

Don't overwrite the environment. On OS X, the entries in the environ
table are not necessarily adjacent. It's arguably also safer for

linux, darwin: don't touch environ in uv_setup_args

Don't overwrite the environment. On OS X, the entries in the environ
table are not necessarily adjacent. It's arguably also safer for setuid
binaries.

Fixes joyent/node#4847.

show more ...

c5101ae915-Feb-2013 Andrius Bentkus

unix, windows: add common uv_udp_* error checking

ae2b30a426-Feb-2013 Saúl Ibarra Corretgé

windows: initialize stop_flag explicitly

The default loop lives in the bss section so it's zeroed on startup
but loops created with uv_loop_new() live on the heap and contain
random

windows: initialize stop_flag explicitly

The default loop lives in the bss section so it's zeroed on startup
but loops created with uv_loop_new() live on the heap and contain
random garbage. Initialize the stop_flag explicitly to avoid spurious
bugs.

show more ...

72bbf5d725-Feb-2013 Timothy J Fontaine

test: don't rewind_cursor when using tap_output

4b95748225-Feb-2013 Saúl Ibarra Corretgé

windows: fix uv_stop in ONCE and NOWAIT modes

Same as the fix in 492efb9 but this time for uv-win.

492efb9525-Feb-2013 Ben Noordhuis

unix: make uv_stop work when embedded

* Make uv_stop() work when libuv is embedded in another event loop.

* Fix a small bug where loop->stop_flag was not reset when mode ==
UV

unix: make uv_stop work when embedded

* Make uv_stop() work when libuv is embedded in another event loop.

* Fix a small bug where loop->stop_flag was not reset when mode ==
UV_RUN_ONCE or UV_RUN_NOWAIT. The next call to uv_run() would return
immediately without doing any work.

show more ...

Revision tags: node-v0.9.7
bb3d1e2416-Jan-2013 Saúl Ibarra Corretgé

unix, windows: add uv_stop, stop running event loop

7988012116-Jan-2013 Saúl Ibarra Corretgé

windows: align uv_run code with unix

ce1a266c25-Feb-2013 Marc Schlaich

build: fix misleading vcbuild.bat error message

6ba6f4b425-Feb-2013 Ben Noordhuis

build: turn on strict aliasing in release builds

39c8a90a25-Feb-2013 Ben Noordhuis

unix: set errno in sendfile emulation

The sendfile emulation in src/unix/fs.c polls the file descriptor for
write readiness. If POLLERR or POLLHUP is set, it bails out but doesn't
se

unix: set errno in sendfile emulation

The sendfile emulation in src/unix/fs.c polls the file descriptor for
write readiness. If POLLERR or POLLHUP is set, it bails out but doesn't
set errno (hence it doesn't report a useful error code). Rectify that.

Fixes #620.

show more ...

b04fc33e25-Feb-2013 Ben Noordhuis

linux: use eventfds for async handles

Use eventfds to drive async handles, fall back to regular pipes on older
kernels (pre-2.6.22).

Gives a nice boost on the async handle bench

linux: use eventfds for async handles

Use eventfds to drive async handles, fall back to regular pipes on older
kernels (pre-2.6.22).

Gives a nice boost on the async handle benchmarks. Before:

12,516,113 async events in 5.0 seconds (2,503,222/s, 1,048,576 unique
async1: 11.95 sec (83,701/sec)
async2: 11.65 sec (85,862/sec)
async4: 5.20 sec (192,154/sec)
async8: 9.97 sec (100,315/sec)
async_pummel_1: 1,000,000 callbacks in 2.56 seconds (389,919/sec)
async_pummel_2: 1,000,000 callbacks in 2.65 seconds (377,205/sec)
async_pummel_4: 1,000,000 callbacks in 2.18 seconds (457,704/sec)
async_pummel_8: 1,000,000 callbacks in 4.19 seconds (238,632/sec)

After:

16,168,081 async events in 5.0 seconds (3,233,616/s, 1,048,576 unique
async1: 11.08 sec (90,213/sec)
async2: 10.17 sec (98,297/sec)
async4: 4.81 sec (207,789/sec)
async8: 8.98 sec (111,419/sec)
async_pummel_1: 1,000,000 callbacks in 1.16 seconds (863,296/sec)
async_pummel_2: 1,000,000 callbacks in 1.45 seconds (691,459/sec)
async_pummel_4: 1,000,000 callbacks in 0.66 seconds (1,514,770/sec)
async_pummel_8: 1,000,000 callbacks in 1.42 seconds (704,549/sec)

That's a speedup from anywhere between 10% to 330%.

show more ...

9215165825-Feb-2013 Ben Noordhuis

unix: abstract away async pipe infrastructure

This commit lays the groundwork for the switch to eventfds on Linux.

e89aced824-Feb-2013 Ben Noordhuis

darwin: implement uv_set_process_title, part 2

Make changes to the process title visible to tools like `ps`.

The argv clobber technique is reasonably portable across Unices;
the

darwin: implement uv_set_process_title, part 2

Make changes to the process title visible to tools like `ps`.

The argv clobber technique is reasonably portable across Unices;
the common code has been moved into src/unix/proctitle.c and is used
on Linux and OS X. Other platforms will probably follow in the future.

show more ...

14eb8b0324-Feb-2013 Ben Noordhuis

darwin: implement uv_set_process_title, part 1

Apply undocumented Carbon magic to change the process title in a way
that's visible in the Activity Monitor.

0761fb5124-Feb-2013 Ben Noordhuis

build: support 64 bits darwin builds

Before this commit, gyp built 32 bits versions of libuv exclusively.

Enable with:

$ ./gyp_uv -Dtarget_arch=x64

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