Commit Graph

973 Commits

Author SHA1 Message Date
Ben Noordhuis
70381cef9b unix: add getaddrinfo compatibility hack
Revisit in the future. This is not a good hack.
2011-10-30 02:55:12 +01:00
Ben Noordhuis
84bc18684e linux: omit superfluous fcntl(F_GETFD) syscall 2011-10-29 05:32:34 +02:00
Bert Belder
c0792e5405 Windows: the correct way to make TCP_KEEPALIVE work on MinGW 2011-10-29 02:00:04 +02:00
Luis Lavena
99b512e890 Windows: use SO_KEEPALIVE instead of TCP_KEEPALIVE
MinGW doesn't understand the latter. Closes GH-228.
2011-10-29 01:47:47 +02:00
Ben Noordhuis
ed2b5e60cb linux: use ioctl(FIONBIO) to set O_NONBLOCK, saves a syscall 2011-10-29 01:31:11 +02:00
Ben Noordhuis
e4d6509211 build: compile in dl.c on unix 2011-10-29 01:12:15 +02:00
Bert Belder
90e15f1110 Implement uv_dlopen and friends 2011-10-29 00:52:34 +02:00
Bert Belder
c985ea4b10 Add uv__new_sys_error 2011-10-29 00:52:33 +02:00
Bert Belder
e9472fe02b Prepare libuv for shared library build 2011-10-29 00:52:32 +02:00
Bert Belder
04b3c65ec8 Add common.gypi to gyp-generated projects 2011-10-29 00:48:40 +02:00
Ben Noordhuis
f2c6b4106d unix: have uv_strerror() handle getaddrinfo() errors 2011-10-28 01:31:55 +02:00
Igor Zinkovsky
314d0ee4f6 windows: don't fail uv_listen with UV_EALREADY if already listening. fixes #227. 2011-10-26 13:48:53 -07:00
Ben Noordhuis
339a1ad252 test: fix warning: implicit declaration of function ‘memcmp’ 2011-10-26 17:12:05 +02:00
Ben Noordhuis
3e4af533ae sunos: implement file watcher API 2011-10-26 03:49:34 +00:00
Ben Noordhuis
3ecb319128 build: sunos expects -pthreads, not -pthread 2011-10-25 23:52:03 +00:00
Ben Noordhuis
cb6cd92305 build: fix gcc 3.x build
Detect gcc version, -fvisibility is a gcc 4.x switch.
2011-10-25 23:52:03 +00:00
Igor Zinkovsky
d15b88a935 windows: implement uv_tcp_nodelay and uv_tcp_keepalive 2011-10-25 16:30:04 -07:00
Igor Zinkovsky
0cb2213db0 windows: when sharing a server socket, only call listen in the parent process 2011-10-25 13:23:53 -07:00
Ryan Dahl
b5d69f9a3e Map EHOSTUNREACH on Unix 2011-10-24 14:07:49 -07:00
Bert Belder
179f475b2a win: fix fs__readdir buffer overflow bug
Thanks Runner Mei for pointing this out. Closes GH-224.
2011-10-21 18:42:40 -07:00
Bert Belder
66f39250b7 Fix MinGW build 2011-10-21 18:42:39 -07:00
Bert Belder
45882e0bdc win: flush output buffer before doing a console reset 2011-10-21 18:42:38 -07:00
Ben Noordhuis
2dd02829c1 win: fix function prototype
Mea culpa.
2011-10-21 18:27:24 -07:00
Ben Noordhuis
ec825ffc62 unix: add TCP keepalive and no-delay control knobs 2011-10-21 16:08:26 -07:00
Ben Noordhuis
9da53df457 unix: fix uv_freeaddrinfo() segfault on sunos
The system freeaddrinfo() on SunOS does not handle NULL values graciously.
2011-10-21 14:20:36 -07:00
Igor Zinkovsky
773830604d windows: fixes queued_bytes for ipc pipes 2011-10-21 13:37:38 -07:00
Ben Noordhuis
d396799210 Change return type of uv_get_*_memory() functions
... from double to uint64_t. Limit use of floating point in public API as much
as possible.
2011-10-21 10:09:59 -07:00
Ben Noordhuis
9757a43a57 unix: remove unused variable 2011-10-21 10:09:43 -07:00
Bert Belder
fb7138614d Improve ansi escape code support on windows 2011-10-20 19:31:24 -07:00
Ryan Dahl
2c7e8bb137 Map EAI_NONAME to ENOENT 2011-10-20 17:13:48 -07:00
Igor Zinkovsky
28234d7336 windows: ref pipe writes to keep the event loop alive 2011-10-20 15:14:55 -07:00
Igor Zinkovsky
54982a23ef windows: stdio over non-overlapped pipes 2011-10-20 15:14:39 -07:00
Bert Belder
cb474b24c1 Ignore rogue DNS servers reported by windows 2011-10-20 15:10:14 -07:00
Ben Noordhuis
c0e5db2d49 linux: fix events after close bug 2011-10-20 15:02:50 -07:00
Bert Belder
51e9dbc2bb Work around windows udp bug, allow zero reads 2011-10-20 15:01:31 -07:00
Frank Denis
e8a418e920 Fix pasto: uv_udp_recv_start() receives a UDP datagram, it doesn't send data. 2011-10-18 23:11:23 +02:00
Ben Noordhuis
2069a24e8c unix: fix file descriptor leak 2011-10-15 02:34:30 +02:00
Ben Noordhuis
cdb3601746 Update AUTHORS and .mailmap 2011-10-15 02:20:42 +02:00
Igor Zinkovsky
456f831389 windows: ensure that the ipc frame header is properly initialized 2011-10-14 15:38:02 -07:00
Ben Noordhuis
1e0d25a39a build: fix gyp script, broken in 4ab1990 2011-10-15 00:04:30 +02:00
Frank DENIS
4ab1990064 unix: add support for OpenBSD 2011-10-14 01:59:45 +02:00
Igor Zinkovsky
fd9dbb1279 fix mingw build 2011-10-12 21:46:06 -07:00
Igor Zinkovsky
72b5976e83 windows: support utf8 in uv_fs functions
fixes #201
2011-10-12 13:24:22 -07:00
Ryan Dahl
c903bc3f32 unix: fix a few compiler warnings 2011-10-12 12:25:05 -07:00
Igor Zinkovsky
81303a72be fix fs_readdir_file on windows 2011-10-12 11:37:22 -07:00
Igor Zinkovsky
2216d38c29 windows: enable uv_fs_open to open directories 2011-10-12 10:42:41 -07:00
Ben Noordhuis
25a177a2e5 test: assert that readdir on file raises UV_ENOTDIR 2011-10-12 16:43:33 +02:00
Ben Noordhuis
197f591ebc common: add UV_ENOTDIR error code 2011-10-12 16:43:29 +02:00
Ben Noordhuis
721ad8c74f sunos: implement uv_fs_futime() 2011-10-12 02:05:52 +00:00
Ben Noordhuis
014394df3a build: compile all targets with large file support 2011-10-12 01:42:25 +00:00