Ryan Dahl
65f71a2039
Temp disable pipe2 on linux
2011-08-12 04:10:25 -04:00
Ben Noordhuis
20074288ac
build: add BSDmakefile
...
Warns user to run `gmake` instead.
2011-08-12 06:16:36 +02:00
Ben Noordhuis
1485c47999
eio: define HAVE_UTIMES 1 on freebsd, fixes build
2011-08-12 06:16:35 +02:00
Igor Zinkovsky
23e9ecb667
fix memory leak in echo server
2011-08-11 18:19:59 -07:00
Ben Noordhuis
7b5d28e4b9
build: use -pthreads on sunos, -pthread everywhere else
2011-08-12 02:51:16 +02:00
Bert Belder
4c63f554a6
Windows: much better pipe_pound_1000 results
2011-08-12 02:44:02 +02:00
Bert Belder
89aa4078cc
Windows: try to avoid using the thread pool for pipe shutdown
2011-08-12 02:44:01 +02:00
Bert Belder
a2ee4854c6
Windows: dynamically load some ntdll functions
2011-08-12 02:44:00 +02:00
Bert Belder
2d40e35b7e
Style
2011-08-12 02:43:59 +02:00
Bert Belder
b13f46f6cb
Add msvs build products to .gitignore
2011-08-12 02:43:58 +02:00
Ben Noordhuis
d358738954
bench: #undef NANOSEC, defined in time.h on solaris
2011-08-11 23:43:52 +00:00
Ben Noordhuis
c952352f77
build: use -pthreads, older gccs don't recognize -pthread
2011-08-11 23:43:52 +00:00
Ryan Dahl
b44f9d75ea
unix: cloexec stdio streams
2011-08-11 16:35:56 -07:00
Ryan Dahl
f7b4e65090
unix: introduce SPAWN_WAIT_EXEC to turn off poll feature
2011-08-11 15:52:22 -07:00
Ryan Dahl
11aa1ea096
Remove unnecessary casts
2011-08-11 11:27:35 -07:00
Bert Belder
ca633920f5
Windows: fix pipe shutdown
2011-08-11 04:18:29 +02:00
Bert Belder
a89410456c
Whitespace
2011-08-11 04:18:28 +02:00
Ben Noordhuis
e8497aee5a
Add error code UV_EPIPE.
2011-08-11 02:45:27 +02:00
Ben Noordhuis
b328e4cb05
uv-unix: fd 0 is valid file descriptor
...
uv__bind() and uv_tcp_listen() created a new socket
if tcp->fd <= 0 but 0 is a valid file descriptor.
The second bug was that the newly created socket
wasn't actually assigned to tcp->fd.
Fixes failing node.js test:
test/simple/test-regress-GH-746.js
2011-08-11 01:36:20 +02:00
Ryan Dahl
ee2027dd13
fix preprocessor again
2011-08-10 16:16:47 -07:00
Ben Noordhuis
b6b97f305e
uv-unix: guard against self-close by connection_cb
...
connection_cb may close the server socket inside the accept loop, handle it.
Fixes failing node.js tests:
test/simple/test-net-connect-buffer.js
test/simple/test-net-create-connection.js
2011-08-11 00:33:09 +02:00
Ben Noordhuis
afb1859600
uv-unix: remove dead code
2011-08-11 00:33:09 +02:00
Ryan Dahl
06623d15f2
More preprocessor fixes...
2011-08-10 15:01:38 -07:00
Ryan Dahl
dac30a15f2
More preprocessor fixes
2011-08-10 14:56:16 -07:00
Ryan Dahl
5dc8037fcf
Fix mingw build by using preprocessor correctly.
2011-08-10 14:40:52 -07:00
Ryan Dahl
db190c7b4f
unix: uv_pipe_connect should call uv__stream_open
2011-08-10 14:22:10 -07:00
Ryan Dahl
b8fe56d837
Remove unnecessary casts
2011-08-10 14:22:10 -07:00
Bert Belder
9a127af7c0
Add header files to gyp script
...
This makes generated project files more convenient to work with.
2011-08-10 22:58:09 +02:00
Bert Belder
71396f6a8f
Polish create-msvs-files script
2011-08-10 22:58:06 +02:00
Bert Belder
d3cc9a39ed
Move gyp files to root
2011-08-10 22:58:00 +02:00
Robert Mustacchi
4b1b8faea8
Clean up SunOS build
2011-08-09 23:51:50 +02:00
Peter Bright
54a6c6fee0
Ignore VC++ files.
2011-08-09 14:37:02 -07:00
Peter Bright
3409c9b383
Include important Windows environmental variables even when a blank/custom environment is specified.
2011-08-09 14:29:51 -07:00
Ben Noordhuis
4abd1e0ccc
uv-unix: close file descriptors immediately in uv_close()
...
Don't defer closing of socket and pipe file descriptors to the
next iteration of the event loop. It breaks node.js unit tests
that assume the call to `server.close()` immediately frees up
the bound to address.
2011-08-09 23:14:38 +02:00
Ben Noordhuis
0c815cfe89
eio: define HAVE_UTIMES 1 on cygwin, fixes build
2011-08-09 22:58:21 +02:00
Ryan Dahl
0266c0ec57
Change for MinGW on Win 2k3
2011-08-09 12:24:01 -07:00
Ryan Dahl
e5f513cf58
Remove desired-api.md
2011-08-09 12:23:41 -07:00
Ben Noordhuis
3f8bbb8c0f
bench: create separate arrays for TCP and pipe streams
...
Size and alignment of tcp_conn_rec and pipe_conn_rec may differ
so it's not safe to reuse a single array of conn_rec elements.
2011-08-09 20:02:59 +02:00
Ryan Dahl
02ca3080a6
EIO_CONFIG_H not used on MinGW
2011-08-09 10:30:25 -07:00
Bert Belder
831b15a47c
Windows: fix WaitNamedPipe thread bug
2011-08-09 17:35:18 +02:00
Ben Noordhuis
65ed582cae
bench: run pound benchmark for at least 5 seconds, track connect failures
2011-08-09 03:16:29 +02:00
Peter Bright
648baa3826
Fix missing prototype warnings.
2011-08-08 18:11:01 -07:00
Ben Noordhuis
cee3cc6940
bench: use high-res timer in pound benchmark
2011-08-09 01:51:25 +02:00
Igor Zinkovsky
f9eda88fe6
fix for pound benchmark
2011-08-08 15:09:14 -07:00
Ryan Dahl
75c109055d
Bring back standalone makefiles for a better transition
2011-08-08 13:42:01 -07:00
Ben Noordhuis
58dd01ab58
build: add debug target to Makefile
2011-08-08 16:07:27 +02:00
Ryan Dahl
1493dcf359
Peter Bright's MSVS fixes
2011-08-06 22:36:59 -07:00
Ryan Dahl
42c76f720f
Add pthread-win32 temporarily
...
Until Node does not rely on libeio interfaces.
2011-08-06 19:05:13 -07:00
Ben Noordhuis
7dda111306
test, bench: add --list option to runners, prints available tests
2011-08-06 23:57:28 +02:00
Andrea Lattuada
6c3205557b
Remove uv_flag_* functions in favor of manual bit twiddling
...
Fixes #121
Fixes #129
2011-08-06 12:12:25 -07:00