Bert Belder
ee49c7a2b6
Fix MinGW and MinGW-w64 builds
...
Closes GH-222 and GH-267.
Thanks Yuki Okumura and Yasuhiro Matsumoto for providing fixes.
2011-12-01 15:47:49 +01:00
Bert Belder
35fa2a6a51
Merge branch 'v0.6'
2011-11-25 12:46:17 +01:00
Bert Belder
01f64f6612
Win: get rid of UV_EAINONAME, use UV_ENOENT instead
2011-11-25 10:11:29 +01:00
Ben Noordhuis
b52b8c7128
util: add uv_strlcpy() and uv_strlcat() functions
2011-11-23 17:29:02 +01:00
Ben Noordhuis
8e4ed88bbe
Wrap platform thread APIs.
2011-11-21 21:04:16 +01:00
Ben Noordhuis
1fc1f28093
Wrap platform mutex and rwlock APIs.
...
Read/write locks are emulated with critical sections on Windows XP and Vista
because those platforms don't have a (complete) native read/write lock API.
2011-11-18 12:42:08 +01:00
Ryan Dahl
4ae40b6a3f
Bump version to v0.6
2011-11-14 16:14:10 -08: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
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
fd2b04d784
Alternative errno strategy
2011-11-09 17:47:24 -08:00
Tj Holowaychuk
a378110f9e
Add UV_ESRCH
...
Fixes #239 .
2011-11-08 16:36:20 -08:00
Ben Noordhuis
51df5e3b00
unix: map EISDIR
2011-11-07 09:20:54 +01:00
Ben Noordhuis
7b973eb4ad
Fix uv_loop_new() and uv_default_loop() function prototypes.
2011-11-06 04:04:32 +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
Ryan Dahl
681bd290e6
UV_EACCESS -> UV_EACCES
...
In order to match existing Node API. See
https://github.com/joyent/node/pull/2001
2011-11-03 16:17:12 -07:00
Igor Zinkovsky
74b49e821b
uv_kill
2011-11-02 14:34:07 -07:00
Igor Zinkovsky
78f4b120a1
windows: knob for tuning number of concurrent accept requests
2011-10-31 23:37:45 -07:00
Bert Belder
90e15f1110
Implement uv_dlopen and friends
2011-10-29 00:52:34 +02:00
Bert Belder
e9472fe02b
Prepare libuv for shared library build
2011-10-29 00:52:32 +02:00
Ben Noordhuis
f2c6b4106d
unix: have uv_strerror() handle getaddrinfo() errors
2011-10-28 01:31:55 +02:00
Ben Noordhuis
3e4af533ae
sunos: implement file watcher API
2011-10-26 03:49:34 +00:00
Ben Noordhuis
ec825ffc62
unix: add TCP keepalive and no-delay control knobs
2011-10-21 16:08:26 -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
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
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
Igor Zinkovsky
72b5976e83
windows: support utf8 in uv_fs functions
...
fixes #201
2011-10-12 13:24:22 -07:00
Ben Noordhuis
197f591ebc
common: add UV_ENOTDIR error code
2011-10-12 16:43:29 +02:00
Ben Noordhuis
61343ecfbd
common: add UV_ENOSYS error code
2011-10-11 23:15:41 +02:00
Roman Shtylman
a3d1f6fd6f
add uv_udp_set_membership for unix multicast support
...
- test-udp-multicast-join tests that multicast packets can be received
- stub src/win/udp.c until support added
2011-10-11 21:25:20 +02:00
Igor Zinkovsky
4ac13090ca
fix mingw build
2011-10-11 10:45:02 -07:00
Ryan Dahl
5656e3c8bd
Prepare for writable TTY to be blocking
2011-10-10 13:25:46 -07:00
Fedor Indutny
5ac040069e
better docs
2011-10-07 01:41:42 -07:00
Igor Zinkovsky
012fc0799f
windows: fixes #193 . Ensures that uv_fs_event deals with short and long names
2011-10-06 19:39:06 -07:00
Igor Zinkovsky
34f719d7a5
windows ipc fixes
2011-10-06 10:17:42 -07:00
Igor Zinkovsky
81c4043c83
ipc on windows
2011-10-06 10:17:42 -07:00
Ryan Dahl
bb6b629e6a
make test-ipc accept the pending tcp server
2011-10-06 10:17:18 -07:00
Ryan Dahl
45306f2e7f
unix: implement uv_write2
2011-10-06 10:17:18 -07:00
Ryan Dahl
e5e6efe317
Add uv_write2 and uv_read2_start to header file
2011-10-06 10:17:18 -07:00
Ryan Dahl
6921d2fc07
Add argument to uv_pipe_init for IPC, unix impl
2011-10-06 10:17:07 -07:00
Ben Noordhuis
8e9a3384c9
unix: implement kqueue file watcher API
...
kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags intact.
2011-10-04 23:28:36 +02:00
Fedor Indutny
a35591bbfc
os: implement loadavg (not working on cygwin/win)
2011-10-04 18:15:14 +02:00
Fedor Indutny
33cb8775bc
os: implement memory bindings
...
* us_get_free_memory
* us_get_total_memory
2011-10-04 18:10:35 +02:00
Ryan Dahl
fe18438416
add uv_tty_reset_mode()
2011-09-30 13:09:06 -07:00