#
abc97670 |
| 25-Mar-2024 |
Saúl Ibarra Corretgé |
win: simplify uv_once implementation * win: simplify uv_once implementation InitOnceExecuteOnce is available in Windows >= Vista. Ref: https://learn.microsoft.com/en-us/win
win: simplify uv_once implementation * win: simplify uv_once implementation InitOnceExecuteOnce is available in Windows >= Vista. Ref: https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-initonceexecuteonce
show more ...
|
#
64bd28f5 |
| 05-Jan-2024 |
Trevor Flynn |
win: replace c99 comments with c89 comments (#4270)
|
#
51a22f60 |
| 22-Dec-2023 |
Matheus Izvekov |
unix,win: fix busy loop with zero timeout timers (#4250) Calling `uv_timer_start(h, cb, 0, 0)` from a timer callback resulted in the timer running immediately because it was inserted at
unix,win: fix busy loop with zero timeout timers (#4250) Calling `uv_timer_start(h, cb, 0, 0)` from a timer callback resulted in the timer running immediately because it was inserted at the front of the timer heap. If the callback did that every time, libuv would effectively busy-loop in `uv__run_timers()` and never make forward progress. Work around that by collecting all expired timers into a queue and only running their callback afterwards. Fixes: https://github.com/libuv/libuv/issues/4245 Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
#
1b01b786 |
| 24-May-2023 |
Ben Noordhuis |
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings are false positives, let's use them as the impetus to switch to a type-safer and arguably cleaner approach. Fixes: https://github.com/libuv/libuv/issues/4019
show more ...
|
#
748d894e |
| 12-May-2023 |
Elliot Saba |
win,process: write minidumps when sending SIGQUIT (#3840) This commit adds the ability to dump core when sending the `SIGQUIT` signal on Windows. The change reads in the current registry
win,process: write minidumps when sending SIGQUIT (#3840) This commit adds the ability to dump core when sending the `SIGQUIT` signal on Windows. The change reads in the current registry setting for local dumps, and attempts to write out to that location before killing the process. See [collecting-user-mode-dumps] for registry and pathing details. This behavior mimics that of the dumps created by the typical Windows Error Reporting mechanism. [collecting-user-mode-dumps]: https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps
show more ...
|
#
3990fcad |
| 12-May-2023 |
cui fliter |
docs: fix some typos (#3984)
|
#
964f79f7 |
| 06-Mar-2023 |
Jameson Nash |
barrier: wait for prior out before next in (#3905) This code would previously get confused between rounds of the barrier being called and a thread might incorrectly get stuck (deadlock)
barrier: wait for prior out before next in (#3905) This code would previously get confused between rounds of the barrier being called and a thread might incorrectly get stuck (deadlock) if the next round started before that thread had exited the current round. Avoid that by not starting the next round in++ before out-- has reached zero indicating that all threads have left the prior round. And fix it that on Windows by replacing the implementation with the one from unix. There are some awkward platform-specific redirection here with an extra malloc that is not needed on Win32, but that will be fixed in libuv v2. Fixes: https://github.com/libuv/libuv/issue/3872
show more ...
|
#
75d9411e |
| 09-Dec-2022 |
Santiago Gimeno |
win: move child_stdio_buffer out of uv_process_t (#3850)
|
#
c17bd99f |
| 29-Nov-2022 |
Stefan Stojanovic |
win: fix fstat for pipes and character files (#3811) Calling uv_fs_fstat for file types other then disk type was resulting in error on Windows while it was retrieving data on Linux. This
win: fix fstat for pipes and character files (#3811) Calling uv_fs_fstat for file types other then disk type was resulting in error on Windows while it was retrieving data on Linux. This change enables getting fstat for pipes and character files on Windows with data fetched being as reasonable as possible. A simple test is also added to check this behavior on all platforms. It uses stdin, stdout and stderr. uv_fs_fstat needs to pass with disk files pipes and character files (eg. console). Refs: https://github.com/nodejs/node/issues/40006 Co-authored-by: Jameson Nash <vtjnash@gmail.com>
show more ...
|
#
3706c4f8 |
| 09-Nov-2022 |
Santiago Gimeno |
win,pipe: fixes in uv_pipe_connect() Make unices and windows consistent when closing a pipe while it's connecting so they all return `UV_ECANCELED`. Avoid race condition between
win,pipe: fixes in uv_pipe_connect() Make unices and windows consistent when closing a pipe while it's connecting so they all return `UV_ECANCELED`. Avoid race condition between `pipe_connect_thread_proc()` and `uv_close()` when accessing `handle->name`. Fixes: https://github.com/libuv/libuv/issues/3578
show more ...
|
#
2b4b293e |
| 04-Nov-2022 |
Saúl Ibarra Corretgé |
win,tcp,udp: remove "active streams" optimization It has been disabled for 11 years, I guess it should remain that way.
|
#
495ffca2 |
| 15-Jul-2022 |
Ben Noordhuis |
win: remove stdint-msvc2008.h (#3673) Support for VS 2008 was removed two years ago in commit a779fccfd so this file can safely be deleted.
|
#
ec677354 |
| 13-May-2022 |
Jameson Nash |
win,pipe: fix bugs with pipe resource lifetime management (#3611) If `uv_close` was called while a connect was pending, we would fail to release the resources for the connection, since w
win,pipe: fix bugs with pipe resource lifetime management (#3611) If `uv_close` was called while a connect was pending, we would fail to release the resources for the connection, since we had not yet set the type of the struct. Fix a thread data-race on slow connect path code: only permitted to write to `req` on threads, as anything else causes data race corruption. There seemed be a small variety of other resource management bugs in edge cases, which turned out to make this a lot larger than initially expected. Refs: https://github.com/libuv/libuv/pull/3598#issuecomment-1111513567
show more ...
|
#
8e67d8b3 |
| 05-Mar-2022 |
roflcopter4 <15476346+roflcopter4@users.noreply.github.com> |
win,poll: add the MSAFD GUID for AF_UNIX (#3511) Enables the "fast poll" mechanism for the new(ish) Unix sockets in Windows 10.
|
#
a3e02e5e |
| 12-Jan-2022 |
David Machaj <46852402+dmachaj@users.noreply.github.com> |
win: replace CRITICAL_SECTION+Semaphore with SRWLock (#3383) Fixes: https://github.com/libuv/libuv/issues/3382
|
#
3e90bc76 |
| 02-Nov-2021 |
erw7 |
build: fix build failures with MinGW new headers A structure definition was added to mstcpip.h in mingw-w64-x86_64-headers-git 9.0.0.6327.f29c1101f, which causes a conflict and the b
build: fix build failures with MinGW new headers A structure definition was added to mstcpip.h in mingw-w64-x86_64-headers-git 9.0.0.6327.f29c1101f, which causes a conflict and the build fails. Fix this by changing the name in the definition in mstcpip.h. PR-URL: https://github.com/libuv/libuv/pull/3345
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 |
|
#
288a0672 |
| 18-Feb-2020 |
erw7 |
win,tty: Added set cursor style to CSI sequences PR-URL: https://github.com/libuv/libuv/pull/1884 Refs: https://github.com/libuv/libuv/issues/1874 Co-authored-by: Bert Belder <bertbe
win,tty: Added set cursor style to CSI sequences PR-URL: https://github.com/libuv/libuv/pull/1884 Refs: https://github.com/libuv/libuv/issues/1874 Co-authored-by: Bert Belder <bertbelder@gmail.com> Co-authored-by: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Jameson Nash <vtjnash@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <s@saghul.net>
show more ...
|
Revision tags: v1.34.2, v1.34.1, v1.34.0, v1.33.1, v1.33.0, v1.32.0, v1.31.0, v1.30.1, v1.30.0, v1.29.1, v1.29.0 |
|
#
2c279504 |
| 09-May-2019 |
João Reis |
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Revie
win: add UV_FS_O_FILEMAP Reading and writing files using a memory file mapping can be significantly faster on Windows. PR-URL: https://github.com/libuv/libuv/pull/2295 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
Revision tags: v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, 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, v1.13.1, v1.13.0, v1.12.0, 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, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0 |
|
#
99440bb6 |
| 30-Jan-2015 |
cjihrig |
unix,win: add uv_fs_{open,read,close}dir() Co-authored-by: Julien Gilli <jgilli@nodejs.org> Co-authored-by: Jeremy Whitlock <jwhitlock@apache.org> Reviewed-By: Ben Noordhuis <info@bn
unix,win: add uv_fs_{open,read,close}dir() Co-authored-by: Julien Gilli <jgilli@nodejs.org> Co-authored-by: Jeremy Whitlock <jwhitlock@apache.org> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> PR-URL: https://github.com/libuv/libuv/pull/2057 Refs: https://github.com/joyent/libuv/issues/1430 Refs: https://github.com/joyent/libuv/pull/1521 Refs: https://github.com/joyent/libuv/pull/1574 Refs: https://github.com/libuv/libuv/pull/175 Refs: https://github.com/nodejs/node/issues/583 Refs: https://github.com/libuv/libuv/pull/416 Refs: https://github.com/libuv/libuv/issues/170
show more ...
|
#
8972e65b |
| 03-Dec-2018 |
Ben Noordhuis |
unix: harden string copying, introduce strscpy() Replace calls to strcpy() and strncpy() with the newly introduced uv__strscpy() function that is meticulous about zero-terminating th
unix: harden string copying, introduce strscpy() Replace calls to strcpy() and strncpy() with the newly introduced uv__strscpy() function that is meticulous about zero-terminating the destination buffer. PR-URL: https://github.com/libuv/libuv/pull/2065 Refs: https://www.kernel.org/doc/htmldocs/kernel-api/API-strscpy.html Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
show more ...
|
#
20f23518 |
| 22-Jun-2018 |
Jeremy Studer |
win: Redefine NSIG to consider SIGWINCH Since SIGWINCH is being defined with a value above the existing NSIG, redefine NSIG on WIN32. PR-URL: https://github.com/libuv/libuv/pull
win: Redefine NSIG to consider SIGWINCH Since SIGWINCH is being defined with a value above the existing NSIG, redefine NSIG on WIN32. PR-URL: https://github.com/libuv/libuv/pull/2032 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
show more ...
|
#
95c5bf8d |
| 14-Jun-2018 |
Ben Noordhuis |
unix,win: merge timers implementation Merge src/unix/timer.c and src/win/timer.c into src/timer.c. This changes the Windows implementation from a binary tree to a binary heap for ge
unix,win: merge timers implementation Merge src/unix/timer.c and src/win/timer.c into src/timer.c. This changes the Windows implementation from a binary tree to a binary heap for generally better performance. PR-URL: https://github.com/libuv/libuv/pull/1882 Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
47dcc07c |
| 28-May-2018 |
Ben Noordhuis |
win: move stdint-msvc2008.h to include/uv/ Move it so that include/ contains uv.h and nothing more. PR-URL: https://github.com/libuv/libuv/pull/1850 Reviewed-By: Colin Ihrig <cj
win: move stdint-msvc2008.h to include/uv/ Move it so that include/ contains uv.h and nothing more. PR-URL: https://github.com/libuv/libuv/pull/1850 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
#
99ae3edf |
| 22-Jul-2017 |
Saúl Ibarra Corretgé |
core: move all include files except uv.h to uv/ This is a cherry-pick of commit d010030ad5 from the master branch. Conflicts: Makefile.am include/uv.h
core: move all include files except uv.h to uv/ This is a cherry-pick of commit d010030ad5 from the master branch. Conflicts: Makefile.am include/uv.h include/uv/unix.h libuv.nsi (deleted) src/unix/pthread-barrier.c (deleted) PR-URL: https://github.com/libuv/libuv/pull/1850 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|