Skip to content

Commit

Permalink
Merge pull request #148 from 1c-syntax/feature/win-login-less
Browse files Browse the repository at this point in the history
Do not require login on win
  • Loading branch information
nixel2007 authored Dec 16, 2024
2 parents 6911538 + 801e963 commit e7dfdd7
Show file tree
Hide file tree
Showing 30 changed files with 31 additions and 30 deletions.
Empty file modified gradlew
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/AbstractDebugClient.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/Commands/ConvertCommand.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/clouds42/Commands/CoverServer.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand All @@ -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;

Expand Down Expand Up @@ -65,7 +66,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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/Commands/CoverageCommand.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/Coverage41C.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/DebugClient.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/GlobalCallsFilter.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/LinesToCoverage.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/PipeMessages.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/clouds42/Utils.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/clouds42/ConvertTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/clouds42/CoverageTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/clouds42/LinesToCoverageTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/clouds42/TestUtils.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/clouds42/UtilsTest.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* This file is a part of Coverage41C.
*
* Copyright (c) 2020-2022
* Copyright (c) 2020-2024
* Kosolapov Stanislav aka proDOOMman <[email protected]> and contributors
*
* SPDX-License-Identifier: LGPL-3.0-or-later
Expand Down

0 comments on commit e7dfdd7

Please sign in to comment.