#
011a1ac1 |
| 06-Oct-2023 |
Pleuvens |
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failure
test: switch to new-style ASSERT_EQ macros (#4159) Switch from old-style ASSERT macro to new-style ASSERT_EQ,... macros. Using new-style macros makes it easier to debug test failures Fixes: https://github.com/libuv/libuv/issues/2974
show more ...
|
#
91a7e498 |
| 12-Mar-2023 |
Trevor Norris |
test: silence more valgrind warnings (#3917) Pass the loop to MAKE_VALGRIND_HAPPY() so it's explicit on which loop needs to be cleaned up. Since it asserts on uv_loop_close(), need to
test: silence more valgrind warnings (#3917) Pass the loop to MAKE_VALGRIND_HAPPY() so it's explicit on which loop needs to be cleaned up. Since it asserts on uv_loop_close(), need to remove a couple of those that were being done before the call. Cleanup where loop was assigned, so the entire test either uses loop or uv_default_loop(). Not both. Also take care of any reqs that may have been left uncleaned.
show more ...
|
#
a4ba1bd7 |
| 19-Jan-2023 |
panran <310762957@qq.com> |
test: fix some warnings when compiling tests (#3816) ``` warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note: in expansion of macro 'ASSERT_BASE'
test: fix some warnings when compiling tests (#3816) ``` warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] note: in expansion of macro 'ASSERT_BASE' #define ASSERT_EQ(a, b) ASSERT_BASE(a, ==, b, int64_t, PRId64) warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘uint32_t’ {aka ‘unsigned int’} ``` Co-authored-by: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
bd7fcf1b |
| 21-Jul-2021 |
Jameson Nash |
run test named ip6_sin6_len This appears to have been missed in the original PR. Refs: https://github.com/libuv/libuv/pull/2492 Refs: https://github.com/libuv/libuv/issues/2655
run test named ip6_sin6_len This appears to have been missed in the original PR. Refs: https://github.com/libuv/libuv/pull/2492 Refs: https://github.com/libuv/libuv/issues/2655 (fixes one issue listed) PR-URL: https://github.com/libuv/libuv/pull/3246 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.41.0, v1.40.0, v1.39.0, v1.38.1, v1.38.0, v1.37.0, v1.36.0, v1.35.0, v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0 |
|
#
645be48a |
| 27-Sep-2019 |
Ouyang Yadong |
unix: set sin_len and sin6_len FreeBSD defines `sin_len` and `sin6_len` inside `sockaddr_in` and `sockaddr_in6`. `sockaddr`s come from `getsockname` and `uv_ip4_addr` will differ in
unix: set sin_len and sin6_len FreeBSD defines `sin_len` and `sin6_len` inside `sockaddr_in` and `sockaddr_in6`. `sockaddr`s come from `getsockname` and `uv_ip4_addr` will differ in the first byte if libuv doesn't set `sin_len` correctly. PR-URL: https://github.com/libuv/libuv/pull/2492 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
Revision tags: v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0 |
|
#
c5593b51 |
| 05-Nov-2018 |
Jameson Nash |
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack
warnings: fix code that emits compiler warnings PR-URL: https://github.com/libuv/libuv/pull/2066 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Refael Ackermann <refack@gmail.com>
show more ...
|
Revision tags: v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0, v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1, v1.19.0, v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0 |
|
#
695afe83 |
| 27-Jul-2017 |
Pekka Nikander |
unix,win: add uv_if_{indextoname,indextoiid} uv_if_indextoname() is used to convert an IPv6 scope_id to an interface identifier string such as %eth0 or %lo. uv_if_indextoiid() r
unix,win: add uv_if_{indextoname,indextoiid} uv_if_indextoname() is used to convert an IPv6 scope_id to an interface identifier string such as %eth0 or %lo. uv_if_indextoiid() returns an IPv6 interface identifier. On Unix it calls uv_if_indextoname(). On Windows it uses snprintf() to return the numeric interface identifier as a string. Refs: https://github.com/nodejs/node/pull/14500 PR-URL: https://github.com/libuv/libuv/pull/1445 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.13.1, v1.13.0, v1.12.0 |
|
#
6398251a |
| 07-Apr-2017 |
Brad King |
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For mo
cygwin: implement support for cygwin and msys2 Cygwin and MSYS2 are POSIX layers implemented on top of Windows. Use our POSIX `poll(2)` implementation of our poll abstraction. For most other components we already have dedicated sources implementing them in terms of APIs available on Cygwin or providing non-implementations of components not supported. This leaves only three components that need Cygwin-specific implementations: * uv_uptime: implement using sysinfo * uv_resident_set_memory: add a placeholder returning UV_ENOSYS * uv_cpu_info: add a placeholder returning UV_ENOSYS Update our test suite to account for features not available due to Cygwin platform limitations or our placeholders. PR-URL: https://github.com/libuv/libuv/pull/1312 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1, v1.9.0, v1.8.0, v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0 |
|
#
cdc10a90 |
| 10-Apr-2015 |
Saúl Ibarra Corretgé |
test: remove LOG and LOGF variadic macros Initial patch by @simar7, thanks! PR-URL: https://github.com/libuv/libuv/pull/313 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
Revision tags: v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30, v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26 |
|
#
4fac9427 |
| 23-May-2014 |
Saúl Ibarra Corretgé |
unix, windows: fix parsing scoped IPv6 addresses Signed-off-by: Saúl Ibarra Corretgé <saghul@gmail.com> |
#
fa0e1e50 |
| 08-May-2014 |
Saúl Ibarra Corretgé |
unix, windows: remove unneeded define |
Revision tags: v0.10.27, v0.11.25, v0.11.24 |
|
#
2b214192 |
| 14-Apr-2014 |
Fedor Indutny |
inet: allow scopeid in uv_inet_pton We already support it in `uv_ip6_addr` anyway. See https://github.com/joyent/node/issues/7395 |
Revision tags: v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20, v0.11.15, v0.10.19, v0.11.14, v0.10.18, v0.10.17, v0.10.16, v0.11.13, v0.11.12 |
|
#
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 ...
|
Revision tags: v0.11.11, v0.11.10, v0.10.15, v0.11.9, v0.10.14, v0.11.8 |
|
#
dfce87c9 |
| 19-Aug-2013 |
Ben Noordhuis |
test: simplify test-ip6-addr.c Drop the callback-driven approach in favor of a simple loop. Reduces the line count and makes the flow of execution a little easier to follow. |
Revision tags: v0.11.7 |
|
#
96f32a20 |
| 04-Aug-2013 |
Ben Noordhuis |
test: replace sprintf() with snprintf() There is zero risk of overflowing the buffer, it's just a good habit. |
Revision tags: v0.10.13, v0.11.6, v0.10.12, v0.11.5, v0.10.11 |
|
#
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: v0.10.10, v0.11.4, v0.10.9, v0.10.8, v0.11.3, v0.10.7, v0.10.6, v0.11.2, v0.10.5, v0.10.4, v0.11.1, node-v0.11.0, v0.10.2, 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 |