1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00

5501 Commits

Author SHA1 Message Date
Bert Belder
a4fb171087 oio_errno -> oio_err_code
`errno` can't be used as a struct member on windows.
2011-04-20 03:16:57 +02:00
Bert Belder
b6d4bf16a9 Finalize error handling api. Breaks unix and windows.
Closes #15
Closes #18
2011-04-20 02:47:49 +02:00
Bert Belder
67a3fa24dc Revert "Remove oio_err - use ints"
This reverts commit 111536c9e567a08530516b904c6d7f34d307538a.
2011-04-19 23:48:47 +02:00
Bert Belder
62a56d3fda Minor license update 2011-04-19 17:16:54 +02:00
Bert Belder
8a187171ed Remove oio_write2.
Closes #20
2011-04-19 17:04:31 +02:00
Bert Belder
64d27f26f6 Add unix files and documentation as non-compile items to the solution 2011-04-19 16:53:06 +02:00
Bert Belder
53f9d5a841 Allow tests and benchmarks to use the same helpers.
Closes #21.
2011-04-19 14:51:10 +02:00
Bert Belder
2f1150e680 Fix windows build. Test-connection-fails still fails. 2011-04-19 14:22:18 +02:00
Ryan Dahl
111536c9e5 Remove oio_err - use ints 2011-04-19 02:29:36 -07:00
Ryan Dahl
595756048c Linux passes test_connection_fail 2011-04-19 02:09:58 -07:00
Ryan Dahl
461f0a74ce Add test-connection-fail. Not yet passing linux.
Feel free to modify.
2011-04-19 01:50:50 -07:00
Ryan Dahl
1a99dcc980 Add ping-pong benchmark
On Linux I'm getting

    ping_pongs: 22807 pings
2011-04-18 23:51:53 -07:00
Ryan Dahl
2cbcbdd1a4 Update Makefile for benchmark runner. 2011-04-18 23:05:47 -07:00
Bert Belder
5275b036b0 Benchmark runner 2011-04-19 04:47:21 +02:00
Ryan Dahl
e55a84de36 put test/runner in gitignore 2011-04-18 13:02:30 -07:00
Ryan Dahl
61e1f5f3c9 s/oio_tcp_handle_init/oio_tcp_init/ 2011-04-18 13:01:50 -07:00
Ryan Dahl
8f6a175e9d s/oio_tcp_handle_accept/oio_accept/ 2011-04-18 12:53:02 -07:00
Ryan Dahl
cf4fbc0925 Add copyright headers, license file.
closes #17.
2011-04-18 11:11:30 -07:00
Bert Belder
981616514b More MinGW compatibility 2011-04-18 19:29:11 +02:00
Ryan Dahl
6250e986d8 Readme 2011-04-18 10:18:22 -07:00
Bert Belder
50e3c5fa97 Resolve MinGW compile errors 2011-04-18 18:08:36 +02:00
Bert Belder
a3be5339e2 Rename test-runner to just runner
And a minor fix to the VS solution.
2011-04-18 14:44:01 +02:00
Ryan Dahl
c3eda7a4da oio_tcp_handle_accept() does not require initialization of client
closes #13.
2011-04-18 03:20:05 -07:00
Ryan Dahl
fa439e7bbc Style 2011-04-18 00:40:50 -07:00
Ryan Dahl
59f1ce0f44 Macro styling for ASSERT and FATAL.
closes #8.
closes #6.
2011-04-18 00:29:56 -07:00
Ryan Dahl
d546a3115f API Change: Remove unnecessary params from oio_tcp_handle_accept()
closes #13.
2011-04-18 00:12:36 -07:00
Ryan Dahl
0027dbd976 Implement and add test for oio_now() 2011-04-17 23:53:09 -07:00
Ryan Dahl
f12299d6c8 Linux passes timeout test 2011-04-17 23:41:24 -07:00
Ryan Dahl
2ba25c8249 API change: oio_tcp_handle_init() required before oio_accept()
Fixes close_cb_stack on UNIX.
2011-04-17 22:51:13 -07:00
Ryan Dahl
d3ba74a681 add version 2011-04-17 19:36:04 -07:00
Ryan Dahl
00a947e7b3 Add note about oio_req initialization 2011-04-17 19:18:46 -07:00
Ryan Dahl
42cefd934e linux: ping-pong test passes. 2011-04-17 19:15:08 -07:00
Ryan Dahl
c8bdf15f5d Unix: fix build for timer test 2011-04-15 11:21:07 -07:00
Ryan Dahl
84ebdf8429 style fixes to close_cb_stack 2011-04-15 11:05:15 -07:00
Ryan Dahl
2414d7e728 Fix close_cb_stack 2011-04-15 11:05:15 -07:00
Bert Belder
0ffc8b6240 Timeout test passes on windows 2011-04-15 19:43:28 +02:00
Bert Belder
1ce1f82ca3 Typo 2011-04-15 19:38:29 +02:00
Bert Belder
57cc0efd86 Add timeout test to msvs project 2011-04-15 19:35:17 +02:00
Bert Belder
aec5eac8bc Add oio_timeout test 2011-04-15 19:32:28 +02:00
Ryan Dahl
a2c24c67d6 unix: echo-server works 2011-04-15 01:11:27 -07:00
Bert Belder
93dd5f74c7 Clean up test error handling
Define FATAL and ASSERT macros. Dont use libc's assert as it might get optimized away.
2011-04-15 03:32:55 +02:00
Bert Belder
9f746952cf Un-break windows 2011-04-14 22:35:25 +02:00
Ryan Dahl
7ed7bb34b0 Fix exit status checking in test-runner-unix 2011-04-14 13:16:04 -07:00
Ryan Dahl
769948a5ad test-runner compiles 2011-04-14 12:58:24 -07:00
Ryan Dahl
01cd1c5b17 oio.a compiles - totally broken 2011-04-14 12:58:24 -07:00
Bert Belder
53207d0e78 Fix bug in test 2011-04-14 01:35:39 +02:00
Bert Belder
23416dd909 Consisten naming, declare functions static, line length 2011-04-12 23:33:11 +02:00
Bert Belder
34f69db83a Windows: first shot at oio_timeout support 2011-04-12 20:39:14 +02:00
Bert Belder
abcfcd5573 Implicitly bind client socket in oio_connect 2011-04-10 18:54:19 +02:00
Ryan Dahl
26b56fec83 add link to book 2011-04-09 09:38:16 -07:00