1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-22 17:37:38 +00:00

Re-license several more files under MPL-2.0

- Several files where @MCJack123 is the exclusive contributor. He has
   signed over all contributions to "any OSI-approved license". Thank
   you!

 - Various the file handle classes: Looking at these again, I don't
   think they contain any of the original code.
This commit is contained in:
Jonathan Coates
2023-03-28 10:23:28 +01:00
parent ca279d410a
commit 8a203e7454
33 changed files with 42 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
// SPDX-FileCopyrightText: 2018 The CC: Tweaked Developers
//
// SPDX-License-Identifier: LicenseRef-CCPL
// SPDX-License-Identifier: MPL-2.0
package dan200.computercraft.core.apis.handles;

View File

@@ -1,6 +1,6 @@
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
//
// SPDX-License-Identifier: LicenseRef-CCPL
// SPDX-License-Identifier: MPL-2.0
package dan200.computercraft.core.apis.handles;

View File

@@ -1,6 +1,6 @@
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
// SPDX-FileCopyrightText: 2018 The CC: Tweaked Developers
//
// SPDX-License-Identifier: LicenseRef-CCPL
// SPDX-License-Identifier: MPL-2.0
package dan200.computercraft.core.apis.handles;

View File

@@ -1,6 +1,6 @@
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
//
// SPDX-License-Identifier: LicenseRef-CCPL
// SPDX-License-Identifier: MPL-2.0
package dan200.computercraft.core.apis.handles;

View File

@@ -1,6 +1,6 @@
// Copyright Daniel Ratcliffe, 2011-2022. Do not distribute without permission.
// SPDX-FileCopyrightText: 2017 The CC: Tweaked Developers
//
// SPDX-License-Identifier: LicenseRef-CCPL
// SPDX-License-Identifier: MPL-2.0
package dan200.computercraft.core.apis.handles;

View File

@@ -1,8 +1,7 @@
-- SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
-- Prints information about CraftOS
term.setTextColor(colors.yellow)
print(os.version() .. " on " .. _HOST)
term.setTextColor(colors.white)

View File

@@ -1,6 +1,6 @@
-- SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
local function get_speakers(name)
if name then

View File

@@ -1,6 +1,6 @@
-- SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
describe("The parallel library", function()
describe("parallel.waitForAny", function()

View File

@@ -1,6 +1,6 @@
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
describe("The rednet library", function()
describe("rednet.open", function()

View File

@@ -1,6 +1,6 @@
-- SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
local function getupvalue(fn, name)
for i = 1, debug.getinfo(fn, "u").nups do

View File

@@ -1,6 +1,6 @@
-- SPDX-FileCopyrightText: 2021 The CC: Tweaked Developers
--
-- SPDX-License-Identifier: LicenseRef-CCPL
-- SPDX-License-Identifier: MPL-2.0
local function keys(tbl)
local keys = {}