From 04f9250413356b9bdc2335ec284facf878fd5503 Mon Sep 17 00:00:00 2001 From: Takashi Hashida Date: Mon, 8 Sep 2025 13:48:28 +0900 Subject: [PATCH 1/3] Add MPL License text to RepostConfirmationCanceler --- RepostConfirmationCanceler/ConfigLoader.cs | 9 ++++++++- .../EdgeConfirmationDialogCanceler.cs | 9 ++++++++- RepostConfirmationCanceler/Logger.cs | 9 ++++++++- RepostConfirmationCanceler/ProcessCommunicator.cs | 9 ++++++++- RepostConfirmationCanceler/Program.cs | 9 ++++++++- RepostConfirmationCanceler/RunTimeMode.cs | 9 ++++++++- RepostConfirmationCanceler/RuntimeContext.cs | 9 ++++++++- 7 files changed, 56 insertions(+), 7 deletions(-) diff --git a/RepostConfirmationCanceler/ConfigLoader.cs b/RepostConfirmationCanceler/ConfigLoader.cs index 0e889e1..e188cc2 100644 --- a/RepostConfirmationCanceler/ConfigLoader.cs +++ b/RepostConfirmationCanceler/ConfigLoader.cs @@ -1,4 +1,11 @@ -using Microsoft.Win32; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; diff --git a/RepostConfirmationCanceler/EdgeConfirmationDialogCanceler.cs b/RepostConfirmationCanceler/EdgeConfirmationDialogCanceler.cs index 92da2a1..c8a5c84 100644 --- a/RepostConfirmationCanceler/EdgeConfirmationDialogCanceler.cs +++ b/RepostConfirmationCanceler/EdgeConfirmationDialogCanceler.cs @@ -1,4 +1,11 @@ -using System; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; diff --git a/RepostConfirmationCanceler/Logger.cs b/RepostConfirmationCanceler/Logger.cs index 146edbe..0ee368e 100644 --- a/RepostConfirmationCanceler/Logger.cs +++ b/RepostConfirmationCanceler/Logger.cs @@ -1,4 +1,11 @@ -using System; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using System; using System.IO; namespace RepostConfirmationCanceler diff --git a/RepostConfirmationCanceler/ProcessCommunicator.cs b/RepostConfirmationCanceler/ProcessCommunicator.cs index 8e5df2a..adf6cc4 100644 --- a/RepostConfirmationCanceler/ProcessCommunicator.cs +++ b/RepostConfirmationCanceler/ProcessCommunicator.cs @@ -1,4 +1,11 @@ -using System; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using System; using System.IO; using System.IO.Pipes; using System.Text; diff --git a/RepostConfirmationCanceler/Program.cs b/RepostConfirmationCanceler/Program.cs index a43ac87..85ff7a6 100644 --- a/RepostConfirmationCanceler/Program.cs +++ b/RepostConfirmationCanceler/Program.cs @@ -1,4 +1,11 @@ -using Microsoft.Win32; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using Microsoft.Win32; using RepostConfirmationCanceler; using System; using System.Collections.Generic; diff --git a/RepostConfirmationCanceler/RunTimeMode.cs b/RepostConfirmationCanceler/RunTimeMode.cs index 06c48c6..9fe6cbc 100644 --- a/RepostConfirmationCanceler/RunTimeMode.cs +++ b/RepostConfirmationCanceler/RunTimeMode.cs @@ -1,4 +1,11 @@ -namespace RepostConfirmationCanceler +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +namespace RepostConfirmationCanceler { internal enum RunTimeMode { diff --git a/RepostConfirmationCanceler/RuntimeContext.cs b/RepostConfirmationCanceler/RuntimeContext.cs index ec6e607..7e73d82 100644 --- a/RepostConfirmationCanceler/RuntimeContext.cs +++ b/RepostConfirmationCanceler/RuntimeContext.cs @@ -1,4 +1,11 @@ -using System; +/* +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. + +Copyright (c) 2025 ClearCode Inc. +*/ +using System; namespace RepostConfirmationCanceler { From 47eb6b73ff9708caa15a003bdac6cd8a75329927 Mon Sep 17 00:00:00 2001 From: Takashi Hashida Date: Tue, 9 Sep 2025 11:43:55 +0900 Subject: [PATCH 2/3] Add full text of MPL2 and COPYING file --- COPYING | 8 ++++++++ LICENSE => LICENSES/GPL3.txt | 0 LICENSES/MPL2.txt | 0 3 files changed, 8 insertions(+) create mode 100644 COPYING rename LICENSE => LICENSES/GPL3.txt (100%) create mode 100644 LICENSES/MPL2.txt diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..7d884c6 --- /dev/null +++ b/COPYING @@ -0,0 +1,8 @@ +The source code for RepostConfirmationCanceler.exe are licensed under the MPL 2.0 license. + +All other code are licensed under the GPL v3 license. + +You can obtain the full text of the MPL 2.0 license and the GPL v3 license from the following files. + +LICENSES\MPL2.txt +LICENSES\GPL3.txt \ No newline at end of file diff --git a/LICENSE b/LICENSES/GPL3.txt similarity index 100% rename from LICENSE rename to LICENSES/GPL3.txt diff --git a/LICENSES/MPL2.txt b/LICENSES/MPL2.txt new file mode 100644 index 0000000..e69de29 From adb816875e2fb19e23f983305e4c470842eb8733 Mon Sep 17 00:00:00 2001 From: Takashi Hashida Date: Tue, 9 Sep 2025 11:46:37 +0900 Subject: [PATCH 3/3] Add "v" before MPL license version --- COPYING | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/COPYING b/COPYING index 7d884c6..eb5b858 100644 --- a/COPYING +++ b/COPYING @@ -1,8 +1,8 @@ -The source code for RepostConfirmationCanceler.exe are licensed under the MPL 2.0 license. +The source code for RepostConfirmationCanceler.exe are licensed under the MPL v2.0 license. All other code are licensed under the GPL v3 license. -You can obtain the full text of the MPL 2.0 license and the GPL v3 license from the following files. +You can obtain the full text of the MPL v2.0 license and the GPL v3 license from the following files. LICENSES\MPL2.txt LICENSES\GPL3.txt \ No newline at end of file