Commit Graph

322 Commits

Author SHA1 Message Date
Bert Belder
608917a00f Add test-hrtime to vs solution 2011-06-17 23:00:37 +02:00
Ryan Dahl
b7b7df090c Move uv_ip4_addr to uv-common.c 2011-06-17 18:56:43 +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
c4c022fb0c move uv_get_exepath() to platform files 2011-06-17 13:13:27 +02:00
Ben Noordhuis
d880491616 Document that writes are in-order. Fixes #59. 2011-06-17 12:22:07 +02:00
Ryan Dahl
24baf36075 Add test for uv_get_hrtime 2011-06-17 11:47:35 +02:00
Robert Mustacchi
cf45384a93 Add high-resolution timestamp support 2011-06-17 11:35:36 +02:00
Henry Rawas
afa3600aaa Make c-ares build on windows 2011-06-16 11:48:55 -07:00
Bert Belder
3b83125691 Fix c-ares build on windows 2011-06-16 02:30:44 +02:00
Ben Noordhuis
1987728fa8 uv_ip4_addr() should take a const char*, not a mutable char*. 2011-06-16 00:03:04 +02:00
Ryan Dahl
49a2ed6120 c-ares unix 2011-06-15 14:23:46 +02:00
Bert Belder
dae2c09796 Compile c-ares into libuv 2011-06-15 00:41:27 +02:00
Henry Rawas
a9838a1cbb Land c-ares in libuv 2011-06-15 00:16:26 +02:00
Bert Belder
0a73e714ce Correct ssize_t detection 2011-06-14 20:28:09 +02:00
Ryan Dahl
2ec77b363b Add docs about calling uv_accept 2011-06-14 11:58:04 +02:00
Bert Belder
ff8485ac11 Add Ben to AUTHORS 2011-06-13 12:31:03 -07:00
Ben Noordhuis
043d3860d9 Silence g++ warning type qualifiers ignored on function return type.
Closes #54
2011-06-13 21:24:54 +02:00
Ryan Dahl
2b5707d834 Correct uv_counter API 2011-06-12 15:55:17 +02:00
Bert Belder
3b3df30374 Windows: uv_tcp_init before uv_accept 2011-06-12 14:53:07 +02:00
Bert Belder
ebc73022f8 Define ssize_t if necessary 2011-06-12 14:52:20 +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
Bert Belder
b168bd1f70 Windows: do not report read/listen errors after uv_close 2011-06-08 22:06:12 +02:00
Bert Belder
4809de9cf2 Misc. cleanups 2011-06-08 22:06:11 +02:00
Bert Belder
9b1123b219 Use proper types instead of void pointers to store loop callbacks 2011-06-08 22:06:10 +02:00
Bert Belder
cd6ceb0ef4 Spaces, no tabs please 2011-06-08 22:06:09 +02:00
Ryan Dahl
b2df6d9a99 Increase racy sleep to make some tests pass 2011-06-08 15:18:03 +02:00
Ryan Dahl
e04cc71e1a Remove EV_MULTIPLICITY=0 for ease of use 2011-06-08 15:13:02 +02:00
Ryan Dahl
2323b31856 Remove -pedantic flag for now (too annoying) 2011-06-08 14:56:42 +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
Bert Belder
e58a1abff0 Refactor request handling on Windows
- keep a list of completed reqs to be returned.
- do not implicitly close a socket after error or eof+shutdown.
2011-06-07 18:11:43 +02:00
Bert Belder
cfca30433f API change: report accept errors to connection_cb 2011-06-07 18:11:43 +02:00
Bert Belder
fbd2d7a194 Misc. cleanups 2011-06-07 18:11:42 +02:00
Ryan Dahl
3ee60b7351 test runner separator should be paired with progress bar 2011-06-07 14:23:40 +02:00
Ryan Dahl
8a0742910c accept_cb -> connection_cb 2011-06-07 14:12:25 +02:00
Ryan Dahl
a7494416e9 Add -Wno-variadic-macros as it's apparently okay in MSVC 2011-06-07 10:06:12 +02:00
Ryan Dahl
a1b9be16ca Use -pedantic flag to avoid breaking Windows build 2011-06-07 10:02:08 +02:00
Bert Belder
ed623b3a71 Add test-shutdown-eof to msvc project 2011-06-07 00:44:26 +02:00
Bert Belder
aa59c81d60 Declare variables first please 2011-06-07 00:35:18 +02:00
Bert Belder
3d9b965aee Whitespace error 2011-06-07 00:34:34 +02:00
Ryan Dahl
acbd168069 Add test to assert behavior of uv_tcp_t after shutdown
Handles should *never* call the close callback without the user having first
issued a uv_close() command.

This test is broken on windows. See #52.
2011-06-03 02:54:50 -07:00
Ryan Dahl
903c07bf98 API Change: uv_close only called by user - never automatically
Add test that failing on_connect callback does not trigger on_close.
2011-06-03 02:49:55 -07:00
Ryan Dahl
7770b1a1f6 API change: alloc_cb moved to uv_read_start()
Fixes #47.
2011-06-03 02:30:00 -07:00
Ryan Dahl
6b07791598 API Change: Pass sockaddr_in by value instead of reference 2011-06-03 02:19:35 -07:00
Ryan Dahl
11a4ad50c8 Separate out uv_handle_t into different types
Fixes #4
2011-06-03 11:03:52 +02:00
Vanilla Hsu
fb5262abdc Support FreeBSD 2011-06-03 06:46:16 +02:00
Ryan Dahl
ee712eba36 more desired api 2011-05-28 18:52:33 -07:00