diff --git a/LICENSE b/LICENSE index f288702..7e4ec03 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,6 @@ +SPDX-License-Identifier: GPL-3.0-or-later +SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/LICENSE_MSRL b/LICENSE_MSRL index aefeadf..1c1ce3b 100644 --- a/LICENSE_MSRL +++ b/LICENSE_MSRL @@ -1,5 +1,7 @@ -Microsoft Reciprocal License (MS-RL) -SPDX Short identifier: MS-RL +SPDX-License-Identifier: MS-RL +SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors + +Microsoft Reciprocal License (Ms-RL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/EnvForm.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/EnvForm.cs index 6802a97..06809c6 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/EnvForm.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/EnvForm.cs @@ -1,4 +1,9 @@ -using System; +// EnvForm.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Collections.Generic; using System.IO; using System.Text; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/GlobalSettingsForm.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/GlobalSettingsForm.cs index cba9b13..b5b1037 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/GlobalSettingsForm.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/GlobalSettingsForm.cs @@ -1,4 +1,9 @@ -using Microsoft.Win32; +// GlobalSettingsForm.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using Microsoft.Win32; using System; using System.Windows.Forms; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/IResourceTool.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/IResourceTool.cs index cbd71b7..1cf88e2 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/IResourceTool.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/IResourceTool.cs @@ -1,4 +1,9 @@ -using System.Net; +// IResourceTool.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System.Net; using System.Threading.Tasks; namespace WelsonJS.Launcher diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.cs index 0ba95da..11f6dc9 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/InstancesForm.cs @@ -1,4 +1,9 @@ -using System; +// InstancesForm.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.IO; using System.Threading.Tasks; using System.Windows.Forms; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/LICENSE b/WelsonJS.Toolkit/WelsonJS.Launcher/LICENSE index f288702..7e4ec03 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/LICENSE +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/LICENSE @@ -1,3 +1,6 @@ +SPDX-License-Identifier: GPL-3.0-or-later +SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/MainForm.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/MainForm.cs index fa82bc3..9014e81 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/MainForm.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/MainForm.cs @@ -1,4 +1,9 @@ -using System; +// MainForm.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Diagnostics; using System.IO; using System.IO.Compression; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs index c29f702..66d593d 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/Program.cs @@ -1,4 +1,9 @@ -using System; +// Program.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Diagnostics; using System.IO; using System.Linq; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs index 711394a..bc460b2 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceServer.cs @@ -1,6 +1,6 @@ // ResourceServer.cs -// A resource server of WelsonJS Editor (WelsonJS.Launcher) -// Namhyeon Go +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors // https://github.com/gnh1201/welsonjs // using System; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs index a12e0d8..6b6d14b 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/CitiQuery.cs @@ -1,4 +1,9 @@ -using System; +// CitiQuery.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Net.Http; using System.Net; using System.Threading.Tasks; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Completion.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Completion.cs index f8418f0..ada7a1c 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Completion.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Completion.cs @@ -1,4 +1,9 @@ -using Microsoft.Win32; +// Completion.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using Microsoft.Win32; using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DevTools.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DevTools.cs index 20d40c9..f8803f7 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DevTools.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DevTools.cs @@ -1,4 +1,9 @@ -using System; +// DevTools.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Net; using System.Net.Http; using System.Threading.Tasks; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DnsQuery.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DnsQuery.cs index 7403a63..5b876a7 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DnsQuery.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/DnsQuery.cs @@ -1,4 +1,9 @@ -using System; +// DnsQuery.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Collections.Generic; using System.Linq; using System.Net; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Settings.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Settings.cs index 8b3a005..46e8951 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Settings.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Settings.cs @@ -1,4 +1,9 @@ -using System; +// Settings.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Collections.Generic; using System.Configuration; using System.Linq; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Tfa.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Tfa.cs index 0685888..5aa52f2 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Tfa.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Tfa.cs @@ -1,4 +1,9 @@ -using System; +// Tfa.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Linq; using System.Security.Cryptography; using System.Collections.Generic; diff --git a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Whois.cs b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Whois.cs index 148da61..e4f2c13 100644 --- a/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Whois.cs +++ b/WelsonJS.Toolkit/WelsonJS.Launcher/ResourceTools/Whois.cs @@ -1,4 +1,9 @@ -using System.Net; +// Whois.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System.Net; using System.Threading.Tasks; using System; using System.Net.Http; diff --git a/WelsonJS.Toolkit/WelsonJS.Service/FileEventMonitor.cs b/WelsonJS.Toolkit/WelsonJS.Service/FileEventMonitor.cs index 3c36d2a..5270a0b 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/FileEventMonitor.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/FileEventMonitor.cs @@ -1,6 +1,8 @@ // FileEventMonitor.cs -// Namhyeon Go +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors // https://github.com/gnh1201/welsonjs +// using ClamAV.Net.Client; using ClamAV.Net.Client.Results; using Microsoft.Extensions.Logging; diff --git a/WelsonJS.Toolkit/WelsonJS.Service/LICENSE b/WelsonJS.Toolkit/WelsonJS.Service/LICENSE index 3b32f01..21d928f 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/LICENSE +++ b/WelsonJS.Toolkit/WelsonJS.Service/LICENSE @@ -1,5 +1,7 @@ -Microsoft Reciprocal License (MS-RL) -SPDX Short identifier: MS-RL +SPDX-License-Identifier: MS-RL +SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors + +Microsoft Reciprocal License (Ms-RL) This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. diff --git a/WelsonJS.Toolkit/WelsonJS.Service/Model/FileMatchResult.cs b/WelsonJS.Toolkit/WelsonJS.Service/Model/FileMatchResult.cs index 4418403..ad3dbad 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/Model/FileMatchResult.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/Model/FileMatchResult.cs @@ -1,4 +1,9 @@ -using System; +// FileMatchResult.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; namespace WelsonJS.Service.Model { diff --git a/WelsonJS.Toolkit/WelsonJS.Service/Model/ScreenMatchResult.cs b/WelsonJS.Toolkit/WelsonJS.Service/Model/ScreenMatchResult.cs index ffb8dc0..0c2a384 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/Model/ScreenMatchResult.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/Model/ScreenMatchResult.cs @@ -1,4 +1,9 @@ -using System; +// ScreenMatchResult.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Drawing; namespace WelsonJS.Service diff --git a/WelsonJS.Toolkit/WelsonJS.Service/Program.cs b/WelsonJS.Toolkit/WelsonJS.Service/Program.cs index 9c3d1a2..80ceb6f 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/Program.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/Program.cs @@ -1,4 +1,9 @@ -using Microsoft.Extensions.Logging; +// Program.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using Microsoft.Extensions.Logging; using System; using System.IO; using System.ServiceProcess; diff --git a/WelsonJS.Toolkit/WelsonJS.Service/ProjectInstaller.cs b/WelsonJS.Toolkit/WelsonJS.Service/ProjectInstaller.cs index 4ff7df4..59d5d4f 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/ProjectInstaller.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/ProjectInstaller.cs @@ -1,4 +1,9 @@ -using System; +// ProjectInstaller.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; diff --git a/WelsonJS.Toolkit/WelsonJS.Service/ScreenMatch.cs b/WelsonJS.Toolkit/WelsonJS.Service/ScreenMatch.cs index edf6c1a..cca5ffc 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/ScreenMatch.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/ScreenMatch.cs @@ -1,6 +1,8 @@ // ScreenMatching.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors // https://github.com/gnh1201/welsonjs -// https://catswords-oss.rdbl.io/5719744820/8803957194 +// using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs b/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs index 19b0dc0..0d12d5e 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs @@ -1,29 +1,8 @@ -/* - * WelsonJS.Service - * - * filename: - * ServiceMain.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - * references: - * - https://learn.microsoft.com/en-us/dotnet/framework/windows-services/how-to-debug-windows-service-applications - * - https://stackoverflow.com/questions/6490979/how-to-pass-parameters-to-windows-service - * - https://stackoverflow.com/questions/42812333/pass-an-argument-to-a-windows-service-at-automatic-startup - * - https://learn.microsoft.com/ko-kr/windows/win32/api/winuser/nf-winuser-getsystemmetrics - */ +// ServiceMain.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System; using System.ServiceProcess; using System.Timers; @@ -31,7 +10,6 @@ using System.Runtime.InteropServices; using MSScriptControl; using System.IO; using System.Collections.Generic; -using WelsonJS.TinyINIController; using System.Collections; using System.Threading.Tasks; using Microsoft.Extensions.Logging; @@ -494,3 +472,14 @@ namespace WelsonJS.Service } } } + +/* References: + * [1] MSDN - How to: Debug Windows Service Applications + * https://learn.microsoft.com/en-us/dotnet/framework/windows-services/how-to-debug-windows-service-applications + * [2] StackOverflow - How to pass parameters to Windows Service? + * https://stackoverflow.com/questions/6490979/how-to-pass-parameters-to-windows-service + * [3] StackOverflow - Pass an argument to a Windows Service at automatic startup + * https://stackoverflow.com/questions/42812333/pass-an-argument-to-a-windows-service-at-automatic-startup + * [4] MSDN - GetSystemMetrics function (winuser.h) + * https://learn.microsoft.com/ko-kr/windows/win32/api/winuser/nf-winuser-getsystemmetrics + */ diff --git a/WelsonJS.Toolkit/WelsonJS.Service/UserVariables.cs b/WelsonJS.Toolkit/WelsonJS.Service/UserVariables.cs index a96955f..0ba07cd 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/UserVariables.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/UserVariables.cs @@ -1,4 +1,9 @@ -using System.Collections.Generic; +// UserVariables.cs +// SPDX-License-Identifier: MS-RL +// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System.Collections.Generic; using System; using System.IO; using System.ServiceProcess; diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs index 6ed1a44..4e17141 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs @@ -1,25 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * BitmapUtils.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ - +// BitmapUtils.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System; using System.Drawing; using System.Drawing.Imaging; diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/TinyINIController/IniFile.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/IniFile.cs similarity index 85% rename from WelsonJS.Toolkit/WelsonJS.Toolkit/TinyINIController/IniFile.cs rename to WelsonJS.Toolkit/WelsonJS.Toolkit/IniFile.cs index a2afd5f..a02b656 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/TinyINIController/IniFile.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/IniFile.cs @@ -1,12 +1,14 @@ -using System; +// iniFile.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// +using System; using System.IO; using System.Runtime.InteropServices; using System.Text; -// TinyINIController -// Original source code: https://github.com/niklyadov/tiny-ini-file-class - -namespace WelsonJS.TinyINIController +namespace WelsonJS { public class IniFile { @@ -72,3 +74,8 @@ namespace WelsonJS.TinyINIController } } } + +/* References: + * [1] GitHub - A simple class on C# for read/write ini files, niklyadov/tiny-ini-file-class + * https://github.com/niklyadov/tiny-ini-file-class + */ diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/LICENSE b/WelsonJS.Toolkit/WelsonJS.Toolkit/LICENSE index f288702..7e4ec03 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/LICENSE +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/LICENSE @@ -1,3 +1,6 @@ +SPDX-License-Identifier: GPL-3.0-or-later +SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors + GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/NamedSharedMemory.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/NamedSharedMemory.cs index f0f8142..aeb5fef 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/NamedSharedMemory.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/NamedSharedMemory.cs @@ -1,24 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * NamedSharedMemory.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// NamedSharedMemory.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System; using System.Collections.Generic; using System.Runtime.InteropServices; diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/ProcessUtils.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/ProcessUtils.cs index d3fbe7b..e6d3f6b 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/ProcessUtils.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/ProcessUtils.cs @@ -1,24 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * ProcessUtils.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// ProcessUtils.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System.Collections.Generic; using System.Diagnostics; using System.Windows.Forms; diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Prompt.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Prompt.cs index bcf2b24..f5e6639 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Prompt.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Prompt.cs @@ -1,24 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * Prompt.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// Prompt.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System.Windows.Forms; namespace WelsonJS diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Toolkit.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Toolkit.cs index 4ca03ec..3158c1a 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Toolkit.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Toolkit.cs @@ -1,34 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * Toolkit.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - * references: - * - https://stackoverflow.com/questions/9004352/call-a-function-in-a-console-app-from-vbscript - * - https://stackoverflow.com/questions/9501022/cannot-create-an-object-from-a-active-x-component - * - https://stackoverflow.com/questions/13547639/return-window-handle-by-its-name-title - * - https://blog.naver.com/zlatmgpdjtiq/222016292758 - * - https://stackoverflow.com/questions/5427020/prompt-dialog-in-windows-forms - * - https://stackoverflow.com/questions/31856473/how-to-send-an-enter-press-to-another-application-in-wpf - * - https://stackoverflow.com/questions/11365605/c-sharp-postmessage-syntax-trying-to-post-a-wm-char-to-another-applications-win - * - https://docs.microsoft.com/ko-kr/windows/win32/inputdev/virtual-key-codes?redirectedfrom=MSDN - */ - +// Toolkit.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System; using System.Runtime.InteropServices; using System.Text; diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/WelsonJS.Toolkit.csproj b/WelsonJS.Toolkit/WelsonJS.Toolkit/WelsonJS.Toolkit.csproj index 3dda594..6da17b3 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/WelsonJS.Toolkit.csproj +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/WelsonJS.Toolkit.csproj @@ -99,7 +99,7 @@ - + diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/Window.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/Window.cs index bab5e9e..08f9c5f 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/Window.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/Window.cs @@ -1,24 +1,8 @@ -/* - * WelsonJS.Toolkit: WelsonJS native component - * - * filename: - * Window.cs - * - * description: - * WelsonJS - Build a Windows app on the Windows built-in JavaScript engine - * - * website: - * - https://github.com/gnh1201/welsonjs - * - https://catswords.social/@catswords_oss - * - https://teams.live.com/l/community/FEACHncAhq8ldnojAI - * - * author: - * Namhyeon Go - * - * license: - * GPLv3 or MS-RL(Microsoft Reciprocal License) - * - */ +// Window.cs +// SPDX-License-Identifier: GPL-3.0-or-later +// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors +// https://github.com/gnh1201/welsonjs +// using System; using System.Diagnostics; using System.Runtime.InteropServices;