Skip to content

Commit 047eaac

Browse files
authored
[wpinet] Remove non GP language (wpilibsuite#6774)
1 parent 512a4bf commit 047eaac

14 files changed

+51
-14
lines changed

upstream_utils/libuv_patches/0001-Revert-win-process-write-minidumps-when-sending-SIGQ.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Tyler Veness <[email protected]>
33
Date: Fri, 14 Jul 2023 17:33:08 -0700
4-
Subject: [PATCH 1/9] Revert "win,process: write minidumps when sending SIGQUIT
5-
(#3840)"
4+
Subject: [PATCH 01/10] Revert "win,process: write minidumps when sending
5+
SIGQUIT (#3840)"
66

77
This reverts commit 748d894e82abcdfff7429cf745003e182c47f163.
88
---

upstream_utils/libuv_patches/0002-Fix-missing-casts.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: PJ Reiniger <[email protected]>
33
Date: Tue, 26 Apr 2022 15:01:25 -0400
4-
Subject: [PATCH 2/9] Fix missing casts
4+
Subject: [PATCH 02/10] Fix missing casts
55

66
---
77
src/fs-poll.c | 10 ++++----

upstream_utils/libuv_patches/0003-Fix-warnings.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: PJ Reiniger <[email protected]>
33
Date: Tue, 26 Apr 2022 15:09:43 -0400
4-
Subject: [PATCH 3/9] Fix warnings
4+
Subject: [PATCH 03/10] Fix warnings
55

66
---
77
include/uv/win.h | 5 +++++

upstream_utils/libuv_patches/0004-Preprocessor-cleanup.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: PJ Reiniger <[email protected]>
33
Date: Tue, 26 Apr 2022 15:19:14 -0400
4-
Subject: [PATCH 4/9] Preprocessor cleanup
4+
Subject: [PATCH 04/10] Preprocessor cleanup
55

66
---
77
include/uv.h | 12 ------------

upstream_utils/libuv_patches/0005-Cleanup-problematic-language.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: PJ Reiniger <[email protected]>
33
Date: Tue, 26 Apr 2022 15:24:47 -0400
4-
Subject: [PATCH 5/9] Cleanup problematic language
4+
Subject: [PATCH 05/10] Cleanup problematic language
55

66
---
77
src/unix/tty.c | 21 +++++++++++----------

upstream_utils/libuv_patches/0006-Fix-Win32-warning-suppression-pragma.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Tyler Veness <[email protected]>
33
Date: Sat, 21 May 2022 22:58:06 -0700
4-
Subject: [PATCH 6/9] Fix Win32 warning suppression pragma
4+
Subject: [PATCH 06/10] Fix Win32 warning suppression pragma
55

66
---
77
src/win/util.c | 2 +-

upstream_utils/libuv_patches/0007-Use-C-atomics.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Tyler Veness <[email protected]>
33
Date: Thu, 13 Jul 2023 22:13:47 -0700
4-
Subject: [PATCH 7/9] Use C++ atomics
4+
Subject: [PATCH 07/10] Use C++ atomics
55

66
---
77
src/unix/async.c | 25 +++++++++++++------------

upstream_utils/libuv_patches/0008-Remove-static-from-array-indices.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Tyler Veness <[email protected]>
33
Date: Thu, 13 Jul 2023 23:30:58 -0700
4-
Subject: [PATCH 8/9] Remove static from array indices
4+
Subject: [PATCH 08/10] Remove static from array indices
55

66
---
77
src/unix/linux.c | 12 ++++++------

upstream_utils/libuv_patches/0009-Add-pragmas-for-missing-libraries-and-set-_WIN32_WIN.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: Tyler Veness <[email protected]>
33
Date: Fri, 14 Jul 2023 16:40:18 -0700
4-
Subject: [PATCH 9/9] Add pragmas for missing libraries and set _WIN32_WINNT to
5-
Windows 10
4+
Subject: [PATCH 09/10] Add pragmas for missing libraries and set _WIN32_WINNT
5+
to Windows 10
66

77
This makes GetSystemTimePreciseAsFileTime() available.
88

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Jade Turner <[email protected]>
3+
Date: Wed, 26 Jun 2024 11:40:37 +0800
4+
Subject: [PATCH 10/10] Remove swearing
5+
6+
---
7+
src/win/fs.c | 2 +-
8+
src/win/tty.c | 2 +-
9+
2 files changed, 2 insertions(+), 2 deletions(-)
10+
11+
diff --git a/src/win/fs.c b/src/win/fs.c
12+
index 26ba539936786902af5830c2811594292815d2d7..3c73d6294e14e665c1669728495afe6bd91782f2 100644
13+
--- a/src/win/fs.c
14+
+++ b/src/win/fs.c
15+
@@ -1704,7 +1704,7 @@ INLINE static int fs__stat_handle(HANDLE handle, uv_stat_t* statbuf,
16+
* impossible to delete the file afterwards, since read-only files can't be
17+
* deleted.
18+
*
19+
- * IOW it's all just a clusterfuck and we should think of something that
20+
+ * IOW it's all just a mess and we should think of something that
21+
* makes slightly more sense.
22+
*
23+
* And uv_fs_chmod should probably just fail on windows or be a total no-op.
24+
diff --git a/src/win/tty.c b/src/win/tty.c
25+
index 7adf3cd3ba81a9c41064f4ef2af01667092f27d1..c0461ae56d16165ce0c1d47fb42b7a85a85d7255 100644
26+
--- a/src/win/tty.c
27+
+++ b/src/win/tty.c
28+
@@ -1055,7 +1055,7 @@ int uv__tty_read_stop(uv_tty_t* handle) {
29+
return 0;
30+
31+
if (handle->flags & UV_HANDLE_TTY_RAW) {
32+
- /* Cancel raw read. Write some bullshit event to force the console wait to
33+
+ /* Cancel raw read. Write some event to force the console wait to
34+
* return. */
35+
memset(&record, 0, sizeof record);
36+
record.EventType = FOCUS_EVENT;

0 commit comments

Comments
 (0)