Bruce Mitchener
d513d9bb41
Fix typos.
2011-11-30 14:35:13 +01:00
Bert Belder
fce90652ed
Windows: avoid the loop starvation bug. Closes GH-154
2011-11-28 19:36:41 +01:00
Bert Belder
01f64f6612
Win: get rid of UV_EAINONAME, use UV_ENOENT instead
2011-11-25 10:11:29 +01:00
Bert Belder
b4698d414b
Strip trailing whitespace
2011-11-25 10:03:27 +01:00
Igor Zinkovsky
cfa4112950
windows: make uv_fs_stat use open + fstat to support long paths
2011-11-24 19:18:17 -08:00
Bert Belder
3a50f8fca0
Win: fix uv_getaddrinfo error reporting
2011-11-25 02:05:07 +01:00
Bert Belder
45b976abd9
Win: add mapping for ERROR_ACCESS_DENIED
2011-11-25 00:59:40 +01:00
Bert Belder
ea63f06987
Win: ignore ECONNRESET when receiving udp packets
2011-11-24 19:16:24 +01:00
Bert Belder
261d792a7a
Win: map STATUS_HOPLIMIT_EXCEEDED status to WSAECONNRESET error
2011-11-24 19:16:18 +01:00
Bert Belder
0ded5d29cd
Win: fix improper treatment of real ntstatus codes as mapped win32 errors
2011-11-24 19:16:12 +01:00
Ben Noordhuis
96c230344d
linux: fix build when compiling with -std=c89 -pedantic
2011-11-23 19:05:46 +01:00
Ben Noordhuis
92c9e95721
unix: fix stray pointer free() when HAVE_FUTIMES=0
...
uv_fs_futime() failed to initialize req.path when HAVE_FUTIMES=0.
uv_fs_req_cleanup() later on tried to free the bogus pointer.
2011-11-22 00:00:52 +01:00
Shimon Doodkin
1b9d00fb42
cygwin: fix undefined _SC_PAGESIZE
...
unistd.h was not included, when tried to build node 0.5.9 had an error of:
_SC_PAGESIZE undefined
2011-11-20 15:02:16 +01:00
Ben Noordhuis
01fbe7bf37
build: compile with -D__DARWIN_64_BIT_INO_T on OS X
...
Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.
Solution proposed by Paddy Byers.
2011-11-18 21:16:24 +01:00
Ben Noordhuis
2bd181a8d2
unix: properly disarm kqueue fs watcher
...
Fixes "Assertion failed: (revents == EV_LIBUV_KQUEUE_HACK),
function uv__fs_event, file ../src/unix/kqueue.c, line 58."
2011-11-18 01:40:11 +01:00
Igor Zinkovsky
08a5546753
windows: return UV_FILE for non-console FILE_TYPE_CHAR
2011-11-17 15:36:34 -08:00
Ryan Dahl
2007eb813d
Set uv_write_t errno correctly
...
Fixes #206 .
2011-11-16 13:02:18 -08:00
Ryan Dahl
4ae40b6a3f
Bump version to v0.6
2011-11-14 16:14:10 -08:00
Ben Noordhuis
62d15a1e62
Update AUTHORS and .mailmap
2011-11-13 20:02:46 +01:00
Frank Denis
89ea3be6c2
Add support for DragonFly BSD by sharing code for FreeBSD.
2011-11-13 19:46:24 +01:00
Frank Denis
93faeb2189
Fix typo that broke libuv on NetBSD: psysconf() -> sysconf()
2011-11-13 19:42:57 +01:00
Ben Noordhuis
d4bfcc28c8
bench: fix compiler warnings
2011-11-11 18:52:34 +01:00
Ben Noordhuis
e2a794e346
test: remove dead code
2011-11-11 18:52:04 +01:00
Frank Denis
9322dd1724
Use (void) for a function taking no arguments - fix gcc -Wstrict-prototypes
2011-11-10 22:55:06 +01:00
Ben Noordhuis
224584c53e
sunos: check that event ports supports fs watching
2011-11-10 20:04:55 +01:00
Ben Noordhuis
26806e2b1c
sunos: add getaddrinfo() compatibility hack
...
getaddrinfo() returns EAI_MEMORY if strlen(hostname) >= MAXHOSTNAMELEN
2011-11-10 16:39:03 +00:00
Ben Noordhuis
04dfd46349
unix: remove unused uv__translate_lib_error() function
2011-11-10 15:26:12 +00:00
Ben Noordhuis
61ef8cc962
freebsd: remove unused variables
2011-11-10 13:57:58 +01:00
Ben Noordhuis
4889644301
Fix warning: comma at end of enumerator list
2011-11-10 11:37:08 +01:00
Ryan Dahl
6d5ba42436
Remove unnecessary errno
2011-11-09 18:07:13 -08:00
Ryan Dahl
808bb8ed0b
Shared uv_strerror
2011-11-09 18:06:49 -08:00
Ryan Dahl
fd2b04d784
Alternative errno strategy
2011-11-09 17:47:24 -08:00
Igor Zinkovsky
f17d4837a8
windows: turn WSAECONNABORTED from WSARecv to UV_ECONNRESET
2011-11-09 14:57:41 -08:00
Ben Noordhuis
4794c12f58
linux: fall back to traditional syscalls if necessary
...
libuv uses feature checks to determine if newer syscalls like pipe2() are
available. This works fine until someone compiles libuv against kernel headers
that are newer than the actual kernel our software runs on.
Fall back to traditional (but race-y!) syscalls when the kernel reports ENOSYS
or EINVAL.
2011-11-09 15:38:51 +01:00
Igor Zinkovsky
942c68b80e
windows: fix utf16->utf8 conversion in uv_fs_readdir
2011-11-08 19:23:30 -08:00
Ryan Dahl
196e14528f
Map UV_ESRCH in uv_err_name
2011-11-08 16:59:05 -08:00
Bert Belder
2b7774ae49
Windows: return UV_ESRCH from uv_kill
2011-11-09 01:48:04 +01:00
Tj Holowaychuk
a378110f9e
Add UV_ESRCH
...
Fixes #239 .
2011-11-08 16:36:20 -08:00
Ryan Dahl
b7da0a69bf
Add uv__new_artificial_error()
2011-11-08 15:11:16 -08:00
Igor Zinkovsky
f1859eb841
windows: convert WSAECONNABORTED to EOF
2011-11-07 16:53:27 -08:00
Ben Noordhuis
51df5e3b00
unix: map EISDIR
2011-11-07 09:20:54 +01:00
Ben Noordhuis
16d48befba
win: add uv_loop_new() and uv_loop_delete() stubs
2011-11-06 04:08:43 +01:00
Ben Noordhuis
7b973eb4ad
Fix uv_loop_new() and uv_default_loop() function prototypes.
2011-11-06 04:04:32 +01:00
Ben Noordhuis
c468e2ab88
test: fix memory buffer comparison
2011-11-05 03:09:12 +01:00
Ben Noordhuis
9dc67f5e61
test: don't use _O_RDWR, windows-ism
2011-11-05 03:07:36 +01:00
Ben Noordhuis
cee56c96f8
unix: unbreak linux build, broken in 1997e10
2011-11-05 02:58:48 +01:00
Bert Belder
1997e10b50
Add flags to uv_fs_event_init
2011-11-05 01:42:08 +01:00
Igor Zinkovsky
faca1402ef
make uv_pipe_connect return void
2011-11-04 16:06:53 -07:00
Igor Zinkovsky
82cf0b38c0
windows: remove quotes from PATH in uv_spawn
2011-11-04 15:08:53 -07:00
Igor Zinkovsky
fe97c4dc63
windows: honor O_APPEND in uv_fs_open
2011-11-04 12:41:23 -07:00