Commit Graph

4148 Commits

Author SHA1 Message Date
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
Ryan Dahl
5be0fe2168 more desired api 2011-05-28 16:06:29 -07:00
Ryan Dahl
55de5e3242 improve design doc 2011-05-28 15:40:10 -07:00
Ryan Dahl
18f54bef31 Add doc on desired-api 2011-05-28 01:47:47 -07:00
Bert Belder
be1bfe6c4c Revert AUTHORS update
This reverts commit 9467a92390.
2011-05-27 22:04:14 +02:00
Bert Belder
d5b3ae0f58 usleep -> uv_sleep 2011-05-27 19:41:34 +02:00
Ryan Dahl
982a620f1c Echo server gracefully dies on 'Q'
Allows for better clean up during tests.
2011-05-27 02:11:43 -07:00
Ryan Dahl
e28c0bb60b unix: Use fork instead of vfork in runner. 2011-05-27 01:47:42 -07:00
Ryan Dahl
7e34b7bdfc runner: insert little delay after starting helpers 2011-05-27 01:47:42 -07:00
Ryan Dahl
f0ebf0c7fc Split pump bench into two processes.
And add a pump test with 1 client.
2011-05-27 01:32:48 -07:00
Ryan Dahl
e3923b76b4 UNIX: Bad was_active check in uv_check_start() 2011-05-26 22:50:38 -07:00
Bert Belder
143a09a33d Move variable declarations to top 2011-05-26 02:09:18 +02:00
Bert Belder
9467a92390 Add Igor to AUTHORS 2011-05-24 14:34:55 -07:00
Igor Zinkovsky
802d78e6b1 Adds handling of unicode paths to uv_get_exepath on windows 2011-05-24 12:18:40 -07:00
Igor Zinkovsky
9fc8a7f167 Adds uv_get_exepath API
Only works on Linux, Mac, Windows currently.
2011-05-24 08:40:27 -07:00
Bert Belder
d91b5012bd Test the right thing 2011-05-23 23:56:57 +02:00
Bert Belder
54c95f749b Unix: unbreak uv_is_active
We need a test for it.
2011-05-23 23:53:57 +02:00
Ryan Dahl
40f0ad6d36 unix: fix ref count tests 2011-05-22 12:56:54 -07:00
Ryan Dahl
1352c72e35 Add reference count tests
Broken on UNIX.
2011-05-22 12:56:49 -07:00
Ryan Dahl
c8603a7462 Include stddef.h for NULL 2011-05-19 15:03:26 -07:00
Bert Belder
0177751ff5 Add uv-common.c, move uv_err_name() there 2011-05-19 23:05:25 +02:00
Ryan Dahl
9c2dd6bea9 timer tests to work on unix 2011-05-18 22:23:17 -07:00
Ryan Dahl
103099e175 pump: connect to 127.0.0.1 instead of 0.0.0.0 2011-05-18 21:18:52 -07:00
Bert Belder
ccc2784153 Avoid printf type warning in test-timer-again 2011-05-19 02:28:50 +02:00
Bert Belder
0fa733e0ea Forgot one assert in test-timer-again 2011-05-19 02:02:39 +02:00