From 4fd803a08167d81e6f47993b6713ad9e3df849df Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Mon, 16 Dec 2024 20:25:31 +0100 Subject: [PATCH 1/3] Do not require login on win --- src/main/java/com/clouds42/Commands/CoverServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/clouds42/Commands/CoverServer.java b/src/main/java/com/clouds42/Commands/CoverServer.java index c74b0a2..e59a70c 100644 --- a/src/main/java/com/clouds42/Commands/CoverServer.java +++ b/src/main/java/com/clouds42/Commands/CoverServer.java @@ -65,7 +65,7 @@ protected ServerSocket getServerSocket() throws IOException { String pipeName = Utils.getPipeName(getConnectionOptions()); if(serverSocket == null) { if (isWindows) { - serverSocket = new Win32NamedPipeServerSocket(pipeName); + serverSocket = new Win32NamedPipeServerSocket(pipeName, false, Win32SecurityLevel.OWNER_DACL); } else { serverSocket = new UnixDomainServerSocket(pipeName); } From e702710394e10040916e1d607925f14a10a84cf7 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Mon, 16 Dec 2024 20:25:37 +0100 Subject: [PATCH 2/3] chmod +x --- gradlew | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 gradlew diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 From 801e96379839724d7e2c68674107e923462974f6 Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Mon, 16 Dec 2024 20:25:42 +0100 Subject: [PATCH 3/3] Happy new year --- src/main/java/com/clouds42/AbstractDebugClient.java | 2 +- .../com/clouds42/CommandLineOptions/ConnectionOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/ConvertOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/DebuggerOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/FilterOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/LoggingOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/MetadataOptions.java | 2 +- .../java/com/clouds42/CommandLineOptions/OutputOptions.java | 2 +- src/main/java/com/clouds42/Commands/ConvertCommand.java | 2 +- src/main/java/com/clouds42/Commands/CoverServer.java | 3 ++- src/main/java/com/clouds42/Commands/CoverageCommand.java | 2 +- .../java/com/clouds42/Commands/SendCheckMessageCommand.java | 2 +- .../java/com/clouds42/Commands/SendCleanMessageCommand.java | 2 +- .../java/com/clouds42/Commands/SendDumpMessageCommand.java | 2 +- src/main/java/com/clouds42/Commands/SendMessageCommand.java | 2 +- .../java/com/clouds42/Commands/SendStatsMessageCommand.java | 2 +- .../java/com/clouds42/Commands/SendStopMessageCommand.java | 2 +- src/main/java/com/clouds42/Coverage41C.java | 2 +- src/main/java/com/clouds42/DebugClient.java | 2 +- src/main/java/com/clouds42/GlobalCallsFilter.java | 2 +- src/main/java/com/clouds42/LinesToCoverage.java | 2 +- .../java/com/clouds42/MyRuntimeDebugModelXmlSerializer.java | 2 +- src/main/java/com/clouds42/PipeMessages.java | 2 +- src/main/java/com/clouds42/Utils.java | 2 +- src/test/java/com/clouds42/ConvertTest.java | 2 +- src/test/java/com/clouds42/CoverageTest.java | 2 +- src/test/java/com/clouds42/LinesToCoverageTest.java | 2 +- src/test/java/com/clouds42/TestUtils.java | 2 +- src/test/java/com/clouds42/UtilsTest.java | 2 +- 29 files changed, 30 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/clouds42/AbstractDebugClient.java b/src/main/java/com/clouds42/AbstractDebugClient.java index 61b0689..0c8b209 100644 --- a/src/main/java/com/clouds42/AbstractDebugClient.java +++ b/src/main/java/com/clouds42/AbstractDebugClient.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/ConnectionOptions.java b/src/main/java/com/clouds42/CommandLineOptions/ConnectionOptions.java index a16d109..a480b39 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/ConnectionOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/ConnectionOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/ConvertOptions.java b/src/main/java/com/clouds42/CommandLineOptions/ConvertOptions.java index 8b2b149..6f9be4c 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/ConvertOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/ConvertOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/DebuggerOptions.java b/src/main/java/com/clouds42/CommandLineOptions/DebuggerOptions.java index a46c0ec..3462c5a 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/DebuggerOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/DebuggerOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/FilterOptions.java b/src/main/java/com/clouds42/CommandLineOptions/FilterOptions.java index da9e345..66cbc82 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/FilterOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/FilterOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/LoggingOptions.java b/src/main/java/com/clouds42/CommandLineOptions/LoggingOptions.java index 86173ea..00d0cc2 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/LoggingOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/LoggingOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/MetadataOptions.java b/src/main/java/com/clouds42/CommandLineOptions/MetadataOptions.java index 411cafa..0157429 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/MetadataOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/MetadataOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/CommandLineOptions/OutputOptions.java b/src/main/java/com/clouds42/CommandLineOptions/OutputOptions.java index ff8f3c8..b4ee5a6 100644 --- a/src/main/java/com/clouds42/CommandLineOptions/OutputOptions.java +++ b/src/main/java/com/clouds42/CommandLineOptions/OutputOptions.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/ConvertCommand.java b/src/main/java/com/clouds42/Commands/ConvertCommand.java index 0b94cac..c65016c 100644 --- a/src/main/java/com/clouds42/Commands/ConvertCommand.java +++ b/src/main/java/com/clouds42/Commands/ConvertCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/CoverServer.java b/src/main/java/com/clouds42/Commands/CoverServer.java index e59a70c..fc05921 100644 --- a/src/main/java/com/clouds42/Commands/CoverServer.java +++ b/src/main/java/com/clouds42/Commands/CoverServer.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later @@ -28,6 +28,7 @@ import com.clouds42.Utils; import org.scalasbt.ipcsocket.UnixDomainServerSocket; import org.scalasbt.ipcsocket.Win32NamedPipeServerSocket; +import org.scalasbt.ipcsocket.Win32SecurityLevel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/com/clouds42/Commands/CoverageCommand.java b/src/main/java/com/clouds42/Commands/CoverageCommand.java index 33ceabd..5265a75 100644 --- a/src/main/java/com/clouds42/Commands/CoverageCommand.java +++ b/src/main/java/com/clouds42/Commands/CoverageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendCheckMessageCommand.java b/src/main/java/com/clouds42/Commands/SendCheckMessageCommand.java index 7f056e3..3091a25 100644 --- a/src/main/java/com/clouds42/Commands/SendCheckMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendCheckMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendCleanMessageCommand.java b/src/main/java/com/clouds42/Commands/SendCleanMessageCommand.java index caf0443..4375314 100644 --- a/src/main/java/com/clouds42/Commands/SendCleanMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendCleanMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendDumpMessageCommand.java b/src/main/java/com/clouds42/Commands/SendDumpMessageCommand.java index ce83373..0f8f966 100644 --- a/src/main/java/com/clouds42/Commands/SendDumpMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendDumpMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendMessageCommand.java b/src/main/java/com/clouds42/Commands/SendMessageCommand.java index 672b3a9..197806b 100644 --- a/src/main/java/com/clouds42/Commands/SendMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendStatsMessageCommand.java b/src/main/java/com/clouds42/Commands/SendStatsMessageCommand.java index de5356f..4ae34ed 100644 --- a/src/main/java/com/clouds42/Commands/SendStatsMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendStatsMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Commands/SendStopMessageCommand.java b/src/main/java/com/clouds42/Commands/SendStopMessageCommand.java index b29e55f..4958b40 100644 --- a/src/main/java/com/clouds42/Commands/SendStopMessageCommand.java +++ b/src/main/java/com/clouds42/Commands/SendStopMessageCommand.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Coverage41C.java b/src/main/java/com/clouds42/Coverage41C.java index dfd8851..e23ba81 100644 --- a/src/main/java/com/clouds42/Coverage41C.java +++ b/src/main/java/com/clouds42/Coverage41C.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/DebugClient.java b/src/main/java/com/clouds42/DebugClient.java index 558f89e..3388bb7 100644 --- a/src/main/java/com/clouds42/DebugClient.java +++ b/src/main/java/com/clouds42/DebugClient.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/GlobalCallsFilter.java b/src/main/java/com/clouds42/GlobalCallsFilter.java index 2bea475..a9568b1 100644 --- a/src/main/java/com/clouds42/GlobalCallsFilter.java +++ b/src/main/java/com/clouds42/GlobalCallsFilter.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/LinesToCoverage.java b/src/main/java/com/clouds42/LinesToCoverage.java index 4d951cd..9d21115 100644 --- a/src/main/java/com/clouds42/LinesToCoverage.java +++ b/src/main/java/com/clouds42/LinesToCoverage.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/MyRuntimeDebugModelXmlSerializer.java b/src/main/java/com/clouds42/MyRuntimeDebugModelXmlSerializer.java index ac4d622..c433faa 100644 --- a/src/main/java/com/clouds42/MyRuntimeDebugModelXmlSerializer.java +++ b/src/main/java/com/clouds42/MyRuntimeDebugModelXmlSerializer.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/PipeMessages.java b/src/main/java/com/clouds42/PipeMessages.java index 64ceb1e..5e83300 100644 --- a/src/main/java/com/clouds42/PipeMessages.java +++ b/src/main/java/com/clouds42/PipeMessages.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/main/java/com/clouds42/Utils.java b/src/main/java/com/clouds42/Utils.java index 9e2a27b..4506c22 100644 --- a/src/main/java/com/clouds42/Utils.java +++ b/src/main/java/com/clouds42/Utils.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/test/java/com/clouds42/ConvertTest.java b/src/test/java/com/clouds42/ConvertTest.java index b3ed8aa..ed337e8 100644 --- a/src/test/java/com/clouds42/ConvertTest.java +++ b/src/test/java/com/clouds42/ConvertTest.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/test/java/com/clouds42/CoverageTest.java b/src/test/java/com/clouds42/CoverageTest.java index e493dec..6d5d567 100644 --- a/src/test/java/com/clouds42/CoverageTest.java +++ b/src/test/java/com/clouds42/CoverageTest.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/test/java/com/clouds42/LinesToCoverageTest.java b/src/test/java/com/clouds42/LinesToCoverageTest.java index 3c2bf73..75ce113 100644 --- a/src/test/java/com/clouds42/LinesToCoverageTest.java +++ b/src/test/java/com/clouds42/LinesToCoverageTest.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/test/java/com/clouds42/TestUtils.java b/src/test/java/com/clouds42/TestUtils.java index c319885..ca0e467 100644 --- a/src/test/java/com/clouds42/TestUtils.java +++ b/src/test/java/com/clouds42/TestUtils.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later diff --git a/src/test/java/com/clouds42/UtilsTest.java b/src/test/java/com/clouds42/UtilsTest.java index 8e076be..186e879 100644 --- a/src/test/java/com/clouds42/UtilsTest.java +++ b/src/test/java/com/clouds42/UtilsTest.java @@ -1,7 +1,7 @@ /* * This file is a part of Coverage41C. * - * Copyright (c) 2020-2022 + * Copyright (c) 2020-2024 * Kosolapov Stanislav aka proDOOMman and contributors * * SPDX-License-Identifier: LGPL-3.0-or-later