Ben Noordhuis
|
404d697dc4
|
uv-unix: undo accidental revert of b700896 in 5ec2575
|
2011-08-02 01:12:57 +02:00 |
|
Ben Noordhuis
|
aa37c698ee
|
test: add platform-specific checks for kill-after-spawn test
|
2011-08-02 00:46:44 +02:00 |
|
Ben Noordhuis
|
5a15717144
|
test: make spawn_helper4 never return
Its whole raison d'être is to sleep until it's killed.
|
2011-08-02 00:46:44 +02:00 |
|
Igor Zinkovsky
|
5af7423f90
|
always use PATH from parent
|
2011-08-01 14:28:39 -07:00 |
|
Ryan Dahl
|
5ec2575c0e
|
unix: Add UV_READABLE, UV_WRITABLE flags; clean up uv_shutdown
|
2011-08-01 13:55:55 -07:00 |
|
Ben Noordhuis
|
e56c1d7a60
|
test: exit with status code 1 in spawn_helper4
Fixes broken test spawn_and_kill.
|
2011-08-01 22:42:32 +02:00 |
|
Ben Noordhuis
|
31ecdcf3a4
|
test: move run-test spawn helpers to a separate function
|
2011-08-01 22:42:32 +02:00 |
|
Igor Zinkovsky
|
6c86f9e0a8
|
windows: get values of path and pathext env variables when they're not supplied
|
2011-08-01 13:40:48 -07:00 |
|
Ben Noordhuis
|
b7008965bc
|
uv-unix: unlock pipe after use, carry over lock file from uv_pipe_bind()
|
2011-08-01 22:23:06 +02:00 |
|
Ben Noordhuis
|
023f99a609
|
test: gets(3)? Just say no!
|
2011-08-01 18:14:14 +02:00 |
|
Ben Noordhuis
|
d24403ac8e
|
uv-unix: safely close pipe file descriptors
|
2011-08-01 18:06:20 +02:00 |
|
Ben Noordhuis
|
a3852a7d73
|
uv-unix: set stream->accepted_fd=-1 in uv_pipe_init()
stream->accepted_fd was zeroed in uv_pipe_init() and that made
uv__finish_close() close the stdin file descriptor. Not good.
|
2011-08-01 18:05:55 +02:00 |
|
Ryan Dahl
|
e9bee5131a
|
add spawn benchmark
|
2011-07-30 22:45:03 -07:00 |
|
Igor Zinkovsky
|
1d6117a89b
|
windows: set mode for child pipe handle
|
2011-07-30 10:55:30 -07:00 |
|
Igor Zinkovsky
|
3e6611a693
|
more output
|
2011-07-29 23:54:52 -07:00 |
|
Igor Zinkovsky
|
d272a2183d
|
Windows: spawn child processes
|
2011-07-29 19:02:51 -07:00 |
|
Ryan Dahl
|
7108ca8853
|
uv_spawn requires stdio pipes to be initialized
|
2011-07-29 15:37:00 -07:00 |
|
Ben Noordhuis
|
78e94e9589
|
bench: remove unused locals from benchmark-pump.c
|
2011-07-29 21:07:09 +02:00 |
|
Ben Noordhuis
|
eed6f395d1
|
pipe: uv_pipe_listen raises UV_EINVAL on unbound socket
|
2011-07-29 04:22:59 +02:00 |
|
Ben Noordhuis
|
8e8af8fd34
|
uv-unix: use lock file to detect stale UNIX sockets
|
2011-07-29 03:59:55 +02:00 |
|
Ben Noordhuis
|
3c057ff8e5
|
uv-unix: add simple lock file API for internal use
|
2011-07-29 03:59:55 +02:00 |
|
Ryan Dahl
|
d0e1e62d87
|
Increase eio thread stacksize
|
2011-07-28 18:53:20 -07:00 |
|
Ryan Dahl
|
cf5babef80
|
Fix getaddrinfo bug
|
2011-07-28 21:47:43 -04:00 |
|
Ryan Dahl
|
a0994ac8fb
|
Fix solaris build
|
2011-07-28 23:41:39 +00:00 |
|
Tom Hughes
|
6203c932d4
|
Fix memleak in libeio.
|
2011-07-27 23:23:28 +02:00 |
|
Igor Zinkovsky
|
fc7bc2be70
|
fix mingw build; add stubs for child process API
|
2011-07-27 11:05:32 -07:00 |
|
Ben Noordhuis
|
a1adfe3e23
|
uv-unix: cast argument to uv__stream_open() to uv_stream_t*
|
2011-07-27 03:55:11 +02:00 |
|
Ryan Dahl
|
ddee1821fa
|
Add spawn_stdout test
|
2011-07-25 17:11:23 -07:00 |
|
Ryan Dahl
|
92bc7b4959
|
Start uv_spawn()
Unix only at the moment. Lacks test for stdio
|
2011-07-25 16:19:27 -04:00 |
|
Igor Zinkovsky
|
252da78830
|
uv_std_handle + uv_listen on stdin
|
2011-07-25 10:28:50 -07:00 |
|
Igor Zinkovsky
|
e7497227bd
|
merge uv_tcp_listen and uv_pipe_listen into uv_listen
|
2011-07-22 16:57:09 -07:00 |
|
Ryan Dahl
|
84ebddad88
|
long lines
|
2011-07-22 03:35:12 -07:00 |
|
Bert Belder
|
2806b0386b
|
Windows: do not initialize pipe handle in uv_pipe_accept
|
2011-07-22 12:08:27 +02:00 |
|
Ben Noordhuis
|
52487194cf
|
uv-unix: fix 'comparison between signed and unsigned integer expressions'
|
2011-07-22 01:45:06 +02:00 |
|
Ben Noordhuis
|
80d804b909
|
unix: build with -Wall -Wextra -Wno-unused-parameter
|
2011-07-22 01:42:55 +02:00 |
|
Ben Noordhuis
|
272f164e6a
|
uv-unix: uv_pipe_bind: raise UV_EACCESS on inaccessible socket
Fixes failing test pipe_bind_error_addrnotavail.
|
2011-07-21 19:48:42 +02:00 |
|
Ben Noordhuis
|
27999e839a
|
test: update BAD_PIPENAME for Unices, check for UV_EACCESS
|
2011-07-21 19:48:42 +02:00 |
|
Igor Zinkovsky
|
186abb00bc
|
windows: return UV_EACCESS for invalid pipe name
|
2011-07-21 10:39:08 -07:00 |
|
Ben Noordhuis
|
7fbe0c3882
|
test: run-tests helper_name runs helper in same process
Fixes #116.
|
2011-07-21 19:02:19 +02:00 |
|
Ben Noordhuis
|
fb42f82df6
|
uv-unix: uv_pipe_bind: raise UV_EINVAL if pipe already bound
Fixes failing test pipe_bind_error_inval.
|
2011-07-21 18:18:34 +02:00 |
|
Ben Noordhuis
|
580a5b464f
|
uv-unix: uv_pipe_listen: raise UV_ENOTCONN if pipe not bound
Fixes failing test pipe_listen_without_bind.
|
2011-07-21 18:18:34 +02:00 |
|
Ben Noordhuis
|
afd22904ea
|
ev: mark inline functions in ev.h with __attribute__((unused))
Silences the ton of warnings you get with `gcc -Wall -Wextra`.
|
2011-07-21 15:55:23 +02:00 |
|
Ben Noordhuis
|
1028a9c6a7
|
uv-unix: handle EINTR properly
Fixes #113.
|
2011-07-21 15:22:59 +02:00 |
|
Bert Belder
|
5b532d5f60
|
Windows: do not hang if LOOP->refs become 0 in a prepare callback
|
2011-07-21 14:57:27 +02:00 |
|
Bert Belder
|
1ab28df433
|
Test that loop refs going down to zero in a prepare callback does not hang the event loop
|
2011-07-21 14:53:40 +02:00 |
|
Bert Belder
|
9d8c9cce7c
|
Move loop reference tests to their own file
|
2011-07-21 14:51:56 +02:00 |
|
Bert Belder
|
6e505766be
|
Windows: follow libev loop semantics more closely
|
2011-07-21 04:25:01 +02:00 |
|
Igor Zinkovsky
|
f8bdddcda9
|
Allow pipe name to be in utf8 for uv_pipe_bind and uv_pipe_connect
|
2011-07-20 18:55:40 -07:00 |
|
Igor Zinkovsky
|
ee5236cf56
|
Windows: make uv_pipe_bind fail for the pipe name already in-use
|
2011-07-20 18:48:35 -07:00 |
|
Ben Noordhuis
|
c4611a4148
|
uv-unix: move stream->fd >= 0 asserts out of connection error path
on_connect callback must be invoked even if the connect() syscall
fails. stream->fd == -1 in that case.
|
2011-07-21 03:35:14 +02:00 |
|