Relicense to GPL 3.0

This commit is contained in:
Ottatop 2023-08-01 11:06:35 -05:00 committed by Ottatop
parent de30de73eb
commit 35eb1c7652
40 changed files with 713 additions and 584 deletions

View file

@ -1,21 +0,0 @@
name: Check MPL license headers
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
check_headers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install addlicense
run: go install github.com/google/addlicense@latest
- name: Check headers
run: $HOME/go/bin/addlicense -check -l mpl ./src

1046
LICENSE

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---Input and keybinds ---Input and keybinds
---@module InputModule ---@module InputModule

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---Output management ---Output management
---@module OutputModule ---@module OutputModule

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---The configuration entry point. ---The configuration entry point.
---@module PinnacleModule ---@module PinnacleModule

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---This file houses LDoc documentation with dummy functions.--- ---This file houses LDoc documentation with dummy functions.---

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---Tag management ---Tag management
---@module TagModule ---@module TagModule

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---Window management ---Window management
---@module WindowModule ---@module WindowModule

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@class InputModule ---@class InputModule
local input_module = { local input_module = {

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@alias Modifier ---@alias Modifier
---| "Alt" # The "Alt" key ---| "Alt" # The "Alt" key

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@meta _ ---@meta _

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@class OutputModule ---@class OutputModule
local output_module = {} local output_module = {}

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
local socket = require("posix.sys.socket") local socket = require("posix.sys.socket")
local msgpack = require("msgpack") local msgpack = require("msgpack")

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@diagnostic disable: redefined-local ---@diagnostic disable: redefined-local

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@class TagModule ---@class TagModule
local tag_module = {} local tag_module = {}

View file

@ -1,8 +1,4 @@
-- This Source Code Form is subject to the terms of the Mozilla Public -- SPDX-License-Identifier: GPL-3.0-or-later
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at https://mozilla.org/MPL/2.0/.
--
-- SPDX-License-Identifier: MPL-2.0
---@class WindowModule ---@class WindowModule
local window_module = {} local window_module = {}

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
//! Pinnacle's configuration API. //! Pinnacle's configuration API.
//! //!

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
// The MessagePack format for these is a one-element map where the element's key is the enum name and its // The MessagePack format for these is a one-element map where the element's key is the enum name and its
// value is a map of the enum's values // value is a map of the enum's values

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{output::Output, reexports::wayland_server::protocol::wl_surface::WlSurface}; use smithay::{output::Output, reexports::wayland_server::protocol::wl_surface::WlSurface};

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
// from anvil // from anvil
// TODO: figure out what this stuff does // TODO: figure out what this stuff does

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::{error::Error, sync::Mutex, time::Duration}; use std::{error::Error, sync::Mutex, time::Duration};

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::{io::Read, time::Duration}; use std::{io::Read, time::Duration};

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{desktop::Window, output::Output, utils::IsAlive}; use smithay::{desktop::Window, output::Output, utils::IsAlive};

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
pub mod move_grab; pub mod move_grab;
pub mod resize_grab; pub mod resize_grab;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
desktop::Window, desktop::Window,

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
desktop::Window, desktop::Window,

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::time::Duration; use std::time::Duration;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::collections::HashMap; use std::collections::HashMap;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use itertools::{Either, Itertools}; use itertools::{Either, Itertools};
use smithay::{ use smithay::{

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
//! A very, VERY WIP Smithay-based Wayland compositor. //! A very, VERY WIP Smithay-based Wayland compositor.
//! //!

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::cell::RefCell; use std::cell::RefCell;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
input::{ input::{

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
backend::renderer::{ backend::renderer::{

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
backend::renderer::{ backend::renderer::{

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::{ use std::{
cell::RefCell, cell::RefCell,

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::{ use std::{
cell::RefCell, cell::RefCell,

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::sync::atomic::AtomicU32; use std::sync::atomic::AtomicU32;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use std::{ use std::{
cell::RefCell, cell::RefCell,

View file

@ -1,7 +1,3 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
pub mod request; pub mod request;

View file

@ -1,8 +1,4 @@
// This Source Code Form is subject to the terms of the Mozilla Public // SPDX-License-Identifier: GPL-3.0-or-later
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
//
// SPDX-License-Identifier: MPL-2.0
use smithay::{ use smithay::{
input::{pointer::Focus, Seat}, input::{pointer::Focus, Seat},