diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..4d079de3 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,21 @@ +# This is the list of RGBDS's significant contributors. +# +# This does not necessarily list everyone who has contributed code. +# To see the full list of contributors, see the revision history in +# source control. + +Anthony J. Bentley +Antonio Niño Díaz +Antonio Vivace +Ben Hetherington (Ben10do) +Carsten Sørensen +David Brotz +Eldred Habert (ISSOtm) +Jakub Kądziołka +James Larrowe (JL2210) +Justin Lloyd (Otaku no Zoku) +Sanqui +stag019 +Sylvie Oukaour (Rangi42) +Vegard Nossum +yenatch (padz) diff --git a/LICENSE b/LICENSE index e856e8bf..6123080f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License -Copyright (c) 1997-2020, Carsten Sorensen and RGBDS contributors. +Copyright (c) 1997-2023, Carsten Sørensen and RGBDS contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to diff --git a/include/asm/charmap.h b/include/asm/charmap.h index 91d6268c..0e60e77a 100644 --- a/include/asm/charmap.h +++ b/include/asm/charmap.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ASM_CHARMAP_H #define RGBDS_ASM_CHARMAP_H diff --git a/include/asm/fixpoint.h b/include/asm/fixpoint.h index b6374163..23127945 100644 --- a/include/asm/fixpoint.h +++ b/include/asm/fixpoint.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ASM_FIXPOINT_H #define RGBDS_ASM_FIXPOINT_H diff --git a/include/asm/format.h b/include/asm/format.h index eabdedb5..c7a3b49b 100644 --- a/include/asm/format.h +++ b/include/asm/format.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_FORMAT_SPEC_H #define RGBDS_FORMAT_SPEC_H diff --git a/include/asm/fstack.h b/include/asm/fstack.h index 5f1851a7..c7d3c160 100644 --- a/include/asm/fstack.h +++ b/include/asm/fstack.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Contains some assembler-wide defines and externs diff --git a/include/asm/lexer.h b/include/asm/lexer.h index 91bb0a8e..c09233f9 100644 --- a/include/asm/lexer.h +++ b/include/asm/lexer.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ASM_LEXER_H #define RGBDS_ASM_LEXER_H diff --git a/include/asm/macro.h b/include/asm/macro.h index e0988ee9..efd59130 100644 --- a/include/asm/macro.h +++ b/include/asm/macro.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_MACRO_H #define RGBDS_MACRO_H diff --git a/include/asm/main.h b/include/asm/main.h index de991922..f75c008a 100644 --- a/include/asm/main.h +++ b/include/asm/main.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_MAIN_H #define RGBDS_MAIN_H diff --git a/include/asm/opt.h b/include/asm/opt.h index f9e9345b..0d9fd3f0 100644 --- a/include/asm/opt.h +++ b/include/asm/opt.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2021, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_OPT_H #define RGBDS_OPT_H diff --git a/include/asm/output.h b/include/asm/output.h index 579e9a45..f2ffc186 100644 --- a/include/asm/output.h +++ b/include/asm/output.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ASM_OUTPUT_H #define RGBDS_ASM_OUTPUT_H diff --git a/include/asm/rpn.h b/include/asm/rpn.h index 8711ef31..488cb003 100644 --- a/include/asm/rpn.h +++ b/include/asm/rpn.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ASM_RPN_H #define RGBDS_ASM_RPN_H diff --git a/include/asm/section.h b/include/asm/section.h index c2fc531f..6427be78 100644 --- a/include/asm/section.h +++ b/include/asm/section.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_SECTION_H #define RGBDS_SECTION_H diff --git a/include/asm/symbol.h b/include/asm/symbol.h index 627868f4..55a3f64d 100644 --- a/include/asm/symbol.h +++ b/include/asm/symbol.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2020, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_SYMBOL_H #define RGBDS_SYMBOL_H diff --git a/include/asm/util.h b/include/asm/util.h index d844cc95..f8d73eaf 100644 --- a/include/asm/util.h +++ b/include/asm/util.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_UTIL_H #define RGBDS_UTIL_H diff --git a/include/asm/warning.h b/include/asm/warning.h index 12b17a5c..44d85729 100644 --- a/include/asm/warning.h +++ b/include/asm/warning.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef WARNING_H #define WARNING_H diff --git a/include/error.h b/include/error.h index f7ad06a4..ccfaf94b 100644 --- a/include/error.h +++ b/include/error.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ERROR_H #define RGBDS_ERROR_H diff --git a/include/extern/utf8decoder.h b/include/extern/utf8decoder.h index 36e83a13..25ce95ad 100644 --- a/include/extern/utf8decoder.h +++ b/include/extern/utf8decoder.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2018, Antonio Nino Diaz and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef EXTERN_UTF8DECODER_H #define EXTERN_UTF8DECODER_H diff --git a/include/file.hpp b/include/file.hpp index 38ca3763..1ba365e4 100644 --- a/include/file.hpp +++ b/include/file.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_FILE_HPP #define RGBDS_FILE_HPP diff --git a/include/gfx/main.hpp b/include/gfx/main.hpp index 7a5b0213..553ed6bf 100644 --- a/include/gfx/main.hpp +++ b/include/gfx/main.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_MAIN_HPP #define RGBDS_GFX_MAIN_HPP diff --git a/include/gfx/pal_packing.hpp b/include/gfx/pal_packing.hpp index a3901a72..8f6f4184 100644 --- a/include/gfx/pal_packing.hpp +++ b/include/gfx/pal_packing.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_PAL_PACKING_HPP #define RGBDS_GFX_PAL_PACKING_HPP diff --git a/include/gfx/pal_sorting.hpp b/include/gfx/pal_sorting.hpp index 0393607f..aec236a1 100644 --- a/include/gfx/pal_sorting.hpp +++ b/include/gfx/pal_sorting.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_PAL_SORTING_HPP #define RGBDS_GFX_PAL_SORTING_HPP diff --git a/include/gfx/pal_spec.hpp b/include/gfx/pal_spec.hpp index 55b815a4..b5f96953 100644 --- a/include/gfx/pal_spec.hpp +++ b/include/gfx/pal_spec.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_PAL_SPEC_HPP #define RGBDS_GFX_PAL_SPEC_HPP diff --git a/include/gfx/process.hpp b/include/gfx/process.hpp index 4db5403c..46a1551a 100644 --- a/include/gfx/process.hpp +++ b/include/gfx/process.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_CONVERT_HPP #define RGBDS_GFX_CONVERT_HPP diff --git a/include/gfx/proto_palette.hpp b/include/gfx/proto_palette.hpp index f634c12b..a03d4ec9 100644 --- a/include/gfx/proto_palette.hpp +++ b/include/gfx/proto_palette.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_PROTO_PALETTE_HPP #define RGBDS_GFX_PROTO_PALETTE_HPP diff --git a/include/gfx/reverse.hpp b/include/gfx/reverse.hpp index 52e5ec3f..bc1fea5a 100644 --- a/include/gfx/reverse.hpp +++ b/include/gfx/reverse.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_REVERSE_HPP #define RGBDS_GFX_REVERSE_HPP diff --git a/include/gfx/rgba.hpp b/include/gfx/rgba.hpp index c04e8205..ae41d163 100644 --- a/include/gfx/rgba.hpp +++ b/include/gfx/rgba.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_GFX_RGBA_HPP #define RGBDS_GFX_RGBA_HPP diff --git a/include/hashmap.h b/include/hashmap.h index 252b732d..afcba1ca 100644 --- a/include/hashmap.h +++ b/include/hashmap.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Generic hashmap implementation (C++ templates are calling...) #ifndef RGBDS_LINK_HASHMAP_H diff --git a/include/helpers.h b/include/helpers.h index 63002cf3..e01f2bb6 100644 --- a/include/helpers.h +++ b/include/helpers.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2014-2020, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef HELPERS_H #define HELPERS_H diff --git a/include/itertools.hpp b/include/itertools.hpp index 9c3712fc..d8341f18 100644 --- a/include/itertools.hpp +++ b/include/itertools.hpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_ITERTOOLS_HPP #define RGBDS_ITERTOOLS_HPP diff --git a/include/link/assign.h b/include/link/assign.h index e7d0ee0a..1446b3d6 100644 --- a/include/link/assign.h +++ b/include/link/assign.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Assigning all sections a place #ifndef RGBDS_LINK_ASSIGN_H diff --git a/include/link/main.h b/include/link/main.h index c7ca7dce..137af11a 100644 --- a/include/link/main.h +++ b/include/link/main.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Declarations that all modules use, as well as `main` and related #ifndef RGBDS_LINK_MAIN_H diff --git a/include/link/object.h b/include/link/object.h index 6662fef2..6fe40b4b 100644 --- a/include/link/object.h +++ b/include/link/object.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Declarations related to processing of object (.o) files diff --git a/include/link/output.h b/include/link/output.h index d68f254c..da0c66b0 100644 --- a/include/link/output.h +++ b/include/link/output.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Outputting the result of linking #ifndef RGBDS_LINK_OUTPUT_H diff --git a/include/link/patch.h b/include/link/patch.h index 37c1f8f9..04867a1c 100644 --- a/include/link/patch.h +++ b/include/link/patch.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Applying patches to SECTIONs #ifndef RGBDS_LINK_PATCH_H diff --git a/include/link/script.h b/include/link/script.h index a736bcb0..3f4d6cdd 100644 --- a/include/link/script.h +++ b/include/link/script.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Parsing a linker script #ifndef RGBDS_LINK_SCRIPT_H diff --git a/include/link/sdas_obj.h b/include/link/sdas_obj.h index a7e3bbaa..cd096bf5 100644 --- a/include/link/sdas_obj.h +++ b/include/link/sdas_obj.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Assigning all sections a place #ifndef RGBDS_LINK_SDAS_OBJ_H diff --git a/include/link/section.h b/include/link/section.h index 8f34417a..a15ad481 100644 --- a/include/link/section.h +++ b/include/link/section.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Declarations manipulating symbols #ifndef RGBDS_LINK_SECTION_H diff --git a/include/link/symbol.h b/include/link/symbol.h index 2a161130..f47a8d36 100644 --- a/include/link/symbol.h +++ b/include/link/symbol.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Declarations manipulating symbols #ifndef RGBDS_LINK_SYMBOL_H diff --git a/include/linkdefs.h b/include/linkdefs.h index c08fe254..b33a348f 100644 --- a/include/linkdefs.h +++ b/include/linkdefs.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_LINKDEFS_H #define RGBDS_LINKDEFS_H diff --git a/include/opmath.h b/include/opmath.h index 4a4b1a04..b178f65d 100644 --- a/include/opmath.h +++ b/include/opmath.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef RGBDS_OP_MATH_H #define RGBDS_OP_MATH_H diff --git a/include/platform.h b/include/platform.h index 3362fa4e..2641cedd 100644 --- a/include/platform.h +++ b/include/platform.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020 RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // platform-specific hacks diff --git a/include/version.h b/include/version.h index 6a06c1af..eff789cb 100644 --- a/include/version.h +++ b/include/version.h @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2017-2021, Antonio Nino Diaz and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #ifndef EXTERN_VERSION_H #define EXTERN_VERSION_H diff --git a/man/gbz80.7 b/man/gbz80.7 index ce628c30..23b8dc33 100644 --- a/man/gbz80.7 +++ b/man/gbz80.7 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2017-2021, Antonio Nino Diaz and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbasm.1 b/man/rgbasm.1 index ea7ddc8f..dbbe7d41 100644 --- a/man/rgbasm.1 +++ b/man/rgbasm.1 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2010-2021, Anthony J. Bentley and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbasm.5 b/man/rgbasm.5 index 68548c7a..d75a92fa 100644 --- a/man/rgbasm.5 +++ b/man/rgbasm.5 @@ -1,9 +1,3 @@ -'\" e -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2017-2021, Antonio Nino Diaz and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbds.5 b/man/rgbds.5 index 466a8fb4..df586348 100644 --- a/man/rgbds.5 +++ b/man/rgbds.5 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2017-2021, Antonio Nino Diaz and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbds.7 b/man/rgbds.7 index 8e07a636..eff8c748 100644 --- a/man/rgbds.7 +++ b/man/rgbds.7 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2010-2021, Anthony J. Bentley and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbfix.1 b/man/rgbfix.1 index 416c3b32..f8dfb277 100644 --- a/man/rgbfix.1 +++ b/man/rgbfix.1 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2010-2021, Anthony J. Bentley and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgbgfx.1 b/man/rgbgfx.1 index c3cda690..eaf4d6a1 100644 --- a/man/rgbgfx.1 +++ b/man/rgbgfx.1 @@ -1,9 +1,3 @@ -'\" e -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2013-2021, stag019 and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgblink.1 b/man/rgblink.1 index 0537a9eb..2c86cc66 100644 --- a/man/rgblink.1 +++ b/man/rgblink.1 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2010-2021, Anthony J. Bentley and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/man/rgblink.5 b/man/rgblink.5 index ea827709..57e43eb0 100644 --- a/man/rgblink.5 +++ b/man/rgblink.5 @@ -1,8 +1,3 @@ -.\" -.\" This file is part of RGBDS. -.\" -.\" Copyright (c) 2017-2021, Antonio Nino Diaz and RGBDS contributors. -.\" .\" SPDX-License-Identifier: MIT .\" .Dd March 28, 2021 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 78d1472b..8098ef10 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,10 +1,4 @@ -# -# This file is part of RGBDS. -# -# Copyright (c) 2020 RGBDS contributors. -# # SPDX-License-Identifier: MIT -# configure_file(version.c _version.c ESCAPE_QUOTES) diff --git a/src/asm/charmap.c b/src/asm/charmap.c index 8a989fa3..798d25fe 100644 --- a/src/asm/charmap.c +++ b/src/asm/charmap.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2013-2018, stag019 and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/fixpoint.c b/src/asm/fixpoint.c index 861fd1ce..aabe18dc 100644 --- a/src/asm/fixpoint.c +++ b/src/asm/fixpoint.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Fixed-point math routines diff --git a/src/asm/format.c b/src/asm/format.c index 960775d6..760413f1 100644 --- a/src/asm/format.c +++ b/src/asm/format.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/fstack.c b/src/asm/fstack.c index d5147fda..78678e68 100644 --- a/src/asm/fstack.c +++ b/src/asm/fstack.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/lexer.c b/src/asm/lexer.c index 8a16f515..e80cd90d 100644 --- a/src/asm/lexer.c +++ b/src/asm/lexer.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/macro.c b/src/asm/macro.c index 655d3d03..e69d5163 100644 --- a/src/asm/macro.c +++ b/src/asm/macro.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/main.c b/src/asm/main.c index 68dd21b7..9e2d2a7a 100644 --- a/src/asm/main.c +++ b/src/asm/main.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/opt.c b/src/asm/opt.c index 697041b6..7dafa0eb 100644 --- a/src/asm/opt.c +++ b/src/asm/opt.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/output.c b/src/asm/output.c index 4ca96bb7..a38bda90 100644 --- a/src/asm/output.c +++ b/src/asm/output.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Outputs an objectfile diff --git a/src/asm/parser.y b/src/asm/parser.y index 846a4d39..daef5a3d 100644 --- a/src/asm/parser.y +++ b/src/asm/parser.y @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ %{ #include diff --git a/src/asm/rpn.c b/src/asm/rpn.c index 6424e0e6..17fb7b1d 100644 --- a/src/asm/rpn.c +++ b/src/asm/rpn.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Controls RPN expressions for objectfiles diff --git a/src/asm/section.c b/src/asm/section.c index fd700744..c30a7896 100644 --- a/src/asm/section.c +++ b/src/asm/section.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/symbol.c b/src/asm/symbol.c index 15621c90..c4f8f9bf 100644 --- a/src/asm/symbol.c +++ b/src/asm/symbol.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2018, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Symboltable and macroargs stuff diff --git a/src/asm/util.c b/src/asm/util.c index 8a4f57ae..9d1d0379 100644 --- a/src/asm/util.c +++ b/src/asm/util.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/asm/warning.c b/src/asm/warning.c index e501da23..aca344a5 100644 --- a/src/asm/warning.c +++ b/src/asm/warning.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/check_bison_ver.sh b/src/check_bison_ver.sh index c186a378..2c7134df 100755 --- a/src/check_bison_ver.sh +++ b/src/check_bison_ver.sh @@ -1,4 +1,5 @@ #!/usr/bin/env bash + bison -V | awk -v major="$1" -v minor="$2" ' /^bison.*[0-9]+(\.[0-9]+)(\.[0-9]+)?$/ { match($0, /[0-9]+(\.[0-9]+)(\.[0-9]+)?$/); diff --git a/src/error.c b/src/error.c index aec68e65..c27be9c1 100644 --- a/src/error.c +++ b/src/error.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2005-2021, Rich Felker and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/extern/getopt.c b/src/extern/getopt.c index 652893f2..737e93c0 100644 --- a/src/extern/getopt.c +++ b/src/extern/getopt.c @@ -1,24 +1,7 @@ /* - * Copyright © 2005-2020 Rich Felker, et al. + * Copyright (c) 2005-2020 Rich Felker, et al. * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation the rights to use, copy, modify, merge, publish, - * distribute, sublicense, and/or sell copies of the Software, and to - * permit persons to whom the Software is furnished to do so, subject to - * the following conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY - * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, - * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE - * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * SPDX-License-Identifier: MIT */ /* This implementation was taken from musl and modified for RGBDS */ diff --git a/src/fix/main.c b/src/fix/main.c index d603452d..64fd610c 100644 --- a/src/fix/main.c +++ b/src/fix/main.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2020, Eldred habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/gfx/main.cpp b/src/gfx/main.cpp index 2e2aaf79..ddf2a00f 100644 --- a/src/gfx/main.cpp +++ b/src/gfx/main.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/main.hpp" diff --git a/src/gfx/pal_packing.cpp b/src/gfx/pal_packing.cpp index 72d6ffe8..8c876f2b 100644 --- a/src/gfx/pal_packing.cpp +++ b/src/gfx/pal_packing.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/pal_packing.hpp" diff --git a/src/gfx/pal_sorting.cpp b/src/gfx/pal_sorting.cpp index 924f359d..aee5cbf2 100644 --- a/src/gfx/pal_sorting.cpp +++ b/src/gfx/pal_sorting.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/pal_sorting.hpp" diff --git a/src/gfx/pal_spec.cpp b/src/gfx/pal_spec.cpp index 613eada6..5349dc5e 100644 --- a/src/gfx/pal_spec.cpp +++ b/src/gfx/pal_spec.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/pal_spec.hpp" diff --git a/src/gfx/process.cpp b/src/gfx/process.cpp index 0e1721f7..0181f9fe 100644 --- a/src/gfx/process.cpp +++ b/src/gfx/process.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/process.hpp" diff --git a/src/gfx/proto_palette.cpp b/src/gfx/proto_palette.cpp index d67db291..5069ad8b 100644 --- a/src/gfx/proto_palette.cpp +++ b/src/gfx/proto_palette.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/proto_palette.hpp" diff --git a/src/gfx/reverse.cpp b/src/gfx/reverse.cpp index b85c6f1e..bede1b60 100644 --- a/src/gfx/reverse.cpp +++ b/src/gfx/reverse.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/reverse.hpp" diff --git a/src/gfx/rgba.cpp b/src/gfx/rgba.cpp index c3486bac..96493a37 100644 --- a/src/gfx/rgba.cpp +++ b/src/gfx/rgba.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "gfx/rgba.hpp" diff --git a/src/hashmap.c b/src/hashmap.c index 55b8592f..108a0c82 100644 --- a/src/hashmap.c +++ b/src/hashmap.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/assign.c b/src/link/assign.c index 930803e3..e03bc900 100644 --- a/src/link/assign.c +++ b/src/link/assign.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/main.c b/src/link/main.c index 74b0393c..22c18392 100644 --- a/src/link/main.c +++ b/src/link/main.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2019, Carsten Sorensen and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/object.c b/src/link/object.c index f4d0cebe..a7b567e0 100644 --- a/src/link/object.c +++ b/src/link/object.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/output.c b/src/link/output.c index db15cd7d..71f33bf9 100644 --- a/src/link/output.c +++ b/src/link/output.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/patch.c b/src/link/patch.c index 9ac86bd0..d6995a65 100644 --- a/src/link/patch.c +++ b/src/link/patch.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/script.c b/src/link/script.c index 7d3705c4..b2f83570 100644 --- a/src/link/script.c +++ b/src/link/script.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/sdas_obj.c b/src/link/sdas_obj.c index 075650d4..caad0365 100644 --- a/src/link/sdas_obj.c +++ b/src/link/sdas_obj.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/section.c b/src/link/section.c index 7ea5a30f..5ef2813e 100644 --- a/src/link/section.c +++ b/src/link/section.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/link/symbol.c b/src/link/symbol.c index c270c8fc..9b7089b1 100644 --- a/src/link/symbol.c +++ b/src/link/symbol.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2019, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/src/linkdefs.c b/src/linkdefs.c index 337603ee..e8368051 100644 --- a/src/linkdefs.c +++ b/src/linkdefs.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include "linkdefs.h" diff --git a/src/opmath.c b/src/opmath.c index f5832ddb..ce70f2b2 100644 --- a/src/opmath.c +++ b/src/opmath.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 1997-2021, RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // Mathematical operators that don't reuse C's behavior diff --git a/src/version.c b/src/version.c index d9d4401d..479ae072 100644 --- a/src/version.c +++ b/src/version.c @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2017-2018, Antonio Nino Diaz and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ #include #include diff --git a/test/gfx/randtilegen.c b/test/gfx/randtilegen.c index bc83f995..084e5990 100644 --- a/test/gfx/randtilegen.c +++ b/test/gfx/randtilegen.c @@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: MIT */ + /* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - * * Originally: * // This program is hereby released to the public domain. * // ~aaaaaa123456789, released 2022-03-15 + * * https://gist.github.com/aaaaaa123456789/3feccf085ab4f82d144d9a47fb1b4bdf * * This was modified to use libpng instead of libplum, as well as comments and style changes. diff --git a/test/gfx/rgbgfx_test.cpp b/test/gfx/rgbgfx_test.cpp index 6bbfa7b4..c1c1bc59 100644 --- a/test/gfx/rgbgfx_test.cpp +++ b/test/gfx/rgbgfx_test.cpp @@ -1,10 +1,4 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2022, Eldred Habert and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ +/* SPDX-License-Identifier: MIT */ // For `execProg` (Windows is its special little snowflake again) #if !defined(_MSC_VER) && !defined(__MINGW32__)