Commit Graph

33 Commits

Author SHA1 Message Date
Bert Belder
4eb06151bd Split up uv_loop type 2011-06-17 23:00:39 +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
1987728fa8 uv_ip4_addr() should take a const char*, not a mutable char*. 2011-06-16 00:03:04 +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
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
cfca30433f API change: report accept errors to connection_cb 2011-06-07 18:11:43 +02:00
Ryan Dahl
8a0742910c accept_cb -> connection_cb 2011-06-07 14:12:25 +02:00
Ryan Dahl
a1b9be16ca Use -pedantic flag to avoid breaking Windows build 2011-06-07 10:02:08 +02: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
e3923b76b4 UNIX: Bad was_active check in uv_check_start() 2011-05-26 22:50:38 -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
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
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
3d0332ed6e unix: uv_timer_get, uv_set_repeat
Fixes #43
2011-05-18 13:24:38 -07:00
Ryan Dahl
bfb4e5e486 Override default backend for OSX 2011-05-17 14:56:24 -07:00
Ryan Dahl
02b43d4ce8 add uv_err_tostr 2011-05-16 22:28:42 -07:00
Ryan Dahl
2aabd44d77 unix: fix ref count for timer - unbreaks loop_handles test 2011-05-16 17:28:43 -07:00
Ryan Dahl
816289ae8f unix: implement timers
currently loop_handles is broken.
2011-05-16 17:08:43 -07:00
Ryan Dahl
b969809d20 unix: stub out timer methods 2011-05-16 16:26:58 -07:00
Bert Belder
899ebf2371 uv_is_active for *nix 2011-05-16 21:46:07 +02:00
Ryan Dahl
2b8812ffe1 uv_buf -> uv_buf_t 2011-05-13 07:15:02 -07:00
Ryan Dahl
2ef3c6c632 oio -> uv 2011-05-11 20:21:49 -07:00