#
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 ...
|
Revision tags: v1.41.0, v1.40.0, v1.39.0 |
|
#
e44781a1 |
| 06-Aug-2020 |
Ben Noordhuis |
test: fix thread race in process_title_threadsafe Libuv calls uv__process_title_cleanup() on shutdown, which raced with one of the threads from the test that calls uv_get_process_title()
test: fix thread race in process_title_threadsafe Libuv calls uv__process_title_cleanup() on shutdown, which raced with one of the threads from the test that calls uv_get_process_title() in an infinite loop. Change the test to properly shut down the thread before exiting. PR-URL: https://github.com/libuv/libuv/pull/2946 Refs: https://github.com/libuv/libuv/pull/2853#issuecomment-665259082 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com>
show more ...
|
Revision tags: v1.38.1, v1.38.0, v1.37.0, v1.36.0 |
|
#
fa1da185 |
| 27-Mar-2020 |
Ben Noordhuis |
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fi
test: canonicalize argv[0] in exepath test Commit ff29322b ("test: canonicalize test runner path") from 2014 changed the test runner to call `realpath(3)` on `argv[0]` in order to fix the `get_currentexe` test failing with the autotools build when the executable path contained symbolic links but that is now causing the `spawn_reads_child_path` test to fail on z/os with the cmake build. Fix that by only doing path canonicalization in the `get_currentexe` test, not always. An auxiliary fix is applied to the `process_title_threadsafe` test because it assumed that setting the process title to a long string, then reading it back produces in the original string. On some platforms however the maximum size of the process title is limited to the size of the `argv` vector. Because the test runner used absolute paths until now, the argv vector was bigger than it is with relative paths, big enough to let this bad assumption go unnoticed until now. Minor fixes are applied to tests that assumed 1024 for the maximum path size because this commit makes visible that some of the CI matrix systems support much longer paths. PR-URL: https://github.com/libuv/libuv/pull/2755 Refs: https://github.com/libuv/libuv/pull/2737#issuecomment-602800431 Refs: https://github.com/libuv/libuv/pull/2754#issuecomment-604015785 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
Revision tags: v1.35.0, v1.34.2, v1.34.1 |
|
#
93634e29 |
| 16-Dec-2019 |
Xu Meng |
test: skip uv_(get|set)_process_title on IBMi uv_(get|set)_process_title is not implemented on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2574 Reviewed-By: Ben Noordhuis
test: skip uv_(get|set)_process_title on IBMi uv_(get|set)_process_title is not implemented on IBMi. PR-URL: https://github.com/libuv/libuv/pull/2574 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
565cdd16 |
| 16-Dec-2019 |
Ben Noordhuis |
Revert "darwin: speed up uv_set_process_title()" This reverts commit 038eacfbf466f0b51e80b6f5fa9026c7ed767dfb. It was reported that this change causes a regression when trying t
Revert "darwin: speed up uv_set_process_title()" This reverts commit 038eacfbf466f0b51e80b6f5fa9026c7ed767dfb. It was reported that this change causes a regression when trying to obtain the screen resolution with `CGDisplayPixelsWide()` or `CGDisplayPixelsHigh()` after changing the process title. This is the second time this change had to be reverted due to regressions and, although third time is allegedly the charm, leaving well enough alone is the proverb I plan to adhere to... Fixes: https://github.com/libuv/libuv/issues/2566 PR-URL: https://github.com/libuv/libuv/pull/2568 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.34.0, v1.33.1, v1.33.0 |
|
#
038eacfb |
| 08-Oct-2019 |
Ben Noordhuis |
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them o
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them on the first call to uv_set_process_title() and delay unloading until libuv is unloaded. Speeds up process_title_threadsafe by about 10x on my system. It should fail less often (hopefully not at all) on the CI now. PR-URL: https://github.com/libuv/libuv/pull/2480 Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
Revision tags: v1.32.0, v1.31.0 |
|
#
97e86dde |
| 03-Aug-2019 |
Ben Noordhuis |
Revert "darwin: speed up uv_set_process_title()" This reverts commit 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c. It's been reported (and I can confirm) that this change breaks `pr
Revert "darwin: speed up uv_set_process_title()" This reverts commit 00c6b1649d13fdd94bedbfe7ad26c9269c80b32c. It's been reported (and I can confirm) that this change breaks `process.title = 'foo'` in Node.js. Since libuv just calls out to Core Services and Application Services, and since those frameworks are really just black boxes that you can't look inside, it's impossible to debug what exactly goes wrong. Revert it is then. Fixes: https://github.com/nodejs/node/issues/28945 PR-URL: https://github.com/libuv/libuv/pull/2405 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: 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 ...
|
#
00c6b164 |
| 02-Nov-2018 |
Ben Noordhuis |
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them o
darwin: speed up uv_set_process_title() Libuv loaded and unloaded the Core Services and Application Services for every call to uv_set_process_title(). Change that to load them on the first call to uv_set_process_title() and delay unloading until libuv is unloaded. Speeds up process_title_threadsafe by about 10x on my system. PR-URL: https://github.com/libuv/libuv/pull/2064 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.23.2, v1.23.1, v1.23.0, v1.22.0, v1.21.0 |
|
#
0cdb4a5b |
| 05-Jun-2018 |
cjihrig |
test: speedup process-title-threadsafe on macOS This test has been timing out on macOS. Try to avoid that by reducing the number of iterations run. PR-URL: https://github.com/li
test: speedup process-title-threadsafe on macOS This test has been timing out on macOS. Try to avoid that by reducing the number of iterations run. PR-URL: https://github.com/libuv/libuv/pull/1867 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Bert Belder <bertbelder@gmail.com>
show more ...
|
Revision tags: 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 |
|
#
8a6d1b32 |
| 15-Nov-2017 |
Matt Harrison |
unix: make get(set)_process_title MT-safe Used a shared uv_mutex_t in unix implementations of these functions to prevent simultaneous execution. Fixes: https://github.com/libuv/
unix: make get(set)_process_title MT-safe Used a shared uv_mutex_t in unix implementations of these functions to prevent simultaneous execution. Fixes: https://github.com/libuv/libuv/issues/271 PR-URL: https://github.com/libuv/libuv/pull/1640 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|