Update files' copyright headers (final time, promice)

This should be the end of the identity crisis with files' copyright
headers/disclosures.
We shall not be using names in the headers, since this does not make
sense, this is covered by the git logs, and is preferred.

The following commit will tackle the CONTRIBUTORS file, to specify how
it should be generated.
This commit is contained in:
2026-02-05 12:15:48 +01:00
parent af0b82ea32
commit 8a01cd3a47
21 changed files with 85 additions and 126 deletions

View File

@@ -1,9 +1,3 @@
# This file is part of MCA-Selector-lite,
# and is licensed under GPL-2.0-only.
# Copyright (C)2025 quinnthepigeon@proton.me Quinn
# For further information, view COPYING and CONTRIBUTORS
# at: www.github.com/thepigeongenerator/mcaselector-lite
#
---
# ---------------------------
# general style settings

View File

@@ -1,9 +1,3 @@
# This file is part of MCA-Selector-lite,
# and is licensed under GPL-2.0-only.
# Copyright (C)2025 quinnthepigeon@proton.me Quinn
# For further information, view COPYING and CONTRIBUTORS
# at: www.github.com/thepigeongenerator/mcaselector-lite
[*]
charset = utf-8
end_of_line = lf

6
.gitignore vendored
View File

@@ -1,9 +1,3 @@
# This file is part of MCA-Selector-lite,
# and is licensed under GPL-2.0-only.
# Copyright (C)2025 quinnthepigeon@proton.me Quinn
# For further information, view COPYING and CONTRIBUTORS
# at: www.github.com/thepigeongenerator/mcaselector-lite
# ignore all dotfiles by default
.*

View File

@@ -1,8 +1,7 @@
# This file is part of MCA-Selector-lite,
# and is licensed under GPL-2.0-only.
# Copyright (C)2026 quinnthepigeon@proton.me Quinn
# For further information, view COPYING and CONTRIBUTORS
# at: www.github.com/thepigeongenerator/mcaselector-lite
# Copyright (C)2026 MCA-Selector-Lite
# Licensed under GPL-2.0-only. For further information,
# view `git log`, and the COPYING and CONTRIBUTORS files
# at www.github.com/thepigeongenerator/mcaselector-lite.
SHELL = /bin/sh
.SUFFIXES:
@@ -37,12 +36,7 @@ LDFLAGS += $(shell pkg-config --libs-only-L libarchive)
LDLIBS += $(shell pkg-config --libs-only-l libarchive)
endif
msg-cc = $(info [CC] $(1))
msg-clean = $(info [CLEAN] $(1))
msg-ld = $(info [LD] $(1))
msg-mkdir = $(info [MKDIR] $(1))
msg-tar = $(info [TAR] $(1))
msg-xxd = $(info [XXD] $(1))
msg = @printf '%-8s %s\n' "$(1)" "$(2)"
# Set Q to @ to silence commands being printed, unless --no-silent has been set
ifeq (0, $(words $(findstring --no-silent,$(MAKEFLAGS))))
@@ -54,8 +48,7 @@ endif
ifeq ($(OS),Windows_NT)
NAME := $(NAME).exe
# BUG: I am purposefully neglecting this
LDLIBS += -lopengl32 -lgdi32
$(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
LDLIBS += -lopengl32 -lgdi32 $(warning Detected Windows_NT, please refer to the documentation if you encounter issues.)
endif
# Default target; compiles everything.
@@ -78,9 +71,11 @@ uninstall:
.PHONY:
check-sparse: $(SRC)
$(foreach f,$(SRC),\
-$(Q)$(SPARSE) $(CFLAGS) $(CPPFLAGS) $f\
)
-$(Q)$(SPARSE) $(CFLAGS) $(CPPFLAGS) $(SRC)
.PHONY:
check-gcc: $(SRC)
-$(Q)$(CC) -fanalyzer $(CFLAGS) $(CPPFLAGS) $(SRC)
.PHONY:
clean:
@@ -89,19 +84,19 @@ clean:
# Links together the object files into the final binary.
bin/$(NAME): $(OBJ) | bin/
$(Q)$(call msg-ld,$@)
$(Q)$(call msg,LD,$@)
$(Q)$(CC) $(LDFLAGS) $(LDLIBS) -o $@ $^
bin/stripped_$(NAME): $(OBJ) | bin/
$(Q)$(call msg-ld,$@)
$(Q)$(call msg,LD,$@)
$(Q)$(CC) -s $(LDFLAGS) $(LDLIBS) -o $@ $^
# Compiles C sources into object files
%.c.o: %.c
$(Q)$(call msg-cc,$@)
$(Q)$(call msg,CC,$@)
$(Q)$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
%/:
$(Q)$(call msg-mkdir,$@)
$(Q)$(call msg,MKDIR,$@)
$(Q)mkdir $@
# Generate and include dependencies,

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_ATRB_H
#define MCASELECTOR_LITE_ATRB_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_ENDIAN_H
#define MCASELECTOR_LITE_ENDIAN_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_MACRO_H
#define MCASELECTOR_LITE_MACRO_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_TYPES_H
#define MCASELECTOR_LITE_TYPES_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_UTIL_H
#define MCASELECTOR_LITE_UTIL_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#ifndef MCASELECTOR_LITE_VEC_H
#define MCASELECTOR_LITE_VEC_H

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#include "mcx.h"
#include <archive.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#include <mcaselector-lite/atrb.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#include "nbt.h"
#include <assert.h>
@@ -45,9 +44,8 @@ static const u8 *procarr(const u8 *restrict buf, s32 nmemb, uint size, struct nb
{
usize len = nmemb * size;
*out = (struct nbt_array){
out->nmemb = nmemb,
out->dat = malloc(len),
};
nmemb,
malloc(len)};
if (!out->dat)
return buf + len;

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#include <assert.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#include "conf.h"
#include <assert.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#include <mcaselector-lite/atrb.h>
#include <mcaselector-lite/types.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#include <stdio.h>
#include <stdlib.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#if defined __unix__

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#if defined(__unix__)

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#include "error.h"
#include <mcaselector-lite/types.h>

View File

@@ -1,8 +1,7 @@
/* This file is part of MCA-Selector-lite,
* and is licensed under GPL-2.0-only.
* Copyright (C)2025 quinnthepigeon@proton.me Quinn
* For further information, view COPYING and CONTRIBUTORS
* at: www.github.com/thepigeongenerator/mcaselector-lite */
/* Copyright (C)2025 MCA-Selector-Lite
* Licensed under GPL-2.0-only. For further information,
* view `git log`, and the COPYING and CONTRIBUTORS files
* at www.github.com/thepigeongenerator/mcaselector-lite. */
#pragma once
#include <mcaselector-lite/atrb.h>