Ryan Dahl
abe0b1ea61
Better request API
...
Instead of uv_shutdown, uv_write, uv_connect taking raw uv_req_t we subclass
uv_req_t into uv_shutdown_t, uv_write_t, and uv_connect_t.
uv_req_init is removed.
2011-07-14 10:45:28 -07:00
Igor Zinkovsky
f5ff869488
allocate windows pipe handles on demand
2011-07-13 20:43:10 -07:00
Ben Noordhuis
9aff11026b
runner: bring back benchmark output
2011-07-14 03:33:56 +02:00
Bert Belder
4c2d0545fc
Whitespace fixes
2011-07-14 03:00:21 +02:00
Ben Noordhuis
a29b2099ac
Make it possible to run individual tests.
...
Fixes #100 .
2011-07-14 02:19:36 +02:00
Ben Noordhuis
9c19391536
test-ping-pong: cast callback to expected prototype.
2011-07-13 18:06:05 +02:00
Ben Noordhuis
afc96b58c8
test-delayed-accept.c: fix type mismatch in comparison.
2011-07-13 18:06:05 +02:00
Ben Noordhuis
1a53b89847
test-hrtime: fix printf() compiler warning.
2011-07-13 18:06:05 +02:00
Ben Noordhuis
0ebd2ce02d
test-delayed-accept: remove unused variable.
2011-07-13 18:06:05 +02:00
Ben Noordhuis
d7389e6f89
test-async: remove unused variable.
2011-07-13 18:06:05 +02:00
Ben Noordhuis
4829ad5d04
test-getsockname: fix function prototype, clean up unused variable.
2011-07-13 18:06:05 +02:00
Bert Belder
036d5db16f
test-getsockname: minor cleanups
2011-07-13 16:39:54 +02:00
Henry Rawas
6a67b51b4c
fix uv_getsockname for listening socket
2011-07-12 22:43:43 +02:00
Henry Rawas
6b32ebc54f
uv_getsockname
2011-07-12 09:57:08 -07:00
Igor Zinkovsky
2e49cc56d1
Rename uv_pipe_create to uv_pipe_bind.
...
Fixes issue #97 .
2011-07-11 15:24:35 -07:00
Igor Zinkovsky
b6a6dae34f
Named pipes implementation for Windows
2011-07-09 21:41:04 +02:00
Robert Mustacchi
8c00b369b4
C99 compatibility.
...
Get 99% of the way there for --std=c89 -pedantic for core files. Also cleans
up follow up warnings and others in tests.
2011-07-07 21:39:08 -07:00
Ben Noordhuis
1717d42165
read() and write() return ssize_t, not size_t.
...
rv < 0 error checks were always false.
2011-07-08 00:40:13 +02:00
Ryan Dahl
ce8ff3031c
src/ and include/ directories
...
Helps #71 but does not update the MSVC files.
2011-07-07 07:52:57 -07:00
Henry Rawas
a4b05abce6
optional IPv6 for echo-server
2011-07-06 17:07:37 -07:00
Ben Noordhuis
9a5b47d915
uv_sleep() takes milliseconds, usleep() microseconds. Convert argument.
2011-07-06 13:53:01 -07:00
Henry Rawas
26880b0c90
win: IPv6 connect
2011-07-05 09:45:57 -07:00
Ben Noordhuis
09bd08ed97
Assert that uv_hrtime() actually sleeps for several microseconds.
2011-07-01 12:28:24 -04:00
Igor Zinkovsky
320057d588
uv_stream_t
2011-07-01 05:28:02 -07:00
Ryan Dahl
5b7cfe4bd4
unbreak 'make bench'
2011-06-28 21:11:33 +02:00
Ryan Dahl
796621c773
Implement c-ares on unix.
2011-06-28 21:08:17 +02:00
Ryan Dahl
fa514948fc
Move around uv_hrtime in the header
2011-06-28 14:30:10 +02:00
Ryan Dahl
7b56134f73
Rename uv_get_hrtime, uv_get_exepath to uv_hrtime, uv_exepath
2011-06-28 14:26:28 +02:00
Matt Stevens
caf1a99115
IPv6 support
...
Fixes #70 .
Fixes #19 .
2011-06-28 14:11:21 +02:00
Bert Belder
8801925b41
Un-break the unix build
2011-06-25 17:47:46 +02:00
Bert Belder
21969b7a6f
benchmark-getaddrinfo: resolve more, use less concurrency
2011-06-25 17:47:39 +02:00
Bert Belder
16f471fa2e
Separate uv_getaddrinfo tests
2011-06-25 17:47:39 +02:00
Bert Belder
f04abc966a
Avoid type warnings in benchmark-sizes
2011-06-25 17:47:33 +02:00
Bert Belder
5115d446c6
Misc. cleanups
2011-06-25 17:38:35 +02:00
Henry Rawas
295fa6f538
Windows: getaddrinfo support
2011-06-23 01:31:17 +02:00
Ryan Dahl
af15cbe6e9
Handle EAGAIN in some of the read_cb tests
2011-06-22 18:37:51 +02:00
Henry Rawas
4aeee38484
c-ares integration on windows
2011-06-22 15:21:01 +02:00
Robert Mustacchi
6eefdaf966
Fixes #61 . Failure in test-hrtime
2011-06-19 14:03:01 +02:00
Bert Belder
4eb06151bd
Split up uv_loop type
2011-06-17 23:00:39 +02:00
Bert Belder
debae03771
Declare variables first
2011-06-17 23:00:38 +02:00
Ryan Dahl
8218146a1c
uv_ip4_addr: Clear the struct sockaddr_in before using
2011-06-17 18:53:54 +02:00
Ryan Dahl
24baf36075
Add test for uv_get_hrtime
2011-06-17 11:47:35 +02:00
Ryan Dahl
2b5707d834
Correct uv_counter API
2011-06-12 15:55:17 +02:00
Ryan Dahl
aabe56b680
uv_tcp_init() must be called before uv_accept()
...
Windows broken.
2011-06-09 23:33:33 +02:00
Ryan Dahl
9400c3ffff
Add some counters for testing
2011-06-09 23:33:30 +02:00
Ryan Dahl
6d07c0d522
benchmarks should print helper output too
2011-06-09 19:45:19 +02:00
Ryan Dahl
b3863c8051
nread should have type ssize_t
2011-06-09 19:45:19 +02:00
Ryan Dahl
b2df6d9a99
Increase racy sleep to make some tests pass
2011-06-08 15:18:03 +02:00
Ryan Dahl
04b6aaeb44
API Change: Move close_cb to uv_close from init functions
2011-06-08 05:44:22 -07:00
Ryan Dahl
7db9629f87
API Change: Remove data parameters from init functions
2011-06-08 05:43:02 -07:00