From ac922742bfeb5e1b105a8ec8c9ce458265472352 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 27 May 2022 20:38:45 +0900 Subject: [PATCH] internal/glfw: use shorter copyright comments --- internal/glfwwin/context_windows.go | 26 ++++------------------- internal/glfwwin/glfw3h_windows.go | 26 ++++------------------- internal/glfwwin/init_windows.go | 26 ++++------------------- internal/glfwwin/input_windows.go | 26 ++++------------------- internal/glfwwin/internal_windows.go | 26 ++++------------------- internal/glfwwin/monitor_windows.go | 26 ++++------------------- internal/glfwwin/wglcontext_windows.go | 26 ++++------------------- internal/glfwwin/win32init_windows.go | 26 ++++------------------- internal/glfwwin/win32monitor_windows.go | 26 ++++------------------- internal/glfwwin/win32platform_windows.go | 26 ++++------------------- internal/glfwwin/win32thread_windows.go | 26 ++++------------------- internal/glfwwin/win32window_windows.go | 26 ++++------------------- internal/glfwwin/window_windows.go | 26 ++++------------------- 13 files changed, 52 insertions(+), 286 deletions(-) diff --git a/internal/glfwwin/context_windows.go b/internal/glfwwin/context_windows.go index c07753e7a..82845de64 100644 --- a/internal/glfwwin/context_windows.go +++ b/internal/glfwwin/context_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/glfw3h_windows.go b/internal/glfwwin/glfw3h_windows.go index 262450b60..85046e5a8 100644 --- a/internal/glfwwin/glfw3h_windows.go +++ b/internal/glfwwin/glfw3h_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/init_windows.go b/internal/glfwwin/init_windows.go index 16f69875d..eb0ff6a90 100644 --- a/internal/glfwwin/init_windows.go +++ b/internal/glfwwin/init_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/input_windows.go b/internal/glfwwin/input_windows.go index a468c9d0d..dbcd6d8e9 100644 --- a/internal/glfwwin/input_windows.go +++ b/internal/glfwwin/input_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/internal_windows.go b/internal/glfwwin/internal_windows.go index 85d7e7fa4..bc92b6874 100644 --- a/internal/glfwwin/internal_windows.go +++ b/internal/glfwwin/internal_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/monitor_windows.go b/internal/glfwwin/monitor_windows.go index 7376b65c2..2cdfa0e39 100644 --- a/internal/glfwwin/monitor_windows.go +++ b/internal/glfwwin/monitor_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/wglcontext_windows.go b/internal/glfwwin/wglcontext_windows.go index 7efe2a018..3ae6516e3 100644 --- a/internal/glfwwin/wglcontext_windows.go +++ b/internal/glfwwin/wglcontext_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/win32init_windows.go b/internal/glfwwin/win32init_windows.go index af6c46d31..3090adbbb 100644 --- a/internal/glfwwin/win32init_windows.go +++ b/internal/glfwwin/win32init_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/win32monitor_windows.go b/internal/glfwwin/win32monitor_windows.go index 1ad49e507..0cfa6b4c8 100644 --- a/internal/glfwwin/win32monitor_windows.go +++ b/internal/glfwwin/win32monitor_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/win32platform_windows.go b/internal/glfwwin/win32platform_windows.go index fa1e8f40d..88819798a 100644 --- a/internal/glfwwin/win32platform_windows.go +++ b/internal/glfwwin/win32platform_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/win32thread_windows.go b/internal/glfwwin/win32thread_windows.go index a87a6d55a..eff42daf9 100644 --- a/internal/glfwwin/win32thread_windows.go +++ b/internal/glfwwin/win32thread_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/win32window_windows.go b/internal/glfwwin/win32window_windows.go index 966aa45bc..e565855f5 100644 --- a/internal/glfwwin/win32window_windows.go +++ b/internal/glfwwin/win32window_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin diff --git a/internal/glfwwin/window_windows.go b/internal/glfwwin/window_windows.go index 2a2d3e96f..8cc1869c1 100644 --- a/internal/glfwwin/window_windows.go +++ b/internal/glfwwin/window_windows.go @@ -1,25 +1,7 @@ -// Copyright 2002-2006 Marcus Geelnard -// Copyright 2006-2019 Camilla Löwy -// Copyright 2022 The Ebiten Authors -// -// This software is provided 'as-is', without any express or implied -// warranty. In no event will the authors be held liable for any damages -// arising from the use of this software. -// -// Permission is granted to anyone to use this software for any purpose, -// including commercial applications, and to alter it and redistribute it -// freely, subject to the following restrictions: -// -// 1. The origin of this software must not be misrepresented; you must not -// claim that you wrote the original software. If you use this software -// in a product, an acknowledgment in the product documentation would -// be appreciated but is not required. -// -// 2. Altered source versions must be plainly marked as such, and must not -// be misrepresented as being the original software. -// -// 3. This notice may not be removed or altered from any source -// distribution. +// SPDX-License-Identifier: Zlib +// SPDX-FileCopyrightText: 2002-2006 Marcus Geelnard +// SPDX-FileCopyrightText: 2006-2019 Camilla Löwy +// SPDX-FileCopyrightText: 2022 The Ebitengine Authors package glfwwin