#
7f44933c |
| 03-Nov-2013 |
Ben Noordhuis |
include: remove uv_strlcat() and uv_strlcpy() It was pointed out that they don't quite work like their BSD namesakes and they arguably shouldn't have been part of the API anyway.
include: remove uv_strlcat() and uv_strlcpy() It was pointed out that they don't quite work like their BSD namesakes and they arguably shouldn't have been part of the API anyway. Fixes #983.
show more ...
|
#
08c6ddee |
| 03-Sep-2013 |
Ben Noordhuis |
include: merge uv_udp_send and uv_udp_send6 Merge uv_udp_send6() into uv_udp_send(). uv_udp_send() now takes a const struct sockaddr*. |
#
bcee403e |
| 03-Sep-2013 |
Ben Noordhuis |
include: merge uv_udp_bind and uv_udp_bind6 Merge uv_udp_bind6() into uv_udp_bind(). uv_udp_bind() now takes a const struct sockaddr*. |
#
5c675c4a |
| 03-Sep-2013 |
Ben Noordhuis |
include: merge uv_tcp_connect and uv_tcp_connect6 Merge uv_tcp_connect6() into uv_tcp_connect(). uv_tcp_connect() now takes a const struct sockaddr*. |
#
5fceccc5 |
| 03-Sep-2013 |
Ben Noordhuis |
include: merge uv_tcp_bind and uv_tcp_bind6 Merge uv_tcp_bind6() into uv_tcp_bind(). uv_tcp_bind() now takes a const struct sockaddr*. |
#
f3f23b2d |
| 01-Sep-2013 |
Ben Noordhuis |
unix: define _GNU_SOURCE, exposes glibc-isms EAI_NODATA and some other getaddrinfo() error codes are returned by glibc but not exposed in the headers unless _GNU_SOURCE is defined.
unix: define _GNU_SOURCE, exposes glibc-isms EAI_NODATA and some other getaddrinfo() error codes are returned by glibc but not exposed in the headers unless _GNU_SOURCE is defined. Only define in src/uv-common.c because that's the only file that deals with EAI_* error codes.
show more ...
|
#
263da519 |
| 31-Aug-2013 |
Ben Noordhuis |
include: uv_udp_send{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a
include: uv_udp_send{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a pointer-based approach. Fixes #684.
show more ...
|
#
525dbb5e |
| 31-Aug-2013 |
Ben Noordhuis |
include: uv_udp_bind{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a
include: uv_udp_bind{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a pointer-based approach. Fixes #684.
show more ...
|
#
255671da |
| 31-Aug-2013 |
Ben Noordhuis |
include: uv_tcp_connect{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a
include: uv_tcp_connect{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a pointer-based approach. Fixes #684.
show more ...
|
#
daa229ac |
| 31-Aug-2013 |
Ben Noordhuis |
include: uv_tcp_bind{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a
include: uv_tcp_bind{6} now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a pointer-based approach. Fixes #684.
show more ...
|
#
81840768 |
| 31-Aug-2013 |
Ben Noordhuis |
include: uv_ip[46]_addr now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a
include: uv_ip[46]_addr now takes sockaddr_in* Passing or returning structs as values makes life hard for people that work with libuv through a foreign function interface. Switch to a pointer-based approach. Fixes #684.
show more ...
|
#
602b1c69 |
| 19-Aug-2013 |
Ben Noordhuis |
unix, windows: fix ipv6 link-local address parsing uv_ip6_addr() copies the address part to a temporary buffer when it contains a link-local suffix ('<address>%<interface>'). Before this
unix, windows: fix ipv6 link-local address parsing uv_ip6_addr() copies the address part to a temporary buffer when it contains a link-local suffix ('<address>%<interface>'). Before this commit, it didn't zero-terminate the address properly: it put the nul byte at the end of the temporary buffer rather than at the end of the address string, meaning the buffer looked like this: <address> <garbage> '\0' Fixes the following valgrind warning: ==16170== Conditional jump or move depends on uninitialised value(s) ==16170== at 0x43602C: inet_pton6 (inet.c:228) ==16170== by 0x435CE1: uv_inet_pton (inet.c:163) ==16170== by 0x436FD0: uv_ip6_addr (uv-common.c:175) ==16170== by 0x434717: test_ip6_addr_scope (test-ip6-addr.c:89) ==16170== by 0x43455B: call_iface_info_cb (test-ip6-addr.c:45) ==16170== by 0x43462B: foreach_ip6_interface (test-ip6-addr.c:59) ==16170== by 0x434791: run_test_ip6_addr_link_local (test-ip6-add ==16170== by 0x4061E8: run_test_part (runner.c:396) ==16170== by 0x404F4B: main (run-tests.c:58) ==16170== ==16170== Conditional jump or move depends on uninitialised value(s) ==16170== at 0x4C2AD8A: __GI_strchr (mc_replace_strmem.c:224) ==16170== by 0x435ECB: inet_pton6 (inet.c:231) ==16170== by 0x435CE1: uv_inet_pton (inet.c:163) ==16170== by 0x436FD0: uv_ip6_addr (uv-common.c:175) ==16170== by 0x434717: test_ip6_addr_scope (test-ip6-addr.c:89) ==16170== by 0x43455B: call_iface_info_cb (test-ip6-addr.c:45) ==16170== by 0x43462B: foreach_ip6_interface (test-ip6-addr.c:59) ==16170== by 0x434791: run_test_ip6_addr_link_local (test-ip6-add ==16170== by 0x4061E8: run_test_part (runner.c:396) ==16170== by 0x404F4B: main (run-tests.c:58) Fixes #890.
show more ...
|
#
db1dccb9 |
| 09-Aug-2013 |
Ben Noordhuis |
windows: fix missing return value warning Fixes the following warning: src\uv-common.c(476): warning C4715: 'uv__getaddrinfo_translate_error' : not all control paths ret
windows: fix missing return value warning Fixes the following warning: src\uv-common.c(476): warning C4715: 'uv__getaddrinfo_translate_error' : not all control paths return a value The function never returns - the final statement is a call to abort() - but it seems MSVC's program flow analyzer is too weak to figure that out.
show more ...
|
#
f7e46379 |
| 04-Aug-2013 |
Ben Noordhuis |
openbsd: fix uv_ip6_addr() unused variable warnings |
#
3ee4d3f1 |
| 06-Jun-2013 |
Ben Noordhuis |
unix, windows: return error codes directly This commit changes the libuv API to return error codes directly rather than storing them in a loop-global field. A code snippet like
unix, windows: return error codes directly This commit changes the libuv API to return error codes directly rather than storing them in a loop-global field. A code snippet like this one: if (uv_foo(loop) < 0) { uv_err_t err = uv_last_error(loop); fprintf(stderr, "%s\n", uv_strerror(err)); } Should be rewritten like this: int err = uv_foo(loop); if (err < 0) fprintf(stderr, "%s\n", uv_strerror(err)); The rationale for this change is that it should make creating bindings for other languages a lot easier: dealing with struct return values is painful with most FFIs and often downright buggy.
show more ...
|
Revision tags: node-v0.7.3, node-v0.7.7, node-v0.7.5, node-v0.5.3, node-v0.10.1 |
|
#
fd45f876 |
| 14-Mar-2013 |
Miroslav Bajtoš |
linux,darwin,win: link-local IPv6 addresses Modified uv_ip6_addr() to fill sin6_scope_id for link-local addresses. Fixes #271 Conflicts: build.mk |
#
89746332 |
| 06-Jun-2013 |
Ben Noordhuis |
unix, windows: clean up uv_thread_create() Make uv_thread_create() and its helper function a little more DRY and a little less impenetrable. |
#
e0bdb3db |
| 29-May-2013 |
Ben Noordhuis |
unix, windows: move uv_now() to uv-common.c |
#
8ef9592a |
| 29-May-2013 |
Ben Noordhuis |
Merge remote-tracking branch 'origin/v0.10' Conflicts: ChangeLog src/unix/stream.c src/version.c
|
#
a92b66fe |
| 16-Apr-2013 |
Saúl Ibarra Corretgé |
unix, windows: add uv_has_ref() function |
#
0635e297 |
| 26-Mar-2013 |
Ben Noordhuis |
unix, windows: remove ngx-queue.h Avoids an extra #include in public headers and stops the ngx_queue_* types and macros from leaking into user code. |
Revision tags: node-v0.10.0, node-v0.9.12, node-v0.9.11, node-v0.8.21 |
|
#
c5101ae9 |
| 15-Feb-2013 |
Andrius Bentkus |
unix, windows: add common uv_udp_* error checking |
Revision tags: node-v0.8.19, node-v0.9.10, node-v0.9.7 |
|
#
bb3d1e24 |
| 16-Jan-2013 |
Saúl Ibarra Corretgé |
unix, windows: add uv_stop, stop running event loop |
#
6bf1a56e |
| 15-Feb-2013 |
Andrius Bentkus |
Return the errorcode provided by uv_set_artificial_error. This reduces the line count. |
#
017e2d5f |
| 18-Jan-2013 |
Andrius Bentkus |
unix, windows: make uv_*_bind() error codes consistent Just like uv_tcp_connect() it should return an EINVAL when the handle is of an invalid type or when the network address is faulty. |